:root { color-scheme: dark; --page:#101411; --panel:#131b15; --ink:#f2f1e8; --muted:#b6beb2; --sage:#b7c9a5; --line:#3e4c3c; --hover:#243227; font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Malgun Gothic",sans-serif; color:var(--ink); background:var(--page); font-synthesis:none; -webkit-font-smoothing:antialiased; }
* { box-sizing:border-box; } body { margin:0; } h1,h2,h3,p { margin:0; } button,input { font:inherit; } button,a,input { -webkit-tap-highlight-color:transparent; } button { cursor:pointer; color:inherit; } a { color:inherit; text-decoration:none; } button { touch-action:manipulation; } img { max-width:100%; display:block; } [hidden] { display:none!important; }
:focus-visible { outline:3px solid var(--sage); outline-offset:4px; } button:disabled { cursor:default; opacity:.45; } .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; } .definitions { width:0; height:0; position:absolute; } .icon { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; flex:none; } .skip-link { position:fixed; top:12px; left:12px; z-index:10; padding:12px; background:var(--sage); color:var(--page); transform:translateY(-200%); }.skip-link:focus { transform:none; }
.site-header { display:flex; align-items:center; justify-content:space-between; min-height:78px; padding:14px max(32px,calc((100vw - 1440px)/2)); border-bottom:1px solid var(--line); gap:20px; }.brand { display:flex; align-items:center; gap:12px; font:600 36px/1 Georgia,serif; letter-spacing:-1.2px; color:var(--sage); }.brand img { border-radius:9px; }.back-link { color:var(--sage); display:flex; align-items:center; gap:14px; font-size:14px; min-height:44px; }.back-link:hover { text-decoration:underline; text-underline-offset:5px; }
.game-wrap { max-width:1504px; padding:28px 32px 0; margin:auto; }.page-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:25px; }.page-heading h1 { font:500 clamp(34px,4.1vw,60px)/1.1 Georgia,"Times New Roman",serif; letter-spacing:-1.7px; }.page-heading p { color:var(--muted); margin-top:7px; font-size:17px; }.settings { border:0; padding:0 0 4px; margin:0; display:flex; gap:22px; flex-wrap:wrap; justify-content:flex-end; }.settings label { cursor:pointer; display:flex; align-items:center; gap:9px; font-size:12px; min-height:44px; position:relative; white-space:nowrap; }.settings input { position:absolute; width:100%; height:100%; opacity:0; cursor:pointer; }.switch { width:32px; height:19px; background:#50504e; border-radius:12px; padding:3px; pointer-events:none; }.switch::after { content:""; width:13px; height:13px; display:block; border-radius:50%; background:var(--ink); transition:transform .15s; }.settings input:checked+.switch { background:var(--sage); }.settings input:checked+.switch::after { transform:translateX(13px); }.settings input:focus-visible+.switch { outline:3px solid var(--ink); outline-offset:4px; }
.game-layout { display:grid; grid-template-columns:minmax(0,2.04fr) minmax(340px,1fr); gap:10px; align-items:start; }.world-column { min-width:0; }.world { position:relative; aspect-ratio:3/2; overflow:hidden; border:1px solid #6f765b; border-radius:4px; background:#564330; touch-action:manipulation; isolation:isolate; }.scene-art { width:100%; height:100%; object-fit:cover; image-rendering:auto; user-select:none; pointer-events:none; }.objective { position:absolute; top:16px; left:16px; max-width:calc(100% - 32px); display:flex; align-items:center; gap:10px; padding:10px 14px; border:1px solid #78816a; border-radius:4px; background:#101b15f2; font-size:13px; box-shadow:0 4px 15px #0002; z-index:3; }.objective .icon { color:var(--sage); width:17px; height:17px; }.player { position:absolute; left:var(--player-x); top:var(--player-y); width:7.5%; transform:translate(-50%,-100%); pointer-events:none; z-index:2; filter:drop-shadow(0 3px 2px #20180f80); }.player>img:first-child { width:100%; height:auto; image-rendering:pixelated; }.player.walking>img:first-child { animation:walk .18s steps(2) infinite alternate; }.held-coffee { position:absolute; width:40%; right:-17%; bottom:19%; }.world-target { position:absolute; left:50%; top:45%; transform:translate(-50%,-100%); display:flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:9px 14px; border:1px solid var(--sage); border-radius:5px; color:var(--ink); background:#17271ceF; font-weight:600; font-size:13px; box-shadow:0 0 0 5px #c8d9a630,0 5px 12px #0005; z-index:4; white-space:nowrap; }.world-target::after { content:""; position:absolute; bottom:-8px; border-top:8px solid var(--sage); border-inline:7px solid transparent; }.world-target:hover { background:var(--hover); }.world-target.is-near { background:var(--sage); color:var(--page); }.world-target.pickup-target img { width:27px; max-height:40px; object-fit:contain; }.door-cup { position:absolute; top:43%; left:50%; transform:translate(-50%,-100%); padding:9px 12px; color:#22291c; background:#f2f1e8; border-radius:5px; box-shadow:0 4px 12px #0004; animation:float 2.5s ease-in-out infinite; }.door-cup .icon { width:27px; height:27px; }.door-cup::after { content:""; border-inline:7px solid transparent; border-top:8px solid #f2f1e8; position:absolute; left:19px; bottom:-7px; }.order-panel { position:absolute; right:14px; bottom:14px; display:flex; align-items:center; gap:8px; padding:10px 14px; border:1px solid #667258; background:#101b15f2; border-radius:4px; z-index:3; }.order-panel img { object-fit:contain; width:28px; height:42px; }.order-panel strong { display:block; font-size:12px; font-weight:600; }.order-panel span { display:block; font-size:11px; color:var(--sage); }.brew { position:absolute; top:28%; left:70%; transform:translateX(-50%); background:#152017f5; border:1px solid var(--sage); border-radius:6px; padding:16px; text-align:center; box-shadow:0 4px 20px #0004; z-index:4; width:160px; font-size:12px; }.brew-sprite { display:block; width:96px; height:96px; margin:0 auto 8px; background:url("./assets/brewing.webp") 0 0/300% 100% no-repeat; }.brew[data-frame="1"] .brew-sprite { background-position:50% 0; }.brew[data-frame="2"] .brew-sprite { background-position:100% 0; }.brew i { display:block; width:100%; height:3px; background:var(--sage); transform-origin:left; animation:brew 2.4s linear forwards; margin-top:9px; }.audio-status { color:var(--muted); font-size:12px; margin-top:9px; line-height:1.5; }.audio-status:empty { display:none; }
.game-panel { border:1px solid var(--line); border-radius:4px; background:var(--panel); min-height:100%; display:flex; min-width:0; }.panel-content { width:100%; padding:27px; display:flex; flex-direction:column; }.intro { display:flex; flex-direction:column; align-items:center; text-align:center; margin:auto 0; width:100%; }.intro-coffee { width:68px; height:68px; color:var(--sage); margin:0 auto 22px; stroke-width:1.4; }.intro h2 { font:500 clamp(27px,2.7vw,39px)/1.16 Georgia,serif; letter-spacing:-.8px; }.intro>p { color:#d9ddd5; font-size:16px; line-height:1.7; margin-top:20px; }.intro .mission { border-top:1px solid var(--line); padding-top:22px; width:100%; margin-top:26px; line-height:1.65; }.mission strong { display:block; color:var(--sage); font-size:14px; margin-bottom:3px; }.primary { border:1px solid var(--sage); border-radius:4px; background:var(--sage); color:var(--page); display:flex; align-items:center; justify-content:center; gap:14px; min-height:50px; padding:12px 20px; font-size:15px; font-weight:650; transition:background .15s; width:100%; }.primary:hover:not(:disabled) { background:#cfddbe; }.intro .primary { margin-top:26px; font:600 22px/1.2 Georgia,serif; min-height:58px; }.secondary { border:1px solid var(--line); border-radius:4px; background:transparent; padding:10px 16px; min-height:44px; font-size:14px; }.secondary:hover { background:var(--hover); }.panel-content h2:not(.intro h2) { font:500 30px/1.18 Georgia,serif; letter-spacing:-.5px; outline:none; }.scene-prompt { color:var(--muted); font-size:15px; line-height:1.65; margin:14px 0 21px; }.dialogue { border-left:2px solid var(--sage); padding:0 0 0 14px; margin:5px 0 22px; }.dialogue-label { display:flex; align-items:center; justify-content:space-between; color:var(--sage); font-size:12px; margin-bottom:5px; }.ko { font-size:21px; line-height:1.55; font-weight:550; word-break:keep-all; overflow-wrap:anywhere; }.translation { color:var(--muted); font-size:13px; display:block; line-height:1.5; margin-top:5px; }.pronunciation { display:none; font-size:12px; color:var(--sage); margin-top:5px; font-weight:400; line-height:1.5; }.show-pronunciation .pronunciation { display:block; }.no-hints .choice .translation,.no-hints .tile .translation { display:none; }.listen { background:transparent; border:0; color:var(--sage); display:inline-grid; place-items:center; width:44px; height:44px; border-radius:4px; flex:none; }.listen:hover { background:var(--hover); }.listen .icon { width:18px; height:18px; }.choices { display:flex; flex-direction:column; gap:10px; }.choice { display:flex; align-items:center; gap:12px; text-align:left; width:100%; background:#1d2920; border:1px solid #53604a; border-radius:4px; padding:14px 16px; }.choice:hover { background:#2a382a; border-color:var(--sage); }.choice .ko { font-size:18px; }.choice>.icon { color:var(--sage); width:25px; height:25px; }.feedback { color:#e0c79b; font-size:13px; line-height:1.6; padding:13px 15px; border-left:2px solid #ad8c5b; background:#b99c5e0c; margin:18px 0 0; }.feedback:empty { display:none; }.tip { color:var(--sage); font-size:13px; line-height:1.7; padding:14px 0; border-top:1px solid var(--line); margin:0 0 12px; }.hint { margin-top:15px; color:var(--sage); font-size:13px; }.hint summary { cursor:pointer; min-height:44px; display:flex; align-items:center; text-decoration:underline; text-underline-offset:4px; }.hint p { padding:4px 0 12px; }.reply .primary { margin-top:auto; }.reply .player-line { margin:15px 0 12px; }.reply .player-line .ko { font-size:19px; }.walk-panel { display:flex; flex-direction:column; height:100%; justify-content:center; }.walk-panel>.icon { color:var(--sage); width:45px; height:45px; margin-bottom:25px; }.walk-panel .primary { margin-top:10px; }.walk-note { font-size:12px; color:var(--muted); margin-top:13px; text-align:center; }.order-menu { display:flex; gap:10px; align-items:center; border-block:1px solid var(--line); padding:12px 0; margin:0 0 17px; }.order-menu img { width:34px; height:49px; object-fit:contain; }.order-menu strong { display:block; font-size:14px; }.order-menu span { color:var(--sage); font-size:12px; }.challenge { color:var(--muted); font-size:13px; margin:0 0 12px; }.tile-bank { display:grid; gap:8px; }.tile-row { display:flex; border:1px solid #53604a; border-radius:4px; background:#1d2920; }.tile-row.is-used { opacity:.35; }.tile { background:transparent; border:0; text-align:left; padding:10px 12px; flex:1; min-width:0; min-height:49px; }.tile .ko { font-size:16px; }.tile .translation { font-size:12px; }.tile-row .listen { align-self:center; }.phrase-slots { display:flex; flex-wrap:wrap; gap:7px; margin:15px 0; min-height:62px; padding:10px; border:1px dashed #607052; border-radius:4px; align-items:center; }.phrase-slots:empty::after { content:"Tap the tiles in order"; color:var(--muted); font-size:12px; margin:auto; }.phrase-slots button { border:1px solid var(--sage); background:#344630; border-radius:3px; padding:8px; font-size:13px; min-height:44px; }.tile-actions { display:flex; gap:8px; }.tile-actions>.secondary { padding-inline:10px; }.tile-actions>.primary { flex:1; }
.payment-device { width:176px; margin:16px auto; background:#354039; border:1px solid #6f7867; border-radius:12px; padding:18px 18px 24px; box-shadow:0 7px 0 #222a24; text-align:center; }.payment-screen { background:#bed0ac; color:#27341e; border-radius:3px; padding:17px 5px; font-size:13px; font-weight:600; }.card-slot { height:7px; background:#080d09; border-radius:2px; margin:22px 0 0; box-shadow:0 1px 0 #a2b29570; }.payment-device.drag-over { outline:3px solid var(--sage); outline-offset:4px; }.bank-card { width:190px; min-height:105px; padding:15px 17px; background:#adc2a8; border:1px solid #d2dfc9; border-radius:8px; color:#22351f; margin:25px auto 18px; text-align:left; box-shadow:0 5px 0 #0003; display:block; touch-action:none; user-select:none; }.bank-card span { display:block; font-size:13px; }.bank-card .card-chip { width:25px; height:19px; border:1px solid #c6b58c; background:#e0d3a4; border-radius:4px; margin:8px 0; }.bank-card small { font-size:10px; letter-spacing:2px; }.bank-card.processing { animation:insert-card .5s forwards; pointer-events:none; }.bank-card:active { cursor:grabbing; }.payment-note { font-size:12px; color:var(--muted); text-align:center; margin-bottom:14px; }.success-note { color:var(--sage); text-align:center; margin:18px 0; }.completion .intro-coffee { margin-bottom:12px; animation:stamp .4s ease-out both; }.player.celebrating .held-coffee { animation:sip 2.5s ease-in-out 2; }.completion h2 { text-align:center; }.completion>p { color:var(--muted); font-size:14px; text-align:center; margin:12px 0 20px; }.review-list { margin:0 0 20px; padding:0; list-style:none; }.review-list li { border-top:1px solid var(--line); }.review-phrase { border:0; background:transparent; padding:11px 0; display:flex; gap:10px; align-items:center; width:100%; text-align:left; }.review-phrase:hover { color:var(--sage); }.review-phrase>span { flex:1; }.review-phrase .ko { font-size:15px; }.review-phrase .translation { font-size:11px; margin-top:2px; }.review-phrase .icon { width:16px; height:16px; color:var(--sage); }.finish-link { display:block; text-align:center; font-size:14px; padding:15px; text-decoration:underline; text-underline-offset:4px; }.journey { list-style:none; padding:26px 12px; margin:0; display:flex; gap:18px; align-items:center; justify-content:space-between; }.journey li { display:flex; align-items:center; gap:11px; font-size:13px; color:var(--muted); position:relative; white-space:nowrap; }.journey li>span { border:1px solid #65705d; color:var(--ink); width:34px; height:34px; display:grid; place-items:center; border-radius:50%; font-size:13px; }.journey li[aria-current="step"] { color:var(--ink); }.journey li[aria-current="step"]>span,.journey li.done>span { color:var(--page); background:var(--sage); border-color:var(--sage); }.journey li.done { color:var(--sage); }.game-footer { border-top:1px solid var(--line); padding:20px 0 24px; display:flex; justify-content:space-between; gap:16px; font-size:12px; color:var(--muted); }.game-footer span { margin:0 7px; }
@keyframes stamp { from { opacity:0; transform:scale(1.6) rotate(-15deg); }to { opacity:1; transform:none; } }@keyframes sip { 50% { transform:translateY(-12px) rotate(-12deg); } }@keyframes walk { from { transform:translateY(0) rotate(-2deg); } to { transform:translateY(-3px) rotate(2deg); } }@keyframes float { 50% { margin-top:-5px; } }@keyframes brew { from { transform:scaleX(0); }to { transform:scaleX(1); } }@keyframes insert-card { to { transform:translateY(-62px) scale(.85); opacity:.15; } }
@media(min-width:1250px) { .game-panel { min-height:calc((100vw - 74px) * .671 * .6667); } }
@media(min-width:1504px) { .game-panel { min-height:639px; } }
@media(max-width:1150px) { .page-heading { flex-wrap:wrap; gap:10px; }.settings { justify-content:flex-start; gap:25px; }.game-layout { grid-template-columns:minmax(0,1.65fr) minmax(325px,1fr); }.panel-content { padding:24px; }.intro-coffee { width:52px; height:52px; margin-bottom:16px; }.intro h2 { font-size:30px; }.intro>p { font-size:14px; }.journey { gap:12px; padding-inline:0; }.journey li { gap:6px; font-size:12px; }.journey li>span { width:29px; height:29px; } }
@media(max-width:820px) { .site-header { padding:12px 22px; min-height:69px; }.game-wrap { padding:24px 22px 0; }.page-heading h1 { font-size:42px; }.page-heading p { font-size:15px; }.game-layout { grid-template-columns:1fr; gap:12px; }.world { max-height:none; }.game-panel { min-height:0; }.panel-content { padding:26px; }.intro h2 { font-size:33px; }.intro>p { max-width:430px; }.intro .mission { margin-top:20px; padding-top:18px; }.intro .primary { margin-top:22px; }.intro { max-width:500px; margin:auto; }.journey { display:grid; grid-template-columns:repeat(4,1fr); gap:16px 10px; padding-block:24px; }.game-footer { flex-direction:column; gap:8px; }.walk-panel { min-height:220px; }.walk-panel>.icon { display:none; }.completion .review-list { display:grid; grid-template-columns:1fr 1fr; gap:0 20px; } }
@media(max-width:480px) { .site-header { padding:10px 16px; }.brand { font-size:29px; gap:7px; }.brand img { width:30px; height:30px; border-radius:8px; }.back-link { font-size:11px; gap:6px; }.back-link .icon { width:16px; }.game-wrap { padding:22px 14px 0; }.page-heading { margin-bottom:13px; gap:6px; }.page-heading h1 { font-size:36px; letter-spacing:-1.2px; }.page-heading p { font-size:13px; max-width:300px; }.settings { gap:15px; flex-wrap:nowrap; width:100%; justify-content:space-between; }.settings label { font-size:10px; gap:5px; }.switch { width:28px; height:17px; padding:2px; }.settings input:checked+.switch::after { transform:translateX(11px); }.objective { top:10px; left:10px; max-width:calc(100% - 20px); padding:7px 9px; font-size:10px; gap:7px; }.objective .icon { width:13px; height:13px; }.world-target { font-size:11px; padding:6px 10px; min-height:44px; }.order-panel { right:7px; bottom:7px; padding:6px 8px; gap:5px; }.order-panel strong { font-size:10px; }.order-panel span { font-size:9px; }.order-panel img { width:20px; height:29px; }.panel-content { padding:23px 20px; }.intro h2 { font-size:31px; }.intro-coffee { width:46px; height:46px; margin-bottom:13px; }.intro>p { margin-top:15px; }.journey { grid-template-columns:repeat(4,1fr); gap:15px 7px; }.journey li { gap:5px; font-size:10px; }.journey li>span { width:24px; height:24px; font-size:11px; }.game-footer { font-size:11px; }.game-footer span { margin:0 3px; }.door-cup { padding:6px 9px; }.door-cup .icon { width:21px; height:21px; }.door-cup::after { left:13px; }.completion .review-list { grid-template-columns:1fr; }.brew { width:133px; padding:10px; top:20%; font-size:11px; }.brew-sprite { width:64px; height:64px; }.player { width:8.5%; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.001ms!important; animation-iteration-count:1!important; transition:none!important; scroll-behavior:auto!important; } }
