/*
Theme Name: PS2ROMS.NET
Theme URI: https://example.com/ps2romsnet
Author: Adeel Khan
Author URI: https://example.com
Description: A modern ROM / game-download theme with a Game custom post type, Console/Genre/Region taxonomies, filterable listings, collections, popular & latest sections, and a rich single-ROM page. Light UI with an indigo accent.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ps2net
*/

:root{
  --bg:#f5f6f8; --surface:#ffffff; --surface2:#f2f3f6; --line:#e7eaf0;
  --txt:#1b2130; --mut:#6b7280; --acc:#4f46e5; --acc2:#4338ca; --green:#12b36a; --navy:#1e2a44;
  --container:1160px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--txt);font-family:'Poppins',system-ui,-apple-system,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.5}
a{color:var(--txt);text-decoration:none}
a:hover{color:var(--acc)}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{margin:0}
input,textarea,button,select{font-family:inherit}
[hidden]{display:none!important}
.container{max-width:var(--container);margin:0 auto;padding:0 28px}
.ico{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.kick{color:var(--acc);font-size:11px;font-weight:700;letter-spacing:.12em}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}

/* ============ Header ============ */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.site-header .container{height:70px;display:flex;align-items:center;gap:30px}
.brand{font-weight:800;font-size:20px;color:var(--txt)}
.brand .accent{color:var(--acc)}
.primary-nav{display:flex;align-items:center;gap:26px;list-style:none;margin:0;padding:0}
.primary-nav a{color:var(--txt);font-weight:500;font-size:14px}
.primary-nav a:hover{color:var(--acc)}
.primary-nav .current-menu-item>a,.primary-nav .current_page_item>a{color:var(--acc);font-weight:600;border-bottom:2.5px solid var(--acc);padding-bottom:22px}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:12px}
.hicon{width:40px;height:40px;border-radius:50%;background:var(--surface2);display:flex;align-items:center;justify-content:center;color:var(--mut)}
.btn-signin{display:flex;align-items:center;gap:8px;background:var(--acc);color:#fff;font-weight:600;font-size:14px;padding:10px 20px;border-radius:100px}
.btn-signin:hover{color:#fff;background:var(--acc2)}
.btn-signin svg{stroke:#fff;width:16px;height:16px;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nav-toggle{display:none;background:none;border:1px solid var(--line);border-radius:10px;padding:8px 10px;cursor:pointer;color:var(--acc)}
.nav-toggle svg{display:block;stroke:var(--acc);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* ============ Hero ============ */
.hero-band{position:relative;overflow:hidden;padding:54px 0 104px;
  background:radial-gradient(760px 340px at 50% -14%,rgba(79,70,229,.42),transparent 62%),linear-gradient(180deg,#1a2140,#0c1124)}
.hero-band::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.07) 1px,transparent 1px);background-size:22px 22px;pointer-events:none}
.hero-band-inner{max-width:var(--container);margin:0 auto;padding:0 28px;position:relative;text-align:center;color:#fff}
.hero-kick{display:inline-block;color:#c7d2fe;font-size:12px;font-weight:700;letter-spacing:.14em;margin-bottom:14px}
.hero-h1{font-size:40px;font-weight:800;line-height:1.12;margin:0 0 12px;color:#fff;letter-spacing:-.01em}
.hero-h1 span{color:#a5b4fc}
.hero-sub{color:rgba(255,255,255,.78);font-size:15px;max-width:560px;margin:0 auto}
.hero-wrap{max-width:var(--container);margin:-72px auto 0;padding:0 28px;position:relative}
.hero-wrap.short{margin-top:-104px}
.hero-card{background:var(--surface);border-radius:18px;padding:24px 28px;box-shadow:0 30px 60px -28px rgba(20,25,45,.5);text-align:center}
.hero-card h1{font-size:32px;font-weight:700;margin:0 0 10px}
.hero-card h1 .accent{color:var(--acc)}
.hero-card .sub{color:var(--mut);font-size:14px;max-width:520px;margin:0 auto 22px}
.hero-title-page{font-size:26px;font-weight:700;color:var(--acc);margin:0 0 8px}
.disp{font-size:30px;font-weight:700;line-height:1.25}
.searchrow{display:flex;gap:10px;max-width:900px;margin:0 auto 18px}
.searchrow .field{flex:1;min-height:54px;display:flex;align-items:center;gap:10px;background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:0 16px}
.searchrow .field .ico{color:var(--mut)}
.searchrow input{flex:1;background:none;border:none;outline:none;font-size:14px;padding:14px 0;color:var(--txt)}
.searchrow .go{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:54px;min-width:150px;background:var(--acc);color:#fff;font-weight:600;font-size:15px;line-height:1;letter-spacing:.2px;border:none;border-radius:100px;padding:0 34px;cursor:pointer;transition:background .18s ease,transform .18s ease,box-shadow .18s ease;box-shadow:0 10px 22px -12px rgba(79,70,229,.85)}
.searchrow .go:hover{background:var(--acc2);transform:translateY(-1px);box-shadow:0 14px 26px -12px rgba(67,56,202,.9)}
.searchrow .go:active{transform:translateY(0);box-shadow:0 8px 18px -12px rgba(67,56,202,.9)}
.filter-grid{display:grid;gap:14px;text-align:left}
.filter-grid.c5{grid-template-columns:repeat(5,1fr)}
.filter-grid.c4{grid-template-columns:repeat(4,1fr)}
.fld label{display:block;font-size:12px;font-weight:600;margin-bottom:6px}
.fld select{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 12px;color:var(--txt);font-size:13px;background:#fff;cursor:pointer;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
.filter-actions{display:flex;align-items:flex-end}
.btn-apply{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:42px;background:var(--acc);color:#fff;border:none;border-radius:100px;padding:0 20px;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer;transition:background .15s}
.btn-apply:hover{background:var(--acc2)}
.breadcrumb{display:flex;gap:7px;justify-content:center;color:var(--mut);font-size:13px;margin-bottom:20px;flex-wrap:wrap}
.breadcrumb a{color:var(--mut)}.breadcrumb .current{color:var(--txt)}

/* ============ Sections ============ */
.sec{max-width:var(--container);margin:0 auto;padding:26px 28px 0}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:14px;gap:12px}
.sec-title{font-size:19px;font-weight:700;margin:0}
.btn-view{background:var(--acc);color:#fff;font-size:12px;font-weight:600;padding:8px 16px;border-radius:100px}
.btn-view:hover{color:#fff;background:var(--acc2)}
.suggest-label{font-size:13px;font-weight:600;margin-bottom:10px}
.chips{display:flex;gap:10px;flex-wrap:wrap}
.chip{background:var(--surface2);border:1px solid var(--line);border-radius:100px;padding:8px 15px;font-size:13px;font-weight:500;color:var(--txt)}
.chip:hover{border-color:var(--acc);color:var(--acc)}
.chip .c{color:var(--mut)}
.badge{display:inline-block;border:1px solid var(--acc);color:var(--acc);font-size:11px;font-weight:600;padding:3px 10px;border-radius:100px}

/* collections */
.col-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.col-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:transform .15s,box-shadow .15s}
.col-card:hover{transform:translateY(-4px);box-shadow:0 14px 26px -16px rgba(0,0,0,.25)}
.col-card .thumb{height:120px;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.5);font-weight:800;font-size:22px}
.col-card .cc-body{padding:12px 14px}
.col-card .cc-t{font-weight:600;font-size:14px;margin-bottom:6px;color:var(--txt)}
.col-card .cc-n{color:var(--mut);font-size:12px;display:flex;align-items:center;gap:5px}
.col-card .cc-n svg{width:13px;height:13px;color:var(--acc);stroke:var(--acc);fill:none;stroke-width:2}

/* announcement */
.announce{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px 24px}
.announce .a-t{font-weight:700;font-size:16px;margin:8px 0}
.announce p{color:var(--mut);font-size:13px;line-height:1.6;margin:0 0 10px}
.announce .a-new{font-weight:700;font-size:13px;font-style:italic;color:var(--acc)}

/* popular list rows */
.rom-list{display:flex;flex-direction:column;gap:10px}
.rom-row{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:9px 16px;transition:border-color .15s}
.rom-row:hover{border-color:var(--acc)}
.rom-row .thumb{width:44px;height:44px;border-radius:8px;flex:0 0 auto;overflow:hidden;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.5);font-weight:700;font-size:14px}
.rom-row .thumb img{width:100%;height:100%;object-fit:cover}
.rom-row .rr-main{flex:1;min-width:0}
.rom-row .rr-t{font-weight:600;font-size:14px;color:var(--txt);display:block;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rom-row .stats{display:flex;gap:10px;flex:0 0 auto}
.statpill{background:var(--surface2);border:1px solid var(--line);border-radius:100px;padding:5px 11px;font-size:12px;color:var(--mut);display:flex;align-items:center;gap:5px}
.statpill svg{width:13px;height:13px;stroke:var(--mut);fill:none;stroke-width:2}

/* rom cards (latest / related) */
.rom-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.rom-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:transform .15s,box-shadow .15s}
.rom-card:hover{transform:translateY(-4px);box-shadow:0 14px 26px -16px rgba(0,0,0,.25)}
.rom-card .cov{position:relative;aspect-ratio:3/4;display:flex;align-items:center;justify-content:center;overflow:hidden;color:rgba(255,255,255,.42);font-weight:800;font-size:24px}
.rom-card .cov img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.rom-card .rc-body{padding:11px 13px}
.rom-card .rc-t{font-weight:600;font-size:13px;margin-bottom:7px;line-height:1.25;color:var(--txt)}
.rom-card .rc-stats{display:flex;gap:10px;margin-top:9px;color:var(--mut);font-size:11px}

/* larger card grid (search results) */
.rom-grid.grid-lg{grid-template-columns:repeat(4,1fr);gap:20px}
.rom-grid.grid-lg .rom-card{border-radius:16px}
.rom-grid.grid-lg .rom-card .cov{aspect-ratio:4/3;font-size:34px}
.rom-grid.grid-lg .rom-card .rc-body{padding:16px 16px 18px}
.rom-grid.grid-lg .rom-card .rc-t{font-size:15px;line-height:1.35;margin-bottom:10px}
.rom-grid.grid-lg .rom-card .rc-stats{margin-top:11px;font-size:12px}

/* pagination */
.pagination{display:flex;justify-content:center;gap:8px;margin-top:22px;flex-wrap:wrap}
.pagination .page-numbers{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:13px;color:var(--txt)}
.pagination .page-numbers.current{background:var(--acc);color:#fff;border-color:var(--acc);font-weight:600}
.pagination a.page-numbers:hover{border-color:var(--acc);color:var(--acc)}

/* info block */
.infoblock{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px 24px}
.infoblock .ib-t{font-weight:700;font-size:15px;margin-bottom:10px}
.infoblock p{color:var(--mut);font-size:13px;line-height:1.7;margin:0}

/* ============ Single ============ */
.single-top{max-width:var(--container);margin:0 auto;padding:28px 28px 0;display:grid;grid-template-columns:300px 1fr;gap:24px;align-items:start}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:26px}
.single-side{display:flex;flex-direction:column;gap:20px;align-self:start}
.cover-card{padding:14px}
.cover-card .cov{aspect-ratio:3/4;border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.42);font-weight:800;font-size:44px}
.cover-card .cov img{width:100%;height:100%;object-fit:cover}
.single-info h1{font-size:28px;font-weight:700;line-height:1.25;margin:0 0 12px}
.stat-line{display:flex;align-items:center;gap:14px;color:var(--mut);font-size:13px;margin-bottom:16px;flex-wrap:wrap}
.stat-line b{color:var(--txt)}
.stars{color:#f5a623;letter-spacing:1px}
.stars .off{color:#d9dce3}
.badge-row{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap}
.badge-lg{border:1px solid var(--acc);color:var(--acc);font-size:12px;font-weight:600;padding:4px 14px;border-radius:100px}
.badge-lg.green{border-color:var(--green);color:var(--green)}
.irow{display:flex;align-items:center;justify-content:space-between;background:var(--surface2);border-radius:100px;padding:12px 18px;margin-bottom:10px;gap:12px}
.irow .k{display:flex;align-items:center;gap:9px;color:var(--txt);font-size:14px;font-weight:500}
.irow .k svg{width:15px;height:15px;color:var(--mut);stroke:var(--mut);fill:none;stroke-width:2}
.irow .v{color:var(--acc);font-size:14px;font-weight:600;text-align:right}
.irow .v.plain{color:var(--txt)}
.irow .v a{color:var(--acc)}
.dl-actions{display:flex;align-items:center;gap:12px;margin-top:20px;flex-wrap:wrap}
.buy-box{padding:18px}
.buy-box .dl-actions{margin-top:14px;padding-top:0;border-top:none;width:100%}
.buy-box .download-box{width:100%}
.buy-box .btn-download{width:100%;justify-content:center;box-sizing:border-box}
.buy-box .dl-timer{width:100%;justify-content:center;box-sizing:border-box}
.rating-mini{text-align:center}
.rating-mini .rm-avg{font-size:28px;font-weight:800;line-height:1;margin-bottom:7px}
.rating-mini .rm-row{display:flex;align-items:center;justify-content:center;gap:8px}
.rating-mini .stars{font-size:15px;line-height:1}
.rating-mini .rm-n{color:var(--mut);font-size:12px;line-height:1}
.btn-download{display:flex;align-items:center;gap:9px;background:var(--acc);color:#fff;font-weight:600;font-size:15px;padding:14px 26px;border-radius:100px;border:none;cursor:pointer}
.btn-download:hover{color:#fff;background:var(--acc2)}
.btn-download svg{stroke:#fff;width:18px;height:18px;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn-download.is-disabled{background:var(--surface2);color:var(--mut);cursor:not-allowed}
.btn-download.is-disabled svg{stroke:var(--mut)}
.btn-emu{display:flex;align-items:center;gap:9px;background:var(--surface2);color:var(--txt);font-weight:600;font-size:15px;padding:14px 22px;border-radius:100px}
.btn-emu:hover{color:var(--txt);background:var(--line)}
.btn-emu svg{width:18px;height:18px;color:var(--acc);stroke:var(--acc);fill:none;stroke-width:2}
.fav{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--mut)}
.download-box{display:inline-flex}
.dl-timer{display:inline-flex;align-items:center;gap:9px;background:var(--surface2);border-radius:100px;padding:14px 24px;color:var(--mut);font-weight:600}
.dl-timer .dl-count{color:var(--acc)}
.dl-spin{color:var(--acc);animation:pnspin 1s linear infinite}
@keyframes pnspin{to{transform:rotate(360deg)}}
.sec-h{font-size:19px;font-weight:700;margin:0 0 16px}
.desc{color:#4a5162;font-size:14px;line-height:1.75;margin:0 0 20px}
.share-label{font-size:13px;font-weight:600;margin-bottom:10px}
.share{display:flex;gap:10px}
.share a,.share button{width:38px;height:38px;border-radius:50%;background:var(--surface2);border:none;display:flex;align-items:center;justify-content:center;color:var(--mut);font-weight:700;font-size:13px;cursor:pointer;transition:background .15s,color .15s}
.share a:hover,.share button:hover{background:var(--acc);color:#fff}
.share a:hover .ico,.share button:hover .ico{stroke:#fff}
.share button.is-copied{background:var(--green);color:#fff}
.share button.is-copied .ico{stroke:#fff}
.shots{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.shots a{aspect-ratio:16/10;border-radius:10px;overflow:hidden;background:var(--surface2)}
.shots img{width:100%;height:100%;object-fit:cover}
.ratings-wrap{display:grid;grid-template-columns:180px 1fr;gap:28px;align-items:center}
.rating-big{font-size:52px;font-weight:800;line-height:1}
.rbar{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.rbar .n{color:var(--mut);font-size:12px;width:10px}
.rbar .track{flex:1;height:8px;background:var(--surface2);border-radius:100px}
.no-reviews{color:var(--mut);font-size:13px;margin-top:18px;border-top:1px solid var(--line);padding-top:16px}
.signin-box{background:var(--surface2);border-radius:14px;padding:32px;text-align:center}
.signin-box p{color:var(--mut);font-size:14px;margin:0 0 16px}
.signin-box a{display:inline-block;background:var(--acc);color:#fff;font-weight:600;font-size:14px;padding:11px 30px;border-radius:100px}
.signin-box a:hover{color:#fff;background:var(--acc2)}

/* comments (native) */
.comments-panel input[type=text],.comments-panel input[type=email],.comments-panel input[type=url],.comments-panel textarea{width:100%;background:var(--surface2);border:1px solid var(--line);border-radius:10px;padding:12px 14px;color:var(--txt);font-size:14px;outline:none}
.comments-panel textarea{resize:vertical;min-height:96px}
.comments-panel .form-submit .submit{background:var(--acc);color:#fff;font-weight:600;border:none;border-radius:100px;padding:11px 22px;cursor:pointer}
.commentlist{list-style:none;margin:0 0 20px;padding:0}
.commentlist li{border-bottom:1px solid var(--line);padding:14px 0}

/* ============ Footer ============ */
.site-footer{background:linear-gradient(90deg,var(--acc),var(--acc2));margin-top:36px}
.footer-inner{max-width:var(--container);margin:0 auto;padding:34px 28px;text-align:center;color:#fff}
.footer-brand{font-weight:800;font-size:18px;margin-bottom:14px}
.footer-menu{display:flex;gap:26px;justify-content:center;flex-wrap:wrap}
.footer-menu a{color:#fff;font-size:13px;font-weight:500;opacity:.95}
.footer-menu a:hover{opacity:1;color:#fff;text-decoration:underline}
.footer-copy-bar{background:rgba(0,0,0,.12)}
.footer-copy-bar .container{padding:14px 28px;color:rgba(255,255,255,.85);font-size:12px;font-style:italic}

/* ============ Responsive ============ */
@media(max-width:1024px){
  .filter-grid.c5,.filter-grid.c4{grid-template-columns:repeat(2,1fr)}
  .filter-actions{grid-column:1/-1;justify-content:center;margin-top:4px}
  .col-grid{grid-template-columns:repeat(2,1fr)}
  .rom-grid{grid-template-columns:repeat(3,1fr)}
  .rom-grid.grid-lg{grid-template-columns:repeat(3,1fr)}
  .single-top{grid-template-columns:1fr}
  .single-side{flex-direction:row;align-items:flex-start;gap:20px}
  .single-side .cover-card{flex:0 0 34%;max-width:230px}
  .single-side .buy-box{flex:1;align-self:stretch;display:flex;flex-direction:column;justify-content:center}
  .ratings-wrap{grid-template-columns:1fr}
}
@media(max-width:680px){
  .container,.hero-wrap,.sec,.single-top,.footer-inner{padding-left:18px;padding-right:18px}
  .primary-nav{display:none}
  .primary-nav.is-open{display:flex;position:absolute;top:70px;left:0;right:0;background:#fff;flex-direction:column;gap:0;border-bottom:1px solid var(--line);padding:8px 18px}
  .primary-nav.is-open li{padding:10px 0;border-bottom:1px solid var(--line)}
  .primary-nav.is-open .current-menu-item>a{border-bottom:none;padding-bottom:0}
  .nav-toggle{display:inline-flex;margin-left:auto}
  .header-actions .btn-signin span{display:none}
  .single-side{flex-direction:column;align-items:stretch}
  .single-side .cover-card{flex:none;max-width:none}
  .single-side .buy-box{display:block}
  .hero-card h1{font-size:24px}
  .hero-h1{font-size:27px}
  .hero-title-page{font-size:21px}
  .single-info h1{font-size:20px;line-height:1.3}
  .disp{font-size:23px}
  .hero-band{padding:40px 0 96px}
  .searchrow{flex-wrap:wrap;gap:12px}
  .searchrow .field{flex:1 1 100%;min-height:50px}
  .searchrow .go{width:100%;min-width:0;min-height:52px;font-size:15px;padding:0 24px}
  .rom-grid{grid-template-columns:repeat(2,1fr)}
  .rom-grid.grid-lg{grid-template-columns:repeat(2,1fr);gap:16px}
  .col-grid{grid-template-columns:1fr}
  .rom-row .stats{display:none}
}

/* ---- Star voting ---- */
.vote{text-align:center}
.vote .rm-avg{font-size:28px;font-weight:800;line-height:1;margin-bottom:7px}
.vote-stars{position:relative;display:inline-flex;line-height:1}
.vote-stars .stars{font-size:19px;letter-spacing:2px}
.vote-hits{position:absolute;inset:0;display:flex}
.vote-hit{flex:1 1 0;min-width:0;padding:0;margin:0;border:0;background:none;-webkit-appearance:none;appearance:none;cursor:pointer;font:inherit;color:transparent}
.vote-hit:focus-visible{outline:2px solid var(--acc);outline-offset:3px;border-radius:3px}
.vote.is-busy{opacity:.6}
.vote.is-busy .vote-hit{cursor:progress}
.vote.is-voted .vote-hit{cursor:default}
.vote .rm-n{color:var(--mut);font-size:12px;line-height:1;margin-top:7px}
/* Reserved height so showing the message does not shove the button down. */
.vote-msg{margin:6px 0 0;min-height:1.3em;color:var(--mut);font-size:12px;line-height:1.3}
.vote-msg.is-error{color:#d92d20}
.stat-line .stat-rate{display:inline-flex;align-items:center;gap:6px}
/* Breakdown bars, filled from the votes actually cast. */
.rbar .track{position:relative;overflow:hidden}
.rbar .fill{position:absolute;left:0;top:0;bottom:0;background:var(--acc);border-radius:inherit}

/* Bullet separators, drawn on every visible stat that follows another visible
   one — so hiding any of them never leaves a stray or doubled bullet. */
.stat-line > span:not([hidden]) ~ span:not([hidden])::before{content:'•';margin-right:14px}
