:root {
  --ink: #15251f;
  --ink-soft: #52615b;
  --paper: #f4f0e3;
  --paper-deep: #e9e2cf;
  --white: #fffdf7;
  --red: #ef4438;
  --red-dark: #a9251d;
  --yellow: #ffd84c;
  --mint: #69cfad;
  --blue: #677cff;
  --pink: #ef9fc4;
  --violet: #a984d8;
  --line: #9f9a8b;
  --focus: #075fbd;
  --max: 1440px;
  --shadow: 7px 8px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(21,37,31,.08) .8px, transparent .8px);
  background-size: 18px 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
code { padding: .08em .25em; background: var(--paper-deep); overflow-wrap: anywhere; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button, a { touch-action: manipulation; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  padding: .7rem 1rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  max-width: var(--max);
  min-height: 68px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(244,240,227,.96);
  border-bottom: 3px solid var(--ink);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .75rem;
  font-weight: 900;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand-logo { flex: 0 0 auto; width: 46px; height: 46px; }
.brand-wordmark { white-space: nowrap; }
.header-nav { display: flex; align-items: center; gap: 18px; }
.share-short { display: none; }
.header-link {
  padding: .5rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.header-button {
  min-height: 44px;
  padding: .55rem .8rem;
  color: var(--white);
  background: var(--red-dark);
  border: 2px solid var(--red-dark);
  font-weight: 850;
}
.problem-report {
  min-height: 44px;
  padding: .5rem .68rem;
  display: inline-flex;
  align-items: center;
  color: var(--red-dark);
  background: var(--white);
  border: 2px solid var(--red-dark);
  font-size: .82rem;
  font-weight: 850;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
}
.problem-report:hover, .problem-report:focus-visible { color: var(--white); background: var(--red-dark); }

.project-strip {
  max-width: var(--max);
  margin: 0 auto;
  color: var(--white);
  background: var(--ink);
  border-bottom: 3px solid var(--ink);
}
.project-strip-inner {
  min-height: 60px;
  display: grid;
  grid-template-columns: auto repeat(4, minmax(0, 1fr));
}
.project-strip-inner, .field-board { overscroll-behavior-inline: contain; }
.project-strip-label {
  padding: .55rem .8rem;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--red-dark);
  font: 900 .68rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.project-strip a {
  min-width: 0;
  min-height: 60px;
  padding: .46rem .75rem .42rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,.26);
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.project-strip a:hover, .project-strip a:focus-visible {
  color: var(--ink);
  background: var(--yellow);
}
.project-strip strong {
  overflow-wrap: anywhere;
  font: 900 .82rem/1.15 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.project-strip a span {
  margin-top: .18rem;
  color: inherit;
  font-size: .82rem;
  line-height: 1.22;
}

main { max-width: var(--max); margin: 0 auto; padding: 0 32px 96px; }
.eyebrow {
  margin: 0 0 .7rem;
  color: var(--red-dark);
  font: 900 .78rem/1.25 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .98;
}
h1 { font-size: clamp(3.5rem, 6.5vw, 6.7rem); }
h2 { font-size: clamp(2.35rem, 5vw, 5rem); }
h3 { font-size: 1.45rem; line-height: 1.12; }

.start-screen {
  min-height: calc(100svh - 128px);
  padding: clamp(20px, 3.8vh, 48px) 0;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(390px, 540px);
  justify-content: space-between;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.hero-copy { min-width: 0; animation: hero-arrive .65s cubic-bezier(.2,.75,.2,1) both; }
.hero-copy h1 {
  max-width: 100%;
  font-size: clamp(4rem, min(6.2vw, 9.6svh), 6.35rem);
  line-height: .82;
}
.hero-copy h1 > span { display: block; }
.hero-copy .title-subject {
  margin-top: .16em;
  font-size: .7em;
  letter-spacing: -.055em;
  line-height: .94;
}
.hero-subline {
  max-width: 690px;
  margin: clamp(1rem, 2.2vh, 1.4rem) 0 .75rem;
  font: 700 clamp(1.12rem, min(1.7vw, 2.6svh), 1.48rem)/1.28 Georgia, "Times New Roman", serif;
}
.hero-explanation { max-width: 680px; margin: 0 0 clamp(.75rem, 1.7vh, 1.05rem); font-size: clamp(.94rem, 1.5svh, 1.04rem); }
.audience-note {
  max-width: 690px;
  margin: 0;
  padding: clamp(10px, 1.4vh, 14px) 16px;
  background: var(--white);
  border-left: 7px solid var(--mint);
  font-size: clamp(.82rem, 1.45svh, .92rem);
  line-height: 1.42;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(15px, 2.2vh, 22px); }
.primary-action, .secondary-action, .continue-action {
  min-height: 52px;
  padding: .8rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}
.primary-action { color: var(--white); background: var(--red); box-shadow: 4px 5px 0 var(--ink); }
.secondary-action { color: var(--ink); background: var(--white); }
.continue-action { color: var(--ink); background: var(--yellow); }
.adventure-action { min-height: clamp(54px, 6.2svh, 62px); padding-inline: 1.35rem; font-size: 1.04rem; animation: action-arrive .6s .55s cubic-bezier(.2,.8,.2,1) both; }

.compass-explorer {
  min-width: 0;
  width: 100%;
  padding: clamp(14px, 2vh, 20px) clamp(16px, 1.8vw, 24px) clamp(18px, 2.4vh, 26px);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 8px 9px 0 var(--ink);
  animation: compass-panel-arrive .7s .12s cubic-bezier(.2,.75,.2,1) both;
}
.compass-instruction {
  margin: 0 0 4px;
  font: 900 .75rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}
.compass-map {
  position: relative;
  width: min(100%, clamp(350px, 51svh, 490px));
  aspect-ratio: 1;
  margin: 0 auto;
}
.compass-face {
  position: absolute;
  inset: 11%;
  width: 78%;
  height: 78%;
  overflow: visible;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
}
.compass-face circle:nth-child(2) { stroke-width: 1; stroke-dasharray: 4 8; }
.compass-face > path { opacity: .2; stroke-width: 1.2; }
.compass-face text {
  fill: var(--ink);
  stroke: none;
  font: 900 16px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-anchor: middle;
}
.compass-needle { transform-origin: 180px 180px; animation: needle-find-north 1.25s .25s cubic-bezier(.2,.8,.25,1) both; }
.needle-north { fill: var(--red); stroke-width: 3; }
.needle-south { fill: var(--paper-deep); stroke-width: 3; }
.compass-needle circle { fill: var(--yellow); stroke-width: 3; }
.compass-readout {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(46%, 220px);
  min-height: 138px;
  padding: 18px 16px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink);
  background: rgba(255,253,247,.96);
  border: 3px solid var(--ink);
  transform: translate(-50%, -50%);
  text-align: center;
}
.compass-readout strong { font: 700 1.25rem/1.05 Georgia, "Times New Roman", serif; }
.compass-readout span { margin-top: 7px; font-size: .77rem; line-height: 1.3; }
.compass-readout small { margin-top: 8px; color: var(--red-dark); font: 900 .64rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.compass-point {
  position: absolute;
  z-index: 3;
  max-width: 132px;
  min-height: 38px;
  padding: .45rem .6rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 3px 4px 0 var(--ink);
  transform: translate(-50%, -50%);
  font: 900 clamp(.62rem, .85vw, .76rem)/1.12 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
  text-transform: uppercase;
  animation: point-arrive .48s cubic-bezier(.2,.8,.2,1) backwards;
  transition: color .15s ease, background-color .15s ease, transform .15s ease;
}
.compass-point:hover, .compass-point:focus-visible, .compass-point.is-active {
  color: var(--ink);
  background: var(--yellow);
  transform: translate(-50%, calc(-50% - 4px));
}
.point-1 { top: 6%; left: 50%; animation-delay: .18s; }
.point-2 { top: 20%; left: 82%; animation-delay: .25s; }
.point-3 { top: 50%; left: 88%; animation-delay: .32s; }
.point-4 { top: 80%; left: 82%; animation-delay: .39s; }
.point-5 { top: 94%; left: 50%; animation-delay: .46s; }
.point-6 { top: 80%; left: 18%; animation-delay: .53s; }
.point-7 { top: 50%; left: 12%; animation-delay: .60s; }
.point-8 { top: 20%; left: 18%; animation-delay: .67s; }

@keyframes hero-arrive {
  from { opacity: 0; transform: translateX(-22px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes compass-panel-arrive {
  from { opacity: 0; transform: translateY(20px) rotate(1deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
@keyframes needle-find-north {
  0% { transform: rotate(-155deg); }
  62% { transform: rotate(24deg); }
  82% { transform: rotate(-9deg); }
  100% { transform: rotate(0); }
}
@keyframes point-arrive {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.72); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes action-arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.journey-line {
  margin: 0 0 30px;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font: 800 .75rem/1.25 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}
.journey-line span { text-align: center; }
.journey-line i { flex: 1 1 24px; min-width: 18px; height: 2px; background: var(--red); }

.course-screen { padding: clamp(12px, 2.2vh, 24px) 0 30px; }
.course-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(9px, 1.4vh, 15px);
}
.course-head .eyebrow { margin-bottom: .35rem; }
.course-head h2 { font-size: clamp(2rem, min(4vw, 6svh), 4rem); }
.course-head > p { max-width: 410px; margin: 0; text-align: right; font-size: clamp(.88rem, 1.6svh, 1rem); font-weight: 750; }

.field-board {
  margin: 0 0 clamp(10px, 1.6vh, 16px);
  padding: clamp(8px, 1.2vh, 12px);
  display: grid;
  grid-template-columns: repeat(26, minmax(0, 1fr));
  gap: 5px;
  list-style: none;
  background: var(--paper-deep);
  border: 3px solid var(--ink);
}
.field-board.is-regional { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.field-board li { min-width: 0; }
.field-board button {
  position: relative;
  width: 100%;
  min-width: 0;
  height: clamp(42px, 5.4svh, 52px);
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  font: 900 clamp(.72rem, .85vw, .9rem)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.field-board button::after { content: ""; position: absolute; inset: auto 0 0; height: 8px; background: var(--line); }
.field-board button.is-seen::after { background: var(--mint); }
.field-board button.is-tried::after { background: var(--yellow); }
.field-board button.is-current { color: var(--white); background: var(--red); box-shadow: 3px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.field-board button.is-current::after { background: var(--red); }

.station {
  min-height: clamp(470px, calc(100svh - 315px), 620px);
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) minmax(300px, 350px);
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 0 7px 0 var(--ink);
}
.station > * { min-width: 0; }
.station-number {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  background: var(--red);
  border-right: 3px solid var(--ink);
}
.station-number span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 900 .8rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.station-number strong { font: 900 clamp(2.8rem, 5vw, 4.7rem)/1 Georgia, serif; }
.station-content { min-width: 0; padding: clamp(22px, 3.1vh, 34px) clamp(26px, 2.8vw, 40px) clamp(20px, 2.5vh, 30px); }
.station-meta {
  margin: 0 0 14px;
  font: 900 .76rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.station-content > h2 {
  max-width: 100%;
  margin-bottom: clamp(15px, 2.4vh, 24px);
  font-size: clamp(2.35rem, min(4.4vw, 7.2svh), 4.7rem);
  overflow-wrap: anywhere;
  hyphens: auto;
  text-wrap: balance;
}
.explanation-stack { display: grid; gap: clamp(8px, 1.25vh, 12px); }
.explanation-stack section {
  padding: clamp(11px, 1.65vh, 16px) 20px clamp(11px, 1.65vh, 16px) 22px;
  background: var(--paper);
  border-left: 8px solid var(--red);
}
.explanation-stack section.how-block { background: var(--yellow); }
.explanation-stack h3 {
  margin: 0 0 clamp(5px, .8vh, 8px);
  font: 900 .76rem/1.25 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.explanation-stack p { margin: 0; font-size: clamp(.91rem, 1.55svh, 1.02rem); line-height: 1.42; }
.copy-button {
  margin-top: 13px;
  padding: .55rem .7rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  font-size: .84rem;
  font-weight: 850;
}
.station-source {
  margin: clamp(10px, 1.4vh, 16px) 0 0;
  color: var(--ink-soft);
  font: 800 .76rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}

.station-actions {
  padding: clamp(22px, 3vh, 30px) clamp(20px, 2vw, 28px);
  background: var(--yellow);
  border-left: 3px solid var(--ink);
}
.action-dock {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.6vh, 15px);
}
.action-dock > p {
  margin: 0 0 6px;
  font: 900 .8rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.action-slot { height: clamp(88px, 10.5svh, 106px); }
.action-slot > * { height: 100%; }
.try-action, .next-action, .no-external-action {
  width: 100%;
  height: clamp(88px, 10.5svh, 106px);
  padding: clamp(12px, 1.7vh, 16px);
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--ink);
  background: var(--mint);
  border: 3px solid var(--ink);
  box-shadow: 5px 6px 0 var(--ink);
  text-align: left;
  text-decoration: none;
}
.try-action > span:last-child, .next-action > span:last-child, .no-external-action > div { min-width: 0; }
.try-action strong, .try-action small, .next-action strong, .next-action small, .no-external-action strong, .no-external-action small { display: block; }
.try-action strong, .next-action strong, .no-external-action strong { font-size: 1.1rem; }
.try-action small, .next-action small, .no-external-action small { margin-top: 2px; font-size: .78rem; line-height: 1.25; }
.action-icon, .next-action > span:first-child, .no-external-action > span {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 1.5rem;
}
.next-action { background: var(--white); }
.no-external-action { background: var(--paper-deep); box-shadow: none; }
.previous-action {
  align-self: center;
  margin-top: 8px;
  padding: .4rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.finish-screen {
  min-height: min(760px, calc(100dvh - 104px));
  margin-top: 30px;
  padding: clamp(42px, 6vw, 80px);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 9px 10px 0 var(--red);
}
.finish-screen > h2 { max-width: 1050px; overflow-wrap: anywhere; text-wrap: balance; }
.finish-screen > p:not(.eyebrow) { max-width: 840px; margin: 24px 0; font-size: 1.16rem; }
.question-action { min-height: 64px; padding-inline: 1.4rem; font-size: 1.08rem; }
#national-finish {
  min-height: calc(100svh - 158px);
  margin-top: 16px;
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .78fr);
  grid-template-areas:
    "eyebrow region"
    "title region"
    "copy region"
    "question region"
    "actions region";
  column-gap: clamp(34px, 5vw, 74px);
  align-content: center;
  align-items: start;
}
#national-finish > .eyebrow { grid-area: eyebrow; }
#national-finish > h2 {
  grid-area: title;
  max-width: 780px;
  font-size: clamp(2.7rem, min(4.25vw, 7.2svh), 4.55rem);
}
#national-finish > .finish-copy { grid-area: copy; margin: clamp(16px, 2.4vh, 24px) 0; }
#national-finish > .question-action { grid-area: question; justify-self: start; }
#national-finish > .finish-actions { grid-area: actions; margin-top: clamp(22px, 3.4vh, 34px); }
.region-invitation {
  width: min(720px, 100%);
  margin: 54px 0 28px auto;
  padding: 30px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: 7px 8px 0 var(--ink);
}
#national-finish > .region-invitation {
  grid-area: region;
  width: 100%;
  margin: 0;
  align-self: center;
  padding: clamp(24px, 3vw, 38px);
}
#national-finish > .region-invitation h3 { font-size: clamp(2.35rem, min(3.6vw, 6svh), 3.65rem); }
.region-invitation h3 { font-size: clamp(2rem, 4vw, 3.6rem); overflow-wrap: anywhere; }
.region-invitation p:not(.eyebrow) { margin: 18px 0 22px; }
.finish-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

.method { padding-top: 50px; }
.method details { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.method summary { padding: 20px 0; cursor: pointer; font: 700 1.6rem/1.1 Georgia, serif; }
.method-grid { padding: 4px 0 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.method-grid p { margin: 0; padding: 16px 0; border-top: 1px solid var(--line); }
.text-button { padding: 0; color: var(--red-dark); background: transparent; border: 0; font-weight: 850; text-decoration: underline; text-underline-offset: .18em; }

.live-status {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 18px;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateX(-50%);
  font-weight: 800;
}
.live-status:empty { display: none; }
.error-state { padding: 42px; background: var(--white); border: 3px solid var(--red); }

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 32px 44px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  border-top: 3px solid var(--ink);
}
.site-footer p { max-width: 620px; margin: .35rem 0 0; color: var(--ink-soft); }
.site-footer nav { display: flex; flex-wrap: wrap; align-content: start; gap: 8px 18px; font-size: .9rem; }

/* Stabile Detailseiten und Stammtischansicht */
.detail-page main { max-width: 1060px; padding-top: 56px; }
.detail-page-card { padding: clamp(26px, 5vw, 52px); background: var(--white); border: 3px solid var(--ink); box-shadow: var(--shadow); }
.detail-page-card h1 { font-size: clamp(2.7rem, 7vw, 6.2rem); overflow-wrap: anywhere; hyphens: auto; }
.legal-card { max-width: 900px; margin: 0 auto; }
.legal-card h1 { margin-bottom: 34px; }
.legal-card section { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-card h2 { margin-bottom: 14px; font-size: clamp(1.65rem, 3.5vw, 2.6rem); line-height: 1.05; }
.legal-card p { max-width: 76ch; }
.legal-card .lede { max-width: 66ch; font: 700 1.18rem/1.45 Georgia, "Times New Roman", serif; }
.legal-action { width: auto; }
.inline-status { min-height: 1.5em; font-weight: 800; }
.detail-page-card .lede { font-size: 1.18rem; }
.detail-facts { margin: 24px 0 0; }
.detail-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.detail-facts dt { color: var(--ink-soft); font-weight: 900; }
.detail-facts dd { margin: 0; }
.detail-page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.detail-page-qr { display: grid; grid-template-columns: 230px 1fr; gap: 30px; align-items: center; margin-top: 34px; padding-top: 28px; border-top: 2px solid var(--ink); }
.detail-page-qr img { width: 100%; background: white; }
.resource-why { color: var(--ink-soft); }
.is-disabled { opacity: .55; pointer-events: none; }
.event-date { font: 700 1.2rem/1.3 Georgia, serif; }
.event-main { min-height: calc(100dvh - 128px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 7vw; align-items: center; }
.event-poster { padding: 24px; background: var(--white); border: 3px solid var(--ink); box-shadow: var(--shadow); }
.event-poster img { width: 100%; }
.event-url { color: var(--red-dark); font-weight: 850; }

@media (max-width: 1180px) {
  .field-board { display: flex; overflow-x: auto; scroll-snap-type: x proximity; }
  .field-board li { flex: 0 0 54px; scroll-snap-align: center; }
  .station { grid-template-columns: 92px minmax(0, 1fr) 300px; }
  .station-content { padding: 34px 30px 28px; }
  .station-content > h2 { font-size: clamp(2.35rem, 4.6vw, 4.2rem); }
  .station-actions { padding: 28px 22px; }
}

@media (max-width: 900px) {
  .project-strip-inner { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 106px; -webkit-overflow-scrolling: touch; }
  .project-strip-label { flex: 0 0 106px; }
  .project-strip a { flex: 0 0 235px; scroll-snap-align: start; }
  .start-screen { grid-template-columns: 1fr; min-height: 0; }
  .compass-explorer { width: min(620px, 100%); margin: 0 auto; }
  .journey-line { overflow-x: auto; justify-content: flex-start; }
  .journey-line span { flex: 0 0 auto; }
  .station { grid-template-columns: 76px minmax(0, 1fr); }
  .station-actions { grid-column: 1 / -1; border-top: 3px solid var(--ink); border-left: 0; }
  .action-dock { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .action-dock > p, .previous-action { grid-column: 1 / -1; }
  .action-slot, .try-action, .next-action, .no-external-action { height: auto; min-height: 100px; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  #national-finish {
    min-height: 0;
    display: block;
  }
  #national-finish > .region-invitation { margin: 24px 0; }
}

@media (max-width: 680px) {
  body { background-image: none; font-size: 16px; }
  .site-header { min-height: 64px; padding: 0 16px; gap: 12px; }
  .brand { gap: .55rem; }
  .brand-wordmark { max-width: 150px; white-space: normal; line-height: 1.05; }
  .brand-logo { width: 40px; height: 40px; }
  .header-nav { gap: 8px; }
  .header-link { display: none; }
  .header-button { min-height: 44px; padding: .45rem .6rem; font-size: .82rem; }
  .problem-report { padding: .42rem .52rem; font-size: .72rem; }
  .share-long { display: none; }
  .share-short { display: inline; }
  .project-strip-inner, .project-strip a { min-height: 60px; }
  .project-strip-label { flex-basis: 82px; padding-inline: .55rem; font-size: .61rem; }
  .project-strip a { flex-basis: min(76vw, 250px); padding-inline: .72rem; }
  .project-strip strong, .project-strip a span { font-size: .78rem; }
  main { padding: 0 16px 70px; }
  .start-screen { padding: 28px 0 30px; gap: 30px; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy > .eyebrow { order: 1; }
  .hero-copy > h1 { order: 2; }
  .hero-copy > .hero-subline { order: 3; }
  .hero-copy > .hero-explanation { order: 4; }
  .hero-copy > .hero-actions { order: 5; }
  .hero-copy > .audience-note { order: 6; margin-top: 20px; }
  h1 { font-size: clamp(3rem, 14vw, 4.4rem); overflow-wrap: anywhere; }
  .hero-copy h1 { font-size: clamp(3.4rem, 17vw, 4.4rem); }
  .hero-copy .title-subject {
    max-width: 100%;
    font-size: clamp(1.95rem, 9.25vw, 2.5rem);
    letter-spacing: -.06em;
    white-space: nowrap;
  }
  .hero-subline { margin-top: 1.05rem; font-size: 1.16rem; }
  .hero-explanation { font-size: .95rem; }
  .audience-note { font-size: .9rem; }
  .hero-actions { display: grid; }
  .primary-action, .secondary-action, .continue-action { width: 100%; }
  .compass-explorer { padding: 16px 8px 20px; box-shadow: 5px 6px 0 var(--ink); }
  .compass-map { width: min(100%, 340px); }
  .compass-point { max-width: 102px; min-height: 44px; padding: .4rem .42rem; font-size: .63rem; }
  .compass-readout { width: 48%; min-height: 122px; padding: 14px 10px 12px; }
  .compass-readout strong { font-size: 1.05rem; }
  .compass-readout span { font-size: .68rem; }
  .point-1 { top: 7%; }
  .point-2 { top: 20%; left: 82%; }
  .point-3 { left: 88%; }
  .point-4 { top: 80%; left: 82%; }
  .point-5 { top: 93%; }
  .point-6 { top: 80%; left: 18%; }
  .point-7 { left: 12%; }
  .point-8 { top: 20%; left: 18%; }
  .journey-line { margin-bottom: 10px; padding: 12px 0; }
  .course-screen { padding-top: 22px; }
  .course-head { display: block; }
  .course-head > p { margin-top: 8px; text-align: left; }
  .field-board { margin: 18px -16px; padding: 13px 16px; display: flex; gap: 8px; overflow-x: auto; border-left: 0; border-right: 0; scroll-snap-type: x proximity; }
  .field-board li { flex: 0 0 58px; scroll-snap-align: center; }
  .field-board button { height: 52px; }
  .station { min-height: 0; grid-template-columns: 1fr; scroll-margin-top: 10px; box-shadow: 0 5px 0 var(--ink); }
  .station-number { min-height: 66px; padding: 10px 16px; flex-direction: row; border-right: 0; border-bottom: 3px solid var(--ink); }
  .station-number span { writing-mode: horizontal-tb; transform: none; }
  .station-number strong { font-size: 2.8rem; }
  .station-content { padding: 24px 16px 22px; }
  .station-content > h2 { margin-bottom: 18px; font-size: clamp(2.15rem, 11vw, 3.5rem); line-height: .96; }
  .explanation-stack section { padding: 16px 15px 16px 17px; border-left-width: 6px; }
  .explanation-stack p { font-size: 1rem; }
  body[data-view="course"] main { padding-bottom: 158px; }
  .station-actions {
    position: fixed;
    z-index: 40;
    inset: auto 0 0;
    padding: 10px 14px max(10px, env(safe-area-inset-bottom));
    border: 0;
    border-top: 3px solid var(--ink);
    box-shadow: 0 -5px 0 rgba(21,37,31,.16);
  }
  .action-dock { width: min(100%, 680px); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .action-dock > p { display: none; }
  .previous-action { grid-column: 1 / -1; min-height: 28px; margin: 0; padding: 0; }
  .action-slot, .try-action, .next-action, .no-external-action { height: 74px; min-height: 74px; }
  .try-action, .next-action, .no-external-action { padding: 9px 10px; gap: 7px; box-shadow: 3px 4px 0 var(--ink); }
  .try-action strong, .next-action strong, .no-external-action strong { font-size: .94rem; }
  .try-action small, .next-action small, .no-external-action small { font-size: .7rem; }
  .try-action .action-icon, .next-action > span:first-child, .no-external-action > span:first-child { display: none; }
  .finish-screen { margin-top: 18px; padding: 30px 20px; box-shadow: 5px 6px 0 var(--red); }
  .finish-screen > h2 { font-size: clamp(2.4rem, 12vw, 4rem); }
  #national-finish > h2 { font-size: clamp(2.25rem, 10.5vw, 3.5rem); }
  .region-invitation, #national-finish > .region-invitation { margin: 20px 0; padding: 22px 18px; box-shadow: 5px 6px 0 var(--ink); }
  #national-finish > .region-invitation h3 { font-size: clamp(2.1rem, 11vw, 3.4rem); }
  .method-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 30px 16px 40px; flex-direction: column; }
  .detail-page main { padding-top: 30px; }
  .detail-facts div, .detail-page-qr, .event-main { grid-template-columns: 1fr; }
  .method summary { min-height: 48px; display: flex; align-items: center; }
}

@media (max-width: 430px) {
  .brand-wordmark { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .site-header > a:last-child { max-width: 160px; font-size: .8rem; line-height: 1.2; text-align: right; }
}

@media (max-width: 380px) {
  .project-strip-label { display: none; }
  .project-strip-inner { scroll-padding-inline: 0; }
  .action-slot, .try-action, .next-action, .no-external-action { height: 62px; min-height: 62px; }
  .try-action small, .next-action small, .no-external-action small { display: none; }
  body[data-view="course"] main { padding-bottom: 146px; }
}

@media (pointer: coarse) {
  .site-header > a:last-child, .header-link, .previous-action, .copy-button, .site-footer a { min-height: 44px; }
  .site-header > a:last-child,
  .site-footer a { display: inline-flex; align-items: center; }
}

@media (max-width: 900px) and (orientation: landscape) and (min-width: 640px) {
  .start-screen { grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr); gap: 24px; padding-block: 18px; }
  .hero-copy h1 { font-size: clamp(2.8rem, 7vw, 4.2rem); }
  .compass-explorer { align-self: center; }
  .compass-map { width: min(100%, 330px); }
}

@media (hover: none) {
  .compass-point:hover:not(.is-active) { color: var(--ink); background: var(--white); transform: translate(-50%, -50%); }
}

@media (min-width: 901px) and (max-height: 820px) {
  .site-header { min-height: 60px; }
  .brand-logo { width: 42px; height: 42px; }
  .project-strip-inner, .project-strip a { min-height: 54px; }
  .start-screen { min-height: calc(100svh - 114px); padding-block: 14px; }
  .hero-copy h1 { font-size: clamp(3.45rem, min(5.4vw, 8.8svh), 5rem); }
  .hero-subline { margin-top: .8rem; font-size: 1.08rem; }
  .hero-explanation { margin-bottom: .65rem; font-size: .9rem; }
  .audience-note { padding-block: 8px; font-size: .78rem; }
  .hero-actions { margin-top: 12px; }
  .adventure-action { min-height: 48px; }
  .compass-explorer { padding-block: 10px 14px; }
  .compass-map { width: min(100%, clamp(320px, 48svh, 410px)); }
  .compass-readout { min-height: 116px; padding: 12px; }
  .compass-readout strong { font-size: 1.08rem; }
  .compass-readout span { font-size: .68rem; }
  .course-screen { padding-top: 8px; }
  .course-head { padding-bottom: 7px; }
  .course-head h2 { font-size: clamp(2rem, 5svh, 3rem); }
  .field-board { margin-bottom: 9px; padding: 7px; }
  .field-board button { height: 39px; }
  .station { min-height: calc(100svh - 259px); }
  .station-content { padding-block: 18px 16px; }
  .station-content > h2 { margin-bottom: 12px; font-size: clamp(2.2rem, 6.3svh, 3.65rem); }
  .explanation-stack { gap: 7px; }
  .explanation-stack section { padding-block: 9px; }
  .explanation-stack h3 { margin-bottom: 4px; }
  .explanation-stack p { font-size: .87rem; line-height: 1.32; }
  .station-source { margin-top: 8px; font-size: .68rem; }
  .station-actions { padding-block: 17px; }
  .action-slot, .try-action, .next-action, .no-external-action { height: 82px; min-height: 82px; }
  .previous-action { margin-top: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  body { background: white; color: black; font-size: 10pt; }
  .site-header, .field-board, .station-actions, .journey-line, .method, .site-footer, .live-status { display: none !important; }
  main { max-width: none; padding: 0; }
  .station { display: block; min-height: 0; border: 0; box-shadow: none; }
  .station-number { display: none; }
  .station-content { padding: 0; }
  .station-content > h2 { font-size: 28pt; }
}
