/* A quiet travel quest. Layout and reusable component rules live here;
   scene coordinates, audio and saved progress stay in their own modules. */
:root {
  --quest-action: #b64718;
  --quest-action-ink: #fffaf3;
  --quest-radius: 17px;
  --quest-radius-small: 10px;
}
:root[data-theme="journal"] {
  --bg: #f8f6ef;
  --surface: #fffdf7;
  --surface-soft: #f0eee4;
  --ink: #173c37;
  --muted: #6b776e;
  --line: #dedfd3;
  --accent: #17685d;
  --accent-soft: #e4efe4;
  --accent-ink: #fffdf7;
  --paper-shadow: 0 4px 18px #38463106;
}
:root[data-theme="night"] {
  --quest-action: #f0a16f;
  --quest-action-ink: #302015;
}
.shell { width: min(1240px, calc(100% - 64px)); max-width: none; }
.site-header { height: 78px; border-bottom: 1px solid var(--line); gap: 30px; }
.brand { gap: 11px; font-size: 27px; font-weight: 760; letter-spacing: -1.1px; flex-shrink: 0; }
.brand-seal { width: 38px; height: 41px; border-radius: 11px; font-size: 27px; }
.site-header nav.journey-nav { flex: 1; gap: 30px; }
.journey-nav > .quiet-button { position: relative; min-height: 48px; font-size: 14px; font-weight: 550; }
.journey-nav > #journey-open { color: var(--accent); }
.journey-nav > #journey-open::after { content: ""; position: absolute; height: 3px; bottom: 0; left: 0; right: 0; border-radius: 3px; background: var(--accent); }
.journey-nav .settings-menu { margin-left: auto; }
.settings-menu > summary { min-height: 44px; font-size: 13px; }
.settings-panel { z-index: 30; }
#saved-count { background: var(--accent-soft); color: var(--accent); border: 0; font-weight: 650; }
.lesson-section { padding-top: 29px; }
.lesson-heading { align-items: center; gap: 28px; margin-bottom: 22px; }
.lesson-title-group { min-width: 0; }
.lesson-title-group .eyebrow { display: block; margin-bottom: 7px; font-size: 10px; letter-spacing: 1.8px; color: var(--accent); font-weight: 650; line-height: 1.6; }
.lesson-title-group h1 { font-family: Georgia, "Times New Roman", "Noto Serif SC", serif; font-size: clamp(32px, 3.6vw, 48px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.1; max-width: none; }
.lesson-subtitle { margin-top: 11px; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 620px; }
.learning-modes { display: flex; align-items: stretch; gap: 7px; flex-shrink: 0; padding: 7px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.learning-modes button { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-width: 82px; min-height: 73px; padding: 8px 13px; color: var(--muted); border-radius: 9px; font-size: 12px; }
.learning-modes button::before { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-soft); color: var(--muted); font-size: 12px; font-weight: 700; }
.learning-modes button[data-mode="listen"]::before { content: "1"; }
.learning-modes button[data-mode="explore"]::before { content: "2"; }
.learning-modes button[data-mode="practice"]::before { content: "3"; }
.learning-modes button:hover { background: var(--surface-soft); color: var(--ink); }
.learning-modes button.is-active, .learning-modes button[aria-current="step"] { color: var(--accent); font-weight: 650; background: var(--accent-soft); }
.learning-modes button.is-active::before, .learning-modes button[aria-current="step"]::before { color: var(--accent-ink); background: var(--accent); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line); }
.learning-layout { grid-template-columns: minmax(0, 2.2fr) minmax(300px, 1fr); gap: 22px; align-items: start; }
.picture-column, .side-column { min-width: 0; }
.side-column { display: grid; gap: 15px; }
.scene-figure { border-radius: var(--quest-radius); box-shadow: var(--paper-shadow); padding: 6px 6px 0; }
.picture-toolbar { height: 41px; padding: 0 6px 0 9px; }
.picture-toolbar > #scene-caption { font-size: 11px; font-weight: 550; }
.zoom-controls button { min-width: 40px; min-height: 40px; }
.zoom-controls #zoom-reset { min-width: 46px; }
.scene-viewport { max-height: 660px; border-radius: 10px; }
.scene-frame { aspect-ratio: 4/3; }
.scene-figure figcaption { min-height: 35px; padding: 8px 9px; font-size: 10px; }
.hotspot-dot { width: 15px; height: 15px; background: #fffef4; border: 2px solid #2a544a; box-shadow: 0 0 0 3px #fffdf0dc, 0 2px 5px #17382d36; }
.hotspot:hover .hotspot-dot { background: var(--accent-soft); }
.hotspot.is-discovered .hotspot-dot { background: var(--accent); border-color: #fffef4; box-shadow: 0 0 0 2px var(--accent), 0 2px 5px #17382d36; }
.hotspot.is-discovered .hotspot-dot::after { content: ""; display: block; width: 5px; height: 3px; margin: 3px auto 0; border-left: 1.5px solid var(--accent-ink); border-bottom: 1.5px solid var(--accent-ink); transform: rotate(-45deg); }
.hotspot.active .hotspot-dot { background: var(--quest-action); border-color: #fffef4; box-shadow: 0 0 0 2px var(--quest-action); outline: 4px solid #fff9; }
.hotspot-label { border-color: var(--line); border-radius: 8px; box-shadow: 0 2px 8px #17382d22; }
.hotspot .han { font-size: 16px; }

/* The player has only two small ticket notches, keeping the picture central. */
.narrator { position: relative; display: block; padding: 16px 18px; margin-top: 13px; border-radius: 11px; box-shadow: var(--paper-shadow); }
.narrator::before, .narrator::after { content: ""; position: absolute; top: 43%; width: 10px; height: 16px; background: var(--bg); border: 1px solid var(--line); pointer-events: none; }
.narrator::before { left: -1px; border-left: 0; border-radius: 0 12px 12px 0; }
.narrator::after { right: -1px; border-right: 0; border-radius: 12px 0 0 12px; }
.narrator-main { display: flex; align-items: center; gap: 15px; min-width: 0; }
.play-main { width: 53px; height: 53px; background: var(--quest-action); color: var(--quest-action-ink); border: 1px solid color-mix(in srgb, var(--quest-action), #000 12%); box-shadow: 0 3px 0 color-mix(in srgb, var(--quest-action), #000 18%); }
.play-main:hover { filter: brightness(1.08); }
.play-main svg { width: 24px; height: 24px; }
.narrator-copy { flex: 1; gap: 7px; }
.narrator-copy strong { font-size: 15px; line-height: 1.35; font-weight: 650; }
.narrator-copy #player-status { font-size: 10px; line-height: 1.5; }
#audio-seek { accent-color: var(--quest-action); width: 100%; min-width: 0; height: 18px; margin: 0; cursor: pointer; }
#audio-seek:disabled { opacity: .45; cursor: default; }
#audio-seek:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.player-timing { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.player-timing #audio-time { margin-left: 0; color: inherit; }
.narration-line { margin: 10px 0 0 68px; min-height: 17px; color: var(--muted); font-size: 11px; line-height: 1.6; }

.word-card { position: static; padding: 16px 18px 7px; border-radius: var(--quest-radius); }
.word-card-top { margin-bottom: 12px; min-height: 34px; }
.discovery-status { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 7px; color: var(--muted); border: 1px dashed var(--line); border-radius: 4px; font-size: 9px; letter-spacing: 1px; font-weight: 650; line-height: 1.3; }
.discovery-status.is-discovered { color: var(--accent); border: 2px solid var(--accent); transform: rotate(-5deg); padding: 3px 6px; box-shadow: inset 0 0 0 1px var(--surface); }
.word-card-top .icon-button { width: 44px; height: 44px; }
.word-identity { justify-content: flex-start; gap: 12px; margin-bottom: 17px; }
.word-crop { flex: 0 0 74px; width: 74px; height: 88px; border-radius: 9px; border: 4px solid var(--surface-soft); background-color: var(--surface-soft); background-repeat: no-repeat; }
.word-core { flex: 1; }
.word-core h2 { font-size: clamp(28px, 2.5vw, 39px); line-height: 1.2; font-weight: 600; letter-spacing: 0; }
.word-pinyin { font-size: 15px; margin-top: 5px; line-height: 1.5; }
.word-meaning { font-size: 12px; line-height: 1.6; margin-top: 3px; color: var(--ink); }
.pronounce-button { width: 43px; min-width: 43px; height: 43px; min-height: 43px; border-radius: 50%; background: var(--accent-soft); padding: 11px; }
.pronounce-button span { display: none; }
.pronounce-button svg { width: 22px; height: 22px; }
.example-preview { margin: 0 0 13px; padding: 13px 14px; border-radius: 10px; background: var(--accent-soft); }
.example-preview #example-zh { font-size: 20px; line-height: 1.55; font-weight: 550; }
.example-preview #example-en { color: var(--ink); font-size: 11px; line-height: 1.65; margin-top: 5px; }
.explanation-button { min-height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 9px; }
.explanation-button:hover { background: var(--accent-soft); }
.word-details { margin-top: 5px; }
.word-details > summary { font-size: 11px; min-height: 44px; }
.detail-content { padding: 3px 0 13px; font-size: 11px; line-height: 1.8; }
.detail-content .example { margin-top: 10px; padding-top: 9px; }
.known-button { font-size: 10px; min-height: 44px; margin-top: 12px; }
.word-navigation { margin-top: 4px; padding-top: 3px; }
.word-navigation .icon-button { width: 44px; height: 44px; }
.word-navigation > span { font-size: 10px; }
.collection-panel { padding: 16px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--quest-radius); box-shadow: var(--paper-shadow); }
.collection-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.collection-heading h3 { color: var(--ink); font-size: 10px; letter-spacing: 1.3px; line-height: 1.5; font-weight: 700; }
#collection-count { font-size: 10px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.collection-word { position: relative; min-width: 0; min-height: 87px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 7px 3px; border: 1px dashed var(--line); border-radius: 8px; background: transparent; }
.collection-word:hover { border-color: var(--accent); background: var(--surface-soft); }
.collection-word.is-discovered { border-style: solid; background: var(--surface-soft); }
.collection-word.is-current { border-color: var(--quest-action); box-shadow: 0 0 0 1px var(--quest-action); }
.word-thumbnail { display: block; width: 48px; max-width: 100%; height: 47px; border-radius: 7px; background-color: var(--surface-soft); background-repeat: no-repeat; }
.card-hanzi { display: block; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.collection-check { position: absolute; right: 3px; top: 3px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 700; border: 1px solid var(--surface); }
.card-mystery { color: var(--muted); opacity: .65; font: 29px Georgia, serif; }
.collection-word:not(.is-discovered) .collection-check { display: none; }

.journey-section { padding: 31px 0 6px; }
.journey-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.journey-heading h2, .journey-section > h2 { font-size: 12px; line-height: 1.6; letter-spacing: 1px; font-weight: 650; }
#journey-note { color: var(--muted); font-size: 10px; line-height: 1.7; }
.journey-route { display: flex; justify-content: space-around; align-items: stretch; gap: 16px; padding: 6px 8px 11px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; overscroll-behavior-x: contain; }
.journey-stop { position: relative; display: flex; flex: 1 0 130px; flex-direction: column; align-items: center; gap: 10px; padding: 7px 8px 10px; min-height: 139px; border-radius: 13px; }
.journey-stop::after { content: ""; position: absolute; top: 48px; left: calc(50% + 45px); width: calc(100% - 75px + 16px); border-top: 1px dashed var(--line); pointer-events: none; }
.journey-stop:last-child::after { display: none; }
.journey-stop:hover { background: var(--surface-soft); }
.journey-thumb { position: relative; display: block; width: 78px; height: 78px; padding: 4px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); z-index: 1; }
.journey-thumb img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.journey-stop.is-active .journey-thumb { border: 2px solid var(--quest-action); padding: 3px; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px color-mix(in srgb, var(--quest-action), transparent 65%); }
.stop-badge { position: absolute; right: -2px; top: -1px; min-width: 22px; height: 22px; display: grid; place-items: center; padding: 2px 4px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); border: 2px solid var(--surface); font-size: 11px; font-weight: 700; }
.journey-stop.is-practiced .stop-badge { background: var(--accent); color: var(--accent-ink); }
.journey-stop.is-active .stop-badge { background: var(--quest-action); color: var(--quest-action-ink); }
.journey-stop-copy { display: flex; align-items: baseline; justify-content: center; gap: 6px; min-width: 0; line-height: 1.5; }
.journey-stop-copy > span { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.journey-stop-copy strong { font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.journey-stop.is-active .journey-stop-copy strong { color: var(--quest-action); }
.lesson-bottom { margin-top: 18px; }
.lesson-bottom button { min-height: 44px; }
.site-footer { margin-top: 17px; padding: 20px 0 22px; }
.local-progress-note { font-size: 10px; line-height: 1.7; color: var(--muted); }
#saved-tabs { display: flex; gap: 7px; padding-bottom: 13px; margin-top: 19px; border-bottom: 1px solid var(--line); }
.wordbook-tab { min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: var(--muted); }
.wordbook-tab[aria-selected="true"] { color: var(--accent); background: var(--accent-soft); border-color: var(--accent); font-weight: 600; }
.primary-button, .secondary-button { min-height: 44px; }
.quiz-choice { min-height: 80px; }
.scene-navigation { display: none; }

@media (min-width: 901px) and (max-width: 1120px) {
  .shell { width: calc(100% - 48px); }
  .learning-layout { grid-template-columns: minmax(0, 1.9fr) minmax(295px, 1fr); gap: 18px; }
  .lesson-title-group h1 { font-size: 37px; }
  .learning-modes button { min-width: 69px; padding-inline: 10px; }
  .word-card { padding: 13px 14px 6px; }
  .word-crop { flex-basis: 63px; width: 63px; height: 78px; }
  .word-identity { gap: 9px; }
  .word-core h2 { font-size: 30px; }
  .collection-panel { padding: 13px; }
  .collection-grid { gap: 6px; }
  .word-thumbnail { width: 44px; }
}
@media (max-width: 900px) {
  .shell { width: calc(100% - 40px); max-width: 720px; }
  .site-header { height: 68px; gap: 28px; }
  .site-header nav.journey-nav { gap: 23px; }
  .brand { font-size: 24px; }
  .brand-seal { width: 33px; height: 36px; font-size: 24px; }
  .lesson-section { padding-top: 23px; }
  .lesson-heading { display: flex; align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 17px; }
  .lesson-title-group h1 { font-size: 40px; }
  .lesson-title-group .eyebrow { font-size: 9px; }
  .lesson-subtitle { font-size: 13px; margin-top: 8px; }
  .learning-modes { align-self: stretch; gap: 5px; padding: 5px; }
  .learning-modes button { flex: 1; flex-direction: row; min-height: 44px; min-width: 0; gap: 10px; font-size: 12px; padding: 8px; }
  .learning-modes button::before { width: 25px; height: 25px; font-size: 11px; }
  .learning-layout { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .scene-viewport { max-height: 660px; }
  .side-column { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
  .word-core h2 { font-size: 32px; }
  .word-crop { width: 61px; flex-basis: 61px; height: 75px; }
  .word-identity { gap: 9px; }
  .word-card { padding: 13px 15px 6px; }
  .collection-panel { padding: 15px; }
  .collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .collection-word { min-height: 80px; }
  .collection-heading { flex-wrap: wrap; gap: 4px; }
  .journey-section { padding-top: 27px; }
  .journey-stop { flex-basis: 112px; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 28px); }
  .site-header { height: 63px; gap: 20px; }
  .brand { font-size: 21px; gap: 8px; letter-spacing: -.7px; }
  .brand-seal { width: 29px; height: 32px; font-size: 23px; border-radius: 9px; }
  .site-header nav.journey-nav { gap: 15px; }
  .journey-nav > .quiet-button { font-size: 11px; min-height: 44px; gap: 5px; padding-inline: 0; }
  #saved-count { width: 17px; min-width: 17px; height: 17px; font-size: 9px; }
  .settings-label { display: none; }
  .settings-menu > summary { padding-inline: 3px; min-width: 27px; }
  .lesson-section { padding-top: 21px; }
  .lesson-title-group { padding-inline: 0; }
  .lesson-title-group h1 { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font-size: clamp(30px, 8.5vw, 39px); letter-spacing: -1px; }
  .lesson-title-group .eyebrow { display: block; font-size: 8px; letter-spacing: 1.3px; margin-bottom: 7px; }
  .lesson-subtitle { font-size: 12px; line-height: 1.6; margin-top: 9px; }
  .lesson-heading { gap: 16px; margin-bottom: 14px; }
  .learning-modes button { font-size: 11px; padding: 7px 3px; gap: 7px; }
  .learning-modes button::before { width: 24px; height: 24px; font-size: 10px; }
  .scene-figure { padding: 4px 4px 0; border-radius: 13px; }
  .picture-toolbar { height: 43px; padding: 0 2px 0 7px; }
  .picture-toolbar > #scene-caption { font-size: 9px; }
  .zoom-controls button { min-width: 37px; min-height: 43px; }
  .zoom-controls #zoom-reset { min-width: 43px; }
  .scene-viewport { border-radius: 8px; max-height: 66svh; }
  .scene-figure figcaption { padding: 7px; min-height: 32px; font-size: 9px; gap: 6px; }
  .hotspot-dot { width: 13px; height: 13px; }
  .hotspot.is-discovered .hotspot-dot::after { width: 4px; height: 3px; margin-top: 2px; }
  .hotspot .han { font-size: 14px; }
  .narrator { padding: 13px 14px; margin-top: 10px; }
  .narrator-main { gap: 12px; }
  .play-main { width: 46px; height: 46px; }
  .play-main svg { width: 21px; height: 21px; }
  .narrator-copy { gap: 5px; }
  .narrator-copy strong { font-size: 13px; }
  .narrator-copy #player-status { font-size: 9px; }
  .player-timing { font-size: 9px; gap: 5px; }
  .narration-line { margin-left: 58px; margin-top: 6px; font-size: 10px; }
  .learning-layout { gap: 15px; }
  .side-column { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .word-card { padding: 11px 15px 5px; border-radius: 13px; }
  .word-card-top { margin-bottom: 7px; }
  .word-identity { gap: 13px; margin-bottom: 12px; }
  .word-crop { width: 69px; flex-basis: 69px; height: 76px; }
  .word-core h2 { font-size: 34px; }
  .word-pinyin { font-size: 14px; margin-top: 4px; }
  .word-meaning { font-size: 12px; margin-top: 1px; }
  .pronounce-button { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
  .example-preview { padding: 12px 13px; margin-bottom: 10px; }
  .example-preview #example-zh { font-size: 21px; }
  .example-preview #example-en { font-size: 11px; }
  .word-details > summary { min-height: 44px; }
  .word-navigation .icon-button { width: 44px; height: 44px; }
  .collection-panel { padding: 15px; border-radius: 13px; }
  .collection-heading { flex-wrap: nowrap; margin-bottom: 12px; }
  .collection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .collection-word { min-height: 88px; }
  .word-thumbnail { width: 48px; height: 47px; }
  .journey-section { padding-top: 25px; }
  .journey-heading { align-items: flex-start; flex-direction: column; gap: 4px; margin-bottom: 12px; }
  .journey-route { justify-content: flex-start; padding-inline: 3px; gap: 12px; }
  .journey-stop { flex: 0 0 99px; min-height: 131px; gap: 10px; padding-inline: 4px; }
  .journey-stop::after { width: 38px; left: calc(50% + 39px); top: 42px; }
  .journey-thumb { width: 68px; height: 68px; }
  .journey-stop-copy { gap: 4px; }
  .journey-stop-copy strong { font-size: 11px; }
  .journey-stop-copy > span { font-size: 9px; }
  .lesson-bottom { align-items: flex-start; margin-top: 14px; }
  .lesson-bottom p { font-size: 10px; line-height: 1.6; padding-top: 9px; }
  .lesson-bottom button { font-size: 11px; flex-shrink: 0; }
  .site-footer { font-size: 9px; gap: 12px; padding: 18px 0; }
  .site-footer .local-progress-note { font-size: 9px; text-align: right; max-width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-route { scroll-behavior: auto; }
}

/* Course packs share the same scene picker without nesting another grid. */
#scene-grid { display: block; }
.pack-group + .pack-group { margin-top: 27px; padding-top: 23px; border-top: 1px solid var(--line); }
.pack-group > h3 { margin: 0 0 13px; color: var(--accent); font-size: 12px; font-weight: 650; line-height: 1.6; }
.pack-scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.site-header nav.journey-nav { min-width: 0; }
.pack-open { display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 240px; }
#current-pack-name { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pack-chevron { flex: 0 0 auto; font-size: 18px; line-height: 1; }
.pack-picker { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 20px; }
.pack-picker label { font-size: 12px; color: var(--muted); font-weight: 650; }
.pack-picker select { width: 100%; min-width: 0; min-height: 48px; padding: 10px 35px 10px 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface-soft); font: inherit; font-size: 15px; }
#pack-summary { margin-bottom: 20px; }
@media (min-width: 901px) {
  .lesson-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 12px; }
  .lesson-title-group { grid-column: 1; }
  .learning-modes { grid-column: 2; grid-row: 1 / 3; }
  .scene-navigation { display: flex; grid-column: 1; justify-self: start; }
  .scene-navigation::before { content: "Scene"; color: var(--muted); font-size: 12px; }
  .scene-navigation select { width: 190px; }
}
@media (max-width: 600px), (max-width: 900px) and (max-height: 600px) {
  .pack-open { max-width: 33vw; }
  .pack-picker { gap: 10px; }
  .pack-picker label { font-size: 11px; }
  .pack-picker select { font-size: 14px; }
}
.discovered-check { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; margin-right: 6px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; }
@media (max-width: 600px) {
  .pack-scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pack-group + .pack-group { margin-top: 22px; padding-top: 18px; }
}
