:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f7f3ff;
  background: #100d18;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --page: #100d18;
  --surface: #191523;
  --surface-raised: #211b2e;
  --line: rgb(255 255 255 / 9%);
  --muted: #aaa4b7;
  --purple: #a56bff;
  --purple-bright: #be91ff;
  --orange: #ff9a54;
  --green: #81e4b0;
  --content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 12% 1%, rgb(91 52 141 / 16%), transparent 34rem),
    radial-gradient(ellipse at 95% 22%, rgb(125 61 37 / 10%), transparent 28rem),
    var(--page);
}

body,
button,
input,
select {
  font-family: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button,
select {
  font-size: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

::selection {
  color: #160f21;
  background: #c099ff;
}

.app-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header,
.setup-header {
  display: flex;
  width: min(calc(100% - 2.5rem), var(--content-width));
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-size: 0.93rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgb(190 145 255 / 42%);
  border-radius: 11px;
  background: linear-gradient(145deg, #9253e8, #59339b);
  box-shadow: 0 5px 24px rgb(136 77 219 / 27%);
  font-size: 0.7rem;
  letter-spacing: -0.03em;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.local-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #c4bdcf;
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.11em;
}

.local-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgb(129 228 176 / 55%);
  content: "";
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #190f22;
  background: linear-gradient(115deg, #c08aff, #9b64ee 55%, #ffad68);
  box-shadow: 0 10px 28px rgb(148 89 226 / 24%);
}

.button--primary:hover {
  box-shadow: 0 13px 34px rgb(148 89 226 / 37%);
}

.button--outline {
  border-color: rgb(255 255 255 / 15%);
  color: #f4efff;
  background: rgb(255 255 255 / 3%);
}

.button--outline:hover {
  background: rgb(255 255 255 / 8%);
}

.button--small {
  min-height: 39px;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  font-size: 0.76rem;
}

.button--large {
  min-height: 56px;
  padding: 0.95rem 1.45rem;
  border-radius: 14px;
  font-size: 0.9rem;
  letter-spacing: 0.025em;
}

.page-content {
  padding: 2rem 0 5.5rem;
}

.content-container {
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: 365px;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  align-items: center;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid rgb(208 171 255 / 14%);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 77% 55%, rgb(177 104 255 / 25%), transparent 19rem),
    radial-gradient(ellipse at 98% 4%, rgb(255 154 84 / 16%), transparent 19rem),
    linear-gradient(115deg, #21182f, #241a32 58%, #21182a);
  box-shadow: 0 26px 70px rgb(0 0 0 / 20%), inset 0 1px rgb(255 255 255 / 5%);
}

.hero::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 17%) 0.7px, transparent 0.7px);
  background-size: 20px 20px;
  content: "";
  mask-image: linear-gradient(90deg, transparent 20%, #000);
  opacity: 0.18;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--purple-bright);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.hero__title {
  max-width: 670px;
  margin: 0;
  font-size: clamp(2.4rem, 6.7vw, 5rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

.text-gradient {
  color: transparent;
  background: linear-gradient(100deg, #c095ff 4%, #a478f8 44%, #ffad6e 93%);
  background-clip: text;
}

.hero__description {
  max-width: 460px;
  margin: 1.2rem 0 0;
  color: #c2bacd;
  font-size: clamp(0.94rem, 2vw, 1.08rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.65rem;
}

.hero__secondary-link,
.text-link {
  color: #ded5e9;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration-color: rgb(222 213 233 / 45%);
  text-underline-offset: 4px;
}

.hero__secondary-link:hover,
.text-link:hover {
  color: #fff;
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 245px;
  place-items: center;
}

.hero-art__ring {
  position: absolute;
  display: block;
  border: 1px solid rgb(198 160 255 / 23%);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.hero-art__ring--outer {
  width: 225px;
  height: 180px;
}

.hero-art__ring--inner {
  width: 164px;
  height: 214px;
  border-color: rgb(255 174 111 / 27%);
  transform: rotate(38deg);
}

.hero-art__emoji {
  z-index: 1;
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 38px;
  background: linear-gradient(145deg, #392650, #251c36);
  box-shadow: 0 20px 70px rgb(0 0 0 / 33%), inset 0 1px rgb(255 255 255 / 13%);
  font-size: 4.1rem;
  transform: rotate(-8deg);
  animation: float 4s ease-in-out infinite;
}

.hero-art__spark {
  position: absolute;
  color: #ffd28d;
  font-size: 1.55rem;
}

.hero-art__spark--one {
  top: 16%;
  right: 14%;
}

.hero-art__spark--two {
  bottom: 17%;
  left: 12%;
  color: #c19aff;
  font-size: 1.3rem;
}

.hero-art__caption {
  position: absolute;
  right: 3%;
  bottom: 4%;
  color: #d3b6ff;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1.15rem 0 4.3rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.stats-strip li {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 0.7rem;
  padding: 0 1.2rem;
  border-right: 1px solid var(--line);
}

.stats-strip li:first-child {
  padding-left: 0;
}

.stats-strip li:last-child {
  border-right: 0;
}

.stats-strip strong {
  color: #f2dfff;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.stats-strip span {
  color: var(--muted);
  font-size: 0.72rem;
}

.featured-section,
.quick-section,
.catalog-section {
  margin-top: 4.3rem;
}

.section-heading {
  margin-bottom: 1.35rem;
}

.section-heading .eyebrow {
  margin-bottom: 0.45rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.section-heading__description {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.game-card {
  --card-accent: #bb8bff;
  display: flex;
  min-width: 0;
  min-height: 252px;
  flex-direction: column;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgb(36 29 49 / 92%), rgb(25 21 35 / 96%));
  box-shadow: 0 8px 26px rgb(0 0 0 / 12%);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--card-accent) 48%, transparent);
  box-shadow: 0 15px 34px rgb(0 0 0 / 23%);
}

.game-card--orange {
  --card-accent: #ffad6c;
}

.game-card--pink {
  --card-accent: #ff89b5;
}

.game-card--blue {
  --card-accent: #84c8ff;
}

.game-card__art {
  position: relative;
  display: flex;
  height: 82px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--card-accent) 15%, transparent);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--card-accent) 27%, transparent), transparent 70%),
    color-mix(in srgb, var(--card-accent) 7%, #1c1826);
}

.game-card__glow {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--card-accent);
  filter: blur(35px);
  opacity: 0.2;
}

.game-card__icon {
  z-index: 1;
  font-size: 2.3rem;
  filter: drop-shadow(0 5px 12px rgb(0 0 0 / 30%));
  transition: transform 180ms ease;
}

.game-card:hover .game-card__icon {
  transform: scale(1.12) rotate(-5deg);
}

.game-card__body {
  flex: 1;
  padding: 0.9rem 0 0.65rem;
}

.game-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.game-card__category {
  color: var(--card-accent);
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #aaa4b4;
  font-size: 0.63rem;
  font-weight: 700;
}

.game-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #827a8d;
  content: "";
}

