:root {
  color-scheme: dark;
  --bg: #0d1016;
  --bg-elevated: rgba(14, 19, 27, 0.82);
  --panel: rgba(17, 22, 32, 0.88);
  --panel-strong: rgba(10, 13, 19, 0.95);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4efe5;
  --muted: #9faabc;
  --accent: #d8a46d;
  --accent-soft: #8a5d39;
  --glow: rgba(216, 164, 109, 0.24);
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-ui: "Manrope", sans-serif;
  --font-display: "Cormorant Garamond", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  background:
    radial-gradient(circle at top, rgba(216, 164, 109, 0.14), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(128, 183, 201, 0.1), transparent 28%),
    linear-gradient(180deg, #121720 0%, #090c11 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 90%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 64px;
}

.page-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 18%, rgba(208, 123, 84, 0.08), transparent 16%),
    radial-gradient(circle at 78% 32%, rgba(127, 214, 197, 0.08), transparent 18%);
  filter: blur(2px);
  z-index: 0;
}

.site-header,
main {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 13, 19, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-lockup {
  display: block;
  width: min(340px, 56vw);
  max-width: 100%;
  height: auto;
}

.brand-subline {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transform: translateY(-1px);
}

.hero,
.section,
.deep-dossier,
.rule-card,
.request-form,
.aside-panel,
.card-slot,
.compare-table-wrap,
.index-toolbar,
.index-meta {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 20, 29, 0.92), rgba(10, 13, 19, 0.92));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: clamp(24px, 4vw, 52px);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-copy h1,
.section-heading h2,
.deep-dossier-heading h3,
.rule-card h3,
.aside-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 5.2vw, 5rem);
  max-width: 15ch;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-text,
.section-copy,
.compare-summary,
.rule-card p,
.aside-panel p,
.form-note,
.card-summary,
.back-blurb {
  color: var(--muted);
  line-height: 1.7;
}

.hero-legal,
.legal-note {
  margin: 0;
  color: rgba(244, 239, 229, 0.72);
  line-height: 1.7;
  font-size: 0.94rem;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #efc088);
  color: #17110b;
  box-shadow: 0 12px 40px var(--glow);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-stats article {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.hero-stats strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
}

.hero-stats span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.section {
  margin-top: 28px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-xl);
}

.section-heading,
.deep-dossier-heading,
.request-layout,
.arena-grid,
.rules-grid,
.index-toolbar,
.index-actions {
  display: grid;
  gap: 20px;
}

.section-heading {
  grid-template-columns: 1fr 0.9fr;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.arena-controls,
.index-toolbar {
  display: grid;
  gap: 14px;
}

.arena-mode-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.mode-toggle-button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
}

.mode-toggle-button.is-active {
  background: linear-gradient(135deg, var(--accent), #efc088);
  color: #17110b;
  border-color: transparent;
}

.arena-mode-view.is-hidden {
  display: none;
}

.arena-controls {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 20px;
}

.search-field,
.filter-field,
.request-form label {
  display: grid;
  gap: 8px;
}

.search-field span,
.filter-field span,
.request-form span {
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.search-field input,
.filter-field select,
.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-field input:focus,
.filter-field select:focus,
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(216, 164, 109, 0.12);
}

.arena-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr) minmax(0, 1fr);
  align-items: stretch;
}

.team-roster-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: 20px;
}

.card-slot,
.arena-switchboard,
.deep-dossier,
.compare-table-wrap,
.index-toolbar,
.index-meta,
.rule-card,
.request-form,
.aside-panel {
  border-radius: var(--radius-lg);
}

.card-slot {
  min-height: 680px;
  padding: 18px;
  overflow: hidden;
}

.arena-switchboard {
  display: grid;
  gap: 16px;
  padding: 22px;
  align-content: start;
  position: relative;
  overflow: hidden;
}

.team-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 20, 29, 0.92), rgba(10, 13, 19, 0.92));
  box-shadow: var(--shadow);
  align-content: start;
}

.team-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2vw, 2.3rem);
  line-height: 0.96;
}

.team-inputs,
.team-roster-list {
  display: grid;
  gap: 12px;
}

.team-slot-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.team-slot-card h4,
.team-summary-card h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.team-slot-card p,
.team-summary-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.team-summary-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.team-trait-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.arena-switchboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(216, 164, 109, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 46%);
  pointer-events: none;
}

.arena-switchboard > * {
  position: relative;
  z-index: 1;
}

.arena-switchboard h3,
.arena-summary-panel h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
}

.arena-switchboard h3 {
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  line-height: 0.95;
}

