body[data-theme="rycade-tv"] {
  --tv-green: #75f29b;
  --tv-blue: #111b77;
  --tv-white: #f5f5da;
  --sp: var(--tv-green);
  color: var(--tv-white);
  background: #050608;
}

body[data-theme="rycade-tv"] #stage {
  overflow: hidden;
  background: #050608;
  font-family: "Barlow Condensed", sans-serif;
}

body[data-theme="rycade-tv"] .bg,
body[data-theme="rycade-tv"] .dim,
body[data-theme="rycade-tv"] .spill,
body[data-theme="rycade-tv"] .mq,
body[data-theme="rycade-tv"] .lb,
body[data-theme="rycade-tv"] .cap {
  display: none;
}

body[data-theme="rycade-tv"] #monitor {
  left: 0;
  top: 68px;
  width: 1280px;
  height: 454px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #02030b;
  box-shadow: none;
}

body[data-theme="rycade-tv"] #screen img.active {
  opacity: .43;
  filter: saturate(.5) contrast(1.2);
}

body[data-theme="rycade-tv"] #screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, .18) 4px);
}

body[data-theme="rycade-tv"] #roster {
  left: 0;
  top: 524px;
  width: 1280px;
  height: 436px;
  padding: 0 28px 18px;
  border-top: 7px solid #c9cde1;
  background: #151e79;
}

body[data-theme="rycade-tv"] #list {
  padding-top: 74px;
}

body[data-theme="rycade-tv"] .lr {
  display: grid;
  height: 50px;
  padding: 0 20px;
  align-items: center;
  border-bottom: 1px solid rgba(225, 232, 255, .24);
  color: #d9ddf4;
  font-size: 26px;
  font-weight: 600;
  grid-template-columns: 150px 1fr 150px 84px;
  line-height: 50px;
}

body[data-theme="rycade-tv"] .lr.on {
  height: 54px;
  border: 2px solid #ffec77;
  color: #fff;
  background: #29348f;
  font-size: 31px;
  line-height: 50px;
}

body[data-theme="rycade-tv"] .lr strong,
body[data-theme="rycade-tv"] .lr span {
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-theme="rycade-tv"] .tv-row-channel,
body[data-theme="rycade-tv"] .tv-row-system,
body[data-theme="rycade-tv"] .tv-row-players {
  color: #c7d1f2;
  font-size: 22px;
  letter-spacing: 1px;
}

body[data-theme="rycade-tv"] #theme-layout {
  position: absolute;
  z-index: 18;
  inset: 0;
  pointer-events: none;
}

body[data-theme="rycade-tv"] .tv-input {
  display: none;
}

body[data-theme="rycade-tv"] .tv-input b {
  color: #050a06;
  background: var(--tv-green);
  padding: 2px 7px;
}

body[data-theme="rycade-tv"] .tv-channel {
  position: absolute;
  top: 62px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tv-green);
  text-shadow: 0 0 8px rgba(117, 242, 155, .45);
}

body[data-theme="rycade-tv"] .tv-channel small { font-size: 17px; }
body[data-theme="rycade-tv"] .tv-channel strong { font-size: 40px; }

body[data-theme="rycade-tv"] .tv-guide-title {
  position: absolute;
  top: 532px;
  left: 34px;
  right: 34px;
  display: flex;
  height: 52px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border-bottom: 3px solid #e7e6ef;
  font-size: 25px;
  letter-spacing: 2px;
}

body[data-theme="rycade-tv"] .tv-guide-title span {
  font-size: 17px;
  color: #c2c8ec;
}

body[data-theme="rycade-tv"] .tv-now {
  position: absolute;
  top: 432px;
  left: 42px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--tv-green);
  font-size: 27px;
}

