/* DRAKE MAYE SUPERFANS — V2 MOBILE SPORTS APP */

:root{
  --v2-bg:#070b12;
  --v2-surface:#101722;
  --v2-surface-2:#151e2b;
  --v2-border:#253043;
  --v2-text:#f5f7fa;
  --v2-muted:#8e9bad;
  --v2-blue:#2f81f7;
  --v2-green:#32d583;
  --v2-red:#ff4d5e;
  --v2-ai:#8b5cf6;
}

body{
  background:var(--v2-bg);
  color:var(--v2-text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  margin:0;
  padding-bottom:88px;
}

.wrap{
  width:100%;
  max-width:100%;
  margin:0;
  padding:0 16px 32px;
  box-sizing:border-box;
}

header{
  margin:0 -16px 18px;
  padding:18px 16px 15px;
  background:rgba(7,11,18,.96);
  border-bottom:1px solid var(--v2-border);
  position:sticky;
  top:0;
  z-index:50;
}

header h1{
  margin:0;
  font-size:21px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:-.5px;
}

header .muted{
  margin-top:5px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--v2-muted);
}

#status{
  font-size:10px;
}

.tabs{
  display:none;
}

.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.card,
.trendCard,
.divisionCard{
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:12px;
  box-shadow:none;
}

.card{
  padding:16px;
}

.card h2,
.card h3{
  letter-spacing:-.25px;
}

.muted{
  color:var(--v2-muted);
}

.stat{
  background:var(--v2-surface-2);
  border:1px solid var(--v2-border);
  border-radius:9px;
}

table{
  font-size:12px;
}

th{
  color:var(--v2-muted);
  text-transform:uppercase;
  font-size:10px;
  letter-spacing:.5px;
}

button,
select,
input{
  font-family:inherit;
}

button{
  border-radius:8px;
}

.v2-subnav{
  display:flex;
  gap:20px;
  overflow-x:auto;
  margin:0 -16px 18px;
  padding:0 16px;
  border-bottom:1px solid var(--v2-border);
  scrollbar-width:none;
}

.v2-subnav::-webkit-scrollbar{
  display:none;
}

.v2-subnav button{
  flex:0 0 auto;
  background:none;
  border:0;
  color:var(--v2-muted);
  padding:12px 0 11px;
  font-size:13px;
  font-weight:700;
  border-bottom:2px solid transparent;
}

.v2-subnav button.active{
  color:var(--v2-text);
  border-bottom-color:var(--v2-blue);
}

.v2-bottom{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:100;
  height:68px;
  padding-bottom:env(safe-area-inset-bottom);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:rgba(9,14,22,.97);
  border-top:1px solid var(--v2-border);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.v2-bottom button{
  background:none;
  border:0;
  color:#778497;
  font-size:10px;
  font-weight:700;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:7px 2px;
}

.v2-bottom button span{
  font-size:20px;
  line-height:1;
}

.v2-bottom button.active{
  color:var(--v2-blue);
}

#power .card,
#stocks .card{
  border-color:rgba(139,92,246,.28);
}

#power .v2-subnav button.active,
#stocks .v2-subnav button.active{
  color:#b8a1ff;
  border-bottom-color:var(--v2-ai);
}

@media(min-width:801px){
  body{
    max-width:480px;
    margin:0 auto;
    border-left:1px solid var(--v2-border);
    border-right:1px solid var(--v2-border);
  }
}

/* =========================
   V2 HOME — LEAGUE FEED
   ========================= */

.v2-home{
  padding-bottom:18px;
}

.home-kicker{
  margin-top:4px;
  color:var(--v2-blue);
  font-size:11px;
  font-weight:900;
  letter-spacing:1.4px;
}

.home-title-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin:5px 0 18px;
}

.home-title{
  margin:0;
  font-size:25px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:-.7px;
}

.home-week{
  margin-top:5px;
  color:var(--v2-muted);
  font-size:12px;
}

/* FEATURED STORY */

.home-feature{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 100% 0%,rgba(47,129,247,.18),transparent 45%),
    linear-gradient(145deg,#172131,#0d141f);
  border:1px solid #29364a;
  border-radius:16px;
  padding:21px 18px 20px;
  margin-bottom:25px;
}

.home-feature:after{
  content:"";
  position:absolute;
  width:120px;
  height:120px;
  border-radius:50%;
  right:-55px;
  bottom:-65px;
  background:rgba(47,129,247,.08);
}

.feature-label{
  color:#69a7ff;
  font-size:10px;
  font-weight:900;
  letter-spacing:1.4px;
  margin-bottom:9px;
}

.home-feature h2{
  margin:0 0 10px;
  font-size:25px;
  line-height:1.08;
  font-weight:900;
  letter-spacing:-.6px;
}

.feature-copy{
  position:relative;
  z-index:2;
  color:#d5dce6;
  font-size:14px !important;
  line-height:1.55 !important;
}

/* SECTION HEADERS */

.home-section-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:23px 1px 10px;
}

.home-section-head h3{
  margin:0;
  font-size:17px;
  font-weight:900;
  letter-spacing:-.25px;
}

.home-section-head span{
  color:var(--v2-muted);
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.7px;
}

/* AROUND THE LEAGUE */

.story-feed{
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:13px;
  overflow:hidden;
}

