:root{
      --bg:#0B1426; --page:#0B1426; --surface:#0E1C33; --line:rgba(255,255,255,.12);
      --ink:#FFFFFF; --muted:#B8C6D9; --accent1:#F5FF6B; --accent2:#5BC0EB;
      --header-h:0px; --bnav-h:56px;
    }
    *{box-sizing:border-box}
    html,body{margin:0;padding:0}
    body{
      font-family:var(--font-sans, "Barlow Semi Condensed", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
      background:var(--page);color:var(--ink);-webkit-font-smoothing:antialiased;
      font-size:15px;letter-spacing:var(--tight,.2px);line-height:1.55;font-weight:400;
    }
    main{
      padding:calc(var(--header-h) + 20px) 16px calc(var(--bnav-h) + 28px);
      max-width:900px;margin:0 auto;
    }
    h1{margin:0 0 6px;font-size:22px;line-height:1.2;font-weight:800;}
.page-intro{margin:4px 0 18px;color:#cfe0f8;line-height:1.55;}

.tabbar{
  display:flex;
  gap:12px;
  margin:16px 0 18px;
  padding:6px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.tab-btn{
  all:unset;
  cursor:pointer;
  flex:1;
  text-align:center;
  padding:10px 14px;
  border-radius:999px;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:#a8bad6;
}
.tab-btn.active{
  background:rgba(91,192,235,.18);
  color:#fff;
  box-shadow:0 0 0 1px rgba(91,192,235,.35) inset;
}
.tab-panel{display:none;}
.tab-panel.active{display:block;}

.controls{
  display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start;
  background:rgba(16,34,61,.72);border:1px solid rgba(255,255,255,.08);
  border-radius:18px;padding:14px;
  backdrop-filter:blur(12px);
      margin-bottom:20px;
    }
    .chips{display:flex;flex-wrap:wrap;gap:10px;flex:1 1 240px;}
    .chip{
      display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;
      background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);
      font-weight:600;color:#e6eef7;
    }
    .chip b{font-weight:700;color:#fff;}
    .search{
      flex:1 1 200px;display:flex;align-items:center;gap:8px;padding:8px 12px;
      border-radius:12px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);
    }
    .search i{color:#9fb2d3;}
    .search input{all:unset;flex:1;color:#eaf1ff;font-size:15px;}

    .sec{margin:0 0 26px;}
    .sec h2{margin:0 0 10px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#98aec9;}

    .tips{display:grid;gap:14px;}

    .tip{
      background:var(--surface);border:1px solid rgba(255,255,255,.08);
      border-radius:18px;padding:18px 16px;
      box-shadow:0 20px 40px rgba(4,12,26,.45),0 0 0 1px rgba(255,255,255,.04);
      display:grid;gap:14px;
    }
    .tip-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;}
    .tip-league{display:flex;align-items:center;gap:10px;font-weight:600;}
    .tip-league .league-name{font-size:15px;}
    .tip-league .round-tag{background:rgba(255,255,255,.08);border-radius:999px;padding:4px 8px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#dbe7ff;}
    .flag{width:16px;height:12px;border-radius:2px;object-fit:cover;box-shadow:0 0 0 1px rgba(255,255,255,.16);}
    .status{
      font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;
      background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);
      text-transform:uppercase;
    }
    .status.live{background:rgba(239,68,68,.14);border-color:rgba(239,68,68,.45);color:#ffb6b6;}

    .teams{
      display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;
    }
    .team{display:flex;align-items:center;gap:10px;min-width:0;}
    .team-away{justify-content:flex-end;text-align:right;}
    .team .name{font-weight:700;font-size:16px;color:#f5f8ff;}
    .crest{width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 6px 16px rgba(0,0,0,.38));}
    .score{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:72px;}
    .score .score-main{font-weight:700;font-size:24px;}
    .score .score-sub{font-size:12px;color:#9fb2d3;}
    .score .kickoff{font-weight:700;font-size:18px;}
    .score .date-tag{font-size:12px;color:#9fb2d3;}
    @media(max-width:620px){
      .teams{grid-template-columns:1fr;align-items:flex-start;}
      .team-away{justify-content:flex-start;text-align:left;}
      .score{align-items:flex-start;}
    }

    .tip-summary{
      border-radius:14px;padding:14px;background:rgba(91,192,235,.08);
      border:1px solid rgba(91,192,235,.28);display:grid;gap:6px;
    }
    .tip-summary .label{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#9ed4ff;}
    .tip-summary .pick{display:flex;flex-direction:column;gap:4px;font-weight:700;font-size:16px;color:#fff;}
    .tip-summary .pick span{font-size:13px;font-weight:500;color:#d6e7ff;}
    .tip-summary .pick.high span{color:#4ade80;}
    .tip-summary .pick.medium span{color:#fbbf24;}
    .tip-summary .pick.lean span{color:#fb9236;}
    .tip-summary .note{font-size:13px;color:#b9ccdf;}

    .quick{display:flex;flex-wrap:wrap;gap:12px;font-size:13px;color:#a8bad6;}
    .quick span,.quick a{display:flex;align-items:center;gap:6px;}
    .quick a{color:#5BC0EB;text-decoration:none;}
    .quick a:hover{text-decoration:underline;}

    .tip-footer{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;}
    .cta-group{display:flex;gap:10px;flex-wrap:wrap;}
    .pill-btn{
      all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;
      padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.06);
      border:1px solid rgba(255,255,255,.12);font-weight:600;color:#e9eef7;
    }
    .pill-btn:hover{box-shadow:0 0 0 2px rgba(91,192,235,.35) inset;}
    .pill-btn[aria-pressed="true"],.pill-btn.active{
      background:rgba(245,255,107,.18);border-color:rgba(245,255,107,.42);color:#fefe9a;
    }
    .pill-btn.primary{
      background:rgba(91,192,235,.22);border-color:rgba(91,192,235,.50);color:#eef9ff;
    }
    .pill-btn.primary:hover{box-shadow:none;background:rgba(91,192,235,.32);}

    .panel{display:none;margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12);}
    .panel.open{display:block;}

    .markets{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-bottom:12px;}
    .markets .pill{border:none;background:rgba(255,255,255,.08);color:#e6eef7;padding:6px 12px;border-radius:999px;font-weight:600;cursor:pointer;}
    .markets .pill.active{background:var(--accent1);color:#0b1426;}
    .legend{font-size:12px;color:#9fb2d3;margin-left:auto;}
    .meter{position:relative;height:6px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden;margin:8px 0;}
    .meter>i{display:block;height:100%;background:linear-gradient(90deg,#22c55e,#5BC0EB);width:10%;}
    .meter .label{margin-top:6px;font-size:12.5px;color:#bcd0e6;}

    .section-title{margin:12px 0 6px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#9fb2d3;}
    .content{font-size:14px;line-height:1.6;}
    .odds{display:flex;flex-wrap:wrap;gap:10px;}
    .odchip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);font-size:13px;}
    .odchip.value{background:rgba(34,197,94,.18);border-color:rgba(34,197,94,.45);color:#bbf7d0;}
    .badge{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;}
    .badge.strong{background:rgba(34,197,94,.22);color:#bbf7d0;}
    .badge.value{background:rgba(91,192,235,.16);color:#bfe8ff;}

    .form .tag{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:13px;color:#cdd9ea;}
    .form .chips{display:inline-flex;gap:6px;}
    .chip-sq{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;font-size:11px;font-weight:800;color:#0b1426;}
    .chip-sq.win{background:#86efac;}
    .chip-sq.draw{background:#e5e7eb;}
    .chip-sq.lose{background:#fecaca;}

    .h2h .row{display:flex;justify-content:space-between;gap:10px;border:1px dashed rgba(255,255,255,.14);border-radius:10px;padding:8px 10px;margin-top:6px;font-size:13px;color:#dfe7f2;}

    .empty{padding:16px;text-align:center;border:1px dashed rgba(255,255,255,.18);border-radius:12px;color:#b9c7dc;}
.foot-note{color:#9fb1ca;text-align:center;font-size:12.5px;margin:24px 8px 96px;}

.goalless-copy{
  margin:4px 0 18px;
  background:rgba(15,30,52,.8);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:18px;
}
.goalless-copy h2{
  margin:0 0 6px;
  font-size:20px;
}
.goalless-copy p{
  margin:0;
  color:#cfd9ed;
  line-height:1.6;
}
.goalless-status{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  font-size:14px;
  color:#b8c6de;
  justify-content:space-between;
  border-radius:12px;
  padding:12px 16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.goalless-list{
  list-style:none;
  margin:18px 0 0;
  padding:0;
  display:grid;
  gap:16px;
}
.goalless-card{
  background:rgba(13,25,44,.92);
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:14px;
  box-shadow:0 20px 40px rgba(4,12,26,.35);
}
.goalless-card-header{
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:14px;
  color:#9fb2d3;
  flex-wrap:wrap;
}
.goalless-minute{
  color:#ffb4c1;
  font-weight:700;
}
.goalless-teams{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:12px;
  align-items:center;
}
.goalless-team{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
}
.goalless-team--reverse{
  justify-content:flex-end;
  text-align:right;
}
.goalless-team img{
  width:32px;
  height:32px;
  object-fit:contain;
}
.goalless-team-placeholder{
  width:32px;
  height:32px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
}
.goalless-score{
  font-size:18px;
  font-weight:700;
  color:#5BC0EB;
}
.goalless-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:4px;
}
.goalless-btn{
  all:unset;
  cursor:pointer;
  padding:8px 14px;
  border-radius:12px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  font-weight:600;
  font-size:14px;
  color:#e6eef7;
}
.goalless-btn:disabled{
  opacity:.5;
  cursor:not-allowed;
}
.goalless-btn[aria-pressed="true"]{
  background:rgba(255,77,109,.2);
  color:#ffe2e8;
}
.goalless-odds{
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  padding:12px;
  font-size:14px;
  color:#e3ecff;
}
.goalless-empty{
  margin:24px 0 96px;
  text-align:center;
  color:#9fb2d3;
  font-size:15px;
}

.goalless-card-meta{
  font-size:13px;
  color:#9fb2d3;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
}
.quick-link{
  color:#5BC0EB;
  text-decoration:none;
  font-weight:600;
}
.quick-link:hover{
  text-decoration:underline;
}

@media(max-width:640px){
  .goalless-teams{
    grid-template-columns:1fr;
    text-align:center;
  }
  .goalless-team,
  .goalless-team--reverse{
    justify-content:center;
    text-align:center;
  }
  .goalless-score{
    justify-self:center;
  }
}

.bnav{position:fixed;left:0;right:0;bottom:0;z-index:25;background:var(--surface);border-top:1px solid rgba(255,255,255,.12);display:flex;padding-bottom:env(safe-area-inset-bottom);}
.bnav a{flex:1;padding:10px 6px;font-weight:600;color:#d3dae4;text-decoration:none;text-align:center;}
    .bnav a.active{color:#5BC0EB;}
    .bnav .lbl{display:block;font-size:12.5px;}
    .bnav .ico{font-size:18px;line-height:1;}

@media(min-width:960px){
  main{padding-left:0;padding-right:0;}
    }
