/* DebateQueue (debate-queue.js): the statement queue under what is playing,
   and the queue of debates in the list column. The lists' headers are the
   .wv-list-h rules in styles.css. */

/* The open debate's statements */
.wv-deb { margin-top: 16px; }
.wv-sq { border: 1px solid var(--border); border-radius: 10px; background: var(--card); overflow: hidden; }
.wv-sq .vq:empty { display: none; }
.wv-sq .vq { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: var(--fs-meta); }
.wv-stmts { list-style: none; position: relative; background: #fff; max-height: 360px; overflow-y: auto; overscroll-behavior: contain; }
.wv-stmts li + li { border-top: 1px solid var(--rule); }

/* The queue: one row per debate, in groups where a page groups them */
.wv-rows { list-style: none; position: relative; max-height: 480px; overflow-y: auto; overscroll-behavior: contain; }
.dq { display: grid; gap: 3px; width: 100%; text-align: left; padding: 11px 16px; border: 0; border-bottom: 1px solid var(--rule); background: none; font: inherit; color: inherit; }
button.dq:hover { background: #f3eee6; }
.dq[aria-current="true"] { background: #f0e2bf; box-shadow: inset 3px 0 0 var(--wsj-gold); }
.dq .d { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: var(--fs-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dq .ti { font-family: var(--font-serif); font-size: var(--fs-ui); line-height: 1.35; }
.dq .desc { font-size: var(--fs-meta); color: var(--ink-soft); line-height: 1.4; }
.dq .len { font-size: var(--fs-label); color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dq .mark { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wsj-nav); border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.dq .mark:empty { display: none; }
.dq[aria-current="true"] .mark { background: var(--wsj-nav); border-color: var(--wsj-nav); color: #fff; }
.dq .mini { display: inline-flex; width: 70px; height: 6px; border-radius: 3px; overflow: hidden; background: #e6ddd0; flex: none; }
.dq .mini .y { background: var(--yea); } .dq .mini .g { background: #cfc4b4; } .dq .mini .n { background: var(--nay); }
.dq-grp, .dq-sub { list-style: none; margin: 0; padding: 0; }
.dq-g { padding: 10px 16px 9px; background: #fff; border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 1; }
.dq-g .gl { font-size: var(--fs-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wsj-gold); }
.dq-g .gd { margin: 3px 0 0; font-size: var(--fs-meta); line-height: 1.4; color: var(--ink-soft); }
