:root {
  color-scheme: dark;
  --ink: #181915;
  --panel: #23251e;
  --line: #474a3a;
  --paper: #f7eed9;
  --muted: #c8c0aa;
  --amber: #f6c86c;
  --mint: #cbddac;
  --orange: #ff9e76;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --display: 'Arial Black', 'Helvetica Neue', sans-serif;
  font: 16px/1.5 'Helvetica Neue', Arial, sans-serif;
  background: var(--ink);
  color: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { min-width: 0; margin: 0; min-height: 100vh; }
[hidden] { display: none !important; }
a { color: var(--mint); text-underline-offset: .21em; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button, .button, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
h1, h2, h3, p { margin: 0 0 .75em; overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.03; letter-spacing: -.045em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); }
h2 { font-size: clamp(1.55rem, 3.8vw, 2.1rem); }
h3 { font-size: 1.18rem; }
p:last-child { margin-bottom: 0; }
ul { padding-inline-start: 1.25em; }
.skip-link { position: fixed; top: .5rem; left: .5rem; clip-path: inset(50%); background: var(--mint); color: var(--ink); padding: .75rem; z-index: 20; }
.skip-link:focus { clip-path: none; }
.shell { width: min(100%, 1488px); margin-inline: auto; padding: 0 clamp(16px,3vw,44px); }
main { min-width: 0; }
.rail { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
.wordmark { color: var(--paper); font: 1000 1.38rem/.9 var(--display); letter-spacing: -.09em; text-decoration: none; }
.wordmark span { color: var(--orange); }
.rail nav { display: flex; flex-wrap: wrap; gap: .15rem .4rem; min-width: 0; }
.rail nav a { display: flex; align-items: center; min-height: 44px; border: 1px solid transparent; padding: .35rem .6rem; color: var(--muted); text-decoration: none; font-size: .85rem; font-weight: 650; }
.rail nav a:hover, .rail nav a[aria-current] { color: var(--paper); border-color: var(--line); background: var(--panel); }
.rail nav a[aria-current] { color: var(--mint); }

.eyebrow { color: var(--amber); font: 600 .75rem/1.4 var(--mono); letter-spacing: .045em; text-transform: uppercase; }
.panel { padding: clamp(16px, 3vw, 28px); background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.muted { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; text-align: center; padding: .58rem .85rem; border: 1px solid var(--mint); border-radius: 3px; color: #171b13; background: var(--mint); text-decoration: none; line-height: 1.15; font-size: .88rem; font-weight: 750; }
.button:hover { filter: brightness(1.1); }
.button.secondary { background: transparent; color: var(--paper); border-color: #797966; }
.button:disabled { opacity: .6; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-top: .6rem; margin-bottom: 1.25rem; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.65rem); margin-bottom: .23em; }
.page-head p { color: var(--muted); }
.page-head--draft h1 { color: var(--orange); }
.small-link { display: flex; align-items: center; min-height: 44px; flex-shrink: 0; font-size: .86rem; font-weight: 650; }
.game-menu p { max-width: 52ch; }
.rules-panel { border: 1px solid var(--line); padding: 0 1rem .3rem; margin-top: 1rem; }
.rules-panel summary, .help summary { padding-block: .8rem; min-height: 44px; font-weight: 650; }
.help { display: grid; gap: 1rem; }
.help details { border-block-start: 1px solid var(--line); }
.help details p { margin-bottom: 1rem; }
.help .panel { scroll-margin-top: 1rem; }
.game-menu select { width: min(100%, 25rem); min-height: 44px; background: var(--ink); color: var(--paper); border: 1px solid #797966; border-radius: 3px; padding: .55rem 1.5rem .55rem .7rem; margin: .35rem 0 1rem; }
.game-menu label { display: block; font-weight: 650; }
.session-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .9rem; margin: .1rem 0 1rem; }
.session-meta .eyebrow { margin: 0; }
.session-meta a { display: inline-flex; align-items: center; min-height: 44px; font-size: .83rem; }
.collection-list { display: grid; gap: .53rem; list-style: none; padding: 0; margin: .75rem 0 1.5rem; }
.collection-list a { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; min-height: 52px; gap: 0 .75rem; background: var(--ink); border: 1px solid var(--line); color: var(--paper); padding: .6rem .85rem; text-decoration: none; }
.collection-list a:hover { border-color: var(--mint); }
.collection-list a .muted { font-size: .86rem; }
.collection-list a strong { font-family: var(--mono); color: var(--mint); }
.share-dialog { max-width: min(500px, calc(100vw - 36px)); width: 100%; color: var(--paper); background: var(--panel); border: 1px solid #797966; }
.share-dialog::backdrop { background: #151612c8; }
.share-dialog textarea { display: block; width: 100%; min-height: 155px; resize: vertical; padding: .7rem; background: var(--ink); color: var(--paper); border: 1px solid #797966; margin-block: .4rem .8rem; }
.share-status:not(:empty) { color: var(--mint); margin-top: 1rem; }
.footer { border-top: 1px solid var(--line); margin-top: 2rem; padding: .55rem 0 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .83rem; color: var(--muted); }
.ad-space { display: none; }

@media (min-width: 1240px) {
  .shell { display: grid; grid-template-columns: 166px minmax(0, 1fr) 300px; gap: clamp(21px, 2vw, 30px); padding-top: 2rem; }
  .rail { display: block; align-self: start; border: 0; margin: 0; padding: 1rem 1rem 0 0; }
  .wordmark { display: inline-flex; margin: 0 0 1.3rem .55rem; }
  .rail nav { flex-direction: column; }
  .rail nav a { padding-left: .65rem; }
  .ad-space { display: block; width: 300px; height: 250px; }
}
@media (max-width: 759px) {
  .rail { gap: .5rem; }
  .rail nav { width: 100%; }
}
@media (max-width: 460px) {
  .rail nav { column-gap: 0; }
  .rail nav a { padding-inline: .27rem; font-size: .72rem; }
  .page-head { flex-wrap: wrap; gap: 0; }
  .page-head .small-link { min-height: 37px; }
}

body[data-page='home'] {
  padding-block: 24px 26px;
  background: radial-gradient(ellipse at 12% 25%, #263b3040, transparent 56%), radial-gradient(ellipse at 81% 45%, #7e492728, transparent 50%), #10140f;
  background-attachment: fixed;
}
.shell.home-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 28px; align-items: start; width: min(1120px, calc(100% - 40px)); padding: 0; }
.home-shell h1, .home-shell h2 { font-family: inherit; }
.home-header { grid-area: 1 / 1; display: flex; justify-content: space-between; align-items: center; min-height: 54px; gap: 18px; border-bottom: 1px solid #77806b4d; padding-bottom: 16px; }
.home-brand-group, .home-utilities { display: flex; align-items: center; gap: 14px; min-width: 0; }
.home-brand-title { display: flex; margin: 0; }
.home-wordmark { color: #f5edd9; font-size: 27px; font-weight: 950; line-height: 1; letter-spacing: -.055em; text-decoration: none; }
.home-wordmark span { color: #f39a63; }
.home-nav { position: relative; flex: none; }
.home-menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #6d79624d; background: #252c23; color: #d2dfc2; border-radius: 5px; list-style: none; }
.home-menu-toggle::-webkit-details-marker { display: none; }
.home-menu-toggle:hover, .home-nav[open] .home-menu-toggle { border-color: #aec59b; background: #3a4835; }
.home-menu-toggle .menu-lines { position: relative; width: 15px; height: 11px; border-block: 2px solid currentColor; }
.home-menu-toggle .menu-lines::after { content: ''; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
.home-menu { position: absolute; inset-block-start: calc(100% + 9px); inset-inline-start: 0; z-index: 10; width: min(238px, calc(100vw - 32px)); padding: 12px; border: 1px solid #839278; border-radius: 5px; background: #20291f; box-shadow: 0 16px 40px #000b; }
.home-menu-caption { display: block; padding: 8px 12px 10px; color: #b5c6a7; font: 600 12px/1.2 var(--mono); letter-spacing: .12em; }
.home-menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 4px; color: #eee8d5; text-decoration: none; }
.home-menu a:hover, .home-menu a[aria-current] { background: #a8ce971c; }
.home-menu a[aria-current] { box-shadow: inset 3px 0 #bad69e; color: #d3f2bc; }
.home-utilities { gap: 22px; }
.home-utilities a { display: flex; align-items: center; min-height: 44px; color: #d8d4bd; font-size: 14px; text-decoration: none; }
.home-utilities a:hover { color: #c7f2b9; text-decoration: underline; }
.home-studio { grid-area: 2 / 1; }
.studio-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.mode-entry { --mode-color: #bbdbaa; --mode-ink: #243921; min-width: 0; display: flex; flex-direction: column; border: 1px solid #7481667d; border-radius: 8px; color: #f3ead4; background: #192119; box-shadow: 0 15px 36px -18px #000, 0 0 0 4px #07100955; transition: border-color 200ms ease; }
.mode-draft { --mode-color: #f3a06b; --mode-ink: #452914; border-color: #9774517d; background: #241f18; }
.mode-entry:hover, .mode-entry:focus-within { border-color: var(--mode-color); }
.mode-art { position: relative; aspect-ratio: 1.8; max-height: min(340px, 42svh); overflow: hidden; border-radius: 7px 7px 0 0; background: #101b12; }
.mode-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.3,1); }
.mode-entry:hover .mode-art img { transform: scale(1.045); }
.mode-art::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -28px 38px -26px #000e; }
.mode-strip { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 33px; padding: 8px 14px; border-bottom: 1px solid #a9c29244; background: #10180ce6; color: #d3dfc4; font: 600 10px/1.1 var(--mono); letter-spacing: .07em; }
.mode-draft .mode-strip { background: #2b1d12eb; color: #f4c5a0; border-color: #bf885b55; }
.mode-strip, .mode-label, .mode-output, .mode-cta, .shelf-kicker, .shelf-open, .home-session-label { text-transform: uppercase; }
.mode-location { color: var(--mode-color); }
.mode-label { position: absolute; right: 17px; bottom: 17px; z-index: 1; display: flex; flex-direction: column; gap: 1px; padding: 10px 13px 11px; transform: rotate(4deg); background: #d5dfba; color: #21301b; box-shadow: 0 4px 12px #0008; }
.mode-label::after { content: ''; position: absolute; top: -5px; left: 23%; width: 55%; height: 12px; background: #d9e6c89c; transform: rotate(-6deg); box-shadow: 0 1px 0 #99ad7644; }
.mode-label span { font: 700 10px/1.1 var(--mono); letter-spacing: .12em; }
.mode-label strong { font-size: 20px; font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.mode-draft .mode-label { background: #f7ac6e; color: #412713; transform: rotate(-4deg); }
.mode-draft .mode-label::after { background: #e3b47b9c; }
.mode-body { display: flex; flex-direction: column; flex: 1; padding: 19px 21px 20px; background: radial-gradient(ellipse at 75% 0, #4d6d3a1f, transparent 80%); }
.mode-draft .mode-body { background: radial-gradient(ellipse at 75% 0, #9f60331f, transparent 80%); }
.mode-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.mode-title-row h2 { margin: 0; font-size: clamp(31px, 3vw, 44px); line-height: 1.02; letter-spacing: -.055em; }
.mode-output { max-width: 65px; text-align: right; color: var(--mode-color); font: 600 10px/1.35 var(--mono); letter-spacing: .05em; }
.mode-body > p { margin: 12px 0 15px; color: #c6cbb7; font-size: 16px; line-height: 1.45; }
.mode-draft .mode-body > p { color: #d0c4b2; }
.mode-progress { display: flex; align-items: center; gap: 9px; min-height: 20px; margin-top: auto; margin-bottom: 16px; color: #a9bb9c; font-size: 12px; line-height: 1.3; }
.mode-draft .mode-progress { color: #c4a587; }
.home-bars, .home-lineup { display: flex; flex: none; gap: 3px; }
.home-bars i { width: 7px; height: 14px; border-top: 1px solid #788667; border-radius: 1px; background: #48533d; }
.home-bars .is-filled { background: #b4dc9c; box-shadow: 0 0 5px #b2dc9b3b; }
.home-bars .is-filled[data-kind='signature'] { background: #f3a06b; }
.home-bars .is-filled[data-kind='double'] { background: #f0c771; }
.home-bars .is-filled[data-kind='break'] { background: #857e67; }
.home-lineup { gap: 4px; }
.home-lineup i { width: 10px; height: 14px; border: 1px solid #806b54; background: #443326; transform: rotate(-7deg); }
.home-lineup i:nth-child(even) { transform: rotate(7deg); }
.home-lineup .is-filled { background: #e5a16b; border-color: #ffd0a3; }
.actions.home-mode-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.mode-cta { display: flex; align-items: center; gap: 11px; min-height: 49px; padding: 11px 14px; border: 1px solid #d4e5ba; border-radius: 4px; color: var(--mode-ink); background: linear-gradient(155deg, #d9ebbd, #aecb95); box-shadow: inset 0 1px #f6fbd7, 0 3px 0 #0a1309; font-size: 14px; line-height: 1.15; font-weight: 850; text-decoration: none; }
.mode-cta:hover { filter: brightness(1.08); }
.mode-draft .mode-cta { background: linear-gradient(155deg, #ffbb87, #e58f58); border-color: #f9bc87; box-shadow: inset 0 1px #ffe1b9, 0 3px 0 #130b06; }
.mode-cta > span[data-daily-label] { min-width: 0; overflow-wrap: anywhere; }
.cta-play { flex: none; width: 0; height: 0; border: solid transparent; border-width: 6px 0 6px 10px; border-left-color: currentColor; opacity: .75; }
.cta-ticket { flex: none; width: 15px; height: 11px; border: 1.5px solid currentColor; transform: rotate(-15deg); opacity: .8; }
.cta-ticket::after { content: ''; display: block; height: 100%; margin-left: 8px; border-left: 1px dashed currentColor; }
.cta-hint { margin-inline-start: auto; max-width: 72px; text-align: right; font: 700 9px/1.2 var(--mono); opacity: .75; }
.home-practice-link { display: flex; align-items: center; min-height: 44px; padding: 8px 6px; color: var(--mode-color); font-size: 13px; font-weight: 650; }
.home-practice-link:hover { color: #fff3d7; }
.home-shelf { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: center; position: relative; margin-top: 25px; padding: 19px 0 18px; border-top: 1px solid #6b755e70; border-bottom: 3px solid #484638; }
.home-shelf::after { content: ''; position: absolute; bottom: -7px; left: 0; right: 0; height: 4px; background: #1b1c15; box-shadow: 0 6px 14px #0009; }
.shelf-kicker { color: #a5ab92; font: 600 10px/1.2 var(--mono); letter-spacing: .13em; }
.shelf-heading h2 { margin: 5px 0 6px; font-size: 24px; line-height: 1; letter-spacing: -.04em; }
.shelf-heading p { margin: 0; color: #a9ac96; font-size: 12px; line-height: 1.3; }
.shelf-item { display: flex; align-items: center; min-width: 0; min-height: 78px; gap: 13px; padding: 11px 12px; border: 1px solid #74815b3d; border-radius: 4px; background: #22291b; color: #f1e7cd; text-align: left; text-decoration: none; }
.shelf-item:hover { background: #313b26; }
.shelf-posters { background: #29241b; border-color: #9c784d3d; }
.shelf-posters:hover { background: #3b3124; }
.shelf-tape-art { display: block; flex: none; width: 71px; height: auto; object-fit: contain; transform: rotate(-7deg); filter: drop-shadow(0 3px 3px #0007); }
.shelf-item-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.shelf-item-copy strong { font-size: 16px; line-height: 1.1; }
.shelf-item-copy strong span { color: #b4c69c; font: 600 12px/1 var(--mono); margin-inline-start: 5px; }
.shelf-posters .shelf-item-copy strong span { color: #d8a26f; }
.shelf-item-copy small { color: #b1b49c; font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
.shelf-open { margin-inline-start: auto; color: #c4c7b0; font: 600 10px/1 var(--mono); }
.mini-poster { display: flex; flex-direction: column; flex: none; gap: 4px; width: 42px; height: 55px; padding: 7px 6px; background: #ded2ac; box-shadow: 3px 2px 0 #a49b80, 0 4px 7px #0006; transform: rotate(7deg); }
.mini-poster i { height: 3px; background: #292b20; }
.mini-poster i:first-child { height: 16px; background: #b76639; clip-path: polygon(0 100%, 15% 12%, 25% 55%, 40% 0, 60% 52%, 75% 10%, 100% 100%); }
.mini-poster i:last-child { width: 65%; }
.home-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding-top: 21px; color: #a8ac92; font: 500 11px/1.5 var(--mono); }
.home-footer > span:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.home-info-links { display: flex; flex-wrap: wrap; gap: 0 14px; }
.home-info-links a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
.home-session-label { color: #a8ac92; font-size: 10px; }
.home-date { color: #d0cfb9; font-variant-numeric: tabular-nums; }
.home-practice { padding: 2px 4px; border: 1px solid #68725866; border-radius: 2px; font-size: 9px; }
.home-shell .home-ad { display: none; }

@media (min-width: 1300px) {
  .shell.home-shell { width: min(1532px, calc(100% - 48px)); grid-template-columns: minmax(0, 1fr) 300px; }
  .home-shell .home-ad { display: block; grid-area: 2 / 2; }
  .mode-art { aspect-ratio: 1.58; }
}
@media (min-width: 1550px) {
  .mode-art { aspect-ratio: 1.7; }
  .mode-body { padding: 22px 25px 23px; }
}
@media (max-width: 980px) {
  .mode-output, .mode-location, .shelf-open, .cta-hint { display: none; }
  .mode-strip { justify-content: flex-end; }
  .mode-body { padding: 17px; }
  .home-shelf { grid-template-columns: 135px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .shelf-item { gap: 9px; }
  .shelf-tape-art { width: 53px; }
}
@media (max-width: 640px), (max-height: 500px) {
  .mode-art { aspect-ratio: auto; height: clamp(78px, 24vw, 130px); max-height: 24svh; }
  .mode-strip, .mode-label, .cta-hint { display: none; }
  .mode-body { padding: 10px 12px 12px; }
  .mode-title-row h2 { font-size: 25px; }
  .mode-body > p { margin: 4px 0 6px; font-size: 14px; line-height: 1.35; }
  .mode-progress { min-height: 17px; margin-bottom: 8px; }
  .mode-cta { min-height: 44px; gap: 8px; padding: 8px 10px; font-size: 12px; }
  .home-practice-link { padding-inline: 5px; white-space: nowrap; }
}
@media (max-width: 640px) {
  body[data-page='home'] { padding-top: 13px; }
  .shell.home-shell { width: calc(100% - 28px); row-gap: 12px; }
  .home-header { gap: 10px; padding-bottom: 9px; }
  .home-brand-group { gap: 10px; }
  .home-wordmark { font-size: clamp(20px, 6.1vw, 24px); }
  .home-utilities a { font-size: 12px; }
  .home-utilities a:first-child:not(:last-child) { display: none; }
  .studio-choices { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; padding: 18px 0; }
  .shelf-heading { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .shelf-kicker { display: none; }
  .shelf-heading h2 { margin: 0; }
  .shelf-item { align-items: flex-start; flex-direction: column; min-height: 132px; padding: 13px 10px; }
  .shelf-tape-art { width: 64px; height: 40px; }
  .mini-poster { width: 33px; height: 40px; padding: 5px; gap: 3px; }
  .home-footer { flex-direction: column; gap: 8px; padding-top: 18px; }
}
@media (min-width: 500px) and (max-width: 640px) and (max-height: 500px) {
  .studio-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  /* Draft starts with motion off here. Its own controls can opt the stage back in. */
  :where(:not(.sf-stage[data-motion='on'], .sf-stage[data-motion='on'] *)),
  :where(:not(.sf-stage[data-motion='on'], .sf-stage[data-motion='on'] *))::before,
  :where(:not(.sf-stage[data-motion='on'], .sf-stage[data-motion='on'] *))::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .mode-entry:hover .mode-art img { transform: none; }
}
@media (forced-colors: active) {
  .button { border: 1px solid ButtonText; }
  .rail nav a[aria-current] { border-color: Highlight; }
}
