/* ==========================================================================
   Lawan Tanding — Design System (lawantanding.com)
   Dibuat 20 Sep 2026. Menggantikan css/styles.css yang lama.

   Arah desain: terang & bersih, kerapatan informasi ala FotMob (tabel
   klasemen/peringkat, kartu pertandingan) dipadu rail kartu mendatar ala
   Vidio Sports, dengan aksen hijau Lawan Tanding.

   Isi berkas ini: token warna/jarak/radius, primitif (tombol, badge, kartu,
   tabel, tab, rail), kerangka halaman (nav, hero, footer), dan skeleton
   loading -- SEMUA halaman publik memakai berkas yang sama.
   ========================================================================== */

/* ---------- TOKEN ---------- */
:root {
  --brand:      #018A6C;
  --brand-600:  #017256;
  --brand-700:  #015A44;
  --brand-50:   #E8F5F1;
  --brand-100:  #CDEAE1;

  --ink:    #0B1220;
  --ink-2:  #475467;
  --ink-3:  #8A94A6;
  --ink-4:  #B4BCC9;

  --bg:      #F5F7F6;
  --surface: #FFFFFF;
  --surface-2:#FAFBFB;
  --line:    #E6EAE8;
  --line-2:  #F0F3F1;

  --win:  #0E9F6E;
  --draw: #98A2B3;
  --lose: #E5484D;
  --live: #E5484D;
  --gold: #E9A23B;

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(11,18,32,.05);
  --sh-2: 0 4px 16px rgba(11,18,32,.06);
  --sh-3: 0 12px 32px rgba(11,18,32,.10);

  --nav-h: 66px;
  --wrap: 1200px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Plus Jakarta Sans', 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.22; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0 0 12px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 60; height: var(--nav-h);
  background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav-brand img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.nav-brand b { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 600;
  color: var(--ink-2); transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--line-2); color: var(--ink); }
.nav-links a.active { background: var(--brand-50); color: var(--brand-700); }
.nav-cta { flex: 0 0 auto; }
.nav-burger {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: var(--r-sm); width: 40px; height: 40px; cursor: pointer;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  display: block; width: 17px; height: 2px; background: var(--ink); border-radius: 2px;
  margin-inline: auto; position: relative; content: '';
}
.nav-burger span::before { position: absolute; top: -5px; }
.nav-burger span::after { position: absolute; top: 5px; }
@media (max-width: 900px) {
  .nav-burger { display: block; }
  .nav-links, .nav-cta { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 2px; position: absolute;
    top: var(--nav-h); left: 0; right: 0; background: var(--surface);
    border-bottom: 1px solid var(--line); padding: 10px 20px 16px; margin: 0;
    box-shadow: var(--sh-2);
  }
  .nav.open .nav-cta { display: block; position: absolute; top: calc(var(--nav-h) + 250px); left: 20px; right: 20px; }
}

