/* Drift and Reel Games — section-scoped stylesheet */

/* ---------- tokens ---------- */
:root {
  --paper: #f7f8f3;
  --ink: #191c17;
  --ink-soft: #4a4f46;
  --lime: #bfef3a;
  --lime-soft: #eaf8c2;
  --lime-mist: #f1f8d9;
  --mist: #edf0e4;
  --link: #3d6301;
  --frost: #e6f0f5;
  --jade: #e7f2e2;
  --cream: #f7f1df;
  --cherry: #c8372d;
  --cherry-tint: #f8ece9;
  --r-xl: 44px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --slab: "Zilla Slab", "Rockwell", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg fill='none' stroke='%23191c17' stroke-opacity='.045' stroke-width='1.4'%3E%3Cpath d='M52 30l9 11-9 11-9-11z'/%3E%3Ccircle cx='196' cy='64' r='8'/%3E%3Ccircle cx='118' cy='150' r='3'/%3E%3Ccircle cx='131' cy='150' r='3'/%3E%3Ccircle cx='124.5' cy='139' r='3'/%3E%3Crect x='30' y='190' width='22' height='22' rx='5'/%3E%3Ccircle cx='41' cy='201' r='2.2'/%3E%3Cpath d='M206 196c0-5 8-5 8 0 0-5 8-5 8 0 0 5-8 10-8 10s-8-5-8-10z'/%3E%3C/g%3E%3C/svg%3E");
}
h1, h2, h3, h4 { font-family: var(--slab); line-height: 1.15; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.7rem); font-weight: 700; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; }
a { color: var(--link); font-weight: 700; text-decoration: none; }
a:hover { color: #2c4a00; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 780px; }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; color: var(--paper); }
.hl { background: var(--lime); color: var(--ink); padding: 0 0.18em; border-radius: 0.35em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.kicker { font-variant: small-caps; letter-spacing: 0.14em; font-weight: 700; font-size: 0.95rem; color: var(--ink-soft); display: block; margin-bottom: 0.7em; }
.num { font-variant-numeric: tabular-nums; }

/* two-column lists for short items */
.list-2col { padding-left: 1.2em; }
@media (min-width: 720px) { .list-2col { columns: 2; column-gap: 3rem; } .list-2col li { break-inside: avoid; } }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.4em; }
li::marker { color: var(--ink-soft); }

/* ---------- buttons: chunky press-down, no box-shadow ---------- */
.btn {
  position: relative;
  z-index: 0;
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 11px 24px;
  cursor: pointer;
  text-decoration: none;
  transform: translate(0, 0);
  transition: transform 0.08s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: var(--ink);
  border-radius: 14px;
  transform: translate(4px, 5px);
  transition: transform 0.08s ease;
}
.btn:hover { color: var(--ink); }
.btn:active, .btn.is-down { transform: translate(4px, 5px); }
.btn:active::before, .btn.is-down::before { transform: translate(0, 0); }
.btn--ghost { background: var(--paper); }
.btn--sm { padding: 7px 16px; font-size: 0.9rem; border-radius: 11px; }
.btn--sm::before { border-radius: 11px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn:disabled::before { transform: translate(4px, 5px); }

/* ---------- badges ---------- */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}
.badge--lime { background: var(--lime); color: var(--ink); }

/* ---------- header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  transition: padding 0.25s ease;
  padding: 14px 0;
}
.hdr.is-tight { padding: 4px 0; }
.hdr-nav {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.hdr-side { display: flex; gap: 22px; flex-wrap: wrap; }
.hdr-side--l { justify-content: flex-end; }
.hdr-side--r { justify-content: flex-start; }
.hdr-link { font-weight: 700; color: var(--ink); padding: 4px 2px; }
.hdr-link:hover { color: var(--link); }
.hdr-link[aria-current="page"] { color: var(--link); }
.hdr-logo { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink); text-align: center; }
.hdr-logo svg { width: 46px; height: 46px; transition: width 0.25s ease, height 0.25s ease; }
.hdr.is-tight .hdr-logo svg { width: 32px; height: 32px; }
.hdr-word { font-family: var(--slab); font-weight: 700; font-size: 0.95rem; line-height: 1.1; letter-spacing: 0.02em; }
@media (max-width: 620px) {
  .hdr-nav { grid-template-columns: auto 1fr; }
  .hdr-logo { grid-column: 1; grid-row: 1; flex-direction: row; }
  .hdr-word { font-size: 0.85rem; }
  .hdr-side { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: 14px; font-size: 0.92rem; }
  .hdr-side--l { grid-row: 1; }
  .hdr-side--r { grid-row: 2; grid-column: 1 / -1; justify-content: flex-end; padding-bottom: 4px; }
}

/* ---------- bands & panels ---------- */
.band { border-radius: var(--r-xl); margin: 26px 10px; padding: 54px 0; }
.band--lime { background: var(--lime-soft); }
.band--mist { background: var(--mist); }
.band--plain { background: transparent; padding: 40px 0; }
.panel { background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); }
.divider { text-align: center; margin: 10px 0; color: var(--ink-soft); }
.divider svg { width: 30px; height: 30px; opacity: 0.55; }

