@charset "UTF-8";
:root {
  color-scheme: dark;
  --background: #172b3c;
  --header: #101923;
  --panel: #162734;
  --inset: #101e2a;
  --line: #385065;
  --text: #edf4f9;
  --muted: #b2c6d5;
  --link: #9dd5f5;
  --accent: #e2c47c;
  font: 16px/1.55 "Barlow", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse 90% 42rem at 60% 0, #2b4861, transparent), var(--background); color: var(--text); }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { color: white; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { line-height: 1.18; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(1.7rem, 3vw, 2.65rem); margin: .4rem 0 1.25rem; max-width: 1120px; }
h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h3 { font-size: 1.1rem; }
p + p { margin-top: .85em; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.mast { background: var(--header); border-bottom: 1px solid #2a3c4e; position: sticky; z-index: 2; top: 0; }
.head { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: .85rem; position: relative; }
.logo { display: inline-flex; align-items: center; font-weight: 850; letter-spacing: .08em; color: white; text-decoration: none; font-size: 1.08rem; white-space: nowrap; }
.logo span { color: #8fabc1; }
.logo i { width: 25px; height: 16px; display: inline-block; margin-right: .55rem; border: 2px solid var(--accent); border-radius: 50%; box-shadow: inset 0 0 0 3px var(--header), inset 0 0 0 4px var(--accent); transform: rotate(-15deg); }
#nav { display: flex; gap: clamp(.55rem, 1.4vw, 1.35rem); }
#nav a { color: #cfdeea; text-decoration: none; font-size: .88rem; font-weight: 600; white-space: nowrap; }
#nav a:hover,#nav a[aria-current] { color: #fff; text-decoration: underline; }
[data-menu] { display: none; }
main { padding-block: 1.35rem 3rem; }
.skip { position: fixed; left: 1rem; top: -8rem; z-index: 4; background: var(--header); padding: .6rem; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid #f4d78f; outline-offset: 3px; }
[id] { scroll-margin-top: 5.5rem; }
.crumb { display: flex; gap: .6rem; font-size: .84rem; color: var(--muted); margin-bottom: .6rem; }
.home-lead { margin-bottom: 1.25rem; }
.home-lead h1 { margin-bottom: .5rem; }
.showcase { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: .85rem; background: #10202d; padding: .7rem; border: 1px solid #40596e; box-shadow: 0 12px 36px #08121b55; }
.feature-media { background: var(--inset); position: relative; min-width: 0; display: flex; flex-direction: column; }
.feature-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: 50% 57%; }
figcaption { display: flex; justify-content: space-between; gap: .6rem; padding: .65rem .85rem; font-size: .83rem; color: var(--muted); background: #0b1721; }
.summary { display: flex; flex-direction: column; align-items: flex-start; background: #1a2e3e; padding: .9rem; gap: .9rem; }
.summary-head { display: grid; background: linear-gradient(125deg, #243c52, #101e2a 80%); padding: .95rem; border-bottom: 2px solid #a98c51; width: 100%; }
.summary-head strong { font-size: clamp(1.35rem, 2.8vw, 2.25rem); letter-spacing: .015em; line-height: 1.15; margin-top: .45rem; }
.summary-head strong span { color: var(--accent); }
.summary p,.section p,.foot p { color: var(--muted); }
.meta { color: var(--muted); font-size: .81rem; }
.mini { display: grid; align-items: center; grid-template-columns: 1fr auto; gap: .1rem 1rem; width: 100%; padding: .7rem; background: var(--inset); border-left: 2px solid var(--accent); }
.mini span { color: var(--accent); font-size: .82rem; }
.mini strong,.score strong { font: 700 1.65rem/1.1 "Courier New",monospace; white-space: nowrap; }
.mini small { color: var(--muted); grid-column: 1 / -1; }
.tags { display: flex; gap: .35rem; flex-wrap: wrap; }
.tags span { background: #26445a; color: #c4e4f7; padding: .17rem .5rem; font-size: .75rem; }
.launch { background: linear-gradient(100deg,#34556d,#233c50); margin: .85rem 0 1.35rem; border: 1px solid #4a6170; padding: .85rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem; font-size: .88rem; }
button,.button,select,input { font: inherit; border-radius: 3px; }
button,.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: .45rem .75rem; background: #233f55; color: #ebf5fc; border: 1px solid #557188; text-decoration: none; font-size: .87rem; font-weight: 650; cursor: pointer; }
button:hover:not(:disabled),.button:hover { background: #365972; }
.primary { color: #152019; background: #ddbf75; border-color: #f2d58a; }
.primary:hover:not(:disabled) { background: #f3d68d; color: #152019; }
button:disabled { opacity: .52; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 1.2rem; align-items: start; }
.rail { border: 1px solid var(--line); background: var(--panel); padding: .9rem; display: grid; position: sticky; top: 86px; }
.rail h2 { font-size: 1rem; margin-bottom: .55rem; }
.rail a { font-size: .86rem; padding: .55rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.section { margin-bottom: 1.55rem; }
.section h2 { padding: .58rem 0; border-bottom: 1px solid #58758b; margin-bottom: .85rem; }
.section h3 { margin: .3rem 0; }
.reading { max-width: 790px; }
.reading .section a,.reading > a { display: inline-block; margin-top: .7rem; }
.match-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(245px, 1fr); gap: .7rem; align-items: start; }
.arena,.match-aside,.timeline,.guide article,.game-card { background: var(--panel); border: 1px solid var(--line); }
.score { padding: .65rem .4rem; display: grid; grid-template-columns: 1fr auto 1fr; gap: .55rem; align-items: center; text-align: center; font-size: .84rem; }
.score > span:first-child { color: #e3ff66; }
.score > span:last-child { color: #8ad9ff; }
.score time { display: block; color: var(--muted); font: .8rem/1.3 "Courier New",monospace; margin-top: .25rem; }
canvas { display: block; width: 100%; height: auto; background: #19543f; }
.pitch-foot { display: flex; justify-content: space-between; gap: .4rem; padding: .55rem .65rem; font-size: .81rem; }
.pitch-foot > :first-child { color: var(--accent); }
.match-aside,.timeline { padding: .75rem; }
.options,.filters { display: grid; gap: .55rem; }
.options { grid-template-columns: repeat(2,minmax(0,1fr)); margin: .5rem 0; }
label { color: var(--muted); font-size: .83rem; min-width: 0; }
input,select { display: block; color: var(--text); width: 100%; margin-top: .18rem; min-height: 44px; padding: .35rem .42rem; border: 1px solid #557188; background: var(--inset); font-size: .875rem; }
.stats { margin: .75rem 0 0; display: grid; gap: .15rem; }
.stats div { display: flex; justify-content: space-between; font-size: .8rem; gap: .3rem; }
.stats dd { margin: 0; font-variant-numeric: tabular-nums; }
meter { display: block; width: 100%; height: .75rem; accent-color: #e3ff66; }
meter::-webkit-meter-bar { background: #4492bb; border: 0; }
meter::-webkit-meter-optimum-value { background: #bbd557; }
.timeline { margin-top: .65rem; }
.timeline ol { margin: .5rem 0 0; padding-left: 1.5rem; max-height: 14rem; overflow: auto; }
details { border-top: 1px solid var(--line); margin-top: .45rem; }
details p,details a { margin: 0 .1rem .7rem; }
summary { cursor: pointer; color: var(--link); padding: .55rem .1rem; min-height: 44px; }
.guide { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; }
.guide article { padding: .6rem; font-size: .9rem; }
.diagram { background: var(--inset); color: var(--accent); display: grid; place-content: center; text-align: center; min-height: 72px; line-height: 1.25; }
.filters { grid-template-columns: 1.25fr 1fr 1fr auto; align-items: end; margin: .85rem 0 .4rem; }
.game-card { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: .75rem; padding: .65rem; margin-top: .55rem; }
.game-card[hidden] { display: none; }
.game-art { min-height: 80px; align-self: start; display: grid; place-items: center; background: repeating-linear-gradient(90deg,#1e5944 0 12px,#25684e 12px 24px); color: #fff5d2; font: 800 1.55rem/1 system-ui; }
.game-art.klasik { background: linear-gradient(130deg,#77542f,#2c2420); }
.game-art.variasi { background: linear-gradient(130deg,#395573,#1e303c); }
table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .87rem; }
caption { text-align: left; font-weight: 700; margin-bottom: .35rem; }
td,th { text-align: left; padding: .5rem; border: 1px solid var(--line); overflow-wrap: anywhere; }
thead { background: var(--inset); }
footer { background: var(--header); border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.3rem; padding-block: 1.5rem; font-size: .86rem; }
.foot > div { margin-right: auto; }
@media (max-width: 1020px) {
  .columns { grid-template-columns: minmax(0,1fr); }
  .rail { display: none; }
  [data-menu] { display: inline-flex; }
  #nav { display: none; position: absolute; right: 0; top: 100%; width: min(100%,300px); background: var(--header); border: 1px solid var(--line); padding: .4rem .8rem; }
  [data-menu][aria-expanded=true] + #nav { display: grid; gap: 0; }
  #nav a { padding: .65rem .4rem; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 1.5rem); }
  .head { min-height: 60px; }
  .showcase,.match-layout { grid-template-columns: minmax(0,1fr); }
  .showcase { padding: .45rem; gap: .45rem; }
  .summary { padding: .65rem; gap: .65rem; }
  .summary-head { padding: .62rem; }
  .guide { grid-template-columns: 1fr; }
  .guide article { display: grid; grid-template-columns: minmax(90px, .4fr) 1fr; gap: .25rem .65rem; }
  .diagram { grid-row: span 2; }
  .filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .game-card { grid-template-columns: 60px minmax(0,1fr); gap: .55rem; }
  .game-art { min-height: 60px; font-size: 1.1rem; }
  .launch { align-items: flex-start; }
}

.brand-mark { width: min(100%, 300px); height: auto; }
.match-badge { display: inline-flex; align-items: center; gap: .4rem; }
.match-badge img { width: 22px; height: 22px; }
canvas { cursor: pointer; }
.pitch-player { border-top: 1px solid var(--line); padding: .5rem .65rem; font-size: .83rem; }
.rosters { background: var(--panel); border: 1px solid var(--line); padding: 0 .75rem; margin-top: .65rem; }
.rosters > summary { font-weight: 650; }
.lineups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem .85rem; margin-bottom: .75rem; }
.lineups section { min-width: 0; }
.lineups h4 { margin: 0 0 .25rem; font-size: .95rem; }
.lineups ol { list-style: none; margin: .48rem 0 0; padding: 0; display: grid; gap: 2px; }
.lineups button { width: 100%; display: flex; justify-content: flex-start; gap: .45rem; text-align: left; background: var(--inset); border: 1px solid var(--line); }
.lineups button[aria-pressed="true"] { border-color: var(--accent); background: #284254; }
.lineups button span { color: #e3ff66; font-variant-numeric: tabular-nums; width: 1.55em; flex: none; text-align: center; }
.lineups section + section button span { color: #8ad9ff; }
@media (max-width: 560px) {
  .lineups { grid-template-columns: 1fr; }
  .score > span { overflow-wrap: anywhere; }
}
