/* 
 * Normalized CSS for Debate Moderator Dashboard 
 * Auto-extracted from app.html
 */

:root {
    --font-primary: 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Courier New', monospace;
    --bg-main: #121212;
    --bg-panel: #1a1a1a;
    --bg-card: #1e1e1e;
    --accent-blue: #4dadff;
    --text-main: #e0e0e0;
    --text-muted: #888;
    --text-subtle: #aaa;
    --border-color: #333;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-primary);
    overflow: hidden;
}

/* --- Extracted Inline Styles --- */
#timer-wrapper {
    background: #121212;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

#top-bar {
    width: 100%;
    background: #1a1a1a;
    padding: 15px 30px;
    border-bottom: 2px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    box-sizing: border-box;
}

.auto-style-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    margin-left: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.auto-style-1:hover {
    transform: scale(1.05);
}

.auto-style-2 {
    max-height: 40px;
    margin-bottom: 5px;
}

.auto-style-3 {
    font-weight: bold;
    color: #4dadff;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
    text-align: center;
}

#topic-display-area {
    text-align: right;
    flex-grow: 1;
    margin-left: 40px;
    margin-right: 10px;
}

.auto-style-4 {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 3px;
    letter-spacing: 1px;
}

#live-topic-text {
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    border-right: 6px solid #4dadff;
    padding-right: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#phase-info {
    font-size: 14px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: none;
    margin-top: 8px;
    padding-right: 15px;
}

#speaker-name {
    color: #4dadff;
    font-weight: bold;
}

#middle-section {
    flex: 1;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    box-sizing: border-box;
}

#alarm-overlay {
    display: none;
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 20px;
    right: 20px;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(211, 47, 47, 0.98);
    color: white;
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 0 40px #d32f2f;
}

.auto-style-5 {
    font-size: clamp(40px, 8vw, 70px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
    line-height: 1.1;
}

.auto-style-6 {
    margin-top: clamp(15px, 4vh, 25px);
    background: white;
    color: #d32f2f;
    border: none;
    padding: clamp(10px, 2vh, 15px) clamp(20px, 4vw, 30px);
    border-radius: 8px;
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px #ccc;
    text-transform: uppercase;
}

#completion-overlay {
    display: none;
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 20px;
    right: 20px;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(0, 86, 179, 0.98);
    color: white;
    z-index: 90;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 0 40px #4dadff;
}

.auto-style-7 {
    font-size: clamp(30px, 6vw, 55px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    line-height: 1.1;
}

.auto-style-8 {
    margin-top: clamp(15px, 4vh, 25px);
    background: white;
    color: #0056b3;
    border: none;
    padding: clamp(10px, 2vh, 15px) clamp(20px, 4vw, 30px);
    border-radius: 8px;
    font-size: clamp(12px, 2vw, 16px);
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px #ccc;
    text-transform: uppercase;
}

#timer-container {
    flex: 1 1 25vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 0;
}

#timer-center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

#timer-display {
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 20px rgba(77, 173, 255, 0.5);
}

#rapid-fire-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#rf-vs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 900px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.auto-style-9 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auto-style-10 {
    font-size: 16px;
    color: #888;
    font-weight: bold;
    margin-bottom: 5px;
}

#rf-timer-left {
    font-weight: bold;
    font-family: 'Courier New', monospace;
    color: #4dadff;
    text-shadow: 0 0 10px rgba(77,173,255,0.5);
    transition: opacity 0.2s;
}

.auto-style-11 {
    font-size: 40px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 30px;
}

.auto-style-12 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auto-style-13 {
    font-size: 16px;
    color: #888;
    font-weight: bold;
    margin-bottom: 5px;
}

#rf-timer-right {
    font-weight: bold;
    font-family: 'Courier New', monospace;
    color: #4dadff;
    text-shadow: 0 0 10px rgba(77,173,255,0.5);
    transition: opacity 0.2s;
}

#rf-switch-btn {
    background: #1976d2;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px #000;
    text-transform: uppercase;
    transition: transform 0.1s;
    margin-bottom: 30px;
}

#timer-right-wrapper {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

#turn-badge {
    display: none;
    background: #1e1e1e;
    padding: 18px 30px;
    border-radius: 14px;
    border: 4px solid #4dadff;
    text-align: center;
}

#turn-badge-label {
    font-size: 16px;
    color: #4dadff;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

#turn-val-display {
    font-weight: bold;
    font-family: 'Courier New', monospace;
    line-height: 1;
}

