/* Keep existing inline emphasis and button typography when text has markers. */
/* Site-owned narrator skin: the reusable player keeps its own default style. */
[data-narrator-widget]{
 --nr-accent:#edc67e;
 --nr-action-ink:#251705;
 --nr-ink:#4b321c;
 --nr-muted:#675236;
 --nr-label:#67482c;
 --nr-soft:#ead7b0;
 --nr-panel:#f3e3c0;
 --nr-panel-border:#805b2d;
 --nr-input:#fcf4e1;
 --nr-border:#805b2d;
 --nr-divider:#ba9860;
 --nr-mark:#ead7b0;
 --nr-reading:#ebd8b0;
 --nr-hover:#e4c995;
 --nr-link:#6e400e;
 --nr-error:#922d19;
 --nr-focus:#674013;
 --nr-action-border:#805b2d;
 --nr-launcher-bg:#f3e3c0;
 --nr-launcher-ink:#382310;
 --nr-launcher-divider:#805b2d;
 --nr-launcher-hover:#6e400e14;
 --nr-active-indicator:#6e400e;
 --nr-shadow:#0009;
 --phanomaly-narrator-heading:#382310;
 --phanomaly-narrator-sheen:#fff8e870;
}
[data-narrator-widget][data-theme="dark"]{
 --nr-ink:#f5efdf;
 --nr-muted:#b5ad9b;
 --nr-label:#d4c19e;
 --nr-soft:#241d12;
 --nr-panel:#12100c;
 --nr-panel-border:#a4844b;
 --nr-input:#080705;
 --nr-border:#987849;
 --nr-divider:#403423;
 --nr-mark:#241d12;
 --nr-reading:#1b160e;
 --nr-hover:#302516;
 --nr-link:#edc67e;
 --nr-error:#ffb5a7;
 --nr-focus:#edc67e;
 --nr-action-border:#a4844b;
 --nr-launcher-bg:#12100c;
 --nr-launcher-ink:#edc67e;
 --nr-launcher-divider:#987849;
 --nr-launcher-hover:#edc67e18;
 --nr-active-indicator:#edc67e;
 --phanomaly-narrator-heading:#edc67e;
 --phanomaly-narrator-sheen:#edc67e0d;
}
[data-narrator-widget]::part(panel){
 border-radius:10px;
 background-image:linear-gradient(145deg,var(--phanomaly-narrator-sheen),transparent 55%);
 box-shadow:0 18px 60px var(--nr-shadow),inset 0 0 0 4px #edc67e0b;
}
[data-narrator-widget]::part(heading){font-family:Georgia,'Times New Roman',serif;font-size:24px;font-weight:400;letter-spacing:-.035em;line-height:1.15;color:var(--phanomaly-narrator-heading)}
[data-narrator-widget]::part(mark){border:1px solid var(--nr-border);border-radius:50%;background:transparent;color:var(--phanomaly-narrator-heading)}
[data-narrator-widget][data-expanded="false"]::part(heading){font-size:20px}
[data-narrator-widget]::part(reading){border:1px solid var(--nr-divider);border-radius:5px}
[data-narrator-widget]::part(primary-button),[data-narrator-widget]::part(field),[data-narrator-widget]::part(choice){border-radius:4px}
[data-narrator-widget]::part(option-group){border-radius:6px}
[data-narrator-widget]::part(launcher-bar){border-radius:8px;box-shadow:0 5px 24px var(--nr-shadow),inset 0 1px 0 #edc67e22}
[data-narrator-widget]::part(launcher){font-family:Georgia,'Times New Roman',serif;font-size:19px;font-weight:400;letter-spacing:.01em;border-radius:6px}
[data-narrator-widget]::part(mini-button){border-radius:5px}
span[data-narrator-text]{font:inherit;letter-spacing:inherit;line-height:inherit}
span[data-narrator-fragment]{display:contents;font:inherit!important;letter-spacing:inherit!important;text-transform:inherit!important;color:inherit!important}
body:has(.demo-bar) [data-narrator-widget],body:has(.demo-toolbar) [data-narrator-widget]{bottom:calc(var(--preview-bar-height,var(--demo-bar-height,76px)) + 16px)}
body:has(.demo-bar) [data-narrator-widget]::part(panel),body:has(.demo-toolbar) [data-narrator-widget]::part(panel){max-height:calc(100dvh - var(--preview-bar-height,var(--demo-bar-height,76px)) - 100px)}
.scene-window[data-base-unavailable]::after{content:attr(data-narrator-fallback)}
html:not([lang="en"]) h1,html:not([lang="en"]) h2{overflow-wrap:anywhere}
@media(max-width:760px){
 html:not([lang="en"]) .header-right{flex-wrap:wrap;justify-content:flex-end;gap:4px 12px;max-width:65%}
 html:not([lang="en"]) .header-right a{padding-block:4px}
}
@media print{[data-narrator-widget]{display:none!important}}
