* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Cairo", sans-serif;
}

body {
  background: #f2f2f2;
  color: #222;
  direction: rtl;
}

body.modal-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

.ticker-bar,
.breaking-banner,
.header,
.cat-tabs,
.main-layout {
  transition:
    filter 260ms ease,
    opacity 260ms ease,
    transform 260ms ease;
}

body.article-open .ticker-bar,
body.article-open .breaking-banner,
body.article-open .header,
body.article-open .cat-tabs,
body.article-open .main-layout,
body.live-tv-open .ticker-bar,
body.live-tv-open .breaking-banner,
body.live-tv-open .header,
body.live-tv-open .cat-tabs,
body.live-tv-open .main-layout {
  filter: blur(7px) saturate(0.82);
  opacity: 0.48;
  transform: scale(0.992);
}

.ticker-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: stretch;
  height: 44px;
}

.ticker-label {
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #cc0000;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.ticker-scroll {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  overflow: hidden;
  background: #06284b;
}

.ticker-track {
  display: flex;
  gap: 40px;
  padding: 0 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  animation: scrollTicker 30s linear infinite;
}

.ticker-track .item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-track .val {
  color: #00e87b;
  font-weight: 700;
}

.ticker-track .sep {
  color: rgba(255, 255, 255, 0.3);
}

.breaking-banner[hidden] {
  display: none;
}

.breaking-banner {
  position: fixed;
  top: 44px;
  right: 0;
  left: 0;
  z-index: 210;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 7px 20px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  background:
    radial-gradient(circle at 14% 50%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(90deg, #8f0000 0%, #e10000 46%, #b10000 100%);
  box-shadow: 0 14px 26px rgba(112, 0, 0, 0.24);
  color: #fff;
  cursor: pointer;
  transform: translateY(-10px);
  animation: breakingDrop 360ms ease forwards;
}

.breaking-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(100%);
  animation: breakingSweep 3.2s ease-in-out infinite;
}

.breaking-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 2px 11px;
  border-radius: 999px;
  background: #fff;
  color: #cc0000;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.breaking-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cc0000;
  box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.45);
  animation: liveBlink 1.05s ease-in-out infinite;
}

.breaking-title {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breaking-time {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

body.breaking-active .header {
  margin-top: 88px;
}

body.breaking-active .cat-tabs {
  top: 88px;
}

.header {
  position: relative;
  z-index: 220;
  margin-top: 44px;
  padding: 18px 16px 14px;
  background: #06284b;
  color: #fff;
  text-align: center;
  transition: padding-bottom 220ms ease;
}

.header.menu-open {
  padding-bottom: 20px;
}

.login-link {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.header-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 260;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.about-link,
.live-tv-link,
.field-toggle,
.what-if-link,
.site-menu-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-menu-button {
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.site-menu-button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.site-menu-button.open::after {
  transform: rotate(225deg) translateY(-2px);
}

.header-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  width: min(520px, 100%);
  max-height: 0;
  gap: 8px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: max-height 220ms ease, margin-top 220ms ease, opacity 180ms ease, transform 220ms ease;
}

.header-menu.open {
  max-height: 230px;
  margin-top: 14px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-menu .about-link,
.header-menu .live-tv-link,
.header-menu .field-toggle,
.header-menu .what-if-link {
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.live-tv-link,
.field-toggle,
.what-if-link {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(204, 0, 0, 0.92);
  cursor: pointer;
}

.field-toggle {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
}

.what-if-link {
  position: relative;
  border-color: rgba(0, 245, 255, 0.34);
  background: rgba(0, 245, 255, 0.08);
  cursor: pointer;
}

.what-if-link::before {
  background: #00f5ff;
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.65);
}

.header-menu .about-link,
.header-menu .live-tv-link,
.header-menu .field-toggle,
.header-menu .what-if-link {
  background: rgba(255, 255, 255, 0.08);
}

.live-tv-link::before,
.field-toggle::before,
.what-if-link::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-radius: 50%;
  background: #fff;
  animation: liveBlink 1.05s ease-in-out infinite;
}

.header-menu .live-tv-link::before,
.header-menu .field-toggle::before,
.header-menu .what-if-link::before {
  background: #fff;
}

.field-toggle.has-updates::after {
  content: attr(data-count);
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-right: 7px;
  padding: 0 5px;
  border-radius: 999px;
  background: #cc0000;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.login-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.about-link:hover,
.live-tv-link:hover,
.field-toggle:hover,
.what-if-link:hover,
.site-menu-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.header-menu .about-link:hover,
.header-menu .live-tv-link:hover,
.header-menu .field-toggle:hover,
.header-menu .what-if-link:hover {
  background: rgba(255, 255, 255, 0.14);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 20px 16px 28px;
  color: #5c6675;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: #06284b;
  font-size: 20px;
  font-weight: 900;
}

.site-footer span {
  font-size: 13px;
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  background: #fff;
  color: #06284b;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.site-footer a:hover {
  border-color: #06284b;
}

.header h1 {
  margin-bottom: 2px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.header p {
  color: #9aa3b8;
  font-size: 12px;
}

.cat-tabs {
  position: sticky;
  top: 44px;
  z-index: 100;
  display: flex;
  gap: 0;
  overflow-x: auto;
  margin-top: 0;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cat-tabs::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  flex-shrink: 0;
  padding: 10px 18px;
  border: none;
  border-bottom: 3px solid transparent;
  background: none;
  color: #555;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  white-space: nowrap;
}

.cat-tab.active,
.cat-tab:hover {
  color: #cc0000;
}

.cat-tab.active {
  border-bottom-color: #cc0000;
}

.cat-tab.alerts-tab {
  color: #8f0000;
}

.cat-tab.alerts-tab::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-radius: 50%;
  background: #cc0000;
  animation: liveBlink 1.15s ease-in-out infinite;
}

.cat-tab.alerts-tab.active {
  color: #cc0000;
}

.cat-tab.hebrew-tab {
  color: #0b4c7d;
}

.cat-tab.hebrew-tab::before {
  content: "א";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: 7px;
  border-radius: 50%;
  background: #eaf4ff;
  color: #0b4c7d;
  font-size: 11px;
  font-weight: 900;
}

.cat-tab.hebrew-tab.active {
  color: #cc0000;
}

.cat-tab.hebrew-tab.active::before {
  background: #cc0000;
  color: #fff;
}

.main-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 620px);
  grid-template-areas: "rail feed";
  gap: 14px;
  align-items: start;
  justify-content: center;
  max-width: 1210px;
  margin: 0 auto;
  padding: 12px 12px 60px;
  direction: ltr !important;
}

#feed {
  grid-area: feed;
  grid-column: 2 !important;
  grid-row: 1;
  width: 100%;
  max-width: 600px;
  direction: rtl;
}

.field-live {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 310;
  width: min(420px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid #e0e0e0;
  border-radius: 14px 0 0 14px;
  background: #fff;
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.24);
  direction: rtl;
  transform: translateX(105%);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.field-live.open {
  transform: translateX(0);
}

.field-backdrop {
  position: fixed;
  inset: 0;
  z-index: 305;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(6, 40, 75, 0.24);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition:
    opacity 220ms ease,
    visibility 0s linear 220ms;
}

.field-backdrop.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition:
    opacity 220ms ease,
    visibility 0s;
}

.left-rail {
  grid-area: rail;
  grid-column: 1 !important;
  grid-row: 1;
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
  direction: rtl;
}

.weather-card,
.most-read {
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.weather-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 74px;
  padding: 14px 18px;
}

.weather-card strong {
  display: block;
  color: #111;
  font-size: 18px;
  font-weight: 800;
}

.weather-card span {
  color: #777;
  font-size: 13px;
  font-weight: 700;
}

.weather-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f6f1e7;
  color: #9a6a00;
  font-size: 26px;
}

