/* Public Updates & News pages (/news, /news/:slug) - built on
   /assets/public.css (page head, cards, kicker). The article body's base
   typography (.news-body) lives in webapp.css because the admin editor's
   live preview uses it too; this file only adds the public layout. */

.nw-page { --cat: #35d7ff; }

/* staff-only banners */
.nw-staff-banner {
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; justify-content: center; text-align: center;
  padding: .65rem 1rem; font-size: .85rem; color: #f5c451; background: rgba(245,196,81,.08); border-bottom: 1px solid rgba(245,196,81,.3);
}
.nw-staff-banner > svg { width: 16px; height: 16px; flex: none; }
.nw-staff-banner b { color: #ffe09a; }
.nw-staff-banner.is-preview { color: var(--ice); background: rgba(53,215,255,.07); border-color: rgba(53,215,255,.3); }
.nw-staff-banner.is-preview b { color: #c9f4ff; }
.nw-staff-banner .btn svg { width: 14px; height: 14px; }

/* category chip + tags + meta row */
.nw-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; color: var(--dim); font-size: .8rem; }
.nw-cat {
  display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .65rem; border-radius: 999px;
  font: 700 .72rem var(--body); letter-spacing: .02em; color: var(--cat);
  background: color-mix(in srgb, var(--cat) 12%, transparent); border: 1px solid color-mix(in srgb, var(--cat) 40%, transparent);
}
.nw-cat i { width: 7px; height: 7px; border-radius: 50%; background: var(--cat); box-shadow: 0 0 8px var(--cat); }
.nw-tag { display: inline-flex; align-items: center; gap: .3rem; font: 700 .62rem var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: .16rem .5rem; border-radius: 999px; }
.nw-tag svg { width: 11px; height: 11px; }
.nw-tag.is-pinned { color: #f5c451; border: 1px solid rgba(245,196,81,.45); background: rgba(245,196,81,.08); }
.nw-tag.is-new { color: #5ee29a; border: 1px solid rgba(94,226,154,.45); background: rgba(94,226,154,.08); }

/* ---------- list page ---------- */
.nw-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .4rem; }
.nw-filter {
  --cat: var(--ice); display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; cursor: pointer;
  font: 700 .82rem var(--body); color: var(--dim); background: color-mix(in srgb, var(--ink-1) 85%, transparent); border: 1px solid var(--line-strong);
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.nw-filter i { width: 7px; height: 7px; border-radius: 50%; background: var(--cat); }
.nw-filter span { font: 600 .7rem var(--mono); color: var(--dim); }
.nw-filter:hover { color: var(--text); border-color: color-mix(in srgb, var(--cat) 60%, transparent); }
.nw-filter.is-active { color: var(--text); border-color: var(--cat); background: color-mix(in srgb, var(--cat) 14%, var(--ink-1)); }
.nw-filter.is-active span { color: var(--text); }

.nw-band { padding-block: clamp(2rem, 5vw, 3rem) clamp(3rem, 7vw, 4.5rem); }
.nw-band > .wrap { display: flex; flex-direction: column; gap: 1.4rem; }

.nw-feature {
  position: relative; display: grid; grid-template-columns: 260px minmax(0, 1fr); overflow: hidden; border-radius: 20px; text-decoration: none; color: inherit;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cat) 9%, #0d1630), var(--ink-1)) padding-box,
    linear-gradient(130deg, color-mix(in srgb, var(--cat) 70%, transparent), rgba(47,107,255,.25) 45%, var(--line)) border-box;
  box-shadow: 0 30px 60px -38px color-mix(in srgb, var(--cat) 80%, transparent);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nw-feature:hover { transform: translateY(-3px); box-shadow: 0 36px 70px -34px color-mix(in srgb, var(--cat) 90%, transparent); }
.nw-feature[hidden], .nw-card[hidden] { display: none; }
.nw-feature-art {
  position: relative; display: grid; place-items: center; min-height: 220px; border-right: 1px solid var(--line);
  background:
    radial-gradient(60% 60% at 50% 45%, color-mix(in srgb, var(--cat) 30%, transparent), transparent 70%),
    linear-gradient(rgba(126,232,255,.05) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(126,232,255,.05) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--ink-0);
}
.nw-feature-art img { width: 96px; height: 96px; image-rendering: pixelated; filter: drop-shadow(0 0 22px color-mix(in srgb, var(--cat) 70%, transparent)); transition: transform .3s ease; }
.nw-feature:hover .nw-feature-art img { transform: scale(1.08) rotate(-4deg); }
.nw-feature-body { display: flex; flex-direction: column; gap: .75rem; padding: clamp(1.3rem, 3vw, 2rem); min-width: 0; }
.nw-feature-body h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.15; }
.nw-feature-body p { color: var(--dim); font-size: 1rem; max-width: 70ch; }
.nw-feature .nw-foot { margin-top: auto; padding-top: .4rem; }
.nw-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .88rem; color: var(--cat); }
.nw-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.nw-feature:hover .nw-more svg { transform: translateX(3px); }

.nw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.nw-grid.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nw-card {
  position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.2rem 1.25rem 1.1rem; border-radius: 16px; text-decoration: none; color: inherit; overflow: hidden;
  background: var(--ink-1); border: 1px solid var(--line);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.nw-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--cat), transparent); opacity: .85; }
