/* Lobby Cove — "the lobby before a match": warm paper, sky blue, sunny yellow, charcoal ink.
   Chunky ink outlines and hard offset shadows (after Playdate and Fictional), pixel clouds (after Obscura).
   Signature detail: seat dots — one dot per player a match takes. Bricolage Grotesque for display, Public Sans for text. */
:root {
  --paper: #fff8ec;
  --white: #fffdf8;
  --sky: #cfe6ff;
  --sky-2: #8ec5ff;
  --sun: #ffd23f;
  --orange: #ff6a2b;
  --mint: #7ddbb2;
  --ink: #262626;
  --ink-2: #4b4b4b;
  --hair: rgba(38, 38, 38, .16);
  --b: 2.5px;
  --r: 22px;
  --shadow: 5px 5px 0 var(--ink);
  --gut: 32px;
  --max: 1240px;
  --display: 'Bricolage Grotesque', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --text: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (max-width: 760px) { :root { --gut: 16px; --r: 18px; --shadow: 4px 4px 0 var(--ink); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--text); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--ink); padding: 10px 16px; z-index: 50; font-weight: 700; border: var(--b) solid var(--ink); border-radius: 99px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* type */
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 104px); line-height: .96; }
h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1; }
h3 { font-size: clamp(23px, 2vw, 28px); line-height: 1.1; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.deck { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; max-width: 36em; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px 7px 9px; background: var(--white); border: var(--b) solid var(--ink); border-radius: 99px; font: 700 14px/1.2 var(--text); }
.kicker::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); }
.kicker--plain { background: none; }
.meta { font: 600 14px/1.4 var(--text); color: var(--ink-2); }
.textlink { font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.textlink:hover { text-decoration-color: var(--ink); }

/* buttons: pills with an ink outline and a hard shadow */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 12px 22px; border: var(--b) solid var(--ink); border-radius: 99px; background: var(--white); color: var(--ink); font: 700 16px/1.1 var(--text); text-decoration: none; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--go { background: var(--sun); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }

/* header */
.mast { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: var(--b) solid var(--ink); }
.mast .wrap { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 25px/1 var(--display); letter-spacing: -.03em; }
.logo svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; padding: 9px 14px; border-radius: 99px; border: var(--b) solid transparent; }
.nav a:hover { border-color: var(--ink); }
.nav a[aria-current="page"] { background: var(--sun); border-color: var(--ink); }
.menu-btn { display: none; margin-left: auto; min-height: 44px; padding: 0 18px; border: var(--b) solid var(--ink); border-radius: 99px; background: var(--white); color: var(--ink); font: 700 15px/1 var(--text); cursor: pointer; }
@media (max-width: 1060px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; padding: 8px var(--gut) 20px; gap: 0; border-bottom: var(--b) solid var(--ink); }
  .nav.open { display: flex; }
  .nav a { padding: 15px 4px; font-size: 18px; border-radius: 0; border: 0; border-bottom: 1px solid var(--hair); }
  .nav a[aria-current="page"] { background: none; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; }
}

