/* THE ATLAS'S MAP MODES (05-13 AT-16): the tabs over the chart, the bar under it, the panel, and the marks modes.js
   draws on the chart. Part 1 the tabs, Part 2 the bar, Part 3 the panel, Part 4 the marks, Part 5 the cards. */

/* Part 1. The tabs: three picture cards in the home page's brass frame, the chosen one lit */
.wm-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1140px; margin: 0 auto 18px; }
.wm-tabs-k { grid-column: 1 / -1; justify-self: center; margin: 0 0 2px; font: 500 11px var(--wum-mono); letter-spacing: 0.2em; text-transform: uppercase; color: #A34A26; }
.wm-tab { position: relative; display: block; height: 104px; border-radius: 12px; overflow: hidden; padding: 0; cursor: pointer; text-align: left; color: #FFF6EC;
  border: 3px solid transparent; background: linear-gradient(#2A1E16, #2A1E16) padding-box, linear-gradient(135deg, #FBE7B0 0%, #C99A4A 18%, #7A5420 38%, #E8C67E 52%, #8A6026 70%, #F6DFA4 86%, #9C6E2C 100%) border-box;
  box-shadow: 0 1px 0 #5E3F18, 0 3px 0 #4A3112, 0 10px 20px -10px rgba(40,24,12,0.55); transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s, filter 0.3s; filter: saturate(0.6) brightness(0.82); }
.wm-tab img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.wm-tab::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,9,6,0.85) 0%, rgba(14,9,6,0.45) 55%, rgba(14,9,6,0.1) 100%); }
.wm-tab span { position: absolute; z-index: 1; left: 16px; right: 12px; bottom: 13px; display: grid; gap: 4px; }
.wm-tab b { font: 700 25px/0.95 var(--wum-display); text-transform: uppercase; letter-spacing: 0.01em; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.wm-tab small { font: 13px/1.3 var(--wum-body); color: rgba(255,240,226,0.88); }
.wm-tab:hover, .wm-tab:focus-visible { filter: none; transform: translateY(-2px); outline: none; }
.wm-tab:hover img { transform: scale(1.06); }
.wm-tab[aria-pressed="true"] { filter: none; transform: translateY(-3px); box-shadow: 0 1px 0 #5E3F18, 0 3px 0 #4A3112, 0 5px 0 #3A260D, 0 18px 30px -10px rgba(40,24,12,0.6), 0 0 0 3px rgba(180,80,43,0.35); }
.wm-tab[aria-pressed="true"]::before { content: ""; position: absolute; z-index: 2; left: 50%; bottom: -1px; width: 34px; height: 4px; margin-left: -17px; border-radius: 4px 4px 0 0; background: #FBE7B0; }
@media (max-width: 700px) {
  .wm-tabs { gap: 8px; } .wm-tab { height: 78px; border-radius: 10px; } .wm-tab span { left: 10px; bottom: 9px; } .wm-tab b { font-size: 18px; } .wm-tab small { display: none; }
}

/* Part 2. The bar under the chart: the three ages, or the layers and Why build here? */
.wm-bar:empty { display: none; }
.wm-bar { margin-top: 14px; color: var(--ink, #3B2E22); }
.wm-ages { display: flex; align-items: center; gap: 10px; }
.wm-ages .wc-play { border: 1.5px solid currentColor; background: transparent; color: inherit; }
.wm-ages .wc-play svg { fill: currentColor; }
.wm-age { flex: 1; min-width: 0; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 9px; align-items: center; text-align: left;
  padding: 9px 12px; border-radius: 10px; border: 1.5px solid rgba(59,46,34,0.25); background: rgba(255,250,238,0.5); color: inherit; font: inherit; cursor: pointer; transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.wm-age i { grid-row: 1 / 3; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #F1E6CC, 0 0 0 3px rgba(59,46,34,0.4); }
.wm-age small { font: 500 10px var(--wum-mono); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.wm-age b { font: 700 15px/1.05 var(--wum-display); text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-age[aria-pressed="true"] { background: #FFF8E8; border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 35%, transparent), 0 8px 18px -10px rgba(59,46,34,0.5); }
.wm-age[aria-pressed="true"] i { box-shadow: 0 0 0 2px #FFF8E8, 0 0 0 3px var(--c), 0 0 12px 3px var(--c); }
.wm-arrow { flex: none; opacity: 0.45; font: 600 16px var(--wum-body); }
.wm-hint { margin: 10px 0 0; text-align: center; font: italic 13px var(--wum-body); opacity: 0.8; }
.wm-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.wm-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 11px; border-radius: 999px; border: 1.5px solid rgba(59,46,34,0.3); background: rgba(255,250,238,0.5);
  font: 700 14px/1 var(--wum-display); letter-spacing: 0.04em; text-transform: uppercase; color: inherit; cursor: pointer; opacity: 0.7; transition: all 0.25s; }
.wm-chip i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--c); background: transparent; transition: background 0.25s; }
.wm-chip[aria-pressed="true"] { opacity: 1; border-color: var(--c); background: #FFF8E8; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.wm-chip[aria-pressed="true"] i { background: var(--c); }
.wm-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--wum-display); letter-spacing: 0.05em; text-transform: uppercase; color: #FFF7EF; background: linear-gradient(180deg, #C25A31, #9A3E1C);
  box-shadow: 0 2px 0 #6E2A10, 0 10px 18px -8px rgba(154,62,28,0.7); transition: transform 0.2s, box-shadow 0.2s; }
.wm-btn:hover, .wm-btn:focus-visible { transform: translateY(-1px); outline: none; box-shadow: 0 3px 0 #6E2A10, 0 14px 22px -8px rgba(154,62,28,0.8); }
.wm-ghost { color: var(--ink, #3B2E22); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(59,46,34,0.4); }
.wm-ghost:hover, .wm-ghost:focus-visible { box-shadow: inset 0 0 0 1.5px rgba(59,46,34,0.8); }
.wm-chips .wm-why { margin-left: 8px; }
.wm-why-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.wm-why-bar b { font: 700 22px/1 var(--wum-display); text-transform: uppercase; letter-spacing: 0.02em; }
.wm-step { font: 500 11px var(--wum-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #A34A26; }
@media (max-width: 700px) {
  .wm-ages { gap: 6px; } .wm-age { padding: 8px; grid-template-columns: 1fr; } .wm-age i { display: none; } .wm-age b { font-size: 12.5px; white-space: normal; } .wm-arrow { display: none; }
  .wm-chips .wm-why { margin: 4px 0 0; }
}

/* Part 3. The panel beside the chart for the Life and Resources modes */
.mpanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 34px; align-items: start; padding: 26px 26px 30px !important; }
.mpanel > * { grid-column: 1; }
.mpanel > .wm-jz, .mpanel > .wm-feat { grid-column: 2; grid-row: 1 / span 6; }
.wm-feat { margin: 0; border-radius: 12px; overflow: hidden; position: relative; border: 3px solid transparent;
  background: linear-gradient(#2A1E16, #2A1E16) padding-box, linear-gradient(135deg, #FBE7B0 0%, #C99A4A 18%, #7A5420 38%, #E8C67E 52%, #8A6026 70%, #F6DFA4 86%, #9C6E2C 100%) border-box;
  box-shadow: 0 1px 0 #5E3F18, 0 3px 0 #4A3112, 0 5px 0 #3A260D, 0 16px 30px -10px rgba(40,24,12,0.55); color: #FFF6EC; }
.wm-feat img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.wm-feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,9,6,0.92) 0%, rgba(14,9,6,0.55) 38%, rgba(14,9,6,0) 62%); pointer-events: none; }
.wm-feat figcaption { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 6px; }
.wm-feat b { font: 700 26px/1 var(--wum-display); text-transform: uppercase; letter-spacing: 0.01em; }
.wm-feat span { font-size: 14.5px; line-height: 1.45; color: rgba(255,240,226,0.9); }
.wm-feat a { justify-self: start; font: 600 14.5px var(--wum-body); color: #FFC9A3; text-decoration: none; }
.wm-feat a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mpanel > .wm-steps, .mpanel > .wm-layers { grid-column: 1 / -1; }
.mpanel h2 { margin: 0; font: 700 clamp(28px, 3.4vw, 40px)/1 var(--wum-display); text-transform: uppercase; letter-spacing: 0.01em; }
.wm-k { margin: 0; display: flex; align-items: center; gap: 9px; font: 500 11px var(--wum-mono); letter-spacing: 0.18em; text-transform: uppercase; color: #A34A26; }
.wm-k i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px 2px var(--c); }
.wm-kinds { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.wm-kinds button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 10px; border: 1.5px solid rgba(59,46,34,0.2); background: rgba(255,250,238,0.55); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.wm-kinds button:hover, .wm-kinds button:focus-visible, .wm-kinds button.on { border-color: #A34A26; background: #FFF8E8; outline: none; }
.wm-kinds img { width: 64px; height: 46px; object-fit: cover; border-radius: 6px; flex: none; }
.wm-kinds b { display: block; font: 700 17px/1.05 var(--wum-display); text-transform: uppercase; letter-spacing: 0.02em; }
.wm-kinds small { display: block; margin-top: 2px; font-size: 13.5px; opacity: 0.8; }
.wm-jz { margin: 0; padding: 14px; border-radius: 12px; background: rgba(255,250,238,0.6); border: 1px solid rgba(59,46,34,0.25); }
.wm-jz figcaption { display: grid; gap: 4px; margin-bottom: 10px; }
.wm-jz figcaption b { font: 700 19px/1.05 var(--wum-display); text-transform: uppercase; letter-spacing: 0.02em; }
.wm-jz figcaption span { font-size: 14.5px; line-height: 1.45; opacity: 0.85; }
.wm-jz-big { width: 100%; max-width: 440px; height: auto; display: block; margin: 0 auto; border-radius: 8px; }
.wm-jz-m { cursor: pointer; }
.wm-jz-m.on circle:last-child { stroke: #3B2E22; stroke-width: 2; }
.wm-layers { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.wm-layers button { width: 100%; height: 100%; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; border: 1.5px solid rgba(59,46,34,0.2); background: rgba(255,250,238,0.45); color: inherit; font: inherit; text-align: left; cursor: pointer; opacity: 0.65; transition: all 0.2s; }
.wm-layers .on button { opacity: 1; border-color: var(--c); background: #FFF8E8; }
.wm-layers i { flex: none; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--c); }
.wm-layers .on i { background: var(--c); }
.wm-layers b { display: block; font: 700 17px/1.05 var(--wum-display); text-transform: uppercase; letter-spacing: 0.02em; }
.wm-layers small { display: block; margin-top: 3px; font-size: 14px; line-height: 1.35; opacity: 0.85; }
.mpanel > .wm-why { justify-self: start; }
.wm-steps { margin: 6px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.wm-steps li { counter-increment: s; padding: 12px 14px; border-radius: 10px; border: 1.5px solid rgba(59,46,34,0.2); opacity: 0.45; display: grid; gap: 6px; }
.wm-steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--wum-mono); color: #FFF7EF; background: #3B2E22; }
.wm-steps li.done { opacity: 0.8; }
.wm-steps li.on { opacity: 1; border-color: #B4502B; background: #FFF8E8; box-shadow: 0 0 0 3px rgba(180,80,43,0.2); }
.wm-steps li.on::before { background: #B4502B; }
.wm-steps b { font: 700 18px/1.05 var(--wum-display); text-transform: uppercase; letter-spacing: 0.02em; }
.wm-steps span { font-size: 14.5px; line-height: 1.45; }
@media (max-width: 860px) { .mpanel { grid-template-columns: 1fr; } .mpanel > .wm-jz, .mpanel > .wm-feat { grid-column: 1; grid-row: auto; } }
@media (max-width: 700px) { .mpanel { padding: 22px 4px !important; } }

/* Part 4. The marks modes.js draws on the chart */
.wm-mark { transition: opacity 0.6s; }
.wm-mark:hover text, .wm-mark:focus-visible text { fill: #A34A26; }
.wm-before { opacity: 0.42; }
.wm-in { animation: wmIn 0.9s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes wmIn { from { opacity: 0; transform: scale(0.6); } }
.wm-in, .wm-breathe, .wm-ping, .wm-twinkle { transform-box: fill-box; transform-origin: center; }
.wm-breathe { animation: wmBreathe 2.8s ease-in-out infinite; }
@keyframes wmBreathe { 50% { transform: scale(1.35); opacity: 0.65; } }
.wm-twinkle { animation: wmTwinkle 2.6s ease-in-out infinite; }
@keyframes wmTwinkle { 50% { opacity: 0.35; } }
.wm-ping { animation: wmPing 1.8s ease-out infinite; }
@keyframes wmPing { from { transform: scale(1); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.wm-fade { transition: opacity 1.2s; }
.wm-veil-in { animation: wmVeil 1.1s ease both; }
@keyframes wmVeil { from { opacity: 0; } }
.wm-layer.wm-in { animation: wmVeil 0.7s ease both; }
@media (prefers-reduced-motion: reduce) { .wm-in, .wm-breathe, .wm-twinkle, .wm-ping, .wm-veil-in { animation: none; } }

/* Part 5. The cards for a mode's marks (the chart's own card, with a picture on top) */
.wm-c-pic { margin: -14px -16px 10px; height: 120px; overflow: hidden; border-radius: 4px 4px 0 0; }
.wm-c-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wm-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.wm-c-big { margin: 8px 0 0; font: 700 19px/1.15 var(--wum-display); text-transform: uppercase; letter-spacing: 0.01em; }
.wm-jz-card { width: 100%; height: auto; display: block; margin-top: 10px; border-radius: 4px; }
.wm-c-list { display: grid; gap: 4px; margin-top: 8px; }
.wm-c-list button { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border: 0; border-top: 1px dashed rgba(59,46,34,0.25); background: none; font: 600 14px var(--wum-body); color: inherit; text-align: left; cursor: pointer; }
.wm-c-list button:hover { color: #A34A26; }
.wm-c-list i { width: 9px; height: 9px; border-radius: 50%; }

/* Part 6. The two stories under the Resources map: their buttons, and How Mars turned red (05-13 AT-17) */
.wm-stories { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.wm-stories.wm-left { justify-content: flex-start; margin-top: 4px; }
.mpanel > .wm-stories { grid-column: 1 / -1; }
.wm-tint .wc-img { filter: grayscale(var(--wm-g, 0)) brightness(calc(1 - var(--wm-g, 0) * 0.08)); transition: filter 3.2s ease, opacity 0.6s; }
.wm-cloud { animation: wmCloud 12s linear infinite; }
@keyframes wmCloud { from { transform: translateX(0); } to { transform: translateX(980px); } }
.wm-gust { animation: wmGust 5s linear infinite; }
@keyframes wmGust { from { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateX(860px); opacity: 0; } }
.mpanel > .wm-steps.wm-steps-col { grid-column: 1; grid-template-columns: 1fr; }
.mpanel > .wm-cut { grid-column: 2; grid-row: 1 / span 4; }
.wm-cut { margin: 0; padding: 14px; border-radius: 12px; background: rgba(255,250,238,0.6); border: 1px solid rgba(59,46,34,0.25); }
.wm-cut-svg { width: 100%; max-width: 460px; height: auto; display: block; margin: 0 auto; }
.wm-cut figcaption { margin-top: 6px; text-align: center; font: italic 13px var(--wum-body); opacity: 0.75; }
.wm-cut-svg path, .wm-cut-svg rect { transition: fill 1.2s, opacity 0.6s; }
.wm-dim { opacity: 0.6; }
.wm-c-tall { height: 150px; }
@media (max-width: 860px) { .mpanel > .wm-cut { grid-column: 1; grid-row: auto; } }
@media (prefers-reduced-motion: reduce) { .wm-cloud, .wm-gust { animation: none; } }

/* Part 7. Phones: the story step's words sit under its title (the strip on the map is too small to read there) */
.wm-why-line { display: none; }
@media (max-width: 700px) {
  .wm-why-bar { display: grid; justify-items: center; gap: 8px; text-align: center; }
  .wm-why-line { display: block; max-width: 34em; font: 15px/1.45 var(--wum-body); }
  .wm-cap { display: none; }
}
.wm-cut-photo { display: block; width: 100%; max-width: 460px; margin: 14px auto 0; border-radius: 8px; border: 1px solid rgba(59,46,34,0.3); }

/* Part 8. The next great dust storm (05-13 AT-18): small storms in the south, one storm spreading over the planet, and the storm watch */
.wm-puff { transform-box: fill-box; transform-origin: center; animation: wmPuff 6s ease-in-out infinite; }
@keyframes wmPuff { 0%, 100% { opacity: 0; transform: scale(0.5); } 40% { opacity: 1; transform: scale(1.1); } 70% { opacity: 0.6; transform: scale(1.3); } }
.wm-spread { transform-box: fill-box; transform-origin: center; animation: wmSpread 6.5s cubic-bezier(.45, 0, .3, 1) forwards; }
@keyframes wmSpread { from { transform: scale(0.15); opacity: 0.6; } to { transform: scale(9); opacity: 1; } }
.wm-grown { transform-box: fill-box; transform-origin: center; transform: scale(9); }
.mpanel > .wm-watch { grid-column: 2; grid-row: 1 / span 4; }
.wm-watch { margin: 0; padding: 18px 20px; border-radius: 12px; display: grid; gap: 12px; color: #FFF3E6; border: 3px solid transparent;
  background: linear-gradient(rgba(36,20,12,.82), rgba(36,20,12,.92)) padding-box, linear-gradient(135deg, #FBE7B0 0%, #C99A4A 18%, #7A5420 38%, #E8C67E 52%, #8A6026 70%, #F6DFA4 86%, #9C6E2C 100%) border-box;
  box-shadow: 0 1px 0 #5E3F18, 0 3px 0 #4A3112, 0 16px 30px -10px rgba(40,24,12,0.55); position: relative; overflow: hidden; }
.wm-watch::before { content: ""; position: absolute; inset: 0; background: url("key/storm.webp?v=fc98c436") center / cover; opacity: 0.35; z-index: -1; }
.wm-watch figcaption { display: grid; gap: 3px; }
.wm-watch figcaption b { font: 700 24px/1 var(--wum-display); text-transform: uppercase; letter-spacing: 0.02em; }
.wm-watch figcaption span { font: 500 10.5px var(--wum-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #FFC9A3; }
.wm-watch-line { width: 100%; height: auto; background: rgba(241,230,204,0.92); border-radius: 8px; padding: 4px 2px 0; }
.wm-since { margin: 0; font: 700 22px/1.1 var(--wum-display); text-transform: uppercase; letter-spacing: 0.01em; }
.wm-since small { display: block; margin-top: 4px; font: 14px/1.4 var(--wum-body); text-transform: none; letter-spacing: 0; color: rgba(255,240,226,0.85); }
.wm-next { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; background: rgba(255,244,230,0.1); border: 1px solid rgba(255,220,190,0.3); }
.wm-next small { font: 500 10.5px var(--wum-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #FFC9A3; }
.wm-next b { font: 700 30px/1 var(--wum-display); text-transform: uppercase; }
.wm-next span { font: 15px var(--wum-body); color: rgba(255,240,226,0.9); }
.wm-odds { margin: 0; font: 600 15px var(--wum-body); }
.wm-note { margin: 0; font: italic 13.5px/1.45 var(--wum-body); color: rgba(255,240,226,0.78); }
@media (max-width: 860px) { .mpanel > .wm-watch { grid-column: 1; grid-row: auto; } }
@media (prefers-reduced-motion: reduce) { .wm-puff, .wm-spread { animation: none; } }
.wm-late { opacity: 0; animation: wmLate 1.5s ease 4.5s forwards; }
@keyframes wmLate { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wm-late { animation: none; opacity: 1; } }

/* Part 9. The stories row over the map, on every mode (05-13 AT-18) */
.wm-srow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; max-width: 1140px; margin: -4px auto 18px; }
.wm-srow-k { font: 500 11px var(--wum-mono); letter-spacing: 0.2em; text-transform: uppercase; color: #A34A26; margin-right: 4px; }
.wm-scard { display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 999px; cursor: pointer; color: #3B2E22;
  border: 1.5px solid rgba(59,46,34,0.28); background: rgba(255,250,238,0.65); font: 700 14.5px/1.1 var(--wum-display); letter-spacing: 0.03em; text-transform: uppercase;
  box-shadow: 0 6px 14px -8px rgba(59,46,34,0.45); transition: transform 0.2s, border-color 0.2s, background 0.2s; }
.wm-scard img { width: 44px; height: 32px; object-fit: cover; border-radius: 999px; }
.wm-scard:hover, .wm-scard:focus-visible { transform: translateY(-2px); border-color: #A34A26; background: #FFF8E8; outline: none; }
@media (max-width: 700px) { .wm-srow { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; } .wm-srow::-webkit-scrollbar { display: none; } .wm-scard { flex: none; } }

/* Part 10. The first life on Mars (modes.js Step 4b): the step's picture or the three missions beside the steps */
.mpanel > .wm-hunt { grid-column: 2; grid-row: 1 / span 6; }
.wm-tale-pic img { aspect-ratio: 4 / 3; }
.wm-hunt { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.wm-hunt li { display: grid; gap: 4px; padding: 14px 16px 14px 18px; border-radius: 10px; background: #FFF8E8; border: 1.5px solid rgba(59,46,34,0.18); border-left: 4px solid #B4502B; }
.wm-hunt b { font: 700 18px/1.1 var(--wum-display); text-transform: uppercase; letter-spacing: 0.02em; }
.wm-hunt span { font-size: 14.5px; line-height: 1.45; }
.mpanel > .wm-tale-go { justify-self: start; text-decoration: none; }
@media (max-width: 860px) { .mpanel > .wm-hunt { grid-column: 1; grid-row: auto; } }
/* the story's movement: bubbles rise, steam drifts, rivers flow, life sinks, a ship lands, the light's rim turns */
.wm-rise, .wm-steam, .wm-sink, .wm-spin { transform-box: fill-box; transform-origin: center; }
.wm-rise { animation: wmRise 2.8s ease-in infinite; }
@keyframes wmRise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-26px); opacity: 0; } }
.wm-steam { animation: wmSteam 2.8s ease-out infinite; opacity: 0; }
@keyframes wmSteam { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 30% { opacity: 0.85; } 100% { transform: translateY(-14px) scale(1.8); opacity: 0; } }
.wm-flow { animation: wmFlow 1.4s linear infinite; }
@keyframes wmFlow { to { stroke-dashoffset: -14; } }
.wm-sink { animation: wmSink 1.8s ease-in infinite; }
@keyframes wmSink { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
.wm-land { stroke-dashoffset: 1.35; animation: wmLand 2.2s cubic-bezier(.3,.6,.3,1) 0.3s forwards; }
@keyframes wmLand { to { stroke-dashoffset: 0; } }
.wm-spin { animation: wmSpin 40s linear infinite; }
@keyframes wmSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wm-rise, .wm-steam, .wm-flow, .wm-sink, .wm-spin { animation: none; } .wm-land { animation: none; stroke-dashoffset: 0; } }
