:root {
  --bg:#f5f6f8;
  --ink:#18232b;
  --muted:#899099;
  --green:#127b58;
  --line:#e9ecef;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px "DM Sans", sans-serif;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button {
  background: none;
  border: 0;
  color: inherit;
}
aside {
  width: 222px;
  position: fixed;
  inset: 0 auto 0 0;
  background: white;
  border-right: 1px solid var(--line);
  padding: 32px 23px;
  display: flex;
  flex-direction: column;
}
.brand {
  font: 800 28px Manrope;
  letter-spacing: -1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mark {
  display: inline-block;
  color: #fff;
  background: var(--green);
  border-radius: 9px;
  padding: 0 8px;
  transform: skew(-9deg);
  font-size: 26px;
}
.tiny {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--muted);
  font-weight: 700;
}
.nav {
  margin-top: 47px;
  display: grid;
  gap: 9px;
}
.nav button {
  text-align: left;
  padding: 13px 15px;
  border-radius: 7px;
  color: #737c85;
  display: flex;
  gap: 13px;
}
.nav button.active {
  color: var(--green);
  background: #e9f4ee;
  font-weight: 700;
}
.side-section {
  border-top: 1px solid var(--line);
  margin-top: 29px;
  padding-top: 25px;
}
.side-team {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-top: 19px;
  font-size: 12px;
}
.round {
  width: 29px;
  height: 29px;
  display: inline-grid;
  place-items: center;
  background: #edf1f5;
  border-radius: 50%;
  font-weight: 800;
  font-size: 10px;
}
.side-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  background: #eee2d1;
  color: #795536;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}