.most-read {
  overflow: hidden;
}

.most-read h2 {
  padding: 14px 18px;
  border-bottom: 1px solid #eeeeee;
  color: #111;
  font-size: 24px;
  font-weight: 800;
}

.most-read ol {
  list-style: none;
  counter-reset: mostRead;
}

.most-read li {
  counter-increment: mostRead;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid #eeeeee;
  cursor: pointer;
}

.most-read li:last-child {
  border-bottom: 0;
}

.most-read li::before {
  content: counter(mostRead) ".";
  color: #777;
  font-size: 18px;
  font-weight: 800;
}

.most-read .mr-title {
  color: #111;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.65;
}

.most-read .mr-cat {
  color: #cc0000;
}

.field-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-bottom: 1px solid #eeeeee;
  direction: rtl;
}

.field-close {
  min-height: 32px;
  padding: 3px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  background: #fff;
  color: #06284b;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.field-live-head h2 {
  color: #111;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 3px 10px;
  border-radius: 8px;
  background: #a90000;
  color: #fff;
  direction: ltr;
  font-size: 14px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: liveBlink 1.05s ease-in-out infinite;
}

.field-feed {
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.field-post {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 12px 10px;
  border-bottom: 1px solid #eeeeee;
}

.field-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #06284b, #4a6178);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.field-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.field-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #777;
  font-size: 12px;
  font-weight: 700;
}

.field-account {
  color: #111;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.field-text {
  margin-top: 4px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.field-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  color: #8b8b8b;
  direction: ltr;
  font-size: 17px;
}

.field-source {
  color: #1d9bf0;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.field-empty {
  padding: 22px 16px;
  color: #777;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.alerts-map {
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.alerts-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid #eeeeee;
}

.alerts-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff1f1;
  color: #b40000;
  font-size: 12px;
  font-weight: 800;
}

.alerts-hero h2 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
}

.alerts-hero p {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.alerts-source {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.security-map-shell {
  background: #071827;
}

.live-security-map {
  position: relative;
  padding: 16px;
  background:
    radial-gradient(circle at 22% 18%, rgba(26, 93, 141, 0.34), transparent 28%),
    radial-gradient(circle at 76% 72%, rgba(204, 0, 0, 0.18), transparent 24%),
    linear-gradient(145deg, #071827 0%, #0b1f31 52%, #08111d 100%);
}

.security-map-toolbar {
  position: relative;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.security-region-btn {
  min-height: 36px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #d9e8f8;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.security-region-btn:hover,
.security-region-btn.active {
  border-color: rgba(255, 255, 255, 0.38);
  background: #ffffff;
  color: #06284b;
  transform: translateY(-1px);
}

.security-layer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(6, 17, 30, 0.34);
  color: #d9e8f8;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.security-layer-toggle:hover,
.security-layer-toggle.active {
  transform: translateY(-1px);
}

.security-layer-toggle.empty {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.security-layer-toggle.empty .layer-toggle-dot {
  animation: none;
  opacity: 0.45;
}

.security-layer-toggle.resistance.active {
  border-color: rgba(31, 255, 137, 0.42);
  background: rgba(31, 255, 137, 0.13);
  color: #eafff4;
  box-shadow: 0 0 18px rgba(31, 255, 137, 0.14);
}

.security-layer-toggle.enemy.active {
  border-color: rgba(104, 92, 255, 0.48);
  background: rgba(104, 92, 255, 0.15);
  color: #eef0ff;
  box-shadow: 0 0 18px rgba(104, 92, 255, 0.16);
}

.layer-toggle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
}

.security-layer-toggle.resistance .layer-toggle-dot {
  background: #1fff89;
  box-shadow: 0 0 10px rgba(31, 255, 137, 0.72);
  animation: opsSoftPulse 2s ease-in-out infinite;
}

.security-layer-toggle.enemy .layer-toggle-dot {
  background: #685cff;
  box-shadow: 0 0 10px rgba(104, 92, 255, 0.68);
  animation: opsSoftPulse 2.15s ease-in-out infinite;
}

.security-map-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: #eaf4ff;
  font-size: 14px;
  font-weight: 900;
}

.security-map-status > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.security-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3131;
  box-shadow: 0 0 0 0 rgba(255, 49, 49, 0.42);
  animation: alertBeat 1.15s ease-in-out infinite;
}

.security-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.security-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #c9d7e6;
  font-size: 11px;
  font-weight: 900;
}

.security-map-legend span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.security-map-legend .active-warning {
  border: 1px solid rgba(255, 49, 49, 0.36);
  background: rgba(255, 49, 49, 0.14);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 49, 49, 0.18);
}

.security-map-legend .active-warning::before {
  background: #ff1f1f;
  box-shadow: 0 0 0 0 rgba(255, 49, 49, 0.72), 0 0 16px rgba(255, 49, 49, 0.95);
  animation: alertBeat 1.05s ease-in-out infinite;
}

.security-map-legend .recent-strike::before { background: #f59e0b; }
.security-map-legend .past-strike::before { background: #6b7280; }

.security-map-layout {
  position: relative;
}

.security-map-viewport {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid rgba(151, 188, 228, 0.26);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 24% 52%, rgba(77, 170, 255, 0.16), transparent 32%),
    #06111e;
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow: inset 0 0 70px rgba(8, 39, 67, 0.7);
}

.security-real-map,
.security-map-fallback {
  position: absolute;
  inset: 0;
}

.security-real-map {
  z-index: 1;
  background: #08111d;
}

.security-map-fallback {
  z-index: 2;
}

.security-map-viewport.leaflet-ready {
  background: #07111f;
  box-shadow: inset 0 0 56px rgba(7, 17, 31, 0.34), 0 20px 48px rgba(0, 0, 0, 0.2);
}

.security-map-viewport.leaflet-ready .security-map-fallback {
  display: none;
}

.security-real-map .leaflet-container,
.security-real-map.leaflet-container {
  width: 100%;
  height: 100%;
  background: #08111d;
  color: #06284b;
  font-family: "Cairo", sans-serif;
}

.security-real-map .leaflet-tile-pane {
  filter: saturate(0.88) contrast(1.04) brightness(0.86);
}

.security-real-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 410;
  pointer-events: none;
  background:
    radial-gradient(circle at 64% 54%, transparent 0 20%, rgba(204, 0, 0, 0.08) 20.2% 20.6%, transparent 20.9% 34%, rgba(6, 40, 75, 0.10) 34.2% 34.6%, transparent 34.9%),
    linear-gradient(120deg, transparent 0 44%, rgba(255, 255, 255, 0.18) 46%, transparent 49%),
    linear-gradient(180deg, rgba(6, 40, 75, 0.18), rgba(6, 40, 75, 0.04));
  mix-blend-mode: screen;
}

.security-real-map .leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid rgba(6, 40, 75, 0.18);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(6, 40, 75, 0.16);
}

.security-real-map .leaflet-control-zoom a {
  border: none;
  color: #06284b;
  font-family: "Cairo", sans-serif;
  font-weight: 900;
}

.security-real-map .leaflet-control-attribution {
  border-radius: 10px 0 0 0;
  background: rgba(255, 255, 255, 0.84);
  color: #596575;
  font-size: 10px;
}

.security-leaflet-marker {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  width: auto !important;
  height: auto !important;
  direction: rtl;
  transform: translate(-4px, -3px);
  transition: filter 160ms ease, opacity 160ms ease;
}

.security-leaflet-marker.out-region {
  opacity: 0.36;
  filter: grayscale(0.85);
}

.leaflet-marker-core {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: #d71920;
  box-shadow: 0 0 0 5px rgba(215, 25, 32, 0.11), 0 0 16px rgba(215, 25, 32, 0.36);
}

