/* ACG Raffle — admin panel */
:root {
  --purple: #4b2178; --purple-2: #6a35a3; --purple-soft: #f1ebf8; --gold: #e3b341; --gold-soft: #fbf3dc;
  --ink: #1f1a29; --ink-2: #4a4458; --muted: #776f86; --line: #e4e0ea; --bg: #f6f4f9; --card: #fff;
  --ok: #1f8a4c; --ok-soft: #e5f5ec; --warn: #a86a00; --warn-soft: #fff4dc; --bad: #c62a3a; --bad-soft: #fde8ea;
  --r: 12px; --shadow: 0 1px 2px rgba(30, 20, 50, .06), 0 4px 16px rgba(30, 20, 50, .05);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body.admin { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
a { color: var(--purple-2); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 26px; } h2 { font-size: 18px; } h3 { font-size: 15px; }
h3.sub { margin-top: 22px; }
p { margin: 0 0 .8em; }
code { font: 13px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--purple-soft); padding: 1px 5px; border-radius: 4px; color: var(--purple); }
kbd { font: 12px ui-monospace, monospace; padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; background: #fff; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* top bar */
.topbar { background: var(--purple); color: #fff; position: sticky; top: 0; z-index: 20; }
.topbar-in { max-width: 1320px; margin: 0 auto; padding: 0 16px; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; white-space: nowrap; }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--gold); position: relative; flex: none; }
.brand-mark::after { content: ''; position: absolute; left: 6px; top: 7px; border: 7px solid transparent; border-bottom: 12px solid var(--purple); border-top: 0; }
.brand-mark.big { width: 38px; height: 38px; border-radius: 10px; }
.brand-mark.big::after { left: 9px; top: 10px; border-width: 0 10px 18px; }
.topnav { display: flex; gap: 4px; }
.topnav a { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .85); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.topnav a:hover, .topnav a.on { background: rgba(255, 255, 255, .14); color: #fff; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 22px 16px 40px; }
.wrap.narrow { max-width: 560px; }
.wrap.narrow-2 { max-width: 820px; }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 10px 0 24px; }

/* cards, buttons, forms */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); margin-bottom: 18px; min-width: 0; }
.card.empty { text-align: center; padding: 40px 20px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.card-h h2 { margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 15px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: #cfc7dc; background: #faf8fc; }
.btn.primary { background: var(--purple); border-color: var(--purple); color: #fff; }
.btn.primary:hover { background: var(--purple-2); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #2a1d00; }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.danger-ghost { color: var(--bad); }
.btn.danger-ghost:hover { background: var(--bad-soft); border-color: #f1b8bf; }
.btn.sm { min-height: 34px; padding: 5px 11px; font-size: 13px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.btn-row.tight { margin: 0; }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
label small, .field-label small { font-weight: 400; color: var(--muted); }
input[type=text], input:not([type]), input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
  display: block; width: 100%; margin-top: 5px; padding: 9px 11px; border: 1px solid #d6d0df; border-radius: 9px; background: #fff;
  font: inherit; font-weight: 400; color: var(--ink); }
textarea { font: 14px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(106, 53, 163, .35); border-color: var(--purple-2); }
input[type=color] { display: block; width: 100%; height: 40px; margin-top: 5px; padding: 3px; border: 1px solid #d6d0df; border-radius: 9px; background: #fff; }
input[type=range] { width: 100%; margin-top: 8px; accent-color: var(--purple); }
label.range output { float: right; font-weight: 700; color: var(--purple); }
label.check { display: flex; align-items: flex-start; gap: 9px; font-weight: 500; }
label.check input { margin: 3px 0 0; width: 17px; height: 17px; accent-color: var(--purple); flex: none; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stack label { max-width: 440px; }
.field { margin-bottom: 12px; }
.field-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.alert { padding: 11px 14px; border-radius: 9px; font-size: 14px; }
.alert.ok { background: var(--ok-soft); color: #145c33; }
.alert.error { background: var(--bad-soft); color: #8a1723; }
.alert.warn { background: var(--warn-soft); color: #6d4500; border: 1px solid #f1d38a; }
.hint { color: var(--muted); font-size: 13px; margin-top: 10px; }
.hint.tight { margin: -6px 0 14px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 12px; font-weight: 700; }
.badge .ic { width: 13px; height: 13px; }
.badge.warn { background: var(--gold); color: #2a1d00; }
.badge.muted { background: #ddd; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.pill .ic { width: 14px; height: 14px; }
.pill.live { background: #e53935; color: #fff; }
.pill.preview { background: var(--gold); color: #2a1d00; }

/* switch */
.switch { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-weight: 600; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch-ui { width: 40px; height: 23px; border-radius: 99px; background: #cfc8da; position: relative; transition: background .2s; flex: none; }
.switch-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + .switch-ui { background: #e39a00; }
.switch input:checked + .switch-ui::after { transform: translateX(17px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--purple-2); outline-offset: 2px; }

/* login */
.login-wrap { min-height: calc(100vh - 60px); display: flex; align-items: center; justify-content: center; padding: 20px 16px; }
.card.login { width: 100%; max-width: 420px; padding: 26px; }
.login-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; margin-bottom: 18px; color: var(--purple); }

/* events */
.page-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.page-title h1 { margin: 0 0 2px; }
.page-title p { margin: 0; }
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.ev-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ev-thumb { display: block; aspect-ratio: 16 / 9; background: radial-gradient(ellipse at 50% 40%, #2a1b4a, #0b0b14) center / cover no-repeat; position: relative; }
.ev-badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; }
.ev-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.ev-body h3 { font-size: 17px; margin: 0 0 2px; }
.ev-body h3 a { color: var(--ink); text-decoration: none; }
.ev-stats { display: flex; gap: 14px; font-size: 13px; color: var(--ink-2); margin: 4px 0 12px; flex-wrap: wrap; }
.ev-actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
details.archived { margin-top: 26px; }
details.archived summary { cursor: pointer; font-weight: 700; color: var(--ink-2); margin-bottom: 14px; }
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pick { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.pick-thumb { display: block; aspect-ratio: 16 / 9; background: #1a1328 center / cover; }
.pick-name { display: block; padding: 12px 14px 0; font-weight: 700; }
.pick-link { display: block; padding: 0 14px 12px; color: var(--muted); font-size: 13px; }

/* modal */
dialog.modal { border: 0; padding: 0; border-radius: 14px; width: min(520px, calc(100vw - 24px)); box-shadow: 0 20px 60px rgba(20, 10, 40, .35); }
dialog.modal::backdrop { background: rgba(20, 12, 35, .55); }
.modal-card { padding: 22px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.slug-input { display: flex; align-items: stretch; margin-top: 5px; border: 1px solid #d6d0df; border-radius: 9px; overflow: hidden; background: #fff; }
.slug-input .slug-pre { padding: 9px 2px 9px 11px; background: #f4f2f7; color: var(--muted); font-weight: 400; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; display: flex; align-items: center; }
.slug-input input { margin: 0; border: 0; border-radius: 0; min-width: 0; }

/* event header + tabs */
.ev-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.ev-head h1 { margin: 2px 0 2px; }
.ev-head p { margin: 0; }
.back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; text-decoration: none; color: var(--muted); }
.back .ic { width: 15px; height: 15px; }
.ev-head-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs a { display: flex; align-items: center; gap: 7px; padding: 10px 14px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.on { color: var(--purple); border-bottom-color: var(--gold); }
.tabs em { font-style: normal; font-size: 12px; background: var(--purple-soft); color: var(--purple); padding: 0 7px; border-radius: 99px; }
.tabs em:empty { display: none; }

/* backgrounds tab */
.bg-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 18px; align-items: start; }
.preview { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #000; }
.preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.preview-info { display: flex; flex-direction: column; min-width: 0; }
.preview-info b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.preview-tools label.check { margin: 0; }
.size-guide-top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.size-guide h3 { margin: 0; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.size-big { font-size: 30px; font-weight: 800; color: var(--purple); margin: 2px 0 0; letter-spacing: -.01em; }
.tips { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.tips li { margin-bottom: 5px; }
.dropzone { border: 2px dashed #cfc5de; border-radius: 10px; padding: 18px; text-align: center; color: var(--muted); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; transition: background .15s, border-color .15s; }
.dropzone .ic { width: 28px; height: 28px; color: var(--purple-2); }
.dropzone:hover, .dropzone.over { background: var(--purple-soft); border-color: var(--purple-2); }
.uploads:not(:empty) { margin-top: 10px; }
.upl { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.upl-bar { grid-column: 1 / -1; height: 5px; background: #eee; border-radius: 9px; overflow: hidden; }
.upl-bar i { display: block; height: 100%; width: 0; background: var(--purple-2); transition: width .2s; }
.upl.done .upl-bar i { background: var(--ok); }
.upl.err { color: var(--bad); }
.upl.err .upl-bar i { background: var(--bad); width: 100%; }
.bg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
.bg-grid:empty::before { content: 'No backgrounds yet. Upload your prize graphics here.'; color: var(--muted); font-size: 14px; grid-column: 1 / -1; }
.bg-grid.builtin:empty::before { content: none; }
.bg-card { border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.bg-card.is-live { border-color: #e53935; box-shadow: 0 0 0 3px rgba(229, 57, 53, .15); }
.bg-card.is-preview { border-color: var(--gold); }
.bg-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer;
  background: radial-gradient(ellipse at 50% 40%, #2a1b4a 0%, #0b0b14 70%) center / cover no-repeat; }
.bg-thumb .pill { position: absolute; left: 6px; top: 6px; font-size: 10px; padding: 2px 7px; }
.bg-thumb .num { position: absolute; right: 6px; top: 6px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px; }
.size-chip { position: absolute; left: 6px; bottom: 6px; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 5px; background: rgba(20, 120, 60, .9); color: #fff; }
.size-chip.warn { background: rgba(200, 120, 0, .95); }
.bg-meta { padding: 8px 8px 0; }
.bg-meta input { margin: 0 0 6px; padding: 5px 8px; font-size: 13px; border-radius: 7px; }
.bg-meta input.bg-label { font-weight: 600; }
.bg-meta .fixed-label { font-size: 13px; font-weight: 600; padding: 2px 2px 6px; }
.bg-actions { display: flex; gap: 4px; padding: 0 8px 8px; margin-top: auto; }
.bg-actions .btn { min-height: 32px; padding: 4px 8px; font-size: 12.5px; }
.bg-actions .go { flex: 1; }
.bg-actions .icon-only { padding: 4px 6px; }
.bg-actions .icon-only .ic { width: 16px; height: 16px; }
.bg-card.is-live .go { background: #e53935; border-color: #e53935; color: #fff; }

/* participants */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 26px; color: var(--purple); line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.file-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; flex-wrap: wrap; }
.colpick { background: var(--purple-soft); border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.colpick-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.colpick-row label { margin-bottom: 6px; }
.parse-preview { font-size: 13px; margin: 6px 0 12px; }
.parse-preview table { border-collapse: collapse; width: 100%; margin-top: 6px; }
.parse-preview td, .parse-preview th { border-bottom: 1px solid var(--line); padding: 4px 6px; text-align: left; }
.search { position: relative; display: block; margin: 0 0 10px; }
.search .ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); margin-top: 2px; }
.search input { padding-left: 34px; }
.people { max-height: 560px; overflow-y: auto; border-top: 1px solid var(--line); }
.person { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.person .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person .dt { color: var(--muted); font-size: 12.5px; margin-left: 6px; }
.person .won { font-size: 11px; font-weight: 700; background: var(--gold-soft); color: #7a5600; border-radius: 99px; padding: 1px 8px; }
.person button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 6px; }
.person button:hover { color: var(--bad); background: var(--bad-soft); }
.people-more { padding: 10px 4px; color: var(--muted); font-size: 13px; }

/* winners */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: #faf9fc; }
.table td.n { font-weight: 800; color: var(--purple); width: 44px; }
.table td.name { font-weight: 700; }
.table select { margin: 0; padding: 5px 8px; width: auto; font-size: 13px; }
.table tr.noshow td.name { text-decoration: line-through; color: var(--muted); }
.table tr.claimed td.name::after { content: ' ✓'; color: var(--ok); }
.table tr.fresh { animation: fresh 2.5s ease; }
@keyframes fresh { from { background: var(--gold-soft); } to { background: transparent; } }
.table .empty-row td { text-align: center; color: var(--muted); padding: 30px; }
.table .del { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 6px; }
.table .del:hover { color: var(--bad); background: var(--bad-soft); }
.checks th { font-weight: 600; }
.state { display: inline-block; min-width: 44px; text-align: center; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.state.ok { background: var(--ok-soft); color: var(--ok); }
.state.warn { background: var(--warn-soft); color: var(--warn); }
.state.bad { background: var(--bad-soft); color: var(--bad); }

/* settings */
.settings-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr); gap: 18px; align-items: start; }
.settings .card h2 { margin-bottom: 14px; }
.settings-preview { align-self: stretch; }
.sticky { position: sticky; top: 72px; }
.savebar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 10px; justify-content: flex-end; flex-wrap: wrap;
  background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; box-shadow: 0 -4px 18px rgba(30, 20, 50, .08); margin-bottom: 18px; }
.savebar #saveState { margin-right: auto; font-size: 14px; }
.savebar.dirty #saveState { color: var(--warn); font-weight: 700; }
.posgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; width: 100%; max-width: 260px; aspect-ratio: 16 / 9; padding: 6px; background: #1d1430; border-radius: 9px; }
.posgrid label { margin: 0; position: relative; cursor: pointer; }
.posgrid input { position: absolute; opacity: 0; }
.posgrid span { display: block; width: 100%; height: 100%; border-radius: 5px; background: rgba(255, 255, 255, .12); transition: background .15s; }
.posgrid label:hover span { background: rgba(255, 255, 255, .25); }
.posgrid input:checked + span { background: var(--gold); }
.posgrid input:focus-visible + span { outline: 2px solid #fff; }
.pin-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pin-row input { width: 160px; margin: 0; }

/* toasts */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 100; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
.toast-item { background: #241b33; color: #fff; padding: 11px 14px; border-radius: 10px; font-size: 14px; box-shadow: 0 8px 26px rgba(0, 0, 0, .25); animation: tin .25s ease; }
.toast-item.error { background: var(--bad); }
.toast-item.ok { background: #1c6e40; }
@keyframes tin { from { transform: translateY(10px); opacity: 0; } }

/* phones */
@media (max-width: 1020px) {
  .bg-layout, .settings-layout, .grid-2 { grid-template-columns: 1fr; }
  .settings-preview { order: -1; }
  .bg-layout { display: flex; flex-direction: column; }
  .bg-main { display: contents; }
  .bg-main > .card:first-child { order: 1; }
  .bg-side { order: 2; }
  .size-guide { order: 3; }
  .sticky { position: static; }
}
@media (max-width: 640px) {
  h1 { font-size: 22px; }
  .topnav span { display: none; }
  .row-2, .colpick-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 10px; } .stat b { font-size: 20px; }
  .bg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .bg-actions { flex-wrap: wrap; }
  .bg-actions .go { flex: 1 1 100%; min-height: 40px; font-size: 13.5px; }
  .bg-actions .icon-only { flex: 1; }
  .tabs a span { font-size: 13px; }
  .tabs a { padding: 10px; }
  .ev-head-actions { width: 100%; }
  .ev-head-actions .btn { flex: 1; }
  .table th:nth-child(3), .table td:nth-child(3), .table th:nth-child(5), .table td:nth-child(5) { display: none; }
}

/* printing the winners list */
@media print {
  .topbar, .tabs, .ev-head-actions, .back, .btn, .btn-row, .foot, .toasts, .alert, #tab-backgrounds, #tab-participants, #tab-settings, .card-h .btn-row, .table .del { display: none !important; }
  body.admin { background: #fff; }
  .card { border: 0; box-shadow: none; padding: 0; }
  #tab-winners { display: block !important; }
  .table select { border: 0; appearance: none; -webkit-appearance: none; padding: 0; }
}
.bg-card.is-live .go:disabled { opacity: 1; }
