@property --R { syntax: '<angle>'; inherits: true; initial-value: 0deg; }

:root {
  --ink: #111;
  --blue: #1f4fd8;
  --blue-d: #1638a6;
  --red: #d7141e;
  --yellow: #ffd60a;
  --cream: #f6efe0;
  --accent: var(--yellow);
  --accent-ink: #111;
  --accent-strong: var(--red);
  --accent-strong-ink: #fff;
  --focus: #ffd60a;
  --font-display: 'Dela Gothic One', 'Zen Kaku Gothic New', system-ui, sans-serif;
  --font-body: 'Zen Kaku Gothic New', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;
  --sheet-bg: #fffdf6;
  --pill-bg: #111;
}
body { background: var(--blue); }
.kc-viewport { overflow: hidden; }
.kc-stage { perspective: 2400px; }

/* ================= collage ================= */
.collage {
  position: absolute; inset: -520px -900px;
  background:
    radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.6px) 0 0 / 7px 7px,
    var(--blue);
  overflow: hidden;
}
.collage .poster {
  position: absolute;
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,.25);
  transform: rotate(var(--r, 0deg));
}
.collage .poster::after { /* halftone + paper fibre */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(rgba(0,0,0,.12) 1px, transparent 1.4px) 0 0 / 5px 5px,
    linear-gradient(115deg, rgba(255,255,255,.18), transparent 40%, rgba(0,0,0,.08));
  mix-blend-mode: multiply;
}
.poster.type { font-family: var(--font-display); line-height: .9; text-align: center; padding: 10px; }
.poster.type span { display: block; white-space: nowrap; }
.poster.photo img { width: 86%; height: auto; filter: drop-shadow(0 12px 12px rgba(0,0,0,.35)) saturate(1.1); }
.poster.photo .tag {
  position: absolute; font-family: var(--font-display); color: #fff; font-size: 54px;
  text-shadow: 3px 3px 0 #111; left: 18px; top: 10px; writing-mode: vertical-rl;
}
.poster .burst {
  position: absolute; right: 14px; bottom: 14px; width: 104px; height: 104px;
  display: grid; place-items: center; text-align: center;
  background: var(--yellow); color: var(--red); font-family: var(--font-display); font-size: 22px; line-height: 1;
  clip-path: polygon(50% 0, 61% 18%, 81% 10%, 80% 31%, 100% 38%, 86% 54%, 98% 72%, 77% 76%, 74% 97%, 57% 85%, 41% 100%, 33% 81%, 12% 88%, 16% 67%, 0 55%, 15% 40%, 4% 21%, 25% 20%, 30% 0);
}
.poster .tape {
  position: absolute; width: 90px; height: 26px; background: rgba(255,250,230,.6);
  top: -6px; left: 50%; transform: translateX(-50%) rotate(-4deg); box-shadow: 0 1px 2px rgba(0,0,0,.15);
}

