/* GrowtopiaDC — Charcoal Edition · V17
   Deliberately quiet, near-black interface. No scenery/background illustration.
   Uses the existing Growtopia sprites, local database and API unchanged. */
:root{
  color-scheme:dark;
  --bg:#0e1010;--side:#111414;--panel:#191c1c;--panel2:#202424;
  --line:#303737;--text:#f4f6f5;--soft:#b8c1be;--muted:#87948f;
  --mint:#84e3b8;--cyan:#93cdb2;--blue:#9ebbac;--violet:#c7b9a5;
  --gold:#e9bb72;--radius:15px;--shadow:0 14px 35px rgba(0,0,0,.12)
}
*{scrollbar-color:#454d49 #111414}
html,body,.app-shell{background:#0e1010;color:#eff4f1}
html{scroll-behavior:smooth}
body{font-family:Inter,'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased}
body::before,body::after{display:none!important}
button,a,input,select,textarea{transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
::selection{background:rgba(132,227,184,.27);color:#fff}

/* The existing HTML/sidebar is kept; only the presentation is updated. */
.sidebar{background:#121515;border-right:1px solid #2c3330;flex-basis:235px;padding:29px 13px 23px}
.brand{padding:0 11px 34px;gap:11px}
.brand-mark{background:#242a27;border:1px solid #38413a;border-radius:11px;width:40px;height:40px}
.brand-mark img{width:34px;height:34px;image-rendering:pixelated}
.brand-name{color:#f3f7f4;font-weight:800;font-size:17px;letter-spacing:-.4px}
.brand-name span{color:#92dfb7}.brand-sub{font-size:8px;color:#8b9b93;letter-spacing:.95px}
.aside-caption{color:#717e77;padding:0 15px;margin-bottom:10px;font-size:9px}
.side-nav{gap:5px}.sidebar .nav-item{font-size:13px;font-weight:600;color:#afb9b4;border:1px solid transparent;border-radius:10px;min-height:49px;padding:8px 12px}
.sidebar .nav-item:hover{color:#f6f8f6;background:#222b33;border-color:#303a33;transform:translateX(2px)}
.sidebar .nav-item.active{color:#f5f9f5;background:linear-gradient(90deg,#263444,#222b33);border-color:#465443;box-shadow:inset 3px 0 0 #d8bb80}
.sidebar .nav-item.active .nav-sprite img,.sidebar .nav-item:hover .nav-sprite img{filter:none}
.sidebar .nav-arrow{margin-left:auto;color:#7d8a82;font-size:17px}
.sidebar .sync-panel{background:#1a1f1d;border:1px solid #313a34;border-radius:11px}
.sidebar .sync-panel b{color:#dfe8e1}.sidebar .sync-panel small,.side-footer{color:#8a9790}
.sync-led,.status-dot{background:#72d6a4;box-shadow:0 0 0 4px rgba(114,214,164,.09)}
.topbar{background:#121515;border-bottom:1px solid #2b322e;height:68px;flex-basis:68px;padding:0 34px}
.breadcrumbs{font-size:10px;color:#d3dfd7}.crumb-light{color:#8d9c91}.crumb-sep{color:#58645b}
.top-actions{gap:10px}.top-pill{color:#a4b2a8;font-size:10px}
.mode-switch,.search-trigger,.time-mode-switch,.avatar,.time-mode-option{background:#1c2220;border-color:#36413a;color:#d5dfd8;box-shadow:none;border-radius:9px}
.mode-switch:hover,.search-trigger:hover{background:#29322c;border-color:#657263}
.mode-switch.active,.time-mode-option.active{background:#2e382e;border-color:#596c51;color:#bcebc9;box-shadow:none}
.time-mode-option{border-color:transparent;background:transparent;color:#97a69c}
.time-mode-option:hover{color:#fff;background:#29312c}
.search-trigger{font-size:17px}.search-trigger kbd{background:#303a33;color:#a5b7aa}
.avatar{background:#263129;color:#bde5cb;border-radius:10px}
.content{max-width:1710px;padding:32px clamp(22px,3vw,54px) 65px;min-height:calc(100vh - 130px)}
.footer{background:#121515;border-top:1px solid #29312c;color:#849288;font-size:10px;padding:17px 36px}

/* Global surfaces: no blue leftovers on other pages and dialogs. */
.surface-card,.panel,.next-panel,.calendar-score-table,.featured-event,.scan-card,
.leaderboard-board,.result-card,.stat-card,.mini-stat,.challenge-card,.form-panel,
.review-item,.calendar-hint,.day-empty,.schedule-explainer,.cycle-forecast,
.modal,.file-zone,.sync-panel,.event-details{background:#191e23;border:1px solid #333d36;border-radius:13px;box-shadow:none;color:#e6eee9}
.panel-head,.leaderboard-head,.modal-head,.result-head{background:#212831;border-color:#333d37;color:#f1f6f2}
.leaderboard-columns{background:#151a17;border-color:#333d36;color:#a7b6aa}
.leaderboard-entry,.leaderboard-entry:nth-child(2n){background:#191f1b;border-color:#303a33}
.leaderboard-entry:hover,.challenge-row:hover{background:#283440}
.leaderboard-head-title h2,.leaderboard-head-facts b,.lb-name,.lb-number,.lb-identity{color:#edf4ef}
.leaderboard-eyebrow,.lb-wins,.text-link{color:#92e2b7}
.leaderboard-toolbar .dropdown,.leaderboard-search,.field,.dropdown,.textarea,.scan-fields input,.scan-fields select{background:#202723;border:1px solid #38443b;border-radius:9px;color:#e8f2eb;box-shadow:none}
.leaderboard-search input{color:#e8f2eb}
.btn,.btn.ghost,.icon-button,.today-button{background:#272f29;border:1px solid #435047;border-radius:9px;color:#dce7dd;box-shadow:none;text-shadow:none}
.btn:hover,.icon-button:hover,.today-button:hover{background:#353e36;border-color:#657467;color:#fff;transform:translateY(-1px)}
.btn.primary{background:#8bcca7;border:1px solid #80c19b;border-radius:9px;color:#142219;box-shadow:none;text-shadow:none}
.btn.primary:hover{background:#a5e2bb}
.badge,.status-chip,.mini-tag{background:#29362e;border:1px solid #45594a;color:#c8e6d0;border-radius:7px;box-shadow:none}
.badge.warn,.status-chip.amber{background:#3e3121;border-color:#7e6239;color:#f4c77f}
.status-chip.green{background:#254338;border-color:#3b745b;color:#b3efcd}
.status-chip.blue,.status-chip.neutral{background:#29362e;border-color:#465e4c;color:#b6d7c2}
.page-title,.panel-title,.card-title-row h3,.calendar-head h3,.surface-card>h3,.challenge-card h3,.result-name{color:#f2f5f2;text-shadow:none}
.page-desc,.panel-sub,.result-meta,.challenge-card p,.challenge-stats span,.stat-caption,.leaderboard-head-title p,.card-title-row p,.calendar-head p{color:#9caea2}
.number,.score-rank,.stat-value,.challenge-stats b,.challenge-count{color:#cfdfd0;text-shadow:none}
.challenge-card:hover{transform:translateY(-3px);border-color:#5d725f;background:#262e28;filter:none;box-shadow:0 10px 26px rgba(0,0,0,.18)}
.challenge-icon,.challenge-card .challenge-icon,.line-icon,.calendar-icon,.leaderboard-challenge-icon{background:#29342c;border:1px solid #3d4e40;box-shadow:none;border-radius:10px}
.result-card,.stat-card,.challenge-card{background:#1c2228}
.review-item,.modal,.form-panel{background:#1b2128}.modal-backdrop{background:rgba(0,0,0,.75);backdrop-filter:blur(7px)}
.modal-head h3{color:#f2f6f2;text-shadow:none}.close-modal{background:#292e2b;border:1px solid #485249;border-radius:8px;color:#eee;text-shadow:none}
.profile-stat,.event-details,.score-table-heading,.featured-event{background:#242c35;border-color:#364239}
.profile-stat b{color:#b2e0be}
.calendar-hint,.day-empty{background:#202723;color:#b0c1b4}
.schedule-explainer{background:#1a201c}
.scan-source,.scan-help,.footer,.small-card-note{color:#95a89b}

/* Homepage: actual screenshots & cycle state — no invented user tracking. */
.dcx-page{display:block;max-width:100%}
.dcx-page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:0 0 27px}
.dcx-label,.dcx-eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:#a3b4a9}
.dcx-page-heading h1{font-size:clamp(38px,3.6vw,58px);letter-spacing:-2.4px;line-height:1.04;font-weight:820;color:#f8faf8;margin:9px 0 11px}
.dcx-page-heading p{color:#98a69c;font-size:13px;line-height:1.5;margin:0}
.dcx-calendar-link{flex:0 0 auto;border:1px solid #39443c;background:#202830;color:#d1ded4;border-radius:9px;padding:12px 16px;font-weight:670;font-size:12px;cursor:pointer}
.dcx-calendar-link:hover{background:#303930;border-color:#697d6b;transform:translateY(-2px)}
.dcx-calendar-link span{margin-left:8px;color:#c5d3c7}
.dcx-summary{display:grid;grid-template-columns:minmax(0,1.11fr) minmax(0,.89fr);border:1px solid #353d37;border-radius:17px;background:linear-gradient(122deg,#1c2228 0%,#171c21 53%,#1b2026 100%);box-shadow:0 15px 35px rgba(0,0,0,.1);padding:38px 36px;margin-bottom:27px;overflow:hidden}
.dcx-timer-panel{padding:4px 33px 3px 0;display:flex;flex-direction:column;justify-content:center;min-width:0}
.dcx-eyebrow{display:flex;gap:13px;align-items:center;color:#b9cac0}
.dcx-live-dot{display:inline-block;flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:#80ecc0;box-shadow:0 0 0 5px rgba(128,236,192,.11);animation:dcx-breathe 2.8s ease-in-out infinite}
.dcx-countdown{font-size:clamp(49px,6.1vw,108px);font-weight:830;letter-spacing:-.061em;line-height:1.05;color:#f7f9f6;font-variant-numeric:tabular-nums;white-space:nowrap;margin:24px 0 14px;text-shadow:none;overflow:visible}
.dcx-start-row{display:flex;align-items:center;gap:17px;flex-wrap:wrap;font-size:clamp(14px,1.22vw,19px);font-weight:650;color:#e3ebe4;font-variant-numeric:tabular-nums}
.dcx-estimate-chip{display:inline-flex;align-items:center;background:#362c1b;border:1px solid #76603c;color:#e9c47d;border-radius:8px;padding:7px 11px;font-size:11px;font-weight:760;white-space:nowrap}
.dcx-estimate-chip.is-confirmed{color:#b4eecb;background:#263c2e;border-color:#4d7955}
.dcx-timer-foot{margin-top:24px;color:#81948a;font-size:11px;line-height:1.5}
.dcx-cycle-panel{display:flex;flex-direction:column;justify-content:center;min-width:0;border-left:1px solid #3c4540;padding-left:41px}
.dcx-cycle-main{display:grid;grid-template-columns:minmax(150px,.82fr) minmax(180px,1.18fr);gap:26px;align-items:start;min-width:0}
.dcx-cycle-tally{min-width:0}
.dcx-subtitle{display:block;color:#a5b5ac;font-size:13px;line-height:1.45}
.dcx-cycle-numeral{margin:8px 0 5px;display:flex;align-items:baseline;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:clamp(52px,5vw,90px);font-weight:790;line-height:1.05;letter-spacing:-4px;color:#acb4b0}
.dcx-cycle-numeral strong{color:#91ebbe}.dcx-cycle-numeral span{font-weight:650}
.dcx-cycle-caption{font-size:13px;white-space:nowrap;color:#aebbb1}.dcx-muted-sep{color:#68776d;padding:0 5px}
.dcx-cycle-completed{border-left:1px solid #37413b;padding-left:22px;display:grid;gap:12px;align-content:center;min-width:0}
.dcx-done-row{display:flex;align-items:center;gap:13px;color:#e7eee8;font-size:13px;font-weight:560;min-width:0;line-height:1.3}
.dcx-done-row .pixel-icon{width:31px;height:31px;flex:0 0 31px;image-rendering:pixelated;object-fit:contain}
.dcx-check{width:19px;height:19px;flex:0 0 19px;display:grid;place-items:center;border-radius:50%;background:#a3ecc3;color:#183a26;font-size:12px;font-weight:950}
.dcx-empty-cycle{color:#96a59a;font-size:12px;line-height:1.5;margin:13px 0}
.dcx-cycle-next{border-top:1px solid #39413b;margin-top:24px;padding-top:18px;display:flex;align-items:end;justify-content:space-between;gap:18px}
.dcx-cycle-next strong{display:block;margin-top:5px;color:#f2f4f0;font-size:clamp(17px,1.5vw,23px);font-weight:750;font-variant-numeric:tabular-nums;white-space:normal}
.dcx-cycle-next small{font-size:10px;line-height:1.5;max-width:190px;text-align:right;color:#93a399}
.dcx-no-time{padding:30px;color:#bcc7bc}
.dcx-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 16px}
.dcx-section-heading h2{font-size:23px;letter-spacing:-.75px;line-height:1.25;font-weight:780;color:#eff4ef;margin:0}
.dcx-section-heading>span{font-size:13px;color:#9caba1}
.dcx-possibilities-section{margin-bottom:30px}
.dcx-possibilities-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}
.dcx-possible{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:128px;border:1px solid #353d37;background:#1c2229;color:#e5ebe5;border-radius:13px;padding:17px 11px 14px;gap:10px;cursor:pointer;text-align:center;overflow:hidden}
.dcx-possible:hover,.dcx-possible:focus-visible{background:#283029;border-color:#7a9980;box-shadow:0 12px 26px rgba(0,0,0,.16);transform:translateY(-3px)}
.dcx-possible .pixel-icon{width:50px;height:50px;object-fit:contain;image-rendering:pixelated;transition:transform .22s ease}
.dcx-possible:hover .pixel-icon{transform:translateY(-3px) scale(1.08)}
.dcx-possible>span:not(.dcx-card-arrow){font-size:12px;line-height:1.32;font-weight:650;overflow-wrap:anywhere}
.dcx-card-arrow{position:absolute;right:11px;top:8px;opacity:0;color:#b1eec7;font-size:15px;transition:opacity .2s ease,transform .2s ease}
.dcx-possible:hover .dcx-card-arrow{opacity:1;transform:translate(1px,-1px)}
.dcx-poss-note{color:#91a295;font-size:11px;line-height:1.5;margin:12px 0 0}
.dcx-calendar-section{margin-top:10px}
.dcx-calendar-title{margin-bottom:15px}
.dcx-calendar-title p{color:#92a398;font-size:12px;margin:6px 0 0}
.dcx-calendar-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.dcx-calendar-stack>.calendar-surface{width:100%;min-width:0;padding:25px 26px 22px;background:#1a2026;border:1px solid #343c35;border-radius:15px}
.dcx-calendar-stack>.day-detail{width:100%;min-width:0;background:#1a2026;border-radius:15px;padding:22px 26px}
.dcx-calendar-stack .calendar-head{margin-bottom:18px;align-items:center}
.dcx-calendar-stack .calendar-head h3{font-size:17px;font-weight:740;color:#eef3ee}
.dcx-calendar-stack .calendar-head p{font-size:11px;color:#92a49a}
.dcx-calendar-stack .calendar-nav{gap:7px}
.dcx-calendar-stack .calendar-jump-month,.dcx-calendar-stack .calendar-jump-year{background:#242d37;border:1px solid #475348;color:#dfe9df;box-shadow:none;border-radius:8px;font-size:11px}
.dcx-calendar-stack .icon-button{height:33px;width:33px;border-radius:8px;font-size:20px}
.dcx-calendar-stack .weekday-row{gap:5px;margin:0 0 5px}
.dcx-calendar-stack .weekday-row span{font-size:10px;color:#a0aea2;padding:8px 0}
.dcx-calendar-stack .month-grid{gap:5px}
.dcx-calendar-stack .day-cell{border:1px solid #374139;background:#1f252b;border-radius:8px;min-height:112px;padding:8px 5px;transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease}
.dcx-calendar-stack .day-cell:hover{background:#2b352d;border-color:#64846b;transform:translateY(-2px)}
.dcx-calendar-stack .day-cell.is-today{border-color:#c29e60;background:#312c22}
.dcx-calendar-stack .day-cell.is-selected{border-color:#94cd9a;background:#27372c;box-shadow:inset 0 0 0 1px rgba(151,220,165,.32)}
.dcx-calendar-stack .day-number{color:#e1e9e1;font-size:12px}
.dcx-calendar-stack .day-slot-time{color:#a2b1a2;font-size:10px}
.dcx-calendar-stack .day-event-label{color:#b5c4b7;font-size:10px;line-height:1.25}
.dcx-calendar-stack .calendar-icon{background:#2a342d;border:1px solid #3f5745;border-radius:8px}
.dcx-calendar-stack .calendar-icon.monthly{background:#3a2e25;border-color:#6b553b}
.dcx-calendar-stack .calendar-icon.reported{background:#2c3b30;border-color:#639075}
.dcx-calendar-stack .calendar-icon.scored{background:#2d3a30;border-color:#6d9e79}
.dcx-calendar-stack .calendar-unknown{background:#27302a;border:1px dashed #627568;color:#a6c1ac;border-radius:8px}
.dcx-calendar-stack .day-cell.outside{opacity:.35}
.dcx-calendar-stack .cycle-day-label.reset{background:#3b503c;color:#c5ebc3}
.dcx-calendar-stack .cycle-day-label{background:#54432a;color:#f1c987}
.dcx-calendar-stack .calendar-key{border-color:#3a453b;color:#9caa9d;margin-top:19px;padding-top:15px}
.dcx-calendar-stack .calendar-key .key-dot.green{background:#8fe1b1}
.dcx-calendar-stack .calendar-key .key-dot.sky{background:#95be9f}
.dcx-calendar-stack .calendar-key .key-dot.orange{background:#e1b97f}
.dcx-calendar-stack .day-detail h3{font-size:20px;color:#f0f5f0}
.dcx-calendar-stack .day-detail .card-title-row{border-bottom:1px solid #343e36;padding-bottom:16px}
.dcx-calendar-stack .event-line{border-color:#343f35}
.dcx-calendar-stack .day-score-row{background:#252f38;border-color:#37463b;color:#edf3ee}
.dcx-calendar-stack .day-score-row:hover{background:#354336}
.dcx-calendar-stack .calendar-score-table,.dcx-calendar-stack .featured-event{background:#202a33;border-color:#385041}
.dcx-summary-footer{display:flex;flex-wrap:wrap;gap:12px 30px;border-top:1px solid #313a33;margin-top:27px;padding:20px 5px;color:#899b8f;font-size:12px}
.dcx-summary-footer b{font-size:16px;color:#e8f3eb;margin-right:5px}

/* Quiet motion: entry/hover cues rather than glowing gradients. */
.dcx-page-heading,.dcx-summary,.dcx-possibilities-section,.dcx-calendar-section{animation:dcx-reveal .35s ease both}
.dcx-summary{animation-delay:.045s}.dcx-possibilities-section{animation-delay:.095s}.dcx-calendar-section{animation-delay:.14s}
@keyframes dcx-reveal{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes dcx-breathe{50%{box-shadow:0 0 0 7px rgba(128,236,192,.04)}}

/* Responsive layout without losing the calendar or interactivity. */
@media(max-width:1450px){
 .dcx-summary{padding:31px 28px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .dcx-cycle-panel{padding-left:27px}.dcx-cycle-main{grid-template-columns:minmax(125px,.85fr) minmax(150px,1.15fr);gap:16px}
 .dcx-cycle-completed{padding-left:14px}.dcx-done-row{gap:8px;font-size:11.5px}
 .dcx-countdown{font-size:clamp(48px,5.6vw,87px)}
 .dcx-possibilities-grid{gap:9px}
}
@media(max-width:1170px){
 .dcx-summary{grid-template-columns:1fr;gap:26px}
 .dcx-timer-panel{padding:0}.dcx-cycle-panel{padding:23px 0 0;border-left:0;border-top:1px solid #3d463e}
 .dcx-cycle-main{grid-template-columns:220px minmax(0,1fr);gap:26px}.dcx-countdown{font-size:clamp(64px,7vw,98px)}
 .dcx-possibilities-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .dcx-possible{min-height:112px}
}
@media(max-width:840px){
 .dcx-page-heading{align-items:flex-start}.dcx-page-heading h1{font-size:42px}
 .dcx-calendar-stack>.calendar-surface{padding:18px 14px}.dcx-calendar-stack .calendar-head{flex-wrap:wrap;gap:12px}
 .dcx-calendar-stack .calendar-head .calendar-nav{width:100%;justify-content:flex-start}
 .dcx-calendar-stack .calendar-v7-day{min-height:97px;padding:6px 2px;gap:3px}
 .dcx-calendar-stack .calendar-v7-day .calendar-icon{width:33px;height:33px;flex-basis:33px}
 .dcx-calendar-stack .calendar-v7-day .calendar-icon img{width:29px;height:29px}
 .dcx-calendar-stack .calendar-v7-day .calendar-unknown{width:30px;height:30px;flex-basis:30px;font-size:17px}
 .dcx-calendar-stack .calendar-v7-day .day-icon-collection{min-height:37px}
 .dcx-calendar-stack .day-event-label{font-size:8px}
}
@media(max-width:760px){
 .sidebar{width:260px;flex-basis:260px}.topbar{padding:0 15px}
 .content{padding:25px 16px 44px}
 .dcx-summary{padding:23px 19px}.dcx-page-heading{gap:13px}.dcx-page-heading h1{font-size:40px}
 .dcx-calendar-link{padding:9px;font-size:11px}
 .dcx-cycle-main{grid-template-columns:165px minmax(0,1fr);gap:10px}.dcx-cycle-numeral{font-size:65px}
 .dcx-possibilities-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .dcx-possible .pixel-icon{width:43px;height:43px}.dcx-possible{min-height:112px}
 .dcx-calendar-stack .calendar-v7-day{min-height:85px}
}
@media(max-width:520px){
 .dcx-page-heading{flex-direction:column;align-items:flex-start;margin-bottom:21px}.dcx-page-heading h1{font-size:38px}
 .dcx-summary{padding:23px 16px;gap:18px;margin-bottom:23px}
 .dcx-countdown{font-size:clamp(43px,11vw,66px);margin:22px 0 12px;letter-spacing:-.07em}
 .dcx-start-row{font-size:14px;gap:10px}.dcx-estimate-chip{font-size:10px;padding:5px 8px}
 .dcx-cycle-panel{padding-top:18px}.dcx-cycle-main{grid-template-columns:112px minmax(0,1fr);gap:10px}
 .dcx-cycle-numeral{font-size:49px;letter-spacing:-3px}.dcx-cycle-caption{font-size:10px;white-space:normal}
 .dcx-cycle-completed{padding-left:10px;gap:6px}.dcx-done-row{font-size:10px;gap:6px}
 .dcx-done-row .pixel-icon{height:25px;width:25px;flex-basis:25px}.dcx-check{height:15px;width:15px;flex-basis:15px;font-size:9px}
 .dcx-cycle-next{align-items:flex-start;flex-direction:column;gap:8px;margin-top:16px;padding-top:14px}
 .dcx-cycle-next small{text-align:left;max-width:none}.dcx-cycle-next strong{font-size:19px}
 .dcx-section-heading h2{font-size:20px}.dcx-section-heading>span{font-size:11px}
 .dcx-possibilities-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dcx-possible{min-height:104px}.dcx-possible>span:not(.dcx-card-arrow){font-size:11px}
 .dcx-calendar-title p{font-size:11px}
 .dcx-calendar-stack>.calendar-surface{padding:13px 8px}.dcx-calendar-stack>.day-detail{padding:18px 13px}
 .dcx-calendar-stack .weekday-row,.dcx-calendar-stack .month-grid{gap:3px}
 .dcx-calendar-stack .weekday-row span{font-size:8px}
 .dcx-calendar-stack .calendar-v7-day{min-height:66px;padding:5px 1px;gap:3px}
 .dcx-calendar-stack .day-event-label{display:none}.dcx-calendar-stack .day-slot-time{font-size:7px}
 .dcx-calendar-stack .calendar-v7-day .day-icon-collection{min-height:29px}
 .dcx-calendar-stack .calendar-v7-day .calendar-icon{height:28px;width:28px;flex-basis:28px}
 .dcx-calendar-stack .calendar-v7-day .calendar-icon img{height:25px;width:25px}
 .dcx-calendar-stack .calendar-v7-day .calendar-unknown{width:23px;height:26px;flex-basis:23px;font-size:14px}
 .dcx-calendar-stack .day-number{font-size:9px}
 .dcx-calendar-stack .cycle-day-label{font-size:6px}
 .dcx-summary-footer{gap:10px 18px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
/* Finishing details: fully remove the previous cyan sidebar accent. */
.sidebar{box-shadow:none}
.sidebar::before{display:none}
.dcx-calendar-stack .calendar-nav select.dropdown{background:#242d37;border:1px solid #475348;color:#dfe9df;box-shadow:none}
.mobile-menu{background:#242d37;border:1px solid #49554b;border-radius:8px;color:#e6eee6;box-shadow:none}
@media(max-width:800px){.sidebar{box-shadow:20px 0 45px rgba(0,0,0,.35)}}

/* V18: Records and challenge taxonomy. Restrained charcoal, simple motion. */
.challenge-group{margin:25px 0 35px}
.challenge-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 15px;padding:0 2px 11px;border-bottom:1px solid #343d36}
.challenge-group-head h2{font-size:19px;color:#f2f5f1;letter-spacing:-.4px;margin:0}
.challenge-group-head span{font-size:12px;color:#9ba9a0}
.records-page{max-width:100%;padding-bottom:25px}
.records-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 26px}
.records-title-row h1{font-size:clamp(36px,4vw,55px);letter-spacing:-1.9px;line-height:1.15;color:#f5f7f5;margin:8px 0 9px}
.records-title-row p{margin:0;color:#9aa89f;font-size:13px}
.records-hero-icon{width:66px;height:66px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 5px 13px #0005)}
.records-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;border:1px solid #323c34;background:#1a2027;border-radius:13px;padding:15px 19px;margin-bottom:19px}
.records-toolbar-label{font-weight:730;color:#e9f0e9;font-size:13px}
.records-control-wrap{display:flex;gap:11px;align-items:center;flex-wrap:wrap}
.records-control-wrap label{font-size:11px;color:#9aaa9e;font-weight:650}
.records-control-wrap .dropdown{background:#232b25;color:#ebf1eb;min-height:37px;border:1px solid #3e4b40;border-radius:8px;font-size:12px}
.records-metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:26px}
.records-metric{min-width:0;border:1px solid #343d36;background:linear-gradient(150deg,#1c221e,#171d19);border-radius:14px;padding:23px 24px 16px;animation:records-in .28s ease both}
.records-metric:nth-child(2){animation-delay:.05s}.records-metric:nth-child(3){animation-delay:.09s}.records-metric:nth-child(4){animation-delay:.13s}
.records-metric:hover{border-color:#53695a;box-shadow:0 9px 26px rgba(0,0,0,.12);transform:translateY(-2px)}
.records-metric-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.records-metric-symbol{color:#c5dfc9;font-size:22px;font-weight:700}.records-metric-overline{font-size:9px;font-weight:800;letter-spacing:1.5px;color:#758b7d}
.records-metric h2{font-size:17px;letter-spacing:-.3px;margin:0 0 6px;color:#eff5ef}
.records-metric p{font-size:11px;color:#9aa99d;line-height:1.5;margin:0 0 15px;min-height:32px}
.records-feature{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:0 0 16px;border-bottom:1px solid #384238}
.records-feature-name{font-size:18px;font-weight:780;overflow-wrap:anywhere;color:#e7f2e8}
.records-feature strong{color:#a0e6bb;font-size:42px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-1px}
.records-rank-list{margin-top:10px;display:grid;gap:0}
.records-rank-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:37px;border-bottom:1px solid #303a32;font-size:12px}
.records-rank-row:last-child{border-bottom:0}
.records-rank-pos{color:#889b8b;font-weight:800;font-variant-numeric:tabular-nums}.records-medal{color:#ddc593}
.records-person{background:none;border:0;text-align:left;color:#dfe9e0;cursor:pointer;padding:7px 0;overflow-wrap:anywhere;font-weight:640}
.records-person:hover{color:#abf0c6;text-decoration:underline}
.records-rank-value{font-size:14px;color:#edf4ee;font-variant-numeric:tabular-nums}
.records-no-data{color:#a3ada3;font-size:12px;padding:12px 0}
.records-all-dcs{border:1px solid #343d36;background:#1a2026;border-radius:14px;padding:23px 24px}
.records-section-header{display:flex;justify-content:space-between;align-items:start;gap:15px;border-bottom:1px solid #354139;padding-bottom:18px}
.records-section-header h2{font-size:21px;color:#edf3ed;margin:0 0 7px;letter-spacing:-.5px}
.records-section-header p{font-size:12px;color:#a1ada4;margin:0}
.records-table-count{font-size:11px;color:#a1daba;white-space:nowrap;padding:6px 10px;background:#243229;border-radius:7px}
.records-table-section{margin-top:21px}
.records-table-section h3{color:#b7cbbd;text-transform:uppercase;letter-spacing:1.15px;font-size:11px;margin:0 0 9px}
.records-table{display:grid;border:1px solid #354038;border-radius:10px;overflow:hidden}
.records-table-row{display:grid;grid-template-columns:minmax(190px,1.7fr) minmax(115px,1fr) minmax(70px,.53fr) minmax(100px,.67fr) 15px;gap:12px;align-items:center;min-width:0;border:0;border-bottom:1px solid #323d34;background:#202830;color:#d7e3d9;padding:9px 12px;text-align:left;cursor:pointer;font-size:12px}
.records-table-row:nth-child(2n){background:#1d252d}.records-table-row:last-child{border-bottom:0}
.records-table-row:hover{background:#2b382f}
.records-challenge-name{display:flex;align-items:center;gap:10px;min-width:0}.records-challenge-name b{font-weight:660;overflow-wrap:anywhere}
.records-challenge-name .pixel-icon{width:31px;height:31px;object-fit:contain;image-rendering:pixelated;flex:0 0 31px}
.records-table-player{color:#aabbb0;overflow-wrap:anywhere}.records-table-score{text-align:right;color:#daf3dc;font-weight:800;font-variant-numeric:tabular-nums}
.records-table-date{text-align:right;color:#91a39a;font-variant-numeric:tabular-nums}.records-table-arrow{color:#90b7a0}
.records-footnote{color:#90a196;font-size:11px;line-height:1.6;margin:14px 3px}
@keyframes records-in{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1050px){.records-metric-grid{grid-template-columns:1fr 1fr}.records-metric{padding:20px 18px}}
@media(max-width:720px){.records-title-row{margin-bottom:17px}.records-hero-icon{width:53px;height:53px}.records-toolbar{align-items:stretch}.records-control-wrap{width:100%}.records-control-wrap .dropdown{flex:1;min-width:115px}.records-metric-grid{grid-template-columns:1fr}.records-metric{padding:20px}.records-all-dcs{padding:16px 12px}.records-table-row{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto 10px;gap:7px;padding:10px 8px;font-size:11px}.records-table-date{display:none}.records-table-score{font-size:11px}.records-challenge-name .pixel-icon{height:27px;width:27px;flex-basis:27px}.records-challenge-name{gap:5px}.records-section-header{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.records-metric{animation:none}}
/* V20 Slate Blue: preserves the V18 charcoal layout and surface contrast.
   Accent colors only. Green check marks = verified/completed, amber = estimates. */
:root{
  --mint:#8ebdff;--cyan:#94bfee;--blue:#79abed;
  --line:#323c47;
}
::selection{background:rgba(103,153,224,.24);color:white}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-color:#8ebdff}
.brand-name span{color:#8ebdff}
.sidebar .nav-item:hover{background:#232a30;border-color:#354557}
.sidebar .nav-item.active{background:linear-gradient(90deg,#242f3c,#21272d);border-color:#455a72;box-shadow:inset 3px 0 0 #83b5ef}
.sidebar .nav-arrow{color:#8b9caf}
.mode-switch:hover,.search-trigger:hover{background:#283543;border-color:#5b7795}
.mode-switch.active,.time-mode-option.active{background:#25374b;border-color:#557da6;color:#b5d6ff}
.time-mode-option:hover{background:#263442}
.search-trigger kbd{background:#303e4e;color:#bccfe4}
.avatar{background:#293746;color:#c6ddfa}
.btn.primary{background:#80b4f2;border-color:#78a9e4;color:#101e31}
.btn.primary:hover{background:#9bc5fb}
.status-chip.blue,.status-chip.neutral{background:#263748;border-color:#416586;color:#b9dafa}
.badge,.mini-tag{background:#283440;border-color:#435a70;color:#b9d5f4}
.leaderboard-eyebrow,.lb-wins,.text-link{color:#91bffc}
.challenge-card:hover{border-color:#5e789a;background:#252c34}
.challenge-icon,.challenge-card .challenge-icon,.line-icon,.leaderboard-challenge-icon{background:#273440;border-color:#3d5974}
.profile-stat b{color:#a7cdfa}
.dcx-calendar-link:hover{background:#293542;border-color:#6083a7}
.dcx-summary{background:linear-gradient(122deg,#1a1e21 0%,#171b1e 55%,#1a1f24 100%);border-color:#39434e}
.dcx-cycle-numeral strong{color:#95c4ff}
.dcx-muted-sep{color:#758ba2}
.dcx-possible:hover,.dcx-possible:focus-visible{background:#252f3b;border-color:#729bcb}
.dcx-card-arrow{color:#9cc8ff}
.dcx-calendar-stack>.calendar-surface,.dcx-calendar-stack>.day-detail{border-color:#36434f}
.dcx-calendar-stack .calendar-jump-month,.dcx-calendar-stack .calendar-jump-year,
.dcx-calendar-stack .calendar-nav select.dropdown{background:#242e38;border-color:#475c70;color:#e5eef9}
.dcx-calendar-stack .day-cell{border-color:#37444e;background:#1e2429}
.dcx-calendar-stack .day-cell:hover{background:#2a3642;border-color:#628fbf}
.dcx-calendar-stack .day-cell.is-selected{background:#253548;border-color:#8ab8f2;box-shadow:inset 0 0 0 1px rgba(121,174,239,.24)}
.dcx-calendar-stack .day-cell.is-today{border-color:#c29e60;background:#312c22}
.dcx-calendar-stack .calendar-icon{background:#2a3847;border-color:#436481}
.dcx-calendar-stack .calendar-icon.reported{background:#293d4f;border-color:#5388b6}
.dcx-calendar-stack .calendar-unknown{background:#283440;border-color:#5d7997;color:#bfddf7}
.dcx-calendar-stack .cycle-day-label.reset{background:#2f4a65;color:#c5dffc}
.dcx-calendar-stack .cycle-day-label.next-cycle-end{background:#30415b;color:#b3d4ff}
.dcx-calendar-stack .calendar-key .key-dot.sky{background:#87b8f2}
.dcx-calendar-stack .day-score-row:hover{background:#2b3a49}
.records-feature strong{color:#91c0fa}
.records-metric:hover{border-color:#536f90}
.records-metric-symbol,.records-person:hover{color:#a2c9fc}
.records-table-count{color:#a7cef9;background:#263546}
.records-table-score{color:#c1ddff}.records-table-arrow{color:#9dbde4}
.records-table-row:hover{background:#283541}
/* Forecast and community components */
.dcx-following-end{border-top:1px solid #39434c;display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-top:17px;padding-top:16px;animation:dcx-reveal .32s ease both}
.dcx-following-end strong{display:block;color:#dceafe;font-variant-numeric:tabular-nums;font-size:clamp(16px,1.4vw,21px);font-weight:750;margin-top:5px}
.dcx-following-end small{font-size:10px;color:#9aabbf;text-align:right;max-width:200px;line-height:1.45}
.community-nav .discord-icon{color:#a6c5ed;display:inline-flex;align-items:center;justify-content:center}
.community-nav:hover .discord-icon{color:#d5e5ff}
.community-modal p{color:#bfcbd9;line-height:1.6;margin:0 0 22px;font-size:14px}
.community-perks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}
.community-perks span{padding:12px 14px;border:1px solid #3b4c60;background:#202a35;border-radius:10px;font-weight:600;color:#dfeafa;font-size:13px}
.community-join{display:flex;width:100%;align-items:center;justify-content:center;min-height:45px;text-decoration:none!important}
.community-modal .community-setup{font-size:12px;padding:15px;color:#c7d9ef;border:1px solid #53637b;background:#222a36;border-radius:10px}
@media(max-width:720px){.dcx-following-end{align-items:flex-start;flex-direction:column;gap:7px}.dcx-following-end small{text-align:left;max-width:none}}
@media(max-width:420px){.community-perks{grid-template-columns:1fr}}
/* DC score evolution graph — challenge modal */
.modal.dct-modal{width:min(1040px,100%)}
.dct-card{margin:20px 0 28px;padding:21px;border-radius:14px;border:1px solid #344354;background:#191f27;color:#edf4fc}
.dct-title-row{display:flex;align-items:start;justify-content:space-between;gap:13px}
.dct-title-row h3{margin:4px 0 5px;color:#f0f5ff;font-size:23px;letter-spacing:-.5px}
.dct-title-row p{margin:0;color:#a4b4c7;font-size:12px;line-height:1.55}
.dct-eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#94c3fa}
.dct-count{white-space:nowrap;font-size:11px;color:#c0d7f5;background:#26384a;border:1px solid #44627d;padding:7px 9px;border-radius:7px}
.dct-controls{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0 14px}
.dct-segmented{display:flex;gap:3px;flex-wrap:wrap;background:#141a22;border:1px solid #344353;border-radius:9px;padding:3px}
.dct-choice{border:0;border-radius:6px;color:#a7b5c7;background:transparent;padding:9px 11px;font-size:11px;font-weight:700;cursor:pointer;transition:.15s}
.dct-choice:hover,.dct-choice:focus-visible{color:#fff;background:#293d51}
.dct-choice.active{color:#f1f7ff;background:#385272;box-shadow:inset 0 0 0 1px #6089bd}
.dct-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}
.dct-kpis>div{display:flex;flex-direction:column;gap:5px;background:#202b37;border:1px solid #354556;border-radius:8px;padding:12px;min-width:0}
.dct-kpis small{font-size:10px;color:#96aabb}
.dct-kpis b{font-size:22px;line-height:1.1;color:#f0f5ff;font-variant-numeric:tabular-nums;white-space:nowrap}
.dct-kpis b.positive{color:#8be1bf}.dct-kpis b.negative{color:#f1b89b}
.dct-kpis span{font-size:10px;color:#90a5bb}
.dct-chart-box{padding:10px 8px 0;background:#131b23;border:1px solid #344456;border-radius:10px;min-height:180px}
.dct-svg{width:100%;height:auto;display:block}
.dct-grid{stroke:#364454;stroke-width:1;stroke-dasharray:4 6}
.dct-axis{fill:#98aabd;font:11px Arial,sans-serif}
.dct-raw-line{fill:none;stroke:#7897b5;stroke-width:1.7;opacity:.58;stroke-linecap:round;stroke-linejoin:round}
.dct-smooth-line{fill:none;stroke:#90bffb;stroke-width:3.6;stroke-linecap:round;stroke-linejoin:round}
.dct-dot{fill:#a3ceff;stroke:#172537;stroke-width:1.6;cursor:help}
.dct-dot:hover,.dct-dot:focus{fill:#fff;stroke:#438aca;stroke-width:3;outline:none}
.dct-no-data{min-height:180px;display:grid;place-items:center;text-align:center;padding:15px;font-size:13px;color:#a8b6c9}
.dct-foot{margin:12px 0 4px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#bacbdc;font-size:11px}
.dct-foot span{display:flex;align-items:center;gap:7px}
.dct-legend-raw,.dct-legend-trend{display:inline-block;width:18px;border-top:2px solid #7897b5}
.dct-legend-trend{border-top:3px solid #90bffb}
.dct-note{font-size:11px;line-height:1.6;color:#93a6bb;margin:10px 0 0}
@media(max-width:720px){.dct-card{margin:15px 0;padding:13px}.dct-modal .modal-body{padding:14px}.dct-title-row h3{font-size:19px}.dct-controls{gap:7px}.dct-segmented{width:100%;justify-content:space-between}.dct-choice{flex:1;font-size:10px;padding:9px 5px}.dct-kpis{grid-template-columns:1fr 1fr}.dct-kpis b{font-size:18px}.dct-chart-box{padding:4px 1px 0;min-height:100px}}
@media(prefers-reduced-motion:reduce){.dct-choice{transition:none}}
/* V22: archives and calendar sharing. Keeps the original muted charcoal palette. */
.dc-archive-head{display:flex;align-items:center;gap:20px;margin:4px 0 25px}
.dc-archive-head>img{width:82px;height:82px;object-fit:contain;image-rendering:pixelated;background:#1a2027;border:1px solid #303c47;border-radius:15px;padding:9px}
.dc-archive-head h1{font-size:clamp(28px,4vw,43px);margin:5px 0 8px;color:#f5f8fc}
.dc-archive-head p{color:#a0b0c0;margin:0}
.dc-archive-switch{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 21px}
.dc-archive-switch .btn{display:inline-flex;align-items:center;gap:8px}
.dc-archive-switch .btn img{width:29px;height:29px;object-fit:contain;image-rendering:pixelated}
.dc-archive-edition{padding:22px;margin:16px 0}
.dc-archive-edition-head{display:flex;gap:18px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:17px}
.dc-archive-edition-head h2{font-size:21px;margin:0;color:#f8fafc}
.dc-archive-edition-head span{font-size:13px;color:#aab7c5}
.dc-extra-admin{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin-top:20px;align-items:start}
.dc-extra-admin>.surface-card{padding:22px}
.dc-extra-admin h3{font-size:21px;margin:7px 0}
.dc-extra-admin .entry-list>div{display:flex;gap:15px;justify-content:space-between;padding:8px 0;border-bottom:1px solid #2b3541}
.dc-calendar-share{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:12px 0}
.dc-forecast-mark{font-size:9px;letter-spacing:.08em;color:#e7bd79;font-weight:800;text-transform:uppercase;align-self:center}
.calendar-icon.forecast{border-color:rgba(226,176,91,.4)}
.dc-score-modal-list+.dc-score-modal-list{margin-top:22px;padding-top:22px;border-top:1px solid #354050}
.dc-bot-review{margin:20px 0;padding:14px;background:#171d24;border:1px solid #323d49;border-radius:13px}
.dc-bot-review h4{font-size:16px;margin:0 0 7px}
.dc-bot-row{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #2c3643;flex-wrap:wrap}
.dc-bot-row span{flex:1;min-width:180px}
.dc-bot-mark{display:inline-flex;background:#572c26;border-radius:5px;color:#ffb7a9;padding:2px 5px;font-size:10px}
.dc-record-open{background:transparent;border:0;color:#a6c9fb;cursor:pointer;font-weight:700;text-align:right}
.dc-record-open:hover{text-decoration:underline}
.dcx-cycle-numeral{gap:0!important;white-space:nowrap}
.dcx-cycle-numeral strong,.dcx-cycle-numeral span{vertical-align:baseline}
.day-cell .dc-forecast-mark{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);white-space:nowrap}
@media(max-width:720px){.dc-archive-head>img{width:62px;height:62px}.dc-extra-admin{display:block}.dc-extra-admin>.surface-card{margin-bottom:14px}.dc-archive-head{gap:13px}.dc-archive-switch{gap:6px}.dc-archive-switch .btn{font-size:12px}.dc-calendar-share .btn{font-size:12px}}

/* V22.1 — Calendar readability and no full-page flash on date changes. */
.dcx-calendar-section, .calendar-layout, .dcx-calendar-stack, .day-detail{animation:none!important}
.dcx-calendar-stack .calendar-v7-day .day-event-label,
.calendar-layout .calendar-v7-day .day-event-label{font-size:12px;line-height:1.25;font-weight:680;margin-top:0;}
/* Forecast labels occupy their own line AFTER the title, never float over it. */
.day-cell .dc-forecast-mark{position:static;bottom:auto;left:auto;transform:none;display:block;align-self:center;flex:none;line-height:1.1;margin:0 auto 9px;font-size:9px;letter-spacing:.07em;white-space:nowrap}
.calendar-v7-day:has(.dc-forecast-mark){gap:4px}
.calendar-v7-day .cycle-day-label{z-index:1}
@media(max-width:760px){
 .dcx-calendar-stack .calendar-v7-day .day-event-label,
 .calendar-layout .calendar-v7-day .day-event-label{font-size:9px;line-height:1.13}
 .day-cell .dc-forecast-mark{font-size:7px;margin-bottom:8px}
}
@media(max-width:525px){
 .dcx-calendar-stack .calendar-v7-day .day-event-label,
 .calendar-layout .calendar-v7-day .day-event-label{font-size:8px;line-height:1.1}
 .day-cell .dc-forecast-mark{font-size:6px;letter-spacing:0}
}

/* V23 — shared Daily Challenge results */
.dc-scoreboard{background:#10151c;border:1px solid #334253;border-radius:15px;overflow:hidden;margin:0 0 17px;color:#f3f6fb}
.dc-scoreboard-top{display:flex;align-items:center;gap:16px;padding:20px 24px;background:#1b2430;border-bottom:1px solid #334153}
.dc-scoreboard-top h3{font-size:25px;margin:3px 0;font-weight:750;line-height:1.12}
.dc-scoreboard-date{font-size:12px;color:#9eaec1}
.dc-scoreboard-icon .pixel-icon{width:56px;height:56px;image-rendering:pixelated;object-fit:contain}
.dc-score-section{padding:16px 22px 9px}
.dc-score-section+.dc-score-section{border-top:1px solid #2d3948;margin-top:8px}
.dc-score-section-title{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}
.dc-score-section-title h4{margin:0;font-size:21px;color:#f4f6f9}
.dc-score-section-title span{color:#93bfff;letter-spacing:1px;font-size:11px;font-weight:800}
.dc-score-head,.dc-score-entry{display:grid;grid-template-columns:68px minmax(100px,1fr) 140px 144px;align-items:center;gap:10px}
.dc-score-head{padding:2px 12px 7px;color:#95a9bc;font-size:10px;font-weight:800;letter-spacing:1px}
.dc-score-head span:nth-child(3){text-align:right}.dc-score-head span:nth-child(4){text-align:center}
.dc-score-entry{background:#1b222a;min-height:55px;border-radius:9px;margin-bottom:5px;padding:3px 12px;border:1px solid transparent}
.dc-score-entry.dc-medal-1{background:#25354a;border-color:#4d7099}
.dc-score-entry.dc-medal-2{background:#202932}.dc-score-entry.dc-medal-3{background:#272329}
.dc-score-entry.dc-bot-flagged{opacity:.65}
.dc-entry-rank{display:flex;align-items:center;justify-content:center;height:50px}
.dc-entry-rank .dc-podium-art{width:44px;height:47px;object-fit:contain;image-rendering:pixelated}
.dc-rank-digit{font-size:22px;color:#a5b5c7;font-weight:750}
.dc-entry-player{background:transparent;border:0;color:#edf2f8;text-align:left;font-size:20px;font-weight:710;min-width:0;overflow-wrap:anywhere;cursor:pointer;padding:5px 0}
.dc-entry-player:hover{text-decoration:underline}
.dc-medal-1 .dc-entry-player{color:#f4c86f}.dc-medal-2 .dc-entry-player{color:#cad7e8}.dc-medal-3 .dc-entry-player{color:#e7a17c}
.dc-entry-player small{display:block;font-size:9px;color:#e3b275;font-weight:600}
.dc-entry-score{text-align:right;font-size:20px;font-variant-numeric:tabular-nums;white-space:nowrap}
.dc-entry-rewards{display:flex;align-items:center;justify-content:flex-end;gap:5px}
.dc-score-sprite{width:28px;height:28px;image-rendering:pixelated;object-fit:contain}
.dc-entry-rewards .dc-score-sprite{width:31px;height:31px}
.dc-scoreboard-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 24px 18px}
.dc-history-main{display:flex;align-items:center;gap:14px}.dc-history-main .pixel-icon{width:43px;height:43px}
.dc-history-preview{display:flex;gap:12px;flex-wrap:wrap;padding:8px 0}.dc-history-place{background:#1b2530;border-radius:8px;padding:7px 12px;display:flex;align-items:center;gap:9px;color:#dde5ee}
.dc-history-place .dc-podium-art{width:28px;height:32px}.dc-history-place small{color:#9db5ca}.dc-history-place.rank-1 b{color:#f4c86f}.dc-history-place.rank-2 b{color:#cad7e8}.dc-history-place.rank-3 b{color:#e7a17c}
.dcx-calendar-stack .dc-scoreboard{background:#141a21}.dct-modal .modal-body>.dc-scoreboard{margin:0}
@media(max-width:670px){.dc-score-section{padding:14px 8px}.dc-scoreboard-top{padding:14px}.dc-score-head,.dc-score-entry{grid-template-columns:44px minmax(74px,1fr) 76px 90px;gap:4px;padding-left:5px;padding-right:5px}.dc-entry-player,.dc-entry-score{font-size:14px}.dc-entry-rank .dc-podium-art{width:35px;height:40px}.dc-entry-rewards .dc-score-sprite{width:21px;height:21px}.dc-score-head{font-size:8px}.dc-scoreboard-footer{padding:10px}}

.dc-alltime-board{background:#141b24;border:1px solid #314154;border-radius:12px;overflow:hidden}
.dc-alltime-head,.dc-alltime-row{display:grid;grid-template-columns:65px minmax(100px,1fr) 180px 132px;gap:9px;align-items:center;padding:4px 11px}
.dc-alltime-head{font-size:10px;letter-spacing:1px;color:#94a9bf;font-weight:800;padding-top:9px;padding-bottom:8px}
.dc-alltime-row{border-top:1px solid #303c4d;min-height:56px}
.dc-alltime-row.dc-medal-1{background:#26364a}.dc-alltime-row.dc-medal-2{background:#222a34}.dc-alltime-row.dc-medal-3{background:#2b2528}
.dc-alltime-row.dc-medal-1 .dc-alltime-name{color:#f4c86f}.dc-alltime-row.dc-medal-2 .dc-alltime-name{color:#cad7e8}.dc-alltime-row.dc-medal-3 .dc-alltime-name{color:#e7a17c}
.dc-alltime-name{font-size:16px;line-height:1.2}
.dc-alltime-score{color:#eef3fa;font-size:17px;font-weight:800;text-align:right;cursor:pointer;background:transparent;border:0;font-variant-numeric:tabular-nums}
.dc-alltime-score:hover{color:#8bbcff}.dc-alltime-score small{display:block;color:#95a9bd;font-size:10px;font-weight:500}
.dc-profile-challenge{display:inline-flex;gap:8px;align-items:center}.dc-profile-challenge .pixel-icon{width:28px;height:28px}
.dc-profile-rank{display:inline-flex;align-items:center;justify-content:center;min-width:38px}.dc-profile-rank .dc-podium-art{width:32px;height:36px}
.dc-profile-rewards{display:inline-flex;gap:3px;margin-left:8px}.dc-profile-rewards .dc-score-sprite{width:24px;height:24px}
.dc-history-detail .dc-scoreboard{margin:12px}
@media(max-width:670px){.dc-alltime-head,.dc-alltime-row{grid-template-columns:39px minmax(64px,1fr) 95px 78px;gap:3px;padding:4px}.dc-alltime-name{font-size:13px}.dc-alltime-score{font-size:13px}.dc-alltime-row .dc-entry-rewards img{width:20px;height:20px}.dc-alltime-head{font-size:8px}}

.dc-entry-rewards:has(.dc-score-sprite:nth-child(4)){gap:2px}
.dc-entry-rewards:has(.dc-score-sprite:nth-child(4)) .dc-score-sprite{width:23px;height:23px}

/* V24 — compact archives, original Growtopia sprites, consistent scoreboard alignment */
.dc-score-head span:nth-child(4){text-align:right}
.dc-rank-digit{color:#f2f5fa!important}
.dc-archive-head{display:none}
.archive-v24{width:100%;max-width:1180px;margin:0 auto;color:#f0f4f9}
.archive-head-v24{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin:1px 0 18px}
.archive-heading-lockup{display:flex;align-items:center;gap:15px;min-width:0}
.archive-heading-lockup>img{width:54px;height:54px;object-fit:contain;image-rendering:pixelated;border:1px solid #354456;border-radius:10px;padding:5px;background:#1d252e}
.archive-heading-lockup h1{font-size:clamp(24px,3vw,34px);letter-spacing:-.03em;line-height:1.08;margin:3px 0 5px;color:#f7f9fc}
.archive-heading-lockup p{font-size:12px;color:#9cabbc;margin:0;line-height:1.4}
.archive-header-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:end}
.archive-year-select{display:flex;align-items:center;gap:9px;font-size:12px;color:#9eb0c1;font-weight:700}
.archive-year-select select{background:#1b242e;border:1px solid #3a4b5c;color:#f2f5fa;border-radius:8px;font:inherit;padding:10px 26px 10px 12px;cursor:pointer}
.archive-segments{display:inline-flex;gap:3px;background:#161d26;border:1px solid #344152;border-radius:9px;padding:3px}
.archive-segments button{border:0;background:transparent;color:#a5b1c1;font-size:12px;font-weight:750;border-radius:6px;padding:9px 13px;cursor:pointer}
.archive-segments button.on{color:#101e2e;background:#8dbbfa}
.archive-seasons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 17px}
.archive-season{display:flex;align-items:center;gap:11px;min-width:0;text-align:left;background:#192129;border:1px solid #354150;border-radius:10px;padding:12px;cursor:pointer;color:#eef4fb;transition:background .15s,border-color .15s}
.archive-season.selected{background:#243246;border-color:#719ad1;box-shadow:inset 0 0 0 1px #405d80}
.archive-season:hover,.archive-event-button:hover{background:#293542;border-color:#56799f}
.archive-season .archive-sprite{height:38px;width:38px;object-fit:contain;image-rendering:pixelated;flex-shrink:0}
.archive-season>span:nth-child(2){display:flex;flex-direction:column;gap:4px;min-width:0}
.archive-season b{font-size:14px}
.archive-season small{font-size:10px;color:#9eafc0}
.season-count{margin-left:auto;color:#a4b7cd;font-size:12px;font-weight:800}
.archive-season-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#a5b4c5;margin:0 0 10px}
.archive-season-caption span:first-child{color:#e8f1fc;font-weight:750;font-size:14px}
.archive-event-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 19px}
.archive-event-button{display:flex;align-items:center;justify-content:flex-start;gap:9px;border:1px solid #334150;background:#1b232c;border-radius:8px;padding:7px 10px;color:#bdccdd;text-align:left;font-size:11px;font-weight:700;cursor:pointer;min-width:0;transition:.15s}
.archive-event-button.selected{background:#263b54;color:#f7fbff;border-color:#7196c3}
.archive-event-button .archive-sprite{width:32px;height:32px;object-fit:contain;image-rendering:pixelated;flex-shrink:0}
.archive-event-button>span{flex:1;min-width:0;line-height:1.25}
.archive-event-button i{background:#80b5f6;width:6px;height:6px;flex-shrink:0;border-radius:50%}
.archive-v24 .archive-entry{border:1px solid #364554;background:#151c24;border-radius:12px;margin-bottom:13px;overflow:hidden}
.archive-entry-header{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:10px 14px;border-bottom:1px solid #303d4e;background:#1c2530}
.archive-event-label{display:flex;align-items:center;gap:9px;min-width:0}
.archive-event-label .archive-sprite{height:36px;width:36px;object-fit:contain;image-rendering:pixelated;flex-shrink:0}
.archive-event-label h3{font-size:15px;line-height:1.3;font-weight:780;margin:0 0 2px;color:#f5f7fb}
.archive-event-label small{font-size:10px;color:#a0b1c4}
.archive-header-side{display:flex;align-items:center;gap:10px}
.archive-count{font-size:11px;color:#a3b6cb;background:#253344;border:1px solid #3d5066;border-radius:6px;padding:5px 8px;white-space:nowrap}
.archive-delete{border:0;background:transparent;color:#c7a2a1;cursor:pointer;font-size:11px}
.archive-leaders{padding:6px 12px 11px}
.archive-leader-head,.archive-rank-row{display:grid;grid-template-columns:52px minmax(85px,1fr) 118px 136px;gap:10px;align-items:center}
.archive-leader-head{padding:7px 9px;color:#8fabc2;font-size:10px;font-weight:800;letter-spacing:.06em}
.archive-leader-head span:nth-child(3),.archive-leader-head span:nth-child(4){text-align:right}
.archive-rank-row{background:#1c242d;min-height:41px;padding:3px 9px;margin:3px 0;border-radius:7px;border:1px solid transparent}
.archive-rank-row.arc-place-1{background:#263347;border-color:#4e6683}
.archive-rank-row.arc-place-2{background:#1f2934}
.archive-rank-row.arc-place-3{background:#27252a}
.arc-rank{font-size:13px;color:#eaf0f9;font-weight:850}
.arc-place-1 .arc-rank,.arc-place-1 .arc-player{color:#f4c56b}
.arc-place-2 .arc-rank,.arc-place-2 .arc-player{color:#c5d5e9}
.arc-place-3 .arc-rank,.arc-place-3 .arc-player{color:#e8a784}
.arc-player{color:#eef3fa;font-size:14px;font-weight:720;overflow-wrap:anywhere}
.arc-score{text-align:right;font-size:13px;font-weight:740;color:#edf3fc;white-space:nowrap;font-variant-numeric:tabular-nums}
.arc-reward{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
.arc-reward .archive-medal{width:34px;height:34px;object-fit:contain;image-rendering:pixelated}
.arc-reward .archive-title-img{width:27px;height:27px;object-fit:contain;image-rendering:pixelated}
.archive-reward-label{font-size:11px;color:#9fbbd8;font-weight:700}
.archive-year-note{font-size:12px;color:#a9bfd5;margin:-5px 0 12px}
.archive-empty{display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;padding:35px 16px;color:#aab9c9;background:#151d26;border:1px dashed #354657;border-radius:10px;font-size:12px}
.archive-empty b{color:#eaf2fa;font-size:14px}
.archive-legacy{margin-top:17px;color:#abbace;font-size:12px}
.archive-legacy summary{cursor:pointer;margin:0 0 13px}
.archive-admin-clash{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.archive-admin-clash label:first-child{grid-column:1/-1}
.archive-admin-clash[hidden]{display:none!important}
@media(max-width:770px){.archive-event-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-year-select{margin-left:0}.archive-head-v24{gap:12px}.archive-heading-lockup h1{font-size:28px}.archive-seasons{gap:6px}.archive-season{padding:8px 5px;gap:4px}.archive-season .archive-sprite{width:29px;height:29px}.archive-season b{font-size:12px}.archive-season small{font-size:9px}.season-count{display:none}}
@media(max-width:480px){.archive-leader-head,.archive-rank-row{grid-template-columns:33px minmax(70px,1fr) 75px 65px;gap:4px}.archive-leaders{padding:5px}.archive-rank-row{padding:3px 5px}.archive-leader-head{padding:6px 5px;font-size:8px}.arc-player,.arc-score{font-size:11px}.arc-reward .archive-medal{width:24px;height:24px}.arc-reward .archive-title-img{width:22px;height:22px}.archive-reward-label{font-size:9px}.archive-segments button{padding:7px 10px}.archive-heading-lockup>img{width:43px;height:43px}.archive-admin-clash{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.archive-season,.archive-event-button{transition:none}}


/* V24.1 · Unified website design system. Uses the DC scoreboard as the single style reference. */
:root{--dc-bg:#10151c;--dc-surface:#171e26;--dc-card:#1b222a;--dc-raised:#1b2430;--dc-border:#334253;--dc-line:#2d3948;--dc-blue:#93bfff;--dc-sub:#9caec2;--dc-white:#f3f6fb}
/* Uniform surfaces and headings across Overview, calendar, challenges, rankings, records, archives, history and Admin. */
.surface-card,.panel,.stat-card,.mini-stat,.challenge-card,.leaderboard-board,.result-card,.records-metric,.records-all-dcs,.dcx-calendar-stack>.calendar-surface,.dcx-calendar-stack>.day-detail,.modal,.archive-v24 .archive-entry,
.scan-card,.manual-scan,.form-panel{background:var(--dc-bg);border:1px solid var(--dc-border);border-radius:13px;color:var(--dc-white);box-shadow:none}
.panel-head,.leaderboard-head,.result-head,.modal-head,.archive-entry-header,
.card-title-row,.record-head{background:var(--dc-raised);border-color:var(--dc-border)}
.page-intro .section-eyebrow,.section-eyebrow,.eyeline.muted-kicker,.dcx-label,.dcx-eyebrow,.records-metric-overline,.leaderboard-eyebrow{color:var(--dc-blue)}
.page-title,.page-intro h1,.panel-title,.records-section-header h2,.records-metric h2,.challenge-card h3,.result-name,.archive-heading-lockup h1{color:var(--dc-white)}
.page-desc,.panel-sub,.result-meta,.challenge-card p,.challenge-stats span,.records-metric p,.records-footnote,.archive-heading-lockup p{color:var(--dc-sub)}
/* Inputs & actions: same radius and blue interactive emphasis everywhere. */
.field,.dropdown,.textarea,.leaderboard-search,.records-control-wrap .dropdown,.archive-year-select select,.scan-fields input,.scan-fields select{background:#1b2430;border:1px solid #3a4b5e;color:#eaf2fc;border-radius:9px}
.field:focus,.dropdown:focus,.textarea:focus,.archive-year-select select:focus{border-color:#8cbaf4;outline:2px solid rgba(139,185,250,.22);outline-offset:1px}
.btn,.btn.ghost,.archive-delete,.today-button{background:#242e3a;border:1px solid #3c5064;color:#e7f0fb;border-radius:9px}
.btn:hover,.btn.ghost:hover,.today-button:hover{background:#304153;border-color:#719ac7;transform:none}
.btn.primary{background:#8abafa;border-color:#8abafa;color:#122238;font-weight:760}
.btn.primary:hover{background:#a6cbff;border-color:#a6cbff}
.text-link,.link-button,.records-person:hover,.records-table-arrow{color:#95bfff}
.badge,.mini-tag,.status-chip.blue,.status-chip.neutral{background:#24354a;border-color:#455f7c;color:#c0dcff}
/* Every record listing behaves like the approved scoreboard. */
.records-metric,.records-all-dcs{background:#141b23;animation:none;transform:none}
.records-metric:hover{transform:none;border-color:#6687ab;box-shadow:none}
.records-feature strong,.records-table-score,.records-rank-value,.records-feature-name{color:#f1f6fc}
.records-rank-row{border-color:#303e4c;min-height:43px}
.records-rank-pos{color:#aebed1}.records-medal{color:#e9bb72}
.records-table-row,.records-table-row:nth-child(2n){background:#1b222a;border-color:#303f50;color:#eaf1fb;min-height:50px}
.records-table-row:nth-child(2n){background:#19212a}
.records-table-row:hover{background:#25354a}
.records-table-player{color:#d3dfed}.records-table-score{color:#cce2ff}
.challenge-card,.result-card{background:#151c24;border-color:#334253}
.challenge-card:hover{background:#1e2a37;border-color:#6688ad;transform:translateY(-2px)}
.challenge-icon,.line-icon,.leaderboard-challenge-icon{background:#26364a;border-color:#3d5974}
/* Consistent player leaderboard with rank accents (rankings are stats, not earned medals). */
.leaderboard-board{overflow:hidden}
.leaderboard-head{background:var(--dc-raised);border-bottom:1px solid var(--dc-border)}
.leaderboard-columns{background:#141b23;color:#9eafc3;border-color:#334253;font-size:11px;letter-spacing:.07em}
.leaderboard-entry,.leaderboard-entry:nth-child(2n){background:#1b222a;border-color:#2d3948}
.leaderboard-entry:nth-child(2n){background:#19212a}
.leaderboard-entry:hover{background:#25354a}
.lb-place{color:#f5f8fd;font-size:17px;font-weight:800}
.lb-place.is-first{color:#f4c86f}.lb-place.is-second{color:#cad7e8}.lb-place.is-third{color:#e7a17c}
.lb-identity,.lb-name,.lb-number{color:#eaf2fc}
.lb-wins,.leaderboard-eyebrow{color:#9ac4ff}
/* Uniform compact overview ranking — actual ranking numbers, no fake emoji medals. */
.dc-mini-leaderboard{padding:8px 14px 14px}
.dc-mini-leaderboard-head,.dc-mini-leaderboard-row{display:grid;grid-template-columns:54px minmax(95px,1fr) repeat(3,76px);align-items:center;gap:9px}
.dc-mini-leaderboard-head{font-size:10px;font-weight:800;letter-spacing:.08em;color:#96aabc;padding:10px 12px}
.dc-mini-leaderboard-row{background:#1b222a;border:1px solid transparent;border-radius:9px;padding:11px 12px;margin-bottom:5px;min-height:50px;color:#dce8f5;font-size:13px;text-align:center;font-variant-numeric:tabular-nums}
.dc-mini-leaderboard-row.dc-medal-1{background:#25354a;border-color:#4d7099}
.dc-mini-leaderboard-row.dc-medal-2{background:#202932}
.dc-mini-leaderboard-row.dc-medal-3{background:#272329}
.dc-mini-leaderboard-rank{font-weight:800;color:#f5f9ff;text-align:left}
.dc-medal-1 .dc-mini-leaderboard-rank,.dc-medal-1 .dc-mini-leaderboard-name{color:#f4c86f}
.dc-medal-2 .dc-mini-leaderboard-rank,.dc-medal-2 .dc-mini-leaderboard-name{color:#cad7e8}
.dc-medal-3 .dc-mini-leaderboard-rank,.dc-medal-3 .dc-mini-leaderboard-name{color:#e7a17c}
.dc-mini-leaderboard-name{min-width:0;color:#eaf2fc;font-weight:750;text-align:left;font-size:14px;background:none;border:0;cursor:pointer;overflow-wrap:anywhere}
.dc-mini-leaderboard-name:hover{color:#9ac4ff;text-decoration:underline}
.dc-mini-leaderboard-row strong{color:#c1dcff}
/* Full profile modal: same podium badges, score alignment and game rewards as DC results. */
.dc-profile-modal .modal-head h3{margin:5px 0 0;font-size:25px}
.dc-profile-modal .modal-body{padding:18px 22px}
.dc-profile-results{border:1px solid var(--dc-border);border-radius:12px;overflow:hidden;background:var(--dc-bg);margin-top:20px;padding:14px}
.dc-profile-results .dc-score-section-title{margin-bottom:10px}
.dc-profile-history-head,.dc-profile-history-row{display:grid;grid-template-columns:124px minmax(145px,1fr) 72px 110px 123px;gap:10px;align-items:center}
.dc-profile-history-head{color:#95a9bc;font-size:10px;letter-spacing:1px;font-weight:800;padding:5px 12px 9px}
.dc-profile-history-head span:nth-child(4),.dc-profile-history-head span:nth-child(5){text-align:right}
.dc-profile-history-row{min-height:59px;background:#1b222a;margin:4px 0;border:1px solid transparent;border-radius:9px;padding:5px 12px}
.dc-profile-history-row.dc-medal-1{background:#25354a;border-color:#4d7099}
.dc-profile-history-row.dc-medal-2{background:#202932}.dc-profile-history-row.dc-medal-3{background:#272329}
.dc-profile-date{font-size:12px;color:#b0c1d3}
.dc-profile-challenge{display:flex;gap:9px;align-items:center;font-weight:700;font-size:13px;color:#eaf2fc;min-width:0}
.dc-profile-challenge .pixel-icon{width:34px;height:34px;flex:0 0 34px;image-rendering:pixelated}
.dc-profile-challenge>span{overflow-wrap:anywhere}
.dc-profile-rank .dc-podium-art{width:40px;height:44px}
.dc-profile-history-score{font-weight:800;font-size:15px;color:#e8f1ff;text-align:right;border:0;background:transparent;cursor:pointer;white-space:nowrap;font-variant-numeric:tabular-nums}
.dc-profile-history-score:hover{color:#94c3ff}
.dc-profile-rewards{display:flex;justify-content:flex-end;gap:4px;margin:0;min-width:0}
.dc-profile-rewards .dc-score-sprite{width:29px;height:29px}
/* Archive scoreboards get the same real Growtopia podium art and rank-color system. */
.archive-v24 .archive-entry{background:var(--dc-bg);border-color:var(--dc-border);border-radius:13px}
.archive-entry-header{background:var(--dc-raised);border-color:var(--dc-border)}
.archive-event-label h3{font-size:17px;color:var(--dc-white)}
.archive-leaders{padding:10px 15px 13px}
.archive-leader-head,.archive-rank-row{grid-template-columns:68px minmax(95px,1fr) 140px 144px;gap:10px}
.archive-leader-head{color:#95a9bc;letter-spacing:1px;padding:3px 12px 8px}
.archive-rank-row{background:#1b222a;min-height:56px;margin:5px 0;padding:3px 12px;border-radius:9px}
.archive-rank-row.arc-place-1{background:#25354a;border-color:#4d7099}
.archive-rank-row.arc-place-2{background:#202932}.archive-rank-row.arc-place-3{background:#272329}
.arc-rank{display:flex;align-items:center;justify-content:center}
.arc-rank .dc-podium-art{width:44px;height:47px;object-fit:contain;image-rendering:pixelated}
.arc-rank .dc-rank-digit{color:#f2f5fa}
.arc-player{color:#eaf2fb;font-weight:730;font-size:18px}
.arc-place-1 .arc-player{color:#f4c86f}.arc-place-2 .arc-player{color:#cad7e8}.arc-place-3 .arc-player{color:#e7a17c}
.arc-score{font-size:17px;color:#edf3fc}
.arc-reward .archive-medal{width:42px;height:42px}
.archive-count{background:#24354a;color:#cce0f8;border-color:#445f7c}
.archive-segments button.on,.archive-season.selected,.archive-event-button.selected{box-shadow:none}
.archive-segments button.on{background:#8dbbfa;color:#152336}
.archive-seasons,.archive-event-picker{gap:8px}
.archive-event-button,.archive-season{background:#1b222a;border-color:#364659}
.archive-event-button:hover,.archive-season:hover{background:#25354a;border-color:#7096bd}
/* Admin dashboard shares the same card, filter and table style; preserves all existing controls. */
.dc-extra-admin>.surface-card,.manual-scan,.form-panel,.review-item,.scan-review{background:#141b23;border-color:var(--dc-border)}
.scan-review-header,.review-head,.scan-row,.scan-rows{border-color:#2d3948}
.profile-stat{background:#1e2a38;border:1px solid #33485f;border-radius:10px}
.profile-stat b{color:#a7cdfa}
.dc-score-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.dc-view-source{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;text-decoration:none;background:#243449;border-color:#54759b;color:#d2e8ff}
.dc-view-source:hover{background:#304660;color:#fff;border-color:#7ca8da}
/* The user should see the same readable hierarchy on phones, not compressed wide tables. */
@media(max-width:900px){.dc-profile-history-head,.dc-profile-history-row{grid-template-columns:85px minmax(115px,1fr) 52px 80px 96px;gap:5px}.dc-profile-history-row{padding:6px}.dc-profile-date{font-size:10px}.dc-profile-history-score{font-size:12px}.dc-profile-rewards .dc-score-sprite{width:23px;height:23px}}
@media(max-width:670px){
 .dc-mini-leaderboard{padding:6px}.dc-mini-leaderboard-head,.dc-mini-leaderboard-row{grid-template-columns:35px minmax(65px,1fr) repeat(3,40px);gap:4px;padding:7px 5px;font-size:9px}.dc-mini-leaderboard-name{font-size:11px}
 .dc-profile-modal .modal-body{padding:10px}.dc-profile-results{padding:7px}.dc-profile-history-head,.dc-profile-history-row{grid-template-columns:55px minmax(80px,1fr) 37px 59px 60px;gap:3px;padding:5px 3px}.dc-profile-history-head{font-size:8px;letter-spacing:0}.dc-profile-date{font-size:9px}.dc-profile-challenge{gap:3px;font-size:10px}.dc-profile-challenge .pixel-icon{width:23px;height:23px;flex-basis:23px}.dc-profile-rank .dc-podium-art{width:28px;height:33px}.dc-profile-history-score{font-size:10px}.dc-profile-rewards .dc-score-sprite{width:17px;height:17px}.dc-profile-rewards{gap:1px}
 .archive-leader-head,.archive-rank-row{grid-template-columns:43px minmax(70px,1fr) 80px 79px;gap:4px;padding:4px 5px}.archive-leaders{padding:6px}.archive-rank-row{min-height:47px}.arc-player,.arc-score{font-size:12px}.arc-rank .dc-podium-art{width:32px;height:36px}.arc-reward .archive-medal{width:27px;height:27px}.archive-leader-head{font-size:8px}
 .dc-score-actions{width:100%;justify-content:flex-end}.dc-view-source{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.records-metric,.challenge-card,.dc-mini-leaderboard-row{animation:none;transition:none}}
/* Profile result history needs room for the same full reward column as Daily Challenge results. */
.modal.dc-profile-modal{width:min(920px,calc(100vw - 30px));max-width:920px}
.dc-profile-modal .dc-profile-results{min-width:0}
@media(max-width:670px){.modal.dc-profile-modal{width:calc(100vw - 18px);max-width:calc(100vw - 18px)}.dc-profile-modal .modal-body{padding:8px}.dc-profile-results{overflow:hidden}}

/* V25 — Unified Records. Real Growtopia medals and scoreboard navigation. */
.records-metric-head{min-height:38px;align-items:center}
.records-metric-symbol{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:9px;background:#1e2937;border:1px solid #35495f;color:#8fbaf0;font-size:0;flex:none}
.records-metric-symbol .dc-score-sprite,.records-metric-symbol .records-metric-icon{width:31px;height:31px;object-fit:contain;image-rendering:pixelated}
.records-metric-symbol .records-metric-icon{width:34px;height:34px}
.records-rank-row{grid-template-columns:51px minmax(0,1fr) auto;min-height:55px;gap:10px;padding:4px 3px}
.records-rank-pos{min-height:44px;display:flex;align-items:center;justify-content:center;color:#f2f5fb;font-size:15px}
.records-rank-pos .dc-podium-art{width:41px;height:46px;object-fit:contain;image-rendering:pixelated}
.records-rank-pos .dc-rank-digit{color:#f1f5fc;font-size:15px;font-weight:800}
.records-rank-row.dc-medal-1 .records-person{color:#f4c86f}
.records-rank-row.dc-medal-2 .records-person{color:#cad7e8}
.records-rank-row.dc-medal-3 .records-person{color:#e7a17c}
.records-rank-row.dc-medal-1{background:linear-gradient(90deg,#26364a 0%,transparent 80%)}
.records-rank-row.dc-medal-2{background:linear-gradient(90deg,#202933 0%,transparent 80%)}
.records-rank-row.dc-medal-3{background:linear-gradient(90deg,#282328 0%,transparent 80%)}
.records-rank-value{font-size:16px;color:#f3f6fc}
.records-person{font-size:13px;padding:8px 0}
.records-category-tabs{display:flex;gap:7px;flex-wrap:wrap;padding:18px 0 3px}
.records-category-tab{cursor:pointer;border:1px solid #3b4d63;background:#1b2531;color:#b5c5d8;padding:10px 13px;border-radius:9px;font-size:12px;font-weight:740;transition:background .15s,border-color .15s,color .15s}
.records-category-tab:hover{background:#263951;color:#eef5fc;border-color:#58799e}
.records-category-tab.selected{background:#86b8f6;border-color:#86b8f6;color:#102238}
.records-table-section{margin-top:19px}
.records-table-section h3{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px;letter-spacing:.5px;color:#d9e7fa;text-transform:none;padding:0 3px;margin-bottom:10px}
.records-table-section h3 small{font-size:11px;color:#9db2c9;font-weight:600;text-transform:none;letter-spacing:0}
.records-table{border:1px solid #354b63;border-radius:12px;overflow:hidden;display:block;background:#151c25}
.records-table-columns,.records-table-row{display:grid;grid-template-columns:minmax(145px,1.8fr) minmax(120px,1.2fr) minmax(85px,.65fr) minmax(116px,.8fr);gap:10px;align-items:center}
.records-table-columns{background:#101821;color:#97adc6;letter-spacing:1px;font-size:10px;font-weight:800;padding:11px 14px;border-bottom:1px solid #364b62}
.records-table-columns span:nth-child(3),.records-table-columns span:nth-child(4){text-align:right}
.records-table-row,.records-table-row:nth-child(2n){min-height:56px;border:0;border-bottom:1px solid #304155;padding:7px 14px;background:#1b232d;color:#f3f7fd}
.records-table-row:nth-child(2n+1){background:#1e2935}
.records-table-row:last-child{border-bottom:0}
.records-table-row:hover{background:#253650}
.records-table-row button{min-width:0;background:none;border:0;padding:0;font:inherit;cursor:pointer}
.records-challenge-name{display:flex;align-items:center;gap:10px;text-align:left;color:#eaf3ff;font-size:13px;font-weight:750}
.records-challenge-name:hover b{text-decoration:underline;text-decoration-color:#81b6f8;text-underline-offset:3px}
.records-challenge-name .pixel-icon{flex:0 0 33px;width:33px;height:33px;object-fit:contain;image-rendering:pixelated}
.records-table-player{display:flex;flex-wrap:wrap;align-items:center;gap:1px 4px;font-size:12px;color:#bccbdd;overflow-wrap:anywhere}
.records-holder-links{display:inline-flex;flex-wrap:wrap;align-items:center;gap:1px 4px}
.records-table-player-link{color:#cfe1f8;text-align:left;font-weight:600}
.records-table-player-link:hover{color:#92c5ff;text-decoration:underline}
.records-tie-separator{color:#71859a}
.records-table-score{text-align:right;color:#eaf3ff;font-size:14px;font-weight:790;font-variant-numeric:tabular-nums}
.records-table-date{text-align:right;color:#a7c0dc;font-size:12px;font-variant-numeric:tabular-nums}
.records-table-score:not(:disabled):hover,.records-table-date:not(:disabled):hover{color:#95c8ff;text-decoration:underline}
.records-table-score:disabled,.records-table-date:disabled{cursor:default;opacity:.6}
.dc-profile-challenge{border:0;background:none;cursor:pointer;text-align:left;padding:1px 0}
.dc-profile-challenge:hover{color:#93c4ff;text-decoration:underline;text-decoration-color:#93c4ff;text-underline-offset:3px}
@media(max-width:720px){
 .records-all-dcs{padding:15px 11px}
 .records-category-tabs{gap:5px}
 .records-category-tab{padding:8px 9px;font-size:10px}
 .records-table-columns,.records-table-row{grid-template-columns:minmax(105px,1.5fr) minmax(65px,1fr) minmax(60px,.75fr) minmax(65px,.85fr);gap:5px}
 .records-table-columns{font-size:8px;padding:8px 6px;letter-spacing:.3px}
 .records-table-row,.records-table-row:nth-child(2n){padding:5px 6px;min-height:48px}
 .records-challenge-name{gap:4px;font-size:10px}
 .records-challenge-name .pixel-icon{width:24px;height:24px;flex-basis:24px}
 .records-table-player{font-size:10px}
 .records-table-score{font-size:10px}
 .records-table-date{display:block;font-size:9px}
 .records-rank-row{grid-template-columns:47px minmax(0,1fr) auto}
 .records-rank-pos .dc-podium-art{width:37px;height:42px}
}
@media(max-width:385px){.records-table-columns,.records-table-row{grid-template-columns:minmax(93px,1.35fr) minmax(61px,1fr) minmax(55px,.7fr) minmax(58px,.75fr);gap:3px}.records-table-date{font-size:8px}.records-table-columns{font-size:7px}}
.records-feature-link{border:0;background:none;color:inherit;font:inherit;font-weight:780;cursor:pointer;padding:0;text-align:left}
.records-feature-link:hover{color:#93c7ff;text-decoration:underline;text-underline-offset:3px}
.records-table-row .records-table-score{font-size:14px;font-weight:800;color:#eaf3ff}
.records-table-row .records-table-player-link{font-size:12px;font-weight:650;color:#d1e1f6}
.records-table-row .records-table-date{font-size:12px;color:#a7c0dc}
.records-table-row .records-challenge-name{font-weight:750}
.result-name.dc-link-challenge{display:inline-block;border:0;background:none;color:#e8f4ff;font:inherit;font-weight:780;text-align:left;cursor:pointer;padding:0}
.result-name.dc-link-challenge:hover{color:#97c6fa;text-decoration:underline}
.dc-history-preview-name{border:0;background:none;color:#e7f1fa;font:inherit;font-weight:750;cursor:pointer;padding:0;text-align:left}
.dc-history-preview-name:hover{color:#9ec9ff;text-decoration:underline}
@media(max-width:720px){.records-table-row .records-table-score{font-size:10px}.records-table-row .records-table-player-link{font-size:10px}.records-table-row .records-table-date{font-size:9px}}

/* V26 – historical text score importer (admin only) */
.hist-import{padding:22px;max-width:1320px;margin:18px 0 32px}
.hist-import .scan-heading{margin-bottom:16px}
.hist-file-label{display:inline-flex;align-items:center;flex-wrap:wrap;gap:14px;font-size:14px;font-weight:700;color:#dce9f7;margin:8px 0 14px}
.hist-file-label input{max-width:100%;font-size:13px;color:#abbecf}
.hist-import-label{display:block;color:#c3d3e2;font-weight:600;font-size:13px;margin-bottom:8px}
.hist-raw{min-height:184px;width:100%;font:13px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;resize:vertical}
.hist-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:15px 0}
.hist-note{font-size:12px;color:#92a8bc;line-height:1.5;max-width:520px}
.hist-summary{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:15px 16px;background:#1c2835;border:1px solid #34506b;border-radius:11px;color:#afcee9;margin:18px 0 6px;font-size:13px}
.hist-summary b{font-size:19px;color:#f3f8fd}
.hist-warning{color:#f1c17a}
.hist-items{display:grid;gap:8px;margin:18px 0 22px;max-height:780px;overflow-y:auto;padding-right:4px}
.hist-item{background:#171f28;border:1px solid #334454;border-radius:10px;overflow:hidden}
.hist-item.hist-invalid{border-color:#8b694b}
.hist-row{display:flex;gap:14px;align-items:center;min-height:66px;padding:10px 14px}
.hist-selection{display:flex;align-items:center;gap:10px;min-width:98px;font-size:13px;color:#a5bad0;white-space:nowrap}
.hist-selection input{width:16px;height:16px;accent-color:#88baf2}
.hist-item-main{display:flex;align-items:center;gap:10px;flex:1;min-width:130px}
.hist-item-main .pixel-icon{width:35px;height:35px;object-fit:contain;image-rendering:pixelated}
.hist-item-main strong{display:block;font-size:14px;color:#f2f8ff}
.hist-date{font-size:12px;color:#91aabd;margin-top:3px}
.hist-count{white-space:nowrap;color:#aabfd4;font-size:12px;font-variant-numeric:tabular-nums}
.hist-pill{display:inline-block;color:#8ce7ba;font-size:11px;font-weight:700;white-space:nowrap}
.hist-pill.warning{color:#ffce9f}.hist-pill.note{color:#a6caff}
.hist-details{border-top:1px solid #314252;padding:0 14px}
.hist-details summary{cursor:pointer;padding:10px 0;color:#97c4f4;font-size:13px;font-weight:600}
.hist-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:10px 0}
.hist-detail-grid label{display:flex;flex-direction:column;gap:7px;color:#bacddd;font-size:12px;font-weight:700;min-width:0}
.hist-detail-grid .textarea{min-height:147px;width:100%;resize:vertical;font:12px/1.6 ui-monospace,monospace}
.hist-errors,.hist-warnings{padding:10px 14px;margin:10px 0;border-radius:8px;font-size:12px;line-height:1.4}
.hist-errors{background:#3a2524;border:1px solid #85544c;color:#ffd0c4}
.hist-warnings{background:#2e2c20;border:1px solid #776849;color:#f6d8a4}
.hist-errors p,.hist-warnings p{margin:3px 0}
.hist-import-footer{border-top:1px solid #334454;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0 10px;flex-wrap:wrap}
.hist-import-footer p{margin:5px 0 0;font-size:12px;color:#8fa9c1}
.hist-progress{margin-top:10px;font-size:13px;color:#a9c8e7}
@media(max-width:740px){.hist-import{padding:14px}.hist-row{flex-wrap:wrap;gap:9px}.hist-row-status{margin-left:auto}.hist-count{min-width:100%;text-align:right}.hist-detail-grid{grid-template-columns:1fr}.hist-item-main{min-width:160px}.hist-import-footer{align-items:stretch}.hist-import-footer>button{flex:1}}

/* Challenge detail modal parity with Records / History */
.challenge-detail-body{display:flex;flex-direction:column;gap:18px}
.challenge-detail-card,.dct-card{background:#191f27;border:1px solid #344354;border-radius:14px;box-shadow:none}
.guide-panel{padding:18px 18px 16px;margin:0}.guide-head{align-items:flex-start;margin-bottom:14px}.guide-head>div{min-width:0;flex:1}
.guide-kicker{display:block;color:#94c3fa;font-size:10px;font-weight:800;letter-spacing:1.5px;margin-bottom:10px}.guide-description{margin:0;color:#edf4fc;font-size:14px;line-height:1.65}
.guide-category,.challenge-detail-pill,.dct-count{display:inline-flex;align-items:center;justify-content:center;background:#26384a;border:1px solid #44627d;border-radius:8px;color:#c0d7f5;font-size:11px;font-weight:750;padding:8px 11px;white-space:nowrap}
.challenge-detail-subcard{background:#131b23;border:1px solid #344456;border-radius:10px;padding:14px 16px}.challenge-detail-subhead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:11px;margin-bottom:10px;border-bottom:1px solid #2e3d4e}.challenge-detail-subhead h4{margin:0;color:#f0f5ff;font-size:15px;font-weight:800}
.guide-rules{display:flex;flex-direction:column;border:1px solid #344456;border-radius:8px;overflow:hidden;background:#16202a}.guide-rule{display:grid;grid-template-columns:72px 1fr;gap:14px;padding:10px 12px;border-bottom:1px solid #2e3d4e;align-items:center;font-size:12px;color:#edf4fc}.guide-rule:last-child{border-bottom:0}.guide-points{font-weight:850;color:#8be1bf;font-size:22px;letter-spacing:-.4px}.guide-points.deduction{color:#f1b89b}.guide-notes{margin-top:12px;padding-top:12px;border-top:1px solid #2e3d4e}.guide-notes p{margin:0 0 6px;color:#a4b4c7;font-size:12px;line-height:1.6}.guide-notes p:last-child{margin-bottom:0}
.challenge-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.challenge-summary-card,.dct-kpis>div{display:flex;flex-direction:column;gap:6px;background:#202b37;border:1px solid #354556;border-radius:8px;padding:15px 16px;min-width:0}.challenge-summary-card small,.dct-kpis small{color:#96aabb;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.6px}.challenge-summary-card b,.dct-kpis b{color:#f0f5ff;font-size:22px;line-height:1.08;font-weight:850;font-variant-numeric:tabular-nums;white-space:nowrap}.challenge-summary-card span,.dct-kpis span{color:#90a5bb;font-size:12px;line-height:1.45}.challenge-summary-note{display:flex;flex-wrap:wrap;gap:10px 16px;margin:-4px 0 0;color:#bacbdc;font-size:12px;line-height:1.55}.challenge-summary-note b{color:#f0f5ff}
.dct-card{margin:0;padding:18px}.dct-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #2e3d4e}.dct-title-row h3{margin:5px 0 4px;color:#f0f5ff;font-size:18px;letter-spacing:-.4px}.dct-title-row p{margin:0;color:#a4b4c7;font-size:13px;line-height:1.6}.dct-eyebrow{color:#94c3fa;font-size:10px;font-weight:800;letter-spacing:1.5px}.dct-controls{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 14px}.dct-segmented{display:flex;gap:4px;flex-wrap:wrap;background:#141a22;border:1px solid #344353;border-radius:9px;padding:4px}.dct-choice{border:0;border-radius:6px;color:#a7b5c7;background:transparent;padding:9px 12px;font-size:11px;font-weight:700;cursor:pointer;transition:.15s}.dct-choice:hover,.dct-choice:focus-visible{color:#fff;background:#293d51;outline:none}.dct-choice.active{color:#f1f7ff;background:#385272;box-shadow:inset 0 0 0 1px #6089bd}.dct-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.dct-kpis b.positive{color:#8be1bf}.dct-kpis b.negative{color:#f1b89b}.dct-chart-box{padding:10px 8px 0;background:#131b23;border:1px solid #344456;border-radius:10px;min-height:180px}
@media(max-width:900px){.challenge-summary-grid,.dct-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.guide-panel,.dct-card{padding:14px}.challenge-summary-grid,.dct-kpis{grid-template-columns:1fr}.guide-head,.dct-title-row{flex-direction:column;align-items:flex-start}.guide-category,.challenge-detail-pill,.dct-count{align-self:flex-start}.guide-rule{grid-template-columns:62px 1fr;gap:10px;padding:9px 10px}.guide-points{font-size:19px}.dct-segmented{width:100%}.dct-choice{flex:1;min-width:0;font-size:10px;padding:9px 7px}.dct-chart-box{padding:4px 1px 0;min-height:120px}}

.dcx-title-with-icon{display:flex;align-items:center;gap:12px}.dcx-title-icon{width:42px;height:42px;min-width:42px;display:grid;place-items:center;background:#142f3e;border:1px solid #254555;border-radius:10px}.dcx-title-icon img{width:31px;height:32px;object-fit:contain;image-rendering:pixelated}
.challenge-summary-owner{font-size:16px;font-weight:800;color:#deedf1;line-height:1.25}.challenge-summary-meta{font-style:normal;color:#8fa7b4;font-size:12px;line-height:1.4}.challenge-summary-card span:not(.challenge-summary-owner){color:#90a5bb;font-size:12px;line-height:1.45}
.calendar-head-title{display:flex;align-items:center;gap:12px;min-width:0}.calendar-head-title>div{min-width:0}.calendar-head-title h3{margin:0}.calendar-head-title p{margin:6px 0 0}.calendar-head-icon{flex:0 0 42px}

/* DC bot markers: preserve original leaderboard rows and make annotations visible. */
.dc-bot-mark{display:inline-flex;align-items:center;vertical-align:middle;white-space:nowrap;margin-left:7px;padding:2px 6px;border:1px solid rgba(255,170,100,.55);border-radius:5px;background:rgba(106,48,27,.55);color:#ffd29d;font-size:10px;font-weight:800;letter-spacing:.055em;line-height:1.3}
.dc-score-entry.dc-bot-flagged{opacity:1;border-color:rgba(255,163,98,.5);background-image:linear-gradient(90deg,rgba(214,114,55,.13),transparent 50%)}
.history-score-row .dc-bot-mark,.rankings-name .dc-bot-mark,.records-person .dc-bot-mark,.dc-profile-history-score .dc-bot-mark{font-size:9px;margin-left:6px}
.dc-entry-player .dc-bot-mark{display:inline-flex;font-size:10px;color:#ffd29d;font-weight:800}
.calendar-nav>.today-button{flex:0 0 auto;white-space:nowrap}