.story-row{
  display:flex;
  gap:13px;
  align-items:flex-start;
  padding:15px 14px;
  border-bottom:1px solid var(--v2-border);
}

.story-row:last-child{
  border-bottom:0;
}

.story-icon{
  flex:0 0 38px;
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:#192332;
  font-size:18px;
}

.story-icon.hot{
  background:#2a1b1c;
}

.story-body{
  min-width:0;
  flex:1;
  font-size:13px;
  line-height:1.45;
}

.story-label{
  margin-bottom:4px;
  color:var(--v2-muted);
  font-size:9px;
  font-weight:900;
  letter-spacing:.9px;
}

.intelligence-story{
  background:
    linear-gradient(90deg,rgba(139,92,246,.08),transparent 70%);
}

.intelligence-story .story-icon{
  color:#c4b5fd;
  background:rgba(139,92,246,.15);
}

.intelligence-story .story-label{
  color:#a78bfa;
}

/* WEEK SNAPSHOT */

.snapshot-scroll{
  display:flex;
  gap:10px;
  overflow-x:auto;
  margin:0 -16px;
  padding:0 16px 5px;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
}

.snapshot-scroll::-webkit-scrollbar{
  display:none;
}

.snapshot-card{
  flex:0 0 145px;
  min-height:91px;
  box-sizing:border-box;
  padding:13px;
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:12px;
  scroll-snap-align:start;
}

.snapshot-card small{
  display:block;
  color:var(--v2-muted);
  font-size:9px;
  font-weight:900;
  letter-spacing:.7px;
  margin-bottom:8px;
}

.snapshot-card b{
  display:block;
  font-size:20px;
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.4px;
}

.snapshot-card span{
  display:block;
  margin-top:6px;
  color:#aeb9c7;
  font-size:11px;
  line-height:1.25;
}

/* MATCHUPS + LEADERS */

.home-matchups,
.home-leaders{
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:13px;
  overflow:hidden;
}

.home-matchups > *,
.home-leaders > *{
  margin-left:0;
  margin-right:0;
}

/* STANDINGS */

.home-standings{
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:13px;
  overflow:hidden;
}

.home-standings table{
  width:100%;
  border-collapse:collapse;
}

.home-standings th,
.home-standings td{
  padding:11px 9px;
  white-space:nowrap;
}

.home-standings tbody tr{
  border-top:1px solid var(--v2-border);
}

.home-standings tbody tr:first-child{
  border-top:0;
}

/* MOBILE POLISH */

@media(max-width:480px){
  .home-title{
    font-size:23px;
  }

  .home-feature{
    margin-left:-2px;
    margin-right:-2px;
  }

  .home-feature h2{
    font-size:23px;
  }

  .home-standings{
    margin-bottom:10px;
  }
}

/* =========================
   V2 HOME — SCOREBOARD
   ========================= */

.home-matchups{
  display:flex;
  gap:10px;
  overflow-x:auto;
  margin:0 -16px;
  padding:0 16px 6px;
  background:none;
  border:0;
  border-radius:0;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
}

.home-matchups::-webkit-scrollbar{
  display:none;
}

.home-game{
  flex:0 0 245px;
  box-sizing:border-box;
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:12px;
  overflow:hidden;
  scroll-snap-align:start;
}

.home-game-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:9px 12px;
  background:#0c121c;
  border-bottom:1px solid var(--v2-border);
  color:var(--v2-muted);
  font-size:9px;
  font-weight:800;
  letter-spacing:.6px;
}

.home-game-top b{
  color:#7faeff;
  font-size:9px;
}

.home-game-team{
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:43px;
  padding:0 13px;
  border-bottom:1px solid rgba(37,48,67,.65);
}

.home-game-team:last-child{
  border-bottom:0;
}

.home-game-name{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:14px;
}

.home-game-score{
  font-size:17px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}

.home-game-team.leading{
  background:rgba(47,129,247,.07);
}

.home-game-team.leading .home-game-name,
.home-game-team.leading .home-game-score{
  color:#fff;
}

.game-arrow{
  color:var(--v2-blue);
  font-size:9px;
}


/* =========================
   V2 HOME — SCORING LEADERS
   ========================= */

.home-leaders{
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:13px;
  overflow:hidden;
}

.leader-row{
  display:grid;
  grid-template-columns:32px 1fr auto;
  align-items:center;
  gap:10px;
  min-height:57px;
  padding:0 14px;
  border-bottom:1px solid var(--v2-border);
}

.leader-row:last-child{
  border-bottom:0;
}

.leader-rank{
  width:26px;
  height:26px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#192332;
  color:var(--v2-muted);
  font-size:11px;
  font-weight:900;
}

.leader-row:first-child .leader-rank{
  background:rgba(47,129,247,.16);
  color:#79adff;
}

.leader-team{
  min-width:0;
}

.leader-team b{
  display:block;
  font-size:14px;
  line-height:1.2;
}

.leader-team span{
  display:block;
  margin-top:3px;
  color:var(--v2-muted);
  font-size:10px;
}

.leader-points{
  text-align:right;
}

.leader-points b{
  display:block;
  font-size:16px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}

.leader-points span{
  display:block;
  margin-top:2px;
  color:var(--v2-muted);
  font-size:9px;
  font-weight:800;
  letter-spacing:.6px;
}


