:root {
  --bg: #1a1a1a;
  --bg-2: #242424;
  --panel: #2a2a2a;
  --line: #3a3a3a;
  --text: #f3efe6;
  --muted: #a1a1aa;
  --gold: #f0c954;
  --gold-dim: #c4a574;
  --cream: #f4efe6;
  --ok: #6ee7b7;
  --bad: #fca5a5;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", system-ui, sans-serif;
  --light-sq: #f0d9b5;
  --dark-sq: #b58863;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
  background: #1a1a1a;
}

img { max-width: 100%; }

a { color: var(--gold); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: #1a140c;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--gold);
  color: #1a140c;
  padding: 0.4rem 0.7rem;
  z-index: 5;
}

.skip:focus { top: 0.75rem; }

.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;
}

.top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(16, 14, 12, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand img { width: 40px; height: auto; display: block; }

.top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.top nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.top nav a[aria-current="page"],
.top nav a:hover { color: var(--text); }

.all-games {
  margin-left: auto;
  color: var(--gold-dim);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

main {
  width: min(1040px, calc(100% - 2rem));
  max-width: 100%;
  margin: 0 auto;
  padding: 2.5rem 0 3.5rem;
}

.kicker {
  margin: 0 0 0.4rem;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 0.8rem; }

h2 { font-size: 1.7rem; margin: 0 0 0.75rem; color: var(--cream); }

h3 { font-size: 1.15rem; margin: 0 0 0.35rem; }

.lede {
  max-width: 38rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--cream);
  margin: 0 0 1.5rem;
}

.hero { padding-bottom: 1rem; }

.section { margin: 3.2rem 0; }

.section p { max-width: 42rem; }

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

.steps, .points, .realms, .shots, .status-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

.card, .point, .step, .realm-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.05rem 1.1rem;
}

.step .n {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  letter-spacing: 0.12em;
  margin-bottom: 0.45rem;
}

.shots { align-items: start; }

figure { margin: 0; }

figcaption {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.7rem;
}

