/* Seasonal stories sit beside the same finite-day simulation. */
.learn-months { position:relative; display:flex; gap:4px; overflow-x:auto; scrollbar-width:thin; padding:0 2px 7px; margin-bottom:7px; border-bottom:1px solid #d3dfcf; scroll-snap-type:x proximity; }
.simulation .learn .learn-months button { flex:1 0 38px; display:flex; flex-direction:column; align-items:center; gap:1px; padding:3px 2px; border:1px solid transparent; background:transparent; border-radius:12px; color:#617567; font-size:8px; font-weight:650; letter-spacing:.6px; scroll-snap-align:center; }
.learn-months svg { width:25px; height:25px; }
.simulation .learn .learn-months button[aria-pressed=true] { background:#e0f3d7; border-color:#83b897; color:#235d44; box-shadow:0 0 15px #82cc9850; }
.simulation .learn .learn-months button:hover { background:#e9efe1; }
.simulation .learn #learn-missions-launch { position:absolute; z-index:2; right:20px; top:20px; padding:13px 22px; border:1px solid #fff6c7; border-radius:22px 22px 8px 22px; font:650 18px SolarOutfit,sans-serif; letter-spacing:.3px; color:#50431b; background:linear-gradient(145deg,#fffde7,#f9d87c); box-shadow:0 0 28px #f6db8b55,0 7px 18px #243d372b; }
.learn[data-adventure=true] .learn-guide > :not(.learn-mode-slot):not(#learn-close-guide):not(.learn-adventure-panel) { display:none; }
.learn-adventure-panel { --adventure-accent:#d8b257; --adventure-tint:#fff5d9; position:relative; color:#244c42; font-family:SolarOutfit,sans-serif; padding:8px 0 0; }
.learn-adventure-panel[data-theme=autumn], [data-adventure-start][data-theme=autumn] { --adventure-accent:#d99c6b; --adventure-tint:#fff0df; }
.learn-adventure-panel[data-theme=winter], [data-adventure-start][data-theme=winter] { --adventure-accent:#94b9d9; --adventure-tint:#e9f5ff; }
.learn-adventure-panel[hidden], .adventure-dialog [hidden], .learn-adventure-panel [hidden] { display:none!important; }
.adventure-top { display:flex; align-items:center; justify-content:space-between; gap:5px; }
.adventure-top > span { font-size:10px; letter-spacing:1px; font-weight:650; }
.simulation .learn .adventure-top button { font-size:11px; padding:7px 9px; background:#ffffff85; }
.adventure-art { width:68px; height:58px; position:relative; margin:10px auto 0; }
.adventure-art svg { width:58px; height:58px; filter:drop-shadow(0 0 16px var(--adventure-accent)); }
.adventure-art span { position:absolute; right:0; bottom:0; font-size:22px; color:var(--adventure-accent); }
.simulation .learn .learn-adventure-panel h2 { font:650 29px/1.04 SolarOutfit,sans-serif; letter-spacing:-.8px; text-align:center; margin:9px 0; text-shadow:0 0 20px #8ce4b848; }
#adventure-description { font-size:13px; line-height:1.45; text-align:center; margin:8px 0 13px; }
.adventure-voice { display:flex; justify-content:center; gap:6px; }
.simulation .learn .adventure-voice button { font-family:inherit; font-size:12px; min-height:38px; border-radius:14px; color:#285c4c; background:#edf6e9; }
.adventure-transcript { margin:8px 0; font-size:11px; line-height:1.5; }
.adventure-transcript summary { cursor:pointer; opacity:.7; }
#adventure-condition { padding:12px; border:1px solid #ddb56a; border-radius:14px; background:#fff1cf; font-size:12px; margin-top:12px; }
#adventure-status { font-size:17px; font-weight:600; margin:14px 0 9px; min-height:23px; }
[data-complete=true] > #adventure-status { color:#247548; text-shadow:0 0 15px #4ee79450; }
.adventure-goals { display:grid; gap:6px; }
.simulation .learn .adventure-goals button { display:grid; grid-template-columns:33px minmax(0,1fr) auto; gap:9px; text-align:left; align-items:center; padding:9px 10px; border-radius:15px; border:1px solid #d5ddc9; background:#ffffff9c; font-family:inherit; color:#345044; }
.adventure-goals svg { width:32px; height:32px; fill:none; stroke:currentColor; stroke-width:2; color:#789482; }
.adventure-goals [data-complete=true] svg { fill:#a7dfbd; color:#277c55; }
.adventure-goals strong { display:block; font-size:13px; font-weight:550; }
.adventure-goals small { display:block; font-size:10px; color:#718679; margin:2px 0 4px; }
.adventure-goals output { font-size:11px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.adventure-goals progress { appearance:none; display:block; width:100%; height:5px; border:0; border-radius:4px; overflow:hidden; background:#e3e8d7; accent-color:#dda548; }
.adventure-goals progress::-webkit-progress-bar { background:#e3e8d7; }
.adventure-goals progress::-webkit-progress-value { background:#dda548; border-radius:4px; transition:width .25s; }
.adventure-goals progress::-moz-progress-bar { background:#dda548; }
.simulation .learn .adventure-goals [data-complete=true] { background:#e3f4df; border-color:#9dc9a4; }
.adventure-goals [data-complete=true] progress::-webkit-progress-value { background:#3caa74; }
.adventure-goals [data-complete=true] progress::-moz-progress-bar { background:#3caa74; }
.adventure-moments { display:flex; gap:5px; margin-top:11px; }
.simulation .learn .adventure-moments button { flex:1; padding:7px 3px; border-color:#d0dac7; background:transparent; font-family:inherit; font-size:10px; color:#577464; }
.adventure-moments b { display:block; font-size:15px; font-weight:550; margin-top:3px; }
.adventure-hint { font-size:12px; line-height:1.4; color:#657760; margin:12px 2px; }
.simulation .learn .adventure-answer { display:block; width:100%; min-height:65px; padding:15px; font:600 23px/1.1 SolarOutfit,sans-serif; letter-spacing:-.4px; border:1px solid #eac875; border-radius:24px 24px 9px 24px; color:#554419; background:linear-gradient(125deg,#fffde6,#f5d786); box-shadow:0 4px 16px #c7ab4b30,inset 0 1px 0 #fff; transition:box-shadow .2s,transform .2s; }
.simulation .learn .adventure-answer:hover { box-shadow:0 0 26px #f8ca6390; transform:translateY(-2px); }
.adventure-answer span { display:block; font-size:11px; font-weight:400; letter-spacing:.7px; margin-top:6px; }
.simulation .learn #adventure-next { display:block; width:100%; margin-top:10px; padding:13px; border:1px solid #a1c6a2; border-radius:16px; background:#d6edce; color:#20593c; font:550 16px SolarOutfit,sans-serif; }
.adventure-footer { display:flex; justify-content:space-between; margin-top:13px; }
.simulation .learn .adventure-footer button { border:0; background:transparent; font-size:11px; color:#677b68; padding:8px 1px; }
.adventure-note { display:block; font-size:10px; line-height:1.45; color:#73816e; margin-top:12px; }
.simulation .learn .adventure-dialog { box-sizing:border-box; position:fixed; width:min(940px,calc(100vw - 28px)); max-width:none; max-height:calc(100dvh - 28px); overflow:auto; margin:auto; padding:38px; border:1px solid #dcebc9; border-radius:34px; color:#2c503e; background:radial-gradient(ellipse at 15% 0,#fff3c9,transparent 60%),#f6f8ed; box-shadow:0 25px 90px #183a4b55; font-family:SolarOutfit,sans-serif; }
.simulation .learn .adventure-dialog::backdrop { background:#244d4a80; backdrop-filter:blur(8px); }
.simulation .learn .adventure-dialog h2 { font:650 44px/1.02 SolarOutfit,sans-serif; letter-spacing:-1.4px; margin:11px 0; color:#244e3c; }
.adventure-dialog > p { max-width:640px; font-size:15px; line-height:1.5; }
.adventure-eyebrow { display:block; font-size:10px; letter-spacing:2px; margin-right:35px; }
.simulation .learn .adventure-close { position:absolute; right:14px; top:14px; width:40px; height:40px; padding:0; border-radius:50%; background:#e0ead6; color:#456145; font-size:25px; }
.simulation .learn .adventure-map { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; margin-top:28px; }
.simulation .learn [data-adventure-start] { --adventure-accent:#d8b257; --adventure-tint:#fff5d9; display:flex; flex-direction:column; align-items:flex-start; text-align:left; gap:14px; padding:23px 20px; border:1px solid color-mix(in srgb,var(--adventure-accent) 60%,white); border-radius:80px 80px 25px 25px; background:linear-gradient(150deg,white,var(--adventure-tint)); color:#345644; font-family:inherit; box-shadow:0 9px 24px #254b4020; transition:transform .2s,box-shadow .2s; }
.simulation .learn [data-adventure-start][data-theme=autumn] { --adventure-accent:#d99c6b; --adventure-tint:#fff0df; }
.simulation .learn [data-adventure-start][data-theme=winter] { --adventure-accent:#94b9d9; --adventure-tint:#e9f5ff; }
.simulation .learn [data-adventure-start]:hover { transform:translateY(-5px); box-shadow:0 9px 28px color-mix(in srgb,var(--adventure-accent) 35%,transparent); }
.adventure-medal { display:block; width:82px; height:82px; align-self:center; padding:13px; border-radius:50%; background:var(--adventure-tint); box-shadow:0 0 36px color-mix(in srgb,var(--adventure-accent) 40%,transparent); }
.adventure-medal svg { width:100%; height:100%; }
.adventure-card-no { font-size:10px; letter-spacing:1.5px; }
[data-adventure-start] > strong { font-size:26px; line-height:1.03; letter-spacing:-.5px; min-height:54px; }
[data-adventure-start] > span:not(.adventure-medal):not(.adventure-card-no) { font-size:13px; line-height:1.5; }
[data-adventure-earned] { margin-top:auto; padding-top:10px; font-size:13px; font-weight:550; }
.simulation .learn .adventure-solution { width:min(590px,calc(100vw - 28px)); text-align:center; }
.adventure-solution .adventure-eyebrow { margin-inline:15px; }
.simulation .learn .adventure-solution h2 { font-size:38px; }
.simulation .learn .adventure-hardware { display:flex; justify-content:center; align-items:center; gap:20px; margin:28px 0; }
.adventure-hardware > div { display:flex; flex-direction:column; justify-content:center; min-width:120px; min-height:140px; padding:15px; border:1px solid #ccdcb7; border-radius:36px; background:#e6f0d8; }
.adventure-hardware span { font-size:24px; color:#6a9d6d; }
.adventure-hardware strong { font-size:48px; line-height:1.1; font-weight:550; }
.adventure-hardware small { font-size:12px; }
.simulation .learn #adventure-answer-voice { margin-bottom:20px; background:transparent; font-family:inherit; }
.simulation .learn .adventure-solution [data-adventure-close=answer]:not(.adventure-close) { margin-top:12px; border:0; background:transparent; font-family:inherit; color:#567660; }
@media (max-width:800px) {
  .learn[data-adventure=true] #learn-close-guide { position:sticky; top:0; z-index:1; box-shadow:0 3px 15px #315b4822; }
  .simulation .learn #learn-missions-launch { top:64px; right:12px; padding:8px 13px; font-size:15px; border-radius:15px 15px 5px 15px; }
  .simulation .learn .learn-months button { flex-basis:38px; }
  .learn-months { padding-bottom:5px; margin-bottom:7px; }
  .simulation .learn .adventure-dialog { padding:28px 20px; border-radius:26px; }
  .simulation .learn .adventure-dialog h2 { font-size:36px; }
  .simulation .learn .adventure-map { grid-template-columns:1fr; margin-top:18px; }
  .simulation .learn [data-adventure-start] { display:grid; grid-template-columns:56px 1fr; gap:6px 13px; padding:18px; border-radius:26px; }
  .adventure-medal { grid-column:1; grid-row:1/5; width:56px; height:56px; padding:7px; }
  [data-adventure-start] > :not(.adventure-medal) { grid-column:2; }
  [data-adventure-start] > strong { min-height:0; font-size:23px; }
  [data-adventure-start] > span:not(.adventure-medal):not(.adventure-card-no) { font-size:12px; }
  [data-adventure-earned] { padding-top:5px; }
  .simulation .learn .adventure-hardware { gap:12px; }
  .adventure-hardware > div { min-width:104px; }
}
@media (prefers-reduced-motion:reduce) { .adventure-map button, .adventure-answer, .adventure-goals progress::-webkit-progress-value { transition:none!important; } }
