@font-face { font-family: 'LCD'; src: url('../fonts/lcd.ttf') format('truetype'); font-weight: normal; font-style: normal; }
        :root { --radio-bg: #2a2a2a; --radio-panel: #f5f0e6; --speaker-bg: #1a1a1a; --knob-color: #c0c0c0; --knob-shadow: #606060; --knob-highlight: #e8e8e8; --indicator-off: #333; --indicator-on: #ff3d00; --pointer-color: #c41e3a; --scale-bg: #fffef5; --text-color: #333; --panel-bg: #2a2a2a; --panel-text: #f5f0e6; --panel-border: #444; }
        body.dark-theme { --radio-bg: #1a1a1a; --radio-panel: #252525; --speaker-bg: #0a0a0a; --knob-color: #888; --knob-shadow: #333; --knob-highlight: #aaa; --scale-bg: #1a1a1a; --text-color: #ccc; --panel-bg: #1a1a1a; --panel-text: #ccc; --panel-border: #333; }
        body.dark-theme .radio { background: linear-gradient(145deg, #252525, var(--radio-bg)); }
        body.dark-theme .front-panel { background: var(--radio-panel); }
        body.dark-theme .brand-name { color: #ccc; text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5); }
        body.dark-theme .brand-model { color: #666; }
        body.dark-theme .dial-section { background: var(--scale-bg); }
        body.dark-theme .band-label, body.dark-theme .knob-label, body.dark-theme .power-label { color: #888; }
        body.dark-theme .handle { background: linear-gradient(180deg, #333 0%, #222 50%, #1a1a1a 100%); }
        body.dark-theme .channel-panel { background: linear-gradient(145deg, #252525, #1a1a1a); }
        body.dark-theme .panel-title { color: var(--panel-text); }
        body.dark-theme .panel-header { border-bottom-color: var(--panel-border); }
        body.dark-theme .channel-group-header { color: #555; border-bottom-color: #333; }
        body.dark-theme .channel-item { background: #222; }
        body.dark-theme .channel-item:hover { background: #2a2a2a; border-color: #444; }
        body.dark-theme .channel-name-display { color: #aaa; }
        body.dark-theme .channel-freq { color: #777; }
        body.dark-theme .channel-item.active .channel-freq { color: #ff6b6b; }
        body.dark-theme .add-channel-btn { background: #333; border-color: #444; color: #777; }
        body.dark-theme .add-channel-btn:hover { background: #3a3a3a; border-color: #555; color: #999; }
        body.dark-theme .toggle-btn, body.dark-theme .tab-btn { background: #333; color: #aaa; }
        body.dark-theme .tab-btn.active { background: #333; color: #fff; }
        body.dark-theme .signal-bar { background: #333; }
        body.dark-theme .setting-item-label, body.dark-theme .slider-label { color: #aaa; }
        body.dark-theme .setting-value, body.dark-theme .slider-value { color: #888; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { min-height: 100vh; display: flex; justify-content: center; align-items: center; background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif; padding: 20px; }
        .radio-wrapper { display: flex; gap: 20px; align-items: flex-start; position: relative; }
        .radio { width: 700px; background: linear-gradient(145deg, #3a3a3a, var(--radio-bg)); border-radius: 12px; padding: 15px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 10px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.1); position: relative; }
        .handle { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); width: 200px; height: 25px; background: linear-gradient(180deg, #444 0%, #333 50%, #2a2a2a 100%); border-radius: 8px 8px 0 0; box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.3); }
        .handle::before { content: ''; position: absolute; top: 8px; left: 20px; right: 20px; height: 3px; background: #222; border-radius: 2px; }
        .front-panel { background: var(--radio-panel); border-radius: 8px; padding: 15px; box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1); }
        .speaker-section { background: var(--speaker-bg); border-radius: 8px; padding: 20px; margin-bottom: 15px; position: relative; overflow: hidden; }
        .speaker-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(6, 1fr); gap: 3px; height: 80px; }
        .speaker-hole { background: #0a0a0a; border-radius: 50%; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8); }
        .dial-section { background: var(--scale-bg); border-radius: 6px; padding: 12px 15px; margin-bottom: 15px; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15); position: relative; }
        .dial-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
        .band-switch-container { display: flex; align-items: center; gap: 5px; }
        .band-switch-label { font-size: 10px; color: #666; font-weight: bold; letter-spacing: 1px; }
        .band-switch { width: 40px; height: 24px; background: linear-gradient(145deg, #2a2a2a, #1a1a1a); border: 2px solid #444; border-radius: 4px; position: relative; cursor: pointer; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6), 0 1px 1px rgba(255, 255, 255, 0.1); transition: all 0.2s; overflow: hidden; }
        .band-switch::before { content: ''; position: absolute; top: 2px; left: 2px; right: 2px; height: 1px; background: linear-gradient(to right, transparent, #555, transparent); }
        .band-switch-slider { width: 18px; height: 18px; background: linear-gradient(145deg, #c0c0c0, #909090); border: 1px solid #606060; border-radius: 2px; position: absolute; top: 1px; left: 1px; transition: transform 0.15s ease-out; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3); }
        .band-switch.fm .band-switch-slider { transform: translateX(16px); }
        .band-switch:active .band-switch-slider { transform: translateY(1px); }
        .band-switch.fm:active .band-switch-slider { transform: translateX(16px) translateY(1px); }
        .channel-display { background: #0a0a0a; border: 2px solid #1a1a1a; border-radius: 3px; padding: 4px 10px; font-size: 11px; font-family: 'LCD', 'Courier New', monospace; color: #1a1a1a; width: 120px; height: 24px; line-height: 16px; text-align: center; overflow: hidden; cursor: pointer; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.3); letter-spacing: 2px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .channel-display-inner { white-space: nowrap; display: inline-block; min-width: 90px; width: 90px; text-align: left; color: transparent; text-shadow: none; }
        .channel-display.off { background: #0a0a0a; }
        .channel-display.off .channel-display-inner { color: transparent; text-shadow: none; }
        .channel-display:hover { border-color: #333; }
        .channel-display.playing .channel-display-inner { color: #ff6b35; text-shadow: 0 0 5px #ff6b35, 0 0 10px #ff6b35, 0 0 15px #ff4500; animation: vfdGlow 2s ease-in-out infinite alternate; font-size: 11px; letter-spacing: 1px; }
        .channel-display.playing .channel-display-inner.scrolling { animation: scrollText 6s ease-in-out infinite, vfdGlow 2s ease-in-out infinite alternate; }
        .channel-display.clock-mode .channel-display-inner, .channel-display.noise-mode .channel-display-inner { color: #ff6b35; text-shadow: 0 0 5px #ff6b35, 0 0 10px #ff6b35, 0 0 15px #ff4500; animation: vfdGlow 2s ease-in-out infinite alternate; font-size: 11px; letter-spacing: 1px; }
        @keyframes vfdGlow { 0% { text-shadow: 0 0 5px #ff6b35, 0 0 10px #ff6b35, 0 0 15px #ff4500; } 100% { text-shadow: 0 0 8px #ff6b35, 0 0 15px #ff6b35, 0 0 25px #ff4500, 0 0 35px #ff4500; } }
        @keyframes scrollText { 0% { transform: translateX(0); } 50% { transform: translateX(calc(90px - 100%)); } 100% { transform: translateX(0); } }
        .freq-display { background: #0a0a0a; border: 2px solid #1a1a1a; border-radius: 3px; padding: 4px 8px; font-family: 'LCD', 'Courier New', monospace; font-size: 11px !important; color: #ff6b35; letter-spacing: 1px; text-shadow: 0 0 5px #ff6b35, 0 0 10px #ff4500; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8); width: 100px; flex-shrink: 0; white-space: nowrap; display: flex; align-items: baseline; gap: 2px; }
        .freq-display .unit { font-size: 7px; opacity: 0.8; }
        .freq-display.off { color: transparent; text-shadow: none; }
        .freq-display.off .signal-strength { display: none; }
        .freq-display .signal-strength { font-family: Arial, sans-serif; font-weight: bold; margin-left: 4px; transition: all 0.2s ease; }
        .dial-scale { position: relative; height: 55px; margin: 0 10px; }
        .dial-track { position: absolute; top: 38px; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #ddd 0%, #333 10%, #333 90%, #ddd 100%); border-radius: 2px; }
        .dial-mark { position: absolute; top: 15px; width: 1px; background: #666; }
        .dial-mark.major { height: 45px; background: #111; }
        .dial-mark.medium { height: 25px; background: #444; }
        .dial-mark.minor { height: 12px; background: #888; }
        .dial-label { position: absolute; top: 0px; transform: translateX(-50%); font-size: 10px; font-weight: bold; color: #333; }
        .dial-pointer { position: absolute; top: 20px; width: 3px; height: 35px; background: linear-gradient(180deg, var(--pointer-color) 0%, #8b0000 100%); border-radius: 2px; box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); z-index: 10; transition: left 0.05s ease-out; }
        .dial-pointer::before { content: ''; position: absolute; top: -5px; left: -4px; width: 11px; height: 11px; background: #444; border-radius: 50%; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
        .controls { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 0; }
        .knob-group { display: flex; flex-direction: column; align-items: center; gap: 8px; }
        .knob { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(145deg, var(--knob-highlight), var(--knob-color) 30%, var(--knob-shadow) 100%); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5), 0 2px 5px rgba(0, 0, 0, 0.3), inset 0 3px 8px rgba(255, 255, 255, 0.5), inset 0 -3px 8px rgba(0, 0, 0, 0.3); cursor: grab; position: relative; user-select: none; transition: transform 0.05s ease-out; border: 2px solid #888; }
        .knob:active { cursor: grabbing; }
        .knob::before { content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 4px; height: 14px; background: linear-gradient(180deg, #666, #333); border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
        .knob::after { content: ''; position: absolute; top: 3px; left: 3px; right: 3px; bottom: 3px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(0, 0, 0, 0.05) 0deg 3deg, rgba(255, 255, 255, 0.05) 3deg 6deg); border: 1px solid rgba(255, 255, 255, 0.1); }
        .knob-label { font-size: 10px; color: #555; font-weight: bold; letter-spacing: 1px; }
        .volume-knob .knob { width: 70px; height: 70px; }
        .power-section { display: flex; flex-direction: column; align-items: center; gap: 5px; }
        .power-switch { width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(145deg, #4a4a4a, #2a2a2a); border: 3px solid #555; cursor: pointer; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.1), inset 0 -2px 5px rgba(0, 0, 0, 0.3); position: relative; transition: all 0.2s ease; }
        .power-switch::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; border-radius: 50%; background: #333; border: 2px solid #222; transition: all 0.2s ease; }
        .power-switch.on { background: linear-gradient(145deg, #5a5a5a, #3a3a3a); }
        .power-switch.on::before { background: #4CAF50; border-color: #388E3C; box-shadow: 0 0 10px #4CAF50, 0 0 20px rgba(76, 175, 80, 0.5); }
        .power-label { font-size: 9px; color: #666; font-weight: bold; letter-spacing: 1px; }
        .indicator-led { width: 10px; height: 10px; background: var(--indicator-off); border-radius: 50%; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5); transition: all 0.1s ease; }
        .indicator-led.on { background: var(--indicator-on); box-shadow: 0 0 10px var(--indicator-on), 0 0 20px var(--indicator-on), inset 0 -1px 2px rgba(0, 0, 0, 0.3); animation: ledPulse 0.3s ease-in-out infinite alternate; }
        @keyframes ledPulse { 0% { opacity: 0.7; } 100% { opacity: 1; } }
        .brand-section { text-align: center; margin-top: 10px; }
        .brand-name { font-size: 18px; font-weight: bold; color: #333; letter-spacing: 4px; text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5); }
        .brand-model { font-size: 9px; color: #888; letter-spacing: 2px; margin-top: 2px; }
        .screw { position: absolute; width: 14px; height: 14px; margin: 0; padding: 0; border: 0; background: radial-gradient(circle at 30% 30%, #888, #444 60%, #222); border-radius: 50%; box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.5); }
        .screw::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg); width: 8px; height: 1px; background: #222; }
        .screw::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-45deg); width: 8px; height: 1px; background: #222; }
        .screw-1 { top: 8px; left: 8px; }
        .screw-2 { top: 8px; right: 8px; }
        .screw-1, .screw-2 { cursor: pointer; }
        .screw-1:hover, .screw-2:hover, .screw-1:focus-visible, .screw-2:focus-visible { box-shadow: 0 0 7px rgba(255, 150, 50, 0.72), inset 0 1px 2px rgba(255, 255, 255, 0.3); outline: none; }
        .screw-3 { bottom: 8px; left: 8px; cursor: pointer; }
        .screw-3:hover { box-shadow: 0 0 6px rgba(255, 150, 50, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.3); }
        .screw-4 { bottom: 8px; right: 8px; }
        .stand { position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); width: 100px; height: 15px; background: linear-gradient(180deg, #333, #222); border-radius: 0 0 10px 10px; }
        .channel-panel { width: 300px; background: linear-gradient(145deg, #2d2d2d, #1a1a1a); border: 3px solid #333; border-radius: 8px; padding: 20px; box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6), 0 15px 40px rgba(0, 0, 0, 0.9); max-height: 550px; display: flex; flex-direction: column; position: absolute; top: -15px; left: 50%; transform: translate(-50%, -100%); opacity: 0; transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease-out; pointer-events: none; z-index: 100; }
        .channel-panel.visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
        .panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding: 12px 15px; background: linear-gradient(145deg, #2a2a2a, #1a1a1a); border: 2px solid #444; border-radius: 6px; box-shadow: inset 0 1px 3px rgba(0,0,0,0.5), 0 1px 1px rgba(255,255,255,0.1); position: relative; }
        .panel-header::before { content: ''; position: absolute; top: 4px; left: 4px; right: 4px; height: 1px; background: linear-gradient(to right, transparent, #555, transparent); }
        .panel-title { color: #a0a0a0; font-size: 13px; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 1px 1px rgba(0,0,0,0.8); }
        .toggle-btn { background: linear-gradient(145deg, #3a3a3a, #2a2a2a); border: 2px solid #444; color: #b0b0b0; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 16px; font-weight: bold; transition: all 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.1); position: relative; display: flex; align-items: center; justify-content: center; padding: 0; }
        .toggle-btn:hover { background: linear-gradient(145deg, #4a4a4a, #3a3a3a); border-color: #555; color: #ff6b6b; box-shadow: 0 2px 4px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.1), 0 0 8px rgba(255,107,107,0.3); }
        .toggle-btn:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(0,0,0,0.4), inset 0 1px 2px rgba(0,0,0,0.3); }
        .channel-list { flex: 1; overflow-y: auto; margin-bottom: 15px; }
        .channel-list::-webkit-scrollbar { width: 6px; }
        .channel-list::-webkit-scrollbar-track { background: #222; border-radius: 3px; }
        .channel-list::-webkit-scrollbar-thumb { background: #555; border-radius: 3px; }
        .channel-group-header { font-size: 11px; color: #666; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; padding: 8px 0 5px; border-bottom: 1px solid #333; margin-bottom: 10px; margin-top: 5px; }
        .channel-group-header:first-child { margin-top: 0; }
        .channel-item { background: linear-gradient(145deg, #3a3a3a, #2a2a2a), repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0,0,0,0.1) 2px, rgba(0,0,0,0.1) 4px); border-radius: 4px; padding: 12px; margin-bottom: 10px; cursor: pointer; transition: all 0.2s; border: 1px solid #444; box-shadow: inset 0 1px 2px rgba(0,0,0,0.3), 0 1px 1px rgba(255,255,255,0.05); position: relative; }
        .channel-item:hover { background: linear-gradient(145deg, #404040, #303030), repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0,0,0,0.1) 2px, rgba(0,0,0,0.1) 4px); border-color: #555; box-shadow: inset 0 1px 3px rgba(0,0,0,0.2), 0 1px 2px rgba(255,255,255,0.1); }
        .channel-item.active { border-color: #c41e3a; background: linear-gradient(145deg, #4a2a2a, #3a1a1a), repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(196,30,58,0.1) 2px, rgba(196,30,58,0.1) 4px); box-shadow: inset 0 1px 3px rgba(196,30,58,0.2), 0 0 8px rgba(196,30,58,0.3); }
        .channel-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
        .channel-freq { font-family: 'Courier New', Consolas, monospace; font-size: 13px; color: #a0a0a0; font-weight: 500; text-shadow: 0 1px 1px rgba(0,0,0,0.8); }
        .channel-item.active .channel-freq { color: #ff6b6b; text-shadow: 0 0 4px rgba(255,107,107,0.4); }
        .channel-actions { display: flex; gap: 6px; }
        .channel-edit-btn, .channel-delete-btn { background: linear-gradient(145deg, #2a2a2a, #1a1a1a); border: 1px solid #444; color: #888; cursor: pointer; font-size: 12px; padding: 4px 8px; border-radius: 3px; transition: all 0.2s; box-shadow: 0 1px 2px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.05); }
        .channel-edit-btn:hover { background: linear-gradient(145deg, #3a3a3a, #2a2a2a); border-color: #555; color: #aaa; }
        .channel-delete-btn:hover { background: linear-gradient(145deg, #4a1a1a, #3a0a0a); border-color: #c41e3a; color: #ff6b6b; }
        .channel-name-input, .channel-freq-input { width: 100%; background: #222; border: 1px solid #444; border-radius: 3px; padding: 5px 8px; color: #f5f0e6; font-size: 12px; margin-bottom: 5px; }
        .channel-url-input { width: 100%; background: #222; border: 1px solid #444; border-radius: 3px; padding: 5px 8px; color: #888; font-size: 10px; margin-bottom: 5px; }
        .channel-url-input::placeholder { color: #555; }
        .channel-save-btn { background: #4a4a4a; border: none; color: #f5f0e6; padding: 3px 10px; border-radius: 3px; cursor: pointer; font-size: 10px; margin-right: 5px; }
        .channel-cancel-btn { background: transparent; border: 1px solid #555; color: #888; padding: 3px 8px; border-radius: 3px; cursor: pointer; font-size: 10px; }
        .channel-name-display { font-size: 12px; color: #ccc; font-weight: bold; }
        .channel-item.editing { background: #2a2a2a; border: 1px solid #555; }
        .add-channel-btn { width: 100%; background: #4a4a4a; border: 2px dashed #555; color: #888; padding: 10px; border-radius: 6px; cursor: pointer; font-size: 12px; transition: all 0.2s; }
        .add-channel-btn:hover { background: #555; border-color: #666; color: #ccc; }
        .manage-center-link { display: block; margin-top: 8px; text-align: center; text-decoration: none; border-style: solid; color: #ff9d70; }
        .footer-info { position: fixed; bottom: 10px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.35); font-size: 11px; letter-spacing: 0.5px; white-space: nowrap; }
        .footer-info .divider { margin: 0 8px; color: rgba(255, 255, 255, 0.2); }
        .beian-link { color: rgba(255, 255, 255, 0.35); text-decoration: none; }
        .beian-link:hover { color: rgba(255, 255, 255, 0.7); text-decoration: underline; }
        @keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
        .playing .speaker-grid { animation: pulse 0.8s ease-in-out infinite; }
        .panel-tabs { display: flex; gap: 5px; margin-bottom: 15px; }
        .tab-btn { flex: 1; background: #333; border: none; color: #777; padding: 8px 12px; border-radius: 4px 4px 0 0; cursor: pointer; font-size: 12px; transition: all 0.2s; }
        .tab-btn.active { background: #444; color: #f5f0e6; }
        .tab-btn:hover:not(.active) { background: #3a3a3a; color: #999; }
        .tab-content { max-height: 380px; overflow-y: auto; }
        .tab-content::-webkit-scrollbar { width: 6px; }
        .tab-content::-webkit-scrollbar-track { background: #222; border-radius: 3px; }
        .tab-content::-webkit-scrollbar-thumb { background: #555; border-radius: 3px; }
        .setting-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 10px; background: #333; border-radius: 6px; margin-bottom: 8px; }
        .setting-item-label { font-size: 12px; color: #ccc; }
        .setting-control { display: flex; align-items: center; gap: 8px; }
        .setting-toggle { display: flex; background: #222; border-radius: 15px; padding: 2px; border: none; cursor: pointer; }
        .toggle-option { padding: 4px 12px; font-size: 10px; color: #666; border-radius: 12px; transition: all 0.2s; }
        .toggle-option.active { background: #c41e3a; color: #fff; }
        .setting-btn { background: #444; border: none; color: #aaa; padding: 5px 15px; border-radius: 4px; cursor: pointer; font-size: 11px; min-width: 60px; transition: all 0.2s; }
        .setting-btn:hover { background: #555; }
        .setting-btn.active { background: #c41e3a; color: #fff; }
        .setting-toggle-switch { width: 44px; height: 24px; background: #222; border-radius: 12px; border: none; cursor: pointer; position: relative; transition: background 0.2s; }
        .setting-toggle-switch.active { background: #c41e3a; }
        .toggle-switch-slider { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform 0.2s; }
        .setting-toggle-switch.active .toggle-switch-slider { transform: translateX(20px); }
        .setting-select { background: #333; color: #ccc; border: 1px solid #444; border-radius: 4px; padding: 6px 10px; font-size: 12px; cursor: pointer; min-width: 120px; }
        .setting-select:focus { outline: none; border-color: #c41e3a; }
        .signal-display { display: flex; align-items: center; gap: 8px; }
        .signal-bars { display: flex; align-items: flex-end; gap: 2px; height: 20px; }
        .signal-bar { width: 6px; background: #333; border-radius: 1px; transition: background 0.2s; }
        .signal-bar[data-level="1"] { height: 4px; }
        .signal-bar[data-level="2"] { height: 8px; }
        .signal-bar[data-level="3"] { height: 12px; }
        .signal-bar[data-level="4"] { height: 16px; }
        .signal-bar[data-level="5"] { height: 20px; }
        .signal-bar.active { background: linear-gradient(180deg, #4CAF50, #2E7D32); }
        .signal-bar.active[data-level="1"], .signal-bar.active[data-level="2"] { background: linear-gradient(180deg, #ff9800, #f57c00); }
        .signal-text { font-size: 10px; color: #666; min-width: 30px; }
        /* 屏幕太竖时的适配 */
        @media (max-aspect-ratio: 4/3) {
            body { padding: 10px; align-items: flex-start; }
            .radio { width: 95vw; max-width: 600px; }
            .dial-section { padding: 8px 10px; }
            .dial-scale { height: 45px; margin: 0 5px; }
            .dial-label { font-size: 8px; }
            .dial-mark.major { height: 35px; }
            .dial-mark.medium { height: 20px; }
            .dial-mark.minor { height: 10px; }
            .dial-pointer { height: 28px; top: 15px; }
            .dial-header { flex-wrap: wrap; gap: 5px; }
            .channel-display { width: 100px; min-width: 100px; }
            .channel-display-inner { min-width: 80px; width: 80px; font-size: 10px; }
            .freq-display { width: 85px; font-size: 10px !important; }
            .controls { padding: 5px 0; gap: 10px; }
            .knob { width: 55px; height: 55px; }
            .volume-knob .knob { width: 55px; height: 55px; }
            .power-switch { width: 40px; height: 40px; }
            .knob-label, .power-label { font-size: 9px; }
            .speaker-grid { height: 60px; }
        }
        /* 屏幕太窄时的适配 */
        @media (max-width: 750px) {
            .radio { width: 95vw; }
            .dial-header { flex-direction: column; align-items: stretch; gap: 5px; }
            .channel-display { width: 100%; order: 2; }
            .freq-display { width: 100%; order: 3; justify-content: center; }
            .band-switch-container { order: 1; }
            .knob { width: 50px; height: 50px; }
            .volume-knob .knob { width: 50px; height: 50px; }
            .channel-panel { width: 95vw; left: 50%; transform: translate(-50%, -100%); } 
            .channel-panel.visible { transform: translate(-50%, 0); }
            .channel-item { width: 100%; }
        }
        /* 屏幕太宽时的适配 - 限制最大宽度 */
        @media (min-width: 1400px) {
            body { justify-content: center; }
            .radio { width: 800px; }
            .radio-wrapper { justify-content: center; }
        }
        /* 超宽屏幕 - 保持比例 */
        @media (min-aspect-ratio: 21/9) {
            body { align-items: center; }
            .radio { transform: scale(0.9); transform-origin: center; }
        }
        /* 横屏但高度不足 - 自动缩放以适应屏幕 */
        @media (max-height: 600px) and (orientation: landscape) {
            body { padding: 2px; align-items: flex-start; overflow: hidden; }
            .radio { transform: scale(0.65); transform-origin: top center; width: 98vw; max-width: 1000px; margin-top: 60px; }
            .radio-wrapper { gap: 5px; }
            .speaker-grid { height: 40px; }
            .dial-scale { height: 35px; }
            .knob { width: 45px; height: 45px; }
            .front-panel { padding: 8px; }
            .handle { display: none; }
            .brand-section { margin-top: 5px; }
        }
        /* 横屏高度更小的情况 - 手机横屏典型场景 */
        @media (max-height: 450px) and (orientation: landscape) {
            body { padding: 0; }
            .radio { transform: scale(0.5); transform-origin: top center; margin-top: 70px; }
            .speaker-grid { height: 30px; }
            .dial-scale { height: 30px; }
            .knob { width: 35px; height: 35px; }
            .front-panel { padding: 5px; }
            .controls { padding: 5px 0; }
        }
        /* 超小高度 - 极限适配 */
        @media (max-height: 350px) and (orientation: landscape) {
            .radio { transform: scale(0.4); transform-origin: top center; margin-top: 80px; }
            .speaker-section { padding: 10px; margin-bottom: 5px; }
            .dial-section { padding: 5px 8px; margin-bottom: 5px; }
        }

/* 操作说明与免责声明面板 */
.info-panel { position: fixed; bottom: 10px; right: 10px; background: rgba(30,30,30,0.95); border-radius: 8px; padding: 10px 15px; color: #ccc; font-size: 12px; max-width: 320px; box-shadow: 0 4px 15px rgba(0,0,0,0.5); z-index: 1000; border: 1px solid #444; }
        .info-panel[hidden] { display: none !important; }
        .info-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
        .info-title { font-weight: bold; color: #ff6b35; }
        .info-toggle { background: none; border: none; color: #888; cursor: pointer; font-size: 14px; padding: 0; }
        .info-toggle:hover { color: #fff; }
        .info-content { margin-top: 10px; padding-top: 10px; border-top: 1px solid #444; }
        .info-section { margin-bottom: 12px; }
        .info-section h4 { color: #fff; margin: 0 0 6px 0; font-size: 12px; }
        .info-section ul { margin: 0; padding-left: 16px; }
        .info-section li { margin: 4px 0; line-height: 1.5; }
        .info-section p { margin: 4px 0; line-height: 1.5; }
        .info-section a { color: #4CAF50; text-decoration: none; }
        .info-section a:hover { text-decoration: underline; }
        .disclaimer { background: rgba(255,0,0,0.1); padding: 8px; border-radius: 4px; border-left: 3px solid #ff4444; }
        .info-section.about { background: rgba(255,107,53,0.1); padding: 8px; border-radius: 4px; border-left: 3px solid #ff6b35; }
        kbd { background: #444; padding: 2px 6px; border-radius: 3px; font-family: monospace; font-size: 11px; border: 1px solid #555; }
        .admin-login-backdrop { position: fixed; inset: 0; z-index: 2200; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.72); backdrop-filter: blur(7px); }
        .admin-login-backdrop[hidden] { display: none !important; }
        .admin-login-dialog { position: relative; width: min(390px, 100%); padding: 26px; border: 1px solid #555; border-radius: 14px; background: linear-gradient(150deg,#282828,#151515); color: #eee; box-shadow: 0 28px 80px rgba(0,0,0,.7); }
        .admin-login-dialog h2 { margin: 4px 0 10px; font-size: 22px; }
        .admin-login-kicker { margin: 0; color: #ff6b35; font-size: 10px; font-weight: 700; letter-spacing: .2em; }
        .admin-login-note { margin: 0 0 18px; color: #999; font-size: 12px; line-height: 1.6; }
        .admin-login-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 1px solid #444; border-radius: 8px; background: #303030; color: #ddd; cursor: pointer; }
        .admin-password-field { display: grid; gap: 7px; color: #bbb; font-size: 12px; }
        .admin-password-field input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #484848; border-radius: 8px; outline: none; background: #0d0d0d; color: #fff; }
        .admin-password-field input:focus { border-color: #ff6b35; box-shadow: 0 0 0 3px rgba(255,107,53,.14); }
        .admin-login-status { min-height: 22px; margin: 9px 0; color: #ff8a8a; font-size: 12px; }
        .admin-login-submit { width: 100%; min-height: 44px; border: 0; border-radius: 8px; background: linear-gradient(135deg,#ff7a45,#e9511e); color: white; font-weight: 700; cursor: pointer; }
        .admin-login-submit:disabled { opacity: .5; cursor: wait; }
        @media (max-height: 450px) and (orientation: landscape) { .info-panel { display: none; } }
        @media (max-height: 500px) and (orientation: landscape) { .footer-info { display: none; } }
