/* ============ Sukan Genco 2026 — tema jersi (biru royal → hijau mint) ============ */
:root {
  --navy: #071e3d;
  --navy-2: #0b2d5c;
  --blue: #1553d6;
  --blue-2: #2f7bf6;
  --mint: #43e0b0;
  --mint-2: #7fe9c9;
  --teal: #0fa48a;
  --gold: #ffc93c;
  --silver: #c9d6e5;
  --bronze: #e08e45;
  --ink: #eaf2ff;
  --ink-dim: rgba(234, 242, 255, 0.65);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-2: rgba(255, 255, 255, 0.14);
  --stroke: rgba(255, 255, 255, 0.16);
  --radius: 18px;
  --shadow: 0 18px 50px rgba(4, 16, 38, 0.45);
  font-size: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(67, 224, 176, 0.35), transparent 60%),
    radial-gradient(700px 500px at -10% 20%, rgba(47, 123, 246, 0.4), transparent 55%),
    linear-gradient(160deg, #071e3d 0%, #0d3d8f 38%, #1553d6 62%, #0fa48a 100%);
  background-attachment: fixed;
  position: relative;
}

/* corak garis serong seperti jersi */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    -55deg,
    rgba(7, 30, 61, 0.14) 0px,
    rgba(7, 30, 61, 0.14) 2px,
    transparent 2px,
    transparent 14px
  );
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(22px, 3vw, 48px) 70px;
}

/* ============ Nav ============ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 10px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand img { height: 46px; width: auto; }

.brand .brand-name {
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.1;
}

.brand .brand-name small {
  display: block;
  font-weight: 400;
  font-size: 0.68rem;
  color: var(--ink-dim);
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.nav-pills {
  display: flex;
  gap: 6px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px;
  backdrop-filter: blur(14px);
  flex-wrap: wrap;
}

.nav-pills a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-pills a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.1); }

.nav-pills a.active {
  background: linear-gradient(135deg, var(--blue-2), var(--mint));
  color: #04122b;
  font-weight: 600;
}

.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--glass);
  backdrop-filter: blur(14px);
  transition: all 0.25s ease;
}

.btn-admin:hover { background: var(--glass-2); transform: translateY(-1px); }

/* ============ Hero (video landing, sticky scroll) ============ */
.hero-scroll { position: relative; height: 200vh; }

.js-scrub .hero-inner > * {
  opacity: 0;
  transform: translateY(34px);
  will-change: opacity, transform;
}

.js-scrub .hero-shade { opacity: 0; will-change: opacity; }

.hero {
  position: sticky;
  top: 18px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  margin-top: 18px;
  padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 60px);
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(7, 30, 61, 0.94) 0%,
    rgba(7, 30, 61, 0.78) 38%,
    rgba(21, 83, 214, 0.35) 72%,
    rgba(67, 224, 176, 0.18) 100%
  );
}

.hero-inner { position: relative; z-index: 2; max-width: 660px; }

