/* Comic-pop header and top-page hero. All data listing styles are unchanged. */
.site-header { height:auto; background:#fff; border-bottom:1px solid #eee; }
.site-header .pop-header-inner { height:auto; min-height:82px; width:min(1440px,calc(100% - 48px)); gap:24px; justify-content:space-between; }
.pop-brand { flex:0 1 340px; min-width:0; display:block; padding:8px 0; }
.pop-brand img { width:100%; height:auto; display:block; }
.pop-header-nav { display:flex; align-items:center; gap:clamp(8px,1.5vw,24px); flex-wrap:wrap; font-size:14px; font-weight:800; color:#4a2218; }
.pop-header-nav a,.pop-nav-soon { display:inline-flex; flex-direction:column; align-items:center; justify-content:center; min-height:44px; white-space:nowrap; padding:7px 12px; border-radius:24px; }
.pop-header-nav a[aria-current="page"],.pop-header-nav a:hover { color:#fff; background:#f52e83; }
.pop-nav-soon { color:#787078; line-height:1.3; }
.pop-nav-soon small { font-size:10px; font-weight:600; }
.pop-header-nav a:focus-visible,.pop-feature:focus-visible { outline:3px solid #1847aa; outline-offset:3px; }
.pop-hero { position:relative; overflow:hidden; isolation:isolate; color:#4b2319; background:#ffcf16 url("../images/pop/hero-bg.svg") center/cover no-repeat; border-bottom:5px solid #1f1723; }
.pop-hero-inner { max-width:1440px; width:calc(100% - 48px); margin:auto; padding:14px 0 34px; text-align:center; }
.pop-hero-cards { display:block; width:clamp(110px,16vw,222px); height:auto; margin:0 auto -20px; filter:drop-shadow(0 3px 0 #fff); }
.pop-hero-stage { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,3.6fr) minmax(0,1fr); align-items:center; gap:5px; }
.pop-hero-copy { position:relative; z-index:1; min-width:0; }
.pop-mascot { display:block; width:100%; height:auto; align-self:end; filter:drop-shadow(3px 0 #fff) drop-shadow(-3px 0 #fff) drop-shadow(0 3px #fff) drop-shadow(0 -3px #fff); }
.pop-hero-copy h1 { margin:0 0 18px; line-height:1; }
.pop-hero-title-image { display:block; width:100%; max-width:1200px; height:auto; margin:0 auto; }
.pop-ribbon { margin:0 auto; width:fit-content; max-width:100%; background:#db004b; color:#fff; border:3px solid #fff; box-shadow:0 5px 0 #a23a0d; padding:9px 19px; border-radius:8px; font-size:clamp(12px,1.35vw,20px); font-weight:800; line-height:1.65; }
.pop-ribbon .pop-ribbon-emphasis { display:inline-block; white-space:nowrap; color:#fff55e; }
.pop-hero-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; max-width:1000px; margin:23px auto 0; }
.pop-feature { --tile:#ffba00; position:relative; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:7px; min-width:0; min-height:150px; background:#fff; color:#4b2319; border:4px solid var(--tile); border-radius:22px; box-shadow:0 4px 0 #542b1f44,0 0 0 3px #fff; padding:10px 22px 13px; text-decoration:none; font-weight:850; line-height:1.4; }
.pop-feature-speed { --tile:#ff498a; }
.pop-feature-search { --tile:#05b9ee; }
.pop-feature-sites { --tile:#ad6cf0; }
.pop-feature svg { flex:none; width:55px; height:55px; }
.pop-feature-label { font-size:clamp(14px,1.45vw,20px); overflow-wrap:anywhere; }
.pop-feature-arrow { position:absolute; bottom:10px; right:10px; display:grid; place-items:center; width:22px; height:22px; border-radius:50%; color:#fff; background:#f2297d; font-size:24px; line-height:.8; }
a.pop-feature:hover { background:#fff7e2; transform:translateY(-3px); box-shadow:0 7px 0 #542b1f44,0 0 0 3px #fff; }
.pop-feature-soon { font-size:11px; color:#69616a; background:#f2f0f2; border-radius:12px; padding:2px 9px; }
.pop-stats-section { background:#fff; border-bottom:1px solid #e8eaf0; scroll-margin-top:18px; }
.pop-stats-inner { padding:24px 0; }
.pop-stats-inner h2 { font-size:16px; margin:0 0 10px; }
.pop-stats-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0; }
.pop-stats-grid > div { border:1px solid #e7eaf0; border-radius:12px; padding:12px 18px; background:#fff; }
.pop-stats-grid dt { font-size:13px; font-weight:700; color:#626c7a; }
.pop-stats-grid dd { margin:0; font-size:30px; font-weight:900; color:#e60050; font-variant-numeric:tabular-nums; }
.pop-stats-grid small { font-size:13px; color:#4b2319; }
@media(max-width:900px) {
  .site-header .pop-header-inner { flex-direction:column; gap:0; width:calc(100% - 24px); padding:5px 0 8px; }
  .pop-brand { flex:auto; width:min(340px,90%); }
  .pop-header-nav { justify-content:center; gap:4px; font-size:12px; }
  .pop-header-nav a,.pop-nav-soon { padding:5px 10px; }
  .pop-hero-inner { width:calc(100% - 32px); }
  .pop-feature { padding-inline:12px; min-height:135px; }
}
@media(max-width:600px) {
  .site-header .pop-header-inner { width:calc(100% - 20px); }
  .pop-brand { width:min(290px,92%); }
  .pop-header-nav { gap:1px; font-size:11px; }
  .pop-header-nav a,.pop-nav-soon { padding:5px 6px; min-height:38px; }
  .pop-hero { background-position:center; }
  .pop-hero-inner { width:calc(100% - 28px); padding:12px 0 24px; }
  .pop-hero-cards { width:105px; margin-bottom:1px; }
  .pop-hero-stage { grid-template-columns:1fr 1fr; gap:12px; }
  .pop-hero-copy { grid-column:1/-1; grid-row:1; }
  .pop-nora,.pop-kuro { grid-row:2; justify-self:center; width:min(100%,144px); }
  .pop-hero-copy h1 { margin-bottom:13px; }
  .pop-ribbon { padding:7px 10px; font-size:12px; }
  .pop-hero-links { grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; margin-top:14px; }
  .pop-feature { min-height:122px; border-width:3px; border-radius:16px; padding:8px 15px 11px; }
  .pop-feature svg { width:44px; height:44px; }
  .pop-feature-label { font-size:14px; }
  .pop-feature-arrow { width:19px; height:19px; font-size:20px; right:6px; bottom:6px; }
  .pop-stats-inner { padding:18px 0; }
  .pop-stats-grid > div { padding:10px 12px; }
  .pop-stats-grid dd { font-size:24px; }
}
@media(prefers-reduced-motion:reduce) { a.pop-feature:hover { transform:none; } }