.game-status--available {
  color: #a5ecc5;
}

.game-status--available::before {
  background: var(--green);
  box-shadow: 0 0 9px rgb(129 228 176 / 50%);
}

.game-card h3 {
  margin: 0.55rem 0 0;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.game-card__description {
  min-height: 2.9em;
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.5;
}

.game-card__players {
  margin: 0.65rem 0 0;
  color: #8c8499;
  font-size: 0.69rem;
}

.game-card__action {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--card-accent) 30%, transparent);
  border-radius: 10px;
  color: var(--card-accent);
  background: color-mix(in srgb, var(--card-accent) 7%, transparent);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease;
}

.game-card__action[href]:hover {
  background: color-mix(in srgb, var(--card-accent) 15%, transparent);
}

.game-card__action--disabled {
  border-color: var(--line);
  color: #847d8d;
  background: rgb(255 255 255 / 2%);
  cursor: default;
}

.game-card--featured {
  min-height: 215px;
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: 1rem;
  padding: 1rem;
}

.game-card--featured .game-card__art {
  height: auto;
  min-height: 125px;
  grid-row: 1 / 3;
}

.game-card--featured .game-card__body {
  padding-top: 0.2rem;
}

.game-card--featured .game-card__action {
  grid-column: 2;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.quick-action {
  min-width: 0;
  min-height: 135px;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(145deg, #1d1828, #17131f);
  transition: border-color 160ms ease, transform 160ms ease;
}

.quick-action:has(.quick-action__link:hover) {
  transform: translateY(-3px);
  border-color: rgb(188 141 255 / 32%);
}

.quick-action__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.quick-action__icon {
  color: #c49bff;
  font-size: 1.2rem;
  font-weight: 800;
}

.quick-action__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.8rem;
}

.quick-action__copy strong {
  font-size: 0.78rem;
}

.quick-action__copy > span {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.quick-action__arrow {
  align-self: flex-end;
  color: var(--purple-bright);
}

.quick-action--upcoming {
  position: relative;
  opacity: 0.7;
}

.coming-soon-tag {
  display: inline-flex;
  margin-top: 0.55rem;
  color: #b7adca;
  font-size: 0.59rem;
  font-weight: 750;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 2.5rem), var(--content-width));
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: #9991a5;
  font-size: 0.73rem;
}

