/* Atom-rejsen (naturfag-atomrejse.js) */
.rejse-sektion { margin: 4px 0 26px; }
.rejse-sektion__hoved { margin-bottom: 14px; max-width: 720px; }
.rejse-sektion__hoved h3 { margin: 4px 0 6px; font-size: 1.35rem; color: var(--navy, #1f3864); }
.rejse-sektion__hoved p:last-child { margin: 0; font-size: .82rem; color: var(--muted, #5a6b82); line-height: 1.5; }
.rejse-sektion__under { margin: 26px 0 10px; font-size: 1rem; color: var(--navy, #1f3864); }
.rejse__fallback { font-size: .8rem; color: var(--muted, #5a6b82); padding: 16px; border: 1px dashed var(--line, #c9d8e6); border-radius: 12px; background: #f8fbfe; }
.rejse--aktiv .rejse__fallback { display: none; }
.rejse__trin { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rejse__trin button { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; border: 1px solid var(--line, #c9d8e6); background: #fff; border-radius: 13px; color: var(--navy, #1f3864); cursor: pointer; }
.rejse__trin b { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #e6eef8; font-size: .8rem; }
.rejse__trin span { display: grid; font-size: .8rem; font-weight: 850; line-height: 1.2; }
.rejse__trin small { font-size: .62rem; color: #6b7a90; font-weight: 700; }
.rejse__trin button.er-paa { background: var(--navy, #1f3864); border-color: var(--navy, #1f3864); color: #fff; }
.rejse__trin button.er-paa b { background: var(--teal, #12c4a8); color: #fff; }
.rejse__trin button.er-paa small { color: #b8d4ea; }
.rejse__rum { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.rejse__scene { position: relative; border-radius: 18px; overflow: hidden; background: #0d2038; height: clamp(380px, 46vw, 560px); }
.rejse__host.sense3d { position: absolute; inset: 0; aspect-ratio: auto; background: transparent; }
.rejse__host canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.rejse__hint { position: absolute; left: 12px; right: 12px; bottom: 10px; margin: 0; text-align: center; font: 750 .72rem/1.35 -apple-system, "Segoe UI", sans-serif; color: #dff3ff; text-shadow: 0 1px 8px #0d2038, 0 0 4px #0d2038; pointer-events: none; }
.rejse__side { display: grid; gap: 12px; align-content: start; }
.rejse__panel { display: grid; gap: 11px; }
.rejse__panel[hidden] { display: none; }
.rejse__spoerg { margin: 0; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 900; color: var(--teal, #12a08a); }
.rejse__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rejse__chip { display: grid; gap: 1px; text-align: left; padding: 7px 10px; min-width: 52px; border: 1px solid var(--line, #c9d8e6); background: #fff; border-radius: 10px; color: var(--navy, #1f3864); cursor: pointer; }
.rejse__chip b { font-size: .84rem; }
.rejse__chip small { font-size: .56rem; color: #6b7a90; font-weight: 700; }
.rejse__chip[aria-pressed="true"] { background: var(--navy, #1f3864); border-color: var(--navy, #1f3864); color: #fff; }
.rejse__chip[aria-pressed="true"] small { color: #b8d4ea; }
.rejse__chip--byg { border-left: 6px solid var(--atomfarve, #1f3864); }
.rejse__fakta { border: 1px solid var(--line, #c9d8e6); border-radius: 14px; padding: 13px 15px; background: #f8fbfe; display: grid; gap: 6px; }
.rejse__fakta:empty { display: none; }
.rejse__navn { margin: 0; font-size: 1.02rem; color: var(--navy, #1f3864); }
.rejse__meta, .rejse__forklar, .rejse__krop, .rejse__sikker { margin: 0; font-size: .74rem; line-height: 1.5; color: #4f5f76; }
.rejse__krop { color: #1f6f60; }
.rejse__sikker { color: #8a5a10; }
.rejse__gaet { border: 1px dashed #b8c7d9; border-radius: 12px; padding: 11px 13px; background: #fff; display: grid; gap: 8px; }
.rejse__gaet-tekst { margin: 0; font-size: .74rem; font-weight: 750; color: var(--navy, #1f3864); }
.rejse__gaet-valg { display: flex; gap: 8px; }
.rejse__valg { min-width: 44px; height: 40px; border: 1px solid #bfd0e3; background: #fff; border-radius: 10px; font-weight: 900; color: var(--navy, #1f3864); cursor: pointer; }
.rejse__valg.er-rigtig { background: #e2f5f2; border-color: #12c4a8; }
.rejse__valg.er-forkert { background: #ffece8; border-color: #e0503a; }
.rejse__gaet-svar { margin: 0; font-size: .72rem; line-height: 1.45; color: #4f5f76; }
.rejse__gaet-svar:empty { display: none; }
.rejse__videre { border: 0; background: var(--teal, #12c4a8); color: #fff; padding: 11px 15px; border-radius: 11px; font-weight: 850; font-size: .8rem; cursor: pointer; text-align: left; }
.rejse__link { border: 0; background: transparent; color: var(--muted, #5a6b82); font-size: .7rem; text-decoration: underline; cursor: pointer; padding: 0; text-align: left; width: max-content; }
.rejse__glider { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; font-size: .72rem; font-weight: 800; color: var(--navy, #1f3864); }
.rejse__glider input { width: 100%; accent-color: #12c4a8; }
.rejse__afspil { border: 1px solid #bfd0e3; background: #fff; color: var(--navy, #1f3864); padding: 8px 12px; border-radius: 10px; font-weight: 850; font-size: .74rem; cursor: pointer; width: max-content; }
.rejse__kurve { background: #0d2038; border-radius: 12px; padding: 6px; }
.rejse__kurve canvas { display: block; width: 100%; height: 150px; }
.rejse__zone { margin: 0; min-height: 2.9em; font-size: .74rem; line-height: 1.45; font-weight: 750; color: var(--navy, #1f3864); }
.rejse__bakke { min-height: 54px; padding: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: #fff; border: 1px dashed #b8c7d9; border-radius: 12px; }
.rejse__tom { margin: auto; font-size: .7rem; color: #8793a5; }
.rejse__atom { width: 38px; height: 38px; border: 0; border-radius: 10px; font-weight: 900; box-shadow: 0 4px 10px rgba(31, 56, 100, .2); cursor: pointer; }
.rejse__resultat { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: 12px; background: #edf3f9; }
.rejse__resultat.er-ok { background: #e8f7f2; }
.rejse__resultat.er-ukendt { background: #fff7ed; }
.rejse__mark { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: #d9e3ef; color: var(--navy, #1f3864); font-weight: 900; }
.er-ok .rejse__mark { background: var(--teal, #12c4a8); color: #fff; }
.er-ukendt .rejse__mark { background: #d97706; color: #fff; }
.rejse__resultat strong { display: block; font-size: .78rem; }
.rejse__resultat p { margin: 2px 0 0; font-size: .7rem; line-height: 1.45; color: #55657c; }
.rejse__note { margin: 0; font-size: .62rem; color: #8793a5; }
@media (max-width: 900px) {
  .rejse__rum { grid-template-columns: 1fr; }
  .rejse__scene { height: clamp(320px, 88vw, 480px); }
}
@media (max-width: 520px) {
  .rejse__trin { grid-template-columns: 1fr; }
  .rejse__trin small { display: none; }
}
