/* Harta Karun BERSAMA — gabungan sistem reka bentuk BERSAMA (warna, logo, Cabinet Grotesk)
   dan Suara Kesidang (garis komik, bayang keras, kertas, Bungee, label "docket" Courier). */
@import url("https://fonts.googleapis.com/css2?family=Bungee&family=Plus+Jakarta+Sans:wght@400;600;700;800;900&display=swap");
@font-face { font-family: "Cabinet Grotesk"; src: url(/fonts/CabinetGrotesk-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url(/fonts/CabinetGrotesk-Extrabold.woff2) format("woff2"); font-weight: 800 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(/fonts/DMSans-Variable.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }
:root {
  /* BERSAMA */ --kancil-yellow: #eebd00; --rakyat-navy: #202070;
  /* Suara Kesidang */ --paper: #F7F4EB; --panel: #FFFDF5; --yellow-soft: #FEF3C7; --yellow-tint: #FDE68A; --blue-700: #1D4ED8; --blue-soft: #DBEAFE;
  --green-800: #065F46; --green-soft: #D1FAE5; --red-700: #B91C1C; --red-soft: #FEE2E2; --purple-800: #6B21A8; --purple-soft: #F3E8FF; --amber-800: #92400E;
  --ink: #111111; --ink-body: #3b3b4f; --ink-muted: #5f5f73; --white: #fff;
  --stroke-sm: 2px; --stroke-md: 3px; --stroke-lg: 4px;
  --comic-xs: 2px 2px 0 0 var(--rakyat-navy); --comic-sm: 3px 4px 0 0 var(--rakyat-navy); --comic-md: 5px 6px 0 0 var(--rakyat-navy); --comic-lg: 8px 8px 0 0 var(--rakyat-navy);
  --font-shout: Bungee, "Cabinet Grotesk", Impact, sans-serif; --font-display: "Cabinet Grotesk", system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", Arial, sans-serif; --font-docket: "Courier New", Courier, monospace; --font-label: "DM Sans", system-ui, sans-serif;
  --r-lg: 12px; --r-xl: 16px; --r-2xl: 24px; --r-pill: 9999px; --ease: cubic-bezier(.4,0,.2,1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 26px; color: var(--ink); background: var(--paper);
  background-image: radial-gradient(rgba(32,32,112,.07) 1px, transparent 1px); background-size: 18px 18px; }
img { max-width: 100%; }
a { color: var(--rakyat-navy); font-weight: 700; }
h1, h2, h3 { font-family: var(--font-display); color: var(--rakyat-navy); margin: 0 0 16px; }
h1 { font-weight: 900; font-size: 36px; line-height: 40px; }
h2 { font-weight: 900; font-size: 26px; line-height: 32px; margin-top: 40px; }
h3 { font-weight: 800; font-size: 20px; line-height: 28px; }
main { min-height: 60vh; }

/* Butang: pil BERSAMA + garis & bayang komik Suara Kesidang */
.bs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; font-family: var(--font-sans); font-weight: 900; font-size: 14px; line-height: 20px;
  text-transform: uppercase; letter-spacing: .03em; text-decoration: none; border-radius: var(--r-pill); padding: 10px 20px; cursor: pointer;
  border: var(--stroke-md) solid var(--rakyat-navy); box-shadow: var(--comic-sm); background: var(--white); color: var(--rakyat-navy);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s; }
.bs-btn:hover { transform: translate(-1px,-2px); box-shadow: 5px 6px 0 0 var(--rakyat-navy); }
.bs-btn:active { transform: translate(3px,4px); box-shadow: none; }
.bs-btn--lg { font-size: 17px; padding: 14px 26px; }
.bs-btn--yellow { background: var(--kancil-yellow); }
.bs-btn--navy { background: var(--rakyat-navy); color: var(--kancil-yellow); }
.bs-btn--glass { background: var(--white); }
.bs-btn--glass-dark { background: var(--panel); color: var(--rakyat-navy); border-color: var(--kancil-yellow); box-shadow: 3px 4px 0 0 var(--kancil-yellow); }
.bs-btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--blue-700); outline-offset: 3px; }
.bs-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-docket); font-size: 13px; line-height: 16px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  color: var(--rakyat-navy); background: var(--kancil-yellow); border: var(--stroke-sm) solid var(--rakyat-navy); border-radius: 8px; padding: 4px 10px; box-shadow: var(--comic-xs); margin: 0 0 14px; }
.bs-eyebrow::before { content: none; }
.bs-link { font-family: var(--font-docket); font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--rakyat-navy); text-decoration: none;
  border-bottom: 3px solid var(--kancil-yellow); padding-bottom: 2px; }

