/* WAYFARER_THEMES_V145. Scope to opted-in player surfaces, including live AJAX content. */
body.wayfarer-play-page[data-wayfarer-theme], [data-wayfarer-theme] { background-color:var(--wf-background); color:var(--wf-text); font-family:var(--wf-font); --wayfarer-keyboard-focus:var(--wf-focus); }
[data-wayfarer-theme] :is(.wayfarer-player-pane,.wayfarer-play-shell-header,.wayfarer-action-screen,.wayfarer-travel-controls,.wayfarer-start-section,.wayfarer-start-choice,.wayfarer-inventory-item,.wayfarer-party-member,.wayfarer-status-section,.wayfarer-hud-component,.wayfarer-calendar-hud,.wayfarer-player-meta,.wayfarer-exchange-confirmation,.wayfarer-exchange-capacity,.wayfarer-exchange-feedback,.wayfarer-presentation-changes) { background:var(--wf-panel); color:var(--wf-text); border-color:var(--wf-text); border-color:color-mix(in srgb,var(--wf-text) 24%,var(--wf-panel)); }
[data-wayfarer-theme] :is(.wayfarer-presentation-screen,.wayfarer-ending-screen) { background:var(--wf-background); color:var(--wf-text); }
[data-wayfarer-theme].wayfarer-presentation-transitioning::after { background:var(--wf-background); }
[data-wayfarer-theme] :is(.wayfarer-start-introduction,.wayfarer-action-heading p,.wayfarer-play-title p,.wayfarer-player-meta h2,.wayfarer-start-section h3,.wayfarer-start-choice legend,.wayfarer-start-option-copy>span,.wayfarer-status-values dt,.wayfarer-status-muted,.wayfarer-inventory-quantity,.wayfarer-entity-detail-eyebrow,.wayfarer-travel-next,.wayfarer-hud-value,.wayfarer-presentation-eyebrow,.wayfarer-presentation-key-hint,.wayfarer-storylet-branch-prompt,.wayfarer-ending-eyebrow,.wayfarer-exchange-item-label small,.wayfarer-exchange-hint) { color:var(--wf-text); }
[data-wayfarer-theme] :is(.wayfarer-entity-open-button) { color:var(--wf-text); text-decoration:underline; }
[data-wayfarer-theme] :is(.wayfarer-action-button,.wayfarer-start-button,.wayfarer-storylet-branch-button,.wayfarer-presentation-continue,.wayfarer-ending-restart) { font-family:inherit; background:var(--wf-accent); color:var(--wf-button-text); border-color:var(--wf-accent); }
[data-wayfarer-theme] :is(.wayfarer-action-button,.wayfarer-start-button,.wayfarer-storylet-branch-button,.wayfarer-presentation-continue,.wayfarer-ending-restart):hover { background:var(--wf-accent); color:var(--wf-button-text); box-shadow:inset 0 0 0 2px var(--wf-button-text); }
[data-wayfarer-theme] :is(.wayfarer-action-utility-button,.wayfarer-action-back-button,.wayfarer-travel-pause,.wayfarer-shell-button,.wayfarer-start-names input,.wayfarer-exchange-ledger input) { background:var(--wf-panel); color:var(--wf-text); border-color:var(--wf-text); font-family:inherit; }
[data-wayfarer-theme] :is(.wayfarer-action-utility-button,.wayfarer-action-back-button,.wayfarer-travel-pause,.wayfarer-shell-button,.wayfarer-start-option):hover { background:var(--wf-panel); color:var(--wf-text); box-shadow:inset 0 0 0 1px var(--wf-text); }
[data-wayfarer-theme] :is(.wayfarer-player-pane button,.wayfarer-player-pane input,.wayfarer-presentation-screen button,.wayfarer-ending-screen button,.wayfarer-shell-button):focus-visible { outline:3px solid var(--wf-text); outline-offset:3px; }
[data-wayfarer-theme] .wayfarer-keyboard-choice { outline-color:var(--wf-text) !important; box-shadow:0 0 0 3px var(--wf-panel); }
[data-wayfarer-theme] .wayfarer-player-member h4::after { color:var(--wf-text); }
[data-wayfarer-theme] :is(.wayfarer-hud-progress-fill,.wayfarer-status-trait-bar > span) { background:var(--wf-progress-fill,var(--wf-accent)); }
[data-wayfarer-theme] .wayfarer-status-trait-bar > span { opacity:1; }
[data-wayfarer-theme] :is(.wayfarer-hud-progress-track,.wayfarer-exchange-ledger thead) { background:var(--wf-background); color:var(--wf-text); }
[data-wayfarer-theme] :is(.wayfarer-status-values>div,.wayfarer-exchange-ledger th,.wayfarer-exchange-ledger td,.wayfarer-start-option) { border-color:var(--wf-text); border-color:color-mix(in srgb,var(--wf-text) 24%,var(--wf-panel)); }
[data-wayfarer-theme] .wayfarer-exchange-error { color:var(--wf-text); font-weight:700; }
[data-wayfarer-theme][data-theme-embellishment="line"] :is(.wayfarer-action-heading h2,.wayfarer-presentation-copy h1,.wayfarer-ending-copy h1)::after { content:""; display:block; width:4rem; border-bottom:2px solid var(--wf-accent); margin-top:.6em; }
[data-wayfarer-theme][data-theme-embellishment="ornament"] :is(.wayfarer-action-heading h2,.wayfarer-presentation-copy h1,.wayfarer-ending-copy h1)::after { content:"— ◆ —"; display:block; color:var(--wf-text); font-size:1rem; letter-spacing:.3em; margin-top:.6em; }
[data-wayfarer-theme][data-theme-embellishment="texture"], [data-wayfarer-theme][data-theme-embellishment="texture"] :is(.wayfarer-presentation-screen,.wayfarer-ending-screen) { background-image:radial-gradient(var(--wf-text) .4px,transparent .4px); background-size:9px 9px; }
/* Debug controls keep their established presentation. */
[data-wayfarer-theme] .wayfarer-author-pane { color:#20242a; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
@media (forced-colors:active) { [data-wayfarer-theme] .wayfarer-keyboard-choice { outline-color:Highlight !important; } }

