/* Seasonal palettes are opt-in. Standard keeps the original website styles. */
/* Preserve the Warcraft artwork under the seasonal colours. */
html[data-theme]:not([data-theme="standard"]) .site-shell :is(.wow-realm-hero,.wow-admin-hero) {
  background-color: #17131f;
  background-image: linear-gradient(90deg,#17131ff2 0%,#17131fce 46%,#17131f26 100%),url('/wow/background.jpg');
  background-position: center,center 35%;
  background-size: cover,cover;
  background-repeat: no-repeat;
  border-color: var(--season-line);
  color: #fff3e6;
}
html[data-theme]:not([data-theme="standard"]) .site-shell :is(.wow-realm-hero,.wow-admin-hero) :is(h1,h2) { color: #fff3e6 !important; }
html[data-theme]:not([data-theme="standard"]) .site-shell :is(.wow-realm-hero,.wow-admin-hero) :is(p,small,.wow-hero-meta) { color: #e1d8e7 !important; }
html[data-theme]:not([data-theme="standard"]) .site-shell :is(.wow-realm-hero,.wow-admin-hero) h1 em { color: #ffca87 !important; }
html[data-theme="halloween"] .site-shell .wow-overview-tabs { border-color: var(--season-line); }
html[data-theme="halloween"] .site-shell .wow-overview-tabs button { color: var(--season-muted); }
html[data-theme="halloween"] .site-shell .wow-overview-tabs button.active { color: var(--season-accent); background: var(--season-raised); }
html[data-theme="halloween"] .site-shell .wow-overview-tabs button:focus-visible { outline: 2px solid var(--season-accent); outline-offset: -2px; }
/* Article, reply and editor preview text must use the same readable palette. */
html[data-theme]:not([data-theme="standard"]) .site-shell .forum-thread { background: transparent !important; }
.site-shell .forum-thread-title { padding: 18px 0 24px; margin-bottom: 22px; border-bottom: 1px solid var(--season-line, #e4deea); }
.site-shell .forum-post aside { border-color: var(--season-line, #eee9f2); }
.site-shell .forum-thread .archive-article-meta,
.site-shell .forum-thread .forum-reply-heading span { color: var(--season-muted, #5d687b); }
html[data-theme="halloween"] .site-shell .forum-poll-sidebar .forum-poll { background: linear-gradient(155deg,#2c253c,#201c2e) !important; border-top: 3px solid #ffad60; box-shadow: 0 12px 32px #05040a30; }
html[data-theme="halloween"] .site-shell .forum-thread-title { border-bottom-color: #ffad6040; }
html[data-theme="halloween"] .site-shell .forum-poll-sidebar .forum-poll h3 { font-family: Georgia,serif; font-size: 24px; }
.site-shell .forum-poll :is(h3,.poll-result,.poll-result strong,.poll-result span) { color: var(--season-text, #253146) !important; }
.site-shell .forum-poll .poll-result { background: var(--season-raised, #ffffff) !important; border-color: var(--season-line, #deddea); }
.site-shell .forum-poll .poll-result.chosen { border-color: var(--season-accent, #6452c8); box-shadow: inset 3px 0 var(--season-accent, #6452c8); }
.site-shell .forum-poll .poll-result button { background: var(--season-surface, #f5f3ff); color: var(--season-text, #493885); border-color: var(--season-line, #d5ceed); }
.site-shell .forum-poll .poll-result button:hover:not(:disabled) { border-color: var(--season-accent, #6452c8); }
.site-shell .forum-poll .poll-result button:disabled { opacity: .55; cursor: wait; }
.site-shell .forum-poll .poll-bar { background: var(--season-line, #eceaf6); }
.site-shell .forum-poll .poll-bar span { background: var(--season-accent, #8270db); }
.site-shell .forum-poll small { color: var(--season-muted, #526079) !important; }
.site-shell .forum-post .archive-article-body,
.site-shell .forum-markdown,
.site-shell .forum-markdown :is(p,li,dt,dd,h1,h2,h3,h4,h5,h6,strong,em,del,th,td) {
  color: var(--season-text, #253146) !important;
}
.site-shell .forum-post .archive-article-body,
.site-shell .forum-post .forum-markdown { font-size: 16px; line-height: 1.85; }
.site-shell .forum-post .forum-markdown { max-width: 74ch; }
.site-shell .forum-markdown p { margin: 0 0 1.15em; }
.site-shell .forum-markdown :is(h1,h2,h3,h4,h5,h6) { font-weight: 700; letter-spacing: -.02em; line-height: 1.4; margin: 1.4em 0 .65em; }
.site-shell .forum-markdown h1 { font-size: 1.75em; }
.site-shell .forum-markdown h2 { font-size: 1.5em; }
.site-shell .forum-markdown h3 { font-size: 1.25em; }
.site-shell .forum-markdown > :first-child { margin-top: 0; }
.site-shell .forum-markdown li { margin: .35em 0; }
.site-shell .forum-markdown blockquote {
  color: var(--season-text, #253146) !important;
  background: var(--season-raised, #f5f3ff) !important;
  border-left-color: var(--season-accent, #6452c8);
  border-radius: 0 8px 8px 0;
}
.site-shell .forum-markdown blockquote > :last-child { margin-bottom: 0; }
.site-shell .forum-markdown a { color: var(--season-accent, #5942b8) !important; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.site-shell .forum-markdown a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
.site-shell .forum-markdown :not(pre) > code { color: var(--season-text, #253146); background: var(--season-raised, #efedf7); padding: 2px 5px; border-radius: 4px; }
.site-shell .forum-markdown pre,
.site-shell .forum-markdown pre :is(code,span) { color: #f0edf9 !important; background: #202638 !important; }
.site-shell .forum-markdown :is(th,td) { border-color: var(--season-line, #d9deea); }
.site-shell .forum-markdown th { background: var(--season-raised, #f3f1fb) !important; }
.site-shell .forum-thread-title h2 { color: var(--season-text, #253146) !important; }
.site-shell .forum-post :is(time,.archive-article-meta),
.site-shell .forum-post > div > small { color: var(--season-muted, #5d687b) !important; }
html[data-theme]:not([data-theme="standard"]) .site-shell .profile-game-link{background:var(--season-surface)!important;color:var(--season-text)!important;border-color:var(--season-line)!important}
html[data-theme]:not([data-theme="standard"]) .site-shell .profile-game-link strong{color:var(--season-text)!important}
html[data-theme]:not([data-theme="standard"]) .site-shell .forum-topic h3 a{color:var(--season-text)!important}
html[data-theme]:not([data-theme="standard"]) .site-shell .forum-topic h3 a:hover{color:var(--season-accent)!important;text-decoration:underline;text-underline-offset:4px}
html[data-theme]:not([data-theme="standard"]) .site-shell .forum-topic h3 a:focus-visible{outline:2px solid var(--season-accent);outline-offset:4px;border-radius:3px}
html[data-theme="halloween"]{color-scheme:dark;--season-bg:#100f19;--season-surface:#201c2e;--season-raised:#2c253c;--season-text:#fff3e6;--season-muted:#c4b8cc;--season-line:#49334f;--season-accent:#ffad60;--season-deep:#b74d10;--season-glow:#b3452b30;--season-second:#ae7ae0;--season-on-accent:#201010}
html[data-theme="christmas"]{color-scheme:dark;--season-bg:#0c1a16;--season-surface:#132621;--season-raised:#1b332c;--season-text:#f5efe2;--season-muted:#bccbc2;--season-line:#5b8273;--season-accent:#ecc06a;--season-deep:#a8792c;--season-glow:#e8b65a24;--season-second:#ff7d86;--season-on-accent:#1d1405;--season-berry:#c0283a;--season-berry-deep:#8f1726}
html[data-theme="newyear"]{color-scheme:dark;--season-bg:#0b1524;--season-surface:#142438;--season-raised:#1d3047;--season-text:#f6f2e9;--season-muted:#aebed0;--season-line:#3a4a60;--season-accent:#edd08d;--season-deep:#a5833e;--season-glow:#4aa5d62b;--season-second:#81d4ec;--season-on-accent:#132033}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"]){--ink:var(--season-text);--muted-ink:var(--season-muted);--paper:var(--season-bg);--violet:var(--season-accent);--violet-dark:var(--season-deep);--line:var(--season-line);--background:var(--season-bg);--foreground:var(--season-text);--card:var(--season-surface);--card-foreground:var(--season-text);--popover:var(--season-surface);--popover-foreground:var(--season-text);--primary:var(--season-accent);--primary-foreground:var(--season-on-accent);--secondary:var(--season-raised);--secondary-foreground:var(--season-text);--muted:var(--season-raised);--muted-foreground:var(--season-muted);--border:var(--season-line);--input:var(--season-line);--ring:var(--season-accent)}
html[data-theme]:not([data-theme="standard"]) body{background:radial-gradient(ellipse at 15% 10%,var(--season-glow),transparent 60%),var(--season-bg)!important;color:var(--season-text)}
html[data-theme]:not([data-theme="standard"]) .site-shell{background:radial-gradient(circle at 78% 18%,var(--season-glow),transparent 35rem),var(--season-bg)!important}
html[data-theme="newyear"] .site-shell{background-image:radial-gradient(circle at 80px 70px,#edd08d20 1px,transparent 2px),radial-gradient(circle at 190px 160px,#81d4ec18 1px,transparent 2px),radial-gradient(ellipse at top right,var(--season-glow),transparent 65%)!important;background-size:210px 190px,320px 270px,100% 100%!important}
html[data-theme]:not([data-theme="standard"]) :is(.hub-card,.owner-panel,.owner-quick,.owner-metrics>div,.profile-dropdown,.discord-surface,.discord-kpis>article,.discord-personal,.discord-day-detail,.discord-metric-group,.permission-card,.permission-channel,.permission-save-bar,.permission-option-list,.hub-game-card,.hub-board,.hub-board-summary>div,.hub-ranking-row,.hub-player-detail,.hub-performance-grid>div,.forum-topic,.forum-post,.forum-compose,.forum-category,.archive-card,.wow-surface,.wow-realm-card,.wow-admin-summary>article,.portal-table-wrap,.pack-studio,.pack-editor,.pack-list-card,.profile-panel,.profile-stat,.profile-card,.imprint-card){background:var(--season-surface)!important;border-color:var(--season-line)!important;color:var(--season-text)!important}
html[data-theme]:not([data-theme="standard"]) :is(.permission-hero,.permission-card-body,.permission-summary-chips span,.permission-inheritance,.portal-banner,.discord-chart,.discord-chart-column,.discord-switch,.workspace-tabs,.hub-data-note,.profile-hero,.forum-hero,.studio-heading){background:var(--season-raised)!important;border-color:var(--season-line)!important;color:var(--season-text)!important}
html[data-theme]:not([data-theme="standard"]) .site-shell :is(h1,h2,h3,h4,legend,th,td,dt,dd){color:var(--season-text)!important}
html[data-theme]:not([data-theme="standard"]) .site-shell :is(p,small,.nav-link,.text-button,.profile-chip,.permission-card-copy small,.permission-card-count,.permission-notice){color:var(--season-muted)!important}
html[data-theme]:not([data-theme="standard"]) :is(.section-kicker,.eyebrow,h1 em,.nav-link.active,.permission-card-copy strong,.permission-metrics strong,.discord-game-rank){color:var(--season-accent)!important}
html[data-theme]:not([data-theme="standard"]) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select){background:var(--season-surface)!important;color:var(--season-text)!important;border-color:var(--season-line)!important}
html[data-theme]:not([data-theme="standard"]) :is(input,textarea)::placeholder{color:var(--season-muted)!important;opacity:1}
html[data-theme]:not([data-theme="standard"]) :is(.primary-button,.button.primary){background:var(--season-accent)!important;color:var(--season-on-accent)!important;border-color:var(--season-accent)!important}
html[data-theme]:not([data-theme="standard"]) :is(.secondary-button,.workspace-tabs button,.permission-toolbar button,.discord-switch button){background:var(--season-surface)!important;color:var(--season-text)!important;border-color:var(--season-line)!important}
html[data-theme]:not([data-theme="standard"]) :is(.workspace-tabs button.active,.permission-toolbar button.active,.discord-switch button[aria-pressed=true]){background:var(--season-raised)!important;color:var(--season-accent)!important}
html[data-theme]:not([data-theme="standard"]) :is(.discord-chart-column i,.discord-game-row i span,.maintenance-owner-track span){background:linear-gradient(90deg,var(--season-second),var(--season-accent))!important}
html[data-theme]:not([data-theme="standard"]) .topbar .brand-mark{border:1px solid var(--season-line);box-shadow:0 0 22px var(--season-glow)}
html[data-theme="halloween"] .hero-copy .eyebrow:before{content:'🎃 ';font-size:16px}
html[data-theme="christmas"] .hero-copy .eyebrow:before{content:'🎄 ';font-size:16px}
html[data-theme="newyear"] .hero-copy .eyebrow:before{content:'✦ ';font-size:16px}
/* Shared standalone pages, including maintenance and the original community. */
html[data-theme]:not([data-theme="standard"]) .site-shell article:not(.collectible){background:var(--season-surface)!important;border-color:var(--season-line)!important;color:var(--season-text)!important}
html[data-theme]:not([data-theme="standard"]) :is(.milestone-card,.wow-adventure-grid>a,.wow-start-strip,.wow-entry-links a,.cloud-window,.cloud-file,.cloud-pending,.forum-poll,.forum-poll-editor,.pack-library-row,.creator-save-bar,.portal-preview,.member-profile-metrics>div){background:var(--season-surface)!important;border-color:var(--season-line)!important;color:var(--season-text)!important}
html[data-theme]:not([data-theme="standard"]) .site-shell :is(label,.hub-board strong,.member-profile strong,.cloud-window strong,.owner-panel strong,.permission-card strong,.forum-post strong){color:var(--season-text)}
html[data-theme]:not([data-theme="standard"]) .site-shell :is(thead,.portal-form details,.pack-offer-settings){background:var(--season-raised)!important}
html[data-theme]:not([data-theme="standard"]) :is(.shell>.panel,.shell .overview,.site-header,.tcg-nav,.imprint-section){background:var(--season-surface)!important;border-color:var(--season-line)!important;color:var(--season-text)!important}
html[data-theme]:not([data-theme="standard"]) .shell :is(h1,h2,.schedule strong){color:var(--season-text)!important}
html[data-theme]:not([data-theme="standard"]) .shell :is(p,.muted,.bottom,.brand small){color:var(--season-muted)!important}
html[data-theme]:not([data-theme="standard"]) .shell :is(h1 em,.kicker,.sigil,.progress-value,.status){color:var(--season-accent)!important}
html[data-theme]:not([data-theme="standard"]) .shell :is(.fill,.primary){background:var(--season-accent)!important;color:var(--season-on-accent)!important}
html[data-theme]:not([data-theme="standard"]) .shell :is(.track,.schedule,.bottom,.button,.status){border-color:var(--season-line)!important}
html[data-theme]:not([data-theme="standard"]) .shell .track{background:var(--season-raised)!important}
html[data-theme]:not([data-theme="standard"]) .shell :is(a:not([class*="btn"]):not([class*="button"]),.legal a){color:var(--season-accent)}
/* Owner theme selection remains usable in each palette. */
html[data-theme]:not([data-theme="standard"]) .site-shell :is(.casefile-activity>div,.casefile-form,.casefile-tabs button,.owner-role-chips span,.owner-user-profile .profile-stat-grid>div,.owner-warnings article){background:var(--season-raised)!important;border-color:var(--season-line)!important;color:var(--season-text)!important}
html[data-theme]:not([data-theme="standard"]) .site-shell :is(.casefile-tabs button.active,.owner-member-list button.selected){background:var(--season-accent)!important;color:var(--season-on-accent)!important;border-color:var(--season-accent)!important}
html[data-theme]:not([data-theme="standard"]) .site-shell .owner-member-list button.selected :is(strong,small){color:var(--season-on-accent)!important}
html[data-theme]:not([data-theme="standard"]) .site-shell :is(.casefile-activity dt,.owner-warnings span,.owner-warnings small,.owner-user-profile .profile-stat-grid span,.owner-user-identity small){color:var(--season-muted)!important}
html[data-theme]:not([data-theme="standard"]) .site-shell :is(.casefile-activity dd,.owner-user-profile .profile-stat-grid strong,.owner-role-chips span){color:var(--season-text)!important}
html[data-theme]:not([data-theme="standard"]) :is(.pack-action-button.daily,.collection-bar,.coin-wallet,.coin-modal,.pack-option,.collection-icon){background:var(--season-surface)!important;border-color:var(--season-line)!important;color:var(--season-text)!important}
html[data-theme]:not([data-theme="standard"]) :is(.pack-action-button.daily,.collection-bar,.coin-wallet,.coin-modal) strong{color:var(--season-text)!important}
html[data-theme]:not([data-theme="standard"]) .pack-action-button:not(.daily){background:var(--season-accent)!important;color:var(--season-on-accent)!important}
html[data-theme]:not([data-theme="standard"]) .pack-action-button:not(.daily) :is(strong,small){color:var(--season-on-accent)!important}
html[data-theme]:not([data-theme="standard"]) .studio-heading{background:transparent!important}
html[data-theme]:not([data-theme="standard"]) :is(.member-profile-banner,.profile-level-panel,.forum-sidebar-card,.forum-thread,.forum-toolbar,.hub-board-summary>button,.hub-podium-card,.hub-ranking-rules,.game-tile,.portal-game-choice){background:var(--season-surface)!important;border-color:var(--season-line)!important;color:var(--season-text)!important}
html[data-theme]:not([data-theme="standard"]) .opening-room{background:radial-gradient(ellipse at 50% 25%,var(--season-glow),transparent 60%),var(--season-bg)!important;color:var(--season-text)!important}
html[data-theme]:not([data-theme="standard"]) .opening-room :is(.odds-modal,.opening-pack-choice select){background:var(--season-surface)!important;color:var(--season-text)!important;border-color:var(--season-line)!important}
html[data-theme]:not([data-theme="standard"]) .opening-room :is(.room-kicker,.opening-brand,.opening-progress,.opening-status,.next-hint){color:var(--season-accent)!important}
html[data-theme]:not([data-theme="standard"]) .opening-room :is(.primary-room-button){background:var(--season-accent)!important;color:var(--season-on-accent)!important}
html[data-theme]:not([data-theme="standard"]) .opening-room :is(.secondary-room-button,.opening-footer,.tap-hint,.back-link){color:var(--season-muted)!important;border-color:var(--season-line)!important}
.theme-studio{max-width:1000px}.theme-options{padding:0;border:0;margin:24px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.theme-options legend{margin-bottom:16px;font-weight:700}.theme-option{position:relative;display:flex!important;flex-direction:column;gap:10px!important;padding:18px;border:1px solid var(--line,#e5e9f2);border-radius:16px;cursor:pointer;min-width:0}.theme-option.chosen{border-color:var(--violet,#7467f0);box-shadow:0 0 0 1px var(--violet,#7467f0)}.theme-option:focus-within{outline:2px solid var(--violet,#7467f0);outline-offset:4px}.theme-option-heading{display:flex;align-items:center;gap:10px;font-size:16px}.theme-option-heading input{width:16px!important;height:16px;accent-color:var(--violet,#7467f0)}.theme-option-heading small{margin-left:auto;font-size:11px}.theme-preview{height:110px;border-radius:10px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.theme-preview svg{width:40px;height:40px;opacity:.95}.theme-preview:before,.theme-preview:after{content:'';position:absolute;width:70px;height:70px;border:1px solid currentColor;border-radius:50%;opacity:.12;top:-25px;right:25px}.theme-preview:after{top:auto;bottom:-35px;right:auto;left:30px;width:120px;height:120px}.theme-option>p{margin:0;font-size:13px;line-height:1.6}.theme-studio .portal-actions{margin-top:20px}@media(max-width:640px){.theme-options{grid-template-columns:1fr}}

/* Halloween illustrations stay behind text and never capture clicks. */
/* Keep every nested workspace surface readable in the dark palette. */
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.hub-search,.forum-list-heading,.forum-reply-form,.forum-editor-preview,.forum-emoji-picker,.discord-sync,.wow-access-note,.wow-roadmap-content,.milestone-body,.milestone-create,.draft-select,.permission-metrics>div,.permission-search,.member-profile-games a,fieldset,.pack-art-preview figure,.owner-member-list button){background:var(--season-surface)!important;color:var(--season-text)!important;border-color:var(--season-line)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(th,.forum-editor-tools button,.forum-post .portal-actions button,.archive-admin button:not(.primary-button),.milestone-undo,.wow-milestone-toggle){background:var(--season-raised)!important;color:var(--season-text)!important;border-color:var(--season-line)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.forum-thread-title,.forum-markdown li,.forum-markdown blockquote,.preview-heading strong,.owner-member-list strong,.member-profile-games strong,.milestone-body h3){color:var(--season-text)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.owner-metrics strong,.profile-level-heading strong){color:var(--season-accent)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.owner-quick span,.discord-sync span,.member-profile-role,.milestone-summary,.profile-xp-estimates){color:var(--season-muted)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.forum-topics,.wow-roadmap,.milestone-body,.archive-settings fieldset){border-color:var(--season-line)!important}
html[data-theme="halloween"][data-theme] .site-shell .studio-heading{background:transparent!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.wow-subnav,.wow-account-filters,.wow-stat-grid>div){background:var(--season-surface)!important;color:var(--season-text)!important;border-color:var(--season-line)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .wow-subnav a{color:var(--season-muted)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .wow-subnav a.active{background:var(--season-raised)!important;color:var(--season-accent)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .wow-stat-grid strong{color:var(--season-accent)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.portal-draft-list,.wow-account-row,.wow-character-card,.wow-account-extra,.wow-account-bans,.wow-tool-links a,.wow-admin-filters,.wow-version){background:var(--season-surface)!important;color:var(--season-text)!important;border-color:var(--season-line)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.wow-character-card strong,.wow-account-row strong,.wow-account-summary strong,.wow-checklist strong){color:var(--season-text)!important}
html[data-theme="halloween"][data-theme] .site-shell :is(.fantasy-hero,.forum-hero,.member-profile-banner,.discord-overview-head,.cloud-window-header){background: url('/assets/themes/halloween/moon-bats.svg') right top / 330px auto no-repeat,linear-gradient(120deg,#281e36,#191724)!important;border-color:#624052!important}
html[data-theme="halloween"][data-theme] .site-shell .discord-overview-head{padding:28px;border:1px solid #624052;border-radius:18px}
html[data-theme="halloween"][data-theme] .site-shell.subview{background-image:radial-gradient(ellipse at 85% 18%,#b3452b20,transparent 42%),radial-gradient(ellipse at 0% 70%,#7a4bad14,transparent 45%)!important;background-size:100% 100%,100% 100%!important;background-position:center,center!important}
html[data-theme="halloween"][data-theme] :is(.hero-copy,.studio-heading,.fantasy-hero,.member-profile-identity) h1{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.035em}
html[data-theme="halloween"][data-theme] .hero-copy h1{font-size:clamp(44px,5.8vw,78px);line-height:1.05}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .portal-owner{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:38px 0 60px}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .theme-studio{max-width:none}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .studio-heading{width:100%;padding:28px 0 16px;background:transparent!important}
html[data-theme="halloween"][data-theme] .site-shell{background-image:url('/assets/themes/halloween/moon-bats.svg'),radial-gradient(ellipse at 85% 18%,#b3452b20,transparent 42%),radial-gradient(ellipse at 0% 70%,#7a4bad14,transparent 45%)!important;background-size:min(46vw,570px) auto,100% 100%,100% 100%!important;background-position:right 5% top 125px,center,center!important;background-repeat:no-repeat!important;background-color:var(--season-bg)!important}
html[data-theme="halloween"][data-theme] .topbar{position:relative;border-bottom-color:#68415788}
html[data-theme="halloween"][data-theme] .topbar:after{content:'';position:absolute;left:-30px;top:0;width:120px;height:120px;background:url('/assets/themes/halloween/web.svg') center/contain no-repeat;opacity:.5;pointer-events:none}
html[data-theme="halloween"][data-theme] :is(.fantasy-hero,.forum-hero,.member-profile-banner,.discord-overview-head,.cloud-window-header){background-image:url('/assets/themes/halloween/moon-bats.svg'),linear-gradient(120deg,#281e36,#191724)!important;background-position:right top,center!important;background-size:330px auto,100% 100%!important;background-repeat:no-repeat!important;border-color:#624052!important;box-shadow:inset 0 1px #ffb57412,0 18px 45px #08061130}
html[data-theme="halloween"][data-theme] :is(.fantasy-hero,.forum-hero,.member-profile-banner,.discord-overview-head,.cloud-window-header) p{position:relative;z-index:1}
html[data-theme="halloween"][data-theme] .hero-copy .eyebrow:before{content:'';display:inline-block;width:24px;height:24px;vertical-align:middle;background:url('/assets/themes/halloween/pumpkin.svg') center/contain no-repeat;margin-right:7px}
html[data-theme="halloween"][data-theme] .theme-option:nth-of-type(2) .theme-preview{background-image:url('/assets/themes/halloween/pumpkin.svg'),url('/assets/themes/halloween/web.svg')!important;background-size:88px auto,100px auto!important;background-repeat:no-repeat!important;background-position:center,right top!important}
html[data-theme="halloween"][data-theme] .theme-option:nth-of-type(2) .theme-preview svg{visibility:hidden}
html[data-theme="halloween"][data-theme] :is(.hub-card,.owner-panel,.forum-post,.forum-topic,.wow-surface,.discord-surface,.cloud-window,.collection-bar){box-shadow:inset 0 1px #ffb57409,0 8px 20px #05040a24;border-color:#49334f!important}
html[data-theme="halloween"][data-theme] :is(.primary-button,.primary-room-button,.pack-action-button:not(.daily)){box-shadow:0 5px 20px #f38a3424!important;background:linear-gradient(135deg,#ffb574,#ee9453)!important}
html[data-theme="halloween"][data-theme] :is(.secondary-button,.workspace-tabs button,.forum-topic,.hub-ranking-row):hover{border-color:#ba795f!important;background-color:#35263e!important}
html[data-theme="halloween"][data-theme] .shell>.panel{background-image:url('/assets/themes/halloween/web.svg'),linear-gradient(135deg,#251e32,#191622)!important;background-size:165px auto,100% 100%!important;background-position:left top,center!important;background-repeat:no-repeat!important}
html[data-theme="halloween"][data-theme] .shell .sigil{height:60px;width:64px;background:url('/assets/themes/halloween/pumpkin.svg') center/contain no-repeat;font-size:0}
html[data-theme="halloween"][data-theme] .opening-room{background-image:url('/assets/themes/halloween/moon-bats.svg'),radial-gradient(ellipse at 50% 45%,#7c3c2533,transparent 60%)!important;background-size:480px auto,100% 100%!important;background-position:right 10% top 100px,center!important;background-repeat:no-repeat!important}
@media(max-width:640px){html[data-theme="halloween"][data-theme] .site-shell{background-size:310px auto,100% 100%,100% 100%!important;background-position:right -90px top 120px,center,center!important}html[data-theme="halloween"][data-theme] .topbar:after{width:85px;height:85px;left:-12px;opacity:.3}html[data-theme="halloween"][data-theme] :is(.fantasy-hero,.forum-hero,.member-profile-banner,.discord-overview-head,.cloud-window-header){background-size:220px auto,100% 100%!important}html[data-theme="halloween"][data-theme] .opening-room{background-size:300px auto,100% 100%!important;background-position:right -80px top 100px,center!important}}

html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .pack-studio-preview figure{background:var(--season-raised)!important;border-color:var(--season-line)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .wow-live-summary{background:var(--season-surface)!important;border-color:var(--season-line)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .wow-live-summary strong{color:var(--season-accent)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.wow-live-summary span,.pack-studio-preview figcaption,.discord-kpis>article>span,.permission-metrics span){color:var(--season-muted)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.legal-content section,.legal-sidebar,.imprint-quick-links a){background:var(--season-surface)!important;border-color:var(--season-line)!important;color:var(--season-text)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .hub-card.legal-content{background:transparent!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .legal-content :is(address,li,strong){color:var(--season-text)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.legal-sidebar a,.legal-sidebar summary,.legal-content a){color:var(--season-accent)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .legal-content :is(td,th,tr:nth-child(even)){background:var(--season-surface)!important;border-color:var(--season-line)!important}
html[data-theme="halloween"][data-theme] .site-shell .studio-heading{background:transparent!important}
/* Illustrated seasonal assets; overlays keep text independent of the artwork. */
html[data-theme="halloween"]{--season-art:url('/assets/themes/halloween/legion-ornament-v2.webp');--season-art-overlay:#21182feb;--season-art-fade:#21182fa8}
html[data-theme="christmas"]{--season-art:url('/assets/themes/christmas/legion-ornament-v2.webp');--season-art-overlay:#0c1a16f2;--season-art-fade:#0c1a1670}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.fantasy-hero,.forum-hero,.member-profile-banner,.discord-overview-head,.cloud-window-header,.mp3-hero){
 background-image:linear-gradient(90deg,var(--season-art-overlay) 0%,var(--season-art-overlay) 56%,var(--season-art-fade) 100%),var(--season-art),linear-gradient(135deg,var(--season-raised),var(--season-surface))!important;
 background-size:100% 100%,440px auto,100% 100%!important;background-position:center,right center,center!important;background-repeat:no-repeat!important;
 border-color:var(--season-line)!important;box-shadow:inset 0 1px var(--season-glow),0 12px 30px #00000024;
}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .hero{isolation:isolate}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .hero:before{content:'';position:absolute;z-index:-1;right:-50px;bottom:0;width:460px;height:310px;background:var(--season-art) right bottom/contain no-repeat;opacity:.32;pointer-events:none}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .theme-option:nth-of-type(2) .theme-preview{background-image:url('/assets/themes/halloween/legion-ornament-v2.webp')!important;background-size:cover!important;background-position:center!important}
html[data-theme] .theme-option:nth-of-type(3) .theme-preview{background-image:url('/assets/themes/christmas/legion-ornament-v2.webp')!important;background-size:cover!important;background-position:center!important}
html[data-theme="christmas"][data-theme] .site-shell .eyebrow:before{content:'❄︎';color:var(--season-accent);font-size:20px}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .hero:before{-webkit-mask-image:radial-gradient(ellipse at 65% 65%,#000 30%,#0009 56%,transparent 78%);mask-image:radial-gradient(ellipse at 65% 65%,#000 30%,#0009 56%,transparent 78%)}
@media(max-width:760px){html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.fantasy-hero,.forum-hero,.member-profile-banner,.discord-overview-head,.cloud-window-header,.mp3-hero){background-size:100% 100%,270px auto,100% 100%!important;background-position:center,right bottom,center!important}html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .hero:before{right:0;width:280px;height:190px;opacity:.23}}

/* Hosting, invoices and server controls use the same seasonal design tokens. */
html[data-theme]:not([data-theme="standard"]) .hosting-page {
  --surface:var(--season-surface);
  --line:var(--season-line);
  color:var(--season-text);
}
html[data-theme]:not([data-theme="standard"]) .hosting-page .hosting-panel {
  background:var(--season-surface)!important;
  border-color:var(--season-line)!important;
  color:var(--season-text)!important;
  box-shadow:0 16px 45px #00000024!important;
}
html[data-theme]:not([data-theme="standard"]) .hosting-page :is(h1,h2,h3,strong,.amount,.invoice-total) {
  color:var(--season-text)!important;
}
html[data-theme]:not([data-theme="standard"]) .hosting-page :is(p,small,.hosting-metrics span) {
  color:var(--season-muted)!important;
}
html[data-theme]:not([data-theme="standard"]) .hosting-page :is(.hosting-kicker,.hosting-hero h1 em) {
  color:var(--season-accent)!important;
}
html[data-theme]:not([data-theme="standard"]) .hosting-page .hosting-metrics>div {
  background:var(--season-raised)!important;
  border:1px solid var(--season-line);
}
html[data-theme]:not([data-theme="standard"]) .hosting-page :is(.usage-table th,.invoice-lines th) {
  color:var(--season-text)!important;
  background:var(--season-raised)!important;
  border-color:var(--season-line)!important;
}
html[data-theme]:not([data-theme="standard"]) .hosting-page :is(.usage-table td,.invoice-lines td,.hosting-admin,.hosting-section>header) {
  color:var(--season-text)!important;
  border-color:var(--season-line)!important;
}
html[data-theme]:not([data-theme="standard"]) .hosting-page :is(input:not([type="checkbox"]),textarea,select) {
  background:var(--season-raised)!important;
  border-color:var(--season-line)!important;
  color:var(--season-text)!important;
  caret-color:var(--season-accent);
}
html[data-theme]:not([data-theme="standard"]) .hosting-page :is(input,textarea,select):focus-visible {
  outline:2px solid var(--season-accent);
  outline-offset:2px;
}
html[data-theme]:not([data-theme="standard"]) .hosting-page .hosting-button {
  color:var(--season-on-accent)!important;
  background:var(--season-accent)!important;
  border:1px solid var(--season-accent)!important;
  box-shadow:none!important;
}
html[data-theme]:not([data-theme="standard"]) .hosting-page .hosting-button.secondary {
  color:var(--season-text)!important;
  background:var(--season-raised)!important;
  border-color:var(--season-line)!important;
}
html[data-theme]:not([data-theme="standard"]) .hosting-page .hosting-button:hover:not(:disabled) {
  filter:brightness(1.06);
  transform:translateY(-1px);
}
html[data-theme]:not([data-theme="standard"]) .hosting-page .status-pill {
  color:var(--season-text)!important;
  background:var(--season-raised)!important;
  border:1px solid var(--season-line);
}
html[data-theme]:not([data-theme="standard"]) .hosting-page .status-pill:is(.sent,.paid,.running) {
  color:var(--season-on-accent)!important;
  background:var(--season-accent)!important;
  border-color:var(--season-accent)!important;
}
html[data-theme="halloween"] .hosting-page .hosting-hero>.hosting-panel:first-child {
  background-image:linear-gradient(90deg,#21182ff5 0%,#21182fdc 54%,#21182f91 100%),url('/assets/themes/halloween/legion-ornament-v2.webp')!important;
  background-position:center,right center!important;
  background-size:cover,430px auto!important;
  background-repeat:no-repeat!important;
}
html[data-theme="halloween"] .hosting-page .hosting-hero>.hosting-panel:first-child:after {
  content:'';position:absolute;inset:0;pointer-events:none;opacity:.22;
  background:url('/assets/themes/halloween/web.svg') left top/180px auto no-repeat,url('/assets/themes/halloween/moon-bats.svg') right 18px top 20px/230px auto no-repeat;
}
html[data-theme="halloween"] .hosting-page .hosting-hero>.hosting-panel:first-child {position:relative;overflow:hidden;isolation:isolate}
html[data-theme="halloween"] .hosting-page .hosting-hero>.hosting-panel:first-child>* {position:relative;z-index:1}
html[data-theme="christmas"] .hosting-page .hosting-hero>.hosting-panel:first-child {
  background-image:linear-gradient(90deg,#0c1a16f5 0%,#0c1a16dc 54%,#0c1a1660 100%),url('/assets/themes/christmas/legion-ornament-v2.webp')!important;
  background-position:center,right center!important;
  background-size:cover,430px auto!important;
  background-repeat:no-repeat!important;
}
html[data-theme="newyear"] .hosting-page .hosting-hero>.hosting-panel:first-child {
  background-image:radial-gradient(circle at 82% 24%,#edd08d 0 2px,transparent 3px),radial-gradient(circle at 72% 68%,#81d4ec 0 2px,transparent 3px),linear-gradient(135deg,var(--season-surface),var(--season-bg))!important;
  background-size:90px 90px,130px 130px,100% 100%!important;
}
@media(max-width:700px){
  html[data-theme]:not([data-theme="standard"]) .hosting-page .hosting-hero>.hosting-panel:first-child{background-size:cover,270px auto!important}
}

/* --- WINTERNACHT (Weihnachten) -------------------------------------------------------------
   Tannennacht, Gold und Kerzenlicht. Farben nur aus den --season-*-Tokens (Kontraste geprüft:
   Text >= 13:1, gedämpft >= 8:1, Gold-Links >= 9:1, weiß auf Beerenrot >= 6:1).
   Allgemeine Dunkel-Korrekturen teilt sich Weihnachten oben mit Halloween und Neujahr.
   Schneefall und Lichterkette ruhen bei prefers-reduced-motion. */
html[data-theme="christmas"][data-theme] body{background:url('/assets/themes/christmas/snowflakes-v3.svg') center top/320px 280px repeat,radial-gradient(ellipse at 82% -6%,#e8b65a24,transparent 46%),linear-gradient(180deg,#10241e 0%,var(--season-bg) 46rem)!important;background-attachment:fixed!important}
html[data-theme="christmas"][data-theme] .site-shell{background-image:url('/assets/themes/christmas/snowflakes-v3.svg'),radial-gradient(ellipse at 82% -6%,#e8b65a26,transparent 46%),radial-gradient(ellipse at 6% 34%,#2c6a5226,transparent 52%),linear-gradient(180deg,#10241e 0%,var(--season-bg) 46rem)!important;background-size:320px 280px,100% 100%,100% 100%,100% 100%!important;background-position:center top,center,center,center!important;background-repeat:repeat,no-repeat,no-repeat,no-repeat!important}

/* Überschriften im Taverne-Stil (Cinzel), passend zur Login-Karte. */
html[data-theme="christmas"][data-theme] .site-shell :is(.home-hero-copy h1,.hero-copy h1,.studio-heading h1,.fantasy-hero h1,.home-section h2){font-family:"Cinzel Legion","Cinzel","Trajan Pro",Georgia,serif;letter-spacing:.01em;font-weight:700}
html[data-theme="christmas"][data-theme] .site-shell :is(.home-hero-copy h1,.hero-copy h1){font-size:clamp(34px,5vw,60px);line-height:1.1}

/* Ornament (Laterne + Tannengirlande) hinter dem Hero, mit Kerzenschein. Startseite = .home-hero, ältere Seiten = .hero. */
html[data-theme="christmas"][data-theme] .site-shell .home-hero{position:relative;isolation:isolate}
html[data-theme="christmas"][data-theme] .site-shell .home-hero:before{content:'';position:absolute;z-index:-1;right:0;bottom:-24px;width:min(640px,54vw);height:380px;background:var(--season-art) right bottom/contain no-repeat;opacity:.95;pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 28%,#000 86%,transparent 100%),linear-gradient(180deg,transparent 0,#000 34%,#000 82%,transparent 100%);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent 0,#000 28%,#000 86%,transparent 100%),linear-gradient(180deg,transparent 0,#000 34%,#000 82%,transparent 100%);mask-composite:intersect}
html[data-theme="christmas"][data-theme] .site-shell .home-hero:after{content:'';position:absolute;z-index:-2;right:8%;bottom:10%;width:420px;height:300px;background:radial-gradient(ellipse,#f0b85a2e,transparent 68%);pointer-events:none}
html[data-theme="christmas"][data-theme] .site-shell .hero:before{opacity:.92;width:520px;height:340px;right:-30px}

/* Legion-Münze: warmer Kerzenschein dahinter. Banner zum Clan Archiv mit Schneekappe. */
html[data-theme="christmas"][data-theme] .site-shell .home-coin{box-shadow:inset 0 0 0 3px #7a5218,inset 0 0 0 7px #e8bd62,inset 0 0 0 9px #8f6421,0 2px 0 #6d4914,0 4px 0 #5c3d10,0 6px 0 #4b310c,0 24px 42px #0009,0 0 80px #f0b85a40}
html[data-theme="christmas"][data-theme] .site-shell .home-events-cloth{background:url('/assets/themes/christmas/snowcap.svg') left top/200px 14px repeat-x,linear-gradient(180deg,#1f3a32,var(--season-surface))}
html[data-theme="christmas"][data-theme] .site-shell .home-banner-cloth{background:url('/assets/themes/christmas/snowcap.svg') left top/200px 14px repeat-x,linear-gradient(180deg,#1f3a32,var(--season-surface))}

/* Lichterkette unter der Kopfzeile. */
html[data-theme="christmas"][data-theme] .site-shell .topbar{position:relative;border-bottom-color:#ecc06a3d}
html[data-theme="christmas"][data-theme] .site-shell .topbar:after{content:'';position:absolute;left:0;right:0;bottom:-7px;height:12px;pointer-events:none;
  background:radial-gradient(circle,#ff6b78 0 3px,#ff6b7850 4px,transparent 6px) 0 0/72px 12px repeat-x,
             radial-gradient(circle,#ffd77a 0 3px,#ffd77a50 4px,transparent 6px) 24px 0/72px 12px repeat-x,
             radial-gradient(circle,#7fe0a6 0 3px,#7fe0a650 4px,transparent 6px) 48px 0/72px 12px repeat-x;
  animation:winternacht-lichter 2.8s ease-in-out infinite alternate}
html[data-theme="christmas"][data-theme] .site-shell footer{border-top-color:#ecc06a33}

/* Karten: Goldkante oben, ruhiger Schatten; Hover zeigt den Rand in Gold. */
html[data-theme="christmas"][data-theme] :is(.hub-card,.owner-panel,.forum-post,.forum-topic,.wow-surface,.discord-surface,.cloud-window,.collection-bar){box-shadow:inset 0 1px #ecc06a1f,0 10px 24px #0209072e;border-color:var(--season-line)!important}
html[data-theme="christmas"][data-theme] .site-shell :is(a.hub-card,.hub-card:has(a),.forum-topic,.hub-ranking-row,.secondary-button,.workspace-tabs button):hover{border-color:var(--season-accent)!important;background-color:var(--season-raised)!important}

/* Hauptknöpfe in Beerenrot mit weißem Text und feiner Goldkante. */
html[data-theme="christmas"][data-theme] :is(.primary-button,.button.primary,.primary-room-button,.pack-action-button:not(.daily)){background:linear-gradient(135deg,var(--season-berry),var(--season-berry-deep))!important;color:#fff!important;border-color:#ecc06a80!important;box-shadow:0 0 0 1px #ecc06a26,0 6px 22px #c0283a3d!important}
html[data-theme="christmas"][data-theme] :is(.primary-room-button,.pack-action-button:not(.daily)) :is(strong,small,span){color:#fff!important}
html[data-theme="christmas"][data-theme] :is(.primary-button,.button.primary,.primary-room-button,.pack-action-button):is(:disabled,[aria-disabled="true"]){background:var(--season-raised)!important;color:var(--season-muted)!important;border-color:var(--season-line)!important;box-shadow:none!important}
html[data-theme="christmas"][data-theme] :is(.primary-button,.button.primary,.pack-action-button):is(:disabled,[aria-disabled="true"]) :is(strong,small,span){color:var(--season-muted)!important}

/* Schneefall: zwei Ebenen, nur transform, klickt nie mit. */
html[data-theme="christmas"] body:before,html[data-theme="christmas"] body:after{content:'';position:fixed;left:0;right:0;pointer-events:none;z-index:40;will-change:transform}
html[data-theme="christmas"] body:after{top:-420px;height:calc(100vh + 420px);background:url('/assets/themes/christmas/snowfall.svg') 0 0/420px 420px repeat;opacity:.5;animation:winternacht-schnee-a 26s linear infinite}
html[data-theme="christmas"] body:before{top:-260px;height:calc(100vh + 260px);background:url('/assets/themes/christmas/snowfall.svg') 130px 0/260px 260px repeat;opacity:.28;animation:winternacht-schnee-b 38s linear infinite}
@keyframes winternacht-schnee-a{from{transform:translate3d(0,0,0)}to{transform:translate3d(-30px,420px,0)}}
@keyframes winternacht-schnee-b{from{transform:translate3d(0,0,0)}to{transform:translate3d(20px,260px,0)}}
@keyframes winternacht-lichter{from{opacity:.6}to{opacity:1}}
@media(max-width:640px){html[data-theme="christmas"] body:before{display:none}html[data-theme="christmas"] body:after{opacity:.38}html[data-theme="christmas"][data-theme] .site-shell .hero:before{width:300px;height:200px;opacity:.55}html[data-theme="christmas"][data-theme] .site-shell .home-hero:before{top:-34px;bottom:auto;right:-20px;width:230px;height:130px;opacity:.32}}
@media(prefers-reduced-motion:reduce){html[data-theme="christmas"] body:before,html[data-theme="christmas"] body:after{display:none}html[data-theme="christmas"][data-theme] .site-shell .topbar:after{animation:none;opacity:.85}}

/* Winternacht+ : Schneekappen, Christbaumkugeln, Sterntrenner, Schneeboden, Girlande, wärmerer Kerzenschein.
   Alles reine Deko (pointer-events:none), Grafiken in /assets/themes/christmas/. Kugeln schwingen nur ohne „Bewegung reduzieren“. */
/* Schneekappen: zusätzliche Hintergrundebene oben auf Panels mit einfarbigem Hintergrund; bleibt in der Eckenrundung. */
html[data-theme="christmas"][data-theme] :is(.ow-panel,.ow-strip,.ow-areas,.workspace-panel,.workspace-feature-grid article,.hosting-workspace-nav,.tv-panel,.mw-strip,.bw-strip,.hb-strip,.hb-side){background-image:url('/assets/themes/christmas/snowcap.svg');background-repeat:repeat-x;background-position:left top;background-size:200px 14px}
/* Christbaumkugeln hängen rechts unter der Lichterkette. */
html[data-theme="christmas"][data-theme] .site-shell .topbar:before{content:'';position:absolute;right:clamp(12px,9vw,150px);top:calc(100% - 2px);width:94px;height:60px;background:url('/assets/themes/christmas/baubles.svg') center top/contain no-repeat;pointer-events:none;z-index:3;transform-origin:50% 0;animation:winternacht-kugeln 5s ease-in-out infinite alternate}
@keyframes winternacht-kugeln{from{transform:rotate(-2deg)}to{transform:rotate(2deg)}}
/* Goldener Stern statt Linie zwischen den Abschnitten der Startseite. */
html[data-theme="christmas"][data-theme] .site-shell .home-section{border-top:0;background:url('/assets/themes/christmas/star-divider.svg') center top/28px 18px no-repeat,linear-gradient(90deg,transparent,#ecc06a59 18%,#ecc06a59 calc(50% - 24px),transparent calc(50% - 18px),transparent calc(50% + 18px),#ecc06a59 calc(50% + 24px),#ecc06a59 82%,transparent) center 9px/100% 1px no-repeat}
/* Verschneiter Boden über dem Footer. */
html[data-theme="christmas"][data-theme] .site-shell footer{position:relative}
html[data-theme="christmas"][data-theme] .site-shell footer:before{content:'';position:absolute;left:0;right:0;bottom:calc(100% + 1px);height:40px;background:url('/assets/themes/christmas/snow-ground.svg') left bottom/600px 40px repeat-x;pointer-events:none;-webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent)}
/* Tannengirlande über der Pergamentkarte (Login, Konto). */
html[data-theme="christmas"] .tv-parchment:before{content:'';position:absolute;left:-14px;right:-14px;top:-15px;height:30px;background:url('/assets/themes/christmas/garland.svg') center/100% 100% no-repeat;pointer-events:none;z-index:0}
html[data-theme="christmas"] .tv-parchment>.tv-seal{position:relative;z-index:1}
/* Wärmerer Kerzenschein beim Überfahren klickbarer Karten. */
html[data-theme="christmas"][data-theme] :is(a.hub-card,.hub-card:has(a),.forum-topic,.workspace-feature-grid article:has(a),a.ow-card,.ow-card:has(a)):hover{box-shadow:inset 0 1px #ecc06a33,0 0 0 1px #ecc06a40,0 14px 36px #e8b65a29!important}
html[data-theme="christmas"][data-theme] :is(a.hub-card,.hub-card:has(a),.forum-topic,.workspace-feature-grid article,a.ow-card,.ow-card){transition:box-shadow .25s ease,border-color .25s ease,background-color .25s ease}
@media(max-width:900px){html[data-theme="christmas"][data-theme] .site-shell .topbar:before{display:none}}
@media(prefers-reduced-motion:reduce){html[data-theme="christmas"][data-theme] .site-shell .topbar:before{animation:none}html[data-theme="christmas"][data-theme] :is(a.hub-card,.hub-card:has(a),.forum-topic,.workspace-feature-grid article,a.ow-card,.ow-card){transition:none}}

/* Statusfarben der Verwaltung auf Tannennacht: heller, gefüllte Flächen mit dunkler Schrift (alle >= 5,5:1). */
html[data-theme="christmas"] .ow-scope{--ow-ok:#4fd18c;--ow-bad:#ff7d86}
html[data-theme="christmas"] .ow-scope :is(.ow-btn-ok,.ow-btn-danger.ow-btn-primary),html[data-theme="christmas"] .ow-toast.is-bad{color:#1d1405}

/* Werkzeug-Kopf ohne Kasten: Zeile 83 (:is mit "span" -> höhere Spezifität) würde ihn sonst einfärben. */
html[data-theme="christmas"][data-theme] .site-shell .portal-owner .studio-heading{background:transparent!important;border:0!important;box-shadow:none!important}

/* Lesbarkeit (Scan 2026-11-09, alle dunklen Saison-Themes): Stellen, an denen helle Theme-Schrift auf hellen Standardflächen
   oder fest eingestellte Graulila-Töne auf dunklem Grund landeten. Ziel: Text >= 4,5:1. */
/* Archiv „Beitrag verfassen“: Formular war weiß hinterlegt (Überschrift, Feldnamen, Hinweise unsichtbar). */
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.archive-post-form,.portal-form.archive-post-form){background:var(--season-surface)!important;border:1px solid var(--season-line)!important;color:var(--season-text)!important;box-shadow:0 10px 24px #0209072e!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .archive-post-form :is(h2,label,legend,.archive-checkbox){color:var(--season-text)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .archive-post-form :is(small,p){color:var(--season-muted)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .archive-post-form :is(fieldset,.archive-checkbox){background:var(--season-raised)!important;border-color:var(--season-line)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .archive-post-form legend{padding:0 8px;background:var(--season-surface);border-radius:6px}
/* Gedämpfte Zusatztexte mit fest eingestelltem Graulila (Statistik, Profil, Archiv-Kategorien). */
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.forum-category span,.discord-kpis span,.discord-personal span,.discord-day-detail :is(span,b,strong),.member-profile-metrics span,.profile-activity-totals span,.profile-game-link span,.profile-pull-row :is(span,time),.profile-warning-list time){color:var(--season-muted)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .discord-day-detail :is(b,strong){color:var(--season-text)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .discord-history summary{color:var(--season-accent)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .forum-category.active span{color:var(--season-text)!important}
/* Helle Etiketten auf dunklem Grund: dunkel hinterlegen, Schrift in Theme-Farben. */
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.forum-role,.profile-warning-count,.wow-realm-access){background:var(--season-raised)!important;color:var(--season-text)!important;border-color:var(--season-line)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .wow-realm-access.restricted{color:#f1c25b!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .wow-realm-number{color:var(--season-muted)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .wow-overview-tabs button.active{background:var(--season-raised)!important;color:var(--season-accent)!important;border-color:var(--season-accent)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell :is(.game-choice-tag,.game-choice-bottom span){color:color-mix(in srgb,var(--game-accent) 55%,#fff)!important}
/* Goldknöpfe brauchen dunkle Schrift (weiß auf Gold lag bei 1,7:1). */
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] :is(.minecraft-primary,.minecraft-public .control-form button){color:var(--season-on-accent,#1d1405)!important}
/* Aktiver Filter in „Mein Hosting → Server“: Zähler erbt die Knopfschrift. */
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .hb-filter[aria-pressed=true] small{color:inherit!important}
/* Statusfarben auf dunklem Grund heller (>= 5:1). */
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .mw-btn-danger:not(.mw-btn-primary){color:#ff8d95!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .mail-steps li.done{color:#4fd18c!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .aw-badge-lock{color:#ff8d95!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .aw-badge-poll{color:#4fd18c!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .site-shell .forum-hero-actions span{color:var(--season-muted)!important}
html:is([data-theme="halloween"],[data-theme="christmas"],[data-theme="newyear"])[data-theme] .ow-hist del{color:#ff8d95}
