@font-face{font-family:'Fusion Pixel';src:url('assets/fonts/fusion-pixel-12px-proportional-zh_hans.otf.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{color-scheme:light;--ink:#293b36;--muted:#67776f;--paper:#f9faf7;--green:#326757;--green-light:#e2eee5;--pink:#df9fae;--line:#d9e0d9;--gold:#d2a34e;font-family:'Fusion Pixel','PingFang SC','Microsoft YaHei',system-ui,sans-serif;font-size:14px;font-synthesis:none}
*{box-sizing:border-box;letter-spacing:0;-webkit-tap-highlight-color:transparent}
body{margin:0;background:#e5ece8;color:var(--ink)}
button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}
button:disabled{cursor:default;opacity:.5}
button:focus-visible{outline:3px solid #ec92a6;outline-offset:3px}
button,img{-webkit-user-drag:none}button,canvas{user-select:none}
button{border:0}button:active:not(:disabled){translate:0 1px}
button img{width:20px;height:20px}img{max-width:100%}
[hidden]{display:none!important}
#club-peek{pointer-events:auto;min-height:44px;max-width:150px;display:flex;align-items:center;gap:5px;padding:5px 7px;background:#f9faf7ed;border:1px solid #c1d4cd;border-radius:4px;font-size:12px;text-align:left;line-height:1.35;box-shadow:0 2px 0 #bdc9be}#club-peek img{width:18px;height:18px;flex:none}#club-peek span{font-size:12px;color:var(--green);overflow-wrap:anywhere}#club-peek.goal-met{background:#f6e8b5;border-color:#bba464}
.club-link{display:flex;width:100%;align-items:center;gap:10px;min-height:54px;text-align:left;background:transparent;border-bottom:1px solid var(--line);padding:8px 0;margin:0 0 12px}.club-link>span{flex:1;min-width:0}.club-link b,.club-link small{display:block;line-height:1.5}.club-link b{font-size:14px}.club-link small{font-size:12px;color:var(--muted)}.club-link .pixel-icon{width:32px;height:32px}.club-link>.ui-icon{width:18px;height:18px}
.club-choices{display:grid;gap:12px}.club-choice{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;border:1px solid #cddcd4;padding:16px;border-radius:6px;background:#f0f5ef}.club-choice[data-club-card=coast]{background:#edf4f8;border-color:#c5d7e4}.club-choice[data-club-card=tasting]{background:#faf0f3;border-color:#e6cdd5}.club-choice.selected{border:2px solid var(--green);padding:15px}.club-portrait{display:flex;align-items:center;flex-direction:column;gap:8px}.club-portrait canvas{width:64px;height:80px;image-rendering:pixelated}.club-portrait small{font-size:14px;color:#86641e;font-weight:700}.club-copy{min-width:0}.club-copy h3{font-size:17px;line-height:1.4}.club-copy p{font-size:14px;line-height:1.6;margin:6px 0}.club-copy>b{display:block;font-size:14px;line-height:1.5}.club-copy>small{display:block;font-size:12px;line-height:1.6;color:#50645c;margin:5px 0 8px}.club-copy button{margin-top:4px;min-height:44px;max-width:100%;font-size:14px;white-space:normal}.club-progress{display:flex;gap:12px;align-items:center;font-size:14px;margin-top:10px}.club-progress progress{flex:1;min-width:0;width:100%;accent-color:var(--green)}.club-note{font-size:14px;line-height:1.65;color:var(--muted)}.club-collection-title{margin:24px 0 12px}
.club-stamps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.club-stamps>div{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:10px 4px;border:1px dashed #aabbb1;min-width:0;opacity:.55}.club-stamps .earned{opacity:1;background:#f9edc9;border-style:solid;border-color:#d0b76a}.club-stamps b{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.club-stamps .pixel-icon{width:32px;height:32px}.club-stamps .ui-icon{width:16px;height:16px}.club-result{display:flex;gap:12px;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin:16px 0}.club-result .pixel-icon{width:32px;height:32px;flex:none}.club-result b{font-size:14px}.club-result p{font-size:14px;line-height:1.6;margin:5px 0 0}.menu-warning{color:#9c4d48!important}.menu-actions{position:sticky;bottom:0;background:var(--paper);padding:10px 0;z-index:2}.classic-link{display:block;text-align:center;color:var(--muted);font-size:14px;line-height:1.6;padding:14px 0;min-height:44px}
@media(max-width:360px){#club-peek{max-width:140px}.club-choice{grid-template-columns:48px minmax(0,1fr);padding:12px;gap:10px}.club-choice.selected{padding:11px}.club-portrait canvas{width:48px;height:60px}.club-copy h3{font-size:16px}}
#app{max-width:1500px;margin:auto;background:var(--paper);height:100dvh;min-height:430px;position:relative;overflow:hidden}
.topbar{height:68px;padding:8px 26px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);position:relative;z-index:4;background:var(--paper)}
.brand{font-size:34px;font-weight:850;line-height:.9;color:#202925;display:flex;align-items:center;gap:16px}.brand span{font-size:10px;font-weight:600;align-self:center;border-left:1px solid #c7d1c9;padding-left:16px;line-height:24px}
.wallet{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:16px;font-variant-numeric:tabular-nums;min-width:64px}.wallet img{width:20px;height:20px;filter:sepia(.7)}
.icon-button{width:44px;height:44px;display:grid;place-items:center;background:transparent;border-radius:6px;flex:none}.icon-button:hover{background:#e5ede5}
.language-button{height:44px;min-width:42px;font-size:12px;font-weight:750;background:transparent}
.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 316px;height:calc(100% - 68px)}
.stage{min-width:0;min-height:0;position:relative;overflow:hidden;background:#e5e4dc}
#scene{width:100%;height:100%;display:block;image-rendering:pixelated}
.scene-heading{position:absolute;left:23px;top:20px;pointer-events:none;display:flex;flex-direction:column;gap:5px;color:#4c5e55}.scene-heading span:first-child{font-size:12px;font-weight:750}.scene-heading span:last-child{font-size:10px;color:#66796c}
.scene-camera{position:absolute;right:15px;top:12px;background:#f9faf7c9}
.scene-bottom{position:absolute;left:0;right:0;bottom:0;min-height:36px;display:flex;align-items:center;gap:7px;background:#edf2e9ed;padding:8px 16px;color:#5a7263;font-size:11px}.scene-bottom #served-count{margin-left:auto;white-space:nowrap}.open-dot{width:5px;height:5px;background:#50846a;border-radius:50%;flex:none}
.side{padding:30px 24px 0;background:var(--paper);display:flex;flex-direction:column;min-height:0;border-left:1px solid var(--line)}
.eyebrow{font-size:10px;font-weight:750;color:var(--muted)}h1{font-size:25px;font-weight:600;line-height:1.5;margin:11px 0 24px}h2{font-size:21px;line-height:1.35;margin:5px 0 0;font-weight:700}h3{font-size:15px;margin:0}.rule{height:1px;background:var(--line)}
.action-strip{display:flex;flex-direction:column;gap:18px;padding:25px 0 20px}.action-copy{display:flex;flex-direction:column;gap:7px}.action-copy span{font-size:11px;color:var(--muted)}.action-copy strong{font-size:15px;line-height:1.5;font-weight:600}
.primary{border:1px solid #285849;background:var(--green);color:#fff;min-height:46px;padding:12px 18px;font-size:13px;font-weight:650;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary img{filter:brightness(0) invert(1);width:17px;height:17px}.primary:hover{background:#275b4b}.secondary{background:#edf2ed;min-height:44px;padding:11px 16px;border:1px solid var(--line);border-radius:6px;font-size:13px;display:inline-flex;gap:8px;align-items:center;justify-content:center}.secondary img{width:17px;height:17px}
.desktop-menu{border-top:1px solid var(--line);padding-top:20px}.desktop-menu h3{font-size:11px;color:var(--muted);margin-bottom:8px}.mini-combo{display:flex;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #e7eae4}.mini-combo canvas{width:72px;height:52px;image-rendering:pixelated}.mini-combo strong{font-size:12px;line-height:1.6;display:block;font-weight:600}.mini-combo span{font-size:10px;color:var(--muted)}
.desktop-note{font-size:12px;color:var(--muted);line-height:1.8;padding:24px 0;flex:1}.nav{display:flex;gap:5px;padding:14px 0 22px;border-top:1px solid var(--line)}.nav button{flex:1;background:none;display:flex;align-items:center;flex-direction:column;gap:6px;min-width:0;min-height:47px;padding:4px 2px;font-size:11px;color:var(--muted)}.nav button.active{color:var(--green);font-weight:750}.nav button.active img{filter:invert(31%) sepia(19%) saturate(1163%) hue-rotate(109deg)}
#table-hits,#float-layer{position:absolute;inset:0;pointer-events:none}.table-hit{position:absolute;pointer-events:auto;transform:translate(-50%,-50%);width:76px;height:70px;background:transparent;border-radius:8px}.table-hit:hover{background:#ffffff17}.table-hit.request{height:102px}.guest-bubble{position:absolute;bottom:calc(100% - 27px);left:50%;transform:translateX(-50%);padding:6px 9px;min-height:30px;background:#fffaf4;color:#4f6653;border:1px solid #8caa8d;box-shadow:0 3px 0 #72937222;border-radius:6px;white-space:nowrap;font-size:11px;font-weight:700;display:flex;gap:5px;align-items:center}.guest-bubble:after{content:'';position:absolute;top:100%;left:50%;border:5px solid transparent;border-top-color:#8caa8d}.guest-bubble img{width:13px;height:13px}.float{position:absolute;transform:translate(-50%,-50%);color:#476c45;font-size:14px;font-weight:750;animation:float 1.8s ease-out forwards;white-space:nowrap;padding:3px 7px;background:#fbfff4ec;border-radius:5px}.float.heart{color:#d36e92}
@keyframes float{0%{opacity:0;translate:0 8px}15%{opacity:1}100%{opacity:0;translate:0 -42px}}
.paused-layer{position:absolute;inset:0;background:#edf1e975;display:grid;place-items:center;backdrop-filter:blur(2px);z-index:6}
.modal{position:absolute;inset:68px 0 0;z-index:20;background:#172e274d;display:flex;justify-content:center;align-items:center;padding:22px;backdrop-filter:blur(3px)}
.sheet{background:var(--paper);border:1px solid #d1dbd0;border-radius:8px;width:580px;max-height:100%;display:flex;flex-direction:column;box-shadow:0 18px 60px #12291d26;overflow:hidden}.sheet-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 24px 16px;flex:none}.sheet-head h2{overflow-wrap:anywhere}.sheet-head .icon-button{align-self:flex-start}.sheet-head .eyebrow{color:#8b9b89}
#sheet-content{padding:0 24px 24px;overflow:auto;overscroll-behavior:contain;min-height:0}.forecast{display:flex;gap:8px;align-items:center;margin-bottom:18px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.forecast .taste{background:#e5ece2;color:#4c6c4c;padding:4px 7px;font-size:11px;border-radius:3px}.forecast-label{width:100%;margin-bottom:1px}.forecast .taste.rose{background:#f2e3e7;color:#9c687a}
.menu-slots{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.menu-slot{background:#edf0e8;border:2px solid transparent;min-width:0;border-radius:6px;padding:10px 8px;display:flex;flex-direction:column;text-align:left;gap:5px;min-height:102px}.menu-slot.active{border-color:#557d59;background:#f0f5eb}.menu-slot b{font-size:11px;color:#577157}.menu-slot .slot-name{font-size:11px;line-height:1.5}.menu-slot canvas{width:80px;height:46px;align-self:center;image-rendering:pixelated}
.choice-heading{font-size:11px;color:var(--muted);margin:16px 0 8px;display:flex;align-items:center;gap:7px}.choice-heading img{width:15px;height:15px}.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.food-choice{border:1px solid #d8dfd4;background:#fff;display:flex;flex-direction:column;gap:4px;align-items:center;padding:8px 4px;border-radius:6px;min-height:116px;position:relative;min-width:0}.food-choice.selected{border-color:#5b8b65;box-shadow:inset 0 0 0 1px #5b8b65;background:#f1f6ed}.food-choice canvas{width:64px;height:49px;image-rendering:pixelated}.food-choice strong{font-size:11px;line-height:1.4;text-align:center;overflow-wrap:break-word;font-weight:650}.food-choice span{font-size:10px;color:var(--muted)}.food-choice .check{position:absolute;right:5px;top:5px;width:13px;height:13px}.sheet-action{width:100%;margin-top:19px}.small-note{font-size:11px;color:var(--muted);line-height:1.6;margin:12px 0 0}.request-intro{display:flex;align-items:center;gap:14px;padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:10px}.portrait{width:72px;height:86px;image-rendering:pixelated;flex:none}.request-intro p{font-size:15px;margin:0 0 8px;line-height:1.6}.taste-line{display:flex;gap:5px;flex-wrap:wrap}.taste-tag{font-size:11px;padding:5px 8px;border-radius:3px;background:#e5eee0;color:#4e7053}.tray-preview{display:flex;align-items:center;justify-content:center;gap:15px;padding:8px;margin-top:14px;background:#eff2e9;border-radius:5px}.tray-preview canvas{width:110px;height:62px;image-rendering:pixelated}.tray-preview span{font-size:12px;color:#687d5d}.decor-list{display:grid;gap:0}.decor-row{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:13px;padding:18px 0;border-bottom:1px solid var(--line)}.decor-icon{width:60px;height:60px;background:#e7ece3;display:grid;place-items:center;border-radius:6px}.decor-icon img{width:27px;height:27px;opacity:.7}.decor-row:nth-child(3n) .decor-icon{background:#e3ebf1}.decor-row:nth-child(3n+1) .decor-icon{background:#f2e2e6}.decor-row h3{font-size:13px;line-height:1.5}.decor-row p{font-size:11px;color:var(--muted);margin:4px 0;line-height:1.5}.buy-button{min-height:44px;min-width:70px;display:flex;gap:5px;align-items:center;justify-content:center;padding:8px;background:#e4eee1;border-radius:5px;font-size:12px;font-weight:650}.buy-button img{width:14px;height:14px}.buy-button.owned{font-size:10px;background:#edf0e9}
.journal-faces{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 8px;margin:18px 0 24px}.face-item{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;font-size:10px;color:var(--muted)}.face-item canvas{width:44px;height:55px;image-rendering:pixelated}.face-item.unseen canvas{filter:grayscale(1);opacity:.25}.note-entry{padding:17px 0;border-top:1px solid var(--line);display:flex;gap:12px}.note-entry canvas{width:52px;height:66px;image-rendering:pixelated}.note-entry p{font-size:13px;line-height:1.65;margin:6px 0}.note-entry small{font-size:10px;color:var(--muted)}.note-entry b{font-size:11px}.summary-portrait{display:block;margin:0 auto;width:90px;height:110px;image-rendering:pixelated}.summary-line{text-align:center;font-size:14px;line-height:1.8}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;gap:10px;text-align:center}.result-grid span{display:block;font-size:10px;color:var(--muted);margin-bottom:7px}.result-grid strong{font-size:24px;font-weight:650}.two-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.event-option{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:10px;min-height:64px;padding:12px 14px;border:1px solid var(--line);border-radius:5px;background:#eff4e9;width:100%;margin-top:10px;font-size:13px}.event-option span{font-size:11px;color:var(--muted);white-space:nowrap}.photo-print{padding:12px 12px 27px;background:white;box-shadow:0 3px 12px #1b37241a;text-align:center}.photo-print img{width:100%;max-height:52dvh;object-fit:contain;image-rendering:pixelated}.photo-print p{font-size:13px;font-weight:650;margin:15px 0 0}.toast{position:absolute;left:50%;bottom:95px;transform:translateX(-50%);z-index:40;padding:13px 18px;max-width:calc(100% - 32px);background:#2c453c;color:#fff;font-size:12px;border-radius:6px;box-shadow:0 3px 14px #173b2828;text-align:center;line-height:1.6;pointer-events:none}
.moment-list{margin:10px 0 20px}.moment-row{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;background:transparent;border-bottom:1px solid var(--line);padding:12px 0;text-align:left}.moment-row>img{width:19px;height:19px;flex:none}.moment-row>span{flex:1;min-width:0}.moment-row b{font-size:12px;line-height:1.5;display:block;overflow-wrap:anywhere}.moment-row small{display:block;margin-top:3px;font-size:10px;color:var(--muted)}.moment-row:hover{background:#eaf0e8}.story-art{display:block;width:288px;max-width:100%;height:auto;aspect-ratio:3/2;margin:8px auto 18px;image-rendering:pixelated}.story-art.unseen{filter:grayscale(.8);opacity:.5}
.animal-chat{position:absolute;transform:translate(-50%,-100%);width:180px;max-width:calc(100% - 20px);padding:8px 10px;border:1px solid #98aea0;border-radius:6px;background:#fbfdf5f5;color:#526d5d;font-size:11px;line-height:1.55;text-align:center;box-shadow:0 2px 0 #71907822}.animal-chat:after{content:'';position:absolute;left:60%;top:100%;border:5px solid transparent;border-top-color:#98aea0}
#scene-status{min-width:0;line-height:1.4;overflow-wrap:anywhere}
@media(min-width:1100px){#app{margin:20px auto;height:calc(100dvh - 40px);max-height:1100px;border:1px solid #cad7ce}.game-layout{grid-template-columns:minmax(0,1fr) 340px}.side{padding-left:30px;padding-right:30px}}
@media(max-width:760px){#app{height:100dvh;min-height:400px}.topbar{height:58px;padding:6px 12px;gap:3px}.brand{font-size:29px;gap:10px}.brand span{font-size:8px;padding-left:10px;line-height:19px}.wallet{font-size:14px;gap:5px;min-width:53px}.wallet img{width:17px;height:17px}.topbar .icon-button{width:38px;height:44px}.topbar .icon-button img{width:18px;height:18px}.language-button{min-width:32px;font-size:11px}.game-layout{height:calc(100% - 58px);display:flex;flex-direction:column}.stage{flex:1}.side{flex:none;padding:0;border:0}.desktop-intro,.desktop-menu,.desktop-note{display:none}.action-strip{flex-direction:row;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px 8px;min-height:72px}.action-copy{min-width:0;gap:4px;flex:1}.action-copy span{font-size:10px}.action-copy strong{font-size:12px;line-height:1.5}.action-strip .primary{font-size:11px;min-height:43px;padding:10px 12px;max-width:43%;flex:none}.action-strip .primary img{display:none}.nav{padding:5px 24px max(5px,env(safe-area-inset-bottom));gap:20px;height:calc(59px + env(safe-area-inset-bottom));border-top:1px solid #e2e7de}.nav button{font-size:10px;gap:3px;min-height:44px}.nav button img{width:19px;height:19px}.scene-heading{left:14px;top:13px;gap:4px}.scene-heading span:first-child{font-size:10px}.scene-heading span:last-child{font-size:9px}.scene-camera{right:7px;top:3px;width:40px;height:40px}.scene-camera img{width:17px;height:17px}.scene-bottom{font-size:9px;min-height:28px;padding:7px 11px}.table-hit{width:64px;height:64px}.table-hit.request{height:80px}.guest-bubble{font-size:9px;padding:5px 7px;bottom:calc(100% - 26px);min-height:26px;gap:3px}.guest-bubble img{width:11px;height:11px}.modal{inset:58px 0 0;align-items:flex-end;padding:0;backdrop-filter:blur(1px)}.sheet{max-height:94%;width:100%;border-radius:8px 8px 0 0;border-bottom:0;box-shadow:0 -8px 36px #1936221a}.sheet-head{padding:16px 17px 10px}h2{font-size:19px}#sheet-content{padding:0 17px max(20px,env(safe-area-inset-bottom))}.menu-slots{margin-bottom:11px;gap:8px}.forecast{margin-bottom:12px;gap:5px;font-size:10px}.forecast .taste{font-size:10px}.menu-slot{min-height:92px;padding:8px}.choice-heading{margin:12px 0 6px}.choices{gap:6px}.food-choice{min-height:106px;padding:7px 3px}.food-choice strong{font-size:10px}.food-choice span{font-size:9px}.food-choice canvas{width:58px;height:43px}.sheet-action{margin-top:15px}.request-intro{gap:10px;padding-bottom:9px}.request-intro p{font-size:13px}.portrait{width:61px;height:74px}.decor-row{grid-template-columns:48px minmax(0,1fr) 73px;gap:10px;padding:16px 0}.decor-icon{width:48px;height:48px}.decor-row h3{font-size:12px}.decor-row p{font-size:10px}.buy-button{min-width:68px}.toast{bottom:141px;font-size:11px}.small-note{font-size:10px}.summary-line{font-size:13px}}
@media(max-height:680px) and (max-width:760px){.topbar{height:52px}.game-layout{height:calc(100% - 52px)}.action-strip{min-height:58px;padding:6px 12px}.nav{height:52px;padding-top:3px;padding-bottom:3px}.nav button{min-height:42px}.modal{inset:52px 0 0}.sheet{max-height:98%}.sheet-head{padding-top:12px}.scene-heading span:last-child{display:none}.menu-slot{min-height:78px}.food-choice{min-height:94px}.menu-slot canvas{height:37px;width:64px}.forecast{margin-bottom:8px}}
.table-hit,.table-hit.request{height:84px;width:78px}
.guest-bubble{right:calc(100% - 6px);left:auto;top:15px;bottom:auto;transform:none}
.guest-bubble:after{top:9px;left:100%;border-color:transparent;border-left-color:#8caa8d}
@media(max-width:760px){.table-hit,.table-hit.request{height:78px;width:66px}}
@media(max-width:760px){.topbar .icon-button{width:44px}.language-button{min-width:44px}.action-strip .primary{min-height:44px}}
@media(max-width:350px){.brand span{display:none}.topbar{gap:2px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition:none!important}}
.action-buttons{display:flex;align-items:center;gap:6px}.action-buttons .primary{flex:1;max-width:none;min-width:0}.action-buttons>.icon-button{background:#eaf0e8;border:1px solid var(--line)}
.station-hit{position:absolute;left:30%;top:39.5%;translate:-50% -50%;width:44px;height:44px;display:grid;place-items:center;background:#f6faf0d9;border:1px solid #8faa98;border-radius:6px;box-shadow:0 2px 0 #819c822e}.station-hit img{width:20px;height:20px}.station-hit:hover{background:#fff}.station-hit:active:not(:disabled){translate:-50% calc(-50% + 1px)}
.wish-badge{position:absolute;left:-7px;top:15px;width:28px;height:28px;border:1px solid #b991a6;border-radius:6px;background:#fff2f5;display:grid;place-items:center}.wish-badge img{width:16px;height:16px}
.modal.quick{backdrop-filter:none;background:#253d2912;align-items:flex-end}.modal.quick .sheet{width:520px}.quick .sheet-head{padding:14px 17px 6px}.quick .sheet-head h2{font-size:16px}.quick .sheet-head .eyebrow{display:none}.quick #sheet-content{padding:0 17px 14px}.quick-craving{display:flex;gap:10px;align-items:center;margin-bottom:6px;min-height:44px}.quick-craving .portrait{width:33px;height:40px}.quick-craving .taste-line{flex:1;min-width:0}.quick-craving .taste-tag{font-size:10px;padding:4px 6px}.special-shortcuts{display:flex;gap:4px}.special-shortcuts button{position:relative;min-width:44px;height:44px;background:#eaf0e4;border:1px solid #d4dece;border-radius:5px}.special-shortcuts canvas{width:40px;height:25px;image-rendering:pixelated}.special-shortcuts span{position:absolute;right:3px;bottom:0;font-size:9px;color:#536c52}.quick-foods .choice-heading{display:none}.quick-foods .choices{margin:5px 0;gap:6px}.quick-foods .food-choice{min-height:66px;padding:5px 3px;gap:2px}.quick-foods .food-choice canvas{width:40px;height:30px}.quick-foods .food-choice strong{font-size:10px;line-height:1.3}.quick-foods .food-choice>span{display:none}.quick-footer{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-top:10px;border-top:1px solid var(--line);padding-top:10px;font-size:11px}.quick-footer .primary{min-height:44px;font-size:11px;padding:9px 14px}.quick-footer b{color:var(--green)}
.wish-intro{display:flex;gap:14px;align-items:center}.wish-intro .portrait{width:48px;height:58px}.wish-intro p{font-size:13px;line-height:1.65;margin:8px 0}.gift-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 4px}.gift-choice{border:1px solid #cedccc;background:#edf3e8;border-radius:6px;min-height:90px;padding:7px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.gift-choice canvas{width:48px;height:40px;image-rendering:pixelated}.gift-choice span{font-size:11px;line-height:1.4}.gift-choice:hover{border-color:#779777;background:#e4eedb}
.face-item{border:1px solid transparent;background:transparent;border-radius:5px;padding:3px 0}.face-item:not(:disabled):hover{border-color:#becfbc;background:#edf3e8}.bond-hearts{display:flex;gap:3px;align-items:center;justify-content:center}.bond-hearts img{width:10px;height:10px;opacity:.23}.bond-hearts img.filled{opacity:1;filter:invert(64%) sepia(22%) saturate(984%) hue-rotate(291deg)}.friend-bond{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.friend-bond .bond-hearts img{width:23px;height:23px}.latte-tools{display:flex;align-items:center;gap:4px;margin:4px 0 10px}.pattern-tabs{display:flex;flex:1;gap:4px}.pattern-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;flex:1;background:#e8eee4;border:1px solid transparent;font-size:11px;padding:6px;border-radius:5px}.pattern-tabs button[aria-pressed=true]{border-color:#698b71;background:#deead7}.pattern-tabs img{width:15px;height:15px}.latte-tools .icon-button{width:44px;height:44px}.latte-pad{display:block;width:260px;max-width:100%;height:auto;aspect-ratio:1;margin:0 auto;image-rendering:pixelated;touch-action:none;cursor:crosshair;border-radius:4px}.latte-progress{display:flex;gap:10px;align-items:center;font-size:11px;color:var(--muted);padding:14px 0 0}.latte-progress progress{min-width:0;flex:1;height:7px;accent-color:#668a62}.latte-progress b{min-width:34px;text-align:right;color:var(--green)}.latte-journal{display:flex;gap:14px;align-items:center;width:100%;padding:12px 0;margin:4px 0 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:transparent;text-align:left}.latte-journal canvas{width:62px;height:62px;image-rendering:pixelated}.latte-journal span{font-size:12px;flex:1}.latte-journal b{display:block;font-size:10px;font-weight:500;color:var(--muted);margin-top:6px}
.staff-team{margin:0 0 20px;border-bottom:1px solid var(--line)}.staff-team summary{min-height:44px;padding:12px 0;cursor:pointer;font-size:13px;font-weight:650}.staff-team summary:focus-visible{outline:2px solid #ec92a6;outline-offset:2px}.staff-team ul{list-style:none;margin:4px 0 16px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.staff-team li{display:flex;align-items:center;gap:10px;min-width:0}.staff-team canvas{width:40px;height:49px;image-rendering:pixelated;flex:none}.staff-team li div{min-width:0}.staff-team b{display:block;font-size:13px}.staff-team li span{display:block;font-size:11px;color:var(--muted);line-height:1.5;margin-top:3px;overflow-wrap:anywhere}
@media(min-width:761px){.modal.quick{justify-content:flex-end}.modal.quick .sheet{margin-right:4px}.side .action-buttons{width:100%}}
@media(max-width:760px){.action-buttons{width:174px;max-width:59%;flex:none}.action-buttons .primary{max-width:none;min-height:44px;padding:8px;font-size:11px}.action-buttons .icon-button{width:44px;height:44px}.quick .sheet{max-height:92%}.quick .sheet-head{padding-top:10px}.quick .sheet-head .icon-button{width:44px;height:44px}.quick-craving{gap:6px}.quick .sheet-action{margin-top:8px}.latte-tools .pattern-tabs button{font-size:10px}.latte-progress{gap:7px}.latte-progress span{font-size:10px}}
@media(max-height:680px) and (max-width:760px){.latte-pad{width:190px}.quick .food-choice{min-height:62px}.quick .sheet-head{padding-top:6px}.quick #sheet-content{padding-bottom:10px}.quick-footer{margin-top:7px;padding-top:7px}}

/* Pixel objects are colourful; utility controls keep their familiar Lucide shapes. */
.pixel-icon{display:block;width:32px;height:32px;object-fit:contain;image-rendering:pixelated;filter:none!important;pointer-events:none;flex:none}
.ui-icon{pointer-events:none}
button:active:not(:disabled){translate:none}
.station-hit:active:not(:disabled){translate:-50% -50%}
.wallet .pixel-icon{width:28px;height:28px}
.topbar .icon-button,.language-button{border-radius:6px;color:#4b675b}
.topbar .icon-button .ui-icon,.latte-tools .ui-icon,#close-sheet .ui-icon{filter:invert(32%) sepia(15%) saturate(820%) hue-rotate(103deg)}
.topbar .icon-button[aria-pressed=true]{background:#dcebdc;box-shadow:inset 0 -2px 0 #b6ceb9}
.topbar .icon-button:hover,.language-button:hover{background:#e5ede2}
.scene-camera,.station-hit,.action-buttons>.icon-button,.interaction-badge{--badge-face:#f3f8e9;--badge-edge:#87a38c;--badge-shadow:#c5d6ba;border:2px solid var(--badge-edge);border-radius:6px;background:var(--badge-face);box-shadow:inset 0 2px 0 #ffffffeb,inset 0 -3px 0 var(--badge-shadow),0 2px 0 #53695524;display:grid;place-items:center;padding:0}
.scene-camera{--badge-face:#edf6f6;--badge-edge:#93aeba;--badge-shadow:#ccdee3;width:44px;height:44px}
.scene-camera .pixel-icon,.station-hit .pixel-icon,.action-buttons>.icon-button .pixel-icon{width:32px;height:32px}
.station-hit{width:48px;height:48px;z-index:1}
.station-hit:not(.completed):not(:disabled)>.pixel-icon{animation:cup-warmth 4s steps(2,end) infinite}
.station-hit.completed{--badge-face:#f2f4ed;--badge-edge:#a5b9a6;--badge-shadow:#dbe2d2}
.scene-camera:hover,.station-hit:hover,.action-buttons>.icon-button:hover{background:#fffdf5;border-color:#638976}
.scene-camera:active,.station-hit:active,.action-buttons>.icon-button:active{box-shadow:inset 0 2px 0 var(--badge-shadow),0 1px 0 #53695524;background:#e7eedf}
.interaction-badge{position:absolute;width:44px;height:44px;min-height:44px;right:calc(100% + 3px);left:auto;top:10px;bottom:auto;transform:none;pointer-events:auto;white-space:normal}
.interaction-badge .pixel-icon{width:32px;height:32px}
.interaction-badge:after{content:'';position:absolute;left:100%;top:15px;width:4px;height:6px;border:0;background:var(--badge-edge);box-shadow:2px 2px 0 -1px var(--badge-edge);pointer-events:none}
.wish-badge{--badge-face:#fff0f4;--badge-edge:#b4899f;--badge-shadow:#edc9d7}
.wish-badge .pixel-icon{animation:gift-glint 5s steps(2,end) infinite}
.table-hit:hover .interaction-badge,.table-hit:focus-visible .interaction-badge{border-color:#577e63;background:#fffdf5}
.table-hit:active .interaction-badge{box-shadow:inset 0 2px 0 var(--badge-shadow),0 1px 0 #53695524}
.nav button{gap:3px;padding-top:0;position:relative}
.nav-art{width:44px;height:32px;display:grid;place-items:center;border-radius:6px;background:transparent;flex:none}
.nav-art .pixel-icon{width:32px;height:32px}
.nav button[data-view=decorate] .nav-art{--nav-tint:#f5e5e9;--nav-edge:#ddb9c9}
.nav button[data-view=journal] .nav-art{--nav-tint:#e7eef5;--nav-edge:#bacddd}
.nav button[data-view=cafe] .nav-art{--nav-tint:#e3eedb;--nav-edge:#b1c9a4}
.nav button.active .nav-art{background:var(--nav-tint);box-shadow:inset 0 -2px 0 var(--nav-edge)}
.nav button:hover .nav-art{background:var(--nav-tint)}
#main-action .pixel-icon{width:24px;height:24px;background:#f1f4e5;border-radius:4px}
#main-action:active:not(:disabled),.primary:active:not(:disabled){box-shadow:inset 0 3px 0 #153d3538}
@keyframes cup-warmth{0%,65%,100%{transform:translateY(0)}75%,85%{transform:translateY(-1px)}}
@keyframes gift-glint{0%,72%,100%{opacity:1}80%{opacity:.85}}
@media(max-width:760px){.nav button{gap:1px;padding-top:0;padding-bottom:0}.nav-art{height:32px}.scene-camera{right:7px;top:5px}.wallet{gap:3px}.wallet .pixel-icon{width:24px;height:24px}#main-action .pixel-icon{display:none}.interaction-badge{top:9px}}
@media(prefers-reduced-motion:reduce){.station-hit>.pixel-icon,.wish-badge .pixel-icon{animation:none!important}}

.table-anchor{position:absolute;width:78px;height:84px;transform:translate(-50%,-50%);pointer-events:none}
.table-anchor>.table-hit{inset:0;width:100%;height:100%;transform:none;pointer-events:auto}
.table-anchor>.table-action{pointer-events:auto}
.table-action:hover,.table-action:focus-visible{border-color:#577e63;background:#fffdf5}
.table-action:active{box-shadow:inset 0 2px 0 var(--badge-shadow),0 1px 0 #53695524}
.chat-peek{position:absolute;right:0;top:-2px;width:32px;height:32px;display:grid;place-items:center;color:#83536b;opacity:0;pointer-events:none}
.chat-peek .pixel-icon{width:32px;height:32px}
.chat-peek>span{position:absolute;right:31px;top:5px;white-space:nowrap;font-size:12px;line-height:18px;padding:1px 5px;border:1px solid #d9b6c6;border-radius:3px;background:#fff8fc;opacity:0}
.table-hit.chat-available .chat-peek,.staff-hit:not([data-idle='']) .chat-peek{opacity:.85}
.table-hit.chat-intro .chat-peek,.table-hit:hover .chat-peek,.table-hit:focus-visible .chat-peek{opacity:1}
.table-hit.chat-intro .chat-peek>span,.table-hit:hover .chat-peek>span,.table-hit:focus-visible .chat-peek>span,.staff-hit:hover .chat-peek>span,.staff-hit:focus-visible .chat-peek>span{opacity:1}
.table-hit.chat-intro .chat-peek>.pixel-icon{animation:chat-hello 4s steps(2,end) 2}
@keyframes chat-hello{0%,15%,30%,100%{transform:none}8%,23%{transform:translateY(-2px) rotate(-5deg)}}
.animal-chat{z-index:5;width:234px;max-width:calc(100% - 16px);transform:none;padding:10px 12px;border:2px solid #b88d9f;border-radius:4px;background:#fffbfd;box-shadow:inset 0 -3px 0 #f1dce6,0 3px 0 #72937230;pointer-events:none;text-align:left;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.animal-chat b{display:flex;align-items:center;gap:6px;color:#916078;font-size:12px;line-height:1.5;margin-bottom:4px}
.animal-chat b .pixel-icon{width:24px;height:24px}
.animal-chat p{margin:0;color:#405d4c}
.animal-chat:after{left:var(--tail-x,60%);border-top-color:#b88d9f}
@media(max-width:760px){.table-anchor{width:66px;height:78px}.animal-chat{width:222px}.chat-peek{right:0;top:-2px}}

#staff-hits{position:absolute;inset:0;pointer-events:none}
.staff-hit{position:absolute;pointer-events:auto;background:transparent;border-radius:6px;touch-action:none;z-index:2}
.staff-hit:hover{background:#ffffff17}
.staff-hit:hover .chat-peek,.staff-hit:focus-visible .chat-peek{opacity:1}
.table-anchor{transform:none;margin-left:-39px;margin-top:-42px}
.table-anchor>.table-hit{z-index:1}
.table-anchor>.table-action{z-index:3}
.scene-camera,.station-hit{z-index:4}
.photo-actions{display:flex;gap:10px;margin-top:16px}
.photo-actions>.primary{flex:1;min-width:0}
.photo-actions>.icon-button{padding:0;min-height:46px}
@media(max-width:760px){.table-anchor{margin-left:-33px;margin-top:-39px}}
@media(max-height:680px) and (max-width:760px){.photo-print img{max-height:42dvh}}

.pattern-picker{display:flex;align-items:center;gap:8px;min-width:0;flex:1;min-height:48px;padding:4px 8px 4px 4px;border:1px solid #bbcdbd;background:#eef5e8;border-radius:6px;text-align:left}
.pattern-picker canvas{width:40px;height:40px;image-rendering:pixelated;flex:none}
.pattern-picker>span{flex:1;min-width:0}.pattern-picker b{display:block;font-size:12px;overflow-wrap:anywhere}.pattern-picker small{display:block;margin-top:3px;font-size:9px;color:var(--muted);line-height:1.4}.pattern-picker>.ui-icon{width:14px;height:14px;flex:none}
.pattern-collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.pattern-choice{display:flex;flex-direction:column;align-items:center;gap:5px;position:relative;min-width:0;min-height:154px;padding:8px 5px;border:1px solid #cbd8cd;border-radius:6px;background:#edf3e7;text-align:center}
.pattern-choice:nth-child(3n+2){background:#f6e9ee}.pattern-choice:nth-child(3n){background:#eaf1f7}
.pattern-choice[aria-pressed=true]{border-color:#62846c;box-shadow:inset 0 0 0 1px #62846c}
.pattern-choice:disabled{opacity:1;color:#68786d}.pattern-choice:disabled canvas{opacity:.48;filter:grayscale(.65)}
.pattern-choice canvas{width:68px;height:68px;max-width:100%;image-rendering:pixelated;flex:none}
.pattern-choice b{font-size:11px;line-height:1.4}.pattern-choice small{font-size:10px;line-height:1.5;color:#6e7d73;overflow-wrap:anywhere}
.pattern-state{display:flex;align-items:center;gap:3px;font-size:9px;color:#5a7963}.pattern-state .ui-icon{width:11px;height:11px}
@media(max-width:350px){.pattern-picker{gap:5px}.pattern-picker canvas{width:32px;height:32px}.pattern-picker b{font-size:11px}.pattern-choice{min-height:148px}.pattern-choice canvas{width:60px;height:60px}.pattern-choice small{font-size:9px}}

/* Keep the cafe proportional, with independent scrolling on short screens. */
.scene-viewport{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;background:#e5e4dc}
.stage{height:100%;min-height:400px}
.side{overflow:auto;overscroll-behavior:contain;padding-top:20px}
.desktop-intro h1{font-size:22px;line-height:1.4;margin:8px 0 16px}
.action-strip{padding-top:18px;padding-bottom:18px;gap:12px}
.desktop-note{padding:14px 0;min-height:110px}
.side>.nav{position:sticky;bottom:0;background:var(--paper);margin-top:auto;flex-shrink:0;z-index:5}
.nav button[data-view=plans] .nav-art{--nav-tint:#f4eada;--nav-edge:#dbc697}
.nav button.has-reward:after{content:'';position:absolute;top:2px;left:calc(50% + 13px);width:8px;height:8px;background:#be607e;border:2px solid var(--paper);border-radius:50%;pointer-events:none}
.plan-peek{display:flex;align-items:center;gap:10px;width:100%;min-height:76px;padding:12px 0;background:transparent;text-align:left;border-bottom:1px solid var(--line)}
.plan-peek>span{flex:1;min-width:0}.plan-peek b{display:block;font-size:13px;line-height:1.5}.plan-peek small{display:block;font-size:11px;line-height:1.5;margin-top:5px;color:var(--muted)}
.plan-peek>.ui-icon{width:16px;flex:none}.plan-peek:hover{background:#edf2e8}.save-status{display:block;margin-top:12px;font-size:11px}
.plan-list{display:grid;gap:12px}.plan-row{display:grid;grid-template-columns:50px minmax(0,1fr);gap:12px;padding:16px;border:1px solid #c9d7cd;background:#eef5ea;border-radius:6px}
.plan-row:nth-child(2){background:#f8edf1}.plan-row:nth-child(3){background:#edf3f8}.plan-row.selected{border-color:#668572;box-shadow:inset 3px 0 0 #668572}
.plan-symbol{display:grid;place-items:center;align-self:start;height:50px}.plan-symbol>.pixel-icon{width:48px;height:48px}
.plan-copy{min-width:0}.plan-copy h3{font-size:15px;line-height:1.5}.plan-copy p{font-size:13px;line-height:1.6;margin:4px 0 8px;color:#5b7164;overflow-wrap:anywhere}
.plan-progress{display:flex;align-items:center;gap:10px;font-size:12px}.plan-progress progress{width:100%;min-width:0;height:7px;accent-color:#58856a}.plan-progress b{flex:none}
.plan-row>button{grid-column:2;min-height:44px;font-size:12px;gap:6px;padding:8px}.plan-row>button:disabled{opacity:1;color:#65776b;background:#ffffff57;border-color:#cfdbd0}.plan-row>button small{margin-left:auto;font-size:11px;white-space:nowrap}
.stamp-title{font-size:14px;margin:24px 0 12px}.stamp-collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px 0}
.stamp{display:flex;align-items:center;flex-direction:column;gap:8px;font-size:11px;text-align:center;color:#768579;line-height:1.5;min-width:0}.stamp>.pixel-icon{width:48px;height:48px;padding:6px;box-sizing:content-box;border:2px dashed #b9cbbb;background:#eef1e8;border-radius:6px;filter:grayscale(1)!important;opacity:.5}.stamp.collected>.pixel-icon{filter:none!important;opacity:1;border-color:#819c88;background:#f2f8e8}.stamp>.ui-icon{width:14px;height:14px}
.journal-plans{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;background:transparent;border-bottom:1px solid var(--line);padding:10px 0;text-align:left;font-size:13px}.journal-plans span{flex:1}
.stories-link b,.stories-link small{display:block}.stories-link small{font-size:12px;color:var(--muted);margin-top:5px}
.story-badge{background:#edf4fa;border-color:#a8bfcb}.story-badge>span{position:absolute;right:0;top:100%;white-space:nowrap;background:#edf4fa;border:1px solid #a8bfcb;border-radius:3px;padding:2px 4px;font-size:10px;line-height:1.3;pointer-events:none}
.chat-profile{pointer-events:auto;display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:6px 0 0;margin-top:5px;border-top:1px solid var(--line);background:transparent;color:var(--green);font-size:12px}
.regular-story-row{display:flex;align-items:center;gap:14px;min-height:112px;width:100%;padding:14px 0;border-bottom:1px solid var(--line);background:transparent;text-align:left}
.regular-story-row>canvas{width:56px;height:70px;flex:none;image-rendering:pixelated}.regular-story-row>span{flex:1;min-width:0}.regular-story-row b{display:block;font-size:16px;line-height:1.5;margin:3px 0}.regular-story-row small,.regular-story-row>span>span{display:block;font-size:12px;line-height:1.5;color:var(--muted)}.regular-story-row.story-ready>span>span{color:#945771;font-weight:650}.regular-story-row:hover{background:#edf2f1}.regular-story-row>.ui-icon{flex:none}
.guest-profile-head{display:flex;align-items:center;gap:16px;padding:6px 0 12px}.guest-profile-head .summary-portrait{margin:0;flex:none;width:72px;height:90px}.guest-profile-head>div{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}.guest-profile-head b{font-size:16px;line-height:1.5}.guest-profile-head span{font-size:13px;line-height:1.6;color:var(--muted)}.guest-profile-head .bond-hearts img{width:16px;height:16px}
.guest-biography,.guest-little-wish{font-size:16px;line-height:1.8;overflow-wrap:anywhere}.guest-little-wish{border-left:3px solid #b9ced1;padding:2px 0 2px 14px}.guest-little-wish b{display:block;font-size:12px;color:var(--muted);margin-bottom:5px}
.story-cast{display:flex;justify-content:center;gap:24px;padding:4px 0 16px;border-bottom:1px solid var(--line)}.story-cast>div{flex:1;max-width:200px;min-width:0;text-align:center}.story-cast canvas{display:block;width:66px;height:82px;margin:auto;image-rendering:pixelated}.story-cast b,.story-cast span{display:block;line-height:1.5}.story-cast b{font-size:14px;margin-top:4px}.story-cast span{font-size:12px;color:var(--muted);margin-top:4px}
.story-chapters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:16px 0}.story-chapters button{min-height:44px;padding:6px;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--line);border-radius:4px;background:transparent;font-size:13px}.story-chapters button[aria-current=step]{background:#e7eef5;border-color:#9bb9cb;color:#375567}.story-chapters .ui-icon{width:15px;height:15px;flex:none}
.chapter-title{font-size:20px;line-height:1.5;margin:18px 0 12px}.story-scene{font-size:14px;line-height:1.75;color:var(--muted);margin:12px 0 18px}.story-echo{font-size:14px;line-height:1.7;padding:4px 0 4px 12px;border-left:3px solid #b9ced1}.story-echo>b{display:block;font-size:12px;color:#58778a;margin-bottom:4px}
.story-dialogue>div{display:flex;gap:12px;align-items:flex-start;margin:14px 0}.story-dialogue canvas{width:40px;height:50px;flex:none;image-rendering:pixelated}.story-dialogue p{font-size:16px;line-height:1.75;margin:0;min-width:0;overflow-wrap:anywhere}.story-dialogue b{display:block;font-size:12px;color:#945771;margin-bottom:4px}
.story-choices{border:0;padding:18px 0 0;margin:18px 0 0;border-top:1px solid var(--line);min-width:0}.story-choices legend{font-size:13px;color:var(--muted);padding:0 8px 0 0}.story-choices button{display:flex;align-items:center;gap:12px;min-height:52px;width:100%;padding:12px 14px;border:1px solid #aac3c4;border-radius:5px;background:#edf4f4;text-align:left;margin-bottom:10px;font-size:15px;line-height:1.6}.story-choices button:nth-of-type(2){background:#faf0f3;border-color:#d7b6c3}.story-choices .ui-icon{flex:none}.story-choices button:hover{border-color:#536f69}.story-choices button:active{box-shadow:inset 0 2px 0 #32574920}
.story-reply{border-top:1px solid var(--line);padding:18px 0 0;margin-top:20px;scroll-margin:14px}.story-reply>b{font-size:13px;color:#58778a;line-height:1.6}.story-reply p{font-size:16px;line-height:1.8;margin:10px 0}.story-wait{font-size:14px;color:var(--muted);line-height:1.7;margin:20px 0}.story-kept{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.7;border-top:1px solid var(--line);padding-top:14px}.story-kept .ui-icon{flex:none}.story-keepsakes{list-style:none;margin:0;padding:0}.story-keepsakes li{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:10px 0;font-size:14px}.story-keepsakes span{flex:1}.story-keepsakes canvas{width:32px;height:40px;image-rendering:pixelated}
@media(max-width:360px){.story-chapters button{font-size:12px;gap:3px}.story-cast{gap:12px}.story-cast canvas{width:56px;height:70px}.story-dialogue>div{gap:8px}.story-dialogue canvas{width:32px;height:40px}}
.forecast .taste b{display:inline-block;margin-left:4px;color:#385b44}.forecast .taste{font-size:12px;line-height:1.5}
.event-option{flex-wrap:wrap}.event-option strong{font-size:13px;font-weight:600;flex:1;min-width:0}.event-option small{width:100%;font-size:12px;line-height:1.5;color:#587260}
.quick-footer,.two-actions,.photo-actions{position:sticky;bottom:0;background:var(--paper);padding-bottom:4px;z-index:1}
.quick-footer{box-shadow:0 -6px 0 var(--paper)}
.sheet-action{min-height:44px}.food-choice strong{font-size:12px}.food-choice span{font-size:11px}
@media(min-width:1100px){
  .modal[data-sheet=plans] .sheet{width:740px}
  .plan-row{grid-template-columns:50px minmax(0,1fr) 180px;align-items:center}.plan-row>button{grid-column:3;grid-row:1}
}
@media(min-width:761px){
  #app{max-width:min(1440px,calc((100dvh - 108px)*1.1 + 340px))}
  .game-layout{grid-template-columns:minmax(0,1fr) 320px}
  .modal.quick{left:auto;right:0;top:68px;width:320px;padding:8px;background:var(--paper);border-left:1px solid var(--line);align-items:center}
  .modal.quick .sheet{width:100%;margin:0;box-shadow:none;border:0;max-height:100%}
  .quick .sheet-head{padding:8px 8px 10px}.quick #sheet-content{padding:0 8px 12px}
  .quick-foods .food-choice strong{font-size:11px}
}
@media(min-width:761px) and (max-height:720px){
  #app{min-height:0;margin:0 auto;height:100dvh;max-width:1120px;border:0}
  .topbar{height:52px;padding:4px 16px}.game-layout{height:calc(100% - 52px);grid-template-columns:minmax(0,1fr) 288px}
  .side{padding:12px 16px 0}.desktop-intro,.desktop-menu{display:none}.desktop-note{min-height:0;flex:1;padding:4px 0 12px}
  .side>.nav{padding:8px 0;min-height:60px}.action-strip{padding:8px 0 12px}.action-copy strong{font-size:13px}
  .modal{top:52px;padding:10px}.modal.quick{top:52px;width:288px;padding:4px}
  .stage{min-height:460px}.scene-heading span:last-child{display:none}
  .quick .sheet-head h2{font-size:14px}.quick-craving .portrait{width:28px;height:36px}.quick-craving{gap:5px;flex-wrap:wrap}.quick-craving .taste-tag{font-size:10px}
}
@media(max-width:760px){
  #app{min-height:0}.scene-viewport{flex:1}.stage{min-height:360px}.side{overflow:visible;padding:0}
  .topbar{height:calc(58px + env(safe-area-inset-top));padding-top:calc(6px + env(safe-area-inset-top))}.game-layout{height:calc(100% - 58px - env(safe-area-inset-top))}.modal{top:calc(58px + env(safe-area-inset-top))}
  .nav{gap:8px;padding-left:12px;padding-right:12px}.nav button{font-size:11px}
  .action-strip{padding:8px 12px;gap:8px;min-height:72px}.action-copy strong{font-size:13px}.action-copy span{font-size:11px}
  .action-buttons{width:170px;max-width:55%}.action-buttons .primary{font-size:12px;line-height:1.4}
  .sheet-head{padding:14px 16px 10px}#sheet-content{padding-left:16px;padding-right:16px}
  .quick-foods .food-choice strong{font-size:11px}.gift-choice span{font-size:12px}.taste-tag{font-size:12px}
  .plan-row{padding:12px;gap:9px}.plan-copy h3{font-size:14px}.plan-copy p{font-size:12px}.plan-row>button{font-size:12px}
  .pattern-choice small{font-size:11px}.pattern-choice b{font-size:12px}
}
@media(min-width:761px) and (orientation:portrait){
  #app{width:min(100%,900px);max-width:none;height:100dvh;margin:0;border:0}
  .game-layout{display:flex;flex-direction:column}.scene-viewport{flex:1}.stage{min-height:420px}
  .side{padding:0;overflow:visible;flex:none;border-left:0}.desktop-intro,.desktop-menu,.desktop-note{display:none}
  .action-strip{flex-direction:row;align-items:center;padding:12px 22px;gap:16px}.action-copy{flex:1}.side .action-buttons{width:230px}
  .side>.nav{padding:6px 22px max(8px,env(safe-area-inset-bottom));gap:20px}
  .modal.quick{left:0;right:0;width:auto;top:68px;padding:0;align-items:flex-end;background:#253d2912;border:0}.modal.quick .sheet{max-width:580px;padding:12px;border:1px solid var(--line);margin:0 auto}
}
@media(max-width:760px) and (max-height:680px){
  .topbar{height:calc(52px + env(safe-area-inset-top));padding-top:calc(4px + env(safe-area-inset-top))}.game-layout{height:calc(100% - 52px - env(safe-area-inset-top))}.modal{top:calc(52px + env(safe-area-inset-top))}
  .action-strip{min-height:58px;padding:6px 10px}.action-copy strong{font-size:12px}.action-copy span{font-size:10px}
  .nav{height:calc(52px + env(safe-area-inset-bottom));padding-bottom:max(3px,env(safe-area-inset-bottom))}
  .latte-pad{width:min(210px,42dvh)}.latte-progress{padding-top:8px}.two-actions{margin-top:12px}
  .scene-camera{top:3px}.plan-row{padding:10px}.plan-copy p{font-size:12px}
}

.wardrobe-shortcut{position:absolute;right:65px;top:12px;z-index:4;background:#faf6fae8;border:1px solid #d2b6c3;box-shadow:0 2px 0 #ae8a9c25}.wardrobe-shortcut:hover{background:#f7e9ef}
.player-hit{position:absolute;z-index:3;width:56px;height:62px;margin-left:-28px;margin-top:-55px;background:transparent;display:flex;align-items:flex-end;justify-content:center;padding:0;font-size:10px;line-height:15px;color:#354f54;text-shadow:0 1px #fff;overflow-wrap:anywhere;border-radius:5px}.player-hit:hover,.player-hit:focus-visible{background:#f5fcf21f}
.player-journal canvas{width:40px;height:44px;image-rendering:pixelated}.story-style-gift{display:flex;align-items:center;gap:14px;width:100%;padding:12px 0;min-height:64px;background:transparent;text-align:left;border-bottom:1px solid var(--line)}.story-style-gift>span{flex:1;min-width:0}.story-style-gift b{display:block;font-size:14px;line-height:1.6}.story-style-gift small{font-size:12px;color:var(--muted)}
.modal[data-sheet=wardrobe] .sheet{width:760px;height:min(730px,94%)}.modal[data-sheet=wardrobe] #sheet-content{display:flex;flex-direction:column;overflow:hidden;flex:1;padding-bottom:14px}
.style-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px;min-height:0;flex:1}.style-preview{min-width:0}.style-preview>canvas{display:block;width:100%;height:auto;aspect-ratio:144/140;image-rendering:pixelated}.style-preview label{display:block;font-size:13px;color:var(--muted);margin:16px 0 7px}.style-preview input{font:inherit;font-size:16px;width:100%;height:44px;border:1px solid #b9c9c9;border-radius:4px;padding:8px 10px;color:var(--ink);background:#fff}.style-preview input:focus-visible{outline:2px solid #c987a1;outline-offset:2px}.style-preview p{font-size:16px;line-height:1.5;margin:14px 0 5px;font-weight:650}.style-preview small{display:block;font-size:13px;line-height:1.65;color:var(--muted)}
.style-controls{display:flex;flex-direction:column;min-width:0;min-height:0}.style-tabs,.photo-modes{display:flex;border-bottom:1px solid var(--line);gap:8px;margin-bottom:14px;flex:none}.style-tabs button,.photo-modes button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;flex:1;min-height:44px;font-size:14px;background:transparent;border-bottom:3px solid transparent;padding:6px}.style-tabs button[aria-pressed=true],.photo-modes button[aria-pressed=true]{color:#805567;border-color:#b97595;background:#f8edf2}.style-tabs .ui-icon{width:17px;height:17px;flex:none}
.style-options{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:2px 5px 10px}.style-options h3{font-size:13px;font-weight:500;color:var(--muted);margin:0 0 10px}.species-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:20px}.species-options button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:94px;padding:5px;border:1px solid var(--line);border-radius:5px;background:#f0f4f2;font-size:13px}.species-options canvas{width:40px;height:50px;image-rendering:pixelated}.species-options button[aria-pressed=true],.style-foods button[aria-pressed=true]{background:#e8f2f5;border-color:#688da0;box-shadow:inset 0 -2px #aac8d2}
.outfit-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.outfit-options button{display:flex;align-items:center;position:relative;gap:9px;min-width:0;min-height:62px;background:transparent;border:1px solid var(--line);border-radius:5px;font-size:13px;line-height:1.5;padding:9px;text-align:left}.outfit-swatch{display:block;width:26px;height:30px;background:var(--cloth);border:3px solid var(--trim);border-top:6px solid var(--lining);border-radius:3px;flex:none}.outfit-options button[aria-pressed=true]{border-color:#927281;background:#f8edf2}.outfit-options .ui-icon{width:12px;height:12px;position:absolute;right:3px;bottom:3px}
.accessory-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.accessory-options button{min-width:0;display:flex;align-items:center;flex-direction:column;gap:5px;padding:8px;min-height:140px;border:1px solid var(--line);border-radius:5px;background:#f1f5f2;text-align:center}.accessory-options canvas{width:58px;height:64px;image-rendering:pixelated}.accessory-options b{font-size:13px;font-weight:550;line-height:1.5}.accessory-options small{font-size:11px;color:var(--muted);line-height:1.5}.accessory-options small .ui-icon{width:12px;height:12px;vertical-align:middle;margin-right:3px}.accessory-options button.locked{background:#f4f3f6;border-style:dashed}.accessory-options button[aria-pressed=true]{border-style:solid;border-color:#977b9d;background:#f7eaf2;box-shadow:inset 0 -2px #d9bdcf}
.style-foods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:20px}.style-foods button{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;min-height:108px;padding:8px 3px;border:1px solid var(--line);border-radius:5px;background:#f3f5ec;font-size:12px;line-height:1.5}.style-foods canvas{width:52px;height:40px;max-width:100%;image-rendering:pixelated}
.style-footer{display:flex;align-items:center;gap:10px;padding-top:12px;margin-top:12px;border-top:1px solid var(--line);flex:none}.style-footer .primary{flex:1;min-width:0;min-height:48px;font-size:14px;padding:9px}.style-footer .icon-button{width:48px;height:48px}
.personal-photo{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:18px;align-items:start}.personal-photo .photo-print{padding:0;background:transparent;box-shadow:none;min-width:0}.personal-photo .photo-print img{display:block;max-height:52dvh;object-fit:contain;image-rendering:pixelated}.personal-photo .photo-print p{display:none}.photo-options{display:flex;flex-direction:column;gap:14px;min-width:0}.photo-options label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}.photo-options select{width:100%;min-height:44px;font:inherit;font-size:16px;color:var(--ink);background:#f4f6f1;border:1px solid #c1cec8;border-radius:4px;padding:5px}.photo-options>span{font-size:12px;color:var(--muted);margin-bottom:-8px}.photo-options>.secondary{min-height:44px;gap:5px;padding:8px;font-size:13px;flex-wrap:wrap}.photo-poses{display:flex;gap:3px;flex-wrap:wrap}.photo-poses button{width:44px;height:44px;background:#f0f3f0;border:1px solid var(--line);border-radius:4px;display:grid;place-items:center}.photo-poses button[aria-pressed=true]{border-color:#aa7995;background:#f9eaf2}.photo-modes{margin-bottom:12px}
@media(max-width:760px){
  .wardrobe-shortcut{right:54px;top:5px;width:44px;height:44px}.wardrobe-shortcut img{width:21px;height:21px}
  .style-layout{display:flex;flex-direction:column;gap:12px}.style-preview{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;flex:none;align-items:center}.style-preview label{margin:0 0 5px;font-size:12px}.style-preview p{font-size:14px;margin:8px 0 3px}.style-preview small{font-size:11px;line-height:1.5}.style-controls{flex:1}.style-tabs{margin-bottom:10px}.style-options{padding-top:2px}.species-options{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-bottom:16px}.species-options button{min-height:78px;padding:3px 1px;font-size:10px}.species-options canvas{width:32px;height:40px;max-width:100%}.outfit-options{gap:6px}.outfit-options button{min-height:56px;font-size:12px}.accessory-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.accessory-options button{padding:6px;min-height:134px}.accessory-options canvas{width:46px;height:51px}.accessory-options b{font-size:12px}.accessory-options small{font-size:10px}.style-footer{padding-top:9px;margin-top:9px}.style-foods button{min-height:90px}
  .personal-photo{grid-template-columns:minmax(0,1fr) 136px;gap:10px}.photo-options{gap:10px}.personal-photo .photo-print img{max-height:49dvh}.photo-poses{gap:2px}.photo-poses button{width:44px;min-height:44px}.photo-options>.secondary{font-size:12px}.photo-modes button{font-size:13px}.photo-modes .ui-icon{width:16px;height:16px}
}
@media(max-width:360px){.style-preview{grid-template-columns:88px minmax(0,1fr);gap:12px}.style-preview small{display:none}.style-preview p{font-size:13px;margin:6px 0 0}.style-tabs button{font-size:13px}.style-tabs{gap:4px}.personal-photo{grid-template-columns:minmax(0,1fr) 136px;gap:8px}.species-options{grid-template-columns:repeat(3,minmax(0,1fr))}.species-options button{min-height:74px}.accessory-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-height:520px) and (min-width:761px){.style-layout{grid-template-columns:150px minmax(0,1fr);gap:14px}.style-preview>canvas{width:105px;margin:auto}.style-preview label,.style-preview small{display:none}.style-preview input{height:36px}.style-preview p{font-size:12px;margin:5px 0}.style-footer{padding-top:6px;margin-top:6px}.style-footer .primary,.style-footer .icon-button{min-height:44px;height:44px}.species-options{grid-template-columns:repeat(6,minmax(0,1fr))}.species-options button{min-height:74px;font-size:11px}.species-options canvas{width:32px;height:40px}.personal-photo .photo-print img{max-height:43dvh}.personal-photo{grid-template-columns:minmax(0,1fr) 230px}.photo-options{gap:8px}.photo-options label{flex-direction:row;align-items:center}.photo-options select{flex:1;min-width:0}.photo-options>span{display:none}.photo-poses{display:inline-flex}.photo-options>.secondary{font-size:12px}.photo-modes{margin-bottom:8px}}
.board-shortcut{position:absolute;right:115px;top:12px;z-index:4;background:#fbf5e7e8;border:1px solid #c6ad71;box-shadow:0 2px 0 #bea46730}.board-shortcut .ui-icon{filter:invert(49%) sepia(30%) saturate(876%) hue-rotate(4deg)}.board-shortcut:hover{background:#fff2cf}
.board-stats{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:5px 0 12px;padding:18px 0}.board-stats>div{display:grid;grid-template-columns:24px 1fr;align-items:center;gap:5px 7px;padding:0 12px}.board-stats>div+div{border-left:1px solid var(--line)}.board-stats span{font-size:14px;color:var(--muted)}.board-stats strong{grid-column:1/-1;font-size:32px;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.board-stats small{grid-column:1/-1;font-size:12px;color:var(--muted)}
.board-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.board-heading h3{font-size:15px;line-height:1.5}.board-note,.board-count-note{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0 14px}.board-message,.board-empty{font-size:14px;line-height:1.6;padding:20px 10px;text-align:center;background:#edf3f3;border-radius:5px}.board-message{color:#79564f;background:#fcf1ed}.board-list{list-style:none;margin:0 0 18px;padding:0}.board-list li{display:grid;grid-template-columns:40px 40px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:64px;border-bottom:1px solid var(--line);padding:7px 4px}.board-list .podium{background:#faf6e8}.board-list .is-me{background:#e8f1eb;border-left:3px solid var(--green)}.board-rank{display:flex;align-items:center;gap:2px;font-size:14px}.board-rank img{width:17px;height:17px}.board-avatar{width:35px;height:43px;image-rendering:pixelated}.board-name{font-size:14px;overflow-wrap:anywhere}.board-name small{display:block;color:var(--green);font-size:12px}.board-list li>strong{font-size:18px;text-align:right;font-variant-numeric:tabular-nums}.board-list li>strong small{font-size:11px;display:block;color:var(--muted);font-weight:500}.board-personal{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:15px 0;font-size:14px}.board-profile{padding:15px 0 0;margin-top:12px;border-top:1px solid var(--line)}.board-profile label{font-size:14px;display:block;margin-bottom:8px}.board-profile>div{display:flex;gap:8px}.board-profile input{width:0;min-width:0;flex:1;border:1px solid #bacac3;background:white;color:var(--ink);border-radius:4px;font:inherit;font-size:16px;padding:9px 10px}.board-profile button{background:#e5eee6;border:1px solid var(--line)}.board-count-note{border-top:1px solid var(--line);padding-top:14px;margin-bottom:0}.board-summary{display:flex;width:100%;margin-top:14px}.board-summary img:last-child{margin-left:auto}.board-retry{min-height:44px}
@media(max-width:760px){.board-shortcut{right:103px;top:5px;width:44px;height:44px}.board-stats>div{padding:0 8px}.board-list li{gap:6px;grid-template-columns:35px 34px minmax(0,1fr) auto}.board-avatar{width:32px;height:40px}.board-stats strong{font-size:29px}}
@media(max-height:520px){.modal[data-sheet=board] .sheet-head{padding:10px 20px 6px}.modal[data-sheet=board] .sheet-head .eyebrow{display:none}.modal[data-sheet=board] .board-stats{padding:8px 0;margin:0 0 3px}.modal[data-sheet=board] .board-stats>div{grid-template-columns:24px 1fr auto;gap:3px 7px}.modal[data-sheet=board] .board-stats strong{grid-column:3;grid-row:1;font-size:24px}.modal[data-sheet=board] .board-stats small{grid-column:2/-1}.modal[data-sheet=board] .board-heading+ .board-note{font-size:11px;line-height:1.4;margin:0 0 6px}.modal[data-sheet=board] .board-list li{min-height:54px;padding:4px}}

/* Keep the wordmark intact; use the bundled pixel face for the game UI. */
.brand{font-family:'Avenir Next','Arial',sans-serif}.brand span{font-family:'Fusion Pixel',sans-serif;font-size:12px}
h1,h2{font-size:24px;font-weight:400;line-height:1.4}.quick .sheet-head h2{font-size:18px}
.primary,.secondary,.buy-button{font-size:14px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
.primary{border-color:#416658;background:#4d806c;box-shadow:inset 0 2px 0 #91b8a3,inset 0 -3px 0 #365e51,0 2px 0 #d0ddd4;text-shadow:0 1px #345c4c}
.primary:hover{background:#5a8b76}.primary:active:not(:disabled){background:#416e5c}
.secondary{border-color:#b4c7d1;background:#edf5f8;box-shadow:inset 0 2px 0 #fff,inset 0 -3px 0 #d6e3eb}
.secondary:hover{background:#e1eef3}.secondary:active:not(:disabled),.buy-button:active:not(:disabled){box-shadow:inset 0 2px 0 #698c862f}
.buy-button{border:1px solid #9eb9a3;box-shadow:inset 0 2px 0 #fff8,inset 0 -2px 0 #c8d9c5}
.nav button{font-size:12px;line-height:1.3}.nav-art{transition:background-color .15s,box-shadow .15s}
.nav button.active .nav-art{box-shadow:inset 0 2px 0 #fff,inset 0 -2px 0 var(--nav-edge),0 2px 0 #d6dfd6}
.nav button:active .nav-art{box-shadow:inset 0 2px 0 var(--nav-edge)}
.sheet{border:2px solid #92ab9d;box-shadow:0 4px 0 #56735f30,0 16px 40px #12291d26}
.sheet-head{background:#edf3ed;box-shadow:inset 0 3px 0 #fff,inset 0 -1px 0 #dce6db;margin-bottom:12px}
.sheet-head .icon-button{border:1px solid #b8c9bc;background:#fffefa;box-shadow:inset 0 -2px 0 #dde6d9}
.menu-slot{box-shadow:inset 0 -3px 0 #dce4d8}.menu-slot.active{background:#eaf4e6;box-shadow:inset 0 -3px 0 #c7dcbf}
.food-choice{box-shadow:inset 0 -3px 0 #ebeee9}.food-choice.selected{background:#ebf4e7;box-shadow:inset 0 0 0 1px #5b8b65,inset 0 -3px 0 #d2e2c8}
.food-choice:not(:disabled):hover{border-color:#87a493}.food-choice:active:not(:disabled){box-shadow:inset 0 2px 0 #a2b99d44}
.language-button,.wallet,.action-copy strong,.club-link b{font-size:16px}
.action-copy span,.eyebrow,.small-note,.scene-bottom,.scene-heading #shift-label,.food-choice span,.food-choice strong,.menu-slot b,.menu-slot .slot-name,.mini-combo strong,.mini-combo span,.desktop-menu h3,.face-item,.taste-tag,.note-entry small{font-size:12px;line-height:1.5}
.note-entry p,.story-scene,.request-intro p,.club-copy p{font-size:16px;line-height:1.7}
.toast{border:1px solid #769688;box-shadow:inset 0 2px 0 #6c8d7d,0 3px 0 #173b2828;font-size:14px}
@media(max-width:760px){.brand span{font-size:10px}.action-copy strong{font-size:14px}.action-buttons .primary{font-size:14px;padding:7px 8px}.sheet-head{margin-bottom:10px}.scene-bottom{font-size:12px}.scene-bottom #served-count{font-size:12px}.nav button{font-size:12px}.quick-foods .food-choice strong{font-size:12px}}
@media(max-height:520px){.quick .sheet-head{margin-bottom:5px}.quick .sheet-head h2{font-size:16px}}