/* Bar atas */
.hk-nav { position: sticky; top: 0; z-index: 1000; height: 66px; background: var(--kancil-yellow); border-bottom: var(--stroke-md) solid var(--rakyat-navy);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; }
.hk-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.hk-brand img { height: 30px; width: auto; display: block; }
.hk-brand span { font-family: var(--font-shout); font-weight: 400; font-size: 15px; color: var(--rakyat-navy); border-left: 3px solid var(--rakyat-navy); padding-left: 10px; white-space: nowrap; }
.hk-navright { display: flex; align-items: center; gap: 8px; }
.hk-xp { font-family: var(--font-docket); font-weight: 900; font-size: 14px; color: var(--kancil-yellow); background: var(--rakyat-navy); border-radius: var(--r-pill); padding: 6px 12px; text-decoration: none; white-space: nowrap; box-shadow: var(--comic-xs); }
.hk-menu { position: relative; }
.hk-menu summary { list-style: none; cursor: pointer; font-family: var(--font-sans); font-weight: 900; font-size: 13px; text-transform: uppercase; color: var(--rakyat-navy);
  padding: 8px 14px; border-radius: var(--r-pill); background: var(--white); border: var(--stroke-md) solid var(--rakyat-navy); box-shadow: var(--comic-xs); }
.hk-menu summary::-webkit-details-marker { display: none; }
.hk-menu nav { position: absolute; right: 0; top: 54px; background: var(--panel); border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); box-shadow: var(--comic-md);
  padding: 8px; display: flex; flex-direction: column; min-width: 220px; }
.hk-menu nav a { font-weight: 800; font-size: 15px; text-decoration: none; padding: 10px 12px; color: var(--rakyat-navy); border-radius: 10px; }
.hk-menu nav a:hover, .hk-menu nav a[aria-current] { background: var(--yellow-soft); }
.hk-menu nav a.bs-btn { margin-top: 6px; }
@media (min-width: 960px) {
  .hk-menu summary { display: none; }
  details.hk-menu > nav { display: flex !important; position: static; flex-direction: row; align-items: center; border: 0; background: none; padding: 0; min-width: 0; gap: 2px; box-shadow: none; }
  .hk-menu nav a { font-size: 14px; padding: 8px 10px; }
  .hk-menu nav a.bs-btn { margin: 0 0 0 8px; }
}
.hk-banner { background: var(--rakyat-navy); color: var(--kancil-yellow); padding: 10px 16px; font-weight: 800; text-align: center; border-bottom: var(--stroke-md) solid var(--rakyat-navy); }
.hk-banner--warn { background: var(--red-soft); color: var(--red-700); }

