/* The Treat Shop — earned coins only. */
.wallet-button{display:flex;align-items:center;gap:10px;border:1px solid #ba8a48;background:#fff0c4;box-shadow:0 2px 0 #ccaa70;color:#86521f;padding:10px 12px;white-space:nowrap}.wallet-button>span{font-family:Pixel,monospace;font-size:8px}.wallet-button b{font-family:monospace;font-size:13px}.header-right{gap:20px}.coin-cell strong{font-size:13px;color:#ffd766}.power-status{position:absolute;right:12px;top:12px;font:bold 10px monospace;color:#fff5d7;background:#755036de;padding:6px 8px;pointer-events:none;max-width:65%;line-height:1.5}.power-status:empty{display:none}.earnings-receipt{border:1px dashed #d8b56d;background:#fff0ca;padding:10px;margin:10px 0;display:grid;gap:6px}.earnings-receipt strong{font-family:Pixel;font-size:10px;color:#ae6f21;line-height:1.6}.earnings-receipt span{font-size:8px;color:#97713a;letter-spacing:.6px}.earnings-receipt .text-button{margin:0!important;font-size:10px!important;padding:3px}.results-card{padding:16px 24px}.results-card h2{margin:8px 0;font-size:17px}.results-card .result-score{margin:8px 0;gap:8px}.results-card .result-score strong{font-size:30px}.results-card .result-stats{margin-top:8px;padding:10px 0}.results-card .record-message{margin:7px 0}.results-card .text-button{margin-top:7px}.bonus-rules{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.bonus-rules>span{display:flex;flex-wrap:wrap;align-items:center;gap:6px;background:#fff6df;border:1px dashed #d4bd91;padding:10px;font-size:10px;color:#886a46}.bonus-rules canvas{width:32px;height:36px;image-rendering:pixelated}.bonus-rules b{font-family:Pixel;font-size:7px}.imp-note{display:flex;gap:16px;align-items:center;margin-top:16px;padding:12px 20px;border:1px solid #d9c8b4;background:#f2e9f9}.imp-note canvas{width:65px;height:69px;image-rendering:pixelated;flex-shrink:0}.imp-note b{font-family:Pixel;font-size:8px;line-height:1.8;color:#7b5c88}.imp-note p{font-size:11px;line-height:1.7;color:#917791;margin:7px 0 0}#shop-dialog{max-width:840px;width:calc(100% - 32px);max-height:90vh;overflow:auto}.shop-content{padding:28px 30px;position:relative}.shop-heading{display:flex;align-items:center;justify-content:space-between;padding-right:16px;gap:14px}.shop-heading .mini-label{margin-bottom:8px}.shop-heading h2{font-family:Pixel;font-size:22px;line-height:1.7;margin:0;color:#703b27}.shop-wallet{display:flex;flex-direction:column;text-align:right;gap:10px;white-space:nowrap}.shop-wallet>span{font-size:8px;letter-spacing:1.5px;color:#ad8248}.shop-wallet strong{font-family:Pixel;font-size:22px;color:#b67c26}.shop-wallet small{font-size:10px;color:#9f825d}.shop-note{color:#a38563;font-size:10px;margin:15px 0 20px;line-height:1.8}.shop-tabs{display:flex;border-bottom:2px solid #ddc49e}.shop-tabs button{flex:1;border:0;background:#f3e6d0;padding:14px 5px;color:#956b43;font-family:Pixel;font-size:8px;border-bottom:3px solid transparent}.shop-tabs button[aria-selected=true]{background:#f7ddb0;color:#8d432b;border-color:#ce4c2e}.shop-message{font-size:11px;color:#9d754a;min-height:37px;padding:12px 0 9px;line-height:1.6}.shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.shop-card{border:1px solid #ddc6a3;background:#fffcf4;padding:11px;display:flex;flex-direction:column;min-width:0}.shop-card.equipped{border:2px solid #b78c43;padding:10px;background:#fff2d0}.shop-item-art{height:120px;background:#f4e7cc;display:flex;align-items:center;justify-content:center;overflow:hidden}.shop-item-art img{width:100%;height:100%;object-fit:cover;image-rendering:pixelated}.shop-item-art canvas{max-width:100%;height:115px;image-rendering:pixelated}.shop-card h3{font-size:15px;line-height:1.4;margin:13px 0 6px;font-family:Georgia,serif}.shop-card p{font-size:10px;line-height:1.7;color:#a0815b;min-height:34px;margin:0 0 12px}.item-price{font-family:monospace;font-size:10px;font-weight:bold;color:#b57e2f;margin-top:auto;padding:8px 0}.small-button{border:1px solid #a86733;background:#f2d294;box-shadow:0 2px 0 #b58048;color:#764421;padding:10px 8px;font-family:Pixel;font-size:7px;line-height:1.8}.small-button:hover:not(:disabled){background:#f9dea9}.small-button:disabled{opacity:.7;background:#edddbc;box-shadow:none;border-color:#c0a478}.custom-color-panel{margin-top:15px;padding:12px;background:#f6eafa;border:1px solid #d8c2e1;display:flex;align-items:center;justify-content:space-between;gap:12px}.custom-color-panel label{font-family:Pixel;font-size:7px;line-height:1.8;color:#835c8b}.custom-color-panel input{width:55px;height:35px;border:1px solid #c3aacd;background:#fff}.custom-color-panel canvas{width:35px;height:42px;image-rendering:pixelated}.shop-rumour{display:flex;gap:16px;align-items:center;background:#f3eaf8;border:1px dashed #cdb6d3;padding:12px;margin:22px 0}.pup-lineup{display:flex;flex-shrink:0;gap:0}.pup-lineup canvas{width:48px;height:54px;image-rendering:pixelated}.shop-rumour b{font-family:Pixel;font-size:7px;line-height:2;color:#89658f}.shop-rumour p{font-size:10px;line-height:1.8;color:#987c9c;margin:6px 0 0}.shop-done{display:flex;margin:0 auto;font-size:9px}.wallet-button:focus-visible,.small-button:focus-visible,.shop-tabs button:focus-visible{outline:3px solid #b94c2e;outline-offset:3px}@media(max-width:1100px){.open-sign{display:none}.scoreboard{gap:15px}.coin-cell strong{font-size:11px}.shop-heading h2{font-size:19px}}@media(max-width:800px){.bonus-rules{gap:8px}.bonus-rules>span{font-size:9px;gap:5px;padding:8px}.bonus-rules canvas{width:28px;height:32px}.shop-content{padding:24px}.results-card{max-width:440px}.results-card h2{font-size:16px}.results-card .result-score strong{font-size:30px}}@media(max-width:520px){.header-right{gap:10px}.wallet-button{padding:8px;gap:6px}.wallet-button>span{font-size:6px}.wallet-button b{font-size:10px}.site-header .brand{font-size:8px}.brand small{font-size:5px;letter-spacing:.9px}.brand-mark{font-size:26px}.header-right .text-button{font-size:10px}.header-right .text-button span{margin-left:0}.best-cell{display:none}.coin-cell strong{font-size:11px}.scoreboard{gap:16px}.power-status{font-size:7px;top:9px;right:9px;padding:5px;max-width:65%}.bonus-rules{grid-template-columns:1fr}.bonus-rules>span{font-size:10px;gap:10px}.bonus-rules canvas{width:34px;height:38px}.imp-note{padding:12px;gap:10px}.imp-note b{font-size:6px}.imp-note p{font-size:10px}.imp-note canvas{width:50px;height:54px}.shop-content{padding:22px 15px}.shop-heading{gap:8px;padding-right:8px;align-items:flex-end}.shop-heading h2{font-size:14px}.shop-heading .mini-label{font-size:6px;letter-spacing:1px}.shop-wallet{gap:7px}.shop-wallet strong{font-size:16px}.shop-wallet small{font-size:7px}.shop-wallet>span{font-size:6px}.shop-note{font-size:9px;line-height:1.7;margin-bottom:14px}.shop-grid{grid-template-columns:repeat(2,1fr);gap:9px}.shop-tabs button{font-size:6px;padding:12px 2px}.shop-item-art{height:100px}.shop-item-art canvas{height:95px}.shop-card{padding:8px}.shop-card.equipped{padding:7px}.shop-card h3{font-size:14px}.shop-card p{font-size:9px}.small-button{font-size:6px;padding:8px 5px}.shop-rumour{flex-direction:column;gap:8px;align-items:start;padding:10px}.pup-lineup{align-self:center}.shop-rumour b{font-size:6px}.custom-color-panel{flex-wrap:wrap;gap:8px}.custom-color-panel label{font-size:6px}.custom-color-panel canvas{display:none}.results-card{width:96%;padding:17px 13px}.results-card h2{font-size:13px}.results-card .result-score strong{font-size:30px}.earnings-receipt{padding:8px;margin:8px 0;gap:5px}.earnings-receipt strong{font-size:8px}.earnings-receipt span{font-size:6px}.results-card .result-stats{padding:9px 0}.results-card .record-message{font-size:7px}}

.results-card{max-height:100%;overflow-y:auto}

@media(max-width:520px){.results-card{padding:12px}.results-card #result-message{display:none}.results-card h2{font-size:11px;line-height:1.5;margin:5px 0}.results-card>.mini-label{font-size:7px;margin-bottom:4px}.results-card .result-score{gap:5px;margin:6px 0}.results-card .result-score strong{font-size:26px}.results-card .earnings-receipt{padding:6px;gap:3px;margin:6px 0}.results-card .earnings-receipt strong{font-size:7px}.results-card .earnings-receipt .text-button{font-size:8px!important}.results-card .result-stats{padding:8px 0;margin-top:6px}.results-card .result-stats>div{gap:6px}.results-card .record-message{font-size:6px;min-height:10px;margin:5px 0}.results-card .primary-button{padding:9px 12px}.results-card .text-button{font-size:9px;margin-top:5px}}