/* =========================
   V2 HOME — STANDINGS SNAPSHOT
   ========================= */

.home-standings{
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:13px;
  overflow:hidden;
}

.standings-head,
.standing-row{
  display:grid;
  grid-template-columns:38px minmax(100px,1fr) 58px 68px;
  align-items:center;
}

.standings-head{
  min-height:32px;
  padding:0 12px;
  background:#0c121c;
  color:var(--v2-muted);
  font-size:8px;
  font-weight:900;
  letter-spacing:.7px;
}

.standings-head span:nth-child(3),
.standings-head span:nth-child(4){
  text-align:right;
}

.standing-row{
  min-height:55px;
  padding:0 12px;
  border-top:1px solid var(--v2-border);
}

.standing-rank{
  color:var(--v2-muted);
  font-size:12px;
  font-weight:900;
}

.standing-team{
  min-width:0;
}

.standing-team b{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
}

.standing-team span{
  display:block;
  margin-top:3px;
  color:var(--v2-muted);
  font-size:9px;
}

.standing-record,
.standing-pf{
  text-align:right;
  font-size:13px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
}

.standing-pf{
  font-weight:900;
}

.standings-more{
  width:100%;
  padding:13px;
  background:#0c121c;
  border:0;
  border-top:1px solid var(--v2-border);
  border-radius:0;
  color:#78aaff;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}


/* =========================
   V2 LEAGUE — FULL STANDINGS
   ========================= */

.league-standings-card{
  padding:0;
  overflow:hidden;
}

.league-standings-card h2{
  margin:4px 14px 2px;
  font-size:22px;
}

.league-standings-card > .muted{
  margin:0 14px 16px;
  font-size:11px;
}

.league-page-kicker{
  margin:14px 14px 0;
  color:#79adff;
  font-size:9px;
  font-weight:900;
  letter-spacing:1px;
}

.full-standings-head,
.full-standing-row{
  display:grid;
  grid-template-columns:28px minmax(100px,1fr) 42px 62px 62px;
  align-items:center;
  gap:5px;
}

.full-standings-head{
  min-height:31px;
  padding:0 12px;
  background:#0c121c;
  border-top:1px solid var(--v2-border);
  border-bottom:1px solid var(--v2-border);
  color:var(--v2-muted);
  font-size:8px;
  font-weight:900;
  letter-spacing:.6px;
}

.full-standings-head span:nth-child(n+3){
  text-align:right;
}

.full-standing-row{
  min-height:52px;
  padding:0 12px;
  border-bottom:1px solid var(--v2-border);
}

.full-standing-row:last-child{
  border-bottom:0;
}

.full-standing-rank{
  color:var(--v2-muted);
  font-size:11px;
  font-weight:900;
}

.full-standing-team{
  min-width:0;
}

.full-standing-team b{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
}

.full-standing-team span{
  display:block;
  margin-top:3px;
  color:var(--v2-muted);
  font-size:9px;
}

.full-standing-record,
.full-standing-stat{
  text-align:right;
  font-size:12px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
}

.full-standing-record{
  color:#fff;
}

.full-standing-stat{
  color:#c5ceda;
}


/* =========================
   V2 LEAGUE — MATCHUPS
   ========================= */

.v2-league-matchups{
  padding-bottom:20px;
}

.league-page-header{
  padding:4px 0 14px;
}

.league-page-header .league-page-kicker{
  margin:0 0 4px;
}

.league-page-header h2{
  margin:0;
  font-size:25px;
  line-height:1.1;
}

.league-page-header p{
  margin:5px 0 0;
  color:var(--v2-muted);
  font-size:11px;
}

/* Week controls */

.week-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:22px;
  padding:10px 12px;
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:12px;
}

.week-picker{
  display:flex;
  align-items:center;
  gap:9px;
}

.week-picker span{
  color:var(--v2-muted);
  font-size:9px;
  font-weight:900;
  letter-spacing:.8px;
}

.week-picker select{
  min-width:88px;
  padding:8px 28px 8px 10px;
  background:#0c121c;
  border:1px solid var(--v2-border);
  border-radius:8px;
  color:#fff;
  font-size:12px;
  font-weight:800;
}

.week-refresh{
  padding:8px 11px;
  background:#172235;
  border:1px solid #293a54;
  border-radius:8px;
  color:#8db8ff;
  font-size:10px;
  font-weight:800;
}

/* Section headers */

.league-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin:0 1px 9px;
}

.league-section-head h3{
  margin:0;
  font-size:16px;
}

.league-section-head > span{
  color:var(--v2-muted);
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.5px;
}

/* Matchup area */

.league-matchup-list{
  display:grid;
  gap:9px;
  margin-bottom:25px;
}

/* Transactions */

.transactions-heading{
  align-items:center;
}

.transactions-heading > div{
  min-width:0;
}

.transactions-heading > div > span{
  display:block;
  margin-top:2px;
  color:var(--v2-muted);
  font-size:9px;
}

.league-transactions{
  display:grid;
  gap:8px;
}


/* =========================
   V2 LEAGUE — MATCHUP CARDS
   ========================= */

.league-game{
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:13px;
  overflow:hidden;
}

