@font-face { font-family: "Zilla Slab"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/zilla-slab-700.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/spectral-400.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/spectral-500.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/spectral-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/libre-franklin-500.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem;
  --text-display: clamp(2.5rem, 4.4vw + 1rem, 5rem); --text-section: clamp(1.9rem, 2.2vw + 1rem, 3rem); --text-title: clamp(1.25rem, 0.75vw + 0.9rem, 1.6rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 120ms; --dur-short: 220ms;
  --container: 1440px; --gutter: 64px; --gap-columns: 40px; --section-gap: 120px;

  --paper: oklch(94% 0.011 92); --paper-2: oklch(90.5% 0.015 88); --paper-3: oklch(87% 0.017 86);
  --ink: oklch(17% 0.012 60); --ink-2: oklch(27% 0.012 58); --muted: oklch(46% 0.014 60);
  --rule: oklch(68% 0.016 75); --rule-2: oklch(34% 0.012 60);
  --brick: oklch(44% 0.13 32); --on-brick: oklch(95% 0.012 90); --focus: oklch(48% 0.17 32);
  --error: oklch(52% 0.19 27); --ok: oklch(50% 0.12 150);

  --stage: oklch(23% 0.02 60); --stage-2: oklch(29% 0.022 60); --stage-3: oklch(36% 0.02 62); --stage-line: oklch(46% 0.02 65);
  --on-stage: oklch(94% 0.011 92); --on-stage-2: oklch(79% 0.016 85);
  --brass: oklch(74% 0.11 85); --brass-hi: oklch(86% 0.09 90); --on-brass: oklch(20% 0.02 60);
  --stage-ok: oklch(68% 0.11 155); --stage-bad: oklch(50% 0.15 28); --stage-bad-hi: oklch(70% 0.14 30);

  --f-display: "Zilla Slab", ui-serif, Georgia, serif; --f-body: "Spectral", ui-serif, Georgia, serif; --f-figure: "Libre Franklin", ui-sans-serif, sans-serif;
  --tracking-display: -0.02em;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--muted) var(--paper); scroll-padding-top: var(--space-xl); }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--f-body); -webkit-font-smoothing: antialiased; caret-color: var(--brick); }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--brick); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: color-mix(in oklab, var(--brick) 20%, transparent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 16ch; font-size: var(--text-display); margin: 0.2em 0 0.3em; }
h2 { max-width: 30ch; font-size: var(--text-section); margin: 1.2em 0 0.4em; }
h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; margin: 0 0 0.4em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
ul, ol { padding-left: 1.2em; }
.tpk-wrap { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.tpk-narrow { width: min(560px, 100% - 2 * var(--gutter)); }
.tpk-prose { width: min(780px, 100% - 2 * var(--gutter)); }
.tpk-prose p, .tpk-prose li { max-width: 68ch; }
.tpk-lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; color: var(--ink-2); }
.tpk-muted { color: var(--muted); }
.tpk-fine { font-size: var(--text-sm); max-width: 65ch; }
.tpk-note { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.4; }
.tpk-label { color: var(--muted); font-size: var(--text-sm); font-weight: 500; }
.tpk-num { font: 500 1em/1.2 var(--f-figure); font-variant-numeric: tabular-nums; }
.tpk-skip { position: absolute; left: 8px; top: -80px; background: var(--ink); color: var(--paper); padding: var(--space-sm) var(--space-md); z-index: 80; }
.tpk-skip:focus { top: 8px; }
.tpk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tpk-ico { display: inline-block; width: 1.25em; height: 1.25em; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; flex: none; }
.tpk-i-left { --i: url("../img/icons/caret-left.svg"); } .tpk-i-right { --i: url("../img/icons/caret-right.svg"); }
.tpk-i-search { --i: url("../img/icons/magnifying-glass.svg"); } .tpk-i-menu { --i: url("../img/icons/list.svg"); } .tpk-i-close { --i: url("../img/icons/x.svg"); }
.tpk-i-bell { --i: url("../img/icons/bell.svg"); } .tpk-i-seal { --i: url("../img/icons/seal-check.svg"); } .tpk-i-clock { --i: url("../img/icons/clock.svg"); }
.tpk-i-wheel { --i: url("../img/icons/aperture.svg"); } .tpk-i-quests { --i: url("../img/icons/list-checks.svg"); } .tpk-i-trophy { --i: url("../img/icons/trophy.svg"); }
.tpk-i-invite { --i: url("../img/icons/user-plus.svg"); } .tpk-i-coins { --i: url("../img/icons/coins.svg"); } .tpk-i-lock { --i: url("../img/icons/lock-key.svg"); } .tpk-i-shield { --i: url("../img/icons/shield-check.svg"); }

