/* Styles for Chapter 8 Simulation 3: Electromagnetic Spectrum & Radiation-Matter Interactions */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-color: #f1f5f9;
    --panel-bg: #ffffff;
    --text-color: #0f172a;
    --border-color: #cbd5e1;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --focus-ring: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    padding: 1.5rem;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

/* Top Navigation Bar */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.nav-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: #f8fafc;
    transition: all 0.2s ease;
}

.nav-home-btn:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.nav-dept-tag {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

header p {
    font-size: 0.95rem;
    color: #475569;
    max-width: 900px;
}

/* Series Card */
.series-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.85rem 1.15rem;
}

.series-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.2rem;
}

.series-tagline {
    font-size: 0.82rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.series-card p {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.45;
}

/* Predict-Observe-Explain (POE) Card */
.poe-card {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.poe-badge {
    background: #2563eb;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.poe-text {
    font-size: 0.86rem;
    color: #1e3a8a;
    line-height: 1.45;
}

/* Main Layout Grid */
.sim-layout {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 1.25rem;
    align-items: start;
    width: 100%;
}

@media (max-width: 960px) {
    .sim-layout {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        width: 100%;
    }

    /* Option A: Visualizer & Canvas render first on mobile */
    .visualizer-panel {
        order: 1;
        width: 100%;
    }

    /* Controls unroll naturally below without internal scroll traps */
    .controls-panel {
        order: 2;
        width: 100%;
        max-height: none;
        overflow-y: visible;
        padding-bottom: 1.5rem;
    }
}

/* Panels */
.panel {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.controls-panel {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.visualizer-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Control Groups */
.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
}

.control-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.control-group h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Mode Switcher Buttons */
.mode-toggle-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.mode-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    touch-action: manipulation;
    transition: all 0.2s ease;
    text-align: left;
}

.mode-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.mode-btn.active {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1d4ed8;
    box-shadow: 0 0 0 1px #2563eb;
}

.mode-goal-desc {
    font-size: 0.78rem;
    color: #475569;
    background: #f8fafc;
    padding: 0.55rem 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #2563eb;
    margin-top: 0.25rem;
    line-height: 1.45;
}

/* Fundamental Invariant Banner */
.invariant-banner {
    background: #0f172a;
    color: #f8fafc;
    border-radius: 8px;
    padding: 0.75rem 0.95rem;
    border: 1px solid #1e293b;
}

.invariant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
}

.invariant-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #38bdf8;
}

.invariant-badge {
    font-size: 0.68rem;
    font-weight: 700;
    background: #0284c7;
    color: #ffffff;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.invariant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.inv-col {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.inv-label {
    font-size: 0.7rem;
    color: #94a3b8;
}

.inv-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
    font-family: monospace;
}

/* Spectral Band Quick-Select Pills */
.band-pills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
}

.band-pill {
    padding: 0.55rem 0.45rem;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: #f8fafc;
    color: #1e293b;
    cursor: pointer;
    touch-action: manipulation;
    text-align: center;
    transition: all 0.15s ease;
}

.band-pill:hover {
    background: #f1f5f9;
}

.band-pill.active {
    background: #1e293b;
    color: #ffffff;
    border-color: #0f172a;
}

/* Slider & Stepper Controls (AGENTS.md Responsive Standard) */
.slider-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.slider-label-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-label-bar label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
}

.stat-badge {
    font-size: 0.78rem;
    font-family: monospace;
    font-weight: 700;
    color: #1d4ed8;
    background: #eff6ff;
    padding: 0.18rem 0.55rem;
    border-radius: 5px;
    border: 1px solid #bfdbfe;
}

.stepper-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.stepper-container input[type="range"] {
    flex: 1;
    height: 7px;
    border-radius: 4px;
    accent-color: #2563eb;
    cursor: pointer;
}

.step-btn {
    width: 44px;
    height: 40px;
    min-width: 44px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    touch-action: manipulation;
    transition: all 0.15s ease;
}

.step-btn:hover {
    background: #e2e8f0;
}

.fine-tuning-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    margin-top: 0.25rem;
}

.fine-step-btn {
    padding: 0.45rem 0.65rem;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    cursor: pointer;
    touch-action: manipulation;
}

.fine-step-btn:hover {
    background: #e2e8f0;
}

/* Action Buttons & Presets */
.action-grid {
    display: grid;
    gap: 0.5rem;
    width: 100%;
}

.emitter-action-grid {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0.6rem;
}

