:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-strong: #111827;
  --ink: #1f2933;
  --muted: #607080;
  --line: #dfe4ea;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --warm: #b45309;
  --danger: #b91c1c;
  --violet: #5b4bc4;
  --shadow: 0 18px 45px rgba(31, 41, 51, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Noto Sans TC",
    "Microsoft JhengHei",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.poster-image[hidden],
.cover-fallback[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(223, 228, 234, 0.9);
  background: rgba(246, 247, 249, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-strong);
  color: #ffffff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.top-nav a {
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: #eaf2f0;
  color: var(--accent-strong);
}

main {
  display: grid;
  gap: 42px;
  padding-bottom: 54px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: stretch;
  padding: clamp(30px, 7vw, 74px) clamp(18px, 5vw, 72px) 24px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.25;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
}

.hero-search {
  display: flex;
  max-width: 680px;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 18px 18px;
  background: transparent;
  color: var(--ink);
  outline: none;
}

.hero-search button,
.quick-actions button,
#resetFilters,
.view-tabs button,
.detail-button,
.report-button,
.platform-tile {
  border: 1px solid transparent;
  border-radius: 8px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.hero-search button {
  min-width: 108px;
  border-radius: 0;
  background: var(--surface-strong);
  color: #ffffff;
  font-weight: 800;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-actions button {
  background: #eaf2f0;
  color: var(--accent-strong);
  padding: 9px 12px;
  font-weight: 700;
}

.quick-actions button:hover,
.platform-tile:hover,
.detail-button:hover,
.report-button:hover,
#resetFilters:hover,
.view-tabs button:hover {
  transform: translateY(-1px);
}

.hero-visual {
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #121820;
  box-shadow: var(--shadow);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stat-strip div {
  display: grid;
  gap: 3px;
  padding: 18px;
  background: var(--surface);
}

.stat-strip strong {
  font-size: 28px;
  line-height: 1;
}

.stat-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section-block,
.library-section,
.method-section,
.topic-hero {
  margin: 0 clamp(18px, 5vw, 72px);
}

.topic-page {
  display: grid;
  gap: 28px;
  padding: clamp(30px, 6vw, 58px) 0 54px;
}

.topic-hero {
  max-width: 860px;
}

.topic-hero h1 {
  margin-bottom: 14px;
}

.topic-hero p:last-child,
.empty-topic {
  color: var(--muted);
}

.legal-page {
  display: grid;
  gap: 24px;
  padding: clamp(30px, 6vw, 58px) 0 54px;
}

.legal-card {
  display: grid;
  gap: 18px;
  max-width: 960px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  margin: 0 clamp(18px, 5vw, 72px);
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  font-size: clamp(22px, 2.5vw, 30px);
}

.legal-card section {
  display: grid;
  gap: 8px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card p a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card ul {
  margin: 0;
  padding-left: 22px;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.legal-actions a,
.site-footer a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--accent-strong);
  padding: 9px 12px;
  font-weight: 800;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.live-radar-section {
  display: grid;
  gap: 14px;
}

.live-radar-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 0;
}

.section-note {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.airing-updated {
  margin: 8px 0 0;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
}

.airing-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.airing-tabs button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  padding: 8px 11px;
  font-size: 14px;
  font-weight: 800;
}

.airing-tabs button.active {
  border-color: var(--accent);
  background: #eaf2f0;
  color: var(--accent-strong);
}

.airing-radar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.airing-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 310px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
  box-shadow: 0 10px 28px rgba(31, 41, 51, 0.06);
}

.airing-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.airing-state,
.airing-buzz,
.buzz-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.airing-state {
  background: #fff2dd;
  color: #8a4b08;
}

.airing-buzz {
  background: #eef0ff;
  color: var(--violet);
}

.airing-card h3 {
  margin: 0;
}

.airing-title-en,
.title-source-note {
  margin: -8px 0 0;
  color: #667789;
  font-size: 13px;
  font-weight: 700;
}

.airing-platform,
.airing-cadence,
.airing-fit,
.empty-airing {
  margin: 0;
  color: var(--muted);
}

.title-source-note {
  margin-top: -2px;
  color: #8a6a3a;
}

.airing-progress {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.airing-progress div {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px;
}

.airing-progress span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.airing-progress strong {
  color: #334155;
  font-size: 14px;
}

.buzz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.buzz-tags span {
  background: #eef3f7;
  color: #415161;
}

.airing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.airing-actions button,
.airing-actions a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
}

.airing-actions button:first-child {
  background: var(--surface-strong);
  color: #ffffff;
}

.library-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.spotlight-grid,
.show-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.show-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.show-card {
  display: grid;
  grid-template-rows: 248px 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(31, 41, 51, 0.06);
}

.show-cover {
  position: relative;
  display: grid;
  min-height: 248px;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cover-tone) 82%, #111827), color-mix(in srgb, var(--cover-tone) 44%, #ffffff)),
    var(--cover-tone);
  color: #ffffff;
}

.show-cover:not(.has-poster)::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 80px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  box-shadow:
    -18px -18px 0 rgba(255, 255, 255, 0.12),
    -34px 10px 0 rgba(255, 255, 255, 0.1);
}

.cover-fallback {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 248px;
  padding: 16px;
}

.poster-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #111827;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.show-cover.has-poster {
  background: #111827;
}