.nw-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cat) 55%, transparent); box-shadow: 0 22px 44px -30px color-mix(in srgb, var(--cat) 90%, transparent); }
.nw-card h3 { font-family: var(--display); font-weight: 800; font-size: 1.12rem; line-height: 1.25; }
.nw-card p { color: var(--dim); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-top: auto; padding-top: .35rem; font-size: .78rem; color: var(--dim); }
.nw-read { display: inline-flex; align-items: center; gap: .35rem; }
.nw-read svg { width: 13px; height: 13px; }

.nw-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding: 3rem 1.5rem; }
.nw-empty img { image-rendering: pixelated; filter: drop-shadow(0 0 14px rgba(126,232,255,.4)); }
.nw-empty h2 { font-family: var(--display); font-weight: 800; font-size: 1.35rem; }
.nw-filter-empty { text-align: center; color: var(--dim); padding: 2rem; }
.nw-filter-empty[hidden] { display: none; }

/* ---------- article page ---------- */
.nw-article-head .wrap { gap: .9rem; }
.nw-article-head::before {
  background:
    radial-gradient(55% 90% at 85% 0%, color-mix(in srgb, var(--cat) 22%, transparent), transparent 70%),
    radial-gradient(35% 60% at 10% 100%, rgba(0,229,255,.07), transparent 70%),
    linear-gradient(180deg, #070b18, var(--ink-0));
}
.nw-article-head h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; }
.nw-back { display: inline-flex; align-items: center; gap: .4rem; width: fit-content; color: var(--dim); font-size: .85rem; font-weight: 700; text-decoration: none; }
.nw-back svg { width: 15px; height: 15px; transition: transform .2s ease; }
.nw-back:hover { color: var(--ice); }
.nw-back:hover svg { transform: translateX(-3px); }
.nw-byline { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; color: var(--dim); font-size: .85rem; margin-top: .2rem; }
.nw-byline span { display: inline-flex; align-items: center; gap: .4rem; }
.nw-byline svg { width: 15px; height: 15px; color: var(--ice); }
.nw-byline img { image-rendering: pixelated; }