/* ---------- hero ---------- */
.hero { padding: 26px 0 10px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-lead { font-size: 1.2rem; max-width: 34em; }
.hero-art img { display: block; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 26px 0 6px; padding: 0; list-style: none; }
.hero-stats li { margin: 0; }
.hero-stats .num { display: block; font-family: var(--slab); font-weight: 700; font-size: 2.1rem; line-height: 1.1; }
.hero-stats small { color: var(--ink-soft); font-size: 0.88rem; }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- free-play note strip ---------- */
.note { margin: 8px 10px 0; }
.note-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: 18px 26px;
  font-size: 0.98rem;
}
.note-inner strong { color: var(--lime); }
.note-inner a { color: var(--lime); }

/* ---------- games showcase (carousel + list) ---------- */
.show-row {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 22px;
  -webkit-overflow-scrolling: touch;
}
.show-row::-webkit-scrollbar { height: 8px; }
.show-row::-webkit-scrollbar-thumb { background: var(--ink-soft); border-radius: 4px; }
.tile {
  flex: 0 0 285px;
  scroll-snap-align: start;
  border: 2px solid transparent;
  border-radius: var(--r-lg);
  padding: 16px 16px 20px;
  transition: border-color 0.15s ease;
  display: flex;
  flex-direction: column;
}
.tile:hover, .tile:focus-within { border-color: var(--ink); }
.tile img { border-radius: var(--r-md); }
.tile h3 { margin: 14px 0 2px; font-size: 1.35rem; }
.tile-kind { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 8px; }
.tile p { font-size: 0.95rem; flex: 1; }
.tile .btn { align-self: flex-start; }
.show-list { list-style: none; padding: 0; margin: 8px 0 0; }
.show-list li { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding: 12px 4px; margin: 0; border-top: 1px solid rgba(25, 28, 23, 0.14); }
.show-list li:first-child { border-top: 0; }
.show-list .show-name { font-family: var(--slab); font-weight: 600; font-size: 1.1rem; min-width: 11em; }
.show-list .show-blurb { color: var(--ink-soft); font-size: 0.95rem; flex: 1; min-width: 220px; }

/* ---------- editorial rundown ---------- */
.run-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 10px; }
.run-item h3 { margin-bottom: 0.35em; }
.run-item p { font-size: 0.97rem; }