/* Bahagian */
.hk-section { padding: 40px 18px; max-width: 880px; margin: 0 auto; }
.hk-section > h2:first-child, .hk-section > h1:first-child { margin-top: 0; }
.hk-narrow { max-width: 540px; }
.hk-section--yellow { max-width: 880px; background: var(--kancil-yellow); border: var(--stroke-lg) solid var(--rakyat-navy); border-radius: var(--r-2xl); box-shadow: var(--comic-lg); margin: 40px auto; width: calc(100% - 32px); padding: 28px 22px; }
.hk-section--yellow p { color: var(--rakyat-navy); font-weight: 600; }
.hk-hero { position: relative; overflow: hidden; background: var(--kancil-yellow); border-bottom: var(--stroke-lg) solid var(--rakyat-navy); padding: 40px 18px 56px; }
.hk-hero > * { position: relative; max-width: 880px; margin-left: auto; margin-right: auto; }
.hk-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(32,32,112,.16) 1.4px, transparent 1.4px); background-size: 16px 16px; }
.hk-hero h1 { font-family: var(--font-shout); font-weight: 400; font-size: 54px; line-height: 54px; text-transform: uppercase; color: var(--rakyat-navy); text-shadow: 4px 4px 0 var(--white); }
@media (min-width: 700px) { .hk-hero h1 { font-size: 92px; line-height: 90px; } }
.hk-hero .hk-lead { color: var(--rakyat-navy); font-weight: 600; background: var(--panel); border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); box-shadow: var(--comic-md); padding: 14px 16px; }
.hk-hero__map { position: absolute !important; right: -30px; top: 20px; font-size: 140px; opacity: .14; transform: rotate(-12deg); pointer-events: none; max-width: none !important; }
.hk-lead { font-size: 19px; line-height: 28px; color: var(--ink-body); }
.hk-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 22px 0; }
.hk-band { padding: 40px 18px; }
.hk-band > * { max-width: 880px; margin-left: auto; margin-right: auto; }
.hk-band--navy { background: var(--rakyat-navy); color: #fff; border-top: var(--stroke-lg) solid var(--rakyat-navy); }
.hk-band--navy h2 { color: var(--kancil-yellow); margin-top: 0; font-family: var(--font-docket); font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.hk-band--navy a:not(.bs-btn) { color: var(--kancil-yellow); }
.hk-band--card { border: var(--stroke-lg) solid var(--rakyat-navy); border-radius: var(--r-2xl); box-shadow: 6px 7px 0 0 var(--kancil-yellow); margin-top: 40px; padding: 24px; }
.hk-big { font-family: var(--font-shout); font-weight: 400; font-size: 52px; line-height: 58px; color: var(--kancil-yellow); margin: 0 0 8px; word-break: break-word; }
.hk-steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.hk-steps li { counter-increment: s; position: relative; background: var(--white); border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); box-shadow: var(--comic-sm); padding: 14px 16px 14px 64px; }
.hk-steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--kancil-yellow); border: var(--stroke-sm) solid var(--rakyat-navy);
  display: grid; place-items: center; font-family: var(--font-shout); color: var(--rakyat-navy); }
.hk-prose p, .hk-prose li { color: var(--ink-body); } .hk-prose h2 { font-size: 21px; line-height: 28px; margin-top: 26px; }

/* Borang */
.hk-form { display: flex; flex-direction: column; gap: 16px; margin: 22px 0; }
.hk-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 800; color: var(--rakyat-navy); }
.hk-form small { font-weight: 500; color: var(--ink-muted); }
.hk-form input, .hk-form select, .hk-form textarea, .hk-inline input { font: inherit; font-weight: 500; color: var(--ink); padding: 12px 14px; border: var(--stroke-md) solid var(--rakyat-navy);
  border-radius: var(--r-lg); background: var(--white); min-height: 48px; width: 100%; box-shadow: inset 2px 2px 0 rgba(32,32,112,.08); }
.hk-form .hk-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--ink); }
.hk-form .hk-check input { width: 22px; min-height: 22px; margin-top: 2px; flex: none; accent-color: var(--rakyat-navy); }
.hk-form > .bs-btn { align-self: flex-start; }
.hk-grid { display: grid; grid-template-columns: 1fr; } @media (min-width: 700px) { .hk-grid { grid-template-columns: 1fr 1fr; } }
.hk-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hk-inline input { flex: 1 1 160px; width: auto; }
.hk-preview { max-width: 220px; border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-lg); }
.hk-msg { position: relative; padding: 14px 16px; border-radius: var(--r-xl); background: var(--white); border: var(--stroke-md) solid var(--rakyat-navy); box-shadow: var(--comic-sm); margin: 18px 0; font-weight: 700; color: var(--rakyat-navy); }
.hk-msg.ok { background: var(--green-soft); color: var(--green-800); }
.hk-msg.err { background: var(--red-soft); color: var(--red-700); }
.hk-note { color: var(--ink-muted); font-size: 14px; line-height: 22px; }
.hk-ok { color: var(--green-800); font-weight: 900; }
.hk-warn { color: var(--red-700); }
.hk-mono { font-family: var(--font-docket); font-weight: 700; }
.hk-break { word-break: break-all; }

/* Statistik "plak" */
.hk-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0; }
@media (min-width: 700px) { .hk-stats { grid-template-columns: repeat(4, 1fr); } }
.hk-stats div { background: var(--rakyat-navy); color: #fff; border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); box-shadow: 4px 5px 0 0 var(--kancil-yellow); padding: 14px;
  font-family: var(--font-docket); font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.hk-stats span { display: block; font-family: var(--font-shout); font-weight: 400; font-size: 32px; line-height: 40px; color: var(--kancil-yellow); letter-spacing: 0; }
.hk-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 16px 0; background: var(--white); border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); box-shadow: var(--comic-sm); overflow: hidden; }
.hk-table th { text-align: left; font-family: var(--font-docket); font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--kancil-yellow); background: var(--rakyat-navy); padding: 10px; }
.hk-table td { border-bottom: 2px solid var(--yellow-soft); padding: 10px; vertical-align: top; }
.hk-table tr:last-child td { border-bottom: 0; }
.hk-table tr.me td { background: var(--yellow-soft); font-weight: 700; } .hk-table tr.flag td { background: var(--yellow-tint); }
.hk-small { font-size: 13px; line-height: 20px; } .hk-scroll { overflow-x: auto; }
.hk-list { padding-left: 20px; }
.hk-medal { font-size: 18px; }

