:root {
  --felt: #1F6B4A;
  --felt-deep: #16573C;
  --felt-dark: #0F3D2C;
  --paper: #F8EEC4;
  --cream: #F8EEC4;
  --gold: #E8C547;
  --gold-btn: #E8C547;
  --gold-btn-hover: #F2D363;
  --ink: #142016;
  --muted: #F3E6B0;
  --line: rgba(232, 197, 71, 0.42);
  --warn: #E8C5C8;
  --shadow: 0 18px 36px rgba(8, 32, 22, 0.35);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background-color: var(--felt);
  background-image:
    radial-gradient(circle at 18px 18px, rgba(232, 197, 71, 0.055) 1.2px, transparent 1.8px),
    radial-gradient(900px 480px at 90% -10%, rgba(232, 197, 71, 0.16), transparent 55%),
    radial-gradient(700px 400px at 0% 100%, rgba(15, 61, 44, 0.5), transparent 50%);
  background-size: 36px 36px, auto, auto;
  color: var(--cream);
  line-height: 1.65;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  background-image:
    linear-gradient(45deg, transparent 46%, rgba(232, 197, 71, 0.7) 49%, transparent 52%),
    linear-gradient(-45deg, transparent 46%, rgba(232, 197, 71, 0.7) 49%, transparent 52%);
  background-size: 120px 120px;
}
.nav, main, .site-footer { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn {
  font-family: inherit;
  cursor: pointer;
  border: 0;
}

.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  overflow: visible;
  background: rgba(15, 61, 44, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover,
.nav-links a.is-on { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--felt-dark);
}
.lang button {
  background: transparent;
  color: var(--muted);
  padding: 6px 10px;
  font-size: 0.8rem;
}
.lang button.is-on { background: var(--gold-btn); color: var(--ink); }
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  background: var(--felt-dark);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--gold);
  font-size: 1.2rem;
}
.drawer {
  display: none;
  border-top: 1px solid var(--line);
  padding: 8px 0 16px;
}
.drawer a {
  display: block;
  padding: 12px 0;
  color: var(--cream);
  border-bottom: 1px solid var(--line);
}
.search-slot {
  position: relative;
  flex: 0 1 240px;
  min-width: 132px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  background: var(--felt-dark);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.search-slot-icon { color: var(--gold); flex: none; }
.search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  padding: 0;
  font-size: 0.9rem;
  font-family: inherit;
}
.search-input:focus { outline: none; }
.search-slot:focus-within { border-color: var(--gold); }
.search-drop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  width: min(420px, calc(100vw - 32px));
  max-height: min(70vh, 440px);
  overflow: auto;
  padding: 10px;
  background: var(--felt-dark);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.search-drop[hidden] { display: none; }
.search-group {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 8px 4px 6px;
}
.search-msg {
  color: var(--muted);
  padding: 8px 4px;
}
.search-hit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  margin-bottom: 6px;
  background: var(--felt);
}
.search-hit .cover {
  width: 64px;
  height: 46px;
  flex: none;
  border-radius: 8px;
}
.search-hit-copy { min-width: 0; flex: 1; }
.search-hit strong {
  display: block;
  font-family: var(--serif);
  color: var(--cream);
  font-size: 0.98rem;
}
.search-hit:hover,
.search-hit:focus-visible {
  border-color: var(--gold);
  outline: 2px solid var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.95rem;
}
.btn-cash { background: var(--gold-btn); color: var(--ink); }
.btn-cash:hover { background: var(--gold-btn-hover); }
.btn-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-gold:hover { background: rgba(232, 197, 71, 0.12); }
.btn-small { padding: 9px 16px; font-size: 0.85rem; }