.league-game-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:9px 13px;
  background:#0c121c;
  border-bottom:1px solid var(--v2-border);
  color:var(--v2-muted);
  font-size:9px;
  font-weight:900;
  letter-spacing:.6px;
}

.league-game-top b{
  color:#7faeff;
  font-size:9px;
}

.league-game-team{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:58px;
  padding:0 14px;
  border-bottom:1px solid rgba(37,48,67,.7);
}

.league-game-manager{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.league-game-manager > div{
  min-width:0;
}

.league-game-manager b{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:15px;
}

.league-game-manager span:not(.league-winner-arrow){
  display:block;
  margin-top:3px;
  color:var(--v2-muted);
  font-size:9px;
}

.league-game-score{
  margin-left:12px;
  font-size:21px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}

.league-game-team.winner{
  background:rgba(47,129,247,.07);
}

.league-game-team.winner .league-game-manager b,
.league-game-team.winner .league-game-score{
  color:#fff;
}

.league-winner-arrow{
  color:var(--v2-blue);
  font-size:9px;
}

.league-game-footer{
  padding:8px 13px;
  background:#0c121c;
  color:var(--v2-muted);
  font-size:9px;
  font-weight:700;
}


/* =========================
   V2 LEAGUE — TRANSACTIONS
   ========================= */

.transaction-card{
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:12px;
  overflow:hidden;
}

.transaction-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 12px;
  background:#0c121c;
  border-bottom:1px solid var(--v2-border);
}

.transaction-top > b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
}

.transaction-status{
  flex-shrink:0;
  color:var(--v2-muted);
  font-size:8px;
  font-weight:900;
  letter-spacing:.6px;
}

.transaction-moves{
  padding:4px 0;
}

.transaction-move{
  display:grid;
  grid-template-columns:45px 1fr;
  align-items:center;
  gap:9px;
  min-height:48px;
  padding:0 12px;
}

.transaction-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:39px;
  padding:4px 0;
  border-radius:5px;
  font-size:8px;
  font-weight:900;
  letter-spacing:.5px;
}

.transaction-action.add{
  background:rgba(46,160,67,.13);
  color:#63d47b;
}

.transaction-action.drop{
  background:rgba(248,81,73,.12);
  color:#ff7b72;
}

.transaction-player{
  min-width:0;
}

.transaction-player b{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
}

.transaction-player span{
  display:block;
  margin-top:2px;
  color:var(--v2-muted);
  font-size:9px;
}

.transaction-footer{
  padding:8px 12px;
  background:#0c121c;
  border-top:1px solid var(--v2-border);
  color:#f1c75b;
  font-size:9px;
  font-weight:900;
  letter-spacing:.4px;
}

.transaction-generic,
.transaction-empty{
  padding:14px 12px;
  color:var(--v2-muted);
  font-size:11px;
}

.transaction-empty{
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:12px;
  text-align:center;
}


/* =========================
   V2 LEAGUE — TEAM DIRECTORY
   ========================= */

.team-directory{
  display:grid;
  gap:10px;
}

.team-profile-card{
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:13px;
  overflow:hidden;
}

.team-profile-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px 14px 11px;
  background:#0c121c;
  border-bottom:1px solid var(--v2-border);
}

.team-profile-label{
  display:block;
  margin-bottom:3px;
  color:var(--v2-muted);
  font-size:8px;
  font-weight:900;
  letter-spacing:.8px;
}

.team-profile-top h3{
  margin:0;
  font-size:17px;
  line-height:1.15;
}

.team-profile-record{
  flex-shrink:0;
  text-align:right;
}

.team-profile-record b{
  display:block;
  font-size:19px;
  font-weight:900;
}

.team-profile-record span{
  display:block;
  margin-top:2px;
  color:var(--v2-muted);
  font-size:9px;
  font-weight:800;
}

/* Primary season stats */

.team-profile-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-bottom:1px solid var(--v2-border);
}

.team-profile-stats > div{
  padding:11px 10px;
  border-right:1px solid var(--v2-border);
}

.team-profile-stats > div:last-child{
  border-right:0;
}

.team-profile-stats span,
.team-profile-form span{
  display:block;
  margin-bottom:4px;
  color:var(--v2-muted);
  font-size:7px;
  font-weight:900;
  letter-spacing:.55px;
}

.team-profile-stats b{
  display:block;
  font-size:14px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}

.team-profile-stats .positive{
  color:#63d47b;
}

.team-profile-stats .negative{
  color:#ff7b72;
}

/* Recent performance */

.team-profile-form{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  padding:10px 14px;
}

.team-profile-form > div{
  text-align:left;
}

.team-profile-form b{
  font-size:12px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
}

/* Trend badges */

.team-profile-badges{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  padding:0 14px 13px;
}

.team-badge{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 8px;
  background:#17202d;
  border:1px solid #273447;
  border-radius:20px;
  color:#c6d0dc;
  font-size:8px;
  font-weight:800;
  white-space:nowrap;
}

.team-badge.trend{
  background:rgba(47,129,247,.09);
  border-color:rgba(47,129,247,.25);
  color:#8ab6ff;
}


/* =========================
   V2 LEAGUE — DIVISIONS
   ========================= */

.division-directory{
  display:grid;
  gap:12px;
}

.division-race-card{
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:13px;
  overflow:hidden;
}

.division-race-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px 14px;
  background:#0c121c;
  border-bottom:1px solid var(--v2-border);
}

