/* Style "On Air" (created 2026-11-04)
   Night broadcast studio: near-black desk, a red on-air lamp, condensed uppercase
   headlines, monospace labels like a mixing console. Dark scheme.
   Contract: css/ui-styles/templates.css – this file only sets tokens and decoration. */

html[data-ui-style="onair"] { color-scheme: dark; }

html[data-ui-style="onair"],
html[data-ui-style="onair"] .page {
    /* Palette */
    --bg-primary: #0F1012;
    --bg-secondary: #15171A;
    --bg-surface: #1A1C20;
    --bg-surface-hover: #22252A;
    --bg-talk-bar: #1A1C20;
    --bg-talk-bar-hover: #23262B;
    --bg-comment-bar: #1A1C20;
    --text-primary: #F3F1EC;
    --text-secondary: #BDB9B1;
    --text-muted: #918D86;
    --border: #2F3237;
    --border-light: #24272B;
    --primary: #FF5A4E;
    --primary-hover: #FF7A70;
    --primary-foreground: #1A0504;
    --primary-muted: rgba(255, 90, 78, .13);
    --success: #5BD68A;
    --warning: #F5B94A;
    --error: #FF6B6B;
    --info: #7AB8FF;
    --nav-bg: #0B0C0E;
    --nav-border: #2A2D31;
    --shadow-color: rgba(0, 0, 0, .45);
    --modal-overlay: rgba(4, 4, 6, .78);
    --ai-color-1: #FF5A4E;
    --ai-color-2: #F5B94A;
    --ai-color-3: #FF8A65;
    --ai-gradient: linear-gradient(135deg, #FF5A4E 0%, #FF8A65 50%, #F5B94A 100%);
    --ai-bg: rgba(255, 90, 78, .10);
    --ai-border: rgba(255, 90, 78, .30);

    /* Type and shape */
    --font-default: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Bahnschrift Condensed", "Bahnschrift", "DIN Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
    --ui-font-ui: var(--ui-font-mono);
    --radius-control: 4px;
    --radius-panel: 8px;

    /* Element tokens */
    --ui-page-bg: radial-gradient(ellipse 80% 45% at 50% -8%, rgba(255, 90, 78, .11), transparent 70%), #0F1012;
    --ui-heading-weight: 700;
    --ui-heading-tracking: .005em;
    --ui-heading-transform: uppercase;
    --ui-heading-line: .98;
    --ui-eyebrow-tracking: .2em;
    --ui-eyebrow-weight: 500;
    --ui-label-color: var(--text-secondary);
    --ui-label-transform: uppercase;
    --ui-label-tracking: .08em;
    --ui-header-border: 1px solid #2A2D31;
    --ui-header-shadow: 0 1px 0 rgba(255, 255, 255, .03);
    --ui-logo-font: var(--font-display);
    --ui-logo-weight: 700;
    --ui-logo-transform: uppercase;
    --ui-logo-tracking: .01em;
    --ui-nav-transform: uppercase;
    --ui-nav-tracking: .08em;
    --ui-nav-color: #A9A59D;
    --ui-nav-active-bg: rgba(255, 90, 78, .12);
    --ui-nav-active-shadow: inset 0 0 0 1px rgba(255, 90, 78, .45);
    --ui-footer-bg: #0B0C0E;
    --ui-footer-border: 1px solid #2A2D31;
    --ui-stylebar-bg: #08090A;
    --ui-stylebar-fg: #A9A59D;
    --ui-stylebar-border: 1px solid #202326;
    --ui-stylebar-active-bg: #1A1C20;
    --ui-stylebar-active-border: rgba(255, 90, 78, .55);
    --ui-surface-border: 1px solid #2A2D31;
    --ui-surface-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 30px rgba(0, 0, 0, .35);
    --ui-modal-shadow: 0 0 0 1px rgba(255, 90, 78, .18), 0 30px 80px rgba(0, 0, 0, .6);
    --ui-talkbar-border: 1px solid #2A2D31;
    --ui-talkbar-hover-shadow: 0 0 0 1px rgba(255, 90, 78, .45), 0 0 24px rgba(255, 90, 78, .16);
    --ui-btn-transform: uppercase;
    --ui-btn-tracking: .1em;
    --ui-btn-weight: 600;
    --ui-btn-primary-bg: #FF5A4E;
    --ui-btn-primary-fg: #1A0504;
    --ui-btn-primary-border: 1px solid #FF7A70;
    --ui-btn-primary-shadow: 0 0 0 1px rgba(255, 90, 78, .25), 0 0 22px rgba(255, 90, 78, .38);
    --ui-btn-primary-hover-bg: #FF6E63;
    --ui-btn-primary-hover-shadow: 0 0 0 1px rgba(255, 90, 78, .4), 0 0 34px rgba(255, 90, 78, .55);
    --ui-btn-secondary-bg: #15171A;
    --ui-btn-secondary-border: 1px solid #34383E;
    --ui-btn-secondary-hover-bg: #1E2125;
    --ui-input-bg: #0A0B0D;
    --ui-input-border: 1px solid #2F3237;
    --ui-input-shadow: inset 0 2px 6px rgba(0, 0, 0, .45);
    --ui-input-focus-shadow: inset 0 2px 6px rgba(0, 0, 0, .45), 0 0 0 3px rgba(255, 90, 78, .22);
    --ui-seg-bg: #131518;
    --ui-seg-border: 1px solid #2F3237;
    --ui-seg-underline: 1px solid #2F3237;
    --ui-seg-radius: 4px;
    --ui-seg-transform: uppercase;
    --ui-seg-tracking: .08em;
    --ui-seg-hover-bg: #1A1C20;
    --ui-seg-active-bg: rgba(255, 90, 78, .1);
    --ui-seg-active-border: 1px solid #FF5A4E;
    --ui-seg-active-underline: 1px solid #FF5A4E;
    --ui-seg-active-shadow: 0 0 16px rgba(255, 90, 78, .28), inset 0 0 10px rgba(255, 90, 78, .12);
    --ui-panel-bg: linear-gradient(180deg, #15171A, #121316);
    --ui-panel-border: 1px solid #2A2D31;
    --ui-panel-radius: 10px;
    --ui-panel-padding: 2.25rem 2rem 1.5rem;
    --ui-panel-padding-mobile: 1.6rem 1.1rem 1.1rem;
    --ui-panel-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 18px 50px rgba(0, 0, 0, .4);
    --ui-fab-shadow: 0 0 22px rgba(255, 90, 78, .45);
    --ui-badge-bg: #FF5A4E;
    --ui-badge-fg: #1A0504;
}

/* The on-air lamp next to the logo */
html[data-ui-style="onair"] .page > header .logo::after {
    content: "On Air";
    margin-left: .9rem;
    padding: .28rem .55rem .24rem;
    border: 1px solid #FF5A4E;
    border-radius: 3px;
    background: rgba(255, 90, 78, .12);
    color: #FF6B60;
    font-family: var(--ui-font-mono);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .2em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 0 14px rgba(255, 90, 78, .45), inset 0 0 8px rgba(255, 90, 78, .25);
    animation: lt-onair-lamp 2.8s ease-in-out infinite;
}
@keyframes lt-onair-lamp { 50% { box-shadow: 0 0 6px rgba(255, 90, 78, .25), inset 0 0 4px rgba(255, 90, 78, .15); opacity: .82; } }

/* Eyebrows read like console labels with a live dot */
html[data-ui-style="onair"] :is(.studio-eyebrow, .studio-section-number)::before {
    content: "\25CF";
    margin-right: .55em;
    color: #FF5A4E;
    text-shadow: 0 0 8px rgba(255, 90, 78, .8);
}

/* Hero headline: a faint glow, the waveform turns into a level meter */
html[data-ui-style="onair"] .studio-hero-title { text-shadow: 0 0 40px rgba(255, 90, 78, .12); }
html[data-ui-style="onair"] .studio-voice-art { filter: drop-shadow(0 0 18px rgba(255, 90, 78, .3)); }

.lt-style-chip[data-chip="onair"] {
    background:
        radial-gradient(circle at 50% 50%, #FF5A4E 0 3.5px, rgba(255, 90, 78, .45) 4.5px, transparent 8px),
        #0F1012;
}

/* Phones: the wide logo face shrinks earlier so it never runs under the language selector (2026-11-27). */
html[data-ui-style="onair"] { --lt-logo-fit: 7.9; }
