/* Daily Intel: Virya Radar news edition. Builds on /assets/site.css tokens; Virya Lotus Intel only. */
.dn { --paper: #FFFDF8; --rule: rgba(20, 23, 58, .12); font-variant-numeric: tabular-nums; }
.dn .wrap { max-width: 1200px; }
.dn .up { color: #2E7D4F; }
.dn .dn-down { color: var(--ember-deep); }

/* Masthead */
.dn-mast { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.dn-mast::before { content: ""; position: absolute; right: -160px; top: -200px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 87, 46, .32), transparent 68%); pointer-events: none; }
.dn-mast__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; padding-top: 28px; padding-bottom: 22px; position: relative; }
.dn-mast__brand { display: flex; align-items: center; gap: 16px; }
.dn-mast__mark { width: 52px; height: 48px; flex: none; }
.dn-mast__kicker { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron); }
.dn-mast__title { margin: 0; font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
.dn-mast__title .deva { font-size: .55em; color: var(--on-night-soft); margin-left: 8px; vertical-align: middle; }
.dn-mast__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; color: var(--on-night-soft); font-size: .9rem; }

.dn-tape { border-top: 1px solid rgba(251, 246, 236, .12); background: rgba(0, 0, 0, .18); position: relative; }
.dn-tape__in { display: flex; gap: 0; list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 0; overflow-x: auto; scrollbar-width: none; }
.dn-tape__in::-webkit-scrollbar { display: none; }
.dn-tape li { display: flex; align-items: baseline; gap: 8px; padding: 12px 22px 12px 0; margin-right: 22px; border-right: 1px solid rgba(251, 246, 236, .12); white-space: nowrap; font-size: .88rem; }
.dn-tape li:last-child { border-right: 0; }
.dn-tape span { color: var(--on-night-soft); }
.dn-tape b { font-weight: 600; }
.dn-tape em { font-style: normal; font-size: .82rem; color: var(--on-night-soft); }
.dn-tape .up { color: #8FD6A8; }
.dn-tape .dn-down { color: #FF9A7A; }

/* Lead */
.dn-lead { display: grid; gap: 28px; padding: 40px 0 36px; border-bottom: 3px solid var(--ink); }
@media (min-width: 900px) { .dn-lead { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 44px; } }
.dn-lead__fig { margin: 0; }
.dn-lead__fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; background: var(--sand); }
.dn-lead__fig figcaption, .dn-card figcaption { font-size: .8rem; color: var(--ink-soft); margin-top: 8px; }
.dn-lead__fig figcaption span { opacity: .8; }
.dn-lead__art { border-radius: 18px; overflow: hidden; }
.dn-lead__art svg { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.dn-lead__h { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.08; letter-spacing: -.015em; margin: 10px 0 14px; font-weight: 700; }
.dn-lead__dek { font-size: 1.12rem; line-height: 1.55; color: var(--ink-soft); margin: 0 0 18px; }
.dn-byline { font-size: .88rem; color: var(--ink-soft); margin: 0 0 18px; }
.dn-byline b { color: var(--ink); font-weight: 600; }
.dn-share { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.dn-share:hover { background: var(--ink); color: var(--on-night); }

/* Tags and flags */
.dn-tag { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-deep); }
.dn-flags { display: inline-flex; gap: 4px; }
.dn-flags img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(20, 23, 58, .18); }

/* Layout */
.dn-grid { display: grid; gap: 40px; padding: 36px 0 24px; }
@media (min-width: 1000px) { .dn-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } .dn-rail { position: sticky; top: 92px; align-self: start; } }

.dn-sec { margin-bottom: 44px; }
.dn-sec__head { display: flex; align-items: baseline; gap: 12px; border-top: 1px solid var(--ink); padding-top: 12px; margin-bottom: 8px; }
.dn-sec__head h2 { margin: 0; font-size: 1.05rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.dn-sec__num { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--ember-deep); margin: 0; }

