/* Padel Trix ads admin. Floodlight: black, white, one signal red; Fira Sans Extra Condensed italic headings; hairlines, square corners. */
@font-face { font-family: "Trix Display"; src: url(/fonts/FiraSansExtraCondensed-BlackItalic.woff2) format("woff2"); font-weight: 900; font-style: italic; }
@font-face { font-family: "Trix Text"; src: url(/fonts/FiraSans-Medium.woff2) format("woff2"); font-weight: 500; }
@font-face { font-family: "Trix Text"; src: url(/fonts/FiraSans-SemiBold.woff2) format("woff2"); font-weight: 600; }
:root { --bg: #0A0A0A; --raised: #141414; --text: #F7F7F5; --t2: rgba(247,247,245,.58); --t3: rgba(247,247,245,.36); --line: rgba(247,247,245,.24); --line2: rgba(247,247,245,.12); --red: #FF3D2E; --ok: #F7F7F5; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font: 500 14px/1.4 "Trix Text", -apple-system, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.disp, h1, h2 { font-family: "Trix Display", "Fira Sans Extra Condensed", sans-serif; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; }
h1 { font-size: 40px; margin: 4px 0 18px; }
h2 { font-size: 22px; margin: 28px 0 12px; }
h3 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--t2); margin: 0 0 10px; }
.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.app > div { min-width: 0; }
body { overflow-x: hidden; }
.side { border-right: 1px solid var(--line2); padding: 22px 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.brand { padding: 0 22px 20px; }
.brand .disp { font-size: 26px; }
.brand .sub { color: var(--red); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-top: 4px; }
.nav a { display: flex; align-items: center; justify-content: space-between; padding: 9px 22px; text-decoration: none; color: var(--t2); font-weight: 600; font-size: 13.5px; border-left: 2px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--text); border-left-color: var(--red); background: var(--raised); }
.nav .badge { background: var(--red); color: #fff; font-size: 11px; padding: 1px 6px; }
.side .foot { margin-top: auto; padding: 16px 22px 0; display: flex; flex-direction: column; gap: 10px; color: var(--t2); font-size: 12px; }
.main { padding: 26px 36px 90px; min-width: 0; }
.topbar { display: none; }
.kick { color: var(--red); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.sp { flex: 1; }
.grid { display: grid; gap: 12px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border: 1px solid var(--line2); padding: 16px; background: var(--bg); }
.tile .v { font-family: "Trix Display"; font-style: italic; font-weight: 900; font-size: 38px; line-height: 1; margin-top: 6px; }
.tile .l { color: var(--t2); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.tile.alert { border-color: var(--red); }
.btn { height: 38px; padding: 0 14px; border: 1px solid var(--line); background: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--text); }
.btn.pri { background: var(--text); color: #000; border-color: var(--text); }
.btn.red { background: var(--red); color: #fff; border-color: var(--red); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 11.5px; }
.btn[disabled] { opacity: .4; cursor: default; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line2); vertical-align: top; }
th { color: var(--t2); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
tr.click { cursor: pointer; }
tr.click:hover td { background: var(--raised); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.tw { overflow-x: auto; }
.mut { color: var(--t2); }
.small { font-size: 12px; }
.tag { display: inline-block; border: 1px solid var(--line); padding: 1px 7px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.tag.red, .tag.live { border-color: var(--red); color: var(--red); }
.tag.on { background: var(--text); color: #000; border-color: var(--text); }
.tag.dim { color: var(--t3); border-color: var(--line2); }
label.f { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--t2); font-weight: 600; letter-spacing: .04em; }
input[type=text], input[type=number], input[type=date], input[type=email], input[type=url], input[type=password], input[type=search], select, textarea {
  background: var(--raised); border: 1px solid var(--line2); padding: 8px 10px; color: var(--text); min-height: 38px; width: 100%; border-radius: 0; font-size: 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--text); }
textarea { min-height: 80px; resize: vertical; }
.chk { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text); cursor: pointer; }
.chk input { accent-color: var(--red); width: 16px; height: 16px; }
.form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; }
.form .w2 { grid-column: span 2; }
.form .w4 { grid-column: span 4; }
.msg { padding: 10px 12px; border-left: 2px solid var(--red); background: var(--raised); margin: 10px 0; }
.msg.ok { border-left-color: var(--text); }
.toast { position: fixed; right: 20px; bottom: 20px; background: var(--text); color: #000; padding: 12px 16px; font-weight: 600; z-index: 50; max-width: 420px; }
.toast.err { background: var(--red); color: #fff; }
.shot { position: relative; overflow: hidden; background: #111; }
.shot .bg { position: absolute; top: 0; left: 0; width: 100%; display: block; }
.shot .hl { position: absolute; border: 2px solid var(--red); display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 0 0 9999px rgba(0,0,0,.35); }
.shot .hl img { max-width: 100%; max-height: 100%; object-fit: contain; }
.shot .hl .tx { font-family: "Trix Display"; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 16px; background: rgba(0,0,0,.55); padding: 2px 6px; white-space: nowrap; }
.shot .tagp { position: absolute; background: var(--red); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 6px 3px; }
.crcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.inv td.c { text-align: center; font-size: 11.5px; min-width: 54px; cursor: pointer; }
.inv td.free { color: var(--t3); }
.inv td.partial { background: rgba(247,247,245,.12); }
.inv td.sold { background: var(--text); color: #000; font-weight: 600; }
.inv td.oversold { background: var(--red); color: #fff; font-weight: 600; }
.inv th.g { color: var(--text); padding-top: 18px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; border-bottom: 1px solid var(--line); }
.bars .b { flex: 1; display: flex; flex-direction: column-reverse; min-width: 4px; }
.bars .b span { display: block; }
.bars .s { background: var(--red); }
.bars .h { background: rgba(247,247,245,.35); }
.hbar { height: 8px; background: var(--line2); position: relative; min-width: 80px; }
.hbar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--text); }
.hbar i.r { background: var(--red); }
.login { max-width: 380px; margin: 12vh auto; padding: 0 16px; }
.login h1 { font-size: 46px; }
.lines .line { border: 1px solid var(--line2); padding: 12px; margin-bottom: 8px; }
.pl-pick { display: flex; flex-wrap: wrap; gap: 6px 14px; max-height: 340px; overflow-y: auto; border: 1px solid var(--line2); padding: 10px; }
pre { background: var(--raised); padding: 12px; overflow: auto; font-size: 12px; max-height: 420px; }
.hide { display: none !important; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 40; display: flex; align-items: flex-start; justify-content: center; padding: 5vh 16px; overflow-y: auto; }
.modal .box { background: var(--bg); border: 1px solid var(--line); padding: 22px; width: min(860px, 100%); }
.switch { display: inline-flex; border: 1px solid var(--line); }
.switch button { border: 0; background: none; padding: 6px 12px; cursor: pointer; font-weight: 600; font-size: 12px; }
.switch button.on { background: var(--text); color: #000; }
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; inset: 0 30% 0 0; z-index: 30; background: var(--bg); transform: translateX(-102%); transition: transform .2s; height: 100%; }
  .side.open { transform: none; box-shadow: 0 0 0 9999px rgba(0,0,0,.6); }
  .topbar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line2); position: sticky; top: 0; background: var(--bg); z-index: 20; }
  .topbar .disp { font-size: 22px; }
  .main { padding: 16px 16px 80px; }
  h1 { font-size: 32px; }
  .g4, .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g2 { grid-template-columns: 1fr; }
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form .w4 { grid-column: span 2; }
  .tile .v { font-size: 30px; }
  .hide-m { display: none; }
}
/* Printable sponsor report */
.print { background: #fff; color: #000; padding: 32px; max-width: 900px; margin: 0 auto; }
.print .mut { color: #555; }
.print .card { background: #fff; border-color: #ccc; color: #000; }
.print .tile .l { color: #555; }
.print th, .print td { border-bottom: 1px solid #ccc; }
.print th { color: #555; }
.print .kick { color: #FF3D2E; }
.print .bars { border-color: #999; }
.print .bars .s { background: #FF3D2E; }
@media print {
  body { background: #fff; }
  .side, .topbar, .noprint { display: none !important; }
  .app { display: block; }
  .main { padding: 0; }
  .print { padding: 0; }
}
.modal .box > .shot, .modal .box > div > .shot { max-width: 620px; }
