@font-face { font-family: "EndZone"; src: url("/fonts/endzone.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "EndZone"; font-style: italic; src: url("/fonts/endzone-italic.otf") format("opentype"); font-display: swap; }

:root {
  --night: #07171d;
  --navy: #0e242d;
  --panel: #12303b;
  --panel-2: #173c49;
  --line: #24505e;
  --deep-teal: #0e4752;
  --teal: #158fa3;
  --ice: #69bdc7;
  --frost: #dddedf;
  --aurora: #2bb66f;
  --aurora-hi: #5fe3a0;
  --gold: #e9b949;
  --loss: #e0705f;
  --text: #e8eff1;
  --dim: #8fb0b8;
  --display: "EndZone", "Barlow Condensed", Impact, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --r: 14px;
  --tap: 48px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--text); font: 500 16px/1.4 var(--body);
  background-image:
    radial-gradient(120% 60% at 85% -10%, rgba(43, 182, 111, .16), transparent 60%),
    radial-gradient(90% 50% at 0% 0%, rgba(21, 143, 163, .22), transparent 65%);
  background-attachment: fixed; min-height: 100dvh;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--ice); text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1 { font: 400 30px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
h2 { font: 700 15px/1.2 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ice); margin-bottom: 10px; }
h2 em, .next-opp em, .game em { font-style: normal; color: var(--dim); font-family: var(--cond); text-transform: uppercase; font-size: .8em; letter-spacing: .08em; }
small { display: block; color: var(--dim); font-size: 13px; font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--aurora-hi); outline-offset: 2px; }

#top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: calc(8px + env(safe-area-inset-top)) 16px 8px; background: rgba(7, 23, 29, .86); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(105, 189, 199, .14);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--frost); font: 400 20px/1 var(--display); letter-spacing: .04em; }
.brand img { height: 34px; }
.brand b { font-weight: 400; color: var(--ice); }
.top-ftf { height: 18px; opacity: .9; }
#main { max-width: 640px; margin: 0 auto; padding: 16px 16px calc(96px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 22px; }
#nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: center;
  background: rgba(9, 28, 35, .94); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
#nav a {
  flex: 1; max-width: 128px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 2px 8px;
  color: var(--dim); font: 600 12px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; position: relative;
}
#nav i { font-style: normal; font-size: 19px; line-height: 1; }
#nav a.on { color: var(--aurora-hi); }
#nav a.on::before { content: ""; position: absolute; top: -1px; width: 34px; height: 3px; border-radius: 0 0 3px 3px; background: var(--aurora); box-shadow: 0 0 14px var(--aurora); }
.signed-out #nav, .signed-out #top { display: none; }

