/* ============================================
   Micro-Oracolo Meteorologico — Design System
   ============================================
   Dark, glassmorphic, premium weather dashboard
   Ottimizzato per mobile e desktop.
*/

/* ─────────────────────────────────────────────
   Google Fonts
   ───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─────────────────────────────────────────────
   Design Tokens
   ───────────────────────────────────────────── */
:root {
    /* Colori base — palette notturna profonda */
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-hover: rgba(17, 24, 39, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);

    /* Bordi vetro */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.15);

    /* Colori accento */
    --accent-gold: #f5a623;
    --accent-gold-glow: rgba(245, 166, 35, 0.3);
    --accent-blue: #60a5fa;
    --accent-blue-glow: rgba(96, 165, 250, 0.25);
    --accent-cyan: #22d3ee;
    --accent-cyan-glow: rgba(34, 211, 238, 0.2);
    --accent-green: #34d399;
    --accent-green-glow: rgba(52, 211, 153, 0.2);
    --accent-red: #f87171;
    --accent-red-glow: rgba(248, 113, 113, 0.2);
    --accent-purple: #a78bfa;

    /* Colori modelli meteo */
    --color-gfs: #94a3b8;
    --color-ecmwf: #60a5fa;
    --color-icon: #a78bfa;
    --color-ai: #f5a623;

    /* Testo */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #f5a623;

    /* Tipografia */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spaziatura */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Raggi bordo */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Ombre */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow-gold: 0 0 30px rgba(245, 166, 35, 0.15);
    --shadow-glow-blue: 0 0 30px rgba(96, 165, 250, 0.15);

    /* Transizioni */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --max-width: 1400px;
    --header-height: 64px;
}

/* ─────────────────────────────────────────────
   Reset & Base
   ───────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background animato con gradiente sottile */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(96, 165, 250, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(245, 166, 35, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(34, 211, 238, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: bgShift 20s ease-in-out infinite alternate;
}

@keyframes bgShift {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* ─────────────────────────────────────────────
   Header
   ───────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-lg);
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-glass);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header__icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px var(--accent-gold-glow));
}

.header__title {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gold), #fcd34d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.header__subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.header__status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header__controls {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   Selettore località (dropdown nell'header)
   ───────────────────────────────────────────── */
.location-picker {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.location-picker__label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.location-picker__select {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 6px 30px 6px 12px;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%),
                      linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
    background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    transition: all var(--transition-fast);
    max-width: 240px;
}

.location-picker__select:hover,
.location-picker__select:focus {
    border-color: var(--accent-gold);
    background-color: var(--bg-glass-hover);
    outline: none;
}

.location-picker__select option {
    background: #1a1f2e;
    color: var(--text-primary);
}

/* ─────────────────────────────────────────────
   Sezione Meteo Mare
   ───────────────────────────────────────────── */
.marine-section {
    grid-column: 1 / -1;
    background: linear-gradient(135deg,
        rgba(96, 165, 250, 0.06),
        rgba(34, 211, 238, 0.04));
    border-color: rgba(96, 165, 250, 0.25);
}

.marine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-md);
}

.marine-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: var(--space-md);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform var(--transition-fast);
}

.marine-card:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.4);
}

.marine-card--primary {
    background: rgba(96, 165, 250, 0.10);
    border-color: rgba(96, 165, 250, 0.45);
    box-shadow: 0 0 16px rgba(96, 165, 250, 0.15);
}

.marine-card--accent {
    background: rgba(245, 166, 35, 0.08);
    border-color: rgba(245, 166, 35, 0.35);
}

.marine-card__label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.marine-card__value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin: 2px 0;
}

.marine-card--primary .marine-card__value {
    color: var(--accent-cyan);
}
.marine-card--accent .marine-card__value {
    color: var(--accent-gold);
}