/* top strip: dateline, rubrics, account */
.tpk-strip { background: var(--paper-2); border-bottom: 1px solid var(--rule); font-size: var(--text-sm); }
.tpk-strip-bar { display: flex; align-items: center; gap: var(--space-lg); min-height: 52px; padding-block: var(--space-xs); }
.tpk-dateline { margin: 0; color: var(--muted); white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tpk-rubrics { display: flex; gap: var(--space-xs) var(--space-lg); flex: 1; min-width: 0; }
.tpk-rubrics a { color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap; padding-block: var(--space-xs); border-bottom: 1px solid transparent; }
.tpk-rubrics a:hover { border-bottom-color: var(--brick); }
.tpk-user-area { display: flex; align-items: center; gap: var(--space-sm); margin-left: auto; }
.tpk-pill { display: inline-flex; align-items: center; gap: var(--space-xs); border-block: 1px solid var(--ink); padding: var(--space-2xs) var(--space-sm); font: 500 0.9375rem/1.2 var(--f-figure); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tpk-pill .tpk-ico { color: var(--brick); }

/* masthead and contents */
.tpk-masthead { border-bottom: 5px double var(--rule-2); }
.tpk-mast { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-lg) var(--space-md); }
.tpk-brand { display: flex; align-items: center; gap: var(--space-md); color: var(--ink); text-decoration: none; font: 700 clamp(2.2rem, 5.6vw, 4.6rem)/1 var(--f-display); letter-spacing: var(--tracking-display); min-width: 0; }
.tpk-brand:hover { text-decoration: none; }
.tpk-brand img { width: clamp(44px, 6vw, 68px); height: auto; aspect-ratio: 1; flex: none; }
.tpk-brand span { overflow-wrap: break-word; min-width: 0; }
.tpk-nav-toggle { display: none; align-items: center; gap: var(--space-xs); border: 0; border-block: 1px solid var(--ink); background: none; color: var(--ink); padding: var(--space-xs) var(--space-md); cursor: pointer; font: 700 0.9375rem/1 var(--f-display); }
.tpk-nav-toggle:hover { background: var(--paper-2); }
.tpk-contents { border-top: 1px solid var(--rule); }
.tpk-contents ol { list-style: none; margin-block: 0; margin-inline: auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.tpk-contents li + li { border-left: 1px solid var(--rule); }
.tpk-contents a { display: grid; gap: var(--space-3xs); padding: var(--space-sm) var(--space-md) var(--space-sm) var(--space-md); color: var(--ink); text-decoration: none; height: 100%; position: relative; }
.tpk-contents li:first-child a { padding-left: 0; }
.tpk-contents a:hover .tpk-c-title { text-decoration: underline; text-decoration-color: var(--brick); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.tpk-c-title { font: 700 1.15rem/1.2 var(--f-display); }
.tpk-c-deck { display: none; color: var(--muted); font-size: var(--text-sm); line-height: 1.3; }
.tpk-contents a[aria-current="page"]::before { content: ""; position: absolute; left: 18px; top: 0; width: 28px; height: 3px; background: var(--brick); }
.tpk-contents li:first-child a[aria-current="page"]::before { left: 0; }
.tpk-notice-bar { background: var(--paper-2); border-bottom: 1px solid var(--rule); font-size: var(--text-sm); line-height: 1.45; color: var(--ink-2); }
.tpk-notice-bar .tpk-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); padding-block: var(--space-sm); }
.tpk-notice-bar p { margin: 0; max-width: 70ch; }
.tpk-notice-bar strong { color: var(--ink); }
.tpk-notice-bar a { font-weight: 500; white-space: nowrap; }

/* buttons: an ink rectangle beside one ruled top and bottom */
.tpk-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); border: 0; border-radius: 0; padding: var(--space-md) var(--space-lg); min-height: 48px; font: 700 1rem/1.1 var(--f-display); letter-spacing: 0; background: var(--ink); color: var(--paper); text-decoration: none; cursor: pointer; transition: background var(--dur-micro), color var(--dur-micro); }
.tpk-btn:hover { background: var(--ink-2); color: var(--paper); text-decoration: none; }
.tpk-btn:active { background: var(--rule-2); }
.tpk-btn.tpk-small { padding: var(--space-xs) var(--space-md); font-size: 0.9375rem; min-height: 44px; }
.tpk-btn.tpk-ghost { background: none; color: var(--ink); border-block: 1px solid var(--ink); }
.tpk-btn.tpk-ghost:hover { background: var(--paper-2); color: var(--ink); }
.tpk-btn.tpk-danger { background: none; color: var(--brick); border-block: 2px solid var(--brick); }
.tpk-btn.tpk-danger:hover { background: var(--paper-2); color: var(--brick); }
.tpk-btn.tpk-google { background: var(--paper-2); color: var(--ink); border-block: 1px solid var(--ink); }
.tpk-btn:disabled { background: var(--paper-3); color: var(--muted); cursor: not-allowed; }
.tpk-btn[aria-pressed="true"], button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tpk-btn-row { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; }

