@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");
@media (min-width: 901px) {
  body main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
  }
  body footer {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
  }
}
.player-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: left;
}
.player-link:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.decision[data-player] {
  cursor: pointer;
}
.player-tools {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) repeat(3, minmax(130px, auto));
  gap: 9px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.player-tools input,
.player-tools select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #081510;
  color: var(--ink);
  outline: 0;
}
.player-tools input:focus,
.player-tools select:focus {
  border-color: var(--green);
}
.league-matchups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.matchup-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
}
.matchup-card > span {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.matchup-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 9px;
}
.matchup-card div + div {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.league-rosters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.league-rosters details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}
.league-rosters summary b,
.league-rosters summary small {
  display: block;
}
.league-rosters summary small,
.league-rosters summary em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}
.roster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.modal[hidden] {
  display: none;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 7, 5, 0.76);
  backdrop-filter: blur(7px);
}
.player-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(720px, 100%);
  height: 100%;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: #081510;
  box-shadow: -30px 0 80px #0008;
}
.modal-close {
  position: sticky;
  top: 14px;
  z-index: 3;
  float: right;
  width: 38px;
  height: 38px;
  margin: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #10231c;
  color: var(--ink);
  font-size: 23px;
}
.drawer-loading {
  display: grid;
  place-items: center;
  align-content: center;
  height: 70vh;
  color: var(--muted);
}
.player-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 70px 30px 28px;
  background:
    radial-gradient(circle at 90% 0, rgba(67, 216, 148, 0.18), transparent 45%),
    var(--card);
}
.player-hero h2 {
  margin: 5px 0;
  font: 800 34px Manrope;
}
.player-hero p {
  margin: 4px 0;
  color: var(--muted);
}
.player-hero > div > .pos {
  margin-bottom: 12px;
}
.player-hero > b {
  color: var(--gold);
  font: 800 42px Manrope;
  text-align: right;
}
.player-hero > b small {
  display: block;
  color: var(--muted);
  font: 500 9px "DM Sans";
}
.player-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.player-metrics div {
  padding: 17px;
  background: #0d1d18;
}
.player-metrics small,
.player-metrics b {
  display: block;
}
.player-metrics small {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}
.player-metrics b {
  margin-top: 4px;
  font: 800 20px Manrope;
}
.player-outlook,
.player-news {
  padding: 24px 28px;
}
.player-outlook {
  border-bottom: 1px solid var(--line);
}
.player-outlook > p:last-child {
  color: #b2c6bd;
  line-height: 1.7;
}
.player-news article {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.player-news article span {
  color: var(--faint);
  font-size: 9px;
}
.player-news article h3 {
  margin: 6px 0;
  font: 750 16px Manrope;
}
.player-news article p {
  color: #a6bbb1;
  line-height: 1.65;
  white-space: pre-line;
}
@media (max-width: 900px) {
  .player-tools {
    grid-template-columns: 1fr 1fr;
  }
  .player-tools input {
    grid-column: 1/-1;
  }
  .league-matchups,
  .league-rosters {
    grid-template-columns: 1fr;
  }
  .roster-grid {
    grid-template-columns: 1fr;
  }
  .player-drawer {
    width: 100%;
  }
  .player-hero {
    padding: 65px 20px 22px;
  }
  .player-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .player-outlook,
  .player-news {
    padding: 20px;
  }
  .topbar nav {
    justify-content: flex-start;
  }
  .topbar nav button {
    min-width: 76px;
  }
}
:root {
  --ink: #e9f2ed;
  --muted: #8ca69c;
  --faint: #587269;
  --bg: #06100d;
  --bg2: #091713;
  --card: #0d1d18;
  --card2: #11241d;
  --line: #203b31;
  --green: #43d894;
  --green2: #1aa86a;
  --gold: #f1bf61;
  --red: #ff7069;
  --blue: #6fb9ff;
  --purple: #bb91ff;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  color-scheme: dark;
}
body {
  margin: 0;
  background:
    radial-gradient(
      circle at 15% -10%,
      rgba(32, 157, 102, 0.15),
      transparent 28%
    ),
    var(--bg);
  color: var(--ink);
  font:
    14px/1.45 "DM Sans",
    system-ui,
    sans-serif;
}
button,
input {
  font: inherit;
}
button,
a {
  color: inherit;
}
button {
  cursor: pointer;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  display: grid;
  grid-template-columns: 270px 1fr 270px;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid rgba(91, 135, 117, 0.22);
  background: rgba(6, 16, 13, 0.9);
  backdrop-filter: blur(18px);
}
.identity {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.identity b,
.identity small {
  display: block;
}
.identity b {
  font: 800 15px Manrope;
}
.identity small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mini-crest,
.crest {
  display: grid;
  place-items: center;
  border: 1px solid #d4a64f;
  background: linear-gradient(145deg, #f3ca76, #9a6927);
  color: #14241c;
  font: 800 12px Manrope;
  box-shadow: inset 0 0 0 2px rgba(8, 21, 16, 0.4);
}
.mini-crest {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}
nav {
  justify-self: center;
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #081510;
}
nav button {
  padding: 8px 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
nav button.active {
  background: var(--card2);
  color: var(--ink);
  box-shadow: 0 2px 10px #0004;
}
.top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
}
.live-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
}
.live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.live-pill.ok i {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.icon-button,
.logout {
  display: grid;
  place-items: center;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  text-decoration: none;
}
.icon-button {
  width: 34px;
  font-size: 18px;
}
.logout {
  padding: 0 11px;
  color: var(--muted);
  font-size: 11px;
}
main {
  max-width: 1600px;
  min-height: calc(100vh - 120px);
  margin: auto;
  padding: 24px 28px 60px;
}
.loading {
  display: grid;
  place-items: center;
  align-content: center;
  height: 65vh;
  color: var(--muted);
}
.loader {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border: 3px solid var(--line);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.view {
  display: none;
}
.view.active {
  display: block;
}
.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 0, rgba(67, 216, 148, 0.16), transparent 32%),
    linear-gradient(145deg, #10251d, #091612);
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0 0 7px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font: 800 clamp(27px, 4vw, 48px)/1 Manrope;
  letter-spacing: -0.045em;
}
.hero p:not(.eyebrow) {
  max-width: 670px;
  margin: 10px 0 0;
  color: var(--muted);
}
.hero-score {
  text-align: right;
}
.hero-score b {
  display: block;
  color: var(--gold);
  font: 800 42px/1 Manrope;
}
.hero-score span {
  color: var(--muted);
  font-size: 11px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 2px 12px;
}
.section-head h2 {
  margin: 0;
  font: 800 21px Manrope;
  letter-spacing: -0.025em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.grid {
  display: grid;
  gap: 13px;
}
.command-grid {
  grid-template-columns: repeat(12, 1fr);
}
.card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--card2), var(--card));
  box-shadow: 0 9px 28px rgba(0, 0, 0, 0.14);
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.card-head h3 {
  margin: 0;
  font: 750 15px Manrope;
}
.card-head span {
  color: var(--muted);
  font-size: 10px;
}
.priority {
  grid-column: span 7;
}
.matchup {
  grid-column: span 5;
}
.roster-snapshot {
  grid-column: span 5;
}
.pickup-snapshot {
  grid-column: span 4;
}
.notify-card {
  grid-column: span 3;
}
.decision-list {
  display: grid;
}
.decision {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border-top: 1px solid rgba(55, 91, 76, 0.45);
}
.decision:first-child {
  border-top: 0;
}
.decision-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(67, 216, 148, 0.1);
  color: var(--green);
  font-weight: 800;
}
.decision.injury .decision-icon {
  background: rgba(255, 112, 105, 0.11);
  color: var(--red);
}
.decision.waiver .decision-icon {
  background: rgba(241, 191, 97, 0.1);
  color: var(--gold);
}
.decision b,
.decision small {
  display: block;
}
.decision small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}
.decision em {
  color: var(--green);
  font-size: 10px;
  font-style: normal;
}
.matchup-stage {
  padding: 24px;
}
.versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.team-side:last-child {
  text-align: right;
}
.team-side small,
.team-side b {
  display: block;
}
.team-side small {
  color: var(--muted);
  font-size: 10px;
}
.team-side b {
  margin-top: 4px;
  font: 800 17px Manrope;
}
.vs {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--faint);
  font-size: 9px;
  font-weight: 800;
}
.projection-bar {
  display: grid;
  grid-template-columns: var(--mine) 1fr;
  height: 7px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 9px;
  background: #263d35;
}
.projection-bar i {
  background: linear-gradient(90deg, var(--green2), var(--green));
}
.projection-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}
.player-mini {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-top: 1px solid rgba(55, 91, 76, 0.4);
}
.pos {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 25px;
  padding: 0 5px;
  border-radius: 7px;
  background: #162d24;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}
.player-mini b,
.player-mini small {
  display: block;
}
.player-mini b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}
.player-mini small {
  color: var(--muted);
  font-size: 9px;
}
.pts {
  font: 750 12px Manrope;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid #37755b;
  border-radius: 10px;
  background: rgba(44, 172, 111, 0.14);
  color: #8aefbd;
  font-size: 11px;
  font-weight: 750;
}
.notify-body {
  padding: 18px;
}
.notify-body strong {
  display: block;
  margin-bottom: 5px;
}
.notify-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
}
.notify-link {
  display: block;
  overflow: hidden;
  margin-top: 11px;
  color: var(--faint);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.table-card {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th {
  padding: 10px 13px;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}
.data-table td {
  padding: 12px 13px;
  border-top: 1px solid rgba(55, 91, 76, 0.5);
  white-space: nowrap;
}
.data-table tr:hover td {
  background: rgba(67, 216, 148, 0.03);
}
.player-name b,
.player-name small {
  display: block;
}
.player-name small {
  color: var(--muted);
  font-size: 9px;
}
.status {
  padding: 4px 7px;
  border-radius: 99px;
  background: #203c31;
  color: #9ed8bc;
  font-size: 9px;
}
.status.bad {
  background: #482522;
  color: #ffaaa4;
}
.status.warn {
  background: #493b21;
  color: #f8d888;
}
.delta {
  color: var(--green);
  font-weight: 700;
}
.muted {
  color: var(--muted);
}
.tab-summary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.metric {
  min-width: 120px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card);
}
.metric small,
.metric b {
  display: block;
}
.metric small {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}
.metric b {
  margin-top: 3px;
  font: 800 20px Manrope;
}
.trade-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.trade-card {
  padding: 18px;
}
.trade-path {
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: center;
  gap: 10px;
}
.trade-player:last-child {
  text-align: right;
}
.trade-player span,
.trade-player b,
.trade-player small {
  display: block;
}
.trade-player span {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}
.trade-player b {
  margin: 5px 0 2px;
}
.trade-player small {
  color: var(--muted);
}
.trade-arrow {
  text-align: center;
  color: var(--purple);
  font-size: 20px;
}
.trade-card p {
  margin: 15px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 14px;
}
.news-item {
  display: block;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.news-item:first-child {
  border-top: 0;
}
.news-item:hover {
  background: rgba(67, 216, 148, 0.04);
}
.news-meta {
  display: flex;
  gap: 8px;
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}
.news-item h3 {
  margin: 6px 0 4px;
  font: 750 14px/1.35 Manrope;
}
.news-item p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.method {
  padding: 18px;
}
.method p,
.method li {
  color: var(--muted);
  font-size: 11px;
}
.method li {
  margin: 8px 0;
}
.empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
}
footer {
  display: flex;
  justify-content: space-between;
  max-width: 1600px;
  margin: auto;
  padding: 18px 28px 28px;
  border-top: 1px solid rgba(55, 91, 76, 0.25);
  color: var(--faint);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: 340px;
  padding: 13px 16px;
  border: 1px solid #39745c;
  border-radius: 12px;
  background: #10271e;
  box-shadow: var(--shadow);
  font-size: 11px;
}
.spin {
  animation: spin 1s linear infinite;
}
.error-box {
  padding: 22px;
  border: 1px solid #65312e;
  border-radius: 15px;
  background: #2c1614;
  color: #ffb0aa;
}
.login-page {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 15% 50%,
      rgba(46, 189, 119, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 10%,
      rgba(241, 191, 97, 0.08),
      transparent 28%
    ),
    #050d0b;
}
.login-shell {
  display: grid;
  grid-template-columns: 1.2fr minmax(340px, 0.7fr);
  align-items: center;
  gap: 8vw;
  max-width: 1150px;
  min-height: 100vh;
  padding: 50px;
}
.login-brand .crest {
  width: 68px;
  height: 68px;
  margin-bottom: 35px;
  border-radius: 20px;
  font-size: 22px;
}
.login-brand h1 {
  margin: 0;
  font: 800 clamp(42px, 7vw, 78px)/0.96 Manrope;
  letter-spacing: -0.06em;
}
.login-brand > p:last-child {
  color: var(--muted);
}
.login-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 31, 25, 0.88);
  box-shadow: var(--shadow);
}
.login-card h2 {
  margin: 0 0 25px;
  font: 800 25px Manrope;
}
.login-card label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
}
.login-card input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid #315446;
  border-radius: 11px;
  outline: 0;
  background: #08130f;
  color: var(--ink);
}
.login-card input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(67, 216, 148, 0.1);
}
.login-card button {
  width: 100%;
  height: 46px;
  margin-top: 12px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #36d18c, #18985f);
  color: #06120d;
  font-weight: 800;
}
.login-card button span {
  float: right;
}
.login-card small {
  display: block;
  margin-top: 17px;
  color: var(--faint);
  font-size: 9px;
}
.form-error {
  color: var(--red);
  font-size: 11px;
}
@media (max-width: 900px) {
  .topbar {
    height: auto;
    grid-template-columns: 1fr auto;
    padding: 10px 14px;
  }
  .topbar nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-self: stretch;
    justify-content: space-between;
    margin-top: 9px;
    overflow-x: auto;
  }
  .topbar nav button {
    flex: 1;
    padding: 8px;
  }
  .top-actions {
    grid-column: 2;
    grid-row: 1;
  }
  .live-pill {
    display: none;
  }
  main {
    padding: 14px 12px 45px;
  }
  .hero {
    align-items: flex-start;
    padding: 22px;
  }
  .hero-score {
    display: none;
  }
  .command-grid {
    grid-template-columns: 1fr;
  }
  .priority,
  .matchup,
  .roster-snapshot,
  .pickup-snapshot,
  .notify-card {
    grid-column: auto;
  }
  .trade-grid,
  .news-layout {
    grid-template-columns: 1fr;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-top: 22px;
  }
  .data-table {
    min-width: 720px;
  }
  footer {
    display: block;
    padding: 17px 14px;
  }
  footer span {
    display: block;
    margin-top: 5px;
  }
  .login-shell {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 25px;
  }
  .login-brand h1 {
    font-size: 45px;
  }
  .login-brand .crest {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
  }
  .login-brand > p:last-child {
    display: none;
  }
  .login-card {
    padding: 24px;
  }
}
@media (max-width: 520px) {
  .identity small {
    display: none;
  }
  .logout {
    display: none;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero {
    padding: 19px;
  }
  .trade-path {
    grid-template-columns: 1fr 25px 1fr;
  }
  .matchup-stage {
    padding: 18px;
  }
  .decision {
    grid-template-columns: 31px minmax(0, 1fr);
  }
  .decision em {
    display: none;
  }
  .tab-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .metric {
    min-width: 0;
  }
}