.marine-card__sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.marine-loading {
    grid-column: 1 / -1;
    padding: var(--space-xl);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ── Insight testuali "tendenza prossime 24h" ── */
.marine-insights {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: var(--space-md);
}
.marine-insight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(96, 165, 250, 0.06);
    border: 1px solid rgba(96, 165, 250, 0.20);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-primary);
}
.marine-insight__icon {
    font-size: 1.15rem;
    flex-shrink: 0;
}
.marine-insight--warning {
    background: rgba(245, 166, 35, 0.08);
    border-color: rgba(245, 166, 35, 0.35);
}
.marine-insight--calm {
    background: rgba(34, 197, 94, 0.07);
    border-color: rgba(34, 197, 94, 0.25);
}

/* ── Strip ora-per-ora vento + onde 48h ── */
.marine-forecast {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-glass);
}
.marine-forecast__title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.marine-forecast__strip {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: var(--space-sm);
    scrollbar-width: thin;
    scrollbar-color: rgba(96, 165, 250, 0.4) transparent;
}
.marine-forecast__strip::-webkit-scrollbar {
    height: 6px;
}
.marine-forecast__strip::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.35);
    border-radius: 3px;
}

.marine-fc-cell {
    flex: 0 0 auto;
    width: 70px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 8px 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    transition: transform var(--transition-fast);
}
.marine-fc-cell:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.45);
}
.marine-fc-cell--now {
    border-color: rgba(34, 197, 94, 0.55);
    background: rgba(34, 197, 94, 0.07);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.18);
}
.marine-fc-cell--daystart {
    border-left: 2px solid rgba(245, 166, 35, 0.5);
    padding-left: 2px;
}

.marine-fc-cell__time {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
}
.marine-fc-cell__daytag {
    font-size: 0.6rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}
.marine-fc-cell__wind {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}
.marine-fc-cell__windunit {
    font-size: 0.6rem;
    color: var(--text-muted);
    line-height: 1;
    margin-top: -2px;
}
.marine-fc-cell__arrow {
    font-size: 1.1rem;
    line-height: 1;
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
}
.marine-fc-cell__wave {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    line-height: 1;
}
.marine-fc-cell__bar {
    width: 100%;
    height: 4px;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 2px;
}
.marine-fc-cell__bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--accent-green), var(--accent-gold), var(--accent-red));
    border-radius: 2px;
}

/* Colorazione cella per intensità vento */
.marine-fc-cell[data-wind-level="calm"]     .marine-fc-cell__wind { color: var(--accent-green); }
.marine-fc-cell[data-wind-level="moderate"] .marine-fc-cell__wind { color: var(--accent-cyan); }
.marine-fc-cell[data-wind-level="strong"]   .marine-fc-cell__wind { color: var(--accent-gold); }
.marine-fc-cell[data-wind-level="gale"]     .marine-fc-cell__wind { color: var(--accent-red); }

@media (max-width: 520px) {
    .marine-fc-cell { width: 60px; }
    .marine-fc-cell__wind { font-size: 0.9rem; }
}

/* ─────────────────────────────────────────────
   Sezione Vento LIVE — anemometro reale
   ───────────────────────────────────────────── */
.live-wind-section {
    grid-column: 1 / -1;
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 0.08),
        rgba(96, 165, 250, 0.05));
    border-color: rgba(34, 197, 94, 0.30);
    position: relative;
    overflow: hidden;
}

.live-wind-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08), transparent 70%);
    pointer-events: none;
}

.live-wind-body {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 1.5fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.live-wind-main {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.live-wind-compass {
    position: relative;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.live-wind-compass__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(96, 165, 250, 0.35);
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.15));
    box-shadow:
        inset 0 0 24px rgba(34, 197, 94, 0.15),
        0 0 20px rgba(34, 197, 94, 0.10);
}

.live-wind-compass__ring span {
    position: absolute;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}
.live-wind-compass__n { top: 6px;    left: 50%; transform: translateX(-50%); color: var(--accent-red); }
.live-wind-compass__s { bottom: 6px; left: 50%; transform: translateX(-50%); }
.live-wind-compass__e { right: 8px;  top: 50%; transform: translateY(-50%); }
.live-wind-compass__w { left: 8px;   top: 50%; transform: translateY(-50%); }

.live-wind-compass__needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 60px;
    margin-left: -2px;
    margin-top: -60px;
    background: linear-gradient(to bottom, var(--accent-green), transparent);
    border-radius: 2px;
    transform-origin: bottom center;
    transform: rotate(0deg);
    transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.2);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.live-wind-compass__needle::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    width: 16px;
    height: 16px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

