/* 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:#efdfc4; --surface-primary:#f7e9d0; --surface-secondary:#e1cca6;
  --text-primary:#28231d; --text-secondary:#51483e; --brand-emerald:#143c31;
  --brand-gold:#a67c35; --brand-bronze:#6b4c22; --border-subtle:#d8c9b4;
  --control-border:#856b3f; --action-background:#143c31; --action-text:#fffdf9;
  --focus-ring:#143c31; --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,#ead7b3,#fbefd9 55%,#e9d3ac);border-color:#b4945b}
html[data-brecilia-service][data-theme=light] :is(.story-hero,.editorial-intro,.offer-intro,.masthead){background:linear-gradient(110deg,#efdfc4d9,#f2e4cad9),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:#e3cfab;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:#f0ddba;border-color:#a6884c}
html[data-brecilia-service][data-theme=light] :is(button,.button,.more):not(.primary):not(.player-play):not(.brecilia-appearance-trigger){background:var(--surface-primary);border-color:var(--control-border);color:var(--text-primary)}
html[data-brecilia-service][data-theme=light] :is(button,.button,.more):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-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:#f7e9d0;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:#e1cca6;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,#efdfc4d9,#f4e7d2d9),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)}
/* 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;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:#e1cca6}
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;}
 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:start!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 0 14px;border-bottom:1px solid color-mix(in srgb,currentColor 16%,transparent);}
 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:flex-start;justify-content:flex-start;text-align:start;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:calc(90px + env(safe-area-inset-bottom))!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:55dvh;gap:24px;}
.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);}
}