.security-leaflet-marker.active-warning {
  z-index: 900 !important;
  filter: drop-shadow(0 0 7px rgba(215, 25, 32, 0.42));
}

.security-leaflet-marker.active-warning .leaflet-marker-core {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.98);
  background: #ef2b2f;
  box-shadow:
    0 0 0 5px rgba(239, 43, 47, 0.13),
    0 0 0 10px rgba(239, 43, 47, 0.05),
    0 0 18px rgba(239, 43, 47, 0.55);
  animation: redEvacuationPulse 1.9s ease-in-out infinite;
}

.security-leaflet-marker.active-warning .leaflet-marker-core::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(239, 43, 47, 0.42);
  border-radius: 50%;
  animation: markerRipple 2.2s ease-out infinite;
}

.security-leaflet-marker.active-warning .leaflet-marker-core::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 9px rgba(255, 255, 255, 0.82);
}

.security-leaflet-marker.recent-strike .leaflet-marker-core {
  background: #f59e0b;
  box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.16), 0 0 24px rgba(245, 158, 11, 0.58);
}

.security-leaflet-marker.past-strike .leaflet-marker-core {
  background: #64748b;
  box-shadow: 0 0 0 7px rgba(100, 116, 139, 0.16);
}

.leaflet-marker-label {
  max-width: 92px;
  padding: 3px 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(6, 17, 30, 0.76);
  color: #fff;
  font-family: "Cairo", sans-serif;
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.security-leaflet-marker.active-warning .leaflet-marker-label {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(166, 24, 30, 0.82);
  color: #fff;
  box-shadow: 0 9px 18px rgba(166, 24, 30, 0.22), 0 0 10px rgba(239, 43, 47, 0.18);
}

.security-leaflet-marker.selected .leaflet-marker-label,
.security-leaflet-marker:hover .leaflet-marker-label {
  outline: 1px solid rgba(255, 255, 255, 0.82);
}

.security-leaflet-circle {
  animation: dangerCircleBreath 2.6s ease-in-out infinite;
}

.security-leaflet-circle.active-warning {
  animation: dangerCircleBreath 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(215, 25, 32, 0.18));
}

.security-leaflet-circle.past-strike {
  animation: none;
}

.security-leaflet-tooltip {
  border: none;
  border-radius: 14px;
  background: rgba(4, 15, 26, 0.94);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  direction: rtl;
  font-family: "Cairo", sans-serif;
  font-weight: 900;
}

.security-leaflet-tooltip strong,
.security-leaflet-tooltip span {
  display: block;
}

.security-leaflet-tooltip span {
  margin-top: 2px;
  color: #cbd5e1;
  font-size: 11px;
}

.ops-leaflet-marker {
  position: relative;
  display: grid !important;
  place-items: center;
  width: 38px !important;
  height: 34px !important;
  transform: translate(-19px, -17px);
}

.ops-screen-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.ops-icon,
.ops-fallback-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 28px;
}

.ops-icon.resistance,
.ops-fallback-marker.resistance .ops-fallback-icon {
  width: 34px;
  height: 23px;
  border: 1px solid rgba(246, 255, 0, 0.7);
  border-radius: 6px 6px 8px 8px;
  background:
    radial-gradient(circle at 70% 36%, rgba(0, 118, 37, 0.18) 0 20%, transparent 21%),
    linear-gradient(135deg, #fff600, #ffd51f 58%, #e9b900);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22), 0 0 12px rgba(255, 230, 0, 0.34);
}

.ops-icon.resistance::before,
.ops-fallback-marker.resistance .ops-fallback-icon::before {
  content: "م";
  color: #008f32;
  font-family: "Cairo", sans-serif;
  font-size: 15px;
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.ops-icon.resistance::after,
.ops-fallback-marker.resistance .ops-fallback-icon::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 3px;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: rgba(0, 118, 37, 0.72);
  box-shadow: 0 -8px 0 -0.5px rgba(0, 118, 37, 0.46);
}

.ops-leaflet-marker.resistance::after,
.ops-fallback-marker.resistance::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255, 230, 0, 0.18);
  border-radius: 10px;
  animation: opsRippleSlow 2.8s ease-out infinite;
  pointer-events: none;
}

.ops-icon.enemy,
.ops-fallback-marker.enemy .ops-fallback-icon {
  width: 31px;
  height: 31px;
  border: 1px solid rgba(34, 41, 26, 0.82);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.34) 0 8%, transparent 9%),
    linear-gradient(145deg, #87915c 0%, #59613d 54%, #3a422a 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25), inset 0 2px 5px rgba(255, 255, 255, 0.22);
}

.ops-icon.enemy::before,
.ops-fallback-marker.enemy .ops-fallback-icon::before {
  content: "IDF";
  color: rgba(16, 20, 14, 0.92);
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  transform: translateY(-3px);
}

