:root{--bg:#07100e;--surface:#0e1a17;--surface2:#13231e;--surface3:#183028;--stroke:rgba(255,255,255,.075);--stroke2:rgba(255,255,255,.13);--text:#f3f8f5;--muted:#84958f;--muted2:#a8b7b1;--accent:#c7ff35;--danger:#ff6d6d;--sidebar:220px;--shadow:0 24px 70px rgba(0,0,0,.28)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 70% -10%,rgba(199,255,53,.06),transparent 26rem),var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);z-index:40;display:flex;flex-direction:column;padding:24px 16px 18px;border-right:1px solid var(--stroke);background:#08110f}.brand{display:flex;align-items:center;gap:10px;padding:0 8px 28px}.brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:var(--accent);color:#102000;font-weight:1000}.brand-copy{font-size:20px;font-weight:900;letter-spacing:-.8px}.brand-copy span,.mobile-brand span{color:var(--accent)}
.side-nav{display:flex;flex-direction:column;gap:4px}.side-nav a{display:flex;align-items:center;gap:11px;min-height:44px;padding:0 12px;border-radius:11px;color:#81918b;font-size:11px;font-weight:750}.side-nav a>span{width:19px;text-align:center}.side-nav a.active{color:var(--text);background:rgba(199,255,53,.075)}.side-nav a>b{margin-left:auto;min-width:20px;height:20px;display:grid;place-items:center;border-radius:12px;background:var(--accent);color:#102000;font-size:8px}.side-spacer{flex:1}.level-card{margin:0 3px 13px;padding:13px;border:1px solid rgba(199,255,53,.1);border-radius:13px;background:rgba(199,255,53,.03)}.level-card>div{display:flex;justify-content:space-between;font-size:9px}.level-card>div b{color:var(--accent)}.level-card>i{display:block;height:5px;margin:9px 0 7px;border-radius:5px;background:rgba(255,255,255,.06);overflow:hidden}.level-card>i em{display:block;width:72%;height:100%;background:var(--accent)}.level-card small{font-size:7px;color:var(--muted)}
.main{margin-left:var(--sidebar);min-height:100vh}.topbar{position:sticky;top:0;z-index:30;height:69px;display:flex;justify-content:flex-end;align-items:center;padding:0 31px;border-bottom:1px solid var(--stroke);background:rgba(7,16,14,.86);backdrop-filter:blur(20px)}.mobile-brand{display:none}.top-actions{display:flex;align-items:center;gap:8px}.wallet{height:40px;display:grid;grid-template-columns:auto auto auto;align-items:center;gap:7px;padding:4px 5px 4px 10px;border:1px solid var(--stroke);border-radius:11px;background:var(--surface);color:var(--text)}.wallet small{font-size:7px;color:var(--muted)}.wallet strong{font-size:10px}.wallet b{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:var(--accent);color:#102000;font-size:16px}.profile{display:flex;align-items:center;gap:7px;padding:2px 5px;border:0;background:transparent;color:var(--text)}.profile>span{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:var(--surface2);font-size:9px;font-weight:900}.profile>div{display:flex;flex-direction:column;align-items:flex-start}.profile strong{font-size:9px}.profile small{font-size:7px;color:var(--muted)}
.content{width:min(1150px,calc(100% - 58px));margin:auto;padding:44px 0 90px}.hero{min-height:360px;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:48px;padding-bottom:45px;border-bottom:1px solid var(--stroke)}.eyebrow,.section-kicker{color:var(--accent);font-size:8px;font-weight:1000;letter-spacing:.14em}.eyebrow{display:inline-flex;align-items:center;gap:6px}.eyebrow i{width:6px;height:6px;border-radius:50%;background:var(--accent)}.hero h1{margin:13px 0 14px;font-size:clamp(47px,5.6vw,72px);line-height:.95;letter-spacing:-.064em}.hero h1 span{color:var(--accent)}.hero>div:first-child>p{max-width:540px;margin:0;color:var(--muted2);font-size:14px;line-height:1.65}.hero-actions{display:flex;gap:8px;margin-top:25px}.primary,.secondary{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:0 16px;border-radius:10px;font-size:9px;font-weight:900}.primary{background:var(--accent);color:#102000}.secondary{border:1px solid var(--stroke2)}
.hero-card{min-height:250px;display:flex;flex-direction:column;justify-content:flex-end;padding:22px;border:1px solid rgba(199,255,53,.15);border-radius:22px;background:linear-gradient(150deg,rgba(199,255,53,.08),transparent 50%),var(--surface);box-shadow:var(--shadow)}.hero-mode{margin-bottom:auto;width:max-content;padding:6px 8px;border-radius:7px;background:var(--accent);color:#102000;font-size:7px;font-weight:1000;letter-spacing:.1em}.hero-card>strong{font-size:29px;line-height:1.05;letter-spacing:-.04em}.hero-card>p{margin:8px 0 0;color:var(--muted);font-size:9px}
.section{padding-top:42px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.section-head h2,.explore-head h2{margin:5px 0 4px;font-size:27px;letter-spacing:-.04em}.section-head p,.explore-head p{margin:0;color:var(--muted);font-size:9px}.status{padding:18px;border:1px dashed var(--stroke2);border-radius:13px;color:var(--muted);font-size:9px}
.featured-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.feature-card{overflow:hidden;border:1px solid var(--stroke);border-radius:16px;background:var(--surface);transition:.18s}.feature-card:hover{transform:translateY(-2px);border-color:rgba(199,255,53,.2)}.feature-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 11px;border-bottom:1px solid var(--stroke)}.feature-head>span{min-width:0;display:flex;align-items:center;gap:6px}.feature-head img{width:17px;height:17px;object-fit:contain}.feature-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:7px}.feature-head small{flex:0 0 auto;color:var(--muted);font-size:7px}.feature-match{display:grid;grid-template-columns:1fr 28px 1fr;align-items:center;padding:18px 10px 14px}.feature-match>b{width:26px;height:26px;display:grid;place-items:center;border:1px solid var(--stroke);border-radius:50%;color:#687872;font-size:6px}.feature-team{min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center}.feature-team img{width:46px;height:46px;object-fit:contain}.feature-team strong{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.feature-reason{padding:0 11px 10px;color:var(--accent);font-size:7px}.feature-card footer{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:9px 11px;border-top:1px solid var(--stroke)}.feature-card footer>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:7px}.create-btn{flex:0 0 auto;border:0;border-radius:8px;padding:8px 9px;background:var(--accent);color:#102000;font-size:7px;font-weight:1000}
.explore-shell{padding:20px;border:1px solid var(--stroke);border-radius:18px;background:var(--surface)}.explore-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.competition-trigger{min-width:290px;display:grid;grid-template-columns:36px 1fr 18px;align-items:center;gap:9px;padding:7px 9px;border:1px solid var(--stroke2);border-radius:11px;background:var(--surface2);color:var(--text);text-align:left}.trigger-logo{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.04);overflow:hidden}.trigger-logo img{width:26px;height:26px;object-fit:contain}.competition-trigger>span:nth-child(2){display:flex;flex-direction:column;gap:2px}.competition-trigger small{font-size:7px;color:var(--muted)}.competition-trigger strong{font-size:9px}.competition-trigger>b{color:var(--muted);font-size:10px}
.competition-menu{margin-top:12px;border:1px solid var(--stroke2);border-radius:14px;background:#0b1613;box-shadow:var(--shadow);overflow:hidden}.competition-search{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--stroke)}.competition-search input{width:100%;border:0;outline:0;background:transparent;color:var(--text);font-size:9px}.competition-group{padding:10px 11px;border-top:1px solid var(--stroke)}.competition-group:first-child{border-top:0}.competition-group-title{display:block;margin:2px 4px 7px;color:var(--muted);font-size:7px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.competition-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.competition-option{min-width:0;display:flex;align-items:center;gap:8px;padding:9px;border:1px solid transparent;border-radius:9px;background:rgba(255,255,255,.02);color:var(--text);text-align:left}.competition-option:hover{border-color:rgba(199,255,53,.18);background:rgba(199,255,53,.035)}.competition-option img{width:27px;height:27px;object-fit:contain;flex:0 0 auto}.competition-option span{min-width:0;display:flex;flex-direction:column;gap:2px}.competition-option strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.competition-option small{font-size:6px;color:var(--muted)}
.empty-state{min-height:185px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:16px;border:1px dashed var(--stroke2);border-radius:13px;text-align:center}.empty-state>span{font-size:22px}.empty-state strong{margin-top:7px;font-size:10px}.empty-state p{max-width:420px;margin:4px 0 0;color:var(--muted);font-size:7px;line-height:1.5}.selected-league{display:flex;align-items:center;justify-content:space-between;margin-top:15px;padding:12px;border:1px solid var(--stroke);border-radius:11px;background:var(--surface2)}.selected-league>div{display:flex;align-items:center;gap:9px}.selected-league img{width:34px;height:34px;object-fit:contain}.selected-league span{display:flex;flex-direction:column;gap:2px}.selected-league small{font-size:7px;color:var(--muted)}.selected-league strong{font-size:11px}.selected-league>b{font-size:7px;color:var(--muted)}.game-list{margin-top:8px}.game-row{display:grid;grid-template-columns:82px 1fr 25px 1fr 105px;align-items:center;gap:8px;min-height:62px;padding:8px 10px;border-top:1px solid var(--stroke)}.game-row:first-child{border-top:0}.game-time{display:flex;flex-direction:column;color:var(--muted);font-size:7px}.game-time strong{margin-top:2px;color:var(--text);font-size:9px}.game-team{min-width:0;display:flex;align-items:center;gap:7px}.game-team.away{justify-content:flex-end;text-align:right}.game-team img{width:29px;height:29px;object-fit:contain}.game-team strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.game-vs{text-align:center;color:#66766f;font-size:6px}
.drawer{position:fixed;inset:0;z-index:100;display:none}.drawer.open{display:block}.drawer-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(6px)}.drawer-panel{position:absolute;right:0;top:0;bottom:0;width:min(680px,100%);overflow:auto;padding:24px;background:#091411;border-left:1px solid var(--stroke);box-shadow:-30px 0 70px rgba(0,0,0,.4)}.drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding-bottom:18px;border-bottom:1px solid var(--stroke)}.drawer-head h2{margin:5px 0 0;font-size:21px;letter-spacing:-.04em}.drawer-head>button{width:34px;height:34px;border:1px solid var(--stroke);border-radius:50%;background:var(--surface);color:var(--text);font-size:18px}.drawer-status{display:flex;flex-direction:column;gap:5px;margin-top:17px;padding:18px;border:1px dashed var(--stroke2);border-radius:12px;color:var(--muted);font-size:9px}.drawer-status strong{color:var(--text)}.step{display:flex;align-items:center;gap:10px;margin:20px 0 10px}.step>b{width:24px;height:24px;display:grid;place-items:center;border-radius:7px;background:var(--accent);color:#102000;font-size:8px}.step>div{display:flex;flex-direction:column;gap:2px}.step strong{font-size:10px}.step small{font-size:7px;color:var(--muted)}
.team-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px}.team-choice{min-height:106px;display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--stroke);border-radius:13px;background:var(--surface);color:var(--text);text-align:left}.team-choice:hover,.team-choice.active{border-color:rgba(199,255,53,.3);background:rgba(199,255,53,.04)}.team-choice img{width:50px;height:50px;object-fit:contain}.team-choice span{display:flex;flex-direction:column;gap:2px}.team-choice small{font-size:6px;color:var(--muted)}.team-choice strong{font-size:10px}.team-choice em{font-size:7px;color:var(--accent);font-style:normal}
.pitch{min-height:280px;margin:9px 0 18px;padding:8px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),#173a2a;background-size:100% 25%,25% 100%}.pitch-line{display:flex;justify-content:space-around;gap:4px;padding:6px}.pitch-player{width:70px;text-align:center}.pitch-player img{width:39px;height:39px;object-fit:cover;border:2px solid rgba(255,255,255,.72);border-radius:50%;background:var(--surface2)}.pitch-player strong{display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:7px}.pitch-player small{font-size:6px;color:var(--accent)}.selector-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:9px}.selector-head h3{margin:0;font-size:13px}.selector-head small{font-size:7px;color:var(--muted)}.selector-head>strong{color:var(--accent);font-size:11px}
.player-list{display:grid;grid-template-columns:1fr 1fr;gap:7px}.player-card{display:grid;grid-template-columns:37px 1fr auto;align-items:center;gap:8px;padding:8px;border:1px solid var(--stroke);border-radius:10px;background:var(--surface);color:var(--text);text-align:left}.player-card.selected{border-color:var(--accent);background:rgba(199,255,53,.05)}.player-card.unavailable{opacity:.45;cursor:not-allowed}.player-card img{width:37px;height:37px;object-fit:cover;border-radius:8px;background:var(--surface2)}.player-card>span{min-width:0;display:flex;flex-direction:column;gap:2px}.player-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.player-card small{font-size:6px;color:var(--muted)}.tag{padding:4px 5px;border-radius:5px;background:var(--accent);color:#102000;font-size:5px}.tag.out{background:var(--danger);color:#fff}.continue{width:100%;height:42px;margin-top:14px;border:0;border-radius:10px;background:var(--accent);color:#102000;font-size:9px;font-weight:1000}.continue:disabled{opacity:.3;cursor:not-allowed}
.mobile-nav{display:none}
@media(max-width:1000px){:root{--sidebar:195px}.content{width:min(100% - 40px,950px)}.featured-grid{grid-template-columns:repeat(2,1fr)}.competition-options{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.sidebar{display:none}.main{margin-left:0}.topbar{height:63px;padding:0 13px;justify-content:space-between}.mobile-brand{display:block;font-size:16px;font-weight:900}.profile>div{display:none}.content{width:min(100% - 24px,680px);padding:29px 0 88px}.hero{min-height:0;grid-template-columns:1fr;gap:25px;padding-bottom:37px}.hero h1{font-size:clamp(42px,11vw,62px)}.featured-grid{grid-template-columns:1fr 1fr}.explore-head{align-items:flex-start;flex-direction:column}.competition-trigger{width:100%;min-width:0}.mobile-nav{position:fixed;left:9px;right:9px;bottom:9px;z-index:60;display:grid;grid-template-columns:repeat(5,1fr);gap:3px;padding:5px;border:1px solid var(--stroke2);border-radius:15px;background:rgba(14,26,23,.95);backdrop-filter:blur(18px)}.mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:2px;padding:7px 2px;border-radius:9px;color:var(--muted)}.mobile-nav a span{font-size:11px}.mobile-nav a small{font-size:6px}.mobile-nav a.active{background:var(--accent);color:#102000}}
@media(max-width:560px){.wallet small{display:none}.hero>div:first-child>p{font-size:12px}.hero-actions{flex-direction:column}.primary,.secondary{width:100%}.featured-grid{grid-template-columns:1fr}.competition-options{grid-template-columns:1fr}.game-row{grid-template-columns:58px 1fr 20px 1fr;gap:5px}.game-row .create-btn{grid-column:1/-1;width:100%}.game-team{flex-direction:column;text-align:center}.game-team.away{flex-direction:column;justify-content:center;text-align:center}.team-picker,.player-list{grid-template-columns:1fr}}


/* ===== Livescore v7 ===== */
.live-section{position:relative}
.live-section:before{content:"";position:absolute;left:0;right:0;top:32px;height:1px;background:linear-gradient(90deg,rgba(255,80,80,.35),transparent 45%);pointer-events:none}
.live-section-head{position:relative}
.live-kicker{display:inline-flex;align-items:center;gap:6px;color:#ff7474}
.live-kicker>i{width:7px;height:7px;border-radius:50%;background:#ff5e5e;box-shadow:0 0 0 5px rgba(255,94,94,.07),0 0 12px rgba(255,94,94,.75);animation:livePulse 1.8s infinite}
@keyframes livePulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.8)}}
.live-sync{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid var(--stroke);border-radius:10px;background:var(--surface);color:var(--muted);font-size:7px}
.live-sync-dot{width:6px;height:6px;border-radius:50%;background:var(--accent)}
.live-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.live-card{overflow:hidden;border:1px solid rgba(255,100,100,.13);border-radius:17px;background:linear-gradient(145deg,rgba(255,80,80,.035),transparent 50%),var(--surface);box-shadow:0 18px 45px rgba(0,0,0,.15)}
.live-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-bottom:1px solid var(--stroke)}
.live-league{min-width:0;display:flex;align-items:center;gap:8px}
.live-league>img{width:24px;height:24px;object-fit:contain;flex:0 0 auto}
.live-league>span{min-width:0;display:flex;flex-direction:column;gap:2px}
.live-league strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}
.live-league small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:6px}
.live-minute{flex:0 0 auto;display:flex;align-items:center;gap:5px;padding:6px 8px;border-radius:8px;background:rgba(255,86,86,.08);color:#ff8888;font-size:7px;font-weight:1000}
.live-minute>i{width:5px;height:5px;border-radius:50%;background:#ff5d5d;box-shadow:0 0 8px #ff5d5d}
.live-scoreboard{display:grid;grid-template-columns:1fr 95px 1fr;align-items:center;gap:8px;padding:20px 13px 16px}
.live-team{min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center}
.live-team img{width:49px;height:49px;object-fit:contain}
.live-team strong{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}
.live-result{text-align:center}
.live-result>strong{display:flex;align-items:center;justify-content:center;gap:9px;font-size:27px;letter-spacing:-.05em}
.live-result>strong span{min-width:22px}
.live-result>strong em{font-style:normal;color:#60716b;font-size:10px}
.live-result>small{display:block;margin-top:4px;color:var(--muted);font-size:6px}
.live-events{min-height:36px;display:flex;align-items:center;gap:6px;padding:7px 12px;border-top:1px solid var(--stroke);overflow-x:auto;scrollbar-width:none}
.live-events::-webkit-scrollbar{display:none}
.live-events span{flex:0 0 auto;padding:5px 7px;border:1px solid var(--stroke);border-radius:7px;background:rgba(255,255,255,.02);color:var(--muted2);font-size:6px}
.live-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-top:1px solid var(--stroke)}
.live-card-foot>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:6px}
.live-data-label{flex:0 0 auto;color:#ff8080;font-size:6px;font-weight:1000;letter-spacing:.08em}
.status.live-empty{display:flex;flex-direction:column;gap:4px;background:rgba(255,255,255,.012)}
.status.live-empty strong{color:var(--text);font-size:9px}
.status.live-empty span{color:var(--muted);font-size:7px}

@media(max-width:800px){
  .live-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .live-sync{display:none}
  .live-scoreboard{grid-template-columns:1fr 80px 1fr}
  .live-result>strong{font-size:24px}
}
