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

:root {
    --chassis: #2a2a2a;
    --chassis-light: #3a3a3a;
    --chassis-dark: #1a1a1a;
    --bezel: #1a1a1a;
    --lcd-bg: #1a2f1a;
    --lcd-text: #33ff33;
    --led-red: #ff3333;
    --led-green: #33ff33;
    --led-yellow: #ffcc00;
    --led-off: #331111;
    --led-off-green: #113311;
    --button-face: #4a4a4a;
    --button-highlight: #6a6a6a;
    --button-shadow: #2a2a2a;
    --text-emboss: #b0b0b0;
    --text-muted: #b8b8b8;
    --focus-color: #66ccff;
}

/* Accessibility utilities */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--focus-color);
    color: #000;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Global focus styles */
*:focus {
    outline: 2px solid var(--focus-color);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--focus-color);
    outline-offset: 2px;
}

body {
    font-family: 'Courier New', monospace;
    background: #111;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

main {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hidden {
    display: none !important;
}

/* Main device chassis */
.device {
    width: 100%;
    max-width: 600px;
    background: linear-gradient(180deg, var(--chassis-light) 0%, var(--chassis) 50%, var(--chassis-dark) 100%);
    border-radius: 8px;
    padding: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.3),
        0 8px 32px rgba(0,0,0,0.8),
        0 2px 8px rgba(0,0,0,0.5);
    border: 2px solid #1a1a1a;
    position: relative;
    box-sizing: border-box;
}

/* Scanline overlay effect */
.device::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.1) 2px,
        rgba(0,0,0,0.1) 4px
    );
    pointer-events: none;
    border-radius: 6px;
}

/* Top bar with brand and power */
.device-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #444;
}

.brand {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--text-emboss);
    text-shadow: 0 -1px 0 #000, 0 1px 0 #555;
    margin: 0;
}

.power-btn {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: none;
    background: linear-gradient(180deg, #c62828 0%, #8b0000 100%);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.3),
        0 2px 4px rgba(0,0,0,0.5);
}

.power-btn svg {
    width: 16px;
    height: 16px;
}

.power-btn:active:not(:disabled) {
    transform: translateY(1px);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

.power-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Channel panel */
.channel-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 8px;
    background: var(--bezel);
    border-radius: 4px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.channel-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--button-highlight) 0%, var(--button-face) 50%, var(--button-shadow) 100%);
    color: #e0e0e0;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 2px 4px rgba(0,0,0,0.5);
}

.channel-btn:active:not(:disabled) {
    background: linear-gradient(180deg, var(--button-shadow) 0%, var(--button-face) 100%);
    transform: translateY(1px);
}

.channel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.led-display {
    background: #0a0a0a;
    border: 2px solid #000;
    border-radius: 4px;
    padding: 4px 12px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
}

.led-label {
    font-size: 12px;
    color: var(--text-muted);
}

.led-number {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    font-weight: bold;
    color: var(--led-red);
    text-shadow: 0 0 8px var(--led-red), 0 0 16px var(--led-red);
    letter-spacing: 2px;
}

/* Status panel - LCD screen look */
.status-panel {
    margin-bottom: 10px;
}

.lcd-screen {
    background: var(--lcd-bg);
    border: 2px solid #000;
    border-radius: 4px;
    padding: 8px 12px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
    min-height: 44px;
    transition: background 0.3s;
}

.lcd-text {
    font-size: 16px;
    font-weight: bold;
    color: var(--lcd-text);
    text-shadow: 0 0 6px var(--lcd-text);
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s;
}

.lcd-subtext {
    font-size: 14px;
    color: var(--lcd-text);
    margin-top: 2px;
    transition: color 0.3s;
}

/* Emergency channel 9 - red LCD */
.lcd-screen.emergency {
    background: #2f1a1a;
}

.lcd-screen.emergency .lcd-text {
    color: #ff4444;
    text-shadow: 0 0 6px #ff4444;
}

.lcd-screen.emergency .lcd-subtext {
    color: #ff4444;
}

