@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  color-scheme: light;
  --ink: #272a21;
  --muted: #59584d;
  --paper: #f9f5eb;
  --card-paper: #fffdf7;
  --accent: #953c28;
  --wash: #f8d4c2;
  --deck: #8f3524;
  --deck-ink: #fff4e2;
  --line: #d8d0bf;
  --shell: min(100% - 2rem, 1200px);
  font: 16px/1.5 'DM Sans', system-ui, sans-serif;
}
.would-you-rather-couples { --accent: #8b3c57; --wash: #f0d1db; --deck: #743047; --deck-ink: #fff1e8; }
.truth-or-dare { --accent: #544183; --wash: #ded5ef; --deck: #49376e; --deck-ink: #fff3e1; }
.icebreaker-games { --accent: #23604d; --wash: #cee4d6; --deck: #235744; --deck-ink: #edf9e6; }
.christmas-party-games { --accent: #8c303d; --wash: #f5ddd5; --deck: #244d3d; --deck-ink: #fff3e1; }
.catalog-card.spicy-mode { --accent: #ff9a9d; --wash: #f3c2d0; --deck: #4a2038; --deck-ink: #fff1f4; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: .22em; }
h1, h2, h3, .brand { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(3rem, 9.2vw, 5.6rem); line-height: .96; letter-spacing: -.038em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.02; }
.site-header, footer {
  width: var(--shell);
  min-height: 61px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
}
.site-header { border-bottom: 1px solid var(--line); }
.brand { font-size: clamp(1.22rem, 5vw, 1.5rem); text-decoration: none; white-space: nowrap; }
.brand { display: inline-flex; align-items: center; gap: .45rem; }
.brand img { display: block; flex: none; }
.header-link { display: inline-flex; min-height: 44px; align-items: center; font-size: .82rem; font-weight: 700; white-space: nowrap; }
footer { border-top: 1px solid var(--line); flex-wrap: wrap; font-size: .83rem; padding-block: .8rem; }
footer > a:last-child { display: inline-flex; min-height: 44px; align-items: center; }
:focus-visible { outline: 3px solid #174ea6; outline-offset: 4px; }

.lobby, .hero, .guide, .catalog { width: var(--shell); margin-inline: auto; }
.lobby { padding-bottom: clamp(2rem, 6vw, 5rem); }
.lobby-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(88px, 1fr);
  gap: .25rem;
  align-items: center;
  padding-block: 1.65rem 1.55rem;
}
.lobby-copy { position: relative; z-index: 1; }
.lobby-copy h1 { font-size: clamp(2.57rem, 7.9vw, 6.75rem); }
.lobby-copy h1 em { color: #365343; font-weight: 400; }
.lobby-copy > p { margin-top: .63rem; font-size: .88rem; line-height: 1.4; color: var(--muted); max-width: 24rem; }
.browse-link {
  margin-top: .8rem; display: inline-flex; align-items: center; gap: .65rem; min-height: 44px;
  padding: .45rem .73rem; border-radius: 2rem; background: #263b30; color: #fffdf6;
  text-decoration: none; font-size: .79rem; font-weight: 700;
}
.browse-link:hover { background: #385343; }
.hero-decks { isolation: isolate; overflow: clip; height: clamp(101px, 34vw, 294px); position: relative; }
.hero-decks::before {
  content: ""; position: absolute; inset: 7% -2% 5%;
  border-radius: 58% 42% 45% 55% / 52% 62% 38% 48%;
  background: #e9e5d3; transform: rotate(-10deg);
}
.hero-deck {
  display: grid; place-items: center; position: absolute; inset: 9% auto auto 50%;
  width: clamp(45px, 14vw, 127px); max-width: 54%; aspect-ratio: .68;
  border: 1px solid rgb(48 29 22 / 55%); border-radius: 9%; background: var(--deck); color: var(--deck-ink);
  box-shadow: 2px 4px 0 rgb(48 29 22 / 24%); transform-origin: center 80%;
}
.hero-deck::before { content: ""; position: absolute; inset: 7%; border: 1px solid currentColor; border-radius: 8%; opacity: .55; }
.hero-deck svg { width: 65%; }
.hero-deck-left { transform: translateX(-83%) rotate(-22deg); }
.hero-deck-right { transform: translateX(-17%) rotate(22deg); }
.hero-deck-front { transform: translate(-50%, -4%) rotate(-3deg); }
.deck-gallery { scroll-margin-top: 1rem; }
.deck-gallery > h2 { margin-block: 0 .7rem; font-size: clamp(1.95rem, 4vw, 2.8rem); }
.catalog-grid { display: grid; gap: 1.15rem; }
.catalog-card {
  display: grid; grid-template-columns: minmax(0, 1fr);
  color: var(--ink); text-decoration: none; border: 1px solid #a99e8c;
  border-radius: .95rem; background: var(--card-paper);
  box-shadow: 0 3px 0 var(--wash), 0 4px 0 #a99e8c, 0 10px 18px rgb(47 34 20 / 8%);
}
.deck-cover {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem;
  align-items: center; min-height: 103px; position: relative;
  padding: .8rem 1rem; border-radius: .88rem .88rem 0 0; overflow: hidden;
  background-color: var(--deck);
  background-image: radial-gradient(ellipse at top right, rgb(255 255 255 / 16%), transparent 67%);
  color: var(--deck-ink);
}
.deck-cover::before {
  content: ""; position: absolute; inset: 6px; pointer-events: none;
  border: 1px solid currentColor; border-radius: .59rem .59rem 0 0; opacity: .36;
}
.cover-mark { width: clamp(48px, 16vw, 72px); aspect-ratio: 1; display: grid; place-items: center; }
.cover-mark svg { display: block; width: 100%; }
.deck-cover .deck-title { font-size: clamp(1.65rem, 6.7vw, 2.35rem); line-height: .99; text-wrap: balance; }
.deck-info { display: grid; grid-template-rows: 1fr auto auto; gap: .55rem; padding: .78rem 1rem .85rem; }
.deck-info p { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.deck-meta { display: flex; flex-wrap: wrap; gap: .25rem .7rem; font-size: .77rem; font-weight: 600; }
.deck-meta span + span { border-left: 1px solid var(--line); padding-left: .7rem; }
.deck-info strong {
  display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: .35rem;
  padding: .43rem .7rem; border-radius: .46rem; background: var(--wash);
  color: var(--deck); font-size: .88rem;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .catalog-card { transition: transform .18s ease, box-shadow .18s ease; }
  .catalog-card:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 0 4px 0 var(--wash), 0 5px 0 #a99e8c, 0 16px 22px rgb(47 34 20 / 13%); }
}
.deck-info strong svg { width: 1rem; height: 1rem; }
.catalog-card:hover .deck-info strong { text-decoration: underline; }
@media (min-width: 640px) {
  .lobby-hero { grid-template-columns: 1.15fr 1fr; gap: clamp(1rem, 5vw, 5rem); }
  .lobby-copy > p { font-size: 1.03rem; }
  .browse-link { font-size: .88rem; padding-inline: 1rem; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deck-cover .deck-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
}
@media (min-width: 1050px) {
  .lobby-hero { padding-block: 2.3rem 2.45rem; }
}
@media (min-width: 1200px) {
  .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .deck-cover { min-height: 175px; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: .1rem; }
  .deck-cover .deck-title { font-size: clamp(1.7rem, 2.5vw, 2.2rem); }
}

.hero { display: grid; grid-template-areas: "intro" "table" "summary"; gap: .85rem; padding-block: 1.1rem 1.4rem; }
.intro { grid-area: intro; display: grid; gap: .2rem; }
.intro h1 { font-size: clamp(2.25rem, 9.4vw, 4rem); line-height: .99; }
.edition, .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .7rem; }
.edition { color: var(--accent); }
.game-summary { grid-area: summary; display: grid; gap: .65rem; padding: .45rem 0 0; }
.description { max-width: 33rem; font-size: .95rem; color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: .4rem; }
.facts span {
  border: 1px solid var(--line); padding: .22rem .53rem; border-radius: 2rem;
  font-size: .76rem; font-weight: 600;
}
.rules-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; width: fit-content; font-size: .9rem; }
.table {
  grid-area: table; position: relative; min-width: 0;
  padding: .65rem .7rem; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--deck) 42%, var(--wash));
  background-color: var(--wash);
  background-image: radial-gradient(circle, color-mix(in srgb, var(--deck) 18%, transparent) .7px, transparent .9px);
  background-size: 9px 9px;
  box-shadow: 0 3px 0 color-mix(in srgb, var(--deck) 35%, var(--wash)), 0 9px 20px rgb(47 34 20 / 7%);
}
.table-top { display: flex; justify-content: space-between; align-items: center; gap: .45rem; margin-bottom: .42rem; font-size: .83rem; }
#progress {
  display: inline-flex; align-items: center; gap: .35rem; width: fit-content;
  padding: .23rem .62rem; border-radius: 1rem; background: var(--card-paper); color: var(--deck); font-weight: 700;
}
#progress::before { content: ""; width: .46rem; height: .62rem; border: 1px solid var(--accent); border-radius: .12rem; transform: rotate(-12deg); }
.card {
  position: relative; display: grid; place-content: center; justify-items: center;
  gap: .44rem; min-height: 225px; text-align: center; padding: 1.12rem .92rem;
  border: 1px solid color-mix(in srgb, var(--deck) 56%, var(--wash)); border-radius: .8rem;
  background: var(--card-paper); overflow-wrap: anywhere;
  box-shadow: 0 3px 0 -1px var(--wash), 0 4px 0 -1px color-mix(in srgb, var(--deck) 60%, var(--wash)),
    0 6px 0 -2px var(--paper), 0 7px 0 -2px color-mix(in srgb, var(--deck) 38%, var(--wash));
}
.card::before {
  content: ""; position: absolute; inset: 6px; pointer-events: none; border-radius: .5rem;
  border: 1px solid color-mix(in srgb, var(--deck) 18%, var(--card-paper));
}
.card-face { display: grid; justify-items: center; gap: .44rem; }
.card-face[hidden], .card-cover[hidden] { display: none; }
.card-cover {
  position: absolute; inset: 6px; display: grid; place-content: center; justify-items: center;
  gap: .45rem; width: auto; padding: .8rem; text-align: center;
  color: var(--deck-ink); background: var(--deck);
  background-image: repeating-linear-gradient(115deg, transparent 0 13px, #ffffff14 13px 14px);
  border-color: var(--card-paper);
}
.card-cover:hover { background-color: color-mix(in srgb, var(--deck) 88%, black); }
.card-cover strong { font: 2rem/1.05 'Instrument Serif', Georgia, serif; }
.card-cover span { font-size: .85rem; font-weight: 500; }
.card-face.is-flipping { animation: reveal-card .28s ease-out; }
@keyframes reveal-card {
  from { opacity: 0; transform: perspective(850px) rotateY(-72deg); }
  to { opacity: 1; transform: perspective(850px) rotateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .card-face.is-flipping { animation: none; }
}
.card-mark { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; color: var(--accent); }
.card-mark svg { width: 100%; }
.card .eyebrow { color: var(--accent); }
.card-prompt { font-family: 'Instrument Serif', Georgia, serif; max-width: 35rem; margin-inline: auto; font-size: clamp(1.9rem, 6vw, 3.1rem); line-height: 1; text-wrap: balance; }
.card p:not(.eyebrow, .card-prompt) { color: var(--muted); max-width: 30rem; font-size: .85rem; }
#controls, #settings { display: flex; flex-wrap: wrap; align-items: center; gap: .43rem; margin-top: .67rem; }
#controls { margin-top: .88rem; }
#controls button { flex: 1 0 auto; }
#controls button.primary { flex-grow: 2; }
button, select, input { font: inherit; color: inherit; }
button, select {
  background: var(--card-paper); cursor: pointer; border: 1px solid color-mix(in srgb, var(--deck) 55%, var(--wash));
  min-height: 44px; border-radius: .58rem; padding: .42rem .68rem; font-weight: 700; font-size: .88rem;
}
button:hover, select:hover { background: var(--wash); }
button.primary { background: var(--deck); color: var(--deck-ink); border-color: var(--deck); }
button.primary:hover { background: color-mix(in srgb, var(--deck) 87%, black); }
button.quiet { border-color: transparent; background: transparent; padding: .25rem .45rem; }
button.quiet:hover { text-decoration: underline; }
button:disabled { opacity: .6; cursor: default; }
.message:not(:empty) { margin-top: .4rem; font-size: .86rem; }
#settings label { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .35rem; font-size: .85rem; }
#settings input { width: 1.05rem; height: 1.05rem; accent-color: var(--deck); margin-inline-end: .35rem; }
#settings details { width: 100%; padding-top: 0; border: 0; }
#settings textarea { width: 100%; font: inherit; padding: .5rem; margin-top: .45rem; }
.guide { display: grid; gap: 1.25rem; padding-block: 1.4rem 2rem; border-top: 1px solid var(--line); }
.guide h2 { margin-bottom: .6rem; }
.guide ol { padding-inline-start: 1.3rem; }
.guide li { margin-bottom: .7rem; }
details { border-top: 1px solid var(--line); }
summary { cursor: pointer; min-height: 44px; padding: .53rem 0; font-weight: 600; }
details p { margin: .1rem 0 .6rem; color: var(--muted); }
.catalog { padding-block: 2rem 3rem; }
.catalog > p { margin: .95rem 0; max-width: 44rem; }
@media (min-width: 740px) {
  .hero {
    grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); grid-template-rows: 1fr 1fr;
    grid-template-areas: "intro table" "summary table"; align-items: start;
    gap: .55rem clamp(1rem, 5vw, 4.2rem); padding-block: 2.7rem;
  }
  .intro { align-self: end; }
  .intro h1 { font-size: clamp(2.85rem, 6.6vw, 5rem); }
  .table { padding: 1rem 1.1rem; }
  .card { padding: 1.65rem 1.35rem; min-height: 300px; }
  .card-mark { width: 2.65rem; height: 2.65rem; }
  .card p:not(.eyebrow, .card-prompt) { font-size: .98rem; }
  .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}
#paywall {
  width: min(100%, 480px);
  max-width: 100%;
  max-height: calc(100dvh - 12px);
  margin: auto auto 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 1rem 1rem max(1rem, env(safe-area-inset-bottom));
  border: 1px solid var(--ink);
  border-top: .45rem solid var(--accent);
  border-radius: 1.5rem 1.5rem 0 0;
  background: var(--paper);
  color: var(--ink);
}
#paywall::backdrop { background: rgb(41 35 31 / 68%); }
html:has(#paywall[open]) { overflow: hidden; }
#paywall .eyebrow { margin-bottom: .2rem; }
#paywall-title { font-family: 'Instrument Serif', Georgia, serif; line-height: 1.02; font-size: clamp(2rem, 7vw, 2.8rem); }
.paywall-price { display: flex; gap: .55rem; align-items: center; margin-top: .3rem; }
.paywall-price strong { font-size: 1.5rem; }
.paywall-price span { border-radius: 1rem; padding: .08rem .6rem; background: var(--wash); font-size: .85rem; }
#paywall-description, #payment-status { color: var(--muted); font-size: .92rem; }
#paypal-buttons { margin-top: .7rem; min-height: 145px; }
#payment-status:not(:empty) { margin-top: .35rem; }
#paywall > button { width: 100%; margin-top: .4rem; }
@media (min-width: 541px) {
  #paywall { width: min(calc(100% - 2rem), 480px); margin: auto; border-radius: 1.5rem; padding: 1.4rem; }
}

/* Standalone TS HAUS game cards, linked to separate websites and repositories. */
.legacy-girlsnight { --accent: #f17d9d; --wash: #f3b8c9; --deck: #462036; --deck-ink: #fff0f4; }
.legacy-datenight { --accent: #d882a9; --wash: #f2c6d8; --deck: #6a344e; --deck-ink: #fff2f5; }
.legacy-roadtrip { --accent: #e6bb56; --wash: #f0dea5; --deck: #194d63; --deck-ink: #fff8da; }

/* Lobby portfolio merchandising: one featured HOT title and four NEW decks. */
.catalog-card { position: relative; }
.deck-cover:has(.deck-badge) { padding-top: 1.8rem; }
.deck-badge {
  position: absolute;
  z-index: 2;
  top: .42rem;
  right: .55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  min-width: 44px;
  padding: .17rem .58rem;
  border-radius: 999px;
  font: 800 .69rem/1.25 'DM Sans', system-ui, sans-serif;
  letter-spacing: .07em;
  box-shadow: 0 2px 5px rgb(12 8 17 / 20%);
}
.deck-badge-hot {
  background: linear-gradient(110deg, #ffbf5f, #ff7c85);
  color: #341324;
}
.deck-badge-new { background: #fff2bd; color: #322319; }
.deck-badge-18 { background: #321724; color: #ff9a9d; letter-spacing: .08em; }
.featured-game { border-color: #bb667e; box-shadow: 0 3px 0 #eb96a9, 0 4px 0 #b35f78, 0 12px 20px rgb(71 21 51 / 15%); }
.featured-game .deck-cover {
  background-image: radial-gradient(ellipse at 78% 10%, rgb(255 164 191 / 28%), transparent 65%), linear-gradient(135deg, #3c1c37, #7d3455);
}
.featured-game .deck-info strong { background: #f39aaf; color: #421d35; }
@media (min-width: 1200px) {
  .featured-game { grid-column: span 2; }
  .featured-game .deck-cover { grid-template-columns: auto minmax(0, 1fr); text-align: left; justify-items: stretch; padding-inline: 1.5rem; }
  .featured-game .deck-cover .deck-title { font-size: clamp(2.2rem, 3.2vw, 3rem); }
}

.sale-banner {
  margin: 0 0 1rem;
  padding: .65rem .85rem;
  border: 1px solid #d7b588;
  border-radius: .6rem;
  background: #f7e5c8;
  color: #542b20;
  font-size: .85rem;
  font-weight: 700;
}

.landing-copy { width: var(--shell); max-width: 760px; margin: 1rem auto 2.5rem; }
.lobby .landing-copy { width: 100%; margin: 2.5rem 0 0; }
.landing-copy section + section { margin-top: 1.4rem; }
.landing-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .65rem; }
.landing-copy p + p, .landing-copy li + li { margin-top: .55rem; }
.landing-copy ol, .landing-copy ul { padding-inline-start: 1.4rem; }

.more-games { width: var(--shell); max-width: 760px; margin: 0 auto 2.5rem; }
.more-games ul { padding-inline-start: 1.4rem; }
.more-games li + li { margin-top: .55rem; }
.footer-games { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1rem; font-size: .85rem; }
.footer-games a, .footer-games span { display: inline-flex; min-height: 44px; align-items: center; }

/* A deeper game-table palette carries the deck artwork into the playing surface. */
.lobby-hero {
  margin-block: 1rem;
  padding-inline: clamp(1rem, 4vw, 3rem);
  overflow: hidden;
  border-radius: 1.1rem;
  background: radial-gradient(ellipse at 84% 26%, #632d51, transparent 62%), #2c1a32;
  color: #fff3e1;
}
.lobby-copy > p { color: #fff3e1; }
.lobby-copy .browse-link { color: #2c1a32; background: #ffce88; }
.lobby-copy .browse-link:hover { background: #ffe0af; }
.hero-decks::before { background: color-mix(in srgb, #ff964f 24%, transparent); }
.hero-deck {
  border-width: 2px;
  box-shadow: 2px 3px 0 #fff2d8, 5px 7px 0 #503549, 7px 9px 0 #fff2d8, 9px 13px 15px #140c165c;
}
.hero-deck-left { --deck: #614695; }
.hero-deck-right { --deck: #21715b; }
.hero-deck-front { --deck: #a64553; }

.catalog-card {
  overflow: hidden;
  color: var(--deck-ink);
  border-color: var(--deck);
  background: var(--deck);
  background-image: repeating-linear-gradient(112deg, transparent 0 13px, #ffffff09 13px 14px),
    radial-gradient(ellipse at 100% 0, #f6b8872e, transparent 62%);
}
.deck-cover {
  margin: .45rem .45rem 0;
  padding-inline: .85rem;
  border: 1px solid #ffffff67;
  border-radius: .64rem;
  background: transparent;
}
.deck-cover::before { border-radius: .4rem; opacity: .24; }
.deck-cover .cover-mark { background: #ffffff10; border-radius: .45rem; }
.deck-cover .cover-mark svg { width: 85%; }
.featured-game .deck-cover { background: transparent; }
.deck-info p { color: inherit; }
.deck-meta span + span { border-color: #ffffff67; }
.deck-info strong { background: var(--deck-ink); color: var(--deck); }

.table {
  border-color: var(--deck);
  background-color: var(--deck);
  background-image: radial-gradient(circle, #ffffff28 .65px, transparent .85px);
  color: var(--deck-ink);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--deck) 77%, black), 0 12px 22px #26193830;
}
.table .card { color: var(--ink); box-shadow: 0 3px 0 var(--wash), 0 5px 0 #311c37, 0 7px 0 var(--wash), 0 9px 0 #311c37; }
.table .card::before { border-style: dashed; }
.table .card-mark { background: var(--wash); border-radius: .45rem; }
.table .card-mark svg { width: 85%; }
.table #controls { margin-top: 1.1rem; }
.table #controls button.primary { color: var(--deck); background: var(--wash); }
.table #controls button.primary:hover { background: var(--deck-ink); }
.table #controls button:not(.primary), .table select, .table textarea { color: var(--ink); }
.table :focus-visible { outline-color: #ffdc95; }
.table #reset, .table #settings label, .table #settings summary, .table .message { color: var(--deck-ink); }
.table #settings label { accent-color: var(--wash); }

.restore-actions { display: grid; justify-items: start; gap: .4rem; }
#restore-status { color: var(--muted); font-size: .88rem; }
#restore-status:empty { display: none; }
.receipt-restore form { display: grid; gap: .65rem; padding-bottom: .4rem; }
.receipt-restore label { display: grid; gap: .2rem; font-size: .85rem; }
.receipt-restore input { min-height: 44px; width: 100%; padding: .3rem .5rem; color: var(--ink); background: var(--paper); }
.receipt-restore button { justify-self: start; }
.receipt-restore p, #purchase-receipt { font-size: .85rem; }
#paypal-buttons:empty:not([hidden])::before {
  content: "";
  display: block;
  height: 48px;
  border-radius: .4rem;
  background: var(--line);
  box-shadow: 0 56px 0 var(--line);
  opacity: .55;
}

.occasion-links { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .8rem; }
.occasion-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .2rem .65rem;
  border: 1px solid var(--line); border-radius: 1rem; font-size: .85rem; font-weight: 600;
}
.occasion-group { margin-bottom: 1.65rem; scroll-margin-top: .75rem; }
.occasion-group h3 { font-size: 1.85rem; margin-bottom: .55rem; }
.occasion-group .catalog-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); }
.occasion-group .featured-game { grid-column: 1 / -1; }

/* Leave room for the occasion navigation and first deck near the lobby fold. */
.lobby-copy h1 { font-size: clamp(2.05rem, 7.7vw, 5.35rem); }
@media (max-width: 639px) {
  .lobby-hero { grid-template-columns: minmax(0, 1.85fr) minmax(82px, 1fr); padding-block: 1.15rem; }
}
@media (min-width: 740px) {
  .lobby-hero { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}

.footer-policies { display: flex; flex-wrap: wrap; gap: .7rem; }
.footer-policies a { display: inline-flex; min-height: 44px; align-items: center; }
