/* Event-only presentation. Removing data-halloween restores the original UI. */
[data-halloween-preference-status]:empty{display:none}
html[data-halloween] #dashboardPage{--app-surface:#1b3027;--app-card:#1b3027;--app-soft:#263b2e;--app-ink:#f3eedf;--app-muted:#bfcbbd;--app-line:#52604a;--app-accent:#ffc17a;--app-green:#a8dfb8;--dt-ink:#f3eedf;--dt-muted:#bfcbbd;--dt-accent:#ffc17a;--dt-line:#52604a;--dt-card:#1b3027}
html[data-halloween] #dashboardPage .sec>.halloween-room-sign{margin:0 0 20px}
html[data-halloween] #dashboardPage :is(.lb-page-heading,.notification-heading,.admin-header,.account-heading){position:relative}
html[data-halloween] #dashboardPage :is(.lb-board-head,.xc-hero,.readspace-hero,.account-heading){background:linear-gradient(115deg,#213c2d,#29362a 65%,#493724)!important;border:1px solid #7d6542}
html[data-halloween] #dashboardPage :is(.lb-board,.xc-panel,.settings-card,.notification-card,.readspace-history-card,.pomo-card,.dog-timer-card,.readspace-room-card,.readspace-dog-card){border-color:#635f43!important}
html[data-halloween] #dashboardPage .exam-stat-hero{--hero-start:#283c29;--hero-end:#514026;--hero-accent:#ffcb88;--hero-muted:#e0dcc7;border:1px solid #7d6542}
html[data-halloween] #dashboardPage .exam-stat-tabs button.active{background:#69451f;color:#ffe4b9;box-shadow:inset 0 -3px #f2ad57}
html[data-halloween] #dashboardPage .exam-stat-eyebrow{color:#ffcb88}
html[data-halloween] #dashboardPage :is(.lb-track-buttons button,.xc-track button,.account-secondary,.account-heading>button,.account-upload){background:#263c30;color:#f4eedc;border-color:#6e7454}
html[data-halloween] #dashboardPage :is(.lb-track-buttons button,.xc-track button)[aria-pressed=true]{background:#69451f;color:#ffe4b9;border-color:#d5a15c;box-shadow:inset 0 -3px #f2ad57}
html[data-halloween] #dashboardPage :is(.lb-eyebrow,.lb-stats strong,.lb-score strong,.lb-person small,.pomo-eyebrow,.room-kicker,.pomo-stats-summary,.dog-timer-clock strong){color:#ffc17a}
html[data-halloween] #dashboardPage :is(.lb-stats span,.lb-stats small,.settings-card p,.account-avatar-row small,.account-message,.dog-timer-card p,.dog-timer-clock small,.pomo-heading p,.pomo-ring-inner span,.pomo-ring-inner small,.pomo-auto,.pomo-custom-grid label,.pomo-custom-grid label span){color:#c2cbbd}
html[data-halloween] #dashboardPage :is(.lb-privacy,.lb-me){background:#253b2d;border-color:#7a704b;color:#e3e8d6}
html[data-halloween] #dashboardPage .lb-top{background:#62411e;color:#ffde9a}
html[data-halloween] #dashboardPage .lb-avatar{background:#314839;color:#f5c88c;box-shadow:0 0 0 2px #b58146}
html[data-halloween] #dashboardPage .rank-badge:not(.rank-badge-hero){background:#35402a;color:#ffe3ab;border-color:#bba166}
html[data-halloween] #dashboardPage .rank-badge-copy{color:inherit}
html[data-halloween] #sec-criteria .xc-rules span{color:#ffc17a}
html[data-halloween] #sec-criteria .xc-rules small{color:#c2cbbd}
html[data-halloween] #sec-criteria .xc-planned-heading span{background:#3b432d;color:#e9d5a4}
html[data-halloween] #sec-readspace :is(h2,h3,.pomo-guide strong,.room-member,.week-bar span){color:#f3eedf}
html[data-halloween] #sec-readspace :is(.pomo-mode-tabs,.pomo-custom-grid label,.pomo-session-pill,.dog-timer-controls>button:not(.room-primary),.room-join button,.room-code-box,.room-code-box button,.dog-growth,.dog-growth-stage,.readspace-tabs button){background:#233b2e;color:#efeedf;border-color:#687451}
html[data-halloween] #sec-readspace :is(.readspace-tabs button.active,.pomo-mode-tabs button.active){background:#68471f;color:#ffe4b9;border-color:#d5a15c;box-shadow:none}
html[data-halloween] #sec-readspace .pomo-mode-tabs button{color:#e3e5d6}
html[data-halloween] #sec-readspace :is(.pomo-main-btn,.room-primary){background:#a65321;color:#fff8eb;box-shadow:none;border:1px solid #e2a66b}
html[data-halloween] #sec-readspace :is(.rs-card-heading p,.readspace-room-card>p){color:#c2cbbd}
html[data-halloween] #sec-readspace .pomo-session-pill strong{color:#ffd08e}
html[data-halloween] #sec-readspace .pomo-ring{background:conic-gradient(#f2b45f var(--pomo-progress),#465c40 0)}
html[data-halloween] #sec-readspace .pomo-ring:after{background:#182c22}
html[data-halloween] #sec-readspace .pomo-ring-inner{background:transparent}
html[data-halloween] #sec-readspace .pomo-ring-inner strong{color:#ffd08e}
html[data-halloween] #sec-readspace .pomo-guide span{background:#4c4628;color:#ffdf9f}
html[data-halloween] #sec-readspace .pomo-custom-grid input{background:#172d22;color:#fff0d4}
html[data-halloween] #sec-readspace .dog-scene{background:radial-gradient(ellipse at center,#466044,#1b3027 72%)}
html[data-halloween] #sec-readspace :is(.dog-scene img,.dog-growth-stage img){mix-blend-mode:normal}
html[data-halloween] #sec-readspace .dog-growth-stage.current{background:#514527;border-color:#e5b366}
html[data-halloween] #sec-settings :is(.settings-card h3,.form-group-light label,.install-guide h4){color:#f3eedf}
html[data-halloween] #sec-settings :is(.install-guide ol,.install-guide a){color:#c2cbbd}
html[data-halloween] #sec-settings .profile-presets button[aria-pressed=true]{background:#594523;border-color:#f1b266}
html[data-halloween] #sec-settings .account-message.is-error{color:#ffb4a6}
html[data-halloween] #sec-settings .btn-save-pw{background:#176b4e;color:#fff6e7}
html[data-halloween] #sec-notifications{--nt-bg:#1b3027;--nt-ink:#f3eedf;--nt-muted:#c2cbbd;--nt-line:#635f43}
html[data-halloween] #sec-notifications .notification-card{--nt-accent:#ffc17a;--nt-tint:#4b3927}
html[data-halloween] #sec-notifications .notification-flashcard{--nt-accent:#ddc4ff;--nt-tint:#3c3148}
html[data-halloween] #sec-notifications .notification-calendar{--nt-accent:#bde4a0;--nt-tint:#34452a}
html[data-halloween] #dashboardPage :is(button,a,input,select,summary):focus-visible{outline-color:#ffca84}
html[data-halloween] #dashboardPage :is(.notification-heading,.lb-page-heading,.account-heading,.admin-header)>.halloween-exhibit{margin-bottom:16px}
html[data-halloween] #sec-readspace .readspace-hero .halloween-exhibit{margin-bottom:12px}
.halloween-profile-options{display:none}
html[data-halloween] .halloween-profile-options{display:block;border-top:1px solid #796644;padding-top:20px;margin-top:20px}
html[data-halloween] #sec-settings .halloween-profile-options h4{color:#ffd393;margin:0 0 8px}
html[data-halloween] #sec-settings .halloween-profile-options p{font-size:13px}
html[data-halloween] #sec-settings .halloween-profile-options .profile-presets{margin-bottom:12px}
html[data-halloween] .halloween-profile-options button[aria-pressed=true]{box-shadow:0 0 0 2px #f1b266}
/* Standalone archive uses the same date gate, without the authenticated app. */
html[data-halloween] .bank-page{background:#101f18;color:#f3eedf;color-scheme:dark}
html[data-halloween] .bank-page .hero{background:radial-gradient(ellipse at right,#493621,transparent 60%),#152a20}
html[data-halloween] .bank-page :is(.hero h1,.bank-filter-heading h2,.bank-results-heading h2,.bank-card-title,.empty-state h3){color:#f3eedf}
html[data-halloween] .bank-page :is(.hero h1 span,.paper-front>b,.bank-mini-paper b){color:#ffc17a}
html[data-halloween] .bank-page :is(.hero p,.filter-count,.filter-bar label,.bank-filter-heading>span,.bank-card-meta,.paper-front>span,.paper-front>div){color:#c2cbbd}
html[data-halloween] .bank-page :is(.navbar,.course-tabs,.filter-bar,.bank-card,.empty-state,.pdf-box,.pdf-header){background:#1c3227;border-color:#635f43;color:#f3eedf}
html[data-halloween] .bank-page :is(.filter-select,.filter-search,.bank-reset,.hero-tag,.bank-paper,.bank-mini-paper,.btn-view-pdf,.bank-tag){background:#263d2f;color:#efeedf;border-color:#687451}
html[data-halloween] .bank-page :is(.course-tab,.bank-card-icon){color:#e7dfc9!important;background:#293e30!important}
html[data-halloween] .bank-page .course-tab.active{background:#69451f!important;color:#ffe4b9!important}
html[data-halloween] .bank-page .bank-card-visual{background:linear-gradient(120deg,#344b31,#514024);color:#ffcf8f}
html[data-halloween] .bank-page .paper-back{background:#4a4a2e}
html[data-halloween] .bank-page .paper-front{border-color:#ba8b4e}
html[data-halloween] .bank-page .bank-paper i,html[data-halloween] .bank-page .bank-mini-paper i{background:#718263}
html[data-halloween] .bank-page .filter-search::placeholder{color:#b4c0af}
html[data-halloween] .bank-page .bank-hero-art:after{content:"";position:absolute;right:0;bottom:-12px;width:150px;height:95px;background:url('../assets/seasonal/halloween-study-corner.svg') center/contain no-repeat;pointer-events:none}
@media(max-width:540px){html[data-halloween] #dashboardPage .halloween-exhibit{max-width:100%}html[data-halloween] #sec-readspace .readspace-hero{align-items:flex-start;gap:12px;flex-wrap:wrap}html[data-halloween] #sec-readspace .pomo-ring{max-width:100%;aspect-ratio:1;height:auto}}
@media print{.halloween-profile-options{display:none!important}html[data-halloween] .bank-page .bank-hero-art:after{display:none}}
/* Keep the seasonal BioSpace banner inset and rounded over the minimal room header. */
html[data-halloween] #sec-readspace .readspace-hero{border-radius:26px;padding:26px 28px;overflow:hidden;box-sizing:border-box}
@media(max-width:760px){html[data-halloween] #sec-readspace .readspace-hero{border-radius:24px;padding:20px}}
