@font-face { font-family: OD Nunito; src: url(../assets/Nunito-Variable.ttf) format("truetype"); font-weight: 200 1000; font-display: swap; }
:root { --green: #003c20; --paper: #fbf8ed; --ink: #173225; --gold: #dda300; --line: #e0d6b9; font-family: "OD Nunito", "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; }
h1,h2,h3,p,figure { margin: 0; }
a:focus-visible,button:focus-visible { outline: 3px solid #aa7b08; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 20; padding: 12px; background: #fff; }
.skip:focus { top: 10px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: block; line-height: 0; flex: 0 1 220px; }
.brand img { width: 220px; height: 47px; object-fit: contain; }
.masthead-tools { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 800; }
.languages { display: flex; gap: 10px; align-items: center; }
.languages a { text-decoration: none; padding-block: 10px; }
.languages a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--gold); }
.languages span { color: #788378; }
.back-link { text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.intro { background: var(--green); color: #fffdf8; border-bottom: 4px solid var(--gold); }
.intro-inner { padding-block: 38px 42px; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.eyebrow { font-size: 12px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.intro .eyebrow { display: flex; flex-wrap: wrap; gap: 18px; color: #e7d6a4; }
.intro .eyebrow span { color: #d1ddd1; font-weight: 650; }
h1 { margin-block: 12px 14px; font-size: clamp(31px,4vw,48px); line-height: 1.15; letter-spacing: -.025em; font-weight: 850; }
.intro-text { max-width: 740px; font-size: 18px; line-height: 1.65; color: #edf1e8; }
.update-number { flex: 0 0 110px; display: flex; flex-direction: column; align-items: center; color: #e4c67b; }
.update-number strong { font: 80px/1.05 Georgia,serif; }
.update-number span { font-size: 11px; letter-spacing: .22em; }
.update-number span:last-child { font-size: 18px; letter-spacing: .1em; margin-top: 7px; }
.chapter-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-block: 22px; border-bottom: 1px solid var(--line); font-weight: 800; }
.chapter-nav a { display: inline-flex; gap: 12px; padding-block: 5px; }
.chapter { padding-block: 36px 38px; scroll-margin-top: 12px; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 25px; }
.section-heading .eyebrow { color: #806015; margin-bottom: 8px; }
h2 { font-size: clamp(25px,3vw,33px); line-height: 1.25; letter-spacing: -.02em; }
.section-heading > p:last-child { font-size: 17px; line-height: 1.6; margin-top: 10px; }
.guide { border: 1px solid var(--line); border-radius: 8px; overflow: clip; background: #fffdf8; box-shadow: 0 4px 20px #153b2210; }
.guide.ready { display: grid; grid-template-columns: 265px minmax(0,1fr); }
.step-controls { padding: 15px 12px; background: #f3eedf; border-right: 1px solid var(--line); }
.step-controls button { width: 100%; display: flex; align-items: center; text-align: left; gap: 11px; padding: 16px 10px; border: 0; border-radius: 5px; color: var(--ink); background: transparent; font-size: 16px; font-weight: 750; line-height: 1.35; margin-bottom: 4px; }
.step-controls button:hover { background: #e7dfc7; }
.step-controls button[aria-pressed=true] { background: var(--green); color: #fff; }
.step-controls button[aria-pressed=true]:focus-visible { outline-color: var(--gold); outline-offset: -4px; }
.step-number { flex: 0 0 25px; width: 25px; height: 25px; line-height: 25px; text-align: center; border: 1px solid #c5b991; border-radius: 50%; font-size: 13px; font-weight: 800; }
[aria-pressed=true] .step-number { color: #f8d674; border-color: #caa84e; }
.step-arrow { margin-left: auto; font-size: 23px; }
.guide-content { min-width: 0; }
.tour-scene { padding: 26px 30px 12px; }
.tour-scene + .tour-scene { border-top: 1px solid var(--line); }
.ready .tour-scene { border-top: 0; }
.scene-counter { font-size: 12px; color: #75653e; font-weight: 800; margin-bottom: 7px; }
h3 { font-size: 25px; line-height: 1.25; }
.scene-description > p:last-child { margin-top: 10px; font-size: 17px; line-height: 1.65; min-height: 57px; }
.game-shot { margin-top: 20px; }
.image-link { position: relative; display: flex; justify-content: center; align-items: center; min-height: 230px; padding: 18px 18px 52px; background: #e7eee5; border: 1px solid #d0dbcd; border-radius: 5px; }
.image-link img { display: block; max-height: 540px; max-width: 100%; width: auto; height: auto; border-radius: 4px; box-shadow: 0 2px 10px #143b2430; }
.zoom-badge { position: absolute; right: 8px; bottom: 8px; padding: 0 7px; font-size: 25px; line-height: 34px; color: var(--green); background: #fffdf8; border: 1px solid var(--line); border-radius: 4px; }
figcaption { margin-top: 10px; color: #56655c; font-size: 14px; line-height: 1.5; }
.source-note { margin-top: 12px; color: #56655c; font-size: 13px; line-height: 1.55; }
.step-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 30px 24px; }
.step-status { font-size: 13px; color: #56655c; }
.button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; border: 1px solid #cdbf96; border-radius: 5px; padding: 10px 18px; font-weight: 800; color: var(--green); background: #fffdf8; text-decoration: none; }
.button-next { background: var(--green); color: #fff; border-color: var(--green); }
.button:disabled { opacity: .4; cursor: default; }
.button:not(:disabled):hover { background: #e7efe7; color: var(--green); }
.tournament-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-top: 26px; padding-left: 17px; border-left: 3px solid var(--gold); font-size: 15px; line-height: 1.65; }
.tournament-note > strong { flex-basis: 100%; font-size: 17px; }
.tournament-note > p { flex: 1 1 620px; }
.tournament-note a { font-weight: 750; }
.more { padding-block: 25px 35px; border-top: 1px solid var(--line); }
.more h2 { font-size: 23px; }
.more p { font-size: 16px; line-height: 1.65; margin-block: 10px; max-width: 850px; }
.more a { font-size: 15px; font-weight: 750; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px 32px; margin-block: 24px; }
.more-grid article { border-top: 1px solid var(--line); padding-top: 18px; }
.more-grid h3 { font-size: 19px; margin: 0; }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-block: 23px; border-top: 1px solid var(--line); color: #56655c; font-size: 13px; }
.footer nav { display: flex; gap: 18px; }
.lightbox { max-width: min(96vw,1300px); max-height: 94vh; padding: 15px; background: var(--paper); color: var(--ink); border: 1px solid #ad9a67; border-radius: 8px; }
.lightbox::backdrop { background: #001b13cf; }
.lightbox form { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.lightbox img { display: block; max-height: 72vh; max-width: 100%; margin-inline: auto; object-fit: contain; }
.lightbox p { margin-top: 12px; font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 40px); }
  .guide.ready { grid-template-columns: 220px minmax(0,1fr); }
  .step-controls button { font-size: 14px; padding-inline: 6px; gap: 8px; }
  .tour-scene { padding: 22px 20px 10px; }
  .image-link { padding: 12px 12px 50px; }
  .step-pager { padding: 15px 20px 20px; }
  .step-status { display: none; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .masthead { min-height: 72px; gap: 18px; }
  .brand { flex-basis: 180px; }
  .brand img { height: 42px; }
  .back-link { display: none; }
  .intro-inner { padding-block: 26px 30px; }
  .intro-text { font-size: 16px; }
  .update-number { display: none; }
  .chapter { padding-block: 29px; }
  .guide.ready { display: block; }
  .step-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 9px; border-right: 0; border-bottom: 1px solid var(--line); }
  .step-controls button { min-height: 60px; margin: 0; padding: 9px 7px; font-size: 13px; }
  .step-arrow { display: none; }
  .step-number { flex-basis: 22px; width: 22px; height: 22px; line-height: 20px; font-size: 12px; }
  .tour-scene { padding: 20px 15px 8px; }
  h3 { font-size: 23px; }
  .scene-description > p:last-child { font-size: 16px; min-height: 0; }
  .image-link { min-height: 170px; padding: 8px 8px 50px; }
  .step-pager { padding: 14px 15px 20px; }
  .button { font-size: 14px; padding-inline: 15px; }
  .footer { align-items: flex-start; flex-direction: column; }
}