.live-wind-compass__center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    background: var(--text-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--bg-card);
}

.live-wind-readout {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.live-wind-readout__main {
    font-family: var(--font-mono);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--accent-green);
    line-height: 1;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.25);
}

.live-wind-readout__unit {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 6px;
    font-weight: 400;
}

.live-wind-readout__dir {
    font-size: 1rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

.live-wind-side {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.live-wind-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.live-wind-stat {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    text-align: center;
}

.live-wind-stat__label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.live-wind-stat__value {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin-top: 2px;
}

.live-wind-stat__unit {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: -2px;
}

.live-wind-spark {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
}

.live-wind-spark canvas {
    display: block;
    width: 100% !important;
    height: 80px !important;
}

.live-wind-spark__caption {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 4px;
    letter-spacing: 0.03em;
}

.live-wind-footer {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.live-wind-footer__sep {
    opacity: 0.5;
}

.live-wind-footer a {
    color: var(--accent-cyan);
    text-decoration: none;
}
.live-wind-footer a:hover { text-decoration: underline; }

/* Stato "stale" (osservazione vecchia) */
.live-wind-section[data-fresh="stale"] .live-wind-readout__main { color: var(--accent-gold); }
.live-wind-section[data-fresh="stale"] .live-wind-compass__needle {
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    box-shadow: 0 0 8px rgba(245, 166, 35, 0.6);
}
.live-wind-section[data-fresh="stale"] .live-wind-compass__needle::before {
    background: var(--accent-gold);
    box-shadow: 0 0 12px rgba(245, 166, 35, 0.9);
}

@media (max-width: 880px) {
    .live-wind-body {
        grid-template-columns: 1fr;
    }
    .live-wind-main {
        justify-content: center;
    }
    .live-wind-compass { width: 130px; height: 130px; }
    .live-wind-readout__main { font-size: 2.6rem; }
}
@media (max-width: 520px) {
    .live-wind-main {
        flex-direction: column;
        gap: var(--space-md);
    }
    .live-wind-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .live-wind-stat__value { font-size: 1.1rem; }
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green-glow);
    animation: pulse 2s ease-in-out infinite;
}

.status-dot--offline {
    background: var(--accent-red);
    box-shadow: 0 0 8px var(--accent-red-glow);
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.status-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

/* ─────────────────────────────────────────────
   Layout Principale
   ───────────────────────────────────────────── */
.main {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-lg);
    display: grid;
    gap: var(--space-lg);
}

/* ─────────────────────────────────────────────
   Card Glass (Componente base)
   ───────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.1) 30%,
        rgba(255, 255, 255, 0.1) 70%,
        transparent
    );
}

.card:hover {
    border-color: var(--border-glass-hover);
    background: var(--bg-card-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.card__title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.card__badge {
    font-size: 0.65rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 999px;
    font-family: var(--font-mono);
}

.card__badge--live {
    background: rgba(52, 211, 153, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.card__badge--ai {
    background: rgba(245, 166, 35, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 166, 35, 0.3);
}

/* ─────────────────────────────────────────────
   Hero Card — Temperatura Principale
   ───────────────────────────────────────────── */
.hero {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg,
        rgba(17, 24, 39, 0.8),
        rgba(17, 24, 39, 0.6)
    );
    border-color: rgba(245, 166, 35, 0.15);
    box-shadow: var(--shadow-glow-gold);
}

.hero__temp-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__temp-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-xs);
}

.hero__temp {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.hero__temp-unit {
    font-size: 2rem;
    font-weight: 400;
    -webkit-text-fill-color: var(--text-secondary);
}

.hero__delta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

.hero__delta--positive {
    background: rgba(245, 166, 35, 0.12);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 166, 35, 0.25);
}

.hero__delta--negative {
    background: rgba(96, 165, 250, 0.12);
    color: var(--accent-blue);
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.hero__delta--neutral {
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-secondary);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.hero__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.hero__detail {
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    transition: all var(--transition-fast);
}

.hero__detail:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
}

.hero__detail-icon {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
}