/* pixel clouds (decoration only, after Obscura) */
.sky { position: relative; background: var(--sky); border-bottom: var(--b) solid var(--ink); overflow: hidden; }
.cloud { position: absolute; width: 10px; height: 10px; background: transparent; pointer-events: none;
  box-shadow: 20px 0 #fff, 30px 0 #fff, 40px 0 #fff, 10px 10px #fff, 20px 10px #fff, 30px 10px #fff, 40px 10px #fff, 50px 10px #fff, 60px 10px #fff,
    0 20px #fff, 10px 20px #fff, 20px 20px #fff, 30px 20px #fff, 40px 20px #fff, 50px 20px #fff, 60px 20px #fff, 70px 20px #fff, 80px 20px #fff,
    0 30px #fff, 10px 30px #fff, 20px 30px #fff, 30px 30px #fff, 40px 30px #fff, 50px 30px #fff, 60px 30px #fff, 70px 30px #fff, 80px 30px #fff, 90px 30px #fff; }
.cloud--a { left: 4%; top: 34px; }
.cloud--b { right: 9%; top: 18px; transform: scale(1.4); transform-origin: 0 0; }
.cloud--c { left: 46%; bottom: 40px; transform: scale(.8); transform-origin: 0 0; }
@media (max-width: 760px) { .cloud--c { display: none; } .cloud--b { right: 2%; top: 10px; } }

/* home hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); position: relative; z-index: 1; }
.hero h1 { margin-bottom: 22px; font-size: clamp(42px, 5.6vw, 84px); }
.hero h1 em { font-style: normal; background: var(--sun); padding: 0 .12em; border-radius: .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero .deck { margin-bottom: 28px; }
.frame { position: relative; margin: 0; border: 3px solid var(--ink); border-radius: var(--r); background: var(--white); box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.frame figcaption { padding: 10px 14px; border-top: var(--b) solid var(--ink); font-size: 14px; color: var(--ink-2); background: var(--white); }
.hero-art { position: relative; }
.sticker { position: absolute; z-index: 2; right: -8px; top: -26px; width: 132px; height: 132px; display: grid; place-items: center; text-align: center; transform: rotate(9deg);
  font: 800 17px/1.05 var(--display); letter-spacing: -.02em; color: var(--ink); background: var(--orange);
  clip-path: polygon(50% 0, 61% 14%, 79% 7%, 82% 25%, 100% 29%, 92% 46%, 100% 63%, 83% 70%, 80% 89%, 62% 84%, 50% 100%, 38% 84%, 20% 89%, 17% 70%, 0 63%, 8% 46%, 0 29%, 18% 25%, 21% 7%, 39% 14%); }
.sticker span { display: block; max-width: 84px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .sticker { width: 104px; height: 104px; font-size: 14px; right: 6px; top: -22px; }
}

/* seat dots: the signature. One dot per player in a full match; a counter after the dots for big lobbies. */
.seats { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 0; padding: 0; list-style: none; }
.seats i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); background: var(--c, var(--sun)); flex: none; }
.seats i.o { background: var(--white); }
.seats b { font: 800 15px/1 var(--display); margin-left: 4px; }
.seats--big i { width: 24px; height: 24px; border-width: 2.5px; }
.lobby .seats i, .anim .seats i { animation: pop .35s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--k, 0) * 45ms + var(--row, 0) * 120ms); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

