:root {
  --orange: #0aa9ff;
  --orange-dark: #0079c4;
  --navy: #071827;
  --navy-2: #0d2a40;
  --blue: #a8f337;
  --ice: #eef3f7;
  --paper: #ffffff;
  --ink: #13202b;
  --muted: #697784;
  --line: #d8e0e6;
  --shadow: 0 18px 44px rgba(4, 16, 27, .18);
  --font-display: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(168, 243, 55, .34) 0 2px, transparent 3px 100%),
    linear-gradient(135deg, #36c2ff 0%, #0079c4 52%, #0aa9ff 100%);
  background-size: 28px 28px, cover;
  font: 16px/1.45 var(--font-ui);
  min-height: 100vh;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.masthead { min-height: 190px; background: linear-gradient(105deg, rgba(4,16,28,.28), rgba(10,169,255,.14)); }
.masthead__inner { max-width: 1160px; margin: 0 auto; padding: 20px 0 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.brand { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 12px; width: 208px; height: 144px; padding: 18px; border-radius: 4px 30px 30px 30px; background: linear-gradient(145deg, #fff, #dfe6eb); box-shadow: var(--shadow); }
.brand__mark { position: relative; display: block; flex: 0 0 62px; height: 62px; overflow: hidden; border: 7px solid var(--navy); outline: 4px solid var(--orange); border-radius: 50%; background: var(--paper); }
.brand__mark::after { content: ""; position: absolute; right: 9px; bottom: 7px; width: 10px; height: 4px; border-radius: 99px; background: var(--blue); transform: rotate(-43deg); }
.brand__mark i { position: absolute; top: 8px; font-family: Arial, sans-serif; font-size: 31px; font-style: normal; font-weight: 1000; line-height: 1; letter-spacing: -.18em; }
.brand__mark i:first-child { left: 8px; color: var(--navy); }
.brand__mark i:last-child { right: 8px; color: var(--orange); }
.brand__text { display: flex; flex-direction: column; line-height: .92; }
.brand__text strong { color: var(--navy); font-family: var(--font-display); font-size: 25px; font-weight: 800; letter-spacing: -.09em; }
.brand__text small { margin-top: 8px; color: #5c6670; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.login { display: flex; gap: 8px; margin-top: 2px; align-items: stretch; }
.login input { width: 145px; height: 38px; border: 1px solid rgba(8,24,39,.28); border-radius: 5px; padding: 0 12px; background: rgba(255,255,255,.94); }
.login button { border: 0; border-radius: 5px; padding: 0 20px; color: var(--orange-dark); background: #fff; font-weight: 800; box-shadow: 0 8px 22px rgba(0,80,134,.16); }

.shell { max-width: 1160px; margin: -6px auto 56px; background: var(--paper); box-shadow: var(--shadow); }
.topnav { min-height: 54px; display: flex; align-items: center; gap: 4px; padding: 8px 14px; background: var(--orange); color: #fff; }
.sport-select select { width: 180px; height: 34px; border: 0; border-radius: 5px; padding: 0 10px; color: var(--ink); background: #fff; }
.topnav__link { align-self: stretch; display: grid; place-items: center; padding: 0 16px; border-radius: 5px; color: #fff; text-decoration: none; font-weight: 650; font-size: 15px; }
.topnav__link:hover, .topnav__link.is-active { background: rgba(7, 22, 34, .16); }
.demo-badge { margin-left: auto; padding: 6px 10px; border: 1px solid rgba(255,255,255,.56); border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

.workspace { display: grid; grid-template-columns: 194px minmax(0, 1fr) 284px; gap: 16px; padding: 16px; background: #f6f8fa; }
.leagues, .coupon { min-width: 0; background: #fff; border: 1px solid var(--line); align-self: start; }
.panel-title { min-height: 44px; padding: 0 14px; display: flex; align-items: center; gap: 9px; background: var(--orange); color: #fff; font-size: 14px; font-weight: 850; text-transform: uppercase; letter-spacing: .025em; }
.panel-title__icon { color: var(--navy); font-size: 18px; }
.league-link { display: block; width: 100%; min-height: 44px; border: 0; border-bottom: 1px solid rgba(10,169,255,.42); padding: 10px 12px; text-align: left; color: #fff; background: var(--navy); font-size: 14px; }
.league-link:hover, .league-link.is-active { background: var(--navy-2); color: var(--blue); padding-left: 16px; }
.content-column { min-width: 0; }
.hero { position: relative; height: 230px; overflow: hidden; background: #060c13; isolation: isolate; }
.hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(1,8,14,.9) 0%, rgba(1,8,14,.18) 58%, rgba(1,8,14,.06) 100%); }
.hero__copy { position: absolute; z-index: 2; inset: 0 auto 0 0; width: 53%; padding: 32px; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.hero__copy span { color: var(--blue); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .16em; }
.hero__copy h1 { margin: 7px 0 5px; max-width: 350px; font-family: var(--font-display); font-size: clamp(28px, 3vw, 42px); line-height: .98; letter-spacing: -.04em; text-transform: uppercase; }
.hero__copy p { margin: 7px 0 0; max-width: 330px; color: #dae4ec; font-size: 14px; }
.event-tools { display: flex; align-items: center; gap: 12px; padding: 12px 0 10px; }
.search { flex: 1; display: flex; align-items: center; min-width: 180px; height: 42px; padding: 0 12px; border: 1px solid var(--line); background: #fff; }
.search span { color: var(--muted); font-size: 20px; }
.search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 0 8px; }
.day-tabs { display: flex; }
.availability-tabs { display: flex; margin-left: auto; }
.availability-tab { height: 42px; border: 1px solid var(--line); padding: 0 12px; color: var(--ink); background: #fff; font-weight: 700; cursor: pointer; }
.availability-tab.is-active { border-color: var(--orange); color: #fff; background: var(--orange); }
.day-tab { height: 42px; border: 1px solid var(--line); border-left: 0; padding: 0 12px; color: var(--ink); background: #fff; }
.day-tab:first-child { border-left: 1px solid var(--line); }
.day-tab.is-active { border-color: var(--orange); color: #fff; background: var(--orange); }
.league-category { border-top: 1px solid rgba(255,255,255,.12); }
.league-category__title { width: 100%; display: flex; justify-content: space-between; border: 0; padding: 11px 12px 9px; color: #a8f337; background: #071827; font-size: 12px; font-weight: 900; text-align: left; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.league-category__title:not(.is-open) { color: #dbe7ef; }
.league-category__title span { color: #8fa4b5; font-weight: 700; }
.league-category__items[hidden] { display: none; }
.league-link small { margin-left: auto; color: #8fa4b5; font-size: 11px; }
.market-head { display: grid; grid-template-columns: minmax(190px,1fr) repeat(3,76px) 52px; gap: 1px; color: #fff; background: var(--orange); font-size: 12px; font-weight: 800; }
.market-head span { min-height: 38px; display: grid; place-items: center; padding: 5px; text-align: center; background: rgba(255,255,255,.06); }
.market-head span:first-child { place-items: center start; padding-left: 12px; }
.league-group { border: 1px solid var(--line); border-top: 0; }
.league-name { margin: 0; padding: 6px 10px; color: var(--ink); background: #dce2e6; font-size: 16px; font-style: italic; font-weight: 650; }
.match { display: grid; grid-template-columns: minmax(190px,1fr) repeat(3,76px) 52px; gap: 1px; align-items: stretch; background: var(--line); border-top: 1px solid var(--line); }
.match__meta { padding: 10px 12px; background: #fff; }
.match__meta strong { display: block; font-size: 14px; line-height: 1.25; }
.match__meta span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.odd { border: 0; color: var(--navy); background: #f9fbfc; font-weight: 850; transition: .16s ease; }
.odd:hover { background: #efffde; color: #4c8500; }
.odd.is-selected { color: #fff; background: var(--orange); box-shadow: inset 0 -3px 0 var(--orange-dark); }
.odd--unavailable { display: grid; place-items: center; color: var(--muted); background: #eef2f5; cursor: not-allowed; }
.more-odds { display: grid; place-items: center; color: var(--muted); background: #fff; font-size: 12px; font-weight: 800; }
.empty-state { padding: 34px; border: 1px solid var(--line); background: #fff; text-align: center; color: var(--muted); }
.loading-state { padding: 34px; border: 1px solid var(--line); background: #fff; text-align: center; color: var(--muted); }

.panel-title--ticket { justify-content: space-between; }
.count { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; color: var(--orange-dark); background: #fff; }
.coupon__empty { min-height: 190px; padding: 28px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.coupon__ball { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 50%; color: #fff; background: var(--blue); font-size: 28px; }
.coupon__empty strong { font-size: 15px; }
.coupon__empty p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.coupon__picks:empty { display: none; }
.coupon__picks { padding: 2px 12px 0; }
.pick { position: relative; padding: 11px 28px 11px 0; border-bottom: 1px solid var(--line); }
.pick strong, .pick span { display: block; }
.pick strong { font-size: 13px; }
.pick span { color: var(--muted); font-size: 12px; }
.pick em { color: var(--orange-dark); font-style: normal; font-weight: 850; }
.pick button { position: absolute; top: 10px; right: 0; border: 0; color: var(--muted); background: transparent; }
.coupon__summary { padding: 14px; border-top: 1px solid var(--line); }
.name-field { display: block; margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.name-field input { display: block; width: 100%; height: 42px; margin-top: 5px; border: 1px solid var(--line); padding: 0 11px; color: var(--ink); background: #fff; }
.coupon__summary > label { display: block; color: var(--muted); font-size: 13px; }
.money-input { margin-top: 5px; height: 42px; padding: 0 11px; display: flex; align-items: center; border: 1px solid var(--line); color: var(--ink); background: #fff; font-weight: 750; }
.money-input input { min-width: 0; width: 100%; border: 0; outline: 0; text-align: right; font-weight: 800; }
.coupon__summary > div { display: flex; justify-content: space-between; gap: 12px; padding-top: 11px; font-size: 14px; }
.coupon__summary > button { width: 100%; height: 42px; margin-top: 12px; border: 0; border-radius: 4px; color: #fff; background: var(--orange); font-weight: 850; }
.coupon__summary > button:disabled { cursor: not-allowed; color: #a6afb6; background: #e6ebef; }
.coupon__summary > .button-quiet { margin-top: 6px; color: var(--muted); background: transparent; border: 1px solid var(--line); }
.coupon__summary small { display: block; margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.mobile-coupon { display: none; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 26px; transform: translate(-50%, 18px); max-width: min(92vw, 520px); padding: 12px 18px; border-radius: 8px; color: #fff; background: var(--navy); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.page-view { min-height: 630px; padding: clamp(28px, 5vw, 62px); background: #f7f9fb; }
.page-view[hidden] { display: none !important; }
.page-heading { max-width: 680px; margin-bottom: 34px; }
.eyebrow, .card-kicker { color: var(--orange-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.page-heading h1 { margin: 7px 0 8px; color: var(--navy); font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -.045em; }
.page-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.lookup-form { max-width: 700px; padding: 22px; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 26px rgba(8,24,39,.06); }
.lookup-form label { display: block; margin-bottom: 7px; font-weight: 800; }
.lookup-form > div { display: flex; gap: 8px; }
.lookup-form input { min-width: 0; flex: 1; height: 46px; border: 1px solid var(--line); padding: 0 13px; }
.lookup-form button, .app-card button { border: 0; border-radius: 4px; padding: 0 20px; color: #fff; background: var(--orange); font-weight: 850; }
.lookup-result { max-width: 700px; margin-top: 16px; padding: 30px; border: 1px dashed #becad3; background: rgba(255,255,255,.64); text-align: center; }
.lookup-result__icon { width: 48px; height: 48px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 24px; }
.lookup-result h2 { margin: 0; font-family: var(--font-display); font-size: 18px; }
.lookup-result p { margin: 6px 0 0; color: var(--muted); }
.lookup-result.is-found { border-style: solid; border-color: #9ed7f5; background: #fff; text-align: left; }
.lookup-result.is-found .lookup-result__icon { margin-left: 0; background: var(--orange); }
.lookup-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 18px; }
.lookup-summary div { padding: 12px; background: var(--ice); }
.lookup-summary span, .lookup-summary strong { display: block; }
.lookup-summary span { color: var(--muted); font-size: 12px; }
.app-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.app-card { min-height: 330px; display: grid; grid-template-columns: 44% 1fr; align-items: center; gap: 24px; padding: 28px; overflow: hidden; color: #fff; background: var(--navy); box-shadow: var(--shadow); }
.app-card--tablet { background: linear-gradient(140deg, #163b57, #081827); }
.app-card h2 { margin: 4px 0 8px; font-family: var(--font-display); font-size: 26px; }
.app-card p { color: #c7d2da; }
.app-card button { min-height: 42px; margin-top: 10px; }
.device { position: relative; margin: auto; border: 6px solid #cbd4db; background: #eff4f7; box-shadow: 0 20px 36px rgba(0,0,0,.32); }
.device--phone { width: 126px; height: 238px; border-radius: 22px; padding: 28px 9px 10px; }
.device--tablet { width: 180px; height: 228px; border-radius: 14px; padding: 24px 12px 12px; }
.device::before { content: ""; position: absolute; top: 10px; left: 50%; width: 34px; height: 4px; transform: translateX(-50%); border-radius: 9px; background: #7b8892; }
.device span { display: block; height: 54px; margin-bottom: 8px; background: linear-gradient(135deg, var(--navy), var(--orange)); }
.device b { display: grid; place-items: center; float: right; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--orange); }
.device i { display: block; height: 28px; margin: 6px 38px 0 0; border-left: 4px solid var(--blue); background: #d9e2e8; }
.rules-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 34px; }
.rules-index { display: flex; flex-direction: column; align-self: start; position: sticky; top: 20px; padding: 10px; border-top: 4px solid var(--orange); background: #fff; }
.rules-index a { padding: 10px; color: var(--ink); text-decoration: none; font-weight: 750; }
.rules-index a:hover { color: var(--orange-dark); }
.rules-copy article { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.rules-copy article > span { color: var(--orange); font-size: 22px; font-weight: 900; }
.rules-copy h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 20px; }
.rules-copy p { margin: 0; color: var(--muted); }
.ticket-dialog { width: min(92vw, 500px); border: 0; border-top: 6px solid var(--orange); padding: 30px; color: var(--ink); box-shadow: 0 30px 80px rgba(2,8,14,.42); }
.ticket-dialog::backdrop { background: rgba(4,13,21,.72); backdrop-filter: blur(3px); }
.ticket-dialog h2 { margin: 5px 0 18px; font-family: var(--font-display); font-size: 28px; }
.dialog-close { position: absolute; top: 10px; right: 12px; border: 0; color: var(--muted); background: transparent; font-size: 26px; }
.dialog-picks { border-top: 1px solid var(--line); }
.dialog-picks .pick { padding-right: 0; }
.dialog-total, .ticket-code { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.ticket-code { align-items: center; }
.ticket-code strong { padding: 7px 10px; color: #4c8500; background: #efffde; letter-spacing: .08em; }
.ticket-person, .ticket-validity { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.ticket-person span, .ticket-validity span { color: var(--muted); }
.ticket-validity strong { color: var(--orange-dark); font-size: 12px; text-align: right; }
.share-button { display: grid; place-items: center; min-height: 42px; margin-top: 14px; border-radius: 4px; color: var(--navy); background: var(--blue); font-weight: 850; text-decoration: none; }
.ticket-dialog > p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }

@media (max-width: 980px) {
  .masthead { min-height: 128px; }
  .masthead__inner { padding-inline: 16px; }
  .brand { width: 174px; height: 102px; }
  .brand__mark { flex-basis: 50px; height: 50px; border-width: 5px; }
  .brand__mark i { top: 7px; font-size: 25px; }
  .brand__mark i:first-child { left: 7px; }
  .brand__mark i:last-child { right: 7px; }
  .brand__text strong { font-size: 21px; }
  .login { margin-top: 8px; }
  .workspace { grid-template-columns: 176px minmax(0,1fr); }
  .coupon { position: fixed; z-index: 15; top: 0; right: 0; bottom: 0; width: min(88vw, 340px); overflow-y: auto; transform: translateX(105%); transition: .24s ease; box-shadow: var(--shadow); }
  .coupon.is-open { transform: translateX(0); }
  .mobile-coupon { position: fixed; z-index: 14; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border: 0; border-radius: 999px; color: #fff; background: var(--navy); box-shadow: var(--shadow); font-weight: 850; }
  .mobile-coupon span { display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 50%; color: var(--navy); background: var(--orange); }
}

@media (max-width: 720px) {
  body { background: #f3f5f7; }
  .masthead { min-height: auto; background: var(--navy); }
  .masthead__inner { min-height: 72px; padding: 10px 14px; align-items: center; }
  .brand { width: auto; height: auto; padding: 0; border-radius: 0; color: #fff; background: none; box-shadow: none; }
  .brand__mark { flex-basis: 42px; height: 42px; border-color: #fff; outline-width: 2px; }
  .brand__mark i { top: 6px; font-size: 21px; }
  .brand__mark i:first-child { left: 6px; color: #fff; }
  .brand__mark i:last-child { right: 6px; color: var(--blue); }
  .brand__text small { display: none; }
  .brand__text strong { color: #fff; }
  .login { display: none; }
  .shell { margin: 0; box-shadow: none; }
  .topnav { overflow-x: auto; padding: 8px; }
  .sport-select, .demo-badge { display: none; }
  .topnav__link { flex: 0 0 auto; min-height: 38px; padding: 0 12px; }
  .workspace { display: block; padding: 10px; }
  .leagues { display: flex; gap: 7px; overflow-x: auto; margin-bottom: 10px; border: 0; background: transparent; scrollbar-width: none; }
  .leagues .panel-title { display: none; }
  .league-link { flex: 0 0 auto; width: auto; min-height: 38px; border: 0; border-radius: 999px; padding: 0 14px; color: var(--ink); background: #fff; box-shadow: 0 2px 10px rgba(8,24,39,.08); }
  .league-link:hover, .league-link.is-active { padding-left: 14px; color: #fff; background: var(--orange); }
  .hero { height: 205px; }
  .hero__copy { width: 76%; padding: 22px; }
  .hero__copy p { font-size: 13px; }
  .event-tools { display: block; }
  .day-tabs { margin-top: 8px; }
  .day-tab { flex: 1; }
  .market-head { display: none; }
  .league-name { background: var(--navy); color: #fff; font-style: normal; }
  .match { grid-template-columns: minmax(0,1fr) repeat(3,64px); }
  .match__meta { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .odd { min-height: 52px; }
  .more-odds { min-height: 52px; }
  .page-view { min-height: calc(100vh - 126px); padding: 28px 18px 90px; }
  .lookup-form { padding: 16px; }
  .lookup-form > div { display: block; }
  .lookup-form button { width: 100%; min-height: 44px; margin-top: 8px; }
  .lookup-summary { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { grid-template-columns: 1fr; text-align: center; }
  .rules-layout { display: block; }
  .rules-index { position: static; flex-direction: row; overflow-x: auto; margin-bottom: 20px; }
  .rules-index a { flex: 0 0 auto; }
}

@media (max-width: 420px) {
  .hero { height: 190px; }
  .hero img { object-position: 64% center; }
  .hero__copy { width: 72%; padding: 17px; }
  .hero__copy h1 { font-size: 27px; }
  .match { grid-template-columns: minmax(0,1fr) repeat(3,58px); }
  .match .more-odds { display: none; }
}
