.customize-button{display:flex;align-items:center;justify-content:center;gap:9px;width:var(--play-width);height:45px;padding:0;border:3px solid var(--ink);border-radius:14px;background:#9ee1cc;color:var(--ink);box-shadow:0 4px 0 var(--ink);font-size:17px;font-weight:1000;letter-spacing:.04em;transition:translate .15s,rotate .15s}
.customize-button svg{width:24px;height:24px}.customize-button:hover{translate:0 -3px;rotate:2deg;background:#b8f1d9}.customize-button:active{translate:0 3px;box-shadow:0 1px 0 var(--ink)}
.is-customizing .play-button{animation:wardrobe-button-pop .65s ease-out both}.wardrobe-transition{position:fixed;inset:0;width:100%;height:100%;z-index:220;pointer-events:none}
.wardrobe-scene{position:fixed;inset:0;z-index:100;overflow:auto;background:#aed2ad;isolation:isolate;color:var(--ink)}
.wardrobe-scene:before{content:'';position:absolute;inset:0;z-index:-2;background:repeating-linear-gradient(90deg,transparent 0 98px,#fff1cd12 98px 100px),linear-gradient(#b9d7ad,#93c4ab)}
.wardrobe-scene:after{content:'';position:absolute;inset:69% 0 0;z-index:-1;border-top:7px solid #153e3e28;background:repeating-linear-gradient(90deg,transparent 0 160px,#153e3e0d 161px 164px),linear-gradient(#e7c394,#cda175)}
.wardrobe-header{height:130px;display:flex;justify-content:center;align-items:center;padding:26px 130px;position:relative}
.wardrobe-back{position:absolute;left:max(28px,env(safe-area-inset-left));top:max(27px,env(safe-area-inset-top));border:3px solid var(--ink);border-radius:13px;background:var(--paper);box-shadow:0 4px 0 var(--ink);color:var(--ink);padding:11px 17px;font-weight:900;font-size:14px;transition:translate .15s}.wardrobe-back:hover{translate:0 -3px}
.wardrobe-heading{text-align:center}.wardrobe-heading small{font-weight:900;font-size:11px;letter-spacing:3px}.wardrobe-heading h2{margin:5px 0 0;font-size:clamp(30px,4.2vw,54px);font-weight:1000;letter-spacing:-2px;line-height:1.1;color:var(--paper);-webkit-text-stroke:2px var(--ink);paint-order:stroke fill;text-shadow:0 4px var(--ink);transform:rotate(-2deg)}
.wardrobe-stage{display:grid;grid-template-columns:.95fr 1.05fr;align-items:center;gap:70px;width:min(1050px,calc(100% - 100px));min-height:440px;height:calc(100dvh - 190px);max-height:590px;margin:0 auto}
.wardrobe-preview{position:relative;height:100%;max-height:480px;min-height:350px;display:grid;place-items:center}
.wardrobe-mirror{position:absolute;width:82%;height:84%;top:0;border:5px solid #153e3e45;border-radius:48% 48% 26px 26px;background:linear-gradient(125deg,#d4eed4b3 0 40%,#f8f3c447 40% 45%,#d4eed478 45% 57%,#f8f3c433 57% 62%,#d4eed470 62%);box-shadow:0 8px 0 #153e3e18,inset 0 0 0 5px #fff1cd55;transform:rotate(-3deg)}
#wardrobePawn{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}
.wardrobe-platform{position:absolute;bottom:11%;left:9%;right:9%;height:64px;border:4px solid var(--ink);border-radius:50%;background:#ffcf62;box-shadow:0 12px 0 #bf874f,0 16px 0 var(--ink);transform:rotate(-3deg)}
.wardrobe-nameplate{position:absolute;bottom:-9px;left:0;right:0;text-align:center;z-index:3}.wardrobe-nameplate strong{display:block;font-weight:1000;font-size:20px;letter-spacing:.08em}.wardrobe-nameplate p{margin:5px 0;font-size:13px;font-weight:800;min-height:19px}.wardrobe-remove{border:0;background:none;color:var(--ink);font-size:12px;font-weight:900;text-decoration:underline;text-underline-offset:3px;padding:6px 10px}
.wardrobe-cabinet{position:relative;padding:29px 25px 20px;border:5px solid var(--ink);border-radius:35px 35px 16px 16px;background:#e3ac6f;box-shadow:inset 0 0 0 5px #f8d59b,8px 12px 0 #153e3e35;transform:rotate(1.5deg);transform-origin:50% 95%;}
.wardrobe-crest{position:absolute;left:50%;top:-27px;translate:-50% 0;border:4px solid var(--ink);border-radius:14px;background:#fff1cd;padding:9px 24px;font-size:17px;font-weight:1000;letter-spacing:2px;transform:rotate(-3deg);white-space:nowrap;box-shadow:0 4px 0 #b47a42}
.wardrobe-cabinet:before,.wardrobe-cabinet:after{content:'';position:absolute;bottom:-18px;width:29px;height:18px;background:#c18c55;border:4px solid var(--ink);border-top:0;border-radius:0 0 6px 6px;z-index:-1}.wardrobe-cabinet:before{left:23px}.wardrobe-cabinet:after{right:23px}
.wardrobe-tabs{display:flex;gap:7px;padding:4px 0 15px}.wardrobe-tab{flex:1;min-width:0;border:2.5px solid var(--ink);border-radius:10px;background:#c98f55;color:var(--ink);padding:9px 3px;font-size:12px;font-weight:1000;box-shadow:0 3px 0 var(--ink);transition:transform .18s cubic-bezier(.2,1.8,.5,1),background .18s}.wardrobe-tab svg{display:block;width:24px;height:24px;margin:0 auto 5px}.wardrobe-tab[aria-selected=true]{background:#9ee1cc;transform:translateY(-4px) rotate(-3deg)}.wardrobe-tab:hover{background:#fff1cd;transform:translateY(-3px)}
.wardrobe-shelf{min-height:247px;padding:17px 13px 22px;border:3px solid var(--ink);border-radius:15px;background:#654f3f;box-shadow:inset 0 -8px 0 #ba8050}
.wardrobe-hats{display:grid;grid-template-columns:1fr 1fr;gap:13px}.hat-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:202px;border:3px solid var(--ink);border-radius:15px;background:var(--paper);color:var(--ink);padding:22px 7px 12px;box-shadow:0 5px 0 #292c29;transition:transform .23s cubic-bezier(.2,1.8,.5,1),background .2s}.hat-card:hover{transform:translateY(-8px) rotate(-4deg) scale(1.04)}.hat-card:nth-child(2):hover{transform:translateY(-8px) rotate(4deg) scale(1.04)}.hat-card[aria-pressed=true]{background:#b9e3c3;border-color:#153e3e;transform:rotate(-3deg)}.hat-card:nth-child(2)[aria-pressed=true]{transform:rotate(3deg)}
.hat-card canvas{width:100px;height:89px;max-width:100%;object-fit:contain;pointer-events:none}.hat-card strong{font-size:18px;font-weight:1000}.hat-card .hat-action{font-size:10px;font-weight:1000;letter-spacing:1px;padding:5px 10px;border-radius:6px;background:var(--ink);color:var(--paper);margin-top:3px}.hat-free{position:absolute;right:8px;top:8px;font-size:9px;font-weight:1000;letter-spacing:1px;padding:4px 6px;border-radius:5px;background:#ffcf62;transform:rotate(7deg)}
.wardrobe-empty{height:202px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--paper);text-align:center}.wardrobe-empty svg{width:58px;height:58px;opacity:.4;margin-bottom:15px}.wardrobe-empty strong{font-size:18px;font-weight:1000}.wardrobe-empty p{font-size:12px;opacity:.75;margin:8px 0 0}
.wardrobe-drawers{display:flex;gap:12px;margin-top:15px}.wardrobe-drawers span{height:35px;flex:1;border:3px solid var(--ink);border-radius:6px;background:#d29a61;position:relative;box-shadow:inset 0 3px 0 #f8d59b}.wardrobe-drawers span:after{content:'';position:absolute;left:38%;right:38%;top:12px;height:5px;border-radius:4px;background:var(--ink)}
.wardrobe-footer{text-align:center;font-size:12px;font-weight:800;margin:26px 15px 20px;color:#294b43}
.wardrobe-scene.is-revealing .wardrobe-cabinet{animation:wardrobe-cabinet-in .72s .06s cubic-bezier(.2,1.45,.4,1) both}.wardrobe-scene.is-revealing .wardrobe-heading{animation:wardrobe-heading-in .55s .1s cubic-bezier(.2,1.7,.4,1) both}.wardrobe-scene.is-revealing .hat-card{animation:wardrobe-card-in .52s .14s cubic-bezier(.2,1.6,.4,1) both}.wardrobe-scene.is-revealing .hat-card:nth-child(2){animation-delay:.27s}
.hat-card.is-equipped{animation:wardrobe-equip .55s cubic-bezier(.2,1.6,.5,1)}
@keyframes wardrobe-button-pop{0%{transform:rotate(-2deg) scale(1)}20%{transform:rotate(-5deg) scale(1.2,.7)}45%{transform:rotate(3deg) scale(.88,1.17)}75%{transform:rotate(-3deg) scale(1.06,.94)}100%{transform:rotate(-2deg) scale(1)}}
@keyframes wardrobe-cabinet-in{from{transform:translateY(180px) rotate(12deg) scale(.72)}to{transform:rotate(1.5deg)}}
@keyframes wardrobe-heading-in{from{transform:translateY(-80px) rotate(-8deg) scale(.6);opacity:0}to{transform:none;opacity:1}}
@keyframes wardrobe-card-in{from{transform:translateY(-45px) rotate(-15deg) scale(.4);opacity:0}to{transform:none;opacity:1}}
@keyframes wardrobe-equip{0%{scale:1}35%{scale:1.17 .88}65%{scale:.93 1.08}100%{scale:1}}
@media(max-width:760px){.wardrobe-header{height:110px;padding:20px 70px 20px 110px}.wardrobe-back{left:17px;top:24px;padding:10px 12px;font-size:12px}.wardrobe-heading small{font-size:9px;letter-spacing:2px}.wardrobe-stage{width:calc(100% - 44px);gap:28px;grid-template-columns:.85fr 1.15fr}.wardrobe-preview{min-height:280px;max-height:380px}.wardrobe-cabinet{padding:27px 14px 15px}.wardrobe-shelf{padding:13px 9px 20px}.wardrobe-hats{gap:8px}.hat-card{min-height:180px;padding:25px 4px 10px}.hat-card strong{font-size:15px}.hat-card canvas{width:84px;height:75px}.wardrobe-tab{font-size:10px}.wardrobe-crest{font-size:14px;padding:8px 18px}.wardrobe-nameplate strong{font-size:17px}}
@media(max-width:520px) and (min-height:600px){.wardrobe-header{height:95px;padding:14px 18px 14px 105px}.wardrobe-heading h2{font-size:29px;letter-spacing:-1px}.wardrobe-stage{grid-template-columns:1fr;gap:20px;height:auto;max-height:none;min-height:0;width:min(355px,calc(100% - 46px))}.wardrobe-preview{height:250px;min-height:250px;max-height:250px;width:260px;margin:0 auto}.wardrobe-mirror{width:80%;height:85%}.wardrobe-platform{height:42px;bottom:13%}.wardrobe-nameplate{bottom:-9px}.wardrobe-nameplate strong{display:none}.wardrobe-nameplate p{font-size:12px}.wardrobe-remove{padding:3px 8px}.wardrobe-cabinet{margin-top:18px;padding:19px 16px 13px}.wardrobe-tabs{padding-bottom:11px}.wardrobe-tab svg{width:19px;height:19px;margin-bottom:3px}.wardrobe-tab{padding:6px 3px}.wardrobe-shelf{min-height:168px;padding:10px 10px 17px}.hat-card{min-height:137px;gap:0;padding:20px 6px 7px}.hat-card canvas{width:86px;height:68px}.hat-card strong{font-size:15px}.hat-card .hat-action{font-size:9px;padding:4px 9px}.hat-free{font-size:8px;top:6px;right:6px;padding:3px 5px}.wardrobe-drawers{margin-top:9px}.wardrobe-drawers span{height:25px}.wardrobe-drawers span:after{top:7px}.wardrobe-empty{height:137px}.wardrobe-empty svg{width:35px;height:35px;margin-bottom:8px}.wardrobe-footer{margin:24px 10px 15px;font-size:11px}}
@media(max-height:620px){.customize-button{height:37px;font-size:14px;border-radius:11px}.customize-button svg{width:20px;height:20px}.menu-play{gap:10px}.wardrobe-header{height:87px;padding-top:12px;padding-bottom:12px}.wardrobe-heading h2{font-size:32px}.wardrobe-back{top:18px}.wardrobe-stage{height:calc(100dvh - 123px);min-height:260px;gap:45px;width:min(880px,calc(100% - 90px))}.wardrobe-preview{min-height:230px;max-height:320px}.wardrobe-cabinet{padding:19px 17px 12px}.wardrobe-crest{top:-20px;font-size:13px;padding:6px 18px}.wardrobe-tabs{padding-bottom:10px}.wardrobe-tab{padding:5px 3px;font-size:10px}.wardrobe-tab svg{width:18px;height:18px;margin-bottom:3px}.wardrobe-shelf{min-height:159px;padding:10px 10px 17px}.hat-card{min-height:132px;padding:20px 6px 7px}.hat-card canvas{width:86px;height:65px}.hat-card strong{font-size:14px}.hat-card .hat-action{font-size:9px;padding:3px 7px}.wardrobe-drawers{margin-top:9px}.wardrobe-drawers span{height:23px}.wardrobe-drawers span:after{top:6px}.wardrobe-empty{height:132px}.wardrobe-empty svg{width:35px;height:35px;margin-bottom:7px}.wardrobe-footer{margin:12px 10px;font-size:11px}.wardrobe-nameplate{bottom:-5px}.wardrobe-nameplate strong{font-size:16px}.wardrobe-nameplate p{font-size:11px;margin:3px}.wardrobe-remove{padding:3px 7px;font-size:11px}.wardrobe-platform{height:45px;bottom:16%}}
@media(max-width:520px) and (max-height:620px){.wardrobe-stage{width:calc(100% - 32px);gap:16px;grid-template-columns:.6fr 1.4fr}.wardrobe-cabinet{padding:18px 10px 10px}.wardrobe-header{padding:15px 15px 15px 98px}.wardrobe-heading h2{font-size:25px;letter-spacing:-1px}.wardrobe-heading small{font-size:8px}.wardrobe-mirror{width:100%}.wardrobe-platform{left:0;right:0;height:30px}.wardrobe-nameplate strong{display:none}.wardrobe-tab{font-size:9px}.wardrobe-shelf{padding-left:6px;padding-right:6px}.wardrobe-hats{gap:6px}.hat-card canvas{width:66px}.hat-card strong{font-size:12px}.hat-card .hat-action{font-size:8px;padding:3px 4px}}
@media(prefers-reduced-motion:reduce){.customize-button,.wardrobe-back,.wardrobe-tab,.hat-card{transition:none}.is-customizing .play-button,.wardrobe-scene.is-revealing .wardrobe-cabinet,.wardrobe-scene.is-revealing .wardrobe-heading,.wardrobe-scene.is-revealing .hat-card,.hat-card.is-equipped{animation:none}}

@media(max-width:639px) and (max-height:400px){.menu-title{top:15%}.menu-title h1{font-size:32px}.menu-credit{font-size:11px;margin-top:11px}.menu-play{--play-height:45px;--play-font:22px;bottom:57px;gap:7px}.customize-button{height:30px;font-size:12px}.customize-button svg{width:17px;height:17px}.menu-links>.menu-icon{width:36px;height:36px;border-radius:10px}.menu-icon img,.menu-icon svg{width:22px;height:22px}}

/* A key purse on the right of Customize, and a four-hat wardrobe. */
.customize-button{padding:0 10px;gap:7px;font-size:15px}.customize-button>svg{width:21px;height:21px;flex:none}
.menu-key-balance,.wardrobe-keys{display:inline-flex;align-items:center;justify-content:center;gap:4px;background:#ffcf62;border:2px solid var(--ink);border-radius:8px;color:var(--ink);padding:4px 6px;font-size:14px;line-height:1;font-weight:1000;white-space:nowrap}
.customize-button .menu-key-balance{margin-left:auto}.customize-button .menu-key-balance svg,.wardrobe-keys svg{width:16px;height:16px;flex:none}.menu-key-balance small{font-size:9px;letter-spacing:.02em}
.wardrobe-keys{position:absolute;right:max(28px,env(safe-area-inset-right));top:max(28px,env(safe-area-inset-top));padding:10px 12px;gap:6px;font-size:18px;box-shadow:0 4px 0 var(--ink);transform:rotate(3deg)}.wardrobe-keys small{font-size:11px}.wardrobe-keys svg{width:20px;height:20px}
.wardrobe-header{position:sticky;top:0;z-index:5;background:#b9d7adf2;padding-left:150px;padding-right:150px}
.wardrobe-shelf{min-height:344px;max-height:calc(100dvh - 270px);overflow-y:auto;scrollbar-color:#ffcf62 #654f3f;scrollbar-width:thin}
.hat-card{min-height:150px;padding:23px 7px 9px;gap:2px}.hat-card canvas{width:91px;height:69px}.hat-card strong{font-size:16px}.hat-card .hat-action{font-size:11px;padding:5px 10px}.hat-card.is-locked{background:#e9dcc0}.hat-card.is-locked canvas{opacity:.75}.hat-card.is-locked .hat-action{background:#ffcf62;color:var(--ink)}.hat-card:disabled{opacity:.72;transform:none;cursor:wait}.hat-card:disabled:hover{transform:none}.hat-card.is-short{animation:hat-short .4s ease-in-out}
.hat-free{font-size:12px;letter-spacing:.03em}.hat-card .hat-action{font-size:12px;padding:4px 6px}
.wardrobe-nameplate p{max-width:100%;padding:0 7px;min-height:19px}.wardrobe-footer{font-size:13px}.wardrobe-drawers{pointer-events:none}
.key-pop{animation:key-pop .5s cubic-bezier(.2,1.5,.5,1)}
.arena-key-reward{position:absolute;z-index:25;left:50%;top:66%;translate:-50% 0;display:flex;align-items:center;gap:10px;background:#ffcf62;color:#153e3e;border:3px solid #153e3e;border-radius:15px;padding:12px 21px;box-shadow:0 5px 0 #153e3e;font-size:24px;font-weight:1000;pointer-events:none;transform:rotate(-4deg)}.arena-key-reward svg{width:30px;height:30px}.arena-key-reward.is-earned{animation:key-reward .65s cubic-bezier(.2,1.65,.4,1) both}
@keyframes key-pop{0%,100%{scale:1}30%{scale:1.35 .8;rotate:-10deg}65%{scale:.93 1.12;rotate:5deg}}
@keyframes key-reward{0%{opacity:0;transform:translateY(80px) rotate(-20deg) scale(.3)}55%{opacity:1;transform:translateY(-12px) rotate(8deg) scale(1.2)}100%{opacity:1;transform:rotate(-4deg) scale(1)}}
@keyframes hat-short{0%,100%{translate:0 0}25%,75%{translate:-5px 0}50%{translate:5px 0}}
@media(max-width:760px){.wardrobe-header{padding-left:100px;padding-right:100px}.wardrobe-keys{right:17px;top:25px;padding:9px 8px;font-size:15px}.wardrobe-keys svg{width:17px;height:17px}.wardrobe-keys small{font-size:10px}.hat-card{min-height:135px;padding:23px 6px 8px}.hat-card canvas{width:83px;height:57px}.hat-card strong{font-size:14px}.wardrobe-shelf{min-height:310px}.wardrobe-nameplate p{font-size:12px}}
@media(max-width:520px) and (min-height:600px){.wardrobe-header{padding-left:94px;padding-right:91px}.wardrobe-heading h2{font-size:24px;letter-spacing:-1px}.wardrobe-heading small{font-size:8px;letter-spacing:1px}.wardrobe-keys{top:26px;padding:7px 6px;gap:3px}.wardrobe-keys small{font-size:9px}.wardrobe-shelf{min-height:0;max-height:none}.hat-card{min-height:130px;padding-top:23px}.hat-card canvas{width:90px;height:56px}.wardrobe-footer{margin:24px 15px;font-size:12px}.wardrobe-nameplate p{font-size:12px}}
@media(max-height:620px){.customize-button{font-size:13px}.customize-button>svg{width:19px;height:19px}.menu-key-balance{font-size:12px;padding:3px 4px}.customize-button .menu-key-balance svg{width:13px;height:13px}.menu-key-balance small{font-size:8px}.wardrobe-shelf{min-height:0;max-height:calc(100dvh - 203px)}.hat-card{min-height:128px}.hat-card canvas{height:54px}.hat-card strong{font-size:13px}.wardrobe-keys{top:19px}.arena-key-reward{top:73%;padding:8px 15px;font-size:19px}}
@media(max-width:520px) and (max-height:620px){.wardrobe-header{padding-left:93px;padding-right:84px}.wardrobe-heading h2{font-size:20px}.wardrobe-keys{right:12px;padding:7px 5px;gap:3px}.wardrobe-keys small{font-size:8px}.hat-card strong{font-size:12px}.hat-card .hat-action{font-size:10px}.wardrobe-nameplate p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.key-pop,.arena-key-reward.is-earned,.hat-card.is-short{animation:none}}
@media(min-width:521px),(max-height:599px){.wardrobe-stage{height:auto;max-height:none}.wardrobe-preview{height:clamp(230px,calc(100dvh - 205px),480px)}}
@media(max-width:600px){.customize-button{font-size:14px;padding:0 8px;gap:6px}.customize-button>svg{width:19px;height:19px}}

.key-icon{display:inline-block;flex:none;object-fit:contain;vertical-align:middle;filter:drop-shadow(0 1px 0 #153e3e35)}
.customize-button .menu-key-balance{gap:5px;padding:2px 6px 2px 3px;background:#fff1cd;border-radius:9px}
.customize-button .menu-key-balance .key-icon{width:26px;height:26px;transform:rotate(-8deg)}
.wardrobe-keys{gap:7px;background:#fff1cd;padding:6px 11px 6px 6px}.wardrobe-keys .key-icon{width:32px;height:32px;transform:rotate(-8deg)}
.hat-free{display:inline-flex;align-items:center;gap:3px}.hat-free .key-icon{width:18px;height:18px;margin:-2px 0}
.arena-key-reward .key-icon{width:38px;height:38px;transform:rotate(-8deg)}
@media(max-width:760px){.wardrobe-keys .key-icon{width:27px;height:27px}.wardrobe-keys{padding:5px 8px 5px 4px}}
@media(max-height:620px){.customize-button .menu-key-balance .key-icon{width:22px;height:22px}.customize-button .menu-key-balance{padding:1px 5px 1px 2px}.arena-key-reward .key-icon{width:29px;height:29px}}

/* A small, playful shop; bundles are previews until checkout is ready. */
.key-shop{box-sizing:border-box;width:min(860px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:12px 8px 20px;border:0;background:transparent;color:var(--ink);text-align:center;font-family:var(--sans)}
.key-shop-layout{display:grid;grid-template-columns:minmax(0,480px) minmax(0,320px);gap:22px;align-items:center}
.key-shop-panel{position:relative;padding:24px 25px 14px;border:4px solid var(--ink);border-radius:27px;background:var(--paper);box-shadow:0 8px 0 #0b2929}
.key-shop-supporter{pointer-events:none;min-width:0;transform-origin:50% 80%}.key-shop-supporter img{display:block;width:100%;height:auto;filter:drop-shadow(0 12px 12px #102b2b45);transform-origin:50% 80%}
.key-shop[open] .key-shop-supporter{animation:shop-supporter-in .5s .1s cubic-bezier(.2,1.4,.4,1) both}.key-shop[open] .key-shop-supporter img{animation:shop-supporter-float 4.8s .6s ease-in-out infinite}
.key-shop::backdrop{background:#102b2bad;backdrop-filter:blur(5px)}
.key-shop[open]{animation:key-shop-in .4s cubic-bezier(.2,1.5,.4,1) both}
.key-shop-close{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:37px;height:37px;border:2.5px solid var(--ink);border-radius:11px;background:#ef655b;color:var(--ink);font:900 28px/1 var(--sans);box-shadow:0 3px 0 var(--ink);transition:transform .15s}
.key-shop-close:hover{transform:rotate(8deg) scale(1.08)}
.key-shop-emblem{display:block;width:66px;height:66px;margin:-4px auto 0;transform:rotate(-12deg)}
.key-shop h2{margin:2px 0 9px;font-size:clamp(28px,6vw,38px);font-weight:1000;line-height:1;letter-spacing:-1.3px;color:#ef655b;text-shadow:0 2px 0 var(--ink);transform:rotate(-2deg)}
#keyShopSupport{max-width:340px;margin:0 auto 19px;font-size:16px;font-weight:700;line-height:1.4}
.key-shop-bundles{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.key-bundle{min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;padding:14px 8px 10px;border:3px solid var(--ink);border-radius:16px;background:#ffdf8a;color:var(--ink);box-shadow:0 5px 0 var(--ink);font-family:var(--sans);transition:transform .2s cubic-bezier(.2,1.7,.4,1),background .15s}
.key-bundle:nth-child(even){background:#ffd469}.key-bundle:hover{background:#ffe9ae;transform:translateY(-5px) rotate(-3deg) scale(1.04)}.key-bundle:nth-child(even):hover{transform:translateY(-5px) rotate(3deg) scale(1.04)}.key-bundle:active{transform:translateY(3px) scale(.97);box-shadow:0 2px 0 var(--ink)}
.key-bundle-amount{display:flex;align-items:center;justify-content:center;gap:6px}.key-bundle-amount .key-icon{width:36px;height:36px;transform:rotate(-9deg)}.key-bundle-amount strong{font-size:31px;font-weight:1000;line-height:1}
.key-bundle-price{min-width:64px;max-width:100%;overflow-wrap:anywhere;padding:4px 10px;background:var(--ink);color:var(--paper);border-radius:8px;font-size:clamp(13px,2.4vw,18px);font-weight:1000;line-height:1.2}
.key-shop[open] .key-bundle{animation:key-bundle-in .36s .06s cubic-bezier(.2,1.65,.4,1) backwards}.key-shop[open] .key-bundle:nth-child(2){animation-delay:.1s}.key-shop[open] .key-bundle:nth-child(3){animation-delay:.14s}.key-shop[open] .key-bundle:nth-child(4){animation-delay:.18s}
.key-shop-status{margin:17px 0 0;min-height:40px;font-size:14px;font-weight:800;line-height:1.35;display:grid;place-items:center}.key-shop-status.is-popping{animation:key-pop .35s ease-out}
.key-shop-currency{margin:3px 0 0;font-size:12px;font-weight:650;line-height:1.4}.key-shop-currency span,.key-shop-currency a{display:block}.key-shop-currency a{color:var(--ink);text-underline-offset:2px}
.key-shop button:focus-visible{outline:3px solid #ef655b;outline-offset:4px}
@keyframes key-shop-in{from{opacity:0;transform:translateY(45px) rotate(-6deg) scale(.65,.8)}65%{opacity:1;transform:translateY(-6px) rotate(2deg) scale(1.04,.97)}to{opacity:1;transform:none}}
@keyframes key-bundle-in{from{opacity:0;translate:0 20px;scale:.7}to{opacity:1;translate:0 0;scale:1}}
@keyframes shop-supporter-in{from{opacity:0;transform:translateX(30px) rotate(6deg) scale(.86)}to{opacity:1;transform:none}}
@keyframes shop-supporter-float{0%,100%{transform:translateY(4px) rotate(-1.4deg)}50%{transform:translateY(-5px) rotate(1.4deg)}}
@media(max-width:700px) and (min-height:501px){.key-shop{width:min(480px,calc(100vw - 24px))}.key-shop-layout{grid-template-columns:minmax(0,1fr);gap:0}.key-shop-supporter{order:-1;width:110px;justify-self:end;margin:0 12px 3px 0}}
@media(max-width:380px){.key-shop-panel{padding:20px 17px 10px}.key-shop-bundles{gap:11px}.key-bundle-amount strong{font-size:28px}.key-bundle-price{font-size:14px;padding-left:7px;padding-right:7px}}
@media(max-height:500px){.key-shop-panel{padding-top:14px}.key-shop-layout{grid-template-columns:minmax(0,480px) minmax(100px,220px);gap:15px}.key-shop-emblem{width:40px;height:40px}.key-shop h2{font-size:27px}#keyShopSupport{font-size:14px;margin-bottom:11px}.key-bundle{padding:8px 5px;gap:4px}.key-bundle-amount .key-icon{width:26px;height:26px}.key-bundle-amount strong{font-size:25px}.key-bundle-price{font-size:16px}.key-shop-status{margin-top:12px;min-height:24px}}
@media(max-width:460px) and (max-height:500px){.key-shop-layout{grid-template-columns:minmax(0,1fr);gap:10px}.key-shop-supporter{order:-1;width:85px;justify-self:end}}
@media(prefers-reduced-motion:reduce){.key-shop[open],.key-shop[open] .key-bundle,.key-shop-status.is-popping,.key-shop[open] .key-shop-supporter,.key-shop[open] .key-shop-supporter img{animation:none}.key-bundle,.key-shop-close{transition:none}}

/* Color cards use the actual pawn palette, even while locked. */
.color-card.is-locked canvas{opacity:1}.color-card[aria-pressed=true]{background:var(--color-tint);box-shadow:0 5px 0 #292c29,inset 0 0 0 3px #fff8e8}.color-card:hover canvas{animation:wardrobe-equip .55s cubic-bezier(.2,1.6,.5,1)}
@media(prefers-reduced-motion:reduce){.color-card:hover canvas{animation:none}}
