:root {
  color-scheme: light;
  --paper: #f6f6ed;
  --surface: #fffef7;
  --ink: #202820;
  --muted: #535d51;
  --green: #215443;
  --green-dark: #183e32;
  --mint: #deeadb;
  --line: #cbd2c5;
  --font: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  --display: 'Georgia', 'Times New Roman', serif;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--green); text-underline-offset: 0.2em; }
a:hover { color: var(--green-dark); }
button, summary { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 3px solid #097c56; outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }

h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.10; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.045em; }
h2 { font-size: clamp(30px, 3.5vw, 47px); }

.wrap { width: min(1296px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: fixed; inset: 10px auto auto 10px; z-index: 3; translate: 0 -200%; background: var(--surface); padding: 10px 16px; }
.skip:focus { translate: 0; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; min-height: 75px; }
.brand { display: inline-flex; justify-self: start; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; font-size: 21px; font-weight: 800; letter-spacing: -.07em; white-space: nowrap; }
.brand-tail { color: var(--green); }
.brand-mark { width: 32px; height: 32px; border-radius: 9px 9px 9px 2px; border: 1px solid var(--green); background: repeating-linear-gradient(130deg, var(--green) 0 5px, var(--mint) 5px 9px); }
.primary { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); }
.primary a { display: block; align-content: center; min-height: 44px; color: var(--muted); text-decoration: none; white-space: nowrap; font-size: 15px; font-weight: 650; }
.primary a:hover, .primary a[aria-current] { color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; }

.button { display: inline-flex; min-height: 46px; justify-content: center; align-items: center; gap: 12px; padding: 9px 17px; border-radius: 8px; border: 1px solid var(--green); font-weight: 750; color: var(--green); text-decoration: none; white-space: nowrap; }
.button:hover { background: var(--mint); }
.header-play { justify-self: end; font-size: 15px; }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { color: white; background: var(--green-dark); }
.button-arrow { display: inline-block; position: relative; width: 15px; height: 12px; flex: none; }
.button-arrow::before { content: ''; position: absolute; left: 1px; top: 5px; right: 1px; border-top: 1.5px solid currentColor; }
.button-arrow::after { content: ''; position: absolute; right: 1px; top: 2px; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; rotate: 45deg; }
.text-link { font-weight: 700; }

