/* Threat ticker and feed page */
.threat-ticker{display:flex;align-items:stretch;gap:0;background:#0a120d;border-bottom:1px solid #2c4a37;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1;position:relative;z-index:5}
.ticker-label{flex:none;display:flex;align-items:center;gap:9px;padding:0 16px;background:#102418;border-right:1px solid #2c4a37}
.ticker-label a{color:#9df0b9;text-decoration:none;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:12px;white-space:nowrap}
.ticker-label a:hover,.ticker-label a:focus-visible{text-decoration:underline}
.ticker-dot{width:8px;height:8px;border-radius:50%;background:#ff6a4d;box-shadow:0 0 0 0 #ff6a4d88}
.ticker-viewport{flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
.ticker-track{display:flex;width:max-content}
.ticker-list{display:flex;margin:0;padding:0;list-style:none}
.ticker-list li{margin:0;padding:0}
.ticker-list a{display:flex;align-items:center;gap:10px;padding:13px 22px;color:#d9e6d3;text-decoration:none;white-space:nowrap;border-right:1px solid #1c2e22}
.ticker-list a:hover,.ticker-list a:focus-visible{background:#16281c;color:#fff}
.t-id{color:#9df0b9;font-weight:700}
.t-name{color:#cfd8c8}
.ticker-list time{color:#8fa08f}
.t-badge{display:inline-block;padding:3px 7px;border-radius:99px;background:#5a2418;color:#ffd0c4;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.ticker-toggle{flex:none;margin:0;padding:0 16px;background:#102418;color:#cfe8d3;border:0;border-left:1px solid #2c4a37;font:inherit;font-size:12px;cursor:pointer;min-height:44px}
.ticker-toggle:hover,.ticker-toggle:focus-visible{background:#1a3524;color:#fff}
.ticker-toggle[hidden]{display:none}
.is-live .ticker-viewport{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 28px),transparent)}
@media(prefers-reduced-motion:no-preference){
.ticker-dot{animation:ticker-pulse 2.4s ease-out infinite}
.is-live .ticker-track{animation:ticker-scroll var(--ticker-time,60s) linear infinite}
.is-live:hover .ticker-track,.is-live:focus-within .ticker-track,.is-paused .ticker-track{animation-play-state:paused}
}
@keyframes ticker-scroll{to{transform:translateX(-50%)}}
@keyframes ticker-pulse{70%{box-shadow:0 0 0 9px #ff6a4d00}100%{box-shadow:0 0 0 0 #ff6a4d00}}
@media(max-width:650px){.ticker-label{padding:0 12px}.ticker-label a{font-size:11px}.ticker-list a{padding:13px 16px}}
@media(forced-colors:active){.threat-ticker{border:1px solid CanvasText}.t-badge{border:1px solid CanvasText}}

/* Feed page */
.threat-page{max-width:900px;margin:0 auto;padding:0 20px 60px}
.threat-guide{background:#121a14;border:1px solid #2f4535;border-radius:14px;padding:22px 26px;margin:0 0 26px}
.threat-guide h2{margin:0 0 10px;font-size:20px}
.threat-guide ul{margin:0 0 12px;padding-left:20px}
.threat-guide li{margin:6px 0}
.threat-note{font-size:14px;color:#b9c4b4}
.threat-filters{display:flex;flex-wrap:wrap;gap:14px 18px;align-items:end;margin:0 0 14px}
.threat-filters label{display:block;font-size:13px;margin-bottom:5px;color:#c9d4c3}
.threat-filters input[type=search],.threat-filters select{min-height:44px;min-width:200px;padding:0 12px;background:#0b110d;color:#eee;border:1px solid #476150;border-radius:8px;font:inherit;font-size:16px}
.threat-filters .tf-check{display:flex;align-items:center;gap:9px;min-height:44px;margin:0}
.threat-filters .tf-check input{width:20px;height:20px}
.cve-list{display:grid;gap:14px}
.cve-row{background:#121a14;border:1px solid #2f4535;border-radius:14px;padding:18px 22px;scroll-margin-top:90px}
.cve-row:target{border-color:#9df0b9;box-shadow:0 0 0 2px #9df0b94d}
.cve-row[hidden]{display:none}
.cve-row header{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.cve-row h2{margin:0;font-size:20px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.cve-row h2 a{color:#9df0b9}
.cve-product{margin:6px 0 0;font-weight:700;color:#e8e4d2}
.cve-name{margin:2px 0 0;color:#cfd8c8}
.cve-meta{display:flex;flex-wrap:wrap;gap:6px 18px;margin:10px 0;font-size:13px;color:#a9b8a6}
.cve-desc{margin:8px 0 0}
.cve-row details{margin-top:12px;font-size:15px}
.cve-row summary{cursor:pointer;color:#bdd2a9;min-height:32px}

/* Phones: label and Pause share the first row; headlines get the full width below. */
@media(max-width:650px){
  .threat-ticker{flex-wrap:wrap}
  .ticker-label{order:1;flex:1 1 auto;padding:6px 12px;border-right:0}
  .ticker-toggle{order:2;min-height:40px;border-left:1px solid #2c4a37}
  .ticker-viewport{order:3;flex:1 0 100%;border-top:1px solid #1c2e22}
  .ticker-list a{padding:12px 16px}
}
