:root { --ink: #243d38; --muted: #63776f; --paper: #fbfcfa; --mint: #d9f0e4; --green: #256d53; --peach: #f9ddd5; --pink: #bc5970; --lemon: #f5eab5; --line: #dce5df; --display: 'Fraunces', Georgia, serif; --body: 'Nunito', 'Trebuchet MS', sans-serif; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid #227d8c; outline-offset: 5px; }
button { border: 0; }
button svg { flex-shrink: 0; pointer-events: none; }
svg.lucide { width: 22px; height: 22px; stroke-width: 1.8; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 20; padding: 15px; background: white; color: var(--ink); }
.skip-link:focus { top: 10px; }
.site-header { height: 94px; max-width: 1280px; margin: auto; padding: 0 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { padding: 0; display: flex; gap: 10px; align-items: center; background: none; font-weight: 900; font-size: 24px; white-space: nowrap; }
.brand-icon { width: 40px; height: 40px; display: grid; place-items: center; background: var(--green); color: white; border-radius: 50%; }
.brand-icon svg { width: 27px; height: 27px; }
.brand-dot { color: var(--pink); margin-left: -9px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-button { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: 50%; flex-shrink: 0; }
.icon-button:hover { background: var(--mint); }
.icon-button:disabled { opacity: .4; }
.parent-button { display: flex; gap: 9px; align-items: center; padding: 11px 16px; background: transparent; font-size: 14px; font-weight: 800; }
main { min-height: calc(100vh - 172px); outline: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; }
h1 { font-size: 52px; line-height: 1.12; margin-bottom: 16px; }
h2 { font-size: 26px; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 11px; font-weight: 900; letter-spacing: 2px; }
.eyebrow > span { background: var(--green); width: 6px; height: 6px; border-radius: 50%; }
.welcome { position: relative; overflow: hidden; min-height: 670px; background: linear-gradient(180deg, #f1f8f0 0%, #e4f4ee 48%, #d9eeea 80%, #f1f7f0 100%); padding-top: 38px; padding-bottom: 26px; border-top: 1px solid #e4eee5; }
.welcome-heading { text-align: center; position: relative; z-index: 1; }
.welcome h1 { font-size: 76px; margin: 10px 0 10px; }
.welcome h1 > span { color: var(--pink); }
.welcome-heading p { font-size: 19px; color: var(--muted); }
.island-art { width: min(100%, 1040px); height: 340px; display: block; margin: -22px auto -14px; object-fit: contain; animation: arrive 800ms ease both; }
.profile-picker { max-width: 810px; padding: 0 24px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; z-index: 2; }
.profile-choice { display: flex; align-items: center; padding: 20px; min-height: 110px; text-align: left; border: 1px solid rgba(36,61,56,.16); border-radius: 8px; background: #fffefa; gap: 14px; box-shadow: 0 5px 0 rgba(36,61,56,.08); transition: transform 180ms, box-shadow 180ms; }
.profile-choice:hover { transform: translateY(-4px); box-shadow: 0 9px 0 rgba(36,61,56,.08); }
.profile-choice.asja { border-top: 4px solid #bf6c81; }
.profile-choice.liam { border-top: 4px solid #398b71; }
.avatar { display: grid; place-items: center; position: relative; width: 60px; height: 60px; flex-shrink: 0; background: #f9dfe4; font-family: var(--display); font-size: 38px; color: #983f59; border-radius: 50%; }
.liam .avatar { background: #dceee1; color: #287456; }
.avatar-star { position: absolute; top: -8px; right: -3px; font-size: 24px; color: #d3a02d; }
.profile-copy { display: flex; flex-direction: column; flex: 1; }
.profile-copy strong { font-family: var(--display); font-size: 28px; }
.profile-copy > span { font-size: 12px; color: var(--muted); font-weight: 700; }
.star-count { display: inline-flex; align-items: center; gap: 5px; font-size: 16px; font-weight: 900; white-space: nowrap; }
.star-count svg { color: #9a7116; fill: #f4df86; width: 19px; height: 19px; }
.profile-arrow { align-self: flex-start; padding-top: 2px; }
.welcome-bottom { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 33px 20px 0; font-size: 13px; color: #60786b; }
.little-line { width: 34px; height: 1px; background: #aac6b8; }
.site-footer { min-height: 78px; max-width: 1280px; margin: auto; padding: 20px 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.footer-spark { padding: 0 8px; color: var(--pink); }
.local-note { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.local-note svg { width: 15px; height: 15px; }
.wrap { max-width: 1120px; margin: auto; padding: 30px 44px 56px; }
.text-button { display: inline-flex; align-items: center; gap: 9px; padding: 8px 0; background: transparent; font-size: 14px; font-weight: 800; }
.text-button:hover { color: var(--green); }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 38px 0 36px; }
.dashboard-heading .eyebrow, .parent-view > .eyebrow { justify-content: flex-start; margin-bottom: 12px; }
.dashboard-heading p { color: var(--muted); margin-bottom: 0; }
.total-stars { display: grid; grid-template-columns: auto auto; gap: 0 14px; align-items: center; }
.total-stars > svg { width: 42px; height: 42px; color: #af8827; }
.total-stars strong { font-size: 48px; line-height: 1.2; font-family: var(--display); }
.total-stars > span { grid-column: 1 / -1; text-align: center; font-size: 12px; color: var(--muted); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-title h2 { margin: 0; }
.section-title > span { font-size: 12px; color: var(--muted); }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.game-card { border: 1px solid var(--line); border-radius: 8px; background: white; overflow: hidden; padding: 0; text-align: left; transition: transform 180ms; }
.game-card:hover { transform: translateY(-5px); }
.game-card-art { position: relative; height: 174px; display: grid; place-items: center; overflow: hidden; }
.mint .game-card-art { background: #ddefdf; color: #296e52; }
.peach .game-card-art { background: #f6ddd7; color: #a85165; }
.lemon .game-card-art { background: #f5eab5; color: #947126; }
.game-number { position: absolute; top: 15px; left: 17px; font-size: 11px; font-weight: 900; opacity: .7; }
.game-object { width: 94px; height: 94px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; transform: rotate(-8deg); background: #ffffff60; }
.game-object svg { width: 54px; height: 54px; stroke-width: 1.35; }
.art-spark { position: absolute; font-size: 26px; }
.spark-one { top: 36px; right: 24%; }
.spark-two { bottom: 32px; left: 22%; font-size: 16px; }
.game-card-copy { padding: 23px 21px 20px; }
.game-card h3 { font-family: var(--display); font-weight: 600; font-size: 23px; margin: 0 0 7px; }
.game-card p { color: var(--muted); font-size: 13px; min-height: 36px; margin-bottom: 15px; }
.game-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.game-card-bottom > span:first-child { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; }
.game-card-bottom > span:first-child svg { width: 15px; height: 15px; color: #a88025; }
.round-arrow { border: 1px solid var(--line); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.round-arrow svg { width: 18px; height: 18px; }
.collection { margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.badge { display: flex; align-items: center; gap: 12px; color: #798780; }
.badge-icon { width: 46px; height: 46px; border: 1px dashed #b5c5b9; display: grid; place-items: center; border-radius: 50%; flex-shrink: 0; }
.badge strong { display: block; font-size: 13px; }
.badge small { display: block; font-size: 11px; margin-top: 3px; }
.badge > svg { width: 14px; height: 14px; margin-left: auto; }
.badge.earned { color: var(--green); }
.earned .badge-icon { background: var(--lemon); border-style: solid; border-color: #ddca81; color: #977221; }
.playground { max-width: 880px; text-align: center; }
.play-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 15px; font-weight: 800; }
.round-progress { display: flex; justify-content: center; gap: 18px; margin: 32px 0; }
.round-progress > span { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: #899990; }
.round-progress .done { background: var(--green); color: white; border-color: var(--green); }
.round-progress .current { background: var(--lemon); color: #8e6b19; border-color: #d9c15f; }
.question-heading h1 { font-size: 36px; margin: 12px 0 0; }
.task-display { min-height: 154px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; font-size: 64px; font-weight: 900; padding: 20px 0; }
.task-display.sequence { font-size: 54px; color: #397b71; }
.task-display.shapes { color: #af6078; }
.count-star { font-size: 54px; padding: 0; width: 65px; height: 74px; background: none; color: #d8a32c; text-shadow: 0 3px #ae7b21; transition: transform 180ms; }
.count-star[aria-pressed=true] { color: var(--green); text-shadow: none; transform: translateY(-6px); }
.answers { display: flex; justify-content: center; gap: 16px; }
.answer { width: 110px; height: 96px; border: 2px solid var(--line); border-bottom-width: 5px; background: white; border-radius: 8px; font-size: 36px; font-weight: 900; transition: background 150ms, border-color 150ms; }
.answer:hover:not(:disabled) { background: #eff6ee; border-color: #7aa991; }
.shape-answers .answer { font-size: 53px; color: #327b76; }
.answer.correct { background: var(--mint); border-color: var(--green); color: var(--green); }
.answer.retry { opacity: .35; }
.feedback { display: grid; place-items: center; min-height: 86px; padding: 20px 12px; font-size: 16px; font-weight: 700; }
.feedback.success { color: var(--green); }
.feedback.hint { color: #856223; }
.play-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; }
.primary-button, .secondary-button, .danger-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 6px; padding: 14px 22px; min-height: 48px; font-size: 14px; font-weight: 900; }
.primary-button { background: var(--green); color: white; }
.primary-button:hover { background: #19513d; }
.secondary-button { border: 1px solid var(--line); background: white; }
.secondary-button:hover { background: #edf2eb; }
.danger-button { background: #fae8e5; color: #8a3c38; border: 1px solid #e7c3bb; }
.celebration { text-align: center; padding-top: 50px; }
.reward-art { position: relative; width: 180px; height: 180px; margin: 30px auto; display: grid; place-items: center; border-radius: 50%; background: var(--lemon); animation: arrive 500ms ease both; }
.reward-art > svg { width: 110px; height: 110px; color: #977329; stroke-width: 1.1; }
.reward-art span { position: absolute; color: #c16f84; font-size: 40px; top: 0; right: -15px; }
.reward-art span:last-child { top: auto; bottom: 5px; left: -25px; right: auto; font-size: 28px; color: var(--green); }
.celebration > p { color: var(--muted); }
.reward-stars { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 26px; color: #8e6b19; margin: 12px 0; }
.reward-stars svg { fill: var(--lemon); }
.reward-total { font-size: 13px; }
.celebration-actions { display: flex; align-items: center; flex-direction: column; gap: 16px; margin-top: 30px; }
.parent-view > .eyebrow { margin-top: 36px; }
.parent-view h1 { max-width: 670px; }
.parent-note { max-width: 720px; line-height: 1.7; color: var(--muted); }
.parent-profiles { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 36px 0; }
.parent-child > p { font-size: 13px; color: var(--muted); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
th, td { padding: 14px 0; border-bottom: 1px solid var(--line); }
thead { color: var(--muted); font-size: 12px; }
tbody th { font-weight: 700; }
td, th:last-child { text-align: right; }
.parent-details { max-width: 740px; margin: 40px 0; }
.parent-details p { color: var(--muted); line-height: 1.7; }
dialog { border: 1px solid var(--line); border-radius: 8px; padding: 32px; max-width: 470px; width: calc(100% - 32px); color: var(--ink); box-shadow: 0 20px 80px #243d3820; }
dialog::backdrop { background: #243d3866; backdrop-filter: blur(3px); }
dialog p { color: var(--muted); line-height: 1.6; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.notice { margin: 12px auto; padding: 15px 24px; max-width: 820px; background: var(--lemon); color: #775817; font-size: 14px; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1500px) { .welcome { padding-top: 50px; min-height: 730px; } .island-art { height: 380px; } }
@media (max-width: 760px) {
  .site-header { height: 78px; padding: 0 22px; }
  .brand { font-size: 21px; gap: 7px; }
  .brand-icon { width: 34px; height: 34px; }
  .brand-icon svg { width: 24px; height: 24px; }
  .parent-button { padding: 10px; }
  .parent-button > span { display: none; }
  .header-actions { gap: 4px; }
  .header-actions .icon-button { width: 40px; height: 40px; }
  .welcome { padding-top: 34px; min-height: 620px; }
  .welcome h1 { font-size: 58px; }
  .welcome-heading p { font-size: 17px; }
  .island-art { height: 265px; width: 115%; max-width: none; margin: -10px -7.5% -12px; }
  .profile-picker { gap: 14px; padding: 0 22px; }
  .profile-choice { padding: 17px 14px; gap: 9px; flex-wrap: wrap; min-height: 140px; }
  .avatar { width: 44px; height: 44px; font-size: 30px; }
  .profile-copy strong { font-size: 25px; }
  .profile-copy > span { font-size: 10px; }
  .profile-choice .star-count { margin-left: 3px; font-size: 13px; }
  .profile-arrow { margin-left: auto; align-self: auto; }
  .welcome-bottom { font-size: 11px; gap: 10px; margin-top: 27px; }
  .little-line { width: 20px; }
  .site-footer { padding: 22px; flex-direction: column; gap: 10px; text-align: center; font-size: 11px; }
  .wrap { padding: 22px 24px 40px; }
  h1 { font-size: 42px; }
  .dashboard-heading { padding: 28px 0; }
  .dashboard-heading h1 { font-size: 40px; }
  .dashboard-heading .eyebrow { font-size: 9px; }
  .dashboard-heading p { font-size: 14px; max-width: 200px; }
  .total-stars strong { font-size: 35px; }
  .total-stars { gap: 0 7px; }
  .total-stars > svg { width: 29px; height: 29px; }
  .total-stars > span { font-size: 10px; }
  .game-grid { gap: 13px; }
  .game-card-art { height: 130px; }
  .game-object { width: 66px; height: 66px; }
  .game-object svg { width: 38px; height: 38px; }
  .game-card-copy { padding: 16px 13px; }
  .game-card h3 { font-size: 20px; }
  .game-card p { font-size: 12px; }
  .game-card-bottom > span:first-child { font-size: 10px; }
  .spark-one { right: 12%; top: 21px; }
  .spark-two { left: 13%; bottom: 20px; }
  .badges { gap: 14px; }
  .badge { gap: 8px; flex-wrap: wrap; }
  .badge > svg { display: none; }
  .badge strong { font-size: 12px; }
  .section-title h2 { font-size: 23px; }
  .section-title > span { font-size: 10px; }
  .question-heading h1 { font-size: 30px; }
  .task-display { font-size: 52px; min-height: 148px; }
  .task-display.sequence { font-size: 40px; }
  .count-star { font-size: 42px; width: 46px; height: 60px; }
  .answer { width: 90px; height: 85px; }
  .answers { gap: 12px; }
  .parent-profiles { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 500px) {
  .welcome h1 { font-size: 49px; }
  .welcome { min-height: 590px; }
  .island-art { height: 238px; }
  .brand { font-size: 19px; }
  .profile-copy { flex-basis: 60%; }
  .profile-copy > span { min-height: 27px; }
  .avatar { width: 37px; height: 37px; font-size: 26px; }
  .avatar-star { font-size: 18px; }
  .profile-choice { padding: 14px 11px; }
  .profile-picker { padding: 0 18px; gap: 12px; }
  .game-grid { grid-template-columns: 1fr; gap: 16px; }
  .game-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); }
  .game-card-art { height: 100%; min-height: 156px; }
  .game-card h3 { font-size: 22px; }
  .game-card p { min-height: 0; }
  .game-card-bottom > span:first-child { font-size: 11px; }
  .game-number { top: 11px; left: 12px; }
  .spark-one { top: 20px; right: 9px; font-size: 20px; }
  .badges { grid-template-columns: 1fr; gap: 18px; }
  .badge { flex-wrap: nowrap; gap: 14px; }
  .badge > svg { display: block; }
  .badge strong { font-size: 14px; }
  .section-title { align-items: center; }
  .section-title > span { max-width: 100px; text-align: right; }
  .play-top { font-size: 12px; }
  .play-top > span:not(.star-count) { max-width: 165px; }
  .round-progress { margin: 28px 0; gap: 13px; }
  .task-display { font-size: 42px; gap: 6px; }
  .task-display.sequence { font-size: 33px; }
  .answer { min-width: 0; width: 72px; height: 78px; font-size: 29px; }
  .answers { gap: 10px; }
  .shape-answers .answer { font-size: 45px; }
  .count-star { width: 43px; font-size: 40px; }
  .feedback { font-size: 14px; min-height: 95px; }
  .question-heading h1 { font-size: 28px; }
  .primary-button, .secondary-button { padding: 13px 16px; }
  .celebration h1 { font-size: 40px; }
}
.adventure-map { background: linear-gradient(165deg, #eff8eb, #d8eeec 72%, #eef7ec); border-block: 1px solid #cadfd3; margin-inline: -20px; }
.map-caption, .map-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; }
.map-caption > span:last-child, .map-footer > span { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 800; }
.map-caption svg, .map-footer svg { width: 17px; height: 17px; }
.map-world { position: relative; height: 380px; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.map-stops { position: absolute; inset: 0; }
.map-stop { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 158px; padding: 8px 3px; background: transparent; transform: translate(-50%, -50%); }
.map-stop strong { max-width: 100%; background: #fffefa; padding: 6px 10px; border-radius: 4px; font-size: 13px; line-height: 1.3; box-shadow: 0 3px 0 #243d3810; }
.stop-symbol { width: 62px; height: 62px; border: 3px solid #fff; outline: 1px solid #a8c5b9; display: grid; place-items: center; border-radius: 50%; background: #256d53; color: white; position: relative; box-shadow: 0 5px 0 #153e3826; transition: transform 160ms; }
.stop-symbol > svg { width: 29px; height: 29px; }
.map-stop:hover .stop-symbol, .map-stop:focus-visible .stop-symbol { transform: translateY(-5px); }
.stop-status { position: absolute; right: -7px; bottom: -4px; width: 23px; height: 23px; border: 2px solid white; border-radius: 50%; display: grid; place-items: center; background: #f2d985; color: #574414; }
.stop-status svg { width: 12px; height: 12px; }
.visited .stop-status { background: #d9f0e4; color: #256d53; }
.stop-0 { left: 50%; top: 70%; }
.stop-1 { left: 23%; top: 35%; }
.stop-2 { left: 75%; top: 30%; }
.stop-3 { left: 84%; top: 79%; }
.stop-1 .stop-symbol { background: #a64e6b; }
.stop-2 .stop-symbol { background: #317e8c; }
.stop-3 .stop-symbol { background: #9b701c; }
.liam .stop-0 { left: 69%; top: 44%; }
.liam .stop-1 { left: 25%; top: 37%; }
.liam .stop-2 { left: 46%; top: 78%; }
.map-reward { position: absolute; top: 13%; left: 48%; color: #a74c6d; animation: arrive 600ms both; }
.map-reward svg { width: 38px; height: 38px; fill: #f5eab5; }
.map-footer { border-top: 1px solid #bdd7c780; }
.adventure-play .round-progress { margin: 22px 0; }
.adventure-play .question-heading h1 { font-size: 32px; }
.bridge-scene, .rocket-scene { position: relative; height: 256px; margin: 24px 0; overflow: hidden; isolation: isolate; }
.bridge-scene { background: linear-gradient(#e3f2e5, #eef7e9 45%, #b5dcd7 45%); }
.river { position: absolute; inset: 45% 0 0; background: repeating-linear-gradient(174deg, transparent 0 25px, #e7fbf460 26px 28px, transparent 29px 55px), #a3d6d2; }
.river-bank { position: absolute; top: 27%; width: 27%; height: 90%; border-radius: 50% 50% 0 0; background: repeating-linear-gradient(75deg, transparent 0 21px, #73a78930 22px 24px, transparent 25px 39px), #9dc597; border: 10px solid #d8dfae; }
.bank-left { left: -10%; transform: rotate(22deg); }
.bank-right { right: -10%; transform: rotate(-22deg); }
.bridge-sun { position: absolute; top: 21px; left: 22%; width: 35px; height: 35px; border-radius: 50%; background: #f1d37b; }
.bridge-deck { position: absolute; left: 10%; right: 10%; top: 48%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; z-index: 2; }
.bridge-deck::before, .bridge-deck::after { content: ''; position: absolute; left: -8%; right: -8%; height: 5px; background: #567e6d; z-index: -1; top: 8px; }
.bridge-deck::after { top: auto; bottom: 8px; }
.bridge-plank { height: 68px; background: #f5e5ad; border: 2px solid #bca268; border-bottom: 7px solid #bca268; border-radius: 4px; display: grid; place-items: center; font-size: 31px; font-weight: 900; color: #584b2b; }
.bridge-gap { background: #dff1ec; border: 2px dashed #3c7968; color: #286653; }
.repaired .bridge-gap { border: 2px solid #256d53; border-bottom-width: 7px; background: #d9f0e4; animation: plank-fit 450ms ease; }
.bridge-traveller { position: absolute; top: 26%; left: 9%; width: 44px; height: 44px; border-radius: 50%; color: #873d61; background: #ffe4ed; display: grid; place-items: center; border: 2px solid #bd7b94; transition: left 1.1s ease; z-index: 3; }
.bridge-traveller svg { width: 28px; height: 28px; }
.repaired .bridge-traveller { left: 84%; }
.bridge-destination { position: absolute; right: 8%; top: 18%; color: #a85165; }
.bridge-destination svg { width: 35px; height: 35px; }
.scene-label { position: absolute; bottom: 12px; left: 18px; font-size: 9px; font-weight: 900; color: #355f58; }
.rocket-scene { background: radial-gradient(ellipse at 85% 18%, #fffdf2 0 3px, transparent 4px), radial-gradient(ellipse at 40% 22%, #fffdf2 0 2px, transparent 3px), radial-gradient(ellipse at 78% 52%, #fffdf2 0 3px, transparent 4px), linear-gradient(160deg, #d8e9ee, #e5f5ed); border-bottom: 12px solid #aac8b4; }
.mission-target { position: absolute; left: 6%; top: 40px; text-align: left; width: 30%; }
.mission-target > span { font-size: 10px; font-weight: 900; }
.mission-target strong { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 55px; line-height: 1.2; margin-top: 6px; }
.mission-target strong svg { width: 33px; height: 33px; fill: #f2d575; color: #916a21; }
.target-dots { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.target-dots svg { width: 17px; height: 17px; fill: #f2d575; color: #916a21; }
.launch-pad { position: absolute; left: 43%; width: 30%; top: 18px; bottom: 0; }
.launch-pad::after { content: ''; position: absolute; bottom: 0; left: -15%; right: -15%; height: 10px; border-radius: 50%; background: #7aa394; z-index: -1; }
.rocket-ship { display: block; width: 100%; height: 215px; object-fit: contain; position: relative; z-index: 1; }
.launch-flame { position: absolute; bottom: 0; left: 43%; width: 14%; height: 36px; background: #edb14f; clip-path: polygon(0 0, 100% 0, 75% 72%, 50% 100%, 25% 72%); opacity: 0; }
.launched .rocket-ship { animation: lift-off 1.8s ease-in both; }
.launched .launch-flame { animation: flame 1.8s ease-in both; }
.fuel-gauge { position: absolute; right: 5%; top: 30px; display: grid; gap: 5px; }
.fuel-gauge > span { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #b1c6be; border-radius: 4px; background: #ffffff70; color: #8fa99d; }
.fuel-gauge svg { width: 18px; height: 18px; }
.fuel-gauge .filled { background: #f5eab5; border-color: #b7a04e; color: #907025; }
.fuel-gauge .filled svg { fill: #e9c969; }
.fuel-tray { display: flex; justify-content: center; gap: 14px; }
.fuel-star { width: 60px; height: 60px; border-radius: 50%; border: 2px solid #d8bb67; background: #fff9e4; display: grid; place-items: center; transition: transform 180ms, background 180ms; }
.fuel-star svg { width: 34px; height: 34px; fill: #edca67; color: #9c7424; }
.fuel-star[aria-pressed="true"] { background: #d9f0e4; border-color: #47826b; transform: translateY(-5px); }
.fuel-star[aria-pressed="true"] svg { fill: #79ad8c; color: #256d53; }
[draggable="true"] { cursor: grab; }
[draggable="true"]:active { cursor: grabbing; }
.launch-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 18px; }
.launch-controls output { min-width: 62px; font-size: 22px; font-weight: 900; }
.adventure-play .feedback { min-height: 70px; }
.rocket-reward { background: #d9eeea; }
.rocket-reward img { height: 155px; width: 100px; object-fit: contain; animation: arrive 700ms both; }
.bridge-reward { background: #d9f0e4; }
.bridge-reward > svg { color: #a85165; }
.bridge-reward > span { top: auto; bottom: -12px; right: 0; font-size: 24px; background: var(--paper); padding: 4px 10px; border-radius: 4px; }
@keyframes plank-fit { from { transform: translateY(-12px) rotate(-5deg); } to { transform: translateY(0); } }
@keyframes lift-off { 0%, 15% { transform: translateY(0); } 35% { transform: translateY(3px) rotate(-2deg); } 100% { transform: translateY(-300px) rotate(8deg); } }
@keyframes flame { 0% { opacity: 0; } 20% { opacity: 1; transform: translateY(0); } 100% { opacity: 1; transform: translateY(-300px); } }
@media (max-width: 600px) {
  .adventure-map { margin-inline: -12px; }
  .map-caption { align-items: flex-start; padding: 17px 12px; gap: 10px; }
  .map-caption .eyebrow { font-size: 9px; max-width: 125px; text-align: left; justify-content: flex-start; }
  .map-caption > span:last-child { font-size: 10px; max-width: 130px; }
  .map-world { height: 360px; }
  .map-art { top: 12%; height: 75%; }
  .map-stop { width: 42%; max-width: 132px; }
  .map-stop strong { font-size: 12px; }
  .stop-symbol { width: 53px; height: 53px; }
  .stop-0 { left: 28%; top: 74%; }
  .stop-1 { left: 25%; top: 26%; }
  .stop-2 { left: 75%; top: 24%; }
  .stop-3 { left: 74%; top: 75%; }
  .liam .stop-0 { left: 74%; top: 32%; }
  .liam .stop-1 { left: 26%; top: 26%; }
  .liam .stop-2 { left: 50%; top: 77%; }
  .map-footer { padding: 16px 12px; }
  .map-footer > span { font-size: 11px; }
  .map-reward { top: 3%; left: 45%; }
  .adventure-play .question-heading h1 { font-size: 27px; }
  .bridge-scene, .rocket-scene { height: 232px; margin-inline: -10px; }
  .bridge-deck { left: 7%; right: 7%; gap: 4px; }
  .bridge-plank { height: 62px; font-size: 24px; }
  .bridge-traveller { width: 35px; height: 35px; }
  .bridge-traveller svg { width: 23px; height: 23px; }
  .mission-target { left: 5%; top: 39px; }
  .mission-target > span { font-size: 8px; }
  .mission-target strong { font-size: 43px; gap: 5px; }
  .mission-target strong svg { width: 25px; height: 25px; }
  .target-dots { gap: 2px; }
  .target-dots svg { width: 14px; height: 14px; }
  .launch-pad { left: 39%; width: 36%; top: 10px; }
  .rocket-ship { height: 200px; }
  .fuel-gauge { right: 4%; top: 23px; }
  .fuel-tray { gap: 10px; }
  .fuel-star { width: 48px; height: 48px; }
  .fuel-star svg { width: 29px; height: 29px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .launched .rocket-ship { transform: translateY(-20px); } .launched .launch-flame { opacity: 1; } }
