.topic-pay-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 72px;
}

.topic-rail {
  background: var(--surface);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.12);
  height: fit-content;
}

.topic-rail .decor-wrap {
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.topic-rail-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.topic-rail ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic-rail li {
  color: var(--muted);
  font-size: 0.88rem;
}

.topic-pay-copy h1 {
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.topic-pay-copy h2 {
  font-size: 1.15rem;
  margin: 24px 0 10px;
  color: var(--accent);
}

.topic-pay-copy p {
  color: var(--muted);
  margin-bottom: 14px;
}

.topic-band {
  margin-top: 28px;
  min-height: 160px;
  border-radius: 12px;
  background-image:
    linear-gradient(100deg, rgba(0, 0, 0, 0.55), rgba(2, 15, 47, 0.55)),
    url("/images/decorative/decor_6.jpg");
  background-size: cover;
  background-position: center;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.12);
}

.topic-slots-hero {
  padding: 48px 24px 20px;
  text-align: left;
  max-width: var(--max);
  margin: 0 auto;
}

.topic-slots-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
}

.topic-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto 28px;
  padding: 0 24px;
}

.topic-stat {
  background: var(--surface);
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.1);
}

.topic-stat strong {
  display: block;
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 500;
}

.topic-stat span {
  color: var(--muted);
  font-size: 0.82rem;
}

.topic-slots-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 24px 72px;
}

.topic-slots-grid h2 {
  font-size: 1.15rem;
  margin: 22px 0 10px;
  color: var(--accent);
}

.topic-slots-grid p {
  color: var(--muted);
  margin-bottom: 12px;
}

.topic-bonus-quote {
  max-width: 820px;
  margin: 40px auto 12px;
  padding: 28px 24px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 300;
}

.topic-bonus-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px 40px;
}

.topic-bonus-split h1 {
  grid-column: 1 / -1;
  font-size: 1.7rem;
  font-weight: 500;
}

.topic-bonus-split h2 {
  font-size: 1.1rem;
  margin: 18px 0 10px;
  color: var(--accent);
}

.topic-bonus-split p {
  color: var(--muted);
  margin-bottom: 12px;
}

.topic-mosaic {
  max-width: var(--max);
  margin: 0 auto 64px;
  padding: 0 24px;
  min-height: 180px;
  border-radius: 12px;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(2, 6, 23, 0.7)),
    url("/images/decorative/decor_8.webp");
  background-size: cover;
  background-position: center;
}

@media (max-width: 800px) {
  .topic-pay-shell,
  .topic-slots-grid,
  .topic-bonus-split,
  .topic-stats {
    grid-template-columns: 1fr;
  }

  .topic-pay-shell,
  .topic-slots-grid,
  .topic-bonus-split,
  .topic-rail,
  .topic-pay-copy {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 375px) {
  .topic-pay-shell,
  .topic-slots-grid,
  .topic-bonus-split,
  .topic-slots-hero,
  .topic-stats,
  .topic-mosaic {
    padding-left: 16px;
    padding-right: 16px;
    max-width: 100%;
    overflow: hidden;
  }

  .topic-band,
  .topic-mosaic {
    min-height: 120px;
    background-size: cover;
    background-position: center;
  }
}