.hero {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.kicker {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--cream);
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.lead { color: var(--cream); font-size: 1.05rem; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill {
  border: 1px solid var(--line);
  background: var(--felt-dark);
  color: var(--gold);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.8rem;
}
a.pill {
  text-decoration: none;
}
a.pill:hover,
a.pill:focus-visible {
  border-color: var(--gold);
  color: var(--cream);
}

.hero-art {
  position: relative;
  min-height: 292px;
  margin-top: 0;
  transform: translateY(-28px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.table-felt {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 118%;
  height: 176px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 38%, var(--felt) 0%, var(--felt-dark) 72%);
  border: 2px solid var(--line);
  box-shadow:
    inset 0 0 0 10px rgba(22, 87, 60, 0.55),
    0 22px 36px rgba(8, 32, 22, 0.4);
}
.chip-stack {
  position: absolute;
  left: 2%;
  bottom: 78px;
  width: 48px;
  height: 56px;
  z-index: 5;
}
.chip-stack span {
  position: absolute;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--gold);
  box-shadow: 0 3px 0 var(--felt-dark);
}
.chip-stack span:nth-child(1) { bottom: 0; }
.chip-stack span:nth-child(2) { bottom: 8px; }
.chip-stack span:nth-child(3) { bottom: 16px; }
.closed-deck {
  position: absolute;
  right: 4%;
  bottom: 70px;
  width: 76px;
  height: 108px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(45deg, var(--felt-deep), var(--felt-deep) 7px, var(--felt-dark) 7px, var(--felt-dark) 14px);
  border: 1px solid var(--gold);
  box-shadow: 4px 5px 0 var(--felt-dark), var(--shadow);
  z-index: 2;
  transform: rotate(14deg);
}
.fan {
  position: relative;
  height: 268px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 3;
}
.pc {
  --rest: rotate(0deg) translate(0, 0);
  width: 128px;
  height: 182px;
  border-radius: 10px;
  background: var(--paper);
  color: #7A1F2B;
  border: 1px solid var(--gold);
  box-shadow: var(--shadow);
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  font-family: var(--serif);
  font-weight: 700;
  transform: var(--rest);
  animation: deal-in 0.7s ease-out both, table-sway 4.2s ease-in-out 0.9s infinite;
  transform-origin: 50% 100%;
}
.pc span { font-size: 0.85rem; }
.pc b { font-size: 2rem; text-align: center; }
.pc:nth-child(1) { --rest: rotate(-22deg) translate(-90px, 18px); animation-delay: 0s, 0.75s; }
.pc:nth-child(2) { --rest: rotate(-8deg) translate(-28px, 0); z-index: 2; animation-delay: 0.08s, 0.95s; }
.pc:nth-child(3) { --rest: rotate(6deg) translate(36px, 4px); z-index: 3; animation-delay: 0.16s, 1.1s; }
.pc:nth-child(4) { --rest: rotate(20deg) translate(96px, 20px); animation-delay: 0.24s, 1.25s; }
.pc.black { color: var(--ink); }
.fan:hover .pc:nth-child(3) {
  animation-play-state: paused;
  transform: rotate(4deg) translate(36px, -10px) scale(1.05);
}
@keyframes deal-in {
  from { opacity: 0; transform: translateY(48px) rotate(8deg); }
  to { opacity: 1; transform: var(--rest); }
}
@keyframes table-sway {
  0%, 100% { transform: var(--rest); }
  50% { transform: var(--rest) translateY(-7px); }
}

.section { padding: 56px 0; }
.section h2 {
  font-family: var(--serif);
  font-size: 1.95rem;
  margin-bottom: 10px;
  color: var(--gold);
}
.section h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 12px;
  margin-top: 12px;
  background:
    radial-gradient(circle at 32px 6px, var(--gold) 2.4px, transparent 2.6px),
    linear-gradient(var(--line), var(--line)) 0 5.5px / 64px 1.5px no-repeat;
}
.section .sub { color: var(--muted); margin-bottom: 28px; max-width: 40em; }

.band { position: relative; }
.band-hero {
  background:
    radial-gradient(820px 380px at 88% 12%, rgba(232, 197, 71, 0.18), transparent 58%),
    linear-gradient(180deg, #16573C 0%, rgba(31, 107, 74, 0.2) 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -10px 40px rgba(15, 61, 44, 0.25);
}
.band-alt {
  background: rgba(15, 61, 44, 0.42);
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 rgba(232, 197, 71, 0.18);
}

.table-grid,
.help-grid,
.pack-grid,
.shot-grid,
.step-grid,
.rule-grid,
.mistake-grid {
  display: grid;
  gap: 18px;
}
.table-grid { grid-template-columns: repeat(3, 1fr); }
.rail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}
.rail-head .sub { margin-bottom: 0; }
.rail-head .btn { flex: none; }
.rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.rail .rail-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 14px;
}
.rail .cover {
  height: 110px;
  flex: none;
}
.rail .who {
  margin: 10px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rail .rail-card h3,
.rail .rail-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.rail .rail-card h3 {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-height: 2.5em;
  margin: 6px 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}
.rail .rail-card p {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-height: 2.6em;
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.4;
}
.rail-notes .rail-card { min-height: 168px; }

.ticker {
  position: relative;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 42%, var(--felt) 0%, var(--felt-dark) 74%);
  border: 2px solid var(--line);
  box-shadow:
    inset 0 0 0 10px rgba(22, 87, 60, 0.45),
    inset 0 1px 0 rgba(248, 238, 196, 0.1),
    var(--shadow);
}
.ticker-x {
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent);
}
.ticker-y {
  height: 320px;
  padding: 12px 14px;
  -webkit-mask-image: linear-gradient(#0000, #000 18px, #000 calc(100% - 18px), #0000);
  mask-image: linear-gradient(#0000, #000 18px, #000 calc(100% - 18px), #0000);
}
.ticker-track {
  width: max-content;
  will-change: transform;
}
.ticker-x .ticker-track {
  display: flex;
  animation: tick-x var(--tick, 42s) linear infinite;
}
.ticker-y .ticker-track {
  display: flex;
  flex-direction: column;
  width: 100%;
  animation: tick-y var(--tick, 28s) linear infinite;
}
.ticker-x .ticker-set {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  flex: none;
}
.ticker-y .ticker-set {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 10px;
  flex: none;
  width: 100%;
}
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
  animation-play-state: paused;
}
@keyframes tick-x {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes tick-y {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -50%, 0); }
}
.ticker-pays { padding: 16px 0 18px; }
.ticker-x.ticker-pays .ticker-set {
  flex-direction: column;
  gap: 10px;
  padding-right: 14px;
}
.pay-lane {
  display: flex;
  gap: 12px;
}
.pay-ticket {
  flex: 0 0 188px;
  background: var(--felt-dark);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 12px 12px;
  text-align: center;
}
.pay-amt {
  color: var(--gold);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
}
.pay-who {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 6px;
  line-height: 1.35;
}
.pay-method {
  color: var(--cream);
  font-size: 0.88rem;
  margin-top: 4px;
  font-weight: 700;
}
.pay-ok {
  color: #9ed4aa;
  font-size: 0.72rem;
  margin-top: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tick-kicker {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.tick-blurb {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tick-game {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 196px;
  flex: none;
  padding: 12px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.1), transparent 40%),
    var(--felt-deep);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(248, 238, 196, 0.08);
}
.tick-game .cover {
  height: 108px;
  flex: none;
}
.tick-game strong {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.25;
  color: var(--cream);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tick-game:hover,
.tick-game:focus-visible,
.tick-note:hover,
.tick-note:focus-visible {
  border-color: var(--gold);
  outline: 2px solid var(--gold);
  transform: translateY(-4px);
}
.tick-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.1), transparent 42%),
    var(--felt-deep);
  border: 1px solid var(--line);
}
.tick-note .tick-kicker {
  flex: none;
  min-width: 72px;
  padding-top: 3px;
}
.tick-note strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--cream);
  margin-bottom: 2px;
}
.deal-more {
  margin-top: 14px;
  text-align: center;
}
.deal-more a {
  color: var(--gold);
  font-weight: 700;
  border-bottom: 1px solid transparent;
}
.deal-more a:hover { border-bottom-color: var(--gold); }
.help-grid.three { grid-template-columns: repeat(3, 1fr); }
.guide-list {
  display: flex;
  flex-direction: column;
  scroll-margin-top: 88px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--felt-deep);
  box-shadow: inset 0 1px 0 rgba(248, 238, 196, 0.08), var(--shadow);
}
.guide-row {
  display: block;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(232, 197, 71, 0.08), transparent 42%);
  transition: background 0.2s ease;
}
.guide-row:last-child { border-bottom: none; }
.guide-row h3 {
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--gold);
  margin: 0 0 6px;
}
.guide-row p {
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-row:hover,
.guide-row:focus-visible {
  background: linear-gradient(90deg, rgba(232, 197, 71, 0.16), transparent 58%);
  outline: none;
}
.pack {
  display: flex;
  flex-direction: column;
}
.pack .btn {
  margin-top: auto;
  align-self: stretch;
  text-align: center;
  justify-content: center;
}
.pack-grid { grid-template-columns: repeat(3, 1fr); }
.hub-top { margin: 0 0 18px; }
.hub-top + .filters { margin-top: 0; }
.hub-top .kicker { margin-bottom: 8px; }
.hub-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 10px;
}
.hub-top h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--cream);
  margin: 0;
}
.hub-top .sub { margin: 0; max-width: 38em; }
.hub-dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(5.2rem, 1fr));
  gap: 8px;
  flex: none;
}
.hub-dl a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--felt-dark);
  color: var(--cream);
}
.hub-dl a:hover { border-color: var(--gold); color: var(--gold); }
.hub-dl a[data-apk="latest"] {
  background: var(--gold-btn);
  border-color: var(--gold-btn);
  color: var(--ink);
}
.hub-dl a[data-apk="latest"]:hover {
  background: var(--gold-btn-hover);
  color: var(--ink);
}
.hub-dl strong {
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
}
.hub-dl .size {
  font-size: 0.75rem;
  opacity: 0.82;
}
.hub-block { margin: 0 0 40px; }
.hub-block .sub { margin-bottom: 18px; }
.hub-skins-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 8px;
}
.hub-skins-bar .sub { margin-bottom: 0; }
.hub-skins-bar .filters { margin: 0; }
.play-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 40px;
}
.play-card { padding: 14px; }
.play-card .cover { height: 112px; }
.play-card .who { margin: 10px 0 4px; }
.play-card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.play-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.apk-list {
  display: flex;
  flex-direction: column;
  scroll-margin-top: 88px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--felt-deep);
  box-shadow: inset 0 1px 0 rgba(248, 238, 196, 0.08), var(--shadow);
}
.apk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(232, 197, 71, 0.08), transparent 42%);
  transition: background 0.2s ease;
}
.apk-row:last-child { border-bottom: none; }
.apk-row-copy { min-width: 0; }
.apk-row h3 {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--gold);
  margin: 0 0 3px;
}
.apk-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.apk-row .tick-kicker { flex: none; margin: 0; }
.apk-row:hover,
.apk-row:focus-visible {
  background: linear-gradient(90deg, rgba(232, 197, 71, 0.16), transparent 58%);
  outline: none;
}
.pack-grid-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.pack-grid-side .pack { padding: 14px; }
.pack-grid-side .pack h3 { font-size: 1.05rem; }
.shot-grid { grid-template-columns: repeat(4, 1fr); }
.step-grid { grid-template-columns: repeat(4, 1fr); }
.rule-grid { grid-template-columns: repeat(3, 1fr); }
.mistake-grid { grid-template-columns: repeat(2, 1fr); }

