/* Semantic palette shared by independently deployed Brecilia services.
 * Existing dark product styles stay authoritative until a service adapter opts in. */
:root {
  color-scheme:light;
  --page-background:#f3ecdf; --surface-primary:#fffaf0; --surface-secondary:#e9e1d3;
  --text-primary:#262b28; --text-secondary:#58615b; --brand-emerald:#163d30;
  --brand-gold:#a67c35; --brand-bronze:#6b4c22; --border-subtle:#cfc8b9;
  --control-border:#928673; --action-background:#163d30; --action-text:#fffdf9;
  --focus-ring:#163d30; --surface-shadow:0 16px 48px #6b4c2212;
  --editorial-font:Georgia,'Times New Roman',serif;
  --interface-font:'DM Sans',system-ui,sans-serif;
}
:root[data-theme=dark] {
  color-scheme:dark;
  --page-background:#101414; --surface-primary:#191e1e; --surface-secondary:#222828;
  --text-primary:#f0f2ec; --text-secondary:#a1aaa6; --brand-gold:#c6a665;
  --brand-bronze:#e1bc78; --border-subtle:#424b47;
  --control-border:#7d8c84; --action-background:#c3edc5; --action-text:#143c31;
  --focus-ring:#c3edc5; --surface-shadow:0 16px 48px #0003;
}
:root[data-theme=dark][data-contrast=more] {
  --page-background:#090b0b; --surface-primary:#090b0b; --surface-secondary:#181c1c;
  --text-primary:#fff; --text-secondary:#e4e4e4; --brand-gold:#ffe095;
  --brand-bronze:#ffe095; --border-subtle:#fff; --control-border:#fff;
  --action-background:#fff; --action-text:#090b0b; --focus-ring:#ffe095; --surface-shadow:none;
}
:root[data-theme=light][data-contrast=more] {
  --page-background:#fffdf9; --surface-primary:#fffdf9; --surface-secondary:#f3ece0;
  --text-primary:#161616; --text-secondary:#38322a; --brand-gold:#6b4c22;
  --brand-bronze:#6b4c22; --border-subtle:#1f1a14; --control-border:#1f1a14;
  --action-background:#143c31; --action-text:#fffdf9; --focus-ring:#143c31; --surface-shadow:none;
}
/* Alias mapping is opt-in; consumer-specific hardcoded surfaces need an audited adapter. */
[data-appearance-scope] {
  --bg:var(--page-background); --surface:var(--surface-primary); --surface2:var(--surface-secondary);
  --text:var(--text-primary); --muted:var(--text-secondary); --accent:var(--action-background);
  --border:var(--border-subtle); --line:var(--border-subtle); --panel:var(--surface-primary);
  background-color:var(--page-background); color:var(--text-primary);
}
.brecilia-appearance {position:relative;font:500 14px/1.5 var(--interface-font);color:var(--text-primary);z-index:60}
.brecilia-appearance-trigger {display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--control-border);border-radius:8px;list-style:none;cursor:pointer;background:var(--surface-primary)}
.brecilia-appearance-trigger::-webkit-details-marker {display:none}
.brecilia-appearance-icon {font-size:20px;line-height:1}
.brecilia-appearance-trigger:focus-visible,.brecilia-appearance input:focus-visible {outline:3px solid var(--focus-ring);outline-offset:3px}
.brecilia-appearance-panel {position:absolute;right:0;top:calc(100% + 10px);width:min(260px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:16px;border:1px solid var(--control-border);border-radius:12px;background:var(--surface-primary);box-shadow:var(--surface-shadow)}
.brecilia-appearance fieldset {margin:0;padding:0;border:0;min-width:0}
.brecilia-appearance-legend {font-size:13px;font-weight:700;margin-bottom:8px;color:var(--text-secondary)}
.brecilia-appearance-option {display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;padding:6px 8px;margin:0;border-radius:6px;color:var(--text-primary);font-size:14px}
.brecilia-appearance-option:hover {background:var(--surface-secondary)}
.brecilia-appearance input {display:inline-block!important;width:18px!important;height:18px!important;min-height:0!important;flex:none;accent-color:var(--action-background);margin:0!important;appearance:auto}
.brecilia-appearance-contrast {margin-top:8px;border-top:1px solid var(--border-subtle);border-radius:0;padding-top:14px}
:root[data-contrast=more] .brecilia-appearance-trigger,:root[data-contrast=more] .brecilia-appearance-panel {border-width:2px}
@media(prefers-reduced-motion:reduce) {.brecilia-appearance * {animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active) {.brecilia-appearance-trigger,.brecilia-appearance-panel {border-color:ButtonText;background:Canvas;color:CanvasText}.brecilia-appearance-option:hover {outline:1px solid Highlight}.brecilia-appearance input {accent-color:auto}}

/* Audited presentation adapters. Dark product styles retain their original colors. */
html[data-brecilia-service][data-theme=light],html[data-brecilia-service][data-contrast=more]{
 --bg:var(--page-background);--surface:var(--surface-primary);--surface2:var(--surface-secondary);
 --text:var(--text-primary);--muted:var(--text-secondary);--accent:var(--brand-emerald);
 --line:var(--border-subtle);--border:var(--border-subtle);--ink:var(--text-primary);--green:var(--action-background);
}
html[data-brecilia-service=main][data-theme=light],html[data-brecilia-service=main][data-contrast=more]{--paper:var(--text-primary)}
html[data-brecilia-area=admin][data-theme=light],html[data-brecilia-area=admin][data-theme=dark]{--paper:var(--page-background);--ink:var(--text-primary);--green:var(--action-background);--line:var(--border-subtle);--muted:var(--text-secondary)}
html[data-brecilia-service][data-theme=light] body{background:var(--page-background);color:var(--text-primary)}
html[data-brecilia-service][data-theme=light] :is(h1,h2,.hero-brand strong,.brand strong,.blog-brand,.brand span:first-child){font-family:Manrope,'DM Sans',sans-serif;font-weight:700;letter-spacing:-.025em}
html[data-brecilia-service][data-theme=light] :is(.hero-brand strong,.global-header .brand strong,.blog-brand){color:#674719;text-shadow:0 1px 0 #fff5d6}
@supports(background-clip:text){html[data-brecilia-service][data-theme=light][data-contrast=normal] :is(.hero-brand strong,.story-hero h1,.editorial-intro h1,.masthead h1){background:linear-gradient(110deg,#53320e 0%,#8c652c 23%,#8f6930 43%,#634117 66%,#8f6930 87%,#54330e 100%);background-clip:text;-webkit-background-clip:text;color:transparent;text-shadow:0 2px 2px #6b4c2218;filter:none}}
html[data-brecilia-service][data-theme=light] :is(.global-header,.ecosystem-header,.header,#topbar,.topbar){background:linear-gradient(110deg,#ebe5d9,#faf6ee 55%,#e7dfd1);border-color:#b4945b}
html[data-brecilia-service][data-theme=light] :is(.story-hero,.editorial-intro,.offer-intro,.masthead){background:linear-gradient(110deg,#f3ecdff2,#f6f0e6f2),url('/appearance-marble.jpg?v=dd8fc52aac67') center/cover;border-bottom:1px solid #b4945b}
html[data-brecilia-service=main][data-theme=light] .story-hero{box-shadow:inset 0 1px #fff5dc,inset 0 -1px #b4945b33}
html[data-brecilia-service=main][data-theme=light] .story-hero{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(28px,5vw,72px);align-items:center}
html[data-brecilia-service=main][data-theme=light] .story-hero>div:first-child{order:2}
html[data-brecilia-service=main][data-theme=light] .record-art{order:1;background:transparent;border:0;box-shadow:none;overflow:visible}
html[data-brecilia-service=main][data-theme=light] .hero-brand strong{font-size:clamp(45px,6.5vw,90px);font-weight:500;letter-spacing:.025em}
html[data-brecilia-service=main][data-theme=light] .story-hero h1{font-size:clamp(30px,3.7vw,54px);margin-top:24px;letter-spacing:-.025em}
html[data-brecilia-service=main][data-theme=light] .record-art p{color:var(--brand-bronze);letter-spacing:.15em}
html[data-brecilia-service=main][data-theme=light] .record{background:repeating-radial-gradient(circle at center,#103224 0px,#0b241a 5px,#b49346 6px,#102c20 7px,#0a2018 10px);border-color:#ae853d;box-shadow:inset 0 0 0 3px #e6c984,inset 0 0 0 10px #614919,0 22px 40px #49310c40}
html[data-brecilia-service=main][data-theme=light] .record span{width:55%;height:auto;aspect-ratio:1;min-height:0;line-height:1;display:grid;place-items:center;padding:0;border-radius:50%;color:#d7b565;font-family:Arial,Helvetica,sans-serif;font-size:clamp(100px,12vw,190px);font-weight:800;text-shadow:2px 3px 0 #604414,0 1px 0 #fff4c6}
html[data-brecilia-service=main][data-theme=light] .hero-brand span{color:#654821;letter-spacing:.25em;text-transform:uppercase;font-size:clamp(12px,1.4vw,18px)}
html[data-brecilia-service][data-theme=light] :is(.global-footer,.site-footer,.blog-footer){background:#e9e1d3;border-color:#b4945b;color:var(--text-primary)}
html[data-brecilia-service][data-theme=light] :is(.panel,.form-panel,.offer-card,.benefit-card,.story-card,.story-card--featured,.preview-card,.artist-registration-panel,.artist-studio,.ai-panel,.assistant-panel,.privacy-panel,.newsletter-panel){background:var(--surface-primary);border-color:var(--border-subtle);color:var(--text-primary);box-shadow:0 12px 30px #6148200c}
html[data-brecilia-service][data-theme=light] :is(.story-card:hover,.playlist-card:hover,.song-card:hover){background:#eee7db;border-color:#a6884c}
html[data-brecilia-service][data-theme=light] :is(button,.button,.more):not(.primary):not(.player-play):not(.brecilia-appearance-trigger):not(.platform-link){background:var(--surface-primary);border-color:var(--control-border);color:var(--text-primary)}
html[data-brecilia-service][data-theme=light] :is(button,.button,.more):not(.platform-link):hover{background:var(--surface-secondary);color:var(--text-primary)}
html[data-brecilia-service][data-theme=light] :is(.primary,button.primary,.button.primary,.player-play,.play-main){background:var(--action-background);color:var(--action-text);border-color:var(--action-background)}
html[data-brecilia-service][data-theme=light] :is(.primary,.player-play,.play-main):hover{background:#0d3227;color:var(--action-text)}
html[data-brecilia-service][data-theme=light] :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea,[contenteditable=true]){background:var(--surface-primary);color:var(--text-primary);border-color:var(--control-border)}
html[data-brecilia-service][data-theme=light] :is(input,textarea)::placeholder{color:#66543e;opacity:1}
html[data-brecilia-service][data-theme=light] :is(a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible){outline:3px solid var(--focus-ring);outline-offset:3px}
html[data-brecilia-service][data-theme=light] :is(dialog,.drawer-header,.drawer-body,.modal,.modal-header,.modal-body,.support-panel,.assistant-shell-panel,.privacy-consent-panel){background:var(--surface-primary);color:var(--text-primary);border-color:var(--control-border)}
html[data-brecilia-service][data-theme=light] :is(.brecilia-panel,.volume-popup){background:var(--surface-primary);color:var(--text-primary);border-color:var(--control-border);box-shadow:var(--surface-shadow)}
html[data-brecilia-service][data-theme=light] .brecilia-panel :is(a,button,input){color:var(--text-primary);border-color:var(--control-border)}
html[data-brecilia-service][data-theme=light] .brecilia-panel a{color:var(--brand-emerald)}
html[data-brecilia-service][data-theme=light] .volume-popup input{accent-color:var(--brand-emerald)}
html[data-brecilia-service][data-theme=light] :is(.cookie-banner,.privacy-dialog,.privacy-dialog>p,.privacy-option p,.breadcrumbs){background:var(--surface-primary);color:var(--text-primary);border-color:var(--control-border)}
html[data-brecilia-service][data-theme=light] :is(#privacy-banner,#privacy-dialog) .button{background:var(--surface-primary);color:var(--text-primary);border-color:var(--control-border)}
html[data-brecilia-service][data-theme=light] :is(#privacy-banner,#privacy-dialog) .button.primary{background:var(--action-background);color:var(--action-text);border-color:var(--action-background)}
html[data-brecilia-service][data-theme=light] :is(.launch-strip,.promo-strip,.launch-banner){background:var(--brand-emerald);color:var(--action-text)}
html[data-brecilia-service][data-theme=light] aside:is([aria-label="Would you prefer English?"],[aria-label="Prefere navegar em português?"],[aria-label="¿Prefieres navegar en español?"]){background:var(--surface-primary)!important;color:var(--text-primary)!important;border-color:var(--control-border)!important;box-shadow:var(--surface-shadow)!important}
html[data-brecilia-service][data-theme=light] aside:is([aria-label="Would you prefer English?"],[aria-label="Prefere navegar em português?"],[aria-label="¿Prefieres navegar en español?"]) a{color:var(--brand-emerald)!important}
html[data-brecilia-service][data-theme=light] :is(.brecilia-products a:hover,.brecilia-products a[aria-current=page],.nav-item:hover,.nav-item.active){background:#e7d2ab;color:var(--brand-emerald);border-color:#a48954}
/* Active ecosystem titles stay selected by their pill styling, without an underline in either theme. */
html[data-brecilia-service] .brecilia-products a[aria-current=page],html[data-brecilia-service] .brecilia-products a[aria-current=page]:is(:hover,:focus-visible){text-decoration:none!important;text-decoration-line:none!important}
html[data-brecilia-service][data-theme=light] :is(.eyebrow,.section-number,.text-link,.story-category){color:var(--brand-bronze)}
html[data-brecilia-service][data-theme=light] :is(.status.verified,.badge.verified,.verified-badge span){color:var(--brand-emerald)}
html[data-brecilia-service][data-theme=light] :is(.status.rejected,.error,.form-error){color:#8a2a20}
html[data-brecilia-service][data-theme=light] :is(.status.needs_improvement,.warning){color:#68420f}
html[data-brecilia-service=music][data-brecilia-area=admin][data-theme=light] #sidebar{background:linear-gradient(170deg,#e6d1a8,#f5e6cb);border-color:#b4945b}
html[data-brecilia-service=music][data-theme=light] :is(#player,.expanded-player,.player-expanded,#mobile-nav,.mobile-nav){background:linear-gradient(115deg,#e6d1a8,#f4e6cc);color:var(--text-primary);border-color:#af915c}
html[data-brecilia-service=music][data-contrast=more] #mobile-nav{background:var(--surface-primary);color:var(--text-primary);border-color:var(--control-border)}
html[data-brecilia-service=music][data-theme=light] :is(.hero,.artist-hero){background:var(--surface-primary);color:var(--text-primary)}
html[data-brecilia-service=music][data-theme=light] .hero-content{color:#fff8e9}
html[data-brecilia-service=music][data-theme=light] .hero-content h1{color:#fff8e9}
html[data-brecilia-service=music][data-theme=light] :is(.artist-hero-copy,.search-large,.top-search,.internal-note){background:var(--surface-secondary);color:var(--text-primary)}
html[data-brecilia-service=music][data-theme=light] :is(.player-spectrum,.audio-visualizer,.waveform){background:#143c31;border-radius:4px}
html[data-brecilia-service=music][data-theme=light] .artist-hero-copy :is(p,.muted,.hero-signature){color:var(--text-secondary)}
html[data-brecilia-service=music][data-theme=light] .genre-card{color:#fff8e9}
/* Music: keep trust marks and metadata legible across the warm light theme. */
html[data-brecilia-service=music][data-theme=light] :is(.trust.quality,.trust.provenance,.trust.mastered,.trust.enhanced,.trust.editor-pick,.trust.premium-artist){color:#49371f;background:#fffaf0;border:1px solid #9a7945;border-radius:999px;padding:3px 8px}
html[data-brecilia-service=music][data-theme=light] :is(.card-meta,.card-meta span,.row-quality,.row-index,.genre-count,.hero-number,.quality-label,.site-footer,.small-note,.private-label){color:#51483e}
html[data-brecilia-service=music][data-theme=light] .genre-count{color:#51483e}
html[data-brecilia-service=music][data-theme=light] .hero-number{color:#fff8e9}
html[data-brecilia-service=music][data-theme=light] :is(.language-switch>span,.owner-footer-rights,.site-footer .privacy-preferences-link){opacity:1;color:#51483e}
html[data-brecilia-service=music][data-theme=light] .premium-nav{color:#49371f;background:#e9e1d3;border:1px solid #9a7945}
/* Keep the Music "View more" tile readable in the light palette while preserving its emerald CTA treatment. */
html[data-brecilia-service=music][data-theme=light] .catalog-more-card{color:var(--action-text)}
html[data-brecilia-service=music][data-theme=light] .catalog-more-cover{color:var(--action-text);background:linear-gradient(145deg,#143c31,#102d25);border-color:#9a7945}
html[data-brecilia-service=music][data-theme=light] .catalog-more-card:hover .catalog-more-cover{color:var(--action-text);background:linear-gradient(145deg,#1d4a3b,#143c31);border-color:#856b3f}
/* Keep hero calls to action consistent with the site's other primary buttons. */
html[data-brecilia-service=music][data-theme=light] .artist-hero-copy :is(.primary,.button.primary){background:var(--action-background);color:var(--action-text);border:1px solid var(--action-background);box-shadow:none;text-shadow:none}
html[data-brecilia-service=music][data-theme=light] .artist-hero-copy :is(.primary,.button.primary):hover{background:#0d3227;color:var(--action-text);border-color:#0d3227}
html[data-brecilia-service=music][data-theme=dark] :is(.trust.quality,.trust.provenance,.trust.mastered,.trust.enhanced,.trust.editor-pick){background:#191e1e;border:1px solid #65736a;border-radius:999px;padding:3px 8px}
html[data-brecilia-service=music][data-theme=dark] .trust.quality{color:#bde8c8}
html[data-brecilia-service=music][data-theme=dark] .trust.provenance{color:#e4d7b9}
html[data-brecilia-service=music][data-theme=dark] .trust.mastered{color:#e4c47d}
html[data-brecilia-service=music][data-theme=dark] .trust.enhanced{color:#c9dfe7}
html[data-brecilia-service=music][data-theme=dark] .trust.editor-pick{color:#e1d3f1}
html[data-brecilia-service=music][data-theme=dark] .trust.premium-artist{color:#e9c875}
/* These two trust symbols are marks, not pill buttons. */
html[data-brecilia-service=music] :is(.trust.quality,.trust.premium-artist){background:transparent!important;border:0!important;border-radius:0!important;padding:0!important}
html[data-brecilia-service=music][data-theme=light] .trust.quality{color:var(--brand-emerald)}
html[data-brecilia-service=music][data-theme=light] .trust.premium-artist{color:var(--brand-bronze)}
html[data-brecilia-service=music] .language-switch button{background:transparent!important;border:0!important;box-shadow:none!important}
html[data-brecilia-service=music][data-theme=dark] :is(.hero-number,.genre-count){color:#d4ddd6}
html[data-brecilia-service=music][data-theme=dark] :is(.language-switch>span,.owner-footer-rights,.site-footer .privacy-preferences-link){opacity:1;color:#d4ddd6}
/* The light theme uses the supplied champagne marble as a quiet, continuous page texture. */
html[data-brecilia-service=music][data-theme=light] body{background-color:var(--page-background);background-image:linear-gradient(110deg,#f3ecdff2,#f3ecdff2),url('/appearance-marble.jpg?v=dd8fc52aac67');background-position:center top;background-size:cover;background-attachment:fixed}
@media(max-width:720px){html[data-brecilia-service=music][data-theme=light] body{background-attachment:scroll}}
/* Dark mode echoes the vinyl grooves and emerald/gold palette without a light marble wash. */
html[data-brecilia-service=music][data-theme=dark] body{background-color:var(--page-background);background-image:radial-gradient(ellipse at 78% 12%,#173a2c35,transparent 45%),repeating-radial-gradient(ellipse at 88% 18%,transparent 0 46px,#b08a3c0a 47px,#b08a3c0a 48px,transparent 49px 72px)}
/* Public Music shares the body's existing marble/vinyl canvas. No independent
   sidebar or header gradient: transparent chrome cannot restart the texture.
   Administrative surfaces, dialogs, input borders and focus rings stay intact. */
html[data-brecilia-service=music][data-brecilia-area=public] :is(#sidebar,#topbar,.workspace){background:transparent;border:0;box-shadow:none}
html[data-brecilia-service=music][data-brecilia-area=public] #topbar .brecilia-language-picker{border:0;box-shadow:none}
html[data-brecilia-service=music][data-brecilia-area=public] #main :is(.mastering-benefit,.artist-hero){background:var(--surface-secondary);border:0;box-shadow:var(--surface-shadow,0 12px 30px rgba(20,35,30,.12))}
html[data-brecilia-service=music][data-brecilia-area=public] #main .artist-hero-copy{background:transparent;border:0;box-shadow:none}
html[data-brecilia-service=music][data-brecilia-area=public] #main .panel:not(.artist-offer-card){background:transparent;border:0;box-shadow:none;margin-block:24px}
html[data-brecilia-service=music][data-brecilia-area=public] #main .track-table{border:0;display:grid;gap:4px;padding:12px 16px;border-radius:18px;background:color-mix(in srgb,var(--surface-primary,#fffaf0) 62%,transparent);box-shadow:var(--surface-shadow,0 10px 30px #29241b12)}
html[data-brecilia-service=music][data-brecilia-area=public] #main .track-row{border-block:0;border-radius:8px}
html[data-brecilia-service=music][data-brecilia-area=public] #main .track-row:hover{background:color-mix(in srgb,var(--surface-secondary) 38%,transparent)}
@media(max-width:720px){html[data-brecilia-service=music][data-brecilia-area=public] #main .track-table{padding:8px;border-radius:14px}}
html[data-brecilia-service=music][data-brecilia-area=public] #mobile-nav{background:color-mix(in srgb,var(--page-background) 95%,transparent);border:0;box-shadow:none;backdrop-filter:blur(14px)}
/* Smoked glass belongs to the player surface, never its text or controls. */
html[data-brecilia-service=music][data-brecilia-area=public] :is(#player,#drawer[data-player-sheet],#drawer[data-immediate-search],#topbar [data-action=open-search]){background:var(--page-background);box-shadow:0 -8px 32px #0000001f}
html[data-brecilia-service=music][data-brecilia-area=public] :is(#player,#drawer[data-player-sheet]){border:0}
html[data-brecilia-service=music][data-brecilia-area=public] #drawer:is([data-player-sheet],[data-immediate-search]) :is(.drawer-header,.drawer-body,.expanded-player){background:transparent}
html[data-brecilia-service=music][data-brecilia-area=public] #drawer[data-immediate-search]{box-shadow:0 14px 40px #00000026}
html[data-brecilia-service=music][data-brecilia-area=public] #topbar [data-action=open-search]{box-shadow:0 4px 16px #00000012}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 html[data-brecilia-service=music][data-brecilia-area=public] :is(#player,#drawer[data-player-sheet],#drawer[data-immediate-search],#topbar [data-action=open-search]){background:color-mix(in srgb,var(--page-background) 72%,transparent);backdrop-filter:blur(22px) saturate(.85);-webkit-backdrop-filter:blur(22px) saturate(.85)}
}
@media(prefers-reduced-transparency:reduce){html[data-brecilia-service=music][data-brecilia-area=public] :is(#player,#drawer[data-player-sheet],#drawer[data-immediate-search],#topbar [data-action=open-search]){background:var(--page-background);backdrop-filter:none;-webkit-backdrop-filter:none}}
html[data-brecilia-service=music][data-contrast=more] :is(#player,#drawer[data-player-sheet],#drawer[data-immediate-search],#topbar [data-action=open-search]){backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-brecilia-service=music][data-brecilia-area=public] #topbar{background:color-mix(in srgb,var(--page-background) 97%,transparent)}
/* Opaque bronze lettering with fine highlight and shadow for a restrained raised-gold finish. */
html[data-brecilia-service=music][data-theme=light] :is(.page-heading h1,.detail-header h1,.discovery-heading h1){color:#674719;text-shadow:0 1px 0 #f4e2b9,0 2px 0 #c4a15c,0 3px 5px #6b4c2226}
html[data-brecilia-service=music][data-theme=dark] :is(.page-heading h1,.detail-header h1,.discovery-heading h1){color:#e0c17a;text-shadow:0 1px 0 #47381c,0 2px 0 #8b6b30,0 3px 5px #0008}
html[data-brecilia-service=radio][data-theme=light] :is(.station-heading,.track-card,.now-playing,.player-card,.program-card,.social-radio-panel){color:var(--text-primary);border-color:var(--border-subtle)}
html[data-brecilia-service=radio][data-theme=light] :is(.station-panel,.related-card,.social-radio-panel){background:var(--surface-primary)}
html[data-brecilia-service=radio][data-theme=light] .ambient-shell{opacity:.08}
html[data-brecilia-service=blog][data-theme=light] :is(.article,.story-copy,.story-card--featured,.newsletter-widget,.audience-form){background:var(--surface-primary);color:var(--text-primary)}
html[data-brecilia-service=blog][data-theme=light] .article-body{color:var(--text-primary)}
html[data-brecilia-service=blog][data-theme=light] .article-body a{color:var(--brand-emerald);text-decoration:underline;text-underline-offset:3px}
html[data-brecilia-area=admin][data-theme=dark] body,html[data-brecilia-area=admin][data-theme=dark] :is(.panel,.editorial-panel,.research-panel,.admin-card,.dashboard-card,.modal,dialog){background:var(--surface-primary);color:var(--text-primary)}
html[data-brecilia-area=admin][data-theme=dark] :is(input,select,textarea,button){background:var(--surface-secondary);color:var(--text-primary);border-color:var(--control-border)}
html[data-brecilia-service][data-contrast=more] :is(.story-hero,.editorial-intro,.offer-intro,.masthead,.global-header,.header,.ecosystem-header,#sidebar,#topbar,#player,.expanded-player,.global-footer,.site-footer,.blog-footer,.panel,.story-card,dialog,.drawer-header){background:var(--surface-primary)!important;box-shadow:none!important;border-color:var(--control-border)!important;color:var(--text-primary)!important}
html[data-brecilia-service][data-contrast=more] :is(a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible){outline:3px solid var(--focus-ring)!important;outline-offset:4px}
html[data-brecilia-service][data-contrast=more] :is(.brecilia-panel,.cookie-banner,.privacy-dialog,.volume-popup){background:var(--surface-primary)!important;color:var(--text-primary)!important;border-color:var(--control-border)!important;box-shadow:none!important}
html[data-brecilia-service][data-contrast=more] :is(button,.button,.more,input,select,textarea){border-color:var(--control-border)!important}
html[data-brecilia-service][data-contrast=more] :is(.primary,.play-main,.player-play){background:var(--action-background)!important;color:var(--action-text)!important}
html[data-brecilia-service][data-contrast=more]{--accent:var(--action-background)}
[data-appearance-control]{display:inline-flex;flex-shrink:0;align-self:center;position:relative;z-index:65}
/* Keep Music's vertical navigation on the left; actions stay at the right of the top bar. */
@media(min-width:721px){html[data-brecilia-service=music] #sidebar{left:0;right:auto;border-left:0}html[data-brecilia-service=music][data-brecilia-area=admin] #sidebar{border-right:1px solid var(--line)}html[data-brecilia-service=music] .workspace{margin-left:var(--sidebar);margin-right:0}}
@media(min-width:1200px){html[data-brecilia-service=music] #topbar .brecilia-products{margin-left:auto;justify-content:flex-end}}
.header-inner:has([data-appearance-control]),.header-actions:has([data-appearance-control]),#topbar:has([data-appearance-control]){gap:14px}
.brecilia-appearance-trigger{white-space:nowrap}
@media(max-width:600px){.brecilia-appearance-trigger{padding:8px;min-width:44px}.brecilia-appearance-trigger>span:not(.brecilia-appearance-icon){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0)}.header-inner:has([data-appearance-control]),.header-actions:has([data-appearance-control]){gap:8px}}
@media(max-width:800px){html[data-brecilia-service=main][data-theme=light] .story-hero{grid-template-columns:1fr;gap:28px}html[data-brecilia-service=main][data-theme=light] .story-hero>div:first-child{order:1}html[data-brecilia-service=main][data-theme=light] .record-art{order:2}}

/* Restore Music's original light foreground for the dark-theme welcome heading. */
html[data-brecilia-service=music][data-theme=dark] .page-heading h1{color:var(--text-primary);text-shadow:none}

/* Keep song-row check and star marks compact, theme-aware, and easy to scan. */
html[data-brecilia-service=music] .track-row :is(.trust.quality,.trust.mastered){display:inline-flex;align-items:center;justify-content:center;background:var(--surface-primary);border:1px solid var(--control-border);border-radius:999px;box-shadow:none;padding:2px 7px;margin-inline:3px;color:inherit;text-shadow:none;min-width:30px;min-height:22px}
html[data-brecilia-service=music][data-theme=light] .track-row .trust.quality{color:#287344}
html[data-brecilia-service=music][data-theme=light] .track-row .trust.mastered{color:#95691f}
html[data-brecilia-service=music][data-theme=dark] .track-row .trust.quality{color:#a8e6b7}
html[data-brecilia-service=music][data-theme=dark] .track-row .trust.mastered{color:#edc766}

/* Keep Music footer actions clear and color-matched in both appearance modes. */
html[data-brecilia-service=music][data-theme=light] :is(.site-footer .support-entry,.site-footer :is(.primary,button:not(.privacy-preferences-link))){background:#143c31;border-color:#143c31;color:#fffdf9;opacity:1;box-shadow:none}
html[data-brecilia-service=music][data-theme=light] .support-entry{background:#143c31;border-color:#143c31;color:#fffdf9;opacity:1;box-shadow:none}
html[data-brecilia-service=music][data-theme=light] :is(.site-footer .music-privacy-method-link,.site-footer [data-newsletter-privacy]){color:#51483e;opacity:1}
html[data-brecilia-service=music][data-theme=dark] :is(.site-footer .primary,.site-footer button:not(.privacy-preferences-link),.support-entry){background:#c3edc5;border-color:#c3edc5;color:#143c31;opacity:1;box-shadow:none}
html[data-brecilia-service=music][data-theme=dark] :is(.site-footer .music-privacy-method-link,.site-footer [data-newsletter-privacy]){color:#d4ddd6;opacity:1}

/* Keep Music's persistent player fully integrated with each appearance. */
html[data-brecilia-service=music][data-theme=light] #player .player-info-button{background:transparent;border-color:transparent;box-shadow:none;color:#28231d}
html[data-brecilia-service=music][data-theme=light] #player .player-info-button:hover{background:transparent;color:#674719}
html[data-brecilia-service=music][data-theme=light] #player :is(.player-title,.player-info-button .player-title){color:#28231d;opacity:1}
html[data-brecilia-service=music][data-theme=light] #player .player-info-button .muted{color:#51483e;opacity:1}
html[data-brecilia-service=music][data-theme=light] #player .player-controls .icon-btn{background:transparent;border-color:transparent;color:#49371f;box-shadow:none}
html[data-brecilia-service=music][data-theme=light] #player .player-controls .icon-btn:hover{background:#e6d1a8;color:#3a2a12}
html[data-brecilia-service=music][data-theme=light] #player .player-controls .player-play{background:#143c31;border-color:#143c31;color:#fffdf9}
html[data-brecilia-service=music][data-theme=light] #player .player-spectrum{background:transparent;border-radius:0}
html[data-brecilia-service=music][data-theme=light] #player .player-spectrum i{background:linear-gradient(180deg,#d8b96a,#98671f);box-shadow:0 0 5px #98671f24}
html[data-brecilia-service=music][data-theme=light] #player .progress-row{color:#51483e;opacity:1}
html[data-brecilia-service=music][data-theme=light] #player .progress-row input{accent-color:#143c31;opacity:1}
html[data-brecilia-service=music][data-theme=dark] #player .player-info-button{background:transparent;border-color:transparent;box-shadow:none;color:#f0f2ec}
html[data-brecilia-service=music][data-theme=dark] #player .player-info-button:hover{background:transparent;color:#e4c47d}
html[data-brecilia-service=music][data-theme=dark] #player :is(.player-title,.player-info-button .player-title){color:#f0f2ec;opacity:1}
html[data-brecilia-service=music][data-theme=dark] #player .player-info-button .muted{color:#d4ddd6;opacity:1}
html[data-brecilia-service=music][data-theme=dark] #player .player-controls .icon-btn{background:transparent;border-color:transparent;color:#f0f2ec;box-shadow:none}
html[data-brecilia-service=music][data-theme=dark] #player .player-controls .icon-btn:hover{background:#222828;color:#edc766}
html[data-brecilia-service=music][data-theme=dark] #player .player-controls .player-play{background:#c3edc5;border-color:#c3edc5;color:#143c31}
html[data-brecilia-service=music][data-theme=dark] #player .player-spectrum{background:transparent;border-radius:0}
html[data-brecilia-service=music][data-theme=dark] #player .player-spectrum i{background:linear-gradient(180deg,#c3edc5,#c6a665);box-shadow:0 0 5px #c3edc533}
html[data-brecilia-service=music][data-theme=dark] #player .progress-row{color:#d4ddd6;opacity:1}
html[data-brecilia-service=music][data-theme=dark] #player .progress-row input{accent-color:#c3edc5;opacity:1}

/* Owner social links appear on every Music route; recolor their white raster marks for the active theme. */
html[data-brecilia-service=music][data-theme=light] .owner-footer-identity{color:#51483e}
html[data-brecilia-service=music][data-theme=light] :is(.owner-footer-name,.owner-footer-rights){color:#51483e;opacity:1}
html[data-brecilia-service=music][data-theme=light] .owner-footer-links a{color:#674719;border-color:#856b3f99}
html[data-brecilia-service=music][data-theme=light] .owner-footer-links img{filter:grayscale(1) brightness(0);opacity:.82}
html[data-brecilia-service=music][data-theme=light] .owner-footer-links a:hover{background:#e9e1d3}
html[data-brecilia-service=music][data-theme=dark] .owner-footer-identity{color:#f0f2ec}
html[data-brecilia-service=music][data-theme=dark] :is(.owner-footer-name,.owner-footer-rights){color:#d4ddd6;opacity:1}
html[data-brecilia-service=music][data-theme=dark] .owner-footer-links a{color:#e4d7b9;border-color:#7d8c84}
html[data-brecilia-service=music][data-theme=dark] .owner-footer-links img{filter:grayscale(1) brightness(0) invert(1);opacity:.9}
html[data-brecilia-service=music][data-theme=dark] .owner-footer-links a:hover{background:#222828}

/* Combine the three legal/company links into one accessible, compact footer menu. */
html[data-brecilia-service] .brecilia-footer-legal{position:relative;display:inline-flex;align-items:center;z-index:30}
html[data-brecilia-service] .brecilia-footer-legal>summary{display:inline-flex;align-items:center;gap:6px;list-style:none;cursor:pointer;color:inherit;font:inherit;white-space:nowrap}
html[data-brecilia-service] .brecilia-footer-legal>summary::-webkit-details-marker{display:none}
html[data-brecilia-service] .brecilia-footer-legal>summary::after{content:'⌄';font-size:.85em;line-height:1;opacity:.8}
html[data-brecilia-service] .brecilia-footer-legal[open]>summary::after{content:'⌃'}
html[data-brecilia-service] .brecilia-footer-legal>summary:focus-visible{outline:2px solid var(--focus-ring);outline-offset:4px;border-radius:3px}
html[data-brecilia-service] .brecilia-footer-legal-links{position:absolute;inset-inline-start:0;bottom:calc(100% + 10px);display:grid;gap:2px;min-width:168px;padding:7px;border:1px solid var(--control-border);border-radius:9px;background:var(--surface-primary);color:var(--text-primary);box-shadow:var(--surface-shadow);white-space:nowrap}
html[data-brecilia-service] .brecilia-footer-legal:not([open]) .brecilia-footer-legal-links{display:none}
html[data-brecilia-service] .brecilia-footer-legal-links a{display:block;padding:8px 10px;border-radius:5px;color:var(--text-primary);text-decoration:none!important}
html[data-brecilia-service] .brecilia-footer-legal-links a:hover{background:var(--surface-secondary);color:var(--text-primary)}

/* Match the selected-tab treatment across both themes without an underline. */
html[data-brecilia-service] .brecilia-products a,html[data-brecilia-service] .brecilia-products a:hover,html[data-brecilia-service] .brecilia-products a:focus-visible,html[data-brecilia-service] .brecilia-products a[aria-current=page]{text-decoration:none!important;text-decoration-line:none!important}

/* Keep the Brecilia terms menu attached to its disclosure. */
html[data-brecilia-service] .brecilia-footer-legal-menu{position:absolute;inset-inline-end:0;bottom:calc(100% + 10px);z-index:40;min-width:210px;max-width:calc(100vw - 32px);display:none;gap:2px;padding:7px;border:1px solid var(--control-border);border-radius:9px;background:var(--surface-primary);color:var(--text-primary);box-shadow:var(--surface-shadow);white-space:normal}
html[data-brecilia-service] .brecilia-footer-legal[open]>.brecilia-footer-legal-menu{display:grid}
html[data-brecilia-service] .brecilia-footer-legal-menu>:is(a,button){display:flex;align-items:center;width:100%;min-height:44px;padding:8px 10px;border:0;border-radius:5px;background:transparent;color:inherit;font:inherit;font-size:12px;text-align:start;text-decoration:none;white-space:normal}
html[data-brecilia-service] .brecilia-footer-legal-menu>:is(a,button):hover{background:var(--surface-secondary);color:inherit}

/* Give section actions a compact, consistent button treatment. */
html[data-brecilia-service=music] .section-heading{gap:16px}
html[data-brecilia-service=music] .section-heading .section-action{flex:0 0 auto;min-height:34px;padding:6px 12px;font-size:12px;line-height:1.2;white-space:nowrap;text-decoration:none}
html[data-brecilia-service=music] .card-grid.catalog-preview-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));align-items:start}
html[data-brecilia-service=music] .catalog-preview-grid .music-card{min-width:0}
html[data-brecilia-service=music] .catalog-preview-grid .cover{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}

/* Keep language choices on the header surface in both themes. */
html[data-brecilia-service] :is(.language-switch,.language-selector,.language,.language-links) :is(a,button){background:transparent!important;background-image:none!important;border-color:transparent!important;box-shadow:none!important}

/* Keep every Explore card fully inside its grid, including new releases and artists. */
html[data-brecilia-service=music] body[data-route=explore] :is(.card-grid,.discovery-artist-rail){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:24px 20px;overflow:visible;padding-bottom:0;scroll-snap-type:none}
html[data-brecilia-service=music] body[data-route=explore] :is(.music-card,.artist-card,.playlist-card,.discovery-artist){width:auto;min-width:0;max-width:100%}
html[data-brecilia-service=music] body[data-route=explore] .music-card .cover{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:12px}
html[data-brecilia-service=music] :is(.card-artist-row,.track-row) .trust{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0;padding:0;min-width:0;min-height:0}
@media(max-width:640px){html[data-brecilia-service=music] body[data-route=explore] :is(.card-grid,.discovery-artist-rail){grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}}


/* Compact Music mobile header: two rows, with search available in bottom navigation. */
@media(max-width:700px){
 html[data-brecilia-service=music] #topbar{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;grid-template-areas:"brand account appearance" "products language language";align-items:center;gap:4px 6px;height:auto;min-height:0;flex-wrap:unset;padding:8px 12px;}
 html[data-brecilia-service=music] #topbar .top-context{grid-area:brand;min-width:0;margin:0;white-space:nowrap;}
 html[data-brecilia-service=music] #topbar .desktop-label{display:none;}
 html[data-brecilia-service=music] #topbar .mobile-brand{display:flex;min-height:44px;padding:0;gap:6px;font-size:24px;line-height:1;letter-spacing:-1px;}
 html[data-brecilia-service=music] #topbar .mobile-brand svg{width:24px;height:24px;}
 html[data-brecilia-service=music] #topbar .mobile-brand span{left:30px;top:31px;font-size:8px;line-height:1;letter-spacing:2px;}
 html[data-brecilia-service=music] #topbar [data-appearance-control]{grid-area:appearance;justify-self:end;margin:0;padding:0;}
 html[data-brecilia-service=music] #topbar .brecilia-appearance{margin:0;padding:0;border:0;}
 html[data-brecilia-service=music] #topbar .brecilia-appearance-trigger{width:44px;height:44px;min-height:44px;padding:0;justify-content:center;gap:0;}
 html[data-brecilia-service=music] #topbar .brecilia-appearance-trigger>span:not(.brecilia-appearance-icon){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);}
 html[data-brecilia-service=music] #topbar .top-actions{display:contents;}
 html[data-brecilia-service=music] #topbar .account-link{grid-area:account;min-height:40px;margin:0;padding:8px 10px;font-size:12px;line-height:1.2;white-space:nowrap;}
 html[data-brecilia-service=music] #topbar .language-switch{grid-area:language;justify-self:end;display:flex;align-items:center;gap:0;white-space:nowrap;}
 html[data-brecilia-service=music] #topbar .language-switch button{min-width:28px;min-height:40px;padding:4px;font-size:12px;}
 html[data-brecilia-service=music] #topbar .language-switch>span{font-size:10px;margin:0;}
 html[data-brecilia-service=music] #topbar :is(.top-search,.top-artist-link){display:none;}
 html[data-brecilia-service=music] #topbar .brecilia-products{grid-area:products;display:flex;order:0;flex:initial;width:auto;min-width:0;justify-content:flex-start;flex-wrap:nowrap;gap:2px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;}
 html[data-brecilia-service=music] #topbar .brecilia-products::-webkit-scrollbar{display:none;}
 html[data-brecilia-service=music] #topbar .brecilia-products>a{flex:0 0 auto;min-height:40px;padding:6px;font-size:11px;letter-spacing:0;}
 html[data-brecilia-service=music] .site-footer{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:start!important;justify-content:stretch!important;gap:18px!important;padding:22px 16px calc(168px + env(safe-area-inset-bottom))!important;text-align:center!important;}
 html[data-brecilia-service=music] .site-footer .music-footer-brand{display:contents!important;}
 html[data-brecilia-service=music] .site-footer [data-brecilia-footer]{grid-column:auto;min-width:0;padding:0;border:0;}
 html[data-brecilia-service=music] .site-footer .brecilia-footer-nav{justify-content:flex-start;gap:4px 14px;}
 html[data-brecilia-service=music] .site-footer .brecilia-footer-nav a{min-height:40px;white-space:normal;}
 html[data-brecilia-service=music] .site-footer [data-owner-footer],html[data-brecilia-service=music] .site-footer .music-footer-subscribe,html[data-brecilia-service=music] .site-footer .music-footer-meta{grid-column:auto;min-width:0;width:100%;}
 html[data-brecilia-service=music] .site-footer .music-footer-meta{align-items:center;justify-content:center;text-align:center;gap:10px;}
 html[data-brecilia-service=music] .site-footer .owner-footer-links{grid-template-columns:repeat(5,42px);gap:8px;}
 html[data-brecilia-service=music] .site-footer .owner-footer-links a{width:42px;height:42px;}
}

/* Before the first successful playback, give the mobile content the player space. */
@media(max-width:720px){
 html[data-brecilia-service=music]:not([data-player-active=true]){--player:0px!important;}
 html[data-brecilia-service=music]:not([data-player-active=true]) #player{display:none!important;}
 html[data-brecilia-service=music]:not([data-player-active=true]) .workspace{padding-bottom:calc(82px + env(safe-area-inset-bottom));}
 html[data-brecilia-service=music]:not([data-player-active=true]) .site-footer{padding-bottom:20px!important;}
 html[data-brecilia-service=music]:not([data-player-active=true]) #toast{bottom:calc(80px + env(safe-area-inset-bottom));}
}

/* App shell: listening navigation stays primary; ecosystem links live in More. */
@media(max-width:720px){
 html[data-app-mode=true][data-brecilia-service=music] #topbar{grid-template-columns:minmax(0,1fr) 44px 44px;grid-template-areas:"brand appearance more";padding:8px 16px;position:sticky;top:0;z-index:24;}
 html[data-app-mode=true] #topbar .app-menu{grid-area:more;position:relative;margin:0;padding:0;border:0;}
 html[data-app-mode=true] .app-menu>summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;cursor:pointer;list-style:none;border:0;}
 html[data-app-mode=true] .app-menu>summary::-webkit-details-marker{display:none;}
 html[data-app-mode=true] .app-menu-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(280px,calc(100vw - 32px));max-height:calc(100dvh - 100px);overflow:auto;padding:12px;border:1px solid var(--control-border);border-radius:14px;background:var(--surface-primary);color:var(--text-primary);box-shadow:var(--surface-shadow);}
 html[data-app-mode=true] .app-menu:not([open])>.app-menu-panel{display:none;}
 html[data-app-mode=true] #topbar .app-menu-panel .brecilia-products{display:grid;grid-template-columns:1fr;gap:2px;overflow:visible;width:100%;}
 html[data-app-mode=true] #topbar .app-menu-panel :is(.brecilia-products>a,.account-link,a){min-height:44px;padding:10px 12px;font-size:14px;display:flex;justify-content:flex-start;}
 html[data-app-mode=true] #topbar .app-menu-panel .top-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;}
 html[data-app-mode=true] #topbar .app-menu-panel .language-switch{justify-self:auto;justify-content:flex-start;}
 html[data-app-mode=true] .site-footer{display:none!important;}
 html[data-app-mode=true] body[data-route=home] .page-heading .eyebrow{display:none;}
 html[data-app-mode=true] body[data-route=home] .page-heading h1{font-size:26px;text-shadow:none;letter-spacing:-.6px;}
 html[data-app-mode=true] main{padding:20px 16px 32px;}
 html[data-app-mode=true] #mobile-nav{height:calc(66px + env(safe-area-inset-bottom));}
 html[data-app-mode=true] #mobile-nav a{flex:1;min-width:0;}
 html[data-app-mode=true] #player [data-action=share]{display:inline-flex;}
}
.brand-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:180px;gap:12px;}
.loading-sound{position:relative;display:grid;place-items:center;width:min(300px,80vw);height:180px;}
.loading-sound img{width:112px;height:112px;border-radius:50%;position:relative;z-index:1;}
.loading-sound i{position:absolute;width:122px;height:122px;border:2px solid var(--accent);border-radius:50%;animation:brecilia-sound-wave 3s ease-out infinite;opacity:0;}
.loading-sound i:nth-child(2){animation-delay:1s;}.loading-sound i:nth-child(3){animation-delay:2s;}
.loading-name{font-size:20px;font-weight:650;color:var(--text);}
@keyframes brecilia-sound-wave{0%{transform:scale(.9,1);opacity:0;}15%{opacity:.65;}100%{transform:scale(2.4,1.3);opacity:0;}}
@media(prefers-reduced-motion:reduce){.loading-sound i{animation:none;opacity:.2;}.loading-sound i:nth-child(2){transform:scale(1.3,1.1);}.loading-sound i:nth-child(3){transform:scale(1.6,1.2);}}
@media(max-width:720px){
 html[data-app-mode=true] body[data-route=home] .artist-hero{display:grid;grid-template-columns:104px minmax(0,1fr);min-height:0;gap:14px;padding:14px;margin-bottom:24px;border-radius:14px;}
 html[data-app-mode=true] body[data-route=home] .artist-hero-art{position:static;width:100%;height:104px;min-height:0;}
 html[data-app-mode=true] body[data-route=home] .artist-hero-art img{width:100%;height:104px;object-fit:cover;border-radius:10px;}
 html[data-app-mode=true] body[data-route=home] .artist-hero-copy{padding:0;min-width:0;}
 html[data-app-mode=true] body[data-route=home] .artist-hero-copy h2{font-size:21px;line-height:1.2;margin:0 0 10px;}
 html[data-app-mode=true] body[data-route=home] .artist-hero-copy :is(p,.eyebrow,.hero-signature),html[data-app-mode=true] body[data-route=home] .artist-hero-copy .button-row>a{display:none;}
 html[data-app-mode=true] body[data-route=home] .artist-hero-copy .primary{min-height:40px;padding:8px 12px;font-size:13px;}
 html[data-app-mode=true] body[data-route=home] .card-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(140px,42vw);overflow-x:auto;max-width:100%;gap:14px;padding-bottom:10px;scroll-snap-type:x proximity;}
 html[data-app-mode=true] body[data-route=home] .music-card{min-width:0;scroll-snap-align:start;}
 html[data-app-mode=true] .section-heading h2{font-size:20px;}
}

html[data-brecilia-service=music][data-theme=light] .artist-free-promotion{background:var(--surface-secondary);color:var(--text-primary)}

html[data-brecilia-service=music][data-theme=light] #mobile-nav a{color:#564935}
html[data-brecilia-service=music][data-theme=light] #mobile-nav a:is(.active,:hover,:focus-visible){color:#164332;background:#e7d2ab;border-radius:8px}
html[data-brecilia-service=music][data-theme=light] #mobile-nav svg{stroke:currentColor}
html[data-brecilia-service=music][data-contrast=more] #mobile-nav a{color:var(--text-primary)!important}
html[data-brecilia-service=music][data-contrast=more] #mobile-nav a.active{color:var(--action-background)!important;text-decoration:underline;text-underline-offset:4px}

/* Mobile listening layout, shared by browser and installed app. */
@media(max-width:720px){
 html[data-brecilia-service=music] body:not([data-route=admin]) main{padding:20px 16px 32px;min-width:0;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .page-heading{margin-bottom:20px;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .page-heading h1{font-size:28px;line-height:1.15;letter-spacing:-.7px;text-shadow:none;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .artist-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;min-height:228px;height:auto;gap:0;padding:0;margin:0 0 28px;border-radius:16px;background:#14251f;color:#fff;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .artist-hero-art{position:absolute;inset:0;grid-area:auto;width:100%;height:100%;min-height:0;margin:0;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .artist-hero-art>a{display:block;width:100%;height:100%;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .artist-hero-art img{position:absolute;inset:0;display:block;width:100%;height:100%;border-radius:0;object-fit:cover;object-position:center 28%;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .artist-hero-art:after{pointer-events:none;background:linear-gradient(90deg,rgba(8,20,16,.8),rgba(8,20,16,.08)),linear-gradient(0deg,rgba(8,20,16,.9),transparent 85%);}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .artist-hero-copy{grid-area:1/1;position:relative;align-self:end;min-width:0;padding:24px 20px;margin:0;color:#fff;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .artist-hero-copy h2{font-size:clamp(26px,7.5vw,34px);line-height:1.08;letter-spacing:-.7px;margin:0 0 14px;color:#fff;overflow-wrap:anywhere;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .artist-hero-copy h2 a{color:inherit;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .artist-hero-copy :is(p,.eyebrow,.hero-signature,.trust-badges){display:none;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .artist-hero-copy .button-row{display:flex;flex-wrap:wrap;gap:8px;margin:0;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .artist-hero-copy .button-row>a{display:inline-flex;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .artist-hero-copy .button-row>:is(a,button){align-items:center;justify-content:center;min-height:44px;padding:10px 12px;font-size:12px;line-height:1.2;border-radius:24px;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .artist-hero-copy .button-row>.primary{background:#e8d5af;color:#18392d;border-color:#e8d5af;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) .artist-hero-copy .button-row>a:not(.primary){background:rgba(12,25,20,.55);color:#fff;border:1px solid #ffffff80;}
 html[data-brecilia-service=music] .section{margin-top:28px;}
 html[data-brecilia-service=music] .section-heading{align-items:center;gap:12px;margin-bottom:14px;}
 html[data-brecilia-service=music] .section-heading h2{font-size:21px;line-height:1.2;letter-spacing:-.4px;min-width:0;}
 html[data-brecilia-service=music] body:is([data-route=home],[data-route=explore]) :is(.card-grid,.card-grid.catalog-preview-grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:20px 12px;overflow:visible;max-width:100%;padding:0;scroll-snap-type:none;}
 html[data-brecilia-service=music] :is(.music-card,.playlist-card){min-width:0;width:auto;}
 html[data-brecilia-service=music] .music-card .cover-wrap{position:relative;width:100%;aspect-ratio:1;overflow:hidden;border-radius:10px;}
 html[data-brecilia-service=music] .music-card .cover-wrap>.song-art-link{position:absolute;inset:0;display:block;width:100%;height:100%;}
 html[data-brecilia-service=music] .music-card .cover-wrap>.song-art-link>.cover{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:contain;border-radius:0;}
 html[data-brecilia-service=music] .music-card .card-title-row{margin-top:9px;}
 html[data-brecilia-service=music] .music-card .card-title{font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
 html[data-brecilia-service=music] .music-card>.muted{font-size:12px;line-height:1.4;}
 html[data-brecilia-service=music] body .discovery-artist-rail{display:flex;gap:16px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:0 0 6px;}
 html[data-brecilia-service=music] body .discovery-artist{flex:0 0 96px;width:96px;min-width:0;scroll-snap-align:start;}
 html[data-brecilia-service=music] body .discovery-artist>img{display:block;width:88px;height:88px;max-width:100%;margin:0 auto;object-fit:cover;object-position:center 28%;border-radius:50%;}
 html[data-brecilia-service=music] :is(.artist-card,.discovery-artist) h3{font-size:13px;line-height:1.35;margin:10px 0 0;overflow-wrap:anywhere;}
 html[data-brecilia-service=music] .artist-card img{display:block;width:96px;height:96px;max-width:100%;margin:0 auto;object-fit:cover;object-position:center 28%;border-radius:50%;}
 html[data-brecilia-service=music] .spotlight-card{flex:0 0 88%;height:190px;border-radius:14px;}
 html[data-brecilia-service=music] .spotlight-card>div{left:18px;right:18px;bottom:18px;}
 html[data-brecilia-service=music] .spotlight-card h3{font-size:24px;line-height:1.15;margin:8px 0;}
 html[data-brecilia-service=music] .spotlight-card p{display:none;}
 html[data-brecilia-service=music] .detail-header{gap:18px;margin-bottom:26px;}
 html[data-brecilia-service=music] .detail-header .detail-art{display:block;width:min(56vw,220px);height:auto;aspect-ratio:1;object-fit:contain;margin:0 auto 20px;}
 html[data-brecilia-service=music] .artist-detail .detail-art{width:104px;height:104px;object-fit:cover;object-position:center 28%;margin:0 0 16px;}
 html[data-brecilia-service=music] .detail-header h1{font-size:30px;line-height:1.15;overflow-wrap:anywhere;}
 html[data-brecilia-service=music] .artist-detail .muted{font-size:14px;line-height:1.6;}
 html[data-brecilia-service=music] #mobile-nav{box-sizing:border-box;height:calc(66px + env(safe-area-inset-bottom));padding:0 8px env(safe-area-inset-bottom);}
 html[data-brecilia-service=music] #mobile-nav a{flex:1;min-width:0;min-height:48px;}
 html[data-brecilia-service=music] #player{bottom:calc(66px + env(safe-area-inset-bottom));}
 html[data-brecilia-service=music] .expanded-art{width:min(78vw,38dvh,340px);height:auto;object-fit:contain;}
}

/* Focused mobile discovery and comfortable touch targets. */
@media(max-width:720px){
 html[data-brecilia-service=music] body[data-route=home] .section .music-card:nth-child(n+5){display:none;}
 html[data-brecilia-service=music] .track-row{gap:6px;}
 html[data-brecilia-service=music] .track-row .icon-btn{width:44px;min-width:44px;height:44px;min-height:44px;flex-shrink:0;}
 html[data-brecilia-service=music] .track-row .row-art{width:40px;height:40px;}
 html[data-brecilia-service=music] #player .player-controls{gap:2px;}
 html[data-brecilia-service=music] #player .player-controls>[data-action=share]{display:inline-flex;width:40px;min-width:40px;min-height:44px;}
 html[data-brecilia-service=music] #player .player-spectrum{display:none;}
 html[data-brecilia-service=music] #player .player-track{max-width:none;min-width:0;flex:1;}
 html[data-brecilia-service=music] #player .player-info-button{max-width:100%;min-width:0;}
 html[data-brecilia-service=music] #topbar .language-switch button{min-width:36px;min-height:44px;}
 html[data-brecilia-service=music] :is(input,textarea,select){font-size:max(16px,1em);}
}

/* The desktop sidebar leaves less room for footer columns at tablet widths. */
/* Footer columns are defined once below, including the tablet breakpoint. */

.brecilia-language-picker{position:relative;font:500 14px/1.4 var(--interface-font,system-ui);color:var(--text-primary);flex-shrink:0}.brecilia-language-picker>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:112px;min-height:44px;padding:8px 10px;border:1px solid var(--control-border);border-radius:7px;cursor:pointer;list-style:none;white-space:nowrap}.brecilia-language-picker>summary::-webkit-details-marker{display:none}.brecilia-language-picker>div{display:flex;flex-direction:column;position:absolute;top:calc(100% + 5px);right:0;z-index:100;min-width:156px;padding:5px;gap:0;border:1px solid var(--control-border);border-radius:9px;background:var(--surface-primary);box-shadow:0 10px 28px #0002}.brecilia-language-picker>div>:is(a,button){display:flex!important;align-items:center;justify-content:flex-start!important;width:100%;min-height:44px!important;padding:9px 12px!important;border:0!important;border-radius:5px;color:var(--text-primary)!important;background:transparent!important;font:inherit!important;text-decoration:none!important;white-space:nowrap}.brecilia-language-picker>div>:is(a,button):hover{background:var(--surface-secondary)!important}.brecilia-language-picker :is([aria-pressed=true],[aria-current=page]){font-weight:700!important;text-decoration:underline!important;text-underline-offset:4px}.brecilia-language-picker summary:focus-visible,.brecilia-language-picker :is(a,button):focus-visible{outline:2px solid var(--focus-ring)!important;outline-offset:2px}@media(max-width:390px){.brecilia-language-picker>summary{min-width:104px;padding:8px;font-size:13px}}


/* PayPal's hosted card form uses its own neutral UI. Keep the Brecilia purchase shell neutral too. */
html[data-brecilia-service=music] dialog:has(.track-purchase-checkout){
 inset:50% auto auto 50%;transform:translate(-50%,-50%);
 width:min(560px,calc(100vw - 24px));max-width:calc(100vw - 24px);
 height:auto;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;
 border:1px solid #d9ddd9;border-radius:16px;background:#f7f8f6;color:#1d2421;
 box-shadow:0 24px 80px #0006;scrollbar-gutter:stable;
}
html[data-brecilia-service=music] dialog:has(.track-purchase-checkout)::backdrop{background:#101414b8;backdrop-filter:blur(2px)}
html[data-brecilia-service=music] dialog:has(.track-purchase-checkout) .drawer-header{position:sticky;top:0;padding:14px 18px;background:#f7f8f6;color:#1d2421;border-color:#e0e4e0}
html[data-brecilia-service=music] dialog:has(.track-purchase-checkout) .drawer-header h2{color:#1d2421}
html[data-brecilia-service=music] dialog:has(.track-purchase-checkout) .drawer-body{padding:18px;color:#1d2421}
html[data-brecilia-service=music] dialog:has(.track-purchase-checkout) .drawer-body .muted{color:#5c6661}
html[data-brecilia-service=music] dialog:has(.track-purchase-checkout) .track-purchase-checkout{width:100%;max-width:none;min-width:0;gap:12px}
html[data-brecilia-service=music] dialog:has(.track-purchase-checkout) .track-purchase-checkout input{min-width:0;min-height:48px;background:#fff;color:#1d2421;border-color:#aeb8b2}
html[data-brecilia-service=music] dialog:has(.track-purchase-checkout) .track-purchase-checkout [id=track-purchase-checkout]{min-width:0;overflow:visible}
html[data-brecilia-service=music] dialog:has(.track-purchase-checkout) .track-purchase-checkout [data-action=track-purchase-confirm]{background:#26332e;color:#fff;border-color:#26332e}
html[data-brecilia-service=music] dialog:has(.track-purchase-checkout) :is(button,a,input,select):focus-visible{outline-color:#245b46}
@media(max-width:640px){
 html[data-brecilia-service=music] dialog:has(.track-purchase-checkout){width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:14px}
 html[data-brecilia-service=music] dialog:has(.track-purchase-checkout) .drawer-header{padding:12px 14px}
 html[data-brecilia-service=music] dialog:has(.track-purchase-checkout) .drawer-body{padding:14px}
}
@media(max-height:560px){html[data-brecilia-service=music] dialog:has(.track-purchase-checkout){max-height:calc(100dvh - 12px)}}

/* Server-rendered navigation shares the hydrated shell surface. */
html[data-brecilia-service=music][data-brecilia-area=public] .ssr-products{display:flex;align-items:center;gap:24px;margin-left:auto;font-size:14px}
html[data-brecilia-service=music][data-brecilia-area=public] #topbar:has(.ssr-products){flex-wrap:wrap;gap:20px}
html[data-brecilia-service=music] .ssr-brand{display:none}
@media(max-width:720px){html[data-brecilia-service=music] .ssr-brand{display:block}html[data-brecilia-service=music] .ssr-products{gap:18px}.brand-loading{min-height:140px}}

/* One compact footer: navigation, identity/newsletter and aligned contact. */
/* One coherent Music footer, including nested owner identity and newsletter host. */
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer{width:calc(100% - 2 * var(--music-content-gutter,44px));max-width:1512px;margin:12px auto;padding:16px 0 24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start;justify-items:stretch;gap:16px 40px;text-align:center;background:transparent;border:0;box-shadow:none}
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer .music-footer-brand{display:contents}
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer [data-brecilia-footer]{grid-column:1 / -1;grid-row:1;width:100%;background:transparent;border:0;padding:0}
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer .brecilia-footer-nav{padding:0;gap:0 22px;justify-content:center}
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer .brecilia-footer-nav a{min-height:44px;display:inline-flex;align-items:center}
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer [data-owner-footer]{grid-column:1;grid-row:2;min-width:0;width:100%;padding:0;margin:0}
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer .owner-footer-identity{padding:0;margin:0;text-align:center}
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer .owner-footer-name{margin:0 0 5px;font-size:14px}
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer .owner-footer-rights{margin:0 0 12px;font-size:12px}
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer .owner-footer-links{display:flex;flex-wrap:wrap;gap:8px;max-width:100%;margin:0;justify-content:center}
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer .owner-footer-links a{width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px;border-radius:50%;display:grid;place-items:center;padding:8px}
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer .music-footer-subscribe{grid-column:2;grid-row:2;width:100%;max-width:none;min-width:0;justify-self:stretch;align-self:start;text-align:center}
/* The shared widget sets text-align:center inline; override only its footer host. */
html[data-brecilia-service=music] .site-footer .music-footer-subscribe brecilia-subscribe{text-align:center!important}
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer .music-footer-meta{grid-column:1;grid-row:3;flex-direction:row;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 16px;width:auto;max-width:100%;margin:0;padding:0;text-align:center;justify-self:center}
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer>.brecilia-whatsapp-support{grid-column:2;grid-row:3;align-self:center;width:auto;margin:0;padding:0;justify-self:center}
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer>.brecilia-whatsapp-support span{display:inline;margin:0}
@media(max-width:900px){html[data-brecilia-service=music][data-brecilia-area=public] .site-footer{grid-template-columns:minmax(0,1fr);width:calc(100% - 2 * var(--music-content-gutter,16px));margin:16px auto;gap:16px;padding:20px 0 28px!important}html[data-brecilia-service=music][data-brecilia-area=public] .site-footer :is([data-brecilia-footer],[data-owner-footer],.music-footer-subscribe,.music-footer-meta,.brecilia-whatsapp-support){grid-column:1;grid-row:auto;justify-self:stretch}html[data-brecilia-service=music][data-brecilia-area=public] .site-footer .owner-footer-links{justify-content:center}html[data-brecilia-service=music][data-brecilia-area=public] .site-footer>.brecilia-whatsapp-support{justify-self:center}html[data-brecilia-service=music][data-brecilia-area=public][data-player-active=true] .site-footer{padding-bottom:calc(168px + env(safe-area-inset-bottom))!important}}

html[data-brecilia-service=music][data-brecilia-area=public] #mobile-nav{border-top:0}

/* Compact mobile chrome: one header row, one audio dock, no second bottom bar. */
.mobile-menu{display:none}
#mobile-nav[hidden]{display:none!important}
@media(max-width:900px){
 html[data-brecilia-service=music][data-brecilia-area=public] #sidebar{display:none}
 html[data-brecilia-service=music][data-brecilia-area=public] .workspace{margin-left:0;margin-right:0}
 html[data-brecilia-service=music] #topbar .top-actions{display:contents}
 html[data-brecilia-service=music] #topbar :is(.desktop-label,.top-artist-link){display:none}
 html[data-brecilia-service=music] #topbar [data-appearance-control]{grid-area:appearance;justify-self:end}
 html[data-brecilia-service=music][data-brecilia-area=public] #topbar{
  display:grid;grid-template-columns:40px minmax(86px,1fr) minmax(78px,102px) 40px;
  grid-template-areas:"menu brand language appearance";gap:4px;height:64px;min-height:64px;
  padding:8px 10px;position:sticky;top:0;z-index:24;
  background:rgba(243,236,223,.83);backdrop-filter:blur(22px) saturate(.85);-webkit-backdrop-filter:blur(22px) saturate(.85);
  box-shadow:0 5px 20px #0000000f;
 }
 html[data-brecilia-service=music][data-brecilia-area=public][data-theme=dark] #topbar{background:rgba(16,20,20,.8)}
 html[data-brecilia-service=music] #topbar .top-context{display:block;grid-area:brand;align-self:center;margin:0;min-width:0;max-width:100%}
 html[data-brecilia-service=music] #topbar .mobile-brand{display:flex;min-height:44px;font-size:clamp(18px,5.1vw,22px);gap:4px;letter-spacing:-.6px;white-space:nowrap}
 html[data-brecilia-service=music] #topbar .mobile-brand svg{width:20px;height:20px;flex:none}
 html[data-brecilia-service=music] #topbar .mobile-brand span{left:24px;top:30px;font-size:7px;letter-spacing:2px}
 html[data-brecilia-service=music] #topbar .language-switch{grid-area:language;justify-self:stretch;min-width:0}
 html[data-brecilia-service=music] #topbar .brecilia-language-picker{width:100%;min-width:0}
 html[data-brecilia-service=music] #topbar .brecilia-language-picker>summary{padding:8px 6px;min-height:44px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html[data-brecilia-service=music] #topbar .brecilia-language-picker>div{right:0;left:auto;min-width:185px;max-height:60dvh;overflow-y:auto}
 html[data-brecilia-service=music] #topbar .brecilia-appearance-trigger>span:not(.brecilia-appearance-icon){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 html[data-brecilia-service=music] #topbar .brecilia-appearance-trigger{width:40px;min-width:40px;height:44px;display:flex;align-items:center;justify-content:center}
 html[data-brecilia-service=music] #topbar .mobile-menu{grid-area:menu;display:block;margin:0;border:0;padding:0;position:static}
 .mobile-menu>summary{display:flex;align-items:center;justify-content:center;min-width:40px;min-height:44px;cursor:pointer;list-style:none;border-radius:10px}
 .mobile-menu>summary::-webkit-details-marker{display:none}
 .mobile-menu>summary svg{width:23px;height:23px}
 .mobile-menu>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
 .mobile-menu-panel{position:absolute;left:10px;right:10px;top:calc(100% + 4px);max-height:calc(100dvh - 180px);overflow-y:auto;overscroll-behavior:contain;padding:14px;border-radius:16px;box-shadow:0 12px 32px #0004;color:var(--text-primary);background:rgba(243,236,223,.94);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
 html[data-theme=dark] .mobile-menu-panel{background:rgba(20,27,25,.95)}
 html[data-brecilia-service=music] #topbar .mobile-menu-panel .top-search{display:flex;width:100%;max-width:none;min-height:44px;margin:0 0 10px}
 html[data-brecilia-service=music] #topbar .mobile-menu-panel nav{display:grid;gap:4px}
 html[data-brecilia-service=music] #topbar .mobile-menu-panel :is(nav a,.account-link){display:flex;gap:10px;align-items:center;min-height:44px;padding:10px 12px;color:inherit;text-decoration:none;border-radius:10px;font-size:14px}
 html[data-brecilia-service=music] #topbar .mobile-menu-panel nav a svg{width:20px;height:20px}
 html[data-brecilia-service=music] #topbar .mobile-menu-panel .brecilia-products{display:flex;width:100%;justify-content:flex-start;gap:4px;margin:10px 0 0;overflow:visible;flex-wrap:wrap}
 html[data-brecilia-service=music] #topbar .mobile-menu-panel .account-link{margin-top:8px}
 html[data-brecilia-service=music] #topbar .mobile-menu-panel a:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
 html[data-brecilia-service=music] .workspace{padding-bottom:24px}
 html[data-brecilia-service=music] body.has-active-player .workspace{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
 html[data-brecilia-service=music][data-brecilia-area=public] #player{bottom:0;margin:0;height:calc(84px + env(safe-area-inset-bottom));padding:10px 52px calc(10px + env(safe-area-inset-bottom)) 12px;border:0;border-radius:14px 14px 0 0;background:rgba(243,236,223,.76);backdrop-filter:blur(24px) saturate(.85);-webkit-backdrop-filter:blur(24px) saturate(.85);box-shadow:0 -8px 30px #0002}
 html[data-brecilia-service=music][data-brecilia-area=public][data-theme=dark] #player{background:rgba(16,20,20,.76)}
 html[data-brecilia-service=music] #player .progress-row{bottom:calc(6px + env(safe-area-inset-bottom))}
}
@media(max-width:900px) and (prefers-reduced-transparency:reduce){html[data-brecilia-service=music][data-brecilia-area=public] :is(#topbar,#player,.mobile-menu-panel){background:var(--page-background);backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(max-width:900px){html[data-brecilia-service=music][data-contrast=more] :is(#topbar,#player,.mobile-menu-panel){background:var(--surface-primary)!important;backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Public artist acquisition: align the album action and give copy/CTA breathing room. */
html[data-brecilia-service=music][data-brecilia-area=public] .artist-offer-toolbar{display:flex;justify-content:flex-end;margin-bottom:28px;gap:16px}
html[data-brecilia-service=music][data-brecilia-area=public] .artist-free-promotion{display:grid;justify-items:start;gap:18px;padding:28px;box-shadow:var(--surface-shadow)}
html[data-brecilia-service=music][data-brecilia-area=public] .artist-free-promotion p{margin:0;line-height:1.65}
html[data-brecilia-service=music][data-brecilia-area=public] .artist-free-promotion strong{line-height:1.3}
@media(max-width:720px){html[data-brecilia-service=music][data-brecilia-area=public] .artist-offer-toolbar{justify-content:flex-start;margin-bottom:24px}html[data-brecilia-service=music][data-brecilia-area=public] .artist-free-promotion{padding:24px;gap:18px}}

/* Footer utilities must scroll behind the fixed player, never form a higher layer. */
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer{position:relative;isolation:isolate;z-index:0}
html[data-brecilia-service=music][data-brecilia-area=public] .site-footer .support-entry{z-index:auto;inset:auto;transform:none}

/* A restrained sage accent for the secondary artist benefit; keep the continuous shell. */
html[data-brecilia-service=music][data-brecilia-area=public][data-theme=light] #main .mastering-benefit{background:color-mix(in srgb,var(--surface-primary,#fffaf0) 89%,#95ac99 11%);}

/* Soft glass lets the existing marble show through without sacrificing readable cards. */
html[data-brecilia-service=music][data-brecilia-area=public] #main .artist-offer-card{background:color-mix(in srgb,var(--surface-primary) 69%,transparent);border:1px solid color-mix(in srgb,var(--control-border) 22%,transparent);border-radius:20px;box-shadow:0 18px 44px #49351d1a,inset 0 1px #ffffff8c;padding:clamp(22px,3vw,32px);margin:0;min-width:0;backdrop-filter:blur(16px) saturate(1.08);-webkit-backdrop-filter:blur(16px) saturate(1.08)}
html[data-brecilia-service=music] .artist-offer-page .artist-free-promotion{background:linear-gradient(125deg,color-mix(in srgb,var(--surface-primary) 74%,transparent),color-mix(in srgb,var(--surface-secondary) 47%,transparent));color:var(--text-primary);border:1px solid color-mix(in srgb,var(--control-border) 25%,transparent);border-radius:18px;box-shadow:0 20px 48px #49351d21,inset 0 1px #ffffffa6;backdrop-filter:blur(18px) saturate(1.08);-webkit-backdrop-filter:blur(18px) saturate(1.08)}
html[data-brecilia-service=music] .artist-offer-page .artist-offer-card header{min-height:136px}
html[data-brecilia-service=music][data-theme=dark] #main .artist-offer-card{box-shadow:0 20px 48px #0005,inset 0 1px #ffffff17}
html[data-brecilia-service=music][data-theme=dark] .artist-offer-page .artist-free-promotion{box-shadow:0 20px 48px #0005,inset 0 1px #ffffff17}
html[data-brecilia-service=music][data-theme=light][data-contrast=normal] .artist-offer-page h1{color:#674719;text-shadow:0 1px 0 #f4e2b9,0 2px 0 #c4a15c,0 3px 5px #6b4c2226}
html[data-brecilia-service=music][data-theme=light][data-contrast=normal] .artist-offer-page :is(h2,.price,.artist-free-promotion>strong){text-shadow:0 1px 0 #fffaf0,0 2px 4px #6b4c2220}
html[data-brecilia-service=music][data-theme=dark][data-contrast=normal] .artist-offer-page h1{color:#e0c17a;text-shadow:0 1px 0 #47381c,0 2px 0 #8b6b30,0 3px 5px #0008}
html[data-brecilia-service=music][data-theme=dark][data-contrast=normal] .artist-offer-page :is(h2,.price,.artist-free-promotion>strong){text-shadow:0 2px 5px #0008}
html[data-brecilia-service=music][data-contrast=more] #main .artist-offer-card,html[data-brecilia-service=music][data-contrast=more] .artist-offer-page .artist-free-promotion{background:var(--surface-primary);color:var(--text-primary);border:1px solid var(--control-border);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
@media(max-width:700px){html[data-brecilia-service=music] .artist-offer-page .artist-offer-card header{min-height:0}html[data-brecilia-service=music][data-brecilia-area=public] #main .artist-offer-card{padding:22px 20px}}

/* Match the footer to main's 1600px box minus its two 44px content gutters. */
@media(min-width:901px){html[data-brecilia-service=music][data-brecilia-area=public] #main{padding-bottom:24px}}
html[data-brecilia-service=music][data-brecilia-area=public] #track-comments{padding-inline:0;margin-bottom:0}

html[data-brecilia-service=music]{--music-content-gutter:44px}
/* Official listening and artist links are small controls, not another purchase panel. */
html[data-brecilia-service=music] .track-streaming-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin:12px 0 28px;padding:0;color:var(--text-primary)}
html[data-brecilia-service=music] .platform-links-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
html[data-brecilia-service=music] .platform-links-label{font-size:13px;color:var(--text-secondary);line-height:1.5}
html[data-brecilia-service=music] a.platform-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;font-size:14px;line-height:22px;border-radius:7px;text-decoration:none;white-space:nowrap}
html[data-brecilia-service=music] a.platform-link--spotify{background:#1db954;color:#071a10;border-color:#1db954;--platform-icon-ink:#1db954}
html[data-brecilia-service=music] a.platform-link--spotify:hover{background:#24ca61;border-color:#24ca61;--platform-icon-ink:#24ca61}
html[data-brecilia-service=music] a.platform-link--youtubeMusic{background:#c5221f;color:#fff;border-color:#c5221f}
html[data-brecilia-service=music] a.platform-link--youtubeMusic:hover{background:#a91d1a;color:#fff;border-color:#a91d1a}
html[data-brecilia-service=music] .platform-link svg,html[data-brecilia-service=music] .artist-social-link svg{width:20px;height:20px;flex:none}
html[data-brecilia-service=music] .artist-social-links{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px;margin-left:4px}
html[data-brecilia-service=music] a.artist-social-link{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border:1px solid var(--control-border);border-radius:50%;background:transparent;color:var(--text-primary);text-decoration:none}
html[data-brecilia-service=music] a.artist-social-link:hover{background:color-mix(in srgb,var(--text-primary) 8%,transparent)}
html[data-brecilia-service=music] :is(a.platform-link,a.artist-social-link):focus-visible{outline:2px solid var(--text-primary);outline-offset:4px}
@media(max-width:700px){html[data-brecilia-service=music] .artist-social-links{margin-left:0;gap:8px}html[data-brecilia-service=music] .artist-social-links .platform-links-label{margin-right:2px}html[data-brecilia-service=music] .track-streaming-links{gap:8px 12px}}
@media(max-width:1250px){html[data-brecilia-service=music]{--music-content-gutter:28px}}
@media(max-width:700px){html[data-brecilia-service=music]{--music-content-gutter:16px}}
@media(min-width:901px) and (max-width:1250px){html[data-brecilia-service=music][data-brecilia-area=public] .site-footer .owner-footer-links a{width:44px;height:44px;min-width:44px;min-height:44px;flex-basis:44px}html[data-brecilia-service=music][data-brecilia-area=public] .site-footer .owner-footer-links{gap:6px}}
@media(min-width:901px) and (max-width:1150px){html[data-brecilia-service=music][data-brecilia-area=public] .site-footer .owner-footer-links{display:grid;grid-template-columns:repeat(5,44px)}}

.brecilia-whatsapp-support{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;max-width:100%;box-sizing:border-box}.brecilia-whatsapp-support a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid currentColor;border-radius:999px;color:inherit;background:transparent;text-decoration:none;font:600 14px/1.4 system-ui,sans-serif;box-sizing:border-box;max-width:100%;white-space:normal}.brecilia-whatsapp-support a:hover{background:color-mix(in srgb,currentColor 8%,transparent)}.brecilia-whatsapp-support a:focus-visible{outline:2px solid currentColor;outline-offset:4px}.brecilia-whatsapp-support svg{flex:none;width:19px;height:19px}body>.brecilia-whatsapp-support{padding:0 24px 24px}

/* =======================================================
   

/* =======================================================
   

/* =======================================================
   

/* =======================================================
   BRECILIA UNIFIED FOOTER & BUTTON HARMONIZATION SYSTEM
   ======================================================= */
:root {
  --brand-emerald-solid: #163d30;
  --brand-emerald-hover: #0f2c23;
  --brand-emerald-border: #163d30;
  --brand-pill-radius: 999px;
}

/* Base Footer Surface */
/* Base Footer Surface: Only for full-width root-level global footers (Main & Radio) */
.global-footer, .radio-footer {
  background: #e9e1d3 !important;
  border-top: 1px solid #cfc8b9 !important;
  color: #262b28 !important;
}

/* Site Footer (Music) & Blog Footer: Seamless transparent surface matching workspace/container */
.site-footer,
.blog-footer {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid rgba(22, 61, 48, 0.12) !important;
  box-shadow: none !important;
  color: inherit !important;
  padding-top: 24px !important;
}

:root[data-theme=dark] :is(.site-footer, .blog-footer) {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  color: inherit !important;
}

/* 1. NEWSLETTER & PRIMARY ACTION BUTTONS */
.site-footer .music-footer-subscribe button[type="submit"],
.site-footer button.primary,
.site-footer [data-newsletter-slot] button,
.blog-footer [data-newsletter-slot] button,
.global-footer [data-newsletter-slot] button,
.radio-footer .radio-footer-subscribe button,
button.newsletter-submit,
#newsletter-submit,
.audience-submit-button {
  background: #163d30 !important;
  border: 1.5px solid #163d30 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 10px 24px !important;
  min-height: 42px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(22, 61, 48, 0.15) !important;
  transition: all 0.18s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}
:root[data-theme=dark] :is(
  .site-footer .music-footer-subscribe button[type="submit"],
  .site-footer button.primary,
  .site-footer [data-newsletter-slot] button,
  .blog-footer [data-newsletter-slot] button,
  .global-footer [data-newsletter-slot] button,
  .radio-footer .radio-footer-subscribe button,
  button.newsletter-submit,
  #newsletter-submit,
  .audience-submit-button
) {
  background: #c3edc5 !important;
  border-color: #c3edc5 !important;
  color: #143c31 !important;
}
.site-footer .music-footer-subscribe button[type="submit"]:hover,
.site-footer button.primary:hover,
.site-footer [data-newsletter-slot] button:hover,
.blog-footer [data-newsletter-slot] button:hover,
.global-footer [data-newsletter-slot] button:hover,
.radio-footer .radio-footer-subscribe button:hover,
button.newsletter-submit:hover,
#newsletter-submit:hover,
.audience-submit-button:hover {
  background: #0f2c23 !important;
  border-color: #0f2c23 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(22, 61, 48, 0.25) !important;
}

/* 2. WHATSAPP SUPPORT BUTTON */
.site-footer .brecilia-whatsapp-support a,
.blog-footer .brecilia-whatsapp-support a,
.global-footer .brecilia-whatsapp-support a,
.radio-footer .brecilia-whatsapp-support a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 42px !important;
  padding: 9px 20px !important;
  border: 1.5px solid #163d30 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #163d30 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.18s ease !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}
:root[data-theme=dark] :is(
  .site-footer .brecilia-whatsapp-support a,
  .blog-footer .brecilia-whatsapp-support a,
  .global-footer .brecilia-whatsapp-support a,
  .radio-footer .brecilia-whatsapp-support a
) {
  background: #1b2420 !important;
  border-color: #42584c !important;
  color: #e4eade !important;
}
.site-footer .brecilia-whatsapp-support a:hover,
.blog-footer .brecilia-whatsapp-support a:hover,
.global-footer .brecilia-whatsapp-support a:hover,
.radio-footer .brecilia-whatsapp-support a:hover {
  background: #163d30 !important;
  border-color: #163d30 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(22, 61, 48, 0.25) !important;
}
:root[data-theme=dark] :is(
  .site-footer .brecilia-whatsapp-support a:hover,
  .blog-footer .brecilia-whatsapp-support a:hover,
  .global-footer .brecilia-whatsapp-support a:hover,
  .radio-footer .brecilia-whatsapp-support a:hover
) {
  background: #c3edc5 !important;
  border-color: #c3edc5 !important;
  color: #143c31 !important;
}

/* 3. INLINE SUPPORT LINK (MUSIC & BLOG) */
.site-footer .support-entry,
.site-footer .music-footer-meta .support-entry,
.blog-footer .footer-support-entry {
  background: transparent !important;
  border: none !important;
  color: #435048 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: inherit !important;
  min-height: auto !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: inline !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}
:root[data-theme=dark] :is(
  .site-footer .support-entry,
  .site-footer .music-footer-meta .support-entry,
  .blog-footer .footer-support-entry
) {
  color: #a4b3aa !important;
}
.site-footer .support-entry:hover,
.site-footer .music-footer-meta .support-entry:hover,
.blog-footer .footer-support-entry:hover {
  color: #163d30 !important;
  text-decoration: underline !important;
  background: transparent !important;
}
:root[data-theme=dark] :is(
  .site-footer .support-entry:hover,
  .site-footer .music-footer-meta .support-entry:hover,
  .blog-footer .footer-support-entry:hover
) {
  color: #c3edc5 !important;
}

/* In Global Main Footer: Soporte button alongside WhatsApp */
.global-footer .footer-contact-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 16px !important;
}
.global-footer .footer-contact-row a.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 9px 20px !important;
  border: 1.5px solid #163d30 !important;
  border-radius: 999px !important;
  background: #163d30 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.18s ease !important;
  box-sizing: border-box !important;
}
.global-footer .footer-contact-row a.button:hover {
  background: #0f2c23 !important;
  border-color: #0f2c23 !important;
  transform: translateY(-1px) !important;
}

/* [2026-11-14] Aviso/dialogo de cookies: esquinas cuadradas (no pildora) en movil y escritorio */
#brecilia-consent-root .cookie-banner,#brecilia-consent-root .privacy-dialog,#brecilia-subtle-cookie-bar{border-radius:6px !important}
#brecilia-consent-root button,#brecilia-consent-root .button,#brecilia-consent-root .privacy-close,#brecilia-subtle-cookie-bar button{border-radius:4px !important}

/* 4. CIRCULAR SOCIAL BADGES (9 ICONS IN ONE LINE) */
.owner-footer-links,
.site-footer .owner-footer-links,
.global-footer .owner-footer-links,
.blog-footer .social-rail,
.radio-footer .owner-footer-links {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 14px 0 0 !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}
.owner-footer-links::-webkit-scrollbar,
.site-footer .owner-footer-links::-webkit-scrollbar,
.global-footer .owner-footer-links::-webkit-scrollbar {
  display: none !important;
}
.owner-footer-links a,
.site-footer .owner-footer-links a,
.global-footer .owner-footer-links a,
.blog-footer .social-rail a,
.radio-footer .owner-footer-links a {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  flex: 0 0 36px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border: 1.5px solid rgba(22, 61, 48, 0.25) !important;
  background: rgba(22, 61, 48, 0.05) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
:root[data-theme=dark] :is(
  .owner-footer-links a,
  .site-footer .owner-footer-links a,
  .global-footer .owner-footer-links a,
  .blog-footer .social-rail a,
  .radio-footer .owner-footer-links a
) {
  border-color: rgba(195, 237, 197, 0.3) !important;
  background: rgba(195, 237, 197, 0.06) !important;
}
.owner-footer-links a:hover,
.site-footer .owner-footer-links a:hover,
.global-footer .owner-footer-links a:hover,
.blog-footer .social-rail a:hover,
.radio-footer .owner-footer-links a:hover {
  background: #163d30 !important;
  border-color: #163d30 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(22, 61, 48, 0.2) !important;
}
:root[data-theme=dark] :is(
  .owner-footer-links a:hover,
  .site-footer .owner-footer-links a:hover,
  .global-footer .owner-footer-links a:hover,
  .blog-footer .social-rail a:hover,
  .radio-footer .owner-footer-links a:hover
) {
  background: #c3edc5 !important;
  border-color: #c3edc5 !important;
}

/* Icons inside circular badges */
.owner-footer-links img,
.site-footer .owner-footer-links img,
.global-footer .owner-footer-links img,
.blog-footer .social-rail img,
.radio-footer .owner-footer-links img {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
  filter: brightness(0) saturate(100%) invert(14%) sepia(21%) saturate(1250%) hue-rotate(113deg) !important;
  opacity: 1 !important;
  transition: filter 0.2s ease !important;
}
:root[data-theme=dark] :is(
  .owner-footer-links img,
  .site-footer .owner-footer-links img,
  .global-footer .owner-footer-links img,
  .blog-footer .social-rail img,
  .radio-footer .owner-footer-links img
) {
  filter: brightness(0) invert(1) !important;
  opacity: 0.9 !important;
}
.owner-footer-links a:hover img,
.site-footer .owner-footer-links a:hover img,
.global-footer .owner-footer-links a:hover img,
.blog-footer .social-rail a:hover img,
.radio-footer .owner-footer-links a:hover img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}
:root[data-theme=dark] :is(
  .owner-footer-links a:hover img,
  .site-footer .owner-footer-links a:hover img,
  .global-footer .owner-footer-links a:hover img,
  .blog-footer .social-rail a:hover img,
  .radio-footer .owner-footer-links a:hover img
) {
  filter: brightness(0) saturate(100%) invert(14%) sepia(21%) saturate(1250%) hue-rotate(113deg) !important;
}

/* 5. INLINE NAVIGATION LINKS & BASELINE ALIGNMENT */
.blog-footer .footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  margin: 12px 0 16px !important;
}
.blog-footer .footer-links a {
  color: #435048 !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}
.blog-footer .footer-links a:hover {
  color: #163d30 !important;
  text-decoration: underline !important;
}

.site-footer .music-footer-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 16px !important;
  margin-top: 14px !important;
  font-size: 14px !important;
}
.site-footer .music-footer-meta a {
  color: #435048 !important;
  text-decoration: none !important;
}
.site-footer .music-footer-meta a:hover {
  color: #163d30 !important;
  text-decoration: underline !important;
}

/* =======================================================
   BRECILIA NATIVE HEADER HARMONIZATION (NON-STICKY, SEAMLESS)
   ======================================================= */
.global-header,
.ecosystem-header {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  background: var(--bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: none !important;
}

:root[data-theme="dark"] :is(.global-header, .ecosystem-header) {
  background: #0c100e !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

/* Header controls (Language selector & Appearance button) */
:is(.global-header, .ecosystem-header) .language-selector details summary,
:is(.global-header, .ecosystem-header) details.brecilia-appearance summary,
:is(.global-header, .ecosystem-header) [data-appearance-control] details summary,
:is(.global-header, .ecosystem-header) details.language-dropdown summary {
  background: var(--surface2, rgba(22, 61, 48, 0.06)) !important;
  border: 1px solid var(--border, rgba(22, 61, 48, 0.15)) !important;
  color: var(--text, inherit) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: all 0.2s ease !important;
}
:is(.global-header, .ecosystem-header) .language-selector details summary:hover,
:is(.global-header, .ecosystem-header) details.brecilia-appearance summary:hover,
:is(.global-header, .ecosystem-header) [data-appearance-control] details summary:hover,
:is(.global-header, .ecosystem-header) details.language-dropdown summary:hover {
  background: var(--surface3, rgba(22, 61, 48, 0.12)) !important;
  border-color: var(--accent, #163d30) !important;
}

:root[data-theme="dark"] :is(.global-header, .ecosystem-header) .language-selector details summary,
:root[data-theme="dark"] :is(.global-header, .ecosystem-header) details.brecilia-appearance summary,
:root[data-theme="dark"] :is(.global-header, .ecosystem-header) [data-appearance-control] details summary,
:root[data-theme="dark"] :is(.global-header, .ecosystem-header) details.language-dropdown summary {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f0f2ec !important;
}
:root[data-theme="dark"] :is(.global-header, .ecosystem-header) .language-selector details summary:hover,
:root[data-theme="dark"] :is(.global-header, .ecosystem-header) details.brecilia-appearance summary:hover,
:root[data-theme="dark"] :is(.global-header, .ecosystem-header) [data-appearance-control] details summary:hover,
:root[data-theme="dark"] :is(.global-header, .ecosystem-header) details.language-dropdown summary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
}

/* Dropdown panels */
:is(.global-header, .ecosystem-header) .language-selector details .menu,
:is(.global-header, .ecosystem-header) details.brecilia-appearance .appearance-popover,
:is(.global-header, .ecosystem-header) [data-appearance-control] details .appearance-popover,
:is(.global-header, .ecosystem-header) details.language-dropdown .language-options,
:is(.global-header, .ecosystem-header) details.brecilia-appearance .brecilia-appearance-panel,
:is(.global-header, .ecosystem-header) [data-appearance-control] details .brecilia-appearance-panel {
  background: var(--surface1, #fcfaf6) !important;
  border: 1px solid var(--border, rgba(22, 61, 48, 0.15)) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10) !important;
}
:root[data-theme="dark"] :is(.global-header, .ecosystem-header) .language-selector details .menu,
:root[data-theme="dark"] :is(.global-header, .ecosystem-header) details.brecilia-appearance .appearance-popover,
:root[data-theme="dark"] :is(.global-header, .ecosystem-header) [data-appearance-control] details .appearance-popover,
:root[data-theme="dark"] :is(.global-header, .ecosystem-header) details.language-dropdown .language-options,
:root[data-theme="dark"] :is(.global-header, .ecosystem-header) details.brecilia-appearance .brecilia-appearance-panel,
:root[data-theme="dark"] :is(.global-header, .ecosystem-header) [data-appearance-control] details .brecilia-appearance-panel {
  background: #151c19 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.60) !important;
}

/* =======================================================
   BRECILIA ARISTOCRATIC & MODERN EDITORIAL DARK MODE SYSTEM
   (Pillars: 3-Tier Surface Hierarchy, Anti-Halation Typography,
    Rim Lighting & Ambient Glows, Emerald/Mint Accents, Modern Inputs)
   ======================================================= */

/* 1. Global Dark Tokens & Surface Depth */
:root[data-theme="dark"] {
  color-scheme: dark !important;

  /* Tier 0: Deep Obsidian Canvas (Micro-tinted emerald, avoiding flat OLED smear) */
  --page-background: #0d1210 !important;
  --bg-color: #0d1210 !important;

  /* Tier 1: Cards & Panels */
  --surface-primary: #151c19 !important;
  --surface-secondary: #1b2420 !important;
  --panel-background: #151c19 !important;

  /* Tier 2: Floating Controls & Modals */
  --surface-elevated: #222d28 !important;

  /* Typography: Anti-Halation Soft Ivory & Mineral Sage */
  --text-primary: #f4f6f2 !important;
  --text-secondary: #a6b4ac !important;
  --text-muted: #7b8b82 !important;
  --body-color: #d2dad5 !important;

  /* Accents */
  --brand-emerald: #c3edc5 !important;
  --brand-mint-action: #c3edc5 !important;
  --brand-mint-text: #0d2820 !important;
  --brand-gold: #d4b574 !important;
  --accent-color: #c3edc5 !important;

  /* Borders & Focus Rings */
  --border-subtle: rgba(255, 255, 255, 0.08) !important;
  --border-highlight: rgba(195, 237, 197, 0.24) !important;
  --control-border: rgba(255, 255, 255, 0.14) !important;
  --focus-ring: rgba(195, 237, 197, 0.35) !important;

  /* Elevation Shadows */
  --surface-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.65) !important;
  --glass-header-bg: rgba(13, 18, 16, 0.82) !important;
}

/* Page Background Enforcement in Dark Mode */
:root[data-theme="dark"] body,
:root[data-theme="dark"] #app,
:root[data-theme="dark"] .main-content,
:root[data-theme="dark"] .feed-main,
:root[data-theme="dark"] main,
:root[data-theme="dark"] .content-area {
  background-color: #0d1210 !important;
  color: #d2dad5 !important;
}

/* 2. Anti-Halation Typography */
:root[data-theme="dark"] :is(h1, h2, h3, h4, h5, h6, .headline, .title, .eyebrow) {
  color: #f4f6f2 !important;
  letter-spacing: -0.02em !important;
}

:root[data-theme="dark"] :is(p, .summary, .excerpt, .article-body, .prose) {
  color: #d2dad5 !important;
  line-height: 1.75 !important;
}

:root[data-theme="dark"] :is(.reading-time, .story-reading, .date, time, .meta-text, .subtitle) {
  color: #a6b4ac !important;
}

/* 3. Cards, Story Grids & Elevation with Rim Lighting */
:root[data-theme="dark"] :is(
  .story-card,
  .article-card,
  .panel,
  .card,
  .section-card,
  .album-card,
  .support-grid .panel,
  .alliances-card,
  .terms-section
) {
  background: #151c19 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

:root[data-theme="dark"] :is(
  .story-card:hover,
  .article-card:hover,
  .panel:hover,
  .card:hover,
  .album-card:hover
) {
  border-color: rgba(195, 237, 197, 0.24) !important;
  box-shadow: 0 8px 30px -4px rgba(0, 0, 0, 0.65), 0 0 16px rgba(195, 237, 197, 0.08) !important;
  transform: translateY(-2px) !important;
}

/* Image Rim Lighting & Micro-Borders */
:root[data-theme="dark"] :is(
  .story-card .cover,
  .story-card img,
  .article-hero img,
  .cover-photo,
  .album-art,
  .album-cover,
  .hero-media img,
  .vinil-wrapper,
  .player-art img
) {
  border-radius: 12px !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 28px -4px rgba(0, 0, 0, 0.5) !important;
}

/* 4. Music Track Rows & Interactive Lists */
:root[data-theme="dark"] :is(.track-row, .track-item, .playlist-row, .song-row) {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #f4f6f2 !important;
  transition: all 0.18s ease !important;
}

:root[data-theme="dark"] :is(.track-row:hover, .track-item:hover, .playlist-row:hover, .song-row:hover) {
  background: rgba(195, 237, 197, 0.05) !important;
  border-color: rgba(195, 237, 197, 0.18) !important;
  box-shadow: inset 2px 0 0 #c3edc5 !important;
}

/* 5. Radio & Player Ambient Glow */
:root[data-theme="dark"] :is(
  .radio-player,
  .music-player,
  .player-container,
  .radio-stream-card,
  .radio-broadcast
) {
  background: #151c19 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.7), 0 0 32px rgba(195, 237, 197, 0.08) !important;
}

:root[data-theme="dark"] :is(.player-art, .radio-art, .current-album-art) {
  filter: drop-shadow(0 16px 36px rgba(195, 237, 197, 0.14)) !important;
}

/* 6. Filter Pills, Badges & Secondary Tags */
:root[data-theme="dark"] :is(
  .blog-filter-pill,
  .claim-pill,
  .filter-pill,
  .category-pill,
  .tag-pill
) {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #a6b4ac !important;
  transition: all 0.18s ease !important;
}

:root[data-theme="dark"] :is(
  .blog-filter-pill:hover,
  .claim-pill:hover,
  .filter-pill:hover
) {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(195, 237, 197, 0.3) !important;
  color: #f4f6f2 !important;
}

:root[data-theme="dark"] :is(
  .blog-filter-pill.is-active,
  .blog-filter-pill.active,
  .claim-pill.active,
  .filter-pill.is-active
) {
  background: #c3edc5 !important;
  border-color: #c3edc5 !important;
  color: #143c31 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 16px rgba(195, 237, 197, 0.25) !important;
}

/* 7. Modern Inputs, Textareas, Selects & Form Controls */
:root[data-theme="dark"] :is(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="search"],
  input[type="password"],
  select,
  textarea
) {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  color: #f4f6f2 !important;
  font-size: 14px !important;
  padding: 12px 16px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-sizing: border-box !important;
}

:root[data-theme="dark"] :is(
  input:focus,
  select:focus,
  textarea:focus
) {
  outline: none !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: #c3edc5 !important;
  box-shadow: 0 0 0 3px rgba(195, 237, 197, 0.25) !important;
}

:root[data-theme="dark"] ::placeholder {
  color: #7b8b82 !important;
  opacity: 0.8 !important;
}

/* 8. Secondary Buttons & Actions in Dark Mode */
:root[data-theme="dark"] :is(
  button.secondary,
  .btn-secondary,
  a.button-secondary,
  .button.secondary,
  .btn-ghost,
  .button.ghost
) {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #f4f6f2 !important;
  border-radius: 999px !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
  backdrop-filter: blur(8px) !important;
}

:root[data-theme="dark"] :is(
  button.secondary:hover,
  .btn-secondary:hover,
  a.button-secondary:hover,
  .button.secondary:hover,
  .btn-ghost:hover
) {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(195, 237, 197, 0.35) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* 9. Reaction Heart / Like Button in Dark Mode */
:root[data-theme="dark"] .story-reaction button {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #a6b4ac !important;
}

:root[data-theme="dark"] .story-reaction button svg {
  fill: none !important;
  stroke: #a6b4ac !important;
}

:root[data-theme="dark"] .story-reaction button[aria-pressed="true"] svg {
  fill: #ff6b81 !important;
  stroke: #ff6b81 !important;
}

/* 10. Subtle Scrollbars in Dark Mode */
:root[data-theme="dark"] ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
:root[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #0d1210;
}
:root[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  border: 2px solid #0d1210;
}
:root[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(195, 237, 197, 0.4);
}
