@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap');
:root{--bg:#05091c;--panel:#091631;--panel2:#0e2146;--line:#4a70ae;--white:#f7fbff;--muted:#a9bedd;--cyan:#22c8ff;--blue:#2362ff;--purple:#ae37fa;--magenta:#f628cb;--red:#ff334c;--gold:#ffc54a;--green:#48e7a0;--radius:21px;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 18% 0%,#102a72 0,transparent 45%),radial-gradient(ellipse at 95% 4%,#480b65 0,transparent 33%),var(--bg);font-family:'Vazirmatn',Tahoma,Arial,sans-serif;color:var(--white);direction:rtl}button,input,textarea,select{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #82e6ff;outline-offset:3px}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}b,strong{font-weight:800}button[disabled]{opacity:.55;cursor:not-allowed}#app{max-width:1360px;margin:auto;padding:0 16px 112px}.masthead{position:relative;margin:0 -16px 13px;padding:calc(15px + env(safe-area-inset-top)) 18px 16px;background:linear-gradient(135deg,#090c27e8,#111b50dd 58%,#3a095cbe);border-bottom:1px solid #607de1;isolation:isolate;box-shadow:0 14px 45px #0008;overflow:hidden}.mast-bg{position:absolute;z-index:-1;inset:0;background:url('./stadium.webp') center 30%/cover;opacity:.21;mask-image:linear-gradient(90deg,transparent,#000 30%,#000 70%,transparent)}.headtop{display:flex;align-items:center;justify-content:space-between;gap:9px}.brand{display:flex;flex-direction:column;align-items:center;border:0;background:none;position:relative;padding:0 3px;text-shadow:0 0 23px #bd48fc}.brand>strong{font-weight:900;font-size:clamp(23px,4vw,40px);font-style:italic;direction:ltr;white-space:nowrap;line-height:1.05;letter-spacing:-.04em}.brand em{font-style:italic;font-weight:800;color:#eef1ff}.brand small{font-size:9px;letter-spacing:4px;color:#f0c5ff}.brand .ept-logo{height:34px;object-fit:contain}.head-tools{display:flex;gap:5px}.circle-btn{width:42px;height:42px;border:1px solid #7d9bdc;border-radius:50%;background:linear-gradient(140deg,#1c345c,#050d29);box-shadow:inset 0 1px 4px #fff3,0 0 12px #2b55a570;font-size:23px;display:grid;place-items:center}.mast-label{display:flex;justify-content:flex-start;align-items:center;gap:8px;margin:12px 0 10px;font-size:11px;color:#bed0f8}.pulse-dot{display:inline-block;width:7px;height:7px;background:#3be1c0;border-radius:50%;box-shadow:0 0 9px #3be1c0;animation:pulse 1.8s infinite}@keyframes pulse{50%{opacity:.35;transform:scale(.7)}}.league-strip{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding:5px 2px 8px}.league-strip::-webkit-scrollbar{display:none}.league-tile{min-width:124px;display:flex;align-items:center;justify-content:center;gap:9px;padding:11px 12px;border-radius:17px;border:1px solid #665ddd;background:linear-gradient(150deg,#142a65,#280e59 70%);box-shadow:inset 0 1px #fff4,0 6px 12px #02020d;border-bottom:2px solid #d447e8;white-space:nowrap;font-size:12px;font-weight:800}.league-tile.active,.league-tile:hover{border-color:#e8b8ff;box-shadow:0 0 20px #bc4cff77,inset 0 1px #fff5}.league-tile .em{font-size:23px}.screen{min-height:64vh}.section{margin:16px 0;padding:15px;border:1px solid #4268be;border-radius:var(--radius);background:linear-gradient(135deg,#0b1e47f5,#100a2af5);box-shadow:inset 0 0 22px #23409b33,0 14px 24px #0008,0 0 8px #1726bb66;position:relative;overflow:hidden}.section.magenta{border-color:#a337ea;box-shadow:inset 0 0 19px #8112ad55,0 15px 32px #000a,0 0 12px #dc2eff44}.section.blue{border-color:#328cff}.section.red{border-color:#f23855}.section.gold{border-color:#e6a85d}.section::before{content:'';position:absolute;inset:-2px;pointer-events:none;border-radius:inherit;background:linear-gradient(130deg,#24ceff18,transparent 45%,#f627ed17)}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px;position:relative;z-index:1}.section-title h2{margin:0;font-size:clamp(17px,3vw,24px);font-weight:900}.section-title p{font-size:12px;color:var(--muted);margin:4px 0}.tag,.badge{display:inline-flex;gap:5px;align-items:center;border-radius:40px;padding:6px 11px;font-size:11px;font-weight:800;background:#17346d;border:1px solid #497ed6}.badge.live{background:linear-gradient(90deg,#991329,#f52648);border:1px solid #ff9eac;animation:breath 2.2s infinite;box-shadow:0 0 20px #ff375c66}.badge.soon{background:#21105f;color:#e6ccff}.badge.good{background:#0d574b;color:#b4ffe5}.badge.warn{background:#66401a;color:#ffe1a8}.mini-btn,.pill{padding:8px 13px;border-radius:40px;border:1px solid #9267fc;background:linear-gradient(135deg,#4c268d,#132d77);font-size:12px;font-weight:800;box-shadow:inset 0 1px #fff4;white-space:nowrap}.mini-btn:hover,.pill:hover{border-color:#f2d6ff}.btn{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:44px;padding:11px 22px;border:1px solid #e9b9ff;border-radius:40px;background:linear-gradient(120deg,#5d20e0,#aa24b5 64%,#ee2384);font-size:14px;font-weight:900;box-shadow:inset 0 2px 4px #fff5,0 6px 16px #af2ef366;transition:transform .16s}.btn:hover{transform:translateY(-2px)}.btn.red{border-color:#ff8e9e;background:linear-gradient(135deg,#ab0632,#ff345d);box-shadow:0 5px 18px #fd255777}.btn.blue{background:linear-gradient(135deg,#0d438a,#217add)}.btn.green{background:linear-gradient(135deg,#11684b,#15a276);border-color:#62f5c6}.text-muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.col{display:flex;flex-direction:column;gap:7px}.top-banner{background:linear-gradient(90deg,#0d1a43b8,#0e0f2fc9),url('./stadium.webp') center/cover;border:1px solid #9b59f6;border-radius:24px;min-height:280px;position:relative;padding:24px 18px;box-shadow:inset 0 0 60px #2a89f933,0 0 26px #8d2ff566;display:flex;align-items:flex-end;gap:15px;justify-content:space-between;overflow:hidden}.top-banner .hero-copy{position:relative;z-index:1;max-width:570px}.top-banner h1{font-size:clamp(24px,4vw,43px);line-height:1.4;margin:13px 0 5px;text-shadow:0 3px 12px #000}.top-banner p{font-size:13px;color:#dce6ff;margin:8px 0 16px}.top-banner .orb{width:clamp(105px,24vw,240px);aspect-ratio:1;display:grid;place-items:center;font-size:clamp(74px,13vw,140px);background:radial-gradient(circle at 32% 22%,#d3eeff5d,#2e5dee25 50%,transparent 70%);filter:drop-shadow(0 0 18px #31b7ff);animation:float 4s ease-in-out infinite}@keyframes float{50%{transform:translateY(-11px)}}.countdown{display:flex;gap:7px;align-items:center;justify-content:center;margin:10px 0 17px}.countdown>span{min-width:57px;padding:7px 10px;border:1px solid #a649f3;background:#1d115d;border-radius:12px;text-align:center;box-shadow:0 0 10px #8f3eea44}.countdown b{display:block;font-size:23px;font-weight:900}.countdown small{font-size:10px;color:#e2c9fb}.glow-dots{display:flex;gap:5px;justify-content:center;margin:12px}.glow-dots i{width:6px;height:6px;border-radius:10px;background:#a77bff}.glow-dots i:first-child{width:22px;background:#ff35dc}.shortcut-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.shortcut{min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:9px 4px;gap:5px;border-radius:18px;border:1px solid #6591eb;background:linear-gradient(155deg,#0c5292,#090d39 65%);font-size:12px;font-weight:800;box-shadow:inset 0 2px 8px #fff2,0 0 11px #136ac866;transition:transform .16s}.shortcut:nth-child(3n+2){background:linear-gradient(150deg,#5a177e,#0a1638)}.shortcut:nth-child(4n){border-color:#ef63dd;box-shadow:0 0 15px #be249555}.shortcut:hover{transform:translateY(-4px)}.shortcut .emoji{font-size:31px;line-height:1.4}.match-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:13px}.match-card{background:linear-gradient(135deg,#092755,#070a2c);border:1px solid #4e94f5;border-radius:20px;padding:14px;box-shadow:0 0 12px #297de866,inset 0 1px #fff4;display:flex;flex-direction:column;gap:10px}.match-card.live{border-color:#fa658e;box-shadow:0 0 16px #fa275055}.match-card .league-row{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#d3dffc}.match-teams{display:grid;grid-template-columns:1fr 90px 1fr;align-items:center;gap:10px;text-align:center}.team{min-width:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;font-size:13px;font-weight:800}.team>span{overflow-wrap:anywhere}.crest{width:51px;height:51px;object-fit:contain;filter:drop-shadow(0 3px 8px #000)}.crest-missing{display:grid;place-items:center;width:51px;height:51px;border:1px solid #7991ca;border-radius:50%;background:#24345a;font-size:26px}.score{font-size:clamp(24px,3.2vw,37px);font-weight:900;white-space:nowrap;direction:ltr}.minute{color:#4cffb8;font-size:12px;font-weight:800}.match-actions{display:flex;gap:8px;justify-content:center}.match-actions button{flex:1}.news-hero{min-height:245px;position:relative;display:flex;flex-direction:column;justify-content:flex-end;padding:22px;border:1px solid #b56efa;border-radius:24px;background:linear-gradient(0deg,#070d32 8%,#0d16527d 63%),url('./design-hero.jpg') 30% center/cover;box-shadow:0 0 19px #954cf465;overflow:hidden}.news-hero[data-img]{background-size:cover}.news-hero h2{max-width:70%;margin:11px 0;font-size:clamp(19px,3.6vw,31px);line-height:1.55}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.news-card{min-width:0;text-align:right;border:1px solid #477ae4;border-radius:19px;background:#0d2253;padding:0;overflow:hidden;box-shadow:0 6px 14px #0008;display:flex;flex-direction:column}.news-card img{height:150px;width:100%;object-fit:cover}.news-card .news-copy{padding:11px 13px;display:flex;flex-direction:column;flex:1;gap:6px}.news-card strong{font-size:13px;line-height:1.8}.news-card small{color:#bdd2fb;margin-top:auto}.news-placeholder{background:linear-gradient(135deg,#102757,#290b49);padding:18px 14px;border-radius:20px;min-height:125px;border:1px dashed #7e67c6;display:flex;gap:12px;align-items:center}.news-placeholder img{width:95px;height:82px;object-fit:cover;border-radius:12px}.empty{padding:20px;border:1px dashed #6572b1;border-radius:17px;background:linear-gradient(135deg,#101e3a,#120e2f);text-align:center;line-height:1.9;color:#c5d7ef}.empty strong{color:#fff}.empty .btn{margin-top:9px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 13px}.subhead h3{font-size:15px;margin:0}.tab-row{display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding:5px 1px 12px}.tab-row button{white-space:nowrap;border:1px solid #6979b5;border-radius:30px;background:#131e40;padding:9px 15px;font-size:12px}.tab-row button.active{background:linear-gradient(130deg,#7923d5,#ef35b0);border-color:#ffbcff}.stand-wrap{overflow-x:auto;border:1px solid #415e99;border-radius:15px;background:#071433}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}th,td{padding:10px 9px;border-bottom:1px solid #23406d;text-align:center}th{background:#142355;color:#d0dfff;font-size:11px}td.team-col{text-align:right;min-width:136px;font-weight:700}td.team-col span{display:inline-flex;align-items:center;gap:7px}.smallcrest{width:27px;height:27px;object-fit:contain;vertical-align:middle}.stand-wrap tbody tr:nth-child(1){background:#133c43}.stand-wrap tbody tr:hover{background:#1a2f6d}.pts{font-size:13px;font-weight:900;color:#72ffca}.data-info{padding:12px;border-radius:12px;background:#12274b;color:#b9cbe8;font-size:12px}.list-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:11px 9px;border-bottom:1px solid #30446f}.list-row:last-child{border:0}.list-row .num{border-radius:30px;background:#442594;min-width:38px;text-align:center;padding:5px}.list-row .player-name{flex:1}.poll-option{display:flex;align-items:center;gap:8px;border:1px solid #4e68a9;background:#101d46;border-radius:12px;padding:10px 12px;margin-bottom:8px}.poll-option input{accent-color:#bd32ed;width:18px;height:18px}.poll-option .pct{margin-right:auto;color:#eec4ff}.progress{height:8px;border-radius:5px;background:#162758;margin-top:4px;overflow:hidden}.progress i{height:100%;background:linear-gradient(90deg,#665ffe,#ed3de5);display:block}.video-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.video-card{background:linear-gradient(160deg,#162c5a,#110e2f);border:1px solid #6961d8;border-radius:18px;padding:0;overflow:hidden;text-align:right}.video-cover{position:relative;aspect-ratio:16/9;background:url('./stadium.webp') center/cover;display:grid;place-items:center}.video-cover>span{font-size:42px;text-shadow:0 0 25px #000}.video-card .news-copy{padding:12px}.transfer-row{display:flex;gap:13px;align-items:center;border-bottom:1px solid #284679;padding:12px}.transfer-row:last-child{border:0}.transfer-row>div{flex:1}.title-hero{background:linear-gradient(90deg,#13246bdb,#160b3ad9),url('./stadium.webp') center/cover;border:1px solid #a359ff;border-radius:25px;padding:23px 15px;min-height:150px;display:flex;align-items:center;gap:12px;margin:15px 0}.title-hero .bigicon{font-size:76px;text-shadow:0 0 26px #6eaaff}.title-hero h1{font-size:clamp(24px,5vw,37px);margin:0}.title-hero p{margin:5px 0;color:#bdcce9;font-size:12px}.bottom-nav{position:fixed;z-index:20;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,1360px);display:flex;justify-content:space-around;align-items:center;gap:3px;padding:8px 9px calc(10px + env(safe-area-inset-bottom));background:linear-gradient(135deg,#071735f9,#0a0c28fa 65%,#220948f9);border:1px solid #6f61cc;border-radius:24px 24px 0 0;box-shadow:0 -8px 25px #000b,0 -2px 10px #b836ee66;backdrop-filter:blur(18px)}.nav-btn{flex:1;min-height:59px;display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;border:0;background:transparent;border-radius:17px;color:#d7e5ff;font-size:10px;font-weight:800}.nav-btn .symbol{font-size:24px}.nav-btn.active{background:linear-gradient(150deg,#5720b5,#be2cc6 70%,#6b38cf);border:1px solid #eeaafa;box-shadow:0 0 18px #cf38fa88;color:white}.modal-layer{position:fixed;z-index:40;inset:0;background:#020515d9;backdrop-filter:blur(9px);display:grid;place-items:center;padding:15px}.modal-layer[hidden]{display:none}.modal{max-height:min(92vh,900px);overflow:auto;max-width:820px;width:100%;background:#081733;border:1px solid #8a64f2;border-radius:24px;box-shadow:0 0 40px #8034fb66}.modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;background:#142552;padding:11px 17px;border-bottom:1px solid #5269b7}.modal-body{padding:15px}.modal-body p{line-height:1.95}.close{border-radius:50%;width:37px;height:37px;background:#321359;border:1px solid #8c5ccc}.toast{position:fixed;bottom:93px;left:50%;transform:translateX(-50%);background:#1b3860;border:1px solid #7aaaff;border-radius:15px;padding:10px 20px;opacity:0;pointer-events:none;transition:opacity .3s;z-index:50;max-width:85%;font-size:12px;text-align:center}.toast.show{opacity:1}.searchbox,input[type=text],input[type=tel],input[type=password]{background:#061631;border:1px solid #527cc0;padding:12px 14px;border-radius:13px;color:#fff;max-width:100%;width:100%}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.field{display:flex;flex-direction:column;gap:4px;font-size:12px}.page-league .title-hero{min-height:200px}.league-info-bubble{width:86px;height:86px;border:1px solid #846afe;border-radius:50%;background:#2b2773;display:grid;place-items:center;font-size:50px;box-shadow:0 0 23px #9c4df488}.click-card{cursor:pointer}.click-card:hover{border-color:#e69bff}.statusline{color:#bfd2f5;font-size:11px;margin:0 0 8px;display:flex;align-items:center;gap:8px}.not-ready{color:#ffce82;font-size:12px}.layout-header{display:flex;gap:10px;align-items:center;justify-content:space-between}.chip{border-radius:30px;background:#16376f;border:1px solid #557ac2;padding:5px 10px;font-size:11px}.full{width:100%}.divider{height:1px;background:#2c4676;margin:12px 0}.float-refresh{position:fixed;right:13px;bottom:95px;z-index:17;border-radius:50%;background:#0c568b;border:1px solid #6eaaf0;padding:10px;box-shadow:0 0 17px #258efa66}
@keyframes breath{50%{box-shadow:0 0 26px #ff334bad}}@media (max-width:700px){#app{padding:0 10px 105px}.masthead{margin:0 -10px 12px;padding:calc(9px + env(safe-area-inset-top)) 11px 9px}.circle-btn{width:36px;height:36px;font-size:18px}.head-tools{gap:3px}.brand>strong{font-size:25px}.brand small{font-size:8px}.league-tile{min-width:108px;font-size:11px;padding:9px}.section{padding:11px;margin:12px 0;border-radius:19px}.shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.shortcut{min-height:84px;font-size:10px}.shortcut .emoji{font-size:28px}.top-banner{min-height:250px;padding:14px;align-items:flex-end}.top-banner .orb{font-size:67px;width:80px}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-card img{height:115px}.news-hero h2{max-width:100%;font-size:21px}.grid-2,.grid-3{grid-template-columns:1fr}.match-grid{grid-template-columns:1fr}.video-grid{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.bottom-nav{border-radius:20px 20px 0 0}.nav-btn .symbol{font-size:21px}.nav-btn{font-size:9px;padding:4px 2px}.brand .ept-logo{height:26px}.countdown>span{min-width:51px;padding:6px 4px}}@media(max-width:380px){.head-tools .circle-btn:nth-child(2){display:none}.news-grid{grid-template-columns:1fr 1fr}.league-tile{min-width:102px}.top-banner h1{font-size:22px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* V14 finishing: preserve approved EPT editorial look with real crests and readable score cards. */
.hero-match{background:linear-gradient(120deg,#060b23d8,#0b155bcc 48%,#2b0b47df),url('./stadium.webp') center/cover;min-height:300px}
.hero-match .hero-copy{max-width:none;width:100%}
.hero-teams{display:grid;grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);gap:12px;align-items:center;max-width:700px;margin:16px auto}
.hero-teams>div{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;text-align:center}
.hero-teams .crest,.hero-teams .crest-missing{width:70px;height:70px;filter:drop-shadow(0 0 14px #45baffb6)}
.hero-teams b{font-size:clamp(14px,2vw,23px)}.hero-vs{color:#ffe5fd;font-size:26px;font-weight:900;text-shadow:0 0 18px #f62fd7}
.hero-match .hero-copy>p{text-align:center}.hero-match .hero-copy>.row{justify-content:center}
.hero-match .countdown{justify-content:center}
.nav-btn:active,.shortcut:active,.league-tile:active,.btn:active{transform:scale(.97)}
@media(max-width:700px){.hero-teams{grid-template-columns:minmax(0,1fr) 47px minmax(0,1fr);gap:5px}.hero-teams .crest,.hero-teams .crest-missing{width:56px;height:56px}.hero-vs{font-size:20px}.hero-match{min-height:310px}.hero-match .hero-copy>.row{flex-direction:column}.hero-match .hero-copy>.row button{width:100%}}
