/* /assets/css/pages/winners.css */
/* Tab nav scrolls horizontally on narrow screens; hide the scrollbar itself
   (matches the .scrollbar-none convention used elsewhere in this codebase,
   e.g. plugins/auction's gallery — but that copy is only enqueued on gallery
   pages, so it never reaches winners.php's own tab bar without this). */
.scrollbar-none::-webkit-scrollbar { display: none; }
.scrollbar-none { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Grid / list layout shell ──────────────────────────────────────────────
   Grid and list share the same card markup; the parent's modifier class
   decides layout, so AJAX-appended cards (no JS re-render) pick up whichever
   view is currently active automatically. */
.wn-grid { display: grid; gap: 1.1rem; }
.wn-grid.wn-view-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px)  { .wn-grid.wn-view-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1024px) { .wn-grid.wn-view-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .wn-grid.wn-view-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.wn-grid.wn-view-list { display: flex; flex-direction: column; gap: 0.65rem; }

/* ── Card shell — editorial flat, bolder depth on hover ───────────────────── */
.wn-card {
  display: flex; flex-direction: column; text-decoration: none; position: relative;
  border-radius: 6px; overflow: hidden;
  background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
/* Source-type accent stripe (design-system top-accent signature) */
.wn-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--src-grad, var(--src-color, var(--theme-500))); z-index: 10;
}
.wn-card:hover {
  transform: translateY(-4px);
  border-color: var(--src-color, var(--ink));
  box-shadow: 0 16px 44px -10px var(--src-color, rgba(0,0,0,0.2)), 0 2px 8px rgba(0,0,0,0.06);
}
.dark .wn-card:hover {
  box-shadow: 0 18px 52px -10px color-mix(in srgb, var(--src-color, #000) 45%, transparent), 0 2px 8px rgba(0,0,0,0.5);
}

/* ── Image area ─────────────────────────────────────────────────────────── */
@keyframes wn-shimmer { 0%{transform:translateX(-100%)} 100%{transform:translateX(100%)} }
.wn-img-wrap {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  background: var(--paper-2); flex-shrink: 0;
}
.wn-coin-ico { width: 17px; height: 17px; vertical-align: middle; display: inline-block; margin-right: 1px; }
.wn-img-wrap::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: wn-shimmer 1.6s ease-in-out infinite; transition: opacity .3s;
}
.wn-img-wrap.wn-img-done::before { opacity: 0; animation: none; }
.wn-img-bg   { position: absolute; inset: 0; z-index: 2; }
.wn-img-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity .4s ease, transform .5s ease; z-index: 3;
}
.wn-img-photo.wn-loaded { opacity: 1; }
.wn-card:hover .wn-img-photo.wn-loaded { transform: scale(1.05); }

/* Bottom fade so badges read on any image */
.wn-img-fade {
  position: absolute; inset-x: 0; bottom: 0; height: 52%;
  background: linear-gradient(to top, rgba(0,0,0,0.68) 0%, transparent 100%);
  z-index: 4; pointer-events: none;
}

/* Source badge — flat pill, bottom-left */
.wn-src-pill {
  position: absolute; bottom: 10px; left: 10px; z-index: 5;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px 3px 7px; border-radius: 3px;
  font-size: 10px; font-weight: 800; letter-spacing: .04em; color: #fff;
  background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: 'Inter', system-ui, sans-serif;
  max-width: calc(100% - 20px); overflow-wrap: break-word;
}
.wn-src-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--src-color, var(--theme-500));
  box-shadow: 0 0 5px var(--src-color, var(--theme-500));
}
/* Timestamp — mono, top-right */
.wn-time-pill {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  font-size: 9.5px; color: rgba(255,255,255,0.72);
  background: rgba(0,0,0,0.42); padding: 2px 7px;
  border-radius: 3px; backdrop-filter: blur(4px);
  font-family: 'JetBrains Mono', monospace;
}

/* ── Body ───────────────────────────────────────────────────────────────── */
.wn-body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 11px; flex: 1; min-width: 0; }
.wn-body-main { min-width: 0; }

