/* Collection and settings share a bright, readable arcade surface. */
#player-name,#player-name:focus,#player-name:active{color:#fff;-webkit-text-fill-color:#fff;background:#173e70;opacity:1;caret-color:#fff;border:2px solid #7fbfe6;font-weight:650}
#player-name::placeholder{color:#c3def0;-webkit-text-fill-color:#c3def0;font-weight:400}
#player-name.saved{border-color:#fff;background:#214d7b;box-shadow:inset 0 0 0 1px #c6eaff33}
#player-name:focus{outline:3px solid #ffdf7b;outline-offset:2px}
#player-name:-webkit-autofill{-webkit-text-fill-color:#fff;box-shadow:inset 0 0 0 100px #214d7b}
.name-row button{min-width:45px}.name-form.saved .name-row button{color:#164e67;background:#ddfff1}
.showcase-edit{display:flex;align-items:center;gap:10px;padding:7px 12px;border:1px solid #daefff;border-radius:8px;background:#e9f9ff;color:#16456e;box-shadow:0 3px #17446e50}.showcase-edit b{font-size:0.9375rem}.showcase-edit span{font-size:0.6875rem;font-weight:600}
.menu-page.small-overlay{z-index:18;background:radial-gradient(ellipse at 65% 0,#9adeeac4,transparent 70%),linear-gradient(135deg,#379ec0,#2876ab 60%,#25457e);padding:max(18px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));align-items:center;overflow:auto;color:#fff;backdrop-filter:none}
.collection-dialog,.settings-dialog{width:min(1160px,100%);margin:auto;min-width:0;max-height:100%;display:flex;flex-direction:column;gap:14px}
.menu-page button{font:inherit;cursor:pointer}.menu-page button:focus-visible{outline:3px solid #ffed8c;outline-offset:3px}.menu-page button:disabled{cursor:default}
.collection-header{display:flex;align-items:center;gap:16px;flex-shrink:0}.collection-header h2{font-size:clamp(22px,3vw,34px);margin:0;flex:1;font-weight:750;text-shadow:0 2px #174b78}.collection-header .back-button{flex-shrink:0;font-size:2.125rem;color:#fff;background:transparent;border:0;padding:0;width:42px}.menu-pill{padding:7px 12px;border:1px solid #d9f5ff70;background:#153e7899;border-radius:30px;font-size:0.75rem;font-weight:700;letter-spacing:.5px;white-space:nowrap}
.collection-tabs,.settings-tabs{display:flex;border-radius:10px;background:#124b8094;flex-shrink:0;max-width:730px;margin-left:58px;padding:4px;gap:4px}.collection-tabs button,.settings-tabs button{flex:1;min-width:0;border:2px solid transparent;border-radius:7px;padding:12px 25px;font-weight:800;font-size:1.125rem;background:transparent;color:#fff}.collection-tabs [aria-selected=true],.settings-tabs [aria-selected=true]{background:#fff;color:#133865;border-color:#d1e2ed;box-shadow:0 3px #164c7944}
.collection-body{display:grid;grid-template-columns:128px 218px minmax(0,1fr);gap:16px;min-height:0;flex:1}.collection-filters{display:flex;flex-direction:column;gap:9px;padding-top:10px}.collection-filters button{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:16px 10px;border:2px solid transparent;background:#1a679959;border-radius:10px;font-size:0.875rem;font-weight:650;text-align:left;color:#fff}.collection-filters button span{font-size:0.75rem;opacity:.85}.collection-filters [aria-pressed=true]{background:#164e83;border-color:#e1faff}
.collection-preview{border:2px solid #e1f5ff;border-radius:14px;background:linear-gradient(#f4fcff,#b1dff0);color:#173d68;display:flex;flex-direction:column;align-items:center;padding:13px 10px;min-height:0;overflow:hidden;box-shadow:0 5px #143d6644}.collection-name{max-width:100%;padding:6px 10px;border:0;border-radius:8px;background:#fff;color:#173d68;font-size:0.875rem!important;font-weight:750!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.collection-preview canvas{display:block;min-height:0;width:100%;object-fit:contain;flex:1;max-height:320px}.collection-preview h3{font-size:1.4375rem;margin:3px 0 6px;line-height:1.1;text-align:center}.selection-tag{font-size:0.6875rem;font-weight:650;color:#326287}.favorite-button{margin-top:10px;border:1px solid #7dafc8;border-radius:22px;padding:7px 14px;color:#24557b;background:#ecfaff;font-size:0.75rem!important}.favorite-button[aria-pressed=true]{background:#6b478d;color:#fff;border-color:#6b478d}
.collection-catalog{min-width:0;display:flex;flex-direction:column;min-height:0}.catalog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:3px 0 12px}.catalog-heading small{font-size:0.625rem;letter-spacing:2px;color:#dbf9ff}.catalog-heading h3{font-size:1.375rem;margin:4px 0 0}.view-switch{display:flex;gap:5px}.view-switch button{width:34px;height:34px;border:1px solid #d6f4ff;border-radius:6px;color:#fff;background:#216797;font-size:1.5rem;line-height:1}.view-switch [aria-pressed=true]{color:#17456c;background:#fff}
.collection-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:auto;min-height:0;padding:3px 4px 6px}.collection-card{position:relative;display:flex;flex-direction:column;align-items:center;padding:10px 8px;border:2px solid #bdeefa;border-radius:12px;background:linear-gradient(135deg,#80cbdf70,#377ba69c);color:#fff;min-width:0;box-shadow:inset 0 2px #ffffff40}.collection-card canvas{display:block;width:100%;height:auto;max-height:112px;object-fit:contain}.collection-card strong{font-size:1rem}.collection-card small{font-size:0.6875rem;margin-top:3px;color:#e1f6ff}.collection-card[aria-pressed=true]{background:linear-gradient(#fff,#daeff9);color:#153e69;border-color:#fff;box-shadow:0 3px #17527d66}.collection-card[aria-pressed=true] small{color:#356887}.card-badge{position:absolute;right:9px;top:6px;font-size:1.0625rem}.collection-cards[data-view=row]{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:10px;flex:1}.collection-cards[data-view=row] .collection-card{flex:0 0 180px;justify-content:center;scroll-snap-align:start}.collection-cards[data-view=row] canvas{max-height:160px}.collection-empty{font-size:0.9375rem;padding:15px;border-radius:9px;background:#163f7080;line-height:1.5}
.collection-footer{display:flex;gap:15px;align-items:center;background:#163e78b5;padding:13px 15px;border:1px solid #70b3d4;border-radius:11px;margin-top:12px}.collection-footer p{flex:1;margin:0;font-size:0.8125rem;line-height:1.45;color:#ecfaff}.collection-footer .primary{flex-shrink:0;max-width:190px;width:auto;padding:11px 16px;font-size:0.9375rem;margin:0}.menu-page .primary:disabled{opacity:.75}.collection-catalog>p[role=status]{font-size:0.75rem;margin:6px 0 0;min-height:1em}
.collection-store{overflow:auto;min-height:0}.store-intro{text-align:center;margin:8px 0 20px}.store-intro h3{font-size:1.875rem;margin:12px 0 5px}.store-intro p{font-size:0.875rem;margin:0;color:#e0f4ff}.store-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.store-card{padding:20px;border-radius:14px;border:2px solid #e2efff;background:linear-gradient(140deg,#289daf,#214181);box-shadow:0 5px #12366a70;display:flex;flex-direction:column;align-items:flex-start}.store-card.pearl{background:linear-gradient(140deg,#869ec9,#543f9b)}.store-card.sunset{background:linear-gradient(140deg,#d88876,#7d437a)}.store-card h3{font-size:1.5rem;margin:14px 0 0}.store-card canvas{display:block;width:100%;height:auto}.store-card p{font-size:0.8125rem;line-height:1.5;flex:1}.store-card .primary{width:100%;margin:10px 0 0;font-size:1.0625rem;padding:12px}#store-quests{display:block;margin:18px auto 5px;font-size:0.9375rem;width:auto;padding:10px 20px}
.settings-dialog{max-width:1000px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;overflow:auto}.setting-tile{background:#194e8394;border:1px solid #addfeb;border-radius:13px;padding:22px}.setting-tile h3,.setting-tile .graphics-label{margin:0 0 14px;font-size:1.25rem;font-weight:700}.setting-tile p{color:#d5efff;font-size:0.8125rem;margin:14px 0 0;line-height:1.45}.segmented{display:flex;gap:4px;padding:4px;background:#10386288;border-radius:8px}.segmented button{flex:1;border:2px solid transparent;border-radius:6px;background:transparent;color:#fff;padding:9px 14px;font-size:0.9375rem;font-weight:750}.segmented [aria-pressed=true]{color:#173f6b;background:#fff;border-color:#cfdfed;box-shadow:0 2px #ffffff30}.setting-tile .volume-label{margin-top:18px;font-size:0.8125rem}.setting-tile input[type=range]{margin-top:10px}.setting-tile #graphics{margin:0}.setting-tile #settings-fullscreen{margin-top:10px;padding:9px 12px;font-size:0.875rem}.control-settings{display:grid;grid-template-columns:170px minmax(0,1fr);gap:18px;overflow:auto}.control-choices{display:flex;flex-direction:column;gap:10px}.control-choices button{display:flex;align-items:center;justify-content:flex-start;gap:12px;border:2px solid transparent;border-radius:12px;padding:15px;background:#1c669d90;color:#fff;font-weight:700}.control-choices button span{font-size:1.875rem;width:40px}.control-choices [aria-pressed=true]{background:#16556c;border-color:#fff}.control-instructions{background:#d9edfaeb;border:4px solid #fff;border-radius:16px;box-shadow:0 5px #19477466;text-align:center;color:#173d69;padding:20px;display:flex;flex-direction:column;justify-content:center}.control-demo{display:flex;align-items:center;justify-content:center;gap:20px;max-height:100px}.control-demo img{width:65%;max-width:380px;height:auto}.control-demo span{font-size:3.75rem;color:#257498}.control-instructions h3{font-size:1.4375rem;margin:14px 0 8px}.control-instructions p{font-size:0.875rem;line-height:1.5;max-width:500px;margin:0 auto}.boost-options{grid-column:2;margin:0;border:0;padding:0}.boost-options legend{margin-bottom:7px;font-size:0.875rem}.boost-options p{font-size:0.75rem;color:#e0f4ff;margin:8px 0 0}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;overflow:auto}.guide-grid article{border:2px solid #b6ebf3;border-radius:14px;background:#205286aa;padding:20px;text-align:center}.guide-grid img{width:70px;height:70px;object-fit:contain}.guide-grid h3{font-size:1.375rem;margin:16px 0 8px}.guide-grid p{font-size:0.875rem;line-height:1.6;color:#e6f5ff}
#shell.boost-left #boost{left:max(31px,env(safe-area-inset-left));right:auto}#shell.boost-left #joystick{left:auto;right:max(27px,env(safe-area-inset-right))}#shell.boost-double #boost,#shell.steering-arrow #joystick,#shell.steering-follow #joystick{display:none}
@media (orientation:landscape) and (max-height:600px){.menu-page.small-overlay{padding:10px max(16px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left));align-items:flex-start}.collection-dialog,.settings-dialog{gap:8px;height:100%;max-height:none}.collection-header{gap:10px}.collection-header h2{font-size:1.4375rem}.collection-header .back-button{font-size:1.6875rem;width:34px}.menu-pill{font-size:0.625rem;padding:5px 9px}.collection-tabs,.settings-tabs{margin-left:44px;max-width:580px;padding:3px}.collection-tabs button,.settings-tabs button{font-size:0.875rem;padding:7px 18px}.collection-body{grid-template-columns:93px 153px minmax(0,1fr);gap:10px}.collection-filters{gap:6px;padding-top:4px}.collection-filters button{padding:12px 7px;font-size:0.75rem}.collection-filters button span{font-size:0.625rem}.collection-preview{padding:7px;border-radius:10px}.collection-name{font-size:0.6875rem!important;padding:5px 7px}.collection-preview h3{font-size:1.125rem;margin:3px 0}.collection-preview canvas{max-height:none;height:100px}.selection-tag{font-size:0.625rem}.favorite-button{font-size:0.625rem!important;padding:5px 10px;margin-top:6px}.catalog-heading{margin:0 0 6px}.catalog-heading h3{font-size:1.125rem;margin-top:2px}.catalog-heading small{font-size:0.5625rem}.view-switch button{width:28px;height:28px;font-size:1.25rem}.collection-cards{gap:7px;flex:1}.collection-card{padding:6px}.collection-card canvas{max-height:70px}.collection-card strong{font-size:0.8125rem}.collection-card small{font-size:0.625rem}.collection-cards[data-view=row] .collection-card{flex-basis:150px}.collection-cards[data-view=row] canvas{max-height:100px}.collection-footer{margin-top:7px;padding:8px 9px;gap:9px}.collection-footer p{font-size:0.6875rem;line-height:1.3}.collection-footer .primary{max-width:135px;font-size:0.75rem;padding:8px 10px}.collection-catalog>p[role=status]{font-size:0.625rem;margin-top:3px}.store-intro{margin:2px 0 10px}.store-intro h3{font-size:1.4375rem;margin:8px 0 3px}.store-intro p{font-size:0.75rem}.store-card{padding:12px}.store-card h3{font-size:1.125rem;margin-top:8px}.store-card canvas{max-height:90px;object-fit:contain}.store-card p{font-size:0.6875rem}.store-card .primary{padding:8px;font-size:0.875rem}.settings-grid{gap:10px}.setting-tile{padding:13px}.setting-tile h3,.setting-tile .graphics-label{font-size:1.0625rem;margin-bottom:8px}.segmented button{padding:6px 8px;font-size:0.75rem}.setting-tile p{font-size:0.6875rem;margin-top:8px}.setting-tile .volume-label{margin-top:9px;font-size:0.75rem}.setting-tile input[type=range]{margin:7px 0 0}.setting-tile #graphics{padding:7px;font-size:0.8125rem}.setting-tile #settings-fullscreen{font-size:0.75rem;padding:7px;margin-top:5px}.control-settings{grid-template-columns:125px 1fr;gap:9px 14px}.control-choices{gap:6px}.control-choices button{padding:8px;gap:7px;font-size:0.8125rem}.control-choices button span{font-size:1.4375rem;width:29px}.control-instructions{padding:12px;border-width:3px}.control-demo{max-height:65px}.control-demo span{font-size:2.625rem}.control-demo img{max-width:250px}.control-instructions h3{font-size:1.125rem;margin:8px 0 4px}.control-instructions p{font-size:0.75rem}.boost-options legend{font-size:0.75rem;margin-bottom:4px}.boost-options p{font-size:0.625rem;margin-top:5px}.guide-grid{gap:12px}.guide-grid article{padding:15px}.guide-grid img{height:50px;width:50px}.guide-grid h3{font-size:1.125rem;margin:9px 0 6px}.guide-grid p{font-size:0.75rem;line-height:1.5}.showcase-edit{padding:4px 7px;gap:7px}.showcase-edit b{font-size:0.75rem}.showcase-edit span{font-size:0.5625rem}}
@media (orientation:portrait){.collection-dialog,.settings-dialog{max-height:none}.collection-tabs,.settings-tabs{margin-left:0}.collection-body{grid-template-columns:125px minmax(0,1fr)}.collection-filters{grid-column:1/-1;flex-direction:row;padding:0}.collection-filters button{flex:1;padding:10px}.collection-preview{max-height:390px}.collection-catalog{min-height:350px}.catalog-heading h3{font-size:1.125rem}.collection-cards{grid-template-columns:1fr;max-height:300px}.collection-footer{flex-direction:column;align-items:stretch}.collection-footer .primary{max-width:none}.settings-grid,.store-cards,.guide-grid{grid-template-columns:1fr}.control-settings{grid-template-columns:1fr}.control-choices{flex-direction:row}.control-choices button{flex:1;flex-direction:column;font-size:0.75rem;padding:8px}.boost-options{grid-column:1}.collection-tabs button,.settings-tabs button{font-size:0.8125rem;padding:10px}.menu-page.small-overlay{align-items:flex-start}}
/* Friendly account sign-in. */
#account-panel.small-overlay{z-index:18;align-items:center;background:#12325caa;backdrop-filter:blur(7px)}
.account-dialog.account-dialog{width:min(760px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:20px 22px 18px;background:linear-gradient(180deg,#f8fdff,#e8f7ff);color:#173956}
.account-heading{margin-bottom:8px}
.account-dialog .account-heading h2{margin:2px 0 0;color:#173956;text-shadow:none}
.account-dialog .account-heading small{color:#39718f;font-weight:800}
.account-signed-out{display:grid;grid-template-columns:minmax(210px,.82fr) minmax(350px,1.18fr);gap:22px;align-items:center}
.account-intro,.account-login-column{min-width:0}
.account-hero{text-align:center;padding:4px 18px 12px}
.account-hero strong{display:block;font-size:1.22rem;color:#173956}
.account-hero p{margin:4px 0 0;color:#58758a;font-size:.9rem;line-height:1.35}
.account-cloud{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 7px;border-radius:50%;background:linear-gradient(145deg,#55d9ff,#238fd5);box-shadow:0 7px 18px #1683b84a;color:#fff;font-size:1.65rem}
.facebook-login.facebook-login{position:relative;display:flex;align-items:center;justify-content:center;gap:6px}
.facebook-login.facebook-login small{position:absolute;right:12px;padding:3px 7px;border-radius:999px;background:#fff;color:#31548b;font-size:.66rem;text-transform:uppercase;letter-spacing:.03em}
.facebook-login.facebook-login.coming-soon{opacity:.72;cursor:not-allowed;filter:saturate(.65)}
.account-form.account-form{gap:6px}
.account-input{display:flex;align-items:center;min-height:48px;padding-left:12px;border:2px solid #8bc5e9;border-radius:12px;background:#fff;box-shadow:0 3px 9px #14598512;color:#4e7a95}
.account-input:focus-within{border-color:#20aadc;box-shadow:0 0 0 3px #2ebee72a}
.account-form .account-input input{min-width:0;min-height:44px;padding:8px 10px;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0}
.password-toggle{align-self:stretch;padding:0 12px;border:0;background:transparent;color:#087aa8;font:inherit;font-size:.78rem;font-weight:800}
.account-submit.account-submit{width:100%;min-height:48px;margin-top:8px;border-radius:12px;font-size:1.02rem}
.account-links{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}
.account-dialog .account-links .text-button{font-size:.8rem;color:#075f87;opacity:1;text-shadow:none;text-decoration-color:#075f87}
.account-status.account-status{margin:8px 0 0;min-height:1.25em;color:#365b72;font-size:.8rem;opacity:1}
.guest-divider{display:flex;align-items:center;gap:10px;margin:7px 0;color:#486a80;font-size:.72rem}
.guest-divider::before,.guest-divider::after{content:"";height:1px;flex:1;background:#c9dce8}
.guest-button.guest-button{width:100%;min-height:43px;border-radius:11px}
.account-note{display:block;margin-top:10px;text-align:center;color:#3d6178;font-size:.72rem;line-height:1.35;opacity:1}
.account-success{display:grid;place-items:center;width:64px;height:64px;margin:8px auto;border-radius:50%;background:linear-gradient(145deg,#45d998,#16876f);box-shadow:0 7px 18px #187f6240;color:#fff;font-size:2rem;font-weight:900}
#account-signed-in h3{text-align:center;margin:5px 0;color:#173956}
@media(orientation:landscape) and (max-height:750px){.account-dialog.account-dialog{max-height:calc(100dvh - 24px);padding:14px 18px}.account-heading{margin-bottom:4px}.account-dialog .account-heading h2{font-size:1.45rem}.account-signed-out{gap:18px}.account-hero{padding:0 10px 6px}.account-cloud{width:38px;height:38px;margin-bottom:3px;font-size:1.1rem}.account-hero strong{font-size:1rem}.account-hero p{font-size:.72rem}.account-divider{margin:5px 0}.account-input{min-height:38px}.account-form .account-input input{min-height:34px}.account-submit.account-submit{min-height:38px;margin-top:4px}.account-links{margin-top:5px}.account-status.account-status{margin-top:4px}.account-note{font-size:.66rem}}
@media(orientation:portrait),(max-width:680px){.account-dialog.account-dialog{width:min(540px,100%)}.account-signed-out{display:block}.account-intro{margin-bottom:8px}}
#account-panel.keyboard-open{top:var(--account-viewport-top,0);bottom:auto;height:var(--account-viewport-height,100dvh);padding:6px max(10px,env(safe-area-inset-right)) 6px max(10px,env(safe-area-inset-left));align-items:flex-start}
#account-panel.keyboard-open .account-dialog.account-dialog{width:min(680px,100%);max-height:100%;margin:auto;padding:8px 14px;scroll-padding-block:8px;overscroll-behavior:contain}
#account-panel.keyboard-open .account-heading,#account-panel.keyboard-open .account-intro,#account-panel.keyboard-open .account-divider,#account-panel.keyboard-open .account-status,#account-panel.keyboard-open .guest-divider,#account-panel.keyboard-open .guest-button{display:none}
#account-panel.keyboard-open .account-signed-out{display:block}
#account-panel.keyboard-open .account-form.account-form{gap:2px}
#account-panel.keyboard-open .account-form label{font-size:.72rem;line-height:1.1}
#account-panel.keyboard-open .account-input{min-height:34px;border-radius:9px}
#account-panel.keyboard-open .account-form .account-input input{min-height:32px;padding-block:4px}
#account-panel.keyboard-open .account-submit.account-submit{min-height:35px;margin-top:3px;padding:4px 12px;font-size:.9rem}
#account-panel.keyboard-open .account-links{margin-top:3px}
#account-panel.keyboard-open .account-links .text-button{padding:3px;font-size:.7rem}
/* Full wardrobe: persistent name plaque, combined preview and visible Store. */
.profile-plaque{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#234d7f;border:2px solid #8bc5e9;border-radius:10px;color:#fff;padding:13px 12px;width:100%;font-size:1.1875rem;font-weight:700;text-align:left;box-shadow:inset 0 2px #ffffff20}.profile-plaque #profile-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-plaque>span:last-child{font-size:1.5625rem;color:#e1f4ff}.name-form.saved .name-row button{color:#173956;background:#e6f7ff}.name-row #cancel-name{min-width:26px;padding-inline:5px;background:transparent;color:#fff}.store-shortcut{background:linear-gradient(145deg,#975abe,#58469e)!important;border-color:#e4cafb!important}.store-shortcut .dock-icon{color:#ffde7d}.store-shortcut b{font-weight:650}.snake-preview canvas{display:block;width:100%;height:auto}
.account-button.signed-in{background:linear-gradient(145deg,#36c893,#157f74);border-color:#baffdf}.account-dialog{width:min(540px,100%);color:#173956}.account-dialog>p{margin:12px 0}.account-status{min-height:1.4em;text-align:center;color:#45677c}.account-form{display:grid;gap:8px}.account-form label{font-weight:700;color:#244c68}.account-form input{width:100%;min-height:46px;padding:10px 12px;border:2px solid #8bc5e9;border-radius:10px;background:#fff;color:#173956;font:inherit}.account-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}.account-actions button,.account-dialog>.secondary,#account-signed-in>.secondary{padding:11px}.facebook-login{width:100%;padding:12px;border:2px solid #88a9df;border-radius:11px;background:#1877f2;color:#fff;font-weight:750;font-size:1rem}.facebook-login span{display:inline-grid;place-items:center;width:24px;height:24px;margin-right:7px;border-radius:50%;background:#fff;color:#1877f2;font-family:Arial;font-size:1.25rem}.account-divider{display:flex;align-items:center;gap:10px;margin:14px 0;color:#668093;font-size:.8rem}.account-divider::before,.account-divider::after{content:"";height:1px;flex:1;background:#c9dce8}.account-person{display:flex;align-items:center;gap:12px;margin:16px 0;padding:13px;border-radius:13px;background:#eaf8ff}.account-person img{width:52px;height:52px;border-radius:50%;object-fit:cover}.account-person div{display:grid;min-width:0}.account-person strong,.account-person span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-person span{color:#567084;font-size:.875rem}
.collection-dialog{height:min(750px,100%)}.collection-family{display:flex;gap:8px;justify-content:center;flex-shrink:0}.family-choice{display:flex;align-items:center;gap:7px;padding:5px 13px 5px 7px;border:2px solid #bdeaf1;border-radius:12px;background:#226a91;color:#fff;font-weight:650!important;font-size:0.875rem!important}.family-choice img{width:34px;height:34px;object-fit:contain}.family-choice[aria-pressed=true]{background:#effbff;color:#1b426b;border-color:#fff}.coin-pill{white-space:nowrap;display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:2px solid #ffeab0;border-radius:24px;background:#193e73;color:#ffe27b;font-size:1.125rem}
.collection-body{grid-template-columns:135px 230px minmax(0,1fr)}.collection-filters{gap:5px;overflow:auto}.collection-filters button{padding:13px 10px}.collection-preview{padding-bottom:9px}.collection-preview h3{font-size:1.3125rem}.collection-preview canvas{height:200px;flex:1;max-height:none}.equipped-slots{display:flex;flex-wrap:wrap;gap:4px;justify-content:center;margin:5px 0}.slot-chip{font-size:0.625rem!important;padding:5px 8px;border:1px solid #6e9ebd;border-radius:20px;background:#d9f2fc;color:#19476f}.selection-tag{text-align:center;line-height:1.4}.collection-cards{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start}.collection-card{min-height:160px;padding:12px 7px}.collection-card canvas{max-height:180px}.collection-cards[data-catalog=snakes] .collection-card canvas{max-height:220px}.collection-cards[data-view=row]{align-items:stretch}.collection-cards[data-view=row] .collection-card{flex-basis:155px;justify-content:space-between}.collection-cards[data-view=row] canvas{max-height:none;flex:1;min-height:0;object-fit:contain}.collection-cards[data-view=row][data-catalog=snakes] canvas{max-height:none}.collection-cards[data-view=grid][data-catalog=accessories] .collection-card{min-height:140px}.collection-cards[data-view=grid][data-catalog=accessories] canvas{height:105px}.collection-footer{padding:11px 13px}.collection-actions{display:flex;flex-direction:column;gap:6px;flex-shrink:0;max-width:195px}.collection-actions .primary{width:100%;max-width:none}.collection-actions #collection-play{background:linear-gradient(#70f090,#22ba5d);color:#12492e;border-color:#b9ffb9;box-shadow:0 3px #11643f}.collection-footer p{font-size:0.75rem}
.collection-store{flex:1;padding:0 4px 6px}.store-intro{display:flex;justify-content:space-between;align-items:center;gap:18px;text-align:left;margin:6px 0 14px}.store-intro h3{font-size:2.1875rem}.store-intro p{font-size:0.8125rem}.store-intro>.secondary{padding:10px 18px;width:auto;white-space:nowrap}.store-filters{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.store-filters button{padding:9px 16px;font-size:0.8125rem;font-weight:650;background:#165986;border:1px solid #b3e3ec;border-radius:20px;color:#fff}.store-filters [aria-pressed=true]{background:#fff;color:#194569}#store-status{font-size:0.8125rem;min-height:1em;margin:0 0 10px}.store-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.store-card{min-height:330px;background:linear-gradient(145deg,#597bce,#303c88);padding:15px}.store-card:nth-child(3n+2){background:linear-gradient(140deg,#ac70b2,#743578)}.store-card:nth-child(3n){background:linear-gradient(140deg,#2badb6,#255281)}.store-card h3{font-size:1.25rem;margin:10px 0}.store-card canvas{height:145px;object-fit:contain}.store-card p{margin:5px 0 12px}.store-card-actions{display:flex;align-items:center;gap:7px;width:100%}.store-card-actions .secondary{padding:10px;font-size:0.75rem;width:auto;white-space:nowrap}.store-card-actions .primary{font-size:0.8125rem;flex:1;margin:0;padding:10px 8px}
@media(orientation:landscape) and (max-height:600px){.collection-dialog{height:100%;gap:6px}.collection-header h2{font-size:1.3125rem}.collection-header .menu-pill{font-size:0.5625rem}.coin-pill{font-size:0.8125rem;padding:4px 10px}.collection-family{gap:6px}.family-choice{padding:2px 10px 2px 4px;border-radius:8px;font-size:0.6875rem!important}.family-choice img{width:26px;height:26px}.collection-body{grid-template-columns:88px 150px minmax(0,1fr);gap:9px}.collection-filters button{font-size:0.6875rem;padding:9px 6px}.collection-preview{padding:6px}.collection-preview canvas{height:50px}.collection-preview h3{font-size:0.9375rem}.equipped-slots{gap:3px;margin:3px 0}.slot-chip{font-size:0.5rem!important;padding:3px 5px}.selection-tag{font-size:0.5rem}.favorite-button{margin-top:4px}.catalog-heading h3{font-size:1rem}.catalog-heading small{font-size:0.5rem;letter-spacing:1px}.collection-card{padding:7px 5px;min-height:105px}.collection-card strong{font-size:0.6875rem}.collection-cards[data-view=row] .collection-card{flex-basis:110px}.collection-cards[data-view=grid] .collection-card canvas{max-height:110px}.collection-cards[data-view=grid][data-catalog=accessories] .collection-card{min-height:95px}.collection-cards[data-view=grid][data-catalog=accessories] canvas{height:60px}.collection-footer{padding:6px 8px;gap:7px;margin-top:5px}.collection-footer p{font-size:0.625rem}.collection-actions{gap:4px;max-width:144px}.collection-actions .primary{font-size:0.625rem;padding:6px 8px}.store-intro{margin:3px 0 9px}.store-intro h3{font-size:1.625rem;margin-top:6px}.store-intro p{font-size:0.6875rem}.store-intro>.secondary{font-size:0.75rem;padding:8px 11px}.store-filters{margin:7px 0}.store-filters button{font-size:0.6875rem;padding:6px 12px}#store-status{font-size:0.6875rem;margin-bottom:7px}.store-card{padding:12px;min-height:250px}.store-card h3{font-size:1rem;margin:9px 0}.store-card canvas{height:100px;max-height:100px}.store-card p{font-size:0.625rem}.store-card-actions{gap:5px}.store-card-actions .secondary,.store-card-actions .primary{font-size:0.625rem;padding:7px}.profile-plaque{font-size:0.9375rem;padding:8px}.profile-plaque>span:last-child{font-size:1.1875rem}.store-shortcut{padding:7px}.player-dock{gap:8px}.name-row button{min-width:31px;font-size:0.625rem}.name-row input{padding-inline:5px}}
@media(orientation:portrait){.collection-dialog{height:auto;max-height:none}.collection-body{grid-template-columns:130px minmax(0,1fr)}.collection-filters{grid-column:1/-1;flex-wrap:wrap}.collection-filters button{flex:1}.collection-header h2{font-size:1.25rem}.collection-header .menu-pill{display:none}.collection-family{flex-wrap:wrap}.family-choice{font-size:0.6875rem!important;padding:4px 6px}.family-choice img{width:24px;height:24px}.collection-cards{grid-template-columns:1fr}.collection-actions{max-width:none;width:100%}.store-intro{align-items:flex-start}.store-intro h3{font-size:1.625rem}.store-cards{grid-template-columns:1fr 1fr}.store-card-actions{flex-direction:column}.store-card-actions button{width:100%!important}.profile-plaque{font-size:0.875rem;padding:9px}.profile-plaque>span:last-child{font-size:1.125rem}}