.hero { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding-block: 42px 60px; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; gap: 9px; align-items: center; color: var(--green); font-size: 14px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.status-dot { width: 9px; height: 9px; flex: none; background: #327b5d; border-radius: 50%; }
.hero h1 { font-size: clamp(85px, 10.7vw, 168px); letter-spacing: -.094em; line-height: .76; margin-block: 25px 32px; }
.hero h1 span { color: var(--green); }
.lede { color: var(--muted); font-size: clamp(18px, 2vw, 23px); line-height: 1.48; }
.hero .lede { max-width: 27ch; }
.hero-actions { display: flex; align-items: center; gap: 16px 23px; flex-wrap: wrap; margin-block: 27px 30px; }
.hero-facts { margin: 0; display: grid; grid-template-columns: auto auto 1fr; border-block: 1px solid var(--line); }
.hero-facts > div { padding: 12px 15px; }
.hero-facts > div:first-child { padding-left: 0; }
.hero-facts > div + div { border-left: 1px solid var(--line); }
.hero-facts dt { color: var(--muted); font-size: 14px; font-weight: 650; }
.hero-facts dd { margin: 0; color: var(--green-dark); font-size: clamp(24px, 3vw, 33px); line-height: 1.18; font-weight: 750; letter-spacing: -.065em; }
.hero-facts dd span { font-size: 14px; letter-spacing: 0; }
.next-shift { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-top: 17px; min-height: 48px; text-decoration: none; }
.next-shift > span:first-child { color: var(--muted); }
.next-shift strong { font-size: clamp(14px, 1.5vw, 17px); font-variant-numeric: tabular-nums; }
.next-shift:hover strong { text-decoration: underline; }

.play { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 9px 0 #e9ece0; }
.play-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 17px; color: var(--surface); background: var(--green-dark); }
.play-bar h2 { padding-block: 12px; font-family: var(--font); font-size: 16px; letter-spacing: 0; white-space: nowrap; }
.play-bar span { color: #eef7e9; font-size: 14px; font-weight: 600; }
.play-cover { display: block; background: #f2f3e9; }
.play-cover:focus-visible { outline-offset: -4px; }
.play-cover img { width: 100%; }
.play-footer { border-top: 1px solid var(--line); padding: 14px 17px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 14px; }
.play-credit { color: var(--muted); font-size: 14px; }

.home-guides { border-top: 1px solid var(--line); padding-top: 34px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 8px 20px; flex-wrap: wrap; }
.section-head p { color: var(--muted); font-size: 16px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; gap: 1px; margin: 23px 0 0; padding: 1px; background: var(--line); }
.guide-grid li { min-width: 0; background: var(--paper); }
.guide-grid a { min-height: 105px; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-content: center; gap: 3px 10px; color: var(--ink); text-decoration: none; }
.guide-grid a:hover { background: var(--mint); }
.guide-grid strong { font-family: var(--display); font-size: clamp(23px, 2.5vw, 32px); font-weight: 700; letter-spacing: -.04em; line-height: 1.15; }
.guide-grid .button-arrow { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--green); }
.guide-category { color: var(--muted); font-size: 14px; font-weight: 650; }
.home-guides .guide-grid li:last-child { grid-column: 1 / -1; }
.home-bottom { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(35px, 7vw, 110px); margin-block: 65px 48px; }
.game-intro ol { margin-bottom: 0; padding-left: 23px; }
.game-intro li { margin-top: 10px; padding-left: 3px; }

.faq h2, .sources h2 { margin-bottom: 15px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { min-height: 51px; padding: 12px 25px 12px 3px; cursor: pointer; font-weight: 700; }
.faq summary::marker { color: var(--green); }
.faq details p { padding: 0 14px 14px 3px; color: var(--muted); }
.sources h2 { font-size: 25px; }
.sources ul { display: flex; flex-wrap: wrap; list-style: none; gap: 8px 20px; margin: 0; padding: 0; }
.sources li { font-size: 15px; }
.home > .sources { margin-bottom: 60px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px 11px; align-items: center; color: var(--muted); font-size: 14px; margin-block: 23px 31px; }
.article-intro { border-bottom: 1px solid var(--line); padding-bottom: 32px; }
.article-intro h1, .missing h1 { font-size: clamp(48px, 7.7vw, 104px); line-height: 1; margin: 8px 0 12px; }
.article-intro .lede { max-width: 59ch; }
.article-layout { display: grid; grid-template-columns: minmax(0, 790px) minmax(215px, 295px); gap: clamp(28px, 6vw, 86px); justify-content: space-between; padding-block: 35px 55px; }
.article-content { min-width: 0; font-size: 17px; }
.article-content h2 { font-size: clamp(28px, 3.3vw, 41px); margin-bottom: 15px; }
.article-content > section + section { margin-top: 42px; }
.article-content section > p + p { margin-top: 12px; }
.article-content p a { font-weight: 650; }
.procedure { padding-left: 24px; margin: 14px 0 0; }
.procedure li { padding-left: 5px; margin-bottom: 13px; }
.procedure li::marker { color: var(--green); font-weight: 700; }
.guide-side { align-self: start; position: sticky; top: 20px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 18px; }
.toc h2 { font: 750 16px/1.2 var(--font); }
.toc ul { list-style: none; margin: 10px 0 0; padding: 0; }
.toc a { display: block; padding-block: 7px; font-size: 15px; }
.sidebar-play { padding: 19px 0 0; }
.sidebar-play p { margin-bottom: 7px; color: var(--muted); }
.related { border-top: 1px solid var(--line); padding-block: 25px 55px; }
.related h2 { font-size: clamp(29px, 3.5vw, 40px); }
.related .guide-grid:has(li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.game-figure { margin-top: 22px; }
.game-figure img { border-radius: 9px; border: 1px solid var(--line); }
.game-figure figcaption { margin-top: 7px; color: var(--muted); font-size: 14px; }
.table-wrap { margin-top: 18px; }
table { border: 1px solid var(--line); border-collapse: collapse; width: 100%; overflow-wrap: anywhere; }
caption { text-align: left; margin-bottom: 5px; font-weight: 700; color: var(--green-dark); font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 16px; }
thead { background: var(--mint); }
tbody { background: var(--surface); }
.reset-display { border-left: 4px solid var(--green); background: var(--mint); padding: 17px 20px; }
.reset-clock { font-size: clamp(30px, 6vw, 50px); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--green-dark); }
.missing { padding-block: 80px; }
.missing p { margin-bottom: 22px; }
.missing .text-link { margin-left: 8px; }

.footer { background: #e9ede1; border-top: 1px solid var(--line); padding-block: 29px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 14px 35px; align-items: start; }
.footer-inner p { color: var(--muted); margin-top: 6px; font-size: 14px; }
.footer nav { display: flex; flex-direction: column; gap: 5px; }
.footer nav a, .footer-inner > a { font-size: 15px; }
.footer-inner > a { grid-column: 1; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 44px); }
  .hero { gap: 26px; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); }
  .hero-facts > div { padding-inline: 10px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .masthead-inner { grid-template-columns: 1fr auto; gap: 0 10px; min-height: 0; padding-top: 9px; }
  .primary { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 10px; margin-top: 3px; }
  .primary a { font-size: 14px; }
  .header-play { grid-column: 2; grid-row: 1; min-height: 42px; padding-inline: 12px; }
  .hero { display: block; padding-block: 27px 42px; }
  .hero h1 { font-size: clamp(54px, 15vw, 100px); line-height: .92; letter-spacing: -.083em; margin: 10px 0 13px; }
  .hero h1 br { display: none; }
  .hero .lede { max-width: 36ch; }
  .hero-actions { margin-block: 15px 16px; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-facts > div { padding-block: 8px; }
  .next-shift { margin-top: 3px; }
  .play { margin-top: 13px; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid a { min-height: 90px; padding: 12px; }
  .home-bottom { grid-template-columns: 1fr; gap: 31px; margin-block: 39px; }
  .article-layout { grid-template-columns: 1fr; gap: 25px; padding-block: 22px 38px; }
  .guide-side { position: static; grid-row: 1; }
  .sidebar-play { display: none; }
  .article-content > section + section { margin-top: 32px; }
  .crumbs { margin-block: 18px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
  .footer-inner > div { grid-column: 1 / -1; }
  th, td { padding: 9px 7px; font-size: 15px; }
}

@media (max-width: 360px) {
  .primary { gap: 4px; }
  .primary a { font-weight: 600; }
  .hero h1 { font-size: 49px; }
  .hero-facts > div { padding-inline: 7px; }
  .play-bar { padding-inline: 10px; }
}
