/* Labdhi Premier League — auction console
   Labdhi dark token set: teal #20A1BA brand, LPL cyan #5FD9E3 accent.
   No build step and no framework: this has to open from a folder on the day. */

:root{
  --bg:#080E11; --bg-2:#0D161A; --surface:#121F24; --surface-2:#18292F;
  --line:#21353C; --line-soft:#1A2B31;
  --teal:#20A1BA; --cyan:#5FD9E3; --cyan-dim:#2E8E9C;
  --text:#E9F2F4; --muted:#93AAB2; --faint:#64808A;
  --gold:#E2B259; --good:#46C08A; --bad:#E2685F;
  --r:14px; --r-sm:9px;
  --sans:"Instrument Sans","DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --mono:"SF Mono",ui-monospace,Menlo,monospace;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:
    radial-gradient(1100px 600px at 50% -15%, #123038 0%, transparent 60%),
    var(--bg);
  color:var(--text); font-family:var(--sans); font-size:15px; line-height:1.45;
  -webkit-font-smoothing:antialiased; min-height:100vh;
}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3{margin:0;font-weight:650;letter-spacing:-.01em}
.mono{font-family:var(--mono);font-variant-numeric:tabular-nums}

/* ---------------------------------------------------------------- chrome */
header.top{
  display:flex;align-items:center;gap:16px;
  padding:12px 20px;border-bottom:1px solid var(--line);
  background:rgba(8,14,17,.82);backdrop-filter:blur(10px);
  position:sticky;top:0;z-index:40;
}
header.top img.crest{width:54px;height:54px;object-fit:contain}
.brandline{display:flex;flex-direction:column;line-height:1.15}
.brandline b{font-size:15px;letter-spacing:.14em;text-transform:uppercase}
.brandline span{font-size:11px;color:var(--muted);letter-spacing:.18em;text-transform:uppercase}
nav.tabs{display:flex;gap:4px;margin-left:auto;flex-wrap:wrap}
nav.tabs button{
  background:transparent;border:1px solid transparent;color:var(--muted);
  padding:7px 14px;border-radius:999px;font-size:13px;font-weight:600;
}
nav.tabs button:hover{color:var(--text);background:var(--surface)}
nav.tabs button[aria-selected="true"]{background:var(--teal);border-color:var(--teal);color:#04161A}
.wrap{max-width:1360px;margin:0 auto;padding:22px 20px 70px}
.view[hidden]{display:none}

/* ---------------------------------------------------------------- bits */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r)}
.muted{color:var(--muted)} .faint{color:var(--faint)}
.pill{
  display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;
  font-size:11px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;
  background:var(--surface-2);color:var(--muted);border:1px solid var(--line);
}
.pill.sold{background:rgba(70,192,138,.14);color:var(--good);border-color:rgba(70,192,138,.35)}
.pill.unsold{background:rgba(226,104,95,.13);color:var(--bad);border-color:rgba(226,104,95,.32)}
.pill.cap{background:rgba(226,178,89,.14);color:var(--gold);border-color:rgba(226,178,89,.35)}
.pill.ap{background:rgba(95,217,227,.11);color:var(--cyan);border-color:rgba(95,217,227,.3)}
.btn{
  background:var(--surface-2);border:1px solid var(--line);color:var(--text);
  padding:9px 15px;border-radius:var(--r-sm);font-size:13px;font-weight:600;
}
.btn:hover{border-color:var(--cyan-dim)}
.btn.primary{background:var(--teal);border-color:var(--teal);color:#04161A}
.btn.primary:hover{background:#27B2CC}
.btn.ghost{background:transparent}
.btn.danger{background:transparent;border-color:rgba(226,104,95,.4);color:var(--bad)}
.btn:disabled{opacity:.35;cursor:not-allowed}
.btn.lg{padding:13px 22px;font-size:15px}
input[type=text],input[type=number],select{
  background:var(--bg-2);border:1px solid var(--line);border-radius:var(--r-sm);
  padding:9px 12px;width:100%;
}
input:focus,select:focus{outline:none;border-color:var(--cyan-dim)}

/* ---------------------------------------------------------------- auction */
.auction{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:18px}
.stage{padding:22px;display:flex;flex-direction:column;gap:18px;min-height:420px}
.stage .who{display:flex;gap:18px;align-items:flex-start}
.avatar{
  width:132px;height:132px;border-radius:var(--r);flex:0 0 auto;object-fit:cover;
  background:var(--surface-2);border:1px solid var(--line);
  display:grid;place-items:center;font-size:40px;font-weight:700;color:var(--cyan-dim);
}
.who h2{font-size:30px;line-height:1.1}
.meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}
.statline{display:flex;gap:22px;margin-top:14px;flex-wrap:wrap}
.statline div{display:flex;flex-direction:column}
.statline b{font-size:21px;font-family:var(--mono)}
.statline span{font-size:10.5px;color:var(--faint);letter-spacing:.1em;text-transform:uppercase}

.bidbox{
  margin-top:auto;background:var(--bg-2);border:1px solid var(--line);
  border-radius:var(--r);padding:18px;
}
.bidrow{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.bidamt{font-family:var(--mono);font-size:44px;font-weight:700;color:var(--cyan);letter-spacing:-.02em}
.bidrow .who-leads{font-size:13px}
.bidctl{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}

.teamgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(188px,1fr));gap:9px}
.teambtn{
  text-align:left;padding:11px 12px;border-radius:var(--r-sm);
  background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column;gap:3px;
}
.teambtn:hover:not(:disabled){border-color:var(--cyan-dim)}
.teambtn strong{font-size:13px}
.teambtn .bud{font-family:var(--mono);font-size:11.5px;color:var(--muted)}
.teambtn.lead{border-color:var(--cyan);background:rgba(95,217,227,.07)}
.teambtn.full{opacity:.4}

/* ---------------------------------------------------------------- tables */
table{width:100%;border-collapse:collapse}
th{
  text-align:left;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--faint);font-weight:650;padding:9px 10px;border-bottom:1px solid var(--line);
  position:sticky;top:0;background:var(--surface);
}
td{padding:9px 10px;border-bottom:1px solid var(--line-soft);font-size:13.5px}
tr:last-child td{border-bottom:none}
tbody tr:hover{background:var(--surface-2)}
.num{font-family:var(--mono);text-align:right;font-variant-numeric:tabular-nums}

/* ---------------------------------------------------------------- teams */
.squads{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:16px}
.squad{padding:16px}
.squad header{display:flex;align-items:baseline;gap:9px;margin-bottom:4px}
.squad h3{font-size:16px}
.bar{height:5px;border-radius:3px;background:var(--surface-2);overflow:hidden;margin:10px 0 12px}
.bar i{display:block;height:100%;background:linear-gradient(90deg,var(--teal),var(--cyan))}
.squad ol{margin:0;padding-left:0;list-style:none;display:flex;flex-direction:column;gap:5px}
.squad li{display:flex;gap:8px;align-items:baseline;font-size:13px}
.squad li .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.squad li .pr{font-family:var(--mono);color:var(--muted);font-size:12px}
.squad li.slot{color:var(--faint)}