.arena-summary-panel,
.arena-rules-list article {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.arena-rules-list {
  display: grid;
  gap: 10px;
}

.arena-rules-list article strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.arena-footnote {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.arena-card-shell {
  height: 100%;
}

.flip-toggle {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  perspective: 1600px;
}

.card-scene {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  transform-style: preserve-3d;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.flip-toggle[data-flipped="true"] .card-scene {
  transform: rotateY(180deg);
}

.card-face {
  --accent: #d8a46d;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: 28px;
  backface-visibility: hidden;
  overflow: hidden;
  background: var(--card-face, linear-gradient(160deg, rgba(53, 32, 22, 0.96), rgba(23, 14, 11, 0.96)));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.card-face::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  pointer-events: none;
}

.card-back {
  transform: rotateY(180deg);
  background:
    linear-gradient(160deg, rgba(15, 19, 27, 0.96), rgba(9, 11, 17, 0.96)),
    var(--card-face);
}

.corner-glyph {
  position: absolute;
  width: 74px;
  height: 74px;
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}

.corner-glyph::before,
.corner-glyph::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: currentColor;
}

.corner-glyph::before {
  inset: 12px;
  border: 1px solid currentColor;
  background: transparent;
}

.corner-glyph::after {
  width: 10px;
  height: 10px;
  right: 12px;
  bottom: 12px;
}

.corner-top-left {
  top: 12px;
  left: 12px;
  border-right: 0;
  border-bottom: 0;
  border-radius: 18px 0 0 0;
}

.corner-top-right {
  top: 12px;
  right: 12px;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 18px 0 0;
}

.corner-bottom-left {
  bottom: 12px;
  left: 12px;
  border-right: 0;
  border-top: 0;
  border-radius: 0 0 0 18px;
}

.corner-bottom-right {
  right: 12px;
  bottom: 12px;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 18px 0;
}

.card-kicker,
.card-type {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

.card-name,
.back-name {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 0.92;
}

.card-summary {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 44ch;
}

.card-tags,
.tag-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tags .chip,
.arena-summary-panel .chip {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.82);
}

.placeholder-art {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 68%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  line-height: 1.7;
}

.art-preview-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  display: block;
  background: rgba(0, 0, 0, 0.18);
}

.art-preview-image-compact {
  min-height: 200px;
}

.art-preview-caption {
  display: grid;
  gap: 4px;
  padding: 2px 4px 0;
}

.art-preview-caption strong {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
}

.art-preview-caption span,
.art-placeholder-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.6;
}

.card-meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.mini-stats,
.request-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-stats {
  display: grid;
  gap: 10px;
}

.mini-stats li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.mini-stats strong {
  color: var(--text);
}

.mini-stats .bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.mini-stats .bar span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #ffffff);
}

.back-header {
  margin-bottom: 4px;
}

.back-arena-edge,
.back-summons {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.back-signatures {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.back-signatures li {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
}

.back-notes {
  display: grid;
  gap: 14px;
  margin: 0;
}

.back-notes dt {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.back-notes dd {
  margin: 6px 0 0;
  color: var(--text);
}

.deep-dossier {
  margin-top: 24px;
  padding: 24px;
}

.deep-dossier-heading {
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  margin-bottom: 20px;
}

.compare-table-wrap {
  overflow: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.compare-table th {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.compare-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.stat-badge.leading {
  background: var(--glow);
  color: var(--text);
}

.delta-positive {
  color: #8de5c0;
}

.delta-negative {
  color: #f0a48d;
}

.dossier-columns,
.rules-grid,
.request-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dossier-columns {
  margin-top: 20px;
}

.dossier-panel {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.dossier-panel h4 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.dossier-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.dossier-fact {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.dossier-fact strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.86rem;
}

.dossier-fact span {
  color: var(--muted);
  line-height: 1.5;
}

.dossier-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.index-toolbar {
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.45fr));
  padding: 18px;
  margin-bottom: 16px;
}

.search-field-wide {
  min-width: 0;
}

.index-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 18px;
  color: var(--muted);
}

.masonry-grid {
  columns: 4 280px;
  column-gap: 18px;
}

.index-actions {
  justify-content: center;
  margin-top: 18px;
}

.index-card {
  break-inside: avoid;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(16, 20, 29, 0.94), rgba(10, 13, 19, 0.94)),
    var(--card-face, linear-gradient(160deg, rgba(53, 32, 22, 0.96), rgba(23, 14, 11, 0.96)));
  box-shadow: var(--shadow);
  animation: rise-in 480ms ease both;
}

.index-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 0.95;
}

.index-card .tag-row,
.index-card .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.78rem;
}

.index-card .prompt-preview {
  margin: 14px 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 12px;
}

.index-card .summary {
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.index-card .cta-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.index-card button {
  flex: 1;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.rules-grid {
  gap: 18px;
}

.rule-card {
  padding: 22px;
}

.request-layout {
  gap: 18px;
}

.request-form,
.aside-panel {
  padding: 22px;
}

.request-form {
  display: grid;
  gap: 16px;
}

.request-aside {
  display: grid;
  gap: 18px;
}

.request-list {
  display: grid;
  gap: 12px;
}

.request-list li {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.site-footer {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 20, 29, 0.92), rgba(10, 13, 19, 0.92));
  box-shadow: var(--shadow);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer p + p {
  margin-top: 10px;
}

.request-list strong {
  display: block;
  margin-bottom: 4px;
}

.empty-state {
  padding: 22px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero,
  .section-heading,
  .arena-grid,
  .team-roster-grid,
  .dossier-columns,
  .deep-dossier-heading,
  .request-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .dossier-fact-grid {
    grid-template-columns: 1fr;
  }

  .index-toolbar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 18px, 1400px);
    padding-top: 12px;
  }

  .site-header {
    padding: 16px;
    border-radius: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 10vw, 4rem);
    max-width: 11ch;
  }

  .arena-controls,
  .index-toolbar,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .card-slot {
    min-height: 560px;
    padding: 14px;
  }

  .card-scene {
    min-height: 520px;
  }

  .card-face {
    padding: 20px;
  }

  .card-name,
  .back-name {
    font-size: 2.4rem;
  }

  .masonry-grid {
    columns: 1;
  }

  .index-meta {
    flex-direction: column;
  }
}
