/* AppDooball matchday */
body[data-page="home"] .page-main {
    --ad-lime: #efff54;
    --ad-blue: #315fff;
    --ad-text: #f3f6ff;
    --ad-subtle: #acb8d1;
    --ad-line: #263047;
    --ad-plate: #101725;
    padding-top: clamp(18px, 2.1vw, 32px);
}
.ad-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: clamp(330px, 31vw, 412px);
    color: var(--ad-text);
    border: 1px solid #364360;
    border-radius: 16px;
    background: linear-gradient(114deg, #080e1b 4%, #101f43 52%, #2049bb);
}
.ad-hero-art {position: absolute; inset: 0; z-index: -3; overflow: hidden;}
.ad-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 45%;
}
.ad-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, #070d1bf5 0%, #071023e8 27%, #0710228a 49%, transparent 76%),
                linear-gradient(0deg, #03081065, transparent 25%);
}
.ad-hero-copy {
    position: relative;
    max-width: 69%;
    padding: clamp(23px, 2.7vw, 39px) clamp(25px, 4.2vw, 60px);
}
.ad-matchday {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 13px;
    color: #d2ddfa;
    font-size: 11px;
    font-weight: 600;
}
.ad-matchday > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ad-lime);
    font: 800 13px/1.2 "Barlow Condensed", "Arial Narrow", sans-serif;
    letter-spacing: .14em;
}
.ad-matchday > i {width: 1px; height: 12px; background: #64708e;}
.ad-stripes {
    display: inline-flex;
    align-items: stretch;
    flex: none;
    width: 17px;
    height: 6px;
    transform: skewX(-24deg);
}
.ad-stripes > i {
    display: block;
    flex: 1 1 0%;
    min-width: 2px;
    height: 100%;
    background: #efff54;
    background: var(--ad-lime);
    animation: ad-stripe-wave 2.4s ease-in-out infinite;
}
.ad-stripes > i + i {margin-left: 14%;}
.ad-stripes > i:nth-child(2) {animation-delay: .18s;}
.ad-stripes > i:nth-child(3) {animation-delay: .36s;}
@keyframes ad-stripe-wave {
    0%, 56%, 100% {transform: translateY(0); opacity: .65;}
    24% {transform: translateY(-2px); opacity: 1;}
}
.app-header .app-brand img {
    transform-origin: 50% 65%;
    filter: drop-shadow(0 0 4px rgba(56, 102, 255, .35));
    animation: ad-logo-lift 3.6s ease-in-out infinite;
}
@keyframes ad-logo-lift {
    0%, 64%, 100% {transform: translateY(0) rotate(0) scale(1);}
    25% {transform: translateY(-2px) rotate(-6deg) scale(1.08);}
    46% {transform: translateY(-1px) rotate(2deg) scale(1.03);}
}
.ad-motion-timed .app-header .app-brand img,
.ad-motion-timed .ad-stripes > i {
    -webkit-animation: none;
    animation: none;
}
.ad-pulse .ad-motion-choice {display: none;}
@media (prefers-reduced-motion: reduce) {
    .ad-motion-timed .ad-pulse .ad-motion-choice {display: inline-block;}
    /* Keep the accents lit in sequence without moving the artwork. */
    .app-header .app-brand img, .ad-stripes > i {
        animation-name: ad-soft-light;
        animation-duration: 4s !important;
        animation-iteration-count: infinite !important;
    }
    @keyframes ad-soft-light {
        0%, 100% {opacity: .65;}
        45% {opacity: 1;}
    }
}
.ad-hero h1 {
    color: #fff;
    margin: 0;
    font-size: clamp(52px, 5.4vw, 82px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.06em;
}
.ad-hero h1 span {display: block; color: var(--ad-lime);}
.ad-hero-summary {
    color: #dee5f1;
    margin: 14px 0 0;
    font-size: clamp(13px, 1.05vw, 16px);
    line-height: 1.7;
}
.ad-mobile-break {display: none;}
.ad-hero-actions {display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px;}
.ad-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.ad-action .icon {height: 16px; width: 16px;}
.ad-action-primary {background: var(--ad-lime); color: #101509; box-shadow: 0 4px 22px #0b11273b;}
.ad-action-primary:hover {color: #0d1305; background: #f4ff89; box-shadow: 0 4px 20px #d6f23a22;}
.ad-action-secondary {background: #0d1830a8; border-color: #717e9e; color: white;}
.ad-action-secondary:hover {color: white; background: #1a2b4f;}
.ad-action:hover {transform: translateY(-2px);}
.ad-hero-stripes {
    position: absolute;
    pointer-events: none;
    right: 23px;
    bottom: 14px;
    width: 36px;
    height: 9px;
}
.ad-pulse {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: stretch;
    margin: 12px 0 clamp(25px, 3vw, 43px);
    border: 1px solid var(--ad-line);
    border-radius: 10px;
    background: #101624;
}
.ad-pulse > a {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    align-content: center;
    column-gap: 8px;
    row-gap: 4px;
    text-align: center;
    min-width: 0;
    padding: 14px clamp(12px, 2.4vw, 35px);
    color: var(--ad-text);
    transition: background .18s ease;
}
.ad-pulse > a:first-child {border-radius: 9px 0 0 9px;}
.ad-pulse > a:hover {background: #18243c;}
.ad-pulse > a::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 34px;
    background: var(--ad-line);
}
.ad-pulse-icon {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: #1a2949;
    color: #a3baff;
}
.ad-pulse-icon .icon {width: 19px; height: 19px;}
.ad-pulse-live .ad-pulse-icon {background: #293222; color: var(--ad-lime);}
.ad-pulse > a > strong {grid-column: 2; grid-row: 1; font: 700 clamp(26px, 2.2vw, 34px)/1 "Barlow Condensed", "Arial Narrow", sans-serif; font-variant-numeric: tabular-nums;}
.ad-pulse-label {grid-column: 1 / -1; grid-row: 2; color: #c3cce0; font-size: 12px;}
.ad-pulse .ad-sound {display: grid; align-content: center; gap: 3px; margin: 0; padding: 12px 18px;}
.ad-sound [data-score-sound-status]:empty {display: none;}
.ad-sound [data-score-sound-status] {max-width: 135px; font-size: 10px; text-align: center;}
.ad-pulse .score-sound-toggle {
    min-height: 38px;
    padding: 7px 12px;
    color: #cbd7f3;
    border: 1px solid #3a4866;
    background: #141f35;
    border-radius: 6px;
}
.ad-pulse .score-sound-toggle[aria-pressed="true"] {border-color: #768949; color: var(--ad-lime); background: #252b20;}
.ad-board-layout, .ad-broadcast-layout {display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(230px, 1fr); align-items: start; gap: clamp(18px, 2.4vw, 34px);}
.ad-board, .ad-shortcuts, .ad-stream-list, .ad-leagues {min-width: 0;}
.ad-section-head {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 14px;
}
.ad-section-head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(20px, 2vw, 29px);
    font-weight: 750;
    line-height: 1.46;
    letter-spacing: -.035em;
    margin: 0;
    color: var(--ad-text);
}
.ad-section-head h2::before {content: ''; width: 5px; height: .87em; transform: skewX(-12deg); background: var(--ad-lime); flex-shrink: 0;}
.ad-section-head a, .ad-board-empty a, .ad-stream-empty a {
    color: #b3c7ff;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ad-section-head a:hover, .ad-board-empty a:hover, .ad-stream-empty a:hover {color: var(--ad-lime);}
.ad-section-head a .icon, .ad-board-empty a .icon, .ad-stream-empty a .icon {width: 15px; height: 15px;}
.ad-board-surface, .ad-shortcut-list, .ad-leagues, .ad-stream-empty {
    border-radius: 10px;
    border: 1px solid var(--ad-line);
    background: var(--ad-plate);
}
.ad-board-surface {overflow: hidden;}
.ad-status-filters {display: flex; align-items: stretch; gap: 6px; padding: 10px 13px; border-bottom: 1px solid var(--ad-line); background: #141d2f;}
.ad-status-filters button {
    flex: 1 1 0%;
    min-width: 0;
    text-align: center;
    color: #c5cfe4; border: 1px solid transparent; border-radius: 5px; background: transparent; padding: 6px 13px;
    min-height: 34px; font-family: inherit; font-size: 12px; cursor: pointer;
}
.ad-status-filters button.active {color: white; border-color: #537aff; background: #294bd0; font-weight: 700;}
.ad-status-filters button:hover:not(.active) {background: #24324c; color: white;}
.ad-board .ad-scores {
    border: 0; border-radius: 0;
    max-height: min(61vh, 550px); overflow: auto; scrollbar-color: #455a82 #121a2b;
}
.ad-scores:empty, .ad-watch-grid:empty {display:none;}
.ad-board-empty {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 198px;
    padding: 28px clamp(22px, 3vw, 42px);
    overflow: hidden;
    background: radial-gradient(ellipse at 100% 80%, #1c357063, transparent 65%);
}
.ad-board-empty h3, .ad-stream-empty h3 {font-size: 17px; color: var(--ad-text); margin: 0 0 6px; font-weight: 650;}
.ad-board-empty p {color: var(--ad-subtle); font-size: 13px; line-height: 1.8; max-width: 32em; margin: 0 0 14px;}
.ad-board-empty > :not(.ad-pitch) {position: relative;}
.ad-pitch {
    position: absolute;
    z-index: -1;
    width: 245px;
    height: 151px;
    top: 18px;
    right: -55px;
    opacity: .24;
    transform: rotate(-19deg) skewX(-12deg);
    border: 2px solid #5275cc;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent calc(50% - 1px), #5275cc calc(50% - 1px), #5275cc calc(50% + 1px), transparent calc(50% + 1px)),
                repeating-linear-gradient(90deg, transparent 0 26px, #283b6633 26px 52px);
    pointer-events: none;
}
.ad-pitch::before, .ad-pitch::after {position: absolute; content: ''; width: 32px; height: 65px; top: calc(50% - 34px); border: 2px solid #5275cc;}
.ad-pitch::before {left: -2px;}
.ad-pitch::after {right: -2px;}
.ad-pitch i {position: absolute; top: calc(50% - 22px); left: calc(50% - 22px); border: 2px solid #5275cc; width: 44px; height: 44px; border-radius: 100%;}
.ad-shortcut-list {overflow: hidden;}
.ad-shortcut-list a {display: flex; align-items: center; gap: 12px; padding: 11px 17px; color: var(--ad-text); background: transparent; transition: background .18s ease;}
.ad-shortcut-list a + a {border-top: 1px solid #202a3d;}
.ad-shortcut-list a:hover {background: #18243a;}
.ad-shortcut-list a > .icon {width: 15px; height: 15px; color: #8192b4; margin-left: auto;}
.ad-shortcut-icon {display: grid; place-items: center; flex: none; width: 37px; height: 37px; color: #9fb7ff; border: 1px solid #34476e; border-radius: 8px; background: #1b2944;}
.ad-shortcut-icon .icon {width: 19px; height: 19px;}
.ad-shortcut-list a:nth-child(2) .ad-shortcut-icon {color: var(--ad-lime); border-color: #505a33; background: #272e23;}
.ad-shortcut-list strong, .ad-shortcut-list small {display: block;}
.ad-shortcut-list strong {font-size: 14px; font-weight: 650;}
.ad-shortcut-list small {font-size: 11px; line-height: 1.6; color: var(--ad-subtle);}
.ad-broadcasts, .ad-featured, .ad-field-guide {scroll-margin-top: 90px; margin-top: clamp(28px, 3.1vw, 46px);}
.ad-hero + .ad-featured {margin-top: 12px;}
.ad-broadcast-layout .ad-watch-grid {grid-template-columns: repeat(auto-fit, minmax(min(205px, 100%), 1fr));}
.ad-broadcast-layout .ad-watch-grid:empty {display: none;}
.ad-leagues {overflow: hidden;}
.ad-leagues h3 {font-size: 15px; margin: 0; line-height: 1.5; padding: 12px 17px; background: #141d2f; border-bottom: 1px solid var(--ad-line); color: var(--ad-text);}
.ad-leagues .league-list {padding: 1px 10px;}
.ad-leagues .league-list a {font-size: 12px; color: #d4dcef;}
.ad-leagues .league-list .league-mini-mark {color: #99b2ff; background: #1c2b48; border-color: #354974;}
.ad-leagues .league-list a b {color: var(--ad-lime);}
.ad-leagues .league-list .muted {font-size: 12px; color: var(--ad-subtle); padding: 17px 8px;}
.ad-stream-empty {display: flex; gap: 15px; align-items: center; min-height: 107px; padding: 20px;}
.ad-stream-empty > .icon {width: 29px; height: 29px; flex-shrink: 0; color: #89a7ff;}
.ad-stream-empty p {font-size: 12px; color: var(--ad-subtle); line-height: 1.7; margin: 0;}
.ad-stream-empty a {margin-left: auto; flex-shrink: 0;}
.ad-board-empty[hidden], .ad-stream-empty[hidden], .ad-featured:not([data-current-match]) {display: none;}
body[data-page="home"] .ad-featured {
    border-color: #304267; background: linear-gradient(180deg, #0b1522b8, #0b1522de), url(app-pitch.webp) center / cover, #101a2b;
}
body[data-page="home"] .ad-featured::before {background: repeating-linear-gradient(115deg, transparent 0 45px, #8faaff09 45px 46px);}
body[data-page="home"] .ad-featured::after {display: none;}
.ad-featured .featured-label, .ad-featured .featured-score .versus {color: var(--ad-lime);}
.ad-featured .featured-bottom {justify-content: flex-end;}
.ad-featured .featured-bottom > span {display: none;}
.ad-field-guide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr);
    gap: clamp(26px, 4vw, 54px);
    padding: clamp(23px, 3vw, 42px) 0 0;
    border-top: 1px solid #344359;
}
.ad-guide-intro h2 {font-size: clamp(25px, 2.3vw, 36px); font-weight: 750; line-height: 1.37; letter-spacing: -.045em; margin: 0 0 12px; color: var(--ad-text);}
.ad-guide-intro p {max-width: 22em; font-size: 13px; line-height: 1.85; margin: 0; color: var(--ad-subtle);}
.ad-guide-copy h3 {font-size: 17px; color: #e7edfc; margin: 0 0 7px; line-height: 1.6;}
.ad-guide-copy p {margin: 0 0 22px; color: #b8c3d9; font-size: 14px; line-height: 1.95;}
.ad-guide-copy a {color: #cad8ff; text-underline-offset: .2em; text-decoration: underline; text-decoration-color: #647bb6;}
.ad-guide-copy .ad-service-note {font-size: 12px; padding-top: 15px; border-top: 1px solid var(--ad-line); margin-bottom: 0;}
.ad-service-note strong {color: var(--ad-text);}

@media (prefers-reduced-motion: no-preference) {
    .ad-hero::after {
        content: ''; position: absolute; bottom: 0; left: 0; width: 27%; height: 2px;
        pointer-events: none; background: linear-gradient(90deg, transparent, #88a9ff 55%, #eaff64 75%, transparent);
        animation: ad-hero-highlight 8s ease-in-out infinite;
    }
    @keyframes ad-hero-highlight {
        0%, 70% {transform: translateX(-103%); opacity: 0;}
        74% {opacity: .9;}
        100% {transform: translateX(380%); opacity: 0;}
    }
    .ad-hero-photo {animation: ad-matchday-reveal 1.1s cubic-bezier(.25,.7,.3,1) both;}
    @keyframes ad-matchday-reveal {from {transform: scale(1.035);} to {transform: scale(1);}}
}
@media (max-width: 900px) {
    .ad-hero {min-height: 320px;}
    .ad-pulse > a {column-gap: 6px; padding-inline: 12px;}
    .ad-pulse-label {font-size: 11px;}
    .ad-pulse .ad-sound {padding-inline: 11px;}
    .ad-board-layout, .ad-broadcast-layout {grid-template-columns: minmax(0, 1.85fr) minmax(207px, 1fr); gap: 16px;}
    .ad-section-head h2 {font-size: 21px;}
    .ad-shortcut-list a {padding-inline: 13px;}
    .ad-stream-empty {flex-wrap: wrap;}
    .ad-stream-empty a {margin-left: 0;}
}
@media (max-width: 680px) {
    body[data-page="home"] .page-main {padding-top: 13px;}
    .ad-hero {border-radius: 11px; min-height: 310px;}
    .ad-hero + .ad-featured {margin-top: 8px;}
    .ad-hero-copy {max-width: 87%; padding: 24px 20px;}
    .ad-hero-art {left: 24%; right: -14%; mask-image: linear-gradient(90deg, transparent, #000 24%);}
    .ad-hero-photo {object-position: 54% 47%;}
    .ad-hero::before {background: linear-gradient(90deg, #071022e6 0%, #071022c7 33%, #07102255 64%, transparent 90%), linear-gradient(0deg,#040a17bd,transparent 64%);}
    .ad-hero h1 {font-size: clamp(43px, 8.6vw, 60px); text-shadow: 0 2px 9px #030a1bdd;}
    .ad-matchday {margin-bottom: 10px; font-size: 10px;}
    .ad-matchday > span {font-size: 12px;}
    .ad-hero-summary {margin-top: 11px; font-size: 12px;}
    .ad-mobile-break {display: inline;}
    .ad-hero-actions {margin-top: 16px; gap: 8px;}
    .ad-action {min-height: 39px; padding: 7px 12px; gap: 5px; font-size: 12px;}
    .ad-hero-stripes {right: 15px; bottom: 12px; width: 32px; height: 7px;}
    .ad-pulse {grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 9px; margin-bottom: 22px;}
    .ad-pulse > a {padding: 12px 4px; column-gap: 5px; row-gap: 3px;}
    .ad-pulse > a:nth-child(3)::after {display: none;}
    .ad-pulse-icon {width: 26px; height: 26px; border-radius: 6px;}
    .ad-pulse-icon .icon {width: 15px; height: 15px;}
    .ad-pulse-label {font-size: 11px;}
    .ad-pulse .ad-sound {grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; align-items: center; border-top: 1px solid var(--ad-line); padding: 5px 9px;}
    .ad-pulse .score-sound-toggle {min-height: 31px; font-size: 10px; padding: 4px 9px;}
    .ad-section-head {margin-bottom: 10px;}
    .ad-section-head h2 {font-size: 21px;}
    .ad-section-head a {font-size: 11px;}
    .ad-board-layout, .ad-broadcast-layout {grid-template-columns: minmax(0, 1fr); gap: 22px;}
    .ad-shortcut-list {display: grid; grid-template-columns: 1fr 1fr;}
    .ad-shortcut-list a {padding: 11px 9px; gap: 7px;}
    .ad-shortcut-list a:nth-child(2) {border-top: 0;}
    .ad-shortcut-list a:nth-child(even) {border-left: 1px solid var(--ad-line);}
    .ad-shortcut-icon {width: 31px; height: 31px;}
    .ad-shortcut-list a > .icon {width: 12px; height: 12px;}
    .ad-shortcut-list strong {font-size: 13px;}
    .ad-shortcut-list small {font-size: 10px;}
    .ad-status-filters {padding: 8px; gap: 3px;}
    .ad-status-filters button {min-height: 44px; padding-inline: 2px;}
    .ad-board-empty {padding: 23px 18px; min-height: 172px;}
    .ad-board-empty p {max-width: 20em;}
    .ad-pitch {right: -96px;}
    .ad-broadcast-layout .ad-watch-grid {grid-template-columns: repeat(auto-fit, minmax(min(153px, 100%), 1fr));}
    .ad-broadcast-layout {gap: 12px;}
    .ad-stream-empty {padding: 16px; gap: 10px;}
    .ad-stream-empty h3 {font-size: 15px;}
    .ad-field-guide {grid-template-columns: minmax(0, 1fr); gap: 19px;}
    .ad-guide-intro p {max-width: 100%;}
}
@media (max-width: 365px) {
    .ad-hero-copy {max-width: 95%; padding-inline: 16px;}
    .ad-pulse-icon {display: none;}
    .ad-shortcut-list small {font-size: 9px;}
    .ad-section-head h2 {font-size: 19px;}
    .ad-shortcut-list a > .icon {display: none;}
}