.nw-article { padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: 20px; }
.nw-article .nw-body { font-size: 1.02rem; line-height: 1.8; color: #dfe6f5; }
.nw-article .nw-body h2 { font-size: 1.45rem; margin-top: 2rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
.nw-article .nw-body h3 { font-size: 1.18rem; margin-top: 1.6rem; color: var(--text); }
.nw-article .nw-body p { margin: 0 0 1.05rem; color: inherit; font-size: inherit; }
.nw-article .nw-body strong { color: #fff; }
.nw-article .nw-body a { text-decoration: underline; text-underline-offset: 3px; }
.nw-article .nw-body ul, .nw-article .nw-body ol { padding-left: 1.5rem; }
.nw-article .nw-body li { margin: .35rem 0; padding-left: .2rem; }
.nw-article .nw-body ul li::marker { content: "◆  "; font-size: .7em; }
.nw-article .nw-body blockquote { border-left-color: var(--cat, var(--ice)); padding: .8rem 1.1rem; font-style: normal; }
.nw-article .nw-body hr { margin: 2rem 0; }
.nw-article .nw-body > :first-child { margin-top: 0; }

.nw-more-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.nw-more-head h2 { font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.nw-more-head a { display: inline-flex; align-items: center; gap: .35rem; color: var(--ice); font-weight: 700; font-size: .88rem; text-decoration: none; }
.nw-more-head a svg { width: 15px; height: 15px; }

@media (max-width: 860px) {
  .nw-feature { grid-template-columns: 1fr; }
  .nw-feature-art { min-height: 140px; border-right: 0; border-bottom: 1px solid var(--line); }
  .nw-feature-art img { width: 72px; height: 72px; }
  .nw-grid.is-three { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nw-grid { grid-template-columns: 1fr; }
}

/* ---------- article page: full-width layout with info sidebar ---------- */
.nw-article-head h1 { max-width: 30ch; }
.nw-article-head .intro { max-width: 75ch; }
.nw-byline-author img { width: 20px; height: 20px; border-radius: 5px; }
.nw-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.4rem; align-items: start; }
.nw-layout .nw-article { min-width: 0; }
.nw-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 1rem; }
.nw-side-card {
  display: flex; flex-direction: column; gap: .9rem; padding: 1.15rem 1.2rem 1.2rem; border-radius: 18px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--cat) 5%, var(--ink-1)), var(--ink-1)); border: 1px solid var(--line);
}
.nw-side-title { display: flex; align-items: center; gap: .5rem; margin: 0; font: 700 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.nw-side-title svg { width: 15px; height: 15px; color: var(--cat); }

/* quick access buttons */
.nw-quick-list { display: flex; flex-direction: column; gap: .5rem; }
.nw-quick-btn {
  display: flex; align-items: center; gap: .75rem; padding: .6rem .7rem; border-radius: 13px; text-decoration: none; color: var(--text);
  background: var(--ink-0); border: 1px solid var(--line-strong); transition: border-color .15s ease, transform .15s ease, background-color .15s ease;
}
.nw-quick-btn:hover { border-color: color-mix(in srgb, var(--cat) 60%, transparent); transform: translateY(-1px); }
.nw-quick-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--cat);
  background: color-mix(in srgb, var(--cat) 12%, transparent); border: 1px solid color-mix(in srgb, var(--cat) 30%, transparent); }
