:root{
  --np-bg:#07111f;
  --np-bg-2:#0d1830;
  --np-surface:rgba(15,25,49,.88);
  --np-surface-2:rgba(12,22,44,.68);
  --np-line:rgba(149,175,255,.16);
  --np-line-strong:rgba(149,175,255,.28);
  --np-text:#eaf2ff;
  --np-muted:#95a7c9;
  --np-accent:#71e3ff;
  --np-accent-2:#8d6bff;
  --np-accent-3:#ff5fb9;
  --np-accent-4:#ffb85c;
  --np-shadow:0 20px 60px rgba(0,0,0,.28);
  --np-gradient:linear-gradient(135deg,var(--np-accent),var(--np-accent-2) 45%,var(--np-accent-3));
}

[data-bs-theme="light"]:root{
  --np-bg:#f4f8ff;
  --np-bg-2:#eef4ff;
  --np-surface:rgba(255,255,255,.88);
  --np-surface-2:rgba(255,255,255,.72);
  --np-line:rgba(54,83,171,.12);
  --np-line-strong:rgba(54,83,171,.2);
  --np-text:#0d1730;
  --np-muted:#566785;
  --np-shadow:0 18px 60px rgba(64,94,180,.12);
}

body.np-body{
  background:
    radial-gradient(circle at top left,rgba(113,227,255,.16),transparent 30%),
    radial-gradient(circle at top right,rgba(141,107,255,.14),transparent 25%),
    radial-gradient(circle at bottom left,rgba(255,95,185,.12),transparent 25%),
    var(--np-bg);
  color:var(--np-text);
}

.np-site{position:relative;overflow:hidden}
.np-site::before{
  content:"";position:fixed;inset:0;pointer-events:none;opacity:.18;
  background:url('../img/prism-grid.svg') center/cover no-repeat;
}
.np-site::after{
  content:"";position:fixed;right:-12rem;top:-10rem;width:30rem;height:30rem;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(113,227,255,.28),transparent 60%);
  filter:blur(24px);opacity:.7;
}

.np-main,.np-header,.np-footer{position:relative;z-index:1}
.np-main{padding-bottom:2rem}
.np-body a{transition:all .18s ease}
.np-body a{text-decoration:none}
.np-body img{display:block}

.np-topline{
  backdrop-filter:blur(14px);
  background:linear-gradient(180deg,rgba(5,10,20,.82),rgba(5,10,20,.52));
  border-bottom:1px solid var(--np-line);
  color:var(--np-muted);
  font-size:.84rem;
}
[data-bs-theme="light"] .np-topline{background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.72))}
.np-topline a{color:var(--np-muted)}
.np-topline a:hover{color:var(--np-text)}
.np-live{display:inline-flex;align-items:center;gap:.45rem;color:var(--np-text);font-weight:700}
.np-live i{color:var(--np-accent-3)}
.np-divider{width:1px;height:.85rem;background:var(--np-line-strong)}