/* bell and toasts */
.tpk-bell-wrap { position: relative; }
.tpk-bell { position: relative; background: none; color: var(--ink); border: 1px solid var(--ink); border-radius: 0; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; font-size: 1.15rem; }
.tpk-bell:hover { background: var(--paper-3); }
.tpk-bell-count { position: absolute; top: -8px; right: -8px; background: var(--brick); color: var(--on-brick); font: 500 0.75rem/1 var(--f-figure); min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 var(--space-2xs); }
.tpk-bell-panel { position: absolute; right: 0; top: 48px; width: min(360px, 88vw); background: var(--paper); border: 1px solid var(--ink); border-top: 3px solid var(--ink); padding: var(--space-xs); z-index: 50; max-height: 70vh; overflow: auto; }
.tpk-bell-panel .tpk-note { padding: var(--space-sm); border-bottom: 1px solid var(--rule); font-size: var(--text-md); color: var(--ink); }
.tpk-bell-panel .tpk-note:last-child { border-bottom: 0; }
.tpk-bell-panel .tpk-note.tpk-unread strong::before { content: ""; display: inline-block; width: 12px; height: 3px; background: var(--brick); margin-right: var(--space-xs); vertical-align: middle; }
.tpk-bell-panel small, .tpk-bell-empty { color: var(--muted); }
.tpk-toasts { position: fixed; right: 16px; top: 64px; display: grid; gap: var(--space-sm); z-index: 70; width: min(360px, calc(100% - 32px)); max-height: 33vh; overflow: hidden; }
.tpk-toast { background: var(--paper); border: 1px solid var(--ink); padding: var(--space-sm) var(--space-md); animation: toast-in var(--dur-short) var(--ease-out); }
.tpk-toast strong { font: 700 1.05rem/1.2 var(--f-display); }
.tpk-toast strong::before { content: ""; display: inline-block; width: 12px; height: 3px; background: var(--brick); margin-right: var(--space-xs); vertical-align: middle; }
.tpk-toast p { margin: var(--space-2xs) 0 0; color: var(--muted); font-size: 0.9375rem; }
@keyframes toast-in { from { opacity: 0; } }

/* sections */
.tpk-sec { margin-top: var(--section-gap); border-top: 5px double var(--rule-2); padding-top: var(--space-lg); }
.tpk-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-lg); margin-bottom: var(--space-lg); }
.tpk-sec-head h2 { margin: 0; }
.tpk-sec-head .tpk-note { flex: 1 1 22ch; max-width: 60ch; }
.tpk-see-all { color: var(--brick); font: 700 1rem/1 var(--f-display); white-space: nowrap; margin-left: auto; }
a.tpk-plain { color: inherit; text-decoration: none; }
a.tpk-plain:hover { text-decoration: underline; text-decoration-color: var(--brick); text-decoration-thickness: 2px; }

/* front page */
.tpk-front { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: center; padding-block: var(--space-xl) 0; }
.tpk-front-head h1 { max-width: 14ch; margin-top: 0; }
.tpk-front-head .tpk-lead { margin-bottom: var(--space-lg); }
.tpk-plate { margin: 0; }
.tpk-plate img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--rule-2); }
.tpk-front .tpk-plate img { aspect-ratio: 4 / 3; object-position: 62% 50%; }
.tpk-plate figcaption { padding-top: var(--space-xs); font-weight: 500; font-size: var(--text-sm); line-height: 1.4; color: var(--muted); }