.altitude-action-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    margin-top: 0.4rem;
}

@media (max-width: 480px) {
    .emitter-action-grid,
    .altitude-action-grid {
        grid-template-columns: 1fr;
    }
}

.action-btn {
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    touch-action: manipulation;
    text-align: center;
    transition: all 0.15s ease;
}

.action-btn:hover {
    background: #e2e8f0;
}

.action-btn.primary {
    background: #2563eb;
    color: #ffffff;
    border-color: #1d4ed8;
}

.action-btn.primary:hover {
    background: #1d4ed8;
}

/* Microscopic Emitter Info Card */
.emitter-info-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.75rem 0.95rem;
}

.emitter-info-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

/* Emitter Radiation Efficiency & Sizing Match Meter */
.emitter-scale-meter {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 0.75rem 0.95rem;
    margin-top: 0.6rem;
}

/* Concept Cards */
.concept-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.85rem 1.05rem;
}

.concept-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.35rem;
}

.concept-card p {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.45;
}

/* Visualizer Canvas Container */
.canvas-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 400px;
    max-height: 520px;
    border-radius: 10px;
    overflow: hidden;
    background: #060911;
    border: 1px solid #1e293b;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

#sim-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* In-Canvas Voltmeter HUD */
.voltmeter-hud {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    pointer-events: none;
    z-index: 10;
}

