.tool-platform-tv-icon {
  display: grid;
  width: clamp(66px, 9vw, 104px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #b8db8170;
  border-radius: 21%;
  color: #e1f9a7;
  background: radial-gradient(ellipse at 75% 15%, #64784e, #263737 77%);
}

.tool-platform-tv-icon svg { width: 53%; height: auto; }

.tv-skill-hero {
  background: radial-gradient(ellipse at 78% 47%, #384332, transparent 54%), #201b2c;
}

.tv-skill-page .relay-downloads {
  grid-template-columns: minmax(0, 1fr);
  max-width: 350px;
}

.tv-skill-page .relay-download { padding-inline: 14px; }

.tv-skill-display {
  position: relative;
  min-width: 0;
  margin: 0 0 18px;
  padding: 7px;
  border: 1px solid #a9bd9475;
  border-radius: 16px;
  background: #100f17;
  box-shadow: 0 30px 55px -18px #0a0816c9;
  animation: relay-enter .55s .09s ease-out both;
}

.tv-skill-display::after {
  position: absolute;
  top: 100%;
  left: 40%;
  width: 20%;
  height: 14px;
  border-bottom: 3px solid #6a7468;
  background: linear-gradient(95deg, #1a1922, #434642 51%, #1a1922);
  clip-path: polygon(34% 0, 66% 0, 72% 70%, 100% 70%, 100% 100%, 0 100%, 0 70%, 28% 70%);
  content: "";
}

.tv-skill-screen {
  display: flex;
  min-height: 190px;
  aspect-ratio: 16 / 9;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: clamp(12px, 2vw, 22px);
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 78% 12%, #b8c8895e, transparent 60%),
    linear-gradient(150deg, #282535 17%, #425141 57%, #283a36 93%);
}

.tv-skill-preview-label { color: #edf2df; font-size: 11px; font-weight: 650; }

.tv-skill-clock {
  color: #f0f5e5;
  font-size: clamp(30px, 5vw, 66px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}

.tv-skill-apps { display: flex; flex-wrap: wrap; gap: 6px; }

.tv-skill-apps span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border: 1px solid #d8f58b55;
  border-radius: 6px;
  color: #f0f7e5;
  background: #1a2532b8;
  font-size: 11px;
  font-weight: 700;
}

.tv-skill-apps svg { color: #d8f58b; }
.tv-skill-install { scroll-margin-top: 16px; }
.tv-skill-install li { overflow-wrap: anywhere; }

.tv-skill-page .tv-skill-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  margin-top: 4px;
  color: var(--relay-accent);
  font-size: 13px;
}

.tv-skill-source:hover { text-decoration: underline; }
.tv-skill-source svg { flex-shrink: 0; margin: 0; }

.tv-skill-checksum {
  padding-top: 13px;
  border-top: 1px solid var(--relay-border);
  color: var(--relay-muted);
  font-size: 14px;
}

.tv-skill-checksum summary { width: fit-content; min-height: 32px; color: var(--relay-accent); cursor: pointer; }
.tv-skill-checksum summary:focus-visible { outline: 2px solid var(--relay-accent); outline-offset: 4px; }
.tv-skill-checksum code { overflow-wrap: anywhere; }

@media (max-width: 680px) {
  .tv-skill-page .relay-version { padding-right: 0; }
  .tv-skill-page .relay-downloads { max-width: none; }
  .tv-skill-display { width: min(100%, 398px); margin: 14px auto; }
  .tv-skill-screen { min-height: 0; }
  .tv-skill-clock { font-size: clamp(34px, 10vw, 52px); }
}

@media (max-width: 640px) {
  .tool-platform-tv-icon { width: 54px; }
}

@media (max-width: 360px) {
  .tool-platform-tv-icon { width: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-skill-display { animation: none; }
}