/* ---------- TOMBOL ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-size: 14.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background .16s, border-color .16s, color .16s, transform .16s, box-shadow .16s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(1,138,108,.24); }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 10px 24px rgba(1,138,108,.3); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-4); background: var(--surface-2); }
.btn-sm { padding: 8px 15px; font-size: 13.5px; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------- BADGE ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px;
  border-radius: var(--r-pill); font-size: 11.5px; font-weight: 700;
  letter-spacing: .01em; white-space: nowrap;
}
.badge-brand { background: var(--brand-50); color: var(--brand-700); }
.badge-muted { background: var(--line-2); color: var(--ink-2); }
.badge-live  { background: #FDECEC; color: var(--live); }
.badge-live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--live);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .3 } }
.badge-gold { background: #FDF3E3; color: #9A6614; }

/* Warna tipe kompetisi -- SAMA dengan panel admin & app (aturan 16 Sep 2026) */
.tipe { color: #fff; }
.tipe-ku, .tipe-kelompok_umur { background: #1565C0; }
.tipe-pelajar     { background: #42A5F5; }
.tipe-undi        { background: #7B1FA2; }
.tipe-lokal       { background: #2E7D32; }
.tipe-semi_open   { background: #EF6C00; }
.tipe-open        { background: #C62828; }
.tipe-lt_zona     { background: #2E7D32; }
.tipe-lt_champions{ background: #212121; }

/* ---------- KARTU & SEKSI ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.section { padding: 46px 0; }
.section-sm { padding: 30px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.section-head h2 { font-size: 24px; }
.section-head .sub { color: var(--ink-2); font-size: 14px; margin: 5px 0 0; }
.link-more { color: var(--brand); font-weight: 700; font-size: 14px; display: inline-flex; gap: 5px; align-items: center; }
.link-more:hover { color: var(--brand-700); }

/* ---------- RAIL (gulir mendatar, pola Vidio) ---------- */
.rail { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.rail > * { scroll-snap-align: start; flex: 0 0 auto; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.rail::-webkit-scrollbar-track { background: transparent; }

/* ---------- LOGO TIM ---------- */
.crest {
  width: 34px; height: 34px; border-radius: 9px; object-fit: cover; flex: 0 0 auto;
  background: var(--line-2); border: 1px solid var(--line);
}
.crest-fb {
  width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700);
  font-weight: 800; font-size: 13px; border: 1px solid var(--brand-100);
}
.crest-lg, .crest-fb.crest-lg { width: 54px; height: 54px; border-radius: 14px; font-size: 19px; }
.crest-sm, .crest-fb.crest-sm { width: 26px; height: 26px; border-radius: 7px; font-size: 11px; }

/* ---------- TABEL ---------- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th {
  text-align: left; padding: 11px 12px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr.klik { cursor: pointer; transition: background .12s; }
.tbl tbody tr.klik:hover { background: var(--surface-2); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .mid { text-align: center; font-variant-numeric: tabular-nums; }
.tbl .kuat { font-weight: 700; }
.cell-tim { display: flex; align-items: center; gap: 11px; min-width: 0; }
.cell-tim .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-tim .sub { font-size: 12px; color: var(--ink-3); }

.rankno {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px;
  border-radius: 8px; background: var(--line-2); color: var(--ink-2);
  font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.rankno-1 { background: #FDF3E3; color: #9A6614; }
.rankno-2 { background: #F1F3F5; color: #5C6470; }
.rankno-3 { background: #FBEFE6; color: #A45B22; }

/* ---------- TAB / FILTER ---------- */
.tabs, .sheet-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.tabs button, .sheet-tabs button {
  padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: .15s;
}
.tabs button:hover, .sheet-tabs button:hover { border-color: var(--ink-4); }
.tabs button[aria-selected="true"], .sheet-tabs button[aria-selected="true"] {
  background: var(--brand); border-color: var(--brand); color: #fff;
}

.field {
  padding: 10px 13px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); font: inherit; font-size: 14px; color: var(--ink); min-width: 0;
}
.field:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search { position: relative; flex: 1 1 240px; }
.search .field { width: 100%; padding-left: 38px; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }

/* ---------- SKELETON & KOSONG ---------- */
.skel { background: linear-gradient(90deg, var(--line-2) 25%, #E9EDEB 37%, var(--line-2) 63%);
  background-size: 400% 100%; animation: shimmer 1.3s ease infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 100% 50% } 100% { background-position: 0 50% } }
.skel-row { height: 46px; margin-bottom: 8px; border-radius: 10px; }
.kosong { padding: 40px 20px; text-align: center; color: var(--ink-3); font-size: 14.5px; }
.kosong b { display: block; color: var(--ink-2); font-weight: 700; margin-bottom: 4px; font-size: 15px; }

/* ---------- FOOTER ---------- */
.ft { background: var(--surface); border-top: 1px solid var(--line); padding: 44px 0 26px; margin-top: 40px; }
.ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .ft-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 520px) { .ft-grid { grid-template-columns: 1fr; } }
.ft h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 12px; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { margin-bottom: 9px; }
.ft a { color: var(--ink-2); font-size: 14px; }
.ft a:hover { color: var(--brand); }
.ft-about p { color: var(--ink-2); font-size: 14px; max-width: 38ch; }
.ft-bot {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--ink-3); font-size: 13px;
}

/* ==========================================================================
   BAGIAN 2 — KOMPONEN KHUSUS HALAMAN
   ========================================================================== */

/* ---------- HERO BERANDA ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 56px; background: var(--surface); }
.hero::before {
  content: ''; position: absolute; inset: -40% -10% auto -10%; height: 90%;
  background: radial-gradient(60% 60% at 25% 35%, rgba(1,138,108,.10), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 34px; } }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: 17.5px; color: var(--ink-2); margin: 16px 0 26px; max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.hero-stats { display: flex; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats div { min-width: 84px; }
.hero-stats .n { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero-stats .l { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }

.phone {
  position: relative; width: 268px; margin-inline: auto; border-radius: 34px; padding: 9px;
  background: linear-gradient(160deg, #16211C, #0B1220); box-shadow: var(--sh-3);
}
.phone img { border-radius: 26px; width: 100%; }
.phone::after {
  content: ''; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 20px; border-radius: 0 0 12px 12px; background: #0B1220;
}
.play-badge img { height: 52px; width: auto; }

/* ---------- KARTU PERTANDINGAN ---------- */
.match {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--line-2);
}
.match:last-child { border-bottom: 0; }
.match-side { display: flex; align-items: center; gap: 10px; min-width: 0; }
.match-side.kanan { flex-direction: row-reverse; text-align: right; }
.match-side .nm { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-side.menang .nm { font-weight: 800; }
.match-mid { text-align: center; min-width: 76px; }
.skor {
  font-size: 18px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  background: var(--line-2); border-radius: 9px; padding: 3px 10px; display: inline-block;
}
.skor.belum { color: var(--ink-3); font-size: 13px; font-weight: 700; background: transparent; }
.match-meta { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }

/* ---------- KARTU KOMPETISI (rail) ---------- */
.komp-card {
  width: 268px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.komp-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--brand-100); }
.komp-top {
  height: 104px; display: grid; place-items: center; position: relative;
  background: linear-gradient(135deg, var(--brand-50), #F3F8F6);
  border-bottom: 1px solid var(--line);
}
.komp-top .crest, .komp-top .crest-fb { width: 60px; height: 60px; border-radius: 16px; font-size: 21px; }
.komp-top .badge { position: absolute; top: 10px; left: 10px; }
.komp-body { padding: 14px 16px 16px; }
.komp-body h3 { font-size: 15.5px; line-height: 1.35; margin-bottom: 6px; }
.komp-body .meta { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 6px; flex-wrap: wrap; }
.komp-body .meta span::after { content: '·'; margin-left: 6px; color: var(--ink-4); }
.komp-body .meta span:last-child::after { content: ''; }

/* ---------- BERITA ---------- */
.hl { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; }
@media (max-width: 900px) { .hl { grid-template-columns: 1fr; } }
.hl-side { display: flex; flex-direction: column; gap: 14px; }

.artikel { display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .18s, box-shadow .18s, border-color .18s; }
.artikel:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--brand-100); }
.artikel-img { position: relative; aspect-ratio: 16/9; background: var(--line-2); overflow: hidden; }
/* Sampul cadangan saat berita belum punya foto: garis diagonal tipis +
   monogram, jauh lebih enak dilihat daripada blok warna kosong. */
.sampul-kosong {
  width: 100%; height: 100%; display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(1,138,108,.06) 0 10px, transparent 10px 20px),
    linear-gradient(135deg, var(--brand-50), #EFF6F4);
}
.sampul-kosong span {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--brand-100); color: var(--brand);
  font-weight: 800; font-size: 19px; letter-spacing: -0.04em; box-shadow: var(--sh-1);
}
.artikel-mini .sampul-kosong span { width: 34px; height: 34px; border-radius: 11px; font-size: 13px; }
.artikel-utama .sampul-kosong span { width: 66px; height: 66px; border-radius: 19px; font-size: 23px; }
.artikel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.artikel:hover .artikel-img img { transform: scale(1.04); }
.artikel-img .badge { position: absolute; top: 12px; left: 12px; }
.artikel-body { padding: 16px 18px 18px; }
.artikel-body h3 { font-size: 17px; line-height: 1.34; margin-bottom: 7px; }
.artikel-body p { color: var(--ink-2); font-size: 14px; margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.artikel-meta { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }

.artikel-utama .artikel-img { aspect-ratio: 16/10; }
.artikel-utama .artikel-body { padding: 20px 22px 22px; }
.artikel-utama .artikel-body h3 { font-size: 24px; letter-spacing: -0.025em; }
.artikel-utama .artikel-body p { font-size: 15px; -webkit-line-clamp: 3; }

.artikel-mini { display: grid; grid-template-columns: 116px 1fr; gap: 0; align-items: stretch; }
.artikel-mini .artikel-img { aspect-ratio: auto; height: 100%; }
.artikel-mini .artikel-body { padding: 12px 14px; }
.artikel-mini .artikel-body h3 { font-size: 14.5px; -webkit-line-clamp: 3;
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.artikel-mini .artikel-body p { display: none; }

.grid-artikel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-artikel { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid-artikel { grid-template-columns: 1fr; } }

/* ---------- ARTIKEL PENUH ---------- */
.baca { max-width: 760px; margin-inline: auto; }
.baca h1 { font-size: clamp(27px, 4.4vw, 40px); letter-spacing: -0.03em; margin-bottom: 14px; }
.baca .ringkas { font-size: 18px; color: var(--ink-2); margin-bottom: 18px; }
.baca-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  color: var(--ink-3); font-size: 13.5px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.baca-sampul { margin: 24px 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.baca-isi { font-size: 16.5px; line-height: 1.8; color: #27303F; }
.baca-isi p { margin: 0 0 18px; }
.baca-isi h2 { font-size: 22px; margin: 30px 0 12px; }
.baca-isi h3 { font-size: 18px; margin: 24px 0 10px; }
.baca-isi ul, .baca-isi ol { margin: 0 0 18px; padding-left: 24px; }
.baca-isi li { margin-bottom: 8px; }
.baca-isi img { border-radius: var(--r); margin: 20px 0; }
.baca-isi a { color: var(--brand); text-decoration: underline; }
.baca-isi blockquote {
  margin: 22px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--brand);
  color: var(--ink-2); font-style: italic;
}

/* ---------- PANEL DETAIL (tim & kompetisi) ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 90; display: none;
  background: rgba(11,18,32,.42); backdrop-filter: blur(3px);
}
.sheet.open { display: block; }
.sheet-in {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(720px, 100%);
  background: var(--bg); box-shadow: var(--sh-3); display: flex; flex-direction: column;
  animation: slideIn .24s cubic-bezier(.22,.61,.36,1);
}
@keyframes slideIn { from { transform: translateX(28px); opacity: .4 } to { transform: none; opacity: 1 } }
.sheet-head {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: var(--surface); border-bottom: 1px solid var(--line); flex: 0 0 auto;
}
.sheet-head h2 { font-size: 19px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-head .sub { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.sheet-close {
  width: 38px; height: 38px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; display: grid; place-items: center; flex: 0 0 auto;
}
.sheet-close:hover { background: var(--line-2); }
.sheet-tabs { display: flex; gap: 6px; padding: 12px 20px; background: var(--surface);
  border-bottom: 1px solid var(--line); overflow-x: auto; flex: 0 0 auto; }
.sheet-body { flex: 1; overflow-y: auto; padding: 20px; }
.sheet-body > .card { padding: 4px 0; margin-bottom: 16px; }
.sheet-body > .card > h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-3); padding: 14px 16px 6px; }

.info-grid { display: grid; grid-template-columns: 150px 1fr; gap: 0; }
.info-grid dt { padding: 10px 16px; font-size: 13.5px; color: var(--ink-3); border-bottom: 1px solid var(--line-2); }
.info-grid dd { padding: 10px 16px; margin: 0; font-size: 14.5px; font-weight: 600; border-bottom: 1px solid var(--line-2); }
.info-grid dt:last-of-type, .info-grid dd:last-of-type { border-bottom: 0; }
@media (max-width: 520px) { .info-grid { grid-template-columns: 1fr; }
  .info-grid dt { border-bottom: 0; padding-bottom: 0; } }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px 16px; }
.stat-row > div { text-align: center; background: var(--surface-2); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 12px 6px; }
.stat-row .n { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat-row .l { font-size: 11px; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- HALAMAN: HEADER SEKSI ---------- */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 34px 0 28px; }
.page-head h1 { font-size: clamp(26px, 3.6vw, 36px); }
.page-head p { color: var(--ink-2); margin: 8px 0 0; max-width: 62ch; }

/* ---------- GRID TIM ---------- */
.grid-tim { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; }
.tim-card {
  display: flex; align-items: center; gap: 13px; padding: 14px 16px; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  cursor: pointer; transition: .16s; width: 100%; font: inherit;
}
.tim-card:hover { border-color: var(--brand); box-shadow: var(--sh-2); transform: translateY(-2px); }
.tim-card .nm { font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tim-card .sub { font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tim-card .poin { margin-left: auto; text-align: right; flex: 0 0 auto; }
.tim-card .poin .n { font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.tim-card .poin .l { font-size: 10.5px; color: var(--ink-3); font-weight: 700; }
