/* Additions for the scoring page (style.css is shared with lyrics-aligner). */
.drop {
  display: grid; gap: 4px; justify-items: center; text-align: center;
  border: 2px dashed var(--line); border-radius: 12px; padding: 24px 16px; margin-bottom: 16px;
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop.disabled { opacity: 0.5; cursor: not-allowed; }
.drop-title { font-weight: 600; font-size: 16px; }
.file-name { font-size: 14px; color: var(--accent); word-break: break-all; }
.field.narrow { flex: 0 1 160px; }
.ready { color: var(--text); font-weight: 600; }
#takes td, #takes th { white-space: nowrap; }
#takes td.name { white-space: normal; min-width: 140px; max-width: 260px; word-break: break-all; }
#takes td.num { font-variant-numeric: tabular-nums; text-align: right; }
#takes tr.selected { background: var(--accent-soft); }
#takes input[type="number"] { width: 80px; padding: 4px 6px; }
#takes .total { font-weight: 700; font-size: 16px; }
#takes .status { color: var(--muted); font-size: 13px; }
.rank { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 6px; background: var(--accent); color: var(--accent-text); font-weight: 700; font-size: 0.6em; vertical-align: middle; }
.scorebox { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; margin: 8px 0 12px; }
.big { font-size: 48px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.subs { display: grid; grid-template-columns: auto minmax(120px, 240px) auto; gap: 6px 10px; align-items: center; flex: 1 1 320px; }
.subs .meter { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.subs .meter > div { height: 100%; background: var(--accent); }
.subs .val { font-variant-numeric: tabular-nums; font-size: 14px; text-align: right; }
.roll-title { margin-top: 12px; }
.roll-scroll { overflow-x: auto; }
.roll-inner { position: relative; }
.roll-inner canvas { display: block; width: 100%; height: 320px; border-radius: 6px; background: #14131a; cursor: pointer; }
.playhead { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 2px #000; pointer-events: none; left: 0; }
audio#takePlayer { margin: 4px 0 8px; }