.ops-icon.enemy::after,
.ops-fallback-marker.enemy .ops-fallback-icon::after {
  content: "";
  position: absolute;
  bottom: 6px;
  width: 12px;
  height: 8px;
  border: 1.5px solid rgba(16, 20, 14, 0.62);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.ops-leaflet-tooltip {
  border: none;
  border-radius: 13px;
  background: rgba(4, 15, 26, 0.94);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  direction: rtl;
  font-family: "Cairo", sans-serif;
  font-weight: 900;
}

.ops-leaflet-tooltip.resistance {
  border-right: 3px solid #1fff89;
}

.ops-leaflet-tooltip.enemy {
  border-right: 3px solid #685cff;
}

.ops-leaflet-tooltip strong,
.ops-leaflet-tooltip span {
  display: block;
}

.ops-leaflet-tooltip span {
  margin-top: 2px;
  color: #cbd5e1;
  font-size: 11px;
}

.ops-popup-card {
  display: grid;
  gap: 6px;
  direction: rtl;
  font-family: "Cairo", sans-serif;
}

.ops-popup-card span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.ops-popup-card strong {
  color: #06284b;
  font-size: 14px;
  font-weight: 900;
}

.ops-popup-card p,
.ops-popup-card time {
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.65;
}

.ops-popup-card a {
  width: fit-content;
  border-radius: 999px;
  background: #06284b;
  color: #fff;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.ops-layer-notice {
  position: absolute;
  z-index: 650;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 3px;
  min-width: min(420px, calc(100% - 32px));
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  background: rgba(6, 17, 30, 0.86);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  color: #eaf4ff;
  padding: 12px 16px;
  text-align: center;
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.ops-layer-notice strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.ops-layer-notice span {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
}

.security-map-stage {
  --map-scale: 1;
  --map-x: 0%;
  --map-y: 0%;
  position: absolute;
  inset: 0;
  transform: translate(var(--map-x), var(--map-y)) scale(var(--map-scale));
  transform-origin: center;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lebanon-map-svg,
.map-grid-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-sea {
  fill: #06111e;
}

.lebanon-land {
  fill: url(#lebanonLand);
  stroke: rgba(178, 220, 255, 0.78);
  stroke-width: 0.45;
}

.map-coastline {
  fill: none;
  stroke: rgba(104, 183, 255, 0.58);
  stroke-width: 0.5;
  stroke-dasharray: 1.8 1.6;
}

.map-border {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 0.35;
  stroke-dasharray: 1 1.2;
}

.map-road {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 0.28;
}

.map-road.main {
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 0.38;
}

.map-city {
  fill: #bfe3ff;
  opacity: 0.75;
}

.map-city.inland {
  fill: #d9f99d;
}

.lebanon-map-svg text {
  fill: rgba(228, 241, 255, 0.74);
  font-family: "Cairo", sans-serif;
  font-size: 2.7px;
  font-weight: 800;
  paint-order: stroke;
  stroke: rgba(6, 17, 30, 0.8);
  stroke-width: 0.35px;
}

.map-label-north {
  font-size: 4.4px !important;
  opacity: 0.34;
}

.map-grid-overlay {
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 20%, rgba(255, 255, 255, 0.04) 20.2% 20.6%, transparent 20.8% 35%, rgba(255, 255, 255, 0.035) 35.2% 35.6%, transparent 35.8%),
    linear-gradient(120deg, transparent 0 48%, rgba(255, 255, 255, 0.055) 49%, transparent 50%);
  mix-blend-mode: screen;
}

.security-marker {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  direction: rtl;
  font-family: inherit;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}

.ops-fallback-marker {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 6;
  display: none;
  width: 42px;
  height: 38px;
  border: none;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.ops-fallback-marker.active {
  display: grid;
  place-items: center;
}

.ops-fallback-marker:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.security-marker.out-region {
  opacity: 0.24;
  filter: grayscale(0.8);
}

.marker-core {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: #ff3131;
  box-shadow: 0 0 0 7px rgba(255, 49, 49, 0.15), 0 0 22px rgba(255, 49, 49, 0.58);
}

.active-warning .marker-core::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(255, 49, 49, 0.7);
  border-radius: 50%;
  animation: markerRipple 1.45s ease-out infinite;
}

.recent-strike .marker-core {
  border-color: rgba(255, 245, 220, 0.95);
  background: #f59e0b;
  box-shadow: 0 0 0 7px rgba(245, 158, 11, 0.15), 0 0 24px rgba(245, 158, 11, 0.62);
}

.recent-strike .marker-core::before {
  content: "";
  width: 7px;
  height: 10px;
  border-radius: 8px 8px 10px 10px;
  background: linear-gradient(#fff7ed, #ef4444);
  transform: rotate(18deg);
}

.past-strike .marker-core {
  border-color: rgba(226, 232, 240, 0.72);
  background: #6b7280;
  box-shadow: 0 0 0 6px rgba(107, 114, 128, 0.14);
  opacity: 0.74;
}

.marker-label {
  max-width: 120px;
  padding: 4px 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(6, 17, 30, 0.76);
  color: #eef6ff;
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.security-marker::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 50%;
  bottom: calc(100% + 12px);
  z-index: 12;
  width: max-content;
  max-width: 230px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(4, 15, 26, 0.94);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.6;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translateX(50%) translateY(5px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.security-marker:hover::after,
.security-marker:focus-visible::after,
.security-marker.swept::after {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

.security-marker:hover,
.security-marker.selected,
.security-marker.swept {
  z-index: 10;
  transform: translate(-50%, -50%) scale(1.08);
}

.security-marker.selected .marker-label,
.security-marker.swept .marker-label {
  outline: 2px solid rgba(255, 255, 255, 0.82);
}

.security-map-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  gap: 6px;
  width: min(330px, calc(100% - 30px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(6, 17, 30, 0.72);
  color: #dcecff;
  text-align: center;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.security-map-empty strong {
  font-size: 17px;
  font-weight: 900;
}

.security-map-empty span {
  color: #a7b7c8;
  font-size: 13px;
  font-weight: 800;
}

.drawer-kicker.active-warning {
  background: #fff0f0;
  color: #cc0000;
}

.drawer-kicker.recent-strike {
  background: #fff6df;
  color: #a06400;
}

.drawer-kicker.past-strike {
  background: #f2f4f7;
  color: #596575;
}

@keyframes markerRipple {
  0% {
    opacity: 0.82;
    transform: scale(0.55);
  }
  100% {
    opacity: 0;
    transform: scale(1.85);
  }
}

@keyframes redEvacuationPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 5px rgba(239, 43, 47, 0.12),
      0 0 0 10px rgba(239, 43, 47, 0.045),
      0 0 16px rgba(239, 43, 47, 0.48);
  }
  50% {
    transform: scale(1.08);
    box-shadow:
      0 0 0 7px rgba(239, 43, 47, 0.16),
      0 0 0 14px rgba(239, 43, 47, 0.06),
      0 0 22px rgba(239, 43, 47, 0.6);
  }
}

@keyframes dangerCircleBreath {
  0%, 100% {
    stroke-opacity: 0.42;
    fill-opacity: 0.10;
  }
  50% {
    stroke-opacity: 0.88;
    fill-opacity: 0.20;
  }
}

.radar-board {
  padding: 16px;
  background:
    linear-gradient(90deg, rgba(6, 40, 75, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(6, 40, 75, 0.08) 1px, transparent 1px),
    #f7f8fa;
  background-size: 28px 28px;
}

.radar-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  color: #06284b;
  font-size: 14px;
  font-weight: 800;
}

.radar-status > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.radar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cc0000;
  animation: alertBeat 1.1s ease-in-out infinite;
}

.radar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.radar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  color: #596575;
  font-size: 11px;
  font-weight: 900;
}

.radar-legend span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.radar-legend .hot::before { background: #cc0000; }
.radar-legend .warm::before { background: #d88900; }
.radar-legend .old::before { background: #788492; }

.radar-workspace {
  position: relative;
}

.radar-map {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(6, 40, 75, 0.16);
  border-radius: 12px;
  background:
    radial-gradient(circle at center, rgba(204, 0, 0, 0.12), transparent 28%),
    linear-gradient(145deg, #eef2f5, #ffffff 58%, #edf0f2);
}

.radar-ring,
.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
}

.radar-ring {
  width: var(--size);
  height: var(--size);
  border: 1px solid rgba(6, 40, 75, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radar-ring::after {
  content: attr(data-ring);
  position: absolute;
  top: 8px;
  right: 14px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #7d8997;
  font-size: 10px;
  font-weight: 900;
}

.ring-1 { --size: 96px; }
.ring-2 { --size: 184px; }
.ring-3 { --size: 272px; }

.radar-sweep {
  width: 340px;
  height: 340px;
  margin: -170px 0 0 -170px;
  border-radius: 50%;
  transform-origin: center;
  background: conic-gradient(from 0deg, rgba(204, 0, 0, 0.18), transparent 38%);
  animation: radarSweep 4.5s linear infinite;
}

.radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid #06284b;
  border-radius: 50%;
  background: #fff;
  color: #06284b;
  font-size: 14px;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.alert-pin {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transform: translate(-50%, -50%);
}

.alert-pin i {
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #cc0000;
  box-shadow: 0 0 0 6px rgba(204, 0, 0, 0.14);
  animation: alertBeat 1.4s ease-in-out infinite;
}

.alert-pin.warm i {
  background: #d88900;
  box-shadow: 0 0 0 6px rgba(216, 137, 0, 0.16);
}

.alert-pin.old i {
  background: #788492;
  box-shadow: 0 0 0 6px rgba(120, 132, 146, 0.18);
  animation-duration: 2.2s;
}

.alert-pin b {
  max-width: 130px;
  padding: 3px 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #06284b;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.alert-pin.warm b { background: #8a5a00; }
.alert-pin.old b { background: #596575; }

.alert-pin::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 50%;
  bottom: calc(100% + 10px);
  z-index: 8;
  width: max-content;
  max-width: 210px;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(6, 40, 75, 0.94);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.6;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translateX(50%) translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.alert-pin:hover::after,
.alert-pin:focus-visible::after,
.alert-pin.swept::after {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

.alert-pin.swept i,
.alert-pin.selected i {
  box-shadow:
    0 0 0 7px rgba(204, 0, 0, 0.16),
    0 0 20px rgba(204, 0, 0, 0.62);
}

.alert-pin.selected b,
.alert-pin.swept b {
  outline: 2px solid rgba(255, 255, 255, 0.8);
}

.alert-pin.muted i {
  background: #9aa3b8;
  box-shadow: 0 0 0 6px rgba(154, 163, 184, 0.18);
}

.alert-pin.muted b {
  background: #6f7a86;
}

.alert-drawer {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 12;
  width: min(310px, calc(100% - 28px));
  padding: 14px;
  border: 1px solid rgba(6, 40, 75, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(6, 40, 75, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: drawerRise 220ms ease both;
}

.alert-drawer[hidden] {
  display: none;
}

.alert-drawer-close {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 10px;
  background: #eef3f8;
  color: #06284b;
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
}

.drawer-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff0f0;
  color: #cc0000;
  font-size: 11px;
  font-weight: 900;
}

.drawer-kicker.warm {
  background: #fff6df;
  color: #a06400;
}

.drawer-kicker.old {
  background: #f2f4f7;
  color: #596575;
}

.alert-drawer h3 {
  margin-bottom: 6px;
  padding-left: 32px;
  color: #06284b;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
}

.drawer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.drawer-meta span,
.drawer-areas span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f3f6f9;
  color: #596575;
  font-size: 11px;
  font-weight: 900;
}

.drawer-text {
  max-height: 132px;
  overflow: auto;
  color: #222;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.drawer-analysis {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #f7fafc;
}

.drawer-analysis strong {
  display: block;
  margin-bottom: 4px;
  color: #06284b;
  font-size: 13px;
  font-weight: 900;
}

.drawer-analysis p {
  margin: 0;
  color: #4d5968;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.8;
}

.drawer-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.drawer-source {
  display: inline-flex;
  margin-top: 12px;
  color: #cc0000;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.alert-timeline {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.alert-card {
  padding: 13px;
  border: 1px solid #eeeeee;
  border-right: 4px solid #9aa3b8;
  border-radius: 10px;
  background: #fff;
}

.alert-card.danger {
  border-right-color: #cc0000;
}

.alert-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.alert-card-top strong {
  color: #111;
  font-size: 15px;
  font-weight: 800;
}

.alert-card-top time {
  color: #777;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.alert-card p {
  color: #222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}

.alert-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.alert-areas span {
  padding: 3px 9px;
  border-radius: 999px;
  background: #f3f6f9;
  color: #06284b;
  font-size: 12px;
  font-weight: 800;
}

.alert-card a {
  display: inline-flex;
  margin-top: 12px;
  color: #cc0000;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.alert-pending {
  padding: 18px;
  border-top: 1px solid #eeeeee;
  color: #666;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.alert-pending strong {
  display: block;
  margin-bottom: 6px;
  color: #111;
  font-size: 16px;
  font-weight: 800;
}

.alert-pending span {
  display: block;
  margin-top: 8px;
  color: #cc0000;
  font-weight: 800;
}

.x-live-embed {
  margin: 0 14px 14px;
  padding: 14px;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  background: #fbfbfb;
}

.x-live-embed > div {
  margin-bottom: 12px;
}

.x-live-embed strong {
  display: block;
  color: #111;
  font-size: 16px;
  font-weight: 800;
}

.x-live-embed span {
  display: block;
  margin-top: 4px;
  color: #777;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.card {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.5s ease;
}

.card.is-new {
  border-right: 4px solid #cc0000;
  animation: pulseNew 2s ease-in-out infinite;
}

.card.is-new .card-title {
  color: #cc0000 !important;
  font-weight: 800;
}

.card .card-title {
  color: #06284b;
  font-weight: 800;
}

.card-media {
  position: relative;
  overflow: hidden;
  background: #e8e8e8;
}

.card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e8e8e8;
}

.card-video-badge {
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(204, 0, 0, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(204, 0, 0, 0.22);
}

.card-video-badge::before,
.card-video-play::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 0;
  border-left: 9px solid currentColor;
}

.card-video-preview {
  display: grid;
  place-items: center;
  gap: 10px;
  width: 100%;
  aspect-ratio: 16 / 9;
  color: #fff;
  background:
    radial-gradient(circle at 50% 45%, rgba(204, 0, 0, 0.42), transparent 34%),
    linear-gradient(135deg, #061d34, #0a3156);
}

.card-video-preview strong {
  font-size: 14px;
  font-weight: 900;
}

.card-video-play {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: #fff;
  background: #cc0000;
  box-shadow: 0 14px 34px rgba(204, 0, 0, 0.34);
}

.card-body {
  padding: 20px 20px 14px;
}

.card-category {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 12px;
  border-radius: 12px;
  background: #f0f0f0;
  color: #555;
  font-size: 12px;
  font-weight: 600;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 12px;
  color: #999;
  font-size: 12px;
}

.card-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ccc;
}

.card-title {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.7;
  text-align: right;
  transition: color 0.5s;
}

.hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 14px;
}

.hashtags span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 26px;
  padding: 2px 9px;
  overflow-wrap: anywhere;
  border-radius: 999px;
  background: #f3f6f9;
  color: #064b8a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.card-snippet {
  margin-bottom: 12px;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.share-btns {
  display: flex;
  gap: 8px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s;
}

.share-btn:hover {
  transform: scale(1.15);
}

.share-btn.wa {
  background: #25d366;
}

.share-btn.tw {
  background: #000;
}

.share-btn.fb {
  background: #1877f2;
}

.card-time {
  color: #999;
  font-size: 12px;
}

.article-view {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  background: rgba(6, 40, 75, 0.28);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  perspective: 1200px;
  transform: translateY(100%);
  transition:
    opacity 180ms ease,
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 620ms;
  will-change: opacity, transform;
}

.article-view.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s;
}

.article-view::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  height: 3px;
  background: #cc0000;
  transform: scaleX(0);
  transform-origin: right;
  opacity: 0;
}

.article-view.open::before {
  animation: editorialSweep 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.av-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #06284b;
  color: #fff;
}

.av-header span {
  font-weight: 700;
}

.av-back {
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.av-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 0 40px;
  min-height: 100vh;
  background: #f2f2f2;
  opacity: 0;
  transform: translateY(64px) rotateX(8deg) scale(0.96);
  transform-origin: top center;
  transition:
    opacity 260ms ease 130ms,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1) 80ms;
}

.article-view.open .av-content {
  opacity: 1;
  transform: translateY(0) rotateX(0) scale(1);
}

.article-view.open .av-media,
.article-view.open .av-img,
.article-view.open .av-cat,
.article-view.open .av-title,
.article-view.open .av-meta,
.article-view.open .article-reading-switch,
.article-view.open .av-text,
.article-view.open .article-tags,
.article-view.open .av-share {
  animation: articleCascade 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.article-view.open .av-cat { animation-delay: 110ms; }
.article-view.open .av-title { animation-delay: 150ms; }
.article-view.open .av-meta { animation-delay: 190ms; }
.article-view.open .article-reading-switch { animation-delay: 220ms; }
.article-view.open .av-text { animation-delay: 260ms; }
.article-view.open .article-tags { animation-delay: 300ms; }
.article-view.open .av-share { animation-delay: 340ms; }

.av-media {
  width: 100%;
  overflow: hidden;
  background: #061d34;
}

.av-video {
  display: block;
  width: 100%;
  max-height: 520px;
  background: #061d34;
}

.av-media-embed {
  min-height: 520px;
  background: #f6f8fb;
}

.av-video-embed {
  display: block;
  width: 100%;
  min-height: 520px;
  border: 0;
  background: #fff;
}

.av-video-source {
  display: block;
  padding: 8px 14px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.av-img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  background: #e8e8e8;
}

.av-body {
  padding: 20px 16px;
}

.av-cat {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 14px;
  border-radius: 14px;
  background: #cc0000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.av-title {
  margin-bottom: 10px;
  color: #06284b;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.7;
}

.av-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #999;
  font-size: 13px;
}

.article-reading-switch {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px;
  border: 1px solid #dbe4ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(6, 40, 75, 0.06);
}

.reading-mode-btn {
  display: grid;
  gap: 2px;
  min-height: 54px;
  padding: 8px 10px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: #06284b;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  text-align: center;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.reading-mode-btn small {
  color: #7d8997;
  font-size: 12px;
  font-weight: 700;
}

.reading-mode-btn.active {
  background: #06284b;
  color: #fff;
  box-shadow: 0 10px 18px rgba(6, 40, 75, 0.18);
}

.reading-mode-btn.active small {
  color: rgba(255, 255, 255, 0.74);
}

.reading-mode-btn:active {
  transform: scale(0.98);
}

.av-text {
  color: #333;
  font-size: 16px;
  line-height: 2;
}

.reading-panel[hidden],
.article-tags[hidden] {
  display: none;
}

.fast-read-box {
  padding: 16px;
  border: 1px solid #e5edf6;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f6f9fc 100%);
}

.fast-read-label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eff5fb;
  color: #06284b;
  font-size: 13px;
  font-weight: 800;
}

.german-article-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #dcece9;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f4fbf9 100%);
  color: #172033;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.8;
}

.german-article-box h2,
.german-article-box h3 {
  margin: 0;
  color: #06284b;
  line-height: 1.35;
}

.german-article-box h2 {
  font-size: 24px;
}

.german-article-box h3 {
  margin-top: 6px;
  font-size: 17px;
}

.german-article-box p {
  margin: 0;
}

.german-lead {
  padding: 12px 14px;
  border-radius: 14px;
  background: #eaf7f4;
  color: #123c37;
  font-weight: 700;
}

.german-implications {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 0 0 20px;
}

.german-implications li {
  padding: 10px 12px;
  border: 1px solid #dcece9;
  border-radius: 12px;
  background: #fff;
}

.german-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.german-tags span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef6fb;
  color: #075985;
  font-size: 12px;
  font-weight: 800;
}

.article-section-title {
  margin: 18px 0 8px;
  color: #06284b;
  font-size: 19px;
  font-weight: 800;
}

.article-section-title:first-child {
  margin-top: 0;
}

.av-text p {
  margin-bottom: 14px;
}

.implications-list {
  counter-reset: implication;
  display: grid;
  gap: 10px;
  margin: 6px 0 16px;
  padding: 0;
  list-style: none;
}

.implications-list li {
  counter-increment: implication;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  background: #f8fafc;
  color: #333;
  line-height: 1.9;
}

.implications-list li::before {
  content: counter(implication);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #06284b;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.source-differences-list {
  display: grid;
  gap: 10px;
  margin: 6px 0 16px;
  padding: 0;
  list-style: none;
}

.source-differences-list li,
.source-differences-card {
  padding: 12px 14px;
  border: 1px solid #e5edf6;
  border-radius: 14px;
  background: #fff;
  color: #333;
  line-height: 1.9;
}

.source-differences-card {
  display: grid;
  gap: 5px;
}

.source-differences-card span {
  color: #7d8997;
  font-size: 12px;
  font-weight: 800;
}

.source-differences-card strong {
  color: #06284b;
  font-size: 16px;
}

.source-differences-card p {
  margin: 0;
  color: #596575;
}

.contradiction-radar-card {
  display: grid;
  gap: 14px;
  margin: 18px 0 16px;
  padding: 16px;
  border: 1px solid rgba(204, 0, 0, 0.16);
  border-right: 5px solid #cc0000;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(204, 0, 0, 0.08), rgba(255, 255, 255, 0.96) 42%),
    #fff;
  box-shadow: 0 14px 32px rgba(6, 40, 75, 0.08);
}

.contradiction-radar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.contradiction-radar-head span {
  color: #cc0000;
  font-size: 13px;
  font-weight: 900;
}

.contradiction-radar-head strong {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 128, 80, 0.11);
  color: #087f5b;
  font-size: 12px;
  font-weight: 900;
}

.contradiction-radar-card h2 {
  margin: 0;
  color: #06284b;
  font-size: 21px;
  font-weight: 900;
}

.contradiction-topic-pill {
  justify-self: start;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(6, 40, 75, 0.08);
  color: #06284b;
  font-size: 12px;
  font-weight: 900;
}

.contradiction-radar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contradiction-radar-grid article {
  padding: 12px;
  border: 1px solid #edf1f6;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.86);
}

.contradiction-radar-grid span,
.contradiction-radar-source span {
  display: block;
  margin-bottom: 5px;
  color: #7d8997;
  font-size: 12px;
  font-weight: 900;
}

.contradiction-radar-grid p,
.contradiction-radar-analysis {
  margin: 0;
  color: #243447;
  line-height: 1.9;
}

.contradiction-radar-source {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff7ed;
  color: #9a3412;
}

.contradiction-radar-source span {
  margin: 0;
  color: #c2410c;
}

.contradiction-radar-source strong {
  color: #7c2d12;
  font-size: 14px;
}

.contradiction-evidence-link {
  margin-inline-start: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: #cc0000;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(204, 0, 0, 0.18);
}

.contradiction-evidence-link:hover {
  background: #a80000;
}

.contradiction-radar-analysis {
  padding-top: 2px;
  color: #06284b;
  font-weight: 800;
}

.article-tags {
  margin-top: 18px;
}

.article-tags span {
  min-height: 30px;
  padding: 4px 11px;
  font-size: 13px;
}

.ask-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 315;
  direction: rtl;
}

.ask-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 18px;
  border: none;
  border-radius: 999px;
  background: #cc0000;
  color: #fff;
  box-shadow: 0 14px 34px rgba(204, 0, 0, 0.26);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}

.ask-toggle::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.18);
}

.ask-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  display: grid;
  width: min(390px, calc(100vw - 28px));
  max-height: min(640px, calc(100vh - 110px));
  overflow: hidden;
  border: 1px solid #dbe3ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(6, 40, 75, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transition: opacity 180ms ease, transform 220ms ease;
}