/* the lobby panel on the home page */
.lobby { background: var(--white); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.lobby-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 16px 22px; background: var(--sun); border-bottom: 3px solid var(--ink); }
.lobby-head h2 { font-size: clamp(24px, 2.4vw, 32px); }
.ready { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 2px solid var(--ink); border-radius: 99px; background: var(--mint); font: 700 14px/1.2 var(--text); white-space: nowrap; }
.ready::before { content: "✓"; font-weight: 800; }
.lobby ol { list-style: none; margin: 0; padding: 0; }
.lrow { display: grid; grid-template-columns: 54px minmax(0, 1.1fr) minmax(0, 1.5fr) auto; gap: 18px; align-items: center; padding: 16px 22px; border-bottom: 1.5px solid var(--hair); text-decoration: none; }
.lobby li:last-child .lrow { border-bottom: 0; }
.lrow:hover { background: #fff3cf; }
.lrow img { width: 54px; height: 54px; border-radius: 50%; border: var(--b) solid var(--ink); object-fit: cover; }
.lrow strong { display: block; font: 800 21px/1.15 var(--display); letter-spacing: -.015em; }
.lrow small { display: block; font-size: 15px; color: var(--ink-2); line-height: 1.35; margin-top: 3px; }
.lrow .seat-say { display: block; font-size: 14px; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 760px) {
  .lrow { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 14px; padding: 14px 16px; }
  .lrow img { width: 44px; height: 44px; grid-row: span 2; }
  .lrow .ready { display: none; }
  .lobby-head { padding: 14px 16px; }
}

/* sections */
.block { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.block--tight { padding-top: 0; }
.band { background: var(--sky); border-top: var(--b) solid var(--ink); border-bottom: var(--b) solid var(--ink); }
.band--sun { background: #ffe58a; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head--solo { grid-template-columns: 1fr; }
.sec-side { margin: 0; font-size: 18px; max-width: 32em; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } }

/* game cards */
.games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 36px); }
@media (max-width: 1060px) { .games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .games { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: var(--white); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.card-art { display: block; border-bottom: 3px solid var(--ink); background: var(--sky); }
.card-art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px 24px; flex: 1; }
.card-tag { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0; font-size: 14px; font-weight: 700; }
.card-tag span { padding: 3px 10px; border: 2px solid var(--ink); border-radius: 99px; background: var(--c, var(--sun)); }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; }
.card p { margin: 0; }
.card .textlink { margin-top: auto; align-self: flex-start; }
.rating { display: flex; align-items: center; gap: 12px; margin: 0; }
.rating b { font: 800 34px/1 var(--display); letter-spacing: -.03em; padding: 6px 10px; border: var(--b) solid var(--ink); border-radius: 12px; background: var(--sun); }
.rating span { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.facts-mini { margin: 0; display: grid; gap: 0; border-top: 1.5px solid var(--hair); }
.facts-mini div { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1.5px solid var(--hair); font-size: 15.5px; line-height: 1.4; }
.facts-mini dt { font-weight: 700; }
.facts-mini dd { margin: 0; }

/* filters and chips */
.filters { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip, .chips label span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: var(--b) solid var(--ink); border-radius: 99px; background: var(--white); font: 600 15.5px/1.2 var(--text); cursor: pointer; color: var(--ink); }
.chip[aria-pressed="true"], .chips input:checked + span { background: var(--sun); box-shadow: 3px 3px 0 var(--ink); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }
.check { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); }
.empty { padding: 20px; border: var(--b) dashed var(--ink); border-radius: var(--r); }

/* planner */
.planner { display: grid; gap: 22px; margin-bottom: 30px; }
.planner fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.planner legend { font: 800 19px/1.2 var(--display); margin-bottom: 12px; padding: 0; }
.plan-out { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: p; }
.plan-out li { counter-increment: p; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 16px 18px; background: var(--white); border: var(--b) solid var(--ink); border-radius: 16px; }
.plan-out li::before { content: counter(p); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: var(--b) solid var(--ink); background: var(--sun); font: 800 20px/1 var(--display); }
.plan-out li.no::before { background: var(--white); }
.plan-out a { font: 800 21px/1.2 var(--display); text-decoration: none; }
.plan-out a:hover { text-decoration: underline; }
.plan-out p { margin: 0; font-size: 16px; line-height: 1.45; }
.plan-out .warn { color: #a3360b; font-weight: 600; }
.plan-mode { font-size: 14px; color: var(--ink-2); margin-left: 8px; font-weight: 600; }

/* players' ratings */
.votes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.votes li { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr) 4.2em; gap: 16px; align-items: center; }
.votes a { font: 800 20px/1.2 var(--display); text-decoration: none; }
.votes small { display: block; font: 500 14px/1.3 var(--text); color: var(--ink-2); }
.vbar { height: 26px; border: var(--b) solid var(--ink); border-radius: 99px; background: var(--white); overflow: hidden; }
.vbar i { display: block; height: 100%; background: var(--c, var(--sun)); border-right: var(--b) solid var(--ink); }
.votes b { font: 800 22px/1 var(--display); text-align: right; }
.votes-note { margin-top: 22px; font-size: 15px; color: var(--ink-2); max-width: 46em; }
@media (max-width: 680px) { .votes li { grid-template-columns: minmax(0, 1fr) 3.6em; gap: 6px 12px; } .vbar { grid-column: 1 / -1; grid-row: 2; } }