.site-footer p {
  margin: 0;
}

.site-footer__brand {
  color: #eee5fa;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.site-footer__version {
  color: #8f879b;
}

.setup-shell,
.game-shell {
  display: flex;
  flex-direction: column;
}

.setup-header {
  flex-shrink: 0;
}

.setup-header > .brand {
  font-size: 0.85rem;
}

.setup-main {
  display: grid;
  width: min(calc(100% - 2rem), 600px);
  flex: 1;
  align-content: center;
  gap: 1.5rem;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.setup-heading h1,
.game-heading h1 {
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  font-weight: 950;
  letter-spacing: -0.065em;
}

.setup-heading > p:last-child {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.setup-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.1rem, 5vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, #201a2c, #191521);
  box-shadow: 0 22px 65px rgb(0 0 0 / 23%);
}

.form-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.form-section-heading h2 {
  margin: 0;
  font-size: 1rem;
}

.form-hint {
  color: #a59bad;
  font-size: 0.72rem;
}

.player-list {
  display: grid;
  gap: 0.65rem;
}

.player-field {
  display: flex;
  gap: 0.55rem;
}

.text-input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 11px;
  color: #fff;
  background: #15111d;
  font-size: 0.9rem;
}

.text-input::placeholder {
  color: #81798d;
}

.remove-player {
  width: 48px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #d3c5e1;
  background: #211b2b;
  cursor: pointer;
  font-size: 1.4rem;
}

.remove-player:hover {
  border-color: rgb(255 139 181 / 45%);
  color: #ff9fbd;
}

.add-player {
  align-self: flex-start;
  min-height: 42px;
  padding: 0.4rem 0.65rem;
  border: 0;
  color: #c7a6ff;
  background: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 750;
}

.add-player:hover:not(:disabled) {
  color: #e0cbff;
}

.add-player:disabled {
  color: #80778d;
  cursor: not-allowed;
}

.form-label {
  margin-top: 0.15rem;
  font-size: 0.79rem;
  font-weight: 750;
}

.game-select {
  cursor: pointer;
}

.setup-note {
  margin: 0;
  color: #a59bad;
  font-size: 0.75rem;
  line-height: 1.5;
}

.form-error {
  min-height: 0;
  margin: 0;
  color: #ff9fbd;
  font-size: 0.8rem;
}

.setup-actions {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0.65rem;
  margin-top: 0.3rem;
}

