/* 0.10.13: player dashboard. Existing GROTA palette, no external assets. */
body[data-account-dashboard=true] .server-bar{display:none}
body[data-account-dashboard=true] .account-section{padding-top:30px}
body[data-account-dashboard=true] .account-section>.section-heading{margin-bottom:20px}
body[data-account-dashboard=true] .account-section>.section-heading .eyebrow,body[data-account-dashboard=true] .account-section>.section-heading .section-description{display:none}
body[data-account-dashboard=true] .account-title{font-size:30px}
body[data-account-dashboard=true] .profile-head{padding:16px 20px}
body[data-account-dashboard=true] .profile-head .profile-avatar{width:42px;height:42px;font-size:23px;border-radius:12px}
.player-dashboard.card{padding:0;border:0;background:none;margin-top:0}
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 22px}
.dashboard-heading h2{font-size:clamp(24px,3vw,34px);letter-spacing:-1px;overflow-wrap:anywhere}
.dashboard-heading .eyebrow{margin-bottom:7px}
.dashboard-chip{border:1px solid var(--line);border-radius:30px;padding:7px 12px;color:var(--muted);font-size:9px;letter-spacing:1px;white-space:nowrap}
.dashboard-next{border:1px solid rgba(196,229,120,.25);background:linear-gradient(120deg,rgba(196,229,120,.07),transparent 75%),var(--surface);border-radius:18px;padding:26px 30px;position:relative;overflow:hidden}
.dashboard-next:before{content:'';position:absolute;inset:24px auto 24px 0;width:3px;border-radius:2px;background:var(--lime)}
.dashboard-next[data-tone=warning]{border-color:rgba(225,172,120,.3);background:linear-gradient(120deg,rgba(225,172,120,.06),transparent 75%),var(--surface)}
.dashboard-next[data-tone=warning]:before{background:var(--orange)}
.dashboard-next h3{font-size:clamp(22px,2.7vw,30px);line-height:1.3;letter-spacing:-.8px;margin:0 0 10px;max-width:880px}
.dashboard-next>p:not(.eyebrow){color:var(--muted);font-size:14px;max-width:860px;margin:0 0 18px;white-space:pre-wrap}
.dashboard-next .eyebrow{margin-bottom:14px}
.dashboard-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:18px 0 24px}
.dashboard-progress li{display:flex;align-items:center;gap:10px;padding:13px 15px;border-bottom:2px solid var(--line);color:var(--muted);font-size:12px;min-width:0}
.dashboard-progress li>span{flex:none;border:1px solid var(--line);border-radius:50%;width:28px;height:28px;display:grid;place-items:center;font:10px ui-monospace,monospace}
.dashboard-progress li>strong{font-weight:550}
.dashboard-progress li[data-stage=done]{border-color:rgba(196,229,120,.3);color:var(--lime)}
.dashboard-progress li[data-stage=current]{border-color:var(--lime);color:var(--text)}
.dashboard-progress li[data-stage=current]>span{background:var(--lime);border-color:var(--lime);color:var(--bg)}
.dashboard-metrics{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:22px}
.dashboard-metric,.dashboard-panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px;min-width:0;overflow-wrap:anywhere}
.dashboard-metric{display:flex;flex-direction:column;align-items:flex-start}
.dashboard-metric .label{margin:0 0 11px;font-size:10px}
.dashboard-metric h3{font-size:24px;letter-spacing:-.6px;margin:0 0 6px}
.dashboard-metric>p:not(.label){font-size:12px;color:var(--muted);margin:5px 0 16px}
.dashboard-metric .button{margin-top:auto;padding:8px 12px;min-height:40px;font-size:12px}
.dashboard-metric[data-attention=true]{border-color:rgba(225,172,120,.35)}
.dashboard-number{font-size:27px;line-height:1.3;letter-spacing:-.7px;font-variant-numeric:tabular-nums;font-weight:650;color:var(--lime)}
.dashboard-metric[data-attention=true] .dashboard-number{color:var(--orange)}
.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:22px;align-items:start}
.dashboard-main,.dashboard-aside,.dashboard-details{display:grid;gap:18px;min-width:0}
.dashboard-panel h3{font-size:19px;letter-spacing:-.4px;line-height:1.4;margin:0 0 12px}
.dashboard-panel>.eyebrow{margin-bottom:10px}
.dashboard-panel>summary{cursor:pointer;min-height:28px;font-size:14px;font-weight:600;line-height:1.7;list-style-position:inside}
.dashboard-panel>summary::marker,.dashboard-news>summary::marker{color:var(--lime)}
.dashboard-panel #gameCredentials>.entry:first-child{border:0;padding-top:6px}
.dashboard-panel .card{border:0;padding:16px 0 0;background:none}
.dashboard-panel .card .card-index{display:none}
.dashboard-panel .card h2{font-size:19px}
.dashboard-details .warning-count strong{white-space:nowrap;flex-shrink:0}
.dashboard-panel .card .card-heading .eyebrow{display:none}
.dashboard-panel .credential-secret{padding:10px 0;margin:0}
.dashboard-news{border-top:1px solid var(--line);padding:16px 0}
.dashboard-news>summary{cursor:pointer;display:grid;gap:6px;position:relative;padding-right:24px}
.dashboard-news>summary:after{content:'+';position:absolute;right:0;top:18px;color:var(--lime);font-size:20px}
.dashboard-news[open]>summary:after{content:'−'}
.dashboard-news strong{font-size:15px;font-weight:600;line-height:1.5}
.dashboard-news p{font-size:13px;color:var(--muted);white-space:pre-wrap;margin:14px 0 0;overflow-wrap:anywhere}
.dashboard-link{display:inline-flex;align-items:center;min-height:44px;color:var(--lime);font-size:12px}
#homeServer[data-state=online] h3{color:var(--lime)}
#homeServer .button{display:flex;width:100%;font-size:12px;margin:18px 0 10px;overflow-wrap:anywhere;word-break:break-word}
#homeServer small{display:block;font-size:10px}
.dashboard-aside .fine{font-size:12px}
.dashboard-cooldown{margin:0 0 22px}
.dashboard-cooldown h3{margin:0 0 8px}
.dashboard-cooldown .cooldown-clock{display:block;color:var(--orange);margin-block:6px}
.dashboard-cooldown p{margin-bottom:0}
@media(max-width:850px){.dashboard-columns{grid-template-columns:1fr}.dashboard-aside{grid-template-columns:1fr 1fr}.dashboard-progress li{padding-inline:5px;font-size:11px;gap:7px}}
@media(max-width:850px){.player-dashboard.card{display:flex;flex-direction:column}.dashboard-columns,.dashboard-main,.dashboard-aside{display:contents}.dashboard-heading{order:0}.dashboard-next{order:1}.dashboard-progress{order:2}.dashboard-cooldown{order:3}.dashboard-metrics{order:4}#homeServer{order:5;margin-bottom:18px}#homeCredentials{order:6;margin-bottom:18px}.dashboard-main>.dashboard-panel:not(#homeCredentials){order:7;margin-bottom:18px}.dashboard-details{order:8;margin-bottom:18px}.dashboard-aside>.dashboard-panel:not(#homeServer){order:9}}
@media(max-width:540px){.dashboard-heading{display:block;margin-bottom:18px}.dashboard-chip{display:inline-flex;margin-top:12px;font-size:8px}.dashboard-next{padding:22px}.dashboard-next>p:not(.eyebrow){font-size:13px}.dashboard-next .button{width:100%;gap:8px}.dashboard-progress{grid-template-columns:1fr 1fr;gap:5px 12px;margin:12px 0 18px}.dashboard-progress li{padding-block:10px;font-size:11px}.dashboard-metrics{gap:12px;grid-template-columns:1fr}.dashboard-metric,.dashboard-panel{padding:19px}.dashboard-aside{grid-template-columns:1fr}.dashboard-columns{gap:18px}.dashboard-heading h2{font-size:26px}.dashboard-metric h3{font-size:23px}.dashboard-panel .card h2{font-size:18px}}
@media(max-width:540px){.dashboard-heading .eyebrow,.dashboard-chip{display:none}.dashboard-heading{margin-top:0}.dashboard-heading h2{font-size:23px}.account-section>.section-heading{display:flex;flex-wrap:nowrap}.account-section>.section-heading .button{padding:9px 12px;min-height:42px}.profile-head{margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}
