:root {
  --bg: #EEF2EF;
  --panel: #FFFFFF;
  --ink: #0E1A2B;
  --ink-2: #3B4A5E;
  --mute: #7B8798;
  --line: #E5EAE6;
  --line-2: #D6DFD9;
  --soft: #F3F6F4;
  --green: #22B84A;
  --green-2: #16A34A;
  --green-3: #15803D;
  --lime: #C9F34A;
  --lime-soft: #F1FBD8;
  --navy: #0E1A2B;
  --navy-2: #16263D;
  --ag: #BEF264;
  --ag-ink: #0A0A0D;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --sh: 0 1px 2px rgba(14, 26, 43, .04), 0 10px 28px rgba(14, 26, 43, .06);
  --f-ui: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-num: Outfit, Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 14px/1.45 var(--f-ui); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-num); }
[hidden], .is-miss { display: none !important; }
.mute { color: var(--mute); font-weight: 500; }

/* shell */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 24px;
  padding: 22px 16px 18px; background: #fff; border-right: 1px solid var(--line);
}
.brand { display: inline-flex; margin: 0 4px; }
.snav { display: grid; gap: 4px; }
.snav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; color: var(--ink-2); font-weight: 600; }
.snav a svg { width: 20px; height: 20px; flex: 0 0 auto; }
.snav a:hover { background: var(--soft); color: var(--ink); }
.snav a.is-on { background: var(--navy); color: #fff; }
.snav a.is-on svg { color: var(--lime); }
.snav b { margin-left: auto; min-width: 24px; padding: 0 8px; border-radius: 999px; background: var(--lime-soft); color: var(--green-3); font: 700 12px/20px var(--f-num); text-align: center; }
.snav a.is-on b { background: var(--lime); color: var(--navy); }
.side-title { margin: 0 12px 6px; color: var(--mute); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.side-leagues a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; color: var(--ink-2); font-weight: 600; font-size: 13px; }
.side-leagues a:hover { background: var(--soft); }
.side-leagues em { margin-left: auto; font-style: normal; color: var(--mute); font-family: var(--f-num); }
.dotc { display: inline-block; width: 9px; height: 9px; border-radius: 3px; flex: 0 0 auto; }
.side-promo { margin-top: auto; padding: 16px; border-radius: var(--r-lg); background: var(--ag-ink); color: #fff; }
.side-promo .ag-mark { width: 38px; height: 38px; }
.side-promo b { display: block; margin-top: 10px; font: 700 17px/1.2 var(--f-num); }
.side-promo p { margin: 4px 0 12px; color: #A6ADBB; font-size: 13px; }
.side-promo a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 999px; background: var(--ag); color: var(--ag-ink); font-weight: 700; font-size: 13px; }
.side-promo a svg { width: 14px; height: 14px; }

.main { min-width: 0; padding: 22px 28px 40px; }
.mbar, .dock { display: none; }
.topbar { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.hello span { display: block; color: var(--mute); font-weight: 600; font-size: 13px; }
.hello b { display: block; font: 700 24px/1.15 var(--f-num); letter-spacing: -.01em; }
.search { margin-left: auto; flex: 0 1 380px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: var(--sh); }
.search svg { width: 18px; height: 18px; color: var(--mute); flex: 0 0 auto; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 14px var(--f-ui); color: var(--ink); }
.live-pill { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; white-space: nowrap; }
.live-pill i, .pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 1.6s infinite; flex: 0 0 auto; }
.pulse.dark { background: var(--green-2); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 184, 74, .55); }
  70% { box-shadow: 0 0 0 7px rgba(34, 184, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 184, 74, 0); }
}
.foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; color: var(--mute); font-size: 12px; }

