:root {
    --primary-color: #0057cd;
    --game-over-red: #cd0024;
    --accent-color: #ff8c69;
    --danger-color: #ff4444;
    --warning-color: #ff8800;
    --bg-color: #000000;
    --shield-color: #00ffff;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100svh;
    touch-action: none;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(0, 87, 205, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 87, 205, 0.12) 1px, transparent 1px);
    background-size: 68px 68px;
    -webkit-mask-image: radial-gradient(circle at center, transparent 0%, transparent 65%, black 90%);
    mask-image: radial-gradient(circle at center, transparent 0%, transparent 65%, black 90%);
}

#game-container {
    position: relative;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #0a0a20 0%, #000 100%);
    box-sizing: border-box;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.75);
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

#ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    z-index: 5;
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom) 0;
    box-sizing: border-box;
}

.hud-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.stats-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.controls-container {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 8px;
    pointer-events: auto;
}

.score-board, .lives-board, .level-board {
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.stats-container .label {
    display: inline-flex;
    justify-content: space-between;
    width: 105px;
    margin-right: 15px;
}

.score-board {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 0 20px rgba(255, 255, 255, 0.2);
}

.lives-board {
    color: #ff4444;
    text-shadow: 0 0 10px #ff4444, 0 0 20px #ff4444;
}

.level-board {
    color: var(--primary-color);
    opacity: 1;
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
}

/* Compact HUD Buttons */
.pause-btn, .restart-btn, .home-btn {
    background: rgba(0, 87, 205, 0.2);
    border: 2px solid var(--primary-color);
    color: #fff;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.2s;
    font-family: 'Orbitron', sans-serif;
    border-radius: 5px;
    text-shadow: 0 0 5px var(--primary-color);
    z-index: 100;
    -webkit-tap-highlight-color: transparent;
}

/* Specific hover logic */
#pauseBtn:hover, #restartBtn:hover {
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
    text-shadow: 0 0 10px #fff;
}

#homeBtn:hover {
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
    text-shadow: 
        0 0 1px #fff, 
        0 0 1px #fff, 
        0 0 1px #fff, 
        0 0 2px #fff, 
        0 0 10px #fff;
}

.pause-btn:active, .restart-btn:active, .home-btn:active {
    transform: scale(0.95);
}

/* Individual Button Tweaks */
#restartBtn {
    font-size: 1.3rem;
    padding-bottom: 1px;
    line-height: 1;
    text-shadow: 0 0 1px #fff, 0 0 5px var(--primary-color);
}

#pauseBtn {
    font-size: 0.9rem;
    line-height: 1;
    padding-bottom: 2px;
    padding-left: 3px; /* Center with new letter-spacing */
    letter-spacing: 3px; /* Widen gap between bars */
    text-shadow: 0 0 1px #fff, 0 0 5px var(--primary-color);
}

#homeBtn {
    font-size: 1.4rem; 
    line-height: 1;
    padding-bottom: 1px;
    /* Extra heavy layering for boldness */
    text-shadow: 
        0 0 0 #fff, 
        0 0 1px #fff, 
        0 0 1px #fff, 
        0 0 1px #fff, 
        0 0 5px var(--primary-color);
}

/* SVG Styling within HUD Buttons */
.pause-btn svg, .restart-btn svg, .home-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.8; /* Precise control over boldness */
    filter: drop-shadow(0 0 5px var(--primary-color));
    transition: all 0.2s;
}

/* Shared hover logic for SVGs */
.pause-btn:hover svg, .restart-btn:hover svg, .home-btn:hover svg {
    filter: drop-shadow(0 0 8px #fff);
    stroke-width: 3.2; /* Slightly thicker on hover for interaction feedback */
}

#pause-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--primary-color);
    display: none;
    z-index: 20;
    pointer-events: none;
    letter-spacing: 5px;
    text-align: center;
    animation: pulseText 1.5s infinite ease-in-out;
    width: 100%;
}

@keyframes pulseText {
    0%, 100% { opacity: 1; text-shadow: 0 0 20px var(--primary-color); }
    50% { opacity: 0.5; text-shadow: 0 0 5px var(--primary-color); }
}

#game-footer {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 15px var(--primary-color);
    font-size: 0.7rem;
    text-align: center;
    opacity: 0.3;
    padding-bottom: 20px;
    width: 100%;
}

#level-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 50px var(--primary-color);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 8;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
}

#modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(10, 15, 30, 0.9);
    background-image: linear-gradient(rgba(0, 87, 205, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 87, 205, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 60px var(--primary-color), inset 0 0 30px rgba(0, 87, 205, 0.3);
    border-radius: 15px;
    text-align: center;
    pointer-events: auto;
    z-index: 10;
    width: 85%;
    max-width: 450px;
    transition: all 0.5s ease;
}

#modal.game-over-state {
    border-color: var(--game-over-red);
    box-shadow: 0 0 60px var(--game-over-red), inset 0 0 30px rgba(205, 0, 36, 0.3);
    background-image: linear-gradient(rgba(205, 0, 36, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(205, 0, 36, 0.1) 1px, transparent 1px);
}

h1 {
    margin: 0 0 5px 0;
    font-size: clamp(1.5rem, 11vw, 2.5rem);
    color: #ffffff;
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color), 0 0 40px var(--primary-color);
    letter-spacing: 2px;
    line-height: 1.2;
    white-space: nowrap;
}

#modalTitle {
    color: #e0f7ff;
    animation: signal-glitch 5s infinite;
}

@keyframes signal-glitch {
    0%, 92%, 94%, 97%, 100% { opacity: 1; transform: translate(0); text-shadow: 0 0 10px var(--primary-color); }
    93% { opacity: 0.8; transform: translate(-2px, 1px); text-shadow: 2px 0 var(--primary-color), -2px 0 var(--danger-color); }
    96% { opacity: 0.9; transform: translate(1px, -1px); text-shadow: -1px 0 var(--primary-color); }
}

.logo-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(224, 247, 255, 0.7);
    text-shadow: 0 0 5px rgba(0, 87, 205, 0.5);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 25px;
    text-transform: uppercase;
    width: 100%;
    animation: light-bulb-flicker 7s infinite linear;
}

@keyframes light-bulb-flicker {
    0%, 15%, 17%, 40%, 43%, 70%, 73%, 100% { opacity: 0.7; }
    3%, 16%, 42%, 72% { opacity: 0.5; }
}

.logo-subtitle::before, .logo-subtitle::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    opacity: 1;
}

.logo-subtitle::before { margin-right: 15px; }
.logo-subtitle::after { margin-left: 15px; }

/* RED THEME LINES FOR GAME OVER & VICTORY */
#modal.game-over-state .logo-subtitle::before,
#modal.game-over-state .logo-subtitle::after,
#victory-modal .logo-subtitle::before,
#victory-modal .logo-subtitle::after {
    background: var(--game-over-red);
    box-shadow: 0 0 10px var(--game-over-red);
}

/* ORANGE THEME TEXT FOR GAME OVER & VICTORY */
#modal.game-over-state .logo-subtitle,
#victory-modal .logo-subtitle {
    text-shadow: 0 0 5px var(--warning-color);
    color: var(--warning-color);
}

#final-score {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

#modal.game-over-state #final-score { color: var(--game-over-red); text-shadow: 0 0 10px var(--game-over-red); }

p { color: #ccc; margin-bottom: 25px; line-height: 1.6; font-size: 0.9rem; font-family: 'Segoe UI', sans-serif; }

.settings-bar { display: flex; justify-content: center; gap: 15px; margin-bottom: 25px; }

.toggle-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #aaa;
    padding: 8px 12px;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.toggle-btn.active { background: rgba(255, 255, 255, 0.2); color: #fff; border-color: #fff; text-shadow: 0 0 5px #fff; }

.instructions {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: #aaa;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: 'Segoe UI', monospace;
}

.instructions strong { color: var(--accent-color); display: block; margin-bottom: 8px; font-family: 'Orbitron', sans-serif; letter-spacing: 1px; }

.key { display: inline-block; background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px; font-family: monospace; border: 1px solid rgba(255,255,255,0.2); color: #fff; margin: 0 2px; }

/* Utility Row Styles */
.utility-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: 15px;
}

.util-btn {
    flex: 1;
    aspect-ratio: 1/1; /* Ensure square */
    background: rgba(0, 87, 205, 0.2);
    border: 2px solid var(--primary-color);
    color: #fff;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    box-sizing: border-box;
    box-shadow: 0 0 10px rgba(0, 87, 205, 0.3);
}

.util-btn svg {
    width: 55%; /* Scales with the button size */
    height: 55%; 
    stroke-width: 2.0; /* Keeps the lines looking bold when larger */
    filter: drop-shadow(0 0 5px var(--primary-color));
    transition: all 0.2s;
}

.util-btn:hover {
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
}

.util-btn:hover svg {
    stroke-width: 2.8;
    filter: drop-shadow(0 0 8px #fff);
}

.util-btn:active {
    transform: scale(0.95);
}

#modal.game-over-state .util-btn {
    border-color: var(--game-over-red);
    background: rgba(205, 0, 36, 0.2);
    box-shadow: 0 0 10px rgba(205, 0, 36, 0.3);
}

#modal.game-over-state .util-btn svg {
    filter: drop-shadow(0 0 5px var(--game-over-red));
}

#modal.game-over-state .util-btn:hover {
    background: var(--game-over-red);
    box-shadow: 0 0 20px var(--game-over-red);
}

