/* Warm, playful entry theme; battle panels keep their own styles. */
:root{--entry-ink:#422c29;--entry-muted:#806b5b;--entry-paper:#fff8e9;--entry-line:#e8daca;--entry-plum:#773f69;--entry-orange:#df6e35}
body.onboarding-screen{background:radial-gradient(ellipse at 50% 20%,#99573b 0,#54271f 55%,#371717 100%);color:var(--entry-ink);min-height:100dvh;padding:24px 20px;font-family:'Avenir Next','PingFang SC','Microsoft Yahei',sans-serif}
.onboarding-screen .ambient,.onboarding-screen .decor{display:none}
.onboarding-screen .app-shell{position:relative;max-width:1120px;margin:0 auto;padding:0 44px;background:var(--entry-paper);border:1px solid #fff5dc;border-radius:32px;box-shadow:0 18px 60px #230b1433;overflow:hidden}
.playful-brand{font-family:'Trebuchet MS','Avenir Next',sans-serif;font-weight:900;text-align:center;line-height:1;display:flex;align-items:center;justify-content:center;gap:.5em}
.brand-shawn{font-size:.56em;letter-spacing:.09em;color:#724253}
.brand-game{display:inline-flex;gap:.01em;white-space:nowrap;letter-spacing:-.055em}
.brand-game i{display:inline-block;font-style:normal;color:#e36e36;transform:rotate(-5deg)}
.brand-game i:nth-child(2){color:#d99a1c;transform:rotate(5deg)}.brand-game i:nth-child(3){color:#569d80;transform:rotate(-3deg)}.brand-game i:nth-child(4){color:#448da2;transform:rotate(4deg);margin-right:.18em}.brand-game i:nth-child(5){color:#b65d83;transform:rotate(-5deg)}.brand-game i:nth-child(6){color:#dd7849;transform:rotate(4deg)}.brand-game i:nth-child(7){color:#719678;transform:rotate(-4deg)}
#welcome-splash{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;padding:24px;background:radial-gradient(ellipse at center,#a56843,#55271f 65%,#371717);color:#fff2d1;z-index:100000;overflow:hidden}
#welcome-splash[open]{display:grid;place-items:center}#welcome-splash::backdrop{background:#54271f}
.welcome-lockup{position:relative;z-index:1;text-align:center;animation:welcome-lettering 3s linear both}
.welcome-lockup .playful-brand{flex-direction:column;gap:20px;font-size:clamp(52px,11vw,140px);filter:drop-shadow(0 5px 0 #2c0e1540)}
.welcome-lockup .brand-shawn{color:#fff0c9;font-size:.32em;letter-spacing:.26em}
.welcome-lockup .brand-game i{color:#ff8751}.welcome-lockup .brand-game i:nth-child(2){color:#ffce59}.welcome-lockup .brand-game i:nth-child(3){color:#91dbad}.welcome-lockup .brand-game i:nth-child(4){color:#7bcbe5}.welcome-lockup .brand-game i:nth-child(5){color:#eea4bd}.welcome-lockup .brand-game i:nth-child(6){color:#ffbe73}.welcome-lockup .brand-game i:nth-child(7){color:#b5de9c}
.welcome-lockup p{font-size:clamp(15px,2vw,24px);letter-spacing:.18em;margin:30px 0}.welcome-spark{margin:22px auto 0;width:54px;height:54px;display:grid;place-items:center;border-radius:18px;background:#fff2d118;font-size:30px;color:#ffce59;transform:rotate(-10deg)}
.welcome-art{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 12% 18%,#f9bc7d12 0 65px,transparent 66px),radial-gradient(circle at 85% 75%,#f9bc7d12 0 120px,transparent 121px)}.welcome-art b{position:absolute;color:#e7d75c;font-size:70px;left:12%;top:64%;transform:rotate(12deg)}.welcome-art b:nth-child(2){left:82%;top:22%;color:#ffc393;font-size:90px}.welcome-art b:nth-child(3){left:75%;top:80%;color:#a2cba5;font-size:28px}
@keyframes welcome-lettering{0%,12%{opacity:0;transform:translateY(8px)}33%,66.67%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-5px)}}
.entry-page{padding:34px 0 26px;min-height:calc(100dvh - 132px);display:flex;flex-direction:column;justify-content:center}
.entry-heading{text-align:center;margin-bottom:28px}.entry-wordmark{font-size:34px;margin-bottom:36px}.entry-kicker{display:inline-block;font-size:12px;letter-spacing:.08em;color:#9a4c2f;background:#f9e6cb;border-radius:30px;padding:7px 14px;margin:0 0 14px}.entry-heading h1{font-size:clamp(28px,3.2vw,42px);font-weight:800;letter-spacing:-.03em;line-height:1.3;margin:0;color:var(--entry-ink)}.entry-copy{color:var(--entry-muted);font-size:15px;line-height:1.7;margin:14px 0 0}
.entry-choice .entry-heading:after{content:'✦  ✧  ✦';display:block;color:#df843e;letter-spacing:18px;margin:22px 0 0;font-size:23px}
.entry-choices{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:800px;width:100%;margin:0 auto}.entry-option{position:relative;text-align:left;background:#ffe5a4;color:#55391f;border:1px solid #f1d396;border-radius:26px;padding:26px 30px;display:grid;gap:12px;cursor:pointer;min-height:220px;font:inherit;transition:transform .18s,box-shadow .18s;box-shadow:0 5px 0 #e8cd9633}.entry-option:hover{transform:translateY(-3px);box-shadow:0 9px 22px #7a4a2520}.entry-option .entry-symbol{font-size:28px;width:52px;height:52px;border-radius:18px;display:grid;place-items:center;background:#fff9e8;color:#bd623a;transform:rotate(-8deg)}.entry-option strong{font-size:25px;font-weight:800}.entry-option>span:last-of-type{font-size:14px;line-height:1.6}.entry-option>b{position:absolute;right:26px;top:30px;font-size:28px;font-weight:400}.entry-option.guest-option{background:#e0eddc;border-color:#c9debf;color:#355541}.guest-option .entry-symbol{color:#47775c;background:#f4faeb;transform:rotate(8deg)}
.entry-secondary{display:flex;gap:10px;justify-content:center;align-items:center;margin:24px 0 0;font-size:14px;color:var(--entry-muted)}
.onboarding-screen .link-quiet{color:#774261;font:inherit;min-height:44px;padding:8px 12px;background:transparent;border:0;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.onboarding-screen .btn{font-weight:700;border-radius:16px;box-shadow:none;min-height:48px;padding:12px 22px}.onboarding-screen .btn.primary{background:var(--entry-plum);color:#fff8ef;border:1px solid var(--entry-plum);box-shadow:0 4px 0 #512744}.onboarding-screen .btn.secondary{background:#fffaf0;color:#684b3e;border:1px solid #d8bfa8}.onboarding-screen .btn:hover{filter:brightness(1.05)}
.onboarding-screen button:focus-visible,.onboarding-screen summary:focus-visible,.blue-dialog button:focus-visible{outline:3px solid #2f8195;outline-offset:4px}.onboarding-screen .footer-note{color:#887468;font-size:11px;margin:0;padding:16px 0 22px;text-align:center}.onboarding-screen .footer-note a{color:inherit}.onboarding-screen .field{color:#624839;font-size:14px;gap:9px}.onboarding-screen .input{background:#fffdf6;border:1px solid #d8c7b6;color:#422c29;border-radius:15px;box-shadow:none}.onboarding-screen .input::placeholder{color:#998775}.onboarding-screen .input:focus{border-color:#976773;outline:3px solid #e9d7de;outline-offset:2px}
.room-field{width:min(100%,400px);margin:0 auto}.room-field .input{height:76px;font-size:32px;text-align:center;letter-spacing:.3em;background:#fff1ce}.entry-next{width:min(100%,400px);margin:22px auto 0}.entry-appearance .entry-wordmark,.player-dashboard .entry-wordmark{margin-bottom:22px}.entry-setup{max-width:920px;width:100%;margin:0 auto}.entry-setup-bottom{display:flex;gap:24px;align-items:end;margin-top:22px}.entry-name{flex:1;margin:0;max-width:450px}.entry-setup-bottom .btn{min-height:50px}
.onboarding-screen .appearance-editor{background:#fffdf5;border:1px solid #e7d8c6;border-radius:24px;box-shadow:none;color:var(--entry-ink);gap:26px;padding:22px}.onboarding-screen .appearance-preview{background:radial-gradient(circle at 50% 45%,#fff4bc,#f6dfba);border-radius:22px;padding:22px 14px;top:16px}.onboarding-screen .appearance-options h3,.onboarding-screen .appearance-label,.onboarding-screen .appearance-preview p{color:var(--entry-ink)}.onboarding-screen .appearance-genders button{background:#fff7e8;border:1px solid #d8c3aa;color:#6e5247;border-radius:14px;min-height:44px}.onboarding-screen .appearance-genders button[aria-pressed=true]{background:#79466d;color:white;border-color:#79466d}.onboarding-screen .appearance-colors button{background:#fff9ed;border-color:#deccb7;color:#614e43;border-radius:12px}.onboarding-screen .appearance-colors button[aria-pressed=true]{border:2px solid #9c607b;background:#f5e4e9;box-shadow:0 0 0 2px #f5e4e9}.onboarding-screen .appearance-help{color:var(--entry-muted)}
.onboarding-screen .free-looks details{background:#fcf2df;border-color:#e4d4bc}.onboarding-screen .free-looks summary small{color:#46765b}.onboarding-screen .look-choices button{background:#fffcf4;border-color:#d5c6b5;color:#59453a}.onboarding-screen .look-choices button[aria-pressed=true]{background:#ead8e3;box-shadow:inset 0 0 0 2px #9b6b8b;color:#58344c}
.player-dashboard{justify-content:flex-start}.player-dashboard .entry-heading{margin-bottom:22px}.player-dashboard .entry-heading h1{font-size:28px}.player-dashboard .entry-kicker{display:none}.dashboard-hero{display:grid;grid-template-columns:1fr 230px;align-items:center;gap:24px;background:#e99a51;color:#4a2c22;border:1px solid #e5a165;border-radius:26px;padding:28px 34px;margin-bottom:28px;position:relative;isolation:isolate;overflow:hidden}.dashboard-hero:before{content:'';position:absolute;width:320px;height:320px;border-radius:50%;background:#fff8dc20;top:-180px;left:25%;z-index:-1}.hero-eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800;margin:0 0 12px;color:#75412b}.hero-copy h2{font-size:clamp(24px,3vw,34px);margin:0 0 10px;overflow-wrap:anywhere}.hero-copy>p:not(.hero-eyebrow){font-size:14px;line-height:1.6;max-width:400px}.hero-pills{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.hero-pills>span{display:flex;gap:7px;align-items:center;border-radius:30px;background:#fff6dfd9;padding:9px 13px;font-size:18px;font-weight:800}.hero-pills small{font-size:11px;font-weight:500;color:#79553d}.dashboard-actions{display:flex;align-items:center;gap:16px}.hero-character{position:relative;display:grid;place-items:center;align-self:stretch;background:#fff1d5;border:6px solid #ffffff50;border-radius:50% 50% 34% 34%;min-height:245px;transform:rotate(3deg)}.hero-avatar{width:164px;height:220px;position:relative;transform:rotate(-3deg)}.hero-avatar>.fighter{position:relative;width:100%;height:100%}.hero-avatar .sprite-svg{width:100%;height:100%}.hero-character-label{position:absolute;bottom:0;background:#fffdf1;padding:7px 13px;border-radius:20px;font-size:11px;color:#755347;transform:rotate(-3deg)}.hero-star{position:absolute;color:#98486b;font-size:34px;z-index:1}.star-one{left:-20px;top:30px;transform:rotate(-10deg)}.star-two{right:-16px;bottom:50px;color:#6b934e;font-size:45px}
.player-sections{width:100%;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}.player-section{border:1px solid #e5d7c3;border-radius:20px;background:#fffcf4;overflow:hidden;min-width:0}.player-section[open]{grid-column:1/-1}.player-section>summary{display:flex;align-items:center;padding:20px;cursor:pointer;list-style:none;gap:14px;min-height:96px}.player-section>summary::-webkit-details-marker{display:none}.section-text{flex:1;min-width:0}.player-section>summary strong{font-weight:800;font-size:17px;display:block}.player-section>summary small{display:block;color:var(--entry-muted);font-size:11px;margin-top:5px;line-height:1.5}.section-icon{width:46px;height:46px;display:grid;place-items:center;background:#f8d2bd;color:#bd582f;border-radius:15px;font-size:26px;flex-shrink:0}.player-section[data-fold=collection] .section-icon{background:#dfdce9;color:#716b9d}.player-section[data-fold=experience] .section-icon{background:#ffedb0;color:#a47b23}.player-section[data-fold=stats] .section-icon{background:#d8e8d7;color:#4a7951}.player-section[data-fold=shop] .section-icon{background:#f6d8de;color:#a5586c}.player-section[data-fold=training] .section-icon{background:#d5e9ee;color:#417e90}.fold-plus{font-size:24px;font-weight:400;color:#94786b;transition:transform .15s}.player-section[open] .fold-plus{transform:rotate(45deg)}.player-section-body{padding:0 20px 24px;color:#6b5748;line-height:1.7}.player-section-body .entry-name{margin:20px 0 16px}.collection-preview{position:relative;width:130px;height:180px}.collection-preview>.fighter{position:relative;width:100%;height:100%}.collection-preview .sprite-svg{height:100%;width:100%}.experience-total{font-size:52px;color:#795168;line-height:1.3}.experience-total small{font-size:14px;margin-left:14px;color:var(--entry-muted)}.dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:15px 0}.dashboard-stats>div{background:#f9edda;padding:15px;border-radius:15px}.dashboard-stats b{display:block;font-size:30px;color:#774a36;font-weight:700}.dashboard-stats span{font-size:12px}
.account-dialog.blue-dialog{background:#fff8e9;color:#422c29;border:1px solid #ead6bb;border-radius:26px;box-shadow:0 30px 100px #32161655;backdrop-filter:none}.blue-dialog::backdrop{background:#371c1966;backdrop-filter:blur(4px)}.blue-dialog .account-dialog-head{background:#fff8e9;color:#422c29}.blue-dialog .account-dialog-head button{color:#775145;background:#f3e7d6;border-radius:50%}.blue-dialog .shop-summary strong{color:#8c5b28}.blue-dialog input{background:#fffdf7;color:#422c29;border-color:#d8c7b6}.blue-dialog input::placeholder{color:#998775}.blue-dialog .account-hint,.blue-dialog .shop-card p,.blue-dialog .account-history small{color:#806b5b}.blue-dialog .account-message{color:#a43b35}.blue-dialog .shop-card{border-color:#e4d3be;background:#fffcf2;border-radius:20px}.blue-dialog .shop-card:nth-child(3n+2){background:#f0f2e4}.blue-dialog .shop-card:nth-child(3n){background:#f9e9df}.blue-dialog .account-history{border-color:#e4d3be}.blue-dialog .shop-summary{margin:18px 0}.blue-dialog form .btn{width:100%;margin:8px 0 18px}.blue-dialog>button[data-account]{display:block;margin:0 auto}.blue-dialog .shop-tabs button{background:#f2e6d4;border-color:#d8c6ac;color:#654a3d;border-radius:13px}.blue-dialog .shop-tabs button[aria-pressed=true]{background:#79466d;color:#fff9ec;box-shadow:none;border-color:#79466d}.onboarding-screen .info-button,.blue-dialog .info-button{color:#896648;border-color:#c7ab8d;background:#fff8e9}
@media(max-width:700px){body.onboarding-screen{padding:12px 10px}.onboarding-screen .app-shell{padding:0 20px;border-radius:26px}.entry-page{padding:26px 0 18px;min-height:calc(100dvh - 106px)}.entry-wordmark{font-size:27px;margin-bottom:30px}.entry-heading h1{font-size:28px}.entry-heading{margin-bottom:24px}.entry-choices{grid-template-columns:1fr;gap:14px}.entry-option{min-height:175px;padding:20px 24px;gap:8px}.entry-option strong{font-size:23px}.entry-option .entry-symbol{width:42px;height:42px;font-size:24px}.entry-setup-bottom{flex-direction:column;align-items:stretch;gap:18px}.entry-name{width:100%;max-width:none}.onboarding-screen .appearance-editor{grid-template-columns:1fr;padding:14px;gap:18px}.onboarding-screen .appearance-preview{position:relative;top:auto;display:flex;align-items:center;justify-content:center;gap:10px;padding:12px}.onboarding-screen .appearance-figure{width:110px;height:160px;margin:0}.onboarding-screen .appearance-colors button{min-height:55px}.player-sections{grid-template-columns:1fr;gap:12px}.player-section>summary{padding:16px;min-height:84px}.player-section-body{padding:0 14px 20px}.dashboard-hero{grid-template-columns:1fr 120px;padding:20px 16px;gap:8px;border-radius:22px;margin-bottom:20px}.hero-character{min-height:180px;border-width:3px}.hero-avatar{width:118px;height:172px}.hero-copy h2{font-size:23px}.hero-copy>p:not(.hero-eyebrow){font-size:12px}.hero-eyebrow{font-size:9px}.hero-pills{gap:6px}.hero-pills>span{font-size:15px;padding:7px 10px}.hero-pills small{font-size:10px}.dashboard-actions{gap:2px;flex-wrap:wrap}.dashboard-actions .btn{padding:11px 16px;min-height:44px;font-size:13px}.dashboard-actions .link-quiet{font-size:11px}.hero-character-label{font-size:9px;padding:5px 7px;white-space:nowrap}.star-one{left:-10px;font-size:25px}.star-two{right:-10px;font-size:30px}.dashboard-stats{grid-template-columns:repeat(2,1fr)}.blue-dialog{width:calc(100vw - 24px)}.player-dashboard .entry-heading h1{font-size:23px}.onboarding-screen .footer-note{font-size:10px;line-height:1.8}}
@media(max-width:380px){.dashboard-hero{grid-template-columns:1fr}.hero-character{grid-row:1;width:140px;justify-self:center}.hero-copy{text-align:center}.hero-pills,.dashboard-actions{justify-content:center}.onboarding-screen .app-shell{padding:0 14px}}
@media(max-height:600px) and (orientation:landscape){body.onboarding-screen{padding:12px}.onboarding-screen .app-shell{padding:0 28px}.entry-page{padding:24px 0;min-height:calc(100dvh - 104px)}.entry-heading{margin-bottom:20px}.entry-wordmark{font-size:26px;margin-bottom:20px}.entry-heading h1{font-size:28px}.entry-option{min-height:170px;padding:18px 22px;gap:7px}.entry-choice .entry-heading:after{display:none}.entry-option strong{font-size:22px}.entry-option .entry-symbol{width:38px;height:38px;font-size:22px}.entry-secondary{margin-top:14px}.onboarding-screen .appearance-figure{height:180px;width:130px}.dashboard-hero{grid-template-columns:1fr 180px;padding:22px 28px}.hero-character{min-height:210px}.hero-avatar{height:190px;width:145px}}
@media(prefers-reduced-motion:reduce){.welcome-lockup{animation:none;opacity:1}.entry-option,.fold-plus{transition:none}}
/* Override legacy landing-page spacing only inside the new dashboard. */
.onboarding-screen .app-shell{width:100%}.dashboard-hero .hero-copy{padding:0;min-width:0}
@media(max-width:700px){.dashboard-hero .hero-character{align-self:center;height:200px;min-height:0;width:120px}.dashboard-hero .hero-copy h2{font-size:21px}.hero-character-label{bottom:3px}}

@media(max-width:700px){.hero-name{display:block;margin-top:4px;font-size:20px}}