/* Audio meters */
.meters-panel {
    background: var(--bezel);
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.meter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.meter-row:last-child {
    margin-bottom: 0;
}

.meter-label {
    font-size: 12px;
    font-weight: bold;
    color: var(--text-muted);
    width: 20px;
}

.meter {
    display: flex;
    gap: 2px;
    flex: 1;
}

.led {
    flex: 1;
    height: 8px;
    border-radius: 1px;
    background: var(--led-off);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

.led.active:nth-child(1),
.led.active:nth-child(2),
.led.active:nth-child(3),
.led.active:nth-child(4) {
    background: var(--led-green);
    box-shadow: 0 0 4px var(--led-green), inset 0 1px 2px rgba(255,255,255,0.3);
}

.led.active:nth-child(5),
.led.active:nth-child(6),
.led.active:nth-child(7) {
    background: var(--led-yellow);
    box-shadow: 0 0 4px var(--led-yellow), inset 0 1px 2px rgba(255,255,255,0.3);
}

.led.active:nth-child(8),
.led.active:nth-child(9),
.led.active:nth-child(10) {
    background: var(--led-red);
    box-shadow: 0 0 4px var(--led-red), inset 0 1px 2px rgba(255,255,255,0.3);
}

/* Users panel */
.users-panel {
    background: var(--bezel);
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
    min-height: 60px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.panel-label {
    font-size: 12px;
    font-weight: bold;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.paging-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-btn {
    width: 24px;
    height: 22px;
    border: none;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--button-highlight) 0%, var(--button-face) 50%, var(--button-shadow) 100%);
    color: #e0e0e0;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.5);
}

.page-btn:active:not(:disabled) {
    background: linear-gradient(180deg, var(--button-shadow) 0%, var(--button-face) 100%);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-info {
    font-size: 12px;
    color: var(--text-muted);
    min-width: 32px;
    text-align: center;
}

#userList {
    list-style: none;
    min-height: 152px;
}

#userList li {
    font-size: 14px;
    color: var(--lcd-text);
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

#userList li .user-name {
    flex: 1;
}

#userList li .user-distance {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}

#userList li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--led-green);
    box-shadow: 0 0 4px var(--led-green);
}

#userList li.talking {
    color: #fff;
}

#userList li.talking::before {
    background: var(--led-red);
    box-shadow: 0 0 6px var(--led-red);
    animation: blink 0.5s infinite;
}

@keyframes blink {
    50% { opacity: 0.5; }
}

#userList li.me {
    font-weight: bold;
}

/* PTT Button */
.ptt-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    gap: 8px;
}

.ptt-button {
    flex: 1;
    max-width: 480px;
    height: 56px;
    border-radius: 8px;
    border: 3px solid #222;
    background:
        linear-gradient(180deg,
            rgba(255,255,255,0.15) 0%,
            rgba(255,255,255,0.05) 50%,
            rgba(0,0,0,0.1) 50%,
            rgba(0,0,0,0.2) 100%
        ),
        linear-gradient(180deg, #4a4a4a 0%, #2a2a2a 100%);
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.2),
        inset 0 -1px 0 rgba(0,0,0,0.3),
        0 4px 8px rgba(0,0,0,0.5),
        0 1px 0 rgba(255,255,255,0.05);
    transition: all 0.1s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    position: relative;
    overflow: hidden;
}

/* Illumination glow overlay */
.ptt-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(100,100,100,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.1s;
}

.ptt-button:not(:disabled):hover::before {
    opacity: 1;
}

.ptt-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Ready state - GREEN (can broadcast) */
.ptt-button.ready {
    border-color: #33aa33;
    background:
        linear-gradient(180deg,
            rgba(100,255,100,0.15) 0%,
            rgba(50,200,50,0.1) 50%,
            rgba(0,100,0,0.15) 50%,
            rgba(0,80,0,0.2) 100%
        ),
        linear-gradient(180deg, #2a5a2a 0%, #1a3a1a 100%);
    color: var(--led-green);
    text-shadow: 0 0 6px rgba(51,255,51,0.5);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.2),
        inset 0 -1px 0 rgba(0,0,0,0.3),
        0 4px 8px rgba(0,0,0,0.5),
        0 0 10px rgba(51,255,51,0.2);
}

.ptt-button.ready:hover::before {
    background: radial-gradient(ellipse at center, rgba(100,255,100,0.3) 0%, transparent 70%);
}

