.receiver {
  --bg: #111510;
  --panel: #1b2119;
  --text: #ede3ce;
  --muted: #c1bdab;
  --line: #424a38;
  --accent: #d8b977;
  --phosphor: #b9e9d7;
  --phosphor-dim: #a2beb4;
  background-color: var(--bg);
}
.receiver .site-header { background: #111510f0; }
.receiver .header-inner { min-height: 66px; }
.receiver .brand small { color: var(--muted); }
.receiver main {
  background: linear-gradient(180deg, #11151026, #11151015 55%, #111510f0),
    url('workbench.webp') center 48% / cover;
}
.receiver-stage { width: min(100% - 80px, 1160px); padding-block: clamp(30px, 6vw, 82px) clamp(38px, 6.8vw, 92px); }
.receiver-sr { position: absolute; overflow: hidden; clip-path: inset(50%); width: 1px; height: 1px; white-space: nowrap; }
.receiver-case {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(0, 2.05fr);
  gap: clamp(15px, 2.5vw, 34px);
  isolation: isolate;
  padding: clamp(24px, 4.1vw, 55px);
  border: 1px solid #aba17e;
  border-bottom: 8px solid #25281c;
  border-radius: 28px;
  background: repeating-linear-gradient(0deg, #20241418 0 1px, transparent 1px 3px),
    linear-gradient(152deg, #737660, #4f5642 51%, #30382a);
  box-shadow: inset 0 1px 4px #eee0aa94, inset 0 0 0 9px #282c20ad,
    inset 0 0 0 10px #c5c29a45, 0 12px 12px #090b08ad, 0 30px 65px #080a07d9;
}
.receiver-case::before, .receiver-case::after {
  position: absolute;
  inset-inline: clamp(12px, 2vw, 24px);
  height: 13px;
  content: '';
  background: radial-gradient(circle at 6px center, #464738 1px, #ada681 3px, #65654f 4px, #22271c 6px, transparent 7px),
    radial-gradient(circle at calc(100% - 6px) center, #464738 1px, #ada681 3px, #65654f 4px, #22271c 6px, transparent 7px);
  pointer-events: none;
}
.receiver-case::before { top: 13px; }
.receiver-case::after { bottom: 12px; }
.receiver-controls { display: grid; align-self: center; gap: 14px; min-width: 0; }
.receiver-plate {
  display: grid;
  place-items: center;
  padding: clamp(8px, 1.3vw, 16px);
  background: linear-gradient(145deg, #282c22, #131812);
  border: 1px solid #1b2018;
  border-bottom-color: #a1a180;
  border-radius: 12px;
  box-shadow: inset 0 4px 13px #0a0f0ae3, 0 2px 3px #151b148c;
}
.receiver-plate img {
  width: min(100%, 208px);
  height: auto;
  border: 1px solid #66644b;
  border-radius: 5px;
  box-shadow: 0 5px 12px #090b09;
}
.receiver-grille {
  height: clamp(38px, 5.7vw, 66px);
  border-radius: 8px;
  border: 1px solid #25291b;
  background: radial-gradient(ellipse at center, #11170f 28%, #282d20 41%, #7b7e612b 53%, transparent 57%) 0 0 / 9px 8px,
    linear-gradient(165deg, #414836, #2a3224);
  box-shadow: inset 0 3px 9px #13190fc9, 0 1px 0 #a4a2829e;
}
.receiver-tuner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(5px, .8vw, 10px);
  padding: 6px 0 3px;
}
.receiver-tuner a {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 5px 3px;
  border: 1px solid #252b21;
  border-radius: 5px;
  background: linear-gradient(#383c2f, #252d23);
  box-shadow: 0 3px 0 #1f251b, 0 4px 6px #161c15bf, inset 0 1px 0 #a29c7766;
  color: #f6ebcf;
  font: 700 clamp(.73rem, 1.15vw, .91rem)/1.2 var(--mono);
}
.receiver-tuner a:hover { background: #485141; }
.receiver-tuner a[aria-selected='true'] {
  background: linear-gradient(#2c3b30, #1c2921);
  color: var(--phosphor);
  box-shadow: inset 0 3px 7px #0c150ff0, 0 2px 0 #788266;
}
.receiver-dial {
  position: relative;
  width: clamp(38px, 5.1vw, 63px);
  aspect-ratio: 1;
  border: 4px solid #333729;
  border-radius: 50%;
  background: repeating-conic-gradient(#454733 0 5deg, #343a2d 6deg 10deg);
  box-shadow: 0 3px 5px #182013ed, inset 0 0 0 1px #a19b6d7d;
}
.receiver-dial::before {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  content: '';
  background: linear-gradient(145deg, #5e6149, #292f24 82%);
  box-shadow: inset 0 1px 2px #b3b18c70;
}
.receiver-dial::after {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  content: '';
  background: linear-gradient(#e1d6a3, #e1d6a3) center 19% / 3px 20% no-repeat;
  transform: rotate(-55deg);
  transition: transform 240ms ease-out;
}
.receiver-case[data-channel='servers'] .receiver-dial::after { transform: rotate(55deg); }
.receiver-bezel {
  display: grid;
  min-width: 0;
  padding: clamp(8px, 1.55vw, 20px);
  border: 1px solid #262c21;
  border-radius: 22px;
  background: linear-gradient(150deg, #1a2019, #2f382c 70%, #3a4332);
  box-shadow: inset 0 7px 17px #0b120dd9, 0 1px 0 #a8a586;
}
.receiver-screen {
  min-height: 414px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(15px, 3vw, 38px);
  border: 1px solid #657b67;
  border-radius: 19px;
  color: var(--phosphor);
  background: radial-gradient(ellipse at 45% 0, #243f34, transparent 75%), #142720;
  box-shadow: inset 0 0 18px 3px #090f0c, inset 0 0 30px 2px #0b1a13;
}
.receiver-screen::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: '';
  pointer-events: none;
  background: repeating-linear-gradient(0deg, #050c091a 0 1px, transparent 1px 4px),
    linear-gradient(149deg, #d7f4e615, transparent 35%);
}
.receiver-channel + .receiver-channel:not([hidden]) { margin-top: 32px; }
.receiver-case[data-channel] .receiver-channel:not([hidden]) { margin-top: 0; animation: receiver-tune 220ms steps(4) both; }
.receiver-channel h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 15px;
  border-bottom: 1px solid #75a39066;
  font: 700 clamp(1rem, 2vw, 1.38rem)/1.25 var(--mono);
  letter-spacing: .02em;
}
.receiver-channel h2::before {
  width: 7px;
  height: 7px;
  content: '';
  background: #b0e4cb;
  box-shadow: 0 0 10px #a0fbd2a6;
  flex: 0 0 7px;
}
.receiver-mods { list-style: none; margin: 0; padding: 0; }
.receiver-mods li { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 12px; padding: 15px 0; }
.receiver-mods li + li { border-top: 1px solid #75a3904d; }
.receiver-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #84b59f73; border-radius: 4px; }
.receiver-mods h3 { font: 700 clamp(.91rem, 1.5vw, 1.17rem)/1.3 var(--mono); overflow-wrap: anywhere; }
.receiver-mods p { margin-top: 5px; color: var(--phosphor-dim); font-size: clamp(.78rem, 1.15vw, .91rem); }
.receiver-server { margin-top: 16px; border: 1px solid #84b59f73; border-radius: 5px; overflow: hidden; }
.receiver-server-art { min-height: 130px; background: linear-gradient(0deg, #10261e88, transparent 80%), url('zone.webp') center 54% / cover; }
.receiver-server-info { padding: 12px 15px 15px; }
.receiver-server-info p { color: var(--phosphor-dim); font: 700 .72rem/1.35 var(--mono); }
.receiver-server-info h3 { margin: 6px 0 11px; font-size: clamp(1.7rem, 3vw, 2.6rem); }
.receiver-server-info a { display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid #8dc3ad; padding: 3px 0; font-size: .82rem; }
.receiver-server-info a:hover { color: white; }
.receiver-server-info a svg { width: .9rem; height: .9rem; }
.receiver .site-footer { border-top: 0; }

@keyframes receiver-tune {
  from { opacity: .62; transform: translateY(2px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .receiver-stage { width: calc(100% - 32px); padding-block: 25px 36px; }
  .receiver-case { grid-template-columns: 1fr; gap: 13px; padding: 23px; border-radius: 21px; }
  .receiver-case::before { top: 7px; }
  .receiver-case::after { bottom: 6px; }
  .receiver-controls { grid-template-columns: minmax(82px, .62fr) minmax(0, 1fr); gap: 7px 11px; align-items: center; }
  .receiver-plate { grid-row: span 2; padding: 5px; }
  .receiver-plate img { width: min(100%, 105px); }
  .receiver-grille { height: 25px; align-self: end; }
  .receiver-tuner { align-self: start; padding-block: 3px 0; }
  .receiver-tuner a { min-height: 40px; }
  .receiver-screen { min-height: 328px; }
  .receiver-bezel { border-radius: 16px; }
  .receiver-screen { border-radius: 12px; }
  .receiver-mods li { padding-block: 11px; }
}
@media (max-width: 390px) {
  .receiver-case { padding-inline: 15px; }
  .receiver-controls { gap: 5px 8px; }
  .receiver-dial { width: 31px; }
  .receiver-tuner a { font-size: .68rem; }
  .receiver-mods li { grid-template-columns: 30px minmax(0, 1fr); gap: 8px; }
  .receiver-mark { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .receiver-dial::after { transition: none; }
  .receiver-case[data-channel] .receiver-channel:not([hidden]) { animation: none; }
}