/* game items: base is the row, large and medium live on a board */
.tpk-item { list-style: none; }
.tpk-item a { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-md); align-items: center; padding-block: var(--space-xs); color: var(--ink); text-decoration: none; }
.tpk-item-art { position: relative; display: block; }
.tpk-cover { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--rule-2); background: var(--paper-3); }
.tpk-cover-ph { display: grid; place-items: center; padding: var(--space-xs); text-align: center; }
.tpk-cover-ph .tpk-cover-name { font: 700 0.75rem/1.1 var(--f-display); color: var(--ink); }
.tpk-item-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-sm); row-gap: var(--space-3xs); min-width: 0; }
.tpk-item-name { font: 700 1.05rem/1.2 var(--f-display); letter-spacing: var(--tracking-display); overflow-wrap: break-word; }
.tpk-item a:hover .tpk-item-name { text-decoration: underline; text-decoration-color: var(--brick); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.tpk-item a:focus-visible { outline-offset: 4px; }
.tpk-item-type { color: var(--muted); font-size: var(--text-sm); text-align: right; align-self: baseline; }
.tpk-item-max { grid-column: 1 / -1; font: 500 0.8125rem/1.35 var(--f-figure); color: var(--ink-2); }
.tpk-item-blurb, .tpk-item-rtp { display: none; grid-column: 1 / -1; }
.tpk-badge { position: absolute; left: 0; top: 0; background: var(--ink); color: var(--paper); font: 700 0.8125rem/1 var(--f-display); padding: var(--space-2xs) var(--space-xs); }
.tpk-board:not(.tpk-flat) .tpk-board-lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr); padding: 0; margin: 0; list-style: none; }
.tpk-board-lead { list-style: none; padding: 0; margin: 0; }
.tpk-board:not(.tpk-flat) .tpk-board-lead > li { padding-inline: var(--space-lg); border-left: 1px solid var(--rule); }
.tpk-board:not(.tpk-flat) .tpk-board-lead > li:first-child { padding-left: 0; border-left: 0; }
.tpk-board:not(.tpk-flat) .tpk-board-lead > li:last-child { padding-right: 0; }
.tpk-board:not(.tpk-flat) .tpk-item-lg a, .tpk-board:not(.tpk-flat) .tpk-item-md a { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); align-items: start; padding-block: 0; }
.tpk-board:not(.tpk-flat) .tpk-item-lg .tpk-item-text, .tpk-board:not(.tpk-flat) .tpk-item-md .tpk-item-text { display: block; }
.tpk-board:not(.tpk-flat) .tpk-item-lg .tpk-item-name, .tpk-board:not(.tpk-flat) .tpk-item-md .tpk-item-name { display: block; font-size: var(--text-section); line-height: 1.05; margin-bottom: var(--space-2xs); }
.tpk-board:not(.tpk-flat) .tpk-item-md .tpk-item-name { font-size: var(--text-xl); }
.tpk-board:not(.tpk-flat) .tpk-item-lg .tpk-item-type, .tpk-board:not(.tpk-flat) .tpk-item-md .tpk-item-type { display: block; text-align: left; margin-bottom: var(--space-xs); }
.tpk-board:not(.tpk-flat) .tpk-item-blurb { display: block; font-size: var(--text-md); line-height: 1.5; max-width: 52ch; margin-bottom: var(--space-xs); }
.tpk-board:not(.tpk-flat) .tpk-item-md .tpk-item-blurb { font-size: var(--text-sm); }
.tpk-board:not(.tpk-flat) .tpk-item-rtp { display: block; font: 500 0.8125rem/1.35 var(--f-figure); color: var(--ink-2); }
.tpk-board:not(.tpk-flat) .tpk-item-lg .tpk-badge, .tpk-board:not(.tpk-flat) .tpk-item-md .tpk-badge { font-size: var(--text-sm); }
.tpk-item-lg .tpk-item-art, .tpk-item-md .tpk-item-art { overflow: hidden; }
.tpk-board:not(.tpk-flat) .tpk-item-art .tpk-cover { transition: transform var(--dur-short) var(--ease-out); }
.tpk-board:not(.tpk-flat) .tpk-item a:hover .tpk-cover { transform: scale(1.025); }
.tpk-board-rest { list-style: none; margin: var(--space-lg) 0 0; padding: var(--space-sm) 0 0; border-top: 1px solid var(--rule); columns: 3 20rem; column-gap: var(--gap-columns); column-rule: 1px solid var(--rule); }
.tpk-board-rest .tpk-item, .tpk-rows .tpk-item { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.tpk-rows { list-style: none; margin: var(--space-sm) 0 var(--space-md); padding: 0; border-top: 1px solid var(--rule); }
.tpk-board-brief .tpk-board-rest .tpk-item-max, .tpk-board-brief .tpk-item-md .tpk-item-blurb, .tpk-col .tpk-item-max, .tpk-col .tpk-item-type { display: none; }
.tpk-flat .tpk-board-lead .tpk-item { border-bottom: 1px solid var(--rule); }

/* rubric columns */
.tpk-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tpk-col { padding-inline: var(--space-lg); border-left: 1px solid var(--rule); display: flex; flex-direction: column; }
.tpk-col:first-child { padding-left: 0; border-left: 0; }
.tpk-col:last-child { padding-right: 0; }
.tpk-col h3 { font-size: var(--text-xl); margin-bottom: var(--space-2xs); }
.tpk-col .tpk-rows { margin-top: var(--space-md); }
.tpk-col .tpk-see-all { margin: 0 0 0; padding-top: var(--space-2xs); }

/* the rule, set as a pull quote */
.tpk-house blockquote { margin: 0 0 var(--space-xl); }
.tpk-house blockquote p { margin: 0; max-width: 45ch; font: 700 clamp(2rem, 3.6vw, 3.5rem)/1.1 var(--f-display); letter-spacing: var(--tracking-display); text-wrap: balance; }
.tpk-house footer { margin-top: var(--space-md); color: var(--muted); font-size: var(--text-sm); }
.tpk-house .tpk-set { columns: 2 22rem; }

/* dispatches */
.tpk-plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tpk-dispatch { padding-inline: var(--space-lg); border-left: 1px solid var(--rule); }
.tpk-dispatch:first-child { padding-left: 0; border-left: 0; }
.tpk-dispatch:last-child { padding-right: 0; }
.tpk-dispatch .tpk-plate { margin-bottom: var(--space-md); }
.tpk-dispatch p { max-width: 45ch; margin-bottom: 0.6em; }

/* pot and ledger */
.tpk-desk { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--gap-columns); margin-top: var(--section-gap); align-items: start; }
.tpk-jackpot-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-lg) var(--space-2xl); align-items: center; margin-top: var(--space-lg); padding: var(--space-lg) var(--space-xl); background: var(--paper-2); border-top: 5px double var(--rule-2); border-bottom: 1px solid var(--rule); }
.tpk-desk .tpk-jackpot-bar { margin-top: 0; grid-template-columns: minmax(0, 1fr); }
.tpk-jackpot-bar h2 { margin: 0 0 var(--space-2xs); font-size: var(--text-title); }
.tpk-jp-pot { margin: 0 0 var(--space-md); font: 700 clamp(2.4rem, 5.6vw, 4.6rem)/1 var(--f-display); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; }
.tpk-jp-progress { height: 14px; background: var(--paper-3); border: 1px solid var(--rule-2); margin-bottom: var(--space-sm); }
.tpk-jp-fill { display: block; height: 100%; width: 0; background: var(--ink); }
.tpk-jp-clock { display: grid; gap: var(--space-sm); justify-items: start; }
.tpk-jp-time { margin: 0; font: 700 clamp(1.8rem, 3.6vw, 2.6rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.tpk-jp-time small { font: 500 0.875rem var(--f-body); color: var(--muted); margin: 0 var(--space-sm) 0 var(--space-3xs); }
.tpk-ledger { border-top: 5px double var(--rule-2); padding-top: var(--space-lg); }
.tpk-ledger h2 { margin: 0 0 var(--space-2xs); font-size: var(--text-title); }
.tpk-ledger ul { list-style: none; margin: var(--space-md) 0; padding: 0; border-top: 1px solid var(--rule); }
.tpk-ledger li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: 1px solid var(--rule); }
.tpk-ledger li b { font: 500 1.05rem/1.2 var(--f-figure); font-variant-numeric: tabular-nums; }

/* collections */
.tpk-colls { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tpk-colls li { padding: var(--space-lg); border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); }
.tpk-colls li:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.tpk-colls li:nth-child(-n+4) { border-top: 0; padding-top: 0; }
.tpk-colls li:nth-child(4n) { padding-right: 0; }
.tpk-colls a { display: grid; gap: var(--space-xs); color: var(--ink); text-decoration: none; align-content: start; height: 100%; }
.tpk-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xs); width: min(168px, 100%); }
.tpk-mosaic > * { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.tpk-coll-name { font: 700 1.3rem/1.15 var(--f-display); letter-spacing: var(--tracking-display); margin-top: var(--space-xs); }
.tpk-colls a:hover .tpk-coll-name { text-decoration: underline; text-decoration-color: var(--brick); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.tpk-coll-blurb { color: var(--ink-2); font-size: var(--text-sm); line-height: 1.45; }
.tpk-coll-count { font: 500 0.8125rem/1.2 var(--f-figure); color: var(--muted); }

/* text set in columns */
.tpk-set { columns: 3 20rem; column-gap: var(--gap-columns); column-rule: 1px solid var(--rule); text-align: justify; hyphens: auto; }
.tpk-set p { max-width: none; }
.tpk-dropcap::first-letter { float: left; font: 700 3.6em/0.8 var(--f-display); padding: 0.06em 0.08em 0 0; color: var(--brick); }

/* ink band */
.tpk-cta-band { margin-top: var(--section-gap); background: var(--ink); color: var(--paper); padding-block: var(--space-2xl); }
.tpk-cta-band .tpk-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }
.tpk-cta-band h2 { margin: 0 0 var(--space-md); font-size: var(--text-display); max-width: 12ch; }
.tpk-cta-band .tpk-lead { margin: 0; max-width: 45ch; }
.tpk-cta-band .tpk-btn-row { justify-content: flex-end; }
.tpk-cta-band .tpk-lead { color: var(--paper-3); }
.tpk-cta-band .tpk-btn { background: var(--paper); color: var(--ink); }
.tpk-cta-band .tpk-btn:hover { background: var(--paper-2); }
.tpk-cta-band .tpk-btn.tpk-ghost { background: none; color: var(--paper); border-block: 1px solid var(--paper); }
.tpk-cta-band .tpk-btn.tpk-ghost:hover { background: var(--ink-2); }
.tpk-cta-band a:focus-visible { outline-color: var(--paper); }

/* panels, forms, tables */
.tpk-page-head { padding-top: var(--space-lg); }
.tpk-page-head h1 { max-width: 20ch; }
.tpk-crumbs { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.tpk-panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: var(--space-lg); align-items: start; }
.tpk-panel { background: var(--paper-2); border-block: 1px solid var(--rule); border-top: 3px double var(--rule-2); padding: var(--space-lg); margin: 0; }
.tpk-panel h2 { margin-top: 0; font-size: var(--text-xl); }
.tpk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--space-lg); }
.tpk-stat { background: var(--paper-2); border-block: 1px solid var(--rule); padding: var(--space-md) var(--space-lg); display: grid; gap: var(--space-xs); align-content: start; }
.tpk-stat strong { font: 700 1.6rem/1.1 var(--f-display); }
progress { width: 100%; height: 14px; border: 1px solid var(--rule-2); background: var(--paper-3); accent-color: var(--ink); border-radius: 0; }
progress::-webkit-progress-bar { background: var(--paper-3); }
progress::-webkit-progress-value { background: var(--ink); }
progress::-moz-progress-bar { background: var(--ink); }
.tpk-form { display: grid; gap: var(--space-md); margin-block: var(--space-lg); }
.tpk-form label, .tpk-panel label { display: grid; gap: var(--space-xs); font-weight: 500; }
.tpk-form small { font-weight: 400; color: var(--muted); }
input, select { background: var(--paper-2); color: var(--ink); border: 1px solid var(--rule-2); border-radius: 0; padding: var(--space-sm) var(--space-sm); font: inherit; width: 100%; min-height: 46px; }
input:hover, select:hover { border-color: var(--ink); }
input:focus, select:focus { border-color: var(--ink); outline: 2px solid var(--focus); outline-offset: 1px; }
input::placeholder { color: var(--muted); }
input[type="checkbox"] { accent-color: var(--ink); width: 20px; min-height: 0; height: 20px; }
.tpk-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
label.tpk-check { display: flex; gap: var(--space-sm); align-items: flex-start; font-weight: 400; }
label.tpk-check input { margin-top: var(--space-2xs); flex: none; }
.tpk-field-error, .tpk-notice.tpk-error { color: var(--error); margin: 0; }
.tpk-notice { background: var(--paper-2); border-block: 1px solid var(--rule); padding: var(--space-sm) var(--space-md); max-width: none; }
.tpk-notice.tpk-error { border-color: var(--error); }
.tpk-form-msg { min-height: 1.4em; color: var(--muted); margin: var(--space-sm) 0 0; }
.tpk-logout { margin-block: var(--space-xl); }
.tpk-pager { display: flex; gap: var(--space-lg); }
.tpk-table-wrap { overflow-x: auto; border-top: 3px double var(--rule-2); border-bottom: 1px solid var(--rule); }
.tpk-table { width: 100%; border-collapse: collapse; }
.tpk-table th, .tpk-table td { text-align: left; padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: 1px solid var(--rule); }
.tpk-table th { color: var(--muted); font: 500 var(--text-sm)/1.2 var(--f-body); border-bottom-color: var(--rule-2); }
.tpk-table tr:last-child td { border-bottom: 0; }
.tpk-table .tpk-num { text-align: right; padding-right: 0; padding-left: var(--space-md); font-variant-numeric: tabular-nums; }
.tpk-table td.tpk-num { font-family: var(--f-figure); font-weight: 500; white-space: nowrap; }
code { background: var(--paper-3); padding: var(--space-3xs) var(--space-xs); font-size: 0.92em; }
dl { margin: 0; }