.nw-quick-ico svg { width: 17px; height: 17px; }
.nw-quick-label { flex: 1; min-width: 0; font-weight: 800; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nw-quick-go { flex: none; display: grid; place-items: center; color: var(--dim); transition: transform .15s ease, color .15s ease; }
.nw-quick-go svg { width: 16px; height: 16px; }
.nw-quick-btn:hover .nw-quick-go { color: var(--text); transform: translateX(2px); }
.nw-quick-btn.is-primary { color: #04141c; border-color: transparent; background: linear-gradient(135deg, #35d7ff, #4d8fff); box-shadow: 0 12px 26px -16px rgba(53,215,255,.9); }
.nw-quick-btn.is-primary .nw-quick-ico { color: #04141c; background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.35); }
.nw-quick-btn.is-primary .nw-quick-go { color: #04141c; }
.nw-quick-btn.is-primary:hover { filter: brightness(1.06); }

/* article info facts */
.nw-facts { margin: 0; display: flex; flex-direction: column; }
.nw-fact { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: .75rem; align-items: start; padding: .7rem 0; border-top: 1px solid var(--line); }
.nw-fact:first-child { border-top: 0; padding-top: 0; }
.nw-fact dt { font-size: .78rem; color: var(--dim); padding-top: .15rem; }
.nw-fact dd { margin: 0; display: flex; flex-direction: column; gap: .15rem; font-size: .88rem; font-weight: 700; color: var(--text); min-width: 0; }
.nw-fact dd small { font-size: .76rem; font-weight: 500; color: var(--dim); }
.nw-fact .nw-cat { align-self: flex-start; }
.nw-dim { color: var(--dim); font-weight: 500; }
.nw-person { flex-direction: row !important; align-items: center; gap: .55rem !important; }
.nw-person img { width: 26px; height: 26px; border-radius: 7px; image-rendering: pixelated; flex: none; }
.nw-person > span { display: flex; flex-direction: column; min-width: 0; }
.nw-person b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nw-person.is-small { display: inline-flex; gap: .35rem !important; }
.nw-person.is-small img { width: 16px; height: 16px; border-radius: 4px; }
.nw-copy {
  display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .6rem .8rem; border-radius: 12px; cursor: pointer;
  font: inherit; font-size: .85rem; font-weight: 700; color: var(--dim); background: var(--ink-0); border: 1px dashed var(--line-strong);
  transition: color .15s ease, border-color .15s ease;
}
.nw-copy svg { width: 15px; height: 15px; }
.nw-copy:hover { color: var(--text); border-color: var(--ice); }
.nw-copy.is-done { color: #5ee29a; border-color: rgba(94,226,154,.55); border-style: solid; }

.nw-grid.is-more { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .nw-layout { grid-template-columns: minmax(0, 1fr); }
  .nw-side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
  .nw-grid.is-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .nw-grid.is-more { grid-template-columns: 1fr; }
}

/* list page: section heads like the wiki home */
.nw-section-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1rem; flex-wrap: wrap; margin-top: .4rem; }
.nw-section-head h2 { font-family: var(--display); font-weight: 800; font-size: 1.25rem; margin: 0; }
.nw-section-head .nw-filters { margin-top: 0; }
.nw-head .pb-chips { margin-top: .4rem; }
.nw-band > .wrap > .nw-section-head + .nw-feature, .nw-band > .wrap > .nw-section-head + .nw-grid { margin-top: -.5rem; }
.nw-section-head[hidden] { display: none; }

/* buttons inside the article body: no link underline */
.nw-article .nw-body a.news-btn { text-decoration: none; }
.nw-quick-list .news-btn { padding-block: .5rem; }

/* ---------- likes ---------- */
.nw-like {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; cursor: pointer; font: inherit; font-weight: 800; color: var(--text);
  background: var(--ink-0); border: 1px solid var(--line-strong); transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.nw-like .nw-heart { width: 18px; height: 18px; flex: none; transition: transform .2s ease, fill .2s ease, color .2s ease; }
.nw-like b { font: 700 .8rem var(--mono); padding: .1rem .45rem; border-radius: 999px; background: var(--ink-2); color: var(--dim); }
.nw-like:hover:not(:disabled) { border-color: rgba(255,94,135,.6); color: #ff9db5; }
.nw-like:hover:not(:disabled) .nw-heart { transform: scale(1.12); }
.nw-like.is-liked { color: #ff8fab; border-color: rgba(255,94,135,.55); background: rgba(255,94,135,.1); }
.nw-like.is-liked .nw-heart { fill: #ff5e87; color: #ff5e87; }
.nw-like.is-liked b { background: rgba(255,94,135,.18); color: #ffc2d1; }
.nw-like:disabled { opacity: .6; cursor: not-allowed; }
.nw-like.is-pop .nw-heart { animation: nw-heart-pop .45s ease; }
@keyframes nw-heart-pop { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 70% { transform: scale(.9); } 100% { transform: scale(1); } }
.nw-like.is-side { width: 100%; padding: .65rem .8rem; border-radius: 12px; font-size: .88rem; }
.nw-like.is-side span { flex: 1; text-align: left; }
.nw-like.is-big { padding: .7rem 1.1rem; border-radius: 14px; font-size: 1rem; }
.nw-like.is-big .nw-heart { width: 22px; height: 22px; }
.nw-like-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding: 1.1rem 1.25rem; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,94,135,.07), rgba(53,215,255,.05)); border: 1px solid var(--line);
}
.nw-like-bar-text { display: flex; flex-direction: column; gap: .15rem; }
.nw-like-bar-text b { font-family: var(--display); font-size: 1.1rem; }
.nw-like-bar-text span { color: var(--dim); font-size: .88rem; }
.nw-like-login { margin: .7rem 0 0; font-size: .85rem; color: #ffb3c4; text-align: right; }
.nw-like-login[hidden] { display: none; }
.nw-likes { display: inline-flex; align-items: center; gap: .3rem; margin-right: .6rem; color: #ff8fab; }
.nw-likes svg { width: 13px; height: 13px; }
.nw-feature .nw-likes { margin: 0 0 0 .7rem; }

/* ---- Images in articles: ![caption](/wiki/img/...) on its own line ---- */
.nw-article .nw-body .news-img { margin: 1.4rem 0; }
.nw-article .nw-body .news-img img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.nw-article .nw-body .news-img figcaption { margin-top: .55rem; text-align: center; color: var(--dim); font-size: .85rem; }

/* ---- Polls ({{poll}} in an article): a head-to-head of the options, each in its own --acc colour ---- */
.np-poll {
  position: relative; margin: 2rem 0; padding: 1.5rem; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(53, 215, 255, .12), transparent 55%),
    radial-gradient(120% 90% at 100% 100%, rgba(124, 92, 255, .14), transparent 55%),
    linear-gradient(180deg, #0f1730, #0a1022);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.np-poll.np-missing { color: var(--dim); text-align: center; border-style: dashed; }
.np-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.np-eyebrow { display: inline-flex; align-items: center; gap: .45rem; font: 700 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8fe9ff; }
.np-eyebrow svg { width: 16px; height: 16px; }
.nw-article .nw-body .np-q { margin: .55rem 0 1.25rem; padding: 0; border: 0; font: 800 clamp(1.4rem, 3vw, 1.85rem)/1.2 var(--display); text-wrap: balance; }
.np-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .75rem; border-radius: 999px; font: 700 .7rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.np-badge.is-open { color: #7dffb5; background: rgba(94, 226, 154, .12); border: 1px solid rgba(94, 226, 154, .35); }
.np-badge.is-open i { width: 8px; height: 8px; border-radius: 50%; background: #5ee29a; animation: np-pulse 1.8s infinite; }
.np-badge.is-draft { color: #ffd166; background: rgba(255, 209, 102, .1); border: 1px solid rgba(255, 209, 102, .3); }
.np-badge.is-closed { color: #cfd6e6; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
@keyframes np-pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 226, 154, .7); } 70%, 100% { box-shadow: 0 0 0 8px rgba(94, 226, 154, 0); } }

.np-cards { display: grid; gap: 1rem; }
.np-poll.is-versus .np-cards { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; }
.np-poll.is-winner .np-cards { max-width: 30rem; margin-inline: auto; }
.np-vs {
  align-self: center; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  font: 800 1rem var(--display); letter-spacing: .04em; color: #fff;
  background: linear-gradient(135deg, #ffd166, #ff5a5f); box-shadow: 0 0 0 5px #0d1428, 0 10px 30px rgba(255, 90, 95, .35);
}
.np-card {
  position: relative; display: flex; flex-direction: column; gap: 1rem; min-width: 0; padding: 1.2rem; border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 13%, #0d1428), #0b1124 70%);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.np-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, var(--acc), transparent); }
.np-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--acc) 65%, transparent); box-shadow: 0 16px 36px color-mix(in srgb, var(--acc) 18%, transparent); }
.np-card.is-chosen { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc), 0 16px 40px color-mix(in srgb, var(--acc) 25%, transparent); }
.np-card-top { display: flex; align-items: center; gap: .85rem; }
.np-icon {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 1.7rem;
  background: color-mix(in srgb, var(--acc) 18%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent);
}
.np-title { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; min-width: 0; }
.nw-article .nw-body .np-title h3 { margin: 0; font: 800 1.25rem/1.15 var(--display); }
.np-tag { padding: .18rem .55rem; border-radius: 999px; font: 700 .68rem var(--mono); letter-spacing: .03em; color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 38%, transparent); }
.nw-article .nw-body .np-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.nw-article .nw-body .np-points li { display: flex; gap: .55rem; margin: 0; padding: 0; font-size: .93rem; line-height: 1.45; color: #dfe6f3; }
.nw-article .nw-body .np-points li::marker, .nw-article .nw-body .np-points li::before { content: none; }
.np-points svg { flex: none; width: 16px; height: 16px; margin-top: .18rem; padding: 2px; border-radius: 50%; color: #0b1124; background: var(--acc); }
.np-result { display: grid; gap: .45rem; margin-top: auto; }
.np-pct { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.np-pct b { font: 800 1.6rem var(--display); color: var(--acc); }
.np-pct small { color: var(--dim); font-size: .8rem; }
.np-bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.np-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 70%, #fff), var(--acc)); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.np-vote {
  margin-top: auto; width: 100%; padding: .8rem 1rem; border-radius: 12px; cursor: pointer; text-align: center;
  font: 800 .95rem var(--body); color: #0b1124; border: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 75%, #fff), var(--acc));
  box-shadow: 0 8px 22px color-mix(in srgb, var(--acc) 30%, transparent);
  transition: filter .15s ease, transform .15s ease;
}
.np-vote:hover { filter: brightness(1.08); transform: translateY(-1px); }
.np-vote:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.np-vote.is-chosen { cursor: default; color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, transparent); box-shadow: inset 0 0 0 1px var(--acc); }
.np-vote.is-ghost { cursor: default; opacity: .45; box-shadow: none; }
.np-vote.is-busy { opacity: .6; pointer-events: none; }
.np-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .07); color: var(--dim); font-size: .85rem; }
.np-foot > span { display: inline-flex; align-items: center; gap: .4rem; }
.np-foot svg { width: 15px; height: 15px; flex: none; color: #8fe9ff; }
.np-foot a { color: #8fe9ff; font-weight: 700; }

@media (max-width: 720px) {
  .np-poll { padding: 1.1rem; }
  .np-poll.is-versus .np-cards { grid-template-columns: minmax(0, 1fr); }
  .np-vs { justify-self: center; width: 44px; height: 44px; margin: -.3rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  .np-badge.is-open i { animation: none; }
  .np-card, .np-vote, .np-bar span { transition: none; }
}