.np-header-shell{
  background:rgba(4,10,22,.84);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--np-line);
}
[data-bs-theme="light"] .np-header-shell{background:rgba(247,250,255,.82)}
.np-header-bar,
.np-nav,
.np-strip-grid,
.np-hero-grid,
.np-footer-top,
.np-footer-bottom{display:flex;align-items:center}
.np-header-bar{
  gap:1rem;padding:1rem 1.1rem;border:1px solid var(--np-line);
  border-radius:28px;background:linear-gradient(180deg,var(--np-surface),rgba(7,17,31,.72));
  box-shadow:var(--np-shadow)
}
[data-bs-theme="light"] .np-header-bar{background:linear-gradient(180deg,var(--np-surface),rgba(255,255,255,.74))}
.np-logo img{max-height:44px;width:auto}
.np-brand-note{align-items:center;gap:.85rem;padding:.55rem .85rem;border:1px solid var(--np-line);border-radius:18px;background:var(--np-surface-2)}
.np-brand-note small{display:block;color:var(--np-muted)}
.np-brand-icon,.np-icon-btn,.np-backtop,.np-footer-social{display:grid;place-items:center}
.np-brand-icon,
.np-icon-btn{
  width:2.7rem;height:2.7rem;border-radius:16px;border:1px solid var(--np-line);background:var(--np-surface-2);color:var(--np-text)
}
.np-icon-btn:hover,.np-footer-social:hover,.np-backtop:hover{transform:translateY(-2px);border-color:var(--np-line-strong);color:var(--np-text)}
.np-header-actions{display:flex;align-items:center;gap:.6rem}
.np-search{
  display:none;align-items:center;gap:.8rem;max-width:32rem;flex:1;
  padding:.9rem 1rem;border-radius:18px;border:1px solid var(--np-line);background:var(--np-surface-2)
}
.np-search i,.np-search kbd{color:var(--np-muted)}
.np-search input{border:0;background:transparent;outline:0;flex:1;color:var(--np-text)}
.np-search input::placeholder{color:var(--np-muted)}
.np-search kbd{padding:.15rem .45rem;border-radius:.45rem;background:rgba(255,255,255,.06);border:1px solid var(--np-line)}
.np-epaper-btn,.np-footer-btn,.np-primary-link{
  display:inline-flex;align-items:center;gap:.5rem;border:0;border-radius:14px;
  padding:.82rem 1rem;background:var(--np-gradient);color:#fff;font-weight:700;box-shadow:0 12px 28px rgba(86,109,255,.24)
}
.np-footer-btn{background:rgba(255,255,255,.06);color:var(--np-text);border:1px solid var(--np-line)}
[data-bs-theme="light"] .np-footer-btn{background:#fff}
.np-epaper-btn:hover,.np-footer-btn:hover,.np-primary-link:hover{color:#fff;transform:translateY(-2px)}
.np-footer-btn:hover{color:var(--np-text)}

.np-nav{gap:1rem;padding:.35rem .5rem .15rem}
.np-nav-home,.np-nav-index,.np-nav-link{
  display:inline-flex;align-items:center;gap:.5rem;padding:.8rem 1rem;border-radius:14px;color:var(--np-muted);font-weight:600
}
.np-nav-home.active,.np-nav-home:hover,.np-nav-index:hover,.np-nav-link:hover,.np-nav-link.show{
  background:rgba(255,255,255,.05);color:var(--np-text)
}
[data-bs-theme="light"] .np-nav-home.active,
[data-bs-theme="light"] .np-nav-home:hover,
[data-bs-theme="light"] .np-nav-index:hover,
[data-bs-theme="light"] .np-nav-link:hover,
[data-bs-theme="light"] .np-nav-link.show{background:rgba(54,83,171,.08)}
.np-nav-scroll{display:flex;align-items:center;gap:.15rem;flex:1;overflow:auto;scrollbar-width:none}
.np-nav-scroll::-webkit-scrollbar{display:none}
.np-dropdown{
  min-width:16rem;padding:.6rem;border:1px solid var(--np-line);border-radius:18px;background:rgba(8,16,31,.94);box-shadow:var(--np-shadow)
}
[data-bs-theme="light"] .np-dropdown{background:rgba(255,255,255,.96)}
.np-dropdown .dropdown-item{display:flex;justify-content:space-between;align-items:center;border-radius:12px;padding:.75rem .85rem;color:var(--np-text)}
.np-dropdown .dropdown-item:hover{background:rgba(255,255,255,.06)}
[data-bs-theme="light"] .np-dropdown .dropdown-item:hover{background:rgba(54,83,171,.08)}

.np-breaking{border-bottom:1px solid var(--np-line);background:rgba(11,20,41,.84)}
[data-bs-theme="light"] .np-breaking{background:rgba(255,255,255,.88)}
.np-breaking-label{display:inline-flex;align-items:center;gap:.45rem;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--np-accent-3),var(--np-accent-4));padding:.45rem .8rem;border-radius:999px;font-size:.78rem}
.np-dot{width:.48rem;height:.48rem;border-radius:50%;display:inline-block;margin-right:.55rem;background:var(--np-accent)}
.np-breaking .nm-ticker a{color:var(--np-text)}