.prose {
  color: var(--muted);
  max-width: 46em;
  margin-bottom: 22px;
}
.prose p { margin-bottom: 12px; }
.prose a { color: var(--gold); font-weight: 700; }

.step,
.rule,
.mistake {
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.1), transparent 38%),
    var(--felt-deep);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(248, 238, 196, 0.08), var(--shadow);
}
.step .n,
.rule .n {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 700;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--felt-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: inset 0 0 0 3px rgba(232, 197, 71, 0.18);
}
.step h3,
.rule h3,
.mistake h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.step p,
.rule p,
.mistake p { color: var(--muted); }
.step a,
.rule a,
.mistake a { color: var(--gold); font-weight: 700; }

.who {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 10px 0 6px;
}
.card ul { margin-bottom: 8px; }

.card {
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.1), transparent 36%),
    var(--felt-deep);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  min-height: 100%;
  box-shadow: inset 0 1px 0 rgba(248, 238, 196, 0.08), var(--shadow);
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold);
  margin: 10px 0 8px;
}
.card p, .card li { color: var(--muted); }
.card ul { padding-left: 18px; }
.cover {
  width: 100%;
  height: 148px;
  object-fit: cover;
  object-position: center;
  background: var(--felt-dark);
  border-radius: 12px;
  border: 1px solid var(--gold);
}
.card .more { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 700; }