.division-label,
.division-leader span{
  display:block;
  margin-bottom:3px;
  color:var(--v2-muted);
  font-size:8px;
  font-weight:900;
  letter-spacing:.8px;
}

.division-race-top h3{
  margin:0;
  font-size:18px;
}

.division-leader{
  max-width:55%;
  text-align:right;
}

.division-leader b{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#8ab6ff;
  font-size:13px;
}

/* Division narrative */

.division-story{
  padding:11px 14px;
  border-bottom:1px solid var(--v2-border);
  color:#c3ccd8;
  font-size:10px;
  line-height:1.45;
}

/* Standings header */

.division-table-head,
.division-team-row{
  display:grid;
  grid-template-columns:26px minmax(100px,1fr) 45px 65px;
  align-items:center;
  gap:5px;
}

.division-table-head{
  min-height:28px;
  padding:0 12px;
  background:#0a1018;
  color:var(--v2-muted);
  font-size:7px;
  font-weight:900;
  letter-spacing:.6px;
}

.division-table-head span:nth-child(3),
.division-table-head span:nth-child(4){
  text-align:right;
}

/* Division teams */

.division-team-row{
  min-height:49px;
  padding:0 12px;
  border-top:1px solid rgba(37,48,67,.7);
}

.division-rank{
  color:var(--v2-muted);
  font-size:10px;
  font-weight:900;
}

.division-team{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
}

.division-team > div{
  min-width:0;
}

.division-team b{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
}

.division-team span:not(.division-arrow){
  display:block;
  margin-top:2px;
  color:var(--v2-muted);
  font-size:8px;
}

.division-record,
.division-pf{
  text-align:right;
  font-size:11px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
}

.division-pf{
  color:#c5ceda;
}

.division-first{
  background:rgba(47,129,247,.06);
}

.division-first .division-team b,
.division-first .division-record,
.division-first .division-pf{
  color:#fff;
}

.division-arrow{
  color:var(--v2-blue);
  font-size:8px;
}


/* =========================
   V2 INTELLIGENCE
   ========================= */

.v2-intelligence{
  padding-bottom:22px;
}

.intelligence-header{
  position:relative;
  margin-bottom:12px;
  padding:17px 15px;
  overflow:hidden;
  background:
    radial-gradient(circle at 90% 0%,rgba(139,92,246,.20),transparent 42%),
    radial-gradient(circle at 10% 100%,rgba(47,129,247,.12),transparent 45%),
    var(--v2-surface);
  border:1px solid rgba(139,92,246,.24);
  border-radius:14px;
}

.intelligence-kicker{
  margin-bottom:5px;
  color:#a78bfa;
  font-size:8px;
  font-weight:900;
  letter-spacing:1px;
}

.intelligence-header h2{
  margin:0;
  font-size:25px;
}

.intelligence-header p{
  margin:5px 0 0;
  color:var(--v2-muted);
  font-size:11px;
}

/* Engine status */

.intelligence-status{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:22px;
  padding:9px 12px;
  background:#0c121c;
  border:1px solid var(--v2-border);
  border-radius:10px;
}

.intel-dot{
  width:7px;
  height:7px;
  flex-shrink:0;
  background:#a78bfa;
  border-radius:50%;
  box-shadow:0 0 9px rgba(167,139,250,.65);
}

.intelligence-status b{
  display:block;
  font-size:10px;
}

.intelligence-status div span{
  display:block;
  margin-top:2px;
  color:var(--v2-muted);
  font-size:8px;
}

.intelligence-section-head{
  margin-bottom:9px;
}

.intelligence-section-head > span{
  color:#a78bfa;
}

/* Rankings */

.power-ranking-list{
  display:grid;
  gap:10px;
}

.power-card{
  overflow:hidden;
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:13px;
}

.power-card-first{
  border-color:rgba(139,92,246,.42);
  box-shadow:0 0 20px rgba(139,92,246,.07);
}

.power-card-top{
  display:grid;
  grid-template-columns:47px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:12px 13px;
  background:#0c121c;
  border-bottom:1px solid var(--v2-border);
}

.power-rank{
  color:#9f83ff;
  font-size:23px;
  font-weight:950;
  letter-spacing:-1px;
}

.power-card-first .power-rank{
  color:#b69cff;
  text-shadow:0 0 13px rgba(139,92,246,.35);
}

.power-team{
  min-width:0;
}

.power-team > span{
  display:block;
  margin-bottom:2px;
  color:var(--v2-muted);
  font-size:7px;
  font-weight:900;
  letter-spacing:.7px;
}

.power-team h3{
  margin:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:16px;
}

.power-record{
  text-align:right;
}

.power-record b{
  display:block;
  font-size:16px;
  font-weight:900;
}

.power-record span{
  display:block;
  margin-top:2px;
  color:var(--v2-muted);
  font-size:7px;
  font-weight:900;
  letter-spacing:.5px;
}

/* Evidence metrics */

.power-metrics{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-bottom:1px solid var(--v2-border);
}

.power-metrics > div{
  padding:10px 12px;
  border-right:1px solid var(--v2-border);
}

.power-metrics > div:last-child{
  border-right:0;
}