body[data-theme="rycade-tv"] .tv-now span { color: #c5c9dd; font-size: 18px; }

body[data-theme="rycade-tv"] .topbar {
  top: 0;
  left: 0;
  right: 0;
  z-index: 21;
}

body[data-theme="rycade-tv"] .topbar .wm { position: absolute; top: 12px; right: 22px; font-size: 0; }
body[data-theme="rycade-tv"] .topbar-tabs { position: absolute; top: 12px; left: 26px; margin: 0; gap: 8px; }
body[data-theme="rycade-tv"] .tabs { display: flex; height: 38px; align-items: center; border: 2px solid var(--tv-green); background: #050a06; }
body[data-theme="rycade-tv"] .tabs::before { content: "INPUT"; padding: 0 10px; color: var(--tv-green); font-size: 17px; font-weight: 700; letter-spacing: 1px; }
body[data-theme="rycade-tv"] .tabs button { height: 34px; padding: 0 10px; border: 0; color: #c5e5cd; font-size: 17px; }
body[data-theme="rycade-tv"] .tabs button.on { color: #050a06; background: var(--tv-green); }
body[data-theme="rycade-tv"] #search-open,
body[data-theme="rycade-tv"] #settings-open {
  width: 38px;
  height: 38px;
  border: 2px solid var(--tv-green);
  color: var(--tv-green);
  background: #050a06;
  font-size: 16px;
}

body[data-theme="rycade-tv"] #settings-open svg,
body[data-theme="rycade-tv"] #search-open svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
body[data-theme="rycade-tv"] .ctl,
body[data-theme="rycade-tv"] .hint { color: #c9cee5; }
body[data-theme="rycade-tv"] .hint { right: 30px; bottom: 12px; font-size: 17px; }
body[data-theme="rycade-tv"] .letter { border: 3px solid var(--tv-green); border-radius: 0; background: #04110b; box-shadow: none; }
body[data-theme="rycade-tv"] .letter b { color: var(--tv-green); }
body[data-theme="rycade-tv"] .feature-overlay { background: rgba(0, 0, 0, .82); backdrop-filter: none; }
body[data-theme="rycade-tv"] .feature-panel { border: 3px solid var(--tv-green); background: #050a06; box-shadow: none; }
body[data-theme="rycade-tv"] .feature-heading h2,
body[data-theme="rycade-tv"] .settings-section-title { color: var(--tv-green); }
body[data-theme="rycade-tv"] .feature-heading small,
body[data-theme="rycade-tv"] .feature-help { color: #b4d8bd; }
body[data-theme="rycade-tv"] #search-query,
body[data-theme="rycade-tv"] .search-key,
body[data-theme="rycade-tv"] .setting-action,
body[data-theme="rycade-tv"] .settings-nav button { border: 1px solid #4652a0; border-radius: 0; color: #f1f4ff; background: #101b68; box-shadow: none; }
body[data-theme="rycade-tv"] .search-key.focus,
body[data-theme="rycade-tv"] .search-result.selected,
body[data-theme="rycade-tv"] .setting-action.focus,
body[data-theme="rycade-tv"] .settings-nav button.active { border: 2px solid var(--tv-green); color: #05100a; background: var(--tv-green); }
body[data-theme="rycade-tv"] .search-result { border-radius: 0; background: #11195a; }
body[data-theme="rycade-tv"] .remote-toast { border: 2px solid var(--tv-green); border-radius: 0; color: var(--tv-green); background: #050a06; box-shadow: none; }
body[data-theme="rycade-tv"] .theme-swatch { border: 2px solid #eee; border-radius: 0; background: linear-gradient(90deg, #75f29b 0 50%, #151e79 50%); }
body[data-theme="rycade-tv"] #stage.channel-static #theme-layout::after {
  content: "";
  position: absolute;
  inset: 68px 0 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.8) 0 2px, #101010 3px 5px, #47f48d 6px 7px, #151515 8px 12px);
  opacity: .72;
  animation: tv-static 120ms steps(2, end) both;
}

@keyframes tv-static { from { opacity: .7; } to { opacity: 0; } }
body[data-theme="rycade-tv"] #monitor.live { left: 0; top: 0; width: 1280px; height: 960px; }
body[data-theme="rycade-tv"] #now-playing { border: 2px solid var(--tv-green); color: var(--tv-green); background: #030806; box-shadow: none; }
body[data-theme="rycade-tv"] .boot-choice { border: 1px solid #4652a0; border-radius: 0; color: #f1f4ff; background: #101b68; }
body[data-theme="rycade-tv"] .boot-choice.selected { border: 2px solid var(--tv-green); color: #06100a; background: var(--tv-green); }
body[data-theme="rycade-tv"] .settings-nav { align-self: stretch; }
body[data-theme="rycade-tv"] .remote-settings { border: 1px solid #4652a0; background: #101b68; }
body[data-theme="rycade-tv"] #pairing-qr { border: 3px solid var(--tv-green); background: #fff; }
body[data-theme="rycade-tv"] .settings-footer,
body[data-theme="rycade-tv"] .settings-note { color: #b4d8bd; }
body[data-theme="rycade-tv"] .feature-help { border-top: 1px solid #4652a0; }
body[data-theme="rycade-tv"] .theme-choice.selected { border: 2px solid var(--tv-green); }
body[data-theme="rycade-tv"] .setting-copy small,
body[data-theme="rycade-tv"] .theme-copy small { color: #b4d8bd; }
body[data-theme="rycade-tv"] .setting-action > b { border-color: var(--tv-green); color: var(--tv-green); }
body[data-theme="rycade-tv"] .sound-row { border-color: #4652a0; background: #101b68; }
body[data-theme="rycade-tv"] .mixer-value { color: var(--tv-green); }
body[data-theme="rycade-tv"] .setting-toggle i { border-color: var(--tv-green); }
body[data-theme="rycade-tv"] .setting-toggle.on b { color: var(--tv-green); }
body[data-theme="rycade-tv"] .setting-toggle.on i::after,
body[data-theme="rycade-tv"] .setting-segments i.selected { color: #06100a; background: var(--tv-green); }
body[data-theme="rycade-tv"] .setting-segments { border-color: var(--tv-green); }
body[data-theme="rycade-tv"] .pairing-label { color: var(--tv-green); }
body[data-theme="rycade-tv"] .mixer-slider { accent-color: var(--tv-green); }