/* ---------------------------------------------------------------- screen */
body.screen{overflow:hidden}
/* display:grid would beat the UA's [hidden] rule, so hide it explicitly */
.bigscreen[hidden]{display:none}
.bigscreen{position:fixed;inset:0;display:grid;place-items:center;background:var(--bg);z-index:100;padding:4vh 4vw}
.bigscreen .inner.idle img.crest{width:clamp(240px,36vh,620px)}
.bigscreen img.crest{width:clamp(190px,27vh,460px);height:auto;margin-bottom:3.2vh}
.bigscreen .bn{font-size:clamp(44px,8vw,128px);font-weight:700;letter-spacing:-.02em;line-height:1.02}
.bigscreen .bm{display:flex;gap:12px;justify-content:center;margin:16px 0 26px;flex-wrap:wrap}
.bigscreen .bb{font-family:var(--mono);font-size:clamp(52px,12vw,180px);font-weight:700;color:var(--cyan);line-height:1}
.bigscreen .bt{font-size:clamp(19px,2.9vw,38px);color:var(--muted);margin-top:12px;letter-spacing:.04em}
.bigscreen .res{font-size:clamp(32px,5.6vw,76px);font-weight:700;margin-top:20px;letter-spacing:.03em}
.bigscreen .res.sold{color:var(--good)} .bigscreen .res.unsold{color:var(--bad)}

.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
.toolbar input[type=text]{max-width:290px}
.grow{flex:1}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-bottom:16px}
.kpi{padding:13px 15px}
.kpi b{display:block;font-family:var(--mono);font-size:25px}
.kpi span{font-size:10.5px;color:var(--faint);letter-spacing:.1em;text-transform:uppercase}
.empty{padding:50px 20px;text-align:center;color:var(--faint)}
.note{font-size:12.5px;color:var(--faint);margin-top:10px}
@media (max-width:900px){.auction{grid-template-columns:1fr}}
@media print{body{background:#fff;color:#000}header.top,nav.tabs,.toolbar{display:none}}

/* ------------------------------------------------- live auction bits -- */
.statuspill{
  margin-left:14px;padding:4px 11px;border-radius:999px;font-size:11px;font-weight:650;
  letter-spacing:.07em;text-transform:uppercase;border:1px solid var(--line);
}
.statuspill.on{background:rgba(70,192,138,.14);color:var(--good);border-color:rgba(70,192,138,.38)}
.statuspill.off{background:rgba(226,178,89,.12);color:var(--gold);border-color:rgba(226,178,89,.35)}

/* Viewers get the board, not the buttons. */
body.viewer .auctioneer{display:none !important}
/* 30 Oct: the room watches the auction, it does not see the teams' hands.
   Purse left, max bid and RTM remaining are what a captain plans against, so
   they are auctioneer-only. Spend and the roster prices stay visible — every
   sale is called out loud anyway, so hiding those would tell nobody anything.
   Setup and Help are operator screens and go with them. */
body.viewer #tabs button[data-view="setup"],
body.viewer #tabs button[data-view="help"]{display:none}
body.viewer .squad-numbers{display:none}
body.viewer td.ctl{display:none}
body.viewer th:last-child{display:none}

.lastres{font-size:34px;font-weight:700;letter-spacing:.04em}
.lastres.sold{color:var(--good)} .lastres.unsold{color:var(--bad)}

.toast{
  position:fixed;left:50%;bottom:26px;transform:translateX(-50%);z-index:200;
  background:var(--surface-2);border:1px solid var(--line);color:var(--text);
  padding:11px 18px;border-radius:999px;font-size:13.5px;max-width:86vw;
  box-shadow:0 10px 34px rgba(0,0,0,.5);
}
.toast[hidden]{display:none}

/* ------------------------------------------------------- sign-in gate -- */
.gate{position:fixed;inset:0;z-index:300;background:rgba(6,11,13,.94);
      display:grid;place-items:center;padding:5vh 5vw;overflow:auto}
.gate[hidden]{display:none}
.gatecard{background:var(--surface);border:1px solid var(--line);border-radius:18px;
          padding:34px 30px;max-width:460px;width:100%;text-align:center}
.gatecrest{width:96px;margin-bottom:14px}
.gatecard h1{font-size:19px;letter-spacing:.02em}
.gatesub{color:var(--muted);font-size:12px;letter-spacing:.17em;text-transform:uppercase;margin:4px 0 24px}
.gateopts{display:flex;flex-direction:column;gap:10px}
.gateopts[hidden]{display:none}
.gateopt{display:flex;flex-direction:column;gap:3px;text-align:left;padding:15px 17px;
         background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-sm)}
.gateopt:hover{border-color:var(--cyan-dim)}
.gateopt b{font-size:14.5px}
.gateopt span{font-size:12.5px;color:var(--muted)}
.gateform{display:flex;flex-direction:column;gap:12px;text-align:left}
.gateform[hidden]{display:none}
.gateform label{font-size:12.5px;color:var(--muted);display:flex;flex-direction:column;gap:5px}
.gatefoot{margin:16px 0 0;font-size:12.5px;color:var(--bad)}
.gatefoot[hidden]{display:none}

/* --------------------------------------------------------- team bidder -- */
.teambar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:16px;
         background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 18px}
.teambar[hidden]{display:none}
.tb-id{display:flex;flex-direction:column;min-width:0}
.tb-id strong{font-size:16px}
.tb-id span{font-size:12px;color:var(--muted);font-family:var(--mono)}
.tb-bid{margin-left:auto;background:var(--teal);border:1px solid var(--teal);color:#04161A;
        font-size:19px;font-weight:700;letter-spacing:.02em;padding:17px 34px;border-radius:12px;
        min-width:230px;font-family:var(--mono)}