.np-mobile-panel{background:var(--np-bg);color:var(--np-text)}
.np-mobile-search,.np-mobile-nav a,.np-mobile-theme{
  display:flex;align-items:center;justify-content:space-between;gap:.8rem;width:100%
}
.np-mobile-search{padding:.95rem 1rem;border-radius:16px;border:1px solid var(--np-line);background:var(--np-surface)}
.np-mobile-search input{flex:1;border:0;outline:0;background:transparent;color:var(--np-text)}
.np-mobile-search button,.np-mobile-theme{border:0;border-radius:14px;background:var(--np-gradient);color:#fff;padding:.9rem 1rem}
.np-mobile-nav{display:grid;gap:.5rem}
.np-mobile-nav a{padding:.9rem 1rem;border-radius:14px;border:1px solid var(--np-line);background:var(--np-surface-2);color:var(--np-text)}
.np-mobile-child{margin-left:1rem}
.np-mobile-actions{display:grid;gap:.75rem}

.np-dashboard-section,
.np-news-section,
.np-media-section,
.np-category-section,
.np-region-section{padding-top:1.4rem}
.np-strip-grid{gap:1rem;align-items:stretch;flex-wrap:wrap;margin-bottom:1rem}
.np-strip-panel,.np-strip-stats,.np-live-panel,.np-focus-card,.np-mini-card,.np-spot-card,.np-media-card,.np-category-card,.np-region-shell,
.np-analytics-card,.np-stack-card,.np-hero-lead,.np-stat-card{
  position:relative;border:1px solid var(--np-line);background:linear-gradient(180deg,var(--np-surface),rgba(7,17,31,.76));border-radius:24px;box-shadow:var(--np-shadow)
}
[data-bs-theme="light"] .np-strip-panel,
[data-bs-theme="light"] .np-strip-stats,
[data-bs-theme="light"] .np-live-panel,
[data-bs-theme="light"] .np-focus-card,
[data-bs-theme="light"] .np-mini-card,
[data-bs-theme="light"] .np-spot-card,
[data-bs-theme="light"] .np-media-card,
[data-bs-theme="light"] .np-category-card,
[data-bs-theme="light"] .np-region-shell,
[data-bs-theme="light"] .np-analytics-card,
[data-bs-theme="light"] .np-stack-card,
[data-bs-theme="light"] .np-hero-lead,
[data-bs-theme="light"] .np-stat-card{background:linear-gradient(180deg,var(--np-surface),rgba(255,255,255,.76))}
.np-strip-panel{flex:1;padding:1rem 1.1rem}
.np-strip-stats{display:grid;grid-template-columns:repeat(4,minmax(90px,1fr));gap:.8rem;padding:1rem;min-width:min(100%,26rem)}
.np-stat-card{padding:1rem 1rem 1.1rem;border-radius:18px;box-shadow:none}
.np-stat-card small{display:block;color:var(--np-muted);margin-bottom:.3rem}
.np-stat-card strong{font-size:1.45rem;line-height:1;background:var(--np-gradient);-webkit-background-clip:text;background-clip:text;color:transparent}
.np-chip-row{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:.8rem}
.np-chip{display:inline-flex;align-items:center;gap:.6rem;padding:.72rem .9rem;border:1px solid var(--np-line);border-radius:999px;background:rgba(255,255,255,.03);color:var(--np-text);font-size:.9rem}
[data-bs-theme="light"] .np-chip{background:rgba(54,83,171,.04)}
.np-chip span{padding:.18rem .45rem;border-radius:999px;background:rgba(255,255,255,.08);font-size:.78rem;color:var(--np-muted)}

.np-section-head,.np-panel-head,.np-media-card__head,.np-category-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.np-section-head{margin-bottom:1rem}
.np-section-head h2,.np-panel-head h2{margin:.2rem 0 0;font-size:clamp(1.45rem,2vw,2rem)}
.np-section-head p,.np-region-copy p,.np-footer-brand p,.np-footer-cta h3{color:var(--np-muted)}
.np-section-head a{color:var(--np-text);font-weight:700}
.np-eyebrow{display:inline-flex;align-items:center;gap:.4rem;letter-spacing:.14em;font-size:.76rem;font-weight:800;color:var(--np-accent-4)}
.np-panel-head i{font-size:1.3rem;color:var(--np-accent)}

.np-hero-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,.95fr) minmax(300px,.85fr);gap:1rem;align-items:start}
.np-hero-lead{overflow:hidden;min-height:34rem}
.np-hero-lead__media{position:absolute;inset:0}
.np-hero-lead__media img{width:100%;height:100%;object-fit:cover}
.np-hero-lead__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,12,24,.12),rgba(6,12,24,.18) 35%,rgba(6,12,24,.92))}
.np-hero-lead__content{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:flex-end;gap:1rem;min-height:34rem;padding:1.4rem}
.np-meta-line{display:flex;flex-wrap:wrap;gap:.65rem .9rem;align-items:center;color:var(--np-muted);font-size:.88rem}
.np-meta-line a,.np-meta-line span{color:var(--np-muted)}
.np-kicker{padding:.34rem .6rem;border-radius:999px;background:var(--np-gradient);color:#fff!important;font-weight:800;font-size:.75rem;letter-spacing:.06em}
.np-hero-lead h1{margin:0;font-size:clamp(1.9rem,3vw,3rem);line-height:1.08}
.np-hero-lead h1 a,.np-hero-lead p,.np-hero-lead__footer span,.np-hero-lead__footer a{color:#fff}
.np-hero-lead p{max-width:42rem;margin:0;font-size:1rem;opacity:.92}
.np-hero-lead__footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.np-hero-lead__footer a{font-weight:700}

.np-hero-stack{display:grid;gap:1rem}
.np-stack-card{display:grid;grid-template-columns:122px minmax(0,1fr);padding:.75rem;gap:.85rem;border-radius:20px;overflow:hidden}
.np-stack-card__media{display:block;border-radius:16px;overflow:hidden;min-height:108px}
.np-stack-card__body h3{font-size:1rem;line-height:1.3;margin:.35rem 0 0}
.np-stack-card__body h3 a,.np-stack-meta span,.np-stack-meta time{color:var(--np-text)}
.np-stack-meta{display:flex;justify-content:space-between;gap:.7rem;font-size:.82rem;color:var(--np-muted)}

.np-live-panel{padding:1rem 1rem 1.1rem}
.np-wire-list{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.85rem}
.np-wire-list li{display:grid;grid-template-columns:2.5rem minmax(0,1fr);gap:.8rem;align-items:start}
.np-wire-list li>span{display:grid;place-items:center;width:2.3rem;height:2.3rem;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid var(--np-line);font-weight:800;color:var(--np-accent)}
[data-bs-theme="light"] .np-wire-list li>span{background:rgba(54,83,171,.06)}
.np-wire-list a{color:var(--np-text);display:block;line-height:1.35;font-weight:700}
.np-wire-list small{display:block;margin-top:.25rem;color:var(--np-muted)}
.np-live-actions{display:grid;gap:.5rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--np-line)}
.np-live-actions a{display:flex;align-items:center;justify-content:space-between;color:var(--np-text);padding:.72rem .85rem;border-radius:14px;background:rgba(255,255,255,.03)}
[data-bs-theme="light"] .np-live-actions a{background:rgba(54,83,171,.04)}

.np-dense-grid{margin-bottom:1rem}
.np-focus-card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);overflow:hidden}
.np-focus-card__media{min-height:18rem}
.np-focus-card__media img,.np-mini-card__media img,.np-category-lead__media img{width:100%;height:100%;object-fit:cover}
.np-focus-card__body,.np-mini-card__body,.np-spot-card,.np-media-card__body,.np-category-card,.np-region-shell,.np-footer-brand,.np-footer-cta{padding:1rem}
.np-focus-card h3{font-size:1.45rem;margin:.55rem 0}
.np-focus-card h3 a,.np-mini-card h3 a,.np-spot-card h3 a,.np-category-lead h4 a,.np-category-links a,.np-list-link span,.np-author-card strong{color:var(--np-text)}
.np-focus-card p,.np-spot-card p,.np-author-card small,.np-list-link small,.np-category-links small,.np-poll-question,.np-poll-option span{color:var(--np-muted)}
.np-mini-card{display:grid;grid-template-columns:120px minmax(0,1fr);gap:.85rem;padding:.75rem;border-radius:20px;overflow:hidden}
.np-mini-card__media{border-radius:16px;overflow:hidden;min-height:112px}
.np-mini-card h3{font-size:1rem;line-height:1.35;margin:.35rem 0}
.np-mini-card time{font-size:.84rem;color:var(--np-muted)}
.np-home-ad{margin:1rem 0}
.np-spotlight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.np-spot-card{padding:1rem 1.1rem;border-radius:20px}
.np-spot-card h3{font-size:1.05rem;line-height:1.35;margin:.5rem 0}
.np-wire-list--compact li{grid-template-columns:2.3rem minmax(0,1fr)}

