:root{--bg:#ece3d2;--card:#fbf6ec;--ink:#231c15;--muted:#62574a;--red:#b8312b;--red-d:#962620;--yel:#f2c94c;--cork:#a87b4f;--cork-d:#8d6440;--line:#d6c9b2;--r:12px;--sh1:0 1px 2px rgba(0,0,0,.06);--sh2:0 8px 24px rgba(0,0,0,.08);--fh:'Courier Prime','Courier New',monospace;--fb:'Work Sans',system-ui,sans-serif}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--fb);font-size:17px;line-height:1.6}
img,svg{max-width:100%}
a{color:var(--red-d)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
h1,h2,h3{font-family:var(--fh);font-weight:700;line-height:1.2;margin:0 0 16px}
h1{font-size:48px}
h2{font-size:36px}
h3{font-size:22px}
p{margin:0 0 16px}
.muted{color:var(--muted)}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.narrow{max-width:808px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:8px;background:var(--card);padding:8px 16px;z-index:10}
/* header */
.top{background:var(--ink);color:var(--bg)}
.top-in{display:flex;align-items:center;justify-content:space-between;min-height:64px;gap:16px}
.brand{display:flex;align-items:center;gap:12px;color:var(--bg);text-decoration:none;font-family:var(--fh);font-weight:700;font-size:22px}
.brand .gf-site-icon{width:32px;height:32px;border-radius:8px}
.nav{display:flex;gap:24px}
.nav a{color:#d9cfbd;text-decoration:none;font-size:14px;font-weight:600}
.nav a:hover{color:var(--yel)}
/* hero + board */
.hero{padding:32px 0 48px}
.hero-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 24px;margin-bottom:24px}
.hero-head h1{margin:0}
.hero-sub{margin:0;color:var(--muted);max-width:60ch}
.board{position:relative;aspect-ratio:16/9;width:100%;border-radius:var(--r);overflow:hidden;background:var(--cork);border:12px solid #5b3f27;box-shadow:var(--sh2)}
.board iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#111}
.cover{position:absolute;inset:0;background-color:var(--cork);background-image:radial-gradient(rgba(0,0,0,.12) 1px,transparent 1.5px),radial-gradient(rgba(255,255,255,.1) 1px,transparent 1.5px);background-size:12px 12px,16px 16px;background-position:0 0,6px 8px}
.cover-string{position:absolute;inset:0;width:100%;height:100%}
.cover-string polyline{fill:none;stroke:var(--red);stroke-width:4;vector-effect:non-scaling-stroke}
.note{position:absolute;width:18%;min-width:120px;background:var(--card);padding:16px 12px 12px;box-shadow:var(--sh2);font-size:14px;color:var(--muted);text-align:center}
.note b{display:block;font-family:var(--fh);font-size:36px;color:var(--ink);line-height:1.1}
.note .pin{position:absolute;top:-6px;left:50%;width:16px;height:16px;margin-left:-8px;border-radius:50%;background:var(--red);box-shadow:0 1px 2px rgba(0,0,0,.35)}
.n1{left:8%;top:12%;transform:rotate(-4deg)}
.n2{right:10%;top:10%;transform:rotate(3deg);background:var(--yel);color:var(--ink)}
.n3{right:15%;bottom:12%;transform:rotate(-2deg)}
.n4{left:13%;bottom:12%;transform:rotate(4deg);background:var(--yel);color:var(--ink)}
.play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:12px;min-height:64px;padding:0 32px;border:0;border-radius:var(--r);background:var(--red);color:#fff;font-family:var(--fh);font-weight:700;font-size:28px;cursor:pointer;box-shadow:var(--sh2)}
.play:hover{background:var(--red-d)}
.play-tri{width:0;height:0;border-left:18px solid #fff;border-top:11px solid transparent;border-bottom:11px solid transparent}
.cover-foot{position:absolute;left:0;right:0;bottom:12px;margin:0;text-align:center;font-size:14px;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.6)}
.loading{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:var(--cork-d);color:#fff;text-align:center;padding:24px}
.board[data-gf-state="loading"] .loading{display:flex}
.loading p{margin:0;font-family:var(--fh);font-size:18px}
.load-string{width:240px;height:96px}
.load-string circle{fill:var(--red)}
.load-string polyline{fill:none;stroke:var(--yel);stroke-width:3;stroke-dasharray:420;stroke-dashoffset:420;animation:tie 1.8s ease-in-out infinite}
@keyframes tie{0%{stroke-dashoffset:420}60%,100%{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.load-string polyline{animation:none;stroke-dashoffset:0}}
.exit-fs{position:absolute;top:12px;right:12px;z-index:5;min-height:44px;padding:0 16px;border:0;border-radius:var(--r);background:var(--ink);color:#fff;font:inherit;font-weight:600;cursor:pointer}
.board[data-gf-fs="1"]{border:0;border-radius:0}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}
.act{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:2px solid var(--ink);border-radius:var(--r);background:transparent;color:var(--ink);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.act:hover{background:var(--card)}
.act-fs{margin-left:auto}
.heart{width:12px;height:12px;border-radius:50%;border:2px solid var(--red)}
.act[aria-pressed="true"]{background:var(--red);border-color:var(--red);color:#fff}
.act[aria-pressed="true"] .heart{background:#fff;border-color:#fff}
.act-msg{font-size:14px;color:var(--muted)}
.player-help{margin:16px 0 0;font-size:15px;color:var(--muted);max-width:70ch}
.player-down{margin:8px 0 0;font-size:15px;color:var(--muted);max-width:70ch}
.sec-more{margin:32px 0 0;max-width:70ch}
/* sections */
.sec{padding:64px 0}
.sec-paper{background:var(--card);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.split{display:grid;grid-template-columns:7fr 5fr;gap:48px;align-items:start}
.split-text p{max-width:70ch}
.ladder{list-style:none;margin:0;padding:0;display:flex;flex-direction:column-reverse;gap:8px}
.rung{display:flex;align-items:center;gap:16px;padding:12px 16px;background:var(--card);border:1px solid var(--line);border-left:6px solid var(--red);border-radius:var(--r)}
.rung:nth-child(1),.rung:nth-child(2){border-left-color:var(--muted)}
.rung:last-child{background:var(--yel);border-color:var(--ink);border-left-color:var(--red)}
.rung-pts{font-family:var(--fh);font-weight:700;font-size:22px;min-width:96px}
.rung-name{font-weight:600}
.steps{list-style:none;margin:0;padding:0;counter-reset:s;display:grid;grid-template-columns:repeat(2,1fr);gap:24px 48px}
.steps li{counter-increment:s;position:relative;padding-left:64px}
.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:44px;height:44px;border-radius:50%;background:var(--red);color:#fff;font-family:var(--fh);font-weight:700;font-size:22px;display:flex;align-items:center;justify-content:center}
.steps h3{margin:0 0 8px}
.steps p{margin:0;color:var(--muted)}
.table-wrap{overflow-x:auto;margin-top:24px}
.tiers{width:100%;border-collapse:collapse;background:var(--card);border-radius:var(--r);overflow:hidden;box-shadow:var(--sh1)}
.tiers th,.tiers td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--line);vertical-align:top}
.tiers thead th{background:var(--ink);color:var(--bg);font-size:14px}
.tiers tbody th{font-family:var(--fh);white-space:nowrap}
.tiers td:nth-child(2){font-family:var(--fh);font-weight:700;white-space:nowrap}
.tips{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.tip{padding:24px;border:2px dashed var(--line);border-radius:var(--r)}
.tip p{margin:0;color:var(--muted)}
.qa{border-bottom:1px solid var(--line);padding:16px 0}
.qa summary{cursor:pointer;font-weight:600;font-size:18px;list-style:none;padding-right:32px;position:relative}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:'+';position:absolute;right:0;top:0;font-family:var(--fh);color:var(--red);font-size:22px;line-height:1.2}
.qa[open] summary::after{content:'\2212'}
.qa p{margin:12px 0 0;color:var(--muted);max-width:70ch}
/* comments */
.cform{display:grid;gap:8px;margin:24px 0 32px}
.lbl{font-size:14px;font-weight:600}
.cform input,.cform textarea{width:100%;font:inherit;font-size:16px;padding:12px;border:1px solid var(--line);border-radius:var(--r);background:#fff;color:var(--ink)}
.cform-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:8px}
.btn{min-height:44px;padding:0 24px;border:0;border-radius:var(--r);background:var(--red);color:#fff;font:inherit;font-weight:600;cursor:pointer}
.btn:hover{background:var(--red-d)}
.btn-ghost{min-height:44px;padding:0 16px;border:2px solid var(--ink);border-radius:var(--r);background:transparent;color:var(--ink);font:inherit;font-weight:600;cursor:pointer;display:none}
.cform[data-gf-replying] .btn-ghost{display:inline-block}
.replying:empty{display:none}
.replying{margin:0;font-size:14px;color:var(--muted)}
.cmsg{font-size:14px;color:var(--muted)}
.cempty{display:none;color:var(--muted)}
.clist[data-gf-empty] .cempty{display:block}
.c{padding:16px 0;border-top:1px solid var(--line)}
.c-hd{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:baseline;font-size:14px}
.c-hd time{color:var(--muted)}
.c-owner{display:none;background:var(--yel);color:var(--ink);font-size:12px;font-weight:600;padding:0 8px;border-radius:999px}
.c[data-gf-owner] > .c-hd .c-owner{display:inline-block}
.c[data-gf-owner]{border-left:4px solid var(--yel);padding-left:12px}
.c-to:empty{display:none}
.c-to{margin:4px 0 0;font-size:14px;color:var(--muted)}
.c-text{margin:8px 0;white-space:pre-wrap}
.c-reply{border:0;background:none;padding:0;color:var(--red-d);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.c-replies{margin-left:24px}
/* legal */
.legal{padding:48px 0 64px}
.legal h1{font-size:36px}
.legal-date{color:var(--muted);font-size:14px}
.legal h2{font-size:22px;margin-top:32px}
.legal p,.legal li{max-width:70ch}
/* footer */
.foot{background:var(--ink);color:#d9cfbd;padding:48px 0}
.foot-in{display:grid;grid-template-columns:3fr 1fr;gap:24px}
.foot-brand{font-family:var(--fh);font-weight:700;font-size:22px;color:var(--bg);margin-bottom:8px}
.foot-note,.foot-copy{font-size:14px;margin:0;max-width:70ch}
.foot-links{display:flex;flex-direction:column;gap:8px}
.foot-links a{color:var(--yel);font-size:14px}
.foot-copy{grid-column:1/-1}
[hidden]{display:none!important}
@media (max-width:860px){.split{grid-template-columns:1fr;gap:32px}.note{display:none}}
@media (max-width:640px){
h1{font-size:32px}
h2{font-size:28px}
.wrap{padding:0 16px}
.hero{padding:24px 0 32px}
.board{border-width:6px;aspect-ratio:4/5}
.play{font-size:22px;padding:0 24px;white-space:nowrap}
.nav{gap:16px}
.nav a:nth-child(2){display:none}
.sec{padding:48px 0}
.steps,.tips{grid-template-columns:1fr}
.act-fs{margin-left:0}
.foot-in{grid-template-columns:1fr}
.btn{width:100%}
}


/* --- article pages --- */
.doc { padding-top: 56px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.12; letter-spacing: -0.02em; margin: 10px 0 16px; text-wrap: balance; }
.doc-lede { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 64ch; margin: 0 0 30px; }
.doc h2 { font-size: 24px; line-height: 1.25; margin: 40px 0 12px; letter-spacing: -0.01em; }
.doc h3 { font-size: 18px; margin: 24px 0 8px; }
.doc p { max-width: 70ch; margin: 0 0 16px; }
.doc ul, .doc ol { max-width: 70ch; margin: 0 0 18px 22px; padding: 0; }
.doc li { margin: 0 0 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc thead th { font-weight: 600; border-bottom-width: 2px; }
.doc a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.doc-crumb { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0; }
.doc-crumb a { text-decoration: none; }
.doc-next { margin: 44px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.7; color: var(--muted); }
@media (max-width: 640px) {
  .doc { padding-top: 36px; }
  .doc h2 { margin-top: 32px; font-size: 21px; }
  .doc table { font-size: 14px; }
  .doc th, .doc td { padding: 8px 8px; }
}


/* --- review fixes: containment, nav, contrast, actions --- */
html, body { overflow-x: hidden; }
.hero .board { max-width: 1120px; margin-inline: auto; overflow: hidden; }
.board .cover, .board .loading { overflow: hidden; }
.cover .note b { font-size: clamp(18px, 2.4vw, 26px); }
.cover .note span { font-size: clamp(10px, 1.1vw, 13px); }
.cover .put, .cover .note { max-width: 42%; }
.cover-string, .load-string { pointer-events: none; }
.cover .play { position: relative; z-index: 2; box-shadow: var(--sh2); }
.cover-foot { font-size: 14px; }
.split-text p, .sec p { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.actions .act { min-height: 44px; padding: 0 18px; border-radius: 999px; }
.nav a { font-size: 15px; }
.nav { gap: 22px; }
@media (max-width: 820px) {
  .top-in { flex-wrap: nowrap; gap: 14px; }
  .brand span { white-space: nowrap; font-size: 17px; }
  .nav { display: flex; gap: 16px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; font-size: 14px; }
  .nav a:nth-child(2) { display: inline-flex; }
}
@media (max-width: 640px) {
  .actions { justify-content: space-between; }
  .actions .act { flex: 1 1 auto; text-align: center; }
  .board .cover .note { max-width: 44%; }
}


/* --- review fixes round 2 --- */
p, li, td, th, .split-text p, .sec p, .qa p, .qa summary { color: var(--ink); }
.hero { padding-bottom: 28px; }
.cover .play { display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: var(--sh1); }
.cover .play .play-tri { flex: 0 0 auto; }
.steps { gap: 26px; }
.steps li { margin-bottom: 10px; }
.doc tbody tr:nth-child(even) td { background: var(--bg); }
.doc-cta { margin: 0 0 34px; }
.doc-cta .btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 26px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; line-height: 1.9; }
@media (max-width: 820px) {
  .top-in { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; }
  .brand { flex: 0 0 auto; }
  .brand span { white-space: nowrap; font-size: 16px; }
  .nav { flex: 1 1 0; min-width: 0; display: flex; justify-content: flex-end; gap: 16px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .actions { justify-content: flex-start; }
  .actions .act { flex: 0 0 auto; min-height: 40px; padding: 0 16px; font-size: 14px; }
}
@media (max-width: 560px) {
  .brand span { display: none; }
  .nav { justify-content: space-between; gap: 14px; }
}


/* --- review fixes round 3 --- */
.sec p, .split-text p, .qa p, .qa summary, .tip p, .steps p, .steps li p { color: var(--ink); font-size: 16px; line-height: 1.62; }
.actions { justify-content: space-between; }
.foot { border-top: 1px solid var(--line); }
.doc-cta .btn { color: #fff; }
@media (max-width: 820px) {
  .cover .note { display: flex !important; transform: scale(.82); }
  .actions { flex-wrap: wrap; gap: 8px; }
  .actions .act { flex: 0 0 auto; }
  .doc-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
}
@media (max-width: 560px) {
  .cover .note { transform: scale(.7); }
}


/* --- mobile header: two rows instead of an overflowing single row --- */
@media (max-width: 700px) {
  .top-in { flex-wrap: wrap; align-items: center; min-height: 0; padding: 10px 0; gap: 8px; }
  .brand { flex: 0 0 auto; }
  .brand span { display: inline; font-size: 17px; }
  .nav { flex: 1 1 100%; justify-content: flex-start; flex-wrap: wrap; gap: 8px 18px; overflow: visible; }
  .nav a { font-size: 14px; }
  .doc h1 { font-size: 30px; }
}
