.platform-voting { padding-bottom:24px; }
.platform-voting [hidden] { display:none!important; }
.platform-toolbar { display:flex; align-items:center; gap:12px; }
.platform-toolbar > label:first-child { flex:1; min-width:0; }
.platform-voting :is(input,select) { box-sizing:border-box; max-width:100%; min-height:44px; padding:10px 12px; border:1px solid var(--line); border-radius:7px; background:var(--paper,var(--bg)); color:var(--ink); font:inherit; }
.platform-toolbar input { width:100%; }
.platform-stage { margin-top:12px; }
.platform-stage .arena-swipe-card { min-height:460px; }
.platform-stage .arena-swipe-card h2 { font-size:clamp(32px,4vw,48px); margin-bottom:16px; }
.platform-stage .arena-platform-description { color:var(--dim); font-size:14px; line-height:1.6; }
.platform-stage .arena-vote-actions { margin-top:auto; padding-top:32px; }
.platform-stage .votes-board-result { gap:1.5cqw; }
.platform-stage .votes-board-result strong { font-size:6cqw; }
.platform-stage [data-board-model] { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.platform-method { line-height:1.6; max-width:900px; }
.platform-results { margin-top:32px; padding-top:24px; border-top:1px solid var(--line); }
.platform-results-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.platform-results-heading h2 { font-size:30px; margin:0; text-transform:none; }
.platform-results-controls { display:flex; align-items:end; flex-wrap:wrap; gap:10px; }
.platform-results-controls label { display:grid; gap:5px; font-size:12px; color:var(--dim); }
.platform-results table,.platform-trends table { width:100%; border-collapse:collapse; font-size:13px; }
.platform-results :is(th,td),.platform-trends :is(th,td) { padding:12px 10px; text-align:right; border-bottom:1px solid var(--line); }
.platform-results :is(th,td):first-child,.platform-trends :is(th,td):first-child { text-align:left; }
.platform-results td small { display:block; color:var(--dim); margin-top:4px; }
.platform-table-scroll { overflow-x:auto; }
.platform-trends { margin-top:24px; }
.platform-trends > summary,.platform-voting .arena-history > summary { cursor:pointer; padding:12px 0; font-weight:600; color:var(--accent-ink); }
.platform-trends > label { margin-right:12px; font-size:13px; }
.platform-trend-bar { display:flex; height:6px; min-width:70px; border-radius:4px; overflow:hidden; background:var(--line); margin-top:5px; }
.platform-trend-good { background:#56815b; }.platform-trend-bad { background:var(--accent); }
.platform-voting .arena-history-row { gap:12px; padding:14px 0; border-bottom:1px solid var(--line); }
.platform-voting .arena-history-row small { display:block; color:var(--dim); margin-top:5px; }
.platform-voting .arena-history-actions { flex-wrap:wrap; }
@media(max-width:760px) {
    .platform-stage .swipe-arena { grid-column:1/-1; grid-row:1; }
    .platform-toolbar { align-items:stretch; flex-wrap:wrap; }
    .platform-toolbar > label:first-child { flex-basis:100%; }
    .platform-toolbar > label:last-child,.platform-toolbar select { width:100%; }
    .platform-results-controls { width:100%; }
    .platform-results-controls > label:first-child { flex:1; min-width:140px; }
    .platform-results :is(th,td),.platform-trends :is(th,td) { padding:10px 6px; font-size:12px; }
    .platform-voting .arena-history-row { flex-wrap:wrap; }
    .platform-voting .arena-history-actions { width:100%; }
}
