/* Scene-first service and a coherent progression journal. */
.in-cafe .topbar{padding-top:10px;padding-bottom:5px;min-height:54px}.in-cafe .brand h1{font-size:27px}.in-cafe .brand .ribbon{display:none}.in-cafe .wallet{padding-top:5px;padding-bottom:7px}.in-cafe .statusline{padding-top:5px;padding-bottom:8px}.in-cafe .scene{aspect-ratio:auto;height:clamp(370px,calc(100svh - 320px),660px)}.in-cafe .daily-tag{display:none}.in-cafe .daily-gift{font-size:9px;padding:7px;width:57px;margin-left:auto}.in-cafe .scene-top{justify-content:flex-end;pointer-events:none}.in-cafe .scene-top button{pointer-events:auto}.in-cafe .scene-caption{top:23%;font-size:9px}.in-cafe .scene-tools{top:39%;gap:8px}.in-cafe .scene-tool{width:48px;font-size:11px;padding:6px 3px}.in-cafe .scene-tool>span{font-size:24px}.in-cafe .order-strip{display:none}.in-cafe .cat{width:22%;max-width:102px}.in-cafe .cat-name{font-size:8px}.in-cafe .cat-bubble{font-size:13px;padding:5px 7px}.in-cafe .floor-note{font-size:8px;bottom:8px}.in-cafe .service-label{bottom:26px}#chapter-ribbon{position:absolute;left:10px;top:12px;width:calc(100% - 88px);z-index:161;display:flex;align-items:center;gap:8px;border:1px solid #b99d71;border-radius:15px;background:#fff6e4ed;box-shadow:0 3px 0 #705f4222;padding:10px;text-align:left;color:#6e5b3b}#chapter-ribbon .chapter-book{font-size:28px;color:#97825a}#chapter-ribbon small{display:block;font-size:8px;color:#9d8966;margin-bottom:5px}#chapter-ribbon b{font-size:12px}#chapter-ribbon em{font-style:normal;font-size:10px;margin-left:auto;white-space:nowrap;color:#b17c41}#quick-service{padding:10px 12px}#quick-ticket{width:100%;display:flex;align-items:center;gap:10px;border:1px solid #b9a278;border-radius:14px;background:#fdf1d7;padding:12px;text-align:left;box-shadow:0 3px 0 #d8c4a64d}#quick-ticket>span{font-size:26px;color:#cc8c4a}#quick-ticket div{flex:1}#quick-ticket b{display:block;font-size:12px;margin-bottom:5px}#quick-ticket small{font-size:9px;color:#9b8460}#quick-ticket em{font-size:11px;font-style:normal;color:#b17a3b}.service-dialog{position:fixed;top:auto;bottom:0;margin:0 auto;width:min(100%,480px);max-width:480px;max-height:85svh;border:1px solid #ae936d;border-bottom:0;border-radius:25px 25px 0 0;background:#fff8e9;padding:25px 20px max(22px,env(safe-area-inset-bottom));box-shadow:0 -12px 50px #51452d33;overflow-y:auto}.service-dialog::backdrop{background:#443b2b77;backdrop-filter:blur(2px)}.sheet-grip{width:36px;height:4px;background:#d3c4aa;border-radius:5px;position:absolute;top:9px;left:calc(50% - 18px)}.sheet-close{position:absolute;right:14px;top:17px;background:#f1e4cc;border:0;border-radius:50%;width:30px;height:30px;font-size:23px;color:#857255}.service-head{display:flex;gap:12px;align-items:center;padding-right:12px}.service-head>div{width:88px;height:94px;flex-shrink:0}.service-head .sprite{display:block;width:100%;height:100%}.service-head small{font-size:9px;color:#ac8c62}.service-head h2{font:23px KaiTi,serif;margin:7px 0}.service-head p{font-size:10px;line-height:1.7;color:#967d5a}.service-steps{display:flex;justify-content:space-between;gap:5px;margin:20px 0;padding:14px 0;border-block:1px dashed #dccaa9}.service-steps span{font-size:9px;display:flex;align-items:center;gap:5px;color:#baa98d}.service-steps i{font:10px sans-serif;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#ede3d1}.service-steps .done{color:#7d8b57}.service-steps .done i{background:#939e6b;color:#fff}.service-meal{display:flex;align-items:center;gap:10px;background:#f7ebd5;border:1px solid #e1cea9;border-radius:16px;padding:14px 10px}.service-meal .food-art{width:85px;height:85px;flex-shrink:0}.service-meal h3{font-size:18px;margin:4px 0}.service-meal p{font-size:10px;color:#9a825e}.service-meal b{display:block;font-size:12px;color:#ad7e40}.service-meal b small{font-size:8px;display:block;margin-top:6px;font-weight:normal}.service-bottom{margin-top:18px;text-align:center}.service-bottom>small{display:block;font-size:10px;margin-bottom:12px;color:#a48b64}.service-bottom>.btn{width:100%;font-size:18px;padding:14px}.service-supply{display:block;margin:18px auto 0;border:0;background:none;font-size:10px;color:#9c825c;text-decoration:underline;text-underline-offset:4px}.cooking-feedback{display:flex;justify-content:center;align-items:center;gap:17px;min-height:90px;border-radius:17px;background:#e9edda;color:#7c895a}.cooking-feedback b,.cooking-feedback small{display:block}.cooking-feedback b{font-size:15px}.cooking-feedback small{font-size:11px;margin-top:8px}.steam{font-size:43px;animation:steam-rise 1.5s ease-in-out infinite}.ready-label{display:block;font-size:13px;color:#8a9464;margin:8px 0 15px}.service-done{text-align:center;padding:30px 0}.service-done p{font-size:12px}.reward-burst{position:fixed;left:50%;top:70%;z-index:3000;pointer-events:none}.reward-burst i{position:absolute;font-style:normal;color:#e7b454;text-shadow:0 1px white;font-size:24px;animation:reward-pop 1.25s ease-out forwards}.home-journal{display:flex;flex-direction:column;gap:6px;text-align:left;border:1px dashed #c5a87a;border-radius:13px;padding:12px;width:88%;margin:12px auto;background:#fbf0d9}.home-journal span{font-size:10px;color:#ac8a5b}.home-journal b{font-size:13px;color:#7d704c}.journal-tabs{display:flex;gap:6px;margin-bottom:20px}.journal-tabs button{flex:1;padding:10px 5px;border:1px solid #ccb793;border-radius:10px;background:#fcf1dd;font-size:11px}.journal-tabs .active{background:#899462;color:#fff9e9}.chapter-timeline{position:relative}.chapter-timeline:before{content:'';position:absolute;left:26px;top:20px;bottom:20px;border-left:2px dashed #d2bf9d}.chapter-card{position:relative;display:flex;gap:13px;margin:0 0 15px;padding:16px 12px;background:#fff8e9;border:1px solid #d6c3a0;border-radius:16px}.chapter-card.future{opacity:.65}.chapter-card.current{border:2px solid #b8a065;box-shadow:0 5px 0 #d8c59b38}.chapter-number{width:31px;height:31px;flex-shrink:0;background:#e8dcc5;border-radius:50%;display:grid;place-items:center;font:13px Georgia;color:#97835c}.current .chapter-number{background:#d49b58;color:white}.completed .chapter-number{background:#96a371;color:white}.chapter-card small{font-size:8px;color:#a68e65}.chapter-card h3{font-size:18px;margin:6px 0}.chapter-card p{font-size:11px;line-height:1.8;margin:5px 0}.chapter-reward{font-size:10px;color:#b08542;margin:10px 0}.chapter-card .meter{margin:13px 0}.chapter-card .btn{font-size:12px;padding:10px 16px}.journal-shortcut{display:block;background:#ece9d0;border:1px solid #b8ae80;border-radius:12px;padding:12px;width:100%;text-align:left;margin-bottom:18px;font-size:14px}.journal-shortcut span{display:block;font-size:9px;margin-top:5px;color:#8e805e}.commission-card .meter{margin:15px 0}.commission-card small{font-size:9px;color:#a68e67}.commission-card p{font-size:12px}.regular-card{display:flex;align-items:center;gap:18px}.regular-card>div{width:93px;height:103px;flex-shrink:0}.regular-card .sprite{display:block;width:100%;height:100%}.regular-card>span{flex:1}.regular-card small{font-size:9px;color:#a18256}.regular-card h3{font-size:22px;margin:7px 0}.regular-card p{font-size:11px}.party-3d{max-width:600px;background:#b6e4ec}.party-3d .race-top{color:#3e6a7a}.party-3d .race-top small{font-size:11px}.party-3d .race-top>div:nth-child(2){background:#fffcf0ed;border-radius:17px}.party-3d .race-place{border:2px solid white}.party-3d .race-banner{top:116px;padding:9px;font-size:11px;background:#ffffffca}.party-3d .race-controls{bottom:max(35px,env(safe-area-inset-bottom))}.party-3d #party-stick{background:#fff5;backdrop-filter:blur(3px);width:120px;height:120px}.party-3d #party-dash.cooling{filter:saturate(.4);opacity:.75}.race-countdown{position:absolute;top:36%;left:0;right:0;text-align:center;font:bold 90px/1.2 Georgia;color:#fff4c8;-webkit-text-stroke:2px #d39a69;text-shadow:0 7px 0 #ce977766;pointer-events:none}.race-countdown[hidden]{display:none}.party-3d .race-result h2{font-size:26px}.party-3d .race-result .medal{font-size:46px}.party-3d .race-progress{background:#fff9;top:99px}.party-3d .race-progress i{background:#e7a56c}
@keyframes steam-rise{50%{transform:translateY(-5px);opacity:.6}}@keyframes reward-pop{to{transform:translate(var(--dx),var(--dy)) rotate(var(--rot));opacity:0}}
@media(max-width:350px){.service-dialog{padding-inline:14px}.service-head>div{width:70px;height:82px}.service-head h2{font-size:20px}.service-steps span{font-size:8px}.in-cafe .brand h1{font-size:25px}#chapter-ribbon{gap:5px;padding:8px}#chapter-ribbon b{font-size:10px}#chapter-ribbon em{font-size:9px}.party-3d #party-stick{width:102px;height:102px}.party-3d .race-buttons button:last-child{width:78px;height:78px}}