.ask-widget.open .ask-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ask-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #06284b;
  color: #fff;
}

.ask-head span {
  color: #9fb2c8;
  font-size: 12px;
  font-weight: 900;
}

.ask-head h2 {
  margin-top: 2px;
  font-size: 21px;
  font-weight: 900;
}

.ask-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}

.ask-intro {
  padding: 12px 16px;
  border-bottom: 1px solid #edf1f5;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.ask-messages {
  display: grid;
  gap: 10px;
  min-height: 210px;
  max-height: 340px;
  overflow-y: auto;
  padding: 14px;
  background: linear-gradient(180deg, #f8fafc, #fff);
}

.ask-message {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  white-space: pre-wrap;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
}

.ask-message.user {
  justify-self: end;
  border-bottom-left-radius: 6px;
  background: #06284b;
  color: #fff;
}

.ask-message.bot {
  justify-self: start;
  border: 1px solid #e5ebf2;
  border-bottom-right-radius: 6px;
  background: #fff;
  color: #202b3a;
}

.ask-sources {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.ask-source-chip {
  display: block;
  padding: 6px 8px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #06284b;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
}

.ask-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #edf1f5;
}

.ask-form input {
  min-width: 0;
  min-height: 42px;
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  padding: 6px 14px;
  outline: none;
  color: #1f2937;
  font-size: 13px;
  font-weight: 800;
}

.ask-form input:focus {
  border-color: #06284b;
  box-shadow: 0 0 0 3px rgba(6, 40, 75, 0.08);
}

.ask-form button {
  min-height: 42px;
  border: none;
  border-radius: 999px;
  background: #cc0000;
  color: #fff;
  cursor: pointer;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 900;
}

.ask-form button:disabled,
.ask-form input:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.ask-counter {
  padding: 0 16px 13px;
  color: #7a8696;
  font-size: 12px;
  font-weight: 900;
}

.live-tv-view {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  padding: 22px;
  background: rgba(6, 40, 75, 0.36);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition:
    opacity 220ms ease,
    visibility 0s linear 220ms;
}

.live-tv-view.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition:
    opacity 220ms ease,
    visibility 0s;
}