/* Active/Transmitting state - RED */
.ptt-button.active,
.ptt-button.ready:active {
    border-color: #ff4444;
    background:
        linear-gradient(180deg,
            rgba(255,100,100,0.3) 0%,
            rgba(255,50,50,0.2) 50%,
            rgba(200,0,0,0.3) 50%,
            rgba(139,0,0,0.4) 100%
        ),
        linear-gradient(180deg, #c62828 0%, #8b0000 100%);
    color: #fff;
    text-shadow: 0 0 8px rgba(255,255,255,0.8);
    box-shadow:
        inset 0 1px 0 rgba(255,200,200,0.4),
        inset 0 -1px 0 rgba(0,0,0,0.3),
        0 4px 12px rgba(255,0,0,0.4),
        0 0 20px rgba(255,0,0,0.3),
        0 0 40px rgba(255,0,0,0.2);
}

.ptt-button.active::before,
.ptt-button.ready:active::before {
    background: radial-gradient(ellipse at center, rgba(255,150,150,0.4) 0%, transparent 70%);
    opacity: 1;
}

/* Receiving state - AMBER (someone else is transmitting) */
.ptt-button.receiving {
    border-color: #ffaa00;
    background:
        linear-gradient(180deg,
            rgba(255,200,100,0.2) 0%,
            rgba(255,170,50,0.15) 50%,
            rgba(200,130,0,0.2) 50%,
            rgba(150,100,0,0.3) 100%
        ),
        linear-gradient(180deg, #6a5a2a 0%, #4a3a1a 100%);
    color: var(--led-yellow);
    text-shadow: 0 0 6px rgba(255,204,0,0.5);
    cursor: not-allowed;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.2),
        inset 0 -1px 0 rgba(0,0,0,0.3),
        0 4px 8px rgba(0,0,0,0.5),
        0 0 10px rgba(255,170,0,0.3);
}

/* Cooldown state - GREY */
.ptt-button.cooldown {
    border-color: #666;
    background:
        linear-gradient(180deg,
            rgba(150,150,150,0.15) 0%,
            rgba(100,100,100,0.1) 50%,
            rgba(50,50,50,0.15) 50%,
            rgba(30,30,30,0.2) 100%
        ),
        linear-gradient(180deg, #4a4a4a 0%, #2a2a2a 100%);
    color: #999;
    cursor: not-allowed;
}

.ptt-label {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

/* Roger beep toggle button */
.roger-btn {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    border: 2px solid #222;
    background: linear-gradient(180deg, var(--button-highlight) 0%, var(--button-face) 50%, var(--button-shadow) 100%);
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 2px 4px rgba(0,0,0,0.5);
    transition: all 0.1s;
}

.roger-btn svg {
    width: 24px;
    height: 24px;
}

.roger-btn:hover {
    background: linear-gradient(180deg, #5a5a5a 0%, #4a4a4a 50%, #3a3a3a 100%);
}

.roger-btn.active {
    border-color: var(--led-yellow);
    background: linear-gradient(180deg, #6a5a2a 0%, #5a4a1a 50%, #4a3a0a 100%);
    color: var(--led-yellow);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 2px 4px rgba(0,0,0,0.5),
        0 0 8px rgba(255,204,0,0.3);
}

.roger-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* HQ (High Quality) toggle button */
.hq-btn {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    border: 2px solid #444;
    background: linear-gradient(180deg, #5a5a5a 0%, #4a4a4a 50%, #3a3a3a 100%);
    color: #aaa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 2px 4px rgba(0,0,0,0.5);
    transition: all 0.1s;
}

.hq-label {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.hq-btn:hover:not(:disabled) {
    background: linear-gradient(180deg, #6a6a6a 0%, #5a5a5a 50%, #4a4a4a 100%);
    color: #ccc;
    border-color: #555;
}

.hq-btn.active {
    border-color: #66ccff;
    background: linear-gradient(180deg, #2a4a6a 0%, #1a3a5a 50%, #0a2a4a 100%);
    color: #66ccff;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 2px 4px rgba(0,0,0,0.5),
        0 0 8px rgba(102,204,255,0.3);
}

.hq-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Microphone selector panel */
.mic-panel {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    background: var(--bezel);
    border-radius: 4px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.mic-panel.hidden {
    display: none;
}

.mic-label {
    font-size: 12px;
    font-weight: bold;
    color: var(--text-muted);
    letter-spacing: 1px;
    flex-shrink: 0;
}

.mic-select {
    flex: 1;
    background: #0a0a0a;
    border: 2px solid #000;
    border-radius: 4px;
    padding: 8px 12px;
    color: var(--lcd-text);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2333ff33' d='M2 4l4 4 4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
}

.mic-select:focus {
    outline: none;
    border-color: var(--lcd-text);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5), 0 0 4px var(--lcd-text);
}

.mic-select option {
    background: #1a1a1a;
    color: var(--lcd-text);
    padding: 8px;
}

/* Name input panel */
.name-panel {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: var(--bezel);
    border-radius: 4px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.name-panel.hidden {
    display: none;
}

.name-panel input {
    flex: 1;
    background: #0a0a0a;
    border: 2px solid #000;
    border-radius: 4px;
    padding: 12px;
    color: var(--lcd-text);
    font-family: 'Courier New', monospace;
    font-size: 18px;
    text-transform: uppercase;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.name-panel input::placeholder {
    color: #446644;
}

.name-panel input:focus {
    outline: none;
    border-color: var(--lcd-text);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5), 0 0 4px var(--lcd-text);
}

.join-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    background: linear-gradient(180deg, #4a7c4a 0%, #2a5a2a 100%);
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 2px 4px rgba(0,0,0,0.5);
}

.join-btn:hover {
    background: linear-gradient(180deg, #5a8c5a 0%, #3a6a3a 100%);
}

.join-btn:active {
    transform: translateY(1px);
}

.join-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Speaker indicator */
.speaker-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid var(--led-green);
    border-radius: 4px;
    padding: 14px 24px;
    color: var(--led-green);
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(51, 255, 51, 0.3);
    z-index: 10;
}

.speaker-indicator::before {
    content: 'RX: ';
}

/* Permission denied overlay */
.permission-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 6px;
}

.permission-overlay.hidden {
    display: none;
}

.permission-content {
    text-align: center;
    padding: 24px;
    max-width: 320px;
}

.permission-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    color: var(--led-red);
    animation: pulse-warning 1.5s ease-in-out infinite;
}

.permission-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px var(--led-red));
}

@keyframes pulse-warning {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.permission-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--led-red);
    text-shadow: 0 0 8px var(--led-red);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.permission-message {
    font-size: 14px;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.5;
}

.permission-message #permissionType {
    color: var(--led-yellow);
    font-weight: bold;
}

.permission-instructions {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Audio container */
#audioContainer {
    display: none;
}

/* Footer */
.site-footer {
    width: 100%;
    max-width: 600px;
    margin-top: 12px;
    font-size: 14px;
    color: #d0d0d0;
    text-align: center;
}

.site-footer a {
    color: #fff;
    text-decoration: underline;
}

.site-footer a:hover {
    color: var(--focus-color);
    text-decoration: underline;
}

/* Connection error overlay */
.connection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 6px;
}

.connection-overlay.hidden {
    display: none;
}

.connection-content {
    text-align: center;
    padding: 24px;
    max-width: 320px;
}

.connection-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    color: var(--led-yellow);
    animation: pulse-warning 1.5s ease-in-out infinite;
}

.connection-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px var(--led-yellow));
}

.connection-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--led-yellow);
    text-shadow: 0 0 8px var(--led-yellow);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.connection-message {
    font-size: 14px;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.5;
}

.connection-instructions {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 20px;
}

.retry-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    background: linear-gradient(180deg, #6a5a2a 0%, #5a4a1a 100%);
    color: var(--led-yellow);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 2px 4px rgba(0,0,0,0.5),
        0 0 8px rgba(255,204,0,0.2);
    transition: all 0.2s;
}

.retry-btn:hover {
    background: linear-gradient(180deg, #7a6a3a 0%, #6a5a2a 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 2px 4px rgba(0,0,0,0.5),
        0 0 12px rgba(255,204,0,0.4);
}

.retry-btn:active {
    transform: translateY(1px);
}
