/* Biggest news (28 Nov 2026): the new Velion app and Velion Agent. Uses the site's own tokens. */
#bignews { position: relative; overflow: hidden; }
#bignews::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vmax; height: 60vmax; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 14%, transparent), transparent 62%); opacity: .7; }
#bignews .wrap { position: relative; }
.bn-head h2 { max-width: 22ch; }
.bn-item { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding-top: clamp(24px, 4vw, 40px); border-top: 1px solid var(--line); }
.bn-item.bn-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.bn-item.bn-flip .bn-shot { order: 2; }
.bn-shot { margin: 0; display: grid; gap: 10px; }
.bn-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  box-shadow: 0 24px 48px color-mix(in srgb, var(--bg) 70%, #000 30%), 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent); }
.bn-shot figcaption { font-size: var(--s-1); color: var(--muted); }
.bn-copy { display: grid; gap: 16px; align-content: start; }
.bn-copy h3 { font: 600 var(--s3)/1.15 var(--f-display); letter-spacing: .03em; }
.bn-copy p { margin: 0; color: var(--muted); max-width: 56ch; }
.bn-badge { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font: 600 .78rem/1 var(--f-body); letter-spacing: .04em; color: var(--gold); background: var(--gold-soft);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.bn-badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bn-badge.is-out { color: var(--accent); background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.bn-badge.is-out i { animation: bn-pulse 1.8s ease-out infinite; }
@keyframes bn-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); } 100% { box-shadow: 0 0 0 8px transparent; } }
.bn-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bn-points li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; line-height: 1.5; }
.bn-points svg { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.bn-copy .btns { margin-top: 4px; }

/* the pop-up */
.bn-pop { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface); color: var(--ink); overflow: auto; box-shadow: 0 30px 80px rgba(4, 8, 14, .45); }
.bn-pop-in { position: relative; }
.bn-pop::backdrop { background: rgba(6, 10, 16, .62); backdrop-filter: blur(4px); }
.bn-pop[open] { animation: bn-in .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes bn-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.bn-pop-img, .bn-pop-pair img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
.bn-pop-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.bn-pop-body { display: grid; gap: 12px; padding: 22px 24px 24px; }
.bn-pop-body h2 { font-size: var(--s2); }
.bn-pop-body h2:focus { outline: none; }
.bn-pop-body p { margin: 0; color: var(--muted); }
.bn-x { position: absolute; top: 12px; right: 12px; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid color-mix(in srgb, #fff 30%, transparent); background: rgba(10, 14, 22, .55); color: #fff; cursor: pointer; }
.bn-x svg { width: 18px; height: 18px; }
.bn-x:hover { background: rgba(10, 14, 22, .8); }
.bn-pop-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bn-pop-list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.bn-pop.is-soon .bn-pop-list li { grid-template-columns: 1fr; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--bg) 50%, var(--surface)); }
.bn-pop-list li svg { width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }
.bn-pop-list b { margin-right: 6px; }
.bn-pop-list .bn-badge { vertical-align: 2px; font-size: .7rem; padding: 4px 9px; }
.bn-pop-list span:not(.bn-badge) { display: block; color: var(--muted); font-size: var(--s-1); margin-top: 4px; }
.bn-pop-body > .bn-badge { margin-top: -2px; }
.bn-auto { display: flex; align-items: center; gap: 10px; margin: 2px 0 0; font-size: .75rem; color: var(--muted); }
.bn-auto-bar { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bn-auto-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transition: transform 1s linear; }
.bn-pop.is-paused .bn-auto-bar i { opacity: .5; }

@media (max-width: 860px) {
  .bn-item, .bn-item.bn-flip { grid-template-columns: 1fr; }
  .bn-item.bn-flip .bn-shot { order: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bn-badge.is-out i, .bn-pop[open] { animation: none; }
}