/* ---------- checklist signature block ---------- */
.chk {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3.5vw, 34px);
  margin: 20px 0;
}
.chk h3 { margin-bottom: 0.8em; }
.chk ul { list-style: none; padding: 0; margin: 0; }
.chk li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.chk li::before {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.4 3.5L16 7.5' fill='none' stroke='%23191c17' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- glossary ---------- */
.gloss dl { margin: 0; }
.gloss-pair { padding: 10px 0; }
.gloss dt { font-family: var(--slab); font-weight: 600; font-size: 1.05rem; }
.gloss dd { margin: 2px 0 0; color: var(--ink-soft); font-size: 0.96rem; }
@media (min-width: 760px) { .gloss-grid { columns: 2; column-gap: 3.5rem; } .gloss-pair { break-inside: avoid; } }

/* ---------- FAQ: numbered, oversized numerals ---------- */
.faq-group { margin-top: 26px; }
.faq-group > h3 { font-variant: small-caps; letter-spacing: 0.1em; color: var(--ink-soft); font-family: var(--sans); font-size: 1rem; }
.faq-item { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 20px 0; align-items: start; }
.faq-num {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 2.9rem;
  line-height: 1;
  color: var(--ink);
  background: var(--lime);
  border-radius: 18px;
  text-align: center;
  padding: 8px 0 10px;
  font-variant-numeric: tabular-nums;
}
.faq-item h4 { font-size: 1.18rem; margin-bottom: 0.35em; }
.faq-item p { margin-bottom: 0; font-size: 0.98rem; }
@media (max-width: 520px) { .faq-item { grid-template-columns: 52px 1fr; gap: 12px; } .faq-num { font-size: 2rem; border-radius: 13px; } }

/* ---------- disclaimer block ---------- */
.disc { font-size: 0.92rem; color: var(--ink-soft); max-width: 66em; }
.disc strong { color: var(--ink); }

/* ---------- age band ---------- */
.age { background: var(--ink); color: var(--paper); margin-top: 40px; }
.age-inner { max-width: var(--wrap); margin: 0 auto; padding: 12px 20px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 0.92rem; }
.age-badge { flex: 0 0 auto; background: var(--lime); color: var(--ink); font-family: var(--slab); font-weight: 700; border-radius: 999px; padding: 4px 13px; font-size: 1rem; }
.age a { color: var(--lime); }
.age p { margin: 0; }

/* ---------- footer ---------- */
.foot { border-top: 2px solid var(--ink); padding: 40px 0 110px; }
.foot-label { font-variant: small-caps; letter-spacing: 0.13em; font-family: var(--sans); font-size: 0.95rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 0.7em; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 30px; margin-bottom: 34px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 7px; }
.foot-grid a { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.foot-grid a:hover { color: var(--link); }
.foot-help { border-top: 1px solid rgba(25, 28, 23, 0.14); padding-top: 24px; margin-bottom: 22px; }
.foot-help p { font-size: 0.92rem; color: var(--ink-soft); max-width: 70em; }
.foot-help a { color: var(--link); }
.foot-legal { font-size: 0.88rem; color: var(--ink-soft); max-width: 70em; }
.foot-copy { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; margin-top: 18px; }
.foot-copy svg { width: 28px; height: 28px; }

/* ---------- coin badge: the site's single box-shadow ---------- */
.coinbadge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 250;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 9px 18px 9px 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 22px rgba(25, 28, 23, 0.35);
}
.coinbadge svg { width: 22px; height: 22px; }
.coinbadge-note { position: absolute; right: 0; bottom: calc(100% + 8px); background: var(--lime); color: var(--ink); font-size: 0.82rem; font-weight: 700; border-radius: 12px; padding: 6px 12px; white-space: nowrap; }

/* ---------- cookie notice ---------- */
.cookie {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 240;
  max-width: 330px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 0.88rem;
}
.cookie p { margin-bottom: 10px; }

/* ---------- generic content pages ---------- */
.page { padding: 40px 0 10px; }
.page-head { max-width: 780px; margin-bottom: 26px; }
.page-lead { font-size: 1.15rem; color: var(--ink-soft); }
.page-body { max-width: 72ch; }
.page-body h2 { margin-top: 1.6em; }
.page-body h3 { margin-top: 1.4em; }
.page-art { margin: 26px 0; }
.page-art img { display: block; }
.page-art figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 6px; }
.page-updated { font-size: 0.88rem; color: var(--ink-soft); }
.page-grid { display: grid; grid-template-columns: minmax(0, 72ch) minmax(220px, 300px); gap: 48px; align-items: start; }
@media (max-width: 900px) { .page-grid { grid-template-columns: 1fr; } }
.page-aside img { border-radius: var(--r-md); }

