:root { --body: #2a2d33; --edge: #15171a; --lcd: #b9d6a8; --lcd-ink: #1c2a1a; --accent: #ff7a3d; --metal: #8d949c; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: radial-gradient(ellipse at 50% 20%, #3a3128, #17120e 75%); color: #e8e2d8; font-family: "Segoe UI", "BIZ UDPGothic", "Yu Gothic UI", sans-serif; }
main { max-width: 1080px; margin: 0 auto; padding: 28px 16px 40px; }
.handle { width: 62%; height: 46px; margin: 0 auto -6px; border: 12px solid #3a3e45; border-bottom: none; border-radius: 26px 26px 0 0; }
.box { display: grid; grid-template-columns: 1fr minmax(400px, 1.9fr) 1fr; gap: 18px; align-items: center; padding: 22px; background: linear-gradient(#3b3f46, var(--body)); border: 3px solid var(--edge);
  border-radius: 22px; box-shadow: 0 18px 50px #000a, inset 0 2px 0 #fff2; }
.speaker { aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, #111 0 2px, #26292e 2px 5px); border: 8px solid #1a1c20; box-shadow: inset 0 0 30px #000, 0 2px 0 #fff2; display: grid; place-items: center; }
.cone { width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #555b63, #1d2024 70%); display: grid; place-items: center; transform: scale(var(--pump, 1)); box-shadow: 0 0 24px #000; }
.cap { width: 34%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9aa1a9, #33373d); }
.deck { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lcd { background: linear-gradient(#c6e0b6, var(--lcd)); color: var(--lcd-ink); border-radius: 8px; padding: 10px 14px 8px; border: 3px solid #0e0f11; box-shadow: inset 0 0 18px #3d5a3555; font-family: "Consolas", "BIZ UDGothic", monospace; min-height: 168px; }
.lcd.off { filter: brightness(0.45) saturate(0.4); }
.lcd .row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; white-space: nowrap; overflow: hidden; }
.lcd .top { font-weight: 700; letter-spacing: 0.04em; }
#onair { background: var(--lcd-ink); color: var(--lcd); padding: 0 6px; border-radius: 3px; font-size: 11px; visibility: hidden; }
.lcd.playing #onair { visibility: visible; }
.lcd .title { font-size: 26px; font-weight: 700; margin: 4px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcd .sub { opacity: 0.8; font-family: "Segoe UI", "BIZ UDPGothic", sans-serif; }
.lcd .meta { margin-top: 6px; align-items: center; }
.lcd .meta #meta { overflow: hidden; text-overflow: ellipsis; }
.lcd .sounds { font-size: 12px; opacity: 0.85; margin-top: 4px; font-weight: 700; }
#layers { flex: none; }
#layers i { font-style: normal; display: inline-block; width: 14px; font-size: 10px; line-height: 14px; text-align: center; border: 1px solid var(--lcd-ink); margin-left: 2px; border-radius: 3px; opacity: 0.25; }
#layers i.on { opacity: 1; background: var(--lcd-ink); color: var(--lcd); }
.bar { height: 5px; background: #1c2a1a33; border-radius: 3px; margin-top: 6px; overflow: hidden; }
#prog { height: 100%; width: 0; background: var(--lcd-ink); }
.tuner { position: relative; height: 64px; background: linear-gradient(#f3ead2, #d8cba6); border-radius: 6px; border: 3px solid #0e0f11; overflow: hidden; }
.scale { position: absolute; inset: 0; }
.scale .tick { position: absolute; top: 0; width: 1px; height: 10px; background: #5a4d33; }
.scale .tick.major { height: 16px; width: 2px; }
.scale .num { position: absolute; top: 17px; transform: translateX(-50%); font-size: 10px; color: #5a4d33; font-family: Consolas, monospace; }
.scale .st { position: absolute; bottom: 4px; transform: translateX(-50%); font-size: 10px; font-weight: 700; color: #7a2d10; white-space: nowrap; }
.scale .st::before { content: ""; position: absolute; left: 50%; top: -22px; width: 2px; height: 20px; background: #c2542466; }
.needle { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--accent); box-shadow: 0 0 8px var(--accent); left: 0; transform: translateX(-1px); pointer-events: none; }
#dial { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.presets { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
button { font: inherit; color: #e8e2d8; background: linear-gradient(#555a62, #3a3e45); border: 2px solid var(--edge); border-radius: 7px; padding: 7px 10px; cursor: pointer; box-shadow: 0 2px 0 #0008, inset 0 1px 0 #fff3; font-size: 13px; }
button:active { transform: translateY(1px); box-shadow: none; }
button.on { background: linear-gradient(#ff9a5c, var(--accent)); color: #1c1008; font-weight: 700; }
.presets button { padding: 6px 0; font-size: clamp(9px, 0.95vw, 11px); line-height: 1.25; min-width: 0; overflow: hidden; letter-spacing: -0.01em; }
.presets button b { display: block; font-size: 15px; }
.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.controls .big { padding: 9px 18px; font-weight: 700; letter-spacing: 0.08em; }
.knob { font-size: 11px; display: flex; align-items: center; gap: 6px; color: #c9c2b5; letter-spacing: 0.06em; }
.knob input { width: 110px; accent-color: var(--accent); }
.notes { margin-top: 22px; font-size: 14px; line-height: 1.7; color: #d6cfc2; }
.notes .dim { color: #9a9285; font-size: 12px; }
@media (max-width: 820px) { .box { grid-template-columns: 1fr; } .speaker { display: none; } .presets { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.meters { background: #0c0d0f; border: 3px solid #0e0f11; border-radius: 6px; box-shadow: inset 0 0 14px #000; height: 186px; }
#meter { width: 100%; height: 100%; display: block; }
.presets button.on { font-weight: 400; }
@media (max-width: 820px) { .meters { height: 262px; } }
.notes a { color: #ffb07a; }