.hero__detail-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.hero__detail-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.hero__detail-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-top: 2px;
}

/* ─────────────────────────────────────────────
   Strip oraria 24h
   ───────────────────────────────────────────── */
.hourly-section {
    grid-column: 1 / -1;
}

.hourly-strip {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding: var(--space-sm) 2px var(--space-md);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.hourly-strip::-webkit-scrollbar { height: 6px; }

.hourly-cell {
    flex: 0 0 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: var(--space-md) var(--space-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    scroll-snap-align: start;
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.hourly-cell:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-2px);
}

.hourly-cell--now {
    background: rgba(245, 166, 35, 0.10);
    border-color: rgba(245, 166, 35, 0.35);
    box-shadow: 0 0 16px rgba(245, 166, 35, 0.18);
}

.hourly-cell__time {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-mono);
}

.hourly-cell--now .hourly-cell__time {
    color: var(--accent-gold);
}

.hourly-cell__icon {
    font-size: 1.6rem;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.hourly-cell__temp {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.hourly-cell__rain-bar {
    position: relative;
    width: 4px;
    height: 32px;
    background: rgba(96, 165, 250, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.hourly-cell__rain-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--accent-blue), var(--accent-cyan));
    border-radius: 2px;
    min-height: 0;
}

.hourly-cell__rain-val {
    font-size: 0.62rem;
    color: var(--accent-blue);
    font-family: var(--font-mono);
    min-height: 0.8em;
}

.hourly-cell__wind {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.hourly-empty,
.daily-empty {
    padding: var(--space-xl);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ─────────────────────────────────────────────
   Previsioni 7 giorni
   ───────────────────────────────────────────── */
.daily-section {
    grid-column: 1 / -1;
}

.daily-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--space-md);
}

.daily-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-align: center;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.daily-card:hover,
.daily-card:focus-visible {
    transform: translateY(-2px);
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-md);
    outline: none;
}

.daily-card:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.daily-card--expanded {
    border-color: var(--accent-gold);
    background: rgba(245, 166, 35, 0.08);
    box-shadow: 0 0 18px rgba(245, 166, 35, 0.22);
}

.daily-card__expand-hint {
    margin-top: 6px;
    font-size: 0.62rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.daily-card--expanded .daily-card__expand-hint {
    color: var(--accent-gold);
    opacity: 1;
}

.daily-card:first-child {
    border-color: rgba(245, 166, 35, 0.3);
    background: rgba(245, 166, 35, 0.06);
}

.daily-card__day {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: capitalize;
}

.daily-card__date {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.daily-card__icon {
    font-size: 2.6rem;
    line-height: 1;
    margin: 6px 0 4px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.daily-card__label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    min-height: 2.4em;
    display: flex;
    align-items: center;
    text-align: center;
    line-height: 1.2;
}

.daily-card__temps {
    display: flex;
    gap: var(--space-sm);
    align-items: baseline;
    margin: 4px 0;
    font-family: var(--font-mono);
}

.daily-card__tmax {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.daily-card__tmin {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.daily-card__details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    margin-top: 6px;
    padding-top: var(--space-sm);
    border-top: 1px dashed var(--border-glass);
}

.daily-card__detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-secondary);
    gap: 4px;
    font-family: var(--font-mono);
}

.daily-card__detail > span:first-child {
    flex: 0 0 auto;
}

.daily-card__detail > span:last-child {
    flex: 1;
    text-align: right;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─────────────────────────────────────────────
   Pannello espandibile: ora-per-ora del giorno
   ───────────────────────────────────────────── */
.daily-hourly-panel {
    grid-column: 1 / -1;
    margin-top: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-glass);
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-radius: var(--radius-md);
    animation: panelSlideDown 0.25s ease-out;
}

@keyframes panelSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.daily-hourly-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px dashed var(--border-glass);
}

