:root {
  color-scheme: dark;
  --ink: #f7f3ea;
  --muted: #c9c1b3;
  --dim: #8d99ae;
  --line: rgba(247, 243, 234, 0.18);
  --panel: rgba(19, 24, 35, 0.82);
  --panel-strong: rgba(12, 17, 27, 0.94);
  --red: #c93f4a;
  --gold: #d8b45c;
  --cyan: #6bd4d7;
  --bg: #111827;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  background:
    linear-gradient(rgba(8, 12, 20, 0.74), rgba(8, 12, 20, 0.92)),
    repeating-linear-gradient(90deg, rgba(216, 180, 92, 0.08) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(107, 212, 215, 0.06) 0 1px, transparent 1px 72px),
    var(--bg);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 15, 24, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(216, 180, 92, 0.7);
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 15px;
  background: rgba(201, 63, 74, 0.12);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  padding: 8px 0;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(44px, 8vw, 88px) clamp(18px, 6vw, 72px) 56px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.88;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: rgba(201, 63, 74, 0.8);
  background: var(--red);
}

.button.secondary {
  color: var(--ink);
  background: rgba(247, 243, 234, 0.08);
}

.store-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(34px, 5vw, 56px) clamp(18px, 6vw, 72px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(201, 63, 74, 0.12), transparent 50%),
    var(--panel-strong);
}

.store-copy {
  max-width: 680px;
}

.store-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
}

.store-copy > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.store-badges {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  min-height: 62px;
  padding: 9px 17px;
  border: 1px solid rgba(247, 243, 234, 0.72);
  border-radius: 10px;
  color: #fff;
  background: #050505;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  transition: border-color 160ms ease, transform 160ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.store-badge-icon {
  width: 31px;
  height: 36px;
  flex: 0 0 auto;
}

.apple-icon {
  width: 30px;
}

.store-badge span {
  display: grid;
  line-height: 1;
}

.store-badge small {
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.store-badge strong {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.signal-panel {
  position: relative;
  overflow: hidden;
  align-self: center;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(107, 212, 215, 0.08) 10px);
  mix-blend-mode: screen;
}

.case-label {
  position: relative;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 22px;
}

.mouth-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
}

.mouth-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  border: 1px solid rgba(247, 243, 234, 0.14);
  background:
    linear-gradient(135deg, rgba(107, 212, 215, 0.10), transparent),
    rgba(0, 0, 0, 0.22);
  image-rendering: auto;
}

.panel-caption {
  position: relative;
  margin: 0;
  padding: 0 20px 20px;
  color: var(--dim);
  font-size: 13px;
}

.reward-showcase {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 20px 24px 18px;
  min-height: 0;
}

.reward-badge {
  display: block;
  width: min(100%, 300px);
  max-height: min(38vh, 300px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(107, 212, 215, 0.35));
}

.reward-copy {
  max-width: 440px;
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
}

.reward-copy p {
  margin-bottom: 0;
}

.reward-title {
  margin-bottom: 8px !important;
  color: var(--gold);
  font-size: 19px;
  font-weight: 800;
}

.section {
  padding: clamp(46px, 7vw, 82px) clamp(18px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 920px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.section-lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(24px, 5vw, 70px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.text-block {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.feature-band article {
  min-height: 230px;
  padding: 34px clamp(18px, 3vw, 34px);
  background: var(--panel-strong);
}

.feature-number {
  display: block;
  margin-bottom: 24px;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 44px;
}

.feature-band h3 {
  margin-bottom: 12px;
  font-size: 23px;
}

.feature-band p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.character-card {
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) minmax(0, 0.58fr);
  align-items: end;
  min-height: 360px;
  background:
    linear-gradient(150deg, rgba(107, 212, 215, 0.11), transparent 45%),
    var(--panel-strong);
}

.character-art {
  align-self: stretch;
  display: grid;
  align-items: end;
  min-height: 320px;
  overflow: hidden;
}

.character-art img {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  object-position: bottom center;
}

.character-copy {
  padding: 30px clamp(20px, 3vw, 34px);
}

.character-role,
.season-tag {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.character-copy h3,
.season-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(25px, 3vw, 38px);
}

.character-copy p:last-child,
.season-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.85;
}

.season-section {
  background:
    linear-gradient(rgba(8, 12, 20, 0.25), rgba(8, 12, 20, 0.72)),
    rgba(12, 17, 27, 0.62);
}

.season-focus {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(280px, 0.48fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.season-copy {
  max-width: 720px;
}

.season-copy p {
  color: var(--muted);
  line-height: 1.9;
}

.thieves-visual {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.thieves-visual img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.2);
}

.thieves-visual figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
}

.season-list {
  display: grid;
  gap: 1px;
  margin-top: clamp(46px, 7vw, 78px);
  background: var(--line);
  border: 1px solid var(--line);
}

.series-heading {
  max-width: 780px;
  margin: clamp(38px, 6vw, 68px) 0 24px;
}

.series-heading h3 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 44px);
}

