/* Tile stages (Nov 14, 2026). Preview only. Cream porcelain, gold hairlines, plum for text only. No purple gradients.
   Engine styles first, then one block per scene. See js/tile-stage.js. */
.tsg, .tsg-veil, .tsg-cover { --t-plum: #4A1942; --t-ink: #2d1928; --t-soft: #6d5565; --t-gold: #d4a843; --t-gold-d: #9a7420; --t-gold-l: #ecd28a; --t-line: #ead9bb;
  --t-porc: #fffdf8; --t-cream: #fdf8f0; --t-sand: #f6ecdc; --t-serif: "Glaze Display", "Fraunces", Georgia, serif; --t-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --t-spring: cubic-bezier(.3, 1.45, .45, 1); --t-out: cubic-bezier(.2, .9, .3, 1); }

/* ---------- the bar while a stage is open ---------- */
html.tsg-open #tb9Bar { z-index: 1001; }
.tsg-veil { position: fixed; inset: 0; z-index: 996; background: rgba(251, 244, 232, .74); opacity: 0; transition: opacity .28s ease; }
.tsg-veil.is-in { opacity: 1; }
html.tsg-on .tb9-cards > li.tsg-live { z-index: 5; position: relative; }
html.tsg-on #tb9Bar .tb9-cards > li.tsg-live .tb9-card { transform: rotate(0deg) scale(1.03) !important; box-shadow: 0 0 0 2px #fffaf2, 0 0 0 3.5px var(--glz-gold, #d4a843), 0 10px 18px -10px rgba(74, 25, 66, .55) !important; transition: transform .35s cubic-bezier(.3, 1.45, .45, 1), box-shadow .3s ease; }
html.tsg-on #tb9Bar .tb9-cards > li.tsg-live .tb9-card small { opacity: 0; }
html.tsg-on .tb9-mini .tb9-cards > li.tsg-live .tb9-card { box-shadow: 0 0 0 1.5px var(--glz-gold, #d4a843) inset; background: #fff6df; }
.tsg-chip { position: absolute; z-index: 4; left: 50%; bottom: 7px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; padding: 4px 6px 4px 9px; border-radius: 999px;
  font: 700 10.5px/1 "DM Sans", system-ui, sans-serif; letter-spacing: .01em; color: #3a2412; background: linear-gradient(180deg, #f6dd9a, #d9b04e); box-shadow: 0 0 0 1px rgba(255, 250, 240, .8), 0 4px 10px -4px rgba(40, 20, 30, .6);
  animation: tsgChip .42s cubic-bezier(.3, 1.45, .45, 1) both .18s; }
/* the home page's img/svg max-width:100% (hotfix.css) and phone-only * cap squeeze this arrow to 0px inside the shrink-to-fit chip */
.tsg-chip svg { flex: none; max-width: none; width: 11px; height: 11px; animation: tsgNudge 1.6s ease-in-out infinite .8s; }
.tsg-chip.tsg-cue { bottom: 9px; padding: 6px 8px 6px 12px; font-size: 12.5px; gap: 4px; }
.tsg-chip.tsg-cue svg { width: 13px; height: 13px; }
.tsg-cue { animation: tsgChip .42s cubic-bezier(.3, 1.45, .45, 1) both, tsgCue 1.5s ease-in-out .5s infinite; pointer-events: none; }
.tsg-cue.is-out { opacity: 0; transition: opacity .24s ease; animation: none; }
.tsg-cue svg { animation: tsgCueArrow 1.5s ease-in-out .5s infinite; }
@keyframes tsgCue { 0%, 100% { transform: translateX(-50%); } 50% { transform: translateX(-50%) translateY(-3px); } }
@keyframes tsgCueArrow { 0%, 100% { transform: none; } 50% { transform: translateY(2px); } }
html.tsg-on .tb9-cards > li.tsg-cued { z-index: 4; position: relative; }
html.tsg-on #tb9Bar .tb9-cards > li.tsg-cued .tb9-card { box-shadow: 0 0 0 2px #fffaf2, 0 0 0 3.5px var(--glz-gold, #d4a843), 0 10px 18px -10px rgba(74, 25, 66, .55) !important; animation: tsgCued 1.5s ease-in-out infinite; }
html.tsg-on #tb9Bar .tb9-cards > li.tsg-cued .tb9-card small { opacity: 0; }
@keyframes tsgCued { 0%, 100% { box-shadow: 0 0 0 2px #fffaf2, 0 0 0 3.5px #d4a843, 0 0 0 4px rgba(212, 168, 67, .5), 0 10px 18px -10px rgba(74, 25, 66, .55); } 50% { box-shadow: 0 0 0 2px #fffaf2, 0 0 0 3.5px #d4a843, 0 0 0 10px rgba(212, 168, 67, 0), 0 10px 18px -10px rgba(74, 25, 66, .55); } }
@keyframes tsgChip { from { opacity: 0; transform: translateX(-50%) translateY(6px) scale(.8); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes tsgNudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(3px); } }
.tsg-tg-li .tb9-card img { object-position: 50% 40%; }

/* ---------- the stage ---------- */
.tsg { z-index: 1002; overflow: visible !important; margin: 0; padding: 0; box-sizing: border-box; font-family: var(--t-sans); color: var(--t-ink); text-align: left; -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; }
.tsg[hidden] { display: none !important; }
.tsg *, .tsg *::before, .tsg *::after { box-sizing: border-box; }
.tsg button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.tsg img { max-width: none; }
.tsg-shade { position: absolute; inset: 0; border-radius: 30px; box-shadow: 0 34px 60px -30px rgba(74, 25, 66, .5), 0 12px 26px -16px rgba(74, 25, 66, .28); opacity: 0; transition: opacity .4s ease .1s; pointer-events: none; }
.tsg.is-open .tsg-shade { opacity: 1; }
.tsg-skin { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; max-width: none; }
.tsg-skin-f { stroke: rgba(201, 154, 46, .9); stroke-width: 1.25; }
.tsg-skin-r { fill: none; stroke: rgba(212, 168, 67, .34); stroke-width: 1; }
.tsg-in { position: relative; display: grid; gap: 10px; padding: 16px 16px 16px; border-radius: 30px; }
.tsg-in.is-scroll { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
/* on a short screen the scene scrolls and the gold button stays in reach */
.tsg-in.is-scroll .tsg-foot { position: sticky; bottom: -16px; z-index: 6; margin: 0 -16px -16px; padding: 10px 16px 16px; background: linear-gradient(180deg, rgba(251, 243, 227, 0), #fbf3e3 22%); border-radius: 0 0 30px 30px; }
.tsg-in.is-scroll .tsg-foot .tsg-under { display: none; }
.tsg-in > * { opacity: 0; transform: translateY(10px); min-width: 0; }
.tsg.is-open .tsg-in > * { opacity: 1; transform: none; transition: opacity .36s ease, transform .52s var(--t-out); }
.tsg.is-open .tsg-in > .tsg-head { transition-delay: .1s; }
.tsg.is-open .tsg-in > .tsg-scene { transition-delay: .16s; }
.tsg.is-open .tsg-in > .tsg-foot { transition-delay: .24s; }
.tsg.is-closing { opacity: 0; transform: translateY(-8px) scale(.975); transform-origin: var(--cx, 50%) 0; transition: opacity .2s ease, transform .24s ease; pointer-events: none; }
.tsg.is-gone { opacity: 0; transition: opacity .22s ease; pointer-events: none; }

.tsg-head { display: flex; align-items: flex-start; gap: 8px; }
.tsg-say { flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: 7px; }
.tsg-bon { flex: none; width: 34px; height: 34px; object-fit: contain; animation: tsgBob 3.6s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes tsgBob { 0%, 100% { transform: none; } 50% { transform: translateY(-2px) rotate(-3deg); } }
.tsg-bub { margin: 0; min-height: 36px; max-width: 100%; padding: 8px 12px; border-radius: 18px 18px 18px 6px; background: #fff; box-shadow: 0 0 0 1px var(--t-line), 0 6px 12px -8px rgba(74, 25, 66, .3);
  font: 500 14px/1.35 var(--t-sans); color: var(--t-plum); display: flex; align-items: center; }
.tsg-bub.is-pop { animation: tsgPop .34s var(--t-spring); transform-origin: 0 100%; }
@keyframes tsgPop { from { transform: scale(.92); } to { transform: none; } }
.tsg-dots { display: none; gap: 4px; padding: 3px 2px; }
.tsg-dots i { width: 6px; height: 6px; border-radius: 50%; background: #c9b4a0; animation: tsgDot 1s ease-in-out infinite; }
.tsg-dots i:nth-child(2) { animation-delay: .15s; } .tsg-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes tsgDot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.tsg-bub.is-typing .tsg-dots { display: inline-flex; } .tsg-bub.is-typing .tsg-line { display: none; }
.tsg-x { flex: none; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: #fffaf2; color: var(--t-plum); box-shadow: 0 0 0 1px var(--t-line); }
.tsg-x svg { width: 15px; height: 15px; }
.tsg-x:focus-visible, .tsg-go:focus-visible, .tsg button:focus-visible, .tsg a:focus-visible { outline: 2px solid var(--t-plum); outline-offset: 2px; }

.tsg-scene { position: relative; }
.tsg-foot { display: grid; gap: 8px; }
.tsg-go { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 8px 8px 22px; border-radius: 999px; text-decoration: none; cursor: pointer;
  color: #3a2412; background: linear-gradient(180deg, #f5dd98 0%, #dbb252 46%, #c2952f 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .65) inset, 0 -2px 0 rgba(120, 84, 10, .22) inset, 0 14px 22px -14px rgba(120, 84, 10, .8); transition: transform .16s ease; }
.tsg-go:active { transform: scale(.975); }
.tsg-go::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%; background: linear-gradient(100deg, transparent, rgba(255, 252, 240, .55), transparent); transform: translateX(-140%) skewX(-16deg); animation: tsgSheen 5s cubic-bezier(.4, 0, .2, 1) infinite 1.4s; pointer-events: none; }
@keyframes tsgSheen { 0%, 62% { transform: translateX(-140%) skewX(-16deg); } 100% { transform: translateX(420%) skewX(-16deg); } }
.tsg-go-l { position: relative; z-index: 1; font: 600 18px/1.15 var(--t-serif); letter-spacing: -.01em; }
.tsg-go-c { position: relative; z-index: 1; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--t-plum); color: #fff6e0; box-shadow: 0 0 0 2px rgba(255, 246, 224, .6); }
.tsg-go-c svg { width: 20px; height: 20px; }
.tsg-under { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; min-height: 0; }
.tsg-under:empty { display: none; }
.tsg-link { padding: 6px 2px; border: 0; background: none; cursor: pointer; font: 600 13px/1.3 var(--t-sans); color: var(--t-plum); text-decoration: none; background-image: linear-gradient(var(--t-gold), var(--t-gold)); background-size: 100% 1.5px; background-position: 0 calc(100% - 3px); background-repeat: no-repeat; }
.tsg-fine { margin: 0; font: 500 12px/1.4 var(--t-sans); color: var(--t-soft); text-align: center; }

.tsg-cover { position: fixed; z-index: 2000; transform-origin: 50% 50%; pointer-events: none; will-change: transform; }
.tsg-fly { position: fixed !important; z-index: 2001; margin: 0 !important; pointer-events: none; will-change: transform; }
.tsg-fleck { position: fixed; z-index: 2002; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c8, #d4a843 70%); pointer-events: none; }
.is-land { animation: tsgLand .36s var(--t-spring); }
@keyframes tsgLand { 0% { transform: scale(.82); } 100% { transform: none; } }

/* shared scene pieces */
.tsg-title { margin: 0; font: 600 23px/1.1 var(--t-serif); letter-spacing: -.015em; color: var(--t-plum); }
.tsg-sub { margin: 3px 0 0; font: 500 13.5px/1.35 var(--t-sans); color: var(--t-soft); }
.tsg-tag { display: inline-block; font: 700 10px/1 var(--t-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--t-gold-d); }
.tsg-swap { animation: tsgSwap .34s var(--t-out) both; }
@keyframes tsgSwap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tsg-reel { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; outline: none; }
.tsg-reel::-webkit-scrollbar { display: none; }
.tsg-reel > * { flex: none; scroll-snap-align: center; padding: 0; border: 0; background: none; cursor: pointer; }
.tsg-reel.is-drag { scroll-snap-type: none; cursor: grabbing; }
.tsg-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tsg-facts li { padding: 5px 10px; border-radius: 999px; font: 600 12px/1.2 var(--t-sans); color: var(--t-plum); background: #fff8ea; box-shadow: 0 0 0 1px var(--t-line); }
.tsg-facts li b { font-weight: 800; }

/* ---------- Flavors: the cake stand ---------- */
.tsf { position: relative; margin: 0 -16px; }
.tsf-ring { position: relative; height: 206px; }
.tsf-reel { position: relative; z-index: 2; height: 150px; padding: 0 calc(50% - 46px); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.tsf-reel > * { width: 92px; height: 150px; position: relative; }
/* the home page caps every element at 100% of its parent on phones; the 108px flavor coin sits in a 92px reel slot, so it would squash to an oval and sit off-center */
.tsf-coin { position: absolute; left: 50%; bottom: 16px; width: 108px; height: 108px; max-width: none; margin-left: -54px; border-radius: 50%; overflow: visible; will-change: transform, opacity; transform-origin: 50% 100%; }
.tsf-coin img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fffaf2, 0 0 0 4.25px var(--t-gold), 0 14px 18px -10px rgba(74, 25, 66, .55); }
.tsf-plus { position: absolute; right: 2px; bottom: 2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #f6dd9a, #d0a340); color: #3a2412; box-shadow: 0 0 0 2px #fffaf2, 0 6px 10px -4px rgba(74, 25, 66, .6); opacity: 0; transform: scale(.4); transition: opacity .2s ease, transform .3s var(--t-spring); }
.tsf-plus svg { width: 15px; height: 15px; }
.tsf-reel > .is-mid .tsf-plus { opacity: 1; transform: none; }
.tsf-reel > .is-in .tsf-plus { background: var(--t-plum); color: #fff6e0; }
/* the cake stand is drawn (js/tile-stage-art.js); a ring of gold ticks on its plate turns with the reel */
.tsf-art { position: absolute; z-index: 0; left: 50%; top: 110px; width: 250px; height: auto; max-width: none; margin-left: -125px; overflow: visible; pointer-events: none; }
.tsf-plate { position: absolute; z-index: 1; left: 50%; top: 116px; width: 206px; height: 38px; margin-left: -103px; border-radius: 50%; pointer-events: none; }
.tsf-plate::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-linear-gradient(90deg, rgba(201, 154, 46, .5) 0 2px, transparent 2px 15px); background-position: var(--spin, 0px) 0;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, transparent 0 60%, #000 61% 68%, transparent 69%), linear-gradient(transparent 50%, #000 58%); -webkit-mask-composite: source-in; mask-image: radial-gradient(ellipse at 50% 50%, transparent 0 60%, #000 61% 68%, transparent 69%), linear-gradient(transparent 50%, #000 58%); mask-composite: intersect; }
.tsf-info { position: relative; text-align: center; padding: 2px 16px 0; min-height: 62px; }
.tsf-info .tsg-tag { margin-bottom: 4px; min-height: 10px; }
.tsf-box { display: flex; align-items: center; gap: 10px; margin: 8px 16px 0; padding: 7px 12px 7px 8px; border-radius: 20px; background: linear-gradient(180deg, #fffaf0, #f6ebd6); box-shadow: 0 0 0 1px var(--t-line), 0 1px 0 #fff inset; }
.tsf-wells { display: flex; gap: 5px; }
.tsf-well { width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #efe1c6, #fbf3e3 70%); box-shadow: 0 0 0 1px rgba(201, 154, 46, .45) inset, 0 2px 3px rgba(74, 25, 66, .12) inset; padding: 0; border: 0; overflow: hidden; display: block; }
.tsf-well img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.tsf-well.is-full { cursor: pointer; box-shadow: 0 0 0 1.25px var(--t-gold); }
.tsf-count { flex: 1; min-width: 0; margin: 0; font: 600 12.5px/1.3 var(--t-sans); color: var(--t-soft); text-align: right; }
.tsf-count b { color: var(--t-plum); }
.tsf-box.is-shake { animation: tsgShake .34s ease; }
@keyframes tsgShake { 20% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 80% { transform: translateX(-2px); } }

/* ---------- Matcha: the flip (tray, whisk and scoop drawn in js/tile-stage-art.js) ---------- */
.tsg[data-scene="matcha"] .tsg-in > .tsg-scene { opacity: 1; transform: none; transition: none; }
.tsm-flip { position: relative; z-index: 3; width: 100%; max-width: 342px; aspect-ratio: 342 / 150; margin: 0 auto; perspective: 900px; }
.tsm-card { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(-180deg); will-change: transform; }
.tsm-face { position: absolute; inset: 0; border-radius: 30px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.tsm-front { overflow: hidden; box-shadow: 0 0 0 2px #fffaf2, 0 0 0 3.5px var(--t-gold), 0 18px 26px -14px rgba(74, 25, 66, .5); }
.tsm-front img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tsm-back { transform: rotateY(180deg); }
.tsm-art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; }
.tsm-tray { position: absolute; inset: 0; touch-action: pan-y; outline: none; }
.tsm-cup { position: absolute; top: 46.667%; width: 16.4%; aspect-ratio: 1; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; opacity: 0; transform: translate(-50%, -50%) scale(.3); transition: transform .5s var(--t-spring), opacity .25s ease; }
.tsm-cup img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px #fffaf2, 0 0 0 2.25px rgba(154, 116, 32, .55), 0 7px 9px -4px rgba(74, 25, 66, .5); }
.tsm.is-landed .tsm-cup { opacity: 1; transform: translate(-50%, -50%); transition-delay: calc(var(--i) * 80ms), calc(var(--i) * 80ms); }
.tsm.is-landed .tsm-cup.is-sel { transform: translate(-50%, -50%) translateY(-5px) scale(1.2); z-index: 2; transition-delay: 0s; }
.tsm.is-landed .tsm-cup.is-sel img { box-shadow: 0 0 0 2px #fffaf2, 0 0 0 3.5px var(--t-gold), 0 14px 16px -8px rgba(74, 25, 66, .55); }
.tsm-cup.is-ripple::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); animation: tsmRipple .8s ease-out both; pointer-events: none; }
@keyframes tsmRipple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.2); opacity: 0; } }
.tsm-whisk { position: absolute; z-index: 4; left: 0; top: 0; width: 44px; height: 88px; pointer-events: none; opacity: 0; transform-origin: 50% 20%; transition: transform .55s cubic-bezier(.3, 1.2, .4, 1), opacity .3s ease; }
.tsm.is-landed .tsm-whisk { opacity: 1; }
.tsm-whisk svg { display: block; width: 100%; height: 100%; max-width: none; overflow: visible; filter: drop-shadow(0 6px 4px rgba(74, 25, 66, .28)); }
.tsm-whisk.is-stir svg { animation: tsmStir .42s linear 2; }
@keyframes tsmStir { 0%, 100% { transform: translate(5px, 0) rotate(4deg); } 25% { transform: translate(0, 4px) rotate(0deg); } 50% { transform: translate(-5px, 0) rotate(-4deg); } 75% { transform: translate(0, -3px) rotate(0deg); } }
.tsm-info { margin-top: 10px; text-align: center; min-height: 48px; }
.tsm-story { display: flex; align-items: flex-start; gap: 8px; margin: 10px 2px 0; padding-top: 10px; border-top: 1px solid var(--t-line); font: italic 500 13.5px/1.4 var(--t-serif); color: var(--t-plum); }
.tsm-story svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #6f8f3a; }
.tsm-info, .tsm-story { opacity: 0; transform: translateY(8px); }
.tsm.is-landed .tsm-info, .tsm.is-landed .tsm-story { opacity: 1; transform: none; transition: opacity .4s ease .15s, transform .5s var(--t-out) .15s; }
.tsm.is-landed .tsm-story { transition-delay: .3s; }

/* the two-step offer under the button: first box, then Prime */
.tsm-offer { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 5px; margin-top: 2px; }
.tsm-step { display: flex; align-items: center; gap: 8px; padding: 9px 10px 9px 8px; border: 0; border-radius: 18px; text-align: left; cursor: pointer; background: linear-gradient(180deg, #fffdf8, #f6ebd6) !important; box-shadow: 0 0 0 1px var(--t-gold-l), 0 1px 0 #fff inset, 0 8px 10px -8px rgba(74, 25, 66, .4) !important; transition: transform .25s var(--t-spring); }
.tsm-step:active { transform: scale(.97); }
.tsm-step > i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 11px/1 var(--t-sans); font-style: normal; color: #3a2412; background: linear-gradient(180deg, #f6dd9a, #d0a340); box-shadow: 0 0 0 1px #c2952f; }
.tsm-step span { display: grid; gap: 2px; min-width: 0; }
.tsm-step small { font: 800 8.5px/1 var(--t-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--t-gold-d); }
.tsm-step b { font: 700 12px/1.25 var(--t-sans); color: var(--t-plum); }
.tsm-then { display: grid; place-items: center; width: 14px; color: var(--t-gold-d); }
.tsm-then svg { width: 14px; height: 14px; }

/* ---------- Brownies: the pan (pan and knife drawn in js/tile-stage-art.js) ---------- */
.tsb-oven { position: relative; margin: -4px -16px 0; padding: 14px 0 14px; overflow: hidden; }
.tsb-glow { position: absolute; left: 10%; right: 10%; top: 0; height: 22px; border-radius: 0 0 50% 50%; background: radial-gradient(ellipse at 50% 0, rgba(236, 160, 60, .55), rgba(236, 160, 60, 0) 70%); opacity: 0; }
.tsb.is-out .tsb-glow { animation: tsbGlow 1.6s ease-out both; }
@keyframes tsbGlow { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
.tsb-pan { position: relative; width: 320px; max-width: calc(100% - 24px); aspect-ratio: 320 / 172; margin: 0 auto; transform: translateY(-130%); }
.tsb.is-out .tsb-pan { transform: none; transition: transform .78s cubic-bezier(.25, 1.25, .4, 1); }
.tsb-art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; }
.tsb-grid { position: absolute; left: 8.125%; top: 12.8%; width: 83.75%; height: 74.4%; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; touch-action: pan-y; outline: none; }
.tsb-sq { position: relative; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; min-width: 0; min-height: 0; transition: transform .38s var(--t-spring), filter .3s ease; }
.tsb-sq.has-photo img { display: block; width: 84%; height: 84%; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 2px #fffaf2, 0 6px 8px -4px rgba(59, 34, 22, .5); }
/* no photo yet: a plum name tile with a gold rim, like a place card set in the pan */
.tsb-name { position: relative; display: grid; place-items: center; align-content: center; gap: 3px; width: 86%; height: 82%; padding: 4px 5px; border-radius: 10px; text-align: center; background: linear-gradient(165deg, #5a2452, #34132f); box-shadow: 0 0 0 1px #e3bd5a, 0 0 0 2.5px #2a0d25, 0 7px 8px -5px rgba(42, 13, 37, .7), 0 1px 0 rgba(255, 255, 255, .22) inset; opacity: 0; transform: scale(.7); }
.tsb.is-split .tsb-name { opacity: 1; transform: none; transition: opacity .25s ease, transform .45s var(--t-spring); transition-delay: calc(var(--i) * 60ms); }
.tsb-name i { font: 800 7.5px/1 var(--t-sans); font-style: normal; letter-spacing: .16em; color: #e3bd5a; }
.tsb-name b { font: 600 12px/1.12 var(--t-serif); color: #fff6e0; text-wrap: balance; }
.tsb-sq.is-up .tsb-name { box-shadow: 0 0 0 1.5px #f6dd9a, 0 0 0 3px #2a0d25, 0 12px 12px -6px rgba(42, 13, 37, .7), 0 1px 0 rgba(255, 255, 255, .22) inset; }
.tsb-sq.is-up { z-index: 3; transform: translateY(-6px) scale(1.14); }
.tsb-cut { position: absolute; z-index: 2; pointer-events: none; opacity: 0; background: linear-gradient(180deg, #fff3c8, #d4a843); border-radius: 2px; }
.tsb-cut-v1, .tsb-cut-v2 { top: 14.5%; bottom: 14.5%; width: 2px; margin-left: -1px; transform: scaleY(0); transform-origin: 50% 0; }
.tsb-cut-v1 { left: 36.04%; } .tsb-cut-v2 { left: 63.96%; }
.tsb-cut-h { left: 10%; right: 10%; top: 50%; height: 2px; margin-top: -1px; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, #fff3c8, #d4a843); }
.tsb.is-cut .tsb-cut-v1 { animation: tsbCutV .32s linear .06s both; } .tsb.is-cut .tsb-cut-v2 { animation: tsbCutV .32s linear .46s both; } .tsb.is-cut .tsb-cut-h { animation: tsbCutH .36s linear .86s both; }
@keyframes tsbCutV { 0% { opacity: 1; transform: scaleY(0); } 100% { opacity: 1; transform: scaleY(1); } }
@keyframes tsbCutH { 0% { opacity: 1; transform: scaleX(0); } 100% { opacity: 1; transform: scaleX(1); } }
.tsb.is-split .tsb-cut { opacity: .3 !important; background: #b08a44; transition: opacity .4s ease, background .4s ease; }
/* the knife: its point rides each score line. --pw / --ph are the pan's size, set by the scene. */
.tsb-knife { position: absolute; z-index: 4; left: -8px; top: -112px; width: 16px; height: 112px; pointer-events: none; opacity: 0; transform-origin: 50% 100%; filter: drop-shadow(3px 5px 3px rgba(59, 34, 22, .35)); }
.tsb-knife svg { display: block; width: 100%; height: 100%; max-width: none; }
.tsb.is-cut .tsb-knife { animation: tsbKnife 1.36s linear both; }
@keyframes tsbKnife {
  0% { opacity: 0; transform: translate(calc(var(--pw) * .3604), calc(var(--ph) * .06)) rotate(7deg); }
  4% { opacity: 1; transform: translate(calc(var(--pw) * .3604), calc(var(--ph) * .145)) rotate(7deg); }
  27% { opacity: 1; transform: translate(calc(var(--pw) * .3604), calc(var(--ph) * .855)) rotate(7deg); }
  30% { opacity: 0; transform: translate(calc(var(--pw) * .3604), calc(var(--ph) * .9)) rotate(7deg); }
  31% { opacity: 0; transform: translate(calc(var(--pw) * .6396), calc(var(--ph) * .06)) rotate(7deg); }
  34% { opacity: 1; transform: translate(calc(var(--pw) * .6396), calc(var(--ph) * .145)) rotate(7deg); }
  57% { opacity: 1; transform: translate(calc(var(--pw) * .6396), calc(var(--ph) * .855)) rotate(7deg); }
  60% { opacity: 0; transform: translate(calc(var(--pw) * .6396), calc(var(--ph) * .9)) rotate(7deg); }
  61% { opacity: 0; transform: translate(calc(var(--pw) * .04), calc(var(--ph) * .5)) rotate(-83deg); }
  64% { opacity: 1; transform: translate(calc(var(--pw) * .1), calc(var(--ph) * .5)) rotate(-83deg); }
  90% { opacity: 1; transform: translate(calc(var(--pw) * .9), calc(var(--ph) * .5)) rotate(-83deg); }
  100% { opacity: 0; transform: translate(calc(var(--pw) * 1.04), calc(var(--ph) * .46)) rotate(-83deg); }
}
.tsb-info { text-align: center; min-height: 66px; }
.tsb-info .tsg-tag { margin-bottom: 5px; }
.tsb .tsg-facts { margin-top: 8px; }

/* ---------- Glaze Core: the phone ---------- */
.tsc { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; }
.tsc-phone { position: relative; width: 150px; aspect-ratio: 156 / 300; filter: drop-shadow(0 22px 16px rgba(45, 25, 40, .38)); transform: translateY(64%) rotate(-11deg); opacity: 0; will-change: transform; }
.tsc.is-up .tsc-phone { transform: rotate(-3deg); opacity: 1; transition: transform .85s cubic-bezier(.2, 1.3, .4, 1), opacity .25s ease; }
.tsc-art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; }
.tsc-art-body { z-index: 0; } .tsc-art-glass { z-index: 2; }
.tsc-sheen { animation: tscSheen 5s ease-in-out 1.2s infinite alternate; }
@keyframes tscSheen { from { opacity: 1; } to { opacity: .45; } }
.tsc-screen { position: absolute; z-index: 1; left: 5.77%; top: 3%; width: 88.46%; height: 94%; border-radius: 22.6px; background: #fdf8f0; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; outline: none; }
.tsc-screen::-webkit-scrollbar { display: none; }
.tsc-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-end; gap: 4px; padding: 27px 10px 6px; background: rgba(253, 248, 240, .95); }
.tsc-top img { display: block; height: 15px; width: auto; }
.tsc-top span { font: 800 7px/1 var(--t-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--t-gold-d); padding-bottom: 2px; }
.tsc-stories { display: flex; gap: 6px; padding: 3px 9px 8px; border-bottom: 1px solid #f0e4cf; }
.tsc-story { display: grid; justify-items: center; gap: 2px; }
.tsc-story i { display: block; width: 28px; height: 28px; padding: 1.5px; border-radius: 50%; background: conic-gradient(#d4a843, #f6dd9a, #c99a2e, #f3d27a, #d4a843); }
.tsc-story img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.25px #fdf8f0; }
.tsc-story small { font: 600 6px/1 var(--t-sans); color: var(--t-soft); }
.tsc-post header { display: flex; align-items: center; gap: 5px; padding: 7px 9px 6px; }
.tsc-post header i { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--t-plum); color: #fff6e0; font: 700 8px/1 var(--t-sans); font-style: normal; }
.tsc-post header b { font: 700 8.5px/1 var(--t-sans); color: var(--t-ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tsc-post header small { margin-left: auto; font: 600 7px/1 var(--t-sans); color: var(--t-soft); }
.tsc-media { aspect-ratio: 4 / 5; overflow: hidden; background: #eadfce; }
.tsc-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tsc-post footer { display: flex; align-items: center; gap: 5px; padding: 6px 9px 10px; font: 700 8.5px/1 var(--t-sans); color: var(--t-ink); }
.tsc-like { display: grid; width: 13px; height: 13px; color: #cbb9a6; transition: color .2s ease, transform .3s var(--t-spring); }
.tsc.is-liked .tsc-post:first-child .tsc-like { color: #c8443c; transform: scale(1.2); }
.tsc-heart { position: absolute; z-index: 3; left: 50%; top: 58%; width: 56px; height: 56px; margin: -28px 0 0 -28px; color: #fff; opacity: 0; pointer-events: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45)); }
.tsc-heart.is-pop { animation: tscHeart .95s cubic-bezier(.3, 1.5, .4, 1) both; }
@keyframes tscHeart { 0% { opacity: 0; transform: scale(.2) rotate(-12deg); } 30% { opacity: 1; transform: scale(1.1) rotate(4deg); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25) translateY(-10px); } }
.tsc-side .tsg-sub { margin-top: 5px; }
.tsc-pings { display: grid; gap: 9px; margin: 14px 0 0; padding: 0; list-style: none; }
.tsc-pings li { display: flex; align-items: center; gap: 9px; font: 600 12.5px/1.3 var(--t-sans); color: var(--t-plum); opacity: 0; transform: translateX(14px); }
.tsc-pings i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff8ea; color: var(--t-gold-d); box-shadow: 0 0 0 1px var(--t-gold-l); }
.tsc-pings svg { width: 14px; height: 14px; }
.tsc.is-up .tsc-pings li { opacity: 1; transform: none; transition: opacity .4s ease, transform .55s var(--t-spring); transition-delay: calc(.55s + var(--i) * .2s); }

/* ---------- Games: the handheld (drawn in js/tile-stage-art.js) ---------- */
.tsp-console { position: relative; width: 100%; max-width: 342px; aspect-ratio: 342 / 184; margin: 0 auto; transform: translateY(40px) scale(.86) rotate(-5deg); opacity: 0; will-change: transform; }
.tsp.is-up .tsp-console { transform: none; opacity: 1; transition: transform .8s cubic-bezier(.2, 1.4, .4, 1), opacity .25s ease; }
.tsp-art { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; }
.tsp-art * { transform-box: fill-box; transform-origin: 50% 50%; }
.tsp-screen { position: absolute; z-index: 2; left: 26.608%; top: 15.76%; width: 46.784%; height: 50%; border-radius: 6.5px; overflow: hidden; background: #fdf6ea; touch-action: pan-y; box-shadow: 0 0 0 1px #12050f; }
.tsp-screen::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; background: linear-gradient(128deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .06) 30%, rgba(255, 255, 255, 0) 31%); box-shadow: 0 2px 5px rgba(18, 5, 15, .45) inset; }
.tsp-slides { display: flex; height: 100%; transition: transform .45s var(--t-out); }
.tsp-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; background: #fdf6ea; }
.tsp-slide > img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.tsp-slide.is-on > img { animation: tspKen 6s ease-in-out infinite alternate; }
@keyframes tspKen { from { transform: scale(1.02); } to { transform: scale(1.14) translateY(-2%); } }
.tsp-start { position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); padding: 4px 8px; border-radius: 6px; white-space: nowrap; font: 800 8px/1 var(--t-sans); letter-spacing: .18em; text-transform: uppercase; color: #fff6e0; background: rgba(45, 25, 40, .86); animation: tspBlink 1.1s steps(2, jump-none) infinite; }
@keyframes tspBlink { 0% { opacity: 1; } 100% { opacity: .25; } }
/* the screen switches on: a bright line opens into the picture */
.tsp-boot { position: absolute; inset: 0; z-index: 3; background: #1f0a1c; pointer-events: none; }
.tsp-boot::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #fff3d6; box-shadow: 0 0 12px 3px rgba(255, 236, 190, .8); transform: scaleX(0); }
.tsp.is-up .tsp-boot { animation: tspBoot .5s ease-out .62s both; }
.tsp.is-up .tsp-boot::after { animation: tspLine .5s ease-out .5s both; }
@keyframes tspBoot { 0% { clip-path: inset(0); } 100% { clip-path: inset(50% 0); opacity: 0; } }
@keyframes tspLine { 0% { transform: scaleX(0); opacity: 1; } 55% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.tsp-hud { display: flex; align-items: center; justify-content: space-between; height: 14px; padding: 2px 7px 0; font: 800 7px/1 var(--t-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--t-plum); }
.tsp-score { padding: 2px 5px; border-radius: 5px; background: var(--t-plum); color: #fff3d6; font-size: 7.5px; min-width: 22px; text-align: center; }
.tsp-board { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2.5px; padding: 1px 5px 0; }
.tsp-cell { position: relative; display: block; aspect-ratio: 1; }
.tsp-cell img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px #fffaf2, 0 0 0 1.75px var(--t-gold-l); }
.tsp-cell.is-move { z-index: 2; transition: transform .28s cubic-bezier(.4, 0, .2, 1); }
.tsp-cell.is-pop { animation: tspPop .32s ease-in both; }
.tsp-cell.is-drop { animation: tspDrop .36s var(--t-spring) both; }
@keyframes tspPop { 40% { transform: scale(1.2); } 100% { transform: scale(0); opacity: 0; } }
@keyframes tspDrop { from { transform: translateY(-14px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
/* the keys you can press: clear hit areas over the drawing */
.tsp-console > button { position: absolute; z-index: 3; padding: 0; border: 0; background: none !important; box-shadow: none !important; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tsp-l { left: 3%; top: 18%; width: 10.2%; height: 32%; } .tsp-r { left: 13.2%; top: 18%; width: 10.2%; height: 32%; }
.tsp-a { left: 81.6%; top: 15%; width: 14%; height: 30%; border-radius: 50% !important; }
.tsp-a:focus-visible, .tsp-l:focus-visible, .tsp-r:focus-visible { outline: 2px solid var(--t-plum); outline-offset: 1px; }
.tsp-key-a, .tsp-key-b, .tsp-dpad, .tsp-stick { transition: transform .12s ease; }
.tsp-a:active ~ .tsp-art .tsp-key-a { transform: translateY(1.7px); }
.tsp-l:active ~ .tsp-art .tsp-dpad { transform: translate(-.9px, .5px) rotate(-3deg); }
.tsp-r:active ~ .tsp-art .tsp-dpad { transform: translate(.9px, .5px) rotate(3deg); }
.tsp-l:active ~ .tsp-art .tsp-arw-l, .tsp-r:active ~ .tsp-art .tsp-arw-r { fill: #fff6d8; }
.tsp-a-ring { opacity: 0; }
.tsp.is-up .tsp-a-ring { animation: tspRing 2s ease-out 1.8s infinite; }
@keyframes tspRing { 0% { transform: scale(1); opacity: .9; } 60%, 100% { transform: scale(1.5); opacity: 0; } }
.tsp-led, .tsp-led-glow { opacity: 0; }
.tsp.is-up .tsp-led { animation: tspLed .4s ease .5s forwards; }
.tsp.is-up .tsp-led-glow { animation: tspLedGlow 2.4s ease-in-out .5s infinite; }
@keyframes tspLed { to { opacity: 1; } }
@keyframes tspLedGlow { 0%, 100% { opacity: .35; } 50% { opacity: .95; } }
/* the game plays itself: the left stick leans with each move */
.tsp.is-nudge .tsp-stick-l { animation: tspStick .7s ease both; }
@keyframes tspStick { 0%, 100% { transform: none; } 30% { transform: translate(2.6px, -1.4px); } 60% { transform: translate(-1.2px, .8px); } }
.tsp-sheen { animation: tspSheen 5s ease-in-out 1.4s infinite alternate; }
@keyframes tspSheen { from { opacity: 1; } to { opacity: .55; } }
.tsp-info { margin-top: 6px; text-align: center; min-height: 64px; }
.tsp-dots { display: flex; justify-content: center; gap: 5px; margin-top: 8px; }
.tsp-dots i { width: 6px; height: 6px; border-radius: 50%; background: #e3d3b6; transition: width .3s ease, background .3s ease; }
.tsp-dots i.is-on { width: 18px; background: var(--t-gold); }

/* ---------- How It Works: the arc ---------- */
.tsh-dial { position: relative; width: 100%; max-width: 342px; aspect-ratio: 342 / 176; margin: 0 auto; }
.tsh-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tsh-track { fill: none; stroke: #e2cfa9; stroke-width: 3; stroke-linecap: round; stroke-dasharray: .1 9; }
.tsh-prog { fill: none; stroke: var(--t-gold); stroke-width: 3.5; stroke-linecap: round; transition: stroke-dashoffset .62s cubic-bezier(.2, .9, .3, 1); }
.tsh-dot { fill: var(--t-gold); stroke: #fffaf2; stroke-width: 3; filter: drop-shadow(0 2px 3px rgba(74, 25, 66, .45)); }
.tsh-photo { position: absolute; left: 50%; top: 62.5%; width: 38.6%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px #fffaf2, 0 0 0 5.25px var(--t-gold), 0 18px 22px -14px rgba(74, 25, 66, .55); background: #efe3cd; isolation: isolate; }
.tsh-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .5s ease, transform 1.2s var(--t-out); }
.tsh-photo img.is-on { opacity: 1; transform: none; }
.tsh-chip { position: absolute; transform: translate(-50%, -50%); padding: 6px 10px; border: 0; border-radius: 999px; white-space: nowrap; cursor: pointer; font: 700 11.5px/1 var(--t-sans) !important; color: var(--t-soft) !important; background: #fffaf2; box-shadow: 0 0 0 1px var(--t-line), 0 4px 8px -5px rgba(74, 25, 66, .4); transition: background .3s ease, color .3s ease, transform .35s var(--t-spring); }
.tsh-chip.is-done { color: var(--t-plum) !important; box-shadow: 0 0 0 1px var(--t-gold-l), 0 4px 8px -5px rgba(74, 25, 66, .4); }
.tsh-chip.is-on { color: #3a2412 !important; background: linear-gradient(180deg, #f6dd9a, #d9b04e); box-shadow: 0 0 0 1px #c2952f, 0 6px 10px -5px rgba(120, 84, 10, .7); transform: translate(-50%, -50%) scale(1.08); }
.tsh-info { margin-top: 8px; text-align: center; min-height: 68px; }
.tsh-info .tsg-title { font-size: 21px; }

/* ---------- Catering & Wholesale: three doors ---------- */
.tsz-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 4px 2px 0; }
.tsz-arch { display: grid; justify-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; min-width: 0; }
.tsz-frame { position: relative; display: block; width: 100%; aspect-ratio: 100 / 136; border-radius: 999px 999px 18px 18px; overflow: hidden; background: #efe3cd; box-shadow: 0 0 0 2.5px #fffaf2, 0 0 0 3.75px var(--t-gold-l), 0 16px 18px -14px rgba(74, 25, 66, .5); transition: transform .4s var(--t-spring), box-shadow .3s ease; }
.tsz-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--t-out); }
.tsz.is-open .tsz-frame img { transform: none; transition-delay: calc(.3s + var(--i) * .16s); }
.tsz-door { position: absolute; inset: 0; transform-origin: 0 50%; transform: perspective(520px) rotateY(0deg); background: linear-gradient(90deg, #f3e6cd 0%, #fffaf0 58%, #efe0c2 100%); box-shadow: 0 0 0 1px rgba(201, 154, 46, .5) inset, 0 0 0 7px #fffaf2 inset, 0 0 0 8px rgba(201, 154, 46, .38) inset; transition: transform .95s cubic-bezier(.3, 1.05, .4, 1); }
.tsz-door > i { position: absolute; right: 13px; top: 56%; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c8, #c99a2e 70%); box-shadow: 0 1px 2px rgba(74, 25, 66, .4); }
.tsz.is-open .tsz-door { transform: perspective(520px) rotateY(-96deg); transition-delay: calc(.25s + var(--i) * .16s); }
.tsz-arch small { font: 700 11.5px/1.2 var(--t-sans); color: var(--t-soft); transition: color .3s ease; text-align: center; }
.tsz-arch.is-sel .tsz-frame { transform: translateY(-5px); box-shadow: 0 0 0 2.5px #fffaf2, 0 0 0 4.5px var(--t-gold), 0 20px 20px -14px rgba(74, 25, 66, .55); }
.tsz-arch.is-sel small { color: var(--t-plum); }
.tsz-info { margin-top: 10px; text-align: center; min-height: 84px; }

/* ---------- Weekly box: six, a matcha, and the ribbon ---------- */
.tsw-top { display: flex; align-items: center; justify-content: center; gap: 9px; padding-top: 2px; }
.tsw-tray { display: grid; grid-template-columns: repeat(3, 34px); gap: 4px; padding: 7px; border-radius: 16px; background: linear-gradient(180deg, #fffdf8, #f3e7d0); box-shadow: 0 0 0 1.25px var(--t-gold), 0 12px 14px -10px rgba(74, 25, 66, .45); }
.tsw-tray i { display: block; width: 34px; height: 34px; border-radius: 50%; opacity: 0; transform: scale(.3); }
.tsw-tray img, .tsw-cup img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px #fffaf2, 0 0 0 2.25px var(--t-gold-l); }
.tsw.is-in .tsw-tray i { opacity: 1; transform: none; transition: opacity .2s ease, transform .45s var(--t-spring); transition-delay: calc(.15s + var(--i) * .07s); }
.tsw-cup { position: absolute; right: calc(50% - 38px); top: -9px; display: block; width: 30px; height: 30px; border-radius: 50%; opacity: 0; transform: scale(.3) rotate(-30deg); filter: drop-shadow(0 4px 4px rgba(74, 25, 66, .28)); pointer-events: none; }
.tsw.is-in .tsw-cup { opacity: 1; transform: none; transition: opacity .2s ease 1.5s, transform .55s var(--t-spring) 1.5s; }
.tsw-wk[aria-pressed="true"] .tsw-cup { opacity: .25; }
.tsw-gift { margin: 7px 0 0; text-align: center; font: 600 12.5px/1.35 var(--t-sans); color: var(--t-soft); }
.tsw-gift b { color: var(--t-plum); }
.tsw-price { position: relative; width: 78px; height: 78px; margin-left: 4px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #3a2412; background: radial-gradient(circle at 38% 30%, #fbe9b2, #dcb455 62%, #c2952f); box-shadow: 0 0 0 2px #fffaf2, 0 0 0 3.25px var(--t-gold), 0 10px 16px -8px rgba(120, 84, 10, .7); animation: tswGlow 2.6s ease-in-out infinite; }
.tsw-price b { font: 600 27px/1 var(--t-serif); letter-spacing: -.02em; }
.tsw-price small { margin-top: 1px; font: 800 9px/1 var(--t-sans); letter-spacing: .12em; text-transform: uppercase; }
@keyframes tswGlow { 0%, 100% { box-shadow: 0 0 0 2px #fffaf2, 0 0 0 3.25px var(--t-gold), 0 10px 16px -8px rgba(120, 84, 10, .7), 0 0 0 0 rgba(236, 200, 110, .6); } 50% { box-shadow: 0 0 0 2px #fffaf2, 0 0 0 3.25px var(--t-gold), 0 10px 16px -8px rgba(120, 84, 10, .7), 0 0 22px 7px rgba(236, 200, 110, .55); } }
.tsw-what { margin: 12px 0 0; text-align: center; font: 500 13.5px/1.4 var(--t-sans); color: var(--t-soft); }
.tsw-what b { color: var(--t-plum); }
.tsw-weeks { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; padding: 0 4px; }
.tsw-weeks > svg { position: absolute; left: 4%; top: 15px; width: 92%; height: 30px; overflow: visible; }
.tsw-weeks > svg path { fill: none; stroke: var(--t-gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.tsw.is-in .tsw-weeks > svg path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.4, 0, .2, 1) .5s; }
.tsw-wk { position: relative; display: grid; justify-items: center; gap: 3px; padding: 0 0 2px; border: 0; background: none; cursor: pointer; opacity: 0; transform: translateY(-20px); }
.tsw-wk svg { display: block; width: 46px; height: 42px; transition: transform .4s var(--t-spring), opacity .3s ease; filter: drop-shadow(0 6px 5px rgba(74, 25, 66, .22)); }
.tsw-wk small { font: 700 11px/1.2 var(--t-sans); color: var(--t-plum); }
.tsw.is-in .tsw-wk { opacity: 1; transform: none; transition: opacity .2s ease, transform .5s var(--t-spring); transition-delay: calc(.7s + var(--i) * .16s); }
.tsw-wk[aria-pressed="true"] svg { transform: translateY(-9px) rotate(-9deg) scale(.9); opacity: .3; }
.tsw-wk[aria-pressed="true"] small { color: var(--t-gold-d); }
.tsw-note { margin-top: 6px; min-height: 34px; }

/* ---------- Thanksgiving: take a number ---------- */
.tst-machine { position: relative; z-index: 2; width: 300px; max-width: 100%; aspect-ratio: 300 / 66; margin: 0 auto; }
.tst-art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; }
.tst-art * { transform-box: fill-box; transform-origin: 50% 50%; }
.tst.is-fed .tst-swirl path { animation: tstSwirl 1.3s cubic-bezier(.3, .1, .2, 1) .15s both; }
@keyframes tstSwirl { from { transform: rotate(0deg); } to { transform: rotate(720deg); } }
.tst-now.is-flip { animation: tstFlip .42s ease both; }
@keyframes tstFlip { 0% { transform: scaleY(1); } 45% { transform: scaleY(0); } 100% { transform: scaleY(1); } }
.tst-tix { position: relative; z-index: 1; display: flex; justify-content: center; gap: 20px; height: 140px; margin-top: -15px; padding-bottom: 12px; overflow: hidden; }
.tst-tk { position: relative; isolation: isolate; width: 106px; height: 122px; padding: 9px 6px 8px; border: 0; background: none; cursor: pointer; display: grid; justify-items: center; align-content: start; gap: 1px; text-align: center; transform: translateY(-108%); filter: drop-shadow(0 0 .6px #9a7420) drop-shadow(0 8px 6px rgba(74, 25, 66, .2)); }
.tst-tk::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: 0 0 12px 12px; background: linear-gradient(180deg, #fff8e8 0%, #fffdf8 30%, #fbf1dc 100%);
  -webkit-mask-image: radial-gradient(circle 7px at 0 32px, transparent 97%, #000 100%), radial-gradient(circle 7px at 100% 32px, transparent 97%, #000 100%); -webkit-mask-composite: source-in; mask-image: radial-gradient(circle 7px at 0 32px, transparent 97%, #000 100%), radial-gradient(circle 7px at 100% 32px, transparent 97%, #000 100%); mask-composite: intersect; }
.tst.is-fed .tst-tk { animation: tstFeed .8s steps(8, end) both; animation-delay: calc(.2s + var(--i) * .3s); }
@keyframes tstFeed { from { transform: translateY(-108%); } to { transform: none; } }
.tst-rose { position: absolute; z-index: -1; left: 50%; top: 40px; width: 62px; height: 62px; margin-left: -31px; color: #c99a2e; opacity: .38; }
.tst-perf { position: absolute; left: 12px; right: 12px; top: 32px; border-top: 1.5px dashed rgba(154, 116, 32, .55); }
.tst-dow { font: 800 10px/1 var(--t-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--t-gold-d); height: 24px; display: grid; align-items: center; }
.tst-num { margin-top: 5px; font: 600 40px/1 var(--t-serif); letter-spacing: -.02em; color: var(--t-plum); }
.tst-mon { font: 600 10.5px/1.2 var(--t-sans); color: var(--t-soft); }
.tst-tear { margin-top: 5px; padding: 4px 9px; border-radius: 999px; font: 700 10px/1 var(--t-sans); color: #3a2412; background: linear-gradient(180deg, #f6dd9a, #d9b04e); }
.tst-tk.is-torn { animation: tstTear .42s cubic-bezier(.5, 0, .8, .4) both !important; }
@keyframes tstTear { 0% { transform: none; } 25% { transform: translateY(4px) rotate(-3deg); } 100% { transform: translateY(70px) rotate(11deg); opacity: 0; } }
.tst-info { text-align: center; }
.tst-coins { display: flex; align-items: center; justify-content: center; margin-top: 9px; }
.tst-coins i { display: block; width: 32px; height: 32px; margin-left: -7px; border-radius: 50%; }
.tst-coins i:first-child { margin-left: 0; }
.tst-coins img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fffaf2, 0 0 0 2.75px var(--t-gold-l); }
.tst-coins b { margin-left: 8px; font: 700 12px/1 var(--t-sans); color: var(--t-plum); }

@media (prefers-reduced-motion: reduce) {
  .tsg *, .tsg *::before, .tsg *::after, .tsg-chip, .tsg-chip svg { animation: none !important; transition-duration: .01ms !important; }
  .tst-tk { transform: none !important; } .tsp-console, .tsc-phone, .tsb-pan { transform: none !important; opacity: 1 !important; } .tsp-boot, .tsb-knife, .tsb-glow, .tsp-a-ring { display: none !important; }
  .tsp-led, .tsp-led-glow, .tsb-name, .tsm-cup, .tsm-whisk, .tsm-info, .tsm-story, .tsc-pings li, .tsw-tray i, .tsw-cup, .tsw-wk { opacity: 1 !important; } .tsb-name, .tsc-pings li, .tsw-tray i, .tsw-cup, .tsw-wk, .tsm-info, .tsm-story { transform: none !important; }
  .tsm-cup { transform: translate(-50%, -50%) !important; } .tsb-cut { opacity: .3 !important; transform: none !important; background: #b08a44 !important; } .tsz-door { transform: perspective(520px) rotateY(-96deg) !important; } .tsz-frame img { transform: none !important; }
  .tsw-weeks > svg path { stroke-dashoffset: 0 !important; }
}
html.glz-static .tsg *, html.glz-static .tsg *::before, html.glz-static .tsg *::after, html.glz-static .tsg-chip, html.glz-static .tsg-chip svg { animation: none !important; transition-duration: .01ms !important; }
html.glz-static .tst-tk { transform: none !important; }
html.glz-static .tsp-console, html.glz-static .tsc-phone, html.glz-static .tsb-pan { transform: none !important; opacity: 1 !important; }
html.glz-static .tsp-boot, html.glz-static .tsb-knife, html.glz-static .tsb-glow, html.glz-static .tsp-a-ring { display: none !important; }
html.glz-static .tsp-led, html.glz-static .tsp-led-glow, html.glz-static .tsb-name, html.glz-static .tsm-cup, html.glz-static .tsm-whisk, html.glz-static .tsm-info, html.glz-static .tsm-story, html.glz-static .tsc-pings li, html.glz-static .tsw-tray i, html.glz-static .tsw-cup, html.glz-static .tsw-wk { opacity: 1 !important; }
html.glz-static .tsb-name, html.glz-static .tsc-pings li, html.glz-static .tsw-tray i, html.glz-static .tsw-cup, html.glz-static .tsw-wk, html.glz-static .tsm-info, html.glz-static .tsm-story { transform: none !important; }
html.glz-static .tsm-cup { transform: translate(-50%, -50%) !important; }
html.glz-static .tsb-cut { opacity: .3 !important; transform: none !important; background: #b08a44 !important; }
html.glz-static .tsz-door { transform: perspective(520px) rotateY(-96deg) !important; }
html.glz-static .tsz-frame img { transform: none !important; }
html.glz-static .tsw-weeks > svg path { stroke-dashoffset: 0 !important; }
/* Brownies: the half-pound scale beside the name (Nov 14). The flavor you land on drops onto it and it reads half a pound. */
.tsb-weigh { display: flex; align-items: center; justify-content: center; gap: 12px; }
.tsb-scale { flex: none; width: 112px; }
.tsb-scale .gsc[data-size] { font-size: 5.6px; }
@media (max-width: 440px) { .tsb-weigh .tsg-sub { display: none; } }
.tsb-weigh .tsb-info { flex: 0 1 auto; min-width: 0; text-align: left; }
@media (max-width: 360px) { .tsb-scale { width: 96px; } .tsb-scale .gsc[data-size] { font-size: 4.8px; } }

/* Nov 15: the new-site welcome card (bonbon/bonbon-tours.css) sits fixed over the bottom of a phone screen, right where
   the stage's gold button lands, so a tap meant for the button opened the welcome instead. It steps aside while a stage is open. */
html.tsg-open .bbt-wel { opacity: 0 !important; pointer-events: none !important; }

/* ---------- the product stage (Nov 15, owner's ask): rolls, brownies, savory, matcha on one stage ---------- */
.tsx { position: relative; }
.tsx-stage { position: relative; }
.tsx-p { position: relative; }
.tsx-p:not(.is-on), .tsx-u:not(.is-on) { display: none; }
.tsx-p:not([data-p="rolls"]) { margin-right: 74px; }
.tsx-p.is-out { opacity: 0; transform: scale(.28); transition: opacity .32s ease, transform .42s cubic-bezier(.5, 0, .75, 0); pointer-events: none; }
.tsx-p.is-on:not(.is-out) { animation: tsxIn .5s var(--t-out) both; }
@keyframes tsxIn { from { opacity: 0; } to { opacity: 1; } }
/* the rail: a porcelain column in the space beside the stand */
.tsx-rail { position: absolute; z-index: 3; right: -8px; top: 112px; width: 64px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 0 6px; border-radius: 999px;
  background: linear-gradient(180deg, #fffdf8, #f7ecda); box-shadow: 0 0 0 1px rgba(212, 168, 67, .6), 0 0 0 4px #fffaf2, 0 0 0 5px rgba(212, 168, 67, .25), 0 16px 24px -16px rgba(74, 25, 66, .55);
  transition: top .5s var(--t-out); }
.tsx:not([data-on="rolls"]) .tsx-rail { top: 6px; }
.tsx-rail > small { font: 800 7.5px/1 var(--t-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--t-gold-d); margin-bottom: 4px; }
.tsx-nx { position: relative; width: 60px; min-height: 52px; margin: 0; padding: 0; border: 0; background: none; display: grid; justify-items: center; align-content: start; gap: 4px; cursor: pointer; }
.tsx-coin { position: relative; display: block; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #fffaf2, 0 0 0 3.25px var(--t-gold), 0 8px 12px -6px rgba(74, 25, 66, .55);
  animation: tsxBob 3.4s ease-in-out infinite; animation-delay: calc(var(--k) * -1.1s); transition: transform .2s ease; }
.tsx-coin img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tsx-coin.is-crop img, .tsx-jump.is-crop img { object-position: 34% 26%; transform: scale(2.1); transform-origin: 34% 26%; }
.tsx-coin::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(115deg, transparent 38%, rgba(255, 252, 240, .7) 50%, transparent 62%); transform: translateX(-130%); animation: tsxSheen 5.6s ease-in-out infinite; animation-delay: calc(1.6s + var(--k) * .4s); pointer-events: none; }
.tsx-nx b { font: 700 10.5px/1 var(--t-sans); color: var(--t-plum); }
.tsx-nx:active .tsx-coin { transform: scale(.92); }
.tsx-nx:focus-visible { outline: 2px solid var(--t-plum); outline-offset: 2px; border-radius: 14px; }
.tsx-nx.is-hop .tsx-coin { animation: tsxHop .62s var(--t-spring); }
.tsx-nx.is-in .tsx-coin { animation: tsxPop .5s var(--t-spring) both; }
@keyframes tsxBob { 0%, 100% { transform: none; } 50% { transform: translateY(-2.5px); } }
@keyframes tsxSheen { 0%, 72% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes tsxHop { 0% { transform: none; } 35% { transform: translate(-7px, -9px) rotate(-10deg) scale(1.08); } 70% { transform: translateY(1px) scale(.97); } 100% { transform: none; } }
@keyframes tsxPop { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }
.tsx-jump { position: fixed; z-index: 1100; left: 0; top: 0; border-radius: 50%; overflow: hidden; pointer-events: none; box-shadow: 0 0 0 2px #fffaf2, 0 0 0 3.25px #d4a843, 0 18px 26px -12px rgba(74, 25, 66, .6); will-change: transform; }
.tsx-jump img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* hosted pieces fit the column beside the rail */
.tsx .tsb-oven { margin-right: 0; }
.tsx .tsb-pan { max-width: 100%; }
.tsx .tsb-weigh { flex-direction: column; gap: 6px; margin-top: 2px; }
.tsx .tsb-scale { width: 150px; }
.tsx .tsb-scale .gsc[data-size] { font-size: 7.4px; }
.tsx .tsb-weigh .tsb-info { text-align: center; min-height: 0; }
.tsx .tsb-weigh .tsg-sub { display: block; }
.tsx[data-on="rolls"] .tsf-box { margin-right: 66px; }
.tsx-u .tsm-offer { display: none; }
/* Savory: the cloche */
.tss-table { position: relative; height: 196px; }
.tss-dish { position: absolute; left: 50%; bottom: 8px; width: 214px; height: 40px; margin-left: -107px; overflow: visible; }
.tss-hero { position: absolute; left: 50%; bottom: 26px; width: 136px; height: 136px; margin-left: -68px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; opacity: 0; transform: scale(.7); touch-action: pan-y; }
.tss-hero img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fffaf2, 0 0 0 4.25px var(--t-gold), 0 16px 20px -10px rgba(74, 25, 66, .55); }
.tss-hero .tsf-plus { opacity: 1; transform: none; right: 4px; bottom: 4px; }
.tss.is-up .tss-hero { opacity: 1; transform: none; transition: transform .55s var(--t-spring), opacity .2s ease; }
.tss.is-down .tss-hero { opacity: 1; transform: none; }
.tss-lid { position: absolute; left: 50%; bottom: 14px; width: 180px; height: 147px; margin-left: -90px; transform-origin: 20% 96%; transform: translateY(-170%); opacity: 0; pointer-events: none; filter: drop-shadow(0 16px 14px rgba(74, 25, 66, .22)); }
.tss-lid svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tss.is-down .tss-lid { transform: none; opacity: 1; transition: transform .52s cubic-bezier(.3, 1.3, .5, 1), opacity .12s ease; }
.tss.is-up .tss-lid { transform: translate(-24px, -96px) rotate(-22deg); opacity: 0; transition: transform .72s var(--t-out), opacity .45s ease .3s; }
.tss-steam { position: absolute; left: 50%; top: 2px; width: 90px; height: 80px; margin-left: -45px; overflow: visible; pointer-events: none; }
.tss-steam path { fill: none; stroke: rgba(150, 120, 132, .5); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 90; stroke-dashoffset: 90; opacity: 0; }
.tss.is-up .tss-steam path { animation: tssSteam 2s ease-out both .15s; }
.tss.is-up .tss-steam path:nth-child(2) { animation-delay: .32s; } .tss.is-up .tss-steam path:nth-child(3) { animation-delay: .48s; }
@keyframes tssSteam { 0% { stroke-dashoffset: 90; opacity: 0; transform: translateY(18px); } 30% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; transform: translateY(-14px); } }
.tss-pick { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.tss-pick button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 13px 4px 5px; border: 0; border-radius: 999px; cursor: pointer; background: #fffaf2; box-shadow: 0 0 0 1px var(--t-line); font: 700 12.5px/1 var(--t-sans); color: var(--t-plum); transition: background .2s ease, box-shadow .2s ease; }
.tss-pick img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px #fffaf2; }
.tss-pick button[aria-checked="true"] { background: linear-gradient(180deg, #f6dd9a, #d9b04e); color: #3a2412; box-shadow: 0 0 0 1px rgba(154, 116, 32, .45), 0 6px 10px -6px rgba(120, 84, 10, .6); }
.tss-info { margin-top: 10px; text-align: center; min-height: 64px; }
@media (prefers-reduced-motion: reduce) { .tsx-coin, .tsx-coin::after, .tsx-nx.is-hop .tsx-coin, .tsx-nx.is-in .tsx-coin, .tsx-p.is-on { animation: none !important; } .tss-steam { display: none; } }
html.glz-static .tsx-coin, html.glz-static .tsx-coin::after { animation: none !important; }