/* split section with art */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; }
.checks li::before { content: attr(data-n); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: var(--b) solid var(--ink); background: var(--mint); font: 800 18px/1 var(--display); }
.checks strong { display: block; font: 800 21px/1.2 var(--display); margin-bottom: 4px; }
.checks span { display: block; font-size: 17px; }

/* notes and standards */
.note-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.note-list a { display: block; height: 100%; padding: 20px 22px; background: var(--white); border: var(--b) solid var(--ink); border-radius: 16px; text-decoration: none; }
.note-list a:hover { box-shadow: 4px 4px 0 var(--ink); }
.note-list strong { display: block; font: 800 22px/1.15 var(--display); margin-top: 8px; }
@media (max-width: 900px) { .note-list { grid-template-columns: 1fr; } }
.standards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.standards a { display: grid; align-content: start; gap: 6px; padding: 20px; border: var(--b) solid var(--ink); border-radius: 16px; text-decoration: none; background: var(--white); }
.standards a:hover { background: #fff3cf; }
.standards strong { font: 800 22px/1.1 var(--display); }
.standards span:last-child { font-size: 16px; }
@media (max-width: 1060px) { .standards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .standards { grid-template-columns: 1fr; } }

/* inner pages */
.inner-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); position: relative; z-index: 1; }
.inner-hero--plain .wrap { grid-template-columns: 1fr; }
.inner-hero h1 { font-size: clamp(40px, 5.6vw, 80px); margin-bottom: 20px; }
.inner-hero .deck { margin: 0; }
@media (max-width: 900px) { .inner-hero .wrap { grid-template-columns: 1fr; } }
.article { max-width: 820px; }
.article h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 18px; }
.article h3 { margin: 30px 0 10px; }
.article p, .article li { font-size: 18px; }
.article ul { padding-left: 1.2em; }
.article + .article { padding-top: 0; }
.article blockquote { margin: 0 0 1em; padding: 14px 20px; border-left: 6px solid var(--sun); background: var(--white); border-radius: 0 12px 12px 0; }

