:root {
  color-scheme: dark;
  /* Positions measured on the 1288 × 768 board artwork. */
  --card-w: 7.22%;
  --card-h: 15.23%;
  --slot-top: 19.01%;
  --tableau-top: 37.5%;
  --tableau-card-w: 7.45%;
  --tableau-card-h: 30.23%;

  --pile-0: 15.92%;
  --pile-1: 25.93%;
  --pile-2: 36.02%;
  --pile-3: 46.04%;
  --pile-4: 56.06%;
  --pile-5: 65.92%;
  --pile-6: 75.85%;

  --found-0: 49.92%;
  --found-1: 58.46%;
  --found-2: 67.00%;
  --found-3: 75.62%;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #08100b;
  font-family: "Tahoma", "Segoe UI", sans-serif;
  color: #f6ecd0;
}

button { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.game {
  /* Scale the original height extension with the board. The extra 4px is fixed. */
  --board-art: url("../assets/reference.png");
  --card-back-art: url("../assets/cards/back.webp");
  --card-height-extension: calc(1.022495cqw + 4px);
  --card-offset-x: 5px;
  --top-row-offset-y: 7px;
  position: relative;
  width: 978px;
  height: 584px;
  overflow: hidden;
  background: var(--board-art) center / 100% 100% no-repeat;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  isolation: isolate;
  container-type: inline-size;
}

@media (max-width: 978px), (max-height: 584px) {
  .game {
    width: min(100vw, calc(100vh * 978 / 584));
    height: auto;
    aspect-ratio: 978 / 584;
  }
}

.game--embedded {
  width: min(100vw, calc(100vh * 978 / 584));
  height: auto;
  aspect-ratio: 978 / 584;
  box-shadow: none;
}

.game--embedded .loading-screen-art {
  object-fit: cover;
}

.board {
  position: absolute;
  inset: 0 calc(-1 * var(--card-offset-x)) 0 var(--card-offset-x);
  z-index: 2;
  pointer-events: none;
}

.board .slot,
.board .card,
.board .tableau-pile {
  pointer-events: auto;
}

.slot {
  position: absolute;
  width: var(--card-w);
  height: var(--card-h);
  border-radius: 6px;
  background: transparent;
}

.stock,
.waste,
.foundation {
  top: calc(var(--slot-top) - var(--top-row-offset-y));
}

.stock,
.waste {
  top: calc(18.75% - var(--top-row-offset-y));
  width: 7.38%;
  height: 15.89%;
}

.stock {
  left: 15.76%;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.waste { left: 25.70%; }
#foundation-0 { left: var(--found-0); }
#foundation-1 { left: var(--found-1); }
#foundation-2 { left: var(--found-2); }
#foundation-3 { left: var(--found-3); }

.tableau-pile {
  position: absolute;
  top: var(--tableau-top);
  width: var(--tableau-card-w);
  height: 56%;
}
.tableau-pile[data-pile="0"] { left: var(--pile-0); }
.tableau-pile[data-pile="1"] { left: var(--pile-1); }
.tableau-pile[data-pile="2"] { left: var(--pile-2); }
.tableau-pile[data-pile="3"] { left: var(--pile-3); }
.tableau-pile[data-pile="4"] { left: var(--pile-4); }
.tableau-pile[data-pile="5"] { left: var(--pile-5); }
.tableau-pile[data-pile="6"] { left: var(--pile-6); }

.card {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  border-radius: 6px;
  user-select: none;
  touch-action: none;
}

.board .card {
  transform: translateY(calc(var(--card-height-extension) / -2));
}
.tableau-pile .card {
  height: calc(var(--tableau-card-h) + var(--card-height-extension));
}
.slot .card {
  height: calc(100% + var(--card-height-extension));
}

/* Cover the printed upper frames regardless of occupancy. */
.foundation::before,
.waste::before,
.stock::after {
  content: "";
  position: absolute;
  inset: 2px -9px -2.4cqw -6px;
  z-index: -1;
  pointer-events: none;
  background: var(--board-art) 44% 22% / 1120% 600% no-repeat;
  mask-image:
    linear-gradient(to right, transparent, #000 4px, #000 calc(100% - 4px), transparent),
    linear-gradient(to bottom, transparent, #000 4px, #000 calc(100% - 4px), transparent);
  mask-composite: intersect;
}

.foundation::before,
.waste::before {
  inset: -.3cqw -1.05cqw -2.4cqw -.8cqw;
}

.foundation::after,
.waste::after {
  content: attr(data-symbol);
  position: absolute;
  inset: calc(var(--card-height-extension) / -2) 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  border: max(1px, .17cqw) solid #ebbf59;
  border-radius: .95cqw;
  background: linear-gradient(150deg, rgba(0, 0, 0, .68), var(--foundation-fill, #116036));
  box-shadow: inset 0 0 .35cqw #ffe4a364, 0 .25cqw .4cqw #0008;
  color: var(--foundation-symbol, #a3cc67);
  font: bold 4.2cqw/1 Georgia, serif;
}

/* Empty slots show their frame. An occupied slot shows only the card. */
:is(.foundation, .waste):not(.empty)::after {
  visibility: hidden;
}

.foundation .card,
.waste .card { z-index: 1; }

.game[data-theme="red"] {
  --foundation-fill: #9c100b;
  --foundation-symbol: #ff7660;
}
.game[data-theme="undead"] {
  --foundation-fill: #431469;
  --foundation-symbol: #cf8fea;
}
.game[data-theme="ice"] {
  --foundation-fill: #075c94;
  --foundation-symbol: #a9def9;
}
.game[data-theme="gold"] {
  --foundation-fill: #a57a32;
  --foundation-symbol: #ffdf8b;
}

.card-back {
  background: var(--card-back-art) center / 100% 100% no-repeat;
}

.card-front {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
}
.card-front:active { cursor: grabbing; }
.card-front img {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.controls {
  position: absolute;
  top: 16.7%;
  left: 87.3%;
  width: 10.6%;
  height: 48.84%;
  display: grid;
  grid-template-rows: repeat(6, minmax(0, 1fr));
  row-gap: 4px;
  z-index: 3;
  pointer-events: none;
}

.ui-btn {
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: transparent;
  cursor: pointer;
  pointer-events: auto;
}
.ui-btn:focus-visible {
  outline: 3px solid #ffe58a;
  outline-offset: 2px;
  box-shadow: 0 0 10px rgba(255, 230, 120, 0.7);
}

.toast {
  position: absolute;
  left: 45%;
  bottom: 6%;
  transform: translateX(-50%) translateY(8px);
  padding: 8px 14px;
  border-radius: 16px;
  border: 1px solid rgba(230, 195, 100, 0.55);
  background: rgba(10, 34, 20, 0.92);
  color: #fff0c8;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  z-index: 5;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.card.hint {
  outline: 3px solid rgba(255, 235, 120, 0.95);
  outline-offset: 1px;
  box-shadow: 0 0 14px rgba(255, 230, 120, 0.85);
  z-index: 30;
}

.tableau {
  position: absolute;
  inset: 0;
}
.tableau-pile.empty::before,
.stock.empty::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: var(--tableau-card-h);
  border: 1px solid #b89749;
  border-radius: 6px;
  background: #073b27cc;
}
.tableau-pile.empty::before {
  border-color: #e7bd57;
  background: transparent;
}
.stock.empty::before {
  content: "↻";
  inset: calc(var(--card-height-extension) / -2) 0;
  height: auto;
  border-radius: .95cqw;
  display: grid;
  place-items: center;
  color: #ffe58a;
  font-size: clamp(15px, 3cqw, 30px);
  background: #073b27;
}
.illustrated-btn,
.illustrated-btn:disabled {
  display: grid;
  grid-template-columns: 29% 1fr;
  align-items: center;
  padding-inline: 0.85cqw;
  color: #ffedaa;
  font-size: clamp(7px, 1.25cqw, 13px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 2px #082315;
}
.control-icon {
  font-family: "Segoe UI Symbol", "DejaVu Sans", sans-serif;
  font-size: clamp(10px, 2.2cqw, 22px);
}
.illustrated-btn:disabled { cursor: default; filter: brightness(0.76); }
.selected,
.board .hint {
  outline: 2px solid #ffeb82;
  outline-offset: 1px;
}
.tableau-pile.hint {
  outline: none;
  filter: drop-shadow(0 0 4px #ffeb82);
}
.board .card.hint { z-index: auto; }
.toast {
  max-width: 80%;
  white-space: normal;
  text-align: center;
  font-size: clamp(10px, 1.5cqw, 14px);
}
#game-dialog {
  width: min(420px, 92vw);
  border: 1px solid #d6b257;
  border-radius: 12px;
  padding: 18px;
  background: #123a28;
  color: #fff0c8;
}
#game-dialog::backdrop { background: #0009; }
#game-dialog h2 { margin: 0; }
#game-dialog p { line-height: 1.6; }
#game-dialog button {
  padding: 6px 12px;
  margin-bottom: 6px;
  border: 1px solid #d6b257;
  border-radius: 6px;
  background: #23553b;
  color: inherit;
  cursor: pointer;
}
.game-shell:fullscreen {
  display: grid;
  place-items: center;
  background: #08100b;
}

.game-shell:fullscreen .game {
  width: min(100vw, calc(100dvh * 978 / 584));
  height: auto;
  aspect-ratio: 978 / 584;
}

.card.drag-preview {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  opacity: 0.9;
}

.game[data-theme="red"] {
  --card-back-art: url("../assets/cards/back-red.webp");
  --board-art: url("../assets/board-red.png");
  --tableau-top: 37.25%;
}

.game[data-theme="red"] .stock.empty::before {
  background: #4b0908;
}

.game[data-theme="undead"] {
  --card-back-art: url("../assets/cards/back-undead.webp");
  --board-art: url("../assets/board-undead.webp");
  --tableau-top: 37.35%;
  --slot-top: 19.0%;
  --pile-1: 25.85%;
  --pile-2: 36.00%;
  --pile-3: 46.09%;
  --pile-4: 56.00%;
  --pile-5: 65.89%;
  --pile-6: 75.78%;
}

.game[data-theme="undead"] .stock.empty::before {
  background: #241137;
}

.game[data-theme="ice"] {
  --card-back-art: url("../assets/cards/back-ice.webp");
  --board-art: url("../assets/board-ice.webp");
  --tableau-top: 37.35%;
  --slot-top: 19.1%;
  --pile-1: 25.85%;
  --pile-2: 36%;
  --pile-3: 46.09%;
  --pile-4: 56%;
  --pile-5: 65.89%;
  --pile-6: 75.78%;
}

.game[data-theme="ice"] .stock.empty::before {
  background: #103454;
  border: 1px solid #99d7ff;
}

.game[data-theme="red"] .ui-btn {
  color: #fff0c4;
  --button-fill: linear-gradient(#a63220, #420e0b 52%, #721c13);
  text-shadow: 0 1px 2px #2a0705;
}

.game[data-theme="undead"] .ui-btn {
  color: #f6e9ff;
  --button-fill: linear-gradient(#673b88, #1f102d 52%, #402154);
  text-shadow: 0 1px 2px #170a22;
}

.game:is([data-theme="undead"], [data-theme="red"]) .controls {
  height: 80.2%;
  grid-template-rows: repeat(4, minmax(0, 7.3fr)) minmax(0, 31.06fr)
    repeat(2, minmax(0, 7.3fr));
}

.game:is([data-theme="ice"], [data-theme="gold"]) .controls {
  /* Leave the portrait visible between the two groups. */
  height: 80.2%;
  grid-template-rows: repeat(3, minmax(0, 7.3fr)) minmax(0, 31.06fr)
    repeat(3, minmax(0, 7.3fr));
}

.game:is([data-theme="ice"], [data-theme="gold"]) #btn-hint { grid-row: 5; }
.game:is([data-theme="ice"], [data-theme="gold"], [data-theme="undead"], [data-theme="red"]) #btn-new { grid-row: 6; }
.game:is([data-theme="ice"], [data-theme="gold"], [data-theme="undead"], [data-theme="red"]) #btn-about { grid-row: 7; }

.game[data-theme="ice"] .ui-btn {
  color: #e9f9ff;
  --button-fill: linear-gradient(#28698f, #112d4e 52%, #184975);
  text-shadow: 0 1px 2px #07182b;
}

#open-badges {
  position: absolute;
  z-index: 3;
  bottom: 1%;
  left: 50%;
  transform: translateX(-50%);
  min-height: clamp(24px, 3.06cqw, 32px);
  padding: 0 .75em;
  white-space: nowrap;
  font-size: clamp(11px, 1.33cqw, 14px);
}

#open-badges, .badge-panel button {
  border: 1px solid #d8ac58;
  border-radius: 999px;
  background: #261920f5;
  color: #ffe4a4;
  cursor: pointer;
}

.badge-panel {
  width: min(460px, 94vw);
  padding: clamp(10px, 2cqw, 20px);
  border: 1px solid #d8ac58;
  border-radius: 12px;
  background: #181019;
  color: #ffe4a4;
  text-align: center;
}

.badge-panel::backdrop { background: #08050abd; }
.badge-panel h2 { margin: 0; font-size: clamp(13px, 2vw, 18px); }
.badge-panel p { margin: .65em 0; font-size: 14px; }
.badge-panel form { margin-top: .5em; }
.badge-panel button { padding: .35em .9em; }

.theme-badges {
  display: flex;
  justify-content: center;
  gap: clamp(3px, 1vw, 10px);
  margin: .75em 0;
  padding: 0;
  list-style: none;
}

.theme-badges li {
  display: grid;
  justify-items: center;
  gap: .08cqw;
  width: 17%;
  min-width: 0;
  font-size: clamp(10px, 1.5vw, 13px);
  line-height: 1.15;
}

.theme-badges .badge-choice::before,
.theme-badges .gold-seal-frame {
  content: "";
  width: min(85%, 58px);
  box-sizing: border-box;
  aspect-ratio: 1;
  border: 1px solid #ddb96a;
  border-radius: 19%;
  background: var(--badge-art) center / 96% no-repeat, #090912;
}

.theme-badges .badge-choice {
  display: grid;
  justify-items: center;
  gap: inherit;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
}

.theme-badges .gold-badge .badge-choice::before { content: none; }

.theme-badges .badge-choice:disabled { cursor: default; }

.theme-badges li:not(.earned) .badge-choice::before {
  opacity: .48;
  transition: opacity .15s ease;
}

.theme-badges .badge-choice:is(:hover, :focus-visible)::before { opacity: 1; }
.theme-badges .badge-choice:focus-visible { outline: 2px solid #ffe4a4; }

.theme-badges .gold-seal-frame {
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(#503419, #120b11);
}

.gold-seal {
  display: grid;
  place-items: center;
  width: 85%;
  aspect-ratio: 1;
  border: 2px solid #f6cf70;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 15deg, #ffdf7455 0deg 7deg, transparent 7deg 30deg),
    radial-gradient(#ce9a35, #60380c 63%, #281505 65%);
  box-shadow: inset 0 0 0 2px #69420f, inset 0 0 0 3px #e8ad42, 0 0 6px #ffbe4877;
  color: #fff7d7;
  font: bold clamp(15px, 3.9vw, 35px)/1 Georgia, serif;
  text-shadow: 0 0 5px #ffed7b, 0 1px 2px #7f4900;
  opacity: .4;
}

.gold-badge.earned .gold-seal { opacity: 1; }

.gold-seal-lock {
  position: absolute;
  bottom: 9%;
  right: 8%;
  width: 29%;
  height: 24%;
  border: 1px solid #ffe5a8;
  border-radius: 22%;
  background: radial-gradient(circle at center, #452706 14%, transparent 18%), linear-gradient(#ffe29e, #c1892f);
  box-shadow: 0 1px 3px #000;
}

.gold-seal-lock::before {
  content: "";
  position: absolute;
  inset: -58% 18% auto;
  height: 58%;
  border: 1px solid #ffe5a8;
  border-bottom: 0;
  border-radius: 90% 90% 0 0;
}

.gold-badge.earned .gold-seal-lock { display: none; }

[data-badge="green"] { --badge-art: url("../assets/badges/green.webp"); }
[data-badge="red"] { --badge-art: url("../assets/badges/red.webp"); }
[data-badge="undead"] { --badge-art: url("../assets/badges/undead.webp"); }
[data-badge="ice"] { --badge-art: url("../assets/badges/ice.webp"); }

#game-dialog { overflow: visible; }

.victory-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.victory-effects span {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: clamp(14px, 3vmin, 28px);
  color: var(--victory-color, #c7ff91);
  text-shadow: 0 0 9px currentColor;
  animation: victory-flight 1.2s ease-out both;
}

.victory-effects[data-theme="red"] { --victory-color: #ffb357; }
.victory-effects[data-theme="undead"] { --victory-color: #d39aff; }
.victory-effects[data-theme="ice"] { --victory-color: #b7efff; }

@keyframes victory-flight {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--flight-x), var(--flight-y)) rotate(85deg); }
}

@media (prefers-reduced-motion: reduce) {
  .victory-effects { display: none; }
}

.game[data-theme="gold"] {
  --board-art: url("../assets/board-gold.webp");
  --card-back-art: url("../assets/cards/back-gold.webp");
}

.game[data-theme="gold"] .stock.empty::before {
  background: #755222;
}

.victory-effects[data-theme="gold"] { --victory-color: #ffdb6c; }

.game[data-theme="gold"] .ui-btn {
  color: #fff5d4;
  --button-fill: linear-gradient(#9b6618, #4a2a06 48%, #956017);
  text-shadow: 0 1px 2px #261000;
}

#game-dialog[data-variant="victory"] {
  --panel-light: #174b37;
  --panel-dark: #071d15;
  --panel-edge: #a7d9a7;
  --panel-button: #174e37;
  isolation: isolate;
  width: min(440px, 92vw);
  padding: clamp(16px, 3vw, 25px);
  border-color: var(--panel-edge);
  background: linear-gradient(150deg, var(--panel-light), var(--panel-dark) 75%);
  color: #f8fbff;
  box-shadow: 0 14px 48px #0008;
}

.game[data-theme="ice"] #game-dialog[data-variant="victory"] {
  --panel-light: #164b82;
  --panel-dark: #06162d;
  --panel-edge: #b8dcff;
  --panel-button: #164775;
}

.game[data-theme="red"] #game-dialog[data-variant="victory"] {
  --panel-light: #6e2518;
  --panel-dark: #2c0c09;
  --panel-edge: #ffd3a1;
  --panel-button: #742a1c;
}

.game[data-theme="undead"] #game-dialog[data-variant="victory"] {
  --panel-light: #4d2c69;
  --panel-dark: #1a1029;
  --panel-edge: #dec7ff;
  --panel-button: #573476;
}

.game[data-theme="gold"] #game-dialog[data-variant="victory"] {
  --panel-light: #654414;
  --panel-dark: #281a06;
  --panel-edge: #ffe2a1;
  --panel-button: #624410;
}

#game-dialog[data-variant="victory"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: url("../assets/board-ice.webp") 51% 92% / 215% auto no-repeat;
  mask-image: radial-gradient(ellipse at 56% 72%, #000 12%, transparent 71%);
  mix-blend-mode: luminosity;
  opacity: 0.2;
  pointer-events: none;
}

#game-dialog[data-variant="victory"] .dialog-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#game-dialog[data-variant="victory"] button {
  min-height: 42px;
  margin: 0;
  font-weight: 700;
}

#game-dialog[data-variant="victory"] button:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}
#game-dialog[data-variant="victory"] form { display: none; }

/* Use the same illustrated gold rim for every button and every interaction state. */
.ui-btn,
#game-dialog button {
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 999px;
  background: transparent;
  transition: transform 130ms ease, filter 130ms ease;
}

.ui-btn::before,
#game-dialog button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--button-fill, linear-gradient(#286348, #062919 64%, #124331));
  mask: url("../assets/control-button.webp") center / 100% 100% no-repeat;
  pointer-events: none;
}

.ui-btn::after,
#game-dialog button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../assets/control-button-gold-frame.webp") center / 100% 100% no-repeat;
  pointer-events: none;
}

#game-dialog button { --button-fill: linear-gradient(#326048, #143a2a); }
#game-dialog[data-variant="victory"] button {
  --button-fill: linear-gradient(var(--panel-button), var(--panel-dark));
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ui-btn:not(:disabled):hover,
  #game-dialog button:not(:disabled):hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 3px 3px #0008);
  }
}

.ui-btn:not(:disabled):active,
#game-dialog button:not(:disabled):active {
  transform: translateY(1px);
}

/* Animated ambient effects are independent of the card and game layers. */
.fantasy-effects { position:absolute; inset:0; width:100%; height:100%; z-index:1; pointer-events:none; }
@media (prefers-reduced-motion: reduce) { .fantasy-effects { opacity: .6; } }

#loading-screen {
  position: absolute;
  inset: 0;
  z-index: 60;
  background: #0d1024;
}

.loading-screen-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#adventure-screen {
  position: absolute;
  inset: 0;
  z-index: 60;
  background: #0d1024;
}

#adventure-screen img {
  display: block;
  width: 100%;
  height: 100%;
}

#adventure-start,
#adventure-preference {
  position: absolute;
  cursor: pointer;
}

#adventure-start {
  inset: 53.51% auto auto 37.05%;
  width: 25.9%;
  height: 9.38%;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  #adventure-start { animation: adventure-glow 1.55s ease-in-out infinite alternate; }
}

@keyframes adventure-glow {
  from { box-shadow: 0 0 0 transparent; backdrop-filter: brightness(1); }
  to { box-shadow: 0 0 1.4cqw #ffbc6255; backdrop-filter: brightness(1.22); }
}

#adventure-preference {
  top: 65.3%;
  left: 40.1%;
  width: 20%;
  height: 4.4%;
}

#skip-adventure {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

#adventure-preference:has(input:checked)::after {
  content: "✓";
  position: absolute;
  top: 0;
  left: 2.4%;
  color: #ffe390;
  font: bold 1.85cqw/1.3 system-ui, sans-serif;
  pointer-events: none;
}

#adventure-start:focus-visible,
#adventure-preference:focus-within {
  outline: 2px solid #ffe390;
  outline-offset: 3px;
}
