/* Control Components - Lake Wequaquet */

/* Audio Controls */
.audio-controls-wrapper { position: fixed; bottom: 16px; left: 16px; z-index: 100; display: flex; flex-direction: column; gap: 8px; }
.audio-controls-wrapper.draggable { flex-direction: row; align-items: center; gap: 6px; background: rgba(10,15,25,0.9); padding: 6px 10px; border-radius: 6px; border: 1px solid rgba(100,150,255,0.15); }
.audio-controls-wrapper.draggable .drag-handle { order: -1; }
.audio-controls-wrapper.draggable .audio-toggle { background: none; border: none; padding: 4px 8px; }
.audio-controls-wrapper.draggable .audio-volume { background: none; border: none; padding: 0; }
.audio-controls-wrapper.draggable .audio-volume.visible { display: flex; }
.audio-toggle { font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; color: #506070; background: rgba(10,15,25,0.85); border: 1px solid rgba(100,150,255,0.15); padding: 8px 12px; border-radius: 4px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.2s; }
.audio-toggle:hover { background: rgba(30,45,70,0.9); color: #7090b0; }
.audio-toggle .icon { font-size: 1rem; }
.audio-toggle.muted { color: #404550; }
.audio-toggle.muted .icon { opacity: 0.5; }
.audio-volume { display: none; align-items: center; gap: 8px; background: rgba(10,15,25,0.85); border: 1px solid rgba(100,150,255,0.15); padding: 8px 12px; border-radius: 4px; }
.audio-volume.visible { display: flex; }
.audio-volume label { font-family: 'IBM Plex Mono', monospace; font-size: 0.6rem; color: #506070; }
.audio-volume input[type="range"] { width: 80px; height: 4px; -webkit-appearance: none; appearance: none; background: rgba(100,150,255,0.2); border-radius: 2px; cursor: pointer; }
.audio-volume input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #6080a0; cursor: pointer; }
.audio-volume input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #6080a0; cursor: pointer; border: none; }

/* Brightness Control */
.brightness-control { position: fixed; bottom: 16px; left: 180px; z-index: 100; display: flex; align-items: center; gap: 8px; background: rgba(10,15,25,0.9); padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(255,200,100,0.15); font-family: 'IBM Plex Mono', monospace; }
.brightness-control .brightness-icon { font-size: 0.9rem; }
.brightness-control input[type="range"] { width: 80px; height: 4px; -webkit-appearance: none; appearance: none; background: rgba(255,200,100,0.2); border-radius: 2px; cursor: pointer; }
.brightness-control input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #c0a060; cursor: pointer; }
.brightness-control input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #c0a060; cursor: pointer; border: none; }
.brightness-value { font-size: 0.6rem; color: #a08050; min-width: 32px; }

/* Nav Keypad */
.nav-keypad { position: fixed; z-index: 100; background: rgba(10,15,25,0.9); padding: 8px; border-radius: 8px; border: 1px solid rgba(100,150,255,0.2); font-family: 'IBM Plex Mono', monospace; user-select: none; }
.nav-keypad.pan-pad { bottom: 80px; right: 100px; }
.nav-keypad.zoom-pad { bottom: 80px; right: 20px; }
.nav-keypad-grid { display: grid; grid-template-columns: repeat(3, 28px); grid-template-rows: repeat(3, 28px); gap: 2px; }
.nav-keypad-btn { width: 28px; height: 28px; background: rgba(60,80,120,0.3); border: 1px solid rgba(100,150,255,0.2); border-radius: 4px; color: #7090b0; font-size: 0.7rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.nav-keypad-btn:hover { background: rgba(80,120,180,0.4); color: #a0c0e0; }
.nav-keypad-btn:active { background: rgba(100,150,220,0.5); transform: scale(0.95); }
.nav-keypad-btn.center { background: rgba(40,60,90,0.2); border-color: rgba(100,150,255,0.1); }
.nav-keypad-btn.center:hover { background: rgba(60,80,120,0.3); }
.zoom-keypad-col { display: flex; flex-direction: column; gap: 4px; }
.zoom-keypad-col .nav-keypad-btn { width: 36px; height: 32px; font-size: 1rem; }
.nav-keypad-label { font-size: 0.5rem; color: #506070; text-align: center; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; cursor: grab; padding: 2px 4px; border-radius: 3px; transition: background 0.2s; }
.nav-keypad-label:hover { background: rgba(100,150,200,0.1); color: #7090b0; }

/* Creatures Toggle */
.creatures-toggle { position: fixed; bottom: 16px; right: 350px; z-index: 100; background: rgba(10,15,25,0.9); padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(100,180,100,0.2); font-family: 'IBM Plex Mono', monospace; display: flex; align-items: center; gap: 8px; }
.creatures-toggle-label { font-size: 0.55rem; color: #506070; text-transform: uppercase; letter-spacing: 0.5px; }
.creatures-toggle-btn { background: rgba(100,180,100,0.2); border: 1px solid rgba(100,180,100,0.3); color: #80c080; padding: 4px 10px; border-radius: 4px; font-family: 'IBM Plex Mono', monospace; font-size: 0.6rem; cursor: pointer; transition: all 0.2s; }
.creatures-toggle-btn:hover { background: rgba(100,180,100,0.3); }
.creatures-toggle-btn.off { background: rgba(180,100,100,0.2); border-color: rgba(180,100,100,0.3); color: #c08080; }
.creatures-toggle-btn.off:hover { background: rgba(180,100,100,0.3); }

/* Meteor Counter */
.meteor-counter { position: absolute; top: 12px; right: 16px; font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; color: #6a7080; background: rgba(0,0,0,0.5); padding: 8px 12px; border-radius: 4px; z-index: 20; display: none; flex-direction: column; gap: 6px; }
.meteor-counter.draggable { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
.meteor-counter.draggable .drag-handle { margin-right: 4px; }
.meteor-counter.draggable .meteor-stats { flex: 1; }
.meteor-counter.draggable .seen-row { width: 100%; }
.meteor-counter.draggable .tally-marks { width: 100%; }
.meteor-counter.visible { display: flex; }
.meteor-stats { display: flex; gap: 12px; font-size: 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 6px; margin-bottom: 2px; }
.meteor-stat { color: #8090a0; }
.meteor-stat .stat-num { color: #aabbcc; font-weight: 400; }
.meteor-stat.dim { color: #505560; }
.meteor-stat.dim .stat-num { color: #606570; }
.meteor-counter .seen-row { display: flex; align-items: center; gap: 6px; }
.meteor-counter .pending { color: #ffcc66; }
.meteor-tally { display: flex; align-items: center; gap: 3px; padding: 3px 6px; background: rgba(100,150,200,0.15); border: 1px solid rgba(100,150,200,0.3); border-radius: 3px; cursor: pointer; transition: all 0.2s; font-size: 0.6rem; }
.meteor-tally:hover { background: rgba(100,150,200,0.3); }
.meteor-tally.disabled { opacity: 0.3; pointer-events: none; }
.tally-marks { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; color: #aaccff; letter-spacing: -1px; }