/* desktop: hero sentiasa nisbah 16:7 */
@media (min-width: 961px) {
  .hero { aspect-ratio: 16 / 7; min-height: 0; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.9rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
}

.hero h1 .grad {
  background: linear-gradient(100deg, #ffffff 10%, var(--mint-2) 55%, var(--mint) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .tagline {
  margin-top: 14px;
  color: var(--ink-dim);
  font-size: 1rem;
  max-width: 46ch;
}

.hero-chips { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 500;
}

.chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: pulse 1.6s infinite;
}

@keyframes pulse { 50% { opacity: 0.35; } }

.countdown {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.count-box {
  min-width: 84px;
  text-align: center;
  padding: 14px 12px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.count-box b {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(120deg, #fff, var(--mint-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.count-box span {
  font-size: 0.68rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ============ Bahagian ============ */
section { padding-top: 54px; }

.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }

.sec-head h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.3px; }

.sec-head p { color: var(--ink-dim); font-size: 0.85rem; }

.card {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

/* ============ Podium (bar menegak, sticky scrub) ============ */
.podium-scroll { position: relative; height: 220vh; }

.podium-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.podium-track {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(12px, 3vw, 30px);
  height: 430px;
}

.pod-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  width: clamp(96px, 24vw, 230px);
}

.pod-label { text-align: center; }

.pod-label .pod-place {
  display: block;
  font-style: normal;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 5px;
}

.p-first .pod-label .pod-place { color: var(--gold); }

.pod-label b { display: block; font-size: 1.05rem; font-weight: 700; line-height: 1.2; }

.pod-label span {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--mint-2);
}

.p-first .pod-label b { font-size: 1.25rem; }

.p-first .pod-label span { color: var(--gold); font-size: 1.35rem; }

.pod-bar {
  width: 100%;
  height: 300px;
  border-radius: 16px 16px 0 0;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(47, 123, 246, 0.9), rgba(13, 61, 143, 0.95));
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 16px;
  position: relative;
  overflow: hidden;
}

.p-second .pod-bar { height: 210px; }
.p-third .pod-bar { height: 150px; }

.pod-rank {
  font-size: 2.1rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 8px rgba(4, 16, 38, 0.4);
}

.p-first .pod-bar {
  background: linear-gradient(180deg, #ffd75e 0%, #e5a71f 55%, #bd7f0b 100%);
}

.p-first .pod-rank { color: #4a3400; text-shadow: none; }

.p-second .pod-bar {
  background: linear-gradient(180deg, #eef3f8 0%, #b9c8d8 55%, #8ba0b6 100%);
}

.p-second .pod-rank { color: #26384a; text-shadow: none; }

.p-third .pod-bar {
  background: linear-gradient(180deg, #f3b271 0%, #cd7f32 55%, #96551d 100%);
}

.p-third .pod-rank { color: #3d2205; text-shadow: none; }

/* sinaran semua bar */
.pod-bar::after {
  content: "";
  position: absolute;
  inset: -60% -70%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.6) 50%, transparent 58%);
  transform: translateX(-130%);
  pointer-events: none;
}

.pod-col.lit .pod-bar::after { animation: pod-shine 2.4s ease-in-out infinite; }

.p-first.lit .pod-bar { animation: pod-glow 1.8s ease-in-out infinite alternate; }
.p-second.lit .pod-bar { animation: pod-glow-s 2s ease-in-out infinite alternate; }
.p-third.lit .pod-bar { animation: pod-glow-b 2s ease-in-out infinite alternate; }

@keyframes pod-shine {
  0% { transform: translateX(-130%); }
  55%, 100% { transform: translateX(130%); }
}

@keyframes pod-glow {
  from { box-shadow: 0 0 24px rgba(255, 201, 60, 0.3); }
  to { box-shadow: 0 0 65px rgba(255, 201, 60, 0.75); }
}

@keyframes pod-glow-s {
  from { box-shadow: 0 0 18px rgba(201, 214, 229, 0.25); }
  to { box-shadow: 0 0 45px rgba(201, 214, 229, 0.6); }
}

@keyframes pod-glow-b {
  from { box-shadow: 0 0 18px rgba(224, 142, 69, 0.25); }
  to { box-shadow: 0 0 45px rgba(224, 142, 69, 0.6); }
}

/* keadaan awal apabila scrub aktif (JS kawal nilai sebenar) */
body.js-pod .pod-bar { height: 0; }
body.js-pod .pod-rank { opacity: 0; }
body.js-pod .pod-label { opacity: 0; transform: translateY(16px); }

/* ============ Leaderboard ============ */
.board-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }

.table-card { padding: 8px 4px; overflow-x: auto; }

table { width: 100%; border-collapse: collapse; min-width: 720px; }

td.sport-pts { color: var(--ink-dim); font-size: 0.82rem; }

thead th {
  font-size: 0.68rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 600;
  text-align: left;
  padding: 14px 14px 10px;
}

thead th.num, td.num { text-align: center; }

tbody tr { transition: background 0.2s ease; }

tbody tr:hover { background: rgba(255, 255, 255, 0.06); }

tbody tr.top1 { background: linear-gradient(90deg, rgba(255, 201, 60, 0.16), transparent 70%); }

tbody td {
  padding: 12px 14px;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
  font-size: 0.82rem;
}

tr.top1 .rank-badge { background: var(--gold); color: #3a2a00; }
tr.top2 .rank-badge { background: var(--silver); color: #24303d; }
tr.top3 .rank-badge { background: var(--bronze); color: #3d1f05; }

.team-cell { display: flex; align-items: center; gap: 12px; }

.team-logo {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.team-cell .t-name { font-weight: 600; line-height: 1.2; }

.team-cell .t-sub { color: var(--ink-dim); font-size: 0.7rem; }

td .pts-strong { font-weight: 800; font-size: 1rem; color: var(--mint-2); }

.medal-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  padding: 3px 7px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
}

.medal-pill.g { background: rgba(255, 201, 60, 0.2); color: var(--gold); }
.medal-pill.s { background: rgba(201, 214, 229, 0.18); color: var(--silver); }
.medal-pill.b { background: rgba(224, 142, 69, 0.2); color: var(--bronze); }

/* ============ Sidebar keputusan ============ */
.side-col { display: flex; flex-direction: column; gap: 16px; }

.side-card { padding: 18px; }

.side-card h3 {
  font-size: 0.78rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 14px;
}

.result-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.result-row .side-team { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }

.result-row .side-team .team-logo { width: 32px; height: 32px; font-size: 0.62rem; }

.result-row .side-team span { font-size: 0.68rem; font-weight: 600; line-height: 1.15; }

.result-row .score { font-size: 1.15rem; font-weight: 800; white-space: nowrap; }

.result-row .score small { color: var(--ink-dim); font-weight: 400; margin: 0 4px; }

.result-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.65rem;
  color: var(--ink-dim);
}

.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  background: rgba(67, 224, 176, 0.16);
  color: var(--mint-2);
}

.tag.live { background: rgba(255, 90, 90, 0.2); color: #ff9c9c; }

.medal-feed-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
}

.medal-feed-row:last-child { border-bottom: none; }

.medal-feed-row .ic { font-size: 1.2rem; }

.medal-feed-row .who b { display: block; font-size: 0.82rem; }

.medal-feed-row .who span { color: var(--ink-dim); font-size: 0.7rem; }

.empty-note {
  color: var(--ink-dim);
  font-size: 0.82rem;
  text-align: center;
  padding: 22px 10px;
}

/* ============ Sukan (kad imej penuh) ============ */
.sport-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

.sport-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sport-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(4, 16, 38, 0.6); }

.sport-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 43, 0) 30%, rgba(4, 18, 43, 0.55) 58%, rgba(4, 18, 43, 0.94) 100%);
}

.sport-body { position: relative; z-index: 2; padding: 18px; width: 100%; }

.sport-card h3 { font-size: 1.1rem; font-weight: 700; }

.sport-card .fmt { color: rgba(234, 242, 255, 0.82); font-size: 0.74rem; margin-top: 8px; line-height: 1.5; }

.sport-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

.sport-chips span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--mint-2);
}

