/* The desktop page for the League (dt-league.js): the owner's pack desktop/Pitch_Rivals_Desktop_League, in its own
   1920 x 1080 pixels inside the content area (346, 140). Every box is layout.json's (the dock hidden: concept.png) with
   layout-ad.json's under html.dt-ads (the dock on, the default: concept-ad / concept-content). A child's left / top is
   its layout position less its panel's position and the panel's 2 px border. Every class is dtl-* (unused elsewhere). */

.dtl { position: absolute; inset: 0; color: #edfaff; font: 24px var(--dt-body); }
.dtl h1, .dtl h2, .dtl h3, .dtl p { margin: 0; font-weight: 400; }
.dtl h1, .dtl h2, .dtl h3 { font-family: var(--dt-sport); }
.dtl .dt-panel { position: absolute; border-color: rgba(25, 214, 240, 0.584); }
.dtl-i { width: 28px; height: 28px; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; }
.dtl-i svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; display: block; }
.dtl-cover { position: absolute; inset: 0; z-index: 0; border-radius: 18px; }
.dtl-cr { display: grid; place-items: center; flex: none; }
.dtl-cr svg { display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45)); }
.dtl-g { color: #39d98a; } .dtl-c { color: #ff7474; } .dtl-m { color: #a9c5dc; } .dtl-gold, .dtl-goldt { color: #f7c948; }
.dtl-gt { color: #39d98a; } .dtl-ct { color: #ff7474; }
.dtl-none { margin: 14px 0 0; font-size: 20px; color: #a9c5dc; }
.dtl-list { overflow-y: auto; scrollbar-width: thin; scrollbar-color: #19c6e4 #06172e; }
.dtl-list::-webkit-scrollbar { width: 6px; }
.dtl-list::-webkit-scrollbar-thumb { background: #19c6e4; border-radius: 3px; }

/* ---------- the division banner (division-banner: 346,140 1494 x 114; with ads x 97) ---------- */
.dtl .dtl-banner { left: 0; top: 0; width: 1494px; height: 114px; background: linear-gradient(90deg, #23405d, #0b1d34); border-color: #bba45f; }
.dtl-banner > :not(.dtl-cover) { position: absolute; pointer-events: none; white-space: nowrap; }
.dtl-banner:has(> .dtl-cover:hover) { border-color: #f7c948; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4), 0 0 20px rgba(247, 201, 72, 0.3), inset 0 1px rgba(255, 255, 255, 0.125); }
.dtl-bicon { left: 28px; top: 23px; width: 64px; height: 64px; color: #f7c948; filter: drop-shadow(0 0 16px rgba(247, 201, 72, 0.33)); }
.dtl-banner.loss .dtl-bicon { color: #ff7474; filter: drop-shadow(0 0 16px rgba(255, 90, 90, 0.33)); }
.dtl-season { left: 116px; top: 10.8px; line-height: normal; }
.dtl .dtl-div { left: 116px; top: 47px; font-size: 53px; line-height: 1; color: #edfaff; text-shadow: 0 3px #030b19; }
.dtl-banner.loss .dtl-div { color: #ffb4a8; }
.dtl-md { right: 28px; top: 18px; font: 32px var(--dt-sport); line-height: normal; color: #f7c948; text-align: right; }
.dtl-md span { color: #a9c5dc; }
.dtl-tag { right: 28px; top: 66px; font-size: 22px; line-height: normal; color: #a9c5dc; text-align: right; }

/* ---------- the panels (league-main: 346,272 1494 x 571 -> standings 779.8 | right 696.2, gap 18; trophy road 179) ---------- */
.dtl .dtl-std { left: 0; top: 132px; width: 779.77px; height: 571px; }
.dtl .dtl-next { left: 797.77px; top: 132px; width: 696.23px; height: 349px; }
.dtl .dtl-res { left: 797.77px; top: 499px; width: 340.11px; height: 204px; }
.dtl .dtl-sco { left: 1153.88px; top: 499px; width: 340.12px; height: 204px; }
.dtl .dtl-road { left: 0; top: 721px; width: 1494px; height: 179px; }
.dtl .dtl-side { left: 797.77px; top: 132px; width: 696.23px; height: 571px; }

/* the panel's head: its title, the tabs, the count (panel-head) */
.dtl-head { position: absolute; left: 24px; right: 24px; top: 22px; height: 41px; display: flex; align-items: center; gap: 16px; }
.dtl-head h2 { font-size: 34px; line-height: normal; white-space: nowrap; }
.dtl-count { margin-left: auto; font-size: 22px; line-height: normal; color: #a9c5dc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtl-tabs { margin-left: auto; display: flex; gap: 8px; }
.dtl-tabs + .dtl-count { margin-left: 8px; }
.dtl-tab { height: 36px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 10px; font: 20px var(--dt-sport); color: #cee5f6; background: linear-gradient(#183653, #0c233d); border: 1px solid #36536d; transition: transform 0.12s, filter 0.12s, box-shadow 0.12s; }
#dt-root .dtl-tab:hover { border-color: #19d6f0; box-shadow: 0 0 14px rgba(25, 214, 240, 0.32); transform: translateY(-2px); }
#dt-root .dtl-tab.on { background: linear-gradient(#fff09b, #f7c948 50%, #cf8f10); border-color: #ffe88f; color: #101d32; box-shadow: 0 0 14px rgba(247, 201, 72, 0.31), inset 0 2px #fff7c3; transform: none; }
.dtl-body { position: absolute; left: 24px; right: 24px; top: 78px; bottom: 0; }

/* ---------- the table (standings table: # CLUB P W D L GD PTS) ---------- */
.dtl-table { display: grid; grid-template-columns: 72.1px 284.8px 49.2px 58px 51px 47.5px 75.6px 89.7px; font-size: 24px; }
.dtl-th, .dtl-tr { display: contents; }
.dtl-th > span { height: 42.5px; display: flex; align-items: center; justify-content: center; font: 22px var(--dt-sport); color: #8fb6cf; }
.dtl-th > span:nth-child(2) { justify-content: flex-start; padding-left: 25px; }
.dtl-tr > span { height: 54px; display: flex; align-items: center; justify-content: center; border-top: 1px solid #2f4c66; white-space: nowrap; }
.dtl-tr.me > span { background: rgba(25, 82, 101, 0.56); }
.dtl-tr.me > span:first-child { box-shadow: inset 4px 0 #19d6f0; }
.dtl-tr > .dtl-pos { justify-content: flex-start; padding-left: 8px; gap: 4px; }
.dtl-pos > i { width: 25px; height: 28px; display: grid; place-items: center; border-radius: 5px; font: 22px var(--dt-body); font-style: normal; }
.dtl-tr.promote .dtl-pos > i { background: rgba(57, 217, 138, 0.157); color: #74efb2; }
.dtl-tr.relegate .dtl-pos > i { background: rgba(255, 90, 90, 0.157); color: #ff8686; }
.dtl-tr.champ .dtl-pos > i { background: rgba(247, 201, 72, 0.2); color: #ffe08a; }
.dtl-tr > .dtl-club { justify-content: flex-start; gap: 12px; padding-left: 8px; overflow: hidden; }
.dtl-club .dtl-cr { width: 30px; height: 36px; }
.dtl-club .dtl-cr svg { width: 36px; height: 36px; }
.dtl-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dtl-nm small { display: block; font-size: 11px; line-height: 1; color: #7cecfa; }
.dtl-tr > .dtl-pts { font: 700 27px var(--dt-body); color: #f7c948; }
.dtl-mv { display: inline-flex; width: 18px; height: 18px; font-style: normal; color: #7298b7; }
.dtl-mv .dtl-i { width: 18px; height: 18px; }
.dtl-mv.up { color: #39d98a; } .dtl-mv.dn { color: #ff7474; }
/* the key (table-key): green up, the Cup, coral down; the concept without the dock has no room for it */
.dtl-key { position: absolute; left: 0; right: 0; top: 455px; display: flex; justify-content: space-between; gap: 12px; font-size: 20px; line-height: normal; white-space: nowrap; }
.dtl-key > span { display: inline-flex; align-items: center; gap: 4px; }
.dtl-key .dtl-i { width: 18px; height: 18px; }
.dtl-key .dtl-cupk { color: #d9b75a; }
.dtl-body.t-table > .dtl-key, .dtl-std2 .dtl-body:not(.t-cup) > .dtl-key { display: none; }

/* ---------- the fixtures: a matchday at a time ---------- */
.dtl-mdbar { height: 42.5px; display: flex; align-items: center; gap: 12px; }
.dtl-step { width: 38px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; color: #cee5f6; background: linear-gradient(#183653, #0c233d); border: 1px solid #36536d; }
#dt-root .dtl-step:hover:not(:disabled) { border-color: #19d6f0; box-shadow: 0 0 12px rgba(25, 214, 240, 0.3); }
#dt-root .dtl-step:disabled { opacity: 0.35; }
.dtl-step .dtl-i { width: 22px; height: 22px; }
.dtl-mdname { font: 22px var(--dt-sport); color: #edfaff; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.dtl-mdname em { font: 700 16px var(--dt-body); font-style: normal; letter-spacing: 1px; color: #07172d; background: #f7c948; border-radius: 6px; padding: 2px 8px; }
.dtl-mdname em.ok { background: none; color: #39d98a; display: inline-flex; align-items: center; gap: 4px; padding: 0; }
.dtl-mdname em .dtl-i { width: 18px; height: 18px; }
.dtl-pips { margin-left: auto; display: flex; gap: 6px; }
.dtl-pip { min-width: 34px; height: 30px; padding: 0 6px; border-radius: 8px; font: 18px var(--dt-sport); color: #8fb6cf; background: #0b2340; border: 1px solid #2c4a66; }
.dtl-pip.done { color: #cfe3f2; border-color: #3f6d8d; }
.dtl-pip.now { border-color: #f7c948; color: #f7c948; }
#dt-root .dtl-pip:hover { border-color: #19d6f0; }
#dt-root .dtl-pip.on { background: linear-gradient(#53ebff, #19bfdc 55%, #0089b7); border-color: #b6edff; color: #07172d; }
.dtl-fx { height: 80px; display: grid; grid-template-columns: 1fr 44px 128px 44px 1fr; align-items: center; column-gap: 10px; border-top: 1px solid #2f4c66; font-size: 24px; }
.dtl-fx.me { background: rgba(25, 82, 101, 0.56); box-shadow: inset 4px 0 #19d6f0; }
.dtl-fx.fin { box-shadow: inset 4px 0 #f7c948; }
.dtl-fx.fin.me { box-shadow: inset 4px 0 #f7c948; }
.dtl-fx .dtl-cr svg { width: 34px; height: 34px; }
.dtl-fxn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtl-fxn.h { text-align: right; }
.dtl-fxn.l { color: #8fb6cf; }
.dtl-fxn em { font-style: normal; color: #7298b7; }
.dtl-fxs { display: flex; flex-direction: column; align-items: center; line-height: 1.05; }
.dtl-fxs b { font: 700 26px var(--dt-body); color: #7298b7; }
.dtl-fxs.done b { color: #f7c948; }
.dtl-fxs small { font-size: 14px; color: #a9c5dc; }

/* ---------- the Cup: the bracket ---------- */
.dtl-bk { position: absolute; left: 0; right: 0; top: 0; height: 330px; }
.dtl-bkh { position: absolute; left: 0; right: 0; top: 0; height: 42.5px; font: 22px var(--dt-sport); color: #8fb6cf; }
.dtl-bkh > span { position: absolute; top: 9px; }
.dtl-bkh > span:nth-child(2) { left: 370px; }
.dtl-bkh em { position: absolute; right: 0; top: 11px; font: italic 18px var(--dt-body); color: #a9c5dc; }
.dtl-tie { position: absolute; left: 0; width: 300px; border: 1px solid #36536d; border-radius: 10px; background: rgba(7, 23, 45, 0.62); overflow: hidden; }
.dtl-tie.s1 { top: 70px; } .dtl-tie.s2 { top: 220px; } .dtl-tie.f { left: 370px; top: 145px; width: 270px; }
.dtl-tie.you { border-color: #19d6f0; box-shadow: 0 0 14px rgba(25, 214, 240, 0.25); }
.dtl-tie.prov { border-style: dashed; }
.dtl-bkr { height: 46px; display: grid; grid-template-columns: 30px 34px 1fr auto; align-items: center; column-gap: 8px; padding: 0 12px 0 8px; font-size: 22px; }
.dtl-bkr + .dtl-bkr { border-top: 1px solid #2f4c66; }
.dtl-bkr.me { background: rgba(25, 82, 101, 0.56); }
.dtl-bkr.l { color: #8fb6cf; }
.dtl-bkr.w b { color: #fff; }
.dtl-bkr b { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtl-bkr b.tbd { color: #7298b7; font-style: italic; }
.dtl-bkr .dtl-cr svg { width: 30px; height: 30px; }
.dtl-bkr .dtl-cr.tbd { width: 26px; height: 30px; border-radius: 6px 6px 12px 12px; border: 1px dashed #47718f; }
.dtl-sd { font: 20px var(--dt-sport); color: #8fb6cf; text-align: center; }
.dtl-sc { font: 700 24px var(--dt-body); color: #f7c948; }
.dtl-sc small { margin-left: 4px; font-size: 16px; color: #a9c5dc; }
.dtl-aet { position: absolute; right: 6px; bottom: 2px; font-size: 13px; color: #a9c5dc; }
.dtl-bkl { position: absolute; left: 300px; top: 117px; width: 70px; height: 150px; overflow: visible; }
.dtl-bkl path { fill: none; stroke: #3f6d8d; stroke-width: 2; vector-effect: non-scaling-stroke; }
.dtl-bkcup { position: absolute; left: 650px; top: 120px; width: 78px; height: 104px; display: grid; place-items: center; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); }
.dtl-bkcup:not(.won) { opacity: 0.8; }
.dtl-cupimg { width: 100%; height: 100%; object-fit: contain; }
.dtl-bkch { position: absolute; left: 370px; top: 250px; width: 270px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 20px; white-space: nowrap; }
.dtl-bkch b { font: 22px var(--dt-sport); color: #f7c948; overflow: hidden; text-overflow: ellipsis; }
.dtl-bkch em { font: 700 14px var(--dt-body); font-style: normal; letter-spacing: 1px; color: #07172d; background: #f7c948; border-radius: 5px; padding: 1px 6px; }
.dtl-bkch .dtl-cr svg { width: 26px; height: 26px; }
/* (the recap's narrower panel: the same bracket, closer together) */
.dtl-bk.narrow .dtl-tie.s1, .dtl-bk.narrow .dtl-tie.s2 { width: 270px; }
.dtl-bk.narrow .dtl-bkl { left: 270px; width: 46px; }
.dtl-bk.narrow .dtl-tie.f, .dtl-bk.narrow .dtl-bkch { left: 316px; width: 252px; }
.dtl-bk.narrow .dtl-bkh > span:nth-child(2) { left: 316px; }
.dtl-bk.narrow .dtl-bkcup { left: 580px; width: 66px; }
.dtl-cupline { position: absolute; left: 0; right: 0; top: 345px; font-size: 21px; line-height: 1.25; color: #cfe3f2; }
.dtl-cupline b { color: #f7c948; font-weight: 700; }
.dtl-cupkey { justify-content: flex-end; }
.dtl-przs { display: inline-flex; gap: 22px; color: #a9c5dc; }
.dtl-prz { display: inline-flex; align-items: center; gap: 5px; }
.dtl-prz b { color: #f7c948; font-weight: 700; }
.dtl-prz .dtl-i { color: #f7c948; }

/* ---------- the next match (next-match panel: the floodlit arena, the two clubs, KICK OFF) ---------- */
.dtl-next > * { position: absolute; }
.dtl-art { inset: 0; background: linear-gradient(rgba(7, 23, 45, 0.467), rgba(7, 23, 45, 0.8) 60%, rgba(7, 23, 45, 0.95)), url("assets/dt/stadium.webp") center / cover no-repeat; }
.dtl-ney { left: 0; right: 0; top: 20.8px; text-align: center; line-height: normal; white-space: nowrap; }
.dtl-teams { left: 15px; right: 15px; top: 65px; height: 76px; display: flex; align-items: center; justify-content: center; gap: 50px; }
.dtl-tside { display: flex; align-items: center; gap: 15px; min-width: 0; }
.dtl-bigcr { width: 64px; height: 76px; display: grid; place-items: center; flex: none; }
.dtl-bigcr svg { width: 76px; height: 76px; display: block; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); }
.dtl .dtl-teams h3 { font-size: 30px; line-height: normal; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.dtl-teams > strong { font: 60px var(--dt-sport); font-weight: 400; color: #f7c948; line-height: normal; }
.dtl-teams.dtl-solo { gap: 22px; }
.dtl-solocup { width: 64px; height: 76px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); }
.dtl .dtl-solo h3 { max-width: 520px; font-size: 30px; }
.dtl-where { left: 0; right: 0; top: 156px; text-align: center; font-size: 20px; line-height: normal; white-space: nowrap; }
.dtl-next .dtl-kick { left: 0; right: 0; top: 197px; width: 340px; height: 56px; margin: 0 auto; }
.dtl-kick .dtl-i { width: 28px; height: 28px; }
.dtl-chips { left: 0; right: 0; top: 275px; display: flex; justify-content: center; gap: 12px; }
.dtl-chip { height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 9px; border-radius: 12px; background: rgba(7, 23, 45, 0.8); border: 1px solid rgba(25, 214, 240, 0.5); color: #e6f8ff; font: 22px var(--dt-sport); white-space: nowrap; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35); transition: transform 0.12s, filter 0.12s, box-shadow 0.12s; }
.dtl-chip .dtl-i { width: 24px; height: 24px; color: #7cecfa; }
.dtl-chip small { font: 18px var(--dt-body); color: #a9c5dc; }
#dt-root .dtl-chip:hover { border-color: #19d6f0; filter: brightness(1.15); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4), 0 0 16px rgba(25, 214, 240, 0.35); }
#dt-root .dtl-chip:active { transform: translateY(2px); filter: brightness(0.9); }
.dtl-chip.gold { background: linear-gradient(#fff4af, #f7c948 55%, #df9a17); border-color: #ffe79b; color: #07172d; }
.dtl-chip.gold .dtl-i { color: #07172d; }

/* ---------- last results, top scorers (league-lower: two panels, 204 tall; score-row) ---------- */
.dtl-res h2, .dtl-sco h2 { position: absolute; left: 20px; top: 20px; font-size: 28px; line-height: normal; }
.dtl-res .dtl-list, .dtl-sco .dtl-list { position: absolute; left: 20px; right: 20px; top: 54px; bottom: 0; }
.dtl-sr { height: 55px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #29425f; font-size: 19px; line-height: normal; white-space: nowrap; }
.dtl-sr > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dtl-sr > span em { font: 700 13px var(--dt-body); font-style: normal; color: #f7c948; letter-spacing: 1px; }
.dtl-sr > small { margin-left: auto; font-size: 14px; color: #8bb2d0; }
.dtl-sr > b { margin-left: auto; font: 700 25px var(--dt-body); line-height: normal; }
.dtl-sr > small + b { margin-left: 0; }
.dtl-sr.dtl-scr { height: 65px; }
.dtl-sr.dtl-scr small { display: block; font-size: 14px; color: #8bb2d0; }
.dtl-sr .dtl-i { width: 22px; height: 22px; }
.dtl-scr > b > .dtl-i { color: #39d98a; }

/* ---------- the trophy road (trophy-road panel: six steps of the road, the gold line your trophies) ---------- */
.dtl-road h2 { position: absolute; left: 24px; top: 18px; font-size: 34px; line-height: normal; z-index: 1; pointer-events: none; }
.dtl-trn { position: absolute; right: 24px; top: 25.5px; font-size: 22px; line-height: normal; color: #f7c948; z-index: 1; pointer-events: none; white-space: nowrap; }
.dtl-road:has(> .dtl-cover:hover) { border-color: #19d6f0; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4), 0 0 18px rgba(25, 214, 240, 0.3); }
.dtl-track { position: absolute; left: 24px; right: 24px; top: 72px; height: 90px; display: flex; justify-content: space-between; gap: 15px; z-index: 1; pointer-events: none; }
.dtl-line, .dtl-gold { position: absolute; top: 37px; height: 4px; z-index: 0; }
.dtl-line { left: 45px; right: 45px; background: #375470; }
.dtl-gold { left: 45px; background: #f7c948; width: calc((100% - 205px) / 5 * var(--j) + 160px + var(--f) * ((100% - 205px) / 5 - 205px)); }
.dtl-gold.none { width: 0; }
.dtl-gold.all { width: auto; right: 45px; }
.dtl-rw { position: relative; z-index: 1; width: 205px; flex: none; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 7px; padding: 10px 13px; min-height: 90px;
  background: linear-gradient(#193953, #07182d); border: 1px solid #496987; border-radius: 12px; text-align: left; font-size: 21px; pointer-events: auto; transition: transform 0.12s, filter 0.12s, box-shadow 0.12s; }
.dtl-rw > .dtl-i { color: #7298b7; }
.dtl-rw > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: normal; }
.dtl-rw > b { grid-column: 2; font: 21px var(--dt-sport); line-height: normal; color: #afc9df; display: flex; align-items: center; gap: 5px; }
.dtl-rw > b .dtl-i { width: 18px; height: 18px; }
.dtl-rw.claimed { border-color: #579b87; }
.dtl-rw.claimed > .dtl-i { color: #39d98a; }
.dtl-rw.next { border-color: #f7c948; box-shadow: 0 0 15px rgba(247, 201, 72, 0.2); }
.dtl-rw.next > .dtl-i { color: #f7c948; }
#dt-root .dtl-rw:hover { filter: brightness(1.15); transform: translateY(-2px); }

/* ---------- the recap: full time, the table after it, the rest of the matchday ---------- */
.dtl-score { position: absolute; left: 0; right: 0; top: 92px; display: flex; align-items: center; justify-content: center; gap: 36px; }
.dtl-sside { width: 230px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dtl-sside .dtl-bigcr { width: 120px; height: 124px; }
.dtl-sside .dtl-bigcr svg { width: 124px; height: 124px; }
.dtl .dtl-sside h3 { max-width: 230px; font-size: 30px; line-height: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtl-sbig { font: 112px var(--dt-sport); font-weight: 400; line-height: 1; color: #f7c948; text-shadow: 0 4px #030b19; white-space: nowrap; }
.dtl-result.loss .dtl-sbig { color: #edfaff; }
.dtl-sbig i { font-style: normal; color: #a9c5dc; margin: 0 8px; }
.dtl-scorers { position: absolute; left: 24px; right: 24px; top: 330px; display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 22px; color: #cfe3f2; white-space: nowrap; overflow: hidden; }
.dtl-ball { width: 24px; height: 24px; }
.dtl-ball svg { stroke: none; }
.dtl-rwd { position: absolute; left: 24px; right: 24px; top: 382px; display: flex; justify-content: center; gap: 14px; }
.dtl-rwc { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 12px; background: #07172d; border: 1px solid #36536d; white-space: nowrap; }
.dtl-rwc b { font: 26px var(--dt-sport); color: #edfaff; }
.dtl-rwc small { font-size: 16px; color: #a9c5dc; }
.dtl-rwc .dtl-i { width: 24px; height: 24px; color: #f7c948; }
.dtl-rwc.pts { border-color: #f7c948; }
.dtl-rwc.pts b { color: #f7c948; }
.dtl-rwc.xp .dtl-i { color: #7cecfa; }
.dtl-newc { position: absolute; left: 24px; right: 24px; top: 450px; display: flex; justify-content: center; gap: 16px; }
.dtl-nc { display: flex; align-items: center; gap: 12px; padding: 6px 16px 6px 8px; border-radius: 12px; border: 1px solid #f7c948; background: linear-gradient(90deg, rgba(247, 201, 72, 0.18), rgba(7, 23, 45, 0.6)); }
.dtl-nc .sq-card { width: 64px; font-size: 7px; }
.dtl-nc .sq-card .sq-nm, .dtl-nc .sq-card small { display: none; }
.dtl-nc > span:last-child { display: flex; flex-direction: column; }
.dtl-nc small { font: 700 14px var(--dt-body); letter-spacing: 1px; color: #f7c948; }
.dtl-nc b { font: 24px var(--dt-sport); }
.dtl-nc em { font-size: 16px; font-style: normal; color: #a9c5dc; }
.dtl-table.narrow { grid-template-columns: 70px 1fr 44px 46px 44px 44px 62px 70px; }
.dtl-table.narrow .dtl-club .dtl-cr svg { width: 30px; height: 30px; }
.dtl-std2 .dtl-key { font-size: 18px; }
.dtl-foot .dtl-others { position: absolute; left: 24px; right: 364px; top: 72px; height: 90px; display: flex; gap: 14px; z-index: 1; }
.dtl-fx.card { flex: 1 1 0; min-width: 0; max-width: 560px; height: 100%; grid-template-columns: 1fr 32px 82px 32px 1fr; column-gap: 6px; padding: 0 10px; border: 1px solid #36536d; border-radius: 12px; background: rgba(7, 23, 45, 0.62); font-size: 20px; }
.dtl-fx.card .dtl-cr svg { width: 30px; height: 30px; }
.dtl-fx.card .dtl-fxs b { font-size: 24px; }
.dtl-foot .dtl-none { position: absolute; left: 0; right: 0; top: 0; margin: 0; font-size: 21px; }
.dtl-cont { position: absolute; right: 24px; top: 60px; width: 320px; display: flex; flex-direction: column; align-items: stretch; gap: 8px; z-index: 1; }
.dtl-cont > span { text-align: center; font-size: 19px; color: #a9c5dc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtl-cont .dt-btn { height: 56px; }

/* ---------- the season's end: the final table, the prizes, the Cup, next season ---------- */
.dtl .dtl-prizes > .dtl-head { left: 20px; right: 20px; top: 16px; }
.dtl-prizes .dtl-list { position: absolute; left: 20px; right: 20px; top: 68px; bottom: 6px; }
.dtl-sr.dtl-prow { height: 52px; }
.dtl-prow > span small { display: block; font-size: 14px; color: #8bb2d0; }
.dtl-prow > b { display: inline-flex; gap: 14px; font-size: 22px; }
.dtl-pv { display: inline-flex; align-items: center; gap: 5px; color: #f7c948; }
.dtl-pv.tr { color: #ffe08a; } .dtl-pv.xp { color: #7cecfa; }
.dtl-prow.total { border-top: 2px solid #4c7ba0; border-bottom: 0; }
.dtl-prow.total > span { color: #f7c948; }
.dtl-ebadges { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.dtl-ebadge { height: 46px; width: auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)); }
.dtl-earrow { width: 24px; height: 24px; color: #a9c5dc; }
.dtl-earrow.up { color: #39d98a; transform: rotate(-90deg); } .dtl-earrow.down { color: #ff7474; transform: rotate(90deg); }
.dtl-cupsum { position: absolute; left: 20px; right: 20px; top: 60px; display: flex; align-items: center; gap: 14px; }
.dtl-csimg { width: 64px; height: 80px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); }
.dtl-cupsum b { display: block; font: 24px var(--dt-sport); color: #f7c948; }
.dtl-cupsum small { display: block; margin-top: 4px; font-size: 18px; color: #a9c5dc; }
.dtl-nlist { gap: 10px; }
.dtl-nclub { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 10px; border: 1px solid #36536d; border-radius: 12px; background: rgba(7, 23, 45, 0.62); }
.dtl-nclub { gap: 8px; padding: 0 8px; }
.dtl-nclub .dtl-cr svg { width: 28px; height: 28px; }
.dtl-nclub > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.dtl-nclub b { font-weight: 400; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtl-nclub small { font-size: 14px; color: #a9c5dc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtl-nclub.t-with small { color: #7cecfa; } .dtl-nclub.t-up small { color: #74efb2; } .dtl-nclub.t-down small { color: #ff8686; }

/* ---------- the sheets (the pack's x-modal): How it works, Season Road ---------- */
.dtl-modal { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; background: rgba(2, 8, 23, 0.74); }
.dtl .dtl-box { position: relative; padding: 34px 40px 30px; border-color: #7da1bd; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7); }
.dtl-x.dt-btn { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; padding: 0; box-shadow: none; }
.dtl-x .dtl-i { width: 24px; height: 24px; }
.dtl-mh { display: flex; align-items: center; gap: 18px; }
.dtl-mh h1 { font-size: 48px; line-height: 1; }
.dtl-mh .dt-eyebrow { display: block; margin-bottom: 6px; }
.dtl-mbadge { height: 84px; width: auto; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5)); }
.dtl-mtro { width: 64px; height: 64px; color: #f7c948; filter: drop-shadow(0 0 16px rgba(247, 201, 72, 0.33)); }
.dtl-rules { width: 1180px; }
.dtl-rlist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; text-align: left; }
.dtl-rlist li { display: flex; gap: 16px; align-items: flex-start; }
.dtl-ric { width: 56px; height: 56px; flex: none; display: grid; place-items: center; }
.dtl-ric img { width: 56px; height: 56px; object-fit: contain; }
.dtl-rlist b { display: block; font: 26px var(--dt-sport); font-weight: 400; color: #f7c948; }
.dtl-rlist small { display: block; margin-top: 3px; font-size: 20px; line-height: 1.3; color: #cfe3f2; }
.dtl-rlist small b { display: inline; font: 700 20px var(--dt-body); color: #edfaff; }
.dtl-mgo.dt-btn { display: flex; margin: 26px auto 0; min-width: 300px; }
.dtl-roadm { width: 1420px; }
.dtl-rcount { margin-left: auto; margin-right: 60px; display: flex; gap: 28px; }
.dtl-rcount b { font: 40px var(--dt-sport); font-weight: 400; color: #f7c948; }
.dtl-rcount small { font: 20px var(--dt-body); color: #a9c5dc; }
.dtl-rp { margin: 14px 0 0; font-size: 20px; color: #a9c5dc; }
.dtl-rnext { margin-top: 16px; display: flex; align-items: center; gap: 16px; padding: 10px 18px; border-radius: 12px; border: 1px solid #f7c948; background: rgba(7, 23, 45, 0.7); }
.dtl-rnext > span:first-child { font: 700 18px var(--dt-body); letter-spacing: 2px; color: #f7c948; }
.dtl-rnext b { font: 26px var(--dt-sport); font-weight: 400; white-space: nowrap; }
.dtl-bar { flex: 1; height: 12px; border-radius: 6px; background: #12304d; overflow: hidden; }
.dtl-bar i { display: block; height: 100%; background: linear-gradient(90deg, #df9a17, #f7c948); }
.dtl-rnext em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; color: #ffe08a; white-space: nowrap; }
.dtl-rnext .dtl-i { width: 22px; height: 22px; }
.dtl-rgrid { margin-top: 18px; display: grid; grid-template-columns: repeat(11, 1fr); gap: 14px 12px; }
.dtl-rc { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; border-radius: 12px; border: 1px solid #36536d; background: rgba(7, 23, 45, 0.6); text-align: center; min-width: 0; }
.dtl-rc.got { border-color: #579b87; }
.dtl-rc.next { border-color: #f7c948; box-shadow: 0 0 15px rgba(247, 201, 72, 0.25); }
.dtl-rcf .sq-card { width: 92px; font-size: 9px; }
.dtl-rcf .sq-card .sq-nm, .dtl-rcf .sq-card small { display: none; }
.dtl-rc > b { width: 100%; font: 18px var(--dt-sport); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtl-rct { display: inline-flex; align-items: center; gap: 4px; font: 18px var(--dt-sport); color: #afc9df; }
.dtl-rct .dtl-i, .dtl-rc em .dtl-i { width: 16px; height: 16px; }
.dtl-rc em { font-style: normal; font-size: 15px; color: #7298b7; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.dtl-rc.got em { color: #39d98a; }
.dtl-rc.next em { color: #f7c948; }

/* ========== with the ad dock (layout-ad.json: the content area 776 tall, every panel a little shorter) ========== */
.dt-ads .dtl .dtl-banner { height: 97px; }
.dt-ads .dtl-bicon { top: 14.5px; }
.dt-ads .dtl-season { top: 5.8px; }
.dt-ads .dtl .dtl-div { top: 42px; font-size: 46px; }
.dt-ads .dtl-md { top: 9.5px; }
.dt-ads .dtl-tag { top: 57.5px; }
.dt-ads .dtl .dtl-std, .dt-ads .dtl .dtl-side { top: 115px; height: 484px; }
.dt-ads .dtl .dtl-next { top: 115px; height: 301px; }
.dt-ads .dtl .dtl-res, .dt-ads .dtl .dtl-sco { top: 430px; height: 169px; }
.dt-ads .dtl .dtl-road { top: 617px; height: 159px; }
.dt-ads .dtl-head { left: 20px; right: 20px; top: 16px; }
.dt-ads .dtl-body { left: 20px; right: 20px; top: 67px; }
.dt-ads .dtl-table { grid-template-columns: 74.2px 286.7px 48.1px 58.1px 50.1px 46.1px 78.2px 94.3px; font-size: 22px; }
.dt-ads .dtl-th > span { height: 42px; }
.dt-ads .dtl-th > span:nth-child(2) { padding-left: 6px; }
.dt-ads .dtl-tr > span { height: 43px; }
.dt-ads .dtl-tr > .dtl-pos, .dt-ads .dtl-tr > .dtl-club { padding-left: 6px; }
.dt-ads .dtl-club .dtl-cr { width: 25px; height: 29px; }
.dt-ads .dtl-club .dtl-cr svg { width: 29px; height: 29px; }
.dt-ads .dtl-tr > .dtl-pts { font-size: 22px; }
.dt-ads .dtl-table.narrow { grid-template-columns: 66px 1fr 44px 46px 44px 44px 62px 70px; }
.dt-ads .dtl-key { top: 390.7px; font-size: 18px; }
.dt-ads .dtl-body.t-table > .dtl-key, .dt-ads .dtl-std2 .dtl-body:not(.t-cup) > .dtl-key { display: flex; }
.dt-ads .dtl-mdbar { height: 42px; }
.dt-ads .dtl-fx { height: 66px; font-size: 22px; }
.dt-ads .dtl-fx.card { height: 100%; font-size: 19px; }
.dt-ads .dtl-bk { height: 300px; }
.dt-ads .dtl-bkh { height: 42px; }
.dt-ads .dtl-bkr { height: 40px; font-size: 21px; }
.dt-ads .dtl-tie.s1 { top: 58px; } .dt-ads .dtl-tie.s2 { top: 178px; } .dt-ads .dtl-tie.f { top: 118px; }
.dt-ads .dtl-bkl { top: 99px; height: 120px; }
.dt-ads .dtl-bkcup { top: 100px; height: 92px; }
.dt-ads .dtl-bkch { top: 210px; }
.dt-ads .dtl-cupline { top: 290px; font-size: 19px; }
.dt-ads .dtl-ney { top: 15.8px; }
.dt-ads .dtl-teams { top: 53px; height: 52px; gap: 24px; }
.dt-ads .dtl-bigcr { width: 43px; height: 51px; }
.dt-ads .dtl-bigcr svg { width: 52px; height: 52px; }
.dt-ads .dtl-teams > strong { font-size: 43px; }
.dt-ads .dtl-solocup { width: 46px; height: 54px; }
.dt-ads .dtl-where { top: 115px; font-size: 18px; }
.dt-ads .dtl-next .dtl-kick { top: 148.4px; height: 48px; }
.dt-ads .dtl-chips { top: 226px; }
.dt-ads .dtl-chip { height: 40px; }
.dt-ads .dtl-res h2, .dt-ads .dtl-sco h2 { left: 18px; top: 14px; }
.dt-ads .dtl-res .dtl-list, .dt-ads .dtl-sco .dtl-list { left: 18px; right: 18px; top: 48px; }
.dt-ads .dtl-sr { height: 45px; }
.dt-ads .dtl-sr.dtl-scr { height: 55px; }
.dt-ads .dtl-road h2 { left: 20px; top: 15px; }
.dt-ads .dtl-trn { right: 20px; top: 22.5px; }
.dt-ads .dtl-track { left: 20px; right: 20px; top: 69px; height: 82px; }
.dt-ads .dtl-rw { min-height: 76px; }
.dt-ads .dtl-score { top: 60px; }
.dt-ads .dtl-sside .dtl-bigcr { width: 100px; height: 104px; }
.dt-ads .dtl-sside .dtl-bigcr svg { width: 104px; height: 104px; }
.dt-ads .dtl-sbig { font-size: 96px; }
.dt-ads .dtl-scorers { top: 256px; }
.dt-ads .dtl-rwd { top: 298px; }
.dt-ads .dtl-newc { top: 368px; }
.dt-ads .dtl-foot .dtl-others { left: 20px; right: 356px; top: 69px; height: 82px; }
.dt-ads .dtl-cont { right: 20px; top: 54px; }
.dt-ads .dtl-cont .dt-btn { height: 50px; }
.dt-ads .dtl .dtl-prizes > .dtl-head { top: 14px; }
.dt-ads .dtl-prizes .dtl-list { top: 62px; }
.dt-ads .dtl-sr.dtl-prow { height: 44px; }
.dt-ads .dtl-cupsum { top: 52px; }
.dt-ads .dtl-csimg { height: 70px; }
.dt-ads .dtl .dtl-box { padding: 26px 40px 24px; }
.dt-ads .dtl-rlist { margin-top: 18px; gap: 12px 40px; }
.dt-ads .dtl-rlist small, .dt-ads .dtl-rlist small b { font-size: 19px; }
.dt-ads .dtl-mgo.dt-btn { margin-top: 18px; height: 52px; }
.dt-ads .dtl-rgrid { margin-top: 14px; gap: 10px 12px; }
.dt-ads .dtl-rcf .sq-card { width: 84px; }

@media (prefers-reduced-motion: reduce) {
  .dtl-tab, .dtl-chip, .dtl-rw { transition: none; }
}
