/* Account theme editor. Default Mediaoase styling remains intact until a color is selected. */
.profile-theme{margin-top:24px;padding:24px;border:1px solid var(--mo-border,#34536d);border-radius:12px;background:var(--mo-surface,#14283e);scroll-margin-top:150px}
.profile-theme h2{margin:0 0 8px}.profile-theme>p{color:var(--muted,#aec0d0);line-height:1.6;margin:0 0 22px}
.profile-theme fieldset{border:0;padding:0;margin:0;min-width:0}.profile-theme legend{font-weight:600;margin-bottom:12px}
.theme-presets{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}
.theme-preset{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--mo-border,#34536d);border-radius:10px;cursor:pointer;min-height:44px;box-sizing:border-box}
.theme-preset:has(input:checked){border-color:var(--mo-ice,#a9d5f2);outline:2px solid var(--mo-ice,#a9d5f2);outline-offset:2px}
.theme-preset input{margin:0;accent-color:var(--mo-accent,#cd6b5b)}.theme-swatch{width:24px;height:24px;border-radius:50%;border:1px solid #ffffff70;flex:none}
.theme-custom{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.theme-custom label{font-weight:600}.theme-custom input[type=color]{width:58px;height:44px;padding:3px;border:1px solid var(--mo-border,#34536d);border-radius:8px;background:var(--bg,#0d1928);cursor:pointer}.theme-custom output{font:14px ui-monospace,monospace;color:var(--muted,#aec0d0)}
.theme-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.profile-main .theme-actions button{min-height:44px;padding:10px 16px;cursor:pointer}.profile-main #theme-save{background:var(--mo-accent,#cd6b5b);color:var(--theme-accent-text,#fff);border-color:var(--mo-accent,#cd6b5b)}
.profile-theme button:disabled{opacity:.5;cursor:default}.profile-theme fieldset:disabled{opacity:.6}.profile-theme #theme-status{min-height:1.5em;margin:16px 0 0;color:var(--muted,#aec0d0);line-height:1.5}
.profile-theme :focus-visible{outline:2px solid var(--mo-ice,#a9d5f2);outline-offset:4px}
@media(max-width:720px){.profile-theme{padding:18px}.theme-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.theme-actions button{flex:1 1 100%}}
/* Shared controls inherit the account palette; explicit primary and status styles take precedence. */
html[data-user-theme] :where(button,.film-hero-action,.film-file-download,.game-file-button,.profile-button,.media-file-actions a):not(:where(.danger,.is-watched,[data-watched=true],.watched-title-button[aria-pressed=true],.watched-cover-button[aria-pressed=true],.detail-watched-toggle[aria-pressed=true])){background:var(--mo-surface)!important;border-color:var(--mo-border)!important;color:var(--text)!important}
html[data-user-theme] :where(button,.film-hero-action,.film-file-download,.game-file-button,.profile-button):where(:hover,:focus-visible):not(:where(:disabled,.danger,.is-watched,[data-watched=true],.watched-title-button[aria-pressed=true],.watched-cover-button[aria-pressed=true],.detail-watched-toggle[aria-pressed=true])){background:var(--mo-surface-raised)!important}

/* Color overrides only: artwork, media, geometry and semantic status colors stay independent. */
html[data-user-theme] body{color:var(--text);background:var(--mo-page-background)}
html[data-user-theme] :is(.topbar,.download-header,.file-header,.credits-header,.admin-actions){background:var(--theme-header)!important;border-color:var(--mo-border)!important}
html[data-user-theme] :is(.brand-mark,.brand>span:last-child>span,.auth-brand span,.mobile-brand span){color:var(--theme-link)!important;text-shadow:none}
html[data-user-theme] :is(.search,.account-button,.panel-link,.menu,.account-menu,.account-admin-group-content,.auth-dialog,.filter-dialog,.sort-menu,.profile-tile,.profile-card,.source-card,.file-panel,.download-panel,.series-season-list){background:var(--mo-surface)!important;border-color:var(--mo-border)!important;color:var(--text)!important}
html[data-user-theme] .account-avatar{background:linear-gradient(135deg,var(--mo-ice),var(--mo-accent));box-shadow:none}
html[data-user-theme] :is(.catalog-card,.catalog-meta span,.catalog-genre,.media-tag,.media-resolution,.media-fact-icon,.game-download-row){background:var(--theme-soft)!important;border-color:var(--mo-border)!important;color:var(--text)!important}
html[data-user-theme] :is(.profile-main button,.profile-main select,.profile-main input:not([type=color]),.auth-form input,.auth-tabs button,.tool-button,.choice,.alphabet button,.genre-grid label,.filter-actions button,.sd-button,.sd-content-tab,.sd-select,.series-season-trigger,.game-download-tab,.game-file-button,.episode-play,.detail-bookmark,.series-edit-icon,.gallery-buttons button,.player-back,.player-top-button,.player-control-row button){background-color:var(--mo-surface)!important;border-color:var(--mo-border)!important;color:var(--text)!important}
html[data-user-theme] :is(.series-episode-action:not(.is-watched),.detail-watched-toggle:not([aria-pressed=true]),.detail-watched-file:not([aria-pressed=true]),.sd-download-subtitles){background:var(--theme-soft)!important;border-color:var(--mo-border)!important;color:var(--text)!important}
html[data-user-theme] :is(.main-nav .active,.download-header nav a.active,.auth-submit,.auth-tabs button.active,.choice.active,.alphabet button.active,.genre-tabs button.active,.filter-actions .filter-save,.global-category-filter button.active,.sd-content-tab[aria-selected=true],.sd-content-tab.active,.game-download-tab.active,.game-download-tab[aria-selected=true],.download-button,#theme-save){background:var(--mo-accent)!important;border-color:var(--mo-accent)!important;color:var(--theme-accent-text)!important;box-shadow:none!important}
html[data-user-theme] :is(.series-hero-buttons,.film-hero-buttons) :is(.series-hero-watch,.film-hero-watch){background:var(--mo-accent)!important;color:var(--theme-accent-text)!important;border-color:var(--mo-accent)!important}
html[data-user-theme] :is(.menu a:hover,.account-menu button:hover,.account-menu a:hover,.series-season-option:hover,.series-season-option[aria-selected=true],.theme-preset:hover){background-color:var(--mo-surface-raised)!important}
html[data-user-theme] :is(.media-copy h1 span,.media-eyebrow,.game-title span,.row-title a,.catalog-row-head a,footer a){color:var(--mo-ice)!important}
html[data-user-theme] :is(.game-cover,.media-poster,.episode-tile,.game-inline-trailer,.sd-info-item,.info-item,.screenshot){border-color:var(--mo-border)!important}
html[data-user-theme] .detail-bookmark[aria-pressed=true]{color:var(--mo-ice)!important;border-color:var(--mo-ice)!important}
html[data-user-theme] :is(input,select){accent-color:var(--mo-accent)}
html[data-user-theme],html[data-user-theme] *{scrollbar-color:var(--mo-accent) var(--mo-surface)!important}
html[data-user-theme] *::-webkit-scrollbar-track{background:var(--mo-surface)!important}html[data-user-theme] *::-webkit-scrollbar-thumb{background:var(--mo-accent)!important;border-color:var(--mo-surface)!important}
html[data-user-theme] :focus-visible{outline-color:var(--mo-ice)!important}

html[data-user-theme] :is(.series-hero-watch,.film-hero-watch){background:var(--mo-accent)!important;color:var(--theme-accent-text)!important;border-color:var(--mo-accent)!important}
html[data-user-theme] .profile-nav a{background:var(--mo-surface);border-color:var(--mo-border);color:var(--text)}
html[data-user-theme] .profile-nav a[aria-current=page]{background:var(--mo-surface-raised);border-color:var(--mo-ice)}
html[data-user-theme] .profile-main p{color:var(--muted)}
html[data-user-theme] #media-detail :is(.series-hero-watch,.film-hero-watch){background:var(--mo-accent)!important;color:var(--theme-accent-text)!important;border-color:var(--mo-accent)!important}
html[data-user-theme] :is(.calendar-bell,.calendar-link,.calendar-controls,.calendar-card,.calendar-notifications,#calendar-app button,#calendar-app input,#calendar-app select){background:var(--mo-surface)!important;color:var(--text)!important;border-color:var(--mo-border)!important}
html[data-user-theme] body{background-attachment:fixed}
html[data-user-theme] :is(.calendar-header-link,.overview-genres span,.overview-quality>span,.game-title-genres span){background:var(--mo-surface)!important;color:var(--text)!important;border-color:var(--mo-border)!important}

/* Cover highlights follow the selected account accent, including keyboard focus. */
html[data-user-theme] :is(.card,.catalog-card):is(:hover,:focus-visible) :is(.thumb,.catalog-art),
html[data-user-theme] .catalog-card:is(:hover,:focus-visible),
html[data-user-theme] .continue-card:is(:hover,:focus-within){border-color:var(--mo-accent)!important}
html[data-user-theme] :is(.card,.catalog-card):is(:hover,:focus-visible) :is(.thumb,.catalog-art)::after{
 border-color:var(--mo-accent)!important;
 box-shadow:inset 0 0 12px color-mix(in srgb,var(--mo-accent) 32%,transparent),0 0 14px color-mix(in srgb,var(--mo-accent) 22%,transparent)!important;
}
html[data-user-theme] :is(.sd-similar-card,.film-similar-card,.game-similar-card):is(:hover,:focus-visible) strong{color:var(--mo-ice)!important}

/* Borders across covers, episode tiles, detail tabs and information rows. */
html[data-user-theme] :is(.card .thumb,.catalog-art,.continue-card,.film-download-tab,.film-file-download,.film-pager-button,.film-hero-action,.film-action-file,.film-download-row,.media-track-tab,.media-track-select,.media-file,.media-season,.watched-title-button:not([aria-pressed=true]),.watched-cover-button:not([aria-pressed=true]),.detail-admin-edit){border-color:var(--mo-border)!important}
html[data-user-theme] :is(#sd-pane-info,#film-pane-info) :is(select,.media-info-fields>div){border-color:var(--mo-border)!important}
html[data-user-theme] :is(.film-download-tab,.media-track-tab)[aria-selected=true]{background:var(--mo-accent)!important;border-color:var(--mo-accent)!important;color:var(--theme-accent-text)!important}
html[data-user-theme]::-webkit-scrollbar-track{background:var(--mo-surface)!important}
html[data-user-theme]::-webkit-scrollbar-thumb{background:var(--mo-accent)!important;border-color:var(--mo-surface)!important}
html[data-user-theme]::-webkit-scrollbar-thumb:hover,html[data-user-theme] *::-webkit-scrollbar-thumb:hover{background:var(--mo-ice)!important}
html[data-user-theme]::-webkit-scrollbar-corner,html[data-user-theme] *::-webkit-scrollbar-corner{background:var(--mo-surface)!important}

html[data-user-theme] :is(.profile-main button.primary,.submit-button,.file-download){background:var(--mo-accent)!important;border-color:var(--mo-accent)!important;color:var(--theme-accent-text)!important}

/* Brand accents and homepage heading dots use the chosen color itself. */
html[data-user-theme] :is(.brand-mark,.brand>span:last-child>span,.download-brand>span:last-child>span,.login-brand>span:last-child>span,.auth-brand span,.mobile-brand span){color:var(--mo-accent)!important;text-shadow:none}
html[data-user-theme] :is(.continue-title,.section-head,.new-heading) h2>span{background:var(--mo-accent)!important;box-shadow:0 0 9px color-mix(in srgb,var(--mo-accent) 48%,transparent)!important}
/* Cover artwork has no permanent colored frame. Hover and focus highlights remain interactive. */
html:root :is(.media-poster,.game-cover){border-color:transparent!important}
html:root .card:not(:hover):not(:focus-visible) .thumb,
html:root .catalog-card:not(:hover):not(:focus-visible),
html:root .catalog-card:not(:hover):not(:focus-visible) .catalog-art,
html:root .continue-card:not(:hover):not(:focus-within){border-color:transparent!important}

/* Resume progress uses the selected accent without altering its playback percentage. */
html[data-user-theme] .continue-section .progress{background:var(--mo-surface)!important}
html:root #continue-cards .continue-card .progress>span{
  background:var(--mo-accent,#cd6b5b)!important;
  background:linear-gradient(90deg,
    color-mix(in srgb,var(--mo-accent,#cd6b5b) 40%,#000) 0%,
    var(--mo-accent,#cd6b5b) 55%,
    color-mix(in srgb,var(--mo-accent,#cd6b5b) 45%,#fff) 100%)!important;
  box-shadow:none!important;
}
html[data-user-theme] #neu .filters button.active{background:var(--mo-accent)!important;color:var(--theme-accent-text)!important}
/* New-content tabs retain their active fill and keyboard focus, without colored borders. */
html:root #neu .filters button{border-color:transparent!important;box-shadow:none!important}

/* Homepage more-link follows the selected theme. */
html[data-user-theme] #new-show-all{color:var(--mo-accent)!important;text-decoration-color:currentColor}
html[data-user-theme] #new-show-all:is(:hover,:focus-visible){color:var(--mo-ice)!important}

/* Account menu and user management use the same theme as page controls. */
html[data-user-theme] #account-menu :is(a,button),
html[data-user-theme] .users-dialog button{background:var(--mo-surface)!important;border-color:var(--mo-border)!important;color:var(--text)!important}
html[data-user-theme] #account-menu :is(a,button):is(:hover,:focus-visible),
html[data-user-theme] .users-dialog button:not(:disabled):is(:hover,:focus-visible){background:var(--mo-surface-raised)!important}
html[data-user-theme] #account-menu .account-admin-toggle[aria-expanded=true],
html[data-user-theme] .users-dialog :is(.auth-submit,button[type=submit]){background:var(--mo-accent)!important;border-color:var(--mo-accent)!important;color:var(--theme-accent-text)!important}
html[data-user-theme] #account-menu .account-admin-toggle span{color:inherit}
html[data-user-theme] :is(.users-row,.users-confirm,.users-confirm input){background:var(--mo-surface)!important;border-color:var(--mo-border)!important;color:var(--text)!important}
html[data-user-theme] .users-confirm p{color:var(--text)}
html[data-user-theme] .users-dialog :is(.auth-intro,label,small){color:var(--muted)}
html[data-user-theme] .users-dialog input:focus{border-color:var(--mo-ice)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--mo-accent) 20%,transparent)!important}
html[data-user-theme] .account-admin-links{border-color:var(--mo-border)}

/* Catalog count and pagination bar follow the account palette. */
html[data-user-theme] #catalog-pagination{background:var(--mo-surface)!important;border-color:var(--mo-border)!important;color:var(--text)!important}
html[data-user-theme] #catalog-page-buttons button[aria-current=page]{background:var(--mo-accent)!important;border-color:var(--mo-accent)!important;color:var(--theme-accent-text)!important}
html[data-user-theme] #catalog-page-buttons button:not(:disabled):is(:hover,:focus-visible){border-color:var(--mo-ice)!important}

html[data-user-theme] .compact-catalog-title h1::before{background:var(--mo-accent)!important;box-shadow:none!important}

/* Standard palette also covers page and nested media scrollbars. */
html:not([data-user-theme]),html:not([data-user-theme]) *{scrollbar-color:var(--mo-accent,#cd6b5b) var(--mo-surface,#14283e)!important}
html:not([data-user-theme])::-webkit-scrollbar-track,html:not([data-user-theme]) *::-webkit-scrollbar-track{background:var(--mo-surface,#14283e)!important}
html:not([data-user-theme])::-webkit-scrollbar-thumb,html:not([data-user-theme]) *::-webkit-scrollbar-thumb{background:var(--mo-accent,#cd6b5b)!important;border-color:var(--mo-surface,#14283e)!important}
html:not([data-user-theme])::-webkit-scrollbar-thumb:hover,html:not([data-user-theme]) *::-webkit-scrollbar-thumb:hover{background:var(--mo-accent-hover,#e47a68)!important}
html:not([data-user-theme])::-webkit-scrollbar-corner,html:not([data-user-theme]) *::-webkit-scrollbar-corner{background:var(--mo-surface,#14283e)!important}

/* OLED Nacht: accepted TV palette, enabled per account. */
html[data-oled-theme] {
 --bg:#000!important;--panel:#0b0d10!important;--line:#282b30!important;
 --text:#e4e7eb!important;--muted:#aeb5bf!important;
 --mo-surface:#0d0f12!important;--mo-surface-raised:#1d2025!important;
 --mo-border:#282c32!important;
 --mo-page-background:#000!important;--theme-header:#050607!important;
 --theme-soft:#090b0e!important;
}
html[data-oled-theme],html[data-oled-theme] body {background:#000!important;color:#e4e7eb!important}
html[data-oled-theme] .topbar {background:#050607!important;border-color:#1d2025!important;box-shadow:none!important}
html[data-oled-theme] .main-nav a {color:#c6cbd2!important}
html[data-oled-theme] .main-nav a.active {background:var(--mo-accent)!important;color:var(--theme-accent-text)!important;box-shadow:none!important}
html[data-oled-theme] :is(.brand,.brand>span:last-child) {color:#e4e7eb!important}
html[data-oled-theme] :is(.brand-mark,.brand>span:last-child>span) {color:var(--mo-accent)!important}
html[data-oled-theme] :is(.card,.catalog-card,.continue-card) {background:#08090b!important;box-shadow:none!important}
html[data-oled-theme] :is(.card-title,.card h3,.card strong,.continue-card h3) {color:#e1e4e8!important}
html[data-oled-theme] :is(.continue-title,.new-heading) h2>span {background:var(--mo-accent)!important;box-shadow:none!important}
html[data-oled-theme] #new-show-all {color:var(--mo-ice)!important;text-decoration:none!important}
html[data-oled-theme] #neu .filters button {background:#101216!important;color:#bfc6cf!important;box-shadow:none!important}
html[data-oled-theme] #neu .filters button.active {background:var(--mo-accent)!important;color:var(--theme-accent-text)!important}
html[data-oled-theme] :is(.search,.search-box,.account-button,.calendar-toggle,.notification-toggle) {box-shadow:none!important}
html[data-oled-theme] .account-avatar {background:var(--mo-accent)!important}
html[data-oled-theme] :focus-visible {outline:3px solid var(--mo-ice)!important;outline-offset:4px!important}
html[data-oled-theme] * {scrollbar-color:var(--mo-accent) #08090b!important}

/* OLED browsing backgrounds are opt-in; detail artwork follows its own setting. */
html[data-oled-theme]:not([data-oled-backgrounds-all]) body:not(:has(#media-detail,.game-showcase)) #web-dynamic-background {display:none!important}
html[data-oled-theme] #web-dynamic-background::after {background:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.3)),linear-gradient(0deg,rgba(0,0,0,.8),transparent 85%)!important}
#profile-theme #theme-mode-fields {margin-bottom:24px}
.theme-mode-switch {display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:460px;padding:16px;border:1px solid var(--mo-border,#34536d);border-radius:10px;background:var(--mo-surface,#14283e);cursor:pointer;position:relative}
.theme-mode-switch>span:first-child {display:grid;gap:6px}
.theme-mode-state {font-size:13px;color:var(--muted,#aec0d0)}
.theme-mode-switch input {position:absolute;width:1px;height:1px;opacity:0}
.theme-mode-track {position:relative;width:48px;height:28px;flex:none;border-radius:20px;background:#526070;transition:background .15s}
.theme-mode-track::after {content:'';position:absolute;left:4px;top:4px;width:20px;height:20px;background:#e4e7eb;border-radius:50%;transition:transform .15s}
.theme-mode-switch input:checked+.theme-mode-track {background:var(--mo-accent,#ce8172)}
.theme-mode-switch input:checked+.theme-mode-track::after {transform:translateX(20px);background:var(--theme-accent-text,#101113)}
.theme-mode-switch input:focus-visible+.theme-mode-track {outline:3px solid var(--mo-ice,#a9d5f2);outline-offset:4px}
.theme-mode-switch:has(input:disabled) {opacity:.55;cursor:default}
#theme-mode-help {max-width:680px;font-size:13px;line-height:1.6;color:var(--muted,#aec0d0);margin:12px 0 0}
@media(prefers-reduced-motion:reduce){.theme-mode-track,.theme-mode-track::after{transition:none}}

/* Secondary site pages share the same OLED surfaces. */
html[data-oled-theme] :is(.source-card,.download-panel,.download-toolbar,.download-table-head,.download-search,.login-card,.login-visual,body[data-theme-page=player]>main){background:#0d0f12!important;border-color:#282c32!important;box-shadow:none!important}
html[data-oled-theme] :is(.source-card a,.credits-header>a:last-child){color:var(--mo-ice)!important}

/* Display cover artwork without a darkening overlay; retain hover frames and badges. */
html:root :is(.thumb.has-poster,.catalog-art.has-poster)::before {background:none!important}
html:root #media-detail .media-poster {background-image:none,var(--media-art)!important}

/* Header navigation and new-release categories share the selected theme accent. */
html:root .topbar .main-nav a:focus-visible,
html:root #neu .filters button:not(:disabled):focus-visible {
  background:var(--mo-accent,#cd6b5b)!important;
  color:var(--theme-accent-text,#fff)!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
@media (hover:hover) {
  html:root .topbar .main-nav a:hover,
  html:root .topbar .main-nav .nav-menu:hover > a,
  html:root #neu .filters button:not(:disabled):hover {
    background:var(--mo-accent,#cd6b5b)!important;
    color:var(--theme-accent-text,#fff)!important;
    border-color:transparent!important;
    box-shadow:none!important;
  }
}

/* Keep resume tiles borderless at rest and highlight their full edge on interaction. */
html:root #continue-cards .continue-card::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:5;
  border:1px solid var(--mo-accent,#cd6b5b);
  border-radius:inherit;
  pointer-events:none;
  opacity:0;
}
html:root #continue-cards .continue-card:has(:focus-visible) {
  border-color:transparent!important;
}
html:root #continue-cards .continue-card:has(:focus-visible)::after {opacity:1}
@media (hover:hover) {
  html:root #continue-cards .continue-card:hover {
    border-color:transparent!important;
  }
  html:root #continue-cards .continue-card:hover::after {opacity:1}
}

/* Personal color favorites remain separate from the active theme selection. */
.profile-theme .theme-custom button {min-height:44px;padding:10px 16px;border:1px solid var(--mo-border,#34536d);border-radius:10px;cursor:pointer}
.theme-saved-colors {margin-top:22px}
.theme-saved-colors h3 {font-size:1rem;margin:0 0 8px}
.theme-saved-colors p {color:var(--muted,#aec0d0);line-height:1.5;margin:8px 0 12px}
.theme-saved-list {display:flex;flex-wrap:wrap;gap:12px}
.theme-saved-entry {display:flex;align-items:center;gap:4px;max-width:100%}
.theme-saved-entry .theme-preset {min-width:0}
.profile-theme .theme-color-remove {width:44px;height:44px;flex:none;padding:0;border:1px solid var(--mo-border,#34536d);border-radius:10px;font-size:24px;cursor:pointer}
#theme-colors-status {min-height:1.5em;font-size:.95rem}
@media(max-width:480px){.theme-custom #theme-color-remember {flex-basis:100%}.theme-saved-entry {width:100%}.theme-saved-entry .theme-preset {flex:1}}

/* The full synopsis opens from a text link, without a full-width button bar. */
html:root :is(#media-detail,.game-showcase) :is(.media-description-more,.film-summary-more,.game-description-more) {
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  width:fit-content;
  max-width:100%;
  align-self:flex-start;
  padding:0;
  text-align:left;
  text-shadow:0 1px 2px rgba(0,0,0,.95),0 2px 5px rgba(0,0,0,.9);
}
html:root :is(#media-detail,.game-showcase) :is(.media-description-more,.film-summary-more,.game-description-more):is(:hover,:focus-visible) {
  text-decoration:underline;
  text-underline-offset:3px;
}

/* Episode downloads use the account accent on hover and keyboard focus. */
html:root #media-detail .episode-tile .episode-download-icon:focus-visible {
  background:var(--mo-accent,#cd6b5b)!important;
  border-color:var(--mo-accent,#cd6b5b)!important;
  color:var(--theme-accent-text,#fff)!important;
}
@media (hover:hover) {
  html:root #media-detail .episode-tile .episode-download-icon:hover {
    background:var(--mo-accent,#cd6b5b)!important;
    border-color:var(--mo-accent,#cd6b5b)!important;
    color:var(--theme-accent-text,#fff)!important;
  }
}

/* Draw the highlight on the cover's outer border, also used for clipping. */
html:root #neu .card .thumb {border:1px solid transparent!important}
html:root #neu .card .thumb::after {
  border:0!important;
  box-shadow:none!important;
}
html:root #neu .card:focus-visible .thumb {
  border-color:var(--mo-accent,#cd6b5b)!important;
}
@media (hover:hover) {
  html:root:not([data-hover-cards-disabled]) #neu .card:hover .thumb {
    border-color:var(--mo-accent,#cd6b5b)!important;
  }
}

/* Catalog cover highlights match the fine homepage frame. */
html:root body:is(.catalog-compact,.catalog-alle-compact) .catalog-card,
html:root body:is(.catalog-compact,.catalog-alle-compact) .catalog-card .catalog-art {border-color:transparent!important}
html:root body:is(.catalog-compact,.catalog-alle-compact) .catalog-card .catalog-art {border-width:0!important}
html:root body:is(.catalog-compact,.catalog-alle-compact) .catalog-card .catalog-art::after {
  inset:0;
  border-radius:inherit;
  border-width:1px!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
html:root body:is(.catalog-compact,.catalog-alle-compact) .catalog-card:is(:hover,:focus-visible) .catalog-art::after {
  border-color:var(--mo-accent,#cd6b5b)!important;
}

/* Personal profile and shared header picture. */
html:root .account-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
html:root .account-avatar:has(img){overflow:hidden;background:transparent}
html:root #profile-avatar{margin-top:0}
html:root #profile-avatar + #profile-theme{margin-top:24px}
.profile-avatar-editor{display:flex;align-items:center;gap:24px;margin:24px 0}
.profile-avatar-preview{width:128px;height:128px;flex:0 0 128px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:var(--mo-surface-raised,#142b3d);color:var(--mo-accent,#cd6b5b);font-size:64px;border:1px solid var(--mo-border,#37566b)}
.profile-avatar-preview img{display:block;width:100%;height:100%;object-fit:cover}
.profile-avatar-fields{min-width:0;max-width:650px}.profile-avatar-fields label{display:block;font-weight:700;margin-bottom:12px}
.profile-avatar-fields input{max-width:100%;font:inherit;color:inherit}
.profile-avatar-fields input::file-selector-button{font:inherit;color:var(--mo-text,#eef4fa);background:var(--mo-surface-raised,#142b3d);border:1px solid var(--mo-border,#37566b);border-radius:8px;padding:10px 14px;margin-right:12px;cursor:pointer}
.profile-avatar-fields input::file-selector-button:hover{background:var(--mo-accent,#cd6b5b);color:var(--theme-accent-text,#fff)}
.profile-password-section{margin-top:28px;padding-top:24px;border-top:1px solid var(--mo-border,#37566b)}
#profile-password-fields{display:grid;gap:18px;padding:0;margin:20px 0 0;border:0;max-width:520px}
#profile-password-fields label{display:grid;gap:8px;font-weight:600}
html:root #profile-password-fields input{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--mo-border,#37566b);border-radius:10px;padding:12px;background:var(--mo-surface,#102537);color:var(--mo-text,#eef4fa);font:inherit}
#profile-password-fields button{justify-self:start}
#profile-password-fields input:focus-visible{outline:2px solid var(--mo-accent,#cd6b5b);outline-offset:2px}
.profile-credential-username{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);opacity:0}
@media(max-width:600px){.profile-avatar-editor{flex-direction:column;align-items:flex-start;gap:16px}.profile-avatar-preview{width:96px;height:96px;flex-basis:96px}#profile-avatar .theme-actions{display:flex;flex-wrap:wrap;gap:12px}#profile-avatar button{max-width:100%;white-space:normal}}
html:root #profile-avatar button{min-height:44px;padding:10px 16px;border:1px solid var(--mo-border,#37566b);border-radius:10px;background:var(--mo-surface-raised,#142b3d);color:var(--text,#eef4fa);font:inherit;cursor:pointer}
html:root #profile-avatar button[type=submit]{background:var(--mo-accent,#cd6b5b)!important;border-color:var(--mo-accent,#cd6b5b)!important;color:var(--theme-accent-text,#fff)!important}
html:root #profile-avatar button:not(:disabled):is(:hover,:focus-visible){border-color:var(--mo-accent,#cd6b5b)!important;filter:brightness(1.12)}

/* Dedicated account and appearance sections. */
.profile-page-title{margin:0 0 20px;font-size:clamp(26px,3vw,36px)}
.profile-section-nav{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}
html:root .profile-section-nav a{display:block;border:1px solid var(--mo-border,#37566b);border-radius:10px;padding:12px 18px;text-decoration:none;background:var(--mo-surface,#14283e);color:var(--text,#eef4fa);font-weight:600}
html:root .profile-section-nav a[aria-current=page]{background:var(--mo-accent,#cd6b5b)!important;border-color:var(--mo-accent,#cd6b5b)!important;color:var(--theme-accent-text,#fff)!important}
html:root .profile-section-nav a:is(:hover,:focus-visible){border-color:var(--mo-accent,#cd6b5b)!important;outline-offset:3px}
html:root .profile-main > .profile-theme[hidden]{display:none!important}
html:root #profile-avatar + #profile-theme{margin-top:0}
.profile-username-form{max-width:650px;padding-bottom:24px;margin-bottom:28px;border-bottom:1px solid var(--mo-border,#37566b)}
.profile-username-form label{display:grid;gap:8px;font-weight:600;max-width:520px}
html:root #profile-new-username{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--mo-border,#37566b);border-radius:10px;padding:12px;background:var(--mo-surface,#102537);color:var(--text,#eef4fa);font:inherit}
#profile-username-help{line-height:1.6;color:var(--muted,#aec0d0)}
#profile-username-status{min-height:1.5em}

/* Calendar: every control, popup and card follows the active palette. */
html:root :is(#calendar-app,.calendar-notifications,.calendar-selection-dialog){color:var(--text,#edf3f8);--calendar-accent-ink:color-mix(in srgb,var(--mo-accent,#cd6b5b) 70%,var(--text,#edf3f8) 30%)}
html:root #calendar-app :is(.calendar-controls,.calendar-card,.calendar-platform-options,.calendar-day),
html:root #calendar-app #calendar-date-picker>div,
html:root :is(#calendar-app,.calendar-notifications,.calendar-selection-dialog):is(dialog){background:var(--mo-surface,#14283e)!important;border-color:var(--mo-border,#34536d)!important;color:var(--text,#edf3f8)!important}
html:root #calendar-app #calendar-date-summary,
html:root #calendar-app :is(button,select,input,.calendar-platform-picker>summary),
html:root :is(#calendar-app,.calendar-notifications,.calendar-selection-dialog) :is(button,select,input,fieldset){background-color:var(--mo-surface,#14283e)!important;border-color:var(--mo-border,#34536d)!important;color:var(--text,#edf3f8)!important;accent-color:var(--mo-accent,#cd6b5b)!important}
html:root #calendar-app :is(.calendar-heading p,.calendar-field>span,.calendar-summary>span,.calendar-message,.calendar-date,.calendar-platforms,.calendar-users,.calendar-card details,.calendar-weekday,.calendar-day small,.calendar-empty,.calendar-footer,.calendar-platform-options small),
html:root :is(#calendar-app,.calendar-notifications,.calendar-selection-dialog) :is(small,.calendar-message,.calendar-field>span,.calendar-selection-note){color:var(--muted,#aec0d0)!important}
html:root #calendar-app :is(.calendar-card-type,.calendar-countdown:not(.available),.calendar-heading .calendar-eyebrow,.calendar-interest,.calendar-request-status),
html:root :is(#calendar-app,.calendar-notifications,.calendar-selection-dialog) a{color:var(--calendar-accent-ink,var(--mo-ice,#a9d5f2))!important}
html:root #calendar-app :is(.calendar-empty,.calendar-footer),
html:root :is(#calendar-app,.calendar-notifications,.calendar-selection-dialog) :is(fieldset,.calendar-notification-list article){border-color:var(--mo-border,#34536d)!important}
html:root #calendar-app .calendar-day.today,
html:root :is(#calendar-app,.calendar-notifications,.calendar-selection-dialog) .is-unread{border-color:var(--mo-accent,#cd6b5b)!important}
html:root #calendar-app .calendar-day .calendar-day-entry{border-left-color:var(--mo-accent,#cd6b5b)!important}
html:root #calendar-app .calendar-day>button:first-child{background:transparent!important}
html:root #calendar-app :is(.calendar-platform-picker[open]>summary,#calendar-date-picker[open]>summary){border-color:var(--mo-accent,#cd6b5b)!important;background-color:var(--mo-surface-raised,#1d3c51)!important}
html:root :is(#calendar-app,.calendar-notifications,.calendar-selection-dialog) button:not(:disabled):is(:hover,:focus-visible),
html:root :is(#calendar-app,.calendar-notifications,.calendar-selection-dialog) button[aria-pressed=true],
html:root .calendar-selection-dialog button[type=submit]{background:var(--mo-accent,#cd6b5b)!important;border-color:var(--mo-accent,#cd6b5b)!important;color:var(--theme-accent-text,#fff)!important}
html:root #calendar-app :is(summary,select,input):is(:hover,:focus-visible){border-color:var(--mo-accent,#cd6b5b)!important}
html:root #calendar-app .calendar-card summary:is(:hover,:focus-visible){color:var(--calendar-accent-ink)!important}
html:root #calendar-app .calendar-platform-options label:hover{background:var(--mo-surface-raised,#1d3c51);border-radius:6px}
html:root #calendar-app .calendar-card:focus-within{border-color:var(--mo-accent,#cd6b5b)!important}
@media(hover:hover){html:root #calendar-app .calendar-card:hover{border-color:var(--mo-accent,#cd6b5b)!important}}
html:root :is(#calendar-app,.calendar-notifications,.calendar-selection-dialog) :focus-visible{outline-color:var(--mo-accent,#cd6b5b)!important}
/* Keep the dropdown chevrons when the shared theme resets a control background. */
html:root body.calendar-page #calendar-app .calendar-controls :is(select,.calendar-platform-picker>summary,#calendar-date-summary){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23e4e7eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 10px center!important;background-size:12px 12px!important}
html:root :is(#calendar-app,.header-actions) :is(.calendar-bell,.calendar-header-link):is(:hover,:focus-visible,.active){border-color:var(--mo-accent,#cd6b5b)!important;color:var(--mo-accent,#cd6b5b)!important;outline-color:var(--mo-accent,#cd6b5b)!important}
html:root .calendar-bell-count{background:var(--mo-accent,#cd6b5b);color:var(--theme-accent-text,#fff)}

/* File manager: shared surfaces, subtle row highlighting and palette accents. */
html:root body.filemanager-fullscreen{--coral:var(--mo-accent,#cd6b5b);--coral-dark:var(--mo-accent,#cd6b5b);--panel:var(--mo-surface,#14283e);--panel-2:var(--mo-surface,#14283e);--line:var(--mo-border,#34536d);--line-soft:var(--mo-border,#34536d);--bg-deep:var(--theme-header,#071522);background:var(--mo-page-background,#071522)!important}
html:root body.filemanager-fullscreen :where(.file-panel,.toolbar,.workspace-dialog,.workspace-dialog>header,.workspace-dialog>footer,.confirm-dialog,.archive-summary,.upload-progress,#fm-library-dialog,#fm-library-frame){background:var(--mo-surface,#14283e)!important;border-color:var(--mo-border,#34536d)!important;color:var(--text,#edf3f8)!important;box-shadow:none!important}
html:root body.filemanager-fullscreen :where(.breadcrumbs,.notice,td,.archive-list>div,#fm-library-dialog>header){border-color:var(--mo-border,#34536d)!important}
html:root body.filemanager-fullscreen :where(.toolbar button,.workspace-dialog button,.confirm-dialog button:not(.danger),.upload-heading button,#fm-library-dialog>header button,#fm-library-dialog>header a){background:var(--mo-surface-raised,#1d3c51)!important;border-color:var(--mo-border,#34536d)!important;color:var(--text,#edf3f8)!important}
html:root body.filemanager-fullscreen :where(.toolbar,.workspace-dialog,.upload-heading,#fm-library-dialog>header) :is(button:not(.danger),a):not(:disabled):is(:hover,:focus-visible),
html:root body.filemanager-fullscreen :is(.toolbar,.workspace-dialog) button.primary{background:var(--mo-accent,#cd6b5b)!important;border-color:var(--mo-accent,#cd6b5b)!important;color:var(--theme-accent-text,#fff)!important}
html:root body.filemanager-fullscreen .confirm-dialog button:not(.danger):is(:hover,:focus-visible){border-color:var(--mo-accent,#cd6b5b)!important}
html:root body.filemanager-fullscreen :where(th,td,.entry-link small,.breadcrumbs button,.breadcrumbs i,.notice:not(.error):not(.success),.empty,.confirm-dialog p,.archive-summary,.archive-list small,.workspace-dialog>footer>span,#fm-library-context){color:var(--muted,#aec0d0)!important}
html:root body.filemanager-fullscreen :is(td.name-cell,.breadcrumbs button:last-child){color:var(--text,#edf3f8)!important}
html:root body.filemanager-fullscreen :is(.entry-link,.file-sort-button,.breadcrumbs button){background:transparent!important;border-color:transparent!important}
html:root body.filemanager-fullscreen :is(.breadcrumbs button,.file-sort-button):is(:hover,:focus-visible){color:var(--mo-ice,#a9d5f2)!important}
html:root body.filemanager-fullscreen tbody tr:is(:hover,:focus-within,:has(input:checked)){background:var(--mo-surface-raised,#1d3c51)!important}
html:root body.filemanager-fullscreen .entry-icon{background:var(--theme-soft,#102537)!important;border-color:var(--mo-border,#34536d)!important;color:var(--mo-ice,#a9d5f2)!important}
html:root body.filemanager-fullscreen .entry-icon.file{color:color-mix(in srgb,var(--mo-accent,#cd6b5b) 70%,var(--text,#edf3f8) 30%)!important}
html:root body.filemanager-fullscreen :is(.dialog-kicker,.archive-kind){color:var(--mo-accent,#cd6b5b)!important}
html:root body.filemanager-fullscreen .editor-dialog textarea{background:var(--theme-soft,#071827)!important;color:var(--text,#edf3f8)!important}
html:root body.filemanager-fullscreen :focus-visible{outline-color:var(--mo-accent,#cd6b5b)!important}
html:root body.filemanager-fullscreen :is(input[type=checkbox],progress){accent-color:var(--mo-accent,#cd6b5b)!important}
html:root body.filemanager-fullscreen .upload-meter progress::-webkit-progress-bar{background:var(--mo-surface-raised,#1d3c51)}
html:root body.filemanager-fullscreen .upload-meter progress::-webkit-progress-value{background:var(--mo-accent,#cd6b5b)}
html:root body.filemanager-fullscreen .upload-meter progress::-moz-progress-bar{background:var(--mo-accent,#cd6b5b)}
/* Destructive operations retain their distinct warning appearance. */
html:root body.filemanager-fullscreen .toolbar button.danger:not(:disabled){color:#ffb0b4!important;border-color:#814552!important}
@media(max-width:600px){
 html:root #calendar-app .calendar-controls :where(.calendar-platform-picker,#calendar-date-picker){min-width:0!important;max-width:100%}
 html:root #calendar-app .calendar-controls>.calendar-field:has(details){flex-basis:100%}
 html:root #calendar-app .calendar-controls :is(input,select,summary){box-sizing:border-box;max-width:100%}
 html:root #calendar-app .calendar-platform-options{box-sizing:border-box;max-width:calc(100vw - 64px)}
}
html:root body.filemanager-fullscreen .file-panel select{background:var(--mo-surface,#14283e)!important;color:var(--text,#edf3f8)!important;border-color:var(--mo-border,#34536d)!important}

/* Account menu: dark entries with a fine accent outline on interaction. */
html:root #account-menu.account-menu :is(a,button),
html:root #account-menu.account-menu :is(a,button):is(:hover,:focus-visible,[aria-expanded=true],[aria-current]){
 background:var(--mo-surface,#14283e)!important;
 color:var(--text,#eef3fb)!important;
 border:1px solid var(--mo-border,#34536d)!important;
 filter:none!important;
 box-shadow:none!important;
}
html:root #account-menu.account-menu :is(a,button):not(:disabled):is(:hover,:focus-visible,[aria-expanded=true],[aria-current=page]){
 border-color:var(--mo-accent,#cd6b5b)!important;
}
html:root #account-menu.account-menu :is(a,button):focus-visible{
 outline:1px solid var(--mo-accent,#cd6b5b)!important;
 outline-offset:2px!important;
}

/* Profile picture crop editor, matching the circular saved avatar. */
#avatar-crop{max-width:440px;padding:20px;border:1px solid var(--mo-border,#34536d);border-radius:12px;background:var(--mo-surface,#14283e)}
#avatar-crop[hidden]{display:none}
#avatar-crop h4{margin:0 0 10px}
#avatar-crop-help{font-size:14px;line-height:1.5;color:var(--muted,#aec0d0)}
#avatar-crop-canvas{display:block;width:min(100%,320px);height:auto;aspect-ratio:1;box-sizing:border-box;border:1px solid var(--mo-accent,#cd6b5b);border-radius:50%;touch-action:none;cursor:grab;margin:18px auto;background:var(--mo-surface-raised,#1d3c51)}
#avatar-crop-canvas:active{cursor:grabbing}
#avatar-crop label{display:block;margin:14px 0 6px}
html:root #profile-avatar #avatar-crop-zoom{display:block;width:100%;min-height:32px;padding:0;accent-color:var(--mo-accent,#cd6b5b);background:transparent!important}
#avatar-crop-reset{margin-top:12px}
.profile-avatar-preview canvas{display:block;width:100%;height:100%}

/* Theme-colored hover and keyboard focus for the header account button. */
html:root #account-button.account-button:is(:hover,:focus-visible){
 border-color:var(--mo-accent,#cd6b5b)!important;
}

/* Highlight the complete header search, including its icon. */
html:root .topbar .search:is(:hover,:focus-within){
 border-color:var(--mo-accent,#cd6b5b)!important;
}
html:root .topbar .search input:is(:hover,:focus,:focus-visible){
 outline:none!important;
 box-shadow:none!important;
 border-color:transparent!important;
}

/* Hide homepage card highlights when the profile disables hover effects. */
html:root[data-hover-cards-disabled] #continue-cards .continue-card {
  border-color:transparent!important;
  box-shadow:none!important;
}
html:root[data-hover-cards-disabled] #continue-cards .continue-card:not(:has(:focus-visible))::after {
  opacity:0!important;
}

/* The visible season button replaces the native select on series detail pages. */
@media (hover:hover) {
  html:root:not([data-hover-controls-disabled]) #media-detail.series-tiles-detail :is(.sd-download-head > .sd-select,#sd-click-and-load,.sd-content-tab).season-trigger:not(:disabled):hover {
    background-color:var(--mo-surface,#14283e)!important;
    color:var(--text,#eef3fb)!important;
    border-color:var(--mo-accent,#cd6b5b)!important;
  }
}

/* Open account groups and the current section use the active tab palette. */
html:root #account-menu.account-menu :is(.account-admin-toggle[aria-expanded=true],a[aria-current=page]),
html:root #media-detail.series-tiles-detail :is(.sd-download-head > .sd-select,#sd-click-and-load,.sd-content-tab).season-trigger:not(:disabled):is([aria-expanded=true],.sd-season-active + .season-trigger) {
  background:var(--mo-accent,#cd6b5b)!important;
  border-color:var(--mo-accent,#cd6b5b)!important;
  color:var(--theme-accent-text,#fff)!important;
}

/* Compact hover switch and paired background controls in the profile. */
#profile-theme .theme-hover-option > .theme-mode-switch {
  width:fit-content;
  max-width:100%;
  min-height:44px;
  padding:8px 12px;
  gap:14px;
}
#profile-theme .theme-hover-option input + .theme-mode-track {
  width:34px;
  height:20px;
}
#profile-theme .theme-hover-option input + .theme-mode-track::after {
  top:3px;
  left:3px;
  width:14px;
  height:14px;
}
#profile-theme .theme-hover-option input:checked + .theme-mode-track::after {
  transform:translateX(14px);
}
@media (min-width: 680px) {
  #profile-theme #web-background-setting {
    grid-template-columns:repeat(2,minmax(0,340px));
    grid-template-rows:auto auto;
    column-gap:16px;
    align-items:end;
  }
  #profile-theme #web-background-setting > label {grid-row:1;margin-top:0}
  #profile-theme #web-background-setting > select {grid-row:2}
  #profile-theme #web-background-setting > :is(label[for=web-background-mode],#web-background-mode) {grid-column:1}
  #profile-theme #web-background-setting > :is(label[for=web-background-oled-mode],#web-background-oled-mode) {grid-column:2}
}

/* Keep each width next to the setting it controls. */
#profile-theme .theme-hover-settings {display:flex;flex-wrap:wrap;gap:12px 24px;margin-bottom:16px}
#profile-theme .theme-hover-option {display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#profile-theme .theme-hover-width {display:flex;align-items:center;gap:6px;font-size:13px}
#profile-theme .theme-hover-width select {min-height:44px;padding:6px;font:inherit;border:1px solid var(--mo-border,#34536d);border-radius:7px}

@media (hover:hover) {
  html:root:not([data-hover-cards-disabled]) #continue-cards .continue-card:hover::after {
    border-width:var(--hover-cards-width,1px);
  }
  html:root:not([data-hover-cards-disabled]) #neu .card:hover .thumb::after {
    box-shadow:inset 0 0 0 calc(var(--hover-cards-width,1px) - 1px) var(--mo-accent,#cd6b5b)!important;
  }
  html:root:not([data-hover-cards-disabled]) :is(#media-detail .episode-tile,.calendar-card):hover {
    outline:var(--hover-cards-width,1px) solid var(--mo-accent,#cd6b5b);
    outline-offset:calc(-1 * var(--hover-cards-width,1px));
  }
  html:root:not([data-hover-cards-disabled]) body:is(.catalog-compact,.catalog-alle-compact) .catalog-card:hover .catalog-art::after {
    border-width:var(--hover-cards-width,1px)!important;
  }
}

/* Anchor each close control to its own window, including stacked dialogs. */
dialog, #fm-library-dialog, .media-player-surface:fullscreen {
  anchor-name: --mediaoase-window;
  anchor-scope: --mediaoase-window;
}
html:root body #filter-dialog #filter-cancel { display:none !important; }
html:root body :is(
  dialog button[aria-label$="schließen" i], .dialog-close, .filter-close,
  .icon-close, .lightbox-close, .artwork-close, .film-reference-trailer-close,
  .game-files-header > button.game-file-button, .calendar-notifications > header > button,
  .game-trailer-dialog > button:first-child, .game-description-dialog > button:last-child,
  .media-text-dialog > button:last-child, .game-cnl-dialog > .download-action,
  .game-detail-cnl-dialog > button:last-child, .sd-export-dialog > button:last-child,
  .detail-editor-loading > button, #filter-cancel, #fm-library-close,
  #wish-cancel, #library-cancel, #library-delete-cancel, #confirm-cancel,
  .calendar-selection-dialog .calendar-row-actions > button:first-child
) {
  position: absolute !important;
  inset: 12px 16px auto auto !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 30;
  @supports (top: anchor(top)) and (anchor-scope: --mediaoase-window) {
    position: fixed !important;
    position-anchor: --mediaoase-window;
    top: calc(anchor(top) + 12px) !important;
    right: calc(anchor(right) + 16px) !important;
  }
  box-sizing: border-box !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  flex: none !important;
  padding: 0 !important;
  border-radius: 50% !important;
  font-size: 0 !important;
  background-image:
    linear-gradient(45deg, transparent 43%, currentColor 44% 56%, transparent 57%),
    linear-gradient(-45deg, transparent 43%, currentColor 44% 56%, transparent 57%) !important;
  background-size: 9px 9px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}
html:root .artwork-editor button.artwork-close::before,
html:root .artwork-editor button.artwork-close::after { content: none; }

.game-download-rows .game-download-row > strong.game-file-name {
  font-weight: 650;
}
.game-folder-contents:not([hidden]) { display: contents; }
html:root .game-download-rows button.game-folder-toggle {
  display: block;
  width: 100%;
  text-align: start;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: inherit !important;
  font: inherit;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.game-folder-toggle::before {
  content: "";
  display: inline-block;
  width: .4em;
  height: .4em;
  margin-inline: .15em .65em;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}
.game-folder-toggle[aria-expanded="true"]::before { transform: translateY(-.12em) rotate(135deg); }
/* Cache-Version erneuert (23.11.2026): die Datei war zeitweise nicht lesbar (403). */