.power-metrics span{
  display:block;
  margin-bottom:3px;
  color:var(--v2-muted);
  font-size:7px;
  font-weight:900;
  letter-spacing:.5px;
}

.power-metrics b{
  font-size:13px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}

/* Intelligence explanation */

.power-evidence{
  padding:11px 13px;
}

.power-evidence-label{
  margin-bottom:5px;
  color:#a78bfa;
  font-size:7px;
  font-weight:900;
  letter-spacing:.8px;
}

.power-evidence p{
  margin:0;
  color:#c5ceda;
  font-size:10px;
  line-height:1.5;
}

.power-card-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:8px 13px;
  background:#0c121c;
  border-top:1px solid var(--v2-border);
  color:var(--v2-muted);
  font-size:8px;
  font-weight:800;
}

.power-trend{
  color:#a78bfa;
}

/* Commissioner controls */

.commissioner-panel{
  margin-top:22px;
  padding:14px;
  background:#0c121c;
  border:1px dashed #37445a;
  border-radius:13px;
}

.commissioner-panel-head > span{
  display:block;
  margin-bottom:3px;
  color:#a78bfa;
  font-size:7px;
  font-weight:900;
  letter-spacing:.8px;
}

.commissioner-panel-head h3{
  margin:0;
  font-size:15px;
}

.commissioner-panel > p{
  margin:7px 0 12px;
  color:var(--v2-muted);
  font-size:9px;
  line-height:1.45;
}

.power-editor-controls{
  display:grid;
  gap:8px;
}

.power-editor-controls input{
  width:100%;
  box-sizing:border-box;
}


/* =========================
   V2 INTELLIGENCE — PLAYER STOCK
   ========================= */

.stock-section{
  margin-bottom:24px;
}

.stock-list{
  display:grid;
  gap:10px;
}

.stock-card{
  overflow:hidden;
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:13px;
}

/* Signal accents */

.stock-card.stock-up{
  border-left:3px solid #35c46a;
}

.stock-card.stock-heating{
  border-left:3px solid #f59e0b;
}

.stock-card.stock-cooling{
  border-left:3px solid #60a5fa;
}

.stock-card.stock-down{
  border-left:3px solid #ef5350;
}

/* Player header */

.stock-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 13px;
  background:#0c121c;
  border-bottom:1px solid var(--v2-border);
}

.stock-player{
  min-width:0;
}

.stock-player > span{
  display:block;
  margin-bottom:3px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--v2-muted);
  font-size:8px;
  font-weight:900;
  letter-spacing:.5px;
  text-transform:uppercase;
}

.stock-player h3{
  margin:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:16px;
}

.stock-signal{
  flex-shrink:0;
  text-align:right;
}

.stock-signal > span{
  display:block;
  margin-bottom:2px;
  font-size:15px;
}

.stock-signal b{
  display:block;
  font-size:8px;
  font-weight:950;
  letter-spacing:.5px;
}

.stock-up .stock-signal b{
  color:#5bd980;
}

.stock-heating .stock-signal b{
  color:#f5b942;
}

.stock-cooling .stock-signal b{
  color:#79b7ff;
}

.stock-down .stock-signal b{
  color:#ff6b68;
}

/* Weekly production */

.stock-week-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-bottom:1px solid var(--v2-border);
}

.stock-week-strip > div{
  padding:9px 10px;
  text-align:center;
  border-right:1px solid var(--v2-border);
}

.stock-week-strip > div:last-child{
  border-right:0;
}

.stock-week-strip span{
  display:block;
  margin-bottom:3px;
  color:var(--v2-muted);
  font-size:7px;
  font-weight:900;
  letter-spacing:.5px;
}

.stock-week-strip b{
  display:block;
  font-size:13px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}

/* Analysis */

.stock-analysis{
  padding:11px 13px;
}

.stock-analysis > span{
  display:block;
  margin-bottom:5px;
  color:#a78bfa;
  font-size:7px;
  font-weight:900;
  letter-spacing:.8px;
}

.stock-analysis p{
  margin:0;
  color:#c5ceda;
  font-size:10px;
  line-height:1.5;
}

/* Footer */

.stock-card-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:8px 13px;
  background:#0c121c;
  border-top:1px solid var(--v2-border);
  color:var(--v2-muted);
  font-size:7px;
  font-weight:900;
  letter-spacing:.4px;
}

.stock-admin-actions{
  display:flex;
  gap:7px;
  padding:9px 13px;
  border-top:1px solid var(--v2-border);
}

.stock-admin-actions button{
  flex:1;
  min-height:32px;
}

/* Empty states */

.stock-list > .muted{
  margin:0;
  padding:18px 14px;
  text-align:center;
  background:var(--v2-surface);
  border:1px dashed var(--v2-border);
  border-radius:12px;
  font-size:10px;
}

/* Commissioner stock editor */

.stock-editor{
  margin-top:8px;
}

.stock-editor-controls{
  display:grid;
  gap:8px;
}

.stock-editor-controls input,
.stock-editor-controls select,
.stock-editor-controls button{
  width:100%;
  box-sizing:border-box;
}


/* =========================
   V2 THE PAPER — NEWSROOM
   ========================= */

.v2-paper{
  padding-bottom:24px;
}

/* Masthead */

.paper-masthead{
  margin-bottom:13px;
  padding:14px 2px 10px;
}

