@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/bebas-neue-latin-a7c90c89240c.woff2") format("woff2");
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/rubik-latin-691cd1d9b4c0.woff2") format("woff2");
}
:root {
  --brand-primary: #8703e5;
  --brand-secondary: #36005f;
  --brand-accent: #e100fc;
  --brand-bg: #f4f2f9;
  --brand-surface: #ffffff;
  --brand-text: #141229;
  --brand-muted: #4a4568;
  --brand-border: #dcd3ee;
  --brand-navy: #020331;
  --brand-heading: #8a00ff;
  --brand-magenta: #e100fc;
  --grad-login: linear-gradient(0deg, rgb(162, 0, 255) 0%, rgb(126, 5, 220) 41%, rgb(70, 2, 128) 98%);
  --grad-cta-warm: linear-gradient(0deg, rgb(255, 128, 0) 0%, rgb(255, 7, 0) 44%, rgb(135, 4, 7) 100%);
  --font-body: "Rubik", "Segoe UI", sans-serif;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --content: 1120px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--brand-text);
  background: var(--brand-bg);
}
body.has-conversion-bar { padding-bottom:var(--conversion-bar-height, 128px); }
body.has-conversion-bar :is(a, button, input, select, textarea, summary) { scroll-margin-bottom:calc(var(--conversion-bar-height, 128px) + 12px); }
.conversion-bar {
  position:fixed;
  inset:auto 0 0;
  z-index:30;
  padding:10px 0 calc(8px + env(safe-area-inset-bottom, 0px));
  border-top:1px solid rgba(135,3,229,.14);
  background:rgba(250,248,255,.97);
  box-shadow:0 -5px 24px rgba(54,0,95,.10);
  backdrop-filter:blur(12px);
}
.conversion-bar__inner {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  max-width:var(--content);
  margin:0 auto;
  padding:0 16px;
}
.conversion-bar__link {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:10px 20px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  background:linear-gradient(120deg,#ac2cf1 0%,var(--brand-primary) 48%,#6009ab 100%);
  box-shadow:0 4px 12px rgba(135,3,229,.18);
  color:#fff;
  font-family:var(--font-body);
  font-size:16px;
  font-weight:700;
  line-height:1.3;
  text-decoration:none;
  text-align:center;
  transition:transform .18s ease,box-shadow .18s ease;
}
.conversion-bar__link:focus-visible { outline:3px solid var(--brand-accent); outline-offset:3px; }
.conversion-bar__link:active { transform:translateY(1px); }
.conversion-bar__note { max-width:var(--content); margin:6px auto 0; padding:0 16px; color:#514266; font-size:11px; line-height:1.4; text-align:center; }
@media (hover:hover) and (pointer:fine) {
  .conversion-bar__link:hover { transform:translateY(-1px); box-shadow:0 7px 18px rgba(135,3,229,.27); }
}
@media (max-width:600px) {
  .conversion-bar__inner { gap:10px; padding:0 12px; }
  .conversion-bar__link { min-height:48px; padding:10px 12px; font-size:15px; }
  .conversion-bar__note { padding:0 12px; }
}
@media (prefers-reduced-motion:reduce) { .conversion-bar__link { transition:none; transform:none; } }
a { color: var(--brand-secondary); }
img { max-width: 100%; height: auto; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 8px; }

.site-header {
  background: var(--brand-navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 2px solid var(--brand-magenta);
}
.header-inner {
  max-width: var(--content);
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
}
.brand img { display: block; width: 168px; height: auto; }
.nav-toggle {
  margin-left: auto;
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid var(--brand-magenta);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 20px;
  padding: 6px 12px;
  cursor: pointer;
}
.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 20px;
}
.site-nav a[aria-current="page"] { color: #f0b4ff; }

.wrap { max-width: var(--content); margin: 0 auto; padding: 20px 16px 48px; }
.crumbs { font-size: 13px; color: var(--brand-muted); margin: 0 0 12px; }
.crumbs a { color: var(--brand-muted); }
h1 {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--brand-heading);
}
h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin: 28px 0 10px;
  color: var(--brand-navy);
}
h3 { margin: 0 0 6px; font-size: 18px; }
.lead { margin: 0 0 16px; max-width: 70ch; }
.notice {
  background: #fff8e8;
  border: 1px solid #e6c56a;
  border-radius: 6px;
  padding: 12px 14px;
  margin: 0 0 18px;
  font-size: 14px;
}
.notice strong { color: #6a4a00; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.card {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  padding: 14px;
}
.card a.more { font-weight: 600; }
.meta { color: var(--brand-muted); font-size: 13px; margin: 0; }
.badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-radius: 99px;
  padding: 2px 8px;
  background: #efe7fb;
  color: var(--brand-secondary);
  font-weight: 600;
}
.badge.ft { background: #e7f6ea; color: #0d5c2e; }
.badge.soon { background: #e8f0ff; color: #163a7a; }
.badge.hold { background: #fff1e4; color: #8a3b00; }
.badge.demo { background: #fff4cc; color: #6a4a00; }

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
}
th, td { border-bottom: 1px solid var(--brand-border); text-align: left; padding: 10px 8px; vertical-align: top; }
th { font-size: 13px; color: var(--brand-muted); font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--brand-border); border-radius: 8px; background: #fff; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.filters button, .tz button {
  border: 1px solid var(--brand-border);
  background: #fff;
  border-radius: 99px;
  padding: 6px 12px;
  font-family: var(--font-body);
  cursor: pointer;
}
.filters button[aria-pressed="true"], .tz button[aria-pressed="true"] {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
}
.tz { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; flex-wrap: wrap; }
.kick { font-variant-numeric: tabular-nums; }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 4px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  font-size: 20px;
  color: #fff;
  border: 1px solid transparent;
}
.btn-primary { background: var(--grad-login); }
.btn-warm { background: var(--grad-cta-warm); }
.btn-navy { background: var(--brand-navy); }
.home-actions { margin-top: 12px; }
.home-football-banner {
  position:relative;
  width:100%;
  aspect-ratio:1280 / 852;
  margin:18px 0 20px;
  overflow:hidden;
  border:1px solid var(--brand-border);
  border-radius:14px;
  isolation:isolate;
  background:var(--brand-navy);
}
.home-football-art { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
.home-football-banner::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:radial-gradient(ellipse at top left, rgba(2,3,49,.46) 0%, rgba(2,3,49,.18) 22%, transparent 49%);
  pointer-events:none;
}
.home-football-brand { position:absolute; z-index:2; top:6.5%; left:4.5%; width:28%; max-width:300px; height:auto; filter:drop-shadow(0 3px 10px rgba(2,3,49,.5)); }
.home-data-note { margin: 10px 0 8px; color: var(--brand-muted); font-size: 13px; }
.data-disclosure { margin: 12px 0 18px; }
.data-disclosure summary, .pending-pages summary { cursor: pointer; font-weight: 600; }
.data-disclosure summary { color: var(--brand-secondary); padding: 8px 0; }
.data-disclosure .test-banner { margin-top: 8px; }
summary:focus-visible { outline: 2px solid var(--brand-heading); outline-offset: 3px; }
.btn:focus-visible, .filters button:focus-visible, .nav-toggle:focus-visible, a:focus-visible {
  outline: 2px solid var(--brand-heading);
  outline-offset: 2px;
}

.faq details { background: #fff; border: 1px solid var(--brand-border); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 600; }
form label { display: block; font-weight: 600; margin-top: 10px; }
form input, form textarea, form select {
  width: 100%;
  max-width: 520px;
  font: inherit;
  padding: 8px 10px;
  border: 1px solid var(--brand-border);
  border-radius: 6px;
}
form button { margin-top: 12px; }

.site-footer {
  background: var(--brand-navy);
  color: #d9d4ea;
  padding: 28px 16px 36px;
}
.footer-inner { max-width: var(--content); margin: 0 auto; }
.site-footer a { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; list-style: none; margin: 12px 0; }
.fine { font-size: 13px; max-width: 80ch; }
.pending-pages { font-size: 13px; margin: 16px 0; }
.pending-pages ul { padding-left: 20px; }
.pending-pages li { margin: 6px 0; }
.test-banner {
  background: #efe7fb;
  border: 1px solid var(--brand-border);
  border-radius: 6px;
  padding: 10px 12px;
  margin: 0 0 14px;
  font-size: 14px;
}
.empty-state {
  background: #fff;
  border: 1px dashed var(--brand-border);
  border-radius: 8px;
  padding: 14px;
}
.history-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.history-filters input {
  font: inherit;
  border: 1px solid var(--brand-border);
  border-radius: 6px;
  padding: 6px 8px;
}

@media (max-width: 800px) {
  h1 { font-size: 40px; }
  .grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .header-inner { flex-wrap: wrap; }
  .site-nav ul { flex-direction: column; padding: 8px 0 12px; }
}

@media (max-width: 600px) {
  .home-football-banner { border-radius:12px; }
  .home-page h1 { font-size: 34px; line-height: 1.05; }
  .home-page .lead { font-size: 15px; line-height: 1.55; }
  .home-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .home-actions .btn { min-width: 0; padding: 6px 8px; font-size: 18px; line-height: 1.25; letter-spacing: 0.02em; }
  .home-actions .btn:last-child { grid-column: 1 / -1; }
}

@media (max-width: 360px) {
  .home-page h1 { font-size: 32px; }
  .home-actions .btn { font-size: 16px; }
}
.data-status { margin: 16px 0; padding: 10px 14px; border-left: 3px solid var(--brand-primary, #8703e5); background: #faf8fc; color: #393047; font-size: 13px; line-height: 1.5; }
.data-status p { margin: 0 0 4px; }
.data-status details { margin: 0; }
.data-status summary { cursor: pointer; }
.data-status time { white-space: normal; }
@media(max-width:600px) { .data-status { padding: 8px 10px; font-size: 12px; } }
.platform-info { margin: 24px 0; }
.platform-disabled:disabled { opacity: 1; background: #e9e4ef; color: #51425e; border: 1px solid #b6a6c7; cursor: not-allowed; box-shadow: none; transform: none; }
.platform-info .meta { overflow-wrap: anywhere; }
.watch-faq { margin: 12px 0; padding: 12px 14px; border: 1px solid var(--brand-border); border-radius: 10px; background: var(--brand-surface); }
.watch-faq summary { cursor: pointer; font-weight: 600; }
.watch-faq p { margin-bottom: 0; }
@media(max-width:600px) { .platform-disabled { width: 100%; white-space: normal; min-height: 48px; } }
.league-context { margin: 20px 0; }
.team-context-list { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-left: 20px; }
.team-context-list li { max-width: 100%; overflow-wrap: anywhere; }
.watch-faq, #biaya-menonton { scroll-margin-top: 100px; }
.team-crest { display: inline-flex; width: 24px; height: 24px; flex: 0 0 24px; align-items: center; justify-content: center; vertical-align: middle; overflow: hidden; border-radius: 4px; background: #fff; }
.team-crest img { display: block; width: 100%; height: 100%; object-fit: contain; }
.team-crest img[hidden], .crest-fallback[hidden] { display: none; }
.crest-fallback { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #645879; background: #eeeaf4; font: 600 10px/1 "Segoe UI",sans-serif; }
.team-crest.crest-large { width: 64px; height: 64px; margin: 8px 0; }
.crest-large .crest-fallback { font-size: 20px; }
.team-name { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
.team-name h3 { margin: 0; overflow-wrap: anywhere; min-width: 0; }
.match-teams { display:grid; gap:4px; width:100%; max-width:360px; min-width:0; text-decoration:none; }
.match-team { display:grid; grid-template-columns:24px minmax(0,1fr); align-items:center; gap:7px; min-width:0; justify-self:center; width:fit-content; max-width:100%; }
.match-team__name { grid-column:2; min-width:0; overflow-wrap:anywhere; line-height:1.4; text-align:center; }
a.match-teams .match-team__name { text-decoration:underline; text-underline-offset:2px; }
.match-teams .team-crest { grid-column:1; margin:0; }
.match-versus { display:block; justify-self:center; color:var(--brand-muted); font-size:11px; font-weight:600; line-height:1.2; letter-spacing:.06em; }
.match-date { display:block; margin-top:6px; }
.match-teams--detail { margin:8px 0; font-weight:600; }
.match-score { font-weight:600; }
.fixture-freshness { display:block; max-width:36ch; margin-top:6px; font-size:12px; font-weight:400; line-height:1.5; color:var(--brand-muted); white-space:normal; }
.fixture-freshness[hidden] { display:none; }
.policy-review { padding:12px 14px; border-left:3px solid var(--brand-primary); background:var(--brand-surface); }
.competition-heading, .competition-label { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
.competition-heading h3 { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.competition-heading { gap: 12px; }
.competition-heading .competition-logo { width: 44px; height: 44px; flex-basis: 44px; }
.competition-label { gap: 5px; }
.competition-label > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.competition-label .competition-logo { width: 18px; height: 18px; flex-basis: 18px; }
.competition-logo { padding: 2px; box-sizing: border-box; }
.competition-logo-large { width: 48px; height: 48px; flex-basis: 48px; margin: 4px 0 12px; }
.competition-logo-dark { background: var(--brand-navy, #020331); }
/* Competition and observed-record navigation: existing brand tokens, no JS. */
.page-subnav { display:flex; flex-wrap:wrap; gap:10px; margin:20px 0; }
.page-subnav a { padding:10px 14px; border:1px solid var(--brand-primary,#8703e5); border-radius:10px; text-decoration:none; }
.page-subnav a[aria-current="page"] { background:var(--brand-secondary,#36005f); color:#fff; }
.page-subnav a:focus-visible { outline:3px solid var(--brand-accent,#e100fc); outline-offset:3px; }
.fact-list { display:grid; gap:10px; }
.fact-list > div { display:grid; grid-template-columns:minmax(140px,1fr) minmax(0,2fr); gap:16px; padding:10px 0; border-bottom:1px solid var(--brand-border,#dcd3ee); }
.fact-list dt { font-weight:600; }
.fact-list dd { margin:0; overflow-wrap:anywhere; }
@media(max-width:600px) { .page-subnav a { flex:1 1 160px; text-align:center; } .fact-list > div { grid-template-columns:1fr; gap:4px; } }
.archive-coverage { margin:24px 0; }
.archive-coverage h2 { font-size:22px; margin:0 0 8px; }
.archive-coverage p { margin:8px 0; }
.archive-coverage details, .archive-memberships { margin:12px 0; }
.archive-memberships summary { padding:8px 0; }
.archive-selection { display:block; max-width:620px; margin:16px 0; }
.archive-selection select { width:100%; min-height:44px; margin-top:6px; }
.archive-outline { display:flex; flex-wrap:wrap; gap:10px 18px; margin:20px 0; }
.archive-outline a { padding:8px 0; }
.observed-team-links { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:10px 20px; padding-left:20px; }
.observed-team-links li { overflow-wrap:anywhere; }
.observed-team-links [hidden], [data-team-directory] [hidden], [data-archive-view] [hidden] { display:none !important; }
.archive-directory-controls { display:flex; flex-wrap:wrap; gap:16px; margin:20px 0; }
.archive-directory-controls label { flex:1 1 240px; max-width:500px; }
.archive-directory-controls input, .archive-directory-controls select { display:block; width:100%; min-height:44px; margin-top:6px; }
.archive-selection select, .archive-directory-controls input, .archive-directory-controls select { border:1px solid var(--brand-border); border-radius:10px; padding:10px 12px; background:var(--brand-surface); color:var(--brand-text); font:inherit; }
.archive-selection select:focus-visible, .archive-directory-controls :is(input,select):focus-visible, .archive-outline a:focus-visible { outline:3px solid var(--brand-accent); outline-offset:3px; }

/* Archive queries: reuse the existing palette and leave home CTAs unchanged. */
.query-summary { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; margin:12px 0; }
.query-summary p { margin:0; }
.query-summary button { min-height:44px; padding:8px 12px; border:1px solid var(--brand-border); border-radius:10px; color:var(--brand-secondary); background:#fff; font:inherit; cursor:pointer; }
.query-summary button:focus-visible { outline:3px solid var(--brand-accent); outline-offset:3px; }
.filter-error { color:#8a2500; }
.listing-coverage { margin:16px 0; }
.related-matches { margin:20px 0; }
.match-data-limits { margin:20px 0; }
.match-data-limits summary { padding:8px 0; cursor:pointer; }
.competition-scope, .league-connections { margin:18px 0; }
.competition-scope summary, .league-connections summary { cursor:pointer; padding:8px 0; font-weight:600; }
.competition-scope ul { list-style:none; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:16px; }
.competition-scope li { padding:12px; border:1px solid var(--brand-border); border-radius:8px; background:var(--brand-surface); overflow-wrap:anywhere; }
.competition-scope li p { margin:6px 0 0; }
.league-connections li { margin:8px 0; overflow-wrap:anywhere; }
.content-source-links { margin-top:24px; font-size:14px; }
[data-archive-view] [id], #sumber-data, #laporan-materi { scroll-margin-top:calc(var(--header-h) + 24px); }
@media (max-width:600px) {
  .match-table, .match-table tbody { display:block; width:100%; }
  .match-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .match-table tr { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px 12px; padding:12px; border-bottom:1px solid var(--brand-border); }
  .match-table tr[hidden] { display:none; }
  .match-table td { display:block; width:auto; min-width:0; border:0; padding:0; }
  .match-table td[data-label="Status"] { grid-column:1; grid-row:1; display:flex; flex-direction:column; align-items:flex-start; gap:4px; }
  .match-table td[data-label="Status"] > br { display:none; }
  .match-table .competition-label a { min-width:0; overflow-wrap:anywhere; }
  .match-table td[data-label="Kick-off"] { grid-column:2; grid-row:1; text-align:right; white-space:nowrap; font-size:14px; font-weight:600; }
  .match-table td[data-label="Kick-off"]::before { display:block; content:'Kick-off'; color:var(--brand-muted); font-size:12px; font-weight:400; }
  .match-table td[data-label="Pertandingan"] { grid-column:1 / -1; grid-row:2; }
  .match-table .match-teams { max-width:none; }
  .match-table td[data-label="Skor"] { grid-column:1 / -1; font-weight:600; font-variant-numeric:tabular-nums; }
  .match-table td[data-label="Skor"]::before { content:'Skor: '; color:var(--brand-muted); font-weight:400; }
  .match-table td[colspan] { grid-column:1 / -1; }
  .match-team { grid-template-columns:22px minmax(0,1fr); gap:6px; }
  .match-teams .team-crest { width:22px; height:22px; }
}