.daily-hourly-panel__title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.daily-hourly-panel__close {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}
.daily-hourly-panel__close:hover {
    background: rgba(245, 166, 35, 0.15);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.daily-hourly-panel__loading,
.daily-hourly-panel__empty {
    color: var(--text-muted);
    text-align: center;
    padding: var(--space-lg);
    font-size: 0.85rem;
}

.daily-hourly-panel__strip {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding: var(--space-sm) 2px var(--space-sm);
    scroll-snap-type: x mandatory;
}
.daily-hourly-panel__strip::-webkit-scrollbar { height: 6px; }

.hourly-detail-cell {
    flex: 0 0 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: var(--space-sm);
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    scroll-snap-align: start;
    font-family: var(--font-mono);
}

.hourly-detail-cell__time {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.hourly-detail-cell__icon {
    font-size: 1.8rem;
    line-height: 1;
    margin-top: 2px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.hourly-detail-cell__temp {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hourly-detail-cell__feels {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.hourly-detail-cell__rain-bar {
    position: relative;
    width: 4px;
    height: 28px;
    background: rgba(96, 165, 250, 0.08);
    border-radius: 2px;
    overflow: hidden;
    margin: 4px 0 2px;
}
.hourly-detail-cell__rain-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--accent-blue), var(--accent-cyan));
}
.hourly-detail-cell__rain-val {
    font-size: 0.6rem;
    color: var(--accent-blue);
    min-height: 0.8em;
}

.hourly-detail-cell__wind,
.hourly-detail-cell__hum,
.hourly-detail-cell__cloud {
    font-size: 0.62rem;
    color: var(--text-muted);
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .daily-hourly-panel {
        padding: var(--space-sm);
    }
    .hourly-detail-cell {
        flex: 0 0 78px;
    }
    .hourly-detail-cell__icon {
        font-size: 1.5rem;
    }
}

/* ─────────────────────────────────────────────
   Sezione Grafici
   ───────────────────────────────────────────── */
.charts-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.chart-container {
    position: relative;
    width: 100%;
    height: 300px;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* ─────────────────────────────────────────────
   Pannello Vento — Rosa dei Venti
   ───────────────────────────────────────────── */
/* Forza il rispetto dell'attributo HTML `hidden` anche per le card
   che hanno display custom (.wind-panel, .pressure-panel, ecc.). */
[hidden] { display: none !important; }

.wind-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wind-compass {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(96, 165, 250, 0.05) 0%,
        transparent 70%
    );
    border: 2px solid var(--border-glass);
    margin: var(--space-md) 0;
}

.wind-compass__directions {
    position: absolute;
    inset: 0;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.wind-compass__n,
.wind-compass__s,
.wind-compass__e,
.wind-compass__w {
    position: absolute;
}

.wind-compass__n { top: 8px; left: 50%; transform: translateX(-50%); color: var(--text-secondary); }
.wind-compass__s { bottom: 8px; left: 50%; transform: translateX(-50%); }
.wind-compass__e { right: 8px; top: 50%; transform: translateY(-50%); }
.wind-compass__w { left: 8px; top: 50%; transform: translateY(-50%); }

.wind-compass__needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 70px;
    background: linear-gradient(to top, var(--accent-gold), transparent);
    border-radius: 2px;
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(0deg);
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px var(--accent-gold-glow);
}

.wind-compass__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 12px var(--accent-gold-glow);
}

.wind-info {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    text-align: center;
}

.wind-info__item-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.wind-info__item-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ─────────────────────────────────────────────
   Pannello Pressione — Mini Barometro
   ───────────────────────────────────────────── */
.pressure-panel {
    text-align: center;
}

.pressure-value {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.pressure-unit {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pressure-trend {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pressure-trend--rising {
    background: rgba(52, 211, 153, 0.12);
    color: var(--accent-green);
}

.pressure-trend--falling {
    background: rgba(248, 113, 113, 0.12);
    color: var(--accent-red);
}

.pressure-trend--stable {
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-secondary);
}

/* ─────────────────────────────────────────────
   Sezione Info AI
   ───────────────────────────────────────────── */
.ai-info {
    grid-column: 1 / -1;
}

.ai-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.ai-metric {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
}

.ai-metric__value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.ai-metric__value--good {
    color: var(--accent-green);
}

.ai-metric__value--neutral {
    color: var(--accent-blue);
}

.ai-metric__label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

/* ─────────────────────────────────────────────
   Legenda Modelli
   ───────────────────────────────────────────── */
.model-legend {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-bottom: var(--space-sm);
}

.model-legend__item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.model-legend__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.model-legend__dot--gfs { background: var(--color-gfs); }
.model-legend__dot--ecmwf { background: var(--color-ecmwf); }
.model-legend__dot--icon { background: var(--color-icon); }
.model-legend__dot--ai {
    background: var(--color-ai);
    box-shadow: 0 0 8px var(--accent-gold-glow);
}

/* ─────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────── */
.footer {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-xl) 0 var(--space-md);
    color: var(--text-muted);
    font-size: 0.75rem;
    border-top: 1px solid var(--border-glass);
}

.footer a {
    color: var(--accent-blue);
    text-decoration: none;
}

/* ─────────────────────────────────────────────
   Loading State
   ───────────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg,
        var(--bg-glass) 25%,
        rgba(255, 255, 255, 0.06) 50%,
        var(--bg-glass) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton--text {
    height: 1rem;
    width: 60%;
    margin: var(--space-xs) 0;
}

.skeleton--temp {
    height: 5rem;
    width: 200px;
}

/* ─────────────────────────────────────────────
   Responsive — Tablet
   ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }

    .ai-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .daily-grid {
        /* 4 card per riga su tablet */
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

/* ─────────────────────────────────────────────
   Responsive — Mobile
   ───────────────────────────────────────────── */
@media (max-width: 640px) {
    :root {
        --space-lg: 1rem;
        --space-xl: 1.5rem;
    }

    .header {
        padding: 0 var(--space-md);
    }

    .header__title {
        font-size: 0.95rem;
    }

    .header__subtitle {
        display: none;
    }

    .header__controls {
        gap: var(--space-sm);
    }

    .location-picker__label {
        display: none;
    }

    .location-picker__select {
        max-width: 160px;
        font-size: 0.8rem;
        padding: 5px 24px 5px 8px;
    }

    .marine-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .marine-card__value {
        font-size: 1.2rem;
    }

    .hero__temp {
        font-size: 3.5rem;
    }

    .hero__details {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .hero__detail-value {
        font-size: 1.1rem;
    }

    .wind-compass {
        width: 160px;
        height: 160px;
    }

    .ai-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .model-legend {
        gap: var(--space-sm);
    }

    .chart-container {
        height: 220px;
    }

    .daily-grid {
        /* 2 card per riga su mobile, le altre vanno in scroll */
        grid-template-columns: repeat(2, 1fr);
    }

    .daily-card__icon {
        font-size: 2.2rem;
    }

    .hourly-cell {
        flex: 0 0 68px;
    }
}

/* ─────────────────────────────────────────────
   Micro-animazioni
   ───────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.5s ease-out backwards;
}

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4) { animation-delay: 0.2s; }
.card:nth-child(5) { animation-delay: 0.25s; }
.card:nth-child(6) { animation-delay: 0.3s; }

/* Numeri che cambiano con animazione */
.animate-value {
    transition: all var(--transition-normal);
}

/* Tooltip */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    z-index: 10;
}

.tooltip:hover::after {
    opacity: 1;
}

/* Scrollbar personalizzata */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-glass-hover);
}

/* ─────────────────────────────────────────────
   Weather condition icons animation
   ───────────────────────────────────────────── */
.weather-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.weather-icon--sunny {
    animation: sunGlow 3s ease-in-out infinite;
}

@keyframes sunGlow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(245, 166, 35, 0.4)); }
    50% { filter: drop-shadow(0 0 16px rgba(245, 166, 35, 0.7)); }
}

.weather-icon--rain {
    animation: rainDrop 1.5s ease-in-out infinite;
}

@keyframes rainDrop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(2px); }
}

/* ─────────────────────────────────────────────
   Notification / Toast
   ───────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 12px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 0.85rem;
    color: var(--text-primary);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.toast--visible {
    transform: translateY(0);
    opacity: 1;
}

.toast--success {
    border-color: rgba(52, 211, 153, 0.3);
}

.toast--error {
    border-color: rgba(248, 113, 113, 0.3);
}

/* ─────────────────────────────────────────────
   Chip / Tag per ora del giorno
   ───────────────────────────────────────────── */
.time-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
}
