/* What Are Nests (/what-are-nests/): the nest explainer (December 2, 2026: _design-artifacts/What Are Nests/final-what-are-nests.html).
   Goes with what-are-nests.php and what-are-nests.js. Day only, like the site's other pages. Everything is inside body.pg-wn, so the
   site's own header and footer stay as they are. */
body.pg-wn {
  --wn-white: #ffffff;
  --wn-studio: #f5f7fa;
  --wn-porcelain: #f7f9fc;
  --wn-ink: #0f172a;
  --wn-ink2: #0a2540;
  --wn-sub: #475569;
  --wn-muted: #64748b;
  --wn-line: rgba(15, 23, 42, 0.08);
  --wn-green: #059669;
  --wn-emerald: #00a86b;
  --wn-indigo: #635bff;
  --wn-amber: #b45309;
  --wn-teal: #0d9488;
  --wn-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04), 0 8px 20px -12px rgba(15, 23, 42, 0.12);
  --wn-shadow-lg: 0 4px 12px rgba(15, 23, 42, 0.04), 0 28px 64px -24px rgba(15, 23, 42, 0.16);
  --wn-shadow-xl: 0 8px 20px rgba(15, 23, 42, 0.06), 0 40px 80px -28px rgba(15, 23, 42, 0.22);
  --wn-shadow-stripe: 0 2px 5px -1px rgba(50, 50, 93, 0.08), 0 12px 30px -10px rgba(50, 50, 93, 0.14);
}
.pg-wn .wn-hero, .pg-wn .wn, .pg-wn .wn-dlg { line-height: 1.6; }
.pg-wn .wn :where(h1, h2, h3, h4, p, ul, ol), .pg-wn .wn-hero :where(h1, p) { margin: 0; padding: 0; }   /* (:where: the spacing below wins over this) */
.pg-wn .wn :is(button, input) { font-family: inherit; }
.pg-wn .wn :focus-visible { outline: 3px solid #635bff; outline-offset: 2px; }
.pg-wn .wn img { display: block; max-width: 100%; }
.pg-wn .wn-container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.pg-wn .mono { font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0.03em; }
.pg-wn .shiny-ico { display: inline-block; width: 1em; height: 1em; fill: currentColor; vertical-align: -0.14em; }

/* ---- Buttons on this page ---- */
.pg-wn .wn .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; font: inherit; font-size: 15.5px; font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease, background .18s ease; }
.pg-wn .wn .btn svg { width: 17px; height: 17px; flex: none; }
.pg-wn .wn .btn-hot { background: linear-gradient(135deg, #ff9a3d, #ff6a2f 55%, #ff4f7b); color: #fff; box-shadow: 0 14px 28px -12px rgba(255, 87, 34, 0.65), inset 0 1px 0 rgba(255,255,255,0.3); }
.pg-wn .wn .btn-dark { background: #0f172a; color: #fff; box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.5); }
.pg-wn .wn .btn-ghost-light { background: #fff; color: #0f172a; border: 1.5px solid rgba(15,23,42,0.14); box-shadow: var(--wn-shadow-sm); }
.pg-wn .wn .btn:hover { transform: translateY(-2px); }
.pg-wn .wn .btn:active { transform: translateY(0) scale(0.98); }

/* ---- 1. The hero: navy with contour lines ---- */
.pg-wn .wn-hero { position: relative; overflow: hidden; padding: 134px 0 118px; background: #222a40; color: #fff; text-align: center; }
.pg-wn .wn-hero > .wn-container { position: relative; z-index: 3; }
.pg-wn .wn-hero-topo { position: absolute; inset: 0; z-index: 1; pointer-events: none; width: 100%; height: 100%; display: block; }
.pg-wn .wn-hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(65% 75% at 50% 42%, rgba(34,42,64,0.28), rgba(16,22,38,0.6)); }
.pg-wn .hero-stamp { display: inline-flex; padding: 5px 14px; border: 2px solid rgba(255,210,94,0.85); border-radius: 8px; color: #ffd25e; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.pg-wn .wn-hero h1 { margin: 20px auto 0; max-width: 780px; font-size: clamp(38px, 5.4vw, 64px); font-weight: 900; line-height: 1.03; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.pg-wn .wn-hero-sub { margin: 16px auto 0; max-width: 640px; font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.55; color: rgba(255,255,255,0.88); text-wrap: pretty; }
.pg-wn .wn-hero-sub b { color: #fff; }
.pg-wn .wn-facts { margin: 26px auto 0; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 24px; font-size: 14.5px; font-weight: 700; color: rgba(255,255,255,0.95); }
.pg-wn .wn-fact { display: inline-flex; align-items: center; gap: 8px; }
.pg-wn .wn-fact svg { width: 16px; height: 16px; color: #ffd25e; }
.pg-wn .wn-fact-sep { width: 1px; height: 15px; background: rgba(255,255,255,0.28); }

/* ---- Sections and their words ---- */
.pg-wn .wn { background: var(--wn-white); color: var(--wn-ink); }
.pg-wn .stage { padding: 100px 0; }
.pg-wn .stage.studio { background: var(--wn-studio); }
.pg-wn .stage.white { background: var(--wn-white); }
.pg-wn .stage.compact { padding: 84px 0; }
/* the stamp, like "Current migration" on Latest Nests (December 2, 2026): an outlined, slightly tilted typewriter label, in each section's own color */
.pg-wn .eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border: 2px solid color-mix(in srgb, currentColor 85%, transparent); border-radius: 7px; font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12px; font-weight: 800; line-height: 1.35; color: var(--wn-green); letter-spacing: 0.12em; text-transform: uppercase; transform: rotate(-1.6deg); margin-bottom: 8px; }
.pg-wn .eyebrow svg { width: 13px; height: 13px; }
.pg-wn .eyebrow.coral { color: #ea580c; }
.pg-wn .eyebrow.indigo { color: var(--wn-indigo); }
.pg-wn .eyebrow.emerald { color: #047857; }
.pg-wn .eyebrow.amber { color: var(--wn-amber); }
.pg-wn .eyebrow.teal { color: var(--wn-teal); }
.pg-wn .display-h2 { margin-top: 10px; font-size: clamp(32px, 4.2vw, 52px); font-weight: 900; line-height: 1.06; letter-spacing: -0.032em; color: var(--wn-ink); text-wrap: balance; }
.pg-wn .section-h3 { margin-top: 10px; font-size: clamp(24px, 2.8vw, 36px); font-weight: 900; line-height: 1.12; letter-spacing: -0.025em; color: var(--wn-ink); text-wrap: balance; }
.pg-wn .section-h3.is-big { font-size: clamp(30px, 3.6vw, 44px); }
.pg-wn .section-h3.is-deck { font-size: clamp(24px, 2.5vw, 32px); }
.pg-wn .section-h3.is-deck2 { font-size: clamp(22px, 2.3vw, 30px); }
.pg-wn .body-lg { margin-top: 14px; font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.62; color: var(--wn-sub); max-width: 58ch; text-wrap: pretty; }
.pg-wn .body-lg.is-small { font-size: 15.5px; margin-top: 10px; }
.pg-wn .body-lg b { color: var(--wn-ink); }
.pg-wn .center-block { text-align: center; max-width: 780px; margin: 0 auto; }
.pg-wn .center-block .body-lg { margin-left: auto; margin-right: auto; }

/* ---- 2. The video ---- */
.pg-wn .video-split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.pg-wn .vid-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.pg-wn .vid-dur { font-size: 13px; font-weight: 700; color: var(--wn-muted); }
.pg-wn .cinema-frame { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16/9; background: #0f172a; box-shadow: 0 28px 58px -22px rgba(15, 23, 42, 0.38); }
.pg-wn .cinema-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.pg-wn .vid-poster { width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; position: relative; display: block; }
.pg-wn .vid-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.pg-wn .vid-poster:hover img { transform: scale(1.04); }
.pg-wn .vid-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,0.35) 100%); }
.pg-wn .vid-play { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%,-50%); width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,0.96); color: #0f172a; display: grid; place-items: center; box-shadow: 0 18px 36px -8px rgba(0,0,0,0.45); transition: transform .2s ease; }
.pg-wn .vid-poster:hover .vid-play { transform: translate(-50%,-50%) scale(1.08); }
.pg-wn .vid-play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; }

/* ---- 3. The town map and the migration dial ---- */
.pg-wn .map-hardware { margin-top: 44px; border-radius: 30px; overflow: hidden; background: #fff; border: 1px solid rgba(15,23,42,0.08); box-shadow: var(--wn-shadow-xl); }
.pg-wn .map-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px; background: #fff; border-bottom: 1px solid var(--wn-line); }
.pg-wn .map-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13.5px; font-weight: 700; color: var(--wn-sub); }
.pg-wn .map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.pg-wn .map-legend .dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.pg-wn .map-legend .dot.nest { background: #10b981; }
.pg-wn .map-legend .dot.wild { background: #94a3b8; }
.pg-wn .map-stage { position: relative; min-height: 480px; background: #eef3ec; overflow: hidden; }
.pg-wn .map-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pg-wn .cm-park-poly { fill: #bce7c9; stroke: #1e8753; stroke-width: 2; transition: fill .4s ease, stroke .4s ease; }
.pg-wn .cm-park-poly.is-dust { fill: #e3d8ff; stroke: #6d28d9; }
.pg-wn .bm-scan { position: absolute; top: 0; bottom: 0; width: 18%; left: -24%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.75), transparent); pointer-events: none; z-index: 6; }
.pg-wn .bm-cluster { position: absolute; z-index: 5; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pg-wn .bm-cluster.align-r { align-items: flex-end; }
.pg-wn .bm-sign { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(15, 23, 42, 0.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 12.5px; font-weight: 800; }
.pg-wn .bm-sign svg { width: 14px; height: 14px; color: #6ee7b7; }
.pg-wn .bm-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 14px; background: rgba(255,255,255,0.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--wn-ink); border: 1.5px solid rgba(5,150,105,0.35); box-shadow: 0 12px 24px -10px rgba(15,23,42,0.22); font-size: 13px; font-weight: 800; }
.pg-wn .bm-pill.is-dust { border-color: rgba(109,40,217,0.4); color: #5b21b6; }
.pg-wn .bm-pill small { font-size: inherit; font-weight: 600; color: var(--wn-muted); }
.pg-wn .bm-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.pg-wn .bm-mon { position: absolute; transform: translate(-50%,-50%); width: 52px; height: 52px; display: grid; place-items: center; }
.pg-wn .bm-mon img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(15,23,42,0.22)); transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s ease; }
.pg-wn .bm-mon.is-nest::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: rgba(255,255,255,0.68); box-shadow: 0 0 0 2px rgba(16,185,129,0.45); }
.pg-wn .bm-mon.is-dust::before { box-shadow: 0 0 0 2px rgba(109,40,217,0.5); }
.pg-wn .bm-mon.is-nest img { position: relative; z-index: 1; animation: wn-bob 2.6s ease-in-out infinite; }
.pg-wn .bm-mon.is-wild { width: 34px; height: 34px; opacity: .72; }
.pg-wn .bm-mon.is-wild img { width: 32px; height: 32px; }
.pg-wn .bm-mon.swap img { transform: scale(0.2); opacity: 0; }
@keyframes wn-bob { 0%, 100% { translate: 0 0 } 50% { translate: 0 -5px } }

.pg-wn .dial-card { margin-top: 26px; padding: 38px 42px; border-radius: 30px; background: #fff; border: 1px solid rgba(15,23,42,0.07); box-shadow: var(--wn-shadow-lg); display: grid; grid-template-columns: minmax(0, 1.25fr) auto; gap: 40px; align-items: center; }
.pg-wn .dial-facts { display: flex; flex-wrap: wrap; gap: 18px 40px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--wn-line); }
.pg-wn .dial-facts small { display: block; font-size: 12px; font-weight: 700; color: var(--wn-muted); }
.pg-wn .dial-facts b { display: block; font-size: 16px; font-weight: 800; color: var(--wn-ink); margin-top: 2px; }
.pg-wn .nz-dial { position: relative; width: 210px; height: 210px; display: grid; place-items: center; }
.pg-wn .nz-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pg-wn .nz-dial .prog { transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1); }
.pg-wn .nz-dial .mid { position: relative; text-align: center; }
.pg-wn .nz-dial .mid small { display: block; font-size: 12px; font-weight: 700; color: var(--wn-muted); }
.pg-wn .nz-dial .mid b { display: block; font-size: 32px; font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; margin: 2px 0; font-variant-numeric: tabular-nums; }
.pg-wn .nz-dial .mid span { display: block; font-size: 12px; font-weight: 600; color: var(--wn-sub); }

/* ---- 4. Why hunt nests: Stardust bars, Candy XL and shinies ---- */
.pg-wn .deck { background: #fff; border-radius: 22px; padding: 34px; border: 1px solid rgba(10, 37, 64, 0.08); box-shadow: var(--wn-shadow-stripe); position: relative; overflow: hidden; }
.pg-wn #ch-dust { margin-top: 34px; }
.pg-wn .deck::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3.5px; background: var(--wn-indigo); }
.pg-wn .deck.top-emerald::before { background: var(--wn-emerald); }
.pg-wn .deck.top-amber::before { background: #f59e0b; }
.pg-wn .dust-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.pg-wn .dust-stack { font-size: 11.5px; font-weight: 800; color: var(--wn-indigo); }
.pg-wn .seg { display: inline-flex; padding: 3px; border-radius: 999px; background: #e8eef6; gap: 2px; }
.pg-wn .ev-btn { padding: 7px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--wn-sub); font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; transition: all .15s ease; }
.pg-wn .ev-btn[aria-pressed="true"] { background: var(--wn-indigo); color: #fff; }
.pg-wn .sp-btn { padding: 7px 15px; border-radius: 999px; border: 1.5px solid var(--wn-indigo); background: #fff; color: var(--wn-indigo); font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; transition: all .15s ease; }
.pg-wn .sp-btn[aria-pressed="true"] { background: var(--wn-indigo); color: #fff; }
.pg-wn .dust-all { margin-top: 20px; font-size: 13.5px; font-weight: 800; color: var(--wn-indigo); }
.pg-wn .dust-bar-wrap { margin-top: 18px; display: grid; gap: 10px; }
.pg-wn .dust-row { display: grid; grid-template-columns: 185px 1fr 145px; gap: 16px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--wn-porcelain); border: 1px solid transparent; }
.pg-wn .dust-row.king { background: #f4f3ff; border-color: rgba(99,91,255,0.35); }
.pg-wn .dust-who { display: flex; align-items: center; gap: 10px; }
.pg-wn .dust-who img { width: 42px; height: 42px; object-fit: contain; flex: none; }
.pg-wn .dust-who b { font-size: 14.5px; display: block; line-height: 1.15; color: var(--wn-ink2); }
.pg-wn .dust-who small { font-size: 11.5px; color: var(--wn-muted); font-weight: 700; }
.pg-wn .dust-track { height: 12px; border-radius: 999px; background: #e6ecf5; overflow: hidden; position: relative; }
.pg-wn .dust-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #635bff, #00a3c4); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.pg-wn .dust-row.king .dust-fill { background: linear-gradient(90deg, #635bff, #f59e0b); }
.pg-wn .dust-val { text-align: right; font-weight: 900; font-size: 15px; color: var(--wn-indigo); font-variant-numeric: tabular-nums; }
.pg-wn .dust-val small { display: block; font-size: 11px; color: var(--wn-muted); font-weight: 600; }

.pg-wn .two-decks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.pg-wn .pu-list { display: grid; gap: 12px; margin-top: 20px; }
.pg-wn .pu-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: var(--wn-porcelain); border: 1px solid rgba(10,37,64,0.08); }
.pg-wn .pu-item img { width: 62px; height: 62px; object-fit: contain; flex: none; }
.pg-wn .pu-item b { font-size: 15.5px; color: var(--wn-ink2); }
.pg-wn .pu-item small { display: block; font-size: 13px; color: var(--wn-muted); }
.pg-wn .pu-item .badge { margin-left: auto; padding: 5px 11px; border-radius: 8px; background: #fff; border: 1px solid rgba(10,37,64,0.1); font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-wn .sh-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.pg-wn .sh-c { position: relative; padding: 14px 8px; border-radius: 16px; text-align: center; background: #fffcf2; border: 1px solid rgba(217,119,6,0.22); }
.pg-wn .sh-c .shiny-ico { position: absolute; top: 7px; right: 7px; width: 14px; height: 14px; color: #d97706; }
.pg-wn .sh-c img { width: 56px; height: 56px; margin: 0 auto 5px; object-fit: contain; }
.pg-wn .sh-c b { display: block; font-size: 14px; color: var(--wn-ink2); }
.pg-wn .sh-c small { font-size: 11px; font-weight: 800; color: #b45309; }
.pg-wn .pro-tip { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: var(--wn-porcelain); border: 1px solid rgba(10,37,64,0.09); }
.pg-wn .pro-tip summary { font-size: 14px; font-weight: 800; color: var(--wn-indigo); cursor: pointer; }
.pg-wn .pro-tip .pd-body { margin-top: 8px; font-size: 14px; color: var(--wn-sub); line-height: 1.6; }
.pg-wn .footnote { margin-top: 10px; font-size: 12.5px; color: var(--wn-muted); }

/* ---- 5. How to spot a nest ---- */
.pg-wn .spot-triad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.pg-wn .spot-card { padding: 28px; border-radius: 28px; background: #fff; border: 1px solid rgba(15,23,42,0.08); box-shadow: var(--wn-shadow-sm); display: flex; flex-direction: column; gap: 18px; }
.pg-wn .spot-art { height: 168px; border-radius: 20px; background: #f8fafc; border: 1px solid rgba(15,23,42,0.06); display: grid; place-items: center; padding: 14px; }
.pg-wn .spot-art svg { max-width: 100%; height: auto; }
.pg-wn .mini-radar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 210px; }
.pg-wn .mr-slot { position: relative; aspect-ratio: 1; border-radius: 14px; background: #fff; border: 1px solid #e2e8f0; display: grid; place-items: center; }
.pg-wn .mr-slot.hit { background: #ecfdf5; border: 1.5px solid #10b981; }
.pg-wn .mr-slot img { width: 42px; height: 42px; object-fit: contain; }
.pg-wn .mr-num { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: #0f172a; color: #ffd25e; font-size: 11px; font-weight: 900; display: grid; place-items: center; }
.pg-wn .spot-card h3 { font-size: 21px; font-weight: 900; letter-spacing: -0.02em; color: var(--wn-ink); }
.pg-wn .spot-card p { font-size: 15px; color: var(--wn-sub); line-height: 1.6; }
.pg-wn .spot-link { align-self: flex-start; padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(15,23,42,0.16); background: #fff; color: var(--wn-ink); font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; transition: border-color .16s, color .16s; }
.pg-wn .spot-link:hover { border-color: var(--wn-green); color: var(--wn-green); }

/* ---- 6. The nest pool ---- */
.pg-wn .pool-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.pg-wn .pool-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; margin-bottom: 22px; }
.pg-wn .pool-search { flex: 1; min-width: 240px; position: relative; display: flex; align-items: center; height: 50px; padding: 0 18px; gap: 10px; border-radius: 999px; border: 1.5px solid #e2e8f0; background: #fff; transition: border-color .16s; }
.pg-wn .pool-search:focus-within { border-color: var(--wn-green); }
.pg-wn .pool-search svg { width: 17px; height: 17px; flex: none; color: var(--wn-muted); }
.pg-wn .pool-search input, .pg-wn .pool-search input:focus { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0 !important; border-radius: 0; outline: none !important; box-shadow: none !important; background: transparent !important; font: inherit; font-size: 15px; color: var(--wn-ink); -webkit-appearance: none; appearance: none; }
.pg-wn .pool-count { font-size: 13.5px; font-weight: 800; color: var(--wn-green); }
.pg-wn .pool-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; }
.pg-wn .p-tile { position: relative; padding: 14px 8px; border-radius: 16px; text-align: center; background: #f8fafc; border: 1px solid rgba(15,23,42,0.05); transition: transform .16s, background .16s, box-shadow .16s; }
.pg-wn .p-tile:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--wn-shadow-sm); }
.pg-wn .p-tile img { width: 54px; height: 54px; margin: 0 auto 6px; object-fit: contain; }
.pg-wn .p-tile span { display: block; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--wn-ink); }
.pg-wn .p-tile .sh { position: absolute; top: 7px; right: 7px; width: 12px; height: 12px; fill: #f59e0b; }
.pg-wn .p-tile[hidden] { display: none; }
.pg-wn .pool-grid:not(.is-open) .p-tile.is-more:not(.is-hit) { display: none; }
.pg-wn .pool-none { margin-top: 10px; text-align: center; font-size: 15px; color: var(--wn-muted); }
.pg-wn .pool-foot { margin-top: 28px; text-align: center; }

/* ---- 7. The finale ---- */
.pg-wn .finale-light { padding: 108px 24px; text-align: center; background: radial-gradient(70% 100% at 50% 100%, rgba(16,185,129,0.12), transparent 70%), linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); border-top: 1px solid var(--wn-line); }
.pg-wn .finale-light .body-lg { margin: 14px auto 30px; }

/* ---- The in-game map picture ---- */
.pg-wn dialog.wn-dlg { max-width: 640px; width: calc(100% - 32px); padding: 0; border: 0; border-radius: 24px; box-shadow: var(--wn-shadow-xl); overflow: hidden; }
.pg-wn dialog.wn-dlg::backdrop { background: rgba(15,23,42,0.65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pg-wn .wn-dlg-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; background: #fff; border-bottom: 1px solid var(--wn-line); color: #0f172a; }
.pg-wn .wn-dlg-x { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f1f5f9; color: #0f172a; cursor: pointer; font-size: 15px; }
.pg-wn .wn-dlg-b { padding: 20px 22px 24px; background: #fff; }
.pg-wn .wn-dlg-b img { display: block; width: 100%; border-radius: 16px; }
.pg-wn .wn-dlg-b p { margin: 12px 0 0; font-size: 14.5px; color: var(--wn-sub); }

/* ---- Smaller screens ---- */
@media (max-width: 1100px) {
  .pg-wn .pool-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pg-wn .video-split, .pg-wn .dial-card, .pg-wn .two-decks, .pg-wn .spot-triad { grid-template-columns: 1fr; }
  .pg-wn .nz-dial { margin: 0 auto; }
  .pg-wn .pool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pg-wn .wn-container { width: calc(100% - 28px); }
  .pg-wn .wn-hero { padding: 108px 0 78px; }
  .pg-wn .wn-facts { gap: 8px 16px; }
  .pg-wn .wn-fact-sep { display: none; }
  .pg-wn .stage, .pg-wn .stage.compact { padding: 56px 0; }
  .pg-wn .video-split { gap: 28px; }
  .pg-wn .map-hardware { border-radius: 22px; }
  .pg-wn .map-toolbar { padding: 16px; gap: 12px; }
  .pg-wn .map-toolbar .btn { width: 100%; min-height: 44px; padding: 10px 16px; font-size: 14px; white-space: normal; text-align: center; }
  .pg-wn .map-stage { min-height: 310px; }
  .pg-wn .bm-cluster { gap: 3px; max-width: 45%; }
  .pg-wn .bm-sign { padding: 3px 8px; font-size: 10.5px; gap: 4px; }
  .pg-wn .bm-sign svg { width: 11px; height: 11px; }
  .pg-wn .bm-pill { padding: 4px 8px; border-radius: 9px; font-size: 11px; gap: 4px; }
  .pg-wn .bm-pill small { display: none; }
  .pg-wn .bm-mon { width: 34px; height: 34px; }
  .pg-wn .bm-mon img { width: 30px; height: 30px; }
  .pg-wn .bm-mon.is-nest::before { inset: 3px; }
  .pg-wn .bm-mon.is-wild { width: 24px; height: 24px; }
  .pg-wn .bm-mon.is-wild img { width: 22px; height: 22px; }
  .pg-wn .bm-mon.is-extra { display: none; }
  .pg-wn .dial-card, .pg-wn .deck { padding: 24px 18px; border-radius: 22px; }
  .pg-wn .dial-facts { gap: 14px 24px; }
  .pg-wn .dial-facts b { text-wrap: balance; font-size: 15px; }
  .pg-wn .dust-row { grid-template-columns: 1fr auto; gap: 8px; }
  .pg-wn .dust-track { grid-column: 1 / -1; order: 3; }
  .pg-wn .pu-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 8px 12px; padding: 14px; }
  .pg-wn .pu-item img { width: 52px; height: 52px; grid-row: span 2; }
  .pg-wn .pu-item .badge { margin-left: 0; justify-self: start; font-size: 13px; }
  .pg-wn .sh-6 { grid-template-columns: repeat(2, 1fr); }
  .pg-wn .spot-card { padding: 22px 18px; border-radius: 22px; }
  .pg-wn .pool-head .btn { width: 100%; }
  .pg-wn .pool-tools { flex-direction: column; align-items: stretch; gap: 8px; }
  .pg-wn .pool-search { flex: none; height: 50px; min-width: 0; width: 100%; }
  .pg-wn .pool-count { align-self: flex-end; font-size: 12.5px; }
  .pg-wn .pool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .pg-wn .p-tile { padding: 10px 4px; }
  .pg-wn .p-tile img { width: 46px; height: 46px; }
  .pg-wn .p-tile span { white-space: normal; line-height: 1.18; font-size: 11.5px; }
  .pg-wn .finale-light { padding: 72px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-wn .bm-mon.is-nest img { animation: none; }
  .pg-wn .wn .btn, .pg-wn .vid-poster img, .pg-wn .dust-fill, .pg-wn .nz-dial .prog { transition: none; }
}
