/* Visual system derived from the approved PDF concept. */
body{background:radial-gradient(ellipse at 50% 0,#fff9ec,#fff4ef 62%,#f8e5ee);color:#673d53}.site-bar{border:0;padding:12px 28px;max-width:1500px}.site-bar .brand{color:#663557}.site-account{color:#845778;font-size:12px;text-decoration:none;margin-left:auto}.site-bar .tag{margin-left:0}.game-title{text-align:center;padding:6px 12px 15px}.game-title h1{font-size:clamp(26px,4.4vw,67px);line-height:1.15;letter-spacing:2px;margin:0;color:#512626;-webkit-text-stroke:1px #512626;text-shadow:0 3px #fff,3px 4px #efcec3,-3px -2px #fff}.game-title p{font:900 clamp(10px,1.7vw,23px) system-ui;letter-spacing:5px;color:#9e6751;margin:6px 0 0}.stage{position:relative;max-width:1672px;margin:auto;border:5px solid #fff6ee;border-radius:30px;overflow:hidden;box-shadow:0 12px 40px #b98b7330;background:#ecd1bd}.game-wrap{max-width:none;margin:0;border:0;border-radius:0;background:none}canvas{height:auto;min-height:0;width:100%;aspect-ratio:1672/941}.hud{position:absolute;top:17px;left:1.4%;right:1.4%;z-index:3;max-width:none;padding:0;gap:10px;margin:0;align-items:flex-start;pointer-events:none}.hud>*{pointer-events:auto}.hud-brand,.hud .level,.hud .timer,.team-count,.delivery-count{background:linear-gradient(#ad81b9ed,#765184ed);color:#fff7ed;border:3px solid #f2cfeb;border-radius:40px;box-shadow:inset 0 0 0 2px #bc9ac8,0 4px 8px #65495036;text-shadow:0 2px 2px #65426c;padding:9px 19px;white-space:nowrap}.hud-brand{font:bold clamp(15px,2.1vw,30px) system-ui;text-decoration:none}.hud .level{flex:0 1 auto;margin-left:auto;padding:5px 17px;border-radius:40px 0 0 40px;border-right:0;margin-right:-14px}.hud .level .eyebrow{font:900 clamp(12px,1.5vw,22px) Meow,system-ui;color:#fff6ee;letter-spacing:1px}.hud .level b{font-size:10px;margin:0;opacity:.8}.hud .timer{border-left:0;border-radius:0 40px 40px 0;font-size:clamp(19px,2.5vw,35px);padding:6px 22px 8px 14px;letter-spacing:3px}.team-count,.delivery-count{font-size:clamp(14px,1.8vw,26px);font-weight:900;padding:11px 16px}.hud .score{display:none}.hud .quiet{min-height:36px;padding:6px 10px;border:2px solid #f5e2ed;background:#fff5eceb;color:#7a4e63;font-size:12px}.objectives{top:86px;left:20px;gap:6px}.objectives span{background:#fff7edeb;border:1px solid #d5b7c4;color:#775065;padding:7px 12px;font-size:11px}.objectives .done{background:#ccf1d8;color:#397a56}.controls{position:absolute;inset:0;max-width:none;padding:0;pointer-events:none}.controls button{pointer-events:auto}.dpad{position:absolute;left:3%;bottom:5%;width:150px;height:150px;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:0;border-radius:50%;background:#c49d9880;border:5px solid #fff2e5;box-shadow:0 5px 15px #6a48353a,inset 0 0 0 5px #dfc5bc80;backdrop-filter:blur(2px)}.dpad::after{content:'';position:absolute;width:48px;height:48px;left:46px;top:46px;border:4px solid #fff6ee;border-radius:50%;background:radial-gradient(at 35% 25%,#fffdf1,#e6d3c7);box-shadow:0 5px 8px #8e6b6555;pointer-events:none}.dpad button{background:none;border:0;color:#fff7ed;text-shadow:0 3px 2px #97796f;font-size:28px;padding:0;min-height:0;border-radius:50%;box-shadow:none}.dpad button[data-dir=up]{grid-column:2;grid-row:1}.dpad button[data-dir=left]{grid-column:1;grid-row:2}.dpad button[data-dir=down]{grid-column:2;grid-row:3}.dpad button[data-dir=right]{grid-column:3;grid-row:2}.dpad button.pressed{background:#fff4ce88}.actions{position:absolute;bottom:4%;right:2.5%;gap:17px}.actions button{width:145px;height:145px;padding:10px 4px;border-radius:50%;border:5px solid #fff6ee;color:#fff9ec;text-shadow:-2px -2px #547965,2px 2px #547965;font-size:30px;line-height:1.05;box-shadow:inset 0 0 0 5px #ffffff70,0 7px 0 #729b7e,0 12px 24px #77574850}.actions #grab{background:radial-gradient(at 30% 20%,#bdf4d8,#71cfa4 75%);border-color:#fff9df}.actions #dash{background:radial-gradient(at 30% 20%,#ffb9d7,#e873a5 75%);box-shadow:inset 0 0 0 5px #ffffff70,0 7px 0 #be5f8c,0 12px 24px #77574850;text-shadow:-2px -2px #9a4d76,2px 2px #9a4d76}.actions button span{display:block;font-size:42px;line-height:1.1;margin-bottom:5px}.actions small{font-size:9px;text-shadow:none;opacity:.9;margin-top:6px}.emotes{position:absolute;bottom:4%;left:50%;transform:translateX(-50%);max-width:34%;width:auto;flex-wrap:nowrap;gap:4px}.emotes button{background:#fff3e7e6;border:1px solid #cfa9b9;color:#8b5c75;padding:6px 10px;min-height:35px;white-space:nowrap;font-size:10px}#event{bottom:12%;font-size:12px;border:2px solid #ead3b5;background:#fffaece8;max-width:42%;color:#835944}#connection{top:90px;bottom:auto;right:20px;font-size:9px;background:#fff8edcc;color:#876e63}#finish{top:130px;border:2px solid #fff4d2;background:#9be3bd}.keyboard-tip{padding:13px 12px 2px;color:#a27b6a}.meow-dock{display:flex;gap:28px;justify-content:center;padding:22px 15px 5px}.meow-dock a{color:#98718b;text-decoration:none;font-size:12px}.community-link{display:block;padding:18px;color:#92648c}.cat-sprite{background-image:url(cats-atlas.png);background-repeat:no-repeat;background-size:200% 200%;display:inline-block;width:100px;height:100px}.cat-0{background-position:0 0}.cat-1{background-position:100% 0}.cat-2{background-position:0 100%}.cat-3{background-position:100% 100%}.cats button span.cat-sprite{width:100%;height:auto;aspect-ratio:1;max-width:100px;margin:auto}.cats button{background:#fff9f3;border-color:#ebd6df;padding:4px 4px 10px}.cats button.selected{padding:3px 3px 9px;background:#e8f9eb;border-color:#86c9a4}.setup{border:3px solid #edd3e4;background:#fff9f5e8;box-shadow:0 6px 0 #e5c8de,0 20px 60px #b989ab1a}.setup>.primary,.room-actions>.primary{background:linear-gradient(#b9f0d4,#8bd6b2);border:3px solid white;box-shadow:0 5px 0 #6fb28d;color:#3b6851;text-shadow:0 1px white;font-size:19px}.intro h1{color:#66304e;text-shadow:3px 3px #fff,-2px -2px #fff,0 6px #e9c4d5}.intro h1 em{color:#955578}.hero-art{border-radius:25px;border:5px solid #fff6ef;height:320px;box-shadow:0 7px 0 #e8cfce;background-position:center}.intro .eyebrow{color:#b08a80}.intro p{color:#9c7777}#lobby{gap:38px;margin-top:24px}.seats{background:linear-gradient(#fff0, #fff2ddcf),url(room-art.png) center 45%/cover;border-radius:35px;padding:90px 18px 15px;border:4px solid #fff9ef}.seat,.seat.ready{border:0;background:#fff6eeeb;border-radius:25px;box-shadow:0 5px 0 #c9aaad40;padding:0 8px 18px}.seat .avatar{width:150px;height:150px;max-width:100%;margin-top:-60px;margin-bottom:0}.seat.empty{border:2px dashed #fff5e8;background:#fff5ee7a}.seat.empty .avatar{padding-top:55px;font-size:55px;color:white}.seat.ready small{color:#459469}.seat b{font-size:14px}.invite-bar{background:linear-gradient(#eedaef,#dcc1e6);border:3px solid #fff4fa;box-shadow:0 4px 0 #d0b0db;color:#81517d}.result-cats{display:flex;justify-content:center;background:url(room-art.png) center 60%/cover;border:4px solid #fff3e8;border-radius:35px;padding:60px 8px 10px;margin:20px 0;overflow:hidden}.result-cats .cat-sprite{width:135px;height:135px;flex:1;max-width:135px}#result{background:linear-gradient(#f8dfed,#fff4ee);padding:25px;border:4px solid #ead0e3;border-radius:40px;box-shadow:0 9px 0 #d9b5d0}#result h1{color:#6a2a52;text-shadow:2px 2px white}#stars{text-shadow:0 3px #bf8f37;color:#ffd364}.result-score{border-radius:40px;background:#e3c6ed;border:2px solid #d0a8da;padding:12px}.result-score b{color:#6e376e;font-size:48px}.result-note{background:#fff8f2;color:#9e778c}.site-bar .paw{background:#f3dfec}.site-bar .brand small{color:#b98e9e}body[data-screen=play] .meow-dock,body[data-screen=play] footer{display:none}
@media(max-width:850px){.site-bar{padding:10px 14px}.site-bar .tag{display:none}.site-bar .brand small{display:none}.site-account{font-size:10px}.stage{border:2px solid #fff7ee;border-radius:18px}.hud{top:10px;gap:4px}.hud-brand{display:none}.hud .level{margin-left:0;padding:4px 10px}.hud .timer{padding:5px 12px;font-size:23px}.team-count,.delivery-count{font-size:14px;padding:10px;border-width:2px}.hud .level .eyebrow{font-size:14px}.hud .quiet{padding:5px;min-height:30px;font-size:10px}.objectives{top:68px;left:12px}.objectives span{font-size:9px;padding:5px 8px}#connection{top:100px;right:12px;font-size:8px}.dpad{width:132px;height:132px;left:4%;bottom:7%}.dpad::after{width:44px;height:44px;left:39px;top:39px}.actions{right:4%;bottom:7%;gap:10px}.actions button{width:113px;height:113px;font-size:25px;min-width:0}.actions button span{font-size:30px}.emotes{bottom:2%;max-width:85%;width:85%;flex-wrap:nowrap}.emotes button{flex:1;font-size:10px;padding:5px 8px}#event{bottom:26%;max-width:80%;width:max-content;font-size:11px;padding:7px 14px}.game-title{padding:8px 5px 12px}.game-title h1{font-size:32px}.game-title p{font-size:11px;letter-spacing:3px}.hero-art{height:225px}.seat .avatar{height:140px;width:140px}.seats{gap:65px 10px;padding:80px 12px 15px}.seats .seat{min-height:125px}.result-cats .cat-sprite{height:auto;aspect-ratio:1}.meow-dock{gap:20px}.intro .chips span{font-size:11px}#lobby{margin-top:10px}.art-caption{display:none}}
@media(max-width:700px) and (orientation:portrait){canvas{height:65svh;min-height:460px;aspect-ratio:auto}.hud .level{display:none}.hud .timer{border-left:2px solid #f2cfeb;border-radius:30px;font-size:22px;padding:6px 12px}.hud .team-count{margin-left:auto}.hud .delivery-count{font-size:12px;padding:10px 8px}.hud .quiet{font-size:10px}.dpad{width:120px;height:120px;left:4%;bottom:9%}.dpad::after{width:40px;height:40px;left:35px;top:35px}.actions button{width:89px;height:89px;font-size:20px;border-width:3px;box-shadow:inset 0 0 0 3px #ffffff70,0 5px 0 #729b7e}.actions button span{font-size:23px;margin:0}.actions small{font-size:8px;margin-top:3px}.actions{bottom:10%;right:3%;gap:8px}.game-title h1{font-size:28px}.game-title p{font-size:9px}#finish{top:130px;font-size:11px}.keyboard-tip{font-size:10px}.site-account{max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand{font-size:18px}}
@media(max-height:520px) and (orientation:landscape){body[data-screen=play] .site-bar,body[data-screen=play] .game-title,body[data-screen=play] .keyboard-tip{display:none}canvas{height:100svh;min-height:0;aspect-ratio:auto}.stage{border:0;border-radius:0}.dpad{width:106px;height:106px;bottom:6%}.dpad::after{width:32px;height:32px;left:32px;top:32px}.actions{bottom:6%}.actions button{width:100px;height:100px;font-size:23px}.actions button span{font-size:27px}.emotes{bottom:3%;max-width:35%}#event{bottom:17%}.objectives{top:65px}#connection{top:63px}.hud-brand{display:none}.hud .level{margin-left:0}.hud{gap:7px}.hud .timer{font-size:23px}.team-count,.delivery-count{font-size:16px;padding:9px 13px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* The title uses the actual approved artwork strip, preserving its lettering exactly. */
.game-title{position:relative;max-width:1672px;width:100%;height:auto;aspect-ratio:1672/130;padding:0;margin:0 auto;background:url(concept.png) center top/100% auto no-repeat}.game-title h1,.game-title p{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.actions #grab span{width:52px;height:49px;margin:0 auto 3px;background:url(furniture-atlas.png) 0 100%/300% 200% no-repeat;color:transparent;text-shadow:none}.actions #dash span{width:55px;height:53px;margin:0 auto;background:url(cats-atlas.png) 0 0/200% 200% no-repeat;color:transparent;text-shadow:none}
@media(min-width:851px){body[data-screen=play] .stage,body[data-screen=play] .game-title{max-width:min(1672px,calc((100svh - 185px)*1.777))}.site-bar{padding-top:9px;padding-bottom:9px}}
@media(max-width:700px) and (orientation:portrait){.game-title{min-height:57px;background-size:130% auto;background-position:center top}.actions #grab span{width:31px;height:29px;margin-bottom:0}.actions #dash span{width:32px;height:30px}}
/* Shared economy: scoped to the game, no global theme overrides. */
.economy-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;border-top:1px dashed #d6b9bd;padding-top:14px}.economy-links a{color:#755069;font-weight:800;text-decoration:none;padding:9px 11px;border-radius:18px;background:#fff8ef}.economy-links button{font:inherit}#wallet-summary{margin:12px 0 0;font-size:12px}#result-rewards{white-space:pre-line;line-height:1.8}#shop-dialog{width:min(900px,94vw);max-width:94vw;max-height:86dvh;overflow:auto;border:4px solid #d3b5d2;border-radius:28px;background:#fff8f0;color:#74475e;padding:28px}#shop-close{float:right}#shop-dialog h2{font-size:clamp(23px,4vw,34px);margin:12px 0}#shop-dialog .eyebrow{display:block;clear:both;padding-top:14px}.mmp-products{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}.mmp-products article{background:#fff;border:1px solid #ead9d4;padding:20px;border-radius:24px}.mmp-products p{font-size:14px;line-height:1.7;min-height:100px}.shop-spark{display:block;font-size:48px;color:#c994b3}.shop-balance{font-weight:800}.mmp-glow .stage{box-shadow:0 0 0 5px #ecd9ff,0 0 32px #e8cbff}.mmp-framed{border:8px double #dab485!important;background:linear-gradient(140deg,#fff7ed,#fbe6ef,#eaf8e9)!important}.mmp-celebrating #result::before{content:'✦  ✧  ♡  ✦  ✧';display:block;color:#db9bba;font-size:60px;animation:mmp-party 2s ease-out both}@keyframes mmp-party{from{transform:scale(.6);opacity:0}30%{opacity:1}to{transform:scale(1.15) translateY(-20px);opacity:0}}@media(max-width:600px){.mmp-products{grid-template-columns:1fr}.mmp-products p{min-height:0}#shop-dialog{padding:18px}.economy-links{font-size:13px}}@media(prefers-reduced-motion:reduce){.mmp-celebrating #result::before{animation:none}}