#controls-area {
    flex-shrink: 0;
    width: 100%;
    max-width: 600px;
    background: #1e1e1e;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #333;
    box-sizing: border-box;
    z-index: 5;
    margin-bottom: 20px;
}

#fluid-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.auto-style-14 {
    background: #1976d2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auto-style-15 {
    font-size: 28px;
    margin-right: 12px;
    transform: translateY(-2px);
}

.auto-style-16 {
    font-size: 18px;
}

.auto-style-17 {
    background: #d32f2f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auto-style-18 {
    font-size: 18px;
}

.auto-style-19 {
    font-size: 28px;
    margin-left: 12px;
    transform: translateY(-2px);
}

#sequential-controls {
    display: none;
    gap: 15px;
    margin-bottom: 20px;
}

.auto-style-20 {
    background: #1976d2;
    font-size: 18px;
    width: 100%;
}

#manual-time-container {
    margin-bottom: 20px;
    padding: 15px;
    background: #121212;
    border-radius: 8px;
    border: 1px solid #333;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.auto-style-21 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.auto-style-22 {
    font-size: 10px;
    color: #888;
}

.auto-style-23 {
    display: flex;
    align-items: center;
    gap: 8px;
}

#customMinInput {
    width: 65px;
    font-size: 28px;
    font-weight: bold;
    background: #1e1e1e;
    color: white;
    border: 1px solid #4dadff;
    border-radius: 6px;
    text-align: center;
    font-family: monospace;
}

.auto-style-24 {
    font-size: 28px;
    font-weight: bold;
    color: #4dadff;
    margin-top: 15px;
}

.auto-style-25 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.auto-style-26 {
    font-size: 10px;
    color: #888;
}

.auto-style-27 {
    display: flex;
    align-items: center;
    gap: 8px;
}

#customSecInput {
    width: 65px;
    font-size: 28px;
    font-weight: bold;
    background: #1e1e1e;
    color: white;
    border: 1px solid #4dadff;
    border-radius: 6px;
    text-align: center;
    font-family: monospace;
}

.auto-style-28 {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

#startBtn {
    flex: 2;
    background: #388e3c;
    font-size: 18px;
}

.auto-style-29 {
    flex: 1;
    background: #444;
    font-size: 18px;
}

#configDetails {
    background: #121212;
    border-radius: 8px;
    border: 1px solid #333;
    overflow: hidden;
}

.auto-style-30 {
    padding: 12px;
    cursor: pointer;
    font-weight: bold;
    color: #4dadff;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auto-style-31 {
    font-size: 10px;
    opacity: 0.7;
}

#config-scroll-container {
    padding: 20px;
    border-top: 1px solid #333;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 350px;
    overflow-y: auto;
}

.auto-style-32 {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.auto-style-33 {
    font-size: 11px;
    color: #888;
    font-weight: bold;
}

#formatSelector {
    background: #2a2a2a;
    color: white;
    border: 1px solid #4dadff;
    padding: 12px;
    border-radius: 6px;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
}

.auto-style-34 {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.auto-style-35 {
    font-size: 11px;
    color: #888;
    font-weight: bold;
}

#topicInput {
    background: #1e1e1e;
    color: white;
    border: 1px solid #4dadff;
    padding: 12px;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}

#config-bottom-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    border-top: 1px solid #222;
    padding-top: 15px;
    flex-wrap: wrap;
}

.auto-style-36 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auto-style-37 {
    font-size: 11px;
    color: #888;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.auto-style-38 {
    display: flex;
    gap: 5px;
}

#soundProfile {
    flex: 1;
    background: #2a2a2a;
    color: white;
    border: 1px solid #4dadff;
    padding: 8px;
    border-radius: 6px;
    width: 100%;
}

.auto-style-39 {
    background: #4dadff;
    color: #000;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.auto-style-40 {
    font-size: 11px;
    color: #888;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.auto-style-41 {
    display: flex;
    align-items: center;
    gap: 12px;
}

#volumeSlider {
    flex-grow: 1;
    cursor: pointer;
}

#volumePercent {
    font-size: 12px;
    width: 35px;
    text-align: right;
    color: #4dadff;
    font-weight: bold;
}

#manual-turn-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.auto-style-42 {
    font-size: 11px;
    color: #888;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.auto-style-43 {
    display: flex;
    align-items: center;
    gap: 10px;
}

#turn-config {
    display: none;
    align-items: center;
    gap: 5px;
}

#turnInput {
    width: 45px;
    background: #2a2a2a;
    color: white;
    border: 1px solid #4dadff;
    padding: 5px;
    border-radius: 6px;
    text-align: center;
}