.pack .size,
.fact .size { color: var(--gold); font-weight: 700; margin: 8px 0; }

a.card,
.step,
.rule {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
a.card:hover,
.step:hover,
.rule:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 36px rgba(8, 32, 22, 0.42);
}
.cover { transition: transform 0.35s ease; }
a.card:hover .cover { transform: scale(1.03); }

.seq {
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.08), transparent 30%),
    var(--felt-deep);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: inset 0 1px 0 rgba(248, 238, 196, 0.08), var(--shadow);
}
.seq-prompt {
  color: var(--cream);
  font-size: 0.95rem;
  margin-bottom: 14px;
  max-width: 40em;
}
.seq-felt {
  position: relative;
  min-height: 148px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding: 18px 12px 22px;
  background:
    radial-gradient(ellipse at 50% 78%, var(--felt) 0%, var(--felt-dark) 72%);
  border: 1px solid var(--line);
  border-radius: 18px 18px 40% 40% / 18px 18px 70% 70%;
  box-shadow: inset 0 0 0 8px rgba(22, 87, 60, 0.45);
}
.seq-card {
  width: 68px;
  height: 100px;
  border-radius: 8px;
  background: var(--paper);
  color: #7A1F2B;
  border: 1px solid var(--gold);
  font-family: var(--serif);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  animation: seq-deal 0.55s ease-out backwards;
  animation-delay: calc(var(--i, 0) * 0.12s);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.seq-card span { font-size: 1.35rem; text-align: center; }
.seq-card.black { color: var(--ink); }
.seq-card.joker { color: var(--ink); position: relative; }
.seq-card.is-on {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 12px 22px rgba(232, 197, 71, 0.35);
  outline: 2px solid var(--gold);
  z-index: 2;
}
.seq-card.joker.is-off {
  animation: seq-joker 1.2s ease-in-out both;
  pointer-events: none;
}
.seq.is-ok .seq-felt {
  box-shadow: inset 0 0 0 8px rgba(22, 87, 60, 0.45), 0 0 0 1px var(--gold);
}
@keyframes seq-deal {
  from { opacity: 0; transform: translateY(24px) rotate(-8deg); }
  to { opacity: 1; transform: none; }
}
@keyframes seq-joker {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  40% { transform: translate(18px, -8px) rotate(12deg); }
  100% { opacity: 0.32; transform: translate(56px, 10px) rotate(18deg); }
}
.seq-note { color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; min-height: 1.4em; }
.seq-note.is-hide { display: none; }
.seq-note.is-ok { color: var(--gold); }

.wallet-demo {
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.08), transparent 30%),
    var(--felt-deep);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: inset 0 1px 0 rgba(248, 238, 196, 0.08), var(--shadow);
}
.wallet-lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 4px 0 14px;
}
.wallet-lines button {
  text-align: left;
  background: var(--felt-dark);
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wallet-lines button strong {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1rem;
}
.wallet-lines button span { color: var(--muted); font-size: 0.82rem; }
.wallet-lines button.is-on {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.wallet-lines button.is-on strong,
.wallet-lines button.is-on span { color: var(--ink); }

.shot {
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.1), transparent 40%),
    var(--felt-deep);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  grid-template-rows: 148px auto auto;
  gap: 10px;
  box-shadow: inset 0 1px 0 rgba(248, 238, 196, 0.08), var(--shadow);
  min-height: 0;
}
.shot strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.3;
}
.shot > span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}
.phone {
  background: var(--felt-dark);
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 10px;
  height: 148px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  cursor: pointer;
}
.ph-notch {
  width: 36px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 99px;
  background: rgba(232, 197, 71, 0.35);
  margin: 0 auto 8px;
}
.ph-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}
.ph-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--cream);
  border-radius: 8px;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0 8px;
  text-align: center;
}
.ph-row.on {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  font-weight: 700;
}

