/* Style "Aurora" (created 2026-11-04)
   Northern lights over a night sky: violet, cyan and mint glows behind frosted, translucent
   panels; gradient pill buttons and a gradient headline. Dark scheme.
   Contract: css/ui-styles/templates.css – this file only sets tokens and decoration. */

html[data-ui-style="aurora"] { color-scheme: dark; }

html[data-ui-style="aurora"],
html[data-ui-style="aurora"] .page {
    /* Palette */
    --bg-primary: #0B0E1A;
    --bg-secondary: #121630;
    --bg-surface: #161B36;
    --bg-surface-hover: #1E2445;
    --bg-talk-bar: rgba(26, 31, 62, .72);
    --bg-talk-bar-hover: rgba(36, 42, 80, .78);
    --bg-comment-bar: rgba(26, 31, 62, .72);
    --text-primary: #EEF0FF;
    --text-secondary: #BCC1E4;
    --text-muted: #8D93BE;
    --border: rgba(170, 180, 255, .2);
    --border-light: rgba(170, 180, 255, .1);
    --primary: #9D90FF;
    --primary-hover: #B8AEFF;
    --primary-foreground: #0A0C18;
    --primary-muted: rgba(139, 124, 255, .16);
    --success: #4FE0A8;
    --warning: #FFC86B;
    --error: #FF7A93;
    --info: #6FD6FF;
    --nav-bg: rgba(11, 14, 26, .55);
    --nav-border: rgba(170, 180, 255, .12);
    --shadow-color: rgba(3, 4, 12, .5);
    --modal-overlay: rgba(5, 6, 16, .7);
    --ai-color-1: #9D90FF;
    --ai-color-2: #38C6F4;
    --ai-color-3: #4FE0A8;
    --ai-gradient: linear-gradient(120deg, #7C6BFF 0%, #38C6F4 55%, #4FE0A8 100%);
    --ai-bg: rgba(124, 107, 255, .14);
    --ai-border: rgba(124, 107, 255, .4);

    /* Type and shape */
    --font-default: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --radius-control: 12px;
    --radius-panel: 20px;

    /* Element tokens */
    --ui-page-bg:
        radial-gradient(55% 45% at 12% -5%, rgba(124, 107, 255, .42), transparent 70%) fixed,
        radial-gradient(45% 40% at 92% 6%, rgba(56, 198, 244, .28), transparent 70%) fixed,
        radial-gradient(60% 50% at 55% 108%, rgba(79, 224, 168, .17), transparent 70%) fixed,
        #0B0E1A;
    --ui-heading-weight: 600;
    --ui-heading-tracking: -.04em;
    --ui-heading-line: 1.02;
    --ui-eyebrow-color: #A6F0FF;
    --ui-eyebrow-bg: rgba(56, 198, 244, .12);
    --ui-eyebrow-padding: .4rem .85rem;
    --ui-eyebrow-radius: 999px;
    --ui-eyebrow-tracking: .16em;
    --ui-label-color: #C9CDF0;
    --ui-header-bg: rgba(11, 14, 26, .45);
    --ui-header-border: 1px solid rgba(170, 180, 255, .12);
    --ui-header-blur: blur(18px) saturate(140%);
    --ui-logo-font: var(--font-display);
    --ui-logo-weight: 600;
    --ui-logo-tracking: -.04em;
    --ui-logo-mark-color: #9D90FF;
    --ui-nav-radius: 999px;
    --ui-nav-color: #BCC1E4;
    --ui-nav-hover-bg: rgba(255, 255, 255, .06);
    --ui-nav-active-bg: rgba(157, 144, 255, .18);
    --ui-nav-active-color: #FFFFFF;
    --ui-nav-active-shadow: inset 0 0 0 1px rgba(157, 144, 255, .45);
    --ui-footer-bg: rgba(8, 10, 20, .6);
    --ui-footer-border: 1px solid rgba(170, 180, 255, .1);
    --ui-link-color: #A6F0FF;
    --ui-divider: 1px solid rgba(170, 180, 255, .12);
    --ui-stylebar-bg: rgba(6, 8, 18, .7);
    --ui-stylebar-fg: #BCC1E4;
    --ui-stylebar-border: 1px solid rgba(170, 180, 255, .1);
    --ui-stylebar-active-bg: rgba(157, 144, 255, .18);
    --ui-stylebar-active-fg: #FFFFFF;
    --ui-stylebar-active-border: rgba(157, 144, 255, .5);
    --ui-surface-bg: rgba(22, 27, 54, .66);
    --ui-surface-border: 1px solid rgba(170, 180, 255, .16);
    --ui-surface-shadow: 0 12px 40px rgba(3, 4, 12, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
    --ui-surface-hover-shadow: 0 16px 50px rgba(3, 4, 12, .45), 0 0 0 1px rgba(157, 144, 255, .35);
    --ui-surface-blur: blur(16px) saturate(140%);
    --ui-modal-bg: rgba(20, 24, 50, .92);
    --ui-modal-shadow: 0 30px 90px rgba(3, 4, 12, .6), 0 0 0 1px rgba(157, 144, 255, .25);
    --ui-talkbar-border: 1px solid rgba(170, 180, 255, .14);
    --ui-talkbar-hover-shadow: 0 0 0 1px rgba(157, 144, 255, .45), 0 12px 34px rgba(124, 107, 255, .25);
    --ui-btn-radius: 999px;
    --ui-btn-primary-bg: linear-gradient(120deg, #8B7CFF 0%, #4CC9F6 100%);
    --ui-btn-primary-fg: #0A0C18;
    --ui-btn-primary-border: 0 solid transparent;
    --ui-btn-primary-shadow: 0 10px 30px rgba(124, 107, 255, .35);
    --ui-btn-primary-hover-bg: linear-gradient(120deg, #A193FF 0%, #6FD6FF 100%);
    --ui-btn-primary-hover-shadow: 0 14px 40px rgba(124, 107, 255, .5);
    --ui-btn-secondary-bg: rgba(255, 255, 255, .06);
    --ui-btn-secondary-fg: #EEF0FF;
    --ui-btn-secondary-border: 1px solid rgba(170, 180, 255, .25);
    --ui-btn-secondary-hover-bg: rgba(255, 255, 255, .11);
    --ui-btn-hover-transform: translateY(-1px);
    --ui-input-bg: rgba(255, 255, 255, .05);
    --ui-input-border: 1px solid rgba(170, 180, 255, .2);
    --ui-input-radius: 14px;
    --ui-input-focus-border-color: #9D90FF;
    --ui-input-focus-shadow: 0 0 0 4px rgba(124, 107, 255, .25), 0 0 24px rgba(124, 107, 255, .25);
    --ui-seg-bg: rgba(255, 255, 255, .04);
    --ui-seg-fg: #BCC1E4;
    --ui-seg-border: 1px solid rgba(170, 180, 255, .18);
    --ui-seg-underline: 1px solid rgba(170, 180, 255, .18);
    --ui-seg-radius: 999px;
    --ui-seg-hover-bg: rgba(255, 255, 255, .08);
    --ui-seg-active-bg: linear-gradient(120deg, rgba(139, 124, 255, .9), rgba(76, 201, 246, .9));
    --ui-seg-active-fg: #0A0C18;
    --ui-seg-active-border: 1px solid transparent;
    --ui-seg-active-underline: 1px solid transparent;
    --ui-seg-active-shadow: 0 8px 24px rgba(124, 107, 255, .35);
    --ui-panel-bg: rgba(18, 22, 46, .55);
    --ui-panel-border: 1px solid rgba(170, 180, 255, .16);
    --ui-panel-radius: 26px;
    --ui-panel-padding: 2.25rem 2.25rem 1.5rem;
    --ui-panel-padding-mobile: 1.6rem 1.1rem 1.1rem;
    --ui-panel-shadow: 0 20px 60px rgba(3, 4, 12, .4), inset 0 1px 0 rgba(255, 255, 255, .07);
    --ui-panel-blur: blur(20px) saturate(140%);
    --ui-fab-bg: linear-gradient(120deg, #8B7CFF, #4CC9F6);
    --ui-fab-fg: #0A0C18;
    --ui-fab-border: 0 solid transparent;
    --ui-fab-radius: 50%;
    --ui-fab-shadow: 0 10px 30px rgba(124, 107, 255, .45);
    --ui-badge-bg: linear-gradient(120deg, #FF7A93, #FFC86B);
    --ui-badge-fg: #1A0B12;
}

/* Gradient headline (h1. + later source order outranks the heading template's colour) */
html[data-ui-style="aurora"] h1.studio-hero-title {
    background: linear-gradient(110deg, #FFFFFF 10%, #C7BFFF 45%, #8BE3FF 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* The waveform glows like the sky */
html[data-ui-style="aurora"] .studio-voice-art { filter: drop-shadow(0 0 26px rgba(124, 107, 255, .45)); }
html[data-ui-style="aurora"] .studio-voice-art circle:first-of-type { fill: rgba(124, 107, 255, .12); }

.lt-style-chip[data-chip="aurora"] {
    background:
        radial-gradient(circle at 22% 25%, #8B7CFF 0 5px, transparent 10px),
        radial-gradient(circle at 78% 40%, #38C6F4 0 4px, transparent 9px),
        radial-gradient(circle at 50% 95%, #4FE0A8 0 4px, transparent 9px),
        #0B0E1A;
}