/* data tables */
.tbl { border-collapse: collapse; width: 100%; margin: 14px 0 22px; font-size: 0.96rem; }
.tbl caption { text-align: left; font-family: var(--slab); font-weight: 600; font-size: 1.05rem; padding-bottom: 8px; }
.tbl th, .tbl td { text-align: left; padding: 9px 14px 9px 0; border-bottom: 1px solid rgba(25, 28, 23, 0.16); vertical-align: top; }
.tbl th { font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.tbl td.num, .tbl th.num { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }

/* ---------- game page & exhibit stage ---------- */
.gpage { padding: 30px 0 10px; }
.gpage-head { max-width: 820px; margin-bottom: 22px; }
.gpage-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 40px; align-items: start; }
@media (max-width: 980px) { .gpage-grid { grid-template-columns: 1fr; } }

.stage { margin-bottom: 10px; }
.stage-frame {
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(14px, 3vw, 30px);
  background: var(--paper);
  position: relative;
}
.stage--aztec .stage-frame { background: var(--jade); }
.stage--midway .stage-frame { background: var(--cream); }
.stage--diner .stage-frame { background: var(--cherry-tint); }
.stage--frost .stage-frame { background: var(--frost); }
.stage-cap {
  margin: 10px 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: baseline;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(25, 28, 23, 0.16);
  padding-bottom: 10px;
}
.stage-cap strong { font-family: var(--slab); font-size: 1rem; color: var(--ink); }

.game-bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 18px 0 6px; }
.game-bar-label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.bet-group { display: flex; gap: 8px; flex-wrap: wrap; }
.bet-chip {
  font-family: var(--sans);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 15px;
  cursor: pointer;
  font-size: 0.95rem;
}
.bet-chip[aria-pressed="true"] { background: var(--ink); color: var(--lime); }
.game-result { min-height: 1.8em; font-family: var(--slab); font-weight: 600; font-size: 1.15rem; margin: 12px 0 4px; }
.game-result.is-win { color: var(--link); }
.game-balance { font-size: 0.92rem; color: var(--ink-soft); }
.game-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 8px; }
.game-aside h2 { font-size: 1.35rem; }
.game-aside .panel { border: 2px solid transparent; transition: border-color 0.15s ease; }
.game-aside .panel:hover { border-color: var(--ink); }
.game-reset { margin-top: 14px; }
.nojs { background: var(--cream); border-radius: var(--r-md); padding: 18px 22px; font-size: 0.95rem; }

/* ---------- slots (sunglyph) ---------- */
.slt-reels { display: flex; justify-content: center; gap: clamp(10px, 2.5vw, 22px); padding: 8px 0 4px; }
.slt-reel {
  width: clamp(84px, 21vw, 128px);
  height: clamp(84px, 21vw, 128px);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.slt-reel svg { width: 72%; height: 72%; }
.slt-reel.is-spinning svg { filter: blur(1.5px); }
.slt-line { text-align: center; font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; }
.slt-actions { display: flex; justify-content: center; margin-top: 16px; }

/* ---------- dice (midway) ---------- */
.dice-pair { display: flex; justify-content: center; gap: 26px; padding: 12px 0 6px; }
.dice-die { width: clamp(76px, 18vw, 110px); height: clamp(76px, 18vw, 110px); }
.dice-die svg { width: 100%; height: 100%; }
.dice-bets { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.dice-bet {
  border: 2px solid var(--ink);
  background: var(--paper);
  border-radius: 14px;
  font-family: var(--sans);
  font-weight: 700;
  padding: 9px 16px;
  cursor: pointer;
  font-size: 0.95rem;
}
.dice-bet[aria-pressed="true"] { background: var(--ink); color: var(--lime); }
.dice-total { display: flex; align-items: center; gap: 8px; }
.dice-total select { font: inherit; font-weight: 700; padding: 7px 10px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); }
.dice-actions { display: flex; justify-content: center; margin-top: 16px; }

/* ---------- shared playing cards ---------- */
.pcard {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-family: var(--slab);
  font-weight: 700;
  user-select: none;
}
.pcard--red { color: var(--cherry); }
.pcard--black { color: var(--ink); }

/* ---------- video poker (diner) ---------- */
.vp-hand { display: flex; justify-content: center; gap: clamp(6px, 1.6vw, 14px); padding: 10px 0 2px; flex-wrap: nowrap; }
.vp-card {
  flex: 0 1 96px;
  min-width: 0;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  text-align: center;
}
.vp-card .pcard { width: 100%; aspect-ratio: 5 / 7; padding: 7px 9px; font-size: clamp(1rem, 3vw, 1.5rem); }
.vp-card .pcard-top { text-align: left; }
.vp-card .pcard-mid { font-size: clamp(1.3rem, 4.5vw, 2.1rem); }
.vp-card .pcard-bot { text-align: right; transform: rotate(180deg); }
.vp-card.is-held .pcard { border-color: var(--cherry); border-width: 3px; }
.vp-hold { display: block; margin-top: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cherry); visibility: hidden; }
.vp-card.is-held .vp-hold { visibility: visible; }
.vp-actions { display: flex; justify-content: center; gap: 16px; margin-top: 14px; }