.paper-brand{
  color:#fff;
  font-size:29px;
  font-weight:950;
  letter-spacing:-1.4px;
  line-height:1;
}

.paper-rule{
  height:3px;
  margin:8px 0 6px;
  background:#fff;
}

.paper-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:var(--v2-muted);
  font-size:7px;
  font-weight:900;
  letter-spacing:.8px;
}

/* Featured edition */

.paper-feature{
  position:relative;
  margin-bottom:24px;
  padding:17px 15px;
  overflow:hidden;
  background:
    linear-gradient(145deg,rgba(47,129,247,.12),transparent 55%),
    var(--v2-surface);
  border:1px solid var(--v2-border);
  border-top:3px solid #fff;
  border-radius:4px 4px 13px 13px;
}

.paper-feature-label{
  margin-bottom:8px;
  color:#8ab6ff;
  font-size:8px;
  font-weight:950;
  letter-spacing:.9px;
}

.paper-feature h2{
  max-width:300px;
  margin:0;
  font-size:25px;
  line-height:1.03;
  letter-spacing:-.7px;
}

.paper-feature p{
  margin:10px 0 15px;
  color:#b8c2cf;
  font-size:10px;
  line-height:1.5;
}

.paper-feature-actions{
  display:flex;
  gap:8px;
}

.paper-feature-actions a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 13px;
  background:#f4f6f8;
  border:1px solid #f4f6f8;
  border-radius:7px;
  color:#080c12;
  font-size:9px;
  font-weight:900;
  text-decoration:none;
}

.paper-feature-actions a.secondary{
  background:transparent;
  border-color:#394559;
  color:#d5dce5;
}

/* Archive heading */

.paper-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-bottom:9px;
}

.paper-section-head > div > span{
  display:block;
  margin-bottom:2px;
  color:var(--v2-muted);
  font-size:7px;
  font-weight:900;
  letter-spacing:.7px;
}

.paper-section-head h3{
  margin:0;
  font-size:17px;
}

.paper-section-head > span{
  color:#8ab6ff;
  font-size:8px;
  font-weight:900;
  letter-spacing:.6px;
}

/* Edition archive */

.paper-archive{
  display:grid;
  gap:9px;
}

.paper-edition{
  display:grid;
  grid-template-columns:47px minmax(0,1fr);
  overflow:hidden;
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:11px;
}

.paper-edition-number{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:14px;
  background:#0b111a;
  border-right:1px solid var(--v2-border);
  color:#68768a;
  font-size:20px;
  font-weight:950;
  letter-spacing:-1px;
}

.paper-edition-copy{
  min-width:0;
  padding:12px;
}

.paper-edition-copy > span{
  display:block;
  margin-bottom:4px;
  color:#8ab6ff;
  font-size:7px;
  font-weight:900;
  letter-spacing:.6px;
}

.paper-edition-copy h3{
  margin:0;
  font-size:14px;
}

.paper-edition-copy p{
  margin:6px 0 9px;
  color:var(--v2-muted);
  font-size:9px;
  line-height:1.45;
}

.paper-edition-actions a{
  color:#f3f6fa;
  font-size:9px;
  font-weight:900;
  text-decoration:none;
}

/* Future newsroom */

.paper-coming{
  margin-top:22px;
  padding:14px;
  background:#0c121c;
  border:1px dashed #354156;
  border-radius:12px;
}

.paper-coming > span{
  display:block;
  margin-bottom:4px;
  color:#8ab6ff;
  font-size:7px;
  font-weight:900;
  letter-spacing:.8px;
}

.paper-coming h3{
  margin:0;
  font-size:15px;
}

.paper-coming p{
  margin:6px 0 0;
  color:var(--v2-muted);
  font-size:9px;
  line-height:1.5;
}


/* =========================
   V2 THE PAPER — SIDE POT
   ========================= */

.sidepot-hero{
  margin-bottom:24px;
  padding:16px 15px;
  background:
    linear-gradient(145deg,rgba(47,129,247,.10),transparent 58%),
    var(--v2-surface);
  border:1px solid var(--v2-border);
  border-top:3px solid #fff;
  border-radius:4px 4px 13px 13px;
}

.sidepot-hero-label{
  margin-bottom:6px;
  color:#8ab6ff;
  font-size:8px;
  font-weight:950;
  letter-spacing:.8px;
}

.sidepot-hero h2{
  margin:0;
  font-size:25px;
  letter-spacing:-.6px;
}

.sidepot-hero p{
  margin:7px 0 0;
  color:var(--v2-muted);
  font-size:10px;
  line-height:1.5;
}

/* Weekly ledger */

.sidepot-ledger{
  display:grid;
  gap:10px;
}

.sidepot-week-card{
  overflow:hidden;
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:12px;
}

.sidepot-week-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:11px 13px;
  background:#0b111a;
  border-bottom:1px solid var(--v2-border);
}

.sidepot-week-head > div:first-child > span{
  display:block;
  margin-bottom:2px;
  color:var(--v2-muted);
  font-size:7px;
  font-weight:900;
  letter-spacing:.7px;
}

.sidepot-week-head h3{
  margin:0;
  font-size:17px;
}

.sidepot-week-badge{
  padding:4px 7px;
  background:rgba(47,129,247,.10);
  border:1px solid rgba(47,129,247,.25);
  border-radius:5px;
  color:#8ab6ff;
  font-size:7px;
  font-weight:950;
  letter-spacing:.5px;
}