/* Kunci */
.hk-keys { list-style: none; padding: 0; display: grid; gap: 12px; }
.hk-keys li { display: flex; gap: 14px; align-items: center; padding: 12px 14px; background: var(--white); border: var(--stroke-md) dashed var(--rakyat-navy); border-radius: var(--r-xl); color: var(--ink-muted); }
.hk-keys li.has { border-style: solid; background: var(--kancil-yellow); box-shadow: var(--comic-sm); color: var(--rakyat-navy); }
.hk-keys__n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; border: var(--stroke-md) solid var(--rakyat-navy); background: var(--panel); flex: none; filter: grayscale(1); opacity: .6; }
.hk-keys li.has .hk-keys__n { filter: none; opacity: 1; background: var(--white); }
.hk-keys code { font-family: var(--font-docket); font-size: 18px; font-weight: 900; color: var(--rakyat-navy); }

/* Teka-teki sebagai gelembung komik */
.hk-riddle { position: relative; background: var(--white); border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); box-shadow: var(--comic-md); padding: 16px; margin: 26px 0 30px; }
.hk-riddle::after { content: ""; position: absolute; left: 34px; bottom: -11px; width: 18px; height: 18px; background: inherit; border-right: var(--stroke-md) solid var(--rakyat-navy); border-bottom: var(--stroke-md) solid var(--rakyat-navy); transform: rotate(45deg); }
.hk-riddle.done { background: var(--green-soft); }
.hk-riddle__meta { display: inline-block; font-family: var(--font-docket); font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--rakyat-navy); background: var(--kancil-yellow);
  border: var(--stroke-sm) solid var(--rakyat-navy); border-radius: 8px; padding: 2px 8px; margin: 0 0 8px; }
.hk-riddle__text { font-size: 19px; line-height: 29px; font-weight: 600; color: var(--ink); border-top: 2px dashed var(--yellow-tint); padding-top: 10px; }
.hk-card { background: var(--white); border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); box-shadow: var(--comic-sm); padding: 16px; margin: 16px 0; }
.hk-card h2 { margin-top: 0; font-size: 22px; }
.hk-card__row { display: flex; gap: 16px; flex-wrap: wrap; } .hk-card__row > div { flex: 1 1 260px; }
.hk-shot { width: 160px; max-height: 280px; object-fit: contain; border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-lg); background: var(--panel); display: grid; place-items: center; }
.hk-next { font-size: 17px; font-weight: 600; }

