/* LJ Monitoring Sources v3 — scoped UI. No external fonts, JS or image dependencies. */
.ljms-v3,.ljms-v3 *{box-sizing:border-box}
.ljms-v3{width:100%;max-width:100%;margin:0 auto;container-type:inline-size;--ljms-green:#22ec4a;--ljms-yellow:#f0d432;--ljms-orange:#f9a925;--ljms-red:#ff3439;--ljms-major:#ff1846;--ljms-unknown:#9faab8;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;line-height:1.45}
.ljms-v3 .ljms-overall-title{font-size:clamp(20px,2.3vw,32px);margin:0 0 20px;font-weight:700}
.ljms-v3 .ljms-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;align-items:stretch;isolation:isolate}
.ljms-v3.ljms-mode-weather .ljms-board,.ljms-v3.ljms-mode-quake .ljms-board{grid-template-columns:minmax(0,1fr)}
.ljms-v3 .ljms-card{--ljms-accent:var(--ljms-unknown);position:relative;display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:var(--ljms-card-min-height,388px);overflow:visible}
.ljms-v3 .ljms-state-green{--ljms-accent:var(--ljms-green)}
.ljms-v3 .ljms-state-yellow{--ljms-accent:var(--ljms-yellow)}
.ljms-v3 .ljms-state-orange{--ljms-accent:var(--ljms-orange)}
.ljms-v3 .ljms-state-red{--ljms-accent:var(--ljms-red)}
.ljms-v3 .ljms-state-major{--ljms-accent:var(--ljms-major)}
.ljms-v3 .ljms-state-unknown{--ljms-accent:var(--ljms-unknown)}
.ljms-v3 .ljms-card-main{padding:34px clamp(18px,3vw,44px) 16px;display:flex;flex-direction:column;flex:1;min-width:0}
.ljms-v3 .ljms-top{display:grid;grid-template-columns:var(--ljms-icon-width,clamp(82px,12vw,142px)) minmax(0,1fr);align-items:center;gap:clamp(14px,2vw,24px);margin:0 0 28px}
.ljms-v3 .ljms-big-icon{width:100%;height:clamp(82px,11vw,134px);display:flex;align-items:center;justify-content:center;color:var(--ljms-accent);filter:drop-shadow(0 0 8px var(--ljms-accent));position:relative}
.ljms-v3 .ljms-svg{width:100%;height:100%;max-width:140px;max-height:140px;display:block;overflow:visible}
.ljms-v3 .ljms-heading-group{min-width:0;border-left:1px solid rgba(255,255,255,.31);padding-left:clamp(16px,2.5vw,29px)}
.ljms-v3 .ljms-card-heading{font-size:clamp(25px,2.35vw,39px);font-weight:760;line-height:1.12;letter-spacing:-.035em;color:#fff;margin:0 0 10px}
.ljms-v3 .ljms-card-date{color:rgba(255,255,255,.84);font-size:clamp(14px,1.45vw,21px);font-weight:400;margin:0 0 13px}
.ljms-v3 .ljms-alert-pill{display:inline-flex;align-items:center;gap:9px;padding:7px 13px;border-radius:100px;font-size:clamp(12px,1.1vw,16px);font-weight:650;color:#fff;line-height:1.2;max-width:100%;background:color-mix(in srgb,var(--ljms-accent) 34%,rgba(20,25,28,.84));border:1px solid color-mix(in srgb,var(--ljms-accent) 36%,transparent)}
.ljms-v3 .ljms-alert-dot{flex:0 0 11px;width:11px;height:11px;border-radius:50%;background:var(--ljms-accent);box-shadow:0 0 12px var(--ljms-accent)}
.ljms-v3 .ljms-body{color:#f7f8f8;min-width:0}
.ljms-v3 .ljms-weather-summary{font-size:calc(clamp(18px,1.75vw,26px) * var(--ljms-text-scale,1));font-weight:430;line-height:1.38;letter-spacing:-.012em;margin:0;overflow-wrap:anywhere}
.ljms-v3 .ljms-message{font-size:clamp(16px,1.45vw,22px);color:rgba(255,255,255,.8);margin:0}
.ljms-v3 .ljms-origin{display:block;font-size:12px;line-height:1.4;color:rgba(255,255,255,.65);margin-top:11px}
.ljms-v3 .ljms-bulletin-title{white-space:normal}
.ljms-v3 .ljms-body-quake{display:flex;align-items:center;gap:clamp(14px,2vw,26px);padding:2px 0 0}
.ljms-v3 .ljms-body-quake .ljms-origin{max-width:220px}
.ljms-v3 .ljms-magnitude{font-size:clamp(66px,7.2vw,118px);line-height:.98;letter-spacing:-.07em;font-weight:800;color:#fff;flex:0 0 auto}
.ljms-v3 .ljms-quake-facts{min-width:0;border-left:1px solid rgba(255,255,255,.32);padding-left:clamp(12px,2vw,22px);display:flex;flex-direction:column;gap:5px;color:rgba(255,255,255,.89);font-size:clamp(13px,1.2vw,19px)}
.ljms-v3 .ljms-quake-facts>span{display:flex;align-items:flex-start;gap:11px;overflow-wrap:anywhere;line-height:1.3}
.ljms-v3 .ljms-fact-icon{font-size:22px;line-height:1;opacity:.88;flex:0 0 22px}
.ljms-v3 .ljms-footer{padding:15px clamp(18px,3vw,44px) 20px;border-top:1px solid rgba(255,255,255,.3);margin:12px clamp(18px,3vw,44px) 0;padding-left:0;padding-right:0;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:70px;color:#fff;position:relative}
.ljms-v3 .ljms-footer a,.ljms-v3 .ljms-footer summary{color:inherit;text-decoration:none}
.ljms-v3 .ljms-more{min-width:0;flex:1 1 auto}
.ljms-v3 .ljms-more summary{font-size:clamp(14px,1.35vw,21px);font-weight:700;cursor:pointer;display:inline-flex;align-items:baseline;gap:10px;line-height:1.35;list-style:none}
.ljms-v3 .ljms-more summary::-webkit-details-marker{display:none}
.ljms-v3 .ljms-more summary::marker{content:''}
.ljms-v3 .ljms-arrow{font-size:1.3em;line-height:1}
.ljms-v3 .ljms-source-link{font-size:clamp(11px,.95vw,15px);color:rgba(255,255,255,.75)!important;font-weight:420;white-space:nowrap;flex:0 0 auto}
.ljms-v3 .ljms-action{font-size:clamp(14px,1.35vw,21px);font-weight:650}
.ljms-v3 .ljms-more-content{position:absolute;z-index:25;bottom:calc(100% + 8px);left:-8px;right:-8px;max-height:290px;overflow:auto;padding:20px 23px;background:rgba(16,22,27,.97);border:1px solid color-mix(in srgb,var(--ljms-accent) 60%,#b7bdc6);box-shadow:0 10px 35px rgba(0,0,0,.55);color:#fff;font-size:15px;line-height:1.55;backdrop-filter:blur(20px)}
.ljms-v3 .ljms-more-content p{margin:0 0 12px;white-space:pre-line}
.ljms-v3 .ljms-more-content a{text-decoration:underline;text-underline-offset:3px;color:#fff}
.ljms-v3 .ljms-events{margin:0 0 14px;padding-left:25px}
.ljms-v3 .ljms-events li{margin-bottom:12px}
.ljms-v3 .ljms-events li span{display:block}
.ljms-v3 :is(a,summary):hover{color:var(--ljms-accent)!important}
.ljms-v3 :is(a,summary):focus-visible{outline:3px solid var(--ljms-accent);outline-offset:4px}
/* Glass luminous / default: square panels with one hairline split */
.ljms-v3.ljms-design-glass_a .ljms-card{background:linear-gradient(116deg,rgba(20,33,37,.86),rgba(34,38,42,.75) 60%,rgba(54,50,50,.72));color:#fff;border:1px solid rgba(228,237,243,.44);box-shadow:inset 0 2px 0 var(--ljms-accent),inset 0 23px 40px -20px color-mix(in srgb,var(--ljms-accent) 30%,transparent);backdrop-filter:blur(var(--ljms-blur,18px)) saturate(125%);-webkit-backdrop-filter:blur(var(--ljms-blur,18px)) saturate(125%)}
.ljms-v3.ljms-design-glass_a .ljms-card:before{content:'';position:absolute;pointer-events:none;inset:0;background:radial-gradient(ellipse at 0% 0%,color-mix(in srgb,var(--ljms-accent) 18%,transparent),transparent 43%);opacity:.75}
.ljms-v3.ljms-design-glass_a .ljms-card>*{position:relative}
.ljms-v3.ljms-design-glass_a .ljms-icon-weather,.ljms-v3.ljms-design-glass_a .ljms-icon-quake{filter:drop-shadow(0 0 8px var(--ljms-accent))}
/* Glass minimalist / alternate: flatter surfaces and slim top rule */
.ljms-v3.ljms-design-glass_b .ljms-card{background:linear-gradient(125deg,rgba(24,45,48,.78),rgba(34,42,49,.79) 54%,rgba(40,45,54,.75));color:#fff;border:1px solid rgba(214,226,235,.48);border-top:7px solid var(--ljms-accent);backdrop-filter:blur(var(--ljms-blur,16px)) saturate(110%);-webkit-backdrop-filter:blur(var(--ljms-blur,16px)) saturate(110%)}
.ljms-v3.ljms-design-glass_b .ljms-card:before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 4% 12%,color-mix(in srgb,var(--ljms-accent) 15%,transparent),transparent 48%)}
.ljms-v3.ljms-design-glass_b .ljms-card>*{position:relative}
.ljms-v3.ljms-design-glass_b .ljms-card-heading{text-transform:uppercase;font-size:clamp(18px,1.5vw,26px);letter-spacing:.015em;color:rgba(255,255,255,.85)}
.ljms-v3.ljms-design-glass_b .ljms-alert-pill{display:none}
.ljms-v3.ljms-design-glass_b .ljms-big-icon{filter:drop-shadow(0 0 4px color-mix(in srgb,var(--ljms-accent) 50%,transparent))}
.ljms-v3.ljms-design-glass_b .ljms-weather-summary{font-weight:650;font-size:clamp(18px,1.85vw,28px)}
.ljms-v3.ljms-design-glass_b .ljms-magnitude{font-size:clamp(62px,6.8vw,110px)}
.ljms-v3.ljms-design-glass_b .ljms-footer{margin-left:0;margin-right:0;padding:20px clamp(18px,3vw,44px);background:rgba(255,255,255,.04)}
/* Classic retained as optional display. White cards, square border, black lower action bar. */
.ljms-v3.ljms-design-classic .ljms-card{background:#fff;color:#171717;border:2px solid var(--ljms-accent);min-height:380px}
.ljms-v3.ljms-design-classic .ljms-card-heading,.ljms-v3.ljms-design-classic .ljms-magnitude{color:#111}
.ljms-v3.ljms-design-classic .ljms-card-date,.ljms-v3.ljms-design-classic .ljms-quake-facts,.ljms-v3.ljms-design-classic .ljms-weather-summary,.ljms-v3.ljms-design-classic .ljms-message{color:#3e464c}
.ljms-v3.ljms-design-classic .ljms-heading-group{border-left-color:#bec4c8}
.ljms-v3.ljms-design-classic .ljms-quake-facts{border-left-color:#bec4c8}
.ljms-v3.ljms-design-classic .ljms-alert-pill{color:#151515;background:color-mix(in srgb,var(--ljms-accent) 18%,#fff);border-color:var(--ljms-accent)}
.ljms-v3.ljms-design-classic .ljms-origin{color:#69737c}
.ljms-v3.ljms-design-classic .ljms-footer{background:#080808;border:0;color:#fff;margin:0;padding:20px clamp(18px,3vw,44px)}
.ljms-v3.ljms-design-classic .ljms-more-content{background:#161d22;color:#fff}
/* Joined panels: one container, only one shared divider, no gaps or rounded edges. */
.ljms-v3.ljms-layout-joined .ljms-board>.ljms-card:nth-child(2){border-left:0}
.ljms-v3.ljms-layout-separated .ljms-board{gap:18px}
.ljms-v3 .ljms-card,.ljms-v3 .ljms-alert-pill,.ljms-v3 .ljms-more-content{border-radius:0}
/* Dynamic SVG micro-animations; only visual and never alter state or data. */
@keyframes ljms-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes ljms-pulse{0%,100%{opacity:.3;transform:scale(.93)}50%{opacity:.86;transform:scale(1.08)}}
@keyframes ljms-wave-move{0%,100%{stroke-dashoffset:0}50%{stroke-dashoffset:18}}
@keyframes ljms-rain{0%,100%{opacity:1;transform:translateY(0)}50%{opacity:.45;transform:translateY(7px)}}
@keyframes ljms-spin{to{transform:rotate(360deg)}}
@keyframes ljms-glow{0%,100%{filter:drop-shadow(0 0 3px var(--ljms-accent))}50%{filter:drop-shadow(0 0 12px var(--ljms-accent))}}
.ljms-v3.ljms-animate-yes .ljms-icon-weather .ljms-svg{animation:ljms-float 5s ease-in-out infinite}
.ljms-v3.ljms-animate-yes .ljms-pulse-ring{transform-origin:center;animation:ljms-pulse 2.6s ease-in-out infinite}
.ljms-v3.ljms-animate-yes .ljms-wave{stroke-dasharray:170 20;animation:ljms-wave-move 4s ease-in-out infinite}
.ljms-v3.ljms-animate-yes .ljms-rain-lines{animation:ljms-rain 2.5s ease-in-out infinite}
.ljms-v3.ljms-animate-yes .ljms-sun-rays{transform-origin:64px 64px;animation:ljms-spin 22s linear infinite}
.ljms-v3.ljms-animate-yes .ljms-bolt{animation:ljms-glow 2.1s ease-in-out infinite}
.ljms-v3.ljms-animate-yes .ljms-alert-dot{animation:ljms-glow 2.8s ease-in-out infinite}
@container (max-width:790px){
  .ljms-v3 .ljms-board{grid-template-columns:minmax(0,1fr)}
  .ljms-v3 .ljms-card{min-height:330px}
  .ljms-v3.ljms-layout-joined .ljms-board>.ljms-card:nth-child(2){border-left:1px solid rgba(228,237,243,.44);border-top:0}
  .ljms-v3.ljms-layout-joined.ljms-design-classic .ljms-board>.ljms-card:nth-child(2){border-left:2px solid var(--ljms-accent);border-top:0}
  .ljms-v3.ljms-layout-joined.ljms-design-glass_b .ljms-board>.ljms-card:nth-child(2){border-top:7px solid var(--ljms-accent)}
  .ljms-v3 .ljms-card-main{padding:24px 22px 8px}
  .ljms-v3 .ljms-top{grid-template-columns:min(95px,var(--ljms-icon-width,95px)) minmax(0,1fr);gap:14px;margin-bottom:22px}
  .ljms-v3 .ljms-big-icon{height:95px}
  .ljms-v3 .ljms-heading-group{padding-left:15px}
  .ljms-v3 .ljms-footer{margin-left:22px;margin-right:22px}
  .ljms-v3.ljms-design-glass_b .ljms-footer{margin-left:0;margin-right:0;padding:16px 22px}
  .ljms-v3 .ljms-weather-summary{font-size:19px}
  .ljms-v3 .ljms-body-quake{gap:14px;flex-wrap:wrap}
  .ljms-v3 .ljms-magnitude{font-size:86px}
}
@container (max-width:480px){
  .ljms-v3 .ljms-top{grid-template-columns:min(72px,var(--ljms-icon-width,72px)) minmax(0,1fr);gap:10px}
  .ljms-v3 .ljms-big-icon{height:72px}
  .ljms-v3 .ljms-card-heading{font-size:24px}
  .ljms-v3 .ljms-card-date{font-size:13px}
  .ljms-v3 .ljms-alert-pill{font-size:11px;padding:6px 9px}
  .ljms-v3 .ljms-footer{align-items:flex-start;gap:10px}
  .ljms-v3 .ljms-more summary{font-size:14px}
  .ljms-v3 .ljms-source-link{font-size:11px;white-space:normal;text-align:right}
  .ljms-v3 .ljms-magnitude{font-size:70px}
  .ljms-v3 .ljms-quake-facts{font-size:13px}
  .ljms-v3 .ljms-weather-summary{font-size:17px}
}
@media(prefers-reduced-motion:reduce){.ljms-v3 *, .ljms-v3 *::before, .ljms-v3 *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