/* Prize label — small-caps eyebrow. Wraps instead of truncating so a long
   prize name stays fully legible on narrow cards (see CLAUDE.md's
   responsive rule against ellipsis-hiding content). */
.wn-item-name {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft);
  overflow-wrap: break-word; margin-bottom: 4px;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Prize value — Fraunces display, dominant */
.wn-val-currency,
.wn-val-coins,
.wn-val-free {
  font-family: var(--font-display, 'Fraunces', Georgia, serif);
  font-variation-settings: 'opsz' 72, 'SOFT' 0;
  display: block; font-size: 23px; font-weight: 800;
  line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: break-word;
}
/* The value takes the store's accent (a theme sets --wn-val to choose its
   own); a free prize reads in the store's "good" tone. */
.wn-val-currency,
.wn-val-coins    { color: var(--wn-val, var(--theme-700, #6d28d9)); }
.dark .wn-val-currency,
.dark .wn-val-coins { color: var(--wn-val, var(--theme-300, #c4b5fd)); }
.wn-val-free     { color: var(--wn-val, color-mix(in srgb, var(--px-good, #15803d) 78%, var(--ink))); }

/* Hairline divider */
.wn-divider { border: none; border-top: 1px solid var(--rule); margin: 0; }

/* Winner row */
.wn-winner-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.wn-avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 1.5px solid var(--rule);
}
.wn-avatar-init {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900;
  background: var(--src-grad, linear-gradient(135deg,#fde68a,#d97706)); color: #000;
  font-family: 'Inter', system-ui, sans-serif;
}
.wn-winner-text { min-width: 0; flex: 1; }
.wn-winner-name {
  font-size: 12.5px; font-weight: 700; color: var(--ink);
  overflow-wrap: break-word;
  font-family: 'Inter', system-ui, sans-serif;
}
.wn-winner-sub { font-size: 9.5px; color: var(--ink-soft); margin-top: 1px; }
.wn-view-link {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 2px;
  font-size: 10px; font-weight: 700; color: var(--src-color, var(--theme-500));
  font-family: 'Inter', system-ui, sans-serif;
}

/* ── List view ──────────────────────────────────────────────────────────── */
.wn-view-list .wn-card {
  flex-direction: row; align-items: stretch; border-radius: 8px;
}
.wn-view-list .wn-card::before { top: 0; bottom: 0; left: 0; right: auto; width: 3px; height: auto; }
.wn-view-list .wn-card:hover { transform: translateX(3px); }
.wn-view-list .wn-img-wrap { width: 84px; aspect-ratio: 1/1; }
@media (min-width: 480px) { .wn-view-list .wn-img-wrap { width: 108px; } }
.wn-view-list .wn-time-pill,
.wn-view-list .wn-src-pill { display: none; }
.wn-view-list .wn-body {
  flex: 1; flex-direction: row; align-items: center; flex-wrap: wrap;
  gap: 6px 20px; padding: 10px 16px;
}
.wn-view-list .wn-body-main { flex: 1 1 160px; }
.wn-view-list .wn-divider { display: none; }
.wn-view-list .wn-winner-row { flex: 1 1 200px; }
.wn-view-list .wn-val-currency,
.wn-view-list .wn-val-coins,
.wn-view-list .wn-val-free { font-size: 18px; }

/* ── Tab bar ─────────────────────────────────────────────────────────────── */
.wn-tab-bar {
  background: rgba(251,249,244,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.dark .wn-tab-bar { background: rgba(10,10,12,0.95); }

.wn-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .18s ease; white-space: nowrap; flex-shrink: 0;
  border: none; background: transparent;
  font-family: 'Inter', system-ui, sans-serif;
}
.wn-tab-active {
  background: var(--ink); color: var(--paper);
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
/* Beat dynamic-theme.css `.dark button { color: var(--text-primary) }` (0-1-1),
   which otherwise forces the active pill's text light-on-light in dark mode. */
.dark .wn-tab-active { color: var(--paper); }
.wn-tab-inactive {
  color: var(--ink-soft);
}
.wn-tab-inactive:hover {
  color: var(--ink); background: var(--paper-2);
}
.wn-tab-badge {
  font-size: 10px; font-weight: 700; padding: 1px 6px;
  border-radius: 999px; line-height: 1.5;
}
.wn-tab-badge-active  { background: rgba(255,255,255,0.18); color: inherit; }
.wn-tab-badge-inactive { background: var(--paper-2); color: var(--ink-soft); }
.dark .wn-tab-badge-inactive { background: var(--rule-soft); }

/* Grid/list toggle */
.wn-view-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 999px; border: 1px solid var(--rule);
  background: var(--paper);
}
.wn-view-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 999px; border: none;
  background: transparent; color: var(--ink-soft); cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.wn-view-btn:hover { color: var(--ink); background: var(--paper-2); }
.wn-view-btn-active { background: var(--ink); color: var(--paper); }
.dark .wn-view-btn-active { color: var(--paper); }

/* Empty state now rendered via theme_component('cards/empty-state.php') */

/* ── Load More — ed-btn-secondary style ──────────────────────────────────── */
.wn-load-more {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 40px; padding: 11px 36px; border-radius: 999px;
  background: transparent; border: 1.5px solid var(--rule);
  font-size: 13px; font-weight: 700; color: var(--ink-2);
  cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s;
  font-family: 'Inter', system-ui, sans-serif;
}
.wn-load-more:hover:not(:disabled) {
  background: var(--paper-2); border-color: var(--ink); color: var(--ink);
  transform: translateY(-1px);
}
.wn-load-more:disabled { opacity: .45; cursor: not-allowed; }

/* ── Winner card (components/winners/card.php) ─────────────────────────────
   Winner first, then the prize, then its value. Colours come from the theme's
   own variables. --wnc-src is the source's colour: the theme's accent leaning
   towards the colour the source registered (--wnc-ring, printed inline), so
   sources stay apart in every theme. A theme sets --wnc-src/--wnc-grad on
   .wnc, or per source on .wnc[data-tone="amber|blue|violet|green|…"]
   (the source's own colour word; data-src names the product, for a
   plugin's own stylesheets). */
.wnc {
  --wnc-src: color-mix(in srgb, var(--theme-600, var(--wnc-ring)) 65%, var(--wnc-ring, #10b981));
  --wnc-grad: linear-gradient(135deg, color-mix(in srgb, var(--theme-500, var(--wnc-ring)) 65%, var(--wnc-ring, #10b981)), var(--wnc-src));
  position: relative; display: flex; flex-direction: column; gap: .9rem;
  padding: 1rem 1.05rem; border-radius: 1rem; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden; min-width: 0;
}
.wnc::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--wnc-grad);
}
.wnc:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .25); border-color: color-mix(in srgb, var(--wnc-src) 45%, var(--rule)); }

.wnc-head { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.wnc-av-wrap { position: relative; flex-shrink: 0; display: inline-flex; }
.wnc-av {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px color-mix(in srgb, var(--wnc-src) 55%, transparent);
}
.wnc-av-init {
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem; color: #fff; background: var(--wnc-grad);
}
.wnc-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.wnc-name { font-weight: 700; font-size: .95rem; line-height: 1.25; overflow-wrap: anywhere; }
.wnc-time { font-size: .75rem; color: var(--ink-soft); }
.wnc-src {
  flex-shrink: 0; align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .02em;
  padding: .2rem .55rem; border-radius: 999px; white-space: nowrap;
  color: var(--wnc-src); background: color-mix(in srgb, var(--wnc-src) 12%, transparent);
}

.wnc-prize {
  display: flex; align-items: center; gap: .75rem; padding: .65rem; border-radius: .75rem;
  background: var(--paper-2); min-width: 0;
}
.wnc-thumb {
  width: 3.25rem; height: 3.25rem; border-radius: .6rem; flex-shrink: 0; overflow: hidden;
  background: var(--wnc-grad); display: flex; align-items: center; justify-content: center;
}
.wnc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wnc-prize-text { display: flex; flex-direction: column; min-width: 0; gap: .1rem; }
.wnc-item { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); overflow-wrap: anywhere; }
.wnc-from { font-size: .88rem; font-weight: 600; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }

.wnc-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; }
.wnc-val { font-size: 1.35rem !important; font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; }
.wnc-view { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 700; color: var(--wnc-src); flex-shrink: 0; }

/* List view: one row per winner on wide screens. */
.wn-view-list .wnc { flex-direction: row; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; }
.wn-view-list .wnc::before { inset: 0 auto 0 0; width: 3px; height: auto; }
.wn-view-list .wnc:hover { transform: translateX(3px); }
.wn-view-list .wnc-head { flex: 1 1 14rem; }
.wn-view-list .wnc-prize { flex: 1 1 14rem; background: transparent; padding: 0; }
.wn-view-list .wnc-foot { flex: 0 0 auto; margin-top: 0; gap: 1rem; }
@media (max-width: 639px) {
  .wn-view-list .wnc { flex-direction: column; align-items: stretch; }
  .wn-view-list .wnc-prize { background: var(--paper-2); padding: .65rem; }
}
@media (prefers-reduced-motion: reduce) { .wnc, .wnc:hover { transition: none; transform: none; } }

/* /assets/themes/bazaar/assets/css/components/winners/hero.css */
/* Bazaar winners hero — "The Winners' Arch". Ogee-arch parchment portal
   (same framing technique as home/hero.css's .hero-bz__arch/.hero-bz__frame)
   with the total-prize-value counter recast as a brass coin medallion. */

.wn-bz-hero { position: relative; padding: 2rem 1rem 3rem; background: transparent; }

.wn-bz-arch {
  position: relative; max-width: 60rem; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border: 1px solid var(--rule);
  border-radius: 44% 44% 18px 18px / 30% 30% 18px 18px;   /* ogee crown */
  padding: clamp(2.75rem, 6vw, 4.25rem) clamp(1.5rem, 5vw, 3.5rem) clamp(2.25rem, 5vw, 3.25rem);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.wn-bz-arch::before {                                     /* faint lattice wash */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--pattern); opacity: .9;
}
.wn-bz-frame {
  position: absolute; inset: 12px; pointer-events: none;
  border: 1px solid var(--bz-gold);
  border-radius: 42% 42% 12px 12px / 28% 28% 12px 12px;
  box-shadow: inset 0 0 0 3px rgba(184, 134, 47, .16);
  opacity: .85;
}
/* Named wn-bz-hero-pip (not wn-bz-pip) so it can't collide with card.css's
   own .wn-bz-pip — both load on winners.php at once and a shared class name
   at equal specificity would let whichever stylesheet loads last win the
   cascade for every pip on the page, hero included. */
.wn-bz-hero-pip { position: absolute; color: var(--bz-gold); font-size: 12px; opacity: .9; line-height: 1; }
.wn-bz-hero-pip--l { bottom: 22px; left: 24px; }
.wn-bz-hero-pip--r { bottom: 22px; right: 24px; }

.wn-bz-inner { position: relative; }

.wn-bz-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: .68rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--bz-gold);
}
.wn-bz-eyebrow::before, .wn-bz-eyebrow::after { content: "\25C6"; font-size: 7px; opacity: .85; }

.wn-bz-title {
  font-family: var(--font-display); font-weight: 400; margin-top: 1.1rem;
  font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: 1.1; letter-spacing: .005em; color: var(--ink);
}
.wn-bz-title-dot { color: var(--bz-primary); font-style: italic; }

.wn-bz-desc {
  max-width: 36rem; margin: 1.35rem auto 0; line-height: 1.7;
  font-size: clamp(.98rem, 1.3vw, 1.14rem); color: var(--ink-2);
}

/* ── Total prize value — brass coin medallion ─────────────────────────── */
.wn-bz-coin {
  position: relative;
  width: clamp(210px, 30vw, 288px);
  aspect-ratio: 1 / 1;
  margin: 2.75rem auto 0;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1.5rem;
  background:
    radial-gradient(120% 120% at 50% 15%, rgba(255, 245, 220, .55), transparent 55%),
    radial-gradient(100% 100% at 50% 100%, rgba(120, 80, 20, .22), transparent 60%),
    linear-gradient(155deg, var(--bz-gold-strong) 0%, var(--bz-gold) 45%, var(--bz-primary) 135%);
  border: 3px solid var(--bz-gold);
  box-shadow:
    0 0 0 4px var(--paper),
    0 0 0 5px var(--bz-gold),
    inset 0 2px 6px rgba(255, 255, 255, .35),
    inset 0 -8px 16px rgba(74, 30, 20, .28),
    var(--shadow-md);
}
/* reeded coin edge */
.wn-bz-coin::before {
  content: ""; position: absolute; inset: -11px; border-radius: 50%;
  background: repeating-conic-gradient(var(--bz-gold-strong) 0deg 4deg, transparent 4deg 8deg);
  opacity: .5; z-index: -1;
}
.wn-bz-coin-pip {
  position: absolute; color: #fff5ec; font-size: 13px; opacity: .85; line-height: 1;
  text-shadow: 0 1px 2px rgba(74, 30, 20, .4);
}
.wn-bz-coin-pip--t { top: 1.1rem; }
.wn-bz-coin-pip--b { bottom: 1.1rem; }
.wn-bz-coin-eyebrow {
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: .62rem;
  letter-spacing: .16em; text-transform: uppercase; color: #3a1408;
  margin-bottom: .4rem;
}
.wn-bz-coin-value {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 4.2vw, 2.5rem); letter-spacing: -.01em;
  color: #2b1608; line-height: 1.05;
}

html.dark .wn-bz-coin-eyebrow,
html.dark .wn-bz-coin-value { color: #1a0f14; }

@media (max-width: 640px) {
  .wn-bz-hero { padding: 1rem 1rem 2rem; }
  .wn-bz-arch { border-radius: 34% 34% 14px 14px / 12% 12% 14px 14px; padding: 1.5rem 1rem 1.9rem; }
  .wn-bz-frame { inset: 8px; }
  .wn-bz-coin { width: clamp(170px, 52vw, 220px); margin-top: 2rem; padding: 1.1rem; }
  .wn-bz-coin-value { font-size: clamp(1.35rem, 8vw, 1.9rem); }
}

/* /assets/themes/bazaar/assets/css/components/winners/tab-bar.css */
/* Bazaar winners tab bar — brass/gold pills instead of editorial's flat
   dark pill; the active tab uses --bz-primary. */

.wn-bz-tab-bar {
  background: rgba(251, 244, 230, .93);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(184, 134, 47, .18);
}
html.dark .wn-bz-tab-bar { background: rgba(26, 15, 20, .92); }

.wn-bz-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 15px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .18s ease; white-space: nowrap; flex-shrink: 0;
  border: 1px solid transparent; background: transparent; color: var(--ink-soft);
  font-family: 'Inter', system-ui, sans-serif;
}
.wn-bz-tab-inactive { border-color: var(--rule); background: var(--paper-2); }
.wn-bz-tab-inactive:hover { color: var(--bz-primary); border-color: var(--bz-gold); background: var(--paper); }
.wn-bz-tab-active {
  background: var(--bz-primary); color: #fff5ec; border-color: var(--bz-primary);
  box-shadow: inset 0 0 0 1px rgba(217, 168, 60, .45), 0 2px 10px rgba(156, 44, 70, .28);
}
html.dark .wn-bz-tab-active { color: #1a0f14; }

.wn-bz-tab-badge {
  font-size: 10px; font-weight: 700; padding: 1px 7px;
  border-radius: 999px; line-height: 1.5;
  font-family: 'Inter', system-ui, sans-serif;
}
.wn-bz-tab-badge-active { background: rgba(255, 255, 255, .22); color: inherit; }
.wn-bz-tab-badge-inactive { background: var(--paper); color: var(--bz-gold); border: 1px solid var(--rule); }

.wn-bz-view-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 999px; border: 1px solid var(--bz-gold);
  background: var(--paper-2);
}
.wn-bz-view-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 999px; border: none;
  background: transparent; color: var(--ink-soft); cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.wn-bz-view-btn:hover { color: var(--bz-primary); background: var(--paper); }
.wn-bz-view-btn-active { background: var(--bz-primary); color: #fff5ec; }
html.dark .wn-bz-view-btn-active { color: #1a0f14; }

@media (max-width: 640px) {
  .wn-bz-tab { padding: 6px 12px; font-size: 12px; }
}

