/* EPT Football V15 -- Approved-reference implementation styling.
   Never publish this as pixel-identical without side-by-side user signoff. */
:root{--v15-bg:#030921;--v15-cyan:#00bafa;--v15-violet:#9f23f4;--v15-magenta:#ff21d6;--v15-gold:#ffb71d;--v15-red:#ff154e;--v15-text:#f8fbff}
body{background:radial-gradient(ellipse at 3% 10%,#003d9b55,transparent 35%),radial-gradient(ellipse at 94% 14%,#a800ad5b,transparent 35%),linear-gradient(#02081c,#080b25 60%,#030a19);color:var(--v15-text)}
body:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#06153788,#020618eb),url('./stadium.webp') center/cover;opacity:.22}
#app{max-width:1230px;padding-bottom:124px}
.masthead{background:linear-gradient(110deg,#02091a,#04174aef 55%,#15042bef);border:0;border-bottom:2px solid transparent;border-image:linear-gradient(90deg,#2488ff,#f023df,#ff3759) 1;padding-bottom:8px;box-shadow:0 4px 26px #7520fc42;overflow:visible}
.mast-bg{background:linear-gradient(110deg,#050a1f7e,#080a2888),url('./stadium.webp') center 10%/cover;opacity:.38;mask-image:linear-gradient(#000,transparent)}
.headtop{min-height:67px;gap:6px}
.brand{width:220px;height:65px;display:block;flex-shrink:1;min-width:0;position:relative;text-align:center}
.brand:before{content:"";position:absolute;inset:0;background:url('./brand-ref.webp') center/contain no-repeat;mix-blend-mode:screen;filter:drop-shadow(0 0 5px #e72eff)}
.brand>strong,.brand small{visibility:hidden}.brand .ept-logo{position:absolute;z-index:2;left:4px;top:3px;height:52px;max-width:190px;filter:drop-shadow(0 0 12px #ff4eea)}
.circle-btn{border:1px solid #74baff;background:linear-gradient(140deg,#123969,#0b1131);box-shadow:0 0 11px #206aff77,inset 0 2px 4px #fff4;color:#fff;width:43px;height:43px}
.circle-btn:hover,.circle-btn:focus-visible{box-shadow:0 0 20px #d61cffb8}
.mast-label{background:linear-gradient(90deg,#110a2e,#082350a9);border-radius:20px;border:1px solid #314381;padding:5px 11px;margin:2px 0 10px;font-size:11px}
.league-strip{gap:8px;padding:5px 4px 12px;scroll-snap-type:x mandatory}
.league-tile{min-width:108px;min-height:82px;padding:7px;display:flex;flex-direction:column;gap:3px;white-space:normal;text-align:center;scroll-snap-align:start;border:1px solid #82b9ff;border-bottom:3px solid #e832a6;border-radius:19px;background:linear-gradient(160deg,#102d72 6%,#070c2b 88%);font-size:11px;line-height:1.45;box-shadow:inset 0 3px 6px #ffffff2a,0 0 9px #1764df80}
.league-tile .em{font-size:26px;line-height:1.12;filter:drop-shadow(0 0 7px #85b9ff)}
.league-tile.lt-1{border-bottom-color:#0aaaff;background:linear-gradient(165deg,#12488f,#0c1042)}
.league-tile.lt-2{border-bottom-color:#f29c28;background:linear-gradient(165deg,#3b234e,#080d28)}
.league-tile.lt-3{border-bottom-color:#cf48ff;background:linear-gradient(165deg,#341072,#080a31)}
.league-tile.lt-4{border-bottom-color:#ff67cd;background:linear-gradient(165deg,#2d085f,#110a27)}
.league-tile.active,.league-tile:hover{border-color:#ffabf2;box-shadow:0 0 20px #fc34eea1,inset 0 2px 5px #fff5}
.v15-hometitle{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 2px 9px;font-size:clamp(17px,3.8vw,24px);font-weight:900;text-shadow:0 0 14px #ff2b73}
.v15-hometitle>.mini-btn{background:linear-gradient(100deg,#eb0643,#8e092a);border-color:#ff759d;box-shadow:0 0 15px #e42b609a}
.v15-hero{min-height:310px;position:relative;isolation:isolate;overflow:hidden;border-radius:30px;border:2px solid #8e73ff;background:linear-gradient(110deg,#110d55da,#060a29c0,#190c50d8),url('./stadium.webp') center/cover;box-shadow:0 0 0 2px #321d80,inset 0 0 46px #1976ff4a,0 0 22px #e531ff9b,0 10px 30px #000c;padding:21px 20px 19px;margin:0 3px 17px}
.v15-hero:before{content:'';position:absolute;z-index:-1;inset:-30%;background:radial-gradient(ellipse at 17% 70%,#078dff63,transparent 37%),radial-gradient(ellipse at 85% 75%,#f415be55,transparent 35%);animation:stadiumPulse 5s ease-in-out infinite;pointer-events:none}
.v15-hero:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 15px #5dcbff88}
@keyframes stadiumPulse{50%{transform:translateX(5%) scale(1.03);opacity:.65}}
.v15-hero-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:900;font-size:13px;position:relative}
.v15-hero-top>span:first-child{padding:7px 13px;border:1px solid #639bff;border-radius:25px;background:linear-gradient(100deg,#102966,#28115a);box-shadow:0 0 10px #3484ff}
.live-glow{font-size:13px;color:#fff;border-radius:26px;padding:7px 15px;background:linear-gradient(105deg,#d0012f,#ff3640,#bd072e);border:1px solid #ffc0d3;box-shadow:0 0 20px #ff325da1;animation:breath 2s infinite}
.v15-hero-sides{display:grid;grid-template-columns:minmax(0,1fr) 114px minmax(0,1fr);gap:4px;align-items:center;margin:22px auto 12px;max-width:680px}
.v15-hero-sides>.team{font-size:clamp(13px,2vw,20px);text-shadow:0 0 9px #000}
.v15-hero-sides .crest,.v15-hero-sides .crest-missing{width:clamp(72px,10vw,108px);height:clamp(72px,10vw,108px);filter:drop-shadow(0 0 11px #599fff)}
.v15-mid{text-align:center;display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;direction:ltr}
.v15-mid>strong{font-size:clamp(30px,7vw,60px);white-space:nowrap;text-shadow:0 0 16px #fc63fb}
.v15-mid>span{border-radius:17px;background:#063b2c;border:1px solid #17eaa6;color:#89ffbf;padding:3px 10px;font-weight:900;white-space:nowrap;font-size:12px;box-shadow:0 0 12px #1be6a599}
.v15-mid>small{font-size:10px;color:#c9ddff;direction:rtl}
.v15-mid .vs{font-weight:1000;color:#ffd0ff;font-style:italic;letter-spacing:-.1em}
.v15-hero-actions{display:flex;gap:9px;justify-content:center;align-items:center;flex-wrap:wrap}
.v15-hero-actions .btn,.v15-hero-actions .mini-btn{border-radius:28px}
.v15-hero-actions .watch-btn{background:linear-gradient(#ff375e,#9a0326);border:2px solid #ffb7d3;box-shadow:0 0 18px #ff1d66, inset 0 2px 7px #fff8;font-size:20px;min-width:180px;animation:watchGlow 2.2s ease-in-out infinite}
@keyframes watchGlow{50%{box-shadow:0 0 30px #ff2e9c,0 0 40px #7f26ff}}
.v15-hero-upcoming{background:linear-gradient(115deg,#100b3edb,#0a154dd7),url('./stadium.webp') center/cover}
.v15-hero .countdown{margin:12px 0}
.v15-hero .countdown>span{border:1px solid #d76bff;box-shadow:0 0 12px #af24d8;background:linear-gradient(#240956,#101a4b)}
.v15-hero-editorial{min-height:285px;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;padding:17px 20px;background:linear-gradient(95deg,#030a17b8 4%,#11083d96 75%),url('./home-player.webp') 25% center/cover}
.v15-hero-editorial h1{font-size:clamp(24px,4vw,40px);max-width:70%;line-height:1.5;text-shadow:0 3px 8px #000}
.v15-hero-editorial p{max-width:70%;font-size:12px;line-height:1.8;color:#e5edff}
.v15-secondary-live{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 3px 18px}
.v15-secondary-live>.match-card{border:2px solid #ff52bd}
.section{border-width:2px;border-color:#654dd6;border-radius:24px;padding:15px;background:linear-gradient(120deg,#071a4f,#0c0a2e 65%,#100a32);box-shadow:inset 0 0 23px #214e9a77,0 0 15px #ad2fff52,0 13px 24px #0008}
.section.magenta{border-color:#d83eff;box-shadow:0 0 16px #ce35fc88,inset 0 0 22px #7b1ad866}
.section.blue{border-color:#1b9fff;box-shadow:0 0 14px #168dff84,inset 0 0 19px #1473c766}
.section.red{border-color:#fd4e8c;box-shadow:0 0 13px #e82c8985,inset 0 0 17px #e62d6c5c}
.section.gold{border-color:#f8a82b}
.section-title h2{font-size:clamp(18px,3vw,24px);color:white;text-shadow:0 1px 9px #4d76eb}
.mini-btn{border:1px solid #b963ff;background:linear-gradient(#5c0e9d,#27105d);box-shadow:0 0 10px #a91cf98c,inset 0 1px 4px #fffa}
.btn.primary{background:linear-gradient(95deg,#5f19c6,#c620e7);border:1px solid #ffafff}
.shortcut-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px}
.shortcut{position:relative;min-height:104px;gap:7px;border:1px solid #51b7ff;border-bottom:3px solid #4b7fff;border-radius:20px;background:radial-gradient(circle at 50% 0,#2354e77a,#071b43 65%,#050a28);box-shadow:inset 0 2px 7px #fff5,0 0 12px #1265dc7c;font-weight:900}
.shortcut:nth-child(3n+2){border-color:#fa38e5;background:radial-gradient(circle at 50% 0,#a622bfaa,#1c0e4d 65%,#050720);box-shadow:0 0 15px #e234d58c}
.shortcut:nth-child(4n){border-color:#ffa927;background:radial-gradient(circle at 50% 0,#93500dac,#291a37 65%,#080a20);box-shadow:0 0 13px #ffa51b77}
.shortcut:nth-child(5n){border-color:#18d5ef;background:radial-gradient(circle at 50% 0,#008c95ac,#091a4b 60%,#05091c)}
.shortcut .emoji{font-size:35px;filter:drop-shadow(0 0 8px #e58fff)}
.shortcut:hover{transform:translateY(-4px) scale(1.03)}
.news-hero{min-height:310px;border:2px solid #fc4efa;box-shadow:0 0 20px #f02ff99e;background:linear-gradient(90deg,#070e2aef 0%,#080b2899 70%),url('./home-player.webp') 10% center/cover;align-items:flex-end;text-align:right}
.news-hero h2{max-width:68%;font-size:clamp(23px,4vw,39px);line-height:1.55;text-shadow:0 1px 14px #000}
.news-grid{gap:10px}
.news-card{position:relative;min-height:190px;border:1.5px solid #aa68ff;background:linear-gradient(#051a3a,#0c0b29);box-shadow:0 0 11px #4c43ff88;border-radius:18px;overflow:hidden}
.news-card img{height:clamp(125px,16vw,230px);background:#111535}
.news-card .news-copy{background:linear-gradient(0deg,#0a0825,transparent);padding:10px 11px}
.news-placeholder{min-height:205px;border:1.5px solid #944aff;border-radius:20px;box-shadow:inset 0 0 17px #971ce058;position:relative;overflow:hidden;background:linear-gradient(100deg,#0d1b40,#10072fcf),url('./news-player.webp') left center/auto 100% no-repeat}
.news-placeholder img{width:125px;height:125px;object-fit:cover;border-radius:16px;border:1px solid #9a8bec}
.news-placeholder .col{max-width:460px}
.news-placeholder strong{font-size:clamp(18px,2.3vw,25px)}
.match-card{border:1.5px solid #208bfd;box-shadow:0 0 16px #1879f5a2,inset 0 0 14px #713cff77;background:linear-gradient(130deg,#0c1b51,#080923 64%,#200c40);border-radius:20px;padding:15px}
.match-card.live{border:2px solid #fb347e;box-shadow:0 0 19px #fa237e91,inset 0 0 14px #7029ac66}
.match-card .score{font-size:clamp(26px,4vw,43px);text-shadow:0 0 10px #997aff}
.match-card .crest,.smallcrest{filter:drop-shadow(0 0 6px #00aaff99)}
.stand-wrap{border:1.5px solid #ee34ee;border-radius:17px;background:#060e2c;box-shadow:0 0 10px #b32ee777}
table{font-size:12px}th{background:linear-gradient(#12326b,#0a1643);color:#eff8ff}th,td{padding:9px 7px;border-bottom:1px solid #345396}td.team-col{min-width:170px}.stand-wrap tbody tr:nth-child(1){background:#123f4f}
.nav-btn.active,.nav-btn:hover{box-shadow:0 0 14px #e721eeb0}
.bottom-nav{border-top:2px solid #bf41ff;border-radius:31px 31px 0 0;box-shadow:0 -7px 23px #a622e26e,inset 0 0 16px #1b4fdd55;background:linear-gradient(130deg,#07163df8,#060922fb 62%,#270849f8)}
.nav-btn{font-size:10px;font-weight:900}.nav-btn .symbol{font-size:26px}.nav-btn.active{border:1px solid #fbaaef;background:radial-gradient(circle at 50% 30%,#e12fef,#4c0c84 85%);box-shadow:0 0 21px #eb30ff}
.v15-live-mast{height:240px;margin:11px 0 15px;border:2px solid #e13bff;border-radius:24px;background:linear-gradient(#050e1c1c,#050823bb),url('./live-header.webp') center/cover;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;box-shadow:0 0 20px #b72bfd9a;overflow:hidden}
.v15-live-mast strong{font-size:clamp(26px,4.6vw,48px);text-shadow:0 3px 9px #000,0 0 18px #f633ff}.v15-live-mast p{font-size:12px;margin:0 0 12px;text-shadow:0 2px 8px black}
.v15-empty-live{min-height:165px;border-radius:21px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid #9b47ff;background:linear-gradient(#0d1642e0,#0d0a30e0),url('./stadium.webp') center/cover;text-align:center;padding:16px}.v15-empty-live span{font-size:40px}.v15-empty-live h3{margin:0;font-size:17px}.v15-empty-live p{color:#bbcde8;font-size:12px;margin:0;line-height:1.8}
.v15-league-head{position:relative;isolation:isolate;min-height:265px;margin:10px 0 15px;border:2px solid #e13aff;border-radius:25px;background:linear-gradient(90deg,#1210542f,#0b123e71),url('./stadium.webp') center/cover;display:flex;justify-content:flex-end;align-items:flex-end;padding:18px;box-shadow:0 0 24px #ae33e09c;overflow:hidden}
.v15-league-head.premier{background:linear-gradient(0deg,#090e2e 0%,transparent 47%),url('./premier-header.webp') center/cover}
.v15-league-head-overlay{position:relative;z-index:1;background:linear-gradient(90deg,#070a2ec7,transparent);padding:11px 20px;border-radius:17px}
.v15-league-head-overlay span{font-size:11px;color:#e9d2ff}.v15-league-head-overlay h1{font-size:clamp(23px,4vw,38px);margin:3px 0;text-shadow:0 0 9px #7b35e3}.v15-league-head-overlay p{font-size:12px;color:#cee0ff}
.v15-league-links{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:15px}
.v15-league-links button{border:1px solid #8974ff;border-bottom:2px solid #c23bfa;background:linear-gradient(155deg,#183577,#0e103b);border-radius:16px;min-height:79px;padding:6px 3px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;box-shadow:0 0 13px #3d52d998}
.v15-league-links b{font-size:29px}.v15-league-links small{font-size:11px;font-weight:800}
.league-switch{margin:0 0 14px}
.v15-news-head{background:radial-gradient(circle at 97% 0%,#8336f576,transparent 50%),linear-gradient(#0e1a4d,#0b102f);border-radius:18px;padding:13px;border:1px solid #7138ea;box-shadow:0 0 14px #8934fc66}
.v15-news-headline{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}
.v15-news-headline h1{font-size:clamp(25px,5vw,42px);margin:0}.fontmark{font-size:clamp(19px,4vw,34px);font-weight:1000;font-style:italic;color:#fff;direction:ltr;text-shadow:0 0 12px #f02ddd}.fontmark i{color:#f633d0}
.v15-breaking{margin:12px 0;padding:10px 12px;display:flex;gap:15px;align-items:center;border:1px solid #cc58fa;border-radius:16px;background:linear-gradient(90deg,#1b0e57,#0d2055)}.v15-breaking>b{background:#de1148;border-radius:14px;padding:5px 8px;white-space:nowrap}.v15-breaking>span{color:#dae7ff;font-size:12px}
@media(max-width:850px){.shortcut-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.v15-secondary-live{grid-template-columns:1fr}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#app{padding:0 8px 110px}.masthead{margin:0 -8px;padding:calc(8px + env(safe-area-inset-top)) 8px 8px}.headtop{min-height:57px;gap:2px}.brand{height:53px;width:166px}.head-tools{gap:3px}.circle-btn{width:34px;height:34px;font-size:18px}.mast-label{margin:0 0 8px;font-size:10px}.league-strip{gap:7px}.league-tile{min-width:94px;min-height:69px;font-size:10px;border-radius:14px}.league-tile .em{font-size:23px}.v15-hero{min-height:273px;padding:13px 10px;margin:0 1px 13px;border-radius:22px}.v15-hero-top{font-size:11px}.v15-hero-top>span{padding:5px 8px}.v15-hero-sides{grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr);margin:15px 0}.v15-hero-sides .crest,.v15-hero-sides .crest-missing{width:63px;height:63px}.v15-hero-sides .team{font-size:12px}.v15-mid>strong{font-size:33px}.v15-hero-actions .watch-btn{font-size:17px;min-width:154px}.section{margin:11px 0;padding:10px;border-radius:18px}.section-title h2{font-size:16px}.section-title{align-items:center;gap:4px}.section-title .mini-btn{font-size:10px;padding:6px 8px}.shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.shortcut{min-height:76px;border-radius:13px;font-size:10px}.shortcut .emoji{font-size:25px}.news-hero{min-height:195px;border-radius:18px;padding:12px}.news-hero h2{max-width:73%;font-size:19px}.news-grid{gap:7px}.news-card{min-height:150px;border-radius:14px}.news-card img{height:90px}.news-card strong{font-size:11px;line-height:1.6}.news-placeholder{min-height:155px;padding:9px}.news-placeholder img{width:85px;height:100px}.news-placeholder strong{font-size:15px}.v15-league-head{min-height:192px;border-radius:18px}.v15-league-head-overlay{padding:8px;background:#090b3099}.v15-league-head-overlay h1{font-size:20px}.v15-league-head-overlay p{font-size:10px}.v15-league-links{gap:5px}.v15-league-links button{min-height:58px;border-radius:11px}.v15-league-links b{font-size:19px}.v15-league-links small{font-size:9px}.v15-live-mast{height:176px}.v15-news-headline h1{font-size:22px}.bottom-nav{padding:7px 2px calc(9px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0}.nav-btn{font-size:8px;min-height:55px}.nav-btn .symbol{font-size:20px}.countdown>span{min-width:51px;padding:5px 4px}.countdown b{font-size:19px}.v15-hero-editorial h1{font-size:23px}.v15-hero-editorial p{max-width:75%;font-size:11px}}
@media(max-width:365px){.head-tools .circle-btn:nth-child(2){display:none}.brand{width:145px}.shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.league-tile{min-width:88px}.v15-hero-sides{grid-template-columns:1fr 78px 1fr}.v15-mid>strong{font-size:27px}.v15-league-links small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.v15-hero:before,.live-glow,.v15-hero-actions .watch-btn{animation:none!important}}

/* The Premier League artwork is the approved fixed banner, with its text and emblem inside the asset; no duplicate title overlay. */
.v15-league-head.premier .v15-league-head-overlay{display:none}
.v15-league-head.premier{background-position:center;background-size:cover}