.poster-source-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  max-width: calc(100% - 24px);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(17, 24, 39, 0.74);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.show-cover:not(.has-poster) .poster-source-badge {
  background: rgba(255, 255, 255, 0.16);
}

.cover-region {
  position: relative;
  z-index: 1;
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 800;
}

.cover-title {
  position: relative;
  z-index: 1;
  max-width: 12em;
  font-size: 24px;
  line-height: 1.12;
}

.cover-title-en {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 16em;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.show-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 16px;
}

.show-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.region-pill,
.status-pill,
.meta-row span,
.platform-row span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: #eef3f7;
  color: #415161;
  font-size: 12px;
  font-weight: 700;
}

.region-pill {
  background: #eaf2f0;
  color: var(--accent-strong);
}

.status-pill {
  background: #fff2dd;
  color: #8a4b08;
}

.needs-review-pill,
.needs-review-tag {
  background: #fff7ed;
  color: #9a3412;
}

.show-card h3 {
  margin: 0;
}

.show-title-en {
  margin: -8px 0 0;
  color: #667789;
  font-size: 13px;
  font-weight: 700;
}

.show-tagline {
  color: var(--muted);
}

.meta-row,
.platform-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-row span {
  background: #eef0ff;
  color: var(--violet);
}

.fit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 2px;
}

.fit-row span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.fit-row p {
  margin: 0;
  color: #44505c;
  font-size: 14px;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.detail-button,
.report-button,
#resetFilters {
  background: var(--surface-strong);
  color: #ffffff;
  padding: 9px 12px;
  font-weight: 800;
}

.report-button {
  border-color: var(--line);
  background: #ffffff;
  color: var(--muted);
}

.source-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--muted);
  font-weight: 700;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.topic-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.topic-entry-grid a {
  display: grid;
  gap: 8px;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(31, 41, 51, 0.05);
}

.topic-entry-grid strong {
  font-size: 18px;
}

.topic-entry-grid span {
  color: var(--muted);
}

.platform-tile {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 16px;
  border-color: var(--line);
  background: var(--surface);
  text-align: left;
}

.platform-tile strong {
  font-size: 18px;
}

.platform-tile span {
  color: var(--muted);
  font-size: 13px;
}

.library-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow);
}

.filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.filters label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filters select {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 11px 10px;
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 20px 0 16px;
}

.results-bar p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.result-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.result-actions button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 11px 16px;
  font-weight: 800;
}

.view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.view-tabs button {
  border-color: var(--line);
  background: #ffffff;
  padding: 8px 11px;
  color: var(--muted);
  font-weight: 800;
}

.view-tabs button.active {
  border-color: var(--accent);
  background: #eaf2f0;
  color: var(--accent-strong);
}