/* Gamifikasi: pangkat, bar kemajuan, lencana, misi */
.hk-rank { display: flex; gap: 16px; align-items: center; background: var(--rakyat-navy); color: #fff; border: var(--stroke-lg) solid var(--rakyat-navy); border-radius: var(--r-2xl); box-shadow: 6px 7px 0 0 var(--kancil-yellow); padding: 18px; margin: 18px 0 26px; }
.hk-rank__icon { font-size: 46px; width: 76px; height: 76px; flex: none; display: grid; place-items: center; background: var(--kancil-yellow); border: var(--stroke-md) solid #fff; border-radius: 50%; animation: hkBob 2.4s ease-in-out infinite; }
.hk-rank__body { flex: 1; min-width: 0; }
.hk-rank__lvl { font-family: var(--font-docket); font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow-tint); }
.hk-rank__name { font-family: var(--font-shout); font-size: 24px; line-height: 30px; color: var(--kancil-yellow); }
.hk-bar { height: 18px; background: rgba(255,255,255,.15); border: var(--stroke-sm) solid #fff; border-radius: var(--r-pill); overflow: hidden; margin: 8px 0 4px; }
.hk-bar > i { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--kancil-yellow) 0 10px, #f5cf3a 10px 20px); border-right: var(--stroke-sm) solid #fff; animation: hkFill 1.2s var(--ease) both; }
.hk-rank small { font-family: var(--font-docket); font-weight: 700; color: #fff; }
.hk-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; margin: 14px 0; }
.hk-badge { text-align: center; background: var(--white); border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); box-shadow: var(--comic-sm); padding: 12px 6px; font-size: 12px; line-height: 15px; font-weight: 800; color: var(--rakyat-navy); }
.hk-badge b { display: block; font-size: 32px; line-height: 40px; }
.hk-badge.off { border-style: dashed; box-shadow: none; color: var(--ink-muted); background: transparent; }
.hk-badge.off b { filter: grayscale(1); opacity: .35; }
.hk-quests { list-style: none; padding: 0; display: grid; gap: 10px; }
.hk-quests li { display: flex; gap: 12px; align-items: center; background: var(--white); border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); padding: 10px 14px; box-shadow: var(--comic-xs); font-weight: 700; }
.hk-quests li.done { background: var(--green-soft); text-decoration: line-through; text-decoration-thickness: 2px; color: var(--green-800); }
.hk-quests .hk-q { font-size: 22px; } .hk-quests .hk-qpts { margin-left: auto; font-family: var(--font-docket); font-weight: 900; white-space: nowrap; color: var(--rakyat-navy); background: var(--kancil-yellow); border-radius: 8px; padding: 2px 8px; border: var(--stroke-sm) solid var(--rakyat-navy); }
.hk-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; font-size: 12px; font-weight: 800; border: var(--stroke-sm) solid var(--rakyat-navy); border-radius: var(--r-lg); background: var(--yellow-soft); color: var(--rakyat-navy); white-space: nowrap; }
.hk-win { text-align: center; }
.hk-win .hk-big { font-size: 40px; line-height: 46px; }
@keyframes hkBob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
@keyframes hkFill { from { width: 0 } }
@media (prefers-reduced-motion: reduce) { .hk-rank__icon, .hk-bar > i { animation: none; } }

/* Derma */
.hk-donate { display: grid; gap: 22px; align-items: start; margin: 22px 0; }
@media (min-width: 700px) { .hk-donate { grid-template-columns: 320px 1fr; } }
.hk-qrimg { border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); box-shadow: var(--comic-md); }
.hk-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; background: var(--white); border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); padding: 14px; box-shadow: var(--comic-sm); }
.hk-dl dt { font-family: var(--font-docket); font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); padding-top: 4px; }
.hk-dl dd { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 20px; color: var(--rakyat-navy); }
.hk-ref { background: var(--kancil-yellow); color: var(--rakyat-navy); padding: 0 6px; border: var(--stroke-sm) solid var(--rakyat-navy); border-radius: 6px; font-family: var(--font-docket); }

/* Peta: gaya peta harta karun */
.hk-map { height: 62vh; min-height: 360px; border: var(--stroke-lg) solid var(--rakyat-navy); border-radius: var(--r-2xl); box-shadow: var(--comic-lg); margin: 16px 0 24px; }
.hk-cplist { display: grid; gap: 10px; }
.hk-cplist div { padding: 10px 14px; border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); background: var(--white); box-shadow: var(--comic-xs); font-weight: 600; }