/* ================= lazy susan ================= */
.susan-wrap { position: absolute; left: -830px; top: -130px; width: 1200px; height: 1200px; }
.susan {
  --R: 0deg;
  position: absolute; inset: 0; border-radius: 50%;
  transform: rotate(var(--R));
  transition: --R 1.15s cubic-bezier(.65,.02,.2,1);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .9' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .2 0 0 0 0 .08 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 300px 300px,
    repeating-radial-gradient(circle at 50% 50%, transparent 0 14px, rgba(120,70,20,.07) 14px 15px, transparent 15px 31px),
    radial-gradient(circle at 50% 50%, #e9c08a 0%, #dcab6c 55%, #c99358 100%);
  box-shadow:
    0 0 0 16px var(--red),
    0 0 0 19px #8f0d13,
    inset 0 0 0 6px rgba(255,255,255,.18),
    inset 0 0 60px rgba(90,40,0,.35),
    40px 50px 70px rgba(0,0,0,.55);
}
.susan::before { /* centre hub + lacquer ring */
  content: ''; position: absolute; inset: 39%; border-radius: 50%;
  background: radial-gradient(circle, #c48a4d 0 30%, transparent 31%), radial-gradient(circle, transparent 0 62%, rgba(110,60,15,.25) 63% 64%, transparent 65%);
}
.susan::after { /* sheen that does not rotate with the wood */
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from calc(var(--R) * -1 + 200deg), transparent 0 10%, rgba(255,255,255,.22) 18%, transparent 30%, transparent 70%, rgba(255,255,255,.12) 80%, transparent 90%);
  mix-blend-mode: soft-light; pointer-events: none;
}
.spot {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform: rotate(var(--a)) translateX(480px);
}
.bowl {
  position: absolute; left: -70px; top: -70px; width: 140px; height: 140px;
  border-radius: 50%; border: 0; padding: 0;
  background:
    radial-gradient(circle at 50% 50%, #fbfbf9 0 60%, #e6e6e1 66%, #fff 69%, #f1f1ec 74%, #2a4fb0 75% 77%, #f5f5f1 78% 100%);
  box-shadow: 0 14px 18px -4px rgba(60,30,0,.55), inset 0 -6px 10px rgba(0,0,0,.12), inset 0 4px 6px rgba(255,255,255,.9);
  transition: filter .5s, opacity .5s, transform .35s cubic-bezier(.3,.7,.4,1.5);
  touch-action: none;
}
.bowl .food {
  position: absolute; inset: 15%; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  box-shadow: inset 0 6px 10px rgba(0,0,0,.18);
  background: radial-gradient(circle, #fff 30%, #eceae4 100%);
}
.bowl .food img { width: 104%; height: 104%; object-fit: contain; transform: rotate(var(--fr, 0deg)); transition: transform .35s, opacity .3s; }
.bowl.is-taken .food img { opacity: .25; transform: scale(.7) rotate(var(--fr, 0deg)); }
.spot:not(.is-live) .bowl { filter: saturate(.5) brightness(.78); opacity: .6; transform: scale(.86); pointer-events: none; }
.spot.is-live { z-index: 2; }
.spot.is-live .bowl:hover, .spot.is-live .bowl:focus-visible { transform: scale(1.07); }
.spot.is-chosen .bowl { box-shadow: 0 0 0 5px var(--yellow), 0 14px 18px -4px rgba(60,30,0,.55); }
.bowl:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }
.label {
  position: absolute; left: 0; top: 0; pointer-events: none;
  transform: rotate(calc(var(--R) * -1 - var(--a))) translate(-50%, 76px);
  transform-origin: 0 0;
}
.label span {
  display: block; white-space: nowrap;
  background: #fffef8; color: #111; font-family: var(--font-mono); font-weight: 500;
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,.25); transform: rotate(-2deg);
  transition: opacity .4s;
}
.spot:not(.is-live) .label span { opacity: 0; }
.drag-ghost { position: fixed; left: 0; top: 0; z-index: 1600; pointer-events: none; width: 170px; height: 170px; }
.drag-ghost img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(18px 30px 18px rgba(0,0,0,.4)); }

/* ================= tray ================= */
.tray-wrap { position: absolute; left: 410px; top: 205px; width: 820px; height: 600px; transform-style: preserve-3d; }
.tray {
  position: absolute; inset: 0; border-radius: 40px;
  background: linear-gradient(150deg, #ef2a32 0%, #c9111a 45%, #9d0a12 100%);
  box-shadow:
    0 0 0 10px #141414,
    0 0 0 12px #2b2b2b,
    inset 0 3px 0 rgba(255,255,255,.35),
    inset 0 -10px 18px rgba(0,0,0,.35),
    30px 50px 60px -10px rgba(0,0,0,.6),
    10px 16px 20px rgba(0,0,0,.35);
  transition: transform .5s cubic-bezier(.3,.7,.4,1.4);
}
.tray.is-hover { transform: scale(1.012); }
.tray-gloss {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5;
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.16) 38%, transparent 46%),
    linear-gradient(115deg, transparent 52%, rgba(255,255,255,.08) 56%, transparent 60%);
  transform: translateX(calc(var(--tx, 0) * 30px));
}
.cell {
  position: absolute; border-radius: 22px; padding: 0; border: 0;
  background: linear-gradient(160deg, #a90c14, #c8121b 60%, #d4202a);
  box-shadow:
    inset 0 14px 22px rgba(60,0,0,.55),
    inset 0 -3px 0 rgba(255,255,255,.18),
    0 2px 0 rgba(255,255,255,.35),
    0 -2px 0 rgba(0,0,0,.25);
  overflow: visible;
}
.cell::before { /* inner rib */
  content: ''; position: absolute; inset: 10px; border-radius: 16px;
  border: 2px solid rgba(255,255,255,.07);
  box-shadow: inset 0 0 0 2px rgba(80,0,0,.2);
}
.cell .num {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,.28); color: rgba(255,255,255,.9); font-family: var(--font-mono); font-size: 14px;
  transition: opacity .3s, transform .3s;
}
.cell .tag {
  position: absolute; left: 14px; bottom: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55); transition: opacity .3s;
}
.cell.is-filled .num, .cell.is-filled .tag { opacity: 0; transform: translate(-50%,-50%) scale(.6); }
.cell.is-active::after {
  content: ''; position: absolute; inset: -6px; border-radius: 26px; pointer-events: none;
  border: 3px dashed var(--yellow); animation: cell-pulse 1.4s ease-in-out infinite;
}
.cell.is-target::after { border-style: solid; background: rgba(255,214,10,.12); }
@keyframes cell-pulse { 50% { opacity: .35; } }
.cell .food { position: absolute; inset: 0; pointer-events: none; }
.cell .food img {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%) rotate(var(--r, 0deg));
  filter: drop-shadow(0 8px 6px rgba(60,0,0,.45));
}
.cell .food img.is-out { animation: food-out .35s ease forwards; }
@keyframes food-out { to { transform: translate(-50%,-50%) rotate(var(--r)) scale(.4); opacity: 0; } }
.steam-box { position: absolute; inset: 0; pointer-events: none; overflow: visible; }