button#startBtn {
    background: rgba(0, 87, 205, 0.3);
    color: #fff;
    border: 2px solid var(--primary-color);
    padding: 15px 10px;
    font-size: 1.2rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    font-weight: 900;
    width: 100%; /* Full width */
    display: block; 
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 8px var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
    position: relative;
    overflow: hidden;
    text-align: center;
    text-indent: 3px; /* Center alignment fix */
    box-sizing: border-box;
    animation: pulse 1s infinite alternate ease-in-out;
}

button#startBtn:hover { 
    background: var(--primary-color); 
    text-shadow: 0 0 15px #fff; 
    box-shadow: 0 0 40px var(--primary-color); 
    animation: none; 
}

#modal.game-over-state button#startBtn {
    border-color: var(--game-over-red); 
    background: rgba(205, 0, 36, 0.3); 
    text-shadow: 0 0 8px var(--game-over-red); 
    box-shadow: 0 0 20px var(--game-over-red);
}

#modal.game-over-state button#startBtn:hover { 
    background: var(--game-over-red); 
    box-shadow: 0 0 40px var(--game-over-red); 
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(1.03); opacity: 1; }
}

/* Cleanup removed bottom-link styles but kept for safety/other modals if needed */
.bottom-link {
    background: transparent;
    border: none;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #ffffff;
    opacity: 0.4;
    cursor: pointer;
    text-transform: uppercase;
    transition: opacity 0.2s ease, text-shadow 0.2s ease;
    position: absolute;
    bottom: 12px;
    margin: 0;
    width: auto;
    z-index: 20;
    pointer-events: auto;
    user-select: none;
}

.bottom-link:hover { opacity: 1; text-shadow: 0 0 8px var(--primary-color); color: #fff; }

#sysOverrideTrigger { /* ID reused for button, override absolute positioning if present in specificity wars */
    /* No special absolute styling needed for the button version */
}

.override-active { color: var(--warning-color); text-shadow: 0 0 12px var(--warning-color); }

/* --- RESTORED SECTIONS START --- */

#level-select-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(10, 15, 30, 0.95);
    border: 2px solid var(--warning-color);
    box-shadow: 0 0 40px var(--warning-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    z-index: 100;
    display: none;
    width: 90%;
    max-width: 300px;
    box-sizing: border-box;
}

#level-select-modal h2 { color: var(--warning-color); font-size: 1.5rem; margin-top: 0; text-shadow: 0 0 10px var(--warning-color); }
#levelInput {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--warning-color);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    padding: 10px;
    width: 80px;
    text-align: center;
    margin: 20px 0;
    border-radius: 5px;
}

.level-btn-group { display: flex; justify-content: center; gap: 15px; }
.level-action-btn {
    background: rgba(255, 136, 0, 0.2);
    border: 1px solid var(--warning-color);
    color: var(--warning-color);
    padding: 10px 20px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.2s;
}
.level-action-btn:hover { background: var(--warning-color); color: #000; box-shadow: 0 0 15px var(--warning-color); }

#help-modal {
    position: absolute;
    inset: 0;
    margin: auto;
    background-color: rgba(10, 15, 30, 0.98);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 40px var(--primary-color);
    padding: 25px;
    border-radius: 12px;
    text-align: left;
    z-index: 110;
    display: none;
    width: 90%;
    max-width: 350px;
    max-height: 85svh;
    overflow-y: auto;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    color: #ddd;
    line-height: 1.4;
    flex-direction: column;
}
#help-modal p:last-of-type { margin-bottom: 20px; }
#help-modal h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
    text-shadow: 0 0 10px var(--primary-color);
}
#help-modal strong {
    color: var(--accent-color);
    display: block;
    margin-top: 10px;
    margin-bottom: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
}
#help-modal p { margin: 0; color: #ccc; font-size: 0.85rem; }