.hud-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.hud-label {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.hud-val {
    font-size: 0.86rem;
    font-family: monospace;
    font-weight: 700;
}

.hud-val.gold { color: #f59e0b; }
.hud-val.cyan { color: #38bdf8; }
.hud-val.purple { color: #c084fc; }
.hud-val.green { color: #34d399; }

.hud-divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

/* Viewport Legend */
.viewport-legend {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    pointer-events: none;
    z-index: 10;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    color: #e2e8f0;
    font-weight: 500;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Watermark Badge */
.watermark-badge {
    position: absolute;
    bottom: 10px;
    left: 12px;
    font-size: 0.68rem;
    color: rgba(148, 163, 184, 0.8);
    background: rgba(15, 23, 42, 0.65);
    padding: 3px 8px;
    border-radius: 4px;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Gesture Interaction Hint */
.gesture-hint {
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-size: 0.68rem;
    color: rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.55);
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
    width: 100%;
}

@media (max-width: 480px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

.stat-cell {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.stat-number {
    font-size: 1.05rem;
    font-family: monospace;
    font-weight: 700;
}

.stat-number.gold { color: #d97706; }
.stat-number.cyan { color: #0284c7; }
.stat-number.purple { color: #9333ea; }
.stat-number.green { color: #059669; }
.stat-number.rose { color: #e11d48; }

/* Dual 2D Canvas Grid */
.dual-canvas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.graph-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.graph-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
}

.graph-legend {
    display: flex;
    gap: 0.6rem;
}

.graph-canvas {
    width: 100%;
    height: 105px;
    background: #04060a;
    border-radius: 6px;
    display: block;
}

/* =========================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS (Option A Standard)
   ========================================================= */
@media (max-width: 900px) {
    .sim-layout {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    /* Option A: Visualizer & Canvas render first on mobile */
    .visualizer-panel {
        order: 1;
    }

    /* Controls unroll naturally below without internal scroll traps */
    .controls-panel {
        order: 2;
        max-height: none;
        overflow-y: visible;
        padding-bottom: 1.5rem;
    }

    .dual-canvas-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    body {
        padding: 0.75rem;
    }

    header h1 {
        font-size: 1.35rem;
    }

    .canvas-container {
        height: 380px;
        min-height: 350px;
        max-height: 55vh;
    }

    /* Docked legend bar on mobile per AGENTS.md */
    .viewport-legend {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        padding: 4px 8px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px 10px;
        justify-content: center;
        background: rgba(8, 12, 20, 0.92);
    }

    .legend-item {
        font-size: 0.65rem;
        gap: 4px;
    }

    .voltmeter-hud {
        top: 6px;
        left: 6px;
        right: 6px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.35rem 0.5rem;
        padding: 0.4rem 0.6rem;
    }

    .voltmeter-hud .hud-divider {
        display: none;
    }

    .hud-label {
        font-size: 0.62rem;
    }

    .hud-val {
        font-size: 0.74rem;
    }

    .watermark-badge {
        bottom: 30px;
        font-size: 0.62rem;
    }

    .gesture-hint {
        display: none;
    }

    /* 2-Line Flex-Wrap Pattern for Slider Rows */
    .slider-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem 0.5rem;
        margin-bottom: 0.85rem;
        align-items: center;
    }

    .slider-row .slider-label-bar {
        flex: 1 1 100%;
    }

    .slider-row .stepper-container {
        flex: 0 0 100%;
        width: 100%;
        gap: 0.5rem;
    }

    .band-pills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.45rem;
    }
}

/* Institutional Admission Callout Card per PROJECT_STANDARDS.md */
.admission-card { 
    background: linear-gradient(135deg, #1e3a8a, #0f172a); 
    color: #ffffff; 
    border-radius: 12px; 
    padding: 1.5rem; 
    margin-top: 1.25rem; 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); 
    display: flex; 
    flex-direction: column; 
    gap: 1.25rem; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
} 

.admission-card.attention-flash { 
    animation: bannerGlowPulse 4s infinite ease-in-out; 
} 

@keyframes bannerGlowPulse { 
    0% { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border-color: rgba(255, 255, 255, 0.1); } 
    50% { box-shadow: 0 0 20px 4px rgba(251, 191, 36, 0.35); border-color: rgba(251, 191, 36, 0.5); } 
    100% { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border-color: rgba(255, 255, 255, 0.1); } 
} 

@media (prefers-reduced-motion: reduce) {
    .admission-card.attention-flash {
        animation: none;
    }
}

.promo-copy { 
    display: flex; 
    flex-direction: column; 
    gap: 0.25rem; 
} 

.promo-copy .promo-kicker { 
    color: #60a5fa; 
    font-weight: 600; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 0.05em; 
    margin-bottom: 0.2rem; 
} 

.promo-copy .promo-lead { 
    color: #ffffff; 
    font-weight: 600; 
    font-size: 1.05rem; 
    margin-bottom: 0.25rem; 
} 

.promo-copy .promo-headline { 
    color: #fcd34d; 
    font-weight: 800; 
    font-size: 1.45rem; 
    line-height: 1.25; 
} 

.program-grid { 
    display: flex; 
    gap: 1.5rem; 
    flex: 1; 
    justify-content: center; 
} 

@media (max-width: 680px) {
    .program-grid {
        flex-direction: column;
        gap: 0.75rem;
    }
}

.program-card { 
    background: rgba(255, 255, 255, 0.08); 
    padding: 0.75rem 1rem; 
    border-radius: 8px; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    font-size: 0.85rem; 
    display: flex; 
    flex-direction: column; 
    gap: 0.2rem; 
} 

.program-card strong { color: #fcd34d; font-size: 0.95rem; } 
.program-card span { color: #e2e8f0; } 
.program-card small { color: #94a3b8; font-style: italic; } 

.promo-actions { 
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem; 
    width: 100%;
} 

@media (min-width: 681px) {
    .promo-actions {
        min-width: 160px;
        width: auto;
    }
} 

.promo-button { 
    padding: 0.65rem 1.2rem; 
    border-radius: 6px; 
    font-weight: 700; 
    text-decoration: none; 
    transition: all 0.2s ease; 
    text-align: center; 
    font-size: 0.9rem; 
    min-height: 44px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    touch-action: manipulation; 
} 

.main-cta { background-color: #fbbf24; color: #0f172a; } 
.main-cta:hover { background-color: #f59e0b; transform: translateY(-1px); } 

.sub-cta { background-color: transparent; color: #e2e8f0; border: 1px solid rgba(255, 255, 255, 0.3); } 
.sub-cta:hover { background-color: rgba(255, 255, 255, 0.1); color: #fff; border-color: #fff; } 

/* Feedback & Suggestions Card */
.feedback-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

@media (max-width: 800px) {
    .feedback-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .feedback-btn {
        width: 100%;
        text-align: center;
    }
}

.feedback-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feedback-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.feedback-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.2rem;
}

.feedback-text p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.45;
}

.feedback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.15rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--primary-color);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 44px;
    touch-action: manipulation;
}

.feedback-btn:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: var(--primary-hover);
}

/* Copyright Series Footer */
.series-footer { 
    text-align: center; 
    padding: 1.25rem 0 0.5rem; 
    border-top: 1px solid #e5e7eb; 
    margin-top: 1.25rem; 
} 

.series-footer p { 
    font-size: 0.82rem; 
    color: #64748b; 
    font-weight: 500; 
}