/* ================= lid + furoshiki ================= */
.lid {
  position: absolute; inset: -10px; border-radius: 46px; pointer-events: none;
  transform: translateZ(700px) rotateX(16deg) rotateZ(-6deg); opacity: 0;
  transform-style: preserve-3d;
}
.lid-top {
  position: absolute; inset: 0; border-radius: inherit;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.18), transparent 50%),
    linear-gradient(150deg, #1d1d1f, #070707 60%, #151515);
  box-shadow: inset 0 0 0 14px #0b0b0b, inset 0 0 0 16px #b8913a, inset 0 0 0 18px #0b0b0b, inset 0 3px 0 20px rgba(255,255,255,.06), 0 30px 50px rgba(0,0,0,.55);
  display: grid; place-items: center; overflow: hidden;
}
.lid-top::after {
  content: ''; position: absolute; inset: -40%; background: linear-gradient(110deg, transparent 45%, rgba(255,255,255,.18) 50%, transparent 55%);
  transform: translateX(-60%); transition: transform 1.6s ease .6s;
}
.lid.is-on .lid-top::after { transform: translateX(60%); }
.lid-mark { text-align: center; color: #d9b25a; }
.lid-jp { display: block; font-family: var(--font-display); font-size: 40px; letter-spacing: .1em; }
.lid-en { display: block; font-family: var(--font-display); font-size: 120px; line-height: .82; letter-spacing: -.02em; background: linear-gradient(180deg, #f3d488, #b8913a 60%, #e8c56f); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0,0,0,.6)); }
.lid.is-on { opacity: 1; transform: none; transition: transform .75s cubic-bezier(.5,0,.3,1.15), opacity .2s; }

.cloth-base {
  position: absolute; left: 50%; top: 50%; width: 880px; height: 880px; margin: -440px 0 0 -440px;
  transform: rotate(45deg) scale(.6); opacity: 0; pointer-events: none;
  background: var(--seigaiha);
  box-shadow: 0 40px 60px rgba(0,0,0,.45);
  border-radius: 30px;
  transition: transform .7s cubic-bezier(.3,.7,.3,1.1), opacity .4s;
}
.tray-wrap {
  --seigaiha:
    radial-gradient(circle at 50% 100%, transparent 0 9px, #f2ead8 10px 12px, transparent 13px 17px, #f2ead8 18px 20px, transparent 21px 25px, #f2ead8 26px 28px, #1b2f6b 29px) 0 0 / 60px 30px,
    radial-gradient(circle at 50% 100%, transparent 0 9px, #f2ead8 10px 12px, transparent 13px 17px, #f2ead8 18px 20px, transparent 21px 25px, #f2ead8 26px 28px, #1b2f6b 29px) 30px 15px / 60px 30px,
    #1b2f6b;
}
.cloth-base.is-on { opacity: 1; transform: rotate(45deg) scale(1); }
.cloth { position: absolute; inset: -10px; pointer-events: none; transform-style: preserve-3d; }
.flap {
  position: absolute; display: block; background: var(--seigaiha);
  backface-visibility: visible; opacity: 0;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.4));
  transition: transform .8s cubic-bezier(.55,.05,.3,1.05), opacity .2s;
}
.f-top    { left: 0; right: 0; bottom: 100%; height: 330px; clip-path: polygon(0 100%, 50% 0, 100% 100%); transform-origin: 50% 100%; }
.f-bottom { left: 0; right: 0; top: 100%; height: 330px; clip-path: polygon(0 0, 50% 100%, 100% 0); transform-origin: 50% 0; }
.f-left   { top: 0; bottom: 0; right: 100%; width: 440px; clip-path: polygon(100% 0, 0 50%, 100% 100%); transform-origin: 100% 50%; }
.f-right  { top: 0; bottom: 0; left: 100%; width: 440px; clip-path: polygon(0 0, 100% 50%, 0 100%); transform-origin: 0 50%; }
.cloth.is-on .flap { opacity: 1; }
.f-top, .f-bottom, .f-left, .f-right { transform: translateZ(1px); }
/* shade each flap darker at its hinge, lighter at its tip, so the folded bundle reads as a pyramid */
.f-top    { background: linear-gradient(to bottom, rgba(255,255,255,.1), rgba(0,0,0,.42)), var(--seigaiha); }
.f-bottom { background: linear-gradient(to top, rgba(255,255,255,.06), rgba(0,0,0,.5)), var(--seigaiha); }
.f-left   { background: linear-gradient(to left, rgba(0,0,0,.38), rgba(255,255,255,.08)), var(--seigaiha); }
.f-right  { background: linear-gradient(to right, rgba(0,0,0,.46), rgba(255,255,255,.04)), var(--seigaiha); }
/* each flap swings up toward the viewer and lands just above the lid, stacked in fold order */
.cloth.is-fold .f-left   { transform: translateZ(6px) rotateY(180deg); }
.cloth.is-fold .f-right  { transform: translateZ(9px) rotateY(-180deg); transition-delay: .18s; }
.cloth.is-fold .f-top    { transform: translateZ(12px) rotateX(-180deg); transition-delay: .36s; }
.cloth.is-fold .f-bottom { transform: translateZ(15px) rotateX(180deg); transition-delay: .54s; }
.knot {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0; opacity: 0;
  transform: translateZ(30px) scale(.2); transition: transform .6s cubic-bezier(.3,.7,.3,1.6) 1.25s, opacity .2s 1.25s;
}
.knot::before { /* centre twist */
  content: ''; position: absolute; left: -62px; top: -52px; width: 124px; height: 104px; border-radius: 44% 44% 48% 48%; z-index: 2;
  background: radial-gradient(circle at 40% 30%, rgba(255,255,255,.35), transparent 45%), radial-gradient(circle at 50% 120%, rgba(0,0,0,.55), transparent 60%), var(--seigaiha);
  box-shadow: inset 0 -12px 20px rgba(0,0,0,.45), 0 18px 26px rgba(0,0,0,.55), 0 0 0 3px rgba(10,20,50,.6);
}
.knot b {
  position: absolute; top: -200px; width: 150px; height: 210px; border-radius: 62% 62% 26% 26%;
  background: radial-gradient(ellipse at 40% 25%, rgba(255,255,255,.3), transparent 50%), linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.5)), var(--seigaiha);
  box-shadow: inset -14px -18px 26px rgba(0,0,0,.4), 0 16px 24px rgba(0,0,0,.5), 0 0 0 3px rgba(10,20,50,.55);
}
.knot b:first-child { left: -150px; transform: rotate(-32deg); transform-origin: 100% 100%; }
.knot b:last-child { left: 0; transform: rotate(32deg); transform-origin: 0 100%; }
.cloth.is-fold .knot { opacity: 1; transform: translateZ(30px) scale(1); }

/* ================= receipt ================= */
.receipt { position: absolute; left: 1280px; top: 140px; width: 270px; transform: rotate(1.6deg); }
.receipt .rc-brand { font-size: 36px; }
.receipt .rc-brand small { display: block; font-family: var(--font-display); font-size: 13px; letter-spacing: .3em; margin-bottom: 6px; color: var(--red); }

/* ================= step card ================= */
.stepcard {
  position: absolute; left: 46px; top: 792px; width: 390px;
  padding: 22px 24px 18px; text-align: center;
  background: linear-gradient(170deg, #ffe14d, #ffd000 60%, #f2c200);
  border-radius: 14px; border: 3px solid #111;
  box-shadow: 0 6px 0 #111, 16px 24px 30px rgba(0,0,0,.45);
  transform: rotate(-2.5deg);
}
.screw { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #888 60%, #444); }
.screw::after { content: ''; position: absolute; left: 2px; right: 2px; top: 5px; height: 1.5px; background: #333; transform: rotate(35deg); }
.s1 { left: 10px; top: 10px; } .s2 { right: 10px; top: 10px; } .s3 { left: 10px; bottom: 10px; } .s4 { right: 10px; bottom: 10px; }
.sc-count { font-family: var(--font-mono); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; font-weight: 500; }
.sc-title { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: .95; margin: 6px 0 8px; text-transform: uppercase; letter-spacing: -.01em; }
.sc-title.is-swap { animation: sc-swap .5s cubic-bezier(.3,.7,.4,1.4); }
@keyframes sc-swap { from { transform: translateY(14px) scale(.9); opacity: 0; } }
.sc-hint { margin: 0; font-size: 14px; font-weight: 700; opacity: .75; }
.sc-dots { display: flex; justify-content: center; gap: 6px; margin: 12px 0 10px; }
.sc-dots button { width: 26px; height: 8px; border-radius: 6px; border: 2px solid #111; background: transparent; padding: 0; }
.sc-dots button.is-done { background: #111; }
.sc-dots button.is-now { background: var(--red); border-color: var(--red); width: 40px; }
.sc-nav { display: flex; gap: 6px; justify-content: center; }
.sc-btn {
  border: 2px solid #111; background: #fffbe6; border-radius: 999px; padding: 6px 12px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em;
  transition: transform .15s, background .15s;
}
.sc-btn:hover { transform: translateY(-2px); background: #fff; }
.sc-btn:disabled { opacity: .35; transform: none; }
.sc-chef { background: #111; color: var(--yellow); }
.sc-chef:hover { background: #000; }

/* ================= status + topbar ================= */
.status { position: absolute; left: 410px; width: 820px; top: 840px; text-align: center; }
.status .kc-pill { box-shadow: 0 10px 20px rgba(0,0,0,.3); font-size: 14px; }
.topbar { position: absolute; left: 46px; right: 50px; top: 26px; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; z-index: 5; }
.topbar > * { pointer-events: auto; }
.brand {
  display: grid; text-decoration: none; color: #fff; background: #111; padding: 12px 18px 12px 16px; border-radius: 6px;
  box-shadow: 6px 6px 0 var(--red); transform: rotate(-1.5deg);
}
.brand-jp { font-family: var(--font-display); font-size: 14px; letter-spacing: .3em; color: var(--yellow); }
.brand-en { font-family: var(--font-display); font-size: 34px; line-height: 1; }
.brand-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.top-actions { display: flex; gap: 10px; align-items: center; position: relative; }
.how { border: 0; background: #fff; color: #111; padding: 8px 10px 8px 14px; border-radius: 999px; font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; gap: 8px; }
.how b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #111; color: #fff; font-size: 11px; }
.how-tip { position: absolute; right: 0; top: 46px; width: 300px; background: #fff; color: #111; border-radius: 12px; padding: 16px 18px 12px; box-shadow: 0 20px 40px rgba(0,0,0,.35); font-size: 13.5px; line-height: 1.45; }
.how-tip ol { margin: 0; padding-left: 18px; }
.how-tip li { margin-bottom: 6px; }
kbd { font-family: var(--font-mono); background: #eee; border-radius: 4px; padding: 0 5px; border-bottom: 2px solid #ccc; }

/* ================= intro ================= */
.intro { background: radial-gradient(circle at 50% 40%, rgba(31,79,216,.92), rgba(12,28,90,.97)); color: #fff; }
.intro-card { max-width: 440px; padding: 24px; }
.intro-jp { font-family: var(--font-display); font-size: 92px; color: var(--red); text-shadow: 5px 5px 0 var(--yellow); line-height: 1; }
.intro-logo { font-family: var(--font-display); font-size: 74px; line-height: .85; margin-top: 12px; }
.intro p { font-size: 16px; line-height: 1.5; opacity: .85; margin: 18px 0 22px; }
.intro-go { border: 3px solid #111; background: var(--yellow); color: #111; font-family: var(--font-display); font-size: 20px; padding: 14px 28px; border-radius: 999px; box-shadow: 0 6px 0 #111; transition: transform .2s; }
.intro-go:hover:not(:disabled) { transform: translateY(-3px); }
.intro-go:disabled { opacity: .5; }
.intro-card > * { animation: intro-in .8s cubic-bezier(.3,.7,.3,1.2) both; }
.intro-card > *:nth-child(2) { animation-delay: .08s; } .intro-card > *:nth-child(3) { animation-delay: .16s; } .intro-card > *:nth-child(4) { animation-delay: .24s; }
@keyframes intro-in { from { transform: translateY(24px); opacity: 0; } }

/* ================= portrait (phones) ================= */
html.is-portrait .susan-wrap { left: -190px; top: 900px; }
html.is-portrait .tray-wrap { left: 30px; top: 170px; transform: scale(.927); transform-origin: 0 0; }
html.is-portrait .receipt { left: 190px; top: 1250px; width: 440px; transform: rotate(-1deg); }
html.is-portrait .stepcard { left: 40px; top: 760px; width: 740px; transform: rotate(-1deg); padding: 18px 22px 16px; }
html.is-portrait .sc-title { font-size: 44px; }
html.is-portrait .sc-btn { font-size: 15px; padding: 9px 16px; }
html.is-portrait .status { left: 30px; width: 760px; top: 118px; }
html.is-portrait .topbar { left: 30px; right: 30px; top: 22px; flex-wrap: wrap; }
html.is-portrait .brand-sub { display: none; }
html.is-portrait .how { display: none; }
html.is-portrait .spot.is-live .bowl { transform: scale(1.1); }

.receipt .rc-brand{font-size:34px}.receipt .rc-brand{overflow-wrap:anywhere}.intro-jp{font-size:34px!important;letter-spacing:.12em;text-shadow:3px 3px 0 var(--yellow)!important}.brand-en{font-size:30px}

/* ---- móvil: objetivos táctiles (el escenario se escala ~0.48) ---- */
html.is-portrait .sc-nav { gap: 16px; }
html.is-portrait .sc-btn { font-size: 28px; padding: 0 34px; min-height: 96px; }
html.is-portrait #prevBtn, html.is-portrait #nextBtn { min-width: 96px; padding: 0 20px; font-size: 34px; }
html.is-portrait .sc-count { font-size: 26px; }
html.is-portrait .sc-hint { font-size: 28px; }
html.is-portrait .sc-dots { gap: 14px; margin: 18px 0 16px; }
html.is-portrait .sc-dots button { width: 60px; height: 20px; position: relative; }
html.is-portrait .sc-dots button.is-now { width: 90px; }
html.is-portrait .sc-dots button::after { content: ""; position: absolute; inset: -38px -8px; }
html.is-portrait .stepcard { top: 740px; }
html.is-portrait .receipt { zoom: 1.3; left: 95px; top: 1090px; width: 440px; }
html.is-portrait .rc-cta { font-size: 15px; padding: 18px 10px; }
html.is-portrait .kc-sound { font-size: 26px; padding: 22px 30px 22px 24px; }
html.is-portrait .kc-sound .kc-eq { height: 26px; }
html.is-portrait .brand-en { font-size: 46px; }
html.is-portrait .brand-jp { font-size: 20px; }
html.is-portrait .top-actions { gap: 14px; }
html.is-portrait .wa-top { display: inline-flex !important; font-size: 26px; padding: 22px 30px; }
html.is-portrait .status { top: 150px; }
html.is-portrait .kc-pill { font-size: 26px; }
.kc-x { width: 44px !important; height: 44px !important; }
@media (max-width: 520px) {
  .intro-jp { font-size: 20px !important; letter-spacing: .08em; }
  .intro-logo { font-size: 56px; }
  .intro-card { padding-left: 18px; padding-right: 18px; }
  .intro-go { min-height: 52px; }
  .kc-seg, .kc-place, .kc-field input, .kc-field select { min-height: 48px; }
}
html.is-portrait .tray-wrap { top: 270px; }
html.is-portrait .status { top: 205px; }
html.is-portrait .stepcard { top: 860px; }
html.is-portrait .susan-wrap { top: 1200px; }
html.is-portrait .receipt { top: 1230px; }
html.is-portrait .top-actions { margin-top: 14px; }
html.is-portrait .kc-sound, html.is-portrait .wa-top { padding-top: 26px; padding-bottom: 26px; }
html.is-portrait .rc-cta { padding: 24px 10px; }

.intro-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5;z-index:0;pointer-events:none}
.intro-card{position:relative;z-index:1}