main {
  margin-left: 222px;
}
header {
  height: 83px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 37px;
}
.breadcrumb {
  color: #818991;
  font-size: 12px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.search {
  background: #f6f7f8;
  border: 1px solid #edf0f1;
  border-radius: 7px;
  padding: 10px 13px;
  width: 215px;
  font-size: 12px;
}
.wrap {
  max-width: 1450px;
  margin: auto;
  padding: 32px 37px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 27px;
}
h1 {
  font: 800 28px Manrope;
  letter-spacing: -1px;
  margin: 0 0 8px;
}
p {
  color: #7d858d;
  margin: 0;
  line-height: 1.6;
}
.date {
  background: white;
  border: 1px solid #e3e7e9;
  border-radius: 7px;
  padding: 11px 15px;
  font-size: 12px;
}
.sports {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-bottom: 26px;
}
.sports button {
  white-space: nowrap;
  padding: 10px 17px;
  border: 1px solid #e1e5e7;
  background: white;
  border-radius: 7px;
  font-size: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.sports button.active {
  background: #183f33;
  color: white;
  border-color: #183f33;
}
.layout {
  display: grid;
  grid-template-columns: minmax(480px, 1fr) 294px;
  gap: 26px;
}
.tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #e0e4e7;
  margin-bottom: 24px;
}
.tabs button {
  padding: 0 0 15px;
  color: #858d94;
  font-size: 13px;
}
.tabs button.active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
  font-weight: 700;
}
.count {
  background: #e7eee9;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 6px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 13px;
}
h2 {
  font: 800 15px Manrope;
  margin: 0;
}
.muted {
  color: var(--muted);
  font-size: 11px;
}
.live {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #169b6a;
  display: inline-block;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.card {
  background: white;
  border: 1px solid #e4e8eb;
  border-radius: 10px;
  overflow: hidden;
}
.game {
  padding: 16px 17px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.game:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px #1b3c3210;
}
.game-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
  font-size: 10px;
  color: #8c939a;
}
.star {
  color: #c0c6c9;
  font-size: 19px;
  padding: 0 2px;
}
.star.on {
  color: #d8a852;
}
.team {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}
.team img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}
.team-name {
  font-size: 12px;
  font-weight: 700;
  flex: 1;
}
.score {
  font: 800 22px Manrope;
}
.game-foot {
  border-top: 1px solid #f0f2f4;
  padding-top: 12px;
  margin-top: 17px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #9299a0;
}
.status {
  color: #159461;
  font-weight: 700;
}
.league {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
}
.league-icon {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 6px;
  font-size: 10px;
}
.panel {
  padding: 20px;
  margin-bottom: 19px;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.text-btn {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  padding: 0;
}
.favorite-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 17px 0;
}
.favorite-row img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.favorite-row strong {
  font-size: 12px;
}
.sub {
  font-size: 10px;
  color: #959ba2;
  margin-top: 3px;
}
.tag {
  margin-left: auto;
  background: #e9f5ee;
  color: var(--green);
  font-size: 9px;
  border-radius: 4px;
  padding: 4px 6px;
}
.circle-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid #f0f1f3;
  align-items: center;
}
.mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8edf4;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.circle-name {
  flex: 1;
  margin-left: 9px;
  font-size: 11px;
}
.pts {
  font-size: 11px;
  font-weight: 700;
}
.invite {
  background: #f5f7f8;
  border: 1px dashed #d9dfe1;
  width: 100%;
  border-radius: 6px;
  padding: 10px;
  margin-top: 10px;
  color: #75828a;
  font-size: 11px;
}
.banner {
  background: #183f33;
  color: white;
  padding: 23px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.banner:after {
  content: "↗";
  position: absolute;
  font-size: 110px;
  right: -8px;
  bottom: -33px;
  color: #ffffff10;
}
.banner h3 {
  font: 700 19px Manrope;
  margin: 10px 0;
}
.banner p {
  font-size: 11px;
  color: #b5c8bd;
}
.banner button {
  background: #e4f1a8;
  padding: 10px 13px;
  border-radius: 6px;
  margin-top: 17px;
  font-size: 11px;
  font-weight: 700;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.news-card {
  cursor: pointer;
}
.news-card img {
  width: 100%;
  height: 106px;
  object-fit: cover;
  display: block;
}
.news-content {
  padding: 12px;
}
.news-content h3 {
  font-size: 12px;
  line-height: 1.55;
  margin: 7px 0;
}
.footer-note {
  font-size: 10px;
  color: #959ca2;
  margin-top: 23px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.empty {
  padding: 35px;
  text-align: center;
}
.modal-back {
  position: fixed;
  inset: 0;
  background: #11271d66;
  backdrop-filter: blur(4px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.modal {
  background: white;
  border-radius: 15px;
  padding: 28px;
  width: 640px;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 90px #0002;
}
.modal h2 {
  font-size: 22px;
  margin-bottom: 12px;
}
.close {
  float: right;
  font-size: 24px;
}
.detail-score {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 27px 0;
}
.detail-score img {
  width: 60px;
  height: 60px;
}
.detail-score strong {
  font-size: 38px;
}
.detail-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.detail-tabs button {
  padding: 12px 0;
}
.detail-tabs .active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
td,
th {
  text-align: left;
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
}
.primary {
  background: var(--green);
  color: white;
  padding: 11px 17px;
  border-radius: 6px;
}
.field {
  width: 100%;
  padding: 12px;
  border: 1px solid #dfe5e7;
  border-radius: 6px;
  margin: 12px 0;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #173f32;
  color: white;
  padding: 12px 23px;
  border-radius: 8px;
  z-index: 50;
}
.hidden {
  display: none;
}
@media (min-width: 1450px) {
  .wrap {
    padding-top: 40px;
  }
  .game {
    padding: 20px;
  }
  .news-card img {
    height: 140px;
  }
}
@media (max-width: 1100px) {
  aside {
    width: 180px;
    padding: 30px 15px;
  }
  main {
    margin-left: 180px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .banner {
    display: none;
  }
  .wrap {
    padding: 25px;
  }
  .brand {
    font-size: 24px;
  }
}
@media (max-width: 650px) {
  aside {
    position: static;
    width: auto;
    padding: 16px;
    display: block;
  }
  .brand {
    font-size: 24px;
  }
  .nav {
    margin-top: 18px;
    display: flex;
    overflow: auto;
    gap: 2px;
  }
  .nav button {
    padding: 9px;
    font-size: 11px;
  }
  .side-section,
  .side-bottom {
    display: none;
  }
  main {
    margin: 0;
  }
  header {
    height: 60px;
    padding: 0 20px;
  }
  .search {
    width: 160px;
  }
  .wrap {
    padding: 23px 16px;
  }
  .intro {
    align-items: flex-start;
  }
  h1 {
    font-size: 25px;
  }
  .date {
    font-size: 10px;
    padding: 8px;
  }
  .layout {
    display: block;
  }
  .grid {
    gap: 10px;
  }
  .game {
    padding: 12px;
  }
  .team-name {
    font-size: 10px;
  }
  .score {
    font-size: 19px;
  }
  .team img {
    width: 25px;
    height: 25px;
  }
  .tabs {
    gap: 22px;
  }
  .right {
    display: block;
    margin-top: 23px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card {
    display: flex;
  }
  .news-card img {
    width: 120px;
    height: 120px;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .header-right {
    gap: 10px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .game-foot {
    font-size: 8px;
  }
}
.game-info {
  border-top: 1px solid var(--line);
  padding-top: 11px;
  margin-top: 14px;
  display: grid;
  gap: 7px;
  font-size: 10px;
  line-height: 1.6;
  color: #69767e;
}
.watch-block {
  background: #f5f8f6;
  border: 1px solid #e3ece6;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 18px;
}
.watch-block h3 {
  font-size: 13px;
  margin: 0 0 10px;
}
.watch-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 12px;
}
.watch-note {
  font-size: 10px;
  margin-top: 10px;
}
.channel-input {
  width: 100px;
  padding: 8px;
  border: 1px solid #dfe5e7;
  border-radius: 5px;
}
.onboard {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: #102d24;
  color: #fff;
  overflow: auto;
  padding: 35px 24px;
}
.onboard-inner {
  max-width: 820px;
  margin: auto;
}
.onboard .brand {
  color: white;
}
.onboard h1 {
  font-size: 38px;
  margin: 35px 0 12px;
}
.onboard p {
  color: #b4c8bf;
}
.onboard-steps {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}
.onboard-steps span {
  height: 4px;
  flex: 1;
  background: #355146;
  border-radius: 5px;
}
.onboard-steps .done {
  background: #ddefa6;
}
.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}
.pick {
  position: relative;
  min-height: 125px;
  border: 1px solid #4d675b;
  background: #1c3d31;
  color: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  transition: transform .15s, border-color .15s;
}
.pick:hover {
  transform: translateY(-2px);
  border-color: #ddefa6;
}
.pick.chosen {
  border: 2px solid #ddefa6;
  background: #294d38;
  padding: 19px;
}
.pick-icon {
  display: block;
  font-size: 33px;
  margin-bottom: 13px;
}
.pick strong {
  font: 700 15px Manrope;
}
.pick-check {
  position: absolute;
  right: 14px;
  top: 12px;
  color: #ddefa6;
  font-size: 18px;
}
.onboard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 28px 0;
}
.onboard .primary {
  background: #e4f1a8;
  color: #173d2b;
  font-weight: 700;
  padding: 14px 26px;
}
.onboard .primary:disabled {
  opacity: .4;
  cursor: default;
}
.onboard .text-btn {
  color: #d3e5d8;
}
.onboard label {
  color: #d1ded6;
}
.onboard input,
.onboard select {
  background: #fff;
  color: #18232b;
}
.onboard-note {
  font-size: 12px;
  margin-top: 20px;
}
.setup-fields {
  max-width: 540px;
  margin-top: 30px;
}
.setup-summary {
  padding: 20px;
  border-radius: 10px;
  background: #214334;
  margin: 26px 0;
}
.setup-summary p {
  margin-top: 9px;
}
@media (max-width: 600px) {
  .pick-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .onboard h1 {
    font-size: 29px;
  }
  .pick {
    min-height: 110px;
    padding: 16px;
  }
  .pick.chosen {
    padding: 15px;
  }
  .onboard {
    padding: 25px 18px;
  }
}


/* Accounts */
.account-locked > aside, .account-locked > main { display: none; }
#accountGate { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
#accountGate[hidden] { display: none; }
.account-scene { background: #153e30; color: white; padding: 48px 55px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.account-scene::after { content: ''; width: 520px; height: 520px; border: 1px solid #ffffff12; border-radius: 50%; position: absolute; right: -240px; bottom: -120px; box-shadow: 0 0 0 60px #ffffff04, 0 0 0 120px #ffffff03; pointer-events: none; }
.account-eyebrow { color: #ddefa6; margin-top: 100px; }
.account-scene h1 { font-size: clamp(38px, 4.3vw, 64px); line-height: 1.14; margin: 25px 0; letter-spacing: -2px; }
.account-scene p { color: #bfd2c5; font-size: 16px; }
.account-sport-icons { font-size: 35px; margin: 45px 0 90px; }
.account-scene-foot { margin-top: auto; color: #b1c5b8; font-size: 12px; }
.account-form-wrap { display: grid; place-items: center; padding: 45px 35px; }
.account-form { width: 100%; max-width: 390px; }
.account-form h2 { font-size: 30px; letter-spacing: -1px; margin: 15px 0; }
.account-form > p { font-size: 13px; margin-bottom: 25px; }
.account-form label { display: block; font-size: 12px; font-weight: 700; margin-top: 16px; }
.account-form .field { margin-top: 8px; padding: 13px; }
.account-form button:disabled { cursor: default; opacity: .5; }
.google-signin { width: 100%; border: 1px solid #dce2df; padding: 13px; border-radius: 7px; font-weight: 600; display: flex; justify-content: center; align-items: center; gap: 11px; }
.account-divider { margin: 22px 0; display: flex; align-items: center; gap: 12px; color: #89938e; font-size: 11px; }
.account-divider::before, .account-divider::after { content: ''; height: 1px; flex: 1; background: #e5eae7; }
.account-submit { width: 100%; margin-top: 15px; padding: 14px; font-weight: 700; }
.account-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; font-size: 12px; align-items: center; }
.account-form .account-privacy { font-size: 10px; margin-top: 30px; line-height: 1.8; }
.account-form .account-small { font-size: 10px; margin: 8px 0; }
.account-message:not(:empty), .account-setup-notice { background: #eef6ef; border: 1px solid #d8e9dc; padding: 14px; font-size: 12px; line-height: 1.6; border-radius: 7px; margin: 18px 0; }
.account-message.error { background: #fff1ee; color: #913e30; border-color: #f2d9d2; }
.account-message button { display: block; margin-top: 12px; }
.account-setup-notice p { font-size: 12px; margin: 8px 0; }
.account-setup-notice a { color: #127b58; }
.account-profile-meta { display: grid; gap: 10px; padding: 15px 0; font-size: 11px; color: #7c8882; overflow-wrap: anywhere; }
.account-profile-meta button { text-align: left; }
.service-logo { width: 64px; height: 54px; padding: 8px; background: white; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 13px; }
.service-logo img { width: 40px; height: 40px; object-fit: contain; }
.profile-service { display: inline-flex; align-items: center; gap: 7px; margin: 4px 10px 4px 0; font-size: 11px; }
.profile-service .service-logo { width: 33px; height: 30px; padding: 4px; margin: 0; border: 1px solid #e9ecef; }
.profile-service img { width: 23px; height: 23px; }
@media(max-width: 750px) {
  #accountGate { grid-template-columns: 1fr; }
  .account-scene { padding: 25px; }
  .account-eyebrow { margin-top: 25px; }
  .account-scene h1 { font-size: 37px; margin: 14px 0; }
  .account-scene h1 br { display: none; }
  .account-scene p, .account-sport-icons, .account-scene-foot { display: none; }
  .account-form-wrap { padding: 30px 24px; }
}
