.tf-root {
  
  --bg: #08090a; --panel: #121618; --panel-2: #1a2023; --line: #283236;
  --text: #f2f1ea; --muted: #9aa4a6; --accent: #d6cb25; --accent-hot: #efe23a; --accent-ink: #0a0b0b;
  --slate: #2a3b3e;
  --ok: #4cc38a; --danger: #e5604d; --radius: 10px;
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.tf-root, .tf-root * { box-sizing: border-box; }
.tf-root [hidden] { display: none !important; }
.tf-root { background: var(--bg); }
.tf-root {
  margin: 0; color: var(--text); font: 16px/1.5 var(--body);
  
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, transparent 0, var(--bg) 70%),
    radial-gradient(ellipse 60% 50% at 0% 100%, transparent 0, rgba(8,9,10,0) 0),
    radial-gradient(rgba(84,108,114,.30) 1.5px, transparent 2px) 0 0 / 16px 16px,
    var(--bg);
  min-height: 100vh;
}
.tf-root .shell { max-width: 820px; margin: 0 auto; padding: 56px 20px 80px; }
.tf-root .shell.wide { max-width: 1180px; }
.tf-root .masthead { margin-bottom: 28px; }
.tf-root .kicker { font: 600 13px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.tf-root h1 { font: 700 clamp(36px, 6vw, 58px)/.95 var(--head); text-transform: uppercase; letter-spacing: .01em; margin: 12px 0 10px; }
.tf-root h1 span { color: var(--accent); }
.tf-root .hero { position: relative; margin: 0 0 30px; min-height: 290px; }
.tf-root .hero-art {
  position: absolute; inset: 0; border-radius: 14px; overflow: hidden;
  background: url(/brand/lvtt27-bg-2000.webp) 62% 40% / cover no-repeat, #111;
  clip-path: polygon(0 0, 100% 0, 100% 86%, calc(100% - 46px) 100%, 0 100%);
}
.tf-root .hero-art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,9,10,.95) 0%, rgba(8,9,10,.86) 42%, rgba(8,9,10,.25) 72%, rgba(8,9,10,0) 100%); }
.tf-root .hero-copy { position: relative; z-index: 2; padding: 38px 36px 46px; max-width: 64%; }
.tf-root .hero .sub { color: #cfd3d0; }
.tf-root .hero-mascot { position: absolute; z-index: 1; right: 2%; bottom: 0; height: 128%; width: auto; pointer-events: none;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.55)); }
.tf-root .tri { display: flex; gap: 7px; margin-top: 18px; }
.tf-root .tri i { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 12px solid var(--accent); }
.tf-root .tri i:nth-child(2) { opacity: .7; }
.tf-root .tri i:nth-child(3) { opacity: .45; }
.tf-root .tri i:nth-child(4) { opacity: .25; }
.tf-root .hero.compact { min-height: 190px; }
.tf-root .hero.compact .hero-copy { padding: 28px 30px 34px; }
.tf-root .hero.compact h1 { font-size: clamp(32px, 5vw, 44px); }
.tf-root .hero.compact .hero-mascot { height: 122%; }
@media (max-width: 620px) {.tf-root .hero, .tf-root .hero.compact { min-height: 0; margin-top: 34px; }
.tf-root .hero-copy, .tf-root .hero.compact .hero-copy { max-width: 100%; padding: 168px 20px 40px; }
.tf-root .hero-mascot, .tf-root .hero.compact .hero-mascot { height: 230px; top: -34px; bottom: auto; right: 4px; }
.tf-root .hero-art::after { background: linear-gradient(180deg, rgba(8,9,10,.15) 0%, rgba(8,9,10,.55) 38%, rgba(8,9,10,.95) 62%); }
.tf-root .hero .kicker { font-size: 11px; letter-spacing: .16em; }
.tf-root h1 { font-size: 40px; }
.tf-root .hero .sub { font-size: 15px; }}
.tf-root h2 { font: 700 26px/1.1 var(--head); text-transform: uppercase; margin: 34px 0 12px; letter-spacing: .02em; }
.tf-root .sub { color: var(--muted); margin: 0; font-size: 17px; }
.tf-root .muted { color: var(--muted); }
.tf-root .small { font-size: 13px; }
.tf-root a { color: var(--accent); }
.tf-root .card { background: linear-gradient(180deg, rgba(42,59,62,.22), rgba(42,59,62,0) 120px), var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; position: relative; }
.tf-root .card.flush { padding: 0; overflow-x: auto; }
.tf-root .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.tf-root .steps div { background: var(--panel); padding: 16px 18px; font-size: 14px; color: var(--muted); border-top: 3px solid var(--accent); }
.tf-root .steps b { display: block; color: var(--text); font: 700 18px/1.2 var(--head); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }
.tf-root .steps span { color: var(--accent); font: 700 13px var(--head); letter-spacing: .1em; }
@media (max-width: 620px) {.tf-root .steps { grid-template-columns: 1fr; }}
.tf-root fieldset { border: 0; padding: 0; margin: 0; }
.tf-root .section-title { font: 700 21px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.tf-root .section-title::before { content: ""; flex: none; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid var(--accent); }
.tf-root .card.closed .section-title, .tf-root .success .section-title { justify-content: center; }
.tf-root .section-hint { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.tf-root .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.tf-root .grid3 { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 10px; }
@media (max-width: 620px) {.tf-root .grid2, .tf-root .grid3 { grid-template-columns: 1fr; }}
.tf-root .full { grid-column: 1 / -1; }
.tf-root label.f { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.tf-root label.f .opt { color: var(--muted); font-weight: 400; }
.tf-root input[type=text], .tf-root input[type=email], .tf-root select, .tf-root textarea {
  width: 100%; background: var(--panel-2); color: var(--text); border: 1px solid var(--line);
  border-radius: 7px; padding: 11px 12px; font: 15px var(--body); transition: border-color .15s, box-shadow .15s;
}
.tf-root textarea { min-height: 110px; resize: vertical; }
.tf-root select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.tf-root input:focus, .tf-root select:focus, .tf-root textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(214,203,37,.2); }
.tf-root .help { font-size: 13px; color: var(--muted); margin-top: 6px; }
.tf-root .choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tf-root .choice.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 620px) {.tf-root .choice, .tf-root .choice.three { grid-template-columns: 1fr; }}
.tf-root .choice input { position: absolute; opacity: 0; pointer-events: none; }
.tf-root .choice label {
  display: block; cursor: pointer; background: var(--panel-2); border: 1px solid var(--line); border-radius: 9px;
  padding: 16px; transition: border-color .15s, background .15s; height: 100%;
}
.tf-root .choice label b { display: block; font: 700 19px/1.15 var(--head); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 4px; }
.tf-root .choice label span { font-size: 14px; color: var(--muted); }
.tf-root .choice input:checked + label { border-color: var(--accent); background: rgba(214,203,37,.09); box-shadow: inset 0 0 0 1px var(--accent); }
.tf-root .choice input:focus-visible + label { box-shadow: 0 0 0 3px rgba(214,203,37,.35); }
.tf-root .sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.tf-root .sizes input { position: absolute; opacity: 0; }
.tf-root .sizes label { cursor: pointer; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel-2); font-weight: 600; }
.tf-root .sizes input:focus-visible + label { box-shadow: 0 0 0 3px rgba(214,203,37,.35); }
.tf-root .sizes input:checked + label { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.tf-root .chips-sm { margin-top: 10px; gap: 6px; }
.tf-root .chips-sm label { padding: 6px 11px; font-size: 13px; }
.tf-root .need { margin-left: 4px; color: var(--accent); font-weight: 600; font-size: 14px; align-self: center; }
.tf-root .mate { padding: 14px; border: 1px dashed var(--line); border-radius: 8px; margin-top: 10px; }
.tf-root .mate-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px; }
.tf-root .check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.tf-root .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.tf-root .btn {
  display: inline-block; cursor: pointer; border: 0; border-radius: 4px; padding: 12px 24px; text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% 68%, calc(100% - 12px) 100%, 0 100%);
  background: var(--accent); color: var(--accent-ink); font: 700 17px/1 var(--head); text-transform: uppercase; letter-spacing: .06em;
}
.tf-root .btn:hover { background: var(--accent-hot); }
.tf-root .btn.big { letter-spacing: .1em; }
.tf-root .btn.big { width: 100%; padding: 18px; font-size: 21px; }
.tf-root .btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.tf-root .btn.danger { background: var(--danger); color: #fff; }
.tf-root .btn.small { padding: 7px 12px; font-size: 14px; }
.tf-root .btn[disabled] { opacity: .6; cursor: wait; }
.tf-root .errors { background: rgba(229,96,77,.12); border: 1px solid rgba(229,96,77,.5); border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; }
.tf-root .errors ul { margin: 0; padding-left: 18px; }
.tf-root .hp { position: absolute; left: -9999px; }
.tf-root .success { text-align: center; padding: 44px 28px; }
.tf-root .success .badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: rgba(76,195,138,.14); color: var(--ok); font-size: 32px; }
.tf-root .success h2 { margin: 0 0 10px; }
.tf-root .closed { text-align: center; }
.tf-root .status-line { display: flex; align-items: center; gap: 10px; }
.tf-root .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.tf-root .dot.open { background: var(--accent); }
.tf-root .dot.matched { background: var(--ok); }
.tf-root .dot.withdrawn, .tf-root .dot.unplaced { background: var(--danger); }
.tf-root .flash { background: rgba(76,195,138,.12); border: 1px solid rgba(76,195,138,.5); border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; }
.tf-root .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
@media (max-width: 800px) {.tf-root .stats { grid-template-columns: 1fr 1fr; }}
.tf-root .stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.tf-root .stat .n { font: 700 38px/1 var(--head); }
.tf-root .stat .l { text-transform: uppercase; font-size: 12px; letter-spacing: .14em; color: var(--muted); margin-top: 6px; }
.tf-root .stat .s { font-size: 13px; color: var(--muted); }
.tf-root .row-between { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.tf-root .actions { display: flex; gap: 8px; }
.tf-root .warn { color: var(--danger); }
.tf-root table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tf-root table.grid th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tf-root table.grid td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tf-root .pill { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--panel-2); border: 1px solid var(--line); white-space: nowrap; }
.tf-root .pill.solo { color: var(--muted); }
.tf-root .pill.lead { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.tf-root .teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.tf-root .team { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.tf-root .team-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.tf-root .team-head form { margin-left: auto; }
.tf-root .team td { padding: 5px 0; border-bottom: 1px solid var(--line); }
.tf-root .team tr:last-child td { border-bottom: 0; }
.tf-root .choice-btn { display: flex; flex-direction: column; justify-content: flex-start; height: 100%; width: 100%; text-align: left; cursor: pointer; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 9px; padding: 16px; font: inherit; }
.tf-root .choice-btn:hover { border-color: var(--accent); background: rgba(214,203,37,.09); }
.tf-root .choice-btn b { display: block; font: 700 19px/1.15 var(--head); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 4px; }
.tf-root .choice-btn span { font-size: 14px; color: var(--muted); }
.tf-root .choice-btn[disabled] { opacity: .6; cursor: wait; }
.tf-root .choice .f, .tf-root .choice .tiers { grid-column: 1 / -1; }
.tf-root .tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tf-root .choice .tier { display: flex; gap: 10px; align-items: flex-start; background: var(--panel-2); border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; cursor: pointer; }
.tf-root .choice .tier:has(input:checked) { border-color: var(--accent); background: rgba(214,203,37,.09); }
.tf-root .choice .tier input { position: static; opacity: 1; pointer-events: auto; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.tf-root .choice .tier b { display: block; font: 700 17px/1.2 var(--head); text-transform: uppercase; }
.tf-root .choice .tier .small { display: block; margin-top: 2px; }
.tf-root .row-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tf-root .cover .check { margin: 6px 0; }
@media (max-width: 560px) {.tf-root .tiers { grid-template-columns: 1fr; }}
.tf-root table.roster td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.tf-root table.roster tr:last-child td { border-bottom: 0; }
.tf-root .pill.paid { background: rgba(76,195,138,.15); color: var(--ok); border-color: rgba(76,195,138,.5); }
.tf-root .pay { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; }
.tf-root .pay.flagged { background: rgba(229,96,77,.08); border: 1px solid rgba(229,96,77,.45); border-radius: 7px; padding: 10px; }
.tf-root .settings { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 18px; align-items: start; }
.tf-root .settings .sizes label { padding: 7px 14px; }
@media (max-width: 900px) {.tf-root .settings { grid-template-columns: 1fr; }}
.tf-root form.remove { display: flex; gap: 8px; align-items: center; justify-content: flex-end; white-space: nowrap; }
.tf-root form.remove input { width: auto; accent-color: var(--accent); }
.tf-root .build-bar { position: sticky; top: 0; z-index: 5; display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  background: var(--panel-2); border: 1px solid var(--accent); border-radius: 8px; padding: 10px 14px; margin-bottom: 10px; }
.tf-root .build-bar #buildBtn { margin-left: auto; }
.tf-root .build-bar .btn[disabled] { opacity: .4; cursor: not-allowed; }
.tf-root td.pick { white-space: nowrap; }
.tf-root td.pick input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); vertical-align: middle; }
.tf-root .lead-pick { display: block; margin-top: 6px; }
.tf-root .lead-pick input { accent-color: var(--accent); }
.tf-root .override { margin-top: 8px; padding: 8px 10px; border-radius: 6px; background: rgba(214,203,37,.08); border: 1px dashed rgba(214,203,37,.55); }
.tf-root details.add-player > summary { cursor: pointer; list-style: none; margin: 0; }
.tf-root details.add-player > summary::-webkit-details-marker { display: none; }
.tf-root details.add-player > summary::after { content: "+"; margin-left: auto; color: var(--accent); font-size: 24px; }
.tf-root details.add-player[open] > summary::after { content: "−"; }
.tf-root details.add-player[open] > summary { margin-bottom: 8px; }
.tf-root .add-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 16px; align-items: end; }
.tf-root .add-grid .span2 { grid-column: span 2; }
.tf-root .add-grid .checks { display: flex; flex-direction: column; gap: 8px; }
.tf-root .add-grid .check input { width: 18px; height: 18px; }
@media (max-width: 900px) {.tf-root .add-grid { grid-template-columns: 1fr; }
.tf-root .add-grid .span2 { grid-column: auto; }}
.tf-root .team details.replace { margin-top: 10px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 8px; }
.tf-root .team details.replace > summary { cursor: pointer; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: #d6cb25; list-style: none; }
.tf-root .team details.replace > summary::-webkit-details-marker { display: none; }
.tf-root .team details.replace > summary::before { content: '▸ '; }
.tf-root .team details.replace[open] > summary::before { content: '▾ '; }
.tf-root .replace-form { margin-top: 10px; }
.tf-root .replace-form .rp-cols { display: grid; grid-template-columns: 1fr; gap: 12px; }
.tf-root .replace-form .rp-row { display: block; padding: 4px 0; line-height: 1.4; }
.tf-root .replace-form .rp-row .muted { font-size: 12px; }
.tf-root .replace-form .rp-row .pill { vertical-align: middle; }
.tf-root .replace-form .rp-row input { position: static; opacity: 1; width: auto; height: auto; margin: 0 6px 0 0; vertical-align: middle; display: inline-block; }
.tf-root .replace-form .rp-pool { max-height: 220px; overflow: auto; border: 1px solid rgba(255,255,255,.1); border-radius: 4px; padding: 4px 8px; }
.tf-root .replace-form .rp-filter { width: 100%; margin-bottom: 6px; }
.tf-root .replace-form .rp-opts { display: grid; gap: 4px; margin: 12px 0; }
.tf-root .replace-form .rp-opts label { display: block; }
.tf-root .replace-form .actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tf-root .replace-form .rp-opts input { position: static; opacity: 1; width: auto; height: auto; margin: 0 4px 0 0; }
.tf-root { border-radius: 14px; margin: 24px auto; max-width: 900px; text-align: left; }
.tf-root .shell { padding: 72px 24px 48px; }
.tf-root .hero-mascot { max-width: none; max-height: none; height: 118%; filter: drop-shadow(0 8px 16px rgba(0,0,0,.45)); }
.tf-root .hero.compact .hero-mascot { height: 122%; }
@media (max-width: 620px) { .tf-root .shell { padding: 40px 12px 36px; } .tf-root .hero-mascot, .tf-root .hero.compact .hero-mascot { height: 230px; } }
.tf-root .hero h1 span { color: var(--accent); }
.tf-root h1, .tf-root h2, .tf-root p { color: inherit; }
.tf-root { min-height: 0; }
.tf-root .masthead { display: block; background: none; border: 0; padding: 0; position: static; }
.tf-root input, .tf-root select, .tf-root textarea { margin: 0; box-shadow: none; max-width: none; height: auto; }
.tf-root input[type=checkbox] { width: 20px; height: 20px; }
.tf-root textarea { min-height: 110px; }
.tf-root .btn { text-transform: uppercase; }