.np-sidebar-stack{display:grid;gap:1rem}
.np-analytics-card{padding:1rem}
.np-author-list{display:grid;gap:.75rem;margin-top:1rem}
.np-author-card{display:grid;grid-template-columns:3rem minmax(0,1fr);gap:.85rem;align-items:center;padding:.8rem;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid var(--np-line)}
[data-bs-theme="light"] .np-author-card{background:rgba(54,83,171,.04)}
.np-author-avatar{display:grid;place-items:center;width:3rem;height:3rem;border-radius:16px;background:var(--np-gradient);font-weight:800;color:#fff}
.np-author-card small{display:block;margin-top:.18rem;line-height:1.35}
.np-sidebar-ads{display:grid;gap:1rem}

.np-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.np-media-card{padding:1rem;border-radius:22px}
.np-media-card__head h3{font-size:1.08rem;margin:0;color:var(--np-text)}
.np-media-card__head a{color:var(--np-text);font-size:.9rem;font-weight:700}
.np-media-card__body{padding:0;margin-top:1rem;display:grid;gap:.7rem}
.np-list-link,.np-category-links a{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:.8rem .9rem;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid transparent}
[data-bs-theme="light"] .np-list-link,[data-bs-theme="light"] .np-category-links a{background:rgba(54,83,171,.04)}
.np-list-link:hover,.np-category-links a:hover,.np-live-actions a:hover,.np-chip:hover,.np-author-card:hover{border-color:var(--np-line-strong);transform:translateY(-2px)}
.np-list-link span{font-weight:700;line-height:1.35}
.np-list-link small,.np-category-links small{white-space:nowrap;font-size:.8rem}
.np-empty-mini{padding:.9rem;border-radius:16px;background:rgba(255,255,255,.03);color:var(--np-muted)}
.np-poll-question{font-weight:700;color:var(--np-text);line-height:1.4;margin-bottom:.8rem}
.np-poll-option{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .85rem;border-radius:14px;background:rgba(255,255,255,.03)}
[data-bs-theme="light"] .np-poll-option{background:rgba(54,83,171,.04)}
.np-poll-option strong{color:var(--np-accent-4)}
.np-primary-link{justify-content:center;margin-top:.85rem;width:100%}

.np-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.np-category-card{padding:1rem;border-radius:22px}
.np-category-card__head h3{font-size:1.12rem;margin:.2rem 0 0;color:var(--np-text)}
.np-category-card__head small{display:block;color:var(--np-accent);font-weight:800;letter-spacing:.08em}
.np-category-card__head a{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:14px;background:rgba(255,255,255,.05);color:var(--np-text)}
[data-bs-theme="light"] .np-category-card__head a{background:rgba(54,83,171,.06)}
.np-category-lead{display:grid;grid-template-columns:120px minmax(0,1fr);gap:.85rem;align-items:center;padding:.95rem 0;border-bottom:1px solid var(--np-line)}
.np-category-lead__media{display:block;min-height:100px;border-radius:16px;overflow:hidden}
.np-category-lead h4{font-size:1rem;line-height:1.35;margin:.3rem 0 0}
.np-category-links{display:grid;gap:.55rem;padding-top:.9rem}

.np-region-shell{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:1rem;padding:1.15rem;border-radius:26px;overflow:hidden}
.np-region-links{display:flex;flex-wrap:wrap;gap:.75rem;align-content:flex-start}
.np-region-links a,.np-region-chip{display:inline-flex;align-items:center;gap:.55rem;padding:.8rem .95rem;border-radius:999px;border:1px solid var(--np-line);background:rgba(255,255,255,.04);color:var(--np-text)}
[data-bs-theme="light"] .np-region-links a,[data-bs-theme="light"] .np-region-chip{background:rgba(54,83,171,.04)}
.np-region-links a:hover,.np-region-chip:hover{transform:translateY(-2px);border-color:var(--np-line-strong);color:var(--np-text)}

.np-footer{margin-top:2rem;background:linear-gradient(180deg,rgba(6,12,24,.58),rgba(6,12,24,.95));border-top:1px solid var(--np-line);overflow:hidden}
[data-bs-theme="light"] .np-footer{background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(240,245,255,.98))}
.np-footer-glow{position:absolute;left:-10rem;bottom:-10rem;width:26rem;height:26rem;border-radius:50%;background:radial-gradient(circle,rgba(255,95,185,.24),transparent 60%);filter:blur(24px);opacity:.9;pointer-events:none}
.np-footer-top{justify-content:space-between;gap:2rem;align-items:flex-start;padding-bottom:1.6rem;margin-bottom:1.4rem;border-bottom:1px solid var(--np-line)}
.np-footer-brand{max-width:30rem;padding:0}
.np-footer-brand p{margin:.9rem 0 0}
.np-footer-logo img{max-height:46px;width:auto}
.np-footer-cta{max-width:32rem;padding:0}
.np-footer-grid h6{margin:0 0 .85rem;color:var(--np-text);font-weight:800}
.np-footer-grid .nm-footer-links{display:grid;gap:.55rem}
.np-footer-grid .nm-footer-links a{color:var(--np-muted)}
.np-footer-grid .nm-footer-links a:hover{color:var(--np-text)}
.np-footer-social{width:2.7rem;height:2.7rem;border-radius:16px;border:1px solid var(--np-line);background:rgba(255,255,255,.06);color:var(--np-text)}
[data-bs-theme="light"] .np-footer-social{background:rgba(54,83,171,.04)}
.np-footer-bottom{justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-top:1.2rem;color:var(--np-muted);border-top:1px solid var(--np-line)}
.np-footer-tech{display:inline-flex;gap:.45rem;align-items:center}

