/* AppDooball · public site */
:root {
  color-scheme: dark;
  --ad-night: #080b12;
  --ad-surface: #101621;
  --ad-panel: #141d2a;
  --ad-line: #283448;
  --ad-blue: #2458ff;
  --ad-blue-light: #8cafff;
  --ad-lemon: #edff53;
  --ad-muted: #a6b2c5;
  --font: 'App Thai',Tahoma,sans-serif;
  --display: 'Barlow Condensed','Arial Narrow',Arial,var(--font);
  --bg: var(--ad-night);
  --panel: var(--ad-surface);
  --panel2: var(--ad-panel);
  --line: var(--ad-line);
  --muted: var(--ad-muted);
  --text: #f3f6fc;
  --gold: var(--ad-lemon);
  --gold-bright: #f3ff8a;
  --red: var(--ad-blue);
  --red-dark: #19398e;
}
.shell { width: min(1220px, calc(100% - 64px)); }
body { background: var(--ad-night); }
::selection { color: #101600; background: var(--ad-lemon); }
:focus-visible { outline: 2px solid var(--ad-lemon); outline-offset: 3px; }
.skip-link:focus { z-index: 1000; }

.app-header {
  position: relative;
  z-index: 20;
  background: #0a0e16;
  border-bottom: 1px solid #242d3c;
}
.app-header-inner { display: flex; align-items: center; gap: clamp(20px,3vw,48px); min-height: 79px; }
.app-brand { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; color: #fff; }
.app-brand img { width: 46px; height: 46px; object-fit: contain; }
.app-wordmark {
  display: inline-flex;
  align-items: baseline;
  font: italic 800 32px/.94 'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  letter-spacing: -.9px;
}
.app-wordmark b { color: var(--ad-lemon); font-weight: inherit; }
.app-desktop-nav { display: flex; align-items: stretch; justify-content: center; gap: clamp(13px,1.7vw,27px); align-self: stretch; flex: 1; }
.app-desktop-nav a { display: inline-flex; align-items: center; white-space: nowrap; position: relative; color: #b9c1d0; font-size: 13px; font-weight: 600; }
.app-desktop-nav a::after { position: absolute; content: ''; right: 20%; left: 20%; bottom: 0; height: 3px; background: var(--ad-lemon); transform: scaleX(0); transition: transform .2s; }
.app-desktop-nav a:is(:hover,[aria-current]) { color: white; }
.app-desktop-nav a[aria-current]::after { transform: scaleX(1); }
.app-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.app-header-watch { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #4272ff; border-radius: 6px; background: #1c44cd; color: #fff; padding: 8px 14px 8px 11px; min-height: 40px; white-space: nowrap; font-size: 13px; font-weight: 650; transition: background-color .18s, border-color .18s; }
.app-header-watch .icon { width: 17px; height: 17px; color: var(--ad-lemon); }
.app-header-watch:hover { background: #2c56df; border-color: #84a6ff; }
.app-mobile-menu { display: none; }
.app-mobile-menu summary { cursor: pointer; display: grid; place-items: center; width: 42px; height: 42px; padding: 8px; list-style: none; border: 1px solid #334052; border-radius: 6px; color: #e4eafa; background: #121922; }
.app-mobile-menu summary::-webkit-details-marker { display: none; }
.app-mobile-menu summary .icon { width: 20px; height: 20px; }
.app-mobile-menu:not([open]) .menu-close, .app-mobile-menu[open] .menu-open { display: none; }
.app-mobile-menu nav { position: absolute; z-index: 25; inset: calc(100% + 1px) 0 auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; padding: 12px max(16px,calc((100% - 900px)/2)); background: #101723; border-bottom: 1px solid #3b4c68; box-shadow: 0 15px 30px #01040db3; }
.app-mobile-menu nav a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 13px; border-radius: 4px; color: #d5dfef; font-size: 14px; }
.app-mobile-menu nav a .icon { width: 13px; height: 13px; color: #6c84a6; }
.app-mobile-menu nav a:is(:hover,[aria-current]) { color: var(--ad-lemon); background: #1b2940; }

.app-footer { background: #0b0f17; border-color: #222d40; }
.app-footer-body { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding-block: 42px 33px; }
.app-footer p { font-size: 13px; color: var(--ad-muted); line-height: 1.9; margin: 11px 0 0; }
.app-footer-nav { display: flex; gap: clamp(35px,6vw,95px); }
.app-footer-nav > div { display: grid; gap: 7px; align-content: start; }
.app-footer-nav a { color: #c4cede; font-size: 13px; }
.app-footer-nav a:hover { color: var(--ad-lemon); }
.app-footer-bottom { border-top: 1px solid #232c3b; padding-block: 17px 24px; display: flex; justify-content: space-between; gap: 10px 22px; flex-wrap: wrap; color: #95a2b7; font-size: 11px; }

/* Page introductions and editorial reading */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; white-space: nowrap; overflow: hidden; clip-path: inset(50%); border: 0; }
body[data-menu-heading="1"] > .page-main { padding-top: 28px; }
.page-main > .page-heading {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 158px;
  padding: clamp(22px,3vw,40px);
  border-radius: 10px;
  border: 1px solid #293951;
  background: linear-gradient(100deg,#101724 2%,#121e33 52%,#11274c 100%);
  margin: 0 0 24px;
}
.page-main > .page-heading::before { content: ''; position: absolute; z-index: -1; inset: 0 0 0 49%; pointer-events: none; background: repeating-linear-gradient(118deg,transparent 0 32px,#688cff13 33px 34px,transparent 35px 53px),linear-gradient(130deg,transparent 40%,#215aff30); mask-image: linear-gradient(90deg,transparent,#000); }
.page-main > .page-heading > .eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; color: #adc5ff; font-size: 12px; line-height: 1; letter-spacing: 1.8px; }
.page-main > .page-heading > .eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--ad-lemon); }
.page-main > .page-heading h1 { font-size: clamp(28px,3.1vw,45px); line-height: 1.38; font-weight: 800; color: white; margin: 0; letter-spacing: -.6px; }
.page-main > .page-heading > p { max-width: 76ch; color: #bfccdf; font-size: 15px; line-height: 1.8; margin-top: 7px; }
.page-main > .page-heading + section { margin-top: 0; }
.page-main > .page-heading > .live-heading-row { column-gap: 18px; }
.home-article, .content-guide { border: 1px solid var(--ad-line); border-radius: 10px; background: #0f151f; box-shadow: none; }
.home-article-heading, .content-guide-heading { border: 0; border-bottom: 1px solid var(--ad-line); padding: clamp(22px,4vw,44px); background: linear-gradient(105deg,#182440,#111925 78%); }
.home-article-heading h2, .content-guide-heading h2 { font-weight: 750; font-size: clamp(22px,2.4vw,34px); line-height: 1.5; color: white; max-width: 62ch; }
.home-article-heading > p, .content-guide-heading p { color: #bccae0; font-size: 15px; line-height: 1.85; max-width: 78ch; }
.home-article-body, .content-guide-body { padding: clamp(22px,4vw,44px); }
.home-article-body p, .content-guide-body p, .home-article-body li, .content-guide-body li { max-width: 80ch; font-size: 15px; line-height: 1.95; color: #bcc8d8; }
.home-article-body h3, .content-guide-body h3 { margin: 28px 0 9px; font-size: clamp(18px,1.7vw,23px); line-height: 1.55; color: #f6f8fd; }
.home-article-body > :first-child, .content-guide-body > :first-child { margin-top: 0; }
.home-article-body a, .content-guide a { color: #e7fa78; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #778434; }
.home-article-body a:hover, .content-guide a:hover { color: #fff; }
.api-role-note { border-color: #344764; border-left-color: var(--ad-blue-light); background: #141e30; }
.content-guide-body strong { color: #f7f8fd; }
.section-heading .eyebrow, .eyebrow { color: var(--ad-blue-light); }
.text-link, .page-bottom-link a, .scoreboard-bottom a { color: var(--ad-lemon); }

/* Live listing and match information */
.match-card, a.match-card, .channel-card, .news-card, .insight-card {
  border-color: var(--ad-line);
  background: linear-gradient(150deg,#182231,#101621);
}
a.match-card:hover, .channel-card:hover, .news-card:hover, .insight-card:hover { border-color: #5475b9; }
a.match-card.is-live, body[data-page] .match-card.is-live {
  border-color: #365584;
  border-left: 3px solid var(--ad-blue-light);
  background: radial-gradient(ellipse at 68% -90%,#315ad3 0,transparent 68%),linear-gradient(110deg,#142133,#101723);
}
a.match-card::before { background: var(--ad-blue-light); }
.match-card-top { color: #b7c6d9; }
.match-card-bottom { border-color: #2b3750; background: #0c121d9e; }
.match-card-kickoff .kickoff-time, .football-score-row .score-kickoff .kickoff-time { color: #f2f6ff; }
.match-card :is(.watch-link,.detail-link), .channel-card > span:last-child { color: var(--ad-lemon); }
.team-mark > span { border-color: #3a5077; background: radial-gradient(circle at 36% 20%,#2b4777,#111a2a 85%); color: #d7e6ff; }
.football-score-row .score-action, .score-action { color: var(--ad-lemon); background: #232c27; border-color: #485531; }
.button.red, .button.primary { border-color: #eaff6a; color: #131800; background: var(--ad-lemon); box-shadow: none; }
.button.secondary { background: #192336; border-color: #374964; color: #e6ecf8; }
.status-tabs button, .date-tabs button, .date-tabs a, .search-input, .league-select select, .channel-toolbar .search-input { background: #111924; border-color: #334055; color: #c4d0e3; }
.status-tabs button.active, .date-tabs > .active { border-color: #637ac1; color: #fff; background: #20335a; }
.date-tabs > .active > span { color: #cbd9ff; }
.football-day-range, .broadcast-group-heading { border-color: #2f405a; background: linear-gradient(110deg,#182439,#101821); }
.football-day-range [data-football-day-label], .broadcast-group-heading h3 { color: #e0eaff; }
.football-day-title, .football-day-range > small, .broadcast-group-heading > span { color: #b3c1d8; }
.scoreboard, .score-row, .broadcast-group .scoreboard { border-color: #273348; background-color: var(--ad-surface); }
.score-team strong, .score-number { color: #f3f7ff; }
.channel-card.selected { background: #192b47; border-color: #6389d1; }
.channel-toolbar h2 > span { color: var(--ad-lemon); }
.feed-notice, .content-footnote { background: #131e2e; border-color: #2e405b; color: #c3d1e7; }
.empty-state, .content-empty { border-color: #30405a; background: #101721; }
.empty-state > .icon, .content-empty > svg { color: #93acde; }
.empty-state p, .content-empty p { color: #a8b6cd; }
.score-sound-controls .score-sound-toggle, .player-source-controls select, .player-caption button, .player-pin { border-color: #40577d; color: #d9e6ff; background: #17243b; }
.score-sound-controls .score-sound-toggle[aria-pressed="true"] { color: var(--ad-lemon); border-color: #74834b; }
.match-breadcrumb-current { flex-wrap: wrap; }
.match-breadcrumb-current .match-page-title { color: #e3ecfa; font-size: clamp(14px,1.6vw,18px); line-height: 1.6; margin: 0; min-width: 0; overflow-wrap: anywhere; }
.match-detail-heading { border-color: #334667; background: linear-gradient(120deg,#101825f5 4%,#142446e6 60%,#0c1e33b8),url('app-pitch.webp') center / cover; }
.match-detail-league, .player-section-heading, .chat-heading, .chat-score-heading { border-color: #2b3b52; background: #111c2b; }
.player-section-heading h2, .detail-score > div, .chat-score-number, .live-chat .chat-line > strong { color: #f0f5ff; }
.player-source-controls label, .match-state-label, .player-section-heading > span { color: var(--ad-blue-light); }
.video-stage .match-state-card { border-color: #2c3e5f; background: radial-gradient(ellipse at 50% -45%,#1a376d,transparent 70%),#111722; }
.video-stage .match-state-card .player-cover-icon { color: var(--ad-lemon); background: #1c2940; border-color: #3d587e; box-shadow: none; }
.video-stage .match-state-card h3, .chat-heading h2 { color: #f6f8ff; }
.video-stage .match-state-card p, .match-state-kickoff { color: #b6c4d9; }
.match-state-card:before, .match-state-card:after { border-color: #3754803b; }
.live-chat, .channel-player, .watch-stage, .chat-controls { border-color: #29364a; background-color: #0e1621; }
body .insight-tab[aria-selected="true"], body .player-pin[aria-pressed="true"] { color: #efff8b; border-color: #5b7599; background: #1a2c49; }
body .insight-team-heading, body .insight-subheading { color: #dbe8ff; }
.home-floating-close { color: #eef5ff; background: #162238; }
.toast { color: #edf3ff; background: #14223a; border-color: #5777a8; }
body .player-backup-button { color: #dce6f6; border-color: #3d4e6b; background: #151f2d; }
body .player-backup-button[aria-pressed="true"] { border-color: #879dd0; color: #f4ff9a; background: #21395e; }

/* Football news, previews and highlights */
.content-toolbar, .highlight-heading, .tips-league-heading, .content-list-meta { border-color: #30415b; background: linear-gradient(100deg,#19263b,#111925); }
.content-list-meta, .tips-league-heading { border-left-color: var(--ad-blue); }
.content-select select, .content-search, .tips-league-filter select, .content-reset { border-color: #344661; color: #e0e9f9; background: #111a27; }
.content-search > svg, .highlight-heading > a, .news-category, .tip-tv, .news-readmore, .content-note-icon { color: var(--ad-blue-light); }
.news-featured-tag, .news-category > span, .tips-league-count, .favorite-badge, .content-list-meta > span { border-color: #415377; background: #16253b; color: #c6d9ff; }
.content-indicator, .content-guide-heading .eyebrow::before { background: var(--ad-lemon); }
.tips-league-heading h2, .highlight-heading h2, .tip-time strong, .content-empty h2, .news-card h2, .highlight-fallback h3 { color: #f3f7ff; }
.tips-league-heading p, .news-summary, .content-footnote p { color: #b4c0d3; }
.content-list-meta strong, .tip-team.is-favorite > strong { color: var(--ad-lemon); }
.tip-card { border-color: #2c3e59; background: linear-gradient(110deg,#142036,#10223b); }
.tip-card:hover { border-color: #5475a9; }
.tip-card::before { background-image: url('tips-pitch.svg'); opacity: .19; }
.tip-card::after { background: linear-gradient(90deg,#121a28ed,#121c2ebe 50%,transparent); }
.tips-league-icon, .highlight-play, .highlight-fallback-icon { color: var(--ad-lemon); border-color: #3e5375; background: #22344f; }
.tip-odds, .tip-opinion { border-color: #2c3a50; }
.news-image-placeholder, .news-media.is-image-missing { background: linear-gradient(115deg,#101a32,#233f75); }
.highlight-frame-shell, .highlight-fallback { border-color: #334462; }
.content-spinner { border-color: #374968; border-top-color: var(--ad-lemon); }

@media (max-width: 1100px) {
  .shell { width: min(1220px,calc(100% - 40px)); }
  .app-header-inner { gap: 20px; }
  .app-desktop-nav { gap: 13px; }
  .app-desktop-nav a { font-size: 12px; }
}
@media (max-width: 940px) {
  .app-header-inner { min-height: 67px; }
  .app-desktop-nav { display: none; }
  .app-mobile-menu { display: block; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 32px); }
  .app-header-inner { min-height: 64px; gap: 10px; }
  .app-brand { gap: 6px; }
  .app-brand img { width: 38px; height: 38px; }
  .app-wordmark { font-size: clamp(21px,5.4vw,28px); letter-spacing: -.8px; }
  .app-header-actions { gap: 6px; }
  .app-header-watch { min-height: 38px; padding: 7px 10px 7px 8px; font-size: 12px; gap: 4px; }
  .app-mobile-menu summary { width: 38px; height: 38px; }
  .app-footer-body { padding-block: 26px; flex-direction: column; gap: 22px; }
  .app-footer-nav { gap: 35px; }
  .app-footer-nav a { padding-block: 3px; }
  .app-footer p { font-size: 12px; }
  body[data-menu-heading="1"] > .page-main { padding-top: 16px; }
  .page-main > .page-heading { min-height: 0; padding: 19px 17px; margin-bottom: 18px; }
  .page-main > .page-heading > p { font-size: 13px; }
  .page-main > .page-heading .live-heading-row { flex-wrap: wrap; gap: 8px; }
  .home-article-body p, .content-guide-body p, .home-article-body li, .content-guide-body li { font-size: 14px; }
  .page-main .empty-state :is(p,h3), .feed-notice, .scoreboard-bottom { font-size: 12px; }
  .page-main .empty-state h3 { font-size: 15px; }
  .channel-card > strong { font-size: 12px; }
  .channel-card > span:last-child { font-size: 10px; }
  .filter-tools input, .content-search input { font-size: 16px; }
}
@media (max-width: 350px) {
  .app-header-inner { gap: 7px; }
  .app-header .app-brand { gap: 4px; }
  .app-header .app-brand img { width: 31px; height: 31px; }
  .app-header .app-wordmark { font-size: 18px; }
  .app-header-watch { padding-inline: 6px 8px; }
  .app-header-actions { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