.step .n { animation: n-pop 0.5s ease-out both; }
.step:nth-child(1) .n { animation-delay: 0.05s; }
.step:nth-child(2) .n { animation-delay: 0.15s; }
.step:nth-child(3) .n { animation-delay: 0.25s; }
.step:nth-child(4) .n { animation-delay: 0.35s; }
@keyframes n-pop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: none; }
}

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.07), transparent 50%),
    var(--felt-deep);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(248, 238, 196, 0.06);
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--cream);
  padding: 16px 18px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-item .a {
  display: none;
  color: var(--muted);
  padding: 0 18px 16px;
}
.faq-item.open .a { display: block; }

.site-footer {
  border-top: 3px solid var(--gold);
  box-shadow: inset 0 1px 0 rgba(248, 238, 196, 0.12);
  padding: 36px 0 48px;
  margin-top: 0;
  color: var(--muted);
  font-size: 0.92rem;
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.08), transparent 28%),
    var(--felt-dark);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { margin-bottom: 10px; }
.legal { border-top: 1px solid var(--line); padding-top: 16px; font-size: 0.82rem; }

.tg-box-wrap {
  margin: 8px auto 28px;
}
.tg-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(100deg, rgba(232, 197, 71, 0.16), transparent 46%),
    var(--felt-dark);
  color: inherit;
  text-decoration: none;
}
a.tg-box:hover,
a.tg-box:focus-visible {
  border-color: var(--gold);
  background:
    linear-gradient(100deg, rgba(232, 197, 71, 0.28), transparent 50%),
    var(--felt-deep);
  outline: none;
}
.tg-box-copy {
  flex: 1 1 220px;
  min-width: 0;
}
.tg-box-kicker {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}
.tg-box strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold);
  font-weight: 600;
}
.tg-box-blurb {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  max-width: 42rem;
}
.tg-box-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold-btn);
  color: var(--ink);
  font-weight: 700;
}
.tg-box.is-off {
  cursor: default;
}
.tg-box.is-off .tg-box-cta {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.filters button {
  background: var(--felt-dark);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
}
.filters button.is-on { background: var(--gold-btn); color: var(--ink); border-color: var(--gold-btn); }
.filters button.is-empty { display: none; }

.game-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.name-marquee {
  margin-top: 32px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 42%, var(--felt) 0%, var(--felt-dark) 74%);
  border: 2px solid var(--line);
  box-shadow:
    inset 0 0 0 10px rgba(22, 87, 60, 0.45),
    inset 0 1px 0 rgba(248, 238, 196, 0.1),
    var(--shadow);
}
.name-marquee-head {
  padding: 16px 20px 10px;
}
.name-marquee-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.name-marquee-head h2::after { display: none; }
.name-count {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  padding: 2px 9px;
}
.name-marquee-head .sub {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: none;
}
.name-lanes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0 18px;
  min-width: 0;
  max-width: 100%;
}
.name-lane {
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent);
}
.name-lane-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: tick-x var(--tick, 110s) linear infinite;
  animation-delay: var(--delay, 0s);
}
.name-lane-r .name-lane-track {
  animation-direction: reverse;
}
.name-marquee:hover .name-lane-track,
.name-marquee:focus-within .name-lane-track {
  animation-play-state: paused;
}
.name-lane-set {
  display: flex;
  gap: 8px;
  padding-right: 8px;
  flex: none;
}
.name-lane-set a {
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  color: var(--cream);
  background: rgba(15, 61, 44, 0.45);
  white-space: nowrap;
}
.name-lane-set a:hover,
.name-lane-set a:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(232, 197, 71, 0.12);
}
.game-card .tick-kicker {
  display: block;
  margin: 10px 0 4px;
}
.game-card.hidden { display: none; }
.game-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.empty-note { display: none; color: var(--muted); }
.empty-note.show { display: block; }
.game-list { scroll-margin-top: 88px; }

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
}
.pager[hidden] { display: none; }
.pager-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.pager button {
  background: var(--felt-dark);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
}
.pager button.is-on { background: var(--gold-btn); color: var(--ink); border-color: var(--gold-btn); }
.pager button:disabled { opacity: 0.35; }
.pager-gap { color: var(--muted); padding: 0 4px; }
.pager-status { color: var(--muted); font-size: 0.88rem; }
.pager-jump {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.88rem;
}
.pager-jump input {
  width: 4.4em;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--felt-dark);
  color: var(--cream);
  text-align: center;
  font: inherit;
}
.pager-jump button { min-width: 52px; }

.detail-hero {
  padding: 40px 0 10px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}