.sport-btn {
  display: block;
  margin-top: 14px;
  background: #ffffff;
  color: #0a2647;
  border-radius: 999px;
  text-align: center;
  padding: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  transition: filter 0.2s ease;
}

.sport-card:hover .sport-btn { filter: brightness(0.92); }

.sport-card .new-badge {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  background: linear-gradient(120deg, var(--mint), var(--blue-2));
  color: #04122b;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ============ Jadual ============ */
.timeline { position: relative; padding-left: 26px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-2), var(--mint));
  border-radius: 2px;
}

.tl-item { position: relative; padding: 0 0 22px 20px; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -24px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--mint);
  border: 3px solid var(--navy-2);
  box-shadow: 0 0 12px rgba(67, 224, 176, 0.6);
}

.tl-item .tl-date { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mint-2); }

.tl-item h4 { font-size: 0.95rem; font-weight: 600; margin: 4px 0; }

.tl-item p { color: var(--ink-dim); font-size: 0.78rem; line-height: 1.5; }

/* ============ Footer ============ */
footer {
  margin-top: 70px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--ink-dim);
  font-size: 0.75rem;
}

/* ============ Admin ============ */
.pin-gate {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-card { padding: 40px 36px; text-align: center; max-width: 380px; width: 100%; }

.pin-card img { height: 64px; margin-bottom: 16px; }

.pin-card h2 { font-size: 1.2rem; margin-bottom: 6px; }

.pin-card p { color: var(--ink-dim); font-size: 0.82rem; margin-bottom: 20px; }

.pin-card input {
  width: 100%;
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: 12px;
  font-weight: 700;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  outline: none;
  font-family: inherit;
}

.pin-card input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(67, 224, 176, 0.2); }

