.profile-hero{min-height:550px;padding-block:5rem}.profile-intro h1{font-size:clamp(3.5rem,7vw,7.6rem)}.dashboard-nav{display:flex;flex-wrap:wrap;gap:.5rem;padding:1.1rem var(--pad);border-block:1px solid var(--line);background:#101915}.dashboard-nav a{padding:.6rem .8rem;border:1px solid #41554b;border-radius:3px;font-size:.75rem;color:#d3e2d9;min-height:44px;display:flex;align-items:center}.dashboard-nav a:hover{border-color:var(--cyan);color:var(--cyan)}.dashboard-prestige,.dashboard-section{padding:clamp(3rem,5vw,5rem) var(--pad);border-top:1px solid var(--line)}.dashboard-prestige{background:radial-gradient(circle at 90% 10%,#30271966,transparent 50%),#0e1512}.dashboard-prestige .profile-heading{align-items:center}.dashboard-prestige .profile-heading>div{min-width:0}.dashboard-prestige .profile-heading p{color:#b9c6be}.prestige-road{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0;list-style:none;gap:.65rem;margin:2rem 0}.prestige-road li{display:flex;align-items:center;justify-content:space-between;gap:.3rem;min-width:0;padding:1rem;border:1px solid #34483d;background:#111a16;border-radius:4px}.prestige-road .earned{border-color:#9f8539;background:#332b16}.prestige-road .next{border-color:var(--cyan)}.prestige-emblem{font-size:1.05rem;color:#84978c;font-weight:900;letter-spacing:.03em}.earned .prestige-emblem{color:var(--gold)}.next .prestige-emblem{color:var(--cyan)}.prestige-road small{color:#a2b2a8;font-size:.55rem;font-weight:800;letter-spacing:.09em}.dashboard-refresh-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.dashboard-refresh-row p{margin:0;color:var(--cyan);font-size:.82rem}.dashboard-section h2,.dashboard-prestige h2{scroll-margin-top:100px}.dashboard-note{font-size:.82rem;color:#acbcb2}.dashboard-prestige .button:disabled,.prestige-dialog .button:disabled{opacity:.55;cursor:default}.dashboard-section .button-secondary,.dashboard-prestige .button-secondary,.prestige-dialog .button-secondary{color:#f2f6ed;background:transparent;border:1px solid #627969}.dashboard-xp-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:2rem 0}.dashboard-xp-modes a,.dashboard-challenge-card{padding:1.6rem;border:1px solid #3c5546;border-radius:8px;background:#111c16}.dashboard-xp-modes a{display:grid;gap:.5rem;min-width:0}.dashboard-xp-modes b{color:#f0f3e9;font-size:1.1rem}.dashboard-xp-modes span{font-size:.78rem;color:var(--cyan)}.dashboard-xp-modes a:hover{border-color:var(--cyan);background:#1a2c20}.dashboard-challenge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0}.dashboard-challenge-card h3{font-size:1.5rem;margin:1rem 0;color:#eef2ec}.dashboard-kicker{font-size:.6rem;color:var(--gold);font-weight:900;letter-spacing:.16em}.dashboard-challenge-card p{font-size:.82rem;color:#adbcb2;margin:.5rem 0}.dashboard-challenge-card strong{display:block;color:var(--cyan);font-size:.85rem;margin-top:1rem}.dashboard-text-link{display:inline-flex;align-items:center;color:var(--cyan);margin-top:1rem;min-height:44px;font-size:.82rem;font-weight:800}.dashboard-board-controls{display:flex;flex-wrap:wrap;align-items:end;gap:1rem;margin:2rem 0}.dashboard-board-controls label{display:grid;gap:.45rem;min-width:180px;font-size:.78rem;color:#c1d1c6}.dashboard-board-controls select{width:100%;min-height:44px;border:1px solid #536d5d;background:#111c16;color:#eef2ec;border-radius:4px;padding:.65rem;font:inherit}.dashboard-own-rank{color:var(--gold);font-weight:800}.dashboard-table-wrap{max-width:100%;overflow-x:auto;border:1px solid #365044;border-radius:5px}.dashboard-table{width:100%;border-collapse:collapse;text-align:left;font-size:.85rem}.dashboard-table th{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:#a5b9ac;background:#131f18}.dashboard-table td,.dashboard-table th{padding:1rem;border-bottom:1px solid #2d4236}.dashboard-table td:nth-child(2){overflow-wrap:anywhere;max-width:240px}.dashboard-table td:first-child{color:var(--cyan);font-weight:900}.dashboard-table td:last-child,.dashboard-table th:last-child{text-align:right}.dashboard-table td:nth-child(3){white-space:nowrap;font-size:.72rem;color:var(--gold)}.dashboard-table tbody tr:hover{background:#13231b}.dashboard-career [data-achievement-count]{display:block;margin-top:.7rem;color:var(--gold)}.prestige-dialog{max-width:570px;width:calc(100% - 2rem);max-height:calc(100dvh - 2rem);overflow-y:auto;padding:2rem;border:1px solid var(--gold);border-radius:10px;background:#0e1812;color:#eaf2e9}.prestige-dialog::backdrop{background:#030807d9}.prestige-dialog h2{font-size:clamp(1.8rem,5vw,2.7rem);margin:0 0 1rem}.prestige-dialog p{font-size:.9rem;color:#bbcabe;line-height:1.7}.prestige-confirm-check{display:flex;align-items:start;gap:.7rem;padding:1rem 0;color:#edf1df;line-height:1.6;font-size:.9rem}.prestige-confirm-check input{width:20px;height:20px;flex-shrink:0;accent-color:var(--gold);margin-top:4px}.prestige-dialog [data-prestige-dialog-error]{color:var(--cyan)}.prestige-dialog .profile-actions{gap:.7rem;margin-top:1rem}.prestige-dialog .button{white-space:normal}.dashboard-nav :focus-visible,.dashboard-section :focus-visible,.dashboard-prestige :focus-visible,.prestige-dialog :focus-visible{outline:3px solid var(--cyan);outline-offset:4px}
@media(max-width:850px){.dashboard-xp-modes{grid-template-columns:1fr}.prestige-road li{display:grid;justify-content:center;text-align:center;padding:.75rem .3rem}.dashboard-challenge-grid{grid-template-columns:1fr}.dashboard-board-controls label{flex:1;min-width:160px}.profile-hero{padding-top:3.5rem;min-height:auto}.dashboard-prestige .profile-heading{grid-template-columns:1fr}.prestige-dialog{padding:1.3rem}}@media(max-width:420px){.dashboard-prestige,.dashboard-section{padding-inline:1rem}.prestige-road{gap:.35rem}.prestige-road small{font-size:.48rem;letter-spacing:0}.prestige-emblem{font-size:.85rem}.dashboard-table td,.dashboard-table th{padding:.65rem .45rem;font-size:.7rem}.dashboard-table th{font-size:.6rem}.dashboard-table td:nth-child(3){font-size:.62rem}.dashboard-nav{padding-inline:1rem}.dashboard-board-controls label{min-width:100%;flex:1}.dashboard-section .button{font-size:.75rem}.dashboard-challenge-card{padding:1.2rem}}
.dashboard-section .profile-heading p{color:#bbc8bf}.dashboard-career [data-achievement-count]{color:#282513}@media(max-width:700px){.dashboard-career .profile-heading h2,.dashboard-section .profile-heading h2,.dashboard-prestige .profile-heading h2{font-size:clamp(2rem,9vw,3rem)}}
@media(max-width:420px){.progression-layout{grid-template-columns:minmax(0,1fr)}.level-core,.level-copy{min-width:0}.level-copy h2{font-size:2.4rem}.career-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.career-stats article{min-width:0;padding:1rem}.career-stats strong{font-size:clamp(1.6rem,7.2vw,2rem);overflow-wrap:anywhere}}
/* Player HQ: one next step from each independent saved system. */
.hq-deck,.hq-milestones{padding:clamp(2rem,4vw,4rem) var(--pad);border-top:1px solid var(--line);background:#101a17;color:#eef2ec}.hq-deck-heading{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}.hq-deck h2,.hq-milestones h2{font:800 clamp(1.7rem,3vw,2.6rem)/1.2 Inter,system-ui,sans-serif;letter-spacing:-.04em;text-transform:none;margin:.7rem 0 1.5rem}.hq-next-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.hq-next-grid article{display:flex;flex-direction:column;min-width:0;padding:1.5rem;border:1px solid #426354;border-radius:14px;background:linear-gradient(140deg,#172b22,#0b1511)}.hq-next-grid article>span,.hq-milestone>span{color:#70e6dc;font-size:.65rem;font-weight:900;letter-spacing:.12em}.hq-next-grid h3{font:750 1.3rem/1.3 Inter,system-ui,sans-serif;margin:.9rem 0;color:#eef2ec;letter-spacing:-.02em;text-transform:none}.hq-next-grid p{font-size:.86rem;color:#bbcfc3;line-height:1.65}.hq-next-grid a{display:flex;align-items:center;min-height:48px;margin-top:auto;color:#f6c643;font-size:.8rem;font-weight:800}.hq-boundary,.hq-milestones>p{font-size:.8rem;line-height:1.7;color:#b4c6ba}.hq-milestones{background:#0b1310}.hq-milestone-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin-top:1.5rem}.hq-milestone{min-width:0;padding:1.4rem;border:1px solid #385045;border-radius:12px;background:#142019;display:flex;flex-direction:column;gap:.65rem}.hq-milestone.earned{border-color:#a38b47;background:#242917}.hq-milestone h3{margin:0;font:750 1.1rem/1.4 Inter,system-ui,sans-serif;color:#eef2ec;text-transform:none}.hq-milestone p{font-size:.82rem;color:#baccbe;margin:0}.hq-milestone strong{font-size:.64rem;color:#f6c643;font-weight:800;letter-spacing:.03em}.hq-milestone progress,.achievement-card progress{appearance:none;width:100%;height:6px;border:0;display:block;margin-top:auto;background:#2a4234;accent-color:#70e6dc}.hq-milestone progress::-webkit-progress-bar{background:#2a4234;border-radius:4px}.hq-milestone progress::-webkit-progress-value{background:#70e6dc;border-radius:4px}.achievement-card progress::-webkit-progress-bar{background:#ccd6cd}.achievement-card progress::-webkit-progress-value{background:#39736f}.achievement-card progress{background:#ccd6cd;accent-color:#39736f;margin:.8rem 0}.achievement-card a{display:flex;align-items:center;min-height:44px;font-size:.73rem;font-weight:800;color:#275c52}.achievement-filters{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:.7rem}.achievement-filters button{min-height:44px;padding:.6rem 1rem;border:1px solid #67786a;border-radius:6px;font:750 .8rem Inter,system-ui,sans-serif;background:transparent;color:#243c30;cursor:pointer}.achievement-filters button[aria-pressed=true]{background:#173f34;color:#eff8ed;border-color:#173f34}.achievement-filter-count{font-size:.78rem;color:#3d5f4d;margin:1rem 0}.achievement-card[hidden]{display:none!important}.hq-deck .button-secondary{color:#e8f5ed;border:1px solid #678474}.hq-deck :focus-visible,.hq-milestones :focus-visible,.achievement-filters :focus-visible{outline:3px solid #70e6dc;outline-offset:4px}.hq-identity-edit{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:1rem;border:1px solid #486858;color:#70e6dc;font-size:.8rem;border-radius:8px}.identity-top{grid-template-columns:1fr auto}.identity-avatar{grid-column:1/-1;width:100%;height:240px;border-radius:12px;background:radial-gradient(ellipse at 50% 50%,#283b2d,#0a1512 70%)}.identity-avatar img{object-fit:contain}.identity-avatar [data-avatar-custom]{height:100%;width:100%;display:grid;place-items:center}.identity-avatar [data-avatar-custom] .geek-robot{height:100%;width:auto;max-width:100%}.identity-top h2{font-size:1.45rem}.identity-card{border-radius:18px}.profile-hero{gap:3rem}.dashboard-nav a{white-space:nowrap}.profile-main :where(section[id],h2[id]){scroll-margin-top:100px}
@media(max-width:850px){.hq-next-grid,.hq-milestone-grid{grid-template-columns:1fr}.hq-next-grid article{padding:1.2rem}.hq-deck,.hq-milestones{padding:2rem 1rem}.identity-avatar{height:220px}.hq-milestone-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-nav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;scroll-padding-inline:1rem;position:sticky;top:66px;z-index:4}.dashboard-nav a{flex-shrink:0}.dashboard-nav a:focus-visible{outline-offset:-3px}.hq-deck-heading .button{white-space:normal}.profile-actions .button{min-height:48px}.profile-main{padding-bottom:env(safe-area-inset-bottom)}}
@media(max-width:420px){.hq-milestone-grid{grid-template-columns:1fr}.identity-card{padding:1.1rem}.hq-deck-heading .button{width:100%;justify-content:center}.achievement-filters button{flex:1;padding-inline:.5rem}.profile-hero{gap:1.5rem}.profile-intro h1{font-size:clamp(3.1rem,15vw,4.5rem)}}

.profile-account-status{font-size:.85rem;line-height:1.6;color:#bfcec5;margin:1rem 0}.identity-top h2{overflow-wrap:anywhere}#profile-name form{display:grid;gap:.85rem}#profile-name label{font-weight:700}#profile-name input{width:100%;min-width:0;min-height:48px;border:1px solid #6c8b7a;border-radius:8px;background:#0a1712;color:#eef5ef;padding:.7rem;font:inherit}#profile-name p{font-size:.82rem;line-height:1.6;margin:0;color:#bfcec5}#profile-name button{justify-content:center}#profile-name :focus-visible{outline:3px solid #70e6dc;outline-offset:3px}