.method-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.method-list {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.method-list p {
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 clamp(18px, 5vw, 72px) 36px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: var(--ink);
}

.site-footer p {
  margin: 4px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-dialog {
  width: min(860px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.detail-dialog::backdrop {
  background: rgba(17, 24, 39, 0.58);
}

.dialog-close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  margin: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  z-index: 2;
}

.detail-content {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.detail-hero-row {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.detail-poster {
  display: grid;
  gap: 8px;
  margin: 0;
}

.detail-poster img,
.detail-poster-fallback > div {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 14px 32px rgba(31, 41, 51, 0.14);
}

.detail-poster img {
  object-fit: contain;
}

.detail-poster-fallback > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--cover-tone) 84%, #111827), color-mix(in srgb, var(--cover-tone) 42%, #ffffff)),
    var(--cover-tone);
  color: #ffffff;
}

.detail-poster-fallback span {
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.detail-poster-fallback strong {
  font-size: 22px;
  line-height: 1.12;
}

.detail-poster-fallback small,
.detail-poster figcaption,
.poster-credit {
  color: var(--muted);
  font-size: 13px;
}

.poster-credit {
  margin: 0;
}

.poster-credit a {
  color: var(--accent-strong);
  font-weight: 800;
}

.detail-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.detail-title-row h2 {
  margin-bottom: 6px;
}

.detail-title-row p:last-child {
  margin: 0;
  color: var(--muted);
}

.detail-title-row small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.detail-title-row > span {
  border-radius: 999px;
  background: #fff2dd;
  color: #8a4b08;
  padding: 8px 12px;
  font-weight: 800;
}

.detail-intro {
  color: #3a4652;
  font-size: 18px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-title-row h3 {
  margin: 0;
}

.section-title-row span {
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 5px 9px;
  background: #f0fdf4;
  color: #166534;
  font-size: 12px;
  font-weight: 900;
}

.trailer-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.trailer-embed-slot {
  overflow: hidden;
  border-radius: 8px;
  background: #101827;
}

.trailer-load,
.trailer-link-panel {
  width: 100%;
  min-height: 180px;
  border: 0;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.88), rgba(30, 41, 59, 0.96)),
    #101827;
  color: #ffffff;
  text-align: left;
}

.trailer-load {
  display: grid;
  place-items: center;
  gap: 9px;
  cursor: pointer;
}

.trailer-load strong,
.trailer-link-panel strong,
.trailer-load small,
.trailer-link-panel small {
  display: block;
  text-align: center;
}

.play-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
}

.play-mark::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid var(--accent);
}

.trailer-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.trailer-credit {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.trailer-credit a {
  color: var(--accent-strong);
  font-weight: 800;
}

.detail-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.detail-metrics div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.detail-metrics strong,
.detail-metrics span {
  display: block;
}

.detail-metrics span {
  color: var(--muted);
  font-size: 13px;
}

.platform-detail-list {
  display: grid;
  gap: 10px;
}

.platform-detail-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.platform-detail-item a {
  display: grid;
  gap: 4px;
}

.platform-detail-item button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  padding: 9px 11px;
  font-weight: 800;
}

.needs-review-item {
  border-color: #fed7aa;
  background: #fff7ed;
}

.platform-detail-list span,
.platform-detail-list small,
.verification-note {
  color: var(--muted);
}

.verification-note {
  margin: 10px 0 0;
  font-size: 14px;
}

.detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.detail-columns div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.detail-columns ul {
  margin: 0;
  padding-left: 20px;
}

.report-dialog {
  width: min(720px, calc(100vw - 24px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.report-dialog::backdrop {
  background: rgba(17, 24, 39, 0.58);
}

.report-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.report-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.report-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.report-panel input,
.report-panel select,
.report-panel textarea {
  width: 100%;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  padding: 11px 10px;
  color: var(--ink);
  resize: vertical;
}

.report-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.report-actions button {
  border: 0;
  border-radius: 8px;
  background: var(--surface-strong);
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 800;
}

.report-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .spotlight-grid,
  .show-grid,
  .airing-radar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-grid,
  .topic-entry-grid,
  .filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-search {
    flex-direction: column;
  }

  .hero-search button {
    min-height: 48px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 260px;
  }

  .stat-strip,
  .detail-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading,
  .live-radar-heading,
  .library-heading,
  .results-bar,
  .site-footer,
  .method-section,
  .detail-columns,
  .detail-hero-row {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .detail-poster {
    max-width: 220px;
  }

  .platform-grid,
  .topic-entry-grid,
  .filters,
  .spotlight-grid,
  .show-grid,
  .airing-radar-grid {
    grid-template-columns: 1fr;
  }

  .platform-detail-item,
  .report-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .stat-strip,
  .detail-metrics,
  .fit-row {
    grid-template-columns: 1fr;
  }

  .detail-content {
    padding: 22px 16px;
  }

  .detail-title-row {
    flex-direction: column;
  }
}
