﻿*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#03101e;color:#eaf5ff;font-family:"Noto Sans JP","Meiryo","Yu Gothic",sans-serif;font-synthesis:none}#stage{position:absolute;left:50%;top:50%;width:1920px;height:1080px;transform-origin:center center;overflow:hidden;background:linear-gradient(150deg,#071529,#051321)}p,h2{margin:0}strong,b{font-weight:800}small{font-size:14px}span,div{min-width:0}.orange{color:#ffac30!important}.muted{color:#8eafc7}
.masthead{height:92px;display:flex;align-items:center;gap:17px;background:linear-gradient(105deg,#075db9 0%,#07376f 23%,#081d3c 26%,#061123 72%,#082751 100%);border-bottom:3px solid #0a84ec;padding:0 13px;box-shadow:0 4px 18px #000b}.brand{display:flex;align-items:center;width:475px;gap:12px;flex-shrink:0}.brand-icon{width:94px;height:75px;display:grid;place-items:center;filter:drop-shadow(0 0 10px #168de97c)}.brand-icon svg{width:92px}.brand strong{font-size:34px;white-space:nowrap;letter-spacing:.2px}.brand small{display:block;font-size:17px;letter-spacing:1.1px;color:#c4e5ff}.heading{height:75px;border-left:3px solid #378ed7;padding-left:22px;display:flex;flex-direction:column;justify-content:center;gap:1px;flex:1}.heading strong{font-size:45px;line-height:1.15;letter-spacing:2px;text-shadow:0 2px 3px #000}.heading span{font-size:18px;color:#d2e4f7}.datetime{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.datetime span{font-size:18px;color:#d8eaff}.datetime strong{font-size:48px;letter-spacing:1.5px;font-variant-numeric:tabular-nums}.on-air{background:linear-gradient(100deg,#c90020,#f32338);padding:12px 21px;border-radius:9px;font-size:40px;font-weight:900;letter-spacing:1px;display:flex;align-items:center;gap:11px;box-shadow:0 0 16px #df102e7a}.pulse{background:#fff;border-radius:50%;height:17px;width:17px;animation:pulse 2s ease-in-out infinite}@keyframes pulse{50%{opacity:.35}}
.body-grid{height:928px;padding:7px 9px;display:grid;grid-template-columns:42% minmax(0,58%);gap:8px}.frame{min-width:0;min-height:0;border-radius:12px;border:2px solid #126fc5;box-shadow:inset 0 0 18px #0364a02d,0 0 15px #0010;overflow:hidden;background:linear-gradient(#081e38,#06182d)}.disaster-frame{border-color:#e29a1b;background:linear-gradient(#1a2130,#071727)}.frame-title{height:62px;padding:0 14px;display:flex;align-items:center;gap:11px;border-bottom:2px solid #177eda;white-space:nowrap}.crime-title{background:linear-gradient(100deg,#0958ab,#073160 69%,#071c32)}.disaster-title{border-bottom-color:#dc8c14;background:linear-gradient(100deg,#8f4305,#39240e 68%,#221c23)}.frame-title .heading-icon{font-size:34px;color:#eafaff}.frame-title strong{font-size:32px;text-shadow:0 2px 6px #0015}.frame-title small{font-size:15px;color:#c5dbf0}.frame-title b{margin-left:auto;font-size:16px;color:#82d0ff}.disaster-title b{color:#ffdb92}
.panel{border:1px solid #236493;background:#071e36;border-radius:7px;overflow:hidden;box-shadow:inset 0 0 14px #063055}.crime-layout,.disaster-layout{height:calc(100% - 62px);padding:9px;display:flex;flex-direction:column;gap:8px}
.crime-hero{height:407px;display:grid;grid-template-columns:192px minmax(0,1fr);gap:8px;flex-shrink:0}.crime-summary{padding:11px 12px;background:linear-gradient(#092a4c,#071f39)}.caps{font-size:14px;letter-spacing:1.5px;color:#58baff;font-weight:800}.crime-summary h2{font-size:22px;margin:7px 0 12px}.summary-stat{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #295879;padding:10px 1px}.summary-stat small{color:#c0dbed;font-size:15px}.summary-stat strong{font-size:28px}.legend-title{font-size:15px;color:#b5d3e9;font-weight:800;margin:16px 0 7px}.legend-list{display:grid;grid-template-columns:1fr 1fr;gap:7px 4px;font-size:13px}.legend-list>div{display:flex;align-items:center;gap:5px;white-space:nowrap}.square{width:12px;height:12px;border-radius:3px;display:inline-block;flex-shrink:0}.summary-caution{color:#92b5cf;font-size:11px;line-height:1.45;margin-top:14px}.crime-map,.disaster-map{position:relative;background:radial-gradient(ellipse at 50% 42%,#123e60 0%,#0b2745 47%,#081d35 85%)}.crime-map svg,.disaster-map svg{width:100%;height:100%}.map-mini-heading,.map-topline{position:absolute;left:14px;top:12px;color:#cae9ff;text-shadow:0 1px 3px #000;font-size:14px;z-index:1}.map-caption{position:absolute;bottom:9px;left:12px;font-size:13px;color:#9ebed9}.jp-pref{fill:#22669c;stroke:#b4e6ff;stroke-width:1.1;vector-effect:non-scaling-stroke;transition:fill .5s,filter .5s}.jp-pref.selected{stroke:#fff;stroke-width:3;filter:drop-shadow(0 0 9px #ffc65f)}.map-ranking{position:absolute;right:8px;top:9px;width:172px;border:1px solid #2677b9;border-radius:6px;background:#052343e8;box-shadow:0 6px 12px #001a;padding:8px 9px}.rank-title{color:#a9dafa;font-weight:800;font-size:15px;margin-bottom:5px}.rank-row{height:32px;display:flex;align-items:center;gap:7px;border-top:1px solid #16446d;font-size:14px}.rank-row .number{width:20px;height:22px;background:#105089;border:1px solid #438dc4;text-align:center;border-radius:3px;line-height:20px}.rank-row .region{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.rank-row .value{color:#ffb65c;font-size:17px;font-weight:800}
.spotlight{height:118px;flex-shrink:0;padding:7px 13px;background:linear-gradient(105deg,#0b3b6e,#08213c)}.spot-top{display:flex;gap:12px;align-items:center;color:#5cc2ff;font-size:13px;font-weight:800;letter-spacing:.6px}.spot-top span:nth-child(2){margin-left:auto}.spot-top span:last-child{color:#87b8de}.spot-body{display:flex;gap:12px;align-items:center;margin-top:5px}.spot-pref{width:275px;display:flex;align-items:center;gap:12px;flex-shrink:0}.spot-pref>strong{font-size:29px;white-space:nowrap}.spot-pref>div{display:flex;align-items:baseline;gap:5px;white-space:nowrap}.spot-pref>div span{font-size:13px;color:#add4ec}.spot-pref b:not(.spot-level){font-size:27px;color:#fff}.spot-pref>div small{font-size:12px;color:#91b6d1}.spot-level{font-size:14px;padding:5px 11px;border-radius:18px;background:#1967b9;white-space:nowrap}.spot-news{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}.spot-news span{color:#57bfff;font-weight:800;font-size:12px}.spot-news strong{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.spot-news small{color:#8db3d0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.progress{height:4px;background:#244866;margin-top:5px;overflow:hidden;border-radius:3px}.progress>span{display:block;height:100%;background:#3cbcff;width:0}
.news-board{height:203px;flex-shrink:0}.panel-heading{height:37px;background:linear-gradient(90deg,#0a5086,#0c2a47);padding:0 12px;display:flex;align-items:center;gap:13px;border-bottom:1px solid #30608a}.panel-heading strong{font-size:20px;white-space:nowrap}.panel-heading span{color:#9ebfd9;font-size:13px}.panel-heading em{font-style:normal;margin-left:auto;font-size:13px;color:#a2d6ff}.panel-heading.red{background:linear-gradient(90deg,#70202e,#1a273e)}.panel-heading.gold{background:linear-gradient(90deg,#735022,#102943)}.news-rows{height:157px;display:flex;flex-direction:column;padding:3px 11px;overflow:hidden}.news-line{height:49px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #244360;min-width:0}.news-line .date{font-size:13px;flex-shrink:0;color:#9bbbd4;width:98px;white-space:nowrap}.sev-tag{font-size:12px;color:#fff;padding:3px 7px;min-width:43px;text-align:center;border-radius:4px;font-weight:800;flex-shrink:0;background:#cf6d18}.sev-tag.high{background:#ed3343}.sev-tag.medium{background:#e58e1b}.sev-tag.low{background:#227cbd}.news-line strong{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.subtle{margin:0;height:3px;background:#143c60}
.crime-bottom{height:82px;display:grid;grid-template-columns:52% 1fr;gap:8px;flex-shrink:0}.mini{padding:8px 11px}.mini-head{font-size:17px;font-weight:800;display:flex;gap:8px;align-items:baseline;white-space:nowrap}.mini-head span{font-size:11px;color:#a0bfd7;font-weight:500}.bar-chart{height:45px;display:flex;align-items:end;gap:7px;padding-top:4px}.bar-col{height:100%;flex:1;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:2px;min-width:0}.bar-col .bar-track{height:25px;width:100%;display:flex;align-items:flex-end;justify-content:center}.bar-col .bar{width:83%;min-height:2px;border-radius:3px 3px 0 0}.bar-col .bar-label{font-size:11px;color:#a8cbe5}.crime-categories{display:flex;gap:6px;align-items:center;height:42px}.crime-cat{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;border-left:1px solid #28526f;gap:2px}.crime-cat strong{font-size:18px}.crime-cat span{font-size:11px;color:#a5c8df;white-space:nowrap}
.disaster-kpis{height:99px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;flex-shrink:0}.kpi{min-width:0;background:linear-gradient(125deg,#12324b,#0c233d);border-radius:7px;border:2px solid #27609b;border-top-width:5px;padding:9px 10px 6px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:inset 0 0 15px #04476b40}.kpi-top{display:flex;gap:7px;align-items:center;white-space:nowrap}.kpi-top span{font-size:23px}.kpi-top strong{font-size:17px}.kpi-value{font-size:29px;font-weight:900;line-height:1}.kpi-value.word{font-size:18px;line-height:1.2}.kpi .pending{color:#c6d9e9}.kpi>small{font-size:11px;color:#a2bdcf;white-space:nowrap}.kpi-red{border-color:#f04454}.kpi-red .kpi-top span{color:#ff525c}.kpi-blue{border-color:#0ca2ed}.kpi-blue .kpi-top span{color:#60caff}.kpi-violet{border-color:#9858e5}.kpi-violet .kpi-top span{color:#c399ff}.kpi-gold{border-color:#e6a21f}.kpi-gold .kpi-top span{color:#ffd15c}.kpi-green{border-color:#22bda1}.kpi-green .kpi-top span{color:#5cffd6}
.disaster-center{height:420px;display:grid;grid-template-columns:64% minmax(0,1fr);gap:8px;flex-shrink:0}.map-topline{left:13px;top:10px;display:flex;flex-direction:column}.map-topline strong{font-size:21px}.map-topline span{font-size:12px;color:#78cfff}.disaster-map{background:radial-gradient(ellipse at 50% 42%,#173a4c,#071d30 80%)}.disaster-map .jp-pref{fill:#1a3b50;stroke:#85c7dd;stroke-width:1}.disaster-map .weather-pref{fill:#134f79;stroke:#9bdaf1}.disaster-map .highlight-pref{fill:#267fab;filter:drop-shadow(0 0 7px #3ecbff)}.quake-dot{fill:#ff5157;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 6px #f42736)}.quake-ring{fill:none;stroke:#ff596a;stroke-width:3;vector-effect:non-scaling-stroke;opacity:.62}.map-key{position:absolute;bottom:24px;left:11px;display:flex;gap:14px;align-items:center;color:#bfdcf3;font-size:13px;background:#031b2ac7;padding:5px 7px;border-radius:4px}.map-key>div{display:flex;gap:7px;align-items:center}.key-dot{width:12px;height:12px;background:#fa4c58;border-radius:50%;display:inline-block;border:2px solid #fff}.key-fill{width:12px;height:12px;background:#267fab;border:1px solid #b5e1ff;display:inline-block}.map-attribution{position:absolute;bottom:7px;left:12px;font-size:11px;color:#7c9aac}
.alerts{display:flex;flex-direction:column;min-height:0}.alerts-list{flex:1;min-height:0;padding:4px 11px;overflow:hidden}.alert-item{height:107px;display:flex;align-items:flex-start;gap:9px;padding-top:12px;border-bottom:1px solid #264866}.alert-item .alert-icon{width:43px;height:43px;flex-shrink:0;background:#8c2430;border-radius:7px;text-align:center;line-height:43px;color:#ffced1;font-size:27px}.alert-item.weather .alert-icon{background:#144c78;color:#7cd0ff}.alert-item.tsunami .alert-icon{background:#543476;color:#e8b8ff}.alert-item .alert-content{min-width:0;flex:1}.alert-item .alert-content strong{font-size:17px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.alert-item .alert-content p{font-size:14px;line-height:1.4;color:#c4d6e7;margin:4px 0;height:40px;overflow:hidden}.alert-item .alert-content small{display:block;color:#8cabc6;font-size:12px}.data-stamp{border-top:1px solid #356084;background:#0a233b;color:#9dc1d9;font-size:11px;padding:5px 10px;height:23px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.disaster-lower{height:186px;display:grid;grid-template-columns:48% minmax(0,1fr);gap:8px;flex-shrink:0}.lower-panel{min-width:0}.lower-panel .panel-heading strong{font-size:19px}.lower-list{padding:6px 10px;display:flex;flex-direction:column;gap:3px;overflow:hidden}.lower-row{height:39px;display:flex;align-items:center;gap:9px;padding:2px 4px;border-bottom:1px solid #214363;min-width:0}.lower-row .when{color:#94bad5;font-size:13px;white-space:nowrap;width:98px;flex-shrink:0}.lower-row strong{font-size:16px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lower-row .pill{border-radius:4px;padding:3px 6px;font-size:12px;white-space:nowrap;background:#234e94;margin-left:auto;flex-shrink:0}.lower-row .pill.hot{background:#cd3d43}.lower-row small{color:#9dbfce;font-size:12px;white-space:nowrap;margin-left:auto}.lower-row.warning-item{height:42px}
.rotation-panel{height:104px;display:flex;gap:12px;align-items:center;padding:7px 12px;position:relative;flex-shrink:0;background:linear-gradient(90deg,#123d64,#0e2848)}.rotation-title{width:155px;display:flex;flex-direction:column;gap:5px}.rotation-title>div:first-child{display:flex;flex-direction:column;gap:2px}.rotation-title span{font-size:12px;color:#64bdfa;font-weight:800;letter-spacing:.7px}.rotation-title strong{font-size:19px}.rotation-title small{font-size:10px;color:#f1c881}.topic-count{font-size:13px;color:#bed9ee}.rotation-content{flex:1;display:flex;align-items:center;gap:12px;min-width:0}.topic-icon{width:62px;height:64px;display:grid;place-items:center;background:linear-gradient(#135b89,#0c3861);border:1px solid #267fbc;border-radius:8px;font-size:34px;color:#78d4ff;flex-shrink:0}.rotation-content>div:last-child{min-width:0}.rotation-content strong{font-size:22px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rotation-content p{font-size:14px;color:#abc9df;margin:6px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rotation-panel .progress{position:absolute;bottom:0;left:0;width:100%;height:3px;margin:0}.amber-progress>span{background:#f7ba45}
.ticker{height:60px;display:flex;align-items:center;border-top:3px solid #c88518;background:linear-gradient(95deg,#291525,#111b2b);overflow:hidden}.ticker-label{height:100%;width:200px;display:flex;align-items:center;justify-content:center;background:#b32032;color:#fff;font-size:23px;font-weight:900;gap:9px;flex-shrink:0}.ticker-label span{font-size:24px;color:#ffcd4a}.ticker-window{height:100%;flex:1;display:flex;align-items:center;overflow:hidden;position:relative}.ticker-text{font-size:21px;display:inline-block;font-weight:700;white-space:nowrap;padding-left:100%;animation:marquee 78s linear infinite}@keyframes marquee{to{transform:translateX(-100%)}}.ticker-health{height:100%;min-width:180px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;color:#8fe1c5;border-left:1px solid #384a60}.emergency{position:absolute;z-index:10;inset:116px 100px 90px 775px;background:linear-gradient(135deg,#5e0718,#270b1b);border:7px solid #fa445b;border-radius:18px;box-shadow:0 0 0 3000px #000b,0 0 65px #ff223577;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:40px;text-align:center}.emergency.hidden{display:none}.e-heading{font-size:46px;font-weight:900;color:#ffb9bd}.emergency>strong{font-size:53px}.emergency>b{font-size:91px;color:#ffe379}.emergency>p{font-size:26px}.emergency>div:last-child{font-size:18px;color:#ffc8d0}

/* Broadcast-only motion and readability refinements */
.ticker-text{padding-left:0;animation:marquee 75s linear infinite}
@keyframes marquee{0%{transform:translateX(1250px)}100%{transform:translateX(-100%)}}
.news-line,.alert-item,.lower-row{animation:feed-appear .55s ease-out both}
@keyframes feed-appear{from{opacity:.3;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

/* Avoid dark flicker while automatic lists advance */
.news-line,.alert-item,.lower-row{animation:feed-appear .25s ease-out both}
@keyframes feed-appear{from{opacity:.88;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}

/* v0.3 official logo and one unified five-second progress bar */
.brand{width:475px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:7px;padding:0 0 0 7px}
.brand-logo{display:block;width:445px;height:auto;max-height:34px;object-fit:contain;object-position:left center;filter:drop-shadow(0 0 4px #0006)}
.brand-caption{font-size:15px;letter-spacing:2px;font-weight:750;color:#bcd9f8;margin-left:5px;white-space:nowrap}
.news-board .news-rows{height:calc(100% - 37px)}
.news-board .progress{display:none}
.crime-bottom .mini-head{align-items:center;justify-content:space-between;gap:5px}
.crime-bottom .mini-head span{font-size:11px;white-space:nowrap;color:#a5cce9}

/* Keep the uploaded red/black AKBGADGET wordmark legible and unmodified. */
.brand{gap:3px}
.brand-logo{width:455px;height:54px;max-height:54px;box-sizing:border-box;padding:9px 11px;background:linear-gradient(120deg,#fff,#e5edf8);border:1px solid #c8d9ed;border-radius:9px;object-fit:contain;filter:drop-shadow(0 2px 5px #001b45aa)}
.brand-caption{font-size:12px;margin-left:8px;letter-spacing:1.8px}

/* v0.4: 8s synchronized crime rotation and non-overlapping stacked spotlight */
.crime-hero{height:380px}
.spotlight{height:145px;padding:8px 13px}
.spot-top{height:16px;gap:10px;align-items:center}
.spot-top span:last-child{margin-left:0}
.spot-body{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin-top:2px}
.spot-pref{width:100%;height:40px;display:flex;align-items:center;gap:14px;flex-shrink:0;overflow:hidden}
.spot-pref>strong{font-size:30px;line-height:1.12;white-space:nowrap;flex-shrink:0;max-width:200px;min-width:0}
.spot-pref>div{flex-shrink:0;gap:5px}
.spot-pref>div span{font-size:15px}
.spot-pref b:not(.spot-level){font-size:29px}
.spot-level{margin-left:0;flex-shrink:0;padding:5px 14px}
.spot-news{width:100%;flex:0 0 auto;display:flex;flex-direction:column;gap:2px;margin:0;min-width:0}
.spot-news span{font-size:13px;line-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spot-news strong{font-size:17px;line-height:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spot-news small{font-size:12px;line-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spotlight>.progress{margin-top:5px}

/* v0.6 - fit all five warning legend labels inside left summary */
.crime-summary{padding:10px 12px}
.crime-summary h2{margin:5px 0 8px}
.summary-stat{padding:7px 1px}
.legend-title{margin:8px 0 5px}
.legend-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:2px;row-gap:5px;font-size:12px}
.legend-list>div{min-width:0;display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:12px;line-height:16px}
.legend-list .square{width:11px;height:11px}
.summary-caution{margin-top:8px;font-size:10px;line-height:1.35}
.crime-map .map-caption{display:none}

/* v0.7 notice relocated and Southwest Island geo-inset */
.crime-summary .summary-caution{display:none}
.crime-map .map-note{
 position:absolute;right:10px;bottom:7px;z-index:3;
 padding:3px 6px;border-radius:4px;background:rgba(4,17,35,.88);
 color:#a6c9e1;font-size:10px;line-height:1.35;text-align:right;
 white-space:nowrap;pointer-events:none
}
.crime-map .island-inset{
 position:absolute;right:10px;bottom:39px;z-index:2;width:252px;height:125px;
 border:1px solid #42759c;border-radius:6px;
 background:linear-gradient(170deg,rgba(5,34,61,.96),rgba(4,26,47,.97));
 box-shadow:0 4px 12px #0008;overflow:hidden;
}
.island-inset.inset-active{border-color:#ffe2a4;box-shadow:0 0 10px #f7b94f88}
.island-inset-title{height:23px;padding:3px 9px;font-size:13px;font-weight:800;color:#cce9fd;line-height:17px}
.island-inset-title small{font-size:10px;font-weight:500;color:#93c1dd;margin-left:5px}
#island-map-svg{width:100%;height:92px;display:block}
#island-map-svg .inset-pref{stroke:#c1dfff;stroke-width:.7;vector-effect:non-scaling-stroke}
#island-map-svg .inset-pref.selected{stroke:#fff;stroke-width:2;filter:drop-shadow(0 0 5px #fbc75c)}
#island-map-svg .inset-label{font-size:11px;font-weight:800;fill:#e6f8ff;stroke:#04213e;stroke-width:2;paint-order:stroke}
.island-inset-label{position:absolute;bottom:2px;right:8px;color:#85a9c6;font-size:9px}

/* v0.8: Southwest Islands beneath/left of Kyushu, integrated with the map */
.crime-map .island-inset,
.crime-map .island-inset.inset-active {
  position:absolute;left:12px;right:auto;bottom:6px;top:auto;
  width:244px;height:120px;z-index:2;
  overflow:visible;background:transparent;border:none;border-radius:0;
  box-shadow:none;filter:none;
}
.crime-map .island-inset::before {
  content:"";position:absolute;
  top:-7px;left:100px;width:75px;height:1px;
  background:rgba(149,193,225,.7);transform:rotate(-14deg);
  transform-origin:left center;pointer-events:none;
}
.crime-map .island-inset-title{display:none}
.crime-map #island-map-svg{position:absolute;inset:1px 0 auto 0;height:102px;width:244px;overflow:visible}
.crime-map #island-map-svg .inset-pref{stroke:#aacfe7;stroke-width:.75;filter:none}
.crime-map #island-map-svg .inset-pref.selected{stroke:#e3f2ff;stroke-width:1.2;filter:none}
.crime-map #island-map-svg .inset-label{font-size:10px;fill:#b7daec;stroke:#082341;stroke-width:1.8}
.crime-map .island-inset-label{bottom:0;left:8px;right:auto;color:#8fb6d1;font-size:9px}

/* v0.8.1: short unobtrusive separator immediately below southern Kyushu */
.crime-map .island-inset::before{top:7px;left:120px;width:47px;transform:rotate(-14deg);background:rgba(164,198,222,.56)}

/* v0.9 – disaster mode visuals & quake intensity styling */
.kpi-top span{font-size:26px;line-height:1;filter:drop-shadow(0 0 5px currentColor)}
.kpi-red .kpi-top span{color:#ff6474}.kpi-blue .kpi-top span{color:#55d3ff}
.kpi-violet .kpi-top span{color:#c69aff}.kpi-gold .kpi-top span{color:#ffc557}
.kpi-green .kpi-top span{color:#59e9b7}
.kpi-red{background:linear-gradient(120deg,#402337,#0d2740)}
.kpi-blue{background:linear-gradient(120deg,#0a4460,#102640)}
.kpi-violet{background:linear-gradient(120deg,#362459,#10233b)}
.kpi-gold{background:linear-gradient(120deg,#433623,#0b293d)}
.kpi-green{background:linear-gradient(120deg,#13473f,#0d273d)}
.alert-item .alert-icon{font-size:25px;font-family:"Segoe UI Emoji","Meiryo",sans-serif;text-shadow:0 0 8px #fff5;box-shadow:inset 0 0 10px #ffffff16}
.alert-item.quake .alert-icon{background:linear-gradient(135deg,#ce304a,#842747);color:#ffe8ea}
.alert-item.weather .alert-icon{background:linear-gradient(135deg,#1769ad,#244d91);color:#acf3ff}
.alert-item.tsunami .alert-icon{background:linear-gradient(135deg,#9644b9,#423987);color:#f2d7ff}
.warn-yellow{color:#ffd35d;font-weight:900;text-shadow:0 0 7px #d88e103b}
.warn-red{color:#ff6f71;font-weight:900;text-shadow:0 0 6px #ff43543e}
.warn-clear{color:#8fcea8;font-weight:800}
.warn-cyan{color:#7fd8ff;font-weight:800}
.lower-row.eq-line{gap:6px}
.eq-line .when{width:87px;flex-shrink:0;font-size:12px}
.eq-line .eq-name{flex:1;min-width:40px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eq-line .quake-pill{margin:0;flex-shrink:0;min-width:49px;font-size:12px;font-weight:900;text-align:center;color:#fff}
.quake-pill.q2{background:linear-gradient(110deg,#2566ad,#49aaf8);color:#fff}
.quake-pill.q3{background:linear-gradient(110deg,#c49a20,#ffe171);color:#241d08}
.quake-pill.q4{background:linear-gradient(110deg,#c47b17,#ffc057);color:#291a04}
.quake-pill.q5{background:linear-gradient(110deg,#c94b30,#ff805c)}
.quake-pill.q6{background:linear-gradient(110deg,#a92540,#fc5865)}
.quake-pill.q7{background:linear-gradient(110deg,#7d184d,#dd3d68)}
.eq-line .eq-tsunami{font-size:11px;white-space:nowrap;flex-shrink:0;font-weight:700}
.eq-line .eq-magnitude{font-size:11px;color:#95b8cf;flex-shrink:0;margin-left:0}
.ts-none{color:#afcddc}.ts-unknown{color:#92adc0}
.ts-watch{color:#ffda62;text-shadow:0 0 6px #e1a6327a}
.ts-danger{color:#ff727a;text-shadow:0 0 7px #f2364a8a}
.disaster-map{transition:background .45s ease}
.disaster-map[data-theme="1"]{background:radial-gradient(ellipse at 50% 42%,#163e58,#081c30 80%)}
.disaster-map[data-theme="2"]{background:radial-gradient(ellipse at 50% 42%,#283556,#0c1c31 80%)}
.disaster-map[data-theme="3"]{background:radial-gradient(ellipse at 50% 42%,#333344,#0c1d31 80%)}
.disaster-map[data-theme="4"]{background:radial-gradient(ellipse at 50% 42%,#164237,#0b2333 80%)}
.disaster-map .jp-pref.weather-pref{fill:#1a688e;stroke:#a6ddf4}
.disaster-map .jp-pref.highlight-pref{fill:#248ab0;filter:drop-shadow(0 0 9px #67ceff)}
.disaster-map .quake-dot{stroke:#fff;stroke-width:2;filter:drop-shadow(0 0 7px #ff576e)}
.quake-wave{opacity:0;transform-origin:50% 50%;transform-box:fill-box;stroke-width:2;pointer-events:none;animation:quake-pulse 2.85s ease-out infinite}
@keyframes quake-pulse{0%{transform:scale(.48);opacity:.9;stroke-width:2.8}80%{opacity:.2}100%{transform:scale(2.5);opacity:0;stroke-width:1}}
.map-placeholder{position:absolute;top:43%;left:50%;transform:translate(-50%,-50%);width:75%;max-width:350px;min-height:118px;background:rgba(9,31,54,.80);border:1px solid #427c9b;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:14px;text-align:center;box-shadow:0 0 24px #04121f6e;z-index:3}
.map-placeholder.hidden{display:none}
.map-placeholder span{font-size:28px;color:#8de0ff}
.map-placeholder strong{font-size:20px;color:#ecf8ff}
.map-placeholder small{font-size:12px;line-height:1.35;color:#aed2e7}
.disaster-map[data-theme="2"] .map-placeholder{border-color:#9d75d6}
.disaster-map[data-theme="2"] .map-placeholder span{color:#ceadff}
.disaster-map[data-theme="3"] .map-placeholder{border-color:#c99543}
.disaster-map[data-theme="3"] .map-placeholder span{color:#ffd16b}
.disaster-map[data-theme="4"] .map-placeholder{border-color:#3f9d89}
.disaster-map[data-theme="4"] .map-placeholder span{color:#7ceec4}
.map-key{font-size:11px;gap:9px;max-width:96%}
.map-key>div{gap:5px}
.map-key span{font-size:11px;color:#d3e3f1}
.topic-icon[data-theme="0"]{background:linear-gradient(135deg,#a53b4b,#381b3b);border-color:#e15d68;color:#ffe5e5}
.topic-icon[data-theme="1"]{background:linear-gradient(135deg,#136b9c,#17426e);border-color:#61c5f1;color:#d3f8ff}
.topic-icon[data-theme="2"]{background:linear-gradient(135deg,#7d479d,#25336c);border-color:#b68fe4;color:#efd6ff}
.topic-icon[data-theme="3"]{background:linear-gradient(135deg,#97712b,#44371c);border-color:#e4b849;color:#fff1b6}
.topic-icon[data-theme="4"]{background:linear-gradient(135deg,#24795e,#174641);border-color:#55dab4;color:#d2ffef}

/* v0.11 weather bulletin regions and JMA typhoon center/forecast path */
.disaster-map .jp-pref.weather-pref{stroke:#b8ecff;stroke-width:1.6}
.disaster-map .jp-pref.highlight-pref{filter:drop-shadow(0 0 7px #62c7ee)}
.typhoon-track{stroke:#ffbf48;stroke-width:2.3;stroke-dasharray:10 5;opacity:.9}
.typhoon-core{fill:#ff8667;stroke:#fff4cd;stroke-width:3;filter:drop-shadow(0 0 10px #ff9949)}
.typhoon-forecast{fill:#ffc965;stroke:#ffe9aa;stroke-width:1.3;opacity:.94}
.disaster-map[data-theme="2"] .map-key{background:#142940e8}

/* v0.12 VPS-generated Japanese emergency voice */
.voice-chip{min-width:104px;height:39px;display:flex;align-items:center;justify-content:center;gap:7px;
 border:1px solid #326d92;border-radius:7px;color:#bde5fa;background:#102b43;font-size:16px;font-weight:700}
.voice-led{width:10px;height:10px;border-radius:50%;background:#56cda5;box-shadow:0 0 8px #5eebc9}
.voice-caption{position:absolute;bottom:62px;left:38%;width:60%;min-height:0;z-index:8;
 background:rgba(11,37,60,.94);border:1px solid #60b7e2;border-radius:8px;padding:9px 13px;
 color:#effaff;font-size:16px;line-height:1.35;box-shadow:0 0 20px #001a;
 opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .25s,transform .25s}
.voice-caption.show{opacity:1;transform:translateY(0)}

/* v0.13 verified outages/transport reports */
.ops-map-status{position:absolute;z-index:4;top:26%;left:13%;width:73%;max-height:63%;overflow:hidden;
 background:rgba(8,30,52,.94);border:1px solid #3486a9;box-shadow:0 6px 25px #0008;border-radius:10px;
 padding:10px 12px;color:#e5f5ff;display:flex;flex-direction:column;gap:5px}
.ops-map-status.hidden{display:none!important}
.ops-caption{font-size:12px;color:#86d5f8;font-weight:800}
.ops-no-data{font-size:23px;color:#e0f4ff;text-align:center;padding:8px 0}
.ops-has-data{font-size:18px;color:#ffcf69}
.ops-small{font-size:11px;color:#c0d7e6}
.ops-item{display:flex;gap:9px;align-items:center;padding:3px 0;border-bottom:1px solid #ffffff24}
.ops-region{white-space:nowrap;font-size:13px;color:#fff}
.ops-detail{font-size:13px;color:#ffcb73;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.ops-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 10px;margin-top:3px}
.ops-source{display:flex;justify-content:space-between;gap:6px;font-size:11px;padding:3px 4px;background:#173e57;border-radius:3px}
.ops-source>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ops-live{color:#ffbc58!important;font-weight:700}.ops-clear{color:#86dfb8!important;font-weight:700}
.ops-pending{color:#a9bacc!important}.ops-stamp{font-size:10px;color:#80a7bb}
.kpi-value.word{font-size:19px!important}


/* v0.17 - Native 1920x1080 YouTube Live readability pass.
   At 1920x1080 capture the broadcast stage renders 1:1. Existing other sizes retain the responsive preview.
   Prefer readable text over dense microcopy; maintain all data and auto rotations. */
html,body,#stage { font-family:"Noto Sans CJK JP","Noto Sans JP","Meiryo",sans-serif; }
#stage { font-synthesis:none; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
.frame-title strong { font-size:34px; letter-spacing:.2px; }
.frame-title small {font-size:17px;color:#d8ebfa}
.frame-title b {font-size:18px}
.crime-summary h2 {font-size:23px}
.summary-stat small {font-size:17px;letter-spacing:.1px}
.summary-stat strong {font-size:29px}
.caps {font-size:15px}
.legend-title {font-size:17px}
.legend-list {font-size:15px;gap:8px 3px}
.summary-caution {font-size:13px;line-height:1.3}
.map-mini-heading {font-size:16px}
.map-ranking .rank-title {font-size:18px}
.rank-row {font-size:16px}
.rank-row .value {font-size:20px}
.spot-top {font-size:15px}
.spot-top span:last-child {font-size:14px}
.spot-pref>strong {font-size:32px}
.spot-pref>div span {font-size:15px}
.spot-pref>div small {font-size:13px}
.spot-level {font-size:15px}
.spot-news span {font-size:14px}
.spot-news strong {font-size:20px}
.spot-news small {font-size:14px}
.panel-heading strong {font-size:22px}
.panel-heading span {font-size:14px}
.panel-heading em {font-size:14px}
.news-line .date {font-size:15px;width:108px}
.news-line strong {font-size:18px}
.sev-tag {font-size:14px;min-width:48px;padding:4px 7px}
.mini-head {font-size:18px}
.mini-head span {font-size:13px}
.bar-col .bar-label {font-size:13px}
.crime-cat strong {font-size:21px}
.crime-cat span {font-size:13px}
.disaster-kpis .kpi {padding:8px 10px 7px}
.kpi-top {gap:7px}
.kpi-top strong {font-size:20px;letter-spacing:.1px}
.kpi-top span {font-size:26px}
.kpi-value {font-size:34px}
.kpi-value.word {font-size:20px!important;letter-spacing:-.2px}
.kpi>small {font-size:13px;letter-spacing:-.1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.map-topline strong {font-size:24px}
.map-topline span {font-size:14px}
.map-placeholder strong {font-size:24px}
.map-placeholder small {font-size:16px}
.map-key, .map-key span {font-size:13px}
.map-attribution {font-size:12px}
.alert-item {height:109px;padding-top:9px}
.alert-item .alert-icon {width:45px;height:45px;line-height:45px;font-size:29px}
.alert-item .alert-content strong {font-size:20px}
.alert-item .alert-content p {font-size:17px;line-height:1.35;height:47px;margin:4px 0}
.alert-item .alert-content small {font-size:14px}
.data-stamp {font-size:13px;padding:3px 10px}
.lower-panel .panel-heading strong {font-size:21px}
.lower-list {padding:5px 9px}
.lower-row .when {font-size:14px;width:100px}
.lower-row strong {font-size:18px}
.lower-row .pill {font-size:14px;padding:4px 7px}
.lower-row small {font-size:14px}
.eq-line .when {font-size:13px;width:89px}
.eq-line .eq-name {font-size:17px}
.eq-line .quake-pill {font-size:14px}
.eq-line .eq-tsunami {font-size:13px}
.eq-line .eq-magnitude {font-size:13px}
.rotation-title span {font-size:14px}
.rotation-title strong {font-size:21px}
.rotation-title small {font-size:13px}
.topic-count {font-size:15px}
.rotation-content strong {font-size:25px}
.rotation-content p {font-size:17px}
.topic-icon {font-size:36px}
.ticker-text {font-size:24px;letter-spacing:.15px}
.ticker-health {font-size:16px}
.voice-chip {font-size:18px}
.voice-caption {font-size:20px;padding:12px 16px}
.ops-caption {font-size:15px}
.ops-no-data {font-size:28px}
.ops-has-data {font-size:24px}
.ops-region,.ops-detail {font-size:17px}
.ops-source {font-size:14px;padding:5px 5px}
.ops-stamp,.ops-small {font-size:13px}
.ops-map-status {padding:12px 14px;gap:7px}
.island-inset-label {font-size:11px}
.island-inset-title {font-size:15px}
.map-note {font-size:12px}

/* 1080p QA correction: keep crime news-count label on one line */
.crime-summary .summary-stat:nth-child(5) small{font-size:14px;white-space:nowrap}


/* v0.19 : separate important hazard headlines from routine JMA weather bulletin history. */
.alerts-list:has(.alert-quiet-title){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:16px}
.alert-quiet-icon{border:2px solid #4ebc99;color:#84f5c5;font-size:28px;font-weight:800;
 width:49px;height:49px;border-radius:50%;line-height:45px;flex-shrink:0}
.alert-quiet-title{font-size:20px;line-height:1.4;color:#d5f4e9}
.alert-quiet-note{font-size:15px;line-height:1.45;color:#a4c3d8;max-width:310px}
.alert-item.typhoon .alert-icon{background:linear-gradient(130deg,#5945a9,#244d91);color:#ffd67a}
.alert-item.power .alert-icon{background:linear-gradient(130deg,#a65e19,#7a4215);color:#ffe19f}
.alert-item.transport .alert-icon{background:linear-gradient(130deg,#13775f,#205b76);color:#b8fff1}

/* v0.21 Editorial disaster overview + lifelines, native 1920x1080 */
.masthead .on-air{font-size:28px;min-width:200px;padding:13px 10px;
 justify-content:center;gap:8px;white-space:nowrap;letter-spacing:0}
.masthead .on-air .pulse{width:13px;height:13px;flex-shrink:0}
.masthead .heading strong{font-size:38px;white-space:nowrap}
.masthead .heading span{font-size:16px}
.masthead .datetime strong{font-size:42px}
.alerts .panel-heading{padding-left:9px;gap:7px}
.alerts .panel-heading strong{font-size:20px}
.alerts .panel-heading span{font-size:11px;white-space:nowrap}
.alert-item.news-feature{height:160px;padding:10px 3px 7px;align-items:flex-start;gap:8px}
.news-feature .alert-content strong{font-size:20px;line-height:1.2;white-space:normal;
 overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.news-feature .alert-content p{font-size:16px;line-height:1.38;height:auto;max-height:88px;
 display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;margin:6px 0}
.news-feature .alert-content small{font-size:13px;line-height:1.2}
.alert-item.water .alert-icon{background:#155b8f;color:#adf2ff}
.alert-item.gas .alert-icon{background:#92501a;color:#ffdf96}
.disaster-kpis .kpi-gold .kpi-top strong{font-size:17px}
.disaster-kpis .kpi-gold .kpi-value.word{font-size:19px!important}
.ops-map-status{max-height:67%}

/* v0.24: one focused disaster news story, no mid-panel divider. */
.alerts-list {display:flex;flex-direction:column;padding:13px 16px;justify-content:flex-start}
.alerts-list .alert-item.news-feature {width:100%;height:auto;min-height:265px;max-height:100%;padding:15px 5px 9px;
 border-bottom:none;align-items:flex-start;gap:13px}
.alerts-list .news-feature .alert-icon {width:54px;height:54px;line-height:54px;font-size:34px;flex-shrink:0}
.alerts-list .news-feature .alert-content strong {font-size:25px;line-height:1.35;
 display:block;max-height:3.9em;overflow:hidden;text-wrap:pretty}
.alerts-list .news-feature .alert-content p {font-size:20px;line-height:1.48;display:block;
 max-height:8.9em;height:auto;margin:12px 0 10px;overflow:hidden}
.alerts-list .news-feature .alert-content small {font-size:16px;line-height:1.35}
.alerts-list .alert-quiet-title{font-size:23px}
.alerts-list .alert-quiet-note{font-size:17px;max-width:350px}

/* v0.30: no misleading outage 'fetch failure' headline in multi-source lifeline overview */
.disaster-kpis .kpi-gold .kpi-value.word{font-size:15px!important;line-height:1.24;letter-spacing:-.35px}
.disaster-kpis .kpi-gold>small{font-size:12px;letter-spacing:-.2px}

/* v0.32 - precise 5-KPI icon-only treatment. Do NOT alter stage, grids, panels or card sizes. */
.disaster-kpis .kpi {position:relative;}
.disaster-kpis .kpi-top{padding-left:43px;min-height:21px;gap:0;}
.disaster-kpis .kpi-top strong{font-size:17px;line-height:1.07;letter-spacing:0;white-space:nowrap;}
.disaster-kpis .kpi-symbol{
 position:absolute;top:15px;left:7px;width:43px;height:49px;
 overflow:visible;pointer-events:none;
 filter:drop-shadow(0 0 4px currentColor);
}
.disaster-kpis .kpi-red .kpi-symbol{color:#ff5664;}
.disaster-kpis .kpi-blue .kpi-symbol{color:#35c8ff;}
.disaster-kpis .kpi-violet .kpi-symbol{color:#bf8aff;}
.disaster-kpis .kpi-gold .kpi-symbol{color:#ffd44e;}
.disaster-kpis .kpi-green .kpi-symbol{color:#32e5ad;}
.disaster-kpis .kpi-value {color:#fff;margin-left:42px;font-size:31px;white-space:nowrap;}
.disaster-kpis .kpi-value.word {margin-left:42px;line-height:1.14;font-size:15px!important;white-space:normal;}
.disaster-kpis .kpi-gold .kpi-value.word {font-size:12px!important;line-height:1.09;letter-spacing:-.25px;}
.disaster-kpis .kpi-green .kpi-value.word{font-size:14px!important;}
.disaster-kpis .kpi>small{font-size:12px;}
.disaster-kpis .kpi-value .kpi-count-positive{color:#ffdb4d!important;font-weight:900;}

/* v0.33 — High-fidelity beveled/gradient KPI icons, unchanged 5-card geometry.
   Numeric lifeline / transport statuses match earthquake and weather count scale. */
.disaster-kpis .kpi-symbol{filter:drop-shadow(0 0 5px currentColor);overflow:visible;}
.disaster-kpis .kpi-value.word.kpi-has-number{
  font-size:17px!important;
  line-height:1!important;
  letter-spacing:-.35px;
  white-space:nowrap;
  display:flex;
  gap:2px;
  align-items:baseline;
}
.disaster-kpis .kpi-gold .kpi-value.word.kpi-has-number,
.disaster-kpis .kpi-green .kpi-value.word.kpi-has-number{
  font-size:17px!important;
  line-height:1!important;
  white-space:nowrap;
}
.disaster-kpis .kpi-value.word.kpi-has-number .kpi-count-positive{
  color:#ffdb4d!important;
  font-size:32px!important;
  font-weight:900;
  line-height:.95;
  font-variant-numeric:tabular-nums;
}

/* v0.34: fit '対象発表なし' entirely inside the tsunami KPI, without changing other cards. */
.disaster-kpis .kpi-violet #tsunami-count:not(.kpi-has-number){
  font-size:14px!important;
  letter-spacing:-.45px;
  white-space:nowrap;
  overflow:visible;
}

/* v0.35: narrow two-column utility list; provider can truncate but status must never truncate. */
.ops-map-status .ops-sources{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px}
.ops-map-status .ops-source{display:flex;align-items:center;justify-content:space-between;min-width:0;gap:5px}
.ops-map-status .ops-source .ops-provider{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ops-map-status .ops-source .ops-status{display:block;flex:0 0 auto;width:auto;max-width:none;
 overflow:visible;text-overflow:clip;white-space:nowrap;font-size:13px;letter-spacing:-.22px}