.pin-error { color: #ff9c9c; font-size: 0.78rem; margin-top: 12px; min-height: 1.2em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--glass-2);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-1px); }

.btn.primary {
  background: linear-gradient(135deg, var(--blue-2), var(--mint));
  color: #04122b;
  border: none;
}

.btn.primary:hover { filter: brightness(1.08); }

.btn.danger { background: rgba(255, 90, 90, 0.16); color: #ffb4b4; border-color: rgba(255, 90, 90, 0.3); }

.btn.small { padding: 6px 12px; font-size: 0.72rem; border-radius: 9px; }

.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

#admin-app { padding-top: 32px; }

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }

.admin-tabs button {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--glass);
  color: var(--ink-dim);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-tabs button.active {
  background: linear-gradient(135deg, var(--blue-2), var(--mint));
  color: #04122b;
  border-color: transparent;
}

.admin-panel { padding: 22px; }

.admin-panel h3 { font-size: 1rem; margin-bottom: 4px; }

.admin-panel .hint { color: var(--ink-dim); font-size: 0.78rem; margin-bottom: 18px; }

.admin-table { min-width: 100%; }

.admin-table td, .admin-table th { padding: 8px 6px; }

.admin-table input, .admin-table select, .form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(4, 18, 43, 0.4);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.82rem;
  outline: none;
}

.admin-table input:focus, .admin-table select:focus, .form-row input:focus, .form-row select:focus {
  border-color: var(--mint);
}

.admin-table select option, .form-row select option { background: var(--navy-2); }

.admin-table input.narrow { width: 64px; text-align: center; }

.form-row { display: grid; gap: 6px; margin-bottom: 14px; }

.form-row label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--ink-dim); }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }

.toolbar { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

.save-status { font-size: 0.78rem; color: var(--mint-2); min-height: 1.2em; margin-top: 10px; }

.save-status.err { color: #ff9c9c; }

.notice {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(67, 224, 176, 0.1);
  border: 1px solid rgba(67, 224, 176, 0.25);
  color: var(--mint-2);
  font-size: 0.78rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.notice.warn { background: rgba(255, 201, 60, 0.1); border-color: rgba(255, 201, 60, 0.3); color: #ffe1a1; }

/* ============ Responsif ============ */
@media (max-width: 960px) {
  .hero { text-align: center; }
  .hero-inner { margin: 0 auto; }
  .hero .tagline { margin-left: auto; margin-right: auto; }
  .hero-chips, .countdown { justify-content: center; }
  .hero-shade { background: linear-gradient(180deg, rgba(7, 30, 61, 0.85), rgba(7, 30, 61, 0.72)); }
  .board-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* kad sukan: swipe kiri/kanan */
  .sport-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sport-grid::-webkit-scrollbar { display: none; }
  .sport-grid .sport-card {
    flex: 0 0 80%;
    max-width: 320px;
    scroll-snap-align: center;
  }
}

@media (max-width: 640px) {
  .podium-scroll { height: 180vh; }
  .podium-track { height: 280px; gap: 10px; }
  .pod-label b { font-size: 0.88rem; }
  .pod-label span { font-size: 0.95rem; }
  .p-first .pod-label b { font-size: 1rem; }
  .p-first .pod-label span { font-size: 1.1rem; }
  .nav { justify-content: center; }
  .nav-pills a { padding: 7px 11px; font-size: 0.76rem; }
  .hero-scroll { height: 180vh; }
  .hero { min-height: 540px; align-items: flex-end; padding-bottom: 40px; top: 12px; }
  .hero-shade {
    background: linear-gradient(180deg, rgba(7, 30, 61, 0.45) 0%, rgba(7, 30, 61, 0.62) 45%, rgba(7, 30, 61, 0.92) 100%);
  }
}