/* hero */
.hero {
  position: relative; overflow: hidden; border-radius: 20px; padding: 22px 20px 20px; min-height: 190px;
  background: linear-gradient(150deg, var(--deep-teal) 0%, #0b2f39 55%, #0a1f27 100%); border: 1px solid rgba(105, 189, 199, .22);
}
.hero::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgba(43, 182, 111, .28), transparent); pointer-events: none; }
.hero-fox { position: absolute; right: -26px; top: -6px; height: 215px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .5)); z-index: 1; }
.hero-stars { position: absolute; left: 30%; top: 8px; width: 150px; opacity: .22; }
.kicker { position: relative; z-index: 2; font: 600 13px/1.2 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--ice); max-width: 58%; }
.record { position: relative; z-index: 2; font-size: 96px; line-height: .95; margin-top: 12px; color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.record i { font-style: normal; color: var(--aurora); margin: 0 2px; }
.hero-meta { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; max-width: 62%; }
.hero-meta span { background: rgba(7, 23, 29, .55); border: 1px solid rgba(105, 189, 199, .3); border-radius: 99px; padding: 4px 10px; font: 600 13px/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; }

/* surfaces */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.card h2 { margin-bottom: 0; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.back { font: 600 14px/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; width: 100%; }
.back::before { content: "‹ "; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sec-head h2 { margin: 0; }
.muted { color: var(--dim); font-size: 14px; }
.center { text-align: center; }
.empty { color: var(--dim); text-align: center; padding: 18px 8px; font-size: 15px; }
.gold { color: var(--gold); letter-spacing: 1px; }
.row { display: flex; align-items: center; gap: 8px; }
.row.gap { gap: 8px; }
.row.between { justify-content: space-between; }
.grow { flex: 1; }
section > .list + form, section > form + .list { margin-top: 10px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; }
.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 6px 10px; text-align: center; }
.stats b { display: block; font: 400 26px/1 var(--display); color: #fff; }
.stats span { font: 600 11px/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); display: block; margin-top: 6px; }
.stats.tight div { background: var(--navy); }

/* controls */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea {
  width: 100%; min-height: var(--tap); padding: 10px 12px; background: var(--navy); border: 1px solid var(--line); border-radius: 10px; color: var(--text);
}
textarea { resize: vertical; font-size: 15px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ice) 50%), linear-gradient(135deg, var(--ice) 50%, transparent 50%); background-position: calc(100% - 17px) 21px, calc(100% - 12px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
input::placeholder, textarea::placeholder { color: #5f8189; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field > span { font: 600 12px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 10px; }
.picker { width: auto !important; min-height: 40px !important; font-weight: 600; }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap); padding: 0 16px; border-radius: 10px;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--text); font: 700 15px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(180deg, var(--aurora), #1f9659); border-color: #36c97f; color: #04170e; }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btn.wide { width: 100%; }
.btn.danger { color: var(--loss); border-color: rgba(224, 112, 95, .5); }
.btn.on { background: var(--deep-teal); border-color: var(--aurora); color: var(--aurora-hi); }
.btn.file { position: relative; overflow: hidden; cursor: pointer; }
.btn.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.link { background: none; border: 0; color: var(--ice); padding: 10px 0; font-size: 14px; text-align: center; }
.link.danger { color: var(--loss); }
.x { background: none; border: 0; color: var(--dim); width: 40px; height: 40px; font-size: 14px; flex: none; }

.seg { display: flex; gap: 6px; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span, .seg.mini button {
  display: flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 4px; border-radius: 10px; background: var(--navy); border: 1px solid var(--line);
  font: 700 14px/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); cursor: pointer; text-align: center;
}
.seg input:checked + span, .seg.mini button.on { background: var(--deep-teal); border-color: var(--aurora); color: var(--aurora-hi); }
.seg input:focus-visible + span { outline: 2px solid var(--aurora-hi); outline-offset: 2px; }
.seg.mini button { flex: 1; min-height: 38px; font-size: 13px; }
.depart .seg { flex-wrap: wrap; }
.depart .seg label { flex: 1 1 22%; }
.check { display: flex; align-items: center; gap: 10px; min-height: var(--tap); cursor: pointer; white-space: nowrap; font-weight: 600; }
.check input { width: 22px; height: 22px; accent-color: var(--aurora); flex: none; }
details summary { color: var(--ice); cursor: pointer; padding: 8px 0; font-size: 14px; }
details[open] { display: flex; flex-direction: column; gap: 10px; }

/* quick add */
.add { gap: 10px; }
.add-top { display: flex; gap: 8px; }
.add-top .wk-in { width: 68px; text-align: center; flex: none; }
.add-top select { width: 110px; flex: none; }
.add-row { display: flex; gap: 12px; align-items: center; }
.add-row > * { flex: 1; }
.add-row .check { flex: none; }
form:has(select[name="type"] option[value="regular"]:checked) .post-label { display: none; }
form:has(select[name="kind"] option:not([value="player"]):checked) .award-player { display: none; }
.if-pro, .if-transfer { display: none; }
.depart:has(input[value="pro"]:checked) .if-pro, .depart:has(input[value="transferred"]:checked) .if-transfer { display: block; }

/* lists */
.list { display: flex; flex-direction: column; gap: 6px; }
.game, .line, .player, .prospect, .off, .alert {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--text);
}
.game { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; min-height: 58px; text-align: left; border-left-width: 4px; }
.game.W { border-left-color: var(--aurora); }
.game.L { border-left-color: var(--loss); }
.game.up { border-left-color: var(--line); }
.wk { font: 700 13px/1 var(--cond); letter-spacing: .08em; color: var(--dim); width: 34px; flex: none; }
.who { flex: 1; min-width: 0; font-weight: 600; }
.score { font: 400 20px/1 var(--display); white-space: nowrap; }
.game.W .score b { color: var(--aurora-hi); }
.game.L .score b { color: var(--loss); }
.score b { font-weight: 400; margin-right: 4px; }
.enter { font: 700 13px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--aurora-hi); border: 1px solid var(--aurora); border-radius: 99px; padding: 7px 10px; white-space: nowrap; }
.rk { color: var(--gold); font-weight: 700; font-size: .9em; }
.tag { display: inline-block; font: 700 11px/1 var(--cond); font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 3px 6px; border-radius: 5px; background: var(--panel-2); color: var(--ice); margin-left: 4px; vertical-align: 2px; }
.tag.rival { background: rgba(224, 112, 95, .18); color: #f3a092; }
.line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; min-height: 52px; }
.line .val { font: 400 20px/1 var(--display); white-space: nowrap; color: #fff; }
.alert { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-color: var(--teal); background: rgba(21, 143, 163, .14); margin-bottom: 6px; }
.alert.warn { border-color: var(--gold); background: rgba(233, 185, 73, .1); }
.log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--dim); }
.log li { padding: 7px 0; border-bottom: 1px solid rgba(36, 80, 94, .6); }
.log b { color: var(--text); }
.log time { float: right; font-size: 12px; }