#bottom-bar {
    margin-top: auto;
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 110;
    
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    bottom: 0;
}

#bottom-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

#display-mode-btns {
    display: flex;
    gap: 10px;
}

.auto-style-44 {
    background: #f08700;
    color: black;
    border: 1px solid white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

#minimalViewBtn {
    background: #673ab7;
    color: white;
    border: 1px solid white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

#reset-btns-container {
    display: flex;
    gap: 10px;
}

.auto-style-45 {
    background: #d32f2f;
    color: white;
    border: 1px solid white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.auto-style-46 {
    background: #8b0000;
    color: white;
    border: 1px solid white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.auto-style-47 {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 2px;
}

.auto-style-48 {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}
.auto-style-48:hover {
    color: #fff;
}

#confirm-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border-radius: 16px;
}

#confirm-text {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    max-width: 80%;
    line-height: 1.4;
}

.auto-style-49 {
    display: flex;
    gap: 20px;
}

.auto-style-50 {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}

.auto-style-51 {
    background: #444;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}


/* --- Index.html Styles --- */
.splash-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: auto;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.logo:hover {
    transform: scale(1.05);
}
.logo img {
    height: 40px;
    margin-right: 10px;
}
.logo span {
    font-weight: bold;
    color: var(--accent-blue);
    letter-spacing: 2px;
}
.nav-links {
    display: flex;
    gap: 20px;
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.2s ease;
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
}
.nav-links a:hover {
    color: var(--accent-blue);
}
.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Collapsible Navigation Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 35px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1005;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--accent-blue);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--accent-blue);
    }
}

main {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
}

.hero {
    text-align: center;
    padding: 30px 0 60px;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-subtle);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-blue), #1976d2);
    color: #fff;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(77, 173, 255, 0.4);
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(77, 173, 255, 0.6);
}

.app-preview {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 2px rgba(77, 173, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.app-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 10px rgba(77, 173, 255, 0.6);
}
.app-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}
.feature-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    background: rgba(40, 40, 40, 0.8);
}
.feature-card h3 {
    color: var(--accent-blue);
    margin-top: 0;
}

.how-it-works {
    margin: 80px 0;
    text-align: center;
    scroll-margin-top: 100px;
}
.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}
.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.step {
    flex: 1;
    min-width: 250px;
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.step:hover {
    border-color: var(--accent-blue);
}
.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--accent-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(77, 173, 255, 0.5);
}
.step h4 {
    margin-top: 10px;
    color: #fff;
    font-size: 1.2rem;
}
.step p {
    color: var(--text-subtle);
    font-size: 0.95rem;
}

.cta-bottom {
    text-align: center;
    padding: 60px 0;
    background: rgba(77, 173, 255, 0.05);
    border-radius: 16px;
    margin-top: 80px;
    border: 1px solid rgba(77, 173, 255, 0.1);
}
.cta-bottom h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}
.cta-bottom p {
    color: var(--text-subtle);
    margin-bottom: 30px;
}