.np-backtop{right:1rem;bottom:1rem;border-radius:16px;border:1px solid var(--np-line);background:var(--np-gradient);color:#fff;box-shadow:var(--np-shadow)}
.np-scroll-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:1080;background:transparent;pointer-events:none}
.np-scroll-progress span{display:block;height:100%;width:0;background:var(--np-gradient);box-shadow:0 0 24px rgba(113,227,255,.55)}

/* shared module restyling */
.np-body .nm-page-header,
.np-body .nm-article-shell,
.np-body .nm-content-card,
.np-body .nm-sidebar-card,
.np-body .nm-gallery-card,
.np-body .nm-video-card,
.np-body .nm-epaper-card,
.np-body .nm-poll-card,
.np-body .nm-table-wrap,
.np-body .nm-empty,
.np-body .nm-ad-slot,
.np-body .nm-home-ad,
.np-body .nm-related,
.np-body .nm-article-hero,
.np-body .nm-sidebar-stack > *{border:1px solid var(--np-line);background:linear-gradient(180deg,var(--np-surface),rgba(7,17,31,.76));border-radius:24px;box-shadow:var(--np-shadow)}
[data-bs-theme="light"] .np-body .nm-page-header,
[data-bs-theme="light"] .np-body .nm-article-shell,
[data-bs-theme="light"] .np-body .nm-content-card,
[data-bs-theme="light"] .np-body .nm-sidebar-card,
[data-bs-theme="light"] .np-body .nm-gallery-card,
[data-bs-theme="light"] .np-body .nm-video-card,
[data-bs-theme="light"] .np-body .nm-epaper-card,
[data-bs-theme="light"] .np-body .nm-poll-card,
[data-bs-theme="light"] .np-body .nm-table-wrap,
[data-bs-theme="light"] .np-body .nm-empty,
[data-bs-theme="light"] .np-body .nm-ad-slot,
[data-bs-theme="light"] .np-body .nm-home-ad,
[data-bs-theme="light"] .np-body .nm-related,
[data-bs-theme="light"] .np-body .nm-article-hero,
[data-bs-theme="light"] .np-body .nm-sidebar-stack > *{background:linear-gradient(180deg,var(--np-surface),rgba(255,255,255,.78))}
.np-body .nm-page-header,.np-body .nm-content-card,.np-body .nm-sidebar-card,.np-body .nm-table-wrap,.np-body .nm-empty,.np-body .nm-related,.np-body .nm-article-shell{padding:1.2rem}
.np-body .nm-article-shell .nm-article-hero,.np-body .nm-gallery-card,.np-body .nm-video-card,.np-body .nm-epaper-card,.np-body .nm-poll-card{overflow:hidden}
.np-body .nm-breadcrumb .breadcrumb-item a,
.np-body .nm-breadcrumb .breadcrumb-item.active,
.np-body .nm-meta-line,
.np-body .nm-article-meta,
.np-body .nm-caption,
.np-body .text-body-secondary,
.np-body .table,
.np-body .table th,
.np-body .table td{color:var(--np-muted)!important}
.np-body .nm-article-title,
.np-body .nm-page-header h1,
.np-body .nm-section-heading h2,
.np-body .nm-sidebar-title,
.np-body .nm-ranked-list a,
.np-body .nm-gallery-card__body a,
.np-body .nm-video-card__body a,
.np-body .nm-epaper-card h3,
.np-body .nm-poll-card h3,
.np-body .nm-content-card h1,
.np-body .nm-content-card h2,
.np-body .nm-content-card h3,
.np-body .nm-content-card h4{color:var(--np-text)!important}
.np-body .nm-article-body,
.np-body .nm-rich-content,
.np-body .nm-content-card,
.np-body .alert{color:var(--np-text)}
.np-body .nm-section-link,
.np-body .nm-btn-brand,
.np-body .btn-outline-dark,
.np-body .table a,
.np-body .page-link{border-radius:14px}
.np-body .nm-btn-brand{background:var(--np-gradient)!important;border:0!important;color:#fff!important}
.np-body .btn-outline-dark,.np-body .page-link{background:rgba(255,255,255,.04);border:1px solid var(--np-line)!important;color:var(--np-text)!important}
[data-bs-theme="light"] .np-body .btn-outline-dark,[data-bs-theme="light"] .np-body .page-link{background:rgba(54,83,171,.04)}
.np-body .page-item.active .page-link{background:var(--np-gradient)!important;border-color:transparent!important;color:#fff!important}
.np-body .nm-progress{background:rgba(255,255,255,.06)}
.np-body .nm-progress span{background:var(--np-gradient)}
.np-body .table{--bs-table-bg:transparent;--bs-table-border-color:var(--np-line);margin-bottom:0}
.np-body .table-hover>tbody>tr:hover>*{background:rgba(255,255,255,.03)}
[data-bs-theme="light"] .np-body .table-hover>tbody>tr:hover>*{background:rgba(54,83,171,.04)}
.np-body .alert-light,.np-body .alert-warning{background:rgba(255,255,255,.05);border:1px solid var(--np-line);color:var(--np-text)}
[data-bs-theme="light"] .np-body .alert-light,[data-bs-theme="light"] .np-body .alert-warning{background:rgba(54,83,171,.05)}

@media (min-width:768px){
  .np-search{display:flex}
}
@media (max-width:1399.98px){
  .np-hero-grid{grid-template-columns:minmax(0,1.35fr) minmax(280px,.95fr);}
  .np-live-panel{grid-column:1 / -1}
  .np-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1199.98px){
  .np-hero-grid{grid-template-columns:1fr}
  .np-focus-card{grid-template-columns:1fr}
  .np-region-shell{grid-template-columns:1fr}
}
@media (max-width:991.98px){
  .np-header-bar{padding:.95rem}
  .np-strip-stats{grid-template-columns:repeat(2,minmax(90px,1fr));width:100%}
  .np-category-grid,.np-media-grid,.np-spotlight-grid{grid-template-columns:1fr}
  .np-footer-top{flex-direction:column}
}
@media (max-width:767.98px){
  .np-topline{display:none}
  .np-header-shell .container-xl,.np-dashboard-section .container-xl,.np-news-section .container-xl,.np-media-section .container-xl,.np-category-section .container-xl,.np-region-section .container-xl,.np-footer .container-xl{padding-left:1rem;padding-right:1rem}
  .np-header-bar{border-radius:20px;gap:.75rem}
  .np-search{display:none}
  .np-strip-grid{margin-top:.25rem}
  .np-focus-card__media{min-height:14rem}
  .np-hero-lead,.np-hero-lead__content{min-height:26rem}
  .np-stack-card,.np-mini-card,.np-category-lead{grid-template-columns:96px minmax(0,1fr)}
  .np-strip-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:575.98px){
  .np-hero-lead h1{font-size:1.55rem}
  .np-strip-panel,.np-strip-stats,.np-live-panel,.np-focus-card,.np-mini-card,.np-spot-card,.np-media-card,.np-category-card,.np-region-shell,.np-analytics-card,.np-stack-card,.np-hero-lead{border-radius:20px}
  .np-focus-card__body,.np-mini-card__body,.np-spot-card,.np-media-card__body,.np-category-card,.np-region-shell{padding:.9rem}
  .np-wire-list li{grid-template-columns:2rem minmax(0,1fr)}
  .np-wire-list li>span{width:2rem;height:2rem;border-radius:12px}
}

/* =========================================================
   PERMANENT AD POSITION SYSTEM
   Database positions: C01-C15, P01-P03
   Creative canvas: max 450px, always centered
   ========================================================= */
.np-ad-fixed,
.np-body .np-ad-fixed,
.np-home-ad.np-ad-fixed,
.np-page-ad.np-ad-fixed{
  width:min(calc(100% - 24px),520px)!important;
  max-width:520px!important;
  margin:1.2rem auto!important;
  padding:.7rem!important;
  text-align:center!important;
  overflow:visible!important;
}

.np-ad-slot-head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  width:min(100%,450px);
  margin:0 auto .55rem;
  color:var(--np-muted);
}

.np-ad-slot-head .nm-ad-label{
  display:inline-flex!important;
  align-items:center;
  margin:0!important;
  padding:.28rem .5rem!important;
  border:1px solid var(--np-line);
  border-radius:999px;
  font-size:.58rem!important;
  line-height:1;
  letter-spacing:.12em;
  color:var(--np-muted)!important;
  background:rgba(255,255,255,.035);
}

.np-ad-position{
  display:inline-flex;
  align-items:center;
  padding:.28rem .55rem;
  border-radius:999px;
  background:linear-gradient(135deg,rgba(113,227,255,.12),rgba(141,107,255,.14),rgba(255,95,185,.12));
  border:1px solid var(--np-line-strong);
  color:var(--np-text);
  font-size:.61rem;
  font-weight:850;
  letter-spacing:.11em;
  white-space:nowrap;
}

.np-ad-canvas{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  margin:0 auto;
}

.np-ad-link,
.np-ad-code,
.np-ad-canvas > ins,
.np-ad-canvas > iframe{
  display:block;
  width:min(100%,450px)!important;
  max-width:450px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

.np-ad-fixed img,
.np-body .np-ad-fixed img,
.np-home-ad.np-ad-fixed img,
.nm-top-ad-carousel .np-ad-fixed img{
  display:block!important;
  width:min(100%,450px)!important;
  max-width:450px!important;
  height:auto!important;
  max-height:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
  object-fit:contain!important;
  border-radius:14px!important;
}

.np-ad-code{
  overflow:hidden;
  text-align:center;
}

.np-ad-code iframe,
.np-ad-code img,
.np-ad-code ins{
  max-width:450px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

.np-ad-empty{
  min-height:auto!important;
  box-shadow:none!important;
  border-style:dashed!important;
  background:linear-gradient(135deg,rgba(113,227,255,.035),rgba(141,107,255,.025),rgba(255,95,185,.025))!important;
}

.np-ad-empty-box{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.7rem;
  width:min(100%,450px);
  min-height:72px;
  margin:0 auto;
  padding:.75rem 1rem;
  border:1px dashed var(--np-line);
  border-radius:14px;
  color:var(--np-muted);
  background:rgba(255,255,255,.02);
}

.np-ad-empty-box i{
  font-size:1.35rem;
  color:var(--np-accent);
}

.np-ad-empty-box strong{
  color:var(--np-text);
  font-size:.82rem;
}

.np-ad-empty-box small{
  font-size:.72rem;
  color:var(--np-muted);
}

.np-ad-home-position,
.np-page-ad,
.np-ad-article-position{
  clear:both;
}

.np-sidebar-ads .np-ad-fixed,
.nm-sidebar-stack .np-ad-fixed{
  width:100%!important;
  max-width:450px!important;
  margin:.85rem auto!important;
}

.nm-top-ad-wrap .nm-top-ad-carousel{
  width:min(100%,520px)!important;
  max-width:520px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

.nm-top-ad-wrap .np-ad-fixed{
  margin:.25rem auto!important;
}

@media(max-width:575.98px){
  .np-ad-fixed,
  .np-body .np-ad-fixed,
  .np-home-ad.np-ad-fixed,
  .np-page-ad.np-ad-fixed{
    width:calc(100% - 20px)!important;
    padding:.6rem!important;
  }
  .np-ad-empty-box{gap:.5rem;padding:.65rem .75rem;min-height:64px}
  .np-ad-slot-head{gap:.4rem}
}