.live-tv-shell {
  width: min(1080px, 100%);
  max-height: calc(100vh - 44px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: #f3f4f6;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  transform: translateY(28px) scale(0.97);
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.live-tv-view.open .live-tv-shell {
  transform: translateY(0) scale(1);
}

.live-tv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: #06284b;
  color: #fff;
}

.live-tv-head span {
  color: #9aa3b8;
  font-size: 12px;
  font-weight: 800;
}

.live-tv-head h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

.live-tv-close {
  min-height: 34px;
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.live-tv-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 14px;
  padding: 14px;
  direction: ltr;
}

.tv-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  border-radius: 12px;
  background: #071522;
  direction: rtl;
}

.tv-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 18px;
  color: #fff;
  text-align: center;
}

.tv-placeholder.hidden {
  display: none;
}

.live-tv-player,
.live-tv-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #050c14;
}

.live-tv-player {
  object-fit: contain;
}

.tv-play-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: #d60000;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(214, 0, 0, 0.22);
}

.tv-play-badge::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: livePulse 1.2s ease-in-out infinite;
}

.tv-placeholder strong {
  font-size: 24px;
  font-weight: 800;
}

.tv-placeholder span {
  color: #aab4c2;
  font-size: 14px;
  font-weight: 700;
  max-width: 420px;
  line-height: 1.8;
}