.help-icon { display: inline-block; vertical-align: middle; margin-right: 5px; }
.icon-shield {
    width: 12px; height: 12px;
    border: 2px solid var(--shield-color);
    border-radius: 50%;
    background: rgba(0,255,255,0.3);
}
.icon-nuke {
    width: 10px; height: 10px;
    border: 2px solid var(--danger-color);
    background: rgba(255,0,0,0.3);
    transform: rotate(45deg);
    margin: 2px 5px;
}

#helpCloseBtn {
    background: rgba(0, 87, 205, 0.3);
    border: 1px solid var(--primary-color);
    color: #fff;
    padding: 8px 20px;
    width: 100%;
    margin-top: 20px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.2s;
    margin-top: auto;
}
#helpCloseBtn:hover { background: var(--primary-color); }

#rotation-lock {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#rotation-lock h2 { color: var(--primary-color); font-size: 2rem; margin-bottom: 20px; text-shadow: 0 0 20px var(--primary-color); }
#rotation-lock p { color: #fff; font-size: 1rem; }

#incompatible-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 20000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}
#incompatible-screen h2 { color: var(--danger-color); font-size: 2rem; margin-bottom: 20px; text-shadow: 0 0 20px var(--danger-color); }
#incompatible-screen p { color: #fff; font-size: 1rem; line-height: 1.6; }

.mobile-hint { display: none; }

/* VICTORY MODAL */
#victory-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(10, 15, 30, 0.95);
    background-image: linear-gradient(rgba(205, 0, 36, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(205, 0, 36, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    border: 2px solid var(--game-over-red);
    box-shadow: 0 0 60px var(--game-over-red), inset 0 0 30px rgba(205, 0, 36, 0.2);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    pointer-events: auto;
    z-index: 100; /* Higher than normal modal */
    display: none;
    width: 85%;
    max-width: 450px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
}

#victory-modal h1 {
    color: #ffffff;
    text-shadow: 0 0 10px var(--game-over-red), 0 0 20px var(--game-over-red), 0 0 40px var(--game-over-red);
}

#victory-score {
    font-size: 1.2rem;
    color: #fff;
    margin: 20px 0;
    font-weight: bold;
    text-shadow: 0 0 10px var(--game-over-red);
}

#victoryHomeBtn {
    background: rgba(205, 0, 36, 0.2);
    border: 2px solid var(--game-over-red);
    color: #fff;
    padding: 15px 30px;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    margin-top: 20px;
    width: 100%;
    transition: all 0.3s;
}

#victoryHomeBtn:hover {
    background: var(--game-over-red);
    box-shadow: 0 0 30px var(--game-over-red);
    color: #000;
}

@media (max-width: 600px) {
    .hud-top-bar { padding: 15px; }
    .score-board, .lives-board, .level-board { font-size: 0.9rem; }
    #level-overlay { font-size: 2rem; }
    .desktop-hint { display: none; }
    .mobile-hint { display: block; }
    #modal { width: calc(100% - 40px); top: 50%; padding: 20px; max-height: 95vh; }
    h1 { letter-spacing: 0px; font-size: 2rem; margin-bottom: 5px; }
    .logo-subtitle { margin-bottom: 15px; }
    .settings-bar { margin-bottom: 15px; }
    .instructions { margin-bottom: 15px; }
    /* Adjusted padding for smaller screens in the new flex layout */
    button#startBtn { padding: 12px 10px; }
    
    .pause-btn, .restart-btn, .home-btn { width: 40px; height: 40px; font-size: 1rem; }
    #pause-overlay { font-size: 2rem; }
    #game-container { width: calc(100% - 16px); height: 100%; }
}

@media (max-height: 500px) and (orientation: landscape) {
    #rotation-lock { display: flex; }
    #game-container { display: none; }
}

@media (max-height: 600px) {
    #help-modal { padding: 15px; max-height: 85svh; }
    #help-modal h2 { font-size: 1.2rem; margin-bottom: 10px; }
    #help-modal p, #help-modal strong { font-size: 0.75rem; margin-top: 5px; }
    #helpCloseBtn { margin-top: 10px; padding: 6px 15px; }
}