.phone {
  background: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 28px;
  padding: 0.9rem 0.85rem 1.1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.phone-bar {
  text-align: center;
  color: var(--gold-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  margin-bottom: 0.7rem;
}

.board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
}

.sq { display: grid; place-items: center; }
.sq.l { background: var(--light-sq); }
.sq.d { background: var(--dark-sq); }
.sq img { width: 78%; height: 78%; }

.map {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  padding: 0.4rem 0.2rem 0.2rem;
}

.cell { aspect-ratio: 1; border-radius: 2px; background: #2a2a2a; }
.cell.o { background: #f4f0e6; }
.cell.p { background: #6b6b6b; }
.cell.n { background: #5a6a7a; }

.clocks { display: grid; gap: 0.55rem; }
.clock {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}
.clock b { font-family: var(--serif); font-size: 1.25rem; color: var(--gold); font-weight: 600; }
.clock span { color: var(--muted); font-size: 0.85rem; }

.note {
  border-left: 3px solid var(--gold);
  padding: 0.2rem 0 0.2rem 0.9rem;
  color: var(--cream);
}

.prose { max-width: 44rem; }
.prose h2 { margin-top: 2rem; font-size: 1.45rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }

code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9em;
  color: var(--cream);
}

.pending {
  color: var(--muted);
  font-style: italic;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 0.5rem 0 1rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.45rem;
  border-bottom: 1px solid var(--line);
}

th { color: var(--muted); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }

form.stack { display: grid; gap: 0.85rem; max-width: 32rem; margin-top: 1rem; }

label { display: grid; gap: 0.3rem; font-size: 0.92rem; color: var(--cream); }

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  background: #14110e;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  font: inherit;
}

textarea { min-height: 9rem; }

.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--text);
}

.check input { margin-top: 0.3rem; }

button, .button {
  justify-self: start;
  background: var(--gold);
  color: #1a140c;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button.ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.receipt {
  margin-top: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  max-width: 32rem;
}

.live { font-weight: 600; margin: 0.2rem 0 0.7rem; }
.live.ok { color: var(--ok); }
.live.bad { color: #ff1a1a; }
.live.wait { color: var(--muted); }
.status-line { margin: 0; font-weight: 600; }
.status-line.ok { color: var(--ok); }
.status-line.bad { color: #ff1a1a; }
.status-line.wait { color: var(--muted); }

.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.facts span { color: var(--muted); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  margin: 0.5rem 0 1.2rem;
}

.site {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site nav { display: flex; flex-wrap: wrap; gap: 0.45rem 1rem; margin-bottom: 0.6rem; }
.site a { color: var(--gold-dim); text-decoration: none; }
.site a:hover { color: var(--gold); }
.site p { margin: 0.2rem 0; }

.portal {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem 1.5rem;
  text-align: center;
}

.portal .logo {
  width: min(230px, 62vw);
  height: auto;
}

.wordmark {
  margin: 0.85rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
}

.rule {
  width: 4.5rem;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 0.9rem auto;
}

.tagline {
  margin: 0 0 1.6rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--cream);
  font-size: 1.15rem;
}

.picks {
  width: 100%;
  max-width: 460px;
  display: grid;
  gap: 0.75rem;
}

.pick {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "kicker go"
    "title go"
    "sub go";
  text-align: left;
  text-decoration: none;
  color: inherit;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.pick-kicker { grid-area: kicker; color: var(--gold); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.pick-title { grid-area: title; font-family: var(--serif); font-size: 1.45rem; letter-spacing: 0.04em; }
.pick-sub { grid-area: sub; color: var(--muted); }
.pick-go { grid-area: go; align-self: center; color: var(--gold); font-size: 1.3rem; padding-left: 0.6rem; }

.pick:hover { border-color: var(--gold); }

.pick-soon { opacity: 0.86; }
.pick-soon .pick-kicker { color: var(--gold-dim); }

.portal-foot {
  align-self: stretch;
  width: auto;
  max-width: 460px;
  margin: 2.4rem auto 0;
  min-width: 0;
  text-align: center;
}
.portal-foot nav { justify-content: center; }

@media (max-width: 720px) {
  .all-games { margin-left: 0; }
  .top { flex-wrap: wrap; }
  .top nav { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pick:hover { border-color: var(--gold); }
}

@media print {
  body { background: #fff; color: #161616; }
  .top, .site, .skip, .toolbar { display: none; }
  a { color: #161616; }
  .card, .point, .step, .realm-card { border-color: #ccc; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1) translate(-50%, -50%); }
  50% { opacity: 0.7; transform: scale(1.1) translate(-45%, -45%); }
}

/* Marketing Homepage Styles */
.marketing-main {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.transparent-top {
  position: absolute;
  width: 100%;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}

.hero-banner {
  position: relative;
  width: 100%;
  min-height: 95vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  overflow: hidden;
  padding: 8rem 5% 4rem;
  max-width: 1400px;
  margin: 0 auto;
}


.hero-content {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-logo {
  width: 80px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 15px rgba(240, 201, 84, 0.4));
}

.hero-content h1 {
  font-size: clamp(3.5rem, 6vw, 6rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f0c954, #ffedd5, #f0c954);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.hero-content .lede {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 2.5rem;
  color: var(--cream);
  max-width: 600px;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  perspective: 1000px;
}

.hero-visual img {
  width: 100%;
  max-width: 600px;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(240, 201, 84, 0.2);
  transform: rotateY(-12deg) rotateX(4deg);
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--panel);
}

.cta-button {
  display: inline-block;
  background: var(--gold);
  color: #09090b;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  padding: 1.2rem 3rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(240, 201, 84, 0.4);
}
.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 30px rgba(240, 201, 84, 0.6);
  color: #09090b;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 8rem auto;
  padding: 0 1.25rem;
}
.feature-row.reverse {
  direction: rtl;
}
.feature-row.reverse > * {
  direction: ltr;
}
.feature-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #fff;
}
.feature-text h2 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.feature-text p {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.games-section {
  max-width: 1100px;
  margin: 8rem auto;
  padding: 0 1.25rem;
  text-align: center;
}
.games-section h2 {
  font-size: 3rem;
  margin-bottom: 4rem;
  color: var(--text);
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.game-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}
.game-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.game-card-content {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.game-card-kicker {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: block;
  font-weight: 600;
}
.game-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.game-card p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.game-card-action {
  margin-top: auto;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 7rem;
    gap: 4rem;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-visual img {
    transform: none;
  }
}

@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin: 5rem auto;
  }
  .feature-row.reverse {
    direction: ltr;
  }
  .games-section { margin: 5rem auto; }
}

/* Fullscreen Portal Styles */
.portal-body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #1a1a1a;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#sparkles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.portal-main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  height: 100%;
}

.portal-header {
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}

.portal-hero-img {
  width: min(400px, 70vw);
  max-height: 30vh;
  object-fit: contain;
  height: auto;
}

.portal-choices {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
  justify-content: center;
  margin-top: 1rem;
}

.portal-card {
  flex: 1;
  position: relative;
  background: rgba(36, 36, 36, 0.8);
  border: 2px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: border-box;
  background-image: linear-gradient(rgba(36, 36, 36, 0.8), rgba(36, 36, 36, 0.8)), linear-gradient(135deg, rgba(240, 201, 84, 0.8), rgba(240, 201, 84, 0.2));
  border-radius: 20px;
  padding: 2.5rem 2.5rem;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 50px rgba(240, 201, 84, 0.25);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
}

.portal-card-images-row {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  width: 100%;
  margin: 0.5rem 0;
}

.portal-card-img-spot {
  flex: 1;
  height: 140px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.portal-card-img-spot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-card-split {
  min-height: 280px;
}

.portal-card-split .portal-card-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1.25rem;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.portal-card-copy {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.portal-card-copy .portal-action {
  margin-top: auto;
}

.portal-card-shot {
  flex: 0 0 42%;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-self: stretch;
}

.portal-card-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.portal-card:hover .portal-card-shot {
  border-color: var(--gold);
}

.coming-soon-card .portal-card-content,
.coming-soon-card .portal-card-images-row {
  filter: blur(6px);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}

.coming-soon-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.coming-soon-overlay span {
  font-size: 2.5rem;
  font-family: var(--serif);
  font-weight: bold;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.9);
  transform: rotate(-5deg);
  border: 4px solid var(--gold);
  padding: 1rem 2rem;
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(4px);
}

.portal-card-bg {
  display: none;
}

.portal-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 80px rgba(240, 201, 84, 0.4);
}

.portal-card:hover .portal-card-img-spot {
  border-color: var(--gold);
}

.portal-card-content {
  position: relative;
  z-index: 2;
}

.portal-kicker {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 700;
}

.portal-card h2 {
  font-size: 2.2rem;
  margin-bottom: 0.25rem;
  color: var(--text);
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.portal-card p {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.portal-action {
  margin-top: auto;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s;
}

.portal-card:hover .portal-action {
  transform: translateX(10px);
}

.portal-footer {
  position: relative;
  z-index: 10;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.portal-footer nav {
  display: flex;
  gap: 1.5rem;
}

.portal-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.portal-footer a:hover {
  color: var(--gold);
}

.portal-footer p {
  margin: 0;
}

.game-page {
  margin: 0;
  min-height: 100vh;
  background: #1a1a1a;
  color: var(--text);
}

.game-screen {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2.25rem;
  width: min(1360px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.25rem 0 0;
  position: relative;
}

.game-brand {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  min-width: 0;
}

.game-logo {
  display: block;
  width: min(calc(300px + 0.5cm), 40%);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  line-height: 0;
}

.game-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.game-logo-text {
  width: min(480px, 46%);
  align-self: center;
}

.game-copy {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 52rem;
}

.game-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 0 0 0.8rem;
}

.game-copy p {
  color: var(--cream);
  font-size: 1.12rem;
  margin: 0 0 0.9rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.game-copy p:last-child { margin-bottom: 0; }

.game-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.32rem;
  flex: 0 0 auto;
  margin-left: auto;
  padding-top: 0.35rem;
  text-align: right;
}

.game-side a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.98rem;
}

.game-side a:hover,
.game-side a[aria-current="page"] { color: var(--cream); }

.game-side .portal-action {
  margin: 0 0 0.35rem;
}

.shot-stack {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
}

.shot-stack figure {
  margin: 0;
  min-width: 0;
}

.shot-stack .phone {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 0 28px rgba(240, 201, 84, 0.22);
  border-color: rgba(240, 201, 84, 0.55);
  border-radius: 22px;
  padding: 0.7rem 0.7rem 0.8rem;
  min-width: 0;
}

.shot-stack .phone.double-wide {
  grid-column: span 2;
}

.shot-frame {
  aspect-ratio: 480 / 1024;
  max-height: 100svh;
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #141414;
  display: grid;
  min-width: 0;
}

.shot-frame .board,
.shot-frame .map {
  width: 100%;
  height: 100%;
}

.shot-frame .map {
  padding: 10%;
  box-sizing: border-box;
  align-content: center;
}

.shot-frame.concept {
  place-items: center;
}

.cluster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  width: 68%;
}

.cluster i {
  aspect-ratio: 1;
  border-radius: 3px;
  background-color: #b58863;
  background-image:
    linear-gradient(45deg, #f0d9b5 25%, transparent 25%),
    linear-gradient(-45deg, #f0d9b5 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f0d9b5 75%),
    linear-gradient(-45deg, transparent 75%, #f0d9b5 75%);
  background-size: 50% 50%;
  background-position: 0 0, 0 50%, 50% -50%, -50% 0;
}

.cluster i:last-child { grid-column: 1; }

.shot-frame.world {
  padding: 0;
  display: grid;
  place-items: center;
}

.shot-open {
  cursor: zoom-in;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
}

.shot-open:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.shot-lightbox {
  border: 0;
  padding: 0;
  max-width: none;
  max-height: none;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 10, 0.92);
  color: var(--text);
}

.shot-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.75);
}

.shot-lightbox-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.shot-lightbox img {
  max-width: min(96vw, 100%);
  max-height: min(92vh, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.55);
}

.shot-lightbox-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(240, 201, 84, 0.45);
  border-radius: 999px;
  background: #1a1a1a;
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.shot-lightbox-close:hover {
  background: #242424;
  color: var(--cream);
}

.ranks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.ranks li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.4rem;
  align-items: center;
}

.ranks b {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
}

.ranks i,
.chat-row i {
  display: block;
  height: 0.45rem;
  border-radius: 99px;
  background: #3a3a3a;
}

.ranks li:first-child i { width: 100%; background: var(--gold-dim); }
.ranks li:nth-child(2) i { width: 72%; }
.ranks li:nth-child(3) i { width: 48%; }

.chat-row {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.15rem;
  border-top: 1px solid #2e2e2e;
}

.chat-row i:first-child { width: 86%; }
.chat-row i:last-child { width: 58%; background: #2a2a2a; }

.shot-stack figcaption {
  margin: 0 0 0.3rem;
  min-height: 0;
  text-align: center;
  color: var(--cream);
  font-size: 0.82rem;
  line-height: 1.3;
}

.shot-stack figcaption span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.game-page main {
  width: min(1360px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 0.5rem 0 2.5rem;
}

.game-rest {
  position: relative;
  z-index: 3;
}

@media (max-width: 860px) {
  .game-screen {
    padding-top: 1.25rem;
  }
  .game-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .game-logo {
    width: min(calc(280px + 0.5cm), 72%);
  }
  .game-logo-text {
    width: min(520px, 92%);
    align-self: flex-start;
  }
  .manual-page .game-side {
    display: none;
  }
}

@media (max-width: 980px) {
  .shot-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: min(640px, 100%);
    margin-inline: auto;
  }

  .shot-stack .phone.double-wide {
    grid-column: span 2;
  }
}

@media (max-width: 520px) {
  .shot-stack {
    grid-template-columns: 1fr;
    max-width: min(320px, 100%);
    margin-inline: auto;
  }

  .shot-stack .phone.double-wide {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .portal-body {
    height: 100vh;
    min-height: 100vh;
    overflow-y: hidden;
  }
  .portal-main {
    justify-content: center;
    padding: 1.5rem;
  }
  .portal-header {
    margin-bottom: 1.5rem;
  }
  .portal-choices {
    flex-direction: column;
    gap: 1rem;
  }
  .portal-card {
    padding: 1.5rem;
  }
  .portal-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .portal-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  .portal-card-split .portal-card-content {
    flex-direction: column;
  }
  .portal-card-shot {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 160px;
  }
  .portal-footer {
    margin-top: 1.5rem;
  }
}

.manual-page .manual-top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.25rem 0.5rem;
}

.manual-page .manual-top > a {
  position: relative;
  z-index: 1;
}

.manual-page .game-side {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  z-index: 5;
  margin-left: 0;
}


.manual-logo {
  width: min(280px, 70vw);
  height: auto;
  position: relative;
  z-index: 1;
}

.manual-intro {
  position: relative;
  z-index: 3;
  margin-top: 0;
}

.manual-intro .kicker {
  margin-top: 0.1rem;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}

.manual-intro h1 {
  margin: 0.2rem 0 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.manual-body {
  position: relative;
  z-index: 3;
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  display: grid;
  gap: 1.1rem;
}

.game-page main.manual-body {
  width: min(760px, calc(100% - 2rem));
  padding: 1.5rem 0 2.5rem;
}

.game-page main.manual-body.status-body {
  width: min(980px, calc(100% - 2rem));
}

.manual-card .lede {
  color: var(--cream);
  font-size: 1.12rem;
}

.manual-card .toolbar {
  margin: 0.75rem 0 1rem;
}

.manual-card .status-grid {
  margin-top: 0.5rem;
}

.manual-card .realm-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  color: var(--gold);
}

.manual-card .muted {
  color: var(--muted);
}

.manual-card .receipt {
  background: rgba(20, 17, 14, 0.55);
  border-color: rgba(240, 201, 84, 0.28);
}

.manual-card {
  background: rgba(36, 36, 36, 0.88);
  border: 2px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: border-box;
  background-image: linear-gradient(rgba(36, 36, 36, 0.92), rgba(36, 36, 36, 0.92)), linear-gradient(135deg, rgba(240, 201, 84, 0.8), rgba(240, 201, 84, 0.2));
  border-radius: 20px;
  padding: 1.4rem 1.45rem 1.2rem;
  box-shadow: 0 0 36px rgba(240, 201, 84, 0.14);
}

.manual-card h2 {
  margin: 0 0 0.7rem;
  font-size: 1.55rem;
  color: var(--gold);
}

.manual-card h3 {
  margin: 1.1rem 0 0.45rem;
  color: var(--cream);
}

.manual-card p,
.manual-card li {
  color: var(--cream);
}

.manual-card ul,
.manual-card ol {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}

.manual-card li {
  margin: 0.45rem 0;
}

.manual-page .site {
  position: relative;
  z-index: 3;
}

.back-btn {
  position: fixed;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 5;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(240, 201, 84, 0.55);
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.72);
  text-decoration: none;
}

.back-btn svg {
  width: 1.35rem;
  height: 1.35rem;
}

.back-btn:hover {
  box-shadow: 0 0 18px rgba(240, 201, 84, 0.35);
}
