/* ===== Tokens ===== */
:root {
  --maroon: #4a0d0f;
  --red: #b3161b;
  --red-deep: #7d0e12;
  --gold: #f2c14e;
  --gold-2: #ffd978;
  --gold-deep: #c8911f;
  --cream: #fbf1dc;
  --cream-2: #f3e2bf;
  --ink: #2a1a12;
  --ink-soft: #6a5443;
  --ok: #2f7a3e;
  --line: rgba(42, 26, 18, .14);
  --sans: "Be Vietnam Pro", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --gutter: clamp(16px, 3vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: #2b0708;
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0 0 .8em; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1:focus { outline: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font: 700 .92rem/1 var(--sans); padding: .85em 1.3em; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .6em 1em; font-size: .82rem; }
.btn--red { background: linear-gradient(180deg, #d42a2f, var(--red-deep)); color: #fff6e0; box-shadow: 0 4px 0 #5a0a0c; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 var(--gold-deep); }
.btn--line { background: transparent; color: #fff6e0; border-color: rgba(255,246,224,.45); }
.btn--line-dark { background: transparent; color: var(--ink); border-color: var(--line); }

/* ===== Màn chuyển trang ===== */
.curtain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; visibility: hidden;
  display: grid; place-items: center; align-content: center; gap: 14px;
  background:
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,217,120,.07) 0 6deg, transparent 6deg 15deg),
    linear-gradient(180deg, #b3161b, #6b0d10);
}
.curtain svg { width: 90px; height: 90px; fill: var(--gold); filter: drop-shadow(0 6px 18px rgba(0,0,0,.4)); }
.curtain__label { font: 800 1.3rem/1.2 var(--sans); color: #fff6e0; letter-spacing: .04em; text-transform: uppercase; }

.quote {
  margin: 0; background: #2a0506; color: #fff6e0; border: 2px solid rgba(242,193,78,.6);
  border-radius: 14px; padding: .8rem 1rem .8rem 2.8rem; position: relative;
}
.quote::before { content: "“"; position: absolute; left: .5rem; top: -.1rem; font: 700 3.4rem/1 var(--serif); color: var(--gold); }
.quote blockquote { margin: 0 0 .3rem; font: 500 italic .92rem/1.45 var(--serif); }
.quote figcaption { font-size: .72rem; color: rgba(255,246,224,.7); }

/* Trạm 2 */
.crisis { border-radius: 14px; padding: 10px 12px; background: radial-gradient(60% 80% at 50% 50%, rgba(179,22,27,.1), transparent 70%), var(--cream-2); }
.crisis__group { font: 800 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin: 0 0 .45rem; }
.crisis__group small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink-soft); }
.crisis__row { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.crisis__row--2 { grid-template-columns: repeat(2, 1fr); margin-bottom: 0; }
.crisis__row li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: .74rem; font-weight: 700; line-height: 1.2; }
.crisis__row img { width: 100%; max-width: 60px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(60,30,10,.22); background: #fff; filter: sepia(.25); }
.crisis__row--2 img { max-width: 88px; aspect-ratio: 4 / 3; object-position: 50% 20%; }
.crisis__row img.is-art { object-fit: contain; background: transparent; border: 0; box-shadow: none; filter: drop-shadow(0 6px 8px rgba(60,30,10,.25)); }
.crisis__row li b { color: var(--red); }

/* Trạm 3 */
.share-q { font: 700 .86rem/1.4 var(--sans); text-align: center; margin: 0 0 .7rem; }
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.post { background: #fff; border-radius: 12px; padding: 7px; box-shadow: 0 4px 12px rgba(60,30,10,.15); font-size: .68rem; display: flex; flex-direction: column; gap: 4px; }
.post__topic { font-weight: 800; font-size: .68rem; color: var(--red); margin: 0; }
.post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 7px; background: #eee; }
.post img.is-art { object-fit: contain; background: var(--cream-2); padding: 3px; }
.post__text { margin: 0; color: var(--ink-soft); line-height: 1.3; flex: 1; }
.post__meta { margin: 0; display: flex; align-items: center; gap: 4px; color: #e8424f; font-weight: 700; }
.post__meta svg { width: 11px; height: 11px; }
.post__meta svg:nth-of-type(2) { color: var(--ink-soft); margin-left: 6px; }


/* ===== Trang đầu: ba trạm học tập, chiều cao theo nội dung ===== */
.poster {
  position: relative; overflow: clip; isolation: isolate;
  background: radial-gradient(ellipse at 50% 0, #862126 0, transparent 55%), linear-gradient(180deg, #501014, #330a0d);
}
.poster::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 15%, rgba(255,217,120,.016) 0 5deg, transparent 5deg 14deg);
}
.poster::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("assets/img/giay-cu.webp") center / 750px; opacity: .055; mix-blend-mode: soft-light; }
.canvas { position: relative; display: flex; flex-direction: column; min-height: 100svh; padding: 22px var(--gutter) 0; }
.deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.garden-ground { position: absolute; left: 0; bottom: 22px; width: 100%; height: 150px; opacity: .65; }
.bamboo { position: absolute; bottom: 38px; aspect-ratio: 467 / 700; pointer-events: none; opacity: .92; }
.bamboo__s { position: absolute; left: 0; width: 100%; background-repeat: no-repeat; transform-origin: 50% 100%; }
.bamboo--back { height: 830px; left: -240px; filter: brightness(.42) saturate(.65); opacity: .65; }
.bamboo--back-r { height: 790px; right: -225px; filter: brightness(.42) saturate(.65); opacity: .65; }
.bamboo--l { height: 640px; left: -160px; }
.bamboo--r { height: 675px; right: -175px; }
.orn { position: absolute; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.orn--c1 { width: 110px; left: 1%; top: 280px; }
.orn--c2 { width: 110px; right: 1%; top: 280px; }
.orn--f1 { width: 36px; left: 3%; top: 28px; }
.orn--f2 { display: none; }
.orn--f3 { width: 32px; right: 4%; top: 240px; }
.lotus { width: 102px; aspect-ratio: 900 / 836; bottom: 29px; }
.orn--l1 { left: 0; }
.orn--l2 { right: 0; }

/* Ảnh ở đúng tỉ lệ gốc; chú thích có hàng riêng, không đè vào tiêu đề. */
.banner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(130px, 1fr) minmax(0, 680px) minmax(180px, 1fr); gap: 28px; align-items: center; width: min(1240px, 100%); margin: 0 auto; }
.banner__side { display: flex; align-items: center; min-width: 0; }
.banner__side--l { justify-content: flex-end; }
.banner__side--r { flex-direction: column; justify-content: center; }
.banner__photo { margin: 0; width: 140px; padding: 6px; border-radius: 4px; background: #fffaf0; transform: rotate(-5deg); box-shadow: 0 10px 20px #23030666; }
.banner__photo img { width: 100%; height: auto; object-fit: contain; }
.banner__photo figcaption { font: 600 10px/1.4 var(--sans); text-align: center; color: var(--ink-soft); margin-top: 5px; }
.banner__frame { margin: 0; min-width: 0; border: 2px solid var(--gold); border-radius: 14px; padding: 5px; background: #8f251f; box-shadow: 0 10px 28px #20040555; }
.scene { position: relative; aspect-ratio: 8 / 3; overflow: hidden; border-radius: 8px 8px 2px 2px; background: #dcbd88; }
.layer--full { display: block; width: 100%; height: 100%; object-fit: contain; }
.banner__cap { position: relative; padding: 8px 6px 3px; color: #fff6e0; text-align: center; font-size: 11px; font-weight: 600; line-height: 1.4; }
.banner__cap span { color: #ffe2a1; }
.banner__quote { width: 100%; max-width: 245px; position: relative; z-index: 1; }
.banner__quote blockquote { font-size: 13px; }
.banner__quote figcaption { font-size: 10px; }
.flag { position: relative; flex: none; width: 148px; height: 116px; margin: 0 0 -5px 16px; }
.flag__pole { position: absolute; right: 0; top: 0; width: 6px; height: 138px; border-radius: 4px; background: linear-gradient(90deg,#76541e,#f7dc97,#a57c32); }
.flag__pole::before { content: ""; position: absolute; left: -4px; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%,#fff6cf,var(--gold),var(--gold-deep)); }
.flag__ring { position: absolute; right: -1px; width: 9px; height: 4px; border-radius: 3px; background: var(--gold-deep); z-index: 1; }
.flag__ring--t { top: 15px; }
.flag__ring--b { top: 85px; }
.flag__cloth { position: absolute; right: 5px; top: 4px; width: 120px; height: 100px; }
.headline { position: relative; z-index: 1; text-align: center; margin: 26px auto 0; max-width: 1120px; }
.headline__title { font: 800 clamp(26px, 2.8vw, 42px)/1.2 var(--sans); color: #ffda83; text-wrap: balance; text-shadow: 0 2px 0 #360809; }
.headline__sub { margin: 10px 0 0; font-size: 14px; color: #f6d6aa; }

/* Các số trạm và dấu nối biểu thị thứ tự trong hành trình. */
.stations { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 30px; width: min(1440px, calc(100% - 64px)); margin: 28px auto 32px; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff5df; color: var(--ink); border: 1px solid #e3b35a; border-radius: 18px; box-shadow: 0 12px 25px #1e04053d; }
.card__link { position: absolute; inset: 0; z-index: 5; border-radius: inherit; }
.card__link:focus-visible { outline: 3px solid #fff2c9; outline-offset: 5px; }
.card__head { position: relative; display: flex; align-items: center; gap: 12px; min-height: 92px; padding: 17px 65px 17px 16px; border-bottom: 1px solid #cf9c47; border-radius: 17px 17px 0 0; background: linear-gradient(115deg,#7d161b,#a42325); color: #fff8e7; }
.card--crisis .card__head { background: linear-gradient(115deg,#731922,#941b23); }
.card--voices .card__head { background: linear-gradient(115deg,#74512c,#946c38); }
.card__number { display: flex; flex: 0 0 42px; flex-direction: column; justify-content: center; align-items: center; color: #ffda83; border-right: 1px solid #ffdc8c55; padding-right: 12px; font: 700 28px/1 var(--serif); }
.card__number small { font: 500 10px/1.4 var(--sans); color: #f4d5a4; margin-bottom: 3px; }
.card__eyebrow { margin: 0 0 4px; font-size: 11px; color: #f9d8a2; }
.card__head h2 { font-size: clamp(17px, 1.4vw, 22px); line-height: 1.2; text-wrap: balance; }
.card__icon { position: absolute; right: 9px; top: 18px; width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 3px 2px #31070733); }
.card__body { position: relative; display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 18px; background: radial-gradient(ellipse at 50% 0,#fffdf4,transparent 65%); }
.card__connector { position: absolute; z-index: 8; right: -32px; top: 50%; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #6b1215; background: #f3c667; border: 3px solid #66151a; box-shadow: 0 0 0 1px #e0b362; pointer-events: none; }
.card__connector svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.card__qr { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 16px; align-items: center; margin: 0 18px; padding: 16px 0 18px; border-top: 1px solid #d6b675; }
.card__scan { text-align: center; color: var(--ink-soft); font-size: 10px; }
.card__scan > span { display: block; margin-top: 5px; }
.qr { width: 100%; aspect-ratio: 1; padding: 7px; border: 1px solid #d6b675; border-radius: 8px; background: white; }
.qr svg { display: block; width: 100%; height: 100%; }
.qr__fallback { font-size: 11px; line-height: 1.3; display: grid; place-items: center; height: 100%; }
.card__task p { font-size: 13px; line-height: 1.45; margin: 0 0 8px; }
.card__task .card__task-label { font-weight: 800; color: #8b2527; font-size: 11px; margin-bottom: 3px; }
.card__go { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 7px; color: #fff7e7; background: #922125; font-size: 12px; font-weight: 700; transition: background .2s; }
.card__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card__go, .card:focus-within .card__go { background: #591016; }

/* Trạm 1: ảnh tư liệu và những dấu son theo thời gian. */
.archive-hero { position: relative; display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 18px; align-items: center; min-height: 158px; padding: 10px; border-radius: 10px; background: linear-gradient(115deg,#d6b780,#f2e0b9 55%,#eccea0); }
.archive-photo { width: 99px; height: 138px; object-fit: cover; border: 4px solid #fffaf0; border-radius: 2px; transform: rotate(-3deg); box-shadow: 0 3px 7px #65432844; }
.archive-copy > span { font-size: 11px; color: #755130; }
.archive-copy time { display: flex; align-items: baseline; gap: 8px; color: #8e2427; font: 700 19px/1.15 var(--serif); }
.archive-copy time b { font-size: 45px; letter-spacing: -.04em; }
.archive-copy p { font: 600 13px/1.4 var(--sans); margin: 5px 0 0; }
.archive-stamp { position: absolute; left: 69px; bottom: 8px; width: 58px; height: 58px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 2px solid #a42a2a; border-radius: 50%; outline: 1px solid #a42a2a; outline-offset: -5px; color: #932020; background: #fff2d9dd; transform: rotate(-8deg); font-size: 10px; font-weight: 800; }
.archive-stamp svg { width: 19px; height: 19px; fill: currentColor; }
.history-list { position: relative; list-style: none; display: grid; gap: 7px; margin: 0; padding: 0; }
.history-list::before { content: ""; position: absolute; left: 5px; top: calc(12.5% - 2.625px); bottom: calc(12.5% - 2.625px); width: 2px; background: #ddc8a0; }
.history-list li { position: relative; display: grid; grid-template-columns: 12px 42px minmax(0,1fr); align-items: center; gap: 10px; min-height: 46px; }
.history-dot { width: 10px; height: 10px; border: 2px solid #a42a2a; border-radius: 50%; background: #f4cd7d; position: relative; z-index: 1; }
.history-list img { width: 42px; height: 42px; object-fit: cover; border: 2px solid #fff; border-radius: 5px; filter: sepia(.12); }
.history-list time { color: #9b292a; font: 800 12px/1.3 var(--sans); font-variant-numeric: tabular-nums; }
.history-list p { font-size: 13px; line-height: 1.35; margin: 2px 0 0; }
.history-track { position: relative; flex: 1; display: flex; flex-direction: column; }
.history-track .history-list { flex: 1; grid-template-rows: repeat(4, minmax(46px,1fr)); }
.history-ink { position: absolute; z-index: 1; left: 5px; top: calc(12.5% - 2.625px); bottom: calc(12.5% - 2.625px); width: 2px; background: #a42a2a; transform-origin: top; }

/* Trạm 2: tải trọng năm 1945 làm sợi dây căng xuống. */
.tension-scene { display: grid; grid-template-columns: minmax(88px,.9fr) minmax(0,1.1fr); align-items: center; gap: 8px; border-radius: 7px; min-height: 158px; padding: 12px 10px 12px 0; border: 1px solid #ddbe83; background: linear-gradient(110deg,#e6c58988,#f9e8c7e8),url("assets/img/giay-cu.webp") center / cover; }
.tension-svg { display: block; width: 100%; height: 124px; overflow: hidden; }
.tension-svg > circle { fill: #ae7d39; }
.tension-rope, .tension-tether { stroke: #87602e; stroke-width: 1.6; fill: none; }
.weight-handle { stroke: #8f2729; stroke-width: 7; fill: none; }
.weight-body { fill: #932729; stroke: #e1b359; stroke-width: 2; }
.tension-load text { fill: #ffdfa1; font: 700 26px var(--serif); }
.tension-copy > span { font-size: 10px; font-weight: 600; color: #825530; }
.tension-copy h3 { margin-top: 5px; font: 700 clamp(19px,1.6vw,25px)/1.2 var(--serif); color: #792426; }
.tension-copy p { font: italic 500 12px/1.5 var(--serif); color: #795339; margin: 8px 0 0; }
.card-section-label { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; color: #86582f; margin: 0 0 -4px; }
.card-section-label::after { content: ""; flex: 1; height: 1px; background: #dbc498; }
.challenge-grid { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0; padding: 0; }
.challenge-grid li { min-width: 0; }
.challenge-grid img { width: 100%; height: 87px; border-radius: 3px; object-fit: cover; filter: sepia(.18); box-shadow: 0 2px 0 #d6bf94; }
.challenge-grid img.is-art { object-fit: contain; filter: none; background: #ead7b0; padding: 7px; }
.challenge-grid strong { display: block; font-size: 13px; margin-top: 9px; color: #852427; }
.challenge-grid span { display: block; font-size: 10px; line-height: 1.4; color: #725a40; margin-top: 2px; }
.frontiers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.frontiers > div { display: flex; align-items: center; gap: 7px; padding: 0 6px 0 0; }
.frontiers > div + div { border-left: 1px solid #dbc498; padding: 0 0 0 8px; }
.frontiers img { width: 36px; height: 46px; flex: none; object-fit: cover; border-radius: 4px; filter: sepia(.18); }
.frontiers p { margin: 0; min-width: 0; }
.frontiers b, .frontiers span { display: block; font-size: 10px; line-height: 1.4; }
.frontiers b { color: #98282b; font-size: 11px; }
.crisis-thread { display: flex; align-items: center; gap: 7px; margin: auto 0 0; padding-top: 2px; font-size: 10px; line-height: 1.4; color: #795732; }
.crisis-thread svg { width: 12px; height: 12px; flex: none; fill: #b5852f; }

/* Trạm 3: một tấm thiệp còn chỗ cho tiếng nói của người học. */
.postcard { position: relative; min-height: 158px; padding: 14px 18px; border: 1px solid #d9b872; border-radius: 8px; background: repeating-linear-gradient(0deg,transparent 0 25px,#b58d4512 25px 26px),#f7e3b7; }
.postcard__to { color: #775332; font-size: 11px; margin: 0 0 12px; }
.postcard__words { display: flex; gap: 30px; color: #8a2928; font: italic 700 29px/1.3 var(--serif); margin: 0; }
.letter-writing { position: absolute; left: 10px; bottom: -4px; width: calc(100% - 20px); height: 78px; pointer-events: none; }
.letter-ink { fill: none; stroke: #9b3130; stroke-width: 2; stroke-linecap: round; }
.letter-pen { opacity: 0; }
.letter-seal { position: absolute; right: 10px; top: 10px; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; background: #9a2d2d; box-shadow: inset 0 0 0 3px #be5144, 0 2px 3px #6d2b232f; }
.letter-seal svg { width: 20px; height: 20px; fill: #f8d180; }
.voice-question { font-size: 13px; line-height: 1.45; color: #634832; margin: 0; }
.voice-ideas { list-style: none; display: grid; flex: 1; gap: 7px; margin: 0; padding: 0; }
.voice-ideas li { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 7px; background: #fffaf0; border: 1px solid #ecdbb9; }
.voice-ideas img { width: 48px; height: 42px; object-fit: cover; border-radius: 4px; }
.voice-ideas img.is-art { object-fit: contain; background: #f3e6c8; }
.voice-ideas p { flex: 1; min-width: 0; margin: 0; }
.voice-ideas strong, .voice-ideas span { display: block; font-size: 12px; line-height: 1.4; }
.voice-ideas strong { color: #892528; }
.voice-ideas span { font-size: 11px; color: #72563d; }
.voice-ideas svg { width: 14px; height: 14px; flex: none; margin-right: 4px; color: #bd9270; fill: currentColor; }

.strip { position: relative; z-index: 1; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin: auto calc(var(--gutter) * -1) 0; padding: 14px var(--gutter); background: #30080bc9; border-top: 1px solid #d6a04b77; color: #e9c48d; font-size: 11px; }
.strip p { margin: 0; }
.strip p:first-child { font-weight: 700; }
.strip__nav { display: flex; gap: 16px; }
.strip__nav a { text-underline-offset: 4px; }
.strip__nav a:hover { color: #fff3c6; }

@media (min-width: 1700px) {
  .stations { width: min(1520px,calc(100% - 90px)); }
  .card__body { padding: 22px; }
  .card__qr { margin-inline: 22px; }
  .history-list p { font-size: 15px; }
  .history-list time, .voice-ideas strong { font-size: 14px; }
  .voice-ideas span, .challenge-grid span, .frontiers span { font-size: 12px; }
  .card__task p { font-size: 14px; }
}
@media (min-width: 1100px) and (max-width: 1249px) {
  .stations { width: calc(100% - 20px); gap: 24px; }
  .card__connector { right: -27px; }
  .bamboo--l { left: -178px; }
  .bamboo--r { right: -193px; }
}
@media (max-width: 1099px) {
  .banner { grid-template-columns: 120px minmax(0,1fr); max-width: 760px; gap: 22px; }
  .banner__side--r { display: none; }
  .banner__photo { width: 110px; }
  .headline { max-width: 760px; }
  .stations { grid-template-columns: minmax(0,1fr); width: 100%; max-width: 600px; gap: 26px; }
  .card__connector { display: none; }
  .card__head { padding-right: 80px; }
  .card__head h2 { font-size: 23px; }
  .card__icon { right: 20px; }
  .card__body { padding: 20px; }
  .history-list p { font-size: 15px; }
  .history-list time, .voice-ideas strong { font-size: 14px; }
  .voice-ideas span, .challenge-grid span, .frontiers span { font-size: 12px; }
  .archive-hero { grid-template-columns: 120px minmax(0,1fr); }
  .archive-photo { width: 110px; }
  .archive-copy time b { font-size: 52px; }
  .archive-stamp { left: 86px; }
  .archive-copy p, .card__task p { font-size: 14px; }
  .challenge-grid img { height: 86px; }
  .tension-copy h3 { font-size: 27px; }
  .tension-copy p { font-size: 14px; }
  .frontiers img { width: 48px; height: 50px; }
  .frontiers b { font-size: 13px; }
  .voice-ideas img { width: 68px; height: 48px; }
  .voice-ideas li { padding: 9px; }
  .card__qr { margin-inline: 20px; }
  .card__go { font-size: 13px; }
  .orn, .bamboo { display: none; }
  .garden-ground { opacity: .32; height: 90px; }
}
@media (max-width: 560px) {
  .canvas { padding-top: 12px; }
  .banner { grid-template-columns: minmax(0,1fr); }
  .banner__side { display: none; }
  .banner__cap { font-size: 10px; }
  .headline { margin-top: 22px; }
  .headline__title { font-size: clamp(24px,6vw,32px); }
  .headline__sub { font-size: 12px; }
  .stations { margin-top: 22px; }
  .card__head { min-height: 90px; padding: 15px 58px 15px 12px; gap: 9px; }
  .card__head h2 { font-size: 20px; }
  .card__number { flex-basis: 37px; padding-right: 9px; font-size: 27px; }
  .card__eyebrow { font-size: 10px; }
  .card__icon { width: 44px; height: 44px; right: 8px; top: 23px; }
  .card__body { padding: 14px; }
  .archive-hero { grid-template-columns: 86px minmax(0,1fr); gap: 15px; }
  .archive-photo { width: 84px; height: 126px; }
  .archive-copy time { gap: 5px; font-size: 16px; }
  .archive-copy time b { font-size: 37px; }
  .archive-copy p { font-size: 12px; }
  .archive-stamp { left: 56px; bottom: 13px; width: 50px; height: 50px; font-size: 9px; }
  .history-list p { font-size: 13px; }
  .history-list time { font-size: 12px; }
  .challenge-grid img { height: 74px; }
  .challenge-grid strong { font-size: 12px; }
  .tension-scene { grid-template-columns: minmax(82px,.8fr) minmax(0,1.2fr); }
  .tension-copy h3 { font-size: 22px; }
  .tension-copy p { font-size: 12px; }
  .challenge-grid span { font-size: 10px; }
  .frontiers > div { padding: 6px; gap: 6px; }
  .frontiers img { width: 30px; height: 43px; }
  .frontiers b { font-size: 11px; }
  .frontiers span { font-size: 10px; }
  .postcard { padding-inline: 13px; }
  .postcard__to { max-width: calc(100% - 24px); font-size: 10px; }
  .postcard__words { gap: 22px; font-size: 27px; }
  .voice-ideas li { padding: 6px; gap: 9px; }
  .voice-ideas img { width: 50px; height: 44px; }
  .voice-ideas strong { font-size: 13px; }
  .voice-ideas span { font-size: 11px; }
  .card__qr { margin-inline: 14px; grid-template-columns: 70px minmax(0,1fr); gap: 12px; }
  .card__task p { font-size: 12px; }
  .card__go { font-size: 11px; padding: 10px; gap: 5px; }
  .strip { justify-content: center; text-align: center; gap: 8px 16px; }
  .strip p:nth-child(2) { display: none; }
}

/* ================================================================
   TRANG TỪNG TRẠM
   ================================================================ */
.page {
  min-height: 100vh; min-height: 100dvh; color: #fff6e0; padding-bottom: 40px;
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(242,193,78,.2), transparent 70%),
    linear-gradient(180deg, #5c1013 0%, #3d0a0c 45%, #2b0708 100%);
}
.page__bar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px var(--gutter); background: rgba(40, 6, 7, .82); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(242,193,78,.3);
}
.back { font: 700 .88rem/1 var(--sans); text-decoration: none; color: var(--gold-2); padding: .55em .9em; border: 1px solid rgba(242,193,78,.5); border-radius: 999px; white-space: nowrap; }
.back:hover { background: var(--gold); color: var(--ink); }
.steps { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; }
.steps a { display: block; font: 600 .8rem/1 var(--sans); text-decoration: none; padding: .55em .8em; border-radius: 999px; color: rgba(255,246,224,.75); white-space: nowrap; }
.steps a:hover { color: #fff; background: rgba(255,255,255,.08); }
.steps a[aria-current="page"] { background: var(--red); color: #fff6e0; box-shadow: inset 0 0 0 2px var(--gold); }
@media (max-width: 560px) {
  .page__bar { flex-wrap: wrap; }
  .steps { flex: 1 1 100%; min-width: 0; padding: 6px; }
}

.page__hero { position: relative; text-align: center; max-width: 900px; margin: 0 auto; padding: clamp(28px, 5vw, 50px) var(--gutter) 24px; }
.page__icon { width: clamp(80px, 12vw, 120px); margin: 0 auto 6px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.page__num { display: inline-block; margin: 0 0 .6rem; background: var(--red); border: 2px solid var(--gold); border-radius: 999px; padding: .4em 1.1em; font: 800 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.page__hero h1 {
  font: 800 clamp(2rem, 5.5vw, 3.4rem)/1.1 var(--sans); text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 50%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(60,8,10,.9));
}
.page__sub { margin: .6rem 0 0; color: #ffe7b0; font-size: 1.02rem; }

.paper {
  max-width: 900px; margin: 0 auto; color: var(--ink);
  background: linear-gradient(180deg, #fff8e8, var(--cream)); border: 3px solid var(--gold); border-radius: 24px;
  padding: clamp(18px, 3.5vw, 36px); box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
@media (max-width: 940px) { .paper { margin-inline: 12px; } }
.paper__h { font-size: 1.15rem; margin: 1.8rem 0 .8rem; }
.paper__src { font-size: .8rem; color: var(--ink-soft); margin: 1rem 0 0; }
.lead { font-size: 1.08rem; font-weight: 600; }
.mission { background: var(--red); color: #fff6e0; border-radius: 14px; padding: .8rem 1rem; margin: 1rem 0; }
.mission b { color: var(--gold-2); }
.quote--big { padding: 1.1rem 1.3rem 1.1rem 3.4rem; }
.quote--big blockquote { font-size: 1.08rem; }
.quote--big::before { font-size: 4.4rem; }

.page__next { max-width: 900px; margin: 26px auto 0; padding: 0 var(--gutter); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Sự kiện */
.events { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .8rem; }
.events li { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; align-items: start; background: #fff; border-radius: 14px; padding: .8rem; border: 1px solid var(--line); border-left: 5px solid var(--red); }
.events figure { margin: 0; }
.events img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: #ddd; }
.events figcaption { font-size: .64rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.3; }
.events time { font-weight: 800; color: var(--red); }
.events h3 { font-size: 1.02rem; margin: .1rem 0 .3rem; }
.events p { margin: 0; font-size: .94rem; color: var(--ink-soft); }
@media (max-width: 520px) { .events li { grid-template-columns: 1fr; } }

/* Trạm 2 trang */
.crisis--big { padding: 14px; }
.crisis--big .crisis__group { font-size: .78rem; margin: .4rem 0 .7rem; }
.crisis--big .crisis__row { gap: 14px; margin-bottom: .8rem; }
.crisis--big .crisis__row li { font-size: .95rem; gap: 6px; }
.crisis--big .crisis__row img { max-width: 170px; }
.crisis--big .crisis__row--2 img { max-width: 240px; }
.crisis--big small { font-weight: 500; font-size: .8rem; color: var(--ink-soft); line-height: 1.35; }
@media (max-width: 520px) { .crisis--big .crisis__row { grid-template-columns: 1fr 1fr; } .crisis--big .crisis__row--2 { grid-template-columns: 1fr; } }
.plus { background: #fff; border-left: 4px solid var(--gold-deep); border-radius: 0 12px 12px 0; padding: .8rem 1rem; margin: 1rem 0; }
.know { background: #2a0506; color: #fff6e0; border-radius: 14px; padding: .9rem 1.1rem; border: 2px dashed rgba(242,193,78,.6); }
.know p { margin: 0; }
.know__t { font-weight: 800; color: var(--gold); margin-bottom: .3rem !important; }

.match { background: #fff; border-radius: 18px; border: 2px solid var(--gold); padding: clamp(14px, 2.5vw, 24px); margin-top: 1.4rem; }
.match h2 { font-size: 1.18rem; margin-bottom: .2rem; }
.match > p { color: var(--ink-soft); font-size: .9rem; }
.match__cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; margin: 1rem 0; }
.match__col { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.chip { width: 100%; min-height: 54px; display: flex; align-items: center; gap: .6rem; text-align: left; font: 600 .92rem/1.3 var(--sans); color: var(--ink); background: var(--cream); border: 2px solid var(--line); border-radius: 12px; padding: .55rem .8rem; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.chip img { width: 38px; height: 38px; object-fit: contain; flex: none; }
.chip:hover { border-color: var(--ink); }
.chip.is-picked { border-color: var(--red); background: #fbe1da; transform: translateX(5px); }
.chip.is-done { border-color: var(--ok); background: #e5f2df; cursor: default; }
.chip.is-done::after { content: "✓"; margin-left: auto; color: var(--ok); font-weight: 800; }
.chip.is-wrong { border-color: var(--red); }
.match__status { font-weight: 800; margin-bottom: .6rem; }
@media (max-width: 560px) { .match__cols { grid-template-columns: 1fr; } }

/* Trắc nghiệm */
.mcq-list { display: grid; gap: 1rem; }
.mcq { margin: 0; background: #fff; color: var(--ink); border-radius: 18px; padding: clamp(16px, 2.5vw, 24px); border: 2px solid var(--gold); }
.mcq legend { float: left; width: 100%; padding: 0; margin-bottom: .9rem; font-weight: 700; font-size: 1.02rem; }
.mcq legend span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .2rem; }
.mcq__opts { clear: both; display: grid; gap: .55rem; }
.opt { display: flex; gap: .7rem; text-align: left; width: 100%; font: 500 .95rem/1.4 var(--sans); color: inherit; background: var(--cream); border: 2px solid var(--line); border-radius: 12px; padding: .75rem .9rem; cursor: pointer; transition: border-color .2s; }
.opt b { color: var(--red); }
.opt:hover:not([disabled]) { border-color: var(--red); }
.opt.is-right { border-color: var(--ok); background: #e5f2df; }
.opt.is-wrong { border-color: var(--red); background: #fbe1da; }
.opt[disabled] { cursor: default; }
.mcq__why { margin: .9rem 0 0; padding: .8rem 1rem; border-radius: 12px; background: var(--cream-2); font-size: .92rem; }
.mcq__why strong { color: var(--red); }
.score { text-align: center; font-weight: 800; font-size: 1.1rem; color: var(--red); margin: 1.2rem 0 0; }
.score:empty { display: none; }

/* Hỏi đáp */
.qa-list { display: grid; gap: .6rem; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.qa--gap { margin-top: 1.4rem; }
.qa summary { cursor: pointer; list-style: none; padding: .9rem 3rem .9rem 1rem; position: relative; font-weight: 700; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--red); transition: transform .25s; }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa summary span { color: var(--red); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-right: .4em; }
.qa__body { padding: 0 1rem 1rem; color: var(--ink-soft); }
.qa__body ul { padding-left: 1.2em; }
.remember { border-left: 3px solid var(--red); padding-left: .8rem; color: var(--ink); }

/* Trạm 3 trang */
.compose { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; background: #fff; border: 2px solid var(--gold); border-radius: 16px; padding: 1rem; }
.compose label { font: 700 italic 1.15rem var(--serif); color: var(--red); }
.compose input { flex: 1 1 200px; min-width: 0; font: 500 1rem var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid var(--line); padding: .5em .2em; }
.compose input:focus { outline: none; border-color: var(--red); }
.compose__hint { font-size: .8rem; color: var(--ink-soft); margin: .6rem 0 1rem; }
.board { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .8rem; }
.note { position: relative; background: #ffe79a; padding: 1.1rem 1rem .9rem; border-radius: 6px; box-shadow: 0 8px 16px rgba(60,30,10,.15); font-size: .92rem; }
.note:nth-child(3n+2) { background: #f9cfc2; }
.note:nth-child(3n) { background: #d9e8c4; }
.note::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--red); }
.note p { margin: 0; }
.note em { font-family: var(--serif); font-weight: 700; color: var(--red-deep); }
.note button { position: absolute; top: 2px; right: 4px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--ink-soft); }
.posts--big { gap: 12px; }
.posts--big .post { font-size: .86rem; padding: 10px; gap: 6px; }
.posts--big .post__topic { font-size: .8rem; }
@media (max-width: 600px) { .posts--big { grid-template-columns: 1fr; } }

/* Thử thách */
.bridge { max-width: 900px; margin: 26px auto 0; text-align: center; padding: clamp(24px, 4vw, 40px) var(--gutter); border-block: 2px solid rgba(242,193,78,.5); }
.bridge__text { margin: 0 0 1rem; font: 500 italic clamp(1.1rem, 2.4vw, 1.5rem)/1.45 var(--serif); }
.bridge__ask { margin: 0; font-weight: 800; color: var(--gold-2); }

/* Nguồn */
.sources { padding-left: 1.2em; }
.sources li { margin-bottom: .4rem; }
.sources--img { font-size: .88rem; color: var(--ink-soft); }
.sources a { color: var(--red); }

/* Video tư liệu trong Trạm 1 */
.history-videos { margin-block: 1.5rem 1.8rem; }
.history-videos .paper__h { margin-top: 0; }
.history-videos__intro { color: var(--ink-soft); font-size: .94rem; }
.history-videos__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.history-video { min-width: 0; margin: 0; background: #fff; border: 2px solid var(--gold); border-radius: 16px; overflow: hidden; }
.history-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #160707; }
.history-video figcaption { padding: 1rem; }
.history-video time { color: var(--red); font-size: .8rem; font-weight: 800; }
.history-video h3 { margin: .25rem 0 .5rem; font-size: 1.02rem; line-height: 1.35; }
.history-video p { color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }
.history-video__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--red); font-size: .86rem; font-weight: 700; text-underline-offset: .2em; }
.history-video :focus-visible { outline-color: var(--red-deep); outline-offset: -4px; }
@media (max-width: 640px) { .history-videos__grid { grid-template-columns: 1fr; } }


/* Trạm 3: viết một lời nhắn, ghim lên bảng riêng của em. */
.page__hero--sharing { padding-block: 28px 24px; }
.page__hero--sharing .page__icon { width: 88px; height: 66px; object-fit: contain; }
.sharing-paper { max-width: 1120px; padding: clamp(20px, 3vw, 38px); }
.sharing-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid rgba(179,22,27,.2); }
.sharing-intro h2 { color: var(--red-deep); font: 700 clamp(1.6rem, 3vw, 2.25rem)/1.2 var(--serif); }
.sharing-intro p { max-width: 68ch; margin: 12px 0 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.65; }
.sharing-date { display: flex; flex: 0 0 90px; flex-direction: column; align-items: center; justify-content: center; height: 90px; border: 2px solid var(--red); border-radius: 50%; outline: 1px solid rgba(179,22,27,.35); outline-offset: 4px; color: var(--red-deep); transform: rotate(8deg); }
.sharing-date small { font-size: .7rem; font-weight: 700; }
.sharing-date strong { font: 700 1.8rem/1.2 var(--serif); }
.sharing-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(22px, 3vw, 36px); margin-top: 28px; align-items: start; }
.sharing-compose { min-width: 0; }
.sharing-prompts { min-width: 0; border: 0; margin: 0 0 24px; padding: 0; }
.sharing-prompts legend { padding: 0; font-size: .93rem; font-weight: 700; margin-bottom: 12px; }
.sharing-prompts__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.sharing-prompts__options button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 10px 6px; background: #fff9e9; color: var(--red-deep); border: 1px solid #d5b776; border-radius: 10px; font: 700 .84rem/1.3 var(--sans); cursor: pointer; transition: border-color .2s, background .2s; }
.sharing-prompts__options button:hover { background: #f8e6b8; border-color: var(--red); }
.sharing-prompts__options img { width: 46px; height: 44px; object-fit: contain; }
.sharing-prompts > p { margin: 9px 0 0; color: var(--ink-soft); font-size: .78rem; }
.sharing-field + .sharing-field { margin-top: 19px; }
.sharing-field__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.sharing-field label { font: 700 1.25rem/1.2 var(--serif); color: var(--red-deep); }
.sharing-field__heading > span { color: var(--ink-soft); font-size: .74rem; font-variant-numeric: tabular-nums; }
.sharing-field textarea { display: block; width: 100%; min-height: 104px; resize: vertical; border: 1px solid #c7b185; border-radius: 9px; background: #fffdf6; color: var(--ink); padding: 11px 13px; font: 400 .94rem/1.6 var(--sans); }
.sharing-field textarea::placeholder { color: #786b57; }
.sharing-field textarea:focus { border-color: var(--red); outline: 2px solid rgba(179,22,27,.22); outline-offset: 2px; }
.sharing-field textarea[aria-invalid="true"] { border-color: var(--red); background: #fff6f0; }
.sharing-field__hint { margin: 6px 0 0; color: var(--ink-soft); font-size: .75rem; line-height: 1.45; }
.sharing-field__error { margin: 5px 0 0; color: #9b1219; font-size: .78rem; line-height: 1.4; font-weight: 700; }
.sharing-field__error:empty { display: none; }
.sharing-compose__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.sharing-compose__actions .btn { min-height: 44px; }
.sharing-text-button { border: 0; padding: 8px 0; color: var(--red-deep); background: transparent; cursor: pointer; font: 700 .84rem/1.4 var(--sans); text-decoration: underline; text-underline-offset: 4px; }
.sharing-compose__status { margin: 14px 0 0; color: var(--red-deep); font-size: .82rem; line-height: 1.5; }
.sharing-compose__status:empty { display: none; }
.sharing-board { min-width: 0; position: relative; border: 1px solid #7a2422; border-radius: 14px; padding: clamp(18px, 2.3vw, 26px); background: #681619; color: #fff4d9; box-shadow: inset 0 0 0 5px rgba(255,222,143,.08); }
.sharing-board__heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sharing-board__heading h2 { font: 700 1.25rem/1.3 var(--serif); }
.sharing-board__heading > span { flex: none; border: 1px solid rgba(255,222,143,.42); padding: 4px 8px; border-radius: 20px; font-size: .68rem; font-weight: 600; color: #ffe6a5; }
.sharing-board__hint { margin: 10px 0 24px; max-width: 46ch; color: #ead0ba; font-size: .77rem; line-height: 1.6; }
.sharing-empty { padding: 24px 18px 19px; color: var(--ink); text-align: center; background: #fff3d5; border: 1px solid #ddbd73; border-radius: 7px; box-shadow: 0 5px 0 #441013; }
.sharing-empty__letter { width: 150px; max-width: 75%; height: auto; margin: 0 auto 17px; }
.sharing-empty h3 { max-width: 22ch; margin: 0 auto; font: 700 1.15rem/1.4 var(--serif); color: var(--red-deep); }
.sharing-empty p { margin: 12px 0 8px; color: var(--ink-soft); font-size: .84rem; line-height: 1.7; }
.sharing-board .board { grid-template-columns: minmax(0, 1fr); gap: 18px; max-height: 550px; overflow-y: auto; padding: 8px 5px 5px; margin: -8px -5px -5px; scrollbar-color: #bd975e transparent; scrollbar-width: thin; }
.sharing-board .board:empty { display: none; }
.sharing-board .note { min-width: 0; color: var(--ink); padding: 18px 17px 12px; background: #fff3d5; border-radius: 5px 5px 13px 5px; box-shadow: 0 3px 0 #481013; border: 1px solid #e1c584; font-size: .92rem; line-height: 1.65; overflow-wrap: anywhere; }
.sharing-board .note:nth-child(3n+2) { background: #ffefd0; }
.sharing-board .note:nth-child(3n) { background: #fbf5df; }
.sharing-board .note::before { left: 25px; top: -5px; width: 10px; height: 10px; margin: 0; border: 2px solid #e2bc60; background: var(--red); box-shadow: 0 2px 2px #642818; }
.sharing-board .note__label { display: block; margin-bottom: 8px; color: #7d6545; font-size: .7rem; }
.sharing-board .note em { font-style: normal; }
.sharing-board .note__actions { display: flex; justify-content: flex-end; gap: 16px; margin-top: 12px; padding-top: 6px; border-top: 1px solid #d9c5a0; }
.sharing-board .note__actions button { position: static; padding: 6px 2px; color: var(--red-deep); font: 700 .76rem/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.sharing-board__feedback { font-size: .78rem; }
.sharing-board__feedback p { margin: 16px 0 0; color: #fff0c4; }
.sharing-board__feedback p:empty { display: none; }
.sharing-board__feedback .sharing-text-button { color: #ffe3a0; font-size: .78rem; }
.sharing-reflection { margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(179,22,27,.2); }
.sharing-reflection > h2 { font: 700 clamp(1.15rem, 2.4vw, 1.45rem)/1.35 var(--serif); color: var(--red-deep); }
.sharing-reflection > p { max-width: 80ch; margin: 12px 0 18px; font-size: .94rem; color: var(--ink-soft); }
.sharing-reflection details { border-top: 1px solid #ddcaa5; }
.sharing-reflection summary { padding: 14px 5px; cursor: pointer; color: var(--red-deep); font-size: .9rem; font-weight: 700; }
.sharing-reflection details > div { padding: 0 8px 12px 23px; max-width: 85ch; color: var(--ink-soft); font-size: .89rem; line-height: 1.75; }
.sharing-reflection details > div p:last-child { margin-bottom: 0; }
.sharing-reflection li + li { margin-top: 8px; }
.sharing-paper button:focus-visible, .sharing-paper summary:focus-visible { outline: 3px solid var(--red-deep); outline-offset: 3px; }
.sharing-board button:focus-visible { outline-color: var(--gold-2); }
.sharing-board .note button:focus-visible, .sharing-empty button:focus-visible { outline-color: var(--red-deep); }
@media (max-width: 760px) {
  .sharing-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .sharing-board .board { max-height: none; }
  .sharing-empty { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 0 15px; text-align: left; align-items: center; padding: 20px 16px; }
  .sharing-empty__letter { grid-row: 1 / 4; max-width: 100%; width: 100%; margin: 0; }
  .sharing-empty h3 { max-width: none; margin: 0; }
  .sharing-empty p { font-size: .81rem; }
  .sharing-empty .sharing-text-button { justify-self: start; text-align: left; }
}
@media (max-width: 430px) {
  .sharing-intro { position: relative; display: block; }
  .sharing-intro h2 { font-size: 1.5rem; padding-right: 74px; min-height: 64px; }
  .sharing-intro p { font-size: .88rem; }
  .sharing-date { position: absolute; right: 0; top: 5px; width: 59px; height: 59px; outline-offset: 2px; }
  .sharing-date small { font-size: .54rem; }
  .sharing-date strong { font-size: 1.25rem; }
  .sharing-board__heading { flex-wrap: wrap; }
  .sharing-empty { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .sharing-empty__letter { grid-row: auto; width: 110px; margin: 0 auto 13px; }
  .sharing-empty .sharing-text-button { justify-self: center; text-align: center; }
  .sharing-field textarea { font-size: 1rem; }
}

/* Trạm 2: hồ sơ tư liệu, đối chiếu khó khăn và điểm tựa. */
#tram-2 .page__hero { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 22px; max-width: 1120px; text-align: left; padding-top: 28px; padding-bottom: 26px; align-items: center; }
#tram-2 .page__hero .page__icon { grid-column: 1; grid-row: 1 / 4; width: 84px; margin: 0; }
#tram-2 .page__hero .page__num { grid-column: 2; justify-self: start; margin-bottom: 8px; font-size: .7rem; }
#tram-2 .page__hero h1 { grid-column: 2; font-size: clamp(1.65rem, 3.5vw, 2.7rem); }
#tram-2 .page__hero .page__sub { grid-column: 2; font-size: .93rem; margin-top: 9px; line-height: 1.55; }
.crisis-dossier { max-width: 1120px; padding: clamp(20px, 3vw, 38px); }
.dossier-intro { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 24px; border-bottom: 1px solid #cfb981; }
.dossier-intro h2 { font: 700 clamp(1.55rem, 2.8vw, 2.05rem)/1.25 var(--serif); color: var(--red-deep); }
.dossier-intro p { max-width: 66ch; margin: 10px 0 0; font-size: .98rem; line-height: 1.65; color: var(--ink-soft); }
.dossier-date { display: block; flex: 0 0 136px; text-align: center; padding: 11px 10px; color: var(--red-deep); border-block: 2px solid var(--red-deep); }
.dossier-date small { display: block; font-size: .67rem; line-height: 1.55; }
.dossier-date strong { display: block; margin-top: 4px; font: 700 2.4rem/1 var(--serif); }
.dossier-domestic, .dossier-external { margin-top: 26px; }
.dossier-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 7px 20px; margin-bottom: 15px; }
.dossier-section-heading h3 { font: 700 1.22rem/1.3 var(--serif); color: var(--red-deep); }
.dossier-section-heading p { margin: 0; color: var(--ink-soft); font-size: .8rem; line-height: 1.5; }
.dossier-domestic__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.dossier-document { min-width: 0; background: #fffaf0; border: 1px solid #d9c49a; border-radius: 5px 5px 11px 5px; padding: 10px; box-shadow: 0 3px 0 #e6d3a6; }
.dossier-document figure { margin: 0; }
.dossier-document figure img { width: 100%; height: 164px; object-fit: cover; object-position: center 36%; border-radius: 3px; background: #e8dec6; filter: sepia(.15); }
.dossier-document figure figcaption { min-height: 2.8em; margin-top: 7px; color: #72624d; font-size: .66rem; line-height: 1.4; }
.dossier-document--finance figure img { object-fit: contain; padding: 9px; background: #f6e8c6; filter: none; }
.dossier-document__body { margin-top: 12px; padding: 0 4px 7px; }
.dossier-document__body h4 { margin: 0; font: 800 1.05rem/1.3 var(--sans); color: var(--red-deep); }
.dossier-document__body p { margin: 8px 0 0; font-size: .88rem; line-height: 1.6; color: var(--ink-soft); }
.dossier-external { padding-top: 23px; border-top: 1px dashed #c9ad71; }
.dossier-external__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dossier-front { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 17px; padding: 15px; border-left: 4px solid #8f2422; background: #f0e1bf; border-radius: 0 8px 8px 0; min-width: 0; }
.dossier-front figure { margin: 0; }
.dossier-front figure img { width: 108px; height: 140px; object-fit: cover; object-position: center 22%; border: 4px solid #fff8e8; box-shadow: 0 2px 4px rgba(73,47,17,.15); filter: sepia(.15); }
.dossier-front figure figcaption { font-size: .62rem; line-height: 1.45; color: #71604c; margin-top: 7px; }
.dossier-front .dossier-front__region { margin: 0 0 7px; font-size: .76rem; font-weight: 800; color: var(--red-deep); }
.dossier-front h4 { margin: 0; font: 700 1.06rem/1.4 var(--serif); color: var(--ink); }
.dossier-front p:not(.dossier-front__region) { margin: 8px 0 0; font-size: .84rem; line-height: 1.65; color: var(--ink-soft); }
.dossier-front time { white-space: nowrap; font-weight: 700; color: var(--red-deep); }
.dossier-perspectives { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 25px; }
.dossier-strength { display: flex; align-items: flex-start; gap: 13px; padding: 21px; border: 1px solid #d9b66b; border-radius: 7px; background: #fff5d9; }
.dossier-strength__star { color: #b98923; font-size: 1.55rem; line-height: 1.25; flex: none; }
.dossier-strength h3, .dossier-know h3 { margin: 0; font: 700 1.1rem/1.45 var(--serif); }
.dossier-strength h3 { color: var(--red-deep); }
.dossier-strength p, .dossier-know p { margin: 9px 0 0; font-size: .86rem; line-height: 1.7; }
.dossier-strength p { color: var(--ink-soft); }
.dossier-know { padding: 21px; border-radius: 7px; background: #681619; color: #fff1d0; box-shadow: inset 0 0 0 4px rgba(245,207,120,.08); }
.dossier-know h3 { color: #ffe2a0; }
.dossier-know strong { color: #ffdf84; font-weight: 700; }
#tram-2 .match { margin-top: 30px; border: 1px solid #cfa949; border-top: 4px solid var(--red-deep); border-radius: 8px 8px 14px 14px; background: #fffaf0; }
#tram-2 .match h2 { color: var(--red-deep); font: 700 1.3rem/1.35 var(--serif); }
#tram-2 .match > p { margin-top: 7px; }
#tram-2 .match__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px; }
#tram-2 .match__col { grid-template-rows: auto repeat(4, minmax(72px, 1fr)); gap: 10px; min-width: 0; }
#tram-2 .match__col::before { content: attr(aria-label); color: var(--red-deep); font-weight: 800; font-size: .78rem; padding: 4px 2px; }
#tram-2 .match__col > li { min-width: 0; }
#tram-2 .chip { height: 100%; min-width: 0; border-radius: 7px; font-weight: 600; line-height: 1.45; }
#tram-2 .chip.is-picked { transform: none; box-shadow: inset 0 0 0 1px var(--red); }
#tram-2 .chip:focus-visible, #tram-2 .opt:focus-visible { outline: 3px solid var(--red-deep); outline-offset: 3px; }
#tram-2 .match__status { color: var(--red-deep); }
#tram-2 .paper__h { font: 700 1.25rem/1.4 var(--serif); color: var(--red-deep); margin-top: 28px; }
#tram-2 .mcq { border-width: 1px; border-color: #d3bc88; border-radius: 10px; background: #fffaf0; }
@media (max-width: 900px) {
  .dossier-domestic__grid { gap: 12px; }
  .dossier-document figure img { height: 140px; }
  .dossier-front { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .dossier-front figure img { width: 88px; height: 116px; }
}
@media (max-width: 700px) {
  #tram-2 .page__hero { grid-template-columns: 62px minmax(0, 1fr); gap: 0 15px; padding-top: 23px; padding-bottom: 23px; }
  #tram-2 .page__hero .page__icon { width: 62px; }
  #tram-2 .page__hero .page__sub { font-size: .86rem; }
  .dossier-intro { gap: 18px; }
  .dossier-date { flex-basis: 99px; padding-inline: 5px; }
  .dossier-date strong { font-size: 2rem; }
  .dossier-date small { font-size: .58rem; }
  .dossier-domestic__grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .dossier-document { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 15px; }
  .dossier-document figure img { height: 150px; }
  .dossier-document__body { margin-top: 5px; padding: 0 4px 0 0; }
  .dossier-document figure figcaption { min-height: 0; }
  .dossier-external__grid, .dossier-perspectives { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .dossier-front { grid-template-columns: 110px minmax(0, 1fr); gap: 18px; padding: 15px; }
  .dossier-front figure img { width: 110px; height: 140px; }
  .dossier-strength, .dossier-know { padding: 19px; }
}
@media (max-width: 560px) {
  #tram-2 .match { padding: 17px 12px; }
  #tram-2 .match__cols { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8px; }
  #tram-2 .match__col { grid-template-rows: auto repeat(4, minmax(92px, 1fr)); gap: 8px; }
  #tram-2 .chip { padding: 9px 7px; font-size: .79rem; }
  #tram-2 .chip img { display: none; }
  #tram-2 .chip.is-done::after { margin-left: 2px; }
}
@media (max-width: 420px) {
  #tram-2 .page__hero { grid-template-columns: 46px minmax(0, 1fr); gap: 0 12px; }
  #tram-2 .page__hero .page__icon { width: 46px; }
  #tram-2 .page__hero h1 { font-size: 1.46rem; }
  #tram-2 .page__hero .page__sub { font-size: .79rem; }
  .dossier-intro { display: block; }
  .dossier-intro h2 { font-size: 1.45rem; }
  .dossier-intro p { font-size: .89rem; }
  .dossier-date { display: flex; align-items: baseline; gap: 12px; text-align: left; padding: 10px 0 0; margin-top: 15px; border-top-width: 1px; border-bottom: 0; }
  .dossier-date small { font-size: .67rem; }
  .dossier-date strong { margin: 0; font-size: 1.4rem; }
  .dossier-document { display: block; }
  .dossier-document figure img { height: 156px; }
  .dossier-document__body { margin-top: 13px; padding: 0 3px 7px; }
  .dossier-front { grid-template-columns: 76px minmax(0, 1fr); gap: 11px; padding: 12px 10px; }
  .dossier-front figure img { width: 76px; height: 104px; }
  .dossier-front h4 { font-size: 1rem; }
  .dossier-front p:not(.dossier-front__region) { font-size: .79rem; }
  .dossier-front figure figcaption { font-size: .58rem; }
  .dossier-strength { gap: 10px; padding: 17px 13px; }
  .dossier-strength__star { font-size: 1.25rem; }
  .dossier-strength h3, .dossier-know h3 { font-size: 1.06rem; }
  #tram-2 .match h2 { font-size: 1.15rem; }
  #tram-2 .match__col { grid-template-rows: auto repeat(4, minmax(108px, 1fr)); }
}

/* Mở hành trình bằng dấu son và những đường mực nối các trạm. */
.entry-overlay { position: absolute; left: 0; top: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.entry-route { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.entry-route--shadow { stroke: #ad7732; stroke-width: 2.8; opacity: .48; }
.entry-route--ink { stroke: #ffe29a; stroke-width: 1.5; }
.entry-impression { fill: none; stroke: #ffe1a0; stroke-width: 1.25; }
.entry-impression--inner { stroke: #f6bd59; stroke-width: .75; }
.entry-seal__paper { fill: #7d1b20; stroke: #ffdc83; stroke-width: 1.5; }
.entry-seal__rim { fill: none; stroke: #e3b861; stroke-width: .75; }
.entry-seal__date { fill: #ffe5ac; font-family: Georgia, serif; font-weight: 700; }
.entry-seal__mark { fill: none; stroke: #ffdc83; stroke-width: 1; stroke-linecap: round; }

/* Phiếu gửi giáo viên: câu trả lời riêng tư, cùng chất liệu giấy của các trạm. */
.submission-paper { max-width: 900px; }
.submission-intro { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-bottom: 22px; border-bottom: 1px solid #d4b779; }
.submission-kicker { margin: 0 0 9px; color: #865b30; font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.submission-intro h2 { font: 700 clamp(1.4rem,3vw,1.8rem)/1.3 var(--serif); color: var(--red-deep); max-width: 25ch; }
.submission-mark { flex: none; color: var(--red-deep); border-block: 2px solid #b98938; padding: 6px 12px; font: 700 1.5rem/1.25 var(--serif); text-align: center; }
.submission-mark small { font-size: .85rem; }
.submission-availability { margin-top: 20px; padding: 12px 14px; border-left: 3px solid #b78b42; background: #f1e3c2; color: #5e4224; font-size: .87rem; line-height: 1.6; }
.submission-access { margin-top: 16px; }
.submission-form { margin-top: 25px; }
.submission-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.submission-legend { margin: 0 0 15px; padding: 0; font: 700 1.13rem/1.4 var(--serif); color: var(--red-deep); }
.submission-identity { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: 18px; }
.submission-field { min-width: 0; }
.submission-field label { display: block; margin-bottom: 7px; font-size: .88rem; font-weight: 700; }
.submission-field label span, .submission-reflection h3 span { font-family: var(--sans); font-size: .75rem; font-weight: 400; color: #796248; }
.submission-field input, .submission-field textarea { width: 100%; min-width: 0; border: 1px solid #bb9d63; border-radius: 7px; padding: 11px 12px; background: #fffdf7; color: var(--ink); font: 400 1rem/1.5 var(--sans); }
.submission-field textarea { resize: vertical; min-height: 108px; }
.submission-field input:focus-visible, .submission-field textarea:focus-visible { outline: 3px solid var(--red-deep); outline-offset: 2px; }
.submission-field [aria-invalid="true"] { border: 2px solid #a21922; }
.submission-field__error { color: #a21922; font-size: .8rem; line-height: 1.45; margin: 7px 0 0; min-height: 1.2em; }
.submission-answers { margin-top: 22px; padding: 20px 0; border-block: 1px solid #deca9c; }
.submission-answers h3, .submission-reflection h3 { margin: 0; color: var(--red-deep); font: 700 1.1rem/1.4 var(--serif); }
.submission-answers > p { margin: 9px 0 0; font-size: .88rem; line-height: 1.6; }
.submission-quiz-progress { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 15px 0; }
.submission-quiz-progress a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #d5bb86; border-radius: 7px; background: #f6e8c8; font-size: .84rem; text-decoration: none; }
.submission-quiz-progress a:hover { background: #efdcab; }
.submission-quiz-progress strong { white-space: nowrap; color: var(--red-deep); }
.submission-help { color: #786248; font-size: .78rem !important; line-height: 1.6; }
.submission-reflection { margin-top: 24px; }
.submission-reflection__heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 7px 16px; margin-bottom: 15px; }
.submission-reflection .submission-field + .submission-field { margin-top: 12px; }
.submission-text-button { display: inline-block; color: var(--red-deep); background: none; border: 0; padding: 7px 0; font: 700 .8rem/1.5 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.submission-text-button:disabled { cursor: default; }
.submission-consent { margin: 21px 0 17px; color: #65513b; font-size: .82rem; line-height: 1.65; }
.submission-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 22px; }
.submission-actions .btn { min-height: 44px; line-height: 1.3; }
.submission-actions .btn:disabled { cursor: default; box-shadow: none; background: #7e6c57; transform: none; }
.submission-result { margin: 20px 0 0; padding: 13px 15px; border-left: 3px solid #416437; background: #edf0db; color: #294820; font-size: .9rem; font-weight: 600; line-height: 1.65; }
.submission-result:empty { display: none; }
.submission-result.is-error { color: #8a1720; background: #f7e3d8; border-color: #a21922; }
.submission-fields:disabled input, .submission-fields:disabled textarea { color: #776b5c; background: #f0e9d9; }
.submission-paper button:focus-visible, .submission-paper a:focus-visible { outline: 3px solid var(--red-deep); outline-offset: 3px; }
.submission-invitation { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 26px; padding: 20px 22px; border: 1px solid #d0ad65; border-left: 4px solid var(--red-deep); border-radius: 6px; background: #f5e6c4; }
.submission-invitation h2 { color: var(--red-deep); font: 700 1.2rem/1.4 var(--serif); }
.submission-invitation p { max-width: 54ch; margin: 6px 0 0; color: #6b5538; font-size: .86rem; line-height: 1.6; }
.submission-invitation .btn { flex: none; }
.teacher-download { margin-top: 26px; padding: 20px 0 0; border-top: 1px solid #d0b67e; }
.teacher-download__label { margin: 0 0 7px; color: #80633c; font-size: .72rem; font-weight: 700; }
.teacher-download h2 { color: var(--red-deep); font: 700 1.12rem/1.4 var(--serif); }
.teacher-download > p:not(.teacher-download__label) { margin: 10px 0 4px; color: var(--ink-soft); font-size: .84rem; line-height: 1.65; }
.strip__nav { flex-wrap: wrap; }
@media (max-width: 560px) {
  .submission-intro { gap: 14px; }
  .submission-intro h2 { font-size: 1.35rem; }
  .submission-mark { padding-inline: 7px; font-size: 1.25rem; }
  .submission-identity, .submission-quiz-progress { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .submission-quiz-progress a { min-height: 46px; }
  .submission-invitation { padding: 17px; }
  .submission-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
