dialog.earth-modal{width:min(1050px,96vw);max-width:1050px}.earth-modal #detail{overflow:hidden}.earth-shell{height:100%;min-height:0;display:flex;flex-direction:column;gap:9px;font-size:14px;line-height:1.55}.earth-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:8px}.earth-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;flex-shrink:0}.earth-nav button,.earth-picks button,.earth-controls button{border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);cursor:pointer;font-size:12px;padding:8px 10px;min-height:42px}.earth-nav button[aria-selected=true]{background:var(--ink);color:var(--bg)}.earth-body{min-height:0;overflow:auto;flex:1;padding:1px 5px 16px 1px;scrollbar-width:thin;overscroll-behavior:contain}.earth-body h2{font-size:25px;letter-spacing:-.5px;line-height:1.2;margin:7px 0 8px}.earth-body h3{font-size:16px;margin:0 0 6px}.earth-body p{margin:6px 0 12px}.earth-picks{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:1px 0 12px}.earth-picks button[aria-pressed=true]{border-color:#338f86;background:#338f8617;color:#287e75;font-weight:700}.earth-kicker{color:#287e75;letter-spacing:.12em;font-size:10px;font-weight:700}.earth-figure{margin:12px 0 5px;border:1px solid var(--line);border-radius:15px;overflow:hidden;background:var(--surface)}.earth-controls{display:flex;flex-wrap:wrap;gap:5px;align-items:center;padding:10px;border-bottom:1px solid var(--line)}.earth-controls button{font-size:11px;padding:6px 9px;min-height:36px}.earth-controls button[aria-pressed=true]{background:var(--ink);color:var(--bg)}.earth-controls .earth-zoom{margin-left:auto}.earth-canvas{overflow-x:auto;scrollbar-width:thin;padding:8px}.earth-canvas.zoomed .earth-svg{min-width:720px}.earth-svg{width:100%;max-width:760px;display:block;margin:auto;height:auto;color:var(--ink)}.earth-svg text{fill:var(--ink);font:16px Arial,sans-serif}.earth-svg .etiny{font-size:12px}.earth-svg .eheading{font-size:17px;font-weight:700}.earth-svg .ewire{fill:none;stroke-width:5;stroke-linejoin:round;stroke-linecap:round}.earth-svg .eline{stroke:#975735}.earth-svg .eline2{stroke:#6b6870}.earth-svg .eneutral{stroke:#3f8ac4}.earth-svg .epe,.earth-svg .epen,.earth-svg .eearth{stroke:url(#earthStripe)}.earth-svg .epenmark{stroke:#3f8ac4;stroke-width:6}.earth-svg .epe-text{fill:#25804b}.earth-svg .eneutral-text{fill:#3179b2}.earth-svg .eline-text{fill:#975735}.earth-svg .eline2-text{fill:#6b6870}.earth-svg .ejunction{fill:var(--ink)}.earth-svg .ehouse{fill:none;stroke:#90999b;stroke-width:3}.earth-svg .ehousebody{fill:#338f8605;stroke:#9ba5a6;stroke-width:1.5;stroke-dasharray:5 5}.earth-svg .esource,.earth-svg .ecase{fill:var(--surface);stroke:var(--ink);stroke-width:2}.earth-svg .eglyph{fill:none;stroke:var(--ink);stroke-width:2}.earth-svg .eload{fill:#c9ab8933;stroke:#975735;stroke-width:2}.earth-svg .esoil{fill:#9c795815}.earth-svg .eleak{fill:none;stroke:#8a79b3;stroke-width:2;stroke-dasharray:5 4}.earth-svg .eimd{fill:#8a79b314;stroke:#8a79b3;stroke-width:1.5}.earth-svg .ercd,.earth-svg .eqf{fill:var(--surface);fill-opacity:.92;stroke:var(--ink);stroke-width:1.5}.earth-svg .efault{stroke:#d15443;stroke-width:3;stroke-dasharray:8 6;fill:none;stroke-linejoin:round}.earth-svg .eflash{stroke:#d15443;stroke-width:3;fill:none}.earth-legend{display:flex;gap:10px;flex-wrap:wrap;padding:8px 12px;font-size:10px;border-top:1px solid var(--line);color:var(--muted)}.earth-legend i{display:inline-block;width:17px;height:4px;margin-right:4px;vertical-align:middle;background:#975735}.earth-legend .neutral{background:#3f8ac4}.earth-legend .pe{background:repeating-linear-gradient(45deg,#24794b 0 4px,#f4d64b 4px 8px)}.earth-legend .fault{background:#d15443}.earth-caption,.earth-small{font-size:11px;color:var(--muted)}.earth-explain{padding:12px 14px;border-left:3px solid #338f86;background:#338f860b;border-radius:0 10px 10px 0;margin:10px 0}.earth-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:13px 0}.earth-card{padding:15px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}.earth-card p:last-child{margin-bottom:0}.earth-card b{font-size:13px}.earth-body details{border-bottom:1px solid var(--line);padding:12px 0}.earth-body summary{font-weight:700;cursor:pointer}.earth-body details p{font-size:12px}.earth-body a{color:#287e75;text-underline-offset:3px}.earth-tablewrap{overflow:auto}.earth-table{width:100%;border-collapse:collapse;font-size:12px}.earth-table th,.earth-table td{padding:11px 8px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.earth-timeline{border-left:2px solid #338f8650;padding-left:16px;margin:14px 0}.earth-timeline>div{margin:0 0 17px}.earth-timeline b{color:#287e75}.earth-question{padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface);margin:12px 0}.earth-answer{display:block;width:100%;text-align:left;border:1px solid var(--line);padding:11px;border-radius:9px;background:var(--bg);color:var(--ink);margin-top:7px;cursor:pointer}.earth-answer.correct{border-color:#338f86;background:#338f8614}.earth-answer.wrong{border-color:#c45f51;background:#c45f5110}.earth-result{margin-top:9px;font-size:12px}.earth-body button:focus-visible,.earth-nav button:focus-visible{outline:2px solid #338f86;outline-offset:2px}
@media(max-width:760px){dialog.earth-modal{width:100%;max-width:100%;padding:12px 14px}.earth-shell{gap:7px;font-size:13px}.earth-nav{gap:4px}.earth-nav button{font-size:10px;padding:6px 2px}.earth-picks{gap:4px}.earth-picks button{font-size:11px;padding:7px 2px;min-height:40px}.earth-body h2{font-size:22px}.earth-grid{grid-template-columns:1fr}.earth-card{padding:12px}.earth-controls{padding:7px;gap:4px}.earth-controls button{font-size:10px;padding:6px}.earth-legend{font-size:9px;gap:8px}.earth-meta{font-size:9px}.earth-table{font-size:11px}.earth-table th,.earth-table td{padding:9px 6px}.earth-canvas{padding:4px}.earth-figure{margin-top:8px}}

.earth-legend .line2{background:#6b6870}