.sidepot-participants{
  padding:10px 13px;
  border-bottom:1px solid var(--v2-border);
}

.sidepot-participants span,
.sidepot-results span{
  display:block;
  margin-bottom:4px;
  color:var(--v2-muted);
  font-size:7px;
  font-weight:900;
  letter-spacing:.5px;
}

.sidepot-participants b{
  display:block;
  font-size:12px;
  line-height:1.35;
}

.sidepot-results{
  display:grid;
  grid-template-columns:1fr 1fr;
}

.sidepot-results > div{
  min-width:0;
  padding:11px 13px;
}

.sidepot-results > div:first-child{
  border-right:1px solid var(--v2-border);
}

.sidepot-results b{
  display:block;
  overflow-wrap:anywhere;
  font-size:11px;
  line-height:1.4;
}

.sidepot-card-admin{
  padding:8px 13px;
  background:#0b111a;
  border-top:1px solid var(--v2-border);
}

.sidepot-card-admin button{
  width:100%;
  min-height:31px;
  color:#ff7774;
}

/* Empty state */

.sidepot-empty{
  padding:24px 15px;
  text-align:center;
  background:var(--v2-surface);
  border:1px dashed var(--v2-border);
  border-radius:12px;
}

.sidepot-empty > span{
  display:block;
  margin-bottom:7px;
  font-size:22px;
}

.sidepot-empty b{
  display:block;
  font-size:12px;
}

.sidepot-empty p{
  margin:5px auto 0;
  max-width:260px;
  color:var(--v2-muted);
  font-size:9px;
  line-height:1.45;
}

/* Commissioner controls */

.sidepot-admin{
  margin-top:22px;
}

.sidepot-unlock{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:7px;
}

.sidepot-unlock input{
  min-width:0;
  width:100%;
  box-sizing:border-box;
}

.sidepot-editor{
  margin-top:13px;
  padding-top:13px;
  border-top:1px solid var(--v2-border);
}

.sidepot-editor-fields{
  display:grid;
  gap:8px;
}

.sidepot-editor-fields input,
.sidepot-editor-fields select,
.sidepot-editor-fields button{
  width:100%;
  box-sizing:border-box;
}

.sidepot-import{
  margin-top:15px;
  padding-top:12px;
  border-top:1px solid var(--v2-border);
}

.sidepot-import > span{
  display:block;
  color:var(--v2-muted);
  font-size:7px;
  font-weight:900;
  letter-spacing:.7px;
}

.sidepot-import p{
  margin:4px 0 8px;
  color:var(--v2-muted);
  font-size:9px;
}

.sidepot-import button{
  width:100%;
}


/* =========================
   V2 THE PAPER — RECORD BOOK
   ========================= */

.records-hero{
  margin-bottom:24px;
  padding:16px 15px;
  background:
    linear-gradient(145deg,rgba(47,129,247,.09),transparent 58%),
    var(--v2-surface);
  border:1px solid var(--v2-border);
  border-top:3px solid #fff;
  border-radius:4px 4px 13px 13px;
}

.records-hero-label{
  margin-bottom:6px;
  color:#8ab6ff;
  font-size:8px;
  font-weight:950;
  letter-spacing:.8px;
}

.records-hero h2{
  margin:0;
  font-size:25px;
  letter-spacing:-.6px;
}

.records-hero p{
  margin:7px 0 0;
  color:var(--v2-muted);
  font-size:10px;
  line-height:1.5;
}

.records-section{
  margin-bottom:25px;
}

.records-list{
  display:grid;
  gap:9px;
}

.record-book-card{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:68px;
  padding:11px 13px;
  background:var(--v2-surface);
  border:1px solid var(--v2-border);
  border-radius:11px;
}

.record-book-card.record-featured{
  background:
    linear-gradient(100deg,rgba(47,129,247,.10),transparent 65%),
    var(--v2-surface);
  border-left:3px solid var(--v2-blue);
}

.record-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 38px;
  width:38px;
  height:38px;
  background:#0b111a;
  border:1px solid var(--v2-border);
  border-radius:9px;
  font-size:18px;
}

.record-copy{
  min-width:0;
  flex:1;
}

.record-copy span{
  display:block;
  margin-bottom:3px;
  color:var(--v2-muted);
  font-size:7px;
  font-weight:950;
  letter-spacing:.65px;
}

.record-copy h3{
  margin:0 0 3px;
  overflow-wrap:anywhere;
  font-size:13px;
  line-height:1.25;
}

.record-copy b{
  display:block;
  color:#b8c4d3;
  font-size:9px;
  font-weight:750;
  line-height:1.35;
}

.record-featured .record-copy b{
  color:#8ab6ff;
}

.records-footer-note{
  margin-top:4px;
  padding:13px;
  background:#0b111a;
  border:1px solid var(--v2-border);
  border-radius:10px;
}

.records-footer-note span{
  display:block;
  margin-bottom:4px;
  color:var(--v2-muted);
  font-size:7px;
  font-weight:950;
  letter-spacing:.7px;
}

.records-footer-note p{
  margin:0;
  color:#a9b4c2;
  font-size:9px;
  line-height:1.5;
}