/* rewards */
.tpk-tasks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-md); }
.tpk-tasks li { display: grid; gap: var(--space-xs); }
.tpk-tasks .tpk-btn { justify-self: start; }
.tpk-wheel-stage { position: relative; width: min(320px, 100%); margin: var(--space-sm) auto var(--space-lg); aspect-ratio: 1; }
.tpk-wheel { position: absolute; inset: 10px; border-radius: 50%; border: 4px solid var(--ink); }
.tpk-wheel span { position: absolute; left: 50%; top: 50%; width: 50%; transform-origin: 0 50%; text-align: right; padding-right: var(--space-md); font: 700 1rem/1 var(--f-display); color: var(--on-stage); }
.tpk-wheel-pointer { position: absolute; left: 50%; top: -4px; width: 0; height: 0; border: 12px solid transparent; border-top: 26px solid var(--brick); transform: translateX(-50%); z-index: 2; }

/* catalogue tools */
.tpk-catalog-tools { display: flex; gap: var(--space-md); align-items: end; flex-wrap: wrap; margin-block: var(--space-md); }
.tpk-catalog-tools .tpk-search { display: grid; gap: var(--space-2xs); flex: 1 1 260px; max-width: 440px; }
.tpk-tabs { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); margin-block: var(--space-sm) var(--space-md); border-block: 1px solid var(--rule); padding-block: var(--space-2xs); }
.tpk-tabs a { padding: var(--space-xs) 0; color: var(--ink); text-decoration: none; font: 700 1rem/1.2 var(--f-display); border-bottom: 3px solid transparent; }
.tpk-tabs a:hover { border-bottom-color: var(--rule-2); }
.tpk-tabs a[aria-current="true"] { border-bottom-color: var(--brick); }
.tpk-cat-block[hidden] { display: none; }