/* next game */
.next-opp { font: 400 28px/1.1 var(--display); text-transform: uppercase; }
.scoreline { display: flex; gap: 8px; align-items: flex-end; }
.scoreline label { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.scoreline label span { font: 600 12px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scoreline input { font: 400 28px/1 var(--display) !important; text-align: center; min-height: 58px !important; }
.scoreline.tall input { min-height: 72px !important; font-size: 38px !important; }

/* protected numbers */
.sacred { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
.sacred-no {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px 10px; border-radius: 14px; color: var(--dim);
  background: var(--navy); border: 1px dashed var(--line); text-align: center;
}
.sacred-no b { font: 400 46px/1 var(--display); color: #35606c; }
.sacred-no span { font: 600 12px/1.2 var(--cond); letter-spacing: .08em; text-transform: uppercase; }
.sacred-no.held { border: 1px solid var(--aurora); background: linear-gradient(160deg, rgba(43, 182, 111, .22), var(--panel)); color: var(--text); }
.sacred-no.held b { color: var(--aurora-hi); text-shadow: 0 0 22px rgba(43, 182, 111, .6); }
.lineage-head { text-align: center; }
.big-no { font: 400 150px/.95 var(--display); color: var(--aurora-hi); text-shadow: 0 0 60px rgba(43, 182, 111, .45); }

/* roster */
.search { flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 99px; background: var(--navy); border: 1px solid var(--line); color: var(--dim); font: 700 13px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.chip.on { background: var(--deep-teal); border-color: var(--aurora); color: var(--aurora-hi); }
.chip .x { width: 26px; height: 26px; margin-right: -8px; }
.player { display: flex; align-items: stretch; }
.player a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px 12px; color: var(--text); min-height: 56px; }
.player.gone { opacity: .55; }
.no { font: 400 26px/1 var(--display); width: 42px; text-align: center; color: var(--frost); flex: none; }
.sacred-n { color: var(--aurora-hi) !important; text-shadow: 0 0 16px rgba(43, 182, 111, .6); }
.ovr { font: 700 17px/1 var(--cond); color: var(--ice); }
.star-btn { width: 52px; background: none; border: 0; border-left: 1px solid var(--line); color: #33586a; font-size: 22px; }
.star-btn.on { color: var(--gold); text-shadow: 0 0 14px rgba(233, 185, 73, .6); }
.tier { font-style: normal; }
.tier.star { color: var(--gold); }
.tier.legend { color: var(--aurora-hi); }

/* player card */
.pcard {
  position: relative; overflow: hidden; border-radius: 20px; min-height: 190px; padding: 18px; display: flex; align-items: flex-end;
  background: linear-gradient(155deg, var(--panel-2), var(--navy)); border: 1px solid var(--line);
}
.pcard.star { border-color: var(--gold); background: linear-gradient(155deg, #23505c, var(--navy) 70%); }
.pcard.legend { border-color: var(--aurora); background: linear-gradient(155deg, #15604a, var(--navy) 70%); box-shadow: 0 0 40px rgba(43, 182, 111, .2); }
.pcard-fox { position: absolute; right: -30px; bottom: -40px; height: 230px; opacity: .08; }
.pcard-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.pcard-no { position: absolute; right: 14px; top: 2px; font: 400 120px/1 var(--display); color: rgba(221, 222, 223, .2); }
.pcard-no.sacred-n { opacity: .9; }
.pcard-info { position: relative; display: flex; flex-direction: column; gap: 4px; }
.pcard-tier { font: 700 13px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.pcard.legend .pcard-tier { color: var(--aurora-hi); }
.pcard .left { color: #f3a092; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions .btn { flex: 1 1 auto; }

.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { font: 600 12px/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); text-align: left; padding: 8px 8px; }
.table td { padding: 10px 8px; border-top: 1px solid var(--line); }
.table-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.compare th:first-child { position: sticky; left: 0; background: var(--panel); text-transform: none; letter-spacing: 0; font: 500 14px/1.2 var(--body); color: var(--text); white-space: nowrap; }
.compare td, .compare thead th:not(:first-child) { text-align: center; font-family: var(--display); font-size: 18px; white-space: nowrap; }
.compare thead th:not(:first-child) { font: 700 13px/1 var(--cond); color: var(--ice); }
.compare td:last-child, .compare thead th:last-child { color: var(--aurora-hi); }

/* recruiting */
.tabs { display: flex; gap: 6px; }
.tabs button { flex: 1; min-height: var(--tap); border-radius: 10px; background: var(--navy); border: 1px solid var(--line); color: var(--dim); font: 700 14px/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; }
.tabs button.on { background: var(--deep-teal); border-color: var(--teal); color: #fff; }
.prospect { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.prospect.lost { opacity: .5; }
.prospect.signed { border-color: var(--aurora); }
.p-top { display: flex; justify-content: space-between; align-items: flex-start; }

/* offseason */
.off { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 12px; }
.off .who { flex: 1 1 45%; }
.off select { width: 150px; flex: none; }
.off input { flex: 1 1 100%; }
.off.leaving { border-color: var(--gold); }
.finish { border-color: var(--aurora); background: linear-gradient(160deg, rgba(43, 182, 111, .16), var(--panel)); }

/* trophy case */
.case { display: grid; gap: 12px; }
.trophy { display: flex; gap: 14px; align-items: center; background: #0a0a0a; border: 1px solid #3a3320; border-radius: 16px; overflow: hidden; color: var(--text); padding-right: 14px; }
.trophy img, .trophy-blank { width: 120px; height: 170px; object-fit: cover; flex: none; filter: grayscale(.9) brightness(.55); }
.trophy-blank { display: grid; place-items: center; background: #151515; color: #444; font: 400 60px var(--display); }
.trophy.ours { border-color: var(--gold); box-shadow: 0 0 34px rgba(233, 185, 73, .2); }
.trophy.ours img { filter: none; }
.trophy h3 { font: 400 22px/1.05 var(--display); text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.trophy .holder { font: 700 13px/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase; margin: 6px 0 2px; color: var(--dim); }
.trophy.ours .holder { color: var(--aurora-hi); }
.photo { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.photo.trophy { max-width: 220px; margin: 0 auto; }

/* sign in */
.auth { min-height: calc(100dvh - 40px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.auth-crest { width: 190px; filter: drop-shadow(0 14px 40px rgba(21, 143, 163, .5)); }
.auth-ftf { width: 190px; }
.auth .card { width: 100%; max-width: 380px; }

/* sheet and toast */
#sheet { position: fixed; inset: 0; z-index: 40; display: none; }
#sheet.open { display: block; }
.sheet-back { position: absolute; inset: 0; background: rgba(3, 12, 16, .72); backdrop-filter: blur(3px); }
.sheet-body {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92dvh; overflow-y: auto; margin: 0 auto; max-width: 640px;
  background: var(--panel); border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 22px 16px calc(22px + env(safe-area-inset-bottom));
  animation: up .22s cubic-bezier(.2, .8, .2, 1);
}
.sheet-body, .sheet-body form { display: flex; flex-direction: column; gap: 12px; }
.sheet-body h2 { font: 400 24px/1.1 var(--display); letter-spacing: .02em; color: #fff; margin: 0; padding-right: 44px; }
.sheet-x { position: absolute; right: 8px; top: 10px; width: 44px; height: 44px; background: none; border: 0; color: var(--dim); font-size: 18px; }
.review { max-height: 46dvh; overflow-y: auto; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
#toast {
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 60; opacity: 0; pointer-events: none;
  background: var(--aurora); color: #04170e; font-weight: 700; padding: 10px 18px; border-radius: 99px; transition: .2s; max-width: 90vw; text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { background: var(--loss); color: #200905; }

#main.fresh > * { animation: rise .35s both; }
#main.fresh > *:nth-child(2) { animation-delay: .04s; }
#main.fresh > *:nth-child(3) { animation-delay: .08s; }
#main.fresh > *:nth-child(n + 4) { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (min-width: 700px) { .hero-fox { right: 10px; } .record { font-size: 120px; } }

/* width fixes for controls that sit side by side */
.add-top input:not(.wk-in), .inline input { flex: 1; min-width: 0; width: auto !important; }
.add-top .wk-in { width: 68px !important; }
.add-top select { width: 110px !important; }
.add-row > input, .add-row > select { width: auto !important; min-width: 0; }
.off select { width: 150px !important; }
.off input { width: 100% !important; }
.row.gap .search { width: auto !important; min-width: 0; }
.brand span { white-space: nowrap; font-size: 18px; }
@media (max-width: 430px) { .top-ftf { height: 13px; } .brand span { font-size: 16px; } .brand img { height: 30px; } }

.stats.tight { grid-template-columns: repeat(auto-fit, minmax(52px, 1fr)); gap: 6px; }
.stats.tight b { font-size: 22px; }
.stats.tight div { padding: 10px 2px 8px; }