.tv-side {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  direction: rtl;
}

.tv-now,
.tv-channel-grid {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
}

.tv-now {
  padding: 12px;
}

.tv-now span {
  display: block;
  color: #777;
  font-size: 12px;
  font-weight: 800;
}

.tv-now strong {
  display: block;
  margin: 4px 0 10px;
  color: #06284b;
  font-size: 18px;
  font-weight: 800;
}

.tv-now em,
.tv-local-note {
  display: inline-flex;
  color: #777;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.7;
}

.tv-local-note {
  justify-self: center;
  margin-top: 8px;
  color: #7d8997;
}

.tv-channel-grid {
  display: grid;
  gap: 8px;
  max-height: 430px;
  overflow-y: auto;
  padding: 10px;
}

.tv-channel {
  display: grid;
  gap: 2px;
  width: 100%;
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  background: #f8f9fb;
  color: #111;
  cursor: pointer;
  text-align: right;
}

.tv-channel span {
  font-size: 14px;
  font-weight: 800;
}

.tv-channel small {
  color: #777;
  font-size: 11px;
  font-weight: 700;
}

.tv-channel.active,
.tv-channel:hover {
  border-color: #cc0000;
  background: #fff4f4;
}

.scenario-view {
  position: fixed;
  inset: 0;
  z-index: 325;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  padding: 22px;
  background: rgba(2, 9, 20, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.scenario-view.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 220ms ease, visibility 0s;
}

.scenario-shell {
  width: min(1060px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(rgba(0, 245, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.055) 1px, transparent 1px),
    #061325;
  background-size: 34px 34px, 34px 34px, auto;
  color: #f8fbff;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  transform: translateY(26px) scale(0.97);
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.scenario-view.open .scenario-shell {
  transform: translateY(0) scale(1);
}

.scenario-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 30, 54, 0.72);
}

.scenario-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00f5ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.scenario-head span i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e63946;
  box-shadow: 0 0 18px rgba(230, 57, 70, 0.8);
  animation: livePulse 1.2s ease-in-out infinite;
}

.scenario-head h2 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.25;
}

.scenario-head p {
  max-width: 760px;
  margin-top: 8px;
  color: #9fb2c8;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.8;
}

.scenario-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

.scenario-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.55fr) auto;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 16, 31, 0.52);
}

.scenario-controls label {
  display: grid;
  gap: 7px;
  color: #9fb2c8;
  font-size: 12px;
  font-weight: 900;
}

.scenario-controls select,
.scenario-controls button {
  min-height: 48px;
  border-radius: 14px;
  font: inherit;
  font-weight: 900;
}

.scenario-controls select {
  width: 100%;
  border: 1px solid rgba(0, 245, 255, 0.24);
  background: rgba(12, 30, 54, 0.84);
  color: #fff;
  padding: 0 14px;
  outline: none;
}

.scenario-controls select:focus {
  border-color: #00f5ff;
  box-shadow: 0 0 0 4px rgba(0, 245, 255, 0.1);
}

.scenario-controls button {
  align-self: end;
  border: 0;
  background: #e63946;
  color: #fff;
  padding: 0 22px;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(230, 57, 70, 0.25);
}

.scenario-controls button:disabled,
.scenario-controls select:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.scenario-loading {
  margin: 18px 22px 0;
  padding: 18px;
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 16px;
  background: rgba(12, 30, 54, 0.72);
  box-shadow: inset 0 0 24px rgba(0, 245, 255, 0.06);
}

.data-stream {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

.data-stream span {
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 245, 255, 0.2);
  overflow: hidden;
  position: relative;
}

.data-stream span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #00f5ff;
  transform: translateX(110%);
  animation: scenarioDataFlow 1.15s ease-in-out infinite;
}

.data-stream span:nth-child(2)::after { animation-delay: 120ms; }
.data-stream span:nth-child(3)::after { animation-delay: 240ms; }
.data-stream span:nth-child(4)::after { animation-delay: 360ms; }
.data-stream span:nth-child(5)::after { animation-delay: 480ms; }
.data-stream span:nth-child(6)::after { animation-delay: 600ms; }

.scenario-loading strong {
  display: block;
  color: #dbeafe;
  font-size: 14px;
  font-weight: 900;
}

.scenario-results {
  padding: 22px;
}

.scenario-empty {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 28px;
  border: 1px dashed rgba(0, 245, 255, 0.28);
  border-radius: 18px;
  background: rgba(12, 30, 54, 0.44);
  color: #dbeafe;
  text-align: center;
}

.scenario-empty strong {
  font-size: 20px;
  font-weight: 900;
}

.scenario-empty span {
  max-width: 620px;
  margin-top: 8px;
  color: #9fb2c8;
  font-weight: 800;
  line-height: 1.8;
}

.scenario-error {
  border-color: rgba(230, 57, 70, 0.42);
  background: rgba(230, 57, 70, 0.1);
}

.scenario-dashboard {
  display: grid;
  gap: 18px;
}

.scenario-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.scenario-metric {
  position: relative;
  min-height: 170px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(12, 30, 54, 0.64);
}

.scenario-metric::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #9fb2c8;
  box-shadow: 0 0 20px rgba(159, 178, 200, 0.35);
}

