/* Style "Riviera" (created 2026-11-04)
   Sixties seaside: sun-bleached sand, sea blue and coral, awning stripes along the header,
   geometric sans headlines, generous pills and round port-hole details. Light scheme.
   Contract: css/ui-styles/templates.css – this file only sets tokens and decoration. */

html[data-ui-style="riviera"] { color-scheme: light; }

html[data-ui-style="riviera"],
html[data-ui-style="riviera"] .page {
    /* Palette */
    --bg-primary: #FBF5EA;
    --bg-secondary: #F3E9D6;
    --bg-surface: #FFFFFF;
    --bg-surface-hover: #FFF8EE;
    --bg-talk-bar: #FFFFFF;
    --bg-talk-bar-hover: #EEF6FA;
    --bg-comment-bar: #FFFFFF;
    --text-primary: #0E3150;
    --text-secondary: #2D4D68;
    --text-muted: #4D6780;
    --border: #CFDDE6;
    --border-light: #E3ECF1;
    --primary: #0D5E8C;
    --primary-hover: #094A6F;
    --primary-foreground: #FFFFFF;
    --primary-muted: rgba(13, 94, 140, .1);
    --success: #12704F;
    --warning: #92590A;
    --error: #BE3A2E;
    --info: #0D5E8C;
    --nav-bg: #FFFFFF;
    --nav-border: #CFDDE6;
    --shadow-color: rgba(14, 49, 80, .1);
    --modal-overlay: rgba(14, 49, 80, .45);
    --ai-color-1: #0D5E8C;
    --ai-color-2: #F06A55;
    --ai-color-3: #F2B33D;
    --ai-gradient: linear-gradient(135deg, #0D5E8C 0%, #F06A55 60%, #F2B33D 100%);
    --ai-bg: rgba(13, 94, 140, .08);
    --ai-border: rgba(13, 94, 140, .25);

    /* Type and shape */
    --font-default: "Century Gothic", "Avenir Next", Avenir, "Futura", "Trebuchet MS", "Segoe UI", sans-serif;
    --font-display: "Century Gothic", "Avenir Next", Avenir, "Futura", "Trebuchet MS", sans-serif;
    --radius-control: 999px;
    --radius-panel: 26px;

    /* Element tokens */
    --ui-page-bg:
        radial-gradient(circle at 92% 6%, rgba(242, 179, 61, .35) 0 90px, transparent 91px),
        radial-gradient(60% 40% at 0% 100%, rgba(13, 94, 140, .1), transparent 70%),
        #FBF5EA;
    --ui-heading-weight: 700;
    --ui-heading-tracking: -.03em;
    --ui-heading-transform: none;
    --ui-heading-color: #0E3150;
    --ui-heading-line: 1;
    --ui-eyebrow-color: #FFFFFF;
    --ui-eyebrow-bg: #F06A55;
    --ui-eyebrow-padding: .35rem .85rem;
    --ui-eyebrow-radius: 999px;
    --ui-eyebrow-tracking: .14em;
    --ui-eyebrow-weight: 700;
    --ui-label-weight: 700;
    --ui-header-bg: #FFFFFF;
    --ui-header-border: 0 solid transparent;
    --ui-logo-font: var(--font-display);
    --ui-logo-weight: 700;
    --ui-logo-tracking: -.04em;
    --ui-logo-mark-color: #F06A55;
    --ui-nav-radius: 999px;
    --ui-nav-color: #2D4D68;
    --ui-nav-weight: 700;
    --ui-nav-hover-bg: #EEF6FA;
    --ui-nav-active-bg: #0D5E8C;
    --ui-nav-active-color: #FFFFFF;
    --ui-footer-bg: #0D5E8C;
    --ui-footer-border: 0 solid transparent;
    --ui-link-color: #FFE2A8;
    --ui-divider: 2px dotted #CFDDE6;
    --ui-stylebar-bg: #0E3150;
    --ui-stylebar-fg: #E3ECF1;
    --ui-stylebar-border: 0 solid transparent;
    --ui-stylebar-accent: #F2B33D;
    --ui-stylebar-active-bg: #FFFFFF;
    --ui-stylebar-active-fg: #0E3150;
    --ui-stylebar-active-border: #FFFFFF;
    --ui-surface-border: 1px solid #E3ECF1;
    --ui-surface-shadow: 0 12px 32px rgba(14, 49, 80, .08);
    --ui-modal-shadow: 0 30px 70px rgba(14, 49, 80, .25);
    --ui-talkbar-border: 1px solid #E3ECF1;
    --ui-talkbar-shadow: 0 6px 18px rgba(14, 49, 80, .06);
    --ui-talkbar-hover-shadow: 0 10px 26px rgba(14, 49, 80, .12);
    --ui-btn-weight: 700;
    --ui-btn-primary-bg: #F06A55;
    --ui-btn-primary-fg: #FFFFFF;
    --ui-btn-primary-border: 0 solid transparent;
    --ui-btn-primary-shadow: 0 8px 20px rgba(240, 106, 85, .35);
    --ui-btn-primary-hover-bg: #E2553F;
    --ui-btn-secondary-bg: #FFFFFF;
    --ui-btn-secondary-fg: #0D5E8C;
    --ui-btn-secondary-border: 2px solid #0D5E8C;
    --ui-btn-secondary-hover-bg: #EEF6FA;
    --ui-btn-hover-transform: translateY(-2px);
    --ui-input-bg: #FFFFFF;
    --ui-input-border: 2px solid #E3ECF1;
    --ui-input-radius: 18px;
    --ui-input-focus-border-color: #0D5E8C;
    --ui-input-focus-shadow: 0 0 0 5px rgba(13, 94, 140, .12);
    --ui-seg-bg: #FFFFFF;
    --ui-seg-fg: #2D4D68;
    --ui-seg-border: 2px solid #E3ECF1;
    --ui-seg-underline: 2px solid #E3ECF1;
    --ui-seg-radius: 999px;
    --ui-seg-hover-bg: #EEF6FA;
    --ui-seg-active-bg: #0D5E8C;
    --ui-seg-active-fg: #FFFFFF;
    --ui-seg-active-border: 2px solid #0D5E8C;
    --ui-seg-active-underline: 2px solid #0D5E8C;
    --ui-panel-bg: #FFFFFF;
    --ui-panel-border: 1px solid #E3ECF1;
    --ui-panel-radius: 30px;
    --ui-panel-padding: 2.5rem 2.5rem 1.5rem;
    --ui-panel-padding-mobile: 1.6rem 1.1rem 1.1rem;
    --ui-panel-shadow: 0 20px 50px rgba(14, 49, 80, .1);
    --ui-fab-bg: #0D5E8C;
    --ui-fab-border: 0 solid transparent;
    --ui-fab-radius: 50%;
    --ui-fab-shadow: 0 8px 22px rgba(13, 94, 140, .35);
    --ui-badge-bg: #F06A55;
    --ui-badge-fg: #FFFFFF;
}

/* Awning: sea-blue and white stripes with a scalloped edge under the header */
html[data-ui-style="riviera"] .page > header { position: relative; margin-bottom: 22px; }
html[data-ui-style="riviera"] .page > header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -22px;
    height: 22px;
    background: repeating-linear-gradient(90deg, #0D5E8C 0 24px, #FFFFFF 24px 48px);
    /* 10px straight band, then one scallop per stripe hanging below it */
    -webkit-mask:
        linear-gradient(#000 0 0) top / 100% 10px no-repeat,
        radial-gradient(circle at 12px 0, #000 11.5px, transparent 12px) 0 10px / 24px 12px repeat-x;
    mask:
        linear-gradient(#000 0 0) top / 100% 10px no-repeat,
        radial-gradient(circle at 12px 0, #000 11.5px, transparent 12px) 0 10px / 24px 12px repeat-x;
    filter: drop-shadow(0 2px 2px rgba(14, 49, 80, .15));
    pointer-events: none;
}
html[data-ui-style="riviera"] .page > footer { color: #E3ECF1; }
html[data-ui-style="riviera"] .page > footer :is(.logo, .studio-brand-name) { color: #FFFFFF; }
html[data-ui-style="riviera"] .page > footer .footer-copyright { color: #BFD3E2; }
html[data-ui-style="riviera"] .studio-voice-art circle:first-of-type { fill: #FFFFFF; stroke: #CFDDE6; }

.lt-style-chip[data-chip="riviera"] {
    background:
        radial-gradient(circle at 72% 30%, #F2B33D 0 3px, transparent 3.5px),
        repeating-linear-gradient(90deg, #0D5E8C 0 4px, #FFFFFF 4px 8px) 0 0 / 100% 45% no-repeat,
        #F06A55;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(14, 49, 80, .4);
}
