/* Version 0.3 — quiet, professional, Set Planner-inspired visual system. */
:root{--bg:#071722;--side:#091b28;--panel:#0e2432;--panel2:#112a39;--line:#203a49;--text:#e8f0f5;--soft:#9ab0bd;--muted:#6e8798;--mint:#59d3bb;--cyan:#6cbac9;--blue:#5da5df;--violet:#98adbd;--gold:#f3cb82;--radius:11px;--shadow:0 8px 24px #0002}
html,body{background:#071722;color:var(--text);font-family:Inter,"Segoe UI",Arial,sans-serif}body::before{display:none}button,a,input,select,textarea{transition:background-color .12s,border-color .12s,color .12s}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #6cbdc7;outline-offset:2px}
.app-shell{background:#071722}.sidebar{background:#0a1c28;border-right:1px solid #1e3341;padding:25px 12px 22px;flex-basis:226px}.brand{padding:0 11px 35px;gap:10px}.brand-mark{width:36px;height:36px;background:#152f41;box-shadow:none;clip-path:none;border:1px solid #2e4c5c;border-radius:9px}.brand-mark img{image-rendering:pixelated}.brand-name{font-size:15px;font-weight:780;letter-spacing:-.3px;text-transform:none}.brand-name span{color:#6bd5c4}.brand-sub{letter-spacing:1.15px;font-weight:650;font-size:8px;color:#7292a2;margin-top:6px}.aside-caption{font-size:9px;letter-spacing:1.2px;color:#617b89;margin-bottom:9px;padding:0 13px;font-weight:750}.side-nav{gap:4px}.nav-item{font-size:12.5px;font-weight:590;padding:10px 12px;border-radius:7px;color:#8ea7b7;gap:10px}.nav-item:hover{background:#172e3c;color:#e4eef5}.nav-item.active{border-color:#2c4d5d;background:#173340;color:#d6f4ed;box-shadow:inset 2px 0 0 #56c7b8}.nav-icon{font-size:17px;color:#6f92a3;width:20px}.nav-item.active .nav-icon{color:#71c9bb}.nav-arrow{font-size:15px;color:#557487}.admin-label{margin-top:32px}.sync-panel{background:#0d2330;border:1px solid #244050;border-radius:8px;margin-bottom:16px;padding:13px}.sync-panel b{font-size:11px}.sync-panel small{font-size:10px}.side-footer{font-size:10px;line-height:1.5}
.topbar{height:66px;flex-basis:66px;background:#081b27;border-bottom:1px solid #1b3646;padding:0 30px}.breadcrumbs{font-size:10px;font-weight:700;letter-spacing:1.1px;color:#d2e6eb}.crumb-light{color:#698796}.crumb-sep{color:#395563}.top-actions{gap:11px}.top-pill{font-size:10px;font-weight:650;color:#8ba7b6;letter-spacing:.4px}.status-dot{background:#f3bf73}.search-trigger{background:#102635;border:1px solid #264152;color:#9bb4c2;border-radius:7px;font-size:17px;padding:7px 11px;gap:9px}.search-trigger:hover{background:#163343}.search-trigger span{font-weight:550}.search-trigger kbd{background:#193343;color:#7491a0;margin-left:18px}.avatar{height:32px;width:32px;background:#15303f;border-color:#315366;border-radius:7px;color:#9ecfc9;font-weight:760}
.content{max-width:1500px;padding:31px 34px 65px}.footer{background:#081b27;border-top:1px solid #1b3443;padding:17px 34px;font-size:10px}.section-eyebrow{color:#79a8b5;font-size:9px;letter-spacing:1.4px;font-weight:700}.page-intro{margin-bottom:22px}.page-title{font-size:28px;font-weight:740;letter-spacing:-.9px;color:#edf5f7;margin:8px 0 7px}.page-desc{font-size:12px;color:#879fb0;line-height:1.6}.badge,.status-chip{border:1px solid #294b5b;background:#183543;color:#a7c2cd;border-radius:6px;font-size:10px;padding:5px 9px;font-weight:700;letter-spacing:.15px;box-shadow:none}.badge.warn,.status-chip.amber{background:#332b20;border-color:#61513b;color:#e9c994}.status-chip.green{background:#16372f;border-color:#275a4c;color:#7bdac1}.status-chip.blue{background:#193347;border-color:#2d536c;color:#93c8e6}.status-chip.neutral{background:#1a2d39;border-color:#284351;color:#9db7c5}.demo-banner{background:#1d241f;border-color:#404d38;color:#a7c0ae;border-radius:8px;margin-bottom:17px;font-size:11px;gap:9px;padding:10px 13px}.demo-banner b{color:#bbd3bd}.demo-banner span:first-child{font-size:14px}
.btn,.btn.ghost{font-size:11px;padding:9px 12px;font-weight:650;border-radius:7px;background:#142e3e;border:1px solid #2a495c;color:#acc6d5;box-shadow:none}.btn:hover,.btn.ghost:hover{background:#204153;border-color:#38627a;transform:none}.btn.primary{background:#1a6257;color:#cef8e7;border:1px solid #2c887b;box-shadow:none}.btn.primary:hover{background:#247f70}.btn.small{font-size:10px;padding:6px 9px}.link-button,.text-link{background:none;border:0;color:#7cc5b7;font-size:11px;font-weight:650;cursor:pointer;padding:0}.link-button:hover,.text-link:hover{color:#a5ead8;text-decoration:underline}
.panel,.surface-card{background:#0e2432;border:1px solid #203948;border-radius:10px;overflow:hidden;box-shadow:none}.panel-head{padding:19px 20px;border-bottom:1px solid #203947}.panel-title{font-size:13px;font-weight:690;color:#e7f0f2}.panel-sub{font-size:11px;color:#7995a4}.data-table th{color:#698796;font-weight:750;font-size:10px;border-bottom:1px solid #1f3745}.data-table td{color:#b3c7d1;font-size:12px;border-bottom:1px solid #1c3340}.data-table tbody tr:hover{background:#1a3543}.rank{color:#e6ca95}.user-icon{border-color:#315462;background:#153642;color:#8acbc5}.click-text{color:#d0e5ea}.click-text:hover{color:#8edaca}
.filters{margin-bottom:18px}.field,.dropdown,.textarea{background:#0a1d2a;color:#dceaf1;border:1px solid #294656;border-radius:7px;box-shadow:none;font-size:12px;font-weight:500;padding:11px 12px}.field:focus,.dropdown:focus,.textarea:focus{border-color:#64adbb;outline:none}.field::placeholder{color:#6a8595}.challenge-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.challenge-card{background:#0f2735;border:1px solid #234152;border-radius:9px;box-shadow:none;min-height:190px;padding:19px 16px}.challenge-card:hover{background:#193747;border-color:#39647a;transform:none;filter:none;box-shadow:0 8px 24px #0002}.challenge-card .challenge-icon,.challenge-icon{background:#142f3e;border:1px solid #254555;border-radius:8px;box-shadow:none;image-rendering:pixelated}.challenge-icon{width:45px;height:45px;min-width:45px}.pixel-icon{width:36px;height:36px;object-fit:contain;image-rendering:pixelated}.challenge-card .challenge-icon{height:52px;width:52px;min-width:52px;margin-bottom:12px;border:1px solid #284957;background:#173442}.challenge-card .challenge-icon .pixel-icon{width:41px;height:41px}.challenge-card h3{font-size:13px;font-weight:690;color:#e1f0f2;text-shadow:none}.challenge-card p{font-size:11px;font-weight:450;color:#89a7b5}.challenge-stats{border-top:1px solid #284250}.challenge-stats span{font-size:10px;color:#85a4b3}.challenge-stats b{font-size:12px;color:#d0e5eb;text-shadow:none}.challenge-row{background:transparent;border-bottom:1px solid #1f3d4b}.challenge-row:hover{background:#1b3744}.challenge-info b{color:#d5e9eb;font-weight:680}.challenge-info small{color:#7f9baa}.challenge-count{color:#9bcfc6}.result-card{background:#0f2936;border:1px solid #254554;border-radius:9px;box-shadow:none}.result-head{border-bottom:1px solid #294654}.result-name{color:#dcebef;text-shadow:none}.result-meta{color:#829dac}.podium-chip,.mini-tag{background:#1a3b48;border:1px solid #2b5361;border-radius:5px;color:#afcbd3;box-shadow:none}.podium-chip strong{color:#d9ceb0}.mini-tag.mint{background:#193a35;border-color:#295e51;color:#91d9c8}.empty{color:#9bb7c5}.empty-icon{color:#6ab9c1}.empty b{color:#dfedf1}
.admin-layout{gap:16px}.form-panel,.review-item{background:#112937;border:1px solid #284756;border-radius:8px;box-shadow:none}.form-group label{color:#9dbbc6}.code-guide{background:#0c1e2c;color:#91adbb;border:1px solid #2e4d5c;border-radius:7px}.admin-key-box{background:#0d2734;border:1px solid #264756;border-radius:8px}.alert{background:#302d25;border:1px solid #554e39;color:#ddc8a5;border-radius:8px}.modal-backdrop{background:#06121cd9}.modal{border:1px solid #365466;background:#102734;box-shadow:0 22px 65px #020b14bd;border-radius:12px;color:#d8e9ee}.modal-head{background:#142e3c;border-bottom:1px solid #2c4b59}.modal-head h3{color:#e1f1f3;text-shadow:none}.modal-body{color:#bed1da}.modal-challenge-title{display:flex;gap:12px}.close-modal{background:#213e4d;color:#c9e1e9;border:1px solid #335d6f;border-radius:7px;text-shadow:none}.profile-stat{background:#163240;border:1px solid #2c4a5c;border-radius:7px}.profile-stat b{color:#d9e8eb}.profile-stat small{color:#819fae}.event-details{background:#112d3b;border:1px solid #294d5c;border-radius:7px;color:#d6ebee}.event-details summary{color:#deedef}.event-details summary span{color:#819eae}.search-choice{color:#c5e4e6;border-bottom:1px solid #294655}.search-choice:hover{background:#214050}.toast{background:#153946;color:#dff7f2;border:1px solid #4f9d9b;border-radius:8px}
/* Dashboard */
.dashboard-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.dashboard-heading h1{font-weight:720;letter-spacing:-1.5px;font-size:29px;margin:7px 0 4px}.dashboard-heading p{margin:0;font-size:12px;color:#849eac}.heading-dot{color:#66ceb8}.eyeline{font-size:10px;letter-spacing:1.15px;font-weight:730;color:#94cdbf}.muted-kicker{color:#698b9e}.next-panel{background:linear-gradient(116deg,#112d39,#102a3b 65%,#143647);border:1px solid #315565;border-radius:11px;overflow:hidden;position:relative;margin-bottom:18px;box-shadow:0 12px 30px #0001}.next-panel:before{content:"";width:400px;height:400px;right:-60px;top:-270px;position:absolute;border-radius:50%;background:radial-gradient(circle,#447d871a 0%,transparent 62%);pointer-events:none}.next-top{display:flex;align-items:center;justify-content:space-between;padding:21px 25px 0;position:relative}.green-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#63d5bc;vertical-align:1px;margin-right:8px;box-shadow:0 0 0 4px #65dbbc17}.next-main{display:flex;align-items:center;justify-content:space-between;padding:28px 28px 30px 25px;position:relative}.next-title{font-size:13px;color:#b9d0d9;font-weight:500;margin-bottom:9px}.countdown{font-size:56px;line-height:1.05;letter-spacing:-2px;font-variant-numeric:tabular-nums;font-weight:680;color:#e8f7f7}.start-line{display:flex;align-items:center;gap:8px;font-size:11px;color:#a2bac5;margin-top:14px}.start-line svg{width:14px;height:14px;color:#77a9ba}.start-line span{color:#7794a2}.next-orbit{width:128px;height:128px;border-radius:50%;border:1px solid #386c78;display:grid;place-items:center;margin-right:42px;box-shadow:0 0 0 15px #3b7b8420,0 0 0 32px #3b7b8410,0 0 0 49px #3b7b8406}.orbit-inset{width:105px;height:105px;border-radius:50%;background:#173d4b;border:1px solid #385e6e;display:flex;flex-direction:column;align-items:center;justify-content:center}.orbit-inset>span{font-size:33px;font-weight:800;letter-spacing:-1px}.orbit-inset>span span{font-size:16px;color:#70bdc4}.orbit-inset small{font-size:9px;letter-spacing:1.4px;color:#7398a7}.next-foot{padding:16px 25px;display:flex;justify-content:space-between;gap:15px;align-items:center;border-top:1px solid #2a4a58;background:#0d2633b8;position:relative}.label-muted{font-size:9px;font-weight:700;letter-spacing:1.1px;color:#7299a8}.foot-note{font-size:11px;margin-top:5px;color:#bdcfd6}
.dashboard-info-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:19px}.mini-stat{background:#0d2431;border:1px solid #203a49;border-radius:9px;padding:16px 18px;display:flex;flex-direction:column}.mini-stat span{font-size:11px;color:#92aebc}.mini-stat b{font-size:25px;font-weight:660;letter-spacing:-.4px;margin:11px 0 3px}.mini-stat small{font-size:10px;color:#637e8d}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.36fr) minmax(320px,.84fr);gap:17px}.dashboard-columns>div{min-width:0}.dashboard-columns .day-detail{margin-top:17px}.surface-card{padding:20px}.card-title-row{display:flex;align-items:start;justify-content:space-between;gap:15px}.card-title-row h3,.calendar-head h3,.surface-card>h3{font-size:15px;line-height:1.35;letter-spacing:-.2px;font-weight:700;margin:7px 0 5px;color:#e4eff2}.card-title-row p,.calendar-head p{font-size:11px;color:#819fae;margin:0;line-height:1.55}
.possible-card{margin-bottom:17px}.small-card-note{padding:12px 0;color:#7f9cab;font-size:11px;line-height:1.55;border-bottom:1px solid #213d4b}.possible-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:15px}.possible-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:95px;border:1px solid #2a4755;border-radius:7px;background:#142e3b;padding:10px 5px;color:#c4dce2}.possible-item:hover{background:#1c3d4a;border-color:#3f6d7c}.possible-item .pixel-icon{width:29px;height:29px}.possible-item span{font-size:10px;line-height:1.3;max-width:100%;font-weight:600;text-align:center}.tracker-foot{display:flex;align-items:center;justify-content:space-between;margin-top:16px;color:#7898a6;font-size:10px}.tiny-circle{display:inline-block;background:#62d0b4;height:6px;width:6px;border-radius:50%;margin-right:6px}.latest-result{display:flex;gap:12px;align-items:center;margin:16px 0 4px}.latest-result>.pixel-icon{width:42px;height:42px}.latest-result strong{display:block;color:#daeaf0;font-size:12px}.latest-result small{color:#7e9dac;font-size:10px;display:block;margin-top:6px}
/* Calendar */
.calendar-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);gap:16px}.calendar-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:19px}.calendar-nav{display:flex;align-items:center;gap:7px}.calendar-nav>span{font-size:11px;min-width:100px;text-align:center;color:#b7cbd3;font-weight:650}.icon-button{display:grid;place-items:center;width:29px;height:29px;font-size:22px;border:1px solid #2e4c5c;border-radius:6px;background:#132c39;color:#9ebdcb}.icon-button:hover{background:#224554}.weekday-row,.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.weekday-row{gap:4px;margin-bottom:5px}.weekday-row span{text-align:center;font-size:9px;color:#6e8c9d;font-weight:700;letter-spacing:.5px;padding:6px 0}.month-grid{gap:4px}.day-cell{background:#102937;border:1px solid #1e3b49;min-width:0;min-height:79px;border-radius:5px;padding:8px;position:relative;text-align:left;color:#a8c0cb;display:flex;flex-direction:column;gap:8px;overflow:hidden}.day-cell:hover{background:#193e4c;border-color:#365f6d}.day-cell.outside{opacity:.43}.day-cell.is-today{border-color:#579a94}.day-cell.is-selected{background:#1d4552;box-shadow:inset 0 0 0 1px #66a9a6}.day-number{font-size:11px;font-weight:650;line-height:1;color:#c2d5dc}.day-cell.is-today .day-number{color:#8de5cf}.slot-dot{position:absolute;right:8px;top:8px;width:7px;height:7px;border-radius:50%;background:#6faeb8}.small-dot{position:absolute;right:18px;top:8px;width:5px;height:5px;border-radius:50%}.small-dot.green{background:#6bdaad}.small-dot.orange{background:#f2b975}.day-cell small{font-size:10px;font-variant-numeric:tabular-nums;color:#769aaa;margin-top:auto}.day-preview{display:flex;align-items:center;gap:5px;overflow:hidden;color:#c2e1df}.day-preview img{width:20px;height:20px;flex-shrink:0}.day-preview span{font-size:9px;line-height:1.2;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.calendar-key{display:flex;flex-wrap:wrap;gap:10px 16px;font-size:10px;color:#72909f;margin-top:16px;border-top:1px solid #213947;padding-top:13px}.calendar-key span{display:inline-flex;gap:6px;align-items:center}.key-dot{width:6px;height:6px;border-radius:50%;background:#6faeb8}.key-dot.green{background:#6bdaad}.key-dot.orange{background:#f2b975}
.day-detail{min-width:0}.day-detail h3{font-size:15px}.event-line{display:flex;align-items:start;gap:10px;padding:16px 0;border-bottom:1px solid #203a49}.event-line:last-of-type{border-bottom:0}.line-icon{height:34px;width:34px;flex:0 0 34px;display:grid;place-items:center;border:1px solid #2e4e5b;background:#153441;border-radius:7px;color:#83c7c9;font-size:18px}.line-icon.orange-tint{color:#d3aa80}.line-icon img{width:29px;height:29px}.event-line>div{flex:1;min-width:0}.event-line strong{display:block;font-size:11px;color:#dbe9ee;margin-bottom:6px}.event-line small{display:block;font-size:10px;color:#8ca6b2;line-height:1.5}.tag-regular{color:#6da4b5;font-size:9px;white-space:nowrap;border:1px solid #2e5562;padding:5px 7px;border-radius:5px}.day-empty,.calendar-hint{background:#122d3a;color:#84a1b1;border:1px solid #224252;padding:14px;border-radius:7px;font-size:11px;line-height:1.6;margin-top:14px}.calendar-hint{background:transparent;border-style:dashed}.schedule-explainer{display:flex;gap:25px;align-items:center;justify-content:space-between;border:1px solid #284552;background:#122a37;border-radius:9px;padding:17px 20px;margin:15px 0}.schedule-explainer b{font-size:12px}.schedule-explainer p{font-size:11px;color:#86a4b3;line-height:1.6;max-width:900px;margin:6px 0 0}
/* Admin calendar settings */
.admin-settings-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:15px;margin-top:18px}.settings-form{display:flex;flex-direction:column;gap:11px;margin-top:18px}.settings-form>label:not(.setting-check){display:flex;flex-direction:column;gap:6px;font-size:11px;color:#9ab1be}.setting-check{display:flex;align-items:center;gap:8px;font-size:11px;color:#a7c3cc;line-height:1.4}.setting-check input{accent-color:#62cfb8}.setting-label{font-size:11px;color:#94b4c0;font-weight:670;margin-top:6px}.pool-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:280px;overflow:auto;border:1px solid #284858;background:#0b2230;border-radius:8px;padding:10px}.pool-checks .setting-check{font-size:10px;border-radius:5px;padding:5px}.pool-checks .pixel-icon{width:21px;height:21px}.entry-list{border-top:1px solid #294655;margin-top:18px;padding-top:12px;color:#8caabb;font-size:11px}.entry-list>div{display:flex;justify-content:space-between;gap:10px;margin:8px 0}
@media(max-width:1270px){.possible-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.next-orbit{margin-right:14px;width:105px;height:105px}.orbit-inset{width:87px;height:87px}.countdown{font-size:48px}.dashboard-columns{grid-template-columns:minmax(0,1fr) minmax(280px,.78fr)}.calendar-layout{grid-template-columns:minmax(0,1fr) minmax(290px,.7fr)}.day-cell{min-height:70px}}
@media(max-width:1000px){.sidebar{flex-basis:205px}.content{padding:26px 23px 50px}.dashboard-columns,.calendar-layout{grid-template-columns:1fr}.possible-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-info-row{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-settings-grid{grid-template-columns:1fr}.challenge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.sidebar{width:230px;flex-basis:230px;z-index:20}.content{padding:24px 15px 45px}.topbar{padding:0 16px}.mobile-menu{display:inline-flex;color:#9ebac5;background:#183542;border:1px solid #2e4b5a;border-radius:7px;padding:4px 9px}.dashboard-heading h1{font-size:25px}.countdown{font-size:40px}.next-orbit{width:85px;height:85px;margin-right:0;box-shadow:0 0 0 13px #3b7b8420}.orbit-inset{width:72px;height:72px}.orbit-inset>span{font-size:24px}.orbit-inset>span span{font-size:12px}.orbit-inset small{font-size:7px}.challenge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.content{padding:20px 11px 36px}.dashboard-heading{align-items:center}.dashboard-heading p{max-width:250px}.dashboard-heading .btn{font-size:0;white-space:nowrap}.dashboard-heading .btn span{font-size:15px}.next-top{padding:17px 15px 0}.next-main{padding:21px 14px 25px}.next-title{font-size:11px}.countdown{font-size:37px;letter-spacing:-1px}.start-line{font-size:10px;line-height:1.4;flex-wrap:wrap}.next-orbit{display:none}.next-foot{padding:13px 15px;align-items:flex-start}.next-foot .btn{font-size:10px;white-space:nowrap;min-width:100px;padding:8px}.foot-note{font-size:10px}.mini-stat{padding:13px}.mini-stat b{font-size:22px}.surface-card{padding:14px}.card-title-row h3,.calendar-head h3{font-size:13px}.possible-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.calendar-head{flex-wrap:wrap}.calendar-nav{width:100%;justify-content:space-between}.day-cell{padding:5px;min-height:58px;gap:6px}.day-number{font-size:10px}.day-cell small{font-size:9px}.day-preview{display:none}.slot-dot{top:6px;right:5px;width:6px;height:6px}.small-dot{top:6px;right:13px}.day-detail{padding:15px}.tag-regular{font-size:8px}.schedule-explainer{flex-wrap:wrap}.challenge-card{min-height:170px;padding:12px}.challenge-card h3{font-size:12px}.challenge-card p{font-size:10px}.challenge-stats span{font-size:9px}.pool-checks{grid-template-columns:1fr}.footer{padding:15px}.top-pill{display:none}}
/* Remove legacy bright Growtopia window remnants. */
.sidebar::before{display:none}
.sidebar .nav-item{background:transparent;border:1px solid transparent;box-shadow:none;text-shadow:none;filter:none;transform:none;color:#8ba6b4;font-weight:600;padding:10px 12px;border-radius:7px}
.sidebar .nav-item:hover{background:#183541;border-color:#244958;transform:none;filter:none}
.sidebar .nav-item.active{background:#193b46;border:1px solid #315f63;box-shadow:inset 2px 0 #69d4b8;color:#e0f7f0}
.sidebar .nav-icon{color:#779bac;text-shadow:none;font-size:16px}
.sidebar .nav-item.active .nav-icon{color:#86d2c1}
.sidebar .nav-arrow{font-size:15px;color:#658899;text-shadow:none}
.brand-mark{flex:0 0 36px;height:36px;box-shadow:none;background:#142e3b;border:1px solid #2b5360;border-radius:8px}
.brand-name{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#e2f2f1;text-shadow:none;letter-spacing:-.5px;font-size:15px}
.brand-sub{color:#718c9b;text-shadow:none}
.aside-caption{color:#63808f;text-shadow:none}
.sync-panel{box-shadow:none}.sync-panel b{color:#cde2e8}.sync-panel small{color:#819aa9}
.page-desc,.panel-title,.page-title,.section-eyebrow,.demo-banner b,.field,.dropdown,.textarea,.click-text,.challenge-card h3,.challenge-stats b,.modal-head h3,.footer,.badge{box-shadow:none;text-shadow:none}
.demo-banner{box-shadow:none;border:1px solid #48523d;background:#22281f;color:#b4c7b1}.demo-banner b{color:#cfdfc7}.demo-banner span:first-child{color:#b5cba4}

/* V0.6 — competition-first landing + image-to-calendar review workflow */
.focus-dashboard-heading{margin-bottom:18px;align-items:center}
.focus-dashboard-heading h1{font-size:34px;margin:5px 0 3px}
.focus-panel{background:linear-gradient(133deg,#102e3a 0%,#0b2533 48%,#112f3e 100%);border-color:#3a5b68;margin-bottom:34px}
.focus-panel:before{width:560px;height:560px;right:-240px;top:-350px;background:radial-gradient(circle,#389c9430,transparent 65%)}
.focus-heading{display:flex;align-items:center;justify-content:space-between;padding:24px 28px 0;gap:16px;position:relative}
.focus-inner{display:grid;grid-template-columns:minmax(280px,.93fr) minmax(420px,1.07fr);align-items:stretch;gap:30px;padding:22px 28px 28px;position:relative}
.focus-time{padding:28px 20px 18px 0;display:flex;flex-direction:column;justify-content:center}
.focus-intro{font-size:14px;color:#bdd4dd;font-weight:600;letter-spacing:-.2px;margin-bottom:14px}
.focus-count{font-size:clamp(48px,5.6vw,78px);font-weight:760;line-height:1;letter-spacing:-3.5px;color:#ecfaf9;margin-bottom:2px}
.focus-time .start-line{margin-top:18px;font-size:12px;color:#c9dce4;gap:5px}
.focus-clock-note{margin-top:20px;color:#7897a4;font-size:10px;line-height:1.7;max-width:380px}
.focus-possibilities{background:#071d2a7d;border:1px solid #2c4a56;border-radius:10px;padding:20px 21px 17px;min-width:0}
.focus-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.focus-row h2{font-size:19px;font-weight:710;letter-spacing:-.5px;margin:7px 0 0;color:#e9f4f5}
.focus-icon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.focus-challenge{display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #2b4a59;border-radius:7px;background:#132f3e;color:#d4e6eb;padding:11px 8px;min-width:0;min-height:60px;font-weight:600;font-size:11px;line-height:1.3;cursor:pointer}
.focus-challenge:hover{background:#1c4451;border-color:#548281}
.focus-challenge img{width:35px;height:35px;min-width:35px;object-fit:contain;image-rendering:pixelated}
.focus-challenge span{overflow-wrap:anywhere}
.focus-hint{font-size:10.5px;color:#819fae;line-height:1.7;margin:16px 0 0}
.focus-footer{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:14px 28px;color:#8eacb9;background:#071d29a1;border-top:1px solid #2a4855;font-size:11px}
.below-focus-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 15px}
.below-focus-heading h2{font-size:18px;font-weight:720;letter-spacing:-.5px;color:#e8f4f5;margin:7px 0 4px}
.below-focus-heading p{font-size:11px;color:#7594a5;margin:0}
.featured-calendar{margin-bottom:18px}
.understated-footer{margin-top:20px;display:flex;flex-wrap:wrap;gap:12px 24px;padding:18px 3px;color:#7f9dab;font-size:11px;border-top:1px solid #24414e}
.understated-footer b{color:#dceef0;font-size:13px;padding-right:3px}
/* Calendar scan admin */
.scan-card{margin-top:18px;padding:24px}
.scan-heading{display:flex;align-items:start;gap:20px;justify-content:space-between}
.scan-heading h3{font-size:17px;letter-spacing:-.35px;margin:7px 0;color:#e9f3f4}
.scan-heading p{max-width:720px;color:#839fac;font-size:11px;line-height:1.7;margin-top:8px}
.calendar-scan-form{display:flex;align-items:end;gap:12px;margin-top:22px;flex-wrap:wrap}
.file-zone{display:flex;align-items:center;gap:14px;flex:1 1 310px;min-height:86px;padding:17px 20px;background:#0b2432;border:1px dashed #407182;border-radius:9px;cursor:pointer;position:relative}
.file-zone:hover{border-color:#6eb8b8;background:#153542}
.file-zone-icon{font-size:29px;color:#6dbcb5}
.file-zone b{display:block;color:#d8edf0;font-weight:620;font-size:12px}
.file-zone small{display:block;color:#7595a5;font-size:10px;margin-top:6px}
.file-zone input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.scan-source{min-width:195px;flex:0 1 220px;display:flex;flex-direction:column;font-size:10px;color:#a1bec9;gap:8px}
.scan-source span{color:#7795a5}
.scan-source .field{width:100%}
.scan-help{color:#7896a5;font-size:10px;line-height:1.6;margin-top:14px}
#scan-status{font-size:11px;color:#a4d0ce;margin-top:10px}
.scan-review{margin-top:24px;border-top:1px solid #294a59;padding-top:20px}
.scan-review-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.scan-review-header h4{color:#e3f3f3;font-size:14px;margin:0 0 5px}
.scan-review-header p{color:#8ba7b5;font-size:11px;line-height:1.5;margin:0}
.scan-rows{display:grid;grid-template-columns:1fr;gap:10px;margin-top:18px}
.scan-row{background:#102d3a;border:1px solid #2a4b59;border-radius:8px;padding:14px 16px;display:grid;grid-template-columns:150px 1fr;gap:10px 16px}
.scan-toggle{display:flex;gap:10px;align-items:center;color:#d4e8eb;font-size:12px;font-weight:670;overflow-wrap:anywhere}
.scan-toggle input{accent-color:#66d3bb;width:16px;height:16px}
.scan-fields{display:grid;grid-template-columns:minmax(135px,.8fr) minmax(135px,.8fr) minmax(170px,1.3fr);gap:10px}
.scan-fields label{display:flex;flex-direction:column;gap:7px;color:#7f9ca9;font-size:10px}
.scan-fields input,.scan-fields select{width:100%;min-width:0;padding:9px 10px}
.scan-row-note{grid-column:2;line-height:1.6;color:#8aa8b7;font-size:10px}
.scan-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px;color:#829daa;font-size:11px}
.scan-actions button:disabled{opacity:.48;cursor:not-allowed}
@media(max-width:1220px){.focus-inner{grid-template-columns:minmax(250px,.85fr) minmax(350px,1.15fr);gap:18px;padding:20px}.focus-heading,.focus-footer{padding-left:20px;padding-right:20px}.focus-challenge{flex-direction:column;justify-content:center;text-align:center;min-height:95px}}
@media(max-width:980px){.focus-inner{grid-template-columns:1fr}.focus-time{padding:12px 0}.focus-challenge{flex-direction:row;text-align:left;min-height:61px}.focus-count{font-size:64px}.scan-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.scan-fields label:last-child{grid-column:1/-1}}
@media(max-width:660px){.focus-dashboard-heading h1{font-size:27px}.focus-panel{margin-bottom:23px}.focus-heading{padding:18px 14px 0}.focus-inner{padding:10px 13px 17px}.focus-time{padding:12px 3px}.focus-count{font-size:clamp(40px,10vw,58px);letter-spacing:-2px}.focus-possibilities{padding:14px}.focus-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.focus-challenge{padding:10px 7px;font-size:10px}.focus-challenge img{height:32px;width:32px;min-width:32px}.focus-footer{padding:12px 13px;font-size:10px}.scan-card{padding:15px}.scan-heading{flex-direction:column;gap:6px}.scan-row{grid-template-columns:1fr}.scan-fields{grid-template-columns:1fr 1fr}.scan-row-note{grid-column:1}.file-zone{flex-basis:100%}.scan-source{flex:1 1 100%}.scan-actions{align-items:start;flex-direction:column}}
@media(max-width:390px){.focus-challenge img{width:28px;height:28px;min-width:28px}.focus-challenge{gap:5px}.focus-row{flex-wrap:wrap}.focus-count{font-size:38px}}
.sample-calendar-thumb{width:100%;height:180px;object-fit:contain;object-position:center;display:block;border:1px solid #2d4c5b;background:#0b1e2a;border-radius:8px;margin-top:15px}

.sample-calendar-thumb{height:280px}

.focus-challenge.is-monthly-window{border-color:#715b3d;background:#322f29}
.focus-challenge.is-monthly-window:hover{background:#46392c}
.focus-challenge small{display:block;color:#e7bc7f;font-size:9px;margin-top:4px;font-weight:550}

/* V0.7 — actual DC archive, monthly event sprites, question-mark predictions */
.brand-mark{display:grid;place-items:center;background:#0f2b35;border-color:#345562}
.brand-mark img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}
.cycle-forecast{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.85fr);gap:22px;background:#102936;border:1px solid #2c4b5b;border-radius:10px;margin:-12px 0 26px;padding:21px 24px;align-items:center}
.cycle-forecast-left{min-width:0}.cycle-heading{font-weight:700;color:#e3f3f3;font-size:15px;margin:8px 0}.cycle-caption{font-size:11px;color:#91b1bf;line-height:1.65}.cycle-caption strong{color:#c5e0e2;font-weight:650}
.cycle-reset{display:flex;flex-direction:column;border-left:1px solid #294a5b;padding-left:24px;gap:8px;min-width:0}
.cycle-reset>span{font-size:9px;color:#7ecab9;letter-spacing:.65px;font-weight:700}
.cycle-reset>b{font-size:18px;color:#e1f3ef;letter-spacing:-.35px;font-variant-numeric:tabular-nums}
.cycle-reset>small{font-size:10px;line-height:1.55;color:#7894a5}
.calendar-surface{min-width:0}.calendar-v7-day{min-height:109px;gap:5px;padding:7px;overflow:hidden;justify-content:flex-start}
.day-top{display:flex;align-items:center;justify-content:space-between;gap:3px;width:100%;min-width:0}
.day-slot-time{font-size:9px;color:#668e9f;white-space:nowrap}
.day-icon-collection{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:5px;min-height:43px;flex-wrap:wrap}
.calendar-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:7px;border:1px solid #376373;background:#173744}
.calendar-icon .pixel-icon{width:31px;height:31px;object-fit:contain;image-rendering:pixelated}
.calendar-icon.monthly{border-color:#745943;background:#362d28}
.calendar-icon.scored{border-color:#4b9b82;background:#1a3e38}
.calendar-icon.reported{border-color:#4f8994;background:#193d49}
.calendar-unknown{display:grid;place-items:center;flex:0 0 29px;width:29px;height:34px;border:1px dashed #466677;color:#8eb7c6;background:#132f3b;border-radius:6px;font-weight:750;font-size:19px}
.calendar-unknown.past{opacity:.45}
.day-event-label{font-size:9px;line-height:1.2;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#bcced5;display:block;margin-top:auto}
.day-event-label.subdued{color:#668999}
.day-cell.cycle-reset-day{outline:1px dashed #64c7b0;outline-offset:-3px}
.day-cell.cycle-final-day{outline:1px dashed #d4b17d;outline-offset:-3px}
.cycle-day-label{position:absolute;bottom:0;right:0;font-size:7px;font-weight:800;letter-spacing:.15px;color:#e1c295;background:#3c3324;border-radius:4px 0 0 0;padding:2px 4px}
.cycle-day-label.reset{color:#b0eed4;background:#255042}
.calendar-key .forecast-dot{background:#c9a86c}.calendar-key .key-q{border:1px dashed #446879;width:10px;height:10px;text-align:center;font-size:9px;line-height:9px;color:#acd1e0;border-radius:2px}
.featured-event{background:#122f3b;padding:13px;border-radius:8px;border:1px solid #285263;margin-top:16px}
.event-line .text-link{margin-top:10px;display:inline-block}
.calendar-score-table{margin-top:20px;border:1px solid #315b57;background:#0b252e;border-radius:9px;overflow:hidden}
.score-table-heading{display:flex;align-items:center;gap:10px;background:#163d42;padding:12px;border-bottom:1px solid #315a58}
.score-table-heading>.pixel-icon{width:36px;height:36px}
.score-table-heading div{display:flex;flex-direction:column;gap:5px;min-width:0}
.score-table-heading b{font-size:13px;color:#e7f7f2}
.score-table-heading span{font-size:9px;color:#8ebdad;font-weight:650}
.day-score-grid{padding:4px 10px}
.day-score-row{width:100%;background:transparent;border:0;border-bottom:1px solid #274551;color:#d3e9ed;display:flex;gap:10px;align-items:center;text-align:left;padding:10px 3px;font-size:11px}
.day-score-row:hover{background:#173742}.day-score-row:last-child{border:0}
.day-score-row .score-rank{width:25px;color:#9dd8c2;font-weight:730}.day-score-row .score-name{flex:1;overflow:hidden;text-overflow:ellipsis}.day-score-row>b{font-variant-numeric:tabular-nums;color:#e8f3f2}
.evidence-link{margin:0 12px 14px;display:inline-block}
.cycle-detail{font-size:10px;color:#c7c09e;border:1px dashed #7b7252;background:#332f22;padding:13px;border-radius:7px;margin-top:14px;line-height:1.6}
@media(max-width:1260px){.calendar-v7-day{min-height:100px;padding:5px}.calendar-icon{width:30px;height:30px;flex-basis:30px}.calendar-icon .pixel-icon{width:27px;height:27px}.calendar-unknown{width:24px;flex-basis:24px;height:30px}}
@media(max-width:1000px){.calendar-v7-day{min-height:100px}.day-slot-time{font-size:8px}}
@media(max-width:660px){.cycle-forecast{grid-template-columns:1fr;padding:15px;gap:13px;margin:-5px 0 22px}.cycle-reset{border-left:0;border-top:1px solid #2b4857;padding-left:0;padding-top:13px}.cycle-reset>b{font-size:16px}.calendar-v7-day{min-height:72px;padding:4px 2px;gap:3px}.day-top{padding:0 1px}.day-slot-time{font-size:7px}.day-icon-collection{min-height:29px;gap:2px}.calendar-icon{height:25px;width:25px;flex-basis:25px;border-radius:4px}.calendar-icon .pixel-icon{width:23px;height:23px}.calendar-unknown{height:25px;width:19px;flex-basis:19px;font-size:14px;border-radius:4px}.day-event-label{display:none}.cycle-day-label{font-size:5.5px}.calendar-surface{padding:10px 7px}.weekday-row,.month-grid{gap:3px}.score-table-heading{padding:9px}.calendar-v7-day .day-number{font-size:10px}}
@media(max-width:385px){.calendar-v7-day{min-height:67px}.day-slot-time{display:none}.calendar-icon{height:22px;width:22px;flex-basis:22px}.calendar-icon .pixel-icon{width:20px;height:20px}.calendar-unknown{height:22px;flex-basis:16px;width:16px}}

/* V0.8 — per-challenge descriptions and scoring reference */
.challenge-card{display:flex;flex-direction:column;min-height:255px}
.challenge-card .challenge-icon{margin-bottom:11px}
.challenge-card h3{margin-bottom:8px}
.challenge-type-tag{display:inline-flex;align-self:flex-start;border:1px solid #2d5864;background:#193944;color:#8dc6c7;font-size:9px;font-weight:750;letter-spacing:.2px;border-radius:5px;padding:4px 7px;margin-bottom:10px}
.challenge-card p.challenge-blurb{font-size:11px;line-height:1.6;color:#9fb5c2;font-weight:470;flex:1;margin:0 0 15px;max-width:100%}
.challenge-card .challenge-stats{margin-top:auto}
.guide-panel{border:1px solid #2d5058;background:#102d38;border-radius:10px;padding:17px 18px;margin:0 0 20px}
.guide-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}
.guide-kicker{font-size:10px;letter-spacing:1.2px;color:#6de0c4;font-weight:750}
.guide-category{font-size:10px;color:#9dc0cd;padding:4px 8px;background:#1b3b48;border-radius:5px;border:1px solid #345566}
.guide-description{font-size:12px;color:#e0edf0;line-height:1.7;margin:0 0 14px}
.guide-scoring{border-top:1px solid #294855;padding-top:12px}
.guide-scoring summary{cursor:pointer;list-style:none;font-size:11px;color:#a9d9ce;display:flex;justify-content:space-between;gap:10px;align-items:center;font-weight:700}
.guide-scoring summary::-webkit-details-marker{display:none}
.guide-scoring summary span{color:#819eac;font-size:10px;font-weight:500}
.guide-scoring[open] summary{margin-bottom:12px}
.guide-rules{display:flex;flex-direction:column;border:1px solid #2b4a57;border-radius:7px;overflow:hidden}
.guide-rule{display:grid;grid-template-columns:75px minmax(0,1fr);align-items:center;gap:13px;padding:9px 12px;border-bottom:1px solid #263f4d;font-size:11px;color:#becfd7;line-height:1.5}
.guide-rule:last-child{border-bottom:0}
.guide-rule:nth-child(2n){background:#14323d}
.guide-points{font-weight:800;color:#77d4ae;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.guide-points.deduction{color:#e5a393}
.guide-notes{margin-top:11px;border-left:2px solid #c69a66;padding-left:10px}
.guide-notes p{font-size:10px;color:#b8aaa0;line-height:1.6;margin:2px 0 5px}
.event-line small{line-height:1.5}
@media(max-width:600px){.challenge-card{min-height:235px}.guide-panel{padding:13px 12px}.guide-rule{grid-template-columns:58px 1fr;gap:8px;padding:8px;font-size:10px}}

.calendar-score-info{display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap;justify-content:space-between;padding:11px 12px 0;color:#9cb8c5;font-size:11px;line-height:1.6}.calendar-score-info span{max-width:400px}.calendar-score-info button{white-space:nowrap}

/* V9 — clearly separated Personal and Guild scoreboards */
.score-audience-title {margin: 18px 0 9px; font-size: 11px; font-weight: 800; letter-spacing: .11em; color: #94b7c6;}
.score-audience-title:first-child {margin-top: 8px;}
.review-item label {display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #9eb9c8; margin: 13px 0 6px;}
.review-guild-placements {min-height: 105px;}

/* V11: one challenge indicator per scheduled calendar start */
.calendar-conflict{display:inline-grid;place-items:center;min-width:17px;height:17px;border-radius:50%;background:#8d5438;color:#fff;font-weight:800;font-size:11px}
.calendar-event-window{font-size:8px;color:#8eacb9;letter-spacing:.4px}
.calendar-activities{margin-top:14px;padding:12px;border:1px solid #23404a;border-radius:8px;background:#102934;display:grid;gap:8px;font-size:11px}
.calendar-activities>b{color:#c9dce2;font-size:11px}
.activity-note{display:flex;align-items:start;justify-content:space-between;gap:8px;color:#b5cdd3}
.activity-note small{color:#819da7}
.calendar-date-warning{border:1px solid #855e3a;background:#372f25;color:#f5d5a7;font-size:12px;line-height:1.45;padding:10px 12px;border-radius:7px;margin:12px 0}

/* V12: timezone switch, consistent across homepage and full calendar. */
.time-mode-switch{display:inline-flex;align-items:center;gap:2px;background:#071823;border:1px solid #2a4859;border-radius:8px;padding:3px;white-space:nowrap}
.time-mode-option{border:0;border-radius:5px;background:transparent;color:#8ea9b7;font:600 11px/1.3 inherit;font-size:11px;padding:7px 11px;cursor:pointer;transition:background .12s,color .12s}
.time-mode-option:hover{color:#daeaf0;background:#1a3442}
.time-mode-option.active{color:#d6f5ec;background:#245146;box-shadow:inset 0 0 0 1px #408677}
@media(max-width:690px){.topbar{padding:0 10px}.time-mode-option{font-size:10px;padding:6px 6px}.top-actions{gap:4px}.top-actions .search-trigger{display:none}.avatar{display:none}}
@media(max-width:410px){.crumb-light,.crumb-sep{display:none}.time-mode-option{font-size:9px;padding:6px 5px}}
/* V14 — better navigation, legible centered calendar sprites, and protected admin workbench */
[hidden]{display:none!important}
.mode-switch{padding:8px 11px;white-space:nowrap;border-radius:7px;border:1px solid #345969;background:#173240;color:#b2d5db;font-size:11px;font-weight:700;cursor:pointer}
.mode-switch.active{border-color:#5ebfa5;color:#aaf4d6;background:#1c403e}
.mode-switch:hover{background:#254655}
.calendar-nav{flex-wrap:wrap;gap:5px}.calendar-nav select.dropdown{min-width:0;font-size:11px;height:31px;padding:4px 19px 4px 7px;color:#d6e9ee;background:#183746}
.calendar-nav .calendar-jump-month{width:72px}.calendar-nav .calendar-jump-year{width:83px}
.calendar-v7-day{min-height:124px;padding:9px 6px;gap:6px;text-align:center}
.day-top{align-items:flex-start}.calendar-v7-day .day-number{font-size:12px}
.day-slot-time{font-size:10px;font-variant-numeric:tabular-nums}
.calendar-v7-day .day-icon-collection{min-height:54px;justify-content:center;align-items:center;flex-wrap:nowrap}
.calendar-v7-day .calendar-icon{width:45px;height:45px;flex:0 0 45px;border-radius:9px}
.calendar-v7-day .calendar-icon .pixel-icon{width:40px;height:40px;image-rendering:pixelated}
.calendar-v7-day .calendar-unknown{width:41px;height:44px;flex:0 0 41px;font-size:23px}
.calendar-v7-day .day-event-label{font-size:10.5px;line-height:1.25;font-weight:650;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;width:100%;margin-top:0}
.calendar-admin-plus{position:absolute;bottom:5px;right:4px;border:1px solid #467869;border-radius:5px;color:#9ae3c8;background:#24473c;padding:1px 4px;font-size:8px;font-weight:700}
.day-cell:has(.calendar-admin-plus){padding-bottom:20px}
.day-admin-controls{margin:14px 0 3px;display:flex;gap:8px}
.date-admin-bar{margin-top:18px;border-top:1px solid #345666;padding-top:13px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.date-admin-bar b{font-size:11px;color:#9bdac7}.date-admin-bar small{font-size:10px;color:#96aeb7}
.date-collision{color:#f1ba80;font-size:10px}
.edit-date-shortcuts{display:flex;gap:9px;flex-wrap:wrap}
.manual-scan{margin-bottom:18px}.score-scan-form{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0 8px}.score-scan-form input{max-width:460px;flex:1;min-width:190px}.score-scan-form button{white-space:normal}
.modal .settings-form>label{display:grid;gap:6px;font-size:12px;color:#aac4ce}
@media(max-width:1350px){.calendar-nav .today-button{padding:6px 8px}}
@media(max-width:1000px){.calendar-v7-day{min-height:120px}}
@media(max-width:760px){.mode-switch{padding:6px 8px;font-size:10px}.top-actions{gap:6px}.calendar-nav{justify-content:center!important}.calendar-v7-day{min-height:102px;padding:5px 3px}.calendar-v7-day .day-icon-collection{min-height:43px}.calendar-v7-day .calendar-icon{height:36px;width:36px;flex-basis:36px}.calendar-v7-day .calendar-icon .pixel-icon{height:32px;width:32px}.calendar-v7-day .calendar-unknown{height:35px;width:30px;flex-basis:30px}.calendar-v7-day .day-event-label{font-size:9px}.calendar-v7-day .day-slot-time{font-size:8px}}
@media(max-width:525px){.calendar-v7-day{min-height:85px;gap:3px}.calendar-v7-day .day-event-label{font-size:7.7px;line-height:1.1}.calendar-v7-day .day-icon-collection{min-height:31px}.calendar-v7-day .calendar-icon{height:29px;width:29px;flex-basis:29px}.calendar-v7-day .calendar-icon .pixel-icon{height:26px;width:26px}.calendar-v7-day .calendar-unknown{height:27px;width:25px;flex-basis:25px;font-size:15px}.calendar-v7-day .day-number{font-size:10px}.calendar-v7-day .day-slot-time{font-size:6.5px}.calendar-admin-plus{display:none}.calendar-nav select.dropdown{font-size:10px}.calendar-nav .calendar-jump-month{width:62px}.calendar-nav .calendar-jump-year{width:72px}.calendar-nav .icon-button{width:23px;height:28px;font-size:16px}.mode-switch{max-width:122px;white-space:normal;line-height:1.15}}
.review-pagination{display:flex;gap:9px;align-items:center;justify-content:space-between;margin-top:16px;border-top:1px solid #345666;padding-top:13px;color:#96aeb7;font-size:11px}
.review-pagination .btn:disabled{opacity:.35;cursor:default}

/* V16 — focused, readable archive leaderboard, without loud blue table bars */
.leaderboard-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(120px,155px) minmax(175px,205px) minmax(190px,235px);gap:11px;margin:0 0 17px;align-items:center}
.leaderboard-toolbar .dropdown{width:100%;min-width:0;height:43px;border-radius:8px;background:#112a37;border:1px solid #294757;color:#dceaf0;font-size:12px;padding:10px 34px 10px 12px}
.leaderboard-search{display:flex;align-items:center;gap:10px;height:43px;background:#102835;border:1px solid #2b4856;border-radius:8px;color:#7da8b8;padding:0 15px}
.leaderboard-search:focus-within{border-color:#70b6ae}
.leaderboard-search>span{font-size:23px;line-height:1}
.leaderboard-search input{background:transparent;min-width:0;flex:1;border:0;outline:none;color:#dceff3;font:inherit;font-size:12px}
.leaderboard-search input::placeholder{color:#7b9ca9}
.leaderboard-board{overflow:hidden;background:#0d2330;border:1px solid #294756;border-radius:12px;box-shadow:0 10px 30px #00000012;margin-bottom:20px}
.leaderboard-head{padding:23px 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #2c4755;background:linear-gradient(110deg,#142f3d,#102936 72%)}
.leaderboard-head-title{display:flex;align-items:center;gap:15px;min-width:0}
.leaderboard-head-title h2{font-size:22px;color:#f1f7fa;letter-spacing:-.6px;font-weight:720;margin:4px 0}
.leaderboard-head-title p{font-size:11px;color:#86a8b6;line-height:1.5;margin:5px 0 0}
.leaderboard-eyebrow{font-size:10px;font-weight:780;letter-spacing:1.1px;color:#71d7bf}
.leaderboard-challenge-icon{flex:0 0 52px;width:52px;height:52px;display:grid;place-items:center;background:#1c3b47;border:1px solid #375b64;border-radius:11px}
.leaderboard-challenge-icon img{width:42px;height:42px;object-fit:contain;image-rendering:pixelated}
.leaderboard-head-facts{display:flex;gap:24px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.leaderboard-head-facts span{display:flex;flex-direction:column;gap:4px;min-width:60px;text-align:right}
.leaderboard-head-facts b{color:#e5f3f5;font-size:18px;font-weight:700;line-height:1.3;font-variant-numeric:tabular-nums}
.leaderboard-head-facts small{font-size:10px;color:#83a1af}
.leaderboard-table-scroll{width:100%}
.leaderboard-columns,.leaderboard-entry{display:grid;grid-template-columns:83px minmax(140px,1fr) minmax(83px,115px) minmax(83px,115px) minmax(83px,115px);align-items:center;column-gap:16px}
.leaderboard-columns{min-height:42px;padding:0 25px;background:#0b1e2a;color:#7f9da9;letter-spacing:.9px;font-size:9px;font-weight:780}
.leaderboard-columns>span:nth-child(n+3){text-align:right}
.leaderboard-entry{padding:0 25px;min-height:60px;border-top:1px solid #203e4a;background:#102833;transition:background .14s}
.leaderboard-entry:nth-child(2n){background:#112c39}
.leaderboard-entry:hover{background:#1a3945}
.lb-place{font-size:12px;font-weight:800;color:#7e9ba7;font-variant-numeric:tabular-nums;letter-spacing:.5px}
.lb-place.is-first{color:#f6d27d}.lb-place.is-second{color:#c9dbe5}.lb-place.is-third{color:#d9ab87}
.lb-identity{min-width:0;border:0;background:transparent;color:#e2edf2;text-align:left;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:8px 0}
.lb-identity:hover .lb-name{color:#7fe3cf;text-decoration:underline;text-underline-offset:4px}
.lb-name{font-size:13px;font-weight:670;max-width:100%;overflow-wrap:anywhere}
.lb-open{font-size:9px;color:#7295a3;opacity:0;transition:opacity .14s}
.lb-identity:hover .lb-open,.lb-identity:focus-visible .lb-open{opacity:1}
.lb-number{text-align:right;font-size:14px;font-weight:600;color:#d3e2e8;font-variant-numeric:tabular-nums}
.lb-wins{color:#9fe3c9;font-weight:800}
.lb-number.muted{color:#90afba;font-weight:550}
.queue-head-controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.queue-head-controls .btn:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:1100px){.leaderboard-toolbar{grid-template-columns:minmax(200px,1fr) repeat(3,minmax(125px,1fr))}.leaderboard-head{align-items:flex-start;flex-wrap:wrap}.leaderboard-head-facts{justify-content:flex-start}}
@media(max-width:760px){.leaderboard-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.leaderboard-search{grid-column:1/-1}.leaderboard-toolbar #rank-filter{grid-column:1/-1}.leaderboard-head{padding:17px 15px}.leaderboard-head-title h2{font-size:19px}.leaderboard-head-facts{gap:22px}.leaderboard-head-facts span{text-align:left}.leaderboard-table-scroll{overflow-x:auto}.leaderboard-columns,.leaderboard-entry{grid-template-columns:47px minmax(130px,1fr) 72px 72px 72px;gap:10px;min-width:490px;padding-left:13px;padding-right:13px}.lb-open{display:none}}

/* Real Growtopia sidebar sprites — keep original pixel colors and hard edges. */
.sidebar .nav-item {min-height:49px;gap:9px;padding:7px 10px}
.sidebar .nav-icon.nav-sprite {width:32px;height:33px;flex:0 0 32px;display:inline-flex;align-items:center;justify-content:center;line-height:1}
.sidebar .nav-icon.nav-sprite img {width:32px;height:32px;display:block;object-fit:contain;image-rendering:pixelated;image-rendering:crisp-edges}
.sidebar .nav-item:hover .nav-sprite img,.sidebar .nav-item.active .nav-sprite img {filter:drop-shadow(0 0 4px rgba(94,208,195,.24))}

/* Challenge details modal — align guide/stats/trends with Records/History UI */
.challenge-detail-body{display:flex;flex-direction:column;gap:18px}
.challenge-detail-card,.dct-card{background:#112937;border:1px solid #284756;border-radius:10px;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:#79d7ca;font-size:11px;font-weight:850;letter-spacing:1.4px;margin-bottom:10px}
.guide-description{margin:0;color:#d7e7ed;font-size:14px;line-height:1.65}
.guide-category,.challenge-detail-pill,.dct-count{display:inline-flex;align-items:center;justify-content:center;background:#18384a;border:1px solid #356279;border-radius:8px;color:#bfe0ed;font-size:11px;font-weight:750;padding:8px 11px;white-space:nowrap}
.challenge-detail-subcard{background:#0d2531;border:1px solid #234b5a;border-radius:9px;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 #214353}
.challenge-detail-subhead h4{margin:0;color:#dff0f3;font-size:15px;font-weight:800}
.guide-rules{display:flex;flex-direction:column;border:1px solid #244959;border-radius:8px;overflow:hidden;background:#12303d}
.guide-rule{display:grid;grid-template-columns:72px 1fr;gap:14px;padding:10px 12px;border-bottom:1px solid #214150;align-items:center;font-size:12px;color:#dcebef}
.guide-rule:last-child{border-bottom:0}
.guide-points{font-weight:850;color:#71e6c9;font-size:22px;letter-spacing:-.4px}
.guide-points.deduction{color:#f0b49c}
.guide-notes{margin-top:12px;padding-top:12px;border-top:1px solid #214353}
.guide-notes p{margin:0 0 6px;color:#90adba;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:#112d3b;border:1px solid #294d5c;border-radius:9px;padding:15px 16px;min-width:0}
.challenge-summary-card small,.dct-kpis small{color:#88a5b2;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.6px}
.challenge-summary-card b,.dct-kpis b{color:#e7f3f5;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:#99b1bd;font-size:12px;line-height:1.45}
.challenge-summary-note{display:flex;flex-wrap:wrap;gap:10px 16px;margin:-4px 0 0;color:#a9c0cb;font-size:12px;line-height:1.55}
.challenge-summary-note span{display:inline-flex;align-items:center;gap:5px}
.challenge-summary-note b{color:#deedf1}
.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 #214353}
.dct-title-row h3{margin:5px 0 4px;color:#eef7fa;font-size:18px;letter-spacing:-.4px}
.dct-title-row p{margin:0;color:#9bb2bf;font-size:13px;line-height:1.6}
.dct-eyebrow{color:#7ecae4;font-size:11px;font-weight:850;letter-spacing:1.4px}
.dct-controls{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 14px}
.dct-segmented{display:flex;gap:4px;flex-wrap:wrap;background:#0f2530;border:1px solid #284756;border-radius:8px;padding:4px}
.dct-choice{border:0;border-radius:7px;color:#9eb7c4;background:transparent;padding:9px 12px;font-size:11px;font-weight:800;cursor:pointer;transition:.12s}
.dct-choice:hover,.dct-choice:focus-visible{background:#1d3d4f;color:#eef8ff;outline:none}
.dct-choice.active{background:#3b608f;color:#f5fbff;box-shadow:inset 0 0 0 1px #6e99cb}
.dct-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.dct-kpis b.positive{color:#81e0bc}.dct-kpis b.negative{color:#f0b49c}
.dct-chart-box{padding:10px 8px 0;background:#0d2531;border:1px solid #234b5a;border-radius:9px;min-height:180px}
.dct-svg{width:100%;height:auto;display:block}
.dct-grid{stroke:#2d5160;stroke-width:1;stroke-dasharray:4 6}
.dct-axis{fill:#91acb8;font:11px Inter,Arial,sans-serif}
.dct-raw-line{fill:none;stroke:#7898b3;stroke-width:1.8;opacity:.6;stroke-linecap:round;stroke-linejoin:round}
.dct-smooth-line{fill:none;stroke:#9bc6ff;stroke-width:3.3;stroke-linecap:round;stroke-linejoin:round}
.dct-dot{fill:#9fcbff;stroke:#17303f;stroke-width:1.6;cursor:help}
.dct-dot:hover,.dct-dot:focus{fill:#fff;stroke:#5aa4df;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 #7898b3}.dct-legend-trend{border-top:3px solid #9bc6ff}.dct-note{font-size:11px;line-height:1.65;color:#95adba;margin:10px 0 0}
@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:#99b1bd;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}