.series-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.series-heading-divider {
  max-width: none;
  margin: 0;
  padding: clamp(34px, 5vw, 54px);
  background:
    linear-gradient(145deg, rgba(107, 212, 215, 0.12), transparent 58%),
    rgba(8, 13, 22, 0.98);
}

.season-entry {
  padding: clamp(28px, 5vw, 54px);
  background: var(--panel-strong);
}

.season-entry:nth-child(even) .season-copy {
  order: 2;
}

.season-entry-mystery {
  background: linear-gradient(145deg, rgba(107, 212, 215, 0.1), transparent 58%), var(--panel-strong);
}

.season-entry-new {
  background: linear-gradient(145deg, rgba(201, 63, 74, 0.14), transparent 58%), var(--panel-strong);
}

.season-entry .thieves-visual img {
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  margin-right: 18px;
  color: var(--cyan);
  font-weight: 800;
}

.legal-link {
  color: var(--gold);
}

.final-section {
  border-bottom: 1px solid var(--line);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 6vw, 72px);
  color: var(--dim);
  font-size: 13px;
}

.site-footer a {
  color: var(--muted);
}

.policy-page {
  padding: clamp(32px, 6vw, 72px) clamp(18px, 6vw, 72px);
}

.policy-hero {
  max-width: 900px;
  margin-bottom: 44px;
}

.policy-hero h1 {
  font-size: clamp(42px, 7vw, 86px);
}

.policy-hero p:last-child {
  color: var(--muted);
}

.policy-content {
  max-width: 900px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--panel);
}

.policy-content h2 {
  margin: 34px 0 12px;
  font-size: 22px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  color: var(--muted);
  line-height: 1.9;
}

.policy-content ul {
  margin: 0 0 24px;
  padding-left: 1.4em;
  color: var(--muted);
  line-height: 1.9;
}

.policy-content li + li {
  margin-top: 8px;
}

.policy-content strong {
  color: var(--ink);
}

.policy-content a {
  color: var(--cyan);
}

.policy-note {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--dim) !important;
  font-size: 13px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 34px;
  color: var(--muted);
}

.info-table th,
.info-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  line-height: 1.7;
}

.info-table th {
  width: 220px;
  padding-right: 24px;
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header,
  .hero,
  .split,
  .feature-band,
  .character-grid,
  .character-card,
  .season-focus,
  .site-footer {
    display: block;
  }

  .store-section {
    display: block;
  }

  .store-badges {
    margin-top: 26px;
  }

  .site-header {
    position: static;
  }

  .brand {
    margin-bottom: 10px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .signal-panel {
    margin-top: 34px;
  }

  .reward-badge {
    width: min(100%, 260px);
    max-height: 260px;
  }

  .split .text-block {
    margin-top: 24px;
  }

  .character-card {
    min-height: 0;
    border-top: 1px solid var(--line);
  }

  .character-card:first-child {
    border-top: 0;
  }

  .character-art {
    min-height: 260px;
  }

  .character-art img {
    max-height: 300px;
  }

  .season-focus {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .season-copy,
  .thieves-visual {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .season-copy h3 {
    overflow-wrap: normal;
    word-break: normal;
  }

  .season-entry:nth-child(even) .season-copy {
    order: initial;
  }

  .season-copy {
    order: 1;
  }

  .thieves-visual {
    order: 2;
  }

  .feature-band article {
    min-height: auto;
    border-top: 1px solid var(--line);
  }

  .feature-band article:first-child {
    border-top: 0;
  }

  .site-footer span {
    display: block;
    margin-bottom: 8px;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .info-table td {
    padding-top: 0;
  }
}

@media (max-width: 500px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .mouth-grid {
    grid-template-columns: 1fr;
  }

  .season-entry {
    padding: 22px;
  }
}