/* colophon */
main:has(> .tpk-cta-band:last-child) + .tpk-site-footer { margin-top: 0; }
.tpk-site-footer { margin-top: clamp(56px, 8vw, 104px); padding-block: var(--space-xl) var(--space-2xl); border-top: 5px double var(--rule-2); color: var(--ink-2); font-size: var(--text-sm); }
.tpk-legal { max-width: 82ch; }
.tpk-legal strong { color: var(--ink); }
.tpk-help-grid { list-style: none; margin: var(--space-lg) 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1px solid var(--rule); }
.tpk-help-grid li { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; display: grid; gap: var(--space-3xs); align-content: start; }
.tpk-help-grid b { color: var(--ink); font: 700 1rem/1.2 var(--f-display); }
.tpk-foot-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin: 0 0 var(--space-md); }
.tpk-foot-links a { color: var(--ink); font-weight: 500; }

@media (min-width: 1100px) {
  .tpk-help-grid li + li { padding-left: var(--space-md); border-left: 1px solid var(--rule); }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .tpk-dateline { display: none; }
}
@media (max-width: 1180px) {
  .tpk-colls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpk-colls li { border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); padding: var(--space-lg); }
  .tpk-colls li:nth-child(n) { padding-top: var(--space-lg); padding-left: var(--space-lg); padding-right: var(--space-lg); }
  .tpk-colls li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .tpk-colls li:nth-child(even) { padding-right: 0; }
  .tpk-colls li:nth-child(-n+2) { border-top: 0; padding-top: 0; }
}
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .tpk-rubrics { display: none; }
  .tpk-front { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .tpk-desk, .tpk-plates, .tpk-cols3, .tpk-cta-band .tpk-wrap, .tpk-notice-bar .tpk-wrap { grid-template-columns: minmax(0, 1fr); }
  .tpk-notice-bar .tpk-wrap { gap: 0; }
  .tpk-cta-band .tpk-btn-row { justify-content: flex-start; }
  :root { --section-gap: 96px; }
  .tpk-col, .tpk-dispatch { padding-inline: 0; border-left: 0; border-top: 1px solid var(--rule); padding-top: var(--space-lg); margin-top: var(--space-lg); }
  .tpk-col:first-child, .tpk-dispatch:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
  .tpk-jackpot-bar { grid-template-columns: minmax(0, 1fr); padding: var(--space-lg); }
  .tpk-board:not(.tpk-flat) .tpk-board-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) 0; }
  .tpk-board:not(.tpk-flat) .tpk-board-lead > li.tpk-item-lg { grid-column: 1 / -1; padding-inline: 0; border-left: 0; padding-bottom: var(--space-lg); border-bottom: 1px solid var(--rule); }
  .tpk-board:not(.tpk-flat) .tpk-item-md:nth-child(2) { padding-left: 0; border-left: 0; }
  .tpk-board:not(.tpk-flat) .tpk-board-lead > li:last-child { padding-right: 0; }
  .tpk-board:not(.tpk-flat) .tpk-board-lead > li:nth-child(2) { padding-right: var(--space-md); }
  .tpk-board:not(.tpk-flat) .tpk-board-lead > li:nth-child(3) { padding-left: var(--space-md); }
}
@media (max-width: 760px) {
  .tpk-strip-bar { gap: var(--space-sm); }
  .tpk-mast { align-items: center; padding-block: var(--space-md); }
    .tpk-nav-toggle { display: inline-flex; }
  .tpk-site-nav { display: none; }
  .tpk-site-nav.tpk-open { display: block; }
  .tpk-contents ol { display: block; }
  .tpk-contents li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .tpk-c-deck { display: block; }
  .tpk-contents a, .tpk-contents li:first-child a { padding: var(--space-sm) 0; grid-template-columns: 1fr; }
  .tpk-contents a[aria-current="page"]::before, .tpk-contents li:first-child a[aria-current="page"]::before { left: 0; }
  .tpk-row2 { grid-template-columns: 1fr; }
  .tpk-user-area .tpk-btn.tpk-ghost { display: none; }
  .tpk-colls { grid-template-columns: minmax(0, 1fr); }
  .tpk-colls li:nth-child(n) { border-left: 0; padding-left: 0; padding-right: 0; }
  .tpk-colls li:nth-child(n+2) { border-top: 1px solid var(--rule); }
  .tpk-colls li:nth-child(2) { padding-top: var(--space-lg); }
  .tpk-mosaic { width: 132px; }
  .tpk-set { columns: 1; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-gap: 72px; --gap-columns: 16px; }
}
@media (max-width: 520px) {
  .tpk-brand { font-size: 1.85rem; gap: var(--space-sm); }
  .tpk-nav-toggle { padding: var(--space-xs) var(--space-sm); }
  .tpk-table td.tpk-num { white-space: normal; }
  .tpk-table th, .tpk-table td { padding-right: var(--space-xs); }
  .tpk-pill .tpk-coin-word { display: none; }
  .tpk-pill { padding: var(--space-2xs) var(--space-xs); }
  .tpk-bell { width: 34px; height: 34px; }
  .tpk-toasts { top: 58px; }
  .tpk-board-rest { columns: 1; }
  .tpk-front-head h1 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