.game-main {
  display: flex;
  width: min(calc(100% - 2rem), 720px);
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.game-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.game-round {
  color: #bca3df;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.text-link {
  text-decoration: none;
}

.game-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.game-heading__icon {
  display: grid;
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid rgb(190 145 255 / 25%);
  border-radius: 18px;
  background: #251b34;
  font-size: 2rem;
}

.game-heading .eyebrow {
  margin-bottom: 0.25rem;
}

.game-heading h1 {
  font-size: clamp(1.8rem, 6vw, 2.8rem);
}

.prompt-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(1.5rem, 6vw, 3rem);
  border: 1px solid rgb(199 160 255 / 20%);
  border-radius: 23px;
  background:
    radial-gradient(ellipse at 100% 0%, rgb(255 155 85 / 13%), transparent 55%),
    linear-gradient(135deg, #261e36, #1b1725);
  box-shadow: 0 22px 60px rgb(0 0 0 / 22%), inset 0 1px rgb(255 255 255 / 5%);
}

.prompt-card__label {
  margin: 0 0 1rem;
  color: #c49dff;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.prompt-card__text {
  max-width: 590px;
  margin: 0;
  font-size: clamp(1.55rem, 5.3vw, 2.6rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.prompt-card--complete {
  border-color: rgb(129 228 176 / 25%);
}

.prompt-card--complete .prompt-card__label {
  color: var(--green);
}

.game-players {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.game-players__label {
  color: #a499b2;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.game-players p {
  margin: 0;
  color: #ded6e9;
  font-size: 0.86rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.game-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

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

@media (max-width: 850px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-action {
    min-height: 120px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 1rem;
  }

  .site-header,
  .setup-header {
    width: calc(100% - 2rem);
    min-height: 66px;
  }

  .brand {
    gap: 0.55rem;
    font-size: 0.76rem;
  }

  .brand__mark {
    width: 32px;
    height: 32px;
  }

  .site-header__actions {
    gap: 0.65rem;
  }

  .site-header__actions .local-status {
    font-size: 0;
  }

  .site-header__actions .local-status::before {
    width: 8px;
    height: 8px;
  }

  .button--small {
    min-height: 38px;
    padding: 0.45rem 0.6rem;
    font-size: 0.68rem;
  }

  .content-container,
  .site-footer {
    width: calc(100% - 2rem);
  }

  .page-content {
    padding: 1rem 0 3.5rem;
  }

  .hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: 2rem 1.35rem 1.1rem;
    border-radius: 20px;
  }

  .hero__title {
    max-width: 430px;
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .hero__description {
    margin-top: 0.85rem;
    font-size: 0.92rem;
  }

  .hero__actions {
    gap: 0.9rem;
    margin-top: 1.2rem;
  }

  .hero__actions .button {
    flex: 1;
  }

  .hero-art {
    min-height: 150px;
  }

  .hero-art__ring--outer {
    width: 185px;
    height: 125px;
  }

  .hero-art__ring--inner {
    width: 128px;
    height: 165px;
  }

  .hero-art__emoji {
    width: 86px;
    height: 86px;
    border-radius: 27px;
    font-size: 2.8rem;
  }

  .hero-art__caption {
    right: 10%;
    bottom: 0;
  }

  .stats-strip {
    margin: 0.8rem 0 3.3rem;
    padding: 0.9rem 0;
  }

  .stats-strip li {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.15rem;
    padding: 0 0.6rem;
  }

  .stats-strip strong {
    font-size: 1.06rem;
  }

  .stats-strip span {
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .featured-section,
  .quick-section,
  .catalog-section {
    margin-top: 3.3rem;
  }

  .featured-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-card--featured {
    min-height: 190px;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .game-card--featured .game-card__art {
    min-height: 116px;
  }

  .game-card--featured .game-card__description {
    font-size: 0.72rem;
  }

  .game-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .game-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    column-gap: 0.85rem;
    padding: 0.75rem;
    border-radius: 15px;
  }

  .game-card__art {
    height: auto;
    min-height: 100px;
    grid-row: 1 / 3;
  }

  .game-card__icon {
    font-size: 1.9rem;
  }

  .game-card__body {
    padding: 0.1rem 0 0.5rem;
  }

  .game-card h3 {
    margin-top: 0.42rem;
    font-size: 0.94rem;
  }

  .game-card__description {
    min-height: auto;
    margin-top: 0.28rem;
    font-size: 0.72rem;
  }

  .game-card__players {
    margin-top: 0.45rem;
  }

  .game-card__action {
    min-height: 37px;
    grid-column: 2;
    font-size: 0.7rem;
  }

  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .quick-action {
    min-height: 130px;
    padding: 0.75rem;
  }

  .quick-action__copy strong {
    font-size: 0.73rem;
  }

  .quick-action__copy > span {
    font-size: 0.64rem;
  }

  .site-footer {
    min-height: 100px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 0.75rem;
    padding: 1rem 0;
    font-size: 0.66rem;
  }

  .site-footer p {
    order: 1;
    width: 100%;
  }

  .setup-main,
  .game-main {
    width: calc(100% - 2rem);
    padding-top: 1.8rem;
  }

  .setup-heading h1 {
    font-size: 2.45rem;
  }

  .setup-card {
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 16px;
  }

  .setup-actions {
    grid-template-columns: 1fr;
  }

  .game-main {
    gap: 1.2rem;
  }

  .game-round {
    font-size: 0.6rem;
  }

  .game-heading__icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }

  .prompt-card {
    min-height: 235px;
    border-radius: 18px;
  }

  .game-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