/* Live Sessions Banner Styling */
.live-sessions-banner {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(13, 27, 42, 0.6) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(77, 173, 255, 0.15);
    border-radius: 16px;
    padding: 50px 40px;
    margin: 80px auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(77, 173, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.live-sessions-banner:hover {
    transform: translateY(-4px);
    border-color: rgba(77, 173, 255, 0.35);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(77, 173, 255, 0.2);
}

.live-sessions-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(77, 173, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.live-sessions-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.live-badge {
    background: rgba(77, 173, 255, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(77, 173, 255, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(77, 173, 255, 0.1);
    animation: live-glow 2s infinite alternate;
}

@keyframes live-glow {
    0% { box-shadow: 0 0 5px rgba(77, 173, 255, 0.1); border-color: rgba(77, 173, 255, 0.3); }
    100% { box-shadow: 0 0 20px rgba(77, 173, 255, 0.3); border-color: rgba(77, 173, 255, 0.6); }
}

.live-sessions-banner h2 {
    font-size: 2.2rem;
    color: #fff;
    margin: 0 0 15px 0;
    font-weight: bold;
    letter-spacing: 1px;
}

.live-schedule {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 30px;
}

.live-schedule span {
    color: var(--accent-blue);
    font-weight: 800;
    text-shadow: 0 0 10px rgba(77, 173, 255, 0.3);
}

.live-platform {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 35px;
    text-align: left;
    max-width: 600px;
    transition: background 0.3s ease;
}

.live-platform:hover {
    background: rgba(255, 255, 255, 0.06);
}

.platform-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    filter: drop-shadow(0 0 8px rgba(77, 173, 255, 0.4));
}

.platform-details {
    display: flex;
    flex-direction: column;
}

.platform-details strong {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 5px;
}

.platform-details span {
    font-size: 0.95rem;
    color: var(--text-subtle);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .live-sessions-banner {
        padding: 40px 20px;
    }
    .live-sessions-banner h2 {
        font-size: 1.8rem;
    }
    .live-schedule {
        font-size: 1.1rem;
    }
    .live-platform {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .platform-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}


@keyframes pulse-anim {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(77, 173, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 6px 25px rgba(77, 173, 255, 0.7); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(77, 173, 255, 0.4); }
}
.pulse-btn {
    animation: pulse-anim 2s infinite;
}

footer {
    text-align: center;
    padding: 20px 40px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    bottom: 0;
    z-index: 1000;
}
.footer-logo img {
    height: 30px;
    margin-bottom: 10px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.footer-logo img:hover {
    opacity: 1;
}
.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-text a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-text a:hover {
    color: #fff;
}

/* --- Original Embedded Styles --- */
/* Custom Scrollbar Styling */
        #middle-section::-webkit-scrollbar {
            width: 8px;
        }

        #middle-section::-webkit-scrollbar-track {
            background: #1a1a1a;
            border-radius: 4px;
        }

        #middle-section::-webkit-scrollbar-thumb {
            background: #4dadff;
            border-radius: 4px;
            border: 2px solid #1a1a1a;
        }

        #middle-section::-webkit-scrollbar-thumb:hover {
            background: #6ebfff;
        }

        /* Firefox Support */
        #middle-section {
            scrollbar-width: thin;
            scrollbar-color: #4dadff #1a1a1a;
        }

        /* Config Panel Scrollbar Styling */
        #config-scroll-container::-webkit-scrollbar {
            width: 6px;
        }

        #config-scroll-container::-webkit-scrollbar-track {
            background: #121212;
        }

        #config-scroll-container::-webkit-scrollbar-thumb {
            background: #333;
            border-radius: 3px;
        }

        #config-scroll-container::-webkit-scrollbar-thumb:hover {
            background: #4dadff;
        }

        #config-scroll-container {
            scrollbar-width: thin;
            scrollbar-color: #333 #121212;
        }

        #live-topic-text {
            font-size: clamp(20px, min(4vh, 3vw), 40px);
        }

        #timer-display {
            font-size: clamp(80px, min(20vh, 22vw), 350px);
            line-height: 1;
        }

        #rf-timer-left,
        #rf-timer-right {
            font-size: clamp(60px, min(15vh, 15vw), 300px);
            line-height: 1;
        }

        #turn-val-display {
            font-size: clamp(50px, min(12vh, 12vw), 200px);
            line-height: 1;
        }

        @media (max-width: 768px) {
            #timer-wrapper {
                min-height: 0 !important;
                height: 100vh !important;
                max-height: 100% !important;
                border-radius: 0 !important;
            }

            #top-bar {
                flex-direction: column !important;
                align-items: flex-start !important;
                padding: 10px 15px !important;
            }

            #topic-display-area {
                margin-left: 0 !important;
                margin-top: 10px !important;
                width: 100%;
                text-align: right !important;
            }

            #bottom-buttons {
                flex-direction: column !important;
                align-items: center !important;
                gap: 15px;
            }

            #reset-btns-container {
                justify-content: center;
                width: 100%;
            }

            #rf-vs-container {
                flex-direction: column !important;
                gap: 10px !important;
                margin-bottom: 30px !important;
            }

            #rf-vs-container>div:nth-child(2) {
                margin: 10px 0 !important;
            }

            #fluid-controls {
                flex-direction: column;
            }

            #config-bottom-row {
                flex-direction: column !important;
                gap: 20px !important;
            }

            #timer-container {
                flex-direction: column !important;
                align-items: center !important;
                justify-content: center !important;
                flex: 1 1 auto !important;
            }

            #controls-area {
                margin-top: auto !important;
                margin-bottom: 0 !important;
            }

            #timer-right-wrapper {
                position: static !important;
                transform: none !important;
                width: 100%;
                display: flex;
                justify-content: center;
            }

            #turn-badge {
                margin-top: 15px;
            }

            #middle-section {
                overflow-y: auto !important;
            }

            #timer-center-wrapper {
                align-items: flex-start !important;
            }

            #rf-vs-container {
                margin-top: 15px !important;
            }

            #rf-switch-btn {
                margin-bottom: 30px !important;
            }
        }

        /* Height-based scaling for landscape phones */
        @media (max-height: 500px) {
            #timer-wrapper {
                min-height: 0 !important;
                height: 100vh !important;
                border-radius: 0 !important;
            }

            #top-bar {
                padding: 5px 15px !important;
                flex-direction: row !important;
                flex-shrink: 0 !important; /* Never hide header */
            }

            #top-bar img {
                max-height: 25px !important;
            }

            #top-bar span {
                font-size: 7px !important;
            }

            #topic-display-area {
                margin-top: 0 !important;
                margin-left: 20px !important;
            }

            #live-topic-text {
                font-size: 14px !important;
            }

            #middle-section {
                padding: 5px 10px !important;
                overflow-y: auto !important;
                min-height: 0 !important; /* Allow shrinking */
                flex: 1 1 auto !important;
            }

            #timer-display {
                font-size: clamp(40px, 40vh, 90px) !important;
            }

            #rf-timer-left, #rf-timer-right {
                font-size: clamp(35px, 35vh, 70px) !important;
            }

            #timer-container {
                margin: 5px 0 !important;
                flex: 0 0 auto !important;
            }

            #controls-area {
                padding: 10px !important;
                margin-bottom: 5px !important;
                width: 95% !important;
                max-width: 500px !important;
                flex-shrink: 0 !important; /* Keep controls visible */
            }

            .push-btn-large {
                padding: 6px 10px !important;
                font-size: 13px !important;
            }

            #bottom-bar {
                padding: 5px 10px 10px !important; /* Added 10px bottom padding */
                flex-shrink: 0 !important; /* Never hide footer */
            }

            #bottom-buttons {
                flex-direction: row !important;
                justify-content: center !important;
                gap: 15px !important;
            }

            #bottom-buttons button {
                padding: 4px 8px !important;
                font-size: 11px !important;
            }
        }

        @keyframes heartbeat {
            0% {
                transform: scale(1);
            }

            14% {
                transform: scale(1.05);
            }

            28% {
                transform: scale(1);
            }

            42% {
                transform: scale(1.05);
            }

            70% {
                transform: scale(1);
            }
        }

        .urgent-pulse {
            animation: heartbeat 1s infinite;
            color: #ff5252 !important;
        }

        input::-webkit-outer-spin-button,
        input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            appearance: none;
            margin: 0;
        }

        input[type=number] {
            -moz-appearance: textfield;
            appearance: textfield;
        }

        .push-btn-large,
        .push-btn-adjust,
        .push-btn-small {
            color: white;
            border: none;
            cursor: pointer;
            font-weight: bold;
            text-transform: uppercase;
            border-radius: 6px;
            box-shadow: 0 4px #000;
            transition: all 0.1s ease;
            outline: none;
        }

        .push-btn-large {
            flex: 1;
            padding: 12px;
        }

        .push-btn-adjust {
            padding: 8px 12px;
            font-size: 20px;
            background: #333;
        }

        .push-btn-small {
            padding: 4px 10px;
            font-size: 14px;
            background: #333;
        }

        .push-btn-large:active,
        .push-btn-adjust:active,
        .push-btn-small:active {
            box-shadow: 0 1px #000;
            transform: translateY(3px);
        }

        .switch {
            position: relative;
            display: inline-block;
            width: 44px;
            height: 24px;
        }

        .switch input {
            display: none;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #444;
            transition: .4s;
            border-radius: 20px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked+.slider {
            background-color: #4dadff;
        }

        input:checked+.slider:before {
            transform: translateX(20px);
        }
        
        /* Minimal View Overrides */
        #timer-wrapper.minimal-view #configDetails,
        #timer-wrapper.minimal-view #manual-time-container {
            display: none !important;
        }
        #timer-wrapper.minimal-view #controls-area {
            padding: 10px !important;
            margin-bottom: 10px !important;
            max-width: 500px !important;
        }
        #timer-wrapper.minimal-view .push-btn-large {
            padding: 8px !important;
            font-size: 14px !important;
        }
        #timer-wrapper.minimal-view #timer-container {
            flex: 1 1 40vh !important;
        }
        
        input[type=range] {
            -webkit-appearance: none;
            appearance: none;
            background: transparent;
        }

        input[type=range]::-webkit-slider-runnable-track {
            width: 100%;
            height: 6px;
            background: #333;
            border-radius: 3px;
        }

        input[type=range]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            height: 18px;
            width: 18px;
            border-radius: 50%;
            background: #4dadff;
            cursor: pointer;
            margin-top: -6px;
            box-shadow: 0 0 10px rgba(77, 173, 255, 0.5);
        }