@import "https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap";:root{color:#f8fafc;font-synthesis:none;--bg:#070b17;--surface:#0e1424;--surface-2:#141c30;--border:#24304a;--muted:#9aa8c0;--primary:#38bdf8;--primary-strong:#0ea5e9;--accent:#fbbf24;--success:#34d399;--danger:#fb7185;background:#070b17;font-family:Vazirmatn,Tahoma,sans-serif}*{box-sizing:border-box}html{background:var(--bg)}body{background:radial-gradient(circle at 50% -10%,#102b4d 0,transparent 36%),var(--bg);min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #7dd3fc}.app-shell{max-width:760px;min-height:100vh;padding-bottom:calc(84px + env(safe-area-inset-bottom));margin:auto}.topbar{z-index:10;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(#070b17fa,#070b17d6);justify-content:space-between;align-items:center;height:74px;padding:12px 20px;display:flex;position:sticky;top:0}.wordmark{align-items:center;gap:10px;display:flex}.wordmark>div{flex-direction:column;line-height:1;display:flex}.wordmark strong{letter-spacing:.02em;font-size:17px}.wordmark small{letter-spacing:.28em;color:var(--primary);margin-top:5px;font-size:9px}.brand-mark{background:linear-gradient(145deg,#38bdf8,#2563eb);border-radius:18px;place-items:center;width:54px;height:54px;display:grid;box-shadow:0 8px 30px #0ea5e94d}.brand-mark.small{border-radius:12px;width:38px;height:38px}.brand-mark svg{width:24px}.avatar-button{border:1px solid var(--border);background:var(--surface);color:#dce8f8;border-radius:50%;place-items:center;width:44px;height:44px;padding:0;display:grid}.avatar-button img{object-fit:cover;border-radius:50%;width:100%;height:100%}.content{padding:0 20px}.hero{min-height:390px;padding:42px 4px 30px;position:relative;overflow:hidden}.hero:after{content:"";border:1px solid #38bdf81f;border-radius:50%;width:190px;height:270px;position:absolute;top:28px;left:-30px;transform:rotate(-28deg)}.hero-glow{filter:blur(90px);opacity:.2;background:#2563eb;border-radius:50%;width:200px;height:200px;position:absolute;top:70px;left:-80px}.eyebrow{color:#c8d4e7;letter-spacing:.04em;align-items:center;gap:8px;font-size:12px;font-weight:600;display:flex}.eyebrow span{background:var(--primary);width:22px;height:2px}.hero h1{letter-spacing:-.04em;z-index:1;margin:18px 0 14px;font-size:clamp(40px,12vw,64px);line-height:1.22;position:relative}.hero h1 em{color:var(--primary);font-style:normal}.hero>p{color:var(--muted);max-width:390px;margin:0 0 28px;font-size:15px;line-height:1.9}.hero-cta,.primary{background:linear-gradient(135deg,var(--primary),var(--primary-strong));color:#001521;border:0;border-radius:14px;justify-content:center;align-items:center;gap:10px;min-height:50px;padding:13px 20px;font-weight:800;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 10px 28px #0ea5e93d}.hero-cta:hover,.primary:hover{transform:translateY(-2px);box-shadow:0 14px 36px #0ea5e952}.stat-grid{grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:34px;display:grid}.stat-card{background:linear-gradient(155deg,var(--surface-2),var(--surface));border:1px solid var(--border);border-radius:18px;gap:7px;min-width:0;padding:16px 13px;display:grid}.stat-card svg{width:18px;color:var(--muted)}.stat-card span{color:var(--muted);white-space:nowrap;font-size:11px}.stat-card strong{font-size:22px}.stat-card.accent{background:linear-gradient(155deg,#0ea5e92e,var(--surface));border-color:#38bdf859}.stat-card.accent svg,.stat-card.accent strong{color:var(--primary)}.section{margin:0 0 28px}.section-title{justify-content:space-between;align-items:end;margin-bottom:15px;display:flex}.section-title span,.page-heading>span{color:var(--primary);letter-spacing:.08em;font-size:11px;font-weight:700}.section-title h2{margin:3px 0 0;font-size:21px}.section-title button{color:#b8c5d8;background:0 0;border:0;align-items:center;gap:3px;min-height:44px;font-size:12px;display:flex}.next-match{border:1px solid var(--border);color:#fff;background:linear-gradient(145deg,#131c30,#0c1220);border-radius:22px;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;width:100%;padding:22px 12px;transition:border-color .2s,transform .2s;display:grid}.next-match:hover{border-color:#3c4d6e;transform:translateY(-2px)}.next-match>div{justify-items:center;gap:9px;display:grid}.next-match strong{font-size:13px}.crest{--crest:#38bdf8;background:linear-gradient(145deg,color-mix(in srgb,var(--crest),white 18%),var(--crest));color:#06101e;box-shadow:inset 0 0 0 3px #ffffff2e,0 8px 18px color-mix(in srgb,var(--crest),transparent 75%);border-radius:35% 35% 48% 48%;place-items:center;font-weight:900;display:grid}.crest-sm{width:34px;height:38px;font-size:12px}.crest-md{width:49px;height:54px;font-size:16px}.crest-lg{width:60px;height:66px;font-size:20px}.versus{color:#6f819e;justify-items:center;gap:8px;font:800 15px Arial;display:grid}.versus small{font-family:Vazirmatn;font-weight:500}.countdown{color:#a8b8cf;white-space:nowrap;align-items:center;gap:5px;font-size:10px;display:inline-flex}.info-strip{background:#fbbf2412;border:1px solid #fbbf2440;border-radius:18px;gap:13px;margin-bottom:20px;padding:17px;display:flex}.info-strip>svg{color:var(--accent);flex:none}.info-strip strong{font-size:13px}.info-strip p{color:#b7c2d5;margin:4px 0 0;font-size:11px;line-height:1.8}.bottom-nav{width:min(760px,100%);height:calc(72px + env(safe-area-inset-bottom));padding:7px 10px env(safe-area-inset-bottom);z-index:20;border-top:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#090e1bf0;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav button{color:#7787a2;background:0 0;border:0;border-radius:13px;align-content:center;place-items:center;gap:4px;min-width:0;min-height:58px;transition:color .2s,background .2s;display:grid}.bottom-nav svg{width:21px}.bottom-nav span{white-space:nowrap;font-size:9px}.bottom-nav button.active{color:var(--primary);background:#38bdf814}.page-section{padding:20px 0 30px}.page-heading{margin:10px 0 26px}.page-heading h1{margin:5px 0 4px;font-size:31px}.page-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.8}.match-list{gap:16px;display:grid}.match-card{border:1px solid var(--border);background:linear-gradient(150deg,#121a2d,#0c1220);border-radius:22px;padding:0 15px 14px;overflow:hidden}.match-card.locked{opacity:.72}.match-meta{height:46px;color:var(--muted);border-bottom:1px solid #24304abf;justify-content:space-between;align-items:center;font-size:11px;display:flex}.lock{color:#fda4af;align-items:center;gap:5px;display:flex}.match-teams{grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:20px 0 13px;display:grid}.team-choice{color:#f7fafc;background:0 0;border:0;border-radius:15px;align-content:center;justify-items:center;gap:10px;min-width:0;min-height:106px;padding:8px 4px;transition:background .2s,box-shadow .2s;display:grid}.team-choice span:last-child{font-size:11px;line-height:1.5}.team-choice.selected,.draw-choice.selected{background:#38bdf81a;box-shadow:inset 0 0 0 1px #38bdf86b}.score-area{direction:ltr;align-items:center;gap:5px;display:flex}.score-stepper{justify-items:center;gap:5px;display:grid}.score-stepper button{border:1px solid var(--border);color:#dce7f7;background:#172137;border-radius:9px;place-items:center;width:44px;height:32px;display:grid}.score-stepper output{min-width:32px;font-size:24px;font-weight:800}.dash{color:#53627b}.draw-choice{border:1px solid var(--border);color:#b9c6d8;background:#11192a;border-radius:12px;width:100%;min-height:44px;font-size:12px}.match-card footer{justify-content:space-between;align-items:center;gap:8px;margin-top:14px;display:flex}.match-card time{color:var(--muted);font-size:10px}.save-button{background:var(--primary);color:#001521;border:0;border-radius:12px;align-items:center;min-height:44px;padding:8px 13px;font-size:11px;font-weight:800;display:flex}.save-button:disabled{opacity:.45}.inline-success,.inline-error{border-radius:9px;margin:10px 0 0;padding:8px 11px;font-size:11px}.inline-success{color:#6ee7b7;background:#34d3991a}.inline-error{color:#fda4af;background:#fb71851a}.state-panel{border:1px solid var(--border);background:var(--surface);border-radius:18px;align-items:center;gap:12px;padding:18px;display:flex}.state-icon{width:42px;height:42px;color:var(--primary);background:#182238;border-radius:13px;place-items:center;display:grid}.state-panel strong{font-size:14px}.state-panel p{color:var(--muted);margin:4px 0 0;font-size:12px}.state-error .state-icon{color:var(--danger)}.leader-list{gap:9px;display:grid}.leader-row{border:1px solid var(--border);background:var(--surface);border-radius:16px;grid-template-columns:34px 43px 1fr auto;align-items:center;gap:9px;min-height:70px;padding:10px 13px;display:grid}.leader-row.me{background:linear-gradient(90deg,#38bdf814,var(--surface));border-color:#38bdf873}.rank{color:#8898af;place-items:center;font-weight:700;display:grid}.rank svg{width:20px;color:var(--accent)}.leader-avatar{background:linear-gradient(145deg,#1d4ed8,#38bdf8);border-radius:50%;place-items:center;width:40px;height:40px;font-weight:800;display:grid}.leader-row>div{min-width:0;display:grid}.leader-row div strong{font-size:13px}.leader-row div strong small{color:var(--primary)}.leader-row div span{color:var(--muted);text-align:right;text-overflow:ellipsis;direction:ltr;font-size:10px;overflow:hidden}.leader-row>b{color:var(--primary);white-space:nowrap;font-size:14px}.leader-row>b small{color:var(--muted);font-size:8px}.profile-head{text-align:center;padding:20px 0}.profile-avatar{background:linear-gradient(145deg,#2563eb,#38bdf8);border-radius:28px;place-items:center;width:82px;height:82px;margin:auto;font-size:31px;font-weight:800;display:grid;box-shadow:0 15px 40px #2563eb40}.profile-head h1{margin:14px 0 2px}.profile-head p{color:var(--muted);direction:ltr;margin:0}.profile-stats{border-top:1px solid var(--border);border-bottom:1px solid var(--border);grid-template-columns:repeat(3,1fr);margin:10px 0 22px;padding:19px 0;display:grid}.profile-stats div{justify-items:center;gap:3px;display:grid}.profile-stats div+div{border-right:1px solid var(--border)}.profile-stats strong{font-size:22px}.profile-stats span{color:var(--muted);font-size:10px}.coming-card{color:#c5d1e4;border:1px dashed #3d4c67;border-radius:18px;gap:14px;padding:18px;display:flex}.coming-card>svg{color:var(--accent)}.coming-card strong{font-size:14px}.coming-card p{color:var(--muted);margin:5px 0 0;font-size:11px;line-height:1.8}.admin-form{border:1px solid var(--border);background:var(--surface);border-radius:20px;gap:17px;padding:20px;display:grid}.admin-form>label{color:#c7d2e3;gap:7px;font-size:12px;display:grid}.admin-form input,.admin-form select{border:1px solid var(--border);color:#f8fafc;background:#080d19;border-radius:11px;width:100%;min-height:46px;padding:8px 12px}.admin-score{direction:ltr;grid-template-columns:1fr auto 1fr;align-items:end;gap:12px;display:grid}.admin-score label{text-align:center;gap:6px;font-size:12px;display:grid}.admin-score input{text-align:center;font-size:20px}.admin-score span{padding-bottom:12px}.admin-form>p{color:var(--primary);font-size:12px}.center-page{text-align:center;place-content:center;justify-items:center;gap:18px;min-height:100vh;padding:24px;display:grid}.center-page>p{color:var(--muted)}.loader{background:#172137;border-radius:4px;width:160px;height:4px;overflow:hidden}.loader:after{content:"";background:var(--primary);width:50%;height:100%;animation:1s ease-in-out infinite alternate load;display:block}@keyframes load{to{transform:translate(-100%)}}@media (width>=700px){.content{padding:0 32px}.hero{padding-top:65px}.stat-card{padding:20px}.match-list{grid-template-columns:repeat(2,1fr)}.match-card footer{align-items:flex-end}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}button{touch-action:manipulation}button:active{filter:brightness(.9)}a:focus-visible{outline-offset:2px;outline:3px solid #7dd3fc}.skip-link{z-index:100;color:#07101f;background:#fff;border-radius:10px;padding:10px 14px;position:fixed;top:8px;right:8px;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}.topbar{height:calc(74px + env(safe-area-inset-top));padding-top:calc(12px + env(safe-area-inset-top))}.matchday-picker{flex-wrap:wrap;gap:8px;margin:-8px 0 20px;display:flex}.matchday-picker button{border:1px solid var(--border);background:var(--surface);color:#a8b8cf;border-radius:12px;min-width:72px;min-height:44px;padding:8px 12px;font-size:11px;font-weight:700;transition:background .2s,border-color .2s,color .2s}.matchday-picker button.active{color:var(--primary);background:#38bdf81f;border-color:#38bdf88c}.crest{box-shadow:none;filter:drop-shadow(0 7px 10px #0000003d);background:0 0;border-radius:0}.crest img{object-fit:contain;width:100%;max-width:100%;height:100%;display:block}.crest-fallback{background:linear-gradient(145deg,color-mix(in srgb,var(--crest),white 18%),var(--crest));border-radius:35% 35% 48% 48%;place-items:center;width:100%;height:100%;display:grid;box-shadow:inset 0 0 0 3px #ffffff2e}.bottom-nav{grid-template-columns:repeat(4,1fr)}.bottom-nav.with-admin{grid-template-columns:repeat(5,1fr)}.brand-mark{background:radial-gradient(circle at 35% 28%,#38bdf8 0,#2563eb 38%,#172554 100%);border:1px solid #7dd3fc6b;border-radius:50%;position:relative;overflow:hidden;box-shadow:0 8px 30px #0ea5e952,inset 0 0 16px #ffffff1f}.brand-mark:after{content:"";background:linear-gradient(110deg,#0000 36%,#fff3 50%,#0000 64%);position:absolute;inset:-35%;transform:rotate(12deg)}.brand-mark.small{border-radius:50%}.brand-mark .zexter-glyph{z-index:1;color:#e0f2fe;filter:drop-shadow(0 2px 4px #00000047);width:72%;height:72%;position:relative}.zexter-glyph circle{fill:currentColor}.zexter-glyph .zexter-orbit,.zexter-glyph .zexter-web{fill:none;stroke:currentColor;stroke-width:1.5px;opacity:.55}.zexter-glyph .zexter-z{fill:none;stroke:#fff;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}.wordmark small{letter-spacing:.16em;text-align:left;direction:ltr}.creator-credit{color:#74839c;direction:rtl;justify-content:center;align-items:center;gap:7px;margin:4px 0 28px;font-size:10px;display:flex}.creator-credit strong{color:#9fb2cf;letter-spacing:.14em;direction:ltr}.creator-credit .zexter-glyph{color:#38bdf8;flex:none;width:18px;height:18px}.season-callout{color:#fff;text-align:right;background:linear-gradient(120deg,#fbbf2421,#0e1424f5);border:1px solid #fbbf2452;border-radius:18px;justify-content:space-between;align-items:center;width:100%;min-height:82px;margin:0 0 16px;padding:14px 17px;display:flex}.season-callout>span{grid-template-columns:28px 1fr;align-items:center;column-gap:10px;display:grid}.season-callout svg{color:var(--accent)}.season-callout b{font-size:14px}.season-callout small{color:#b8c5d8;grid-column:2;margin-top:4px;font-size:10px}.season-callout>svg{flex:none;width:20px}.prediction-tabs{border:1px solid var(--border);background:#090e1b;border-radius:15px;grid-template-columns:1fr 1fr;gap:5px;margin:-8px 0 22px;padding:5px;display:grid}.prediction-tabs button{color:#8393ac;background:0 0;border:0;border-radius:11px;justify-content:center;align-items:center;gap:8px;min-height:48px;font-size:12px;font-weight:700;display:flex}.prediction-tabs button svg{width:18px}.prediction-tabs button.active{background:var(--surface-2);color:var(--primary);box-shadow:0 5px 16px #0003}.season-picks{gap:16px;display:grid}.season-picks.locked .pick-card{opacity:.72}.season-deadline{background:#38bdf812;border:1px solid #38bdf84d;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;min-height:66px;padding:12px 15px;display:flex}.season-deadline>div{gap:3px;display:grid}.season-deadline span{color:var(--muted);font-size:10px}.season-deadline strong{font-size:13px}.season-deadline>svg{color:var(--danger)}.pick-progress{color:#7586a1;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;height:43px;padding:0 8px;font-size:10px;display:grid}.pick-progress span{white-space:nowrap;align-items:center;gap:6px;display:flex}.pick-progress b{border:1px solid var(--border);border-radius:50%;place-items:center;width:25px;height:25px;display:grid}.pick-progress i{background:var(--border);height:1px}.pick-progress .done{color:#bae6fd}.pick-progress .done b{border-color:var(--primary);color:var(--primary);background:#38bdf81f}.pick-card{border:1px solid var(--border);background:linear-gradient(150deg,#121a2d,#0c1220);border-radius:20px;padding:16px}.pick-card>header,.admin-form>header{align-items:flex-start;gap:11px;margin-bottom:16px;display:flex}.pick-card>header>svg,.admin-form>header>svg{width:22px;color:var(--primary);flex:none}.pick-card header div,.admin-form header div{display:grid}.pick-card header span,.admin-form header span{color:var(--primary);font-size:9px}.pick-card h2{margin:2px 0;font-size:16px}.pick-card header p{color:var(--muted);margin:0;font-size:10px;line-height:1.65}.season-team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.season-team-grid button{border:1px solid var(--border);color:#dbe7f6;text-align:right;background:#0b1120;border-radius:13px;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;min-width:0;min-height:64px;padding:8px;display:grid;position:relative}.season-team-grid button>span:nth-child(2){font-size:10px;line-height:1.5;overflow:hidden}.season-team-grid button>svg{color:var(--primary);position:absolute;top:5px;left:5px}.season-team-grid button.selected{border-color:var(--primary);background:#38bdf81a}.season-team-grid button:disabled{cursor:not-allowed}.champion-pick.disabled-section{opacity:.62}.champion-options{grid-template-columns:1fr 1fr;gap:9px;display:grid}.champion-options button{border:1px solid var(--border);color:#fff;background:#0b1120;border-radius:15px;align-content:center;justify-items:center;gap:7px;min-height:96px;padding:10px 6px;display:grid}.champion-options button>span{font-size:10px}.champion-options button>svg{color:var(--accent);display:none}.champion-options button.selected{border-color:var(--accent);background:#fbbf2417}.champion-options button.selected>svg{display:block;position:absolute}.pick-helper{color:var(--muted);text-align:center;background:#0a101d;border-radius:12px;padding:14px;font-size:11px}.season-points{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.season-points span{border:1px solid var(--border);background:var(--surface);min-height:58px;color:var(--muted);text-align:center;border-radius:12px;place-items:center;padding:8px 4px;font-size:9px;display:grid}.season-points b{color:var(--accent);font-size:16px}.season-save{width:100%}.season-save:disabled,.primary:disabled{opacity:.45;box-shadow:none;transform:none}.admin-token{color:#c7d2e3;gap:7px;margin-bottom:16px;font-size:12px;display:grid}.admin-token input{border:1px solid var(--border);color:#f8fafc;background:#080d19;border-radius:12px;width:100%;min-height:48px;padding:8px 12px}.admin-sections{gap:16px;display:grid}.admin-form>header strong{font-size:14px}.admin-form>header span{color:var(--muted);margin-top:3px}@media (width>=700px){.season-team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-sections{grid-template-columns:1fr 1fr;align-items:start}}@media (width<=374px){.content{padding-left:14px;padding-right:14px}.season-team-grid,.season-points{grid-template-columns:1fr}.season-points span{grid-template-columns:auto 1fr;justify-content:center;gap:8px;min-height:44px}}