.detail-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1.18;
  color: var(--cream);
  margin-bottom: 14px;
}
.detail-hero h1 em { font-style: normal; color: var(--gold); }
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.fact {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.1), transparent 42%),
    var(--felt-deep);
  box-shadow: inset 0 1px 0 rgba(248, 238, 196, 0.08);
}
.fact b {
  display: block;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.fact span { color: var(--cream); font-size: 0.95rem; }
.detail-hero .cover { height: 200px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.article-page { padding: 8px 0 56px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, 0.82fr);
  gap: 20px;
  align-items: start;
}
.article-box {
  max-width: none;
  padding: 4px 8px 8px 0;
  border: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.article-box .facts,
.article-box .table-grid,
.article-box .mistake-grid,
.article-box .step-grid {
  display: block;
  margin: 8px 0 20px;
  padding: 0 0 0 18px;
  gap: 0;
}
.article-box .fact,
.article-box .table-grid .card,
.article-box .mistake-grid .card,
.article-box .step-grid .card {
  display: list-item;
  list-style: disc;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  min-height: 0;
  color: var(--muted);
}
.article-box .fact b {
  display: inline;
  margin: 0 4px 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: none;
}
.article-box .fact b::after { content: " \2014 "; }
.article-box .fact span { display: inline; color: var(--muted); }
.article-box .faq { margin-top: 8px; }
.article-box .table-grid .card h3,
.article-box .mistake-grid .card h3,
.article-box .step-grid .card h3 {
  display: inline;
  margin: 0;
  font-size: 1rem;
}
.article-box .table-grid .card h3::after,
.article-box .mistake-grid .card h3::after,
.article-box .step-grid .card h3::after { content: " \2014 "; }
.article-box .table-grid .card p,
.article-box .mistake-grid .card p,
.article-box .step-grid .card p {
  display: inline;
  margin: 0;
}
.article-box ul {
  margin: 0 0 16px 18px;
  color: var(--muted);
}
.article p, .article li { margin-bottom: 12px; color: var(--muted); }
.article h1 { font-family: var(--serif); font-size: 2.1rem; color: var(--cream); margin: 8px 0 16px; }
.article h2 { font-family: var(--serif); font-size: 1.35rem; color: var(--gold); margin: 28px 0 10px; }
.article-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 84px;
}
.side-box {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.1), transparent 38%),
    var(--felt-deep);
  box-shadow: inset 0 1px 0 rgba(248, 238, 196, 0.08), var(--shadow);
}
.side-box h2 {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--gold);
  margin: 0 0 8px;
}
.side-box > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }
.side-apk { display: grid; grid-template-columns: 1fr; gap: 12px; }
.side-guides,
.side-tables {
  display: flex;
  flex-direction: column;
  max-height: 340px;
  overflow: hidden;
}
.side-guide {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.side-guide:last-child { border-bottom: none; }
.side-guide .tick-kicker { display: block; margin-bottom: 4px; }
.side-guide strong {
  display: block;
  font-family: var(--serif);
  color: var(--gold);
  font-size: 0.98rem;
}
.side-guide .tick-blurb {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}
.side-guide:hover strong,
.side-guide:focus-visible strong { color: var(--cream); outline: none; }
.side-game {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.side-game:last-child { border-bottom: none; }
.side-game .cover {
  height: 48px;
  width: 72px;
  border-radius: 8px;
}
.side-game strong {
  display: block;
  font-family: var(--serif);
  color: var(--gold);
  font-size: 0.95rem;
}
.side-game .tick-kicker { display: block; margin-bottom: 2px; }
.side-game:hover strong,
.side-game:focus-visible strong { color: var(--cream); outline: none; }

.notice {
  border: 1px solid var(--gold);
  background: var(--felt-dark);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--cream);
  margin: 16px 0 0;
}

[data-page="detail"] .section { padding: 42px 0; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 0 8px;
  font-size: 0.82rem;
  color: var(--muted);
}
.crumbs a { color: var(--gold); font-weight: 700; }
.crumbs [aria-current] { color: var(--cream); }
.detail-art { display: flex; flex-direction: column; gap: 12px; }
.detail-art .cover {
  height: 210px;
  border-radius: 18px;
  border: 1px solid var(--gold);
}
.stage-felt {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  min-height: 72px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 30%, rgba(232, 197, 71, 0.16), transparent 46%),
    var(--felt-dark);
}
.door, .tick-mark, .cost-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--felt-deep);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: 52px;
  text-align: center;
  padding: 6px;
}
.door.on, .tick-mark.on, .cost-col.on {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(232, 197, 71, 0.28);
  background: linear-gradient(180deg, rgba(232, 197, 71, 0.18), var(--felt-deep));
}
.score-fig {
  height: 92px;
  border-radius: 12px;
  border: 1px solid var(--gold);
  background:
    radial-gradient(circle at 30% 30%, rgba(232, 197, 71, 0.18), transparent 42%),
    var(--felt-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
}
.score-fig i {
  display: block;
  border-radius: 6px;
  background: var(--gold);
  font-style: normal;
}
.fig-coins i { width: 18px; height: 18px; border-radius: 50%; opacity: 0.85; }
.fig-coins i:nth-child(2) { opacity: 0.55; transform: translateY(6px); }
.fig-coins i:nth-child(3) { opacity: 0.35; }
.fig-bars i { width: 16px; border-radius: 4px; }
.fig-bars i:nth-child(1) { height: 28px; opacity: 0.55; }
.fig-bars i:nth-child(2) { height: 48px; }
.fig-stack i { width: 42px; height: 10px; }
.fig-stack i:nth-child(2) { opacity: 0.65; width: 34px; }
.fig-stack i:nth-child(3) { opacity: 0.4; width: 26px; }
.fig-ticks i { width: 10px; height: 28px; }
.fig-doors i {
  width: 28px;
  height: 40px;
  border-radius: 6px 6px 2px 2px;
  opacity: 0.55;
}
.fig-doors i:nth-child(2) { opacity: 1; height: 48px; }

.ledger {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.1), transparent 40%),
    var(--felt-deep);
  box-shadow: inset 0 1px 0 rgba(248, 238, 196, 0.08), var(--shadow);
}
.ledger-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}
.ledger-keys button {
  background: var(--felt-dark);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
}
.ledger-keys button.is-on { background: var(--gold-btn); color: var(--ink); border-color: var(--gold-btn); }
.ledger-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  min-height: 88px;
  padding: 12px;
  border-radius: 14px;
  background: var(--felt-dark);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}