.scenario-metric.danger::before { background: #e63946; box-shadow: 0 0 24px rgba(230, 57, 70, 0.62); }
.scenario-metric.warning::before { background: #f59e0b; box-shadow: 0 0 24px rgba(245, 158, 11, 0.5); }
.scenario-metric.stable::before { background: #14b86a; box-shadow: 0 0 24px rgba(20, 184, 106, 0.45); }
.scenario-metric.watch::before { background: #00f5ff; box-shadow: 0 0 24px rgba(0, 245, 255, 0.5); }

.scenario-metric span,
.scenario-report-top span {
  display: block;
  color: #9fb2c8;
  font-size: 12px;
  font-weight: 900;
}

.scenario-metric strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
}

.scenario-metric em {
  display: inline-flex;
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #00f5ff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.scenario-metric p {
  margin-top: 12px;
  color: #b9c7d9;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.scenario-report {
  padding: 22px;
  border: 1px solid rgba(0, 245, 255, 0.18);
  border-radius: 20px;
  background: rgba(248, 251, 255, 0.96);
  color: #061325;
}

.scenario-report-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.scenario-report-top strong {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #061325;
  color: #00f5ff;
  font-size: 12px;
  font-weight: 900;
}

.scenario-report h3 {
  color: #06284b;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
  line-height: 1.35;
}

.scenario-report p {
  margin-top: 14px;
  color: #24364b;
  font-size: 17px;
  font-weight: 700;
  line-height: 2;
}

.scenario-actions {
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
  background: #eef7ff;
}

.scenario-actions h4 {
  margin-bottom: 10px;
  color: #06284b;
  font-size: 18px;
  font-weight: 900;
}

.scenario-actions ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.scenario-actions li {
  position: relative;
  padding-right: 20px;
  color: #24364b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.scenario-actions li::before {
  content: "";
  position: absolute;
  top: 11px;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e63946;
}

.av-share {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

.av-share .share-btn {
  width: 40px;
  height: 40px;
  font-size: 18px;
}

.loading {
  padding: 40px;
  color: #999;
  font-size: 16px;
  text-align: center;
}

.spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border: 3px solid #e0e0e0;
  border-top-color: #cc0000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes scrollTicker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes pulseNew {
  0%,
  100% {
    background: #fff;
  }
  50% {
    background: #fff5f5;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scenarioDataFlow {
  0% {
    transform: translateX(110%);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    transform: translateX(-110%);
    opacity: 0;
  }
}

@keyframes livePulse {
  70% {
    box-shadow: 0 0 0 9px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes liveBlink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.75);
  }
  50% {
    opacity: 0.28;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0);
  }
}

@keyframes opsSoftPulse {
  0%,
  100% {
    opacity: 0.82;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.82);
  }
}

@keyframes opsRippleSlow {
  0% {
    opacity: 0.42;
    transform: scale(0.72);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@keyframes alertBeat {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.72);
  }
}

@keyframes radarSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes drawerRise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes editorialSweep {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  22% {
    opacity: 1;
  }
  68% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

@keyframes articleCascade {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breakingDrop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breakingSweep {
  0%,
  58% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 680px) {
  .breaking-banner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    min-height: 52px;
    padding: 8px 12px;
  }

  .breaking-title {
    font-size: 14px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .breaking-time {
    display: none;
  }

  body.breaking-active .header {
    margin-top: 96px;
  }

  body.breaking-active .cat-tabs {
    top: 96px;
  }

  .header {
    padding-top: 58px;
  }

  .header.menu-open {
    padding-bottom: 18px;
  }

  .header-actions {
    top: 14px;
    right: 12px;
    gap: 6px;
    max-width: calc(100% - 106px);
  }

  .about-link,
  .what-if-link,
  .site-menu-button {
    min-height: 32px;
    padding: 3px 11px;
    font-size: 12px;
  }

  .header-actions > .about-link {
    display: none;
  }

  .header-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(360px, 100%);
  }

  .header-menu .live-tv-link,
  .header-menu .field-toggle,
  .header-menu .about-link,
  .header-menu .what-if-link {
    min-height: 36px;
    padding: 3px 10px;
    font-size: 12px;
  }

  .site-footer {
    align-items: stretch;
    flex-direction: column;
    margin-top: 18px;
    padding-inline: 14px;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .site-footer a {
    justify-content: center;
  }

  .ask-widget {
    right: 12px;
    bottom: 12px;
  }

  .ask-toggle {
    min-height: 42px;
    padding: 7px 14px;
    font-size: 13px;
  }

  .ask-panel {
    right: -4px;
    bottom: 52px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 100px);
    border-radius: 16px;
  }

  .ask-messages {
    max-height: 300px;
  }

  .ask-form {
    grid-template-columns: 1fr;
  }

  .article-reading-switch {
    gap: 6px;
    margin-bottom: 14px;
    padding: 5px;
  }

  .reading-mode-btn {
    min-height: 48px;
    padding: 7px 6px;
    font-size: 13px;
  }

  .reading-mode-btn small {
    font-size: 11px;
  }

  .fast-read-box,
  .source-differences-list li,
  .source-differences-card,
  .contradiction-radar-card {
    padding: 12px;
    border-radius: 12px;
  }

  .contradiction-radar-grid {
    grid-template-columns: 1fr;
  }

  .login-link {
    top: 14px;
    left: 12px;
  }

  .main-layout {
    grid-template-columns: minmax(0, 600px);
    grid-template-areas:
      "feed"
      "rail";
    direction: rtl;
  }

  .field-live {
    width: min(92vw, 420px);
  }

  #feed {
    grid-column: 1 !important;
    grid-row: 1;
  }

  .left-rail {
    grid-column: 1 !important;
    grid-row: 2;
    position: relative;
    top: auto;
  }

  .field-feed {
    max-height: calc(100vh - 68px);
  }

  .alerts-hero {
    flex-direction: column;
  }

  .alerts-source {
    width: 100%;
    justify-content: center;
  }

  .live-security-map {
    padding: 10px;
  }

  .security-map-toolbar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 7px;
    scrollbar-width: none;
  }

  .security-map-toolbar::-webkit-scrollbar {
    display: none;
  }

  .security-region-btn {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 5px 11px;
    font-size: 12px;
  }

  .security-layer-toggle {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 5px 11px;
    font-size: 11px;
  }

  .security-map-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .security-map-legend {
    justify-content: flex-start;
  }

  .security-map-viewport {
    min-height: 470px;
    border-radius: 18px;
  }

  .leaflet-marker-label {
    max-width: 76px;
    padding: 2px 6px;
    font-size: 9px;
  }

  .leaflet-marker-core {
    width: 12px;
    height: 12px;
    border-width: 2px;
  }

  .security-leaflet-marker.active-warning .leaflet-marker-core {
    width: 16px;
    height: 16px;
    border-width: 3px;
  }

  .security-leaflet-marker.active-warning .leaflet-marker-core::after {
    inset: -8px;
  }

  .security-real-map .leaflet-control-zoom a {
    width: 28px;
    height: 28px;
    line-height: 28px;
  }

  .marker-label {
    max-width: 86px;
    padding: 3px 7px;
    font-size: 10px;
  }

  .security-marker::after {
    max-width: 175px;
    font-size: 10px;
  }

  .radar-map {
    min-height: 280px;
  }

  .radar-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .radar-legend {
    justify-content: flex-start;
  }

  .alert-pin b {
    max-width: 96px;
    font-size: 10px;
  }

  .alert-pin::after {
    max-width: 170px;
    font-size: 10px;
  }

  .alert-drawer {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 10px;
  }

  .alert-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-tv-view {
    align-items: end;
    padding: 0;
  }

  .live-tv-shell {
    width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
  }

  .live-tv-body {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .tv-player {
    min-height: 220px;
  }

  .tv-side {
    grid-template-rows: auto auto;
  }

  .tv-channel-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(130px, 1fr);
    grid-template-columns: none;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .tv-channel {
    min-height: 58px;
  }

  .scenario-view {
    align-items: end;
    padding: 0;
  }

  .scenario-shell {
    width: 100%;
    max-height: 94vh;
    border-radius: 22px 22px 0 0;
  }

  .scenario-head,
  .scenario-controls,
  .scenario-results {
    padding: 16px;
  }

  .scenario-head {
    gap: 12px;
  }

  .scenario-head h2 {
    font-size: 24px;
  }

  .scenario-controls {
    grid-template-columns: 1fr;
  }

  .scenario-controls button {
    width: 100%;
  }

  .scenario-metrics {
    grid-template-columns: 1fr;
  }

  .scenario-metric {
    min-height: auto;
  }

  .scenario-report {
    padding: 16px;
  }

  .scenario-report-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .scenario-report p {
    font-size: 15px;
    line-height: 1.9;
  }
}

@media (max-width: 400px) {
  .card-title {
    font-size: 16px;
  }

  .ticker-label {
    padding: 0 10px;
    font-size: 13px;
  }
}