/* shared */
.card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh); overflow: hidden; }
.empty { margin: 0; padding: 16px 18px; color: var(--mute); font-weight: 500; }
.sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; display: flex; align-items: center; gap: 10px; font: 700 20px/1.2 var(--f-num); letter-spacing: -.01em; }
.sec-head h2 .ag-mark { width: 28px; height: 28px; }
.sec-head .link { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; color: var(--green-3); font-weight: 700; font-size: 13px; }
.sec-head .link svg { width: 16px; height: 16px; }
.count { display: inline-block; padding: 0 10px; border-radius: 999px; background: #fff; color: var(--ink-2); font: 700 12px/24px var(--f-num); box-shadow: var(--sh); }
.crest {
  --c: #0E1A2B;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(150deg, rgba(255, 255, 255, .22), rgba(0, 0, 0, .18)), var(--c);
  color: #fff; font: 700 12px/1 var(--f-num); letter-spacing: .02em;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22), 0 2px 6px rgba(14, 26, 43, .14);
}
.crest-xs { width: 20px; height: 20px; font-size: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.crest-sm { width: 24px; height: 24px; font-size: 9px; }
.crest-md { width: 40px; height: 40px; font-size: 14px; }
.crest-lg { width: 76px; height: 76px; font-size: 24px; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .3), 0 12px 26px rgba(14, 26, 43, .22); }
.crest-xl { width: 88px; height: 88px; font-size: 28px; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .25), 0 16px 34px rgba(0, 0, 0, .35); }
.wdls { display: flex; gap: 4px; }
.wdl { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 7px; font: 700 11px/1 var(--f-num); font-style: normal; }
.wdl.w { background: var(--green-2); color: #fff; }
.wdl.d { background: #DCE3EC; color: var(--navy); }
.wdl.l { background: var(--navy); color: #fff; }
.ag-mark { display: block; width: 32px; height: 32px; flex: 0 0 auto; }

/* home */
.home { display: grid; grid-template-columns: minmax(0, 1fr) 344px; grid-template-areas: "main rail" "list rail"; gap: 28px 24px; align-items: start; }
.home-main { grid-area: main; min-width: 0; display: grid; gap: 28px; }
.home-rail { grid-area: rail; display: grid; gap: 18px; min-width: 0; }
.home-list { grid-area: list; min-width: 0; }
.home-main > *, .home-rail > *, .stack > *, .dossier > * { min-width: 0; }
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.days::-webkit-scrollbar { display: none; }
.day { flex: 0 0 auto; width: 70px; padding: 10px 0 9px; border-radius: 18px; background: #fff; text-align: center; box-shadow: var(--sh); }
.day span { display: block; color: var(--mute); font-size: 12px; font-weight: 600; }
.day b { display: block; font: 700 22px/1.15 var(--f-num); }
.day em { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: var(--green-3); }
.day.is-on { background: var(--navy); color: #fff; }
.day.is-on span { color: #9FB0C6; }
.day.is-on em { color: var(--lime); }

.feature {
  position: relative; display: grid; gap: 18px; padding: 22px 24px 22px; border-radius: 32px; color: var(--navy); overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400' fill='none' stroke='%23ffffff' stroke-opacity='.5' stroke-width='2'%3E%3Cpath d='M400 0v400'/%3E%3Ccircle cx='400' cy='200' r='72'/%3E%3Ccircle cx='400' cy='200' r='4' fill='%23ffffff'/%3E%3Cpath d='M0 105h96v190H0M800 105h-96v190h96M0 158h36v84H0M800 158h-36v84h36'/%3E%3C/svg%3E") center/cover no-repeat,
    radial-gradient(520px 240px at 12% 0%, rgba(255, 255, 255, .55), transparent 62%),
    linear-gradient(125deg, #E9FC7C 0%, #B8F05C 44%, #57D468 100%);
  box-shadow: 0 24px 48px rgba(87, 212, 104, .28);
}
.f-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.f-league, .f-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.f-league { background: rgba(255, 255, 255, .72); }
.f-badge { background: var(--navy); color: #fff; }
.f-mid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px; }
.f-team { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.f-team.away { align-items: flex-end; text-align: right; }
.f-team strong { font: 800 30px/1 var(--f-num); letter-spacing: -.02em; }
.f-center { text-align: center; }
.f-center b { display: block; font: 800 66px/.9 var(--f-num); letter-spacing: -.03em; }
.f-center span { display: block; margin-top: 8px; font-weight: 700; font-size: 13px; opacity: .72; }
.f-split { display: grid; gap: 7px; }
.f-cap { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.split { display: flex; gap: 4px; height: 10px; }
.split i { display: block; height: 100%; border-radius: 999px; }
.split .s1 { background: var(--navy); }
.split .sx { background: rgba(255, 255, 255, .9); }
.split .s2 { background: #0F7A3A; }
.split-l { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; }
.f-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.f-odd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-width: 120px; padding: 11px 14px; border-radius: 16px; background: rgba(255, 255, 255, .9); font: 800 19px var(--f-num); }
.f-odd small { font: 700 12px var(--f-ui); color: var(--mute); }
.f-odd.is-fav { background: var(--navy); color: var(--lime); }
.f-odd.is-fav small { color: #9FB0C6; }
.ag-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--ag-ink); color: #fff; font-weight: 700; font-size: 13px; }
.ag-pill .ag-mark { width: 34px; height: 34px; }
.ag-pill em { font-style: normal; color: var(--ag); font: 800 17px var(--f-num); }

.live-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(232px, 1fr); gap: 12px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.lcard { display: grid; gap: 10px; align-content: start; padding: 14px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh); transition: transform .15s ease; }
.lcard:hover, .tcard:hover, .nitem:hover { transform: translateY(-2px); }
.lcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--mute); font-size: 12px; font-weight: 600; }
.lcard-top > span:first-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.min { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--navy); color: #fff; font: 700 12px var(--f-num); white-space: nowrap; }
.min i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.lteam { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.lteam > span:not(.crest) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lteam b { font: 800 22px var(--f-num); }
.tagline { justify-self: start; padding: 4px 9px; border-radius: 10px; background: var(--lime-soft); color: var(--green-3); font-size: 12px; font-weight: 700; }

.tip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tcard { display: grid; gap: 14px; min-width: 0; padding: 16px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh); transition: transform .15s ease; }
.lcard, .nitem, .live-grid > *, .news-grid > * { min-width: 0; }
.tcard, .lcard, .vote, .feature { grid-template-columns: minmax(0, 1fr); }
.tcard-top { display: flex; justify-content: space-between; gap: 8px; color: var(--mute); font-size: 12px; font-weight: 600; }
.tcard-top span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.tcard-top b { color: var(--ink); font: 700 15px var(--f-num); }
.tteams { display: grid; gap: 9px; }
.tteams > span { display: flex; align-items: center; gap: 10px; font-weight: 700; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpick { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 7px 7px 13px; border-radius: 14px; background: var(--lime-soft); }
.tpick span { font-weight: 700; color: var(--green-3); }
.tpick b { padding: 6px 11px; border-radius: 10px; background: var(--ag-ink); color: var(--ag); font: 800 16px var(--f-num); }

.news-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; }
.ncard-big {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 320px; padding: 22px; border-radius: var(--r-xl); color: #fff; overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' fill='none' stroke='%23C9F34A' stroke-opacity='.18' stroke-width='2'%3E%3Cpath d='M300 0v400'/%3E%3Ccircle cx='300' cy='200' r='64'/%3E%3Cpath d='M0 110h80v180H0M600 110h-80v180h80'/%3E%3C/svg%3E") center/cover no-repeat,
    linear-gradient(160deg, #1B2E49 0%, #0E1A2B 55%, #0B3B23 100%);
}
.ncard-big .crests { position: absolute; top: 24px; right: 22px; display: flex; }
.ncard-big .crests .crest + .crest { margin-left: -18px; }
.ncard-big h3 { margin: 0; font: 800 26px/1.1 var(--f-num); letter-spacing: -.01em; }
.ncard-big p { margin: 0; color: #C5D0DE; font-weight: 500; }
.ncard-big small { color: #8FA2BA; font-weight: 600; }
.tag { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--lime); color: var(--navy); font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.nlist { display: grid; gap: 10px; align-content: start; }
.nitem { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh); transition: transform .15s ease; }
.nthumb { display: flex; align-items: center; justify-content: center; height: 80px; border-radius: 16px; background: linear-gradient(140deg, #E9FC7C, #57D468); }
.nthumb .crest + .crest { margin-left: -10px; }
.nitem small { color: var(--mute); font-weight: 600; font-size: 12px; }
.nitem h4 { margin: 3px 0 0; font: 700 15px/1.25 var(--f-num); }

.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: var(--sh); }
.seg button { border: 0; background: transparent; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.seg button.is-on { background: var(--navy); color: #fff; }
.mlist { border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh); overflow: hidden; }
.mgroup + .mgroup { border-top: 6px solid var(--soft); }
.mgroup-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px 8px; font-weight: 700; font-size: 13px; color: var(--ink-2); }
.mgroup-h em { margin-left: auto; font-style: normal; color: var(--mute); font-family: var(--f-num); }
.mrow2 { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 18px; border-top: 1px solid #F0F3F1; }
.mrow2:hover { background: #F8FBF9; }
.mtime { font: 700 15px/1.1 var(--f-num); }
.mtime small { display: block; margin-top: 2px; color: var(--mute); font: 600 11px var(--f-ui); }
.mtime.live { display: inline-flex; align-items: center; gap: 6px; color: var(--green-3); }
.mteams { display: grid; gap: 6px; min-width: 0; }
.mteams > span { display: flex; align-items: center; gap: 10px; font-weight: 600; min-width: 0; }
.mteams em { font-style: normal; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mteams b { margin-left: auto; font: 800 15px var(--f-num); }
.mright { display: flex; align-items: center; gap: 6px; }
.oddb { min-width: 58px; padding: 6px 8px; border-radius: 12px; background: var(--soft); text-align: center; font: 700 15px/1.15 var(--f-num); }
.oddb small { display: block; font: 700 10px var(--f-ui); color: var(--mute); }
.oddb.is-fav { background: var(--lime-soft); color: var(--green-3); box-shadow: inset 0 0 0 1.5px #C9EC93; }
.agtag { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--ag-ink); color: var(--ag); font: 700 12px var(--f-num); white-space: nowrap; }
.agtag .ag-mark { width: 22px; height: 22px; }

.rail-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font: 700 17px var(--f-num); }
.rail-h span { color: var(--mute); font: 600 12px var(--f-ui); }
.vote { padding: 18px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh); }
.vote-q { margin: 0 0 12px; color: var(--ink-2); }
.vote-q b { color: var(--ink); }
.vote-opts { display: grid; gap: 8px; }
.vote-opts button { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; font-weight: 700; text-align: left; cursor: pointer; overflow: hidden; transition: border-color .15s; }
.vote-opts button:hover { border-color: var(--green-2); }
.vote-opts button i { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: var(--lime-soft); transition: width .6s ease; }
.vote-opts button span, .vote-opts button b { position: relative; }
.vote-opts button b { font-family: var(--f-num); opacity: 0; }
.vote.is-done .vote-opts button b { opacity: 1; }
.vote-opts button.is-mine { border-color: var(--green-2); }
.vote-opts button.is-mine i { background: #DDF6B8; }
.vote.is-busy { opacity: .7; }
.vote-note { margin: 10px 0 0; color: var(--mute); font-size: 12px; }

.stub { border-radius: 26px; background: var(--navy); color: #fff; overflow: hidden; box-shadow: 0 18px 36px rgba(14, 26, 43, .22); }
.stub-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 18px 18px 16px; }
.stub-head span { display: block; color: #9FB0C6; font-size: 12px; font-weight: 600; }
.stub-head b { display: block; font: 700 17px var(--f-num); }
.stub-head strong { font: 800 46px/.85 var(--f-num); color: var(--lime); letter-spacing: -.02em; }
.stub-cut { position: relative; margin: 0 18px; border-top: 2px dashed rgba(255, 255, 255, .16); }
.stub-cut::before, .stub-cut::after { content: ""; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); }
.stub-cut::before { left: -32px; }
.stub-cut::after { right: -32px; }
.stub-leg { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 18px; }
.stub-leg + .stub-leg { border-top: 1px solid rgba(255, 255, 255, .07); }
.stub-leg:hover { background: rgba(255, 255, 255, .04); }
.stub-leg span { color: #9FB0C6; font: 600 12px var(--f-num); }
.stub-leg div { min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stub-leg small { display: block; color: var(--lime); font-weight: 700; }
.stub-leg b { font: 800 17px var(--f-num); }
.stub-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 18px 18px; border-top: 1px solid rgba(255, 255, 255, .07); color: #9FB0C6; font-size: 12px; }
.stub-foot b { color: #fff; font: 700 14px var(--f-num); }

.agcard { padding: 18px; border-radius: var(--r-xl); background: var(--ag-ink); color: #fff; box-shadow: 0 18px 36px rgba(10, 10, 13, .22); }
.agcard-top { display: flex; align-items: center; gap: 12px; }
.agcard-top .ag-mark { width: 42px; height: 42px; }
.agcard-top b { display: block; font: 800 18px var(--f-num); }
.agcard-top span { color: #A6ADBB; font-size: 12px; }
.agcard-top a { margin-left: auto; padding: 8px 12px; border-radius: 999px; background: var(--ag); color: var(--ag-ink); font-weight: 800; font-size: 12px; }
.agk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 14px; }
.agk div { padding: 10px; border-radius: 14px; background: #17171D; }
.agk b { display: block; font: 800 21px var(--f-num); color: var(--ag); }
.agk span { color: #A6ADBB; font-size: 11px; font-weight: 600; }
.agbars { display: flex; align-items: flex-end; gap: 5px; height: 64px; }
.agbars i { flex: 1; border-radius: 6px 6px 3px 3px; background: #2C2C35; }
.agbars i.is-today { background: var(--ag); }
.agbars-l { display: flex; justify-content: space-between; margin-top: 8px; color: #6F7686; font-size: 11px; }

.table-card { padding: 18px 0 14px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh); }
.table-card .rail-h { padding: 0 18px; }
.ltabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 18px 10px; scrollbar-width: none; }
.ltabs::-webkit-scrollbar { display: none; }
.ltabs button { flex: 0 0 auto; border: 0; padding: 6px 11px; border-radius: 999px; background: var(--soft); color: var(--ink-2); font-weight: 700; font-size: 12px; cursor: pointer; }
.ltabs button.is-on { background: var(--navy); color: #fff; }
.stand { width: 100%; border-collapse: collapse; }
.stand th { padding: 6px 8px; color: var(--mute); font: 700 11px var(--f-ui); text-transform: uppercase; letter-spacing: .06em; text-align: right; border: 0; }
.stand th:nth-child(2) { text-align: left; }
.stand td { padding: 8px; border-top: 1px solid #F0F3F1; text-align: right; font: 600 13px var(--f-num); }
.stand td:first-child, .stand th:first-child { width: 34px; text-align: center; color: var(--mute); }
.stand td:last-child, .stand th:last-child { padding-right: 18px; }
.stand td.tm { text-align: left; }
.stand td.tm div { display: flex; align-items: center; gap: 8px; max-width: 170px; font: 600 13px var(--f-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stand td.pts { font-weight: 800; }
.stand tr.top td:first-child { color: var(--green-3); font-weight: 800; }
.table-note { margin: 8px 18px 0; color: var(--mute); font-size: 11px; }

/* inner pages */
.page { min-width: 0; }
.board-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.board-head h1 { margin: 0; font: 800 30px/1.05 var(--f-num); letter-spacing: -.02em; }
.board-head p { margin: 4px 0 0; color: var(--mute); font-weight: 500; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: var(--sh); font-weight: 600; font-size: 13px; }
.chip.is-on { background: var(--navy); color: #fff; }
.chip em { font-style: normal; color: var(--green-3); font-family: var(--f-num); }
.chip.is-on em { color: var(--lime); }
.stack { display: grid; gap: 16px; }
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.league { margin-bottom: 14px; }
.lg { display: flex; align-items: center; gap: 10px; padding: 13px 18px; font: 700 15px var(--f-num); color: var(--ink); border-bottom: 1px solid var(--line); }
.lg i { width: 9px; height: 9px; border-radius: 3px; background: var(--green-2); flex: 0 0 auto; }
.lg.hot { background: var(--lime-soft); }
.lg span { margin-left: auto; color: var(--mute); font: 600 12px var(--f-ui); }
.mrow { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 18px; border-top: 1px solid #F0F3F1; }
.mrow:first-of-type { border-top: 0; }
.when { color: var(--mute); font: 700 13px var(--f-num); }
.liveflag { display: inline-flex; align-items: center; gap: 6px; color: var(--green-3); font: 700 14px var(--f-num); }
.liveflag i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); animation: pulse 1.6s infinite; }
.teams { font-weight: 700; color: var(--ink); min-width: 0; }
.teams small { display: block; margin-top: 2px; color: var(--mute); font-weight: 500; font-size: 12px; }
.scorepill { display: inline-block; padding: 2px 8px; border-radius: 8px; background: var(--navy); color: #fff; font: 700 13px var(--f-num); }
.odds { display: flex; gap: 6px; }
.ob { min-width: 58px; padding: 6px 8px; border-radius: 12px; background: var(--soft); text-align: center; font: 700 15px/1.15 var(--f-num); }
.ob small { display: block; font: 700 10px var(--f-ui); color: var(--mute); }
.ob.is-fav { background: var(--ag-ink); color: var(--ag); }
.ob.is-fav small { color: #A6ADBB; }
.slip-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 18px; border-top: 1px solid #F0F3F1; }
.slip-odd { padding: 6px 10px; border-radius: 10px; background: var(--ag-ink); color: var(--ag); font: 800 15px var(--f-num); }
.ag-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--ag-ink); color: #fff; }
.ag-head b { display: block; font: 800 16px var(--f-num); }
.ag-head span, .ag-head em { color: var(--ag); font-style: normal; font-size: 12px; }
.more { display: block; padding: 12px 18px; color: var(--green-3); font-weight: 700; }
.kicker { margin: 0 0 10px; color: var(--green-3); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* match page */
.dossier { display: grid; gap: 14px; }
.sheet { padding-bottom: 12px; }
.sheet-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 22px; }
.club-lite { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.club-lite strong { font: 800 28px/1.02 var(--f-num); letter-spacing: -.02em; }
.club-lite.away { align-items: flex-end; text-align: right; }
.sheet-score { text-align: center; }
.sheet-score b { display: block; font: 800 54px/.9 var(--f-num); letter-spacing: -.03em; }
.sheet-score span { display: block; margin-top: 6px; color: var(--green-3); font-weight: 700; }
.price-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0 18px 10px; }
.price { padding: 10px 6px; border-radius: 14px; background: var(--soft); text-align: center; font: 800 21px var(--f-num); }
.price small { display: block; font: 700 11px var(--f-ui); letter-spacing: .06em; color: var(--mute); }
.price-row.slim .price { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 18px; }
.pred-line { margin: 0; padding: 4px 22px 6px; color: var(--ink-2); font-weight: 500; }
.pred-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pred { padding: 14px 16px; }
.pred h3 { margin: 0 0 6px; color: var(--mute); font: 700 11px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; }
.pred p { margin: 0; font: 700 17px/1.3 var(--f-num); }
.tabbar { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: var(--sh); justify-self: start; }
.tabbar button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.tabbar button.is-on { background: var(--navy); color: #fff; }
.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.radar { display: block; width: 100%; height: auto; max-width: 360px; margin: 0 auto; }
.legend { margin: 0; padding: 0 18px 14px; color: var(--mute); font-size: 12px; font-weight: 500; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 8px; }
.swatch.home { background: var(--green-2); }
.swatch.away { background: var(--navy); }
.away-lab { color: var(--ink) !important; }
.bar { display: grid; grid-template-columns: 52px 1fr 52px; gap: 10px; align-items: center; padding: 9px 18px; }
.bar em { display: block; margin-bottom: 4px; font-style: normal; font-size: 12px; color: var(--mute); text-align: center; }
.bar span { font: 700 17px var(--f-num); }
.bar span:last-child { text-align: right; }
.dual i { display: block; height: 7px; margin-top: 3px; border-radius: 999px; }
.dual i.home { background: var(--green-2); }
.dual i.away { background: var(--navy); }
.markets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.mkt { padding: 14px 16px; }
.mkt h3 { margin: 0 0 10px; color: var(--mute); font: 700 11px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; }
.pair { display: flex; gap: 6px; flex-wrap: wrap; }
.pair .ob { flex: 1; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 18px; border-top: 1px solid #F0F3F1; text-align: left; }
th { color: var(--mute); font: 700 11px var(--f-ui); letter-spacing: .06em; text-transform: uppercase; }
.article { max-width: 760px; }
.article h1 { margin: 0 0 10px; font: 800 38px/1.05 var(--f-num); letter-spacing: -.02em; }
.article .lead { font-size: 19px; color: var(--ink); }
.article p { color: var(--ink-2); font-size: 16px; line-height: 1.6; }

@media (max-width: 1240px) {
  .home { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "rail" "list"; }
  .home-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 980px) {
  .shell { display: block; }
  .sidebar, .topbar .hello, .topbar .live-pill { display: none; }
  .main { padding: 14px 14px 100px; }
  .mbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
  .mbar .brand { margin: 0; }
  .mbar .live-pill { height: 38px; padding: 0 14px; }
  .search { flex: 1 1 auto; margin: 0; }
  .dock { display: flex; position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 30; gap: 4px; padding: 6px; border-radius: 999px; background: var(--navy); box-shadow: 0 16px 34px rgba(14, 26, 43, .35); }
  .dock a { display: flex; align-items: center; justify-content: center; width: 54px; height: 46px; border-radius: 999px; color: #9FB0C6; }
  .dock a.is-on { background: var(--lime); color: var(--navy); }
  .dock svg { width: 22px; height: 22px; }
  .tip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid, .blocks, .pred-grid, .markets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .home-rail, .news-grid, .blocks { grid-template-columns: minmax(0, 1fr); }
  .tip-grid { grid-template-columns: minmax(0, 1fr); }
  .tip-grid.is-carousel { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: none; }
  .tip-grid.is-carousel::-webkit-scrollbar { display: none; }
  .tip-grid.is-carousel > * { scroll-snap-align: start; }
  .feature { padding: 18px 16px; border-radius: 26px; }
  .f-mid { gap: 8px; }
  .f-team strong { font-size: 17px; }
  .crest-lg { width: 54px; height: 54px; font-size: 17px; }
  .f-center b { font-size: 40px; }
  .f-center span { font-size: 11px; }
  .wdl { width: 18px; height: 18px; font-size: 10px; border-radius: 6px; }
  .f-odd { flex: 1 1 0; min-width: 0; padding: 10px; font-size: 17px; }
  .ag-pill { margin-left: 0; width: 100%; justify-content: center; }
  .split-l span:nth-child(2) { display: none; }
  .mrow2 { grid-template-columns: 46px minmax(0, 1fr); gap: 10px; padding: 10px 14px; }
  .mright { grid-column: 2; justify-content: flex-start; flex-wrap: wrap; }
  .oddb { min-width: 52px; }
  .sheet-top { grid-template-columns: minmax(0, 1fr); }
  .club-lite.away { align-items: flex-start; text-align: left; }
  .pred-grid, .markets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ncard-big { min-height: 280px; }
  .ncard-big .crests .crest { width: 64px; height: 64px; font-size: 20px; }
  .mrow { grid-template-columns: 52px minmax(0, 1fr); }
  .mrow .odds, .mrow .tags { grid-column: 2; }
}

/* accounts & community */
.side-account { display: grid; gap: 2px; }
.side-account a, .side-account button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 13px; text-align: left; cursor: pointer; }
.side-account a:hover, .side-account button:hover, .side-account a.is-on { background: var(--soft); color: var(--ink); }
.side-account svg { width: 18px; height: 18px; flex: 0 0 auto; }
.side-account form { margin: 0; }
.post-pill, .login-pill, .me-pill { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.post-pill { background: var(--lime); color: var(--navy); }
.post-pill svg { width: 18px; height: 18px; }
.login-pill { background: #fff; color: var(--navy); box-shadow: var(--sh); }
.me-pill { padding: 0 4px; background: #fff; box-shadow: var(--sh); }
.me-pill svg { width: 20px; height: 20px; margin: 0 9px; }
.mbar-r { display: inline-flex; align-items: center; gap: 8px; }
.mbar .me-pill { height: 38px; }
.flash { display: flex; align-items: center; gap: 10px; margin: -6px 0 18px; padding: 12px 16px; border-radius: 16px; background: var(--lime-soft); color: var(--green-3); font-weight: 700; box-shadow: inset 0 0 0 1.5px #CDEFA0; }
.flash svg { width: 18px; height: 18px; }

.avatar { --c: #15803D; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(150deg, rgba(255, 255, 255, .2), rgba(0, 0, 0, .16)), var(--c); color: #fff; font: 700 14px/1 var(--f-num); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22); overflow: hidden; }
.avatar.is-ag { background: var(--ag-ink); }
.avatar.is-ag .ag-mark { width: 100%; height: 100%; }
.avatar-xs { width: 22px; height: 22px; font-size: 9px; }
.avatar-sm { width: 34px; height: 34px; font-size: 12px; }
.avatar-lg { width: 64px; height: 64px; font-size: 22px; }
.avatar-xl { width: 96px; height: 96px; font-size: 32px; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .25), 0 14px 30px rgba(14, 26, 43, .2); }
.tick { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 5px; border-radius: 50%; background: var(--lime); color: var(--navy); vertical-align: -2px; }
.tick svg { width: 11px; height: 11px; stroke-width: 3; }
.tick.big { width: 24px; height: 24px; margin-left: 8px; vertical-align: 2px; }
.tick.big svg { width: 15px; height: 15px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: 700 14px var(--f-ui); cursor: pointer; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; color: var(--lime); }
.btn:hover { background: var(--navy-2); }
.btn.ghost { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn.ghost svg { color: var(--green-2); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.alert { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: #FDECEC; color: #9F1D24; font-weight: 600; }
.alert.ok { background: var(--lime-soft); color: var(--green-3); }
.form { display: grid; gap: 14px; }
.form.pad, .card.pad { padding: 20px; }
.form-title { margin: 0; font: 700 18px var(--f-num); }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: 13px; color: var(--ink-2); }
.field small { color: var(--mute); font-size: 12px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; font: 500 14px var(--f-ui); color: var(--ink); outline: 0; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(34, 184, 74, .12); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green-2); }

.auth { display: grid; place-items: start center; }
.auth-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: min(980px, 100%); border-radius: 32px; overflow: hidden; background: #fff; box-shadow: var(--sh); }
.auth-side { display: flex; flex-direction: column; gap: 14px; padding: 34px; color: #fff; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%23C9F34A' stroke-opacity='.16' stroke-width='2'%3E%3Ccircle cx='300' cy='300' r='90'/%3E%3Cpath d='M0 300h600M120 0v600M480 0v600'/%3E%3C/svg%3E") center/cover no-repeat, linear-gradient(160deg, #1B2E49 0%, #0E1A2B 55%, #0B3B23 100%); }
.auth-side h1 { margin: 0; font: 800 34px/1.05 var(--f-num); letter-spacing: -.02em; }
.auth-side p { margin: 0; color: #C5D0DE; }
.auth-side ul { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.auth-side li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.auth-side li svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--lime); color: var(--navy); stroke-width: 3; flex: 0 0 auto; }
.auth-main { padding: 30px; }
.auth-tabs { margin-bottom: 18px; }
.seg a { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--ink-2); }
.seg a.is-on { background: var(--navy); color: #fff; }

.settings-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.profile-preview { display: flex; align-items: center; gap: 14px; }
.profile-preview b { display: block; font: 800 20px var(--f-num); }
.profile-preview small { color: var(--mute); font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw i { display: block; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35); transition: transform .12s; }
.sw input:checked + i { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--green-2); transform: scale(1.05); }

.pro-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 24px; border-radius: 30px; background: #fff; box-shadow: var(--sh); }
.pro-head.is-ag { background: linear-gradient(135deg, #0A0A0D 0%, #16161C 60%, #1D2A10 100%); color: #fff; }
.pro-head.is-ag .pro-meta, .pro-head.is-ag .pro-bio { color: #A6ADBB; }
.pro-id h1 { margin: 0; font: 800 32px/1.05 var(--f-num); letter-spacing: -.02em; }
.pro-meta { margin: 6px 0 0; color: var(--mute); font-weight: 600; }
.pro-bio { margin: 10px 0 0; color: var(--ink-2); max-width: 640px; }
.pro-link { display: inline-block; margin-top: 8px; color: var(--green-3); font-weight: 700; }
.pro-act { display: flex; gap: 8px; flex-wrap: wrap; }
.pro-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.pro-kpis div { padding: 14px 16px; border-radius: 20px; background: #fff; box-shadow: var(--sh); }
.pro-kpis b { display: block; font: 800 24px var(--f-num); }
.pro-kpis span { color: var(--mute); font-size: 12px; font-weight: 600; }
.pos { color: var(--green-3); }
.neg { color: #B42318; }
.pro-form { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 16px; border-radius: 18px; background: #fff; box-shadow: var(--sh); }
.pro-form > span { margin-right: 6px; color: var(--mute); font-weight: 700; font-size: 12px; }
.pro-form em { margin-left: auto; font-style: normal; color: var(--mute); font-weight: 600; font-size: 12px; }

.tip-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.tipcard { display: grid; gap: 12px; align-content: start; min-width: 0; padding: 16px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh); }
.tc-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tc-who { min-width: 0; flex: 1; }
.tname { display: block; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-who small { color: var(--mute); font-weight: 600; font-size: 12px; }
.tc-when { color: var(--mute); font: 700 12px var(--f-num); white-space: nowrap; }
.tc-match { display: grid; gap: 6px; padding: 10px 12px; border-radius: 14px; background: var(--soft); }
.tc-match > span { display: flex; align-items: center; gap: 8px; font-weight: 700; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-match small { color: var(--mute); font-weight: 600; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-pick { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 12px; border-radius: 14px; background: var(--lime-soft); }
.tc-pick span { font-weight: 800; color: var(--green-3); }
.tc-pick small { display: block; color: var(--mute); font-weight: 600; font-size: 11px; }
.tc-pick b { padding: 7px 11px; border-radius: 10px; background: var(--ag-ink); color: var(--ag); font: 800 17px var(--f-num); }
.tc-note { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tc-lock { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 10px 10px 12px; border-radius: 14px; background: repeating-linear-gradient(135deg, #F3F6F4 0 10px, #ECF1EE 10px 20px); }
.tc-lock span { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink-2); }
.tc-lock svg { width: 18px; height: 18px; }
.tc-lock a { padding: 8px 12px; border-radius: 999px; background: var(--ag-ink); color: var(--ag); font-weight: 800; font-size: 12px; white-space: nowrap; }
.tc-res { display: flex; align-items: center; gap: 8px; padding-top: 2px; font-weight: 800; font-size: 13px; }
.tc-res em { margin-left: auto; font-style: normal; color: var(--mute); font-weight: 600; font-size: 12px; }
.tc-res.mine { color: var(--mute); font-weight: 600; font-size: 12px; }
.tipcard.is-won { box-shadow: var(--sh), inset 0 0 0 1.5px #BDE7A6; }
.tipcard.is-won .tc-res { color: var(--green-3); }
.tipcard.is-lost .tc-res { color: #B42318; }
.tipcard.is-void .tc-res { color: var(--mute); }

.rank-card, .cta-card { padding: 18px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh); }
.rank-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid #F0F3F1; }
.rank-row:first-of-type { border-top: 0; }
.rank-row > em { width: 18px; font-style: normal; color: var(--mute); font: 800 14px var(--f-num); text-align: center; }
.rank-row span b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-row span small { color: var(--mute); font-weight: 600; font-size: 12px; }
.rank-row strong { font: 800 15px var(--f-num); }
.rank-row:not(:has(em)) { grid-template-columns: auto minmax(0, 1fr); }
.rank-note { margin: 0 0 8px; color: var(--mute); font-size: 13px; }
.rank-cta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 11px; border-radius: 14px; background: var(--lime-soft); color: var(--green-3); font-weight: 800; }
.rank-cta svg { width: 16px; height: 16px; }
.cta-card { background: linear-gradient(135deg, #E9FC7C, #57D468); }
.cta-card b { display: block; font: 800 20px var(--f-num); }
.cta-card p { margin: 6px 0 14px; color: var(--ink-2); font-weight: 500; }
.res-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid #F0F3F1; }
.res-row i { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 8px; font-style: normal; font-weight: 800; background: var(--soft); }
.res-row.is-won i { background: var(--green-2); color: #fff; }
.res-row.is-lost i { background: var(--navy); color: #fff; }
.res-row b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-row small { color: var(--mute); font-size: 12px; }
.res-row em { font-style: normal; font: 800 13px var(--f-num); }

.search.wide { margin: 0; flex: none; width: 100%; max-width: 560px; }
.pickrow .mright { gap: 12px; }
.mleague { max-width: 260px; color: var(--mute); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--green-3); font-weight: 700; }
.back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.pick-head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 20px; }
.ph-team { display: flex; align-items: center; gap: 12px; font: 800 20px var(--f-num); min-width: 0; }
.ph-team.away { flex-direction: row-reverse; text-align: right; }
.ph-mid { text-align: center; }
.ph-mid b { display: block; font: 800 34px/1 var(--f-num); }
.ph-mid span { display: block; margin-top: 4px; color: var(--green-3); font-weight: 700; font-size: 13px; }
.ph-mid small { color: var(--mute); font-size: 12px; }
.pickform { gap: 12px; }
.mkt-pick { margin: 0; padding: 14px 16px 16px; border: 0; }
.mkt-pick legend { float: left; width: 100%; margin-bottom: 10px; padding: 0; color: var(--mute); font: 700 11px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; }
.pick-grid { clear: both; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: 14px; background: var(--soft); cursor: pointer; transition: background .12s, box-shadow .12s; }
.pick small { color: var(--ink-2); font-weight: 700; font-size: 12px; }
.pick b { font: 800 19px var(--f-num); }
.pick span:hover { box-shadow: inset 0 0 0 1.5px var(--green-2); }
.pick input:checked + span { background: var(--navy); color: var(--lime); }
.pick input:checked + span small { color: #fff; }
.pick input:focus-visible + span { box-shadow: 0 0 0 3px rgba(34, 184, 74, .35); }
.vis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vis label { cursor: pointer; }
.vis input { position: absolute; opacity: 0; pointer-events: none; }
.vis span { display: grid; gap: 4px; height: 100%; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.vis b { display: inline-flex; align-items: center; gap: 6px; }
.vis b svg { width: 16px; height: 16px; }
.vis small { color: var(--mute); font-size: 12px; }
.vis input:checked + span { box-shadow: inset 0 0 0 2px var(--green-2); background: var(--lime-soft); }

@media (max-width: 980px) {
  .topbar .post-pill, .topbar .login-pill, .topbar .me-pill { display: none; }
  .auth-card, .settings-grid { grid-template-columns: minmax(0, 1fr); }
  .pro-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .tip-feed.is-carousel { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: none; }
  .tip-feed.is-carousel::-webkit-scrollbar { display: none; }
  .tip-feed.is-carousel > * { scroll-snap-align: start; }
  .pro-head { grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
  .pro-act { grid-column: 1 / -1; }
  .avatar-xl { width: 72px; height: 72px; font-size: 24px; }
  .pro-id h1 { font-size: 24px; }
  .pro-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick-head { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .ph-team, .ph-team.away { flex-direction: row; justify-content: center; text-align: center; }
  .vis { grid-template-columns: minmax(0, 1fr); }
  .auth-side, .auth-main { padding: 22px; }
  .auth-side h1 { font-size: 26px; }
  .mleague { display: none; }
}

/* logo */
.logo { --lm-arrow: #0B4F24; display: inline-flex; align-items: center; gap: 9px; color: var(--navy); }
.logo-mark { width: 42px; height: 42px; flex: 0 0 auto; overflow: visible; filter: drop-shadow(0 6px 12px rgba(34, 184, 74, .32)); transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--rot, 0deg)); transition: transform .35s cubic-bezier(.2, .9, .3, 1.4), filter .3s; }
.lm-arrow { stroke: var(--lm-arrow); stroke-dasharray: 1; stroke-dashoffset: 0; animation: lm-draw 1.1s .25s cubic-bezier(.65, 0, .2, 1) both; }
.lm-head { fill: var(--lm-arrow); stroke: var(--lm-arrow); transform-box: fill-box; transform-origin: 30% 70%; animation: lm-pop .45s 1.1s cubic-bezier(.2, .9, .3, 1.6) both; }
.lm-shine { transform: translateX(0) skewX(-18deg); animation: lm-shine 1.3s .7s ease-out both; }
.logo-word { display: inline-flex; align-items: baseline; font: 800 27px/1 var(--f-num); letter-spacing: -.035em; color: inherit; white-space: nowrap; }
.logo-word em { font-style: normal; background: linear-gradient(90deg, #15803D, #2FC24E 45%, #A3E635 70%, #15803D); background-size: 220% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-dot { display: inline-block; width: .2em; height: .2em; margin: 0 .05em; border-radius: 50%; background: #22B84A; align-self: flex-end; margin-bottom: .1em; box-shadow: 0 0 0 0 rgba(34, 184, 74, .5); }
.logo:hover .logo-mark { --rot: -8deg; filter: drop-shadow(0 10px 18px rgba(34, 184, 74, .45)); }
.logo:hover .lm-arrow { animation: lm-draw2 .75s cubic-bezier(.65, 0, .2, 1) both; }
.logo:hover .lm-head { animation: lm-pop2 .4s .55s cubic-bezier(.2, .9, .3, 1.6) both; }
.logo:hover .lm-shine { animation: lm-shine2 .9s ease-out both; }
.logo:hover .logo-dot { animation: lm-bounce .8s cubic-bezier(.3, .6, .3, 1) both; }
.logo:hover .logo-word em { animation: lm-sheen 1.1s ease both; }
@keyframes lm-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lm-draw2 { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lm-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes lm-pop2 { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes lm-shine { from { transform: translateX(0) skewX(-18deg); } to { transform: translateX(110px) skewX(-18deg); } }
@keyframes lm-shine2 { from { transform: translateX(0) skewX(-18deg); } to { transform: translateX(110px) skewX(-18deg); } }
@keyframes lm-bounce { 0% { transform: translateY(0); } 30% { transform: translateY(-.6em); } 55% { transform: translateY(0); } 72% { transform: translateY(-.2em); } 86%, 100% { transform: translateY(0); } }
@keyframes lm-sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
.logo-sm .logo-mark { width: 32px; height: 32px; }
.logo-sm .logo-word { font-size: 21px; }
.lm-hole { fill: transparent; }

/* team icons and flags */
.crest.is-club, .crest.is-nat { background: none; box-shadow: none; color: #fff; position: relative; }
.crest.is-club > i { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .28), rgba(0, 0, 0, .2)), var(--c); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 .5 23 4v9.2c0 6.9-4.8 11.7-11 14.3C5.8 24.9 1 20.1 1 13.2V4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 .5 23 4v9.2c0 6.9-4.8 11.7-11 14.3C5.8 24.9 1 20.1 1 13.2V4z'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 2px 3px rgba(14, 26, 43, .18)); }
.crest.is-club > b { position: relative; margin-top: -8%; font: 800 .34em/1 var(--f-num); font-size: calc(var(--cs, 32px) * .3); letter-spacing: -.02em; text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
.crest.is-club.is-long > b { font-size: calc(var(--cs, 32px) * .24); }
.crest-flag { position: absolute; right: -8%; bottom: -6%; width: 46%; height: 46%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px #fff, 0 1px 3px rgba(14, 26, 43, .25); }
.crest.is-nat { border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(14, 26, 43, .18); overflow: hidden; }
.crest.is-nat img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crest { --cs: 32px; }
.crest-xs { --cs: 20px; }
.crest-sm { --cs: 24px; }
.crest-md { --cs: 40px; }
.crest-lg { --cs: 76px; }
.crest-xl { --cs: 88px; }
.crest-lg.is-club, .crest-xl.is-club { width: calc(var(--cs) * .9); }
.crest-lg.is-nat, .crest-xl.is-nat { box-shadow: 0 0 0 4px #fff, 0 14px 30px rgba(14, 26, 43, .22); }
.ncard-big .crest-xl.is-nat { box-shadow: 0 0 0 4px rgba(255, 255, 255, .85), 0 16px 34px rgba(0, 0, 0, .4); }
.crest-xs .crest-flag, .crest-sm .crest-flag { display: none; }
.flag { display: inline-block; flex: 0 0 auto; width: 16px; height: 16px; margin-right: 6px; border-radius: 50%; object-fit: cover; vertical-align: -3px; box-shadow: 0 0 0 1px rgba(14, 26, 43, .1); }
.flag-xs { width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; }
.flag-sm { width: 18px; height: 18px; }
.flag.is-globe { display: inline-flex; align-items: center; justify-content: center; background: #E8F0FB; color: #1D4ED8; box-shadow: none; }
.flag.is-globe svg { width: 75%; height: 75%; }
.ltabs button { display: inline-flex; align-items: center; }
.mgroup-h .flag, .f-league .flag { margin-right: 0; }

/* ticker */
.ticker { display: flex; align-items: center; gap: 12px; margin: -4px 0 20px; padding: 6px 6px 6px 6px; border-radius: 999px; background: #fff; box-shadow: var(--sh); overflow: hidden; }
.ticker-tag { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; flex: 0 0 auto; }
.ticker-track { display: flex; flex: 1; min-width: 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-run { display: flex; flex: 0 0 auto; gap: 30px; padding-right: 30px; animation: tick 70s linear infinite; }
.ticker:hover .ticker-run { animation-play-state: paused; }
.ticker-run a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-weight: 600; font-size: 13px; color: var(--ink-2); }
.ticker-run a:hover { color: var(--ink); }
.ticker-run b { padding: 1px 7px; border-radius: 7px; background: var(--lime-soft); color: var(--ink); font: 800 13px var(--f-num); }
.ticker-run em { font-style: normal; color: var(--green-3); font: 700 12px var(--f-num); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* footer */
.foot { display: none; }
.sfoot { display: grid; gap: 14px; margin-top: 48px; padding: 22px 4px 8px; border-top: 1px solid var(--line-2); }
.sf-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sf-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.sf-links a { color: var(--ink-2); font-weight: 600; font-size: 13px; transition: color .15s; }
.sf-links a:hover { color: var(--green-3); }
.sf-fine { color: var(--mute); font-size: 12px; }
.sf-fine p { display: flex; align-items: center; gap: 10px; margin: 0; }
.sf-fine p > span:last-child { line-height: 1.5; }
.sf-fine a { color: var(--ink-2); font-weight: 700; }
.sf-18 { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #E5484D; color: var(--ink); font: 800 10px var(--f-num); }

/* legal */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; align-items: start; }
.legal-nav { position: sticky; top: 18px; display: grid; gap: 4px; padding: 8px; border-radius: 22px; background: #fff; box-shadow: var(--sh); }
.legal-nav a { padding: 10px 14px; border-radius: 14px; color: var(--ink-2); font-weight: 600; }
.legal-nav a:hover { background: var(--soft); }
.legal-nav a.is-on { background: var(--navy); color: #fff; }
.legal-body { max-width: 840px; padding: 30px 34px; }
.legal-body h1 { margin: 0 0 8px; font: 800 32px/1.1 var(--f-num); letter-spacing: -.02em; }
.legal-body .lead { margin: 0 0 18px; color: var(--ink); font-size: 17px; }
.legal-body h2 { margin: 22px 0 6px; font: 700 17px var(--f-num); }
.legal-body p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.legal-body .legal-date { margin-top: 26px; color: var(--mute); font-size: 12px; }
.danger-zone { box-shadow: var(--sh), inset 0 0 0 1.5px #F6D2D2; }
.btn.danger { background: #B42318; }
.btn.danger:hover { background: #912018; }

/* life */
body::before, body::after { content: ""; position: fixed; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(70px); }
body::before { top: -180px; right: -140px; width: 560px; height: 560px; background: rgba(201, 243, 74, .32); animation: drift 18s ease-in-out infinite alternate; }
body::after { bottom: -220px; left: 160px; width: 520px; height: 520px; background: rgba(34, 184, 74, .14); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.home-main > *, .home-rail > *, .home-list, .stack > *, .legal-body { animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; }
.home-main > *:nth-child(2), .home-rail > *:nth-child(1), .stack > *:nth-child(2) { animation-delay: .05s; }
.home-main > *:nth-child(3), .home-rail > *:nth-child(2), .stack > *:nth-child(3) { animation-delay: .1s; }
.home-main > *:nth-child(4), .home-rail > *:nth-child(3), .stack > *:nth-child(4) { animation-delay: .15s; }
.home-main > *:nth-child(5), .home-rail > *:nth-child(4), .stack > *:nth-child(5) { animation-delay: .2s; }
.home-main > *:nth-child(n+6), .home-rail > *:nth-child(n+5), .stack > *:nth-child(n+6), .home-list { animation-delay: .25s; }
.feature { isolation: isolate; }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(260px 260px at var(--mx, 72%) var(--my, 28%), rgba(255, 255, 255, .55), transparent 70%); opacity: .55; transition: opacity .3s; pointer-events: none; }
.feature:hover::before { opacity: 1; }
.lcard, .tcard, .tipcard, .nitem, .vote, .stub, .agcard, .rank-card, .table-card, .cta-card, .day, .pro-kpis div, .mkt, .pred { transition: transform .2s ease, box-shadow .2s ease; }
.tipcard:hover, .vote:hover, .rank-card:hover, .table-card:hover, .pro-kpis div:hover, .mkt:hover, .pred:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(14, 26, 43, .05), 0 18px 40px rgba(14, 26, 43, .1); }
.day:hover { transform: translateY(-2px); }
.stub:hover, .agcard:hover { transform: translateY(-3px); }
.oddb, .f-odd, .pick span, .btn, .post-pill, .chip, .seg button, .seg a { transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease; }
.oddb:hover, .f-odd:hover { transform: translateY(-2px); }
.btn:active, .post-pill:active, .f-odd:active, .pick span:active { transform: scale(.97); }
.crest { transition: transform .25s cubic-bezier(.2, .9, .3, 1.4); }
a:hover > .crest, a:hover .mteams .crest, .lteam:hover .crest { transform: rotate(-7deg) scale(1.08); }
.mrow2 em { transition: color .15s; }
.mrow2:hover em { color: var(--green-3); }
.post-pill:hover { box-shadow: 0 8px 20px rgba(201, 243, 74, .55); }

@media (max-width: 980px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal-nav { position: static; display: flex; overflow-x: auto; }
  .legal-nav a { white-space: nowrap; }
}
@media (max-width: 720px) {
  .legal-body { padding: 22px 18px; }
  .legal-body h1 { font-size: 26px; }
  .ticker { margin-top: 0; }
  .ticker-tag { padding: 6px 10px; }
  body::before { width: 360px; height: 360px; }
  body::after { display: none; }
}
@media (max-width: 720px) {
  .f-odd { flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 12px; }
  .f-odd small { font-size: 11px; }
  .ncard-big { justify-content: flex-start; }
  .ncard-big .crests { position: static; margin-bottom: 6px; }
  .ncard-big .crests .crest { width: 58px; height: 58px; --cs: 58px; }
  .ncard-big .crests .crest + .crest { margin-left: -12px; }
  .sheet-top { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; padding: 18px 14px; }
  .club-lite strong { font-size: 17px; }
  .club-lite .crest-lg { width: 54px; height: 54px; --cs: 54px; }
  .club-lite.away { align-items: flex-end; text-align: right; }
  .club-lite.away .wdls { justify-content: flex-end; }
  .sheet-score b { font-size: 38px; }
  .sheet-score span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker-track { overflow-x: auto; }
}