.cost-bar {
  width: 42px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--gold), #b8872a);
  transition: height 0.25s ease;
}
.ledger[data-on="drop"] .cost-bar { height: 36px; }
.ledger[data-on="show"] .cost-bar { height: 76px; }
.pool-meter {
  position: relative;
  width: min(100%, 420px);
  height: 22px;
  border-radius: 999px;
  background: var(--felt-deep);
  border: 1px solid var(--line);
  overflow: hidden;
}
.pool-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(232, 197, 71, 0.35), var(--gold));
  transition: width 0.25s ease;
}
.ledger[data-on="101"] .pool-meter span { width: 48%; }
.ledger[data-on="201"] .pool-meter span { width: 86%; }
.ledger[data-ledger="deals"] .tick-mark { opacity: 0.28; }
.ledger[data-ledger="deals"][data-on="2"] .tick-mark:nth-child(-n+2),
.ledger[data-ledger="deals"][data-on="3"] .tick-mark:nth-child(-n+3),
.ledger[data-ledger="deals"][data-on="6"] .tick-mark {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(232, 197, 71, 0.28);
}
.ledger[data-on="points"] .door-points,
.ledger[data-on="pool"] .door-pool,
.ledger[data-on="deals"] .door-deals { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(232, 197, 71, 0.28); }

.sit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.sit {
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.1), transparent 38%),
    var(--felt-deep);
  box-shadow: inset 0 1px 0 rgba(248, 238, 196, 0.08), var(--shadow);
}
.sit h3 {
  font-family: var(--serif);
  color: var(--gold);
  margin-bottom: 8px;
}
.sit p { color: var(--muted); }
.sit-yes { box-shadow: inset 4px 0 0 var(--gold), inset 0 1px 0 rgba(248, 238, 196, 0.08); }
.sit-no { box-shadow: inset 4px 0 0 rgba(232, 197, 71, 0.28), inset 0 1px 0 rgba(248, 238, 196, 0.08); }

.compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.compare-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--felt-deep);
  min-height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
