/* SIN DOM v1.15 — Stadium Experience. Frontend only, no refresh/backend changes. */
:root{--sd-gold:#edc575;--sd-text:#edf3ff;--sd-border:rgba(177,203,244,.18)}
.sd-stadium-home,.sd-match-page{isolation:isolate}
.sd-stadium-hero{min-height:600px;position:relative;overflow:hidden;background:#041123 url('/assets/stadium-night.webp') center 38%/cover no-repeat;padding:clamp(26px,4vw,60px) 0 clamp(28px,5vw,65px);border-bottom:2px solid #b7904c}
.sd-stadium-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(1,8,23,.82) 0%,rgba(2,11,30,.64) 50%,rgba(1,8,23,.68) 100%),linear-gradient(0deg,#041127 1%,transparent 46%);pointer-events:none}
.sd-stadium-hero:after{content:"";position:absolute;top:-100%;bottom:-100%;left:0;width:25%;transform:rotate(17deg);background:linear-gradient(90deg,transparent,rgba(143,188,255,.035),transparent);animation:sd-floodlight 20s ease-in-out infinite alternate;pointer-events:none}
.sd-stadium-hero>.fan-shell{position:relative;z-index:2}
.sd-stage-overline{display:flex;justify-content:space-between;align-items:center;gap:20px;color:#bed0ec}
.sd-synced{font:750 10px/1.4 Manrope,sans-serif;letter-spacing:.06em;color:#a9bad0;text-align:right}
.sd-stage-title{position:relative;padding:clamp(26px,4vw,55px) 0 clamp(20px,3vw,40px);max-width:1000px}
.sd-stage-title>span{display:block;font:900 clamp(12px,1.6vw,19px)/1.2 Unbounded,sans-serif;color:#f1cd89;letter-spacing:.26em;margin-bottom:11px}
.sd-stage-title h1{margin:0;max-width:1200px;font:900 clamp(36px,6.3vw,104px)/.99 Unbounded,Manrope,sans-serif;letter-spacing:-.085em;line-height:1.04;text-shadow:0 9px 35px #0005}
.sd-stage-title h1 em{font-style:normal;color:var(--sd-gold)}
.sd-stage-title p{font:650 clamp(12px,1.3vw,17px)/1.5 Manrope,sans-serif;color:#d0dcef;margin:14px 0 0}
.sd-stadium-caption{position:absolute;right:-3vw;bottom:-.27em;font:900 clamp(180px,29vw,480px)/1 Unbounded,sans-serif;letter-spacing:-.16em;color:transparent;-webkit-text-stroke:1px rgba(213,229,255,.055);pointer-events:none}
/* The hero has a stage, not another enclosed blue rectangle. */
.sd-stadium-hero .fan-matchday{max-width:1150px;background:linear-gradient(115deg,rgba(5,18,47,.6),rgba(9,29,64,.45));border:1px solid rgba(207,181,124,.25);border-top:3px solid var(--sd-gold);box-shadow:0 25px 80px #0003;backdrop-filter:blur(8px);border-radius:4px;min-height:270px}
.sd-stadium-hero .fan-matchday.theme-europa{border-top-color:#f38445}
.sd-stadium-hero .fan-matchday.theme-efbet{border-top-color:#e15b69}
.sd-stadium-hero .fan-duel{margin:clamp(17px,2vw,26px) 0}
.sd-stadium-hero .fan-team strong{color:#fff}
.sd-stadium-hero .fan-matchday-info{border-color:rgba(215,226,251,.2)}
.sd-open-match,.sd-primary-action{display:inline-flex;gap:13px;align-items:center;justify-content:center;padding:12px 16px;border:1px solid rgba(234,201,134,.7);background:var(--sd-gold);color:#0a1b36;cursor:pointer;font:900 10px/1.2 Manrope,sans-serif;letter-spacing:.09em;text-transform:uppercase;transition:background .2s,transform .2s}
.sd-open-match{position:relative;margin-top:20px;z-index:3}
.sd-open-match .ui-icon,.sd-primary-action .ui-icon{width:14px;height:14px}
.sd-open-match:hover,.sd-primary-action:hover{transform:translateY(-2px);background:#fff2ce}
/* A skinny match intelligence pulse, not four more cards */
.sd-pulse-strip{background:#06142d;border-bottom:1px solid rgba(221,186,115,.18)}
.sd-pulse-grid{display:grid;grid-template-columns:1.4fr 1.6fr 1fr 1fr}
.sd-pulse-cell{display:flex;flex-direction:column;justify-content:center;gap:8px;min-height:94px;padding:18px 21px;border-right:1px solid rgba(173,195,230,.15)}
.sd-pulse-cell:first-child{padding-left:0}.sd-pulse-cell:last-child{border-right:0}
.sd-pulse-cell>span{font:800 9px/1.3 Manrope,sans-serif;letter-spacing:.11em;color:#9cb0d1}
.sd-pulse-cell>strong{font:900 clamp(13px,1.5vw,19px)/1.25 Unbounded,Manrope,sans-serif;color:#fff;letter-spacing:-.045em}
.sd-pulse-cell>strong em{color:var(--sd-gold);font-style:normal}
.sd-pulse-cell>strong small{font:800 9px/1.4 Manrope,sans-serif;color:#b0c3df;letter-spacing:.03em}
.sd-form-pills{display:flex;gap:6px;align-items:center}.sd-form-pills>span{width:24px;height:24px;display:grid;place-items:center;background:#173a5b;color:#fff;font:900 11px/1 Manrope,sans-serif;border-radius:3px}.sd-form-pills .sd-form-W{background:#307d68}.sd-form-pills .sd-form-D{background:#68788d}.sd-form-pills .sd-form-L{background:#934e5d}.sd-muted{color:#9fb2d1;font-size:12px}
.sd-next-section{background:#eff2fa;color:#091a39}.sd-next-section .fan-section-head h2{color:#07182f}.sd-next-section .fan-kicker{color:#7b5b20}.sd-next-section .fan-section-link{color:#133f7e}
.sd-next-section .fan-section-head h2 em{color:#b38a44}
.sd-section-note{font-size:12px;color:#5e6e87;margin:-4px 0 17px}
.sd-next-list{border-top:2px solid #163968}
.sd-next-row{display:grid;grid-template-columns:40px 68px minmax(0,1fr) 94px 26px;gap:18px;align-items:center;padding:19px 10px;border-bottom:1px solid #d4dbe8;cursor:pointer;transition:background .23s,padding-left .23s}
.sd-next-row:hover{background:#e4eafa;padding-left:18px}
.sd-next-index{font:850 12px Unbounded,sans-serif;color:#8ea0b9}
.sd-next-date{display:flex;flex-direction:column}.sd-next-date strong{font:900 28px/1 Unbounded,sans-serif;color:#0a2854}.sd-next-date small{font:850 10px/1.8 Manrope,sans-serif;color:#7c8ea5}
.sd-next-opponent{display:flex;gap:15px;align-items:center;min-width:0}.sd-next-opponent>span:last-child{display:flex;flex-direction:column;gap:4px;min-width:0}.sd-next-opponent small{font:850 9px/1.2 Manrope,sans-serif;color:#5c6f8b;letter-spacing:.08em}.sd-next-opponent strong{font:900 clamp(12px,1.3vw,17px)/1.24 Unbounded,sans-serif;color:#0b2043;letter-spacing:-.04em;overflow-wrap:anywhere}
.sd-next-time{font:850 13px/1.4 Manrope,sans-serif;color:#263f63;text-align:right}.sd-next-arrow{color:#a47a38}.sd-next-arrow .ui-icon{width:20px;height:20px}
/* An editorial break: open airy grid with original illustrated image; no unlicensed article photos. */
.sd-editorial-section{background:#071a35}
.sd-editorial-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.95fr);gap:16px}
.sd-editorial-feature{position:relative;min-height:500px;overflow:hidden;display:flex;align-items:end;border:1px solid #344969;background:#061329}
.sd-editorial-figure{position:absolute;inset:0;background:linear-gradient(0deg,rgba(2,10,25,.98) 1%,rgba(2,12,30,.2) 69%),url('/assets/stadium-night.webp') 65% center / cover;filter:saturate(1.17)}
.sd-editorial-figure span{position:absolute;right:3%;top:12%;font:900 clamp(60px,13vw,175px)/1 Unbounded,sans-serif;letter-spacing:-.13em;color:transparent;-webkit-text-stroke:1px rgba(233,213,157,.25)}
.sd-editorial-body{position:relative;z-index:1;padding:clamp(20px,3vw,40px)}
.sd-editorial-body h3{font:900 clamp(20px,2.8vw,42px)/1.17 Unbounded,Manrope,sans-serif;letter-spacing:-.07em;max-width:800px;margin:15px 0 26px}
.sd-editorial-body>a{display:inline-flex;gap:13px;align-items:center;color:var(--sd-gold);font:850 11px Manrope,sans-serif;letter-spacing:.1em}
.sd-editorial-brief .fan-news-grid{display:flex;flex-direction:column;gap:11px}
.sd-editorial-brief .fan-story{min-height:0!important;flex:1;background:#0b244a}
.sd-editorial-brief .fan-story .story-click{padding:20px 22px;gap:8px}
.sd-editorial-brief .fan-story h3{font-size:clamp(14px,1.2vw,20px)}
.sd-editorial-brief .fan-story .story-index{font-size:23px}
.sd-tables-section{background:linear-gradient(#09203e,#06132a)}
/* THE TABLE REBUILD: crest directly beside the team name, no competing qualification stripes. */
.sd-standing-card{border-radius:5px!important;background:#0c2347!important;border:1px solid rgba(161,184,225,.21)}
.sd-standing-card .standing-top{border-bottom:1px solid rgba(181,199,229,.1)}
.sd-standing-card .fan-standings-summary{display:flex;align-items:center;gap:10px;font-size:9px}
.sd-table{width:100%;overflow:hidden}
.sd-table-head,.sd-table-row{display:grid;grid-template-columns:23px minmax(0,1fr) 31px 31px 31px 37px 31px;column-gap:7px;align-items:center;padding:0 15px}
.sd-table-head{height:35px;color:#819fc5;font:800 9px/1.1 Manrope,sans-serif;letter-spacing:.03em}
.sd-table-head>span:nth-child(n+3){text-align:right}
.sd-table-row{min-height:47px;border-top:1px solid rgba(166,191,230,.09);transition:background .18s;background:transparent}
.sd-table-row:hover{background:#15345f}
.sd-table-row.sd-row-levski{background:linear-gradient(90deg,#174782,#122d56);box-shadow:inset 3px 0 0 var(--sd-gold)}
.sd-table-rank{font:900 11px/1.2 Manrope,sans-serif;color:#bed0ec}
.sd-table-team{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;min-width:0;overflow:hidden;text-align:left!important}
.sd-table-team>.standings-crest.crest-shell{flex:0 0 28px!important;display:inline-grid!important;width:28px!important;height:28px!important;max-width:28px!important;min-width:28px!important;position:relative}
.sd-team-label{display:block!important;flex:1!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e8eef8;font:800 10px/1.3 Manrope,sans-serif;text-align:left!important}
.sd-table-row.sd-row-levski .sd-team-label,.sd-table-row.sd-row-levski .sd-points{color:#fff}
.sd-table-row .sd-number{text-align:right;font:750 11px/1 Manrope,sans-serif;color:#b7c7df;font-variant-numeric:tabular-nums}
.sd-table-row .sd-difference{color:#f3d9a6}
.sd-table-row .sd-points{font-weight:900;color:#f2cc81;font-size:12px}
.sd-table-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;border-top:1px solid rgba(181,201,235,.13);font:650 9px/1.5 Manrope,sans-serif;color:#9db1d1}
.sd-table-footer a{display:inline-flex;align-items:center;gap:6px;color:var(--sd-gold);font-weight:850;white-space:nowrap}
.sd-table-footer .ui-icon{width:13px;height:13px}
/* Entire fixture cards and results now open the match centre. */
.sd-clickable-card{cursor:pointer}
.sd-clickable-card:focus-visible{outline:2px solid var(--sd-gold);outline-offset:3px}
.fan-fixture.sd-clickable-card{border-radius:5px}
.sd-card-open{display:inline-flex;align-items:center;gap:9px;color:var(--sd-gold);border-top:1px solid rgba(176,196,230,.11);padding-top:11px;margin-top:14px;font:850 9px/1.3 Manrope,sans-serif;letter-spacing:.12em}
.sd-card-open .ui-icon{width:13px;height:13px}
.fan-fixture.sd-clickable-card:hover{border-color:var(--sd-gold)}
.sd-match-stage{position:relative;padding:clamp(28px,5vw,70px) 0 clamp(35px,5vw,70px);background:linear-gradient(90deg,#031127dd,#061934d5),url('/assets/stadium-night.webp') center/cover;border-bottom:2px solid #c09c5c}
.sd-back{border:0;background:transparent;color:#f3cf85;display:inline-flex;gap:10px;align-items:center;font:850 10px Manrope,sans-serif;letter-spacing:.09em;padding:10px 0;cursor:pointer}
.sd-back .ui-icon{transform:rotate(180deg);width:16px;height:16px}
.sd-match-meta{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:20px 0 30px;color:#c4d7ed;font:800 12px/1.5 Manrope,sans-serif}
.sd-match-duel{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.85fr) minmax(0,1fr);gap:18px;align-items:center;max-width:980px;margin:0 auto 35px}
.sd-match-club{display:flex;align-items:center;flex-direction:column;gap:15px;text-align:center;min-width:0}
.sd-match-crest.crest-shell{width:clamp(62px,10vw,140px);height:clamp(62px,10vw,140px)}
.sd-match-club h1{font:900 clamp(14px,2vw,28px)/1.2 Unbounded,Manrope,sans-serif;letter-spacing:-.055em;overflow-wrap:anywhere;margin:0}
.sd-match-club>span:last-child:not(.crest-shell){font:850 10px Manrope,sans-serif;color:#a5bedb;letter-spacing:.14em}
.sd-match-center{text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.sd-match-versus{font:900 clamp(32px,6vw,90px)/1 Unbounded,sans-serif;letter-spacing:-.1em;color:var(--sd-gold)}
.sd-match-time{font:800 11px Manrope,sans-serif;color:#b8c9df}
.sd-match-meta-bottom{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px 40px;border-top:1px solid #8faacf44;padding-top:24px;font:750 12px Manrope,sans-serif}
.sd-match-meta-bottom>span{display:inline-flex;align-items:center;gap:7px}.sd-match-meta-bottom .ui-icon{color:var(--sd-gold)}.sd-match-meta-bottom a{color:#f2cc82}
.sd-match-content{background:#071830}
.sd-stat-panels{display:grid;grid-template-columns:1fr .85fr;gap:20px;align-items:start}
.sd-stat-panel{padding:clamp(20px,3vw,36px);border:1px solid rgba(170,200,238,.2);background:#0f294c}
.sd-stat-panel h2{font:900 clamp(22px,2.8vw,34px)/1.1 Unbounded,sans-serif;letter-spacing:-.07em;margin:14px 0 26px}.sd-stat-panel h2 em{font-style:normal;color:var(--sd-gold)}
.sd-stat-names,.sd-statline{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:8px;align-items:center;text-align:center;padding:12px 5px;border-top:1px solid #b4c7e922}
.sd-stat-names{font:900 11px Manrope,sans-serif;color:#edcc8d}.sd-stat-names span:first-child{text-align:left}.sd-stat-names span:last-child{text-align:right}
.sd-statline>strong{font:900 17px/1.2 Unbounded,sans-serif;color:#f3f5fc}.sd-statline>strong:first-child{text-align:left}.sd-statline>strong:last-child{text-align:right}
.sd-statline>span{font:850 10px/1.3 Manrope,sans-serif;color:#abc2e0;letter-spacing:.05em;text-align:center}
.sd-source-foot{font:650 11px/1.6 Manrope,sans-serif;color:#93aacb;margin:20px 0 0}
.sd-no-comparison{padding:20px;background:#0a2040;color:#c2d2e8;font-size:12px}
.sd-h2h-panel h3{font:900 12px Manrope,sans-serif;letter-spacing:.08em;margin:0 0 15px}
.sd-h2h{margin-top:30px;border-top:1px solid #b8cbed2b;padding-top:21px}.sd-h2h>span{font:900 11px Manrope,sans-serif;color:var(--sd-gold);letter-spacing:.09em}.sd-h2h>p{color:#a3b7d5;font-size:12px;line-height:1.6}
.sd-h2h-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:20px;text-align:center}.sd-h2h-numbers>div{padding:13px 5px;background:#0a2040}.sd-h2h-numbers strong{display:block;font:900 26px Unbounded,sans-serif}.sd-h2h-numbers small{display:block;color:#9bb0cc;font:850 9px Manrope,sans-serif;margin-top:5px}
.sd-match-page .fan-section{padding-bottom:70px}
/* Tension, not endless movement; all animated effects are non-interactive. */
@keyframes sd-floodlight{from{transform:translateX(-50%) rotate(17deg)}to{transform:translateX(360%) rotate(17deg)}}
@keyframes sd-stage-enter{from{transform:translateY(18px);opacity:0}to{transform:translateY(0);opacity:1}}
.sd-stage-title{animation:sd-stage-enter .9s ease-out both}.sd-stadium-hero .fan-matchday{animation:sd-stage-enter .95s .12s ease-out both}
@media(max-width:1000px){.sd-pulse-grid{grid-template-columns:repeat(2,1fr)}.sd-pulse-cell:nth-child(2){border-right:0}.sd-pulse-cell:nth-child(-n+2){border-bottom:1px solid #aec2e222}.sd-editorial-layout{grid-template-columns:1fr}.sd-editorial-feature{min-height:400px}.sd-editorial-brief .fan-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.sd-stat-panels{grid-template-columns:1fr}}
@media(max-width:690px){.sd-stadium-hero{min-height:0;padding:18px 0 29px;background-position:60% 40%}.sd-stage-overline{flex-direction:column;align-items:flex-start;gap:7px}.sd-stage-overline .fan-kicker{font-size:8px}.sd-synced{font-size:8px}.sd-stage-title{padding:26px 0 25px}.sd-stage-title>span{font-size:10px;letter-spacing:.15em}.sd-stage-title h1{font-size:clamp(29px,8.9vw,50px);letter-spacing:-.085em;white-space:normal}.sd-stage-title p{font-size:11px;margin-top:11px}.sd-stadium-caption{font-size:160px;bottom:3px}.sd-stadium-hero .fan-matchday{padding:17px 12px 16px;min-height:0}.sd-stadium-hero .fan-duel{margin:19px 0 20px}.sd-open-match{width:100%;margin-top:15px}.sd-pulse-grid{grid-template-columns:1fr 1fr}.sd-pulse-cell{min-height:79px;padding:13px 12px}.sd-pulse-cell:first-child{padding-left:0}.sd-pulse-cell>span{font-size:7px}.sd-pulse-cell>strong{font-size:12px}.sd-pulse-cell>strong small{font-size:8px}.sd-form-pills{gap:4px}.sd-form-pills>span{width:20px;height:21px;font-size:9px}.sd-next-row{grid-template-columns:40px minmax(0,1fr) 50px 16px;gap:11px;padding:14px 0}.sd-next-index{display:none}.sd-next-date strong{font-size:24px}.sd-next-date small{font-size:9px}.sd-next-opponent{gap:8px}.sd-next-opponent .crest-rail{width:26px;height:26px}.sd-next-opponent strong{font-size:11px;letter-spacing:-.03em}.sd-next-opponent small{font-size:8px}.sd-next-time{font-size:10px}.sd-next-arrow .ui-icon{width:15px;height:15px}.sd-editorial-feature{min-height:370px}.sd-editorial-body h3{font-size:23px}.sd-editorial-brief .fan-news-grid{display:flex;flex-direction:column}.sd-editorial-brief .fan-story{min-height:130px!important}.sd-editorial-brief .fan-story .story-click{padding:15px}.sd-standing-card .fan-standings-summary{font-size:8px}.sd-table-head,.sd-table-row{padding-inline:11px;column-gap:5px;grid-template-columns:18px minmax(0,1fr) 26px 31px 28px}.sd-table-head .sd-wide-stat,.sd-table-row .sd-wide-stat{display:none!important}.sd-table-team{gap:6px!important}.sd-table-team>.standings-crest.crest-shell{flex-basis:24px!important;min-width:24px!important;width:24px!important;height:24px!important;max-width:24px!important}.sd-team-label{font-size:10px}.sd-table-row .sd-number{font-size:10px}.sd-table-row .sd-points{font-size:12px}.sd-table-footer{padding:12px;font-size:8px;flex-wrap:wrap}.sd-match-meta{flex-wrap:wrap;margin:10px 0 28px;font-size:10px}.sd-match-duel{grid-template-columns:minmax(0,1fr) 83px minmax(0,1fr);gap:6px}.sd-match-crest.crest-shell{width:clamp(52px,16vw,73px);height:clamp(52px,16vw,73px)}.sd-match-club h1{font-size:11px}.sd-match-center{gap:7px}.sd-match-versus{font-size:28px}.sd-match-time{font-size:8px}.sd-match-club>span:last-child:not(.crest-shell){font-size:8px}.sd-match-meta-bottom{justify-content:flex-start;gap:12px;font-size:10px}.sd-stat-panel{padding:18px}.sd-stat-panel h2{font-size:22px}.sd-statline>strong{font-size:14px}.sd-statline>span{font-size:9px}}
@media(max-width:350px){.sd-next-row{grid-template-columns:32px minmax(0,1fr) 39px 12px;gap:6px}.sd-next-opponent strong{font-size:10px}.sd-next-time{font-size:9px}.sd-table-head,.sd-table-row{grid-template-columns:16px minmax(0,1fr) 23px 27px 26px;column-gap:3px;padding-inline:8px}.sd-team-label{font-size:9px}.sd-table-team>.standings-crest.crest-shell{flex-basis:21px!important;min-width:21px!important;width:21px!important;height:21px!important}}
@media(prefers-reduced-motion:reduce){.sd-stadium-hero:after,.sd-stage-title,.sd-stadium-hero .fan-matchday{animation:none!important}.sd-clickable-card,.sd-next-row,.sd-open-match{transition:none!important}}
