:root{--cream:#fff3d5;--ink:#332044;--gold:#ffca59}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 50% 0,#6337a3,#161332 65%);color:white;font-family:system-ui,-apple-system,Segoe UI,sans-serif}.top{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px max(16px,calc((100vw - 1160px)/2));background:#140f32}.top a{color:#fff;text-decoration:none;font-weight:800}.top button,.action,.station button,.shop button{cursor:pointer;border:0;font:inherit;font-weight:850}.top button{background:#533d86;color:white;padding:10px 14px;border-radius:12px}.wrap{max-width:1160px;margin:auto;padding:20px 14px 70px}h1{font-size:clamp(2rem,5vw,4rem);margin:8px 0;color:white;letter-spacing:-.045em}.tag{display:inline-block;font-size:.33em;vertical-align:middle;background:#ffcc55;color:#43275b;border-radius:40px;padding:8px 14px;letter-spacing:0}.lead{color:#d8d2f1;margin:0 0 20px}.hud{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:15px}.pill{background:#27214f;border:1px solid #7663b0;padding:10px 15px;border-radius:14px;font-weight:800}.game{background:linear-gradient(#ffe9b4,#ffd8a0);border:5px solid #f7bd65;border-radius:25px;overflow:hidden;color:var(--ink);box-shadow:0 30px 70px #0008}.scene-top{background:#5b316b;color:#ffeaa8;text-align:center;padding:11px;font-weight:1000;letter-spacing:.16em}.scene{position:relative;aspect-ratio:16/9;min-height:250px;background:#cce5ea;overflow:hidden}.scene canvas{width:100%;height:100%;display:block}.scene-label{position:absolute;left:12px;top:12px;background:#fff9;border-radius:12px;padding:8px 12px;font-size:12px;font-weight:900;box-shadow:0 3px 10px #0002}.scene-status{position:absolute;right:12px;top:12px;background:#291d53e8;color:white;border-radius:12px;padding:8px 12px;font-size:12px;font-weight:850}.orders{display:flex;gap:10px;overflow-x:auto;padding:12px;background:#fff0d0;min-height:95px}.order{flex:1;min-width:135px;max-width:245px;border:2px solid #e5b57c;border-radius:14px;background:white;padding:9px 12px;box-shadow:0 4px 0 #d6a16a}.order strong{font-size:14px}.order .items{font-size:24px;letter-spacing:4px}.meter{height:8px;background:#e5e3e2;border-radius:10px;overflow:hidden;margin-top:6px}.meter i{display:block;height:100%;background:#50b880}.workspace{padding:18px;background:linear-gradient(140deg,#fff4d9,#fbd4a6)}.workspace h2{font-size:1.3rem;margin:3px 0 12px}.stations{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.station{background:#fffaf2;border:2px solid #e3b278;border-radius:15px;text-align:center;padding:12px 7px;box-shadow:0 5px 0 #d7a36c}.station .foodpic{font-size:clamp(28px,4vw,44px);height:56px;display:grid;place-items:center}.station strong{display:block;font-size:14px}.station small{display:block;min-height:19px;color:#745b66}.station button{background:#8244b8;color:white;border-radius:10px;padding:11px 6px;width:100%;margin-top:7px;touch-action:manipulation}.station button:disabled{opacity:.48;cursor:not-allowed}.progress{height:9px;background:#e9d8c7;border-radius:10px;overflow:hidden;margin:7px 0}.progress i{display:block;height:100%;background:linear-gradient(90deg,#ff9b3b,#ffcc4e);width:0}.serving{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:17px;background:#fff9eb;border:2px solid #e8c18e;padding:12px;border-radius:15px}.tray{flex:1;min-width:160px;font-size:25px}.action{background:#ed298d;color:white;border-radius:12px;padding:13px 17px;box-shadow:0 4px 0 #b91868}.action.secondary{background:#60408d;box-shadow:none}.action:disabled{opacity:.5;cursor:not-allowed}.shop{background:#fff3d6;border-top:3px solid #e7ba75;padding:20px}.shop h2{margin:0 0 10px}.shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.shop button{background:#fff;border:2px solid #d2a978;border-radius:13px;padding:13px;text-align:left;color:#402950;min-height:88px}.shop button b,.shop button span{display:block}.shop button span{font-size:12px;font-weight:500;color:#765b74;margin-top:4px}.shop button:disabled{opacity:.52;cursor:not-allowed}.message{margin:14px 0;padding:14px 17px;background:#392758;color:#fff1d7;border-radius:12px;font-weight:700}.footer{color:#ddd0f3;text-align:center;margin:25px}.footer a{color:#fff}.overlay{position:fixed;inset:0;background:#090619c9;display:grid;place-items:center;z-index:20;padding:18px}.modal{max-width:560px;width:100%;background:linear-gradient(145deg,#fff1c7,#fbcfa0);color:#432a55;text-align:center;padding:30px;border:6px solid #ffcf62;border-radius:28px;box-shadow:0 25px 100px #0009}.modal h2{font-size:clamp(2rem,5vw,3.4rem);margin:10px 0}.modal p{line-height:1.5}.hidden{display:none!important}.team{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.worker{background:#f5d7ff;border-radius:12px;padding:7px 12px;font-size:13px;font-weight:800}@media(max-width:650px){.scene{aspect-ratio:4/3}.stations{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.station .foodpic{height:43px}.scene-label{font-size:10px}.wrap{padding:12px 8px 40px}.game{border-width:3px}.serving .action{flex:1}.top{font-size:12px}}