.tb-bid:hover:not(:disabled){background:#27B2CC}
.tb-bid:disabled{background:var(--surface-2);border-color:var(--line);color:var(--faint);
                 font-family:var(--sans);font-size:14px;font-weight:600}
.tb-bid.leading:disabled{background:rgba(70,192,138,.14);border-color:rgba(70,192,138,.4);color:var(--good)}

/* A team sees the board and its own bid button, nothing else. */
body.isteam .auctioneer{display:none !important}
body.isteam td.ctl, body.isteam th:last-child{display:none}

.pinchip{font-family:var(--mono);font-size:13px;color:var(--cyan);background:var(--bg-2);
         border:1px solid var(--line);border-radius:7px;padding:7px 11px;letter-spacing:.09em}
ol.howto{margin:0;padding-left:20px;font-size:13.5px;line-height:1.65}
ol.howto li{margin-bottom:7px}


/* team badge on the bid buttons. Square and clipped so a wide logo cannot
   stretch the button, and hidden outright if the file is missing. */
.teambtn .tlogo{width:38px;height:38px;border-radius:8px;object-fit:cover;
  display:block;margin:0 auto 6px;border:1px solid rgba(95,217,227,.35)}
.teambtn.lead .tlogo{border-color:var(--cyan);box-shadow:0 0 0 2px rgba(95,217,227,.30)}
.teambtn.full .tlogo{opacity:.45;filter:grayscale(.6)}


/* a Right-to-Match settles money between two teams, so the board says so */
.res.rtmnote{font-size:.46em;color:#9FD9E6;margin-top:.25em;letter-spacing:.04em}
.lastres.rtm{color:#F0CE86}


/* Unmistakable on a rehearsal board; absent on the real one. */
#practiceBadge{display:inline-block;margin-left:10px;padding:3px 10px 2px;
  border-radius:4px;background:#C2410C;color:#fff;font-size:11px;font-weight:700;
  letter-spacing:.18em;vertical-align:middle}


/* Season 6 broadcast presentation. All photography remains original. */
:root{--gold:#e4bf75;--r:18px;--muted:#aac0c7;--faint:#829da6}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
button:disabled{cursor:not-allowed}
[hidden]{display:none!important}
.eyebrow{font-size:10px;font-weight:700;letter-spacing:.22em;color:var(--gold);line-height:1.5}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 24px}
.section-heading h1{font-size:32px;letter-spacing:-.035em;margin-top:4px}
.event-chip{border:1px solid var(--line);padding:8px 12px;border-radius:6px;font-size:10px;letter-spacing:.12em;color:var(--muted)}
header.top{gap:12px}.brandline b{letter-spacing:.07em}.statuspill{white-space:nowrap}
.division-switch{display:flex;gap:3px;background:#050c10;border:1px solid var(--line);padding:4px;border-radius:9px}
.division-switch a{color:var(--muted);text-decoration:none;font-size:12px;padding:6px 12px;border-radius:5px;white-space:nowrap}
.division-switch a.active{background:#29434a;color:#fff}
.kpis{gap:0;background:#101b20;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.kpi{background:transparent;border:0;border-right:1px solid var(--line);border-radius:0;padding:15px 20px}.kpi:last-child{border:0}.kpi b{font-size:23px}.kpi span{font-size:9px;letter-spacing:.15em}
.auction{grid-template-columns:minmax(0,1.55fr) minmax(330px,1fr);align-items:start}
.stage{background:radial-gradient(ellipse at 0 0,#17343a 0,transparent 65%),#101c21;padding:26px;min-height:580px;position:sticky;top:108px}
.stage .who{gap:24px;align-items:center}.stage .who h2{font-size:clamp(26px,2.8vw,40px);font-weight:750;line-height:1.1;overflow-wrap:anywhere}
.portrait{position:relative;display:inline-grid;place-items:center;flex-shrink:0;width:48px;height:48px;border-radius:10px;overflow:hidden;background:linear-gradient(135deg,#28434a,#0a222c);border:1px solid #416069;vertical-align:middle}
.portrait img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:center 28%}
.portrait-initials{font-size:1.1em;font-weight:700;color:#abd5dd;letter-spacing:.04em}
.stage-portrait{position:relative;flex:0 0 39%;min-width:0}.portrait.stage-photo{width:100%;height:auto;aspect-ratio:4/5;border-radius:12px;max-height:390px;font-size:55px}
.portrait-tag{position:absolute;bottom:12px;left:12px;background:#06151bd9;border:1px solid #ffffff44;color:#fff;letter-spacing:.14em;font-size:10px;padding:5px 10px;border-radius:5px}
.player-dossier{min-width:0;flex:1}.player-dossier>.eyebrow{margin-bottom:10px}.player-style{font-size:12px;line-height:1.7;color:var(--muted);margin:12px 0}.statline{gap:14px;display:grid;grid-template-columns:1fr 1fr;margin-top:16px}.statline b{font-size:27px;letter-spacing:-.07em}.statline span{font-size:9px;letter-spacing:.06em}.previous-team{font-size:14px;color:var(--muted);border-top:1px solid var(--line);padding-top:10px}
/* The auctioneer's stage, same instruction as the projector: last year's price
   and the category have to be readable at a glance, not footnote type. */
.previous-team b{font-weight:700;color:var(--text)}
.previous-team .lastprice{font-family:var(--mono);font-size:21px;font-weight:700;
  color:var(--gold);letter-spacing:-.02em;vertical-align:-.08em;margin-left:.25em}
.stage .meta .pill[class*="tier-"]{font-size:14px;font-weight:800;letter-spacing:.12em;padding:5px 14px;border-radius:5px}
.tier-platinum{background:#d8e5ee;color:#172a33}.tier-gold{background:#dfb963;color:#281c0b}.tier-silver{background:#b4c3cb;color:#18262c}.tier-bronze{background:#714c33;color:#ffdfbe}
.bidbox{border-radius:12px;background:#071419;padding:20px;margin-top:22px}.bidrow{justify-content:space-between}.bidamt{font-size:clamp(30px,4vw,52px)}.bidctl .btn.lg{padding:11px 16px}.bidctl{gap:6px}.bidctl input{flex:1;min-width:90px}
.team-identity{display:flex;gap:10px;align-items:center;width:100%;min-width:0}.team-identity>div{min-width:0}.team-identity strong{display:block;font-size:12px;line-height:1.3}.team-identity span:not(.portrait):not(.portrait-initials){display:block;font-size:10px;line-height:1.4;color:var(--muted);margin-top:3px}.team-identity .identity-crest{width:30px;height:30px;border-radius:6px;margin-left:auto;object-fit:contain;background:white}.captain-mini{width:42px;height:48px;border-radius:7px}.bid-team .identity-crest{display:none}.bid-team strong{font-size:13px}.bid-team{max-width:240px}
.viewer-only{display:none}body.viewer .viewer-only{display:block}.league-panel{padding:18px;background:#101b20}.panel-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;padding-bottom:12px}.panel-heading h3{font-size:15px}.panel-heading>span{font-size:8px;letter-spacing:.14em;color:var(--faint)}.league-row{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line-soft);padding:10px 0}.league-row:last-child{padding-bottom:0}.league-budget{margin-left:auto;text-align:right;white-space:nowrap}.league-budget b{font-size:13px;font-family:var(--mono);color:var(--cyan)}.league-budget>span{display:block;font-size:10px;color:var(--faint);margin-top:3px}.league-row .identity-crest{display:none}
.stage-welcome{padding:20px 0 32px}.stage-welcome h2{font-size:clamp(32px,4vw,56px);line-height:1.05;letter-spacing:-.04em;margin:16px 0}.stage-welcome em,.bidle-title em{color:var(--gold);font-style:normal}.stage-welcome>p{color:var(--muted);font-size:13px}.captain-stack{display:flex;margin:28px 0 22px;padding-left:5px}.captain-stack .portrait{width:60px;height:76px;margin-left:-5px;border:3px solid #14252b;border-radius:10px}.welcome-cue{font-size:11px;color:var(--muted)}
.result-card{display:flex;align-items:center;gap:25px;min-height:330px}.result-card>.portrait{width:38%;flex-shrink:0}.result-card h2{font-size:30px;line-height:1.1;margin:8px 0 22px}.result-price{color:var(--cyan);font-family:var(--mono);font-size:32px;margin-top:18px}.result-card .team-identity .identity-crest{display:none}
.teamgrid{grid-template-columns:1fr 1fr;gap:8px}.teambtn{padding:10px;gap:7px}.teambtn .identity-crest{display:none}.teambtn .bud{font-size:10px}.teambtn .team-identity{gap:7px}.teambtn .team-identity strong{font-size:11px}.teambtn .captain-mini{width:36px;height:44px}.teambtn:disabled{opacity:.5}.queue-player{display:flex;gap:10px;align-items:center;width:100%;padding:9px 0;border:0;border-bottom:1px solid var(--line);text-align:left;background:transparent}.queue-player strong{font-size:12px}.queue-player small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.queue-arrow{margin-left:auto;color:var(--cyan)}.queue-photo{width:38px;height:44px}.queue-player:hover{background:var(--surface-2)}
.squads{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:20px}.squad{padding:0;overflow:hidden}.squad-banner{display:flex;gap:14px;align-items:center;position:relative;background:linear-gradient(110deg,#203e45,#112127);padding:20px}.squad-captain{width:86px;height:108px;border-radius:9px;font-size:25px}.squad-banner>div{flex:1;min-width:0}.squad-banner h3{font-size:22px;line-height:1.12;margin:8px 0}.squad-banner p{font-size:11px;color:var(--muted);margin:0}.squad-banner .pill{font-size:8px;padding:2px 5px;display:table;margin-top:6px}.squad-logo{width:42px;height:42px;position:absolute;right:14px;top:15px;border-radius:8px;background:#fff}.squad-banner .eyebrow{font-size:8px}.squad-body{padding:18px}.squad-numbers{display:flex;justify-content:space-between;gap:8px}.squad-numbers span{display:block;font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.12em}.squad-numbers b{display:block;font-family:var(--mono);font-size:17px;margin-top:4px}.squad-numbers>div:first-child b{color:var(--cyan)}.squad ol{margin-top:15px;gap:0}.squad li{align-items:center;min-height:44px;border-top:1px solid var(--line-soft);padding:6px 0;font-size:12px}.roster-photo{width:32px;height:36px;border-radius:5px}.slot-number{width:32px;text-align:center;color:#506d77;font-size:10px}
.player-cell{display:flex;align-items:center;gap:12px;min-width:195px}.player-cell small{display:block;font-size:9px;color:var(--faint);margin-top:4px;letter-spacing:.06em}.table-photo{width:40px;height:48px;border-radius:6px}.player-cell b{font-size:12px}.media-readiness{margin-top:24px;font-size:12px}.media-readiness summary{display:flex;justify-content:space-between;gap:15px;cursor:pointer;padding:16px;color:var(--muted)}.media-readiness summary>span:first-child{color:var(--text);font-weight:600}.readiness-body{border-top:1px solid var(--line);padding:18px;line-height:1.7}.readiness-body h3{font-size:13px}.readiness-body p{color:var(--muted)}.connection-notice{background:#62401a;color:#fff0d4;border:1px solid #ad7a3f;padding:10px 16px;margin-bottom:15px;border-radius:8px;font-size:12px}
/* Projector presentation: reference-inspired profile board using original photos. */
.bigscreen{--electric:#39ece6;display:block;padding:0;overflow:auto;background:#020d12}
.screen-toolbar{width:100%;height:42px;padding:5px 3vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #244047;background:#07151a;font-size:10px;letter-spacing:.1em}
.screen-toolbar>span{color:#78e9ad}.screen-toolbar>span.offline{color:#ffd18c}
.screen-toolbar button{border:0;background:transparent;color:var(--muted);font-size:10px;padding:5px 10px}.screen-toolbar button:hover{color:#fff}
.bigscreen .inner{isolation:isolate;position:relative;display:flex;flex-direction:column;width:100%;max-width:none;height:calc(100dvh - 42px);min-height:520px;padding:2.6vh 3.8vw 2.2vh;text-align:left;overflow:hidden;background:linear-gradient(90deg,#010b10fa 0%,#021219f5 39%,#003242b3 100%),url('assets/auction-stadium.jpg') center/cover}
.bigscreen .inner::before{content:"";position:absolute;z-index:-1;width:36vw;height:150%;right:8%;top:-20%;transform:skewX(-24deg);border-left:1px solid #39ece62b;border-right:1px solid #39ece61c;background:linear-gradient(90deg,#0ac8d00c,transparent)}
.bigscreen .inner::after{content:"";position:absolute;z-index:-1;left:-12%;top:-38%;width:52vw;height:52vw;border:1px solid #39ece61a;border-radius:50%;box-shadow:0 0 0 16px #39ece608,0 0 0 32px #39ece608,0 0 0 48px #39ece608,0 0 0 64px #39ece608}
.bhead{display:flex;align-items:center;gap:1.1vw;flex:0 0 auto;padding-bottom:1.7vh;border-bottom:1px solid #69c9d033}
.bhead img{width:5.7vh;height:5.7vh;object-fit:contain}.bhead>div{font-size:clamp(11px,1.75vh,24px);letter-spacing:.14em;font-weight:700}.bhead>div>span{display:block;font-size:clamp(8px,1.15vh,16px);color:#9ebdc4;letter-spacing:.18em;margin-top:.35em}.bhead-right{margin-left:auto;text-align:right;color:#c7e8eb}.broadcast-practice{background:#b54515;padding:.2em .5em;color:#fff}
.broadcast-player{display:grid;grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);gap:3.5vw;flex:1;min-height:0;padding:2.5vh 0 2.1vh}
.profile-details{min-width:0;min-height:0;display:flex;flex-direction:column}
.profile-heading{flex:0 0 auto;margin-bottom:1.8vh}.profile-heading>span{font-size:1.05vh;letter-spacing:.28em;color:#8bb5bd}.profile-heading h2{font-size:clamp(22px,3.7vh,54px);letter-spacing:-.015em;line-height:1;margin:.9vh 0 0;font-weight:800}.profile-heading em{color:var(--electric);font-style:normal}
.profile-card{display:flex;flex-direction:column;min-height:0;flex:1;background:linear-gradient(135deg,#061a20f2,#020b10ee);border:1px solid #2d7b87;border-radius:4px;padding:.8vh 1.65vw 1.5vh;box-shadow:inset 0 0 32px #009da208,0 0 20px #19dcd40a;position:relative}
.profile-card::before{content:"";position:absolute;top:-1px;left:8%;width:50%;height:2px;background:var(--electric);box-shadow:0 0 12px #39ece6aa}
.profile-facts{margin:0;flex:1.1;display:grid;grid-template-rows:repeat(4,1fr);min-height:0}
.profile-facts>div{display:grid;grid-template-columns:2.6vh minmax(0,1fr) minmax(0,1.1fr);gap:1.2vw;align-items:center;border-bottom:1px solid #20535b;padding:1.25vh 0;min-width:0}
.profile-facts svg{width:2.6vh;height:2.6vh;color:#a7c4c9}.profile-facts dt{font-size:clamp(11px,1.65vh,24px);color:#e1edef;text-transform:uppercase;letter-spacing:.015em}.profile-facts dd{margin:0;font-size:clamp(15px,2.2vh,32px);font-weight:700;line-height:1.2;color:var(--electric)}
.profile-record-label{font-size:.95vh;letter-spacing:.2em;color:#7faab2;margin:1.65vh 0 .5vh}
.profile-stats{display:grid;grid-template-columns:1fr 1fr;flex:1;min-height:0}
.profile-stat{padding:.65vh 0;display:flex;flex-direction:column;justify-content:center}.profile-stat:nth-child(even){border-left:1px solid #16434c;padding-left:2.4vw}.profile-stat:nth-child(-n+2){border-bottom:1px solid #16434c}.profile-stat span{text-transform:uppercase;color:#c6dadd;font-size:1.35vh;letter-spacing:.12em}.profile-stat b{font-size:clamp(30px,5.4vh,78px);color:var(--electric);font-weight:800;line-height:1.1;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.profile-history{border-top:1px solid #20535b;margin-top:1.4vh;padding-top:1.35vh;flex:0 0 auto;line-height:1.4}.profile-history>span{display:block;color:#8fc0c8;font-size:1.25vh;font-weight:700;letter-spacing:.19em;margin-bottom:.45vh}.profile-history strong{display:block;font-size:2.1vh;letter-spacing:.02em;font-weight:750}.profile-history>div{display:flex;align-items:baseline;gap:1.2vw;flex-wrap:wrap;margin-top:.5vh}
.profile-lastprice{font-size:4.1vh;font-weight:800;line-height:1.02;letter-spacing:-.025em;color:var(--gold);font-variant-numeric:tabular-nums;text-shadow:0 2px 14px #00000080}.profile-rtm{display:inline-block;color:#ffe0a6;border:1px solid #c8a26166;margin-left:1.2vw;padding:.15em .5em;font-size:.9vh;letter-spacing:.12em;vertical-align:middle}
.profile-hero{position:relative;min-width:0;min-height:0;isolation:isolate}
.hero-glow{position:absolute;inset:-4vh -4vw -2vh 0;z-index:-1;background:radial-gradient(ellipse at 58% 35%,#3bd9e52b,transparent 60%)}
.hero-photo-frame{position:absolute;inset:0 0 0 11%;padding:2px;background:linear-gradient(130deg,#39ece6 0%,#39ece620 42%,#39ece699 85%);clip-path:polygon(9% 0,100% 0,100% 89%,91% 100%,0 100%,0 12%)}
.hero-photo.portrait{display:grid;width:100%;height:100%;border:0;border-radius:0;font-size:15vh;clip-path:polygon(9% 0,100% 0,100% 89%,91% 100%,0 100%,0 12%);background:radial-gradient(ellipse at 50% 30%,#1c727e,#052632 80%)}
.hero-photo .portrait-initials{transform:translateY(-10%);color:#8dd5d7}.hero-photo img{object-position:center 24%}.hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#00131cf2 0%,#00131c77 21%,transparent 55%);pointer-events:none}
/* The rubber stamp that lands on the portrait when a lot finishes. Angled and
   semi-transparent so the player stays visible underneath it. */
.stamp{position:absolute;z-index:2;left:50%;top:48%;translate:-50% -50%;rotate:-13deg;
  max-width:84%;display:flex;flex-direction:column;align-items:center;gap:.1em;padding:.26em .7em .38em;
  border:.26vh solid currentColor;outline:.09vh solid currentColor;outline-offset:.42vh;
  border-radius:.6vh;background:#060d1036;backdrop-filter:blur(1px);
  text-align:center;pointer-events:none;animation:stamp-in .34s cubic-bezier(.2,1.5,.5,1) both}
.stamp b{display:block;font-size:7.6vh;font-weight:900;line-height:.92;letter-spacing:.05em;white-space:nowrap}
/* the sub-line is a team name, so it sets the stamp's width rather than being
   clipped to it -- an ellipsis in the middle of a rubber stamp looks broken */
.stamp span{display:block;font-size:1.45vh;font-weight:750;letter-spacing:.2em;opacity:.9;white-space:nowrap;text-transform:uppercase}
.stamp-sold{color:#6BE8A8;text-shadow:0 .4vh 2.4vh #00130a99}
.stamp-rtm{color:#FFD98A;text-shadow:0 .4vh 2.4vh #1a0f0099}
.stamp-unsold{color:#FF8D92;text-shadow:0 .4vh 2.4vh #1a000399}
@keyframes stamp-in{from{rotate:-13deg;scale:1.9;opacity:0}60%{opacity:1}to{rotate:-13deg;scale:1;opacity:1}}
@media (prefers-reduced-motion:reduce){.stamp{animation:none}}

.hero-meta{position:absolute;top:1.9vh;left:0;right:1.3vw;display:flex;gap:1vw;justify-content:space-between;align-items:center;z-index:1}
.hero-status{display:inline-block;padding:.65em 1em;background:#08262ded;border:1px solid #53d8db88;color:#bffbf7;font-size:1.15vh;font-weight:750;letter-spacing:.13em;box-shadow:0 4px 18px #00101566}.hero-status.on-block::before{content:"";display:inline-block;width:.55em;height:.55em;background:var(--electric);border-radius:50%;margin-right:.7em;box-shadow:0 0 8px var(--electric)}
.hero-status.sold,.hero-status.rtm{background:#f0cb82;color:#1f1a10;border-color:#ffe1a6;font-size:1.7vh}.hero-status.unsold{background:#4b2430;color:#ffd7da;border-color:#ca6b7b;font-size:1.7vh}
.btier{font-size:2.05vh;font-weight:850;letter-spacing:.17em;padding:.5em .85em;background:#d5e5eb;color:#15313c;border-radius:2px}.btier.t-platinum{background:#d9e6f0;color:#172a33}.btier.t-gold{background:#dfb963;color:#281c0b}.btier.t-silver{background:#b4c3cb;color:#18262c}.btier.t-bronze{background:#714c33;color:#ffdfbe}
.hero-caption{position:absolute;bottom:0;left:0;right:-1vw;padding:5.5vh 1vw 1.7vh 1.7vw;background:linear-gradient(0deg,#02151be8,#02151b77 55%,transparent);text-shadow:0 3px 14px #001017b3}
.hero-kicker{font-size:1.1vh;font-weight:650;color:#d4edef;letter-spacing:.2em}.hero-name{font-size:clamp(32px,7.8vh,112px);font-weight:850;line-height:1.04;letter-spacing:-.035em;margin:1.3vh 0 .7vh;padding-bottom:.12em;text-transform:uppercase;overflow-wrap:anywhere}.hero-name>span,.hero-name>em{display:block}.hero-name em{color:var(--electric);font-style:normal}.hero-name.name-long{font-size:6.1vh}.hero-name.name-extra-long{font-size:4.9vh}.hero-base{font-size:1.2vh;letter-spacing:.15em;color:#c6dadf}.hero-base b{color:#fff;font-size:1.7vh;letter-spacing:.02em;margin-left:.6vw}
.broadcast-footer{flex:0 0 auto;min-height:14.6vh;display:grid;grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);gap:3.5vw;align-items:center;padding-top:1.7vh;position:relative;border-top:1px solid #439398}
.broadcast-footer::before{content:"";position:absolute;left:0;top:-1px;width:29%;height:2px;background:var(--electric);box-shadow:0 0 12px #39ece677}
.broadcast-price>span,.leader-label,.broadcast-waiting>span{display:block;color:#9ac1c7;font-size:1.1vh;letter-spacing:.22em;font-weight:650}.broadcast-price strong{display:block;color:var(--electric);font-size:clamp(40px,7.7vh,110px);font-weight:800;line-height:1.05;letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin-top:.6vh}.broadcast-price strong.price-unsold{font-size:5.8vh;color:#f3abb5}
.broadcast-leader{min-width:0}.leader-label{margin:0 0 .6vh}.screen-team{gap:1vw}.screen-team .captain-mini{width:6.5vh;height:7.7vh;font-size:2.3vh;border-color:#5a8f98;border-radius:4px}.screen-team strong{font-size:clamp(16px,2.6vh,38px);font-weight:700}.screen-team span:not(.portrait):not(.portrait-initials){font-size:1.55vh;color:#bcd5da}.screen-team .identity-crest{width:7.7vh;height:7.7vh;border-radius:5px;margin-left:auto}.broadcast-waiting strong{display:block;font-size:2.35vh;font-weight:600;margin-top:.8vh;color:#e7f3f4}.broadcast-settlement{font-size:1.1vh;color:#f0cf94;margin-top:.5vh}
.bigscreen .inner.idle{align-items:stretch;justify-content:flex-start;text-align:left;background:linear-gradient(90deg,#010b10f5,#021219b3 65%,#00324266),url('assets/auction-stadium.jpg') center/cover}.bidle-title{display:flex;flex-direction:column;justify-content:center;flex:1;padding:2vh 0}.bidle-title h1{font-size:clamp(30px,7.2vh,104px);line-height:1.03;letter-spacing:-.04em;margin:1.2vh 0}.bidle-title em{color:var(--electric)}.bidle-title p{font-size:1.6vh;color:#c6dde0;margin:0}.bidle-title .eyebrow{font-size:1.15vh;color:var(--electric)}
.bcaptains{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:1vw;margin:1vh 0 3vh}.bcaptain .portrait{width:100%;height:23vh;border-radius:3px;border-color:#37a5ae80;font-size:3vh}.bcaptain>strong{display:block;font-size:1.25vh;line-height:1.3;margin-top:1vh}.bcaptain>span{display:block;font-size:1vh;color:#a8c8cd;margin-top:.4vh}.bidle-foot{display:flex;justify-content:space-between;border-top:1px solid #32646c;padding-top:1.5vh;font-size:1vh;letter-spacing:.18em;color:#a8c8cd}
body[data-division="women"] .bcaptains{grid-template-columns:repeat(3,minmax(0,1fr));max-width:65vw;width:100%;gap:2vw}body[data-division="women"] .bcaptain .portrait{height:28vh}body[data-division="women"] .bcaptain>strong{font-size:1.7vh}body[data-division="women"] .bcaptain>span{font-size:1.4vh}
@media (min-aspect-ratio:1/1) and (max-aspect-ratio:3/2){.broadcast-player,.broadcast-footer{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2.5vw}.profile-facts>div{gap:1vw;grid-template-columns:2.3vh minmax(0,.9fr) minmax(0,1.1fr)}.profile-facts dt{font-size:1.5vh}.profile-facts dd{font-size:1.9vh}.hero-photo-frame{left:3%}.hero-name{font-size:6.6vh}.hero-name.name-long{font-size:5vh}.hero-name.name-extra-long{font-size:4.1vh}.screen-team strong{font-size:2.2vh}}
@media (max-aspect-ratio:1/1){
  .bigscreen .inner{height:auto;min-height:calc(100dvh - 42px);padding:18px;overflow:hidden}.bhead-right{display:none}.bhead{gap:12px;padding-bottom:16px}.bhead img{width:42px;height:42px}.bhead>div{font-size:11px}.bhead>div>span{font-size:8px}
  .broadcast-player{display:flex;flex-direction:column;gap:24px;padding:22px 0}.profile-hero{height:440px;flex-shrink:0;order:-1}.hero-photo-frame{left:8%}.hero-photo.portrait{font-size:100px}.hero-meta{top:14px;right:12px}.hero-status,.btier{font-size:9px}.hero-status.sold,.hero-status.rtm,.hero-status.unsold{font-size:14px}.hero-caption{padding:45px 12px 16px}.hero-name,.hero-name.name-long{font-size:48px}.hero-name.name-extra-long{font-size:36px}.hero-kicker,.hero-base{font-size:9px}.hero-base b{font-size:15px}
  .profile-heading>span{font-size:8px}.profile-heading h2{font-size:26px}.profile-heading{margin-bottom:16px}.profile-card{padding:5px 18px 16px}.profile-facts>div{grid-template-columns:22px 1fr 1.1fr;gap:10px;padding:15px 0}.profile-facts svg{width:20px;height:20px}.profile-facts dt{font-size:11px}.profile-facts dd{font-size:15px}.profile-record-label{font-size:8px;margin:16px 0 5px}.profile-stat{padding:12px 0}.profile-stat:nth-child(even){padding-left:25px}.profile-stat span{font-size:10px}.profile-stat b{font-size:40px}.profile-history{margin-top:12px;padding-top:12px}.profile-history>span{font-size:8px}.profile-history strong{font-size:14px}.profile-history>div{font-size:13px}.profile-rtm{font-size:8px;margin-left:12px}
  .broadcast-footer{display:flex;align-items:stretch;flex-direction:column;gap:20px;padding:20px 0 8px}.broadcast-price>span,.leader-label,.broadcast-waiting>span{font-size:9px}.broadcast-price strong{font-size:56px}.broadcast-price strong.price-unsold{font-size:40px}.screen-team .captain-mini{width:42px;height:52px}.screen-team strong{font-size:18px}.screen-team span:not(.portrait):not(.portrait-initials){font-size:12px}.screen-team .identity-crest{width:52px;height:52px}.broadcast-waiting strong{font-size:18px}.broadcast-settlement{font-size:10px}
  .bcaptains{grid-template-columns:repeat(3,1fr);gap:14px}.bcaptain .portrait{height:auto;aspect-ratio:4/5}.bcaptain>strong{font-size:11px}.bcaptain>span{font-size:9px}.bidle-title{padding:28px 0}.bidle-title h1{font-size:40px}.bidle-title p{font-size:12px}.bidle-title .eyebrow{font-size:9px}body[data-division="women"] .bcaptains{max-width:none;gap:12px}body[data-division="women"] .bcaptain .portrait{height:auto}body[data-division="women"] .bcaptain>strong{font-size:11px}body[data-division="women"] .bcaptain>span{font-size:9px}.bidle-foot{font-size:7px;gap:15px;padding-top:14px}.screen-toolbar{padding:6px 10px}.screen-toolbar button{padding:5px;font-size:9px}
}
@media (max-width:1120px){header.top{flex-wrap:wrap}.brandline{flex:1}nav.tabs{width:100%;margin-left:0}.stage{top:158px}.auction{grid-template-columns:minmax(0,1.4fr) minmax(310px,1fr)}.stage .who{gap:16px}.stage{padding:18px}.stage .who h2{font-size:28px}}
@media (max-width:900px){.auction{grid-template-columns:1fr}.stage{position:static;min-height:0}.stage .who h2{font-size:36px}.stage-portrait{flex-basis:35%}.statline{grid-template-columns:repeat(4,1fr)}.league-panel{margin-top:0}.league-row .identity-crest{display:block}.league-row .team-identity{max-width:75%}.control-panel .teamgrid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:600px){header.top{padding:10px 14px;gap:8px}.brandline b{font-size:11px}.brandline span{font-size:9px}header.top img.crest{width:38px;height:38px}.statuspill{font-size:8px;padding:4px 7px;margin-left:0}.division-switch{order:3;width:100%}.division-switch a{flex:1;text-align:center}nav.tabs{flex-wrap:nowrap;overflow-x:auto;order:4}nav.tabs button{font-size:11px;padding:6px 10px;flex-shrink:0}.wrap{padding:18px 12px 40px}.section-heading{margin-bottom:16px}.section-heading h1{font-size:27px}.event-chip{display:none}.kpis{grid-template-columns:repeat(3,1fr);row-gap:12px;padding:10px 0}.kpi{padding:4px 12px}.kpi b{font-size:18px}.kpi span{font-size:8px}.stage{padding:16px}.stage .who{gap:14px;align-items:flex-start}.stage-portrait{flex-basis:36%}.stage .who h2{font-size:25px}.stage .who .eyebrow{font-size:8px}.meta{gap:4px}.meta .pill{font-size:8px;padding:2px 5px}.player-style{font-size:10px;margin:8px 0}.statline{gap:10px;grid-template-columns:1fr 1fr;margin-top:8px}.statline b{font-size:22px}.statline span{font-size:8px}.player-dossier .note{font-size:10px}.previous-team{font-size:10px}.bidbox{padding:14px;margin-top:6px}.bidamt{font-size:33px}.bidrow{gap:12px}.bid-team .captain-mini{width:32px;height:38px}.bid-team strong{font-size:11px}.stage-welcome h2{font-size:38px}.captain-stack .portrait{width:46px;height:62px}.squads{grid-template-columns:minmax(0,1fr)}.squad-banner h3{font-size:21px;padding-right:25px}.control-panel .teamgrid{grid-template-columns:1fr 1fr}.media-readiness summary{flex-direction:column}.result-card{gap:14px}.result-card h2{font-size:24px}.result-price{font-size:26px}.lastres{font-size:27px}}
@media print{body{background:white!important;color:black!important}.view:not(#view-teams),.media-readiness,.division-switch,.connection-notice{display:none!important}#view-teams{display:block!important}.squads{grid-template-columns:repeat(2,1fr)}.squad{break-inside:avoid;color:black;border:1px solid #ccc}.squad-banner,.squad-body{background:white}.squad span,.squad p,.squad b,.squad .pr{color:#222!important}.squad-logo{position:static;width:32px;height:32px}.squad-banner{padding:12px}.squad-captain{width:60px;height:75px}.squad h3{font-size:16px}.squad-body{padding:10px}.squad li{min-height:30px}.slot-number{color:#555}.wrap{max-width:none;padding:0}.squad .eyebrow{color:#444}}

/* The embedded original is sideways; orient it at display time. */
.portrait img[src$="/P120.jpg"]{object-fit:contain;transform:rotate(90deg) scale(1.28)}
.screen-toolbar{width:100%}

/* Auctioneer entry: one amount, one team, one explicit sale. */
body:not(.viewer) .stage{position:static;min-height:0;padding:20px}
body:not(.viewer) .stage .who{gap:20px;align-items:center}
body:not(.viewer) .stage-portrait{flex-basis:30%}
body:not(.viewer) .portrait.stage-photo{max-height:240px}
body:not(.viewer) .stage .who h2{font-size:30px}
body:not(.viewer) .stage .statline{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body:not(.viewer) .stage .statline b{font-size:23px}
body:not(.viewer) .stage .player-style{margin:8px 0;font-size:11px}
body:not(.viewer) .stage .previous-team{margin-bottom:0}
.bidctl{display:flex;flex-direction:column;gap:10px;margin-top:18px}
.bid-step{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:9px;font-weight:750;letter-spacing:.13em;color:#b6d5db}
.bid-step>span:last-child:not(:first-child){font-size:10px;font-weight:500;letter-spacing:0;color:var(--muted)}
.bid-step #bidSaveStatus{color:var(--gold)}
.amount-label{display:block;font-size:12px;font-weight:650;margin-bottom:-4px}.amount-label>span{font-weight:450;color:var(--muted)}
.amount-controls{display:grid;grid-template-columns:auto minmax(115px,1fr) auto auto;gap:8px;align-items:stretch}
.amount-controls .btn{font-size:12px;white-space:nowrap;padding:10px 13px}
.amount-field{display:flex;align-items:center;border:1px solid #52808c;background:#0e242b;border-radius:8px;overflow:hidden;min-width:0}
.amount-field:focus-within{border-color:var(--cyan);box-shadow:0 0 0 2px #5fd9e322}
.amount-field>span{color:#a5c7ce;font-size:18px;padding:0 12px}.amount-field>span:last-child{padding-left:0}
.bidctl .amount-field input{min-width:0;width:100%;max-width:none;flex:1;border:0;border-radius:0;background:transparent;box-shadow:none;padding:9px 0;font-size:25px;font-weight:700;letter-spacing:-.025em;outline:0}
.amount-field:has(input[aria-invalid="true"]){border-color:var(--bad)}
.bid-slider-wrap{padding:4px 0 0}
#bidSlider{appearance:none;-webkit-appearance:none;width:100%;height:26px;margin:0;padding:0;border:0;background:transparent;cursor:pointer;outline-offset:3px;touch-action:pan-y}
#bidSlider::-webkit-slider-runnable-track{height:6px;border-radius:10px;background:linear-gradient(to right,var(--cyan) var(--bid-fill,0%),#2c424b var(--bid-fill,0%))}
#bidSlider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;margin-top:-8px;width:22px;height:22px;border-radius:50%;background:#d3f7f8;border:3px solid #258d9d;box-shadow:0 0 0 4px #31b5c414}
#bidSlider::-moz-range-track{height:6px;border-radius:10px;background:#2c424b}#bidSlider::-moz-range-progress{height:6px;background:var(--cyan)}#bidSlider::-moz-range-thumb{width:17px;height:17px;border-radius:50%;background:#d3f7f8;border:3px solid #258d9d}
#bidSlider:disabled{opacity:.4;cursor:default}
.bid-range-labels{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:var(--muted)}
.bid-entry-help{font-size:10px;line-height:1.5;color:#a1c0c9;min-height:15px;margin-bottom:5px}.bid-entry-help.invalid{color:#ffafa5}
.quick-team-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.quick-team{position:relative;display:flex;align-items:center;gap:7px;min-width:0;min-height:58px;padding:9px 8px;text-align:left;background:#10232b;border:1px solid #36535e;border-radius:8px;cursor:pointer;color:#dcebee}
.quick-team img{width:26px;height:26px;object-fit:contain;border-radius:4px;flex-shrink:0;background:white}
/* 30 Oct: the auctioneer calls the captain's name, not the franchise's, so the
   bidding buttons carry both. The captain sits under the team in a lighter
   weight — the team name still reads first at a glance. */
.quick-team>.qt-who{display:flex;flex-direction:column;gap:1px;min-width:0}
.quick-team .qt-team{font-size:10px;font-weight:650;line-height:1.25;overflow-wrap:anywhere}
.quick-team .qt-cap{font-size:9px;font-weight:600;line-height:1.2;color:#8fc0c8;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.quick-team.lead .qt-cap{color:#a8f0e2}
.quick-team:hover:not(:disabled){border-color:var(--cyan);background:#18353e}
.quick-team.lead{background:#153d43;border-color:#73e5dd;box-shadow:inset 0 0 0 1px #73e5dd}
.quick-team-check{display:none;position:absolute;right:3px;top:-5px;background:#8af2cc;color:#06352d;font-size:9px;line-height:14px;width:14px;text-align:center;border-radius:50%}
.quick-team.lead .quick-team-check{display:block}
.quick-team:disabled{opacity:.35;cursor:not-allowed}
body[data-division="women"] .quick-team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:1250px){.quick-team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-team .qt-team{font-size:11px}.quick-team .qt-cap{font-size:10px}}
@media (max-width:600px){.quick-team-grid,body[data-division="women"] .quick-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-team{min-height:56px;padding:10px;gap:9px}.quick-team .qt-team{font-size:11px}.quick-team .qt-cap{font-size:10px}}
.sale-actions{display:flex;align-items:stretch;gap:8px;margin-top:2px}.sale-actions .sell-action{flex:1;min-width:0;text-align:left;padding:12px 15px;line-height:1.3}
.sell-action>span{display:block;font-size:14px;font-weight:750}.sell-action>b{display:block;font-size:12px;font-weight:550;margin-top:4px}.sell-action:disabled{background:#183139;border-color:#38515a;color:#a3bcc3;opacity:.7}
.sale-actions>.btn:not(.sell-action){padding:10px 12px;font-size:12px}
.sale-hint{font-size:10px;line-height:1.5;color:#b3cbd2}
.team-picker-help{font-size:11px;line-height:1.55;color:var(--muted);margin:0 0 14px}
.team-selection{display:block;color:#91b6bf;font-size:8px;letter-spacing:.1em;margin-top:3px;font-weight:700}
.teambtn.lead{background:#123a41;border:2px solid #62dae1;padding:9px;box-shadow:0 0 0 2px #55dce314}
.teambtn.lead .team-selection{color:#8df5ce}.teambtn[disabled] .team-selection{color:#b5a093}
@media (max-width:1250px){.amount-controls{grid-template-columns:auto minmax(90px,1fr) auto}.amount-controls #setBidBtn{grid-column:1/-1;padding:7px}.amount-field>span{padding:0 8px}.amount-controls .btn{padding:10px}.bidctl .amount-field input{font-size:22px}}
@media (max-width:900px){body:not(.viewer) .stage{padding:18px}body:not(.viewer) .stage .who h2{font-size:30px}.amount-controls{grid-template-columns:auto minmax(100px,1fr) auto auto}.amount-controls #setBidBtn{grid-column:auto}}
@media (max-width:600px){body:not(.viewer) .stage{padding:14px}body:not(.viewer) .stage .who{gap:14px;align-items:flex-start}body:not(.viewer) .stage .who h2{font-size:24px}body:not(.viewer) .stage-portrait{flex-basis:34%}body:not(.viewer) .stage .statline{grid-template-columns:1fr 1fr;gap:8px}body:not(.viewer) .stage .statline b{font-size:21px}body:not(.viewer) .stage .previous-team{font-size:9px}.bidbox{padding:14px}.amount-controls{grid-template-columns:auto minmax(80px,1fr) auto;gap:6px}.amount-controls #setBidBtn{grid-column:1/-1}.amount-controls .btn{font-size:11px;padding:9px}.bid-step{font-size:8px;letter-spacing:.07em}.bid-step>span:last-child:not(:first-child){font-size:9px}.sale-actions{flex-wrap:wrap}.sale-actions .sell-action{flex-basis:100%}.sale-actions>.btn:not(.sell-action){flex:1}.bid-entry-help{font-size:10px}}
@media (min-width:901px){
  body:not(.viewer) .section-heading{margin-bottom:16px}
  body:not(.viewer) .section-heading h1{font-size:28px}
  body:not(.viewer) .kpi{padding:10px 18px}
  body:not(.viewer) .stage{gap:14px}
  body:not(.viewer) .portrait.stage-photo{max-height:210px}
  body:not(.viewer) .stage .bidbox{margin-top:0;padding:18px}
  body:not(.viewer) .bidctl{gap:8px;margin-top:12px}
}
body:not(.viewer) #bidNote{display:none}
.bidctl .discard-bid{align-self:flex-start;font-size:10px;padding:5px 9px}
.rtm-preview{padding:10px 12px;border-left:2px solid var(--gold);background:#b08c3210;color:#dec997;font-size:11px;line-height:1.6}
.queue-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:8px}
.queue-filters label{min-width:0;font-size:10px;color:var(--muted);display:flex;flex-direction:column;gap:5px}
.queue-filters select,.queue-filters input{width:100%;min-width:0;max-width:100%;font-size:11px;padding:9px}
.queue-search{grid-column:1/-1}.queue-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted);margin:7px 0}
.queue-summary .btn{padding:5px 8px;font-size:10px}.queue-actions{display:flex;gap:8px;margin:8px 0}.queue-actions .btn{flex:1;font-size:12px;padding:10px}
.queue-player:disabled{opacity:.5;cursor:not-allowed}

.queue-filters input{background:#0b1b22;border:1px solid var(--line);border-radius:7px;color:var(--text);font:inherit;font-size:12px;min-height:39px}
.queue-filters input::placeholder{color:var(--muted)}
.control-panel #teamPicker{max-height:380px;overflow-y:auto;scrollbar-gutter:stable}


/* ------------------------------------------------- top bids leaderboard --
   The night's biggest buys. The same list is a tab on the tracker and a board
   the operator can swing the big screen to; only the scale differs. */
.topbids{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.topbids li{display:flex;align-items:center;gap:14px;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--r-sm);padding:10px 16px 10px 10px}
.topbids li:nth-child(1){border-color:#C8A05A66;background:linear-gradient(100deg,#2a2314,var(--surface) 46%)}
.topbids li:nth-child(2){border-color:#9fb4bd4d}
.topbids li:nth-child(3){border-color:#8a664a4d}
.topbids-rank{flex:0 0 auto;width:30px;text-align:center;font-family:var(--mono);
  font-size:17px;font-weight:700;color:var(--faint);font-variant-numeric:tabular-nums}
.topbids li:nth-child(1) .topbids-rank{color:var(--gold)}
.topbids-photo{width:42px;height:50px;border-radius:6px;flex:0 0 auto}
.topbids-who{flex:1;min-width:0;display:block}
.topbids-who strong{display:block;font-size:16px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topbids-who small{display:block;font-size:11px;color:var(--muted);letter-spacing:.04em;
  text-transform:uppercase;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topbids-price{flex:0 0 auto;font-family:var(--mono);font-size:21px;font-weight:700;
  color:var(--cyan);font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.topbids-empty{color:var(--muted);background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-sm);padding:22px;margin:0}

/* on the projector */
.btop{flex:1;min-height:0;display:flex;flex-direction:column;padding:1.8vh 0 .8vh;gap:1.4vh}
.btop-title{flex:0 0 auto;text-align:center}
.btop-title>span{display:block;color:#8fc0c8;font-size:1.2vh;font-weight:700;letter-spacing:.3em}
.btop-title h1{font-size:4.6vh;line-height:1.04;letter-spacing:.02em;margin-top:.4vh;font-weight:850}
.btop-title em{font-style:normal;color:var(--gold)}
/* The rows divide whatever height is left, so ten of them fit a 16:9 projector
   without the last two sliding off the bottom -- which is what a fixed row
   height did at 1080p. */
.topbids-screen{flex:1;min-height:0;display:flex;flex-direction:column;gap:.7vh;overflow:hidden}
.topbids-screen li{flex:1 1 0;min-height:0;gap:1.4vw;padding:0 1.4vw 0 .8vw;border-radius:.9vh;background:#0e1d23cc}
.topbids-screen .topbids-rank{width:3.2vw;font-size:2.6vh}
.topbids-screen .topbids-photo{height:76%;width:auto;aspect-ratio:5/6;border-radius:.6vh;font-size:1.5vh}
.topbids-screen .topbids-who strong{font-size:2.7vh;font-weight:750}
.topbids-screen .topbids-who small{font-size:1.3vh;margin-top:.1vh}
.topbids-screen .topbids-price{font-size:3.6vh;color:var(--gold)}
.topbids-screen .topbids-empty{flex:0 0 auto;font-size:2vh;padding:4vh}
@media (max-width:900px){
  .stamp b{font-size:54px}.stamp span{font-size:10px}
  .btop-title h1{font-size:30px}.btop-title>span{font-size:9px}
  .topbids-screen li{gap:12px;padding:8px 12px 8px 8px}
  .topbids-screen .topbids-rank{width:26px;font-size:15px}
  .topbids-screen .topbids-photo{width:34px;height:40px}
  .topbids-screen .topbids-who strong{font-size:15px}
  .topbids-screen .topbids-who small{font-size:10px}
  .topbids-screen .topbids-price{font-size:19px}
}
@media (max-width:600px){
  .topbids li{gap:10px;padding:8px 12px 8px 8px}
  .topbids-rank{width:22px;font-size:14px}
  .topbids-photo{width:34px;height:40px}
  .topbids-who strong{font-size:14px}
  .topbids-price{font-size:17px}
}
