:root {
  color-scheme: dark;
  --bg: #050505;
  --ink: #efe7d8;
  --muted: #8f8576;
  --plate: #bfb4a0;
  --plate-dark: #766c5e;
  --engrave: rgba(20, 18, 16, 0.86);
  --amber: #d3aa62;
  --volume-rotation: 58deg;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  background:
    radial-gradient(circle at 48% 30%, rgba(211,170,98,0.08), transparent 36%),
    linear-gradient(140deg, #080807, #050505 60%, #020202);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .48;
  background-image:
    linear-gradient(rgba(239,231,216,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,231,216,.032) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 38%, black, transparent 76%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}
button { font: inherit; cursor: pointer; }
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 24px;
  padding: clamp(18px, 4vw, 58px);
}
.receiver {
  width: min(1560px, 95vw);
  display: grid;
  grid-template-columns: 88px 1fr 88px;
  filter: drop-shadow(0 42px 58px rgba(0,0,0,.58));
}
.rack {
  position: relative;
  min-height: 290px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(90deg, rgba(255,255,255,.06), transparent 18%, rgba(0,0,0,.4)), linear-gradient(180deg, #191815, #070706);
  box-shadow: inset 0 0 34px rgba(0,0,0,.62);
}
.rack-left { border-radius: 28px 10px 10px 28px; }
.rack-right { border-radius: 10px 28px 28px 10px; }
.rack i {
  position: absolute;
  left: 31px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #777064, #171513 70%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.26), inset 0 -2px 4px rgba(0,0,0,.75), 0 1px 2px rgba(0,0,0,.8);
}
.rack i:first-child { top: 28px; }
.rack i:last-child { bottom: 28px; }
.rack i::after { content: ""; position: absolute; left: 5px; right: 5px; top: 10px; height: 2px; background: rgba(0,0,0,.5); transform: rotate(-18deg); }
.faceplate {
  position: relative;
  display: grid;
  grid-template-columns: 250px minmax(360px, 1fr) 280px;
  gap: 32px;
  min-height: 290px;
  padding: 34px 32px;
  border: 1px solid rgba(25,22,18,.22);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.26), transparent 7%, transparent 93%, rgba(0,0,0,.28)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #d2c6ae, #9d917e 54%, var(--plate-dark));
  box-shadow: inset 0 2px 3px rgba(255,255,255,.22), inset 0 -8px 20px rgba(0,0,0,.22), 0 18px 60px rgba(0,0,0,.62);
  overflow: hidden;
}
.faceplate::after { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(0,0,0,.08); pointer-events: none; }
.panel { position: relative; z-index: 2; display: grid; align-content: center; min-width: 0; }
.left-panel { grid-template-rows: auto 1fr; gap: 24px; }
.brand-block { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 11px; min-height: 62px; padding-bottom: 17px; border-bottom: 1px solid rgba(20,18,16,.16); }
.brand-logo { width: 40px; height: 48px; object-fit: contain; opacity: .78; filter: invert(1) contrast(1.22); mix-blend-mode: multiply; }
.brand-copy { display: grid; gap: 7px; min-width: 0; }
.brand { color: var(--engrave); font-weight: 700; font-size: 14px; letter-spacing: .18em; line-height: 1; }
.tagline { color: rgba(20,18,16,.62); font-size: 9px; letter-spacing: .14em; line-height: 1.35; text-transform: uppercase; }
.volume-block { position: relative; display: grid; place-items: center; align-self: end; min-height: 176px; grid-template-rows: auto auto auto; gap: 8px; }
.volume-index { display: grid; grid-template-columns: auto 72px auto; align-items: center; gap: 9px; width: 154px; color: rgba(20,18,16,.58); font-size: 8px; letter-spacing: .16em; }
.volume-index i { height: 1px; background: linear-gradient(90deg, rgba(20,18,16,.24), rgba(20,18,16,.62), rgba(20,18,16,.24)); }
.knob-shell { position: relative; display: grid; place-items: center; width: 138px; height: 128px; }
.knob-shell::before { content: ""; position: absolute; inset: 4px 10px 0; border-radius: 50%; background: linear-gradient(150deg, rgba(35,31,26,.2), rgba(255,255,255,.08)); box-shadow: inset 0 1px 2px rgba(255,255,255,.18), inset 0 -3px 9px rgba(0,0,0,.24); opacity: .55; }
.knob { position: relative; z-index: 1; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; width: 116px; height: 116px; border: 0; border-radius: 50%; background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.55), transparent 18%), radial-gradient(circle at 50% 50%, #2d2a25 0 34%, transparent 35%), repeating-conic-gradient(from 0deg, #141311 0deg 4deg, #5b554c 4deg 6deg, #191714 6deg 10deg), radial-gradient(circle, #5e574d, #171513 72%); box-shadow: inset 0 4px 8px rgba(255,255,255,.08), inset 0 -12px 22px rgba(0,0,0,.82), 0 16px 22px rgba(0,0,0,.5); touch-action: none; }
.knob::before { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: linear-gradient(140deg, #3c3831, #12110f 70%); box-shadow: inset 0 2px 5px rgba(255,255,255,.08), inset 0 -10px 18px rgba(0,0,0,.72); }
.knob::after { content: ""; position: absolute; left: 50%; top: 13px; width: 3px; height: 32px; border-radius: 4px; background: #f0dfbd; box-shadow: 0 0 10px rgba(230,188,115,.34); transform-origin: 50% 52px; transform: translateX(-50%) rotate(var(--volume-rotation)); }
.control-label, .status-label, .window-label, .meter-label { color: rgba(20,18,16,.72); font-size: 9px; letter-spacing: .2em; line-height: 1.15; text-transform: uppercase; }
.meter-panel { grid-template-rows: auto 1fr; gap: 10px; text-align: center; }
.meter { min-height: 174px; padding: 13px; border-radius: 13px; background: linear-gradient(145deg, rgba(255,255,255,.26), transparent 22%, rgba(0,0,0,.34)), #14120f; box-shadow: inset 0 2px 8px rgba(255,255,255,.08), inset 0 -12px 30px rgba(0,0,0,.8), 0 10px 24px rgba(0,0,0,.44); }
.meter-glass { position: relative; height: 148px; border-radius: 8px; overflow: hidden; background: linear-gradient(110deg, rgba(255,255,255,.22), transparent 18%, transparent 58%, rgba(255,255,255,.1) 62%, transparent 68%), radial-gradient(circle at 50% 18%, rgba(255,245,206,.74), transparent 65%), linear-gradient(180deg, #f1dfb5, #c4a775 74%, #806339); box-shadow: inset 0 0 22px rgba(255,221,151,.34), inset 0 0 3px rgba(0,0,0,.8); }
.meter-face { position: absolute; inset: 16px 22px 8px; color: #1b1712; }
.meter-title { position: absolute; top: 1px; left: 0; right: 0; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.meter-scale { position: absolute; left: 50%; top: 28px; width: min(320px, 94%); height: 92px; transform: translateX(-50%); overflow: visible; }
.meter-scale-arc { fill: none; stroke: rgba(24,19,14,.64); stroke-width: 1.4; stroke-linecap: round; }
.meter-scale-ticks line { stroke: rgba(24,19,14,.76); stroke-width: 1.2; stroke-linecap: round; }
.meter-scale-numbers text { fill: rgba(24,19,14,.82); font-size: 9px; font-weight: 700; letter-spacing: 0; }
.needle { position: absolute; left: 50%; bottom: 9px; width: 2px; height: 82px; background: #1d1710; transform-origin: 50% 79px; transform: rotate(-42deg); transition: transform 70ms linear; box-shadow: 0 0 2px rgba(0,0,0,.42); }
.needle::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 16px; height: 16px; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(circle, #4a3520, #120d09 70%); }
.right-panel { grid-template-rows: auto auto auto; gap: 18px; }
.status-row { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: center; min-height: 54px; }
.lamp { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 38% 30%, rgba(255,255,255,.65), transparent 22%), radial-gradient(circle, #6b4d23, #1c150d 70%); box-shadow: inset 0 -2px 4px rgba(0,0,0,.7); }
.is-live .lamp { background: radial-gradient(circle at 38% 30%, rgba(255,255,255,.72), transparent 22%), radial-gradient(circle, #e6bc73, #7b5522 66%, #23170b); box-shadow: inset 0 -2px 4px rgba(0,0,0,.5), 0 0 22px rgba(230,188,115,.45); }
.status-value { margin-top: 4px; color: rgba(20,18,16,.82); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.play-block { display: grid; justify-items: start; gap: 7px; padding-top: 14px; border-top: 1px solid rgba(20,18,16,.14); }
.toggle-row { display: grid; grid-template-columns: auto 58px auto; align-items: center; gap: 7px; color: rgba(20,18,16,.62); font-size: 8px; letter-spacing: .14em; }
.toggle { position: relative; width: 58px; height: 58px; border: 0; border-radius: 50%; background: radial-gradient(circle at 38% 28%, rgba(255,255,255,.54), transparent 17%), radial-gradient(circle, #9d9280 0 31%, #4c4439 32% 44%, #17130f 45% 70%, #070605 71%); box-shadow: inset 0 2px 4px rgba(255,255,255,.26), inset 0 -7px 12px rgba(0,0,0,.74), 0 9px 13px rgba(0,0,0,.34); }
.toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 25px; height: 25px; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 38% 30%, #f0e4cf, #5b5146 68%, #211c17); }
.toggle::after { content: ""; position: absolute; left: 50%; top: 14px; width: 9px; height: 40px; border-radius: 8px; background: linear-gradient(90deg, #595247, #f3e6cf 44%, #2b251f); box-shadow: 0 9px 11px rgba(0,0,0,.42); transform-origin: 50% 32px; transform: translateX(-50%) rotate(-28deg); transition: transform 180ms ease; }
.toggle.is-on::after { transform: translateX(-50%) rotate(28deg); }
.info-window { position: relative; min-height: 84px; padding: 14px 16px; border: 1px solid rgba(15,13,11,.28); border-radius: 6px; background: linear-gradient(110deg, rgba(255,255,255,.09), transparent 34%), linear-gradient(180deg, rgba(0,0,0,.88), rgba(0,0,0,.62)); color: rgba(239,231,216,.84); box-shadow: inset 0 0 0 2px rgba(255,255,255,.025), inset 0 0 18px rgba(0,0,0,.95), 0 1px 0 rgba(255,255,255,.14), 0 7px 14px rgba(0,0,0,.18); }
.info-window::before { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(24,21,18,.18); border-radius: 9px; pointer-events: none; }
.window-label { color: rgba(239,231,216,.48); }
.track-line { margin-top: 9px; color: rgba(239,231,216,.9); font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
@media (max-width: 980px) {
  .page { align-items: start; padding: 18px; }
  .receiver { grid-template-columns: 1fr; width: min(560px, 100%); }
  .rack { display: none; }
  .faceplate { grid-template-columns: 1fr; gap: 30px; padding: 30px 22px; }
  .left-panel, .right-panel { justify-items: stretch; }
  .brand-block { text-align: left; }
  .play-block { justify-items: start; }
  .meter { min-height: 166px; }
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.social-links a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(239, 231, 216, .12);
  border-radius: 50%;
  color: rgba(239, 231, 216, .66);
  background: rgba(0, 0, 0, .16);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.social-links a:hover,
.social-links a:focus-visible {
  color: rgba(239, 231, 216, .92);
  border-color: rgba(211, 170, 98, .34);
  background: rgba(211, 170, 98, .07);
}
.social-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
@media (max-width: 980px) {
  .page { gap: 18px; }
  .brand-block { grid-template-columns: 36px 1fr; }
  .brand-logo { width: 35px; height: 42px; }
  .social-links { padding-bottom: 8px; }
}

