.adventure-main{max-width:1180px;margin:auto;padding:24px 40px 64px}.adventure-main .breadcrumb{margin-bottom:22px}.cafe-visit-header{display:flex;justify-content:space-between;align-items:center;gap:20px}.cafe-visit-header h1{font-size:clamp(1.8rem,4vw,2.7rem);line-height:1.15;letter-spacing:-.04em;margin:8px 0 18px}.cafe-visit-header .plain-button{max-width:210px;text-align:right}.cafe-steps{list-style:none;display:flex;padding:0;margin:0 0 24px;gap:8px;flex-wrap:wrap}.cafe-steps li{font-size:.875rem;color:#746c60;border-bottom:3px solid #dad3c6;padding:8px 18px 9px}.cafe-steps [aria-current=step]{color:#202124;font-weight:800;border-color:#b12e24}.cafe-steps .finished{border-color:#997a20;color:#5e4d1c}.cafe-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px;align-items:start}.cafe-sidebar{display:grid;gap:16px}.cafe-character{border:1px solid #d6cbbb;padding:24px;background:#fffdf8;border-top:4px solid #b12e24}.character-name h2{font-size:1.7rem;margin:7px 0}.character-mood{font-size:1rem;margin:0 0 24px;color:#655b4d}.patience-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.875rem;line-height:1.6}.patience-label strong{font-weight:600}.patience-meter{display:flex;gap:5px;margin-top:8px}.patience-meter span{height:6px;background:#e1dbd1;flex:1;border-radius:2px}.patience-meter .filled{background:#97711b}.patience-note{font-size:.875rem;line-height:1.6;color:#655b4d;margin:12px 0 0}.cafe-menu{color:#fff7e8;background:#262729;border:1px solid #262729;padding:20px}.cafe-menu summary{font-size:1.15rem;font-weight:700;cursor:pointer;line-height:1.5}.cafe-menu summary>span{display:block;font-size:.875rem;font-weight:400;color:#e9c558;margin:3px 0}.menu-note{font-size:.875rem;line-height:1.6;color:#d2cdc3}.cafe-menu-items{display:grid;gap:0}.cafe-menu-item{display:flex;justify-content:space-between;align-items:center;gap:15px;text-align:left;padding:16px 0;background:none;border:0;border-top:1px solid #585653;color:#fff7e8;min-height:76px}.cafe-menu-item>span{display:grid;gap:5px}.cafe-menu-item small{font-size:.875rem;color:#d2cdc3;font-weight:400;line-height:1.4}.cafe-menu-item strong{font-size:1rem}.cafe-menu-item>strong{color:#e9c558;white-space:nowrap}.cafe-menu-item:hover:not(:disabled){background:#363430}.cafe-menu-item:disabled{cursor:default;opacity:1}.cafe-menu-item:focus-visible{outline:2px solid #efc955;outline-offset:4px}.cafe-scene{padding:32px;background:#fffdf8;border:1px solid #d6cbbb;min-height:470px;animation:cafe-enter .22s ease}.scene-kicker{font-size:.875rem;color:#81631a;font-weight:800;letter-spacing:.06em}.cafe-scene h2{font-size:clamp(1.5rem,3vw,2rem);line-height:1.2;letter-spacing:-.03em;margin:12px 0 20px}.cafe-scene h2:focus{outline:none}.cafe-narration{line-height:1.75;color:#62594d;font-size:1rem;margin:12px 0}.adventure-dialogue{background:#f2eee5;border-left:3px solid #b12e24;padding:20px;margin:24px 0 18px}.adventure-dialogue>p{font-size:1.3rem;font-weight:700;line-height:1.5;margin:8px 0 12px}.adventure-dialogue .translation{font-size:1rem;font-weight:400;color:#62594d;margin-bottom:0}.cafe-scene .dialogue-label{font-size:.875rem;letter-spacing:.05em}.cafe-scene .speak{font-size:.875rem;min-height:42px}.cafe-scene .audio-feedback,.cafe-scene .translation-toggle{font-size:.875rem}.scene-task{font-size:1rem;line-height:1.7;margin:20px 0}.cafe-teaching{background:#f8f0d9;padding:20px;border-left:3px solid #be9533}.cafe-teaching>strong{font-size:1.2rem}.cafe-teaching p{font-size:1rem;line-height:1.7;margin:10px 0 0;color:#5f5140}.cafe-teaching.compact{padding:14px 18px}.cafe-teaching.compact p{margin:0}.adventure-options{display:grid;gap:10px}.adventure-options .option{font-size:1rem;text-align:left;min-height:48px;padding:12px 16px}.adventure-options .option:disabled{opacity:.65;cursor:default}.adventure-actions{display:flex;gap:18px;flex-wrap:wrap;align-items:center;margin:20px 0 0}.plain-button{border:0;background:none;text-decoration:underline;text-underline-offset:4px;color:#62594d;padding:10px 0;font-size:.875rem;line-height:1.6;cursor:pointer}.plain-button:disabled{opacity:.5;cursor:default}.cafe-scene .word{font-size:1rem;min-height:44px}.cafe-scene .sentence-placeholder{font-size:1rem}.cafe-scene .sentence-line{min-height:74px}.cafe-feedback{font-size:1rem;line-height:1.7;margin-top:20px;color:#8a342a}.cafe-feedback:empty{display:none}.cafe-feedback.good{color:#436331}.cafe-why{font-size:1rem;line-height:1.7;margin:20px 0;border-bottom:1px solid #dbd0bd;padding-bottom:16px}.cafe-why summary{font-weight:700;cursor:pointer}.cafe-why p{color:#62594d}.cafe-scene .your-order{font-size:1rem;padding:14px 18px}.cafe-scene .your-order>span:first-child{font-size:.875rem}.cafe-receipt{border-top:1px dashed #a49a89;border-bottom:1px dashed #a49a89;padding:20px 0;margin:24px 0}.cafe-receipt p{display:flex;justify-content:space-between;gap:20px;font-size:1.15rem}.cafe-receipt>span:last-child{font-size:1rem;color:#62594d}.cafe-recap h3{font-size:1.2rem}.cafe-recap>div{padding:16px 0;border-bottom:1px solid #e0d7c7;display:grid;gap:8px}.cafe-recap strong{font-size:1.15rem;line-height:1.5}.cafe-recap>div>span{font-size:1rem;line-height:1.7;color:#62594d}.cafe-transcript{margin-top:24px;border:1px solid #d6cbbb;padding:20px;background:#f4f0e7;font-size:1rem}.cafe-transcript summary{cursor:pointer;font-weight:700}.cafe-transcript p{display:flex;gap:15px;line-height:1.7;border-bottom:1px solid #dbd0bd;padding-bottom:10px}.cafe-transcript strong{min-width:62px}.cafe-page-note{font-size:.875rem;line-height:1.7;color:#655b4d;margin-top:24px}.demo-order-label{font-size:.875rem;color:#d4d1ca;letter-spacing:.06em;margin:0 0 9px}.fixed-demo-drink{display:flex;align-items:center;gap:16px;margin:0;padding:12px 16px;background:#efc955;color:#202124;border-radius:5px;font-size:1rem}.fixed-demo-drink span:last-child{margin-left:auto}.fixed-demo-drink span{font-size:.875rem}.demo-complete{border-left:4px solid #b12e24;padding:24px;background:#fff2c8;margin-bottom:24px}.demo-complete h2{font-size:1.5rem;margin:8px 0 12px}.demo-complete p{font-size:1rem;line-height:1.7}.demo-complete[hidden]{display:none}@keyframes cafe-enter{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.cafe-scene{animation:none}html{scroll-behavior:auto}}@media(max-width:760px){.adventure-main{padding:24px 20px 48px}.cafe-visit-header{align-items:flex-start}.cafe-visit-header .plain-button{font-size:.875rem;max-width:95px}.cafe-layout{grid-template-columns:1fr;gap:18px}.cafe-sidebar{grid-template-columns:1fr}.cafe-character{padding:18px}.character-name{display:flex;align-items:center;justify-content:space-between;gap:15px}.character-name h2{margin:0}.character-mood{margin:8px 0 14px}.cafe-scene{padding:24px 20px;min-height:0}.cafe-steps{gap:4px;margin-bottom:18px}.cafe-steps li{padding:8px 9px;font-size:.875rem}.cafe-menu{padding:18px}.cafe-menu-item{min-height:68px;padding:12px 0}.adventure-dialogue{padding:16px}.adventure-dialogue>p{font-size:1.15rem}.cafe-teaching{padding:16px}.cafe-transcript p{display:grid;gap:0}.adventure-actions{gap:14px}.adventure-actions>.button{width:100%}.fixed-demo-drink{gap:12px}} 
/* Optional food and the running order stay close to the conversation. */
.adventure-dialogue .hint-cost{font-size:.875rem;font-weight:400;line-height:1.6;color:#8a342a;margin:8px 0}.adventure-dialogue .hint-cost:empty{display:none}
.cafe-game-tools{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px 0 18px}.cafe-score{display:grid;gap:4px}.cafe-score>strong{font-size:1.25rem}.cafe-score>span{font-size:.875rem;color:#655b4d}.cafe-wildcard-control{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.wildcard-button{border:1px solid #202124;background:#202124;color:#fff2c8;padding:12px 16px;font-size:1rem;font-weight:700;min-height:46px;cursor:pointer;border-radius:4px}.wildcard-button:disabled{background:#e8e2d6;color:#655b4d;border-color:#cfc4b2;cursor:default}.wildcard-button:focus-visible,.cafe-tone-options button:focus-visible{outline:2px solid #b12e24;outline-offset:3px}.score-rules{font-size:.875rem;color:#655b4d;max-width:340px}.score-rules summary{cursor:pointer;text-decoration:underline;text-underline-offset:4px}.score-rules p{font-size:1rem;line-height:1.6}.wildcard-notice{border-left:3px solid #b12e24;background:#fff2c8;padding:10px 14px;font-size:.875rem;line-height:1.6;margin:0 0 16px}.cafe-tone-picker{border:1px solid #d6cbbb;padding:14px 16px;margin:18px 0;font-size:1rem;line-height:1.6}.cafe-tone-picker summary{cursor:pointer;font-weight:700}.cafe-tone-picker p{font-size:1rem;line-height:1.6;margin:12px 0 0;color:#62594d}.cafe-tone-picker .tone-note{font-size:.875rem}.cafe-tone-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.cafe-tone-options button{font-size:1rem;line-height:1.5;min-height:44px;padding:10px;border:1px solid #cfc4b2;background:#fffdf8;text-align:center;cursor:pointer}.cafe-tone-options [aria-pressed=true]{border-color:#997a20;background:#fff2c8;font-weight:700}.cafe-tone-options button:disabled{cursor:default}.cafe-repeat{margin-top:14px;border-top:1px solid #d6cbbb;padding-top:12px;font-size:.875rem}.cafe-repeat summary{cursor:pointer}.cafe-repeat p{font-size:1rem;line-height:1.6;color:#62594d}.cafe-repeat>div{display:grid;gap:6px;padding:12px 0}.cafe-repeat strong,.cafe-repeat span{font-size:1rem;line-height:1.6}.cafe-repeat span{color:#62594d}.cafe-repeat .plain-button{text-align:left}.food-phrases>div+div{border-top:1px solid #d6cbbb;padding-top:14px;margin-top:14px}.food-phrases .food-translation{font-size:1rem;font-weight:400;color:#62594d;margin-top:6px;line-height:1.6}.food-finish-audio{margin-top:16px}.cafe-scene .reply-button{display:grid;text-align:left;gap:5px;line-height:1.5}.reply-button small{font-size:.875rem;font-weight:400;color:inherit}.cafe-teaching .cafe-why{font-size:1rem;margin-bottom:0;padding-bottom:0;border:0}.cafe-teaching .cafe-why p{font-size:1rem;line-height:1.7}@media(max-width:760px){.cafe-game-tools{align-items:flex-start;flex-wrap:wrap}.cafe-wildcard-control{gap:12px}.cafe-tone-options{grid-template-columns:1fr 1fr}.score-rules{max-width:100%}}
.food-menu{display:grid;gap:10px}.food-choice{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:80px;padding:16px;text-align:left;border:1px solid #cfc4b2;background:#fffdf8;color:#202124;font-size:1rem}.food-choice>span{display:grid;gap:6px}.food-choice small{font-size:.875rem;line-height:1.5;color:#655b4d}.food-choice>strong{white-space:nowrap}.food-choice.selected{border:2px solid #997a20;background:#fff2c8;padding:15px}.food-choice:focus-visible{outline:2px solid #b12e24;outline-offset:3px}.food-phrases{margin:20px 0;padding:16px;background:#f8f0d9}.food-phrases p{font-size:1.1rem;font-weight:700;line-height:1.5}.adventure-options .option{display:grid;gap:6px}.adventure-options .option small{font-size:.875rem;font-weight:400;color:#655b4d;line-height:1.5}.cafe-order-slip{background:#fffdf8;border:1px solid #d6cbbb;padding:20px;font-size:1rem}.cafe-order-slip summary{font-weight:700;cursor:pointer}.order-slip-lines p{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;font-size:1rem;line-height:1.6;margin:14px 0}.order-slip-lines strong{white-space:nowrap}.order-slip-total{border-top:1px dashed #a49a89;padding-top:16px}.receipt-method{font-size:1rem!important;color:#655b4d;line-height:1.7;display:block!important}.cafe-transcript>div{padding:10px 0;border-bottom:1px solid #d6cbbb}.cafe-transcript>div p{border:0;margin:0}.cafe-transcript .audio-group{margin-top:8px}.cafe-steps li{padding-left:13px;padding-right:13px}@media(max-width:760px){.cafe-steps li{padding:8px 9px}.food-choice{padding:14px}.food-choice.selected{padding:13px}.cafe-order-slip{padding:18px}}

/* On phones, the current conversation and choices take the main stage. */
.cafe-mobile-progress,.cafe-mobile-context,.cafe-mobile-menu,.cafe-mobile-atmosphere{display:none}
.cafe-lesson-note,.cafe-last-reply{margin:0}
.cafe-lesson-note>summary,.cafe-last-reply>summary{display:none}
.cafe-scene{scroll-margin-top:14px}
@media(max-width:760px){
  .adventure-main{padding:14px 12px 40px}
  .adventure-main .breadcrumb{margin-bottom:12px;font-size:.8rem}
  .cafe-visit-header{gap:12px;align-items:center}
  .cafe-visit-header h1{font-size:1.45rem;margin:5px 0 8px}
  .cafe-visit-header .eyebrow{font-size:.65rem;letter-spacing:.1em}
  .cafe-visit-header .plain-button{font-size:.75rem;line-height:1.4;min-height:44px}
  .cafe-game-tools{padding:6px 0 12px;gap:10px;flex-wrap:nowrap;align-items:center}
  .cafe-score>strong{font-size:1rem;white-space:nowrap}
  .cafe-score>span{display:none}
  .cafe-wildcard-control{justify-content:flex-end}
  .wildcard-button{font-size:.85rem;min-height:44px;padding:10px 12px}
  .cafe-mobile-progress{display:block;position:sticky;top:0;z-index:4;background:#f6f3ec;padding:8px 0;margin:0 0 10px}
  .cafe-mobile-progress>div{display:flex;justify-content:space-between;gap:12px;font-size:.875rem}
  .cafe-mobile-progress span{color:#655b4d}
  .cafe-mobile-progress progress{display:block;width:100%;height:5px;margin-top:7px;border:0;border-radius:4px;overflow:hidden;accent-color:#b12e24;background:#e1dbd1}
  .cafe-mobile-progress progress::-webkit-progress-bar{background:#e1dbd1}
  .cafe-mobile-progress progress::-webkit-progress-value{background:#b12e24}
  .cafe-mobile-progress progress::-moz-progress-bar{background:#b12e24}
  .cafe-steps,.cafe-sidebar,.cafe-desktop-atmosphere{display:none}
  .cafe-mobile-context{display:block;margin-bottom:12px;border:1px solid #d6cbbb;background:#f2eee5}
  .cafe-mobile-context>summary{cursor:pointer;font-size:.875rem;min-height:44px;padding:10px 12px}
  .cafe-mobile-context .cafe-character,.cafe-mobile-context .cafe-order-slip{border:0;margin:0 12px 12px;padding:12px}
  .cafe-mobile-context .character-mood{margin-bottom:10px}
  .cafe-mobile-points{font-size:.8rem;line-height:1.6;margin:12px}
  .cafe-layout{display:block}
  .cafe-scene{padding:18px 14px;min-height:0;border-radius:5px;scroll-margin-top:64px}
  .cafe-scene h2{font-size:1.35rem;line-height:1.25;margin:8px 0 14px}
  .scene-kicker{font-size:.75rem}
  .cafe-mobile-atmosphere{display:block;margin:0 0 12px;font-size:.875rem}
  .cafe-mobile-atmosphere>summary{cursor:pointer;min-height:44px;padding:10px 0;color:#62594d}
  .cafe-mobile-atmosphere .cafe-narration{font-size:.875rem;line-height:1.6}
  .adventure-dialogue{padding:12px;margin:14px 0;display:grid;grid-template-columns:1fr 1fr;column-gap:8px}
  .adventure-dialogue>.dialogue-label,.adventure-dialogue>p,.adventure-dialogue>.audio-group{grid-column:1/-1}
  .adventure-dialogue>p{font-size:1.1rem;line-height:1.45}
  .cafe-scene .audio-buttons{gap:8px}
  .cafe-scene .speak{min-height:44px;padding:9px 12px}
  .adventure-dialogue>.translation-toggle{font-size:.8rem;min-height:44px;text-align:left;margin:0;line-height:1.4}
  .adventure-dialogue>.cafe-repeat{margin:0;padding:0;border:0;font-size:.8rem;line-height:1.4}
  .adventure-dialogue>.cafe-repeat>summary{min-height:44px;padding:10px 0}
  .adventure-dialogue>.cafe-repeat[open]{grid-column:1/-1}
  .adventure-dialogue>.cafe-repeat p{font-size:.875rem}
  .cafe-lesson-note{border:1px solid #e2d1a2;background:#f8f0d9;margin:12px 0;border-radius:4px}
  .cafe-lesson-note>summary{display:list-item;font-size:.875rem;font-weight:700;cursor:pointer;min-height:44px;padding:10px 12px}
  .cafe-lesson-note .cafe-teaching{border:0;padding:0 12px 12px}
  .cafe-lesson-note .cafe-teaching p{font-size:.875rem;line-height:1.6}
  .cafe-tone-picker{padding:0 12px;margin:12px 0;border-radius:4px}
  .cafe-tone-picker>summary{font-size:.875rem;min-height:44px;padding:10px 0}
  .cafe-tone-picker[open]{padding-bottom:12px}
  .cafe-tone-picker p{font-size:.875rem}
  .cafe-tone-options button{font-size:.875rem}
  .cafe-last-reply{margin:12px 0;border:1px solid #d6cbbb;border-radius:4px;font-size:.875rem}
  .cafe-last-reply>summary{display:list-item;cursor:pointer;min-height:44px;padding:10px 12px}
  .cafe-last-reply .your-order{margin:0;padding:12px}
  .scene-task{font-size:.95rem;line-height:1.55;margin:14px 0}
  .cafe-mobile-menu{display:block;background:#262729;color:#fff7e8;padding:14px;border-radius:4px}
  .cafe-mobile-menu h3{font-size:1rem;margin:0 0 8px}
  .cafe-mobile-menu .cafe-menu-item{min-height:64px;padding:10px 0;width:100%}
  .cafe-mobile-menu .menu-note{font-size:.8rem;margin-bottom:0}
  .adventure-options{gap:9px}
  .adventure-options .option{min-height:58px;padding:12px;border-radius:4px;line-height:1.45}
  .adventure-options .option small{font-size:.875rem;line-height:1.45}
  .adventure-options .option.chosen-answer:disabled{opacity:1;border-color:#6b865c;background:#edf1e8}
  .adventure-actions{position:sticky;bottom:10px;z-index:2;background:#fffdf8;padding:10px;margin:16px -6px 0;border:1px solid #e1dbd1;border-radius:5px;box-shadow:0 -3px 14px #2021240d;gap:8px}
  .adventure-actions>.button{width:100%;min-height:50px;padding:12px}
  .adventure-actions>.plain-button{min-height:44px;width:auto;padding:10px 12px}
  .adventure-actions:has([data-clear-order]){display:grid;grid-template-columns:minmax(0,1fr) auto}
  .adventure-actions>.plain-button:disabled{display:none}
  .cafe-scene .word{min-height:46px;padding:10px 12px}
  .cafe-scene .word-bank{gap:8px}
  .cafe-scene .sentence-line{min-height:66px;padding:10px}
  .food-choice{min-height:72px;border-radius:4px}
  .food-phrases{margin:14px 0;padding:12px}
  .food-phrases p{font-size:1rem;margin:8px 0}
  .food-finish-audio{margin-top:12px}
  .cafe-feedback{font-size:.95rem;line-height:1.55;margin-top:14px}
  .cafe-transcript{padding:14px;margin-top:16px}
  .cafe-transcript summary{min-height:44px}
  .wildcard-notice{font-size:.8rem;margin-bottom:12px}
}

/* Replay tools stay small; the conversation remains the main activity. */
.cafe-run-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:0 0 18px}
.run-card-picker,.run-objective{border:1px solid #d6cbbb;border-radius:5px;background:#f2eee5;padding:14px 16px;min-width:0;font-size:.9rem}
.run-card-picker>summary{cursor:pointer;line-height:1.5;min-height:24px}
.run-card-picker p,.run-objective small{font-size:.875rem;line-height:1.6;color:#62594d}
.run-card-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.run-card-options button{display:grid;gap:6px;background:#fffdf8;border:1px solid #cfc4b2;border-radius:4px;padding:12px;cursor:pointer;text-align:left;color:#202124;font:inherit;line-height:1.5;min-height:44px}
.run-card-options button span{font-size:.8rem}
.run-card-options button[aria-pressed=true]{background:#fff2c8;border-color:#997a20}
.run-card-options button:disabled{cursor:default;opacity:.65}
.run-card-options button[aria-pressed=true]:disabled{opacity:1}
.run-objective{display:grid;align-content:start;gap:5px}
.run-objective>span{font-size:.7rem;font-weight:700;letter-spacing:.08em;color:#8a641b}
.passport-button{min-height:44px;border:1px solid #cfc4b2;border-radius:4px;background:#f2eee5;padding:10px 14px;color:#202124;font:inherit;font-size:.875rem;font-weight:700;cursor:pointer}
.menu-discovery{font-size:.72rem!important;line-height:1.5!important;opacity:.9}
.adventure-dialogue>.phrase-context{font-size:.75rem;color:#62594d;margin-top:-4px;font-weight:400}
.adventure-dialogue>.dialect-audio-note{font-size:.8rem;color:#62594d;font-weight:400}
.phrase-why{margin-top:12px;font-size:.875rem}
.phrase-why summary{cursor:pointer;min-height:30px}
.phrase-why p{font-size:.9rem;line-height:1.6;color:#62594d}
.cafe-greeting-reply{font-size:.875rem;margin:12px 0}
.cafe-greeting-reply summary{cursor:pointer;min-height:36px}
.cafe-greeting-reply p{font-size:.875rem;line-height:1.6}
.cafe-greeting-reply>div{display:flex;flex-wrap:wrap;gap:8px}
.cafe-greeting-reply button{min-height:44px;border:1px solid #cfc4b2;border-radius:4px;padding:10px 14px;background:#fffdf8}
.cafe-passport-dialog{width:min(840px,calc(100% - 32px));max-height:88dvh;box-sizing:border-box;padding:28px;border:1px solid #cfc4b2;border-radius:10px;background:#fffdf8;color:#202124;overflow:auto;overscroll-behavior:contain}
.cafe-passport-dialog::backdrop{background:#202124b8}
.passport-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;position:sticky;top:-28px;background:#fffdf8;padding:14px 0;z-index:1}
.passport-top h2{font-size:1.5rem;line-height:1.3;margin:8px 0}
.passport-top button{min-height:44px;flex-shrink:0;border:1px solid #cfc4b2;border-radius:4px;padding:8px 12px;background:#f2eee5}
.cafe-passport-dialog p{font-size:.95rem;line-height:1.7}
.cafe-passport-dialog .passport-note{color:#62594d;font-size:.85rem}
.cafe-passport-dialog>details{border-top:1px solid #d6cbbb;margin-top:10px}
.cafe-passport-dialog>details>summary{font-weight:700;cursor:pointer;padding:16px 0;min-height:44px}
.passport-items,.passport-phrases{list-style:none;padding:0;margin:0}
.passport-items li,.passport-phrases li{display:grid;gap:8px;padding:16px 0;border-bottom:1px solid #e5dfd4;font-size:1rem;line-height:1.5}
.passport-items li{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.passport-items li.collected{border-left:3px solid #b88c22;padding-left:12px}
.passport-items li>div{display:grid;gap:5px}
.passport-items small,.passport-phrases small{color:#62594d;font-size:.8rem;line-height:1.6}
.passport-items span,.passport-phrases span{color:#62594d;font-size:.9rem}
.passport-phrases p{margin:0}
.cafe-passport-dialog .speak{min-height:44px;padding:10px;border:1px solid #cfc4b2;background:white;border-radius:4px;font-weight:700;cursor:pointer}
.cafe-passport-dialog .audio-buttons{display:flex;gap:8px;flex-wrap:wrap}
.cafe-passport-dialog .audio-feedback{display:block;font-size:.8rem;color:#62594d}
@media(max-width:760px){
 .cafe-run-intro{grid-template-columns:1fr;gap:8px;margin-bottom:12px}
 .run-card-picker,.run-objective{padding:10px 12px}
 .run-card-picker>summary{min-height:30px;font-size:.8rem;line-height:1.6}
 .run-objective{gap:3px}
 .run-objective>strong{font-size:.875rem}
 .run-objective small{font-size:.8rem}
 .cafe-wildcard-control{width:100%;display:flex;flex-wrap:wrap;gap:8px}
 .cafe-wildcard-control .score-rules{width:100%;display:block}
 .cafe-wildcard-control .score-rules>summary{min-height:36px;padding:6px 0}
 .passport-button,.wildcard-button{flex:1;min-width:0;padding:10px 8px;font-size:.8rem;line-height:1.5}
 .adventure-dialogue>.phrase-context,.adventure-dialogue>.dialect-audio-note{font-size:.75rem;line-height:1.6}
 .adventure-dialogue>.phrase-why{grid-column:1/-1}
 .phrase-why>summary{min-height:44px}
 .cafe-greeting-reply summary{min-height:44px}
 .cafe-passport-dialog{width:calc(100% - 20px);max-height:92dvh;padding:16px}
 .passport-top{top:-16px;padding:10px 0}
 .passport-top h2{font-size:1.1rem}
 .passport-top .eyebrow{font-size:.7rem}
 .passport-items li{grid-template-columns:1fr}
 .passport-items li .audio-group{margin-top:2px}
}
.run-score-recap{border:1px solid #d6cbbb;padding:20px;margin:20px 0;background:#f2eee5;border-radius:5px}
.run-score-recap h3{font-size:1.6rem;margin:8px 0 14px}
.run-score-recap p{font-size:.95rem;line-height:1.7}
.run-score-recap summary{cursor:pointer;min-height:36px;font-size:.9rem}
.run-score-recap dl{margin:0 0 12px}
.run-score-recap dl>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0;font-size:.875rem;line-height:1.5;border-bottom:1px solid #d6cbbb}
.run-score-recap dt{min-width:0}
.run-score-recap dd{font-weight:700;margin:0;white-space:nowrap}
@media(max-width:760px){.run-score-recap{padding:14px}.run-score-recap summary{min-height:44px}}

/* A compact visit dashboard, with optional explanations kept out of the game. */
.cafe-visit-header h1{margin-bottom:12px}
.cafe-status-bar{display:flex;align-items:center;gap:16px;min-height:44px;padding:8px 12px;border-left:3px solid #b12e24;background:#ede8de;border-radius:3px;font-size:.875rem}
.barista-identity{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:8px;min-width:0}
.barista-identity>span{color:#62594d;font-size:.8rem}
.barista-patience{display:flex;align-items:center;gap:8px;margin-left:auto;color:#62594d;font-size:.75rem;white-space:nowrap}
.barista-patience .patience-meter{width:56px;flex-shrink:0;margin:0;gap:3px}
.barista-patience .patience-meter>span{height:5px}
.cafe-status-bar .cafe-score{display:flex;align-items:baseline;gap:8px;margin-left:4px;white-space:nowrap}
.cafe-status-bar .cafe-score>strong{font-size:1rem}
.cafe-status-bar .cafe-score>span{font-size:.75rem}
.cafe-game-tools{padding:8px 0;justify-content:flex-end;gap:0}
.cafe-wildcard-control{gap:8px}
.wildcard-button,.passport-button{font-size:.8rem;padding:8px 12px;min-height:44px}
.points-guide-button{background:none;border:0;font:inherit;color:#62594d;font-size:.8rem;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:44px;padding:8px 12px}
.cafe-run-intro{align-items:start;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:0 0 12px}
.run-card-picker,.run-objective{display:block;padding:0;border-radius:4px;font-size:.8rem}
.run-card-picker>summary,.run-objective>summary{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 12px;cursor:pointer;line-height:1.4;list-style:none}
.run-card-picker>summary::-webkit-details-marker,.run-objective>summary::-webkit-details-marker{display:none}
.run-card-picker>summary::before,.run-objective>summary::before{content:'›';font-size:1.1rem;line-height:1;flex-shrink:0}
.run-card-picker[open]>summary::before,.run-objective[open]>summary::before{transform:rotate(90deg)}
.run-chip-label{color:#62594d;white-space:nowrap;font-size:.75rem}
.run-card-picker>summary>strong,.run-objective>summary>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.8rem}
.run-chip-bonus{margin-left:auto;white-space:nowrap;font-weight:700;color:#8a641b;font-size:.75rem}
.run-chip-content{padding:0 12px 12px;border-top:1px solid #d6cbbb}
.run-chip-content p{font-size:.8rem;line-height:1.6;margin:10px 0}
.run-card-options{margin:8px 0 0}
.run-card-options button{padding:10px;font-size:.8rem}
.run-card-options button span{font-size:.75rem}
.run-card-unlock{color:#62594d}
.cafe-scene .dialogue-label{display:flex;align-items:center;gap:10px;font-size:.75rem}
.dialogue-difficulty{margin-left:auto;letter-spacing:0;font-size:.7rem;font-weight:400;color:#62594d}
.dialogue-help{display:flex;flex-wrap:wrap;align-items:flex-start;column-gap:18px;font-size:.8rem}
.dialogue-help>.translation-toggle{padding:10px 0;margin:0;min-height:44px;font-size:.8rem}
.dialogue-help>.phrase-why,.dialogue-help>.cafe-repeat{border:0;margin:0;padding:0;min-width:0;font-size:.8rem}
.dialogue-help>details>summary{min-height:44px;padding:10px 0;cursor:pointer;line-height:1.6}
.dialogue-help>details[open]{flex-basis:100%;order:1}
.phrase-why p,.phrase-why .phrase-context{font-size:.875rem;line-height:1.6;font-weight:400;margin:0 0 10px}
.phrase-why .phrase-context{font-size:.75rem;color:#62594d}
.cafe-slang{text-decoration:underline dotted;text-underline-offset:4px;text-decoration-thickness:1.5px;cursor:help}
.cafe-slang-notes{font-size:.8rem;color:#62594d;margin:10px 0 0}
.cafe-slang-notes>summary{cursor:pointer;min-height:44px;padding:10px 0;text-decoration:underline dotted;text-underline-offset:4px}
.cafe-slang-notes dl{margin:0}
.cafe-slang-notes dl>div{padding:10px 0;border-top:1px solid #d6cbbb;line-height:1.6}
.cafe-slang-notes dt{font-weight:700;color:#202124}
.cafe-slang-notes dt small{font-size:.7rem;font-weight:400;color:#62594d;margin-left:5px}
.cafe-slang-notes dd{margin:4px 0 0;font-size:.875rem}
.cafe-slang-notes p{font-size:.75rem;line-height:1.6;margin:6px 0}
.cafe-reply-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:center;min-width:0}
.cafe-reply-row.amount-reply{grid-template-columns:1fr}
.cafe-reply-row>.option{width:100%;min-width:0}
.cafe-reply-audio{position:relative;margin:0;display:flex;align-items:center;justify-content:center;min-width:44px;align-self:center}
.cafe-scene .cafe-reply-audio .reply-listen,.cafe-greeting-reply .cafe-reply-audio .reply-listen{width:44px;min-width:44px;min-height:44px;height:44px;padding:0;font-size:.75rem;line-height:1.3;background:#f2eee5;color:#202124;border:1px solid #cfc4b2;border-radius:50%;font-weight:700;cursor:pointer}
.cafe-scene .cafe-reply-audio .reply-listen[aria-pressed=true]{background:#fff2c8;border-color:#997a20;font-size:.65rem}
.cafe-reply-audio .audio-feedback{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cafe-order-example{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;font-size:.8rem;color:#62594d}
.cafe-greet-row{display:flex;align-items:center;gap:8px}
.cafe-greeting-reply .cafe-greet-row>.plain-button{min-width:76px}
.food-confirm-actions{display:grid;grid-template-columns:minmax(0,1fr) 44px}
.ultra-rare-dot{display:inline-block;width:7px;height:7px;vertical-align:middle;margin-left:4px;border-radius:50%;background:#ac68e8;box-shadow:0 0 0 2px #b080e322,0 0 8px 2px #b080e377;flex-shrink:0}
.cafe-menu .ultra-rare-dot,.cafe-mobile-menu .ultra-rare-dot{background:#cf94ff;box-shadow:0 0 8px 2px #c587ff99}
.cafe-points-dialog{width:min(720px,calc(100% - 24px));max-height:90dvh;box-sizing:border-box;padding:24px;background:#fffdf8;color:#202124;border:1px solid #cfc4b2;border-radius:10px;overflow:auto;overscroll-behavior:contain}
.cafe-points-dialog::backdrop{background:#202124b8}
.cafe-points-dialog .passport-top{top:-24px}
.cafe-points-dialog .points-lead{font-size:.95rem;line-height:1.6;margin:4px 0 20px;color:#62594d}
.points-guide-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.points-guide-grid>section{padding:16px;border:1px solid #ded5c7;border-radius:5px;background:#f5f0e6;min-width:0}
.points-guide-grid h3{font-size:.95rem;margin:0 0 12px}
.points-guide-grid dl{margin:0}
.points-guide-grid dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:10px 0;font-size:.8rem;line-height:1.5}
.points-guide-grid dt{min-width:0}
.points-guide-grid dd{margin:0;font-weight:700;color:#8a641b;flex-shrink:0;font-size:.75rem}
.points-guide-grid p,.points-save-note{font-size:.8rem;line-height:1.7;color:#62594d}
.points-guide-grid p{margin:10px 0 0}
.points-save-note{margin:16px 0 0}
.points-guide-button:focus-visible,.reply-listen:focus-visible,.cafe-run-intro summary:focus-visible,.dialogue-help summary:focus-visible{outline:2px solid #b12e24;outline-offset:3px}
.cafe-toolbar{display:grid;grid-template-columns:minmax(140px,1fr) minmax(170px,1.45fr) auto auto auto;align-items:start;gap:8px;margin:8px 0 12px}
.cafe-toolbar .cafe-run-intro,.cafe-toolbar .cafe-game-tools,.cafe-toolbar .cafe-wildcard-control{display:contents}
.cafe-toolbar .wildcard-notice{grid-column:1/-1;margin:0}
.cafe-toolbar .run-card-picker,.cafe-toolbar .run-objective{position:relative}
.cafe-toolbar .run-chip-content{position:absolute;top:100%;left:0;width:min(400px,80vw);box-sizing:border-box;z-index:6;padding:0 14px 14px;background:#fffdf8;border:1px solid #cfc4b2;border-radius:4px;box-shadow:0 8px 24px #20212422}
.cafe-toolbar.run-complete{display:flex;justify-content:flex-end}
@media(min-width:761px) and (max-width:980px){
 .cafe-toolbar{grid-template-columns:minmax(140px,1fr) minmax(170px,1.4fr) auto}
 .cafe-toolbar .passport-button{grid-column:2;justify-self:end}
 .cafe-toolbar .points-guide-button{grid-column:3}
}
@media(max-width:760px){
 .cafe-status-bar{gap:8px;padding:7px 9px;font-size:.8rem;min-height:42px}
 .barista-identity{display:grid;gap:2px}
 .barista-identity>span{font-size:.7rem;line-height:1.3}
 .barista-patience{gap:4px}
 .barista-patience>span:last-child{display:none}
 .barista-patience .patience-meter{width:32px;gap:2px}
 .cafe-status-bar .cafe-score{margin:0}
 .cafe-game-tools{padding:5px 0;display:block}
 .cafe-wildcard-control{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) 44px;width:100%;gap:6px}
 .wildcard-button,.passport-button{font-size:.7rem;padding:7px 6px;line-height:1.3;min-height:44px}
 .points-guide-button{font-size:0;padding:0;position:relative}
 .points-guide-button::after{content:'ⓘ';font-size:1.2rem;line-height:1;color:#62594d}
 .cafe-run-intro{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;margin-bottom:5px}
 .run-card-picker>summary,.run-objective>summary{gap:4px;padding:6px;min-height:44px}
 .run-chip-label{font-size:.65rem}
 .run-card-picker>summary>strong,.run-objective>summary>strong{font-size:.7rem}
 .run-chip-bonus{font-size:.65rem}
 .cafe-run-intro>details[open]{grid-column:1/-1}
 .cafe-run-intro>details[open]>summary>strong{white-space:normal;overflow:visible;font-size:.8rem}
 .cafe-mobile-context{border:0;background:transparent;margin:0 0 8px}
 .cafe-mobile-context .cafe-order-slip{margin:0;padding:0 10px;border:1px solid #d6cbbb;border-radius:4px}
 .cafe-mobile-context .cafe-order-slip>summary{font-size:.8rem;padding:10px 0;min-height:44px}
 .adventure-dialogue>.dialogue-help{grid-column:1/-1;display:flex;column-gap:12px}
 .dialogue-help>details>summary,.dialogue-help>.translation-toggle{font-size:.72rem}
 .adventure-dialogue>.dialogue-label{font-size:.7rem}
 .dialogue-difficulty{font-size:.65rem}
 .cafe-reply-row .option{padding:11px 12px}
 .cafe-greeting-reply>div{gap:12px}
 .food-confirm-actions>.button{width:100%}
 .cafe-points-dialog{padding:16px;max-height:92dvh}
 .cafe-points-dialog .passport-top{top:-16px}
 .cafe-points-dialog .passport-top .eyebrow{font-size:.6rem;letter-spacing:.05em}
 .cafe-points-dialog .passport-top h2{font-size:1.3rem}
 .points-guide-grid{grid-template-columns:1fr;gap:10px}
 .points-guide-grid>section{padding:14px}
 .points-guide-grid dl>div{font-size:.8rem}
 .cafe-scene:has(.cafe-mobile-menu)>.scene-kicker{display:none}
 .cafe-scene:has(.cafe-mobile-menu)>h2{margin:0 0 10px}
 .cafe-scene:has(.cafe-mobile-menu)>.scene-task{display:none}
 .cafe-visit-header .eyebrow{display:none}
 .cafe-visit-header h1{margin:0 0 8px}
 .cafe-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.12fr);gap:6px;margin:5px 0}
 .cafe-toolbar .run-card-picker>summary{padding:6px;gap:4px}
 .cafe-toolbar .run-card-picker>summary>.run-chip-label{display:none}
 .cafe-toolbar .run-card-picker:not([open])>summary>.run-chip-bonus{display:none}
 .cafe-toolbar .run-objective>summary>strong{display:none}
 .cafe-toolbar .run-objective>summary>.run-chip-label{font-size:.75rem;font-weight:700;color:#202124}
 .cafe-toolbar .run-card-picker[open],.cafe-toolbar .run-objective[open]{grid-column:1/-1}
 .cafe-toolbar details[open]>summary>strong{display:block;white-space:normal}
 .cafe-toolbar .run-chip-content{position:static;width:100%;border:0;border-top:1px solid #d6cbbb;background:transparent;box-shadow:none;padding:0 12px 12px}
 .cafe-toolbar .passport-button{grid-column:1/3;background:transparent;border-color:transparent;text-align:left;font-size:.75rem;padding-left:4px}
 .cafe-toolbar .points-guide-button{grid-column:3;justify-self:end;min-width:44px}
 .cafe-toolbar .points-guide-button::after{content:'ⓘ Points';font-size:.75rem}
 .cafe-toolbar .wildcard-button{font-size:.7rem}
 .cafe-toolbar.run-complete{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}
 .cafe-toolbar.run-complete .passport-button{grid-column:auto;border:1px solid #cfc4b2;text-align:center}
}
