/* SIN DOM v1.22 / THE REBUILD PASS
   Controlled art direction: navy, Levski blue, heritage gold, strong layout hierarchy.
   No decorative inline SVG icons or inaccurate simulated live events. */
:root{--sd-v122-ink:#06152F;--sd-v122-blue:#103C94;--sd-v122-light:#69B7FF;--sd-v122-gold:#DDB86F;--sd-v122-white:#F7F9FF}

/* The heritage rail is typography, not three inaccurate trophy pictograms. */
.sd-v122-history{background:linear-gradient(90deg,#051329,#102c61 50%,#051329)!important;border-block:1px solid #d5b16a45!important;padding-block:10px!important}
.sd-v122-history .sd-legacy-inner{display:block!important;padding-block:7px!important}
.sd-v122-history .sd-legacy-awards{width:100%;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:center!important;gap:0!important}
.sd-v122-history .sd-legacy-award{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:9px 4px!important;text-align:center!important;transform:none!important}
.sd-v122-history .sd-legacy-award::after{height:32px!important;border-color:#bdcadb40!important;right:0!important;top:calc(50% - 16px)!important}
.sd-v122-history .sd-legacy-award strong{font:900 clamp(31px,6vw,62px)/.95 var(--sd-font-display,'Unbounded',sans-serif)!important;color:#fff!important;letter-spacing:-.09em!important}
.sd-v122-history-label{font:800 clamp(8px,1.25vw,12px)/1.25 var(--sd-font-display,'Unbounded',sans-serif);letter-spacing:.06em;color:var(--sd-v122-gold);white-space:nowrap}
.sd-v122-history .sd-legacy-intro,.sd-v122-history .sd-legacy-more,.sd-v122-history .sd-award-asset{display:none!important}

/* Single index in the arrow/navigation controls. Cards only describe the game. */
.sd-v18-card-counter,.sd-v121-forward,.sd-v121-forward:before{display:none!important}
.sd-v18-card-top{min-height:31px;display:flex;align-items:flex-start!important;justify-content:flex-start!important}
.sd-v18-horizon-card .sd-v18-card-date{margin-top:13px!important}
.sd-v18-horizon-card .sd-v18-card-footer{padding-right:35px!important}
.sd-v18-horizon-card .sd-v120-tv{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-weight:850!important}
.sd-v18-horizon-head .sd-v18-horizon-tools [data-horizon-count]{font-variant-numeric:tabular-nums;white-space:nowrap}

/* Genuine UEFA artwork may be remote, but dark-on-navy is never acceptable. */
.comp-europa .comp-logo,.standing-top .comp-europa .comp-logo{filter:brightness(0) invert(1)!important;object-fit:contain!important;object-position:center!important}
.comp-europa .comp-logo-fallback{color:#fff!important;background:transparent!important}
.comp-europa{background:rgba(9,20,39,.82)!important;border:1px solid rgba(255,255,255,.3)!important}

/* Stadium lights must never reveal a clipped geometric bottom edge. */
.sd-v18-home .sd-v17-spotlight{display:none!important}
.sd-v18-home .sd-stadium-hero:before{content:"";position:absolute!important;inset:0!important;z-index:1!important;pointer-events:none;background:radial-gradient(ellipse 46% 33% at 25% 10%,rgba(94,174,255,.19),transparent 80%),radial-gradient(ellipse 46% 42% at 78% 11%,rgba(87,150,244,.13),transparent 85%);animation:sd-v122-ambient 9s ease-in-out infinite alternate}
.sd-v18-home .sd-stadium-hero.theme-europa:before{background:radial-gradient(ellipse 43% 32% at 19% 8%,rgba(101,175,255,.20),transparent 80%),radial-gradient(ellipse 40% 35% at 78% 10%,rgba(240,120,45,.13),transparent 85%)}
@keyframes sd-v122-ambient{from{opacity:.76}to{opacity:1}}
.fan-matchday-info{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;column-gap:24px!important;row-gap:8px!important}
.fan-matchday-info>div{min-width:0!important}
.fan-matchday-info .fan-broadcast{justify-content:flex-end;white-space:nowrap}
.fan-matchday-info .fan-broadcast .tv-source-link{display:none}

/* Cup page: editorial photo-real trophy artwork and a much more intentional bracket. */
.sd-v120-cup-page{background:#07142c!important;color:#f7f9ff;--cup-blue:#1b4ba2}
.sd-v120-cup-hero{background:linear-gradient(92deg,rgba(2,12,28,.89) 0%,rgba(2,18,43,.6) 44%,rgba(2,18,43,.08) 100%),url('assets/brand/cup-stadium-hero.webp') 60% center/cover no-repeat!important;min-height:clamp(450px,46vw,670px)!important;display:flex;align-items:center;border:0!important;border-bottom:1px solid #b89351aa!important;overflow:hidden}
.sd-v120-cup-hero::before,.sd-v120-cup-hero::after{display:none!important}
.sd-v120-cup-hero-inner{width:100%;min-height:clamp(450px,46vw,670px)!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;position:relative!important;z-index:1!important;padding-block:68px!important}
.sd-v122-cup-copy{max-width:670px!important;position:relative;z-index:2!important}
.sd-v122-cup-copy .fan-kicker{display:block;font:850 clamp(10px,1.4vw,15px)/1.3 var(--sd-font-body,Manrope,sans-serif);color:#f2d096;letter-spacing:.24em;margin-bottom:20px}
.sd-v120-cup-hero h1{font:900 clamp(48px,7.8vw,118px)/.92 var(--sd-font-display,Unbounded,sans-serif)!important;letter-spacing:-.085em!important;color:#fff;margin:0 0 38px!important;text-shadow:0 8px 30px #0009;max-width:760px}
.sd-v120-cup-hero h1 em{font-style:normal;color:#fff!important}
.sd-v120-cup-hero .sd-v120-cup-action{display:inline-flex;align-items:center;gap:10px 17px;flex-wrap:wrap;background:#ddb86f;color:#06152f;font:900 clamp(11px,1.6vw,15px)/1.4 var(--sd-font-display,Unbounded,sans-serif);padding:18px 33px 18px 20px!important;letter-spacing:-.02em;clip-path:polygon(0 0,94% 0,100% 50%,94% 100%,0 100%)!important}
.sd-v120-cup-action b{font:850 11px var(--sd-font-body,Manrope,sans-serif);opacity:.8;white-space:nowrap}
.sd-v122-cup-art-credit{position:absolute;right:24px;bottom:14px;max-width:240px;color:#e6ecf7;font:700 9px/1.5 var(--sd-font-body,Manrope,sans-serif);letter-spacing:.09em;text-align:right;text-shadow:0 2px 6px #000}
.sd-v120-cup-body{padding-top:clamp(46px,7vw,92px)!important;padding-bottom:110px}
.sd-v120-cup-section-head{margin-bottom:33px!important;align-items:end!important}
.sd-v120-cup-section-head .fan-kicker{color:#a7c9f1;font-size:clamp(9px,1.2vw,12px);letter-spacing:.14em}
.sd-v120-cup-section-head h2{font:900 clamp(26px,4.3vw,58px)/1.04 var(--sd-font-display,Unbounded,sans-serif)!important;letter-spacing:-.06em;margin-top:11px!important}
.sd-v120-cup-section-head>span{font-size:10px;color:#ddb86f;letter-spacing:.16em}
.sd-v120-bracket-scroll{background:linear-gradient(160deg,#0c254b,#07162d 62%,#0b2853);border:1px solid #244a79!important;border-top:3px solid #ddb86f!important;padding:22px 20px 36px!important;box-shadow:0 28px 60px #0005;scrollbar-color:#ddb86f #07162d}
.sd-v120-bracket{padding-top:6px;padding-bottom:22px}
.sd-v120-bracket::before{opacity:.85!important;filter:drop-shadow(0 0 5px #ddb86f33)}
.sd-v120-round>h3{font:900 17px/1.2 var(--sd-font-display,Unbounded,sans-serif)!important;letter-spacing:-.04em!important;border:0!important;padding:10px 0 24px!important;margin:0 0 13px!important;color:#fff!important;position:relative}
.sd-v120-round>h3::before{content:"";position:absolute;left:0;bottom:11px;width:48px;height:3px;background:#ddb86f;transform:skewX(-19deg)}
.sd-v120-round>h3 small{float:none!important;display:block;color:#a4bde2!important;font:750 10px/1.4 var(--sd-font-body,Manrope,sans-serif)!important;letter-spacing:.08em;margin-top:8px}
.sd-cup-fixture{min-height:102px!important;padding:13px 14px!important;border:1px solid #5377ac55!important;clip-path:polygon(0 0,94% 0,100% 13%,100% 100%,0 100%)!important;background:linear-gradient(124deg,rgba(31,72,141,.95),rgba(4,22,53,.98))!important;box-shadow:inset 3px 0 #6db8ef55;transform:none!important;transition:background .18s ease,filter .18s ease!important}
.sd-cup-fixture.is-levski{background:linear-gradient(130deg,#245eb4,#102e65)!important;border:1px solid #ddb86f!important;box-shadow:inset 6px 0 #ddb86f,0 0 28px #d5ad4b22!important}
.sd-cup-club{font-size:11px!important;letter-spacing:.01em;gap:9px!important;min-height:34px!important;color:#f1f6ff}
.sd-cup-club .team-crest{width:23px!important;height:23px!important;max-width:23px!important;max-height:23px!important;flex:0 0 23px!important;object-fit:contain}
.sd-cup-club span:not(.team-crest){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.sd-v120-cup-champion{display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin-top:38px!important;border:0!important;border-left:4px solid #ddb86f!important;background:#102e5b;padding:18px!important}
.sd-v120-cup-champion strong{font:900 24px/1 var(--sd-font-display,Unbounded,sans-serif);color:#fff}
.sd-v120-cup-champion small{color:#ddb86f!important}
.sd-v120-cup-footer{justify-content:flex-end;gap:25px;align-items:center}
.sd-v120-cup-footer a{font:800 10px/1.4 var(--sd-font-display,Unbounded,sans-serif);color:#d9c08c;letter-spacing:.03em}

/* News image treatment: images take priority when source permits; fallbacks look intentional. */
.sd-editorial-figure .sd-story-image,.fan-story .sd-story-image{filter:saturate(.92) contrast(1.1)}
.sd-editorial-feature .sd-editorial-media{background:linear-gradient(120deg,#0b2a67,#07152d)}
.sd-story-image-wrap.is-missing .sd-image-placeholder{background:linear-gradient(135deg,#0b2e6a,#06152f)!important}

@media(max-width:750px){
 .sd-v120-cup-hero{min-height:420px!important;background-position:62% center!important;background-image:linear-gradient(90deg,rgba(2,12,29,.96),rgba(2,17,40,.76) 51%,rgba(2,17,40,.38)),url('assets/brand/cup-stadium-hero.webp')!important}
 .sd-v120-cup-hero-inner{min-height:420px!important;padding-block:44px!important}
 .sd-v120-cup-hero h1{font-size:clamp(32px,8vw,53px)!important;line-height:.99!important;letter-spacing:-.07em!important;margin-bottom:30px!important}
 .sd-v122-cup-copy{max-width:75%}
 .sd-v122-cup-copy .fan-kicker{font-size:9px;line-height:1.6;letter-spacing:.12em;margin-bottom:14px}
 .sd-v120-cup-hero .sd-v120-cup-action{font-size:9px!important;padding:14px 25px 14px 13px!important;max-width:270px!important}
 .sd-v120-cup-action b{font-size:9px}
 .sd-v122-cup-art-credit{font-size:7px;bottom:10px;right:12px}
 .sd-v120-cup-section-head>span{display:none}
 .sd-v120-bracket-scroll{padding:16px 14px 27px!important}
 .fan-matchday-info{grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important}
 .fan-matchday-info>div{min-width:0}
 .fan-matchday-info>div:last-child{justify-self:end;max-width:155px;text-align:right}
 .fan-matchday-info .fan-broadcast{white-space:normal}
 .sd-v122-history .sd-legacy-award strong{font-size:clamp(26px,7vw,40px)!important}
}
@media(max-width:380px){.sd-v122-cup-copy{max-width:82%}.sd-v120-cup-hero{background-position:65% center!important}.sd-v120-cup-hero h1{font-size:29px!important}.sd-v122-history-label{font-size:8px}.fan-matchday-info{column-gap:7px!important}.fan-matchday-info>div:last-child{max-width:122px}}
@media(prefers-reduced-motion:reduce){.sd-v18-home .sd-stadium-hero:before{animation:none!important}.sd-cup-fixture{transition:none!important}}

/* THE REBUILD PASS / Cup: an editorial match feature plus a verified progression rail. */
.sd-v122-cup-feature{width:min(640px,100%);padding:21px 24px 19px;background:linear-gradient(115deg,rgba(3,15,35,.93),rgba(10,34,74,.8));border:1px solid rgba(226,188,116,.42);border-left:4px solid #ddb86f;box-shadow:0 16px 38px rgba(0,0,0,.22);backdrop-filter:blur(8px)}
.sd-v122-cup-feature-kicker{display:block;color:#efca80;font:800 10px/1.4 var(--sd-font-body,Manrope,sans-serif);letter-spacing:.14em;margin-bottom:13px}
.sd-v122-cup-feature-match{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font:850 clamp(12px,1.55vw,19px)/1.25 var(--sd-font-display,Unbounded,sans-serif);color:#fff}
.sd-v122-cup-feature-match i{font-style:normal;color:#ddb86f;margin-inline:6px}
.sd-v122-cup-feature-match .team-crest{width:31px!important;height:31px!important;max-width:31px!important;max-height:31px!important;flex:0 0 31px!important;object-fit:contain}
.sd-v122-cup-feature-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;flex-wrap:wrap}
.sd-v122-cup-feature-bottom>span{font:800 10px/1.4 var(--sd-font-body,Manrope,sans-serif);color:#c9d9f2;letter-spacing:.04em}
.sd-v120-cup-hero .sd-v122-cup-feature .sd-v120-cup-action{clip-path:none!important;display:inline-flex!important;align-items:center;justify-content:center;gap:9px;padding:12px 15px!important;max-width:100%!important;background:#ddb86f;font:900 10px/1.35 var(--sd-font-body,Manrope,sans-serif)!important;text-decoration:none;white-space:normal}
.sd-v120-cup-hero .sd-v122-cup-feature .sd-v120-cup-action span{font-size:15px}
.sd-v122-cup-path-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:16px}
.sd-v122-cup-path-heading>.fan-kicker{color:#dfbd7d;font:850 12px/1.3 var(--sd-font-display,Unbounded,sans-serif);letter-spacing:.09em;white-space:nowrap}
.sd-v122-cup-path-heading p{max-width:610px;text-align:right;margin:0;color:#aebfda;font:600 11px/1.55 var(--sd-font-body,Manrope,sans-serif)}
.sd-v122-cup-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:clamp(50px,7vw,90px)}
.sd-v122-cup-path-step{min-height:112px;padding:16px 17px 14px;display:flex;flex-direction:column;gap:9px;position:relative;background:linear-gradient(135deg,#0e2750,#0a1b36);border-top:2px solid #426594}
.sd-v122-cup-path-step::after{content:'';position:absolute;top:50%;right:-11px;width:11px;height:1px;background:#547caf}
.sd-v122-cup-path-step:last-child::after{display:none}
.sd-v122-cup-path-step.is-current{background:linear-gradient(130deg,#164891,#0d2754);border-top-color:#ddb86f}
.sd-v122-cup-path-step.is-next{border-top-color:#9dc4eb}
.sd-v122-cup-path-step small{color:#d9b36c;font:900 10px var(--sd-font-body,Manrope,sans-serif);letter-spacing:.12em}
.sd-v122-cup-path-step strong{font:850 clamp(11px,1.5vw,15px)/1.2 var(--sd-font-display,Unbounded,sans-serif);color:#fff}
.sd-v122-cup-path-step span{color:#b8cbe5;font:750 10px/1.4 var(--sd-font-body,Manrope,sans-serif);margin-top:auto}
.sd-v122-cup-stage-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#173a6d;border:1px solid #2b517d;border-bottom:0}
.sd-v122-cup-stage{min-width:0;cursor:pointer;border:0;border-bottom:3px solid transparent;background:#0b2144;color:#a9c2e2;display:flex;gap:12px;justify-content:center;align-items:center;padding:17px 9px;font:850 11px/1.3 var(--sd-font-display,Unbounded,sans-serif);transition:background .15s ease}
.sd-v122-cup-stage small{color:#c5a569;font:900 10px var(--sd-font-body,Manrope,sans-serif)}
.sd-v122-cup-stage.is-active{background:#183e7b;border-bottom-color:#e3c17b;color:#fff}
.sd-v122-cup-stage:hover{background:#215095;color:#fff}
.sd-v122-cup-stage:focus-visible,.sd-v120-cup-action:focus-visible{outline:3px solid #fff;outline-offset:2px}
.sd-v122-cup-method{color:#b6cae7;font:600 11px/1.6 var(--sd-font-body,Manrope,sans-serif);margin:16px 0 0}
.sd-v122-cup-pending-label{font:800 9px var(--sd-font-body,Manrope,sans-serif);color:#dfba72;letter-spacing:.09em}
.sd-v120-round .sd-cup-fixture.is-pending{background:linear-gradient(125deg,#132746,#07172e)!important;border:1px dashed #5c7298!important}
.sd-v120-cup-hero h1{margin-bottom:28px!important}
@media(max-width:950px){
 .sd-v122-cup-path-step{padding:13px 10px;min-height:126px}
 .sd-v122-cup-feature{max-width:580px}
}
@media(max-width:750px){
 .sd-v120-cup-hero{min-height:530px!important;background-position:68% center!important}
 .sd-v120-cup-hero-inner{min-height:530px!important;align-items:flex-end!important;padding-block:60px 35px!important}
 .sd-v122-cup-copy{max-width:100%!important;width:100%!important}
 .sd-v122-cup-copy .fan-kicker{max-width:230px}
 .sd-v120-cup-hero h1{font-size:clamp(33px,8.4vw,55px)!important;max-width:350px;margin-bottom:50px!important}
 .sd-v122-cup-feature{width:100%;max-width:100%;padding:17px 17px 16px}
 .sd-v122-cup-feature-match{font-size:clamp(11px,3.4vw,15px);gap:6px}
 .sd-v122-cup-feature-match .team-crest{width:25px!important;height:25px!important;max-height:25px!important;max-width:25px!important;flex-basis:25px!important}
 .sd-v122-cup-feature-bottom{margin-top:13px}
 .sd-v122-cup-feature-bottom>span{font-size:9px}
 .sd-v120-cup-hero .sd-v122-cup-feature .sd-v120-cup-action{padding:10px 13px!important;font-size:9px!important}
 .sd-v122-cup-art-credit{font-size:7px!important;right:12px!important;bottom:7px!important}
 .sd-v122-cup-path-heading{display:block}
 .sd-v122-cup-path-heading p{margin-top:10px;max-width:100%;text-align:left}
 .sd-v122-cup-path{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:56px}
 .sd-v122-cup-path-step{min-height:112px;padding:12px}
 .sd-v122-cup-path-step::after{display:none}
 .sd-v122-cup-path-step strong{font-size:12px}
 .sd-v120-cup-section-head{margin-bottom:21px!important}
 .sd-v122-cup-stage-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
 .sd-v122-cup-stage{flex-direction:column;gap:5px;padding:12px 3px 11px;font-size:clamp(8px,2.15vw,10px)!important;letter-spacing:-.025em}
 .sd-v122-cup-stage small{font-size:9px}
 .sd-v120-bracket-scroll{padding:13px 12px 18px!important;overflow-x:hidden!important;scroll-snap-type:none!important}
 .sd-v120-bracket{display:block!important;width:100%!important;min-width:0!important;grid-template-columns:none!important;padding-bottom:0!important}
 .sd-v120-bracket::before{display:none!important}
 .sd-v120-round{display:none!important;gap:10px!important;padding:0!important}
 .sd-v120-round.is-active{display:flex!important}
 .sd-v120-round>h3{font-size:13px!important;margin:0 0 3px!important;padding:10px 0 18px!important}
 .sd-v120-round:nth-child(2) .sd-cup-fixture,.sd-v120-round:nth-child(3) .sd-cup-fixture{margin-bottom:0!important;min-height:102px!important}
 .sd-v120-round:nth-child(4) .sd-cup-fixture{min-height:102px!important}
 .sd-cup-fixture{clip-path:none!important;min-height:100px!important;padding:11px 13px!important}
 .sd-cup-club{font-size:11px!important;min-height:29px!important}
 .sd-cup-club span:not(.team-crest){white-space:normal!important;line-height:1.3}
 .sd-cup-fixture>small{font-size:9px;margin-top:8px}
 .sd-v120-cup-champion{margin-top:12px!important}
}
@media(max-width:380px){
 .sd-v120-cup-hero{min-height:510px!important}
 .sd-v120-cup-hero-inner{min-height:510px!important;padding-inline:14px!important}
 .sd-v120-cup-hero h1{font-size:clamp(28px,9vw,34px)!important}
 .sd-v122-cup-feature-match{font-size:11px}
 .sd-v122-cup-feature-match i{margin-inline:1px}
 .sd-v122-cup-feature-bottom{align-items:flex-start;flex-direction:column;gap:9px}
 .sd-v122-cup-stage{font-size:8px!important}
 .sd-v122-cup-path-step span{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.sd-v122-cup-stage{transition:none!important}}