/* game page */
.game-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); position: relative; z-index: 1; }
@media (max-width: 900px) { .game-hero .wrap { grid-template-columns: 1fr; } }
.game-hero h1 { font-size: clamp(44px, 6.4vw, 92px); margin-bottom: 18px; }
.game-hero .rating { margin: 0 0 24px; }
.seatbox { padding: 22px 24px; background: var(--white); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); }
.seatbox h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 14px; }
.modes { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.modes li { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 6px 16px; padding-top: 12px; border-top: 1.5px solid var(--hair); font-size: 16.5px; }
.modes strong { font-weight: 700; }
@media (max-width: 560px) { .modes li { grid-template-columns: 1fr; } }
.facts { margin: 0; display: grid; border-top: var(--b) solid var(--ink); }
.facts div { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1.5px solid var(--hair); font-size: 17px; line-height: 1.45; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
@media (max-width: 560px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
.steps { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 14px; align-items: baseline; }
.steps span { font: 800 17px/1.2 var(--display); padding: 4px 10px; border: 2px solid var(--ink); border-radius: 99px; background: var(--sky); text-align: center; }
.steps div { font-size: 17.5px; }
.sources { padding-left: 1.2em; }
.sources li { font-size: 16px !important; margin-bottom: 6px; overflow-wrap: anywhere; }
.src-note { font-size: 15px; color: var(--ink-2); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit { padding: 20px 22px; border: var(--b) solid var(--ink); border-radius: 16px; background: var(--white); }
.fit--yes { background: #e2f7ee; }
.fit p:last-child { margin: 0; }
@media (max-width: 680px) { .fit-grid { grid-template-columns: 1fr; } }
.next-game { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px var(--gut); background: var(--sun); border-top: var(--b) solid var(--ink); text-decoration: none; font: 800 clamp(24px, 3vw, 40px)/1.1 var(--display); letter-spacing: -.02em; }
.next-game .meta { color: var(--ink); }
.next-game:hover span:last-child { text-decoration: underline; }

/* tables */
.table-wrap { overflow-x: auto; border: var(--b) solid var(--ink); border-radius: 16px; background: var(--white); }
table.facts-table { border-collapse: collapse; width: 100%; min-width: 860px; font-size: 15.5px; line-height: 1.4; }
.facts-table th, .facts-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1.5px solid var(--hair); }
.facts-table thead th { background: var(--sun); border-bottom: var(--b) solid var(--ink); font: 800 17px/1.2 var(--display); }
.facts-table tbody th { font-weight: 700; width: 10em; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }
table.cmp { min-width: 0; table-layout: fixed; }
.cmp tbody th { width: 30%; }
.cmp td { overflow-wrap: anywhere; }
@media (max-width: 560px) { table.cmp { font-size: 14.5px; } .cmp th, .cmp td { padding: 10px; } }

/* compare */
.compare-pick { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: end; margin-bottom: 28px; }
.compare-pick label { display: grid; gap: 6px; font-weight: 700; }
.compare-pick select { min-height: 48px; min-width: 15em; padding: 8px 14px; border: var(--b) solid var(--ink); border-radius: 12px; background: var(--white); font: 600 17px var(--text); color: var(--ink); }
.vs { font: 800 30px/1 var(--display); padding-bottom: 8px; }

/* notes page */
.notes { display: grid; gap: 22px; max-width: 900px; }
.note { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 26px 28px; background: var(--white); border: var(--b) solid var(--ink); border-radius: var(--r); }
.note-n { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: var(--b) solid var(--ink); background: var(--sky); font: 800 22px/1 var(--display); }
.note h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 6px 0 14px; }
.note p:last-child { margin: 0; }
@media (max-width: 560px) { .note { grid-template-columns: 1fr; padding: 20px; } }

/* art credits */
.art-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.art-list img { border: var(--b) solid var(--ink); border-radius: 14px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.art-list p { margin: 10px 0 0; font-size: 15.5px; }
@media (max-width: 900px) { .art-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .art-list { grid-template-columns: 1fr; } }

.big-mail { font: 800 clamp(26px, 4vw, 44px)/1.1 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }

/* footer */
.foot { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 88px) 0 28px; }
.foot a { color: var(--paper); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; }
.foot-grid p { font-size: 16.5px; max-width: 34em; }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; align-content: start; }
.foot-nav a { padding: 7px 0; font-weight: 600; text-decoration: none; font-size: 16.5px; }
.foot-nav a:hover { text-decoration: underline; text-decoration-color: var(--sun); }
.foot-mark { margin: clamp(40px, 6vw, 72px) 0 .3em; font: 800 min(15.5vw, 228px)/.85 var(--display); letter-spacing: -.05em; color: var(--sun); white-space: nowrap; }
.fine { font-size: 14px; color: #d8d2c4; max-width: 70em; margin: 0; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* cookie banner */
.cookie { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: 16px; max-width: 640px; margin: 0 auto; padding: 18px 20px; background: var(--white); border: 3px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow); transform: translateY(140%); transition: transform .35s ease; }
.cookie.show { transform: none; }
.cookie p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.45; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cookie .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }
body.cookie-open .to-top { bottom: var(--cookie-h, 20px); }

/* back to top */
.to-top { position: fixed; right: 18px; bottom: 20px; z-index: 30; width: 52px; height: 52px; border-radius: 50%; border: var(--b) solid var(--ink); background: var(--sun); box-shadow: 3px 3px 0 var(--ink); font: 800 22px/1 var(--display); color: var(--ink); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s, bottom .3s; }
.to-top.show { opacity: 1; pointer-events: auto; }