/* Kaki */
.hk-foot { background: var(--rakyat-navy); color: #fff; padding: 40px 18px; margin-top: 48px; border-top: var(--stroke-lg) solid var(--kancil-yellow); }
.hk-foot > * { max-width: 880px; margin-left: auto; margin-right: auto; }
.hk-foot__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hk-foot__links a { color: #fff; } .hk-foot__links { margin-top: 22px; }
.hk-disclaimer { font-size: 13px; line-height: 20px; color: #dcdcf0; border: 2px dashed rgba(255,255,255,.35); border-radius: var(--r-xl); padding: 12px 14px; }
.hk-disclaimer strong { color: var(--kancil-yellow); }

/* Konfeti */
.hk-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 2000; }
.hk-menu summary, .hk-xp { white-space: nowrap; }
@media (max-width: 480px) { .hk-brand span { font-size: 12px; padding-left: 8px; } .hk-brand img { height: 24px; } .hk-xp { font-size: 12px; padding: 5px 9px; } .hk-menu summary { padding: 7px 10px; font-size: 12px; } }
@media (max-width: 380px) { .hk-brand span { display: none; } }
/* Kiraan detik pelancaran */
.hk-countdown { background: var(--rakyat-navy); border: var(--stroke-lg) solid var(--rakyat-navy); border-radius: var(--r-2xl); box-shadow: 6px 7px 0 0 var(--white); padding: 16px; margin: 22px 0 6px; color: #fff; }
.hk-countdown__lbl { margin: 0 0 10px; font-family: var(--font-docket); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--kancil-yellow); }
.hk-countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hk-countdown__grid div { background: var(--kancil-yellow); border: var(--stroke-md) solid #fff; border-radius: var(--r-lg); text-align: center; padding: 8px 2px; }
.hk-countdown__grid b { display: block; font-family: var(--font-shout); font-weight: 400; font-size: 34px; line-height: 40px; color: var(--rakyat-navy); }
.hk-countdown__grid span { font-family: var(--font-docket); font-weight: 900; font-size: 11px; text-transform: uppercase; color: var(--rakyat-navy); }
.hk-countdown__sub { margin: 10px 0 0; font-size: 14px; line-height: 20px; }
/* Panduan */
.hk-guide { list-style: none; padding: 0; display: grid; gap: 12px; }
.hk-guide li { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); box-shadow: var(--comic-sm); padding: 14px; }
.hk-step__ic { font-size: 28px; width: 50px; height: 50px; flex: none; display: grid; place-items: center; background: var(--kancil-yellow); border: var(--stroke-sm) solid var(--rakyat-navy); border-radius: 50%; }
.hk-practice { background: var(--yellow-soft); }
/* Admin: sentiasa guna menu lungsur (banyak pautan) + jubin pintasan */
.hk-nav { min-width: 0; }
.hk-brand { flex-shrink: 1; overflow: hidden; }
.hk-navright { flex-shrink: 0; }
@media (min-width: 960px) {
  .hk-nav--admin .hk-menu summary { display: block; }
  .hk-nav--admin details.hk-menu:not([open]) > nav { display: none !important; }
  .hk-nav--admin details.hk-menu[open] > nav { display: flex !important; position: absolute; flex-direction: column; align-items: stretch; background: var(--panel); border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); box-shadow: var(--comic-md); padding: 8px; min-width: 220px; }
}
.hk-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0 28px; }
@media (min-width: 700px) { .hk-tiles { grid-template-columns: repeat(4, 1fr); } }
.hk-tile { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--kancil-yellow); color: var(--rakyat-navy); border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); box-shadow: var(--comic-sm); padding: 14px; font-weight: 900; transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.hk-tile b { font-size: 30px; line-height: 36px; }
.hk-tile:hover { transform: translate(-1px,-2px); box-shadow: 5px 6px 0 0 var(--rakyat-navy); }
/* ===== Susun atur desktop: kandungan berpusat penuh, menu desktop ===== */
.hk-hero, .hk-band, .hk-foot { padding-left: max(18px, calc((100% - 880px) / 2)); padding-right: max(18px, calc((100% - 880px) / 2)); }
.hk-hero > *, .hk-band > *, .hk-foot > * { max-width: none; margin-left: 0; margin-right: 0; }
.hk-hero__map { right: 4%; }
.hk-desknav { display: none; }
@media (min-width: 960px) {
  .hk-desknav { display: flex; align-items: center; gap: 2px; margin-left: auto; margin-right: 8px; }
  .hk-desknav a { font-weight: 800; font-size: 14px; text-decoration: none; padding: 8px 10px; color: var(--rakyat-navy); border-radius: 10px; }
  .hk-desknav a:hover, .hk-desknav a[aria-current] { background: rgba(255,255,255,.55); }
  .hk-desknav a.bs-btn { margin-left: 8px; padding: 8px 18px; color: var(--kancil-yellow); }
  .hk-nav:not(.hk-nav--admin) .hk-menu { display: none; }
}
.hk-wide { max-width: 1100px; }
/* ===== Kad BERSAMA Wiki ===== */
.hk-wiki { background: var(--kancil-yellow); border: var(--stroke-lg) solid var(--rakyat-navy); border-radius: var(--r-2xl); box-shadow: var(--comic-lg); padding: 20px; margin: 24px 0; position: relative; overflow: hidden; }
.hk-wiki::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.18); }
.hk-wiki__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.hk-wiki__pill { font-family: var(--font-sans); font-weight: 900; font-size: 12px; letter-spacing: .12em; color: #fff; background: var(--rakyat-navy); border-radius: var(--r-pill); padding: 3px 10px; }
.hk-wiki__tag { font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--rakyat-navy); }
.hk-wiki h2 { margin: 12px 0 6px; position: relative; z-index: 1; }
.hk-wiki p { color: var(--rakyat-navy); font-weight: 600; position: relative; z-index: 1; }
.hk-wiki__search { display: flex; gap: 8px; margin: 12px 0; position: relative; z-index: 1; }
.hk-wiki__search input { flex: 1; min-width: 0; font: inherit; padding: 12px 18px; border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-pill); background: #fff; }
.hk-wiki__links { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.hk-wiki__links a { text-decoration: none; font-weight: 800; font-size: 14px; color: var(--rakyat-navy); background: rgba(255,255,255,.55); border: var(--stroke-sm) solid var(--rakyat-navy); border-radius: var(--r-pill); padding: 6px 14px; }
.hk-wikilink { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 800; font-size: 14px; background: var(--kancil-yellow); border: var(--stroke-sm) solid var(--rakyat-navy); border-radius: var(--r-pill); padding: 4px 12px; color: var(--rakyat-navy); }
.hk-wikilink b { font-size: 10px; letter-spacing: .1em; color: #fff; background: var(--rakyat-navy); border-radius: var(--r-pill); padding: 1px 6px; }
/* ===== Visual panduan ===== */
.hk-fig { margin: 16px 0 24px; }
.hk-fig figcaption { font-family: var(--font-docket); font-weight: 700; font-size: 13px; color: var(--ink-muted); margin-top: 8px; text-align: center; }
.hk-svg { width: 100%; height: auto; display: block; filter: drop-shadow(5px 6px 0 #202070); }
.hk-split { display: grid; gap: 22px; align-items: center; }
@media (min-width: 760px) { .hk-split { grid-template-columns: 1fr 1fr; } }
.hk-fig--sticker img { width: 220px; display: block; margin: 0 auto; border-radius: 14px; box-shadow: var(--comic-md); transform: rotate(-4deg); }
.hk-phones { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 16px 0 28px; }
.hk-phone { background: var(--rakyat-navy); border-radius: 30px; padding: 10px; box-shadow: var(--comic-md); max-width: 240px; margin: 0 auto; width: 100%; }
.hk-phone__scr { background: var(--panel); border-radius: 22px; min-height: 340px; padding: 18px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; font-weight: 700; font-size: 14px; line-height: 19px; color: var(--rakyat-navy); position: relative; }
.hk-phone__cam { background: #2b2b3a; color: #fff; }
.hk-phone__cam img { width: 120px; border-radius: 10px; }
.hk-phone__frame { position: absolute; top: 72px; width: 150px; height: 150px; border: 3px dashed var(--kancil-yellow); border-radius: 18px; }
.hk-phone__t { font-family: var(--font-display); font-weight: 900; font-size: 17px; }
.hk-phone__gps { display: flex; gap: 8px; } .hk-phone__gps span { width: 14px; height: 14px; border-radius: 50%; background: var(--kancil-yellow); border: 2px solid var(--rakyat-navy); animation: hkBob 1.2s infinite; } .hk-phone__gps span:nth-child(2) { animation-delay: .2s } .hk-phone__gps span:nth-child(3) { animation-delay: .4s }
.hk-phone__btn { background: var(--rakyat-navy); color: var(--kancil-yellow); border-radius: var(--r-pill); padding: 10px 18px; font-weight: 900; }
.hk-phone__win { background: var(--kancil-yellow); }
.hk-phone__key { font-family: var(--font-docket); font-weight: 900; font-size: 20px; background: #fff; border: 3px solid var(--rakyat-navy); border-radius: 12px; padding: 8px 10px; }
/* ===== Carta hadiah ===== */
.hk-split--chart { margin: 18px 0; }
.hk-donut { width: 240px; height: 240px; border-radius: 50%; border: var(--stroke-lg) solid var(--rakyat-navy); box-shadow: var(--comic-md); margin: 0 auto; display: grid; place-items: center; position: relative; }
.hk-donut::before { content: ""; position: absolute; inset: 46px; background: var(--panel); border-radius: 50%; border: var(--stroke-md) solid var(--rakyat-navy); }
.hk-donut span { position: relative; font-family: var(--font-shout); font-size: 22px; color: var(--rakyat-navy); }
.hk-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hk-legend li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; } .hk-legend i { width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--rakyat-navy); flex: none; } .hk-legend b { margin-left: auto; font-family: var(--font-docket); }
.hk-ladder { display: flex; align-items: flex-end; gap: 8px; margin: 16px 0 26px; }
.hk-ladder__step { flex: 1; background: var(--kancil-yellow); border: var(--stroke-md) solid var(--rakyat-navy); border-radius: 14px 14px 6px 6px; box-shadow: var(--comic-xs); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 8px 4px; text-align: center; }
.hk-ladder__step:last-child { background: var(--rakyat-navy); color: var(--kancil-yellow); }
.hk-ladder__step b { font-size: 26px; } .hk-ladder__step span { font-weight: 900; font-size: 12px; line-height: 14px; } .hk-ladder__step small { font-family: var(--font-docket); font-size: 11px; font-weight: 700; }
/* ===== Kad hadiah ===== */
.hk-prizes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 20px 0; }
.hk-prize { background: var(--white); border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-xl); box-shadow: var(--comic-sm); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.hk-prize--top { background: var(--kancil-yellow); }
.hk-prize--gold { background: var(--rakyat-navy); color: #fff; box-shadow: 5px 6px 0 0 var(--kancil-yellow); }
.hk-prize--gold h3, .hk-prize--gold .hk-prize__amt { color: var(--kancil-yellow); }
.hk-prize__ic { font-size: 34px; line-height: 40px; }
.hk-prize h3 { margin: 0; font-size: 19px; line-height: 24px; }
.hk-prize__amt { font-family: var(--font-shout); font-size: 30px; line-height: 36px; color: var(--rakyat-navy); }
.hk-prize__pct { font-family: var(--font-docket); font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.hk-prize p { margin: 0; font-size: 14px; line-height: 21px; }
.hk-prize ul { margin: 4px 0 0; padding-left: 18px; font-size: 14px; line-height: 21px; }
/* ===== Derma: seruan jelas ===== */
.hk-ask { background: var(--white); border: var(--stroke-lg) solid var(--rakyat-navy); border-radius: var(--r-2xl); box-shadow: var(--comic-lg); padding: 20px; margin: 24px 0; display: grid; gap: 18px; color: var(--ink); }
@media (min-width: 760px) { .hk-ask { grid-template-columns: 220px 1fr; align-items: center; } }
.hk-ask img { width: 100%; border-radius: 14px; border: var(--stroke-md) solid var(--rakyat-navy); }
.hk-ask h2 { margin: 0 0 6px; color: var(--rakyat-navy) !important; font-family: var(--font-display) !important; text-transform: none !important; letter-spacing: 0 !important; }
.hk-goal { height: 26px; border: var(--stroke-md) solid var(--rakyat-navy); border-radius: var(--r-pill); background: var(--yellow-soft); overflow: hidden; margin: 10px 0 4px; }
.hk-goal i { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--kancil-yellow) 0 12px, #f5cf3a 12px 24px); border-right: var(--stroke-md) solid var(--rakyat-navy); }
.hk-goal__txt { font-family: var(--font-docket); font-weight: 900; font-size: 14px; color: var(--rakyat-navy); }
.hk-round { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-shout); font-size: 14px; color: var(--kancil-yellow); background: var(--rakyat-navy); border-radius: var(--r-pill); padding: 6px 14px; margin: 0 0 12px 8px; }
/* ===== Admin gambaran ===== */
.hk-funnel { display: grid; gap: 8px; margin: 12px 0 24px; }
.hk-funnel div { display: grid; grid-template-columns: 130px 1fr 50px; align-items: center; gap: 10px; font-weight: 800; }
.hk-funnel i { height: 24px; background: var(--kancil-yellow); border: var(--stroke-sm) solid var(--rakyat-navy); border-radius: 8px; display: block; }
.hk-funnel b { font-family: var(--font-docket); }
.hk-qrgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.hk-qrcard.off { opacity: .55; }
.hk-qrbox { width: 150px; height: 150px; margin: 0 auto 8px; background: #fff; padding: 6px; border: var(--stroke-sm) solid var(--rakyat-navy); border-radius: 10px; }
.hk-qrbox svg { width: 100%; height: 100%; display: block; }
.hk-prize { color: var(--ink); } .hk-prize--gold { color: #fff; } .hk-prize--gold p { color: #e8e8f5; }
.hk-fig--scroll { overflow-x: auto; padding-bottom: 10px; } .hk-fig--scroll .hk-svg { min-width: 700px; }
