/* DOBOX ASIA · V143 · Lived experience grammar
   Same foundation as the rest of L'Été Bleu: ink blue, ivory paper, seal red,
   editorial serif, scene first / UI second. No large generic card dominating the world. */

.d4-stage-sato-live,
.d4-stage-yuki-live,
.d4-stage-threshold-live,
.d4-stage-kitchen-live{padding:0!important;align-items:stretch;justify-content:stretch}

/* ---------- Mme Sato: video is the scene, never a screenshot-card ---------- */
.d4-sato-video{position:absolute;inset:0;z-index:2;width:100%;height:100%;object-fit:contain;background:transparent;pointer-events:none}
.d4-stage-sato-live:before{content:"";position:absolute;inset:0;z-index:1;background:url('../assets/day1/sato-genkan-etalon.webp') center/cover no-repeat;filter:saturate(.88) brightness(.80)}
.d4-sato-vignette{position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(180deg,rgba(4,19,25,.12) 0 48%,rgba(3,20,26,.66) 100%)}
.d4-live-dialogue{position:absolute;z-index:12;left:clamp(22px,5vw,78px);bottom:clamp(28px,5vh,58px);width:min(520px,44vw);padding:0 0 0 17px;border-left:3px solid #d67c69;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.72);cursor:pointer}
.d4-live-dialogue small,.d4-scene-kicker{display:block;margin-bottom:6px;color:#efad9a;font:800 11px/1.1 Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase}
.d4-live-dialogue p{margin:5px 0;font:500 clamp(19px,2vw,30px)/1.28 Georgia,"Times New Roman",serif;max-width:31ch}
.d4-live-dialogue p.speaker{font:800 11px/1 Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#f4efdf}
.d4-live-dialogue p.d4-observation,.d4-ambient-line{font:500 15px/1.48 Arial,sans-serif;color:rgba(255,255,255,.88);text-shadow:0 2px 8px rgba(0,0,0,.55)}
.d4-tap-cue{display:inline-block;margin-top:8px;padding:7px 11px;border-radius:999px;background:rgba(4,28,35,.65);border:1px solid rgba(255,255,255,.25);font:700 11px/1 Arial,sans-serif;letter-spacing:.04em}

/* ---------- Market: scenery first; information is a compact glance ---------- */
.d4-stage-market{padding:0!important}
.d4-market-glance{position:absolute;z-index:12;left:clamp(18px,4vw,60px);bottom:clamp(22px,4vh,44px);width:min(430px,38vw);max-height:32svh;overflow:auto;padding:12px 14px 13px;border-left:2px solid #d67c69;border-radius:0 15px 15px 0;background:linear-gradient(90deg,rgba(4,28,35,.88),rgba(4,28,35,.62));backdrop-filter:blur(7px);box-shadow:0 14px 38px rgba(0,0,0,.20)}
.d4-market-glance-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.d4-market-glance-head small{color:#efad9a;font-size:10px;font-weight:850;letter-spacing:.16em}
.d4-market-glance-head button{width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-size:20px;cursor:pointer}
.d4-market-glance p{margin:7px 0;font-size:13.5px;line-height:1.4;color:rgba(255,255,255,.90)}
.d4-market-progress{display:inline-flex;margin-top:5px;padding:5px 8px;border-radius:999px;background:rgba(244,239,223,.12);font-size:10px;color:#f4efdf}
.d4-fruit-scroll{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-inline:contain;padding:3px 1px 6px;scrollbar-width:none}.d4-fruit-scroll::-webkit-scrollbar{display:none}
.d4-fruit-scroll>div{flex:0 0 auto;min-width:138px;padding:7px 9px;border:1px solid rgba(255,255,255,.14);border-radius:11px;background:rgba(255,255,255,.06)}
.d4-fruit-scroll>div.featured{border-color:rgba(239,170,152,.68)}
.d4-fruit-scroll b,.d4-fruit-scroll span,.d4-fruit-scroll small{display:block;writing-mode:horizontal-tb!important;word-break:normal!important;overflow-wrap:normal!important;white-space:normal}
.d4-fruit-scroll b{font-size:19px}.d4-fruit-scroll span{font-size:11px;font-weight:800}.d4-fruit-scroll small{font-size:9px;color:rgba(255,255,255,.65)}
.d4-vendor-glance{right:clamp(18px,4vw,60px);left:auto;width:min(410px,37vw)}
.d4-peach-object{display:flex;align-items:center;gap:10px;margin-top:8px;padding:7px;border-radius:12px;background:rgba(255,255,255,.06);cursor:pointer}.d4-peach-object img{width:74px;height:58px;object-fit:cover;border-radius:9px}.d4-peach-object span{display:grid}.d4-peach-object b{font-size:24px}.d4-peach-object small{font-size:11px;color:rgba(255,255,255,.7)}
.d4-gift-drawer-compact{width:min(390px,35vw)!important;max-height:39svh!important;padding:13px!important}
.d4-gift-drawer-compact .d4-gifts{grid-template-columns:1fr!important}.d4-gift-drawer-compact .d4-gifts button{min-height:92px!important;display:grid!important;grid-template-columns:74px 1fr auto!important;align-items:center!important;padding:6px!important}.d4-gift-drawer-compact .d4-gifts img{width:68px!important;height:68px!important;border-radius:9px!important}.d4-gift-drawer-compact .d4-gifts strong{margin:0 7px!important;white-space:nowrap}

/* ---------- Yuki: full source video, no duplicated cutout ---------- */
.d4-stage-yuki-live{display:flex!important;align-items:flex-end!important;justify-content:center!important;padding:122px 4vw 26px!important;gap:24px!important}
.d4-yuki-video-full{position:relative!important;z-index:7!important;width:min(420px,36vw)!important;height:min(72svh,710px)!important;aspect-ratio:478/850!important;border-radius:22px!important;overflow:hidden!important;background:#071b22!important;box-shadow:0 26px 70px rgba(0,0,0,.35)!important;flex:0 0 auto}
.d4-yuki-video-full video{width:100%!important;height:100%!important;object-fit:contain!important;background:#071b22}
.d4-yuki-response{position:relative!important;left:auto!important;bottom:auto!important;width:min(430px,38vw)!important;margin-bottom:3vh!important;cursor:default!important}
.d4-phrase-natural,.d4-next-quiet{display:inline-flex;align-items:center;gap:10px;margin-top:10px;padding:10px 13px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(4,29,36,.74);color:#fff;font:inherit;cursor:pointer;backdrop-filter:blur(6px)}
.d4-phrase-natural b{font-size:18px}.d4-phrase-natural span{font-size:11px;color:#efb09d}
.d4-next-quiet{background:#f4efdf;color:#0a2b34;font-weight:800}

/* ---------- Threshold / hospitality: gesture, not quiz cards ---------- */
.d4-threshold-layer{position:absolute;z-index:9;inset:128px clamp(18px,5vw,74px) clamp(22px,5vh,54px);display:flex;flex-direction:column;justify-content:flex-end;pointer-events:none}
.d4-threshold-layer>*{pointer-events:auto}
.d4-threshold-layer>.d4-ambient-line{width:min(450px,42vw);margin:0 0 11px;padding-left:14px;border-left:2px solid #d67c69}
.d4-drag-object{touch-action:none;user-select:none;cursor:grab;transform:translate(var(--drag-x,0),var(--drag-y,0));transition:transform .16s ease,filter .16s ease;outline:none;z-index:12}.d4-drag-object.dragging{cursor:grabbing;transition:none;filter:drop-shadow(0 18px 20px rgba(0,0,0,.34));z-index:30}
.d4-umbrella-gesture{position:relative;width:min(560px,54vw);height:240px;margin-top:6px}
.d4-umbrella-object{position:absolute;left:2%;bottom:0;width:135px;text-align:center}.d4-umbrella-object img{display:block;width:70px;height:150px;object-fit:contain;margin:auto}.d4-umbrella-object span{display:block;font-size:10px;color:#f4efdf}
.d4-umbrella-stand-target{position:absolute;right:5%;bottom:10px;width:150px;height:175px;border:1px dashed rgba(244,239,223,.46);border-radius:18px;background:rgba(4,29,36,.35);display:grid;place-items:center;text-align:center}.d4-umbrella-stand-target span{font-size:48px}.d4-umbrella-stand-target small{font-size:10px;color:#f4efdf}
.d4-genkan-live{position:relative;width:min(660px,62vw);height:260px;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.18);box-shadow:0 16px 38px rgba(0,0,0,.2)}
.d4-genkan-lower,.d4-genkan-upper{position:absolute;inset:0 50% 0 0;display:flex;align-items:flex-end;padding:12px;background:linear-gradient(180deg,#777a74,#555952);color:#fff}.d4-genkan-upper{inset:0 0 0 50%;background:linear-gradient(180deg,#b98150,#71472b)}.d4-genkan-live small{font-size:9px;letter-spacing:.08em;text-transform:uppercase}
.d4-shoes-object{position:absolute;z-index:12;left:18%;top:37%;width:126px}.d4-shoes-object img{width:100%;height:auto;object-fit:contain}.d4-shoes-facing-door{position:absolute;right:12%;bottom:18%;width:130px;height:110px;border:1px dashed rgba(255,255,255,.48);border-radius:14px;background:rgba(4,29,36,.36);display:grid;place-items:center;text-align:center}.d4-shoes-facing-door span{font-size:30px}.d4-shoes-facing-door small{font-size:9px}
.d4-gift-gesture{position:relative;width:min(590px,56vw);height:220px}.d4-gift-object{position:absolute;left:4%;bottom:12px;width:155px;padding:8px;border-radius:14px;background:rgba(4,29,36,.38);text-align:center}.d4-gift-object img{display:block;width:120px;height:78px;object-fit:cover;border-radius:9px;margin:auto}.d4-gift-object span{display:block;margin-top:5px;font-size:10px}.d4-host-hands-target{position:absolute;right:4%;bottom:12px;width:190px;height:145px;border:1px dashed rgba(244,239,223,.5);border-radius:50% 50% 22px 22px;background:rgba(4,29,36,.34);display:grid;place-items:center;text-align:center}.d4-host-hands-target span{font-size:30px;letter-spacing:.12em}.d4-host-hands-target small{font-size:10px;max-width:14ch}
.d4-phrase-after-gesture{display:flex;flex-direction:column;gap:3px;width:fit-content;margin:7px 0 10px;padding:9px 12px;border-radius:13px;background:rgba(4,29,36,.68);border:1px solid rgba(255,255,255,.18)}.d4-phrase-after-gesture b{font-size:20px}.d4-phrase-after-gesture span{font-size:10px;color:#efb09d}

/* ---------- Kitchen: one continuous worktop, all cooking steps tactile ---------- */
.d4-stage-kitchen-live{background:transparent!important}
.d4-kitchen-intro-live{position:absolute;z-index:10;left:clamp(20px,5vw,72px);bottom:clamp(24px,5vh,52px);width:min(470px,41vw);padding-left:15px;border-left:3px solid #d67c69;text-shadow:0 2px 10px rgba(0,0,0,.64)}
.d4-kitchen-intro-live>small{color:#efad9a;font-size:10px;font-weight:850;letter-spacing:.17em}.d4-kitchen-intro-live>p{margin:8px 0;font:500 clamp(17px,1.7vw,24px)/1.4 Georgia,"Times New Roman",serif;color:#fff}.d4-ingredient-words{display:flex;flex-wrap:wrap;gap:5px}.d4-ingredient-words span{display:flex;gap:5px;align-items:center;padding:5px 8px;border-radius:999px;background:rgba(4,29,36,.55);font-size:10px}.d4-ingredient-words b{color:#efb09d}.d4-enter-worktop{display:inline-flex;margin-top:10px;padding:8px 11px;border-radius:999px;background:#f4efdf;color:#0a2b34;font-size:11px;font-weight:850;cursor:pointer}
.d4-kitchen-live-work{position:absolute;z-index:8;inset:126px 3vw 3vh;pointer-events:none}.d4-kitchen-live-work>*{pointer-events:auto}
.d4-kitchen-step-note{position:absolute;z-index:24;left:0;bottom:0;width:min(360px,32vw);padding:10px 12px;border-left:2px solid #d67c69;background:linear-gradient(90deg,rgba(4,28,35,.84),rgba(4,28,35,.44));backdrop-filter:blur(6px)}.d4-kitchen-step-note small,.d4-kitchen-step-note b,.d4-kitchen-step-note span{display:block}.d4-kitchen-step-note small{color:#efad9a;font-size:9px;font-weight:850;letter-spacing:.14em}.d4-kitchen-step-note b{margin-top:3px;font:500 22px/1.1 Georgia,"Times New Roman",serif}.d4-kitchen-step-note span{margin-top:4px;font-size:11px;line-height:1.35;color:rgba(255,255,255,.78)}
.d4-kitchen-counter{position:absolute;right:1%;bottom:0;width:min(760px,66vw);height:min(520px,62vh);border-radius:28px 28px 0 0;background:radial-gradient(ellipse at 50% 85%,rgba(104,67,39,.25),transparent 68%);overflow:visible}
.d4-kitchen-counter img{pointer-events:none}
.d4-board-base{position:absolute;width:46%;left:29%;bottom:14%;filter:drop-shadow(0 16px 16px rgba(0,0,0,.22))}.d4-cucumber-on-board{position:absolute;width:28%;left:37%;bottom:27%;transform:rotate(-8deg)}.d4-slices-progress{position:absolute;width:26%;left:42%;bottom:25%;opacity:.96}.d4-slices-progress.slices-1{clip-path:inset(0 66% 0 0)}.d4-slices-progress.slices-2{clip-path:inset(0 33% 0 0)}
.d4-knife-object{position:absolute;width:22%;left:15%;bottom:33%}.d4-knife-object img{width:100%}.d4-slice-meter{position:absolute;right:18%;bottom:29%;padding:6px 9px;border-radius:999px;background:rgba(4,29,36,.64);font-size:10px}
.d4-drop-main{position:absolute;left:37%;bottom:20%;width:33%;aspect-ratio:1;border:1px dashed rgba(244,239,223,.38);border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.025)}.d4-drop-main img{width:88%;height:88%;object-fit:contain}.d4-salt-object{position:absolute;width:20%;left:10%;bottom:20%}.d4-salt-object img,.d4-vinegar-object img,.d4-sugar-object img,.d4-spoon-object img,.d4-pour-object img,.d4-spoon-main img,.d4-sesame-object img{width:100%}
.d4-hold-object{position:absolute;left:34%;bottom:17%;width:36%;text-align:center;touch-action:none;cursor:pointer}.d4-hold-object img{width:100%;filter:drop-shadow(0 14px 18px rgba(0,0,0,.22))}.d4-hold-object span{display:inline-block;margin-top:-4px;padding:5px 8px;border-radius:999px;background:rgba(4,29,36,.62);font-size:9px}.d4-hold-object.holding img{transform:scale(.97);filter:saturate(.92) brightness(.92)}
.d4-drop-dressing{position:absolute;left:43%;bottom:25%;width:24%;aspect-ratio:1;border:1px dashed rgba(244,239,223,.42);border-radius:50%;display:grid;place-items:center}.d4-drop-dressing img{width:82%}.d4-vinegar-object{position:absolute;width:14%;left:12%;bottom:22%}.d4-sugar-object{position:absolute;width:17%;right:12%;bottom:20%}.d4-spoon-object{position:absolute;width:20%;left:46%;bottom:32%}
.d4-pour-object{position:absolute;width:24%;left:11%;bottom:18%}.d4-spoon-main{position:absolute;width:21%;left:47%;bottom:31%}.d4-sesame-object{position:absolute;width:18%;left:12%;bottom:20%}.d4-final-target img{width:95%}
.d4-dish-finished{position:absolute;left:34%;bottom:15%;width:40%;text-align:center}.d4-dish-finished>img{width:100%;filter:drop-shadow(0 16px 20px rgba(0,0,0,.25))}.d4-dish-finished .d4-next-quiet{margin-top:-2px}

/* Legacy meta/designer commentary never appears as visual teaching UI in V143. */
.d4-stage-kitchen-live .d4-copy,.d4-stage-threshold-live .d4-copy{display:none!important}

@media(max-width:760px){
  .d4-sato-video{object-fit:cover;object-position:center center}.d4-stage-sato-live:before{background-position:center}
  .d4-live-dialogue{left:18px;right:18px;bottom:max(18px,env(safe-area-inset-bottom));width:auto;padding-left:13px}.d4-live-dialogue p{font-size:21px;max-width:28ch}.d4-live-dialogue p.d4-observation{font-size:13px}
  .d4-market-glance,.d4-vendor-glance{left:12px!important;right:12px!important;bottom:max(10px,env(safe-area-inset-bottom))!important;width:auto!important;max-height:29svh!important;padding:10px 11px!important}.d4-market-glance p{font-size:12px}.d4-fruit-scroll>div{min-width:122px}.d4-gift-drawer-compact{left:12px!important;right:12px!important;width:auto!important;max-height:33svh!important}.d4-gift-drawer-compact .d4-gifts button{min-height:76px!important;grid-template-columns:58px 1fr auto!important}.d4-gift-drawer-compact .d4-gifts img{width:52px!important;height:52px!important}
  .d4-stage-yuki-live{padding:124px 12px max(14px,env(safe-area-inset-bottom))!important;flex-direction:column!important;justify-content:flex-start!important;overflow-y:auto!important;gap:10px!important}.d4-yuki-video-full{width:min(92vw,390px)!important;height:auto!important;max-height:none!important;margin:0 auto!important;aspect-ratio:478/850!important}.d4-yuki-response{width:auto!important;margin:0 5px 20px!important;padding-left:12px!important}.d4-yuki-response p.d4-observation{font-size:12.5px!important}
  .d4-threshold-layer{inset:126px 14px max(14px,env(safe-area-inset-bottom))}.d4-threshold-layer>.d4-ambient-line{width:auto;font-size:12.5px}.d4-umbrella-gesture,.d4-genkan-live,.d4-gift-gesture{width:100%;height:230px}.d4-umbrella-object{width:105px}.d4-umbrella-object img{height:130px;width:62px}.d4-umbrella-stand-target{width:128px;height:150px}.d4-shoes-object{width:95px;left:14%;top:42%}.d4-shoes-facing-door{width:110px;height:96px;right:8%}.d4-gift-object{width:125px}.d4-gift-object img{width:96px;height:64px}.d4-host-hands-target{width:145px;height:120px}
  .d4-kitchen-intro-live{left:16px;right:16px;bottom:max(18px,env(safe-area-inset-bottom));width:auto}.d4-kitchen-intro-live>p{font-size:18px}.d4-kitchen-live-work{inset:124px 10px max(10px,env(safe-area-inset-bottom))}.d4-kitchen-step-note{left:0;right:0;bottom:0;width:auto;padding:8px 10px}.d4-kitchen-step-note b{font-size:18px}.d4-kitchen-step-note span{font-size:10.5px}.d4-kitchen-counter{left:0;right:0;bottom:78px;width:100%;height:min(53vh,430px)}
  .d4-board-base{width:58%;left:21%;bottom:13%}.d4-cucumber-on-board{width:34%;left:34%;bottom:27%}.d4-slices-progress{width:32%;left:37%;bottom:25%}.d4-knife-object{width:29%;left:6%;bottom:34%}.d4-slice-meter{right:7%;bottom:30%}.d4-drop-main{left:31%;width:41%;bottom:19%}.d4-salt-object{width:25%;left:3%;bottom:20%}.d4-hold-object{left:27%;width:48%;bottom:17%}.d4-drop-dressing{left:38%;width:30%;bottom:24%}.d4-vinegar-object{width:18%;left:4%;bottom:20%}.d4-sugar-object{width:21%;right:3%;bottom:18%}.d4-spoon-object{width:25%;left:43%;bottom:32%}.d4-pour-object{width:29%;left:3%;bottom:17%}.d4-spoon-main{width:25%;left:44%;bottom:31%}.d4-sesame-object{width:23%;left:4%;bottom:18%}.d4-dish-finished{left:26%;width:50%;bottom:14%}
}

@media(max-width:390px){
  .d4-market-glance{max-height:27svh!important}.d4-fruit-scroll>div{min-width:112px;padding:6px 7px}.d4-fruit-scroll span{font-size:10px}.d4-live-dialogue p{font-size:19px}.d4-kitchen-counter{height:min(49vh,390px);bottom:84px}.d4-threshold-layer{top:122px}
}

@media(prefers-reduced-motion:reduce){.d4-drag-object{transition:none}.d4-sato-video{animation:none}}

/* ---------- V143b · scene-first exterior continuity ---------- */
.d4-stage-opening-live,.d4-stage-rain-live,.d4-stage-walk-live,.d4-stage-houses-live,.d4-stage-table-live,.d4-stage-departure-live,.d4-stage-konbini-live{padding:0!important;align-items:stretch!important;justify-content:stretch!important}
.d4-opening-caption,.d4-rain-caption,.d4-walk-caption,.d4-house-caption,.d4-table-caption,.d4-departure-caption{cursor:default;width:min(440px,38vw)}
.d4-opening-caption .d4-next-quiet,.d4-rain-caption .d4-next-quiet,.d4-walk-caption .d4-next-quiet,.d4-house-caption .d4-next-quiet,.d4-table-caption .d4-next-quiet,.d4-departure-caption .d4-next-quiet{font:800 12px/1 Arial,sans-serif}
.d4-stage-opening-live .d4-shoji-interaction{z-index:9}.d4-stage-opening-live .d4-opening-caption{z-index:12}

/* The konbini is a product shelf / tray, not a prose card. */
.d4-konbini-drawer{position:absolute;z-index:12;right:clamp(18px,4vw,62px);bottom:clamp(20px,4vh,46px);width:min(610px,49vw);max-height:48svh;overflow:auto;padding:12px 13px 14px;border-left:2px solid #d67c69;border-radius:0 16px 16px 0;background:linear-gradient(90deg,rgba(4,28,35,.90),rgba(4,28,35,.66));backdrop-filter:blur(8px);box-shadow:0 18px 46px rgba(0,0,0,.22)}
.d4-konbini-drawer>.d4-ambient-line{margin:5px 0 9px;font-size:13px}.d4-konbini-drawer .d4-breakfast-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:7px 0}.d4-konbini-drawer .d4-breakfast-grid button{min-height:118px;padding:7px}.d4-konbini-drawer .d4-breakfast-grid img{height:55px}.d4-konbini-drawer .d4-drink-row{gap:6px}.d4-konbini-drawer .d4-drink-row button{min-height:58px}.d4-pay-quiet{float:right}

/* Houses: comparison stays in the street; copy never masks the facade. */
.d4-house-caption{bottom:clamp(18px,3.2vh,38px);width:min(410px,34vw)}
.d4-house-caption p{font-size:clamp(15px,1.45vw,20px);max-width:34ch}.d4-house-caption p.d4-observation{font-size:12px}
.d4-stage-houses-live .d4-house-spots{z-index:9}.d4-stage-houses-live .d4-house-spots button{background:rgba(4,29,36,.64);backdrop-filter:blur(5px)}

/* Table / departure continue the visit instead of switching back to lesson cards. */
.d4-stage-table-live .d4-bowl{z-index:5}.d4-table-caption{left:auto;right:clamp(18px,5vw,72px);width:min(450px,39vw)}
.d4-table-caption .d4-topic-row.compact{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.d4-table-caption .d4-topic-row.compact button{min-height:38px;padding:7px 10px;border-radius:999px;font-size:11px}
.d4-departure-caption{width:min(470px,40vw)}

/* Keep all tactile objects visually inside the same material language. */
.d4-drag-object:focus-visible,.d4-house-mobile-pick:focus-visible,.d4-phrase-natural:focus-visible,.d4-next-quiet:focus-visible{outline:3px solid rgba(244,239,223,.92);outline-offset:3px}
.d4-kitchen-live-work .d4-drag-object{will-change:transform}

@media(max-width:760px){
  .d4-opening-caption,.d4-rain-caption,.d4-walk-caption,.d4-house-caption,.d4-table-caption,.d4-departure-caption{left:15px;right:15px;bottom:max(14px,env(safe-area-inset-bottom));width:auto;max-height:29svh;overflow:auto;padding:0 2px 0 12px}
  .d4-opening-caption p,.d4-rain-caption p,.d4-walk-caption p,.d4-house-caption p,.d4-table-caption p,.d4-departure-caption p{font-size:17px;line-height:1.32;max-width:none}.d4-live-dialogue p.d4-observation{font-size:12px}
  .d4-konbini-drawer{left:12px;right:12px;bottom:max(10px,env(safe-area-inset-bottom));width:auto;max-height:38svh;padding:10px 10px 11px}.d4-konbini-drawer .d4-breakfast-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.d4-konbini-drawer .d4-breakfast-grid button{min-height:104px}.d4-konbini-drawer .d4-breakfast-grid img{height:45px}.d4-konbini-drawer .d4-drink-row{grid-template-columns:1fr 1fr!important}.d4-pay-quiet{float:none;width:100%;justify-content:center}
  .d4-stage-houses-live .d4-house-panorama{z-index:4}.d4-stage-houses-live .d4-house-caption{z-index:9;max-height:25svh}.d4-stage-houses-live .d4-house-mobile-pick{top:51%;font-size:11px;min-height:40px}
  .d4-stage-table-live{overflow:hidden!important}.d4-stage-table-live .d4-bowl{position:absolute!important;left:50%!important;top:18%!important;bottom:auto!important;transform:translateX(-50%);width:min(72vw,290px)!important;max-height:38svh!important;margin:0!important}.d4-table-caption{max-height:34svh}
}

@media(max-width:390px){
  .d4-opening-caption,.d4-rain-caption,.d4-walk-caption,.d4-house-caption,.d4-table-caption,.d4-departure-caption{max-height:27svh}.d4-opening-caption p,.d4-rain-caption p,.d4-walk-caption p,.d4-house-caption p,.d4-table-caption p,.d4-departure-caption p{font-size:15.5px}
  .d4-konbini-drawer{max-height:36svh}.d4-konbini-drawer .d4-breakfast-grid button{min-height:96px}
}

/* Yuki greeting is a cinematic scene, not a vertical card pasted over another art style. */
.d4-yuki>.d4-world-img{opacity:0!important}
.d4-stage-yuki-live{display:block!important;padding:0!important;overflow:hidden!important;background:#061820!important}
.d4-stage-yuki-live>.d4-rain{display:none!important}
.d4-yuki-video-full{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;border-radius:0!important;margin:0!important;background:#061820!important;box-shadow:none!important;overflow:hidden!important}
.d4-yuki-video-full:before{content:"";position:absolute;z-index:0;inset:-5%;background:#061820;filter:blur(26px) brightness(.38) saturate(.86);transform:scale(1.08)}
.d4-yuki-video-full video{position:absolute!important;z-index:2!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;background:transparent!important}
.d4-yuki-video-full .d4-doorbell-zone,.d4-yuki-video-full .d4-replay-video,.d4-yuki-video-full .d4-transcript-button,.d4-yuki-video-full .d4-transcript{z-index:5!important}
.d4-yuki-response{position:absolute!important;z-index:9!important;left:clamp(18px,5vw,72px)!important;right:auto!important;bottom:clamp(20px,4vh,42px)!important;width:min(440px,38vw)!important;margin:0!important;padding-left:14px!important;background:linear-gradient(90deg,rgba(4,29,36,.72),rgba(4,29,36,0));text-shadow:0 2px 10px rgba(0,0,0,.72)}
@media(max-width:760px){
 .d4-stage-yuki-live{padding:0!important;overflow:hidden!important;display:block!important}.d4-yuki-video-full{width:100%!important;height:100%!important;aspect-ratio:auto!important}.d4-yuki-response{left:15px!important;right:15px!important;bottom:max(14px,env(safe-area-inset-bottom))!important;width:auto!important;max-height:30svh;overflow:auto;margin:0!important}.d4-yuki-video-full video{object-fit:contain!important}
}

/* Genkan uses the room itself as the teaching surface; no mini diagram/card. */
.d4-stage-threshold-live>.d4-rain{display:none!important}
.d4-stage-threshold-live .d4-world-img{object-position:center bottom!important;filter:saturate(.88) brightness(.88)}
.d4-genkan-diegetic{width:min(620px,60vw);height:220px;border:0!important;border-radius:0!important;overflow:visible!important;box-shadow:none!important;background:transparent!important}
.d4-genkan-diegetic .d4-shoes-object{left:18%;top:auto;bottom:10px;width:118px;padding:6px;border-radius:14px;background:rgba(4,29,36,.30);backdrop-filter:blur(4px)}
.d4-genkan-diegetic .d4-shoes-facing-door{right:18%;bottom:12px;width:118px;height:92px;border:1px dashed rgba(244,239,223,.42);background:rgba(4,29,36,.22)}
.d4-genkan-diegetic .d4-shoes-facing-door span{font-size:24px}.d4-genkan-diegetic .d4-shoes-facing-door small{font-size:9px;letter-spacing:.06em;text-transform:uppercase}
.d4-host-hands-target{border-color:rgba(244,239,223,.36);background:rgba(4,29,36,.22)}
@media(max-width:760px){
 .d4-stage-threshold-live .d4-world-img{object-position:center bottom!important}.d4-genkan-diegetic{width:100%;height:210px}.d4-genkan-diegetic .d4-shoes-object{left:9%;width:92px}.d4-genkan-diegetic .d4-shoes-facing-door{right:9%;width:105px;height:84px}
}


/* ---------- V145 · natural scene pass: no visible tutorial/checklist language ---------- */
.d4-cue-icon{font:800 18px/1 Arial,sans-serif!important;letter-spacing:0!important;min-width:30px;text-align:center}
.d4-object-cue{display:none!important}
.d4-kitchen-step-note.d4-kitchen-scene-cue{
  width:min(340px,30vw);padding:0 0 0 13px;border-left:2px solid rgba(214,124,105,.82);
  background:none;backdrop-filter:none;box-shadow:none;text-shadow:0 2px 10px rgba(0,0,0,.72);
}
.d4-kitchen-step-note.d4-kitchen-scene-cue span{margin:0;font:500 14px/1.48 Georgia,"Times New Roman",serif;color:rgba(255,255,255,.94)}
.d4-drop-main,.d4-drop-dressing{border-style:solid;border-color:rgba(244,239,223,.14);background:rgba(255,255,255,.015);box-shadow:inset 0 0 34px rgba(244,239,223,.025)}
.d4-umbrella-stand-target,.d4-shoes-facing-door,.d4-host-hands-target{border-style:solid;border-color:rgba(244,239,223,.16);background:rgba(4,29,36,.18)}
.d4-hold-pulse{width:24px;height:24px;border:1px solid rgba(244,239,223,.58);border-radius:50%;background:transparent!important;color:transparent!important;animation:d4HoldPulse 1.45s ease-in-out infinite}
@keyframes d4HoldPulse{0%,100%{transform:scale(.82);opacity:.42}50%{transform:scale(1.08);opacity:.9}}
.d4-market-progress{display:none!important}
@media(max-width:760px){
  .d4-kitchen-step-note.d4-kitchen-scene-cue{left:8px;right:8px;bottom:4px;width:auto;padding-left:10px;background:none!important}
  .d4-kitchen-step-note.d4-kitchen-scene-cue span{font-size:12.5px;line-height:1.38}
  .d4-kitchen-counter{bottom:58px}
}
@media(prefers-reduced-motion:reduce){.d4-hold-pulse{animation:none}}
