:root {
  color-scheme: light; --paper: #f6f4eb; --ink: #193a37; --muted: #51635b;
  --line: #b7c1b5; --teal: #153f42; --tint: #e0e9d9; --peach: #f4b68c;
  font-family: "Source Sans 3", "Avenir Next", system-ui, sans-serif; color: var(--ink); background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, select, input { font: inherit; }
button, a, select, input { -webkit-tap-highlight-color: transparent; }
button, select, input[type=radio], label.choice { cursor: pointer; }
button { color: var(--ink); }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #086979; outline-offset: 4px; }
.skip { position: absolute; left: .8rem; top: -8rem; z-index: 3; background: white; padding: .6rem 1rem; }
.skip:focus { top: .5rem; }
.mast, .layout, .foot { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
.mast { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.13rem; font-weight: 680; letter-spacing: -.03em; }
.brand-mark { display: inline-block; width: 27px; height: 27px; border: 2px solid var(--ink); border-radius: 50%; position: relative; overflow: hidden; }
.brand-mark::before,.brand-mark::after { content: ""; position: absolute; inset: 3px 7px; border: 1px solid var(--ink); border-radius: 50%; transform: rotate(30deg); }
.brand-mark::after { transform: rotate(-35deg); }
.card-link,.foot { font-size: .88rem; font-weight: 550; }
.card-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
.layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.1fr); gap: clamp(30px,5vw,84px); align-items: start; padding-block: clamp(24px,4vw,54px); }
.jacket { position: relative; min-height: 480px; aspect-ratio: 4/5; overflow: hidden; isolation: isolate; padding: 27px 30px; background: var(--teal); color: #fbf6e6; display: flex; flex-direction: column; }
.jacket-top,.jacket-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; line-height: 1.3; }
.jacket-top { padding-bottom: 12px; border-bottom: 1px solid #809390; }
.jacket-title { position: relative; z-index: 1; margin-top: 28px; }
.jacket-title > span { font-size: 1rem; }
h1,h2,h3,p,fieldset,ol { margin: 0; }
h1,h2,.stop-prompt { font-family: "PT Serif", "Georgia", serif; font-weight: 400; }
h1 { font-size: clamp(3.7rem,6.3vw,6.4rem); line-height: .91; margin-top: 9px; letter-spacing: -.055em; }
h1 i { color: var(--peach); }
.jacket-bottom { flex-direction: column; justify-content: flex-end; margin-top: auto; width: fit-content; padding: 5px 9px 5px 0; background: var(--teal); }
.jacket-bottom span:last-child { font-size: .76rem; color: #d1ded2; }
.score { position: absolute; z-index: -1; inset: 0; pointer-events: none; overflow: hidden; }
.rings { position: absolute; aspect-ratio: 1; border-radius: 50%; opacity: .9; }
.rings-a { width: 117%; bottom: -44%; left: 5%; background: repeating-radial-gradient(ellipse, transparent 0 8px, #c5d6b5 8.6px 9.6px, transparent 10.2px 16px); }
.rings-b { width: 88%; right: -34%; bottom: 4%; background: repeating-radial-gradient(ellipse, transparent 0 7px,#ebb68e 7.5px 8px,transparent 8.6px 13px); }
.rings-c { width: 52%; right: -12%; bottom: 16%; background: repeating-radial-gradient(ellipse, transparent 0 6px,#dce4ce 6.6px 7.2px,transparent 7.7px 13px); }
.guide { min-width: 0; padding-block: clamp(2px,1.2vw,18px); }
.kicker { color: var(--muted); font-weight: 670; font-size: .77rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
h2 { margin: 10px 0 12px; font-size: clamp(2.05rem,3.45vw,3.1rem); letter-spacing: -.045em; line-height: 1.09; }
h2:focus { outline: none; }
.intro,.copy,.bridge,.fine,.choice small,.route-list,.finish-text { line-height: 1.52; }
.intro { font-size: 1.05rem; color: var(--muted); max-width: 56ch; }
fieldset { border: 0; padding: 0; min-width: 0; }
.choices { display: grid; gap: 9px; margin-block: 23px; }
.choice { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 3px 18px; align-items: center; padding: 13px 17px; border: 1px solid var(--line); border-radius: 5px; background: #fcfbf5; }
.choice b,.choice small { grid-column: 1; }
.choice b { font-size: 1.08rem; }
.choice small { color: var(--muted); font-size: .94rem; }
.choice input { grid-column: 2; grid-row: 1 / 3; accent-color: var(--teal); width: 1.15rem; height: 1.15rem; margin: 0; }
.choice:has(input:checked) { background: var(--tint); border-color: var(--teal); box-shadow: inset 3px 0 var(--teal); }
.choice:hover { border-color: var(--teal); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 19px; margin-top: 21px; }
.primary,.secondary,.plain { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.primary,.secondary { padding: 9px 19px; border: 1px solid var(--teal); border-radius: 4px; font-weight: 650; }
.primary { background: var(--teal); color: #fffdf3; }
.primary:hover { background: #215659; }
.secondary { background: transparent; }
.plain { border: 0; padding: 4px 0; background: transparent; text-decoration: underline; text-underline-offset: .23em; font-size: .92rem; }
.fine { color: var(--muted); font-size: .84rem; margin-top: 13px; max-width: 56ch; }
.route-list { list-style: none; padding: 0; margin-top: 17px; }
.route-list li { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.route-list .num { font-variant-numeric: tabular-nums; font-size: .85rem; color: var(--muted); min-width: 19px; }
.sound { margin-top: 19px; padding: 13px 16px; border-left: 3px solid #ac784b; background: #eeeade; }
.sound label { display: block; font-size: .87rem; font-weight: 650; margin-bottom: 5px; }
.sound-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
select { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 3px; min-height: 44px; padding: 7px 8px; max-width: 100%; }
.sound .secondary { min-width: 100px; padding-inline: 12px; }
.sound .fine { margin-top: 7px; }
button:disabled { opacity: .55; cursor: default; }
.volume { max-width: 156px; margin-top: 8px; }
.volume input { width: 100%; accent-color: var(--teal); margin: 2px 0 0; }
.progress { display: flex; gap: 5px; margin: 13px 0 21px; }
.progress span { height: 4px; flex: 1; background: #d0d7ca; }
.progress span.filled { background: #2c6666; }
.stop-prompt { font-size: clamp(1.25rem,2.2vw,1.75rem); line-height: 1.37; margin: 16px 0; letter-spacing: -.015em; }
.copy,.bridge,.finish-text { font-size: 1rem; }
.copy { color: var(--muted); }
.bridge { margin-top: 21px; padding: 14px 17px; background: var(--tint); border-left: 3px solid #58746c; }
.bridge strong { display: block; margin-bottom: 4px; }
.context-note { margin: 15px 0; }
.context-note summary { cursor: pointer; padding-block: 10px; font-weight: 620; }
.context-note .copy { margin: 7px 0; }
.sound #audio-message:empty { display: none; }
.foot { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 0 26px; color: var(--muted); }
.foot a { display: inline-flex; align-items: center; gap: .24em; min-height: 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 750px) {
 .mast,.layout,.foot { width: calc(100% - 32px); }
 .mast { min-height: 60px; }
 .brand { gap: 7px; font-size: 1rem; }
 .card-link { font-size: .8rem; }
 .layout { grid-template-columns: 1fr; gap: 18px; padding: 18px 0 24px; }
 .jacket { aspect-ratio: auto; min-height: 0; padding: 14px 16px; }
 .jacket-top { padding-bottom: 5px; max-width: 65%; font-size: .73rem; }
 .jacket-title { margin-top: 8px; }
 .jacket-title > span { font-size: .75rem; }
 h1 { font-size: 2.55rem; margin: 1px 0; line-height: 1.06; }
 h1 br { display: none; } h1 i::before { content: " "; }
 .jacket-bottom { display: none; }
 .rings-a { width: 46%; bottom: -94%; left: 68%; }
 .rings-b { width: 46%; bottom: -72%; right: -11%; }
 .rings-c { width: 33%; bottom: -50%; right: -4%; }
 .guide { padding: 0; }
 .choices { margin: 16px 0; }
 .choice { padding: 10px 13px; }
 .foot { align-items: start; gap: 3px; flex-direction: column; }
 body[data-scene="visit"] .jacket, body[data-scene="done"] .jacket { display: none; }
}
@media print {
 body { color: #152c2a; background: white; }
 .mast,.foot,.sound,.actions,.card-link,.score,.jacket-top,.skip { display: none; }
 .layout { display: block; width: 100%; }
 .jacket { color: #152c2a; background: white; display: block; min-height: 0; aspect-ratio: auto; padding: 0; }
 .jacket-title { margin: 0; } h1 { font-size: 2rem; }
 h1 br { display: none; } h1 i { color: inherit; } h1 i::before { content:" "; }
}