a.compare-col:hover,
a.compare-col:focus-visible {
  border-color: var(--gold);
  transform: translateY(-4px);
  outline: none;
}
.compare-col.is-on {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(232, 197, 71, 0.25);
  background: linear-gradient(180deg, rgba(232, 197, 71, 0.14), var(--felt-deep));
}
.compare-col strong {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.15rem;
}
.compare-col span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}
.compare-col b {
  display: block;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.axis {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: axis;
}
.axis li {
  position: relative;
  padding: 22px 18px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--felt-deep);
}
.axis li::before {
  counter-increment: axis;
  content: counter(axis);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
  background: var(--felt-dark);
}
.axis h3 {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.axis p { color: var(--muted); font-size: 0.92rem; }

.slip-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
[data-related].related-fill {
  display: contents;
}
.slip {
  display: block;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(232, 197, 71, 0.1), transparent 48%), var(--felt-deep);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.slip:hover, .slip:focus-visible {
  border-color: var(--gold);
  background: linear-gradient(90deg, rgba(232, 197, 71, 0.18), transparent 58%), var(--felt-deep);
  outline: none;
}
.slip .tick-kicker { display: block; margin-bottom: 8px; }
.slip h3 {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.12rem;
  margin: 0 0 6px;
}
.slip p { color: var(--muted); margin: 0; }
.mistake-grid.three { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1100px) {
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .game-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .play-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav {
    top: max(8px, env(safe-area-inset-top, 0px));
    margin: 8px 10px 0;
    border: 1px solid var(--line);
    border-radius: 16px;
  }
  .nav-links { display: none; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .hamburger[aria-expanded="true"] {
    background: var(--gold-btn);
    color: var(--ink);
  }
  .nav-inner {
    gap: 8px;
    width: calc(100% - 20px);
    padding: 10px 0;
  }
  .drawer {
    position: absolute;
    left: 8px;
    right: 8px;
    top: calc(100% + 8px);
    width: auto;
    margin: 0;
    padding: 8px;
    background: rgba(15, 61, 44, 0.98);
    border: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    z-index: 50;
  }
  .drawer.open { display: block; }
  .drawer a {
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    font-weight: 700;
  }
  .drawer a + a { margin-top: 2px; }
  .drawer a:hover,
  .drawer a:focus-visible {
    background: rgba(232, 197, 71, 0.12);
    color: var(--gold);
  }
  .drawer a[data-i18n="nav.apk"] {
    margin-top: 8px;
    background: var(--gold-btn);
    color: var(--ink);
    text-align: center;
  }
  .nav .brand {
    min-width: 0;
    flex: none;
    width: 34px;
    overflow: hidden;
    font-size: 0;
    gap: 0;
  }
  .search-slot {
    flex: 1 1 auto;
    max-width: none;
    height: 40px;
    padding: 0 10px;
    min-width: 0;
  }
  .search-input { font-size: 16px; }
  .nav .lang button { padding: 6px 8px; font-size: 0.75rem; }
  .hamburger { width: 40px; height: 40px; }
  .search-drop {
    position: absolute;
    top: calc(100% + 10px);
    left: auto;
    right: 0;
    width: min(360px, calc(100vw - 28px));
  }
  .nav-right { flex: none; gap: 8px; z-index: 1; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .hero, .detail-hero, .table-grid, .pack-grid, .help-grid, .help-grid.three, .shot-grid, .step-grid, .rule-grid, .mistake-grid, .mistake-grid.three, .sit-grid, .compare, .axis, .slip-row, .facts {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 28px;
  }
  .foot-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .site-footer .brand {
    width: auto;
    margin-right: 0;
    overflow: visible;
    font-size: 1.15rem;
    gap: 10px;
  }
  .foot-grid > div p { margin: 0 0 8px; }
  .game-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .play-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hub-dl { width: 100%; }
  .rail-head { flex-direction: column; align-items: flex-start; }
  .hero {
    padding: 24px 0 8px;
    gap: 8px;
  }
  .hero .kicker { margin-bottom: 16px; }
  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.3;
    margin-bottom: 14px;
  }
  .hero .lead {
    line-height: 1.55;
    font-size: 1rem;
  }
  .hero-actions { margin-top: 22px; }
  .pills { margin-top: 16px; }
  .hero-art {
    min-height: 0;
    transform: none;
    margin: 4px 0 0;
    padding-bottom: 28px;
  }
  .table-felt { width: 100%; height: 118px; }
  .fan { height: 148px; margin-top: 0; }
  .pc { width: 86px; height: 124px; padding: 8px; }
  .pc span { font-size: 0.72rem; }
  .pc b { font-size: 1.55rem; }
  .pc:nth-child(1) { --rest: rotate(-16deg) translate(-58px, 4px); }
  .pc:nth-child(2) { --rest: rotate(-6deg) translate(-20px, -4px); }
  .pc:nth-child(3) { --rest: rotate(6deg) translate(24px, -2px); }
  .pc:nth-child(4) { --rest: rotate(16deg) translate(60px, 4px); }
  .chip-stack { left: 6%; bottom: 42px; transform: scale(0.78); }
  .closed-deck { right: 6%; bottom: 38px; width: 50px; height: 72px; }
  .seq-card { width: 52px; height: 80px; }
  .seq-felt { min-height: 120px; }
  .wallet-lines { grid-template-columns: 1fr; }
  .tg-box-wrap { margin-top: 20px; margin-bottom: 24px; }
  .tg-box {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 16px 14px;
    gap: 12px;
  }
  .tg-box-copy { flex: none; }
  .tg-box-blurb {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tg-box-cta { width: 100%; flex: none; }
  html { overflow-x: hidden; }
  .wrap { width: min(1080px, calc(100% - 24px)); }
  .section { padding: 36px 0; }
  .section h2 { font-size: 1.5rem; }
  .section .sub { margin-bottom: 20px; }
  .hero-actions .btn { min-height: 44px; padding: 12px 18px; }
  .pills { gap: 8px; }
  .pill { padding: 6px 11px; }
  .apk-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
  }
  .apk-row p {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .guide-row { padding: 16px 14px; }
  .guide-row h3 { font-size: 1.08rem; }
  .filters { margin: 16px 0 20px; }
  .filters button { min-height: 40px; padding: 8px 14px; }
  .faq-item button {
    padding: 14px 14px;
    font-size: 0.95rem;
    line-height: 1.35;
  }
  .site-footer {
    padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  }
  .legal { padding-top: 14px; line-height: 1.5; }
  .detail-hero {
    padding: 22px 0 16px;
    gap: 16px;
  }
  .detail-hero h1 {
    font-size: 1.7rem;
    line-height: 1.28;
  }
  .detail-hero .cover { height: 180px; border-radius: 16px; }
  .meta-row { margin: 12px 0 4px; }
  .article-page { padding: 4px 0 40px; }
  .name-marquee { border-radius: 16px; margin-top: 24px; }
  .pack { padding: 18px 16px; }
  .table-felt { max-width: 100%; }
}
@media (max-width: 560px) {
  .rail { grid-template-columns: minmax(0, 1fr); }
  .ticker-y { height: 280px; }
  .tick-game { width: 168px; }
  .tick-game .cover { height: 96px; }
  .pager-jump { margin-left: 0; width: 100%; }
  .nav .brand {
    font-size: 0;
    gap: 0;
    max-width: none;
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc, .seq-card, .seq-card.joker, .step .n, a.card, .step, .rule, .cover, .ticker-track, .guide-row, .compare-col, .slip, .cost-bar, .pool-meter span {
    animation: none !important;
    transition: none !important;
  }
  .pc { transform: var(--rest); }
  .ticker-x { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ticker-y { overflow-y: auto; -webkit-mask-image: none; mask-image: none; }
  .ticker-x .ticker-set:last-child,
  .ticker-y .ticker-set:last-child { display: none; }
  .name-lane-track { animation: none !important; }
  .name-lane { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .name-lane-set[aria-hidden] { display: none; }
  .seq-card.joker.is-off { opacity: 0.32; transform: translate(40px, 6px) rotate(12deg); }
}
