:root {
  color-scheme: light;
  --paper: #f5efe2;
  --cream: #fbf6eb;
  --green: #1d3027;
  --ink: #25332b;
  --muted: #596459;
  --rule: #d9cdb6;
  --red: #a83d2b;
  --gold: #e5c68c;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #ab7430; outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 3; inset: .5rem auto auto 1rem; padding: .5rem .9rem; background: var(--cream); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.masthead { border-bottom: 1px solid var(--rule); background: var(--cream); }
.masthead-row, .footer-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.masthead-row { min-height: 70px; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font: 700 24px/1 var(--serif); letter-spacing: -.05em; }
.wordmark img { flex: none; }
.masthead nav { display: flex; gap: clamp(.9rem, 3.2vw, 2.75rem); font-size: .86rem; font-weight: 650; }
.masthead nav a { text-decoration: none; padding-block: .6rem; }
.masthead nav a:hover, .direct-game:hover { text-decoration: underline; }
.title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 1.75rem 0 .7rem; }
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin: 0; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); }
.edition, .cover-label, .cover-board figcaption { font-family: var(--mono); font-size: .7rem; font-weight: 650; letter-spacing: .13em; }
.edition { color: var(--muted); }
.player { border: 1px solid var(--green); border-radius: 9px; overflow: hidden; background: var(--cream); }
.stage { position: relative; isolation: isolate; height: clamp(400px, 43vw, 520px); background: var(--green); color: var(--cream); }
.cover, .loading, .stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage iframe { display: block; border: 0; background: #09100c; }
.stage:fullscreen { width: 100%; height: 100%; }
.cover { display: grid; grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(305px, 4fr) minmax(0, 6fr); align-items: center; gap: clamp(1rem, 4vw, 4rem); padding: clamp(1.75rem, 5vw, 4.75rem); background-color: var(--green); background-image: radial-gradient(ellipse at 90% 47%, #425844 0, transparent 65%), linear-gradient(90deg, transparent calc(100% - 1px), #ffffff12 0), linear-gradient(0deg, transparent calc(100% - 1px), #ffffff12 0); background-size: auto, 43px 43px, 43px 43px; }
.cover-label { margin: 0 0 1rem; color: var(--gold); }
.cover-label span { display: inline-block; margin-right: .36rem; width: .58rem; height: .58rem; background: var(--gold); transform: rotate(45deg); }
.tagline { margin: 0; color: var(--cream); font: 700 clamp(2.65rem, 5.1vw, 4.125rem)/.98 var(--serif); letter-spacing: -.065em; }
.cover-intro { max-width: 29ch; margin: 1.15rem 0 1.45rem; color: #e3decf; line-height: 1.5; }
.play-button, .comment-form button[type=submit] { border: 1px solid #d77c66; border-radius: 5px; padding: .8rem 1.05rem; background: var(--red); color: #fff7ea; font-weight: 750; }
.play-button { min-height: 54px; display: inline-flex; align-items: center; gap: .75rem; box-shadow: 0 3px 0 #602418; }
.play-button:hover, .comment-form button[type=submit]:hover { background: #8f3122; }
.play-button:active { box-shadow: none; transform: translateY(2px); }
.play-button span { font-size: .85em; }
.cover-board { margin: 0; padding: 8px; min-width: 0; background: #13231c; border: 1px solid #b5a174; border-radius: 7px; box-shadow: 0 16px 36px #0c1713a0; }
.cover-board img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; border-radius: 2px; }
.cover-board figcaption { margin: 8px 3px 1px; color: #e4d2a9; font-size: .63rem; }
.cover-board figcaption span { color: #aab7ab; margin-inline: .25rem; }
.loading { display: grid; place-content: center; justify-items: center; background: var(--green); font-weight: 650; }
.loading-pieces { display: flex; gap: .65rem; padding-block: .75rem; }
.loading-pieces span { display: grid; place-items: center; width: 42px; height: 50px; background: var(--red); color: var(--cream); border: 1px solid #d77c66; border-radius: 5px; font: 700 1.45rem/1 var(--serif); animation: turn-piece 1.2s ease-in-out infinite alternate; }
.loading-pieces span:nth-child(2) { animation-delay: .18s; }
.loading-pieces span:nth-child(3) { animation-delay: .36s; }
@keyframes turn-piece { 0%, 45% { transform: translateY(0) rotateY(0); } 100% { transform: translateY(-8px) rotateY(45deg); } }
@media (prefers-reduced-motion: reduce) { .loading-pieces span { animation: none; } }
.player-tools, .tool-group { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.player-tools { justify-content: space-between; min-height: 62px; padding: .5rem .85rem; border-top: 1px solid var(--rule); }
.tool-group button, .direct-game { display: inline-flex; align-items: center; gap: .36rem; min-height: 44px; padding: .4rem .62rem; border-radius: 5px; background: transparent; border: 1px solid transparent; color: var(--ink); font-size: .86rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.tool-group button:hover { border-color: var(--rule); background: var(--paper); }
.tool-group button > span[aria-hidden] { font-size: 1.2rem; line-height: 1; }
.tool-group button[data-gf-liked], .tool-group button[aria-pressed=true] { color: #8f3122; background: #f4e3d9; border-color: #d9ae9d; }
[data-gf-like-count]:empty { display: none; }
.share-message { color: var(--muted); font-size: .8rem; }
.playbook { display: grid; grid-template-columns: minmax(210px, 1fr) minmax(0, 2.6fr); align-items: start; gap: clamp(2rem, 6vw, 6.25rem); padding-block: 3.5rem; }
.reference { padding: 1.1rem 1rem 0; border-top: 3px solid var(--red); background: #ece4d3; border-radius: 0 0 7px 7px; }
.reference h2 { margin: .2rem .1rem .9rem; font-size: 1.45rem; }
.reference dl { margin: 0; }
.reference dl > div { display: flex; align-items: center; gap: .8rem; padding: .85rem .1rem; border-top: 1px solid #d0c2aa; }
.reference dt { font-weight: 750; }
.reference dd { margin: .1rem 0 0; color: var(--muted); font-size: .87rem; line-height: 1.4; }
.tile { flex: 0 0 38px; height: 45px; display: grid; place-items: center; background: var(--green); color: var(--gold); border: 1px solid #627465; border-radius: 5px; font: 700 1.35rem/1 var(--serif); }
.prose p { max-width: 69ch; margin: 0 0 1.1rem; }
.prose h2 { margin: 2.25rem 0 .8rem; }
.prose h2:first-child { margin-top: 0; }
.faq { padding: 1.5rem clamp(1.15rem, 4vw, 3.25rem) 2.25rem; border: 1px solid var(--rule); background: var(--cream); border-radius: 7px; }
.faq h2 { margin-top: .3rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq summary { padding: .9rem 0; font-weight: 700; cursor: pointer; }
.faq details p { margin: 0 0 1rem; max-width: 68ch; }
.discussion { display: grid; grid-template-columns: minmax(210px, 1fr) minmax(0, 2.6fr); gap: clamp(2rem, 6vw, 6.25rem); padding: 3.5rem 0; }
.discussion-intro h2 { margin: 0 0 .7rem; }
.discussion-intro p, .empty-comment { color: var(--muted); }
.comment-form { display: grid; gap: .45rem; }
.comment-form label { font-weight: 700; font-size: .9rem; }
.comment-form label span { color: var(--muted); font-weight: 400; }
.comment-form input, .comment-form textarea { min-width: 0; width: 100%; padding: .6rem .75rem; color: var(--ink); background: var(--cream); border: 1px solid #aa9d86; border-radius: 4px; }
.comment-form input { max-width: 23rem; }
.comment-form textarea { resize: vertical; }
.comment-form button[type=submit] { justify-self: start; margin-top: .25rem; }
[data-gf-comment-msg] { margin: 0; }
[data-gf-comment-msg]:empty, .comment-form:not([data-gf-replying]) .reply-target, .comment-list:not([data-gf-empty]) .empty-comment { display: none; }
.reply-target button, .comment button { color: var(--ink); border: 1px solid var(--rule); background: var(--cream); border-radius: 4px; padding: .25rem .65rem; }
.comment { padding: 1rem 0; border-top: 1px solid var(--rule); overflow-wrap: anywhere; }
.comment time { color: var(--muted); font-size: .8rem; }
.comment p { margin: .35rem 0; }
.replies { padding-left: 1rem; }
.owner { font-size: .78rem; color: #843324; }
[data-gf-owner].comment { border-inline-start: 3px solid var(--red); padding-inline-start: .65rem; }
.footer { border-top: 1px solid var(--rule); background: var(--cream); }
.footer-row { min-height: 108px; padding-block: 1.15rem; }
.footer strong { font: 700 1.25rem/1 var(--serif); }
.footer p { margin: .25rem 0 0; color: var(--muted); font-size: .84rem; }
.footer a { flex: none; font-size: .88rem; }
.legal { max-width: 730px; min-height: 65vh; padding-block: 2.5rem 4rem; }
.legal h1 { margin: .8rem 0 1rem; }
.back-link { color: var(--muted); font-size: .9rem; }
@media (max-width: 820px) {
  .shell { width: calc(100% - 36px); }
  .cover { grid-template-columns: minmax(220px, 4fr) minmax(0, 6fr); padding: 1.65rem; }
  .tagline { font-size: clamp(2.25rem, 6.6vw, 3.7rem); }
  .playbook, .discussion { gap: 1.8rem; }
}
@media (max-width: 605px) {
  .shell { width: calc(100% - 28px); }
  .masthead-row { min-height: 60px; gap: .4rem; }
  .wordmark { font-size: 1.16rem; gap: .35rem; }
  .wordmark img { width: 28px; height: 28px; }
  .masthead nav { gap: .65rem; font-size: .76rem; }
  .masthead nav a { padding-block: .8rem; }
  .title-row { margin-top: 1.2rem; }
  .edition { display: none; }
  .stage { height: clamp(555px, 160vw, 680px); }
  .cover { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 1.2rem; padding: 1.15rem; }
  .cover-label { margin-bottom: .55rem; }
  .tagline br { display: none; }
  .tagline { max-width: 13ch; font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .cover-intro { margin: .65rem 0 .9rem; }
  .play-button { min-height: 46px; padding: .6rem .85rem; }
  .cover-board { padding: 5px; }
  .cover-board img { max-height: 166px; }
  .cover-board figcaption { margin-top: 4px; font-size: .56rem; }
  .player-tools { padding: .35rem .45rem; }
  .direct-game { order: 2; white-space: normal; }
  .playbook, .discussion { grid-template-columns: 1fr; padding-block: 2rem; }
  .playbook .reference { order: 2; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 350px) {
  .masthead nav { gap: .45rem; }
  .masthead nav a:last-child { display: none; }
  .cover { padding: .9rem; }
  .stage { height: 555px; }
}