.dn-item { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.dn-item h3 { font-size: 1.32rem; line-height: 1.22; margin: 0 0 8px; font-weight: 700; letter-spacing: -.005em; }
.dn-item p:not(.dn-tag) { margin: 0; color: var(--ink-soft); }
.dn-item--feature h3 { font-size: clamp(1.45rem, 2.6vw, 1.8rem); }

.dn-duo { display: grid; gap: 0 28px; }
@media (min-width: 720px) {
  .dn-duo { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dn-duo--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dn-duo--1 { grid-template-columns: minmax(0, 1fr); }
  .dn-duo .dn-item { border-bottom: 0; }
  .dn-duo .dn-item + .dn-item { border-left: 1px solid var(--rule); padding-left: 28px; margin-left: -1px; }
  .dn-duo .dn-item h3 { font-size: 1.16rem; }
}
.dn-art { border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.dn-art svg { width: 100%; height: auto; aspect-ratio: 16 / 7.5; }

.dn-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.dn-map-card { margin: 18px 0 6px; }
.dn-map-card figcaption { margin: 0; padding: 10px 14px; border-top: 1px solid var(--rule); }
.dn-map { height: 320px; background: var(--sand); }
.dn-map.leaflet-container { background: var(--paper); }
.dn-map--wide { height: 360px; }
.dn-map .leaflet-container, .leaflet-container { font-family: "Virya Lotus Intel", system-ui, sans-serif; }
.dn-map .leaflet-control-zoom a { font-family: "Virya Lotus Intel", system-ui, sans-serif; }
.dn-pin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid #fff; box-shadow: 0 0 0 2px rgba(20, 23, 58, .35), 0 2px 6px rgba(20, 23, 58, .3); }
.dn-pin--ember { background: #E4572E; }
.dn-pin--deep { background: #C8431F; }
.dn-pin--saffron { background: #F2A93B; }
.dn-pin--ink { background: #14173A; }
.dn-label.leaflet-tooltip { background: transparent; border: 0; box-shadow: none; padding: 0 2px; font-size: .78rem; font-weight: 600; color: var(--ink); }
.dn-label.leaflet-tooltip::before { display: none; }
.dn-pin--pulse { animation: dnpulse 2.4s ease-out infinite; }
@keyframes dnpulse { 0% { box-shadow: 0 0 0 2px rgba(20,23,58,.35), 0 0 0 0 rgba(228,87,46,.55); } 100% { box-shadow: 0 0 0 2px rgba(20,23,58,.35), 0 0 0 16px rgba(228,87,46,0); } }
@media (prefers-reduced-motion: reduce) { .dn-pin--pulse { animation: none; } }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { font-size: .86rem; line-height: 1.45; margin: 12px 14px; }

/* Starter */
.dn-starter { position: relative; overflow: hidden; background: var(--night); color: var(--on-night); border-radius: 22px; padding: 32px 32px 28px; }
.dn-starter::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 92% 0%, rgba(242, 169, 59, .3), transparent 55%); }
.dn-starter > * { position: relative; }
.dn-starter .dn-sec__num { color: var(--saffron); }
.dn-starter__mark { position: absolute; right: 22px; bottom: 18px; width: 90px; height: 84px; opacity: .22; }
.dn-starter blockquote { margin: 10px 0 0; }
.dn-starter blockquote p { margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.32; font-weight: 500; max-width: 34ch; }

/* Rail */
.dn-rail { display: grid; gap: 18px; }
.dn-box { padding: 18px; }
.dn-box__h { margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dn-spark { width: 100%; height: auto; }
.dn-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.dn-table th, .dn-table td { padding: 8px 0 8px 8px; white-space: nowrap; border-bottom: 1px solid var(--rule); text-align: right; }
.dn-table th[scope="row"], .dn-table thead th:first-child { text-align: left; font-weight: 600; }
.dn-table thead th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.dn-table tr:last-child > * { border-bottom: 0; }
.dn-note { font-size: .78rem; color: var(--ink-soft); margin: 10px 0 0; }
.dn-dates { list-style: none; margin: 0; padding: 0; }
.dn-dates li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: .9rem; }
.dn-dates li:last-child { border-bottom: 0; }
.dn-dates time { font-weight: 700; color: var(--ember-deep); }
.dn-box--cta { background: var(--sand); }
.dn-links { list-style: none; margin: 0; padding: 0; }
.dn-links a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rule); }
.dn-links li:last-child a { border-bottom: 0; }
.dn-links a:hover { color: var(--ember-deep); }

/* Sources */
.dn-sources { border-top: 3px solid var(--ink); padding: 20px 0 56px; }
.dn-sources h2 { font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.dn-sources ol { columns: 2 300px; column-gap: 40px; margin: 0; padding-left: 22px; font-size: .88rem; color: var(--ink-soft); }
.dn-sources li { margin-bottom: 6px; break-inside: avoid; }
.dn-sources a { color: var(--ink); text-underline-offset: 3px; }
.dn-sources a:hover { color: var(--ember-deep); }

.dn-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--night); color: var(--on-night); padding: 10px 18px; border-radius: 999px; font-size: .88rem; z-index: 60; }

@media (max-width: 560px) {
  .dn .wrap { padding-left: 16px; padding-right: 16px; }
  .dn-mast__mark { width: 40px; height: 37px; }
  .dn-lead { padding-top: 24px; }
  .dn-starter { padding: 24px 22px; }
  .dn-map { height: 260px; } .dn-map--wide { height: 280px; }
}
@media print {
  .header, .footer, .dn-share, .dn-map-card, .dn-rail .dn-box--cta, .skip { display: none !important; }
  .dn-mast, .dn-starter { background: none !important; color: #000 !important; }
  .dn-grid { grid-template-columns: 1fr !important; }
  .dn-sources a::after { content: " (" attr(href) ")"; font-size: .75em; }
}
