.account-store{max-width:1050px!important;color:#e7eeeb;isolation:isolate}.store-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-right:40px}.store-heading h2{margin:8px 0}.store-wallet{display:flex;gap:14px;flex-wrap:wrap;color:#ffdb8b}.store-links{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.store-links :is(a,button){display:grid;place-items:center;min-height:44px;padding:8px 14px;border:1px solid #48747a;border-radius:9px;color:#c2e6e3;text-decoration:none;background:#123139}.account-store>section,.store-history{border-top:1px solid #365257;padding-top:24px;margin-top:24px;scroll-margin-top:18px}.account-store h3{font-size:20px;line-height:1.35}.account-store h4{font-size:16px;margin:12px 0 5px}.account-store p{line-height:1.55;overflow-wrap:anywhere}.account-store button{min-height:44px;padding:10px 14px;border:1px solid #588a8a;border-radius:9px;background:linear-gradient(#20535c,#12343d);color:#f2eddf;font:inherit;font-weight:700;cursor:pointer;touch-action:manipulation;white-space:normal}.account-store button:disabled{opacity:.5;cursor:default}.account-store button:hover:enabled{border-color:#e8c16d;filter:brightness(1.14)}.account-store button:active:enabled{transform:translateY(1px);filter:brightness(.92)}.account-store :is(button,a,summary):focus-visible{outline:3px solid #ffe099;outline-offset:3px}.account-store summary{cursor:pointer;min-height:44px;padding:10px 0}.store-frame-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.store-frame,.store-pack-grid article{display:flex;flex-direction:column;align-items:center;text-align:center;background:linear-gradient(#163940,#0a242a);border:1px solid #416167;border-radius:14px;padding:20px 14px;min-width:0}.store-frame small{color:#a5c3c4}.store-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;justify-content:center}.store-frame .store-actions{margin-top:auto;padding-top:16px}.account-crest{display:inline-grid;place-items:center;flex:none;width:64px;height:64px;border:3px double #667b7f;border-radius:50%;background:radial-gradient(#2b474f,#071a20);font-style:normal;font-size:32px;color:#e1e9dc;box-sizing:border-box}.account-crest[data-frame=tide]{border-color:#5fd9df;color:#79e8ed;box-shadow:0 0 15px #39d6e42b}.account-crest[data-frame=grove]{border-color:#7ad17a;color:#b1e79c;box-shadow:0 0 15px #56c1632b}.account-crest[data-frame=flame]{border-color:#ff9b4d;color:#ffd77b;box-shadow:0 0 15px #f789382b}.account-crest[data-frame=frost]{border-color:#9be4ff;color:#e7f8ff;box-shadow:0 0 15px #a8e2ff40;border-style:dashed}.account-crest[data-frame=rift]{border-color:#c28cff;color:#debeff;box-shadow:0 0 16px #b27af64d}.account-crest[data-frame=crown]{border-color:#f4ce6f;color:#fff1b2;box-shadow:0 0 18px #e5b44a66;border-width:5px}.account-name{position:relative}.account-name .account-crest{width:42px;height:42px;font-size:23px;float:left;margin:3px 12px 0 0}.store-odds{background:#0a242a;border:1px solid #36575e;border-radius:10px;padding:8px 16px}.store-odds ul{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:8px 24px}.store-odds li{display:flex;justify-content:space-between;gap:12px;line-height:1.5;padding:5px 0}.store-odds b{color:#f1d690}.store-pack-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.store-pack-grid b{font-size:24px;color:#a9d7fa;margin:10px 0 18px}.store-pack-grid button{width:100%}.store-history article{padding:16px 0;border-bottom:1px solid #365257}.store-history time,.store-history small{color:#aac2c5;font-size:12px}.store-history p,.store-result p{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.store-history .account-crest,.store-result .account-crest{width:32px;height:32px;font-size:18px}.store-result,.store-pending{padding:16px!important;background:#193e40;border:1px solid #719d83!important;border-radius:12px}.store-error{background:#3d2527;color:#ffd4c6;border:1px solid #b27b6e;padding:14px;border-radius:10px}.store-confirm{position:fixed;z-index:25000;inset:0;background:#000b;display:grid;place-items:center;padding:18px;backdrop-filter:blur(4px)}.store-confirm>div{background:#0b252c;border:1px solid #dfba6d;border-radius:16px;padding:28px;width:min(470px,100%);max-height:calc(100dvh - 36px);overflow:auto;box-sizing:border-box}.store-confirm h3{margin-top:0}.store-confirm .store-actions>*{flex:1}.home-energy{color:#b2e0c8}.store-home-entry{margin:14px 0}.store-home-entry b{color:#e5c88d}
@media(max-width:760px){.account-store{padding:22px 16px!important;width:calc(100% - 20px)!important;max-height:calc(100dvh - 20px)!important}.store-heading{align-items:flex-start;flex-direction:column;gap:4px}.store-wallet{font-size:16px}.store-frame-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.store-frame{padding:16px 10px}.store-frame .store-actions{width:100%}.store-actions button{flex:1}.store-odds ul{grid-template-columns:1fr}.store-pack-grid{grid-template-columns:1fr}.store-pack-grid article{display:grid;grid-template-columns:1fr auto;text-align:left;gap:8px 14px}.store-pack-grid h4{margin:0}.store-pack-grid b{font-size:20px;margin:0}.store-pack-grid button{grid-column:1/-1}.store-links{gap:6px}.store-links :is(a,button){flex:1;padding:8px 10px;font-size:13px}.store-confirm>div{padding:22px 18px}.account-name .account-crest{width:36px;height:36px;font-size:20px;margin-right:8px}}
@media(prefers-reduced-motion:reduce){.account-store button{transform:none!important}}
@media(max-width:760px){.home-profile-stats small{font-size:10px!important;letter-spacing:.03em}.home-profile-stats b{font-size:14px!important;line-height:1.35}.home-profile-stats .account-name{grid-column:1/-1;display:grid!important;grid-template-columns:40px minmax(0,1fr);text-align:left;gap:2px 10px!important;padding:10px 12px!important;min-height:0!important}.account-name .account-crest{grid-row:1/4;width:36px;height:36px;float:none;margin:0;align-self:center}.home-profile-stats .account-name :is(small,b,em){grid-column:2}.home-profile-stats .account-name em{font-size:11px!important;overflow-wrap:anywhere}.home-profile-stats>span{padding:9px 6px!important;min-height:52px!important}.home-profile-stats{gap:6px!important}.hero-heading{font-size:clamp(36px,11vw,58px)!important;line-height:1.04!important}.hero-subtitle{font-size:14px!important;line-height:1.5!important}.store-home-entry{min-height:60px}}

/* Whole-game playtest: five forced narrow links clipped their labels on320/390px. */
@media(max-width:480px){.account-store .store-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.account-store .store-links :is(a,button){min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere;padding:10px 8px;line-height:1.3}}