/* ---------- solitaire (frostfall) ---------- */
.sol-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.sol-stockwaste, .sol-founds { display: flex; gap: clamp(5px, 1.2vw, 12px); }
.sol-tab { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(5px, 1.2vw, 12px); align-items: start; }
.sol-pile { position: relative; min-height: var(--sol-card-h, 86px); border-radius: 8px; }
.sol-pile--slot { border: 2px dashed rgba(25, 28, 23, 0.3); }
.sol-col { position: relative; min-height: calc(var(--sol-card-h, 86px) * 3); }
.sol-card {
  position: absolute;
  left: 0;
  width: var(--sol-card-w, 62px);
  height: var(--sol-card-h, 86px);
  border-radius: 8px;
  border: 2px solid var(--ink);
  background: #fff;
  font-family: var(--slab);
  font-weight: 700;
  cursor: pointer;
  padding: 3px 5px;
  font-size: clamp(0.78rem, 2vw, 1rem);
  line-height: 1.1;
  text-align: left;
  touch-action: none;
}
.sol-card.is-down {
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23191c17' stroke-opacity='.5' stroke-width='1.3'%3E%3Cpath d='M20 8v24M10 14l20 12M30 14L10 26M20 12l3 3M20 12l-3 3M20 28l3-3M20 28l-3-3'/%3E%3C/g%3E%3C/svg%3E") center / 60% no-repeat;
  cursor: pointer;
}
.sol-card.is-sel { border-color: var(--cherry); border-width: 3px; }
.sol-card.is-drag { z-index: 60; pointer-events: none; }
.sol-founds .sol-pile { width: var(--sol-card-w, 62px); }
.sol-stockwaste .sol-pile { width: var(--sol-card-w, 62px); }
.sol-waste { width: calc(var(--sol-card-w, 62px) * 1.9) !important; }
.sol-bar { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 16px; justify-content: center; }
.sol-suit-red { color: var(--cherry); }

/* ---------- achievements ---------- */
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; margin-top: 22px; }
.ach-card { border: 2px solid transparent; border-radius: var(--r-lg); background: var(--mist); padding: 22px; transition: border-color 0.15s ease; }
.ach-card:hover { border-color: var(--ink); }
.ach-card.is-done { background: var(--lime-soft); }
.ach-card h3 { margin-bottom: 0.3em; display: flex; align-items: center; gap: 10px; }
.ach-state { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.ach-card.is-done .ach-state { color: var(--link); }
.ach-card p { font-size: 0.95rem; margin: 6px 0 0; }

/* ---------- contact ---------- */
.contact-box { background: var(--lime-soft); border-radius: var(--r-lg); padding: 26px 30px; margin: 24px 0; }
.contact-box p:last-child { margin-bottom: 0; }
.contact-email { font-family: var(--slab); font-size: 1.3rem; }

/* ---------- print (reference pages) ---------- */
@media print {
  body { background: #fff; font-size: 11pt; }
  .hdr, .coinbadge, .cookie, .age, .foot-grid, .foot-help, .hero-cta, .btn, .skip, .divider { display: none !important; }
  .band, .panel, .note-inner { background: #fff !important; border-radius: 0; padding: 0; margin: 0 0 14pt; }
  a { color: #000; }
  .page-body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 90%; }
}
