:root{
      --bg:#0B1426; --page:#0B1426; --surface:#0E1C33; --line:rgba(255,255,255,.12);
      --ink:#FFFFFF; --muted:#B8C6D9; --accent1:#F5FF6B; --accent2:#5BC0EB;
      --header-h:calc(var(--page-chrome-height, 70px) + env(safe-area-inset-top, 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) var(--shell-pad, 16px) calc(var(--bnav-h) + env(safe-area-inset-bottom) + 28px);
      max-width:var(--shell-max, 1200px);
      margin:0 auto;
    }
    @media(max-width:900px){
      main{padding-bottom:calc(var(--bnav-h) + env(safe-area-inset-bottom) + 28px + 90px);}
    }
    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;}
    .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:#22c55e;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;}

/* Match-row list (home page style) */
.tips-match-list{
  margin:0;
  padding:0;
  list-style:none;
  border-bottom:1px solid rgba(255,255,255,.12);
}

.tips-match-list .bucket-head{
  position:sticky;
  top:calc(var(--header-h) + 8px);
  z-index:3;
  background:rgba(11,20,38,.94);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#cbd6ea;
  padding:6px 12px;
  border-top:1px solid rgba(255,255,255,.12);
  border-bottom:1px solid rgba(255,255,255,.12);
  font-weight:700;
}

.tips-match-list .match-row{
  position:relative;
  display:grid;
  grid-template-columns:64px minmax(0,1fr) max-content 36px;
  gap:10px;
  min-height:var(--row-h,56px);
  height:var(--row-h,56px);
  padding:7px 10px;
  background:var(--surface);
  border-top:1px solid rgba(255,255,255,.12);
  align-items:center;
  width:100%;
  max-width:100%;
  overflow:hidden;
}

.tips-match-list .tips-item.is-alt .match-row{
  background:var(--surface-2);
}

.tips-match-list .match-row[role="link"]{
  cursor:pointer;
}

.tips-match-list .match-row[role="link"]:focus-visible{
  outline:2px solid rgba(91,192,235,.8);
  outline-offset:2px;
}

.tips-match-list .match-row.live .sc{
  color:var(--danger,#ef4444);
}

@media (max-width:600px){
  .tips-match-list .match-row{
    grid-template-columns:48px minmax(0,1fr) max-content 32px;
    gap:8px;
    padding:6px 8px;
  }
}

.tips-match-list .timecol{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:6px;
  color:#9fb0c8;
  white-space:nowrap;
  min-width:0;
}

.tips-match-list .time-line{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
  font-size:14px;
  line-height:1.1;
  font-weight:600;
}

.tips-match-list .time-line .time-main{
  font-size:14px;
  font-weight:600;
}

.tips-match-list .live-minute{
  color:var(--danger,#ef4444);
  font-weight:700;
}

.tips-match-list .teamstack{
  display:grid;
  grid-template-rows:1fr 1fr;
  align-items:center;
  min-width:0;
  border-right:1px solid rgba(255,255,255,.12);
  padding-right:8px;
}

.tips-match-list .team-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  column-gap:8px;
  align-items:center;
  min-width:0;
}

.tips-match-list .match-row .crest{
  width:20px;
  height:20px;
  object-fit:contain;
  display:block;
  filter:none;
}

.tips-match-list .match-row .crest--empty{
  border-radius:4px;
  background:rgba(255,255,255,.08);
  box-shadow:0 0 0 1px rgba(255,255,255,.08) inset;
}

.tips-match-list .tname{
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  min-width:0;
  line-height:1.15;
  display:flex;
  align-items:center;
  min-height:20px;
  font-size:14px;
}

.tips-match-list .tname.win,
.tips-match-list .sc.win{
  color:var(--ink,#fff);
}

.tips-match-list .tname.lose,
.tips-match-list .sc.lose{
  color:#8a99b5;
}

.tips-match-list .tname.draw,
.tips-match-list .sc.draw{
  color:var(--muted,#B8C6D9);
}

.tips-match-list .scorecol{
  display:grid;
  grid-template-rows:1fr 1fr;
  align-items:center;
  justify-items:end;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  min-width:44px;
  font-size:15px;
}

.tips-match-list .match-fav{
  all:unset;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  color:#cbd5e1;
  cursor:pointer;
  border-radius:8px;
  transition:transform .12s ease, color .12s ease, background .12s ease;
}

.tips-match-list .match-fav:hover{
  color:var(--accent2,#5BC0EB);
  background:rgba(255,255,255,.06);
}

.tips-match-list .match-fav:active{
  transform:scale(.96);
}

@media (max-width:600px){
  .tips-match-list .match-fav{
    width:28px;
    height:28px;
  }
}

.tips-details{
  padding:12px 10px 14px;
  background:rgba(255,255,255,.02);
  border-top:1px solid rgba(255,255,255,.08);
}

.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:flex;
  flex-direction:column;
  gap:16px;
}
.goalless-match-list .goalless-item{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.tips-match-list .match-row.goalless-row{
  grid-template-columns:64px minmax(0,1fr) 68px 110px;
  min-height:auto;
  height:auto;
  padding:8px 10px;
}
.goalless-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  width:100%;
}
.goalless-actions .goalless-btn{
  padding:7px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:#e7ecff;
  font-weight:600;
  font-size:13px;
  text-align:center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.goalless-actions .goalless-btn--light{
  background:rgba(91,192,235,.1);
  border-color:rgba(91,192,235,.35);
  color:#bfe8ff;
}
.goalless-actions .goalless-btn[aria-pressed="true"]{
  background:rgba(255,77,109,.24);
  border-color:rgba(255,77,109,.46);
  color:#ffe7f0;
}
.goalless-actions .goalless-btn:active{
  transform:scale(.98);
}
.tips-match-list .match-row.goalless-row .goalless-actions{
  padding-left:0;
  padding-right:0;
}
.goalless-pin-btn{
  width:36px;
  height:36px;
  padding:0;
  font-size:18px;
  justify-content:center;
}
.goalless-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:13px;
  color:#9fb2d3;
}
.goalless-meta-league{
  font-weight:600;
  color:#f5f8ff;
  flex:1 1 220px;
  min-width:0;
}
.goalless-meta-kickoff{
  white-space:nowrap;
}
@media(max-width:600px){
  .tips-match-list .match-row.goalless-row{
    grid-template-columns:48px minmax(0,1fr) 60px 96px;
  }
}
.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;
}
.quick-link{
  color:#5BC0EB;
  text-decoration:none;
  font-weight:600;
}
.quick-link:hover{
  text-decoration:underline;
}

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