/* earth570.css — labs.llc/earth/ v570, jewelry edition, after /sound/'s sheet (page-owned; loads after the room's site/micro/toast/dark
   sheets and edits none of them). Photographic hero, sticky status line, the four featured desks, the "on the wire" strip, the door toolbar and
   jewelry cards, the all-rooms panel. Colours come from the house variables (--ink, --paper, --line, --accent), which dark.css flips. */
body.ea570 [hidden] { display: none !important; }
body.ea570 { --ea-acc: #0F766E; --ea-r: 12px; --ea-card: #fff; --ea-soft: #F4F5F6; --ea-panel: rgba(255,255,255,.98); --ea-shadow: 0 10px 30px rgba(17,22,28,.14); --ea-g: clamp(16px, 2.82vw, 36px); --ea-up: #15803D; --ea-dn: #BE123C; }
html[data-dark] body.ea570 { --ea-acc: #5EEAD4; --ea-card: #131A21; --ea-soft: #1A2129; --ea-panel: rgba(23,30,38,.98); --ea-shadow: 0 10px 30px rgba(0,0,0,.5); --ea-up: #4ADE80; --ea-dn: #F87171; }
body.ea570 main { overflow-x: clip; }

/* desk colours: quake magnitude bands, fire causes, volcano colour codes, Kp levels */
.ea-d--m25 { --c: #F59E0B; } .ea-d--m4 { --c: #EA580C; } .ea-d--m5 { --c: #DC2626; } .ea-d--m6 { --c: #7F1D1D; } html[data-dark] .ea-d--m6 { --c: #FCA5A5; }
.ea-d--human { --c: #DC2626; } .ea-d--natural { --c: #F59E0B; } .ea-d--undet { --c: #94A3B8; } .ea-d--fire { --c: #EA580C; } .ea-d--ccg { --c: #16A34A; } .ea-d--ccy { --c: #EAB308; } .ea-d--cco { --c: #EA580C; } .ea-d--ccr { --c: #DC2626; } .ea-d--kq { --c: #14B8A6; } .ea-d--ku { --c: #EAB308; } .ea-d--kg { --c: #DC2626; }
.ea-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c, #94A3B8); flex: none; }

/* ---------- photographic hero ---------- */
.ea-hero { position: relative; min-height: min(84vh, 720px); display: flex; align-items: flex-end; background: #11161C; overflow: hidden; color: #fff; }
.ea-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s cubic-bezier(.22,.61,.36,1); }
.ea-hero__photo.is-in { opacity: 1; }
.ea-hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,18,23,.94) 0%, rgba(14,18,23,.86) 30%, rgba(14,18,23,.45) 66%, rgba(14,18,23,.12) 100%), linear-gradient(0deg, rgba(14,18,23,.9) 0%, rgba(14,18,23,0) 42%); }
@media (max-width: 900px) { .ea-hero__scrim { background: linear-gradient(90deg, rgba(14,18,23,.94), rgba(14,18,23,.84)), linear-gradient(0deg, rgba(14,18,23,.9), rgba(14,18,23,0) 42%); } }
.ea-hero__in { position: relative; z-index: 1; width: 100%; padding-top: clamp(40px, 7vw, 92px); padding-bottom: 26px; }
.ea-hero__in > .roomnav { float: right; margin: 0 0 0 1.5rem; }
.ea-hero .roomnav__a { color: rgba(255,255,255,.72); }
.ea-hero .roomnav__o { border-color: rgba(255,255,255,.3); color: #fff; background: rgba(14,18,23,.35); }
@media (hover: hover) { .ea-hero .roomnav__a:hover { color: #fff; } .ea-hero .roomnav__a:hover .roomnav__o { border-color: #fff; } }
.ea-hero .eyebrow { color: rgba(255,255,255,.7); margin: 0; }
.ea-hero .roomstamp { color: #fff; }
.ea-h { font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.02; font-weight: 300; letter-spacing: -.035em; margin: .55rem 0 0; max-width: 16ch; color: #fff; }
.ea-h em { font-style: normal; border-bottom: 3px solid #A78BFA; }
.ea-hero__lede { color: rgba(255,255,255,.8); max-width: 58ch; margin: 1.1rem 0 1.3rem; font-weight: 300; font-size: 1.05rem; line-height: 1.55; }
.ea-hero__lede a { color: #fff; }
.ea-hero__acts { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-bottom: 1rem; }
.ea-hero__acts .btn { border-radius: var(--ea-r); }
.ea-ghost { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1rem; border: 1px solid rgba(255,255,255,.34); border-radius: var(--ea-r); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: .86rem; text-decoration: none; cursor: pointer; }
.ea-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.ea-hq { display: flex; align-items: center; gap: .5rem; max-width: 560px; padding: 4px 4px 4px 14px; border-radius: var(--ea-r); background: rgba(255,255,255,.96); color: #1E262B; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.ea-hq svg { width: 18px; height: 18px; flex: none; opacity: .6; }
.ea-hq input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: .95rem; color: inherit; padding: .55rem 0; outline: none; }
.ea-hq button { border: 0; border-radius: 9px; background: #1E262B; color: #fff; font: inherit; font-size: .85rem; font-weight: 600; padding: .6rem 1.1rem; cursor: pointer; }
.ea-hero__cap { position: absolute; right: var(--ea-g); top: 1rem; z-index: 2; max-width: 46ch; text-align: right; font-size: .62rem; font-weight: 600; letter-spacing: .06em; color: rgba(255,255,255,.82); text-shadow: 0 1px 3px rgba(0,0,0,.9); margin: 0; }
.ea-hero__cap a { color: inherit; }
.ea-ticker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.18); }
.ea-stat { padding: .85rem .9rem 0 0; }
.ea-stat b { display: block; font-size: clamp(1.2rem, 2.1vw, 1.7rem); font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ea-stat span { display: block; font-size: .7rem; color: rgba(255,255,255,.62); margin-top: .15rem; }
@media (max-width: 860px) { .ea-hero__cap { top: auto; bottom: .45rem; left: var(--ea-g); right: var(--ea-g); max-width: none; text-align: left; font-size: .56rem; } .ea-hero__in { padding-bottom: 46px; } .ea-hero__in > .roomnav { float: none; margin: 0 0 1rem; justify-content: space-between; } }
@media (max-width: 640px) {
  .ea-hero { min-height: 0; } .ea-hero__in { padding-top: 22px; padding-bottom: 50px; } .ea-dock__id b { font-size: .8rem; }
  .ea-h { font-size: 2.35rem; } .ea-hero__lede { font-size: .95rem; margin: .8rem 0 1rem; }
  .ea-ticker { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ea-stat:last-child { display: none; }
  .ea-hero__acts .ea-ghost:not(:first-of-type) { display: none; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .ea-hero { min-height: 0; } .ea-hero__in { padding-top: 16px; padding-bottom: 40px; }
  .ea-h { font-size: 2rem; } .ea-hero__lede { font-size: .9rem; margin: .5rem 0 .8rem; max-width: 80ch; }
  .ea-ticker { margin-top: .9rem; } .ea-stat { padding-top: .5rem; } .ea-stat b { font-size: 1.15rem; }
}
@media (hover: none) { #ea-hero-next { display: none; } }
@media (prefers-reduced-motion: reduce) { .ea-hero__photo { transition: none; } }

/* ---------- sticky status line ---------- */
.ea-dock { position: sticky; top: var(--nav-h, 74px); z-index: 55; background: var(--paper); border-bottom: 1px solid var(--line); }
.ea-dock__in { display: flex; align-items: center; gap: .8rem; min-height: 48px; padding-block: 4px; }
.ea-dock__id { margin: 0; min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.25; }
.ea-dock__id b { font-size: .88rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: .45rem; }
.ea-dock__id > span { font-size: .7rem; color: var(--ink-55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ea-dock__nav { display: flex; gap: 1.1rem; flex: none; }
.ea-dock__nav a { font-size: .76rem; color: var(--ink-77); text-decoration: none; }
.ea-dock__nav a:hover { color: var(--ea-acc); }
.ea-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: ea-pulse 2.4s infinite; flex: none; }
@keyframes ea-pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); } 70% { box-shadow: 0 0 0 7px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
@media (prefers-reduced-motion: reduce) { .ea-live { animation: none; } }
@media (max-width: 760px) { .ea-dock__nav { display: none; } }
@media (max-width: 900px) { .ea-dock { top: var(--nav-h, 64px); } }

/* ---------- section heads ---------- */
body.ea570 .band.ea-feat, body.ea570 .band.ea-latest, body.ea570 .band.ea-doors, body.ea570 .band.ea-rooms, body.ea570 .band.ea-ethos { padding-block: clamp(36px, 5vw, 64px); }
body.ea570 .band.ea-latest, body.ea570 .band.ea-rooms { padding-top: 0; }
.ea-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.ea-sechead .d2 { margin: .3rem 0 0; }
.ea-sechead__s { margin: 0; font-size: .78rem; color: var(--ink-55); }
.ea-sechead__a { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; display: inline-flex; gap: .4rem; }
.ea-sechead__a:hover { color: var(--ea-acc); }

/* ---------- featured desks ---------- */
.ea-fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .ea-fgrid { grid-template-columns: minmax(0, 1fr); } }
.ea-fcard { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--ea-card); box-shadow: var(--ea-shadow); overflow: hidden; }
.ea-fcard::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #7C3AED, #DB2777, #F59E0B); }
.ea-fcard--quake::before { background: linear-gradient(90deg, #F59E0B, #EA580C, #DC2626); }
.ea-fcard--fire::before { background: linear-gradient(90deg, #DC2626, #F97316, #FACC15); }
.ea-fcard--volcano::before { background: linear-gradient(90deg, #EAB308, #EA580C, #7F1D1D); }
.ea-fcard--kp::before { background: linear-gradient(90deg, #14B8A6, #22C55E, #A855F7); }
.ea-fcard__k { display: inline-flex; align-items: center; gap: .45rem; font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-55); }
.ea-fcard h3 { margin: .4rem 0 .35rem; font-size: clamp(1.35rem, 2.3vw, 1.75rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.ea-fcard h3 a { color: var(--ink); text-decoration: none; } .ea-fcard h3 a:hover { color: var(--ea-acc); }
.ea-fcard__h p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--ink-77); }
.ea-fstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ea-fs { padding: 10px 12px; border-radius: 10px; background: var(--ea-soft); min-width: 0; }
.ea-fs b { display: block; font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.ea-fs span { display: block; font-size: .66rem; color: var(--ink-55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .ea-fstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ea-bar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--ea-soft); }
.ea-bar__s { display: block; background: var(--c); min-width: 3px; }
.ea-legend { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .72rem; color: var(--ink-77); margin-top: -6px; }
.ea-legend span { display: inline-flex; align-items: center; gap: .35rem; } .ea-legend b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.ea-li { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ea-li li { border-bottom: 1px solid var(--line); }
.ea-li a { display: block; padding: 9px 0; text-decoration: none; color: var(--ink); }
.ea-li a:hover .ea-li__t { color: var(--ea-acc); }
.ea-li__t { display: block; font-size: .9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ea-li__m { display: flex; align-items: center; gap: .4rem; font-size: .7rem; color: var(--ink-55); margin-top: 3px; }
.ea-fcard__f { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-top: auto; font-size: .72rem; color: var(--ink-55); }
.ea-fcard__f .btn { border-radius: 10px; }

/* ---------- latest strip ---------- */
.ea-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ea-seg button { border: 0; background: none; font: inherit; font-size: .78rem; padding: .5rem .85rem; color: var(--ink-77); cursor: pointer; }
.ea-seg button + button { border-left: 1px solid var(--line); }
.ea-seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.ea-lgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .ea-lgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ea-lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ea-lgrid { grid-template-columns: minmax(0, 1fr); } }
.ea-lgrid__wait { grid-column: 1 / -1; color: var(--ink-55); font-size: .85rem; }
.ea-lc a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 12px 14px 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--ea-card); text-decoration: none; color: var(--ink); position: relative; box-sizing: border-box; }
.ea-lc a::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c, #94A3B8); }
.ea-lc a:hover { border-color: var(--ink-55); }
.ea-lc__k { display: flex; align-items: center; gap: .4rem; font-size: .64rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-55); }
.ea-lc__k em { font-style: normal; margin-left: auto; font-weight: 600; letter-spacing: 0; text-transform: none; }
.ea-lc__t { font-size: .88rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ea-lc__o { font-size: .7rem; color: var(--ink-55); margin-top: auto; }
.ea-more { display: flex; justify-content: center; margin-top: 14px; }

/* ---------- door toolbar ---------- */
.ea-tb { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--ea-soft); margin-bottom: 8px; }
.ea-tb__q { display: flex; align-items: center; gap: .45rem; flex: 1 1 220px; min-width: 0; padding: 0 12px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--ea-card); }
.ea-tb__q svg { width: 16px; height: 16px; opacity: .55; flex: none; }
.ea-tb__q input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: .88rem; color: var(--ink); outline: none; }
.ea-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ea-chips button { border: 1px solid var(--line); background: var(--ea-card); color: var(--ink-77); border-radius: 999px; font: inherit; font-size: .76rem; padding: .42rem .8rem; cursor: pointer; white-space: nowrap; }
.ea-chips button b { font-weight: 600; color: var(--ink-55); margin-left: .15rem; }
.ea-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ea-chips button[aria-pressed="true"] b { color: inherit; opacity: .7; }
.ea-tool { display: inline-flex; align-items: center; gap: .4rem; height: 40px; padding: 0 .85rem; border: 1px solid var(--line); border-radius: 10px; background: var(--ea-card); color: var(--ink); font: inherit; font-size: .8rem; cursor: pointer; }
.ea-tool svg { width: 16px; height: 16px; }
select.ea-tool { padding-right: .6rem; }
.ea-menu { position: absolute; right: 10px; top: calc(100% + 6px); z-index: 60; width: min(300px, calc(100% - 20px)); padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--ea-panel); box-shadow: var(--ea-shadow); }
.ea-menu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px; font: inherit; color: var(--ink); cursor: pointer; }
.ea-menu button:hover, .ea-menu button:focus-visible { background: var(--ea-soft); }
.ea-menu b { display: block; font-size: .84rem; } .ea-menu span { display: block; font-size: .7rem; color: var(--ink-55); }
.ea-xstat { min-height: 1.1em; margin: 0 0 8px; font-size: .74rem; color: var(--ink-55); }
@media (max-width: 640px) { .ea-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; } .ea-chips::-webkit-scrollbar { display: none; } .ea-tb__q { flex-basis: 100%; } .ea-tool { flex: 1 1 0; justify-content: center; } }

/* ---------- jewelry door cards ---------- */
body.ea570 .games.ea-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: .4rem; }
@media (max-width: 1060px) { body.ea570 .games.ea-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { body.ea570 .games.ea-grid { grid-template-columns: minmax(0, 1fr); } }
body.ea570 .game.ea-door { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 4px 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--ea-card); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; min-height: 0; margin: 0; }
body.ea570 .game.ea-door:hover { border-color: var(--ink-55); box-shadow: var(--ea-shadow); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { body.ea570 .game.ea-door:hover { transform: none; } }
body.ea570 .ea-door .game__mark { width: 44px; height: 44px; color: var(--ink); }
body.ea570 .ea-door .game__mark svg { width: 44px; height: 44px; display: block; }
body.ea570 .ea-door .game__body { display: flex; flex-direction: column; gap: 3px; }
.ea-door__top { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-bottom: 2px; }
.ea-kind { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .18rem .5rem; border-radius: 999px; background: var(--ea-soft); color: var(--ink-77); }
.ea-kind--weather { background: rgba(2,132,199,.12); color: #0369A1; } .ea-kind--ground { background: rgba(180,83,9,.12); color: #92400E; } .ea-kind--sky { background: rgba(124,58,237,.12); color: #6D28D9; }
.ea-kind--move { background: rgba(15,118,110,.13); color: #0F766E; } .ea-kind--maps { background: rgba(71,85,105,.13); color: #334155; }
html[data-dark] .ea-kind--weather { color: #7DD3FC; } html[data-dark] .ea-kind--ground { color: #FCD34D; } html[data-dark] .ea-kind--sky { color: #C4B5FD; } html[data-dark] .ea-kind--move { color: #5EEAD4; } html[data-dark] .ea-kind--maps { color: #CBD5E1; }
.ea-badge { font-size: .6rem; font-weight: 700; letter-spacing: .06em; padding: .16rem .45rem; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-55); }
.ea-badge--new { border-color: transparent; background: var(--ink); color: var(--paper); }
.ea-door__cad { margin-left: auto; font-size: .66rem; color: var(--ink-55); }
body.ea570 .ea-door .game__name { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
body.ea570 .ea-door .game__what { font-size: .8rem; font-weight: 600; color: var(--ea-acc); }
body.ea570 .ea-door .game__note { font-size: .82rem; line-height: 1.5; color: var(--ink-77); margin-top: 2px; }
.ea-door__src { font-size: .7rem; color: var(--ink-55); margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }
.ea-door__src b { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .6rem; margin-right: .3rem; color: var(--ink-77); }
.ea-door__go { grid-column: 2; justify-self: end; font-size: .74rem; font-weight: 600; color: var(--ink-55); }
body.ea570 .game.ea-door:hover .ea-door__go { color: var(--ea-acc); }
body.ea570 .game.ea-door[data-card="quake"], body.ea570 .game.ea-door[data-card="wildfire"], body.ea570 .game.ea-door[data-card="volcano"], body.ea570 .game.ea-door[data-card="aurora"] { background: linear-gradient(180deg, var(--ea-soft), var(--ea-card) 60%); }
.ea-empty { font-size: .9rem; color: var(--ink-77); }
.ea-linkbtn { border: 0; background: none; color: var(--ea-acc); font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- all rooms (the site's room switcher, as a compact panel) ---------- */
.ea-rmgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1180px) { .ea-rmgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 860px) { .ea-rmgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ea-rmgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }
@media (max-height: 500px) and (orientation: landscape) { .ea-rmgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ea-rm { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "g c" "t t"; align-items: center; gap: 8px 6px; padding: 11px 12px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--ea-card); color: var(--ink); text-decoration: none; min-width: 0; transition: border-color .2s, background .2s, transform .2s; }
.ea-rm:hover { border-color: var(--ink-55); background: var(--ea-soft); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .ea-rm:hover { transform: none; } }
.ea-rm__g { grid-area: g; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--ea-soft); color: var(--ink); }
.ea-rm__g svg { width: 18px; height: 18px; }
.ea-rm__c { grid-area: c; justify-self: end; font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-77); padding: .1rem .45rem; border-radius: 6px; background: var(--ea-soft); }
.ea-rm__t { grid-area: t; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.ea-rm__t b { font-size: .88rem; font-weight: 600; }
.ea-rm__t > span { display: flex; align-items: center; gap: .3rem; font-size: .68rem; color: var(--ink-55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ea-rm__t > span .livedot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #16A34A; display: inline-block; }
.ea-rm.is-here { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ea-rm.is-here .ea-rm__g { background: var(--ink); color: var(--paper); }
.ea-rm__here { position: absolute; top: -8px; left: 50px; font-size: .54rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .1rem .4rem; border-radius: 5px; background: var(--ink); color: var(--paper); }
.ea-rm--aside { border-style: dashed; }
@media (max-width: 620px) { .ea-rm { padding: 9px 10px; } .ea-rm__g { width: 28px; height: 28px; } .ea-rm__here { left: auto; right: 8px; } }

/* ---------- ethos ---------- */
.ea-ethos__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1rem 3rem; align-items: start; border-top: 1px solid var(--line); padding-top: 28px; }
@media (max-width: 860px) { .ea-ethos__in { grid-template-columns: minmax(0, 1fr); } }
.ea-ethos .d2 { margin: .3rem 0 0; } .ea-ethos .lede { margin: 0 0 1rem; max-width: 62ch; }
.ea-ethos__l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .ea-ethos__l { grid-template-columns: minmax(0, 1fr); } }
.ea-ethos__l li { padding: 12px 14px; border-radius: 12px; background: var(--ea-soft); font-size: .78rem; color: var(--ink-77); line-height: 1.45; }
.ea-ethos__l b { display: block; font-size: .84rem; color: var(--ink); margin-bottom: 2px; }

html[data-dark] body.ea570 .ea-seg button[aria-pressed="true"], html[data-dark] body.ea570 .ea-chips button[aria-pressed="true"] { color: #0C1116; }
@media print { .ea-dock, .ea-tb, .ea-hero, .ea-rooms { display: none !important; } }
.ea-sechead__s--l { margin-top: .5rem; max-width: 60ch; }

/* =================== Earth room additions =================== */
/* the h1 keeps the page's own words, set as a quiet line over the display headline */
.ea-h1 { margin: .2rem 0 .55rem; font-size: clamp(.82rem, 1.2vw, .95rem); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.82); line-height: 1.35; }
/* the quake map: /quake/'s Natural Earth coastline, one ring per event */
.ea-mapbox { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0E1A24; }
.ea-map { display: block; width: 100%; height: auto; aspect-ratio: 360 / 158; }
.ea-map__sea { fill: #0E1A24; }
.ea-map__coast { fill: none; stroke: #5B7A8C; stroke-width: .45; stroke-linejoin: round; opacity: .9; }
.ea-q { fill: var(--c); fill-opacity: .55; stroke: var(--c); stroke-width: .35; }
.ea-mag { display: inline-grid; place-items: center; min-width: 2.3rem; height: 1.55rem; border-radius: 7px; font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; background: var(--c); }
.ea-d--m25.ea-mag, .ea-d--m25.ea-lc__m { color: #1E1406; }
.ea-li--q a, .ea-li--f a, .ea-li--v a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; }
.ea-li--q .ea-li__m, .ea-li--v .ea-li__m { margin: 0; justify-content: flex-end; white-space: nowrap; }
.ea-li__t small { display: block; font-size: .66rem; color: var(--ink-55); }
@media (max-width: 520px) { .ea-li--q a, .ea-li--v a { grid-template-columns: auto minmax(0, 1fr); } .ea-li--q .ea-li__m, .ea-li--v .ea-li__m { grid-column: 2; justify-content: flex-start; } }
/* the fire list: acres, name, containment */
.ea-ac { display: grid; min-width: 4.6rem; text-align: right; line-height: 1.1; } .ea-ac b { font-size: .86rem; font-variant-numeric: tabular-nums; } .ea-ac small { font-size: .58rem; color: var(--ink-55); text-transform: uppercase; letter-spacing: .06em; }
.ea-ctn { position: relative; width: 84px; height: 1.3rem; border-radius: 6px; background: var(--ea-soft); overflow: hidden; }
.ea-ctn i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, rgba(22,163,74,.35), rgba(22,163,74,.6)); }
.ea-ctn em { position: relative; display: block; text-align: center; font-style: normal; font-size: .68rem; font-weight: 700; line-height: 1.3rem; font-variant-numeric: tabular-nums; }
@media (max-width: 400px) { .ea-ctn { width: 58px; } .ea-ac { min-width: 3.9rem; } }
/* the volcano card: the aviation colour code scale and the notices */
.ea-vscale { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ea-vs { display: grid; gap: 2px; padding: 10px 10px 9px; border-radius: 10px; font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-55); background: var(--ea-soft); border-top: 4px solid var(--cc); opacity: .55; }
.ea-vs b { font-size: 1.5rem; letter-spacing: 0; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.05; }
.ea-vs.is-on { opacity: 1; }
.ea-cc--g { --cc: #16A34A; } .ea-cc--y { --cc: #EAB308; } .ea-cc--o { --cc: #EA580C; } .ea-cc--r { --cc: #DC2626; }
.ea-cc { display: inline-grid; place-items: center; min-width: 4.4rem; padding: .22rem .5rem; border-radius: 7px; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--cc); color: #fff; }
.ea-cc--y { color: #1F1A05; }
.ea-li__none { padding: 12px 0; font-size: .86rem; color: var(--ink-77); }
/* the Kp chart */
.ea-kpbox { border-radius: 12px; border: 1px solid var(--line); background: var(--ea-soft); padding: 10px 10px 6px; }
.ea-kp { display: block; width: 100%; height: 132px; }
.ea-kp__g { stroke: var(--ink-55); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; opacity: .55; }
.ea-kp__b { fill: #14B8A6; } .ea-kp__b.is-u { fill: #EAB308; } .ea-kp__b.is-g { fill: #DC2626; }
/* the wire */
.ea-lc--quake a { --c: #EA580C; } .ea-lc--fire a { --c: #DC2626; } .ea-lc--volcano a { --c: #A16207; }
.ea-lc__m { align-self: flex-start; display: inline-grid; place-items: center; min-width: 2.6rem; height: 1.6rem; border-radius: 7px; font-size: .84rem; font-weight: 700; color: #fff; background: var(--c); font-variant-numeric: tabular-nums; }
.ea-ethos .ea-ethos__l { grid-template-columns: minmax(0, 1fr); margin-top: 1.3rem; }
@media (max-width: 860px) and (min-width: 561px) { .ea-ethos .ea-ethos__l { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ea-ethos__txt .lede a { color: inherit; }
@media (max-width: 560px) { .ea-dock__x { display: none; } }
