:root{font-family:Inter,"Helvetica Neue",Arial,"Noto Sans JP",sans-serif;font-synthesis:none;color-scheme:dark;--bg:#111e24;--fg:#dee3dc;--muted:#8eaaa9;--edge:#adc0bc26;--panel:#15252bea;--accent:#d6dfb5}
:root{scrollbar-color:#72878c50 transparent}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);overflow:hidden;transition:background 2s,color 2s}body[data-theme=paper]{color-scheme:light;--bg:#e9e5da;--fg:#283732;--muted:#6b7870;--edge:#32433826;--panel:#eeeadef0;--accent:#3d5943}body[data-theme=cloud]{color-scheme:light;--bg:#cdd5d3;--fg:#273b40;--muted:#5e7479;--edge:#314c4c26;--panel:#dce2dff0;--accent:#335958}body[data-theme=rain]{--bg:#152a30;--panel:#193038ef;--muted:#9cbbb9;--fg:#e2e3d8}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{border:0;background:none;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:not([type=checkbox]):focus-visible,select:focus-visible{outline:1px solid var(--fg);outline-offset:5px}button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}
#experience{position:relative;height:100svh;min-height:420px;isolation:isolate}.atmosphere{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1;background:var(--bg);transition:background 2s}.cloud{position:absolute;pointer-events:none;border-radius:48%;filter:blur(70px);background:#09151a;opacity:.13;transform:rotate(-24deg)}.cloud-one{width:75vw;height:34vh;left:5vw;top:5vh;animation:drift 80s ease-in-out infinite alternate}.cloud-two{width:55vw;height:36vh;left:48vw;top:62vh;animation:drift 97s ease-in-out infinite alternate-reverse}body[data-theme=paper] .cloud{background:#fff6d7;opacity:.6}body[data-theme=cloud] .cloud{background:#899c9e;opacity:.27}body[data-theme=rain] .cloud{background:#567b7d;opacity:.18}.grain{position:absolute;inset:0;opacity:.12;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23888888' filter='url(%23n)' opacity='.4' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}@keyframes drift{to{transform:translate(-5vw,4vh) rotate(-17deg)}}
#map{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab}#map:active{cursor:grabbing}.masthead{position:absolute;top:max(34px,env(safe-area-inset-top));left:40px;right:40px;display:flex;align-items:flex-start;gap:52px;pointer-events:none}.masthead>*{pointer-events:auto}.wordmark{font-size:14px;font-weight:500;letter-spacing:.15em;line-height:1.55;display:flex;flex-direction:column}.wordmark i{font-style:normal;font-weight:300;opacity:.5;padding-left:8px}.edition{font-size:9px;letter-spacing:.16em;line-height:2;color:var(--muted);display:flex;flex-direction:column;padding-top:2px}.about-button{margin-left:auto;font-size:11px;letter-spacing:.08em;padding:10px 0}.about-button span{margin-left:8px}
.weather-block{position:absolute;top:116px;right:40px;text-align:right;pointer-events:none}.time-row{display:flex;align-items:baseline;justify-content:flex-end;gap:9px}.time-row time{font-size:32px;font-weight:300;letter-spacing:-.035em;font-variant-numeric:tabular-nums}.time-row>span{font-size:9px;color:var(--muted)}#weather-summary{font-size:11px;line-height:2.6;color:var(--muted)}.weather-caption{display:flex;flex-direction:column;font-size:8px;letter-spacing:.15em;gap:7px;color:var(--muted)}.map-caption{position:absolute;left:40px;bottom:146px;display:flex;flex-direction:column;gap:8px;font-size:8px;letter-spacing:.2em;color:var(--muted);pointer-events:none}
.toolbar{position:absolute;left:50%;bottom:92px;transform:translateX(-50%);display:flex;align-items:center;gap:5px;border:1px solid var(--edge);border-radius:2px;background:var(--panel);backdrop-filter:blur(20px);padding:7px 9px;box-shadow:0 6px 25px #00000008}.toolbar button{display:flex;gap:9px;align-items:center;padding:10px 14px;font-size:10px;letter-spacing:.04em;white-space:nowrap}.toolbar button[aria-pressed=true],.toolbar button[aria-expanded=true]{color:var(--accent)}.tool-symbol{font-size:19px;font-weight:300;line-height:1}.x-symbol{font-size:15px}.tool-divider{height:17px;width:1px;background:var(--edge);margin:0 6px}.zoom-controls{position:absolute;right:40px;bottom:108px;display:flex;gap:8px}.zoom-controls button{width:29px;height:29px;font-size:18px;color:var(--muted);border:1px solid var(--edge);border-radius:50%}
.observation-footer{position:absolute;left:40px;right:40px;bottom:44px;border-top:1px solid var(--edge);padding-top:17px;display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:.09em;color:var(--muted)}.observation{display:flex;gap:13px;align-items:center}.signal{height:5px;width:5px;border:1px solid var(--muted);border-radius:50%}.signal.live{background:var(--accent);border-color:var(--accent)}#status{color:var(--fg)}.counts{display:flex;gap:23px;letter-spacing:0}.counts b{font-weight:400;color:var(--fg);margin-right:4px;font-variant-numeric:tabular-nums}.credits{position:absolute;bottom:max(15px,env(safe-area-inset-bottom));left:40px;font-size:8px;letter-spacing:.04em;color:var(--muted);opacity:.75}
.search-panel,.detail-panel{position:absolute;left:40px;top:126px;width:300px;background:var(--panel);border:1px solid var(--edge);padding:22px;backdrop-filter:blur(24px);max-height:calc(100svh - 300px);overflow:auto;box-shadow:0 15px 40px #0000000b}.search-panel{z-index:5}.search-panel label{display:block;font-size:8px;letter-spacing:.16em;color:var(--muted);margin:0 0 14px}.input-row{display:flex;gap:10px;border-bottom:1px solid var(--edge);margin-bottom:18px;padding-bottom:12px}input{width:100%;border:0;background:none;outline:none;font-size:15px;min-width:0}input::placeholder{color:var(--muted);opacity:.7}.input-row button,.detail-head button{font-size:21px;padding:0 2px;line-height:1}select{width:100%;font-size:11px;border:1px solid var(--edge);padding:10px 7px;background:var(--bg);border-radius:0}#search-results:not(:empty){margin-bottom:22px;display:grid;gap:2px}#search-results button{display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left;padding:11px 0;border-bottom:1px solid var(--edge);font-size:12px}#search-results small{color:var(--muted);font-size:9px}.detail-head{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:.17em;color:var(--muted)}.detail-panel h1{font-weight:400;font-size:26px;letter-spacing:-.035em;margin:23px 0 6px}.detail-en{font-size:9px;letter-spacing:.14em;color:var(--muted);margin:0 0 23px}.detail-section{padding:14px 0;border-top:1px solid var(--edge);font-size:11px;line-height:1.8}.detail-section p{margin:5px 0 0;color:var(--muted);font-size:10px}.line-label{display:flex;align-items:center;gap:8px}.line-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.metadata{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted);padding:5px 0}.metadata strong{font-weight:400;color:var(--fg);text-align:right}.detail-note{font-size:10px;color:var(--muted);line-height:1.8}
#toast{position:absolute;left:50%;bottom:162px;transform:translate(-50%,6px);opacity:0;pointer-events:none;max-width:min(480px,90vw);width:max-content;background:var(--panel);border:1px solid var(--edge);font-size:11px;line-height:1.7;padding:13px 19px;transition:opacity .2s,transform .2s;z-index:20}#toast.visible{opacity:1;transform:translate(-50%,0)}dialog{background:var(--bg);color:var(--fg);border:1px solid var(--edge);max-width:520px;width:calc(100% - 32px);padding:30px;max-height:85svh}dialog::backdrop{background:#08131699;backdrop-filter:blur(9px)}dialog h2{font-family:Georgia,serif;font-weight:400;font-size:46px;line-height:1.06;letter-spacing:-.025em;margin:30px 0}dialog p{font-size:12px;line-height:1.9;color:var(--muted)}dialog a{text-decoration:underline}.legal{border-top:1px solid var(--edge);padding-top:17px;font-size:10px}
@media(max-width:700px){.masthead{top:max(23px,env(safe-area-inset-top));left:22px;right:22px}.wordmark{font-size:11px;letter-spacing:.13em}.edition{display:none}.about-button{padding-top:3px}.about-button span{display:none}.weather-block{top:max(23px,env(safe-area-inset-top));right:63px}.time-row time{font-size:18px;letter-spacing:0}.time-row{gap:5px}.time-row>span{font-size:7px}#weather-summary{font-size:9px;line-height:2.3}.weather-caption{font-size:7px;gap:4px}.map-caption{left:22px;bottom:164px;font-size:7px;gap:6px}.toolbar{bottom:calc(91px + env(safe-area-inset-bottom));max-width:calc(100% - 32px);gap:0;padding:5px}.toolbar button{padding:11px 12px;gap:6px;font-size:9px}.tool-symbol{font-size:17px}.tool-divider{margin:0 3px}.zoom-controls{right:22px;bottom:168px;gap:6px}.zoom-controls button{width:26px;height:26px;font-size:16px}.observation-footer{left:22px;right:22px;bottom:calc(40px + env(safe-area-inset-bottom));padding-top:13px;align-items:flex-start;gap:8px;font-size:8px}.observation{gap:8px;flex-wrap:wrap;max-width:53%}#freshness{width:100%;padding-left:13px;font-size:7px}.counts{gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:47%;font-size:8px}.counts span:first-child{display:none}.credits{left:22px;bottom:calc(16px + env(safe-area-inset-bottom));font-size:7px}.search-panel{left:16px;right:16px;top:100px;width:auto;max-height:calc(100svh - 270px);padding:20px}.detail-panel{left:16px;right:16px;top:auto;bottom:calc(151px + env(safe-area-inset-bottom));width:auto;max-height:36svh;padding:17px 20px;z-index:4}.detail-panel h1{font-size:23px;margin:12px 0 4px}.detail-en{margin-bottom:13px}.detail-section{padding:10px 0}#toast{bottom:calc(155px + env(safe-area-inset-bottom))}dialog{padding:24px}dialog h2{font-size:39px}}
@media(max-width:360px){.toolbar button{padding:10px 9px}.weather-block{right:48px}.wordmark{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* Reference edition: paper / wet glass / cloud, geography beneath the rails. */
:root{--bg:#142632;--fg:#e2e9e9;--muted:#b0c3cd;--panel:#152b38f2;--edge:#b1c6d12b;--accent:#c5ce97}
body[data-theme=paper]{--bg:#ede4d1;--fg:#203b4d;--muted:#4f626b;--panel:#f0e7d6f2;--edge:#354b5b30;--accent:#6d7645}
body[data-theme=cloud]{--bg:#c7d2d9;--fg:#1b374c;--muted:#465f70;--panel:#dbe3e9f2;--edge:#354b5b30;--accent:#596c42}
body[data-theme=rain]{color-scheme:light;--bg:#dce8eb;--fg:#203b4d;--muted:#4f626b;--panel:#dce8ebf2;--edge:#354b5b30;--accent:#596c42}
.atmosphere{display:none}.masthead{top:35px;left:42px;right:42px;align-items:center}.wordmark{flex-direction:row;gap:13px;font-size:17px;line-height:1.1;font-weight:500;letter-spacing:.27em}.wordmark i{padding-left:10px;opacity:1}.edition{display:none}.about-button{position:absolute;top:62px;right:0;font-size:9px;opacity:.65}.about-button span{margin-left:6px}.weather-block{top:32px;right:42px}.time-row{gap:8px}.time-row time{font-size:18px;font-weight:500;letter-spacing:.10em}.time-row>span{font-size:11px;letter-spacing:.12em;color:var(--fg)}#weather-summary{font-size:10px;letter-spacing:.12em;line-height:2.3;color:var(--fg);text-transform:uppercase}.weather-caption{font-size:7px;letter-spacing:.16em;opacity:.8}.map-caption{display:none}
.toolbar{left:31px;bottom:35px;transform:none;background:none;border:0;padding:0;box-shadow:none;backdrop-filter:none;gap:20px;border-radius:0}.toolbar button{font-size:9px;letter-spacing:.19em;text-transform:uppercase;padding:14px 11px}.tool-symbol{display:none}.x-symbol{display:inline-block;font-size:12px}.tool-divider{display:none}.toolbar button[aria-expanded=true],.toolbar button[aria-pressed=true]{text-decoration:underline;text-underline-offset:7px}
.observation-footer{left:auto;right:42px;bottom:44px;border:0;padding:0;font-size:8px;letter-spacing:.14em;display:block;text-align:right}.observation{justify-content:flex-end;gap:10px}.counts{position:absolute;right:0;bottom:-19px;gap:14px;font-size:7px;opacity:.75;white-space:nowrap}.credits{left:42px;bottom:17px;font-size:7px;letter-spacing:.06em;opacity:.85}.zoom-controls{right:42px;bottom:93px;opacity:.65;gap:8px}.zoom-controls button{font-size:16px;width:26px;height:26px;border:0}.search-panel,.detail-panel{top:105px;left:42px;width:300px;border:1px solid var(--edge);box-shadow:0 10px 45px #07162115;backdrop-filter:blur(18px)}.detail-panel h1{font-size:27px}.detail-section{font-size:12px}.detail-section p{font-size:11px}.detail-note{font-size:11px}.detail-en{font-size:9px}.metadata{font-size:10px}#toast{bottom:91px}
@media(max-width:700px){.masthead{left:22px;right:22px;top:max(26px,env(safe-area-inset-top));align-items:flex-start}.wordmark{flex-direction:column;gap:7px;font-size:11px;letter-spacing:.22em}.wordmark i{padding-left:6px}.weather-block{top:max(25px,env(safe-area-inset-top));right:22px}.time-row time{font-size:15px;letter-spacing:.07em}.time-row>span{font-size:8px}.time-row{gap:6px}#weather-summary{font-size:8px;letter-spacing:.075em}.weather-caption{font-size:6px;gap:4px}.about-button{top:66px;right:0;padding:5px;font-size:12px}.toolbar{left:12px;right:12px;bottom:calc(55px + env(safe-area-inset-bottom));max-width:none;justify-content:space-between;gap:0;background:var(--panel);border:1px solid var(--edge);backdrop-filter:blur(12px);padding:2px 4px}.toolbar button{font-size:8px;padding:14px 10px;letter-spacing:.15em}.observation-footer{left:22px;right:22px;bottom:calc(34px + env(safe-area-inset-bottom));font-size:7px;display:block}.observation{max-width:none;justify-content:flex-end;gap:7px;flex-wrap:nowrap}#freshness{width:auto;padding:0;font-size:7px}.counts{display:none}.credits{bottom:calc(13px + env(safe-area-inset-bottom));left:22px;font-size:6px;letter-spacing:0}.zoom-controls{right:17px;bottom:calc(118px + env(safe-area-inset-bottom));gap:8px}.zoom-controls button{width:29px;height:29px;background:var(--panel);border:1px solid var(--edge)}.search-panel{left:14px;right:14px;top:112px;width:auto;max-height:calc(100svh - 260px)}.detail-panel{left:14px;right:14px;top:auto;bottom:calc(112px + env(safe-area-inset-bottom));width:auto;max-height:35svh;padding:18px 21px}.detail-panel h1{font-size:24px}#toast{bottom:calc(114px + env(safe-area-inset-bottom))}}
/* Unobstructed viewing and wallpaper export. */
.focus-exit{position:absolute;top:max(24px,env(safe-area-inset-top));right:24px;padding:14px 16px;background:var(--panel);border:1px solid var(--edge);font-size:9px;letter-spacing:.14em;z-index:12}
.focus-exit span{margin-left:9px}
body.focused .masthead,body.focused .weather-block,body.focused .toolbar,body.focused .zoom-controls,body.focused .observation-footer,body.focused .detail-panel,body.focused .search-panel{visibility:hidden;pointer-events:none}
body.focused .credits{opacity:.55}
body.focused .map-caption{visibility:hidden}
.save-dialog{max-width:400px;padding:26px;background:var(--panel);backdrop-filter:blur(24px)}
.save-intro{font-size:16px;color:var(--fg);margin:25px 0 23px;letter-spacing:.03em}
.save-choice{display:block;width:100%;text-align:left;padding:20px 0;border-top:1px solid var(--edge)}
.save-choice strong{display:flex;align-items:center;justify-content:space-between;font-size:16px;font-weight:400;letter-spacing:.04em}
.save-choice small{display:block;margin-top:10px;font-size:10px;line-height:1.9;color:var(--muted)}

#save-status{min-height:18px;margin:7px 0 0}
body.exporting #map,body.exporting .toolbar,body.exporting .zoom-controls{pointer-events:none}
.toolbar button,.zoom-controls button,.focus-exit{transition:opacity .2s,color .2s}

/* Observation edition: a shared light language and quiet, legible controls. */
body{--observed:#e6e9c6;--estimated:#c9a36a}
body[data-theme=paper],body[data-theme=cloud]{--observed:#263f35;--estimated:#8d5d2b}
.masthead{display:block}.wordmark{font-size:15px;letter-spacing:.23em}
.edition{display:block;margin-top:13px;padding:0;font-size:10px;letter-spacing:.12em;line-height:1.6}
.about-button{top:85px;min-width:44px;min-height:44px;opacity:.8}
.weather-block{top:22px}.observation-date{font-size:9px;letter-spacing:.1em;color:var(--muted);margin-bottom:7px;text-transform:uppercase}
.time-row time{font-size:19px}.weather-caption{font-size:9px;letter-spacing:.1em;gap:5px;opacity:1}
.toolbar{left:31px;bottom:35px;gap:20px}.toolbar button{min-height:44px;font-size:10px}
.secondary-action{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;margin-top:16px;border-top:1px solid var(--edge);font-size:12px;text-align:left}
.point-legend{position:absolute;left:42px;bottom:99px;z-index:6;color:var(--fg);font-size:10px}
.point-legend summary{list-style:none;display:flex;align-items:center;gap:20px;min-height:36px;cursor:pointer;letter-spacing:.025em}
.point-legend summary::-webkit-details-marker{display:none}
.point-legend summary:focus-visible{outline:1px solid var(--fg);outline-offset:4px}
.legend-item{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.legend-mark{display:inline-block;width:7px;height:7px;flex:none;border-radius:50%;font-style:normal}
.legend-mark.observed{background:var(--observed);box-shadow:0 0 0 3px color-mix(in srgb,var(--observed) 9%,transparent)}
.legend-mark.timetable,.legend-mark.station-estimate{border:1px solid var(--estimated)}
.legend-mark.station-estimate{border-top-color:transparent;transform:rotate(20deg)}
.legend-notes{position:absolute;bottom:43px;left:0;width:340px;max-width:calc(100vw - 44px);padding:18px 20px;background:var(--panel);border:1px solid var(--edge);backdrop-filter:blur(16px);max-height:50svh;overflow:auto}
.legend-notes p{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 15px}.legend-notes p:last-child{margin-bottom:0}
.legend-notes strong{display:block;margin-bottom:5px;font-size:10px;font-weight:500;letter-spacing:.07em;color:var(--fg)}
.observation-footer{font-size:10px;letter-spacing:.04em;bottom:48px}.counts{font-size:8px}
.zoom-controls button{width:44px;height:44px}.zoom-controls{bottom:91px}
.focus-exit{background:transparent;border:0;opacity:.65;min-width:44px;min-height:44px}
body.focused .point-legend{visibility:hidden;pointer-events:none}
@media(max-width:700px){
 .masthead{left:22px;right:22px;top:max(25px,env(safe-area-inset-top))}.wordmark{font-size:10px;letter-spacing:.19em;gap:7px}
 .edition{font-size:9px;letter-spacing:.04em;margin-top:11px}.about-button{top:91px;font-size:11px}.about-button span{display:inline;margin-left:4px}
 .weather-block{top:max(24px,env(safe-area-inset-top));right:22px}.observation-date{font-size:8px;margin-bottom:6px}
 .time-row time{font-size:15px}.weather-caption{font-size:8px;gap:4px}#weather-summary{font-size:9px}
 .toolbar{left:22px;right:22px;bottom:calc(90px + env(safe-area-inset-bottom));padding:0;background:var(--panel);border:0;border-top:1px solid var(--edge);gap:0}
 .toolbar button{justify-content:center;flex:1;min-height:44px;font-size:10px;padding:12px 8px}
 .point-legend{left:22px;right:22px;bottom:calc(61px + env(safe-area-inset-bottom));font-size:10px}
 .point-legend summary{justify-content:space-between;gap:8px;min-height:29px}.legend-item{gap:7px}.legend-notes{bottom:82px;width:100%;max-width:none;max-height:48svh}
 .observation-footer{left:22px;right:22px;bottom:calc(24px + env(safe-area-inset-bottom));font-size:9px;letter-spacing:.015em;text-align:left}
 .observation{justify-content:flex-start;flex-wrap:wrap;gap:4px 7px}.signal{flex-shrink:0}#status{max-width:calc(100% - 12px)}#freshness{flex-basis:100%;padding-left:12px;font-size:9px}
 .credits{bottom:calc(7px + env(safe-area-inset-bottom));font-size:6px}
 .zoom-controls{right:17px;bottom:calc(141px + env(safe-area-inset-bottom));gap:2px}.zoom-controls button{width:44px;height:44px;background:none;border:0}
 .search-panel{top:155px;max-height:calc(100svh - 300px)}.detail-panel{bottom:calc(143px + env(safe-area-inset-bottom));max-height:40svh}#toast{bottom:calc(145px + env(safe-area-inset-bottom))}
}
@media(max-width:360px){.point-legend{font-size:9px}.legend-item{gap:5px}.edition{font-size:8px}.wordmark{font-size:9px}#weather-summary{font-size:8px}.weather-caption{font-size:7px}}

/* Acquisition state belongs to the observation, with source detail on demand. */
.observation-footer{z-index:7;bottom:40px}.observation-footer details{position:relative}
.observation-footer summary{list-style:none;cursor:pointer;min-height:44px}.observation-footer summary::-webkit-details-marker{display:none}
.observation-footer summary:focus-visible{outline:1px solid var(--fg);outline-offset:4px}
.data-status-panel{position:absolute;right:0;bottom:110px;width:400px;max-width:calc(100vw - 44px);max-height:60svh;overflow:auto;background:var(--panel);border:1px solid var(--edge);backdrop-filter:blur(16px);padding:18px 20px;text-align:left;letter-spacing:0}
.data-status-heading{font-size:10px;letter-spacing:.1em;color:var(--muted);margin-bottom:8px}
.data-state-row{border-top:1px solid var(--edge);padding:12px 0}.data-state-heading{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--fg)}
.data-state-count{font-size:10px;color:var(--muted);margin:7px 0}.data-state-row dl{display:grid;grid-template-columns:55px 1fr;gap:5px;font-size:10px;line-height:1.5;color:var(--muted);margin:0}.data-state-row dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}
.data-state-row[data-status=failed] .data-state-heading,.data-state-row[data-status=partial] .data-state-heading{font-weight:500}
.data-status-note{border-top:1px solid var(--edge);font-size:10px;line-height:1.8;color:var(--muted);margin:0;padding-top:12px}
.about-counts{display:flex;flex-wrap:wrap;gap:16px;font-size:10px;color:var(--muted)}.about-counts b{font-weight:400}
@media(max-width:700px){.observation-footer{bottom:calc(18px + env(safe-area-inset-bottom))}.observation-footer summary{min-height:40px;gap:3px 7px;align-content:center}.observation-footer #freshness{font-size:9px}.data-status-panel{left:0;right:0;bottom:128px;width:auto;max-width:none;max-height:55svh;padding:16px 18px}.data-state-row{padding:10px 0}.data-state-heading{font-size:11px}.data-state-row dl{grid-template-columns:50px 1fr;font-size:10px}.data-state-row dd{overflow-wrap:anywhere}}

/* October reference: clear daylight, deep night, and pale daylight rain. */
body[data-theme=paper]{--bg:#f5f6f0;--fg:#183b4a;--muted:#526b73;--panel:#f5f6f0f2;--edge:#183b4a25;--observed:#263f35}
body[data-theme=rain]{--bg:#dce8eb;--fg:#183b4a;--muted:#4a6875;--panel:#e4edf0f2;--edge:#183b4a28;--observed:#263f35}
body[data-theme=ink]{--bg:#102730;--fg:#e2e9e9;--muted:#b0c3cd;--panel:#102730f2;--edge:#b1c6d12b;--observed:#e6e9c6}
.wordmark{font-size:13px;letter-spacing:.22em;font-weight:400}.edition{font-size:8px;margin-top:9px;letter-spacing:.19em}
.weather-block{top:30px}.observation-date{font-size:8px;opacity:.7}.time-row time{font-size:18px;font-weight:400}
.weather-caption{font-size:8px;letter-spacing:.12em}.solar-progress{width:174px;margin:13px 0 0 auto}
.solar-track{height:1px;background:var(--edge);position:relative}.solar-track i{position:absolute;top:-3px;width:7px;height:7px;border-radius:50%;background:#bb782f;transform:translateX(-50%)}
.solar-labels{display:flex;justify-content:space-between;font-size:6px;letter-spacing:.09em;margin-top:8px;gap:12px}
.about-button{top:122px}.point-legend{left:auto;right:42px;bottom:91px;font-size:9px}.point-legend summary{min-height:44px;gap:8px}.legend-notes{left:auto;right:0}.legend-mark.observed{box-shadow:none}
.toolbar{gap:16px}.toolbar button{font-size:9px}.zoom-controls{bottom:146px}
@media(max-width:700px){
 .masthead{top:max(25px,env(safe-area-inset-top));left:22px}.wordmark{font-size:10px;letter-spacing:.19em;gap:6px}.edition{display:none}
 .weather-block{top:max(24px,env(safe-area-inset-top));right:22px}.observation-date{display:none}.time-row time{font-size:15px}
 .solar-progress{width:134px;margin-top:10px}.solar-labels{font-size:5px;gap:5px}.weather-caption{font-size:7px}.about-button{top:115px}
 .toolbar{left:18px;right:18px;background:transparent;border:0;backdrop-filter:none;padding:0;bottom:calc(57px + env(safe-area-inset-bottom))}
 .point-legend{left:22px;right:auto;bottom:calc(106px + env(safe-area-inset-bottom));font-size:8px}.point-legend summary{gap:7px}.legend-notes{left:0;right:auto;bottom:45px}
 .zoom-controls{bottom:calc(158px + env(safe-area-inset-bottom))}.credits{font-size:6px}
}


.scene-weather{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}.masthead,.weather-block,.footer-text{z-index:4}

/* Detail content reads as an editorial note, with state and source text kept secondary. */
.detail-panel{font-family:inherit}
.detail-panel .detail-head{font-size:8px;font-weight:400;letter-spacing:.18em}
.detail-panel h1{font-size:27px;font-weight:400;line-height:1.2;letter-spacing:-.025em;margin:20px 0 5px}
.detail-panel .detail-en{font-size:9px;font-weight:400;line-height:1.5;letter-spacing:.14em;margin:0 0 20px}
.detail-panel .detail-section{padding:13px 0;font-size:11px;font-weight:400;line-height:1.65}
.detail-panel .detail-section p{font-size:11px;line-height:1.65;margin-top:6px}
.detail-panel .metadata{align-items:baseline;gap:14px;font-size:9px;line-height:1.55;padding:5px 0}
.detail-panel .metadata span{letter-spacing:.06em}
.detail-panel .metadata strong{font-size:10px;font-weight:400;line-height:1.5;max-width:65%;overflow-wrap:anywhere}
@media(max-width:700px){
 .detail-panel h1{font-size:24px;margin:14px 0 5px}
 .detail-panel .detail-en{font-size:8px;margin-bottom:15px}
 .detail-panel .detail-section{font-size:11px;padding:11px 0}
 .detail-panel .detail-section p{font-size:11px}
 .detail-panel .metadata{font-size:9px;padding:4px 0}
 .detail-panel .metadata strong{font-size:10px}
}

.language-setting{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--edge);margin-top:10px;padding-top:8px}
.language-setting .detail-head{margin:0}
.language-toggle{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:0;width:88px;height:44px}
.language-toggle::before{content:"";position:absolute;z-index:0;inset:8px 0;border:1px solid var(--edge);border-radius:4px;background:var(--glass);pointer-events:none}
.language-toggle::after{content:"";position:absolute;z-index:2;left:50%;top:50%;width:1px;height:12px;transform:translate(-50%,-50%);background:var(--edge);pointer-events:none}
.language-toggle button{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;background:transparent;color:var(--muted);font:inherit;font-size:10px;letter-spacing:0;cursor:pointer}
.language-toggle button::before{content:"";position:absolute;z-index:0;inset:11px 6px;border-radius:3px;background:transparent;pointer-events:none}
.language-toggle button[aria-pressed=true]{color:var(--fg);font-weight:500}
.language-toggle button[aria-pressed=true]::before{background:var(--edge)}
.language-toggle button span{position:relative;z-index:1}
