:root {
  --bg:#f7f7fb; --text:#242136; --text-muted:#555368; --text-soft:#686579; --primary:#6746c7;
  --primary-hover:#5235a9; --primary-soft:#eee9fc; --border:#e5e3ec; --border-strong:#ccc8d9;
  --surface-muted:#f0eef6; --dark:#302044; --radius-lg:18px;
}
[hidden] { display:none !important }
body { font-family:Inter,'Segoe UI',Arial,sans-serif }
button,select,input,textarea { font:inherit }
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible { outline:3px solid #9872ec; outline-offset:3px }
.container { max-width:1480px; padding-inline:clamp(16px,3.2vw,56px) }
.icon { width:1.16em; height:1.16em; vertical-align:middle; flex:none }
.topbar { background:#fff; backdrop-filter:none }
.topbar-inner { min-height:72px; flex-wrap:nowrap }
.wordmark { display:inline-flex; align-items:center; gap:9px; color:var(--text); text-decoration:none }
.wordmark:hover { text-decoration:none }
.wordmark strong { font-size:1.47rem; letter-spacing:-.065em; font-weight:760 }
.wordmark strong span { color:var(--primary) }
.nav-tabs { gap:5px; background:transparent; padding:0 }
.nav-tab { display:inline-flex; align-items:center; gap:6px; font-size:.9rem; border-radius:8px; padding:9px 12px; color:var(--text-muted) }
.nav-tab.active { background:var(--primary-soft); color:var(--primary-hover); box-shadow:none }
.pro-nav { background:var(--primary); color:white; border-radius:10px; padding:9px 14px; font-size:.89rem }
.pro-nav:hover { background:var(--primary-hover) }
.pro-nav .icon { color:#ffdcaa }
.main-content { padding-top:clamp(18px,2vw,32px) }
.page-heading,.library-heading,.footer-links,.card-cap,.card-meta,.track-select { display:flex; align-items:center; justify-content:space-between; gap:12px }
.page-heading { margin:0 0 15px }
.page-heading h1,.library-heading h2 { margin:0; line-height:1.2; letter-spacing:-.045em; font-size:clamp(1.45rem,2.4vw,1.9rem) }
.page-heading>span { display:flex; align-items:center; gap:7px; font-size:.875rem; color:var(--text-muted) }
.study-hero { background:#30204e; isolation:isolate; overflow:hidden; position:relative; border-radius:20px; color:#fff }
.summit-art { position:absolute; z-index:-1; inset:0 0 0 40%; background:url('/assets/summit.webp?v=436a8f24cc') center 50% / cover; mask-image:linear-gradient(to right,transparent,#000 25%) }
.hero-copy { padding:clamp(25px,3.1vw,43px); max-width:56% }
.hero-kicker { display:flex; align-items:center; gap:8px; text-transform:uppercase; font-weight:700; font-size:.77rem; color:#e6d8fc; letter-spacing:.12em }
.hero-kicker .icon { color:#ffc4a8 }
.hero-copy h2 { font-size:clamp(2.5rem,4.4vw,3.9rem); line-height:.99; letter-spacing:-.062em; margin:16px 0 13px; font-weight:750 }
.hero-copy em { font-style:normal; color:#dfc7ff }
.hero-copy p { max-width:400px; margin:0 0 21px; color:#e9e1f1; line-height:1.55; font-size:.98rem }
.hero-actions { gap:10px }
.hero-start,.hero-secondary { font-size:.9rem; min-height:42px; border-radius:9px }
.hero-start { background:#fff; color:#36204d }
.hero-start .icon { width:14px; fill:currentColor }
.hero-secondary { color:#fff; border-color:#83728f; background:#38254c }
.hero-start:hover { background:#eee7ff }.hero-secondary:hover { background:#523568 }
.progress-grid,.study-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px }
.progress-grid { margin:16px 0 31px }
.progress-stat,.study-card,.panel,.instansi-link { border:1px solid var(--border); background:#fff; border-radius:14px; box-shadow:0 2px 5px #30204405 }
.progress-stat { display:flex; align-items:center; gap:14px; padding:18px 20px; text-align:left; color:var(--text); min-width:0 }
button.progress-stat { cursor:pointer }
button.progress-stat:hover,.study-card:hover { border-color:#c9bce9 }
.symbol { width:46px; height:46px; display:inline-grid; place-items:center; flex:none; border-radius:13px; }
.symbol .icon { width:24px; height:24px }
.peach { background:#ffecdf; color:#b85c2f }
.lilac { background:#eee8ff; color:#7950c9 }
.mint { background:#dcf3ee; color:#26836e }
.stat-label,.stat-note { display:block; font-size:.83rem; color:var(--text-muted) }
.stat-label { font-weight:600 }
.stat-note { font-size:.77rem }
.progress-stat strong { display:block; font-size:1.6rem; letter-spacing:-.045em; line-height:1.25 }
.progress-stat strong small { font-size:.9rem; letter-spacing:0; font-weight:500 }
.library-heading { align-items:center; flex-wrap:wrap }
.library-heading p,.instansi-link p { color:var(--text-muted); margin:3px 0 0; font-size:.94rem }
.track-select { padding:6px 8px; border:1px solid var(--border); background:#fff; border-radius:8px; justify-content:start; gap:6px; font-size:.85rem }
select { appearance:none; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23555368' stroke-linecap='round' stroke-width='1.5'/%3E%3C/svg%3E") right 8px center / 14px no-repeat; padding:5px 27px 5px 8px; color:var(--text) }
.track-select select { border:0; font-weight:650; width:auto; max-width:100%; cursor:pointer }
.pack-tabs { display:inline-flex; flex-wrap:wrap; gap:4px; background:#eeecf4; padding:4px; border-radius:10px; margin:17px 0 }
.pack-tabs button { padding:7px 12px; border:none; border-radius:7px; background:transparent; font-size:.85rem; font-weight:600; color:var(--text-muted); cursor:pointer }
.pack-tabs button small { margin-left:6px; font-size:.75rem; opacity:.85 }
.pack-tabs [aria-pressed=true] { color:var(--primary-hover); background:#fff; box-shadow:0 1px 5px #3321491c }
.study-card { padding:20px; display:flex; flex-direction:column; min-width:0 }
.access-label { padding:3px 10px; border-radius:20px; font-size:.76rem; font-weight:650; }
.access-label.free { background:#e6f5eb; color:#30734d }.access-label.pro { background:#f6ecda; color:#88591d }
.study-card h3 { margin:14px 0 4px; line-height:1.28; font-size:1.2rem; letter-spacing:-.03em }
.study-card p { margin:0 0 16px; font-size:.91rem; line-height:1.55; color:var(--text-muted) }
.card-bottom { margin-top:auto }
.card-meta { justify-content:flex-start; gap:18px; font-size:.83rem; color:var(--text-muted) }
.card-meta span { display:flex; align-items:center; gap:5px }
.study-start { margin-top:14px; padding:9px; width:100%; background:#f4f1fc; color:var(--primary-hover); font-size:.89rem; font-weight:650; border:0; border-radius:8px; cursor:pointer }
.study-start .icon { margin-right:6px; width:14px }
.study-start:hover { background:#e9e2fa }
.instansi-link { display:flex; align-items:center; gap:15px; margin-top:22px; padding:18px 20px }
.instansi-link h3 { margin:0 }.instansi-link .btn { margin-left:auto }
.hero-card,.instansi-bridge-banner { background:linear-gradient(115deg,#302044,#6142a4) }
.footer { background:white; color:var(--text); border-top:1px solid var(--border) }
.footer-links { justify-content:start; flex-wrap:wrap; font-size:.875rem }.footer-links b { margin-right:auto }.footer-disclaimer { color:var(--text-muted) }
.modal-card { max-width:min(100%,510px) }.modal-card h2 { margin:12px 0 5px }.modal-subtitle { margin:0 0 18px }.modal-card form label { font-size:.9rem; font-weight:700 }.code-form { margin-top:6px }.modal-card .price-box { margin:18px 0 10px }
@media (max-width:820px) {
  .topbar-inner { flex-wrap:wrap; justify-content:space-between; gap:3px; padding-top:10px; padding-bottom:5px }
  .nav-tabs { order:3; width:100%; justify-content:space-between; gap:2px; margin-top:6px }
  .nav-tab { flex:1; justify-content:center; padding:7px 5px }
  .hero-copy { max-width:65% }.summit-art { left:39% }
  .progress-stat { gap:9px; padding:12px }.progress-stat .symbol { width:34px; height:36px; border-radius:9px }.progress-stat .symbol .icon { width:19px }
  .study-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media (max-width:600px) {
  .wordmark strong { font-size:1.32rem }.wordmark img { width:33px; height:33px }
  .nav-tab { font-size:.79rem; gap:4px }.nav-tab .icon { width:15px }
  .page-heading { align-items:baseline; flex-wrap:wrap; gap:4px }.page-heading>span { font-size:.76rem }
  .study-hero { border-radius:15px }.hero-copy { max-width:none; padding:23px 20px 25px }
  .hero-copy h2 { font-size:clamp(2.25rem,8.7vw,3.2rem); margin:16px 0 12px }
  .hero-copy p { max-width:68%; font-size:.88rem; color:white }.hero-kicker { font-size:.69rem; color:#fff }
  .summit-art { left:18%; background-position:61% center; mask-image:linear-gradient(90deg,transparent 0%,#0003 27%,#000a 55%,black 86%) }
  .hero-actions { gap:8px }.hero-actions .btn { padding:9px 12px; font-size:.85rem }
  .progress-grid { gap:7px; margin:10px 0 25px }.progress-stat { flex-direction:column; align-items:flex-start; gap:7px; padding:11px 9px; border-radius:10px }
  .stat-label { font-size:.77rem }.stat-note { font-size:.73rem; line-height:1.25; margin-top:3px }.progress-stat strong { font-size:1.32rem }.progress-stat strong small { font-size:.78rem }
  .study-grid { grid-template-columns:1fr; gap:10px }.study-card { padding:17px }
  .library-heading { gap:9px }.library-heading p { font-size:.86rem }.track-select { max-width:100% }
  .pack-tabs { margin:12px 0; width:100%; justify-content:space-between }.pack-tabs button { padding:7px 5px; flex:auto; font-size:.8rem }
  .instansi-link { flex-wrap:wrap; gap:8px }.instansi-link>div { flex:1; min-width:155px }.instansi-link .btn { margin-left:0 }
  .instansi-controls-grid { grid-template-columns:minmax(0,1fr) }.main-content :is(input,select,textarea,img,svg) { max-width:100% }
  .code-form input { width:100% }.section-head { align-items:flex-start }.modal-backdrop { padding:12px }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important } }

@media(max-width:600px) {
  .nav-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)) }
  .nav-tab { position:relative; flex-direction:column; gap:2px; white-space:nowrap; padding:5px 1px; font-size:.76rem }
  .nav-tab .nav-badge { position:absolute; top:0; left:calc(50% + 6px); padding:0 4px; font-size:.65rem }
  .instansi-grid,.quiz-layout,.cheat-grid,.moat-grid,.projection-grid { grid-template-columns:minmax(0,1fr) }
  .instansi-card,.question-card,.cat-sidebar { min-width:0 }
  .instansi-card-top { flex-wrap:wrap }
  .instansi-card-top>div,.instansi-spec-item { min-width:0; overflow-wrap:anywhere }
  .q-table-wrap,.acc-table-scroll { max-width:100%; overflow-x:auto }
}

@media(max-width:600px) {
  .instansi-card { overflow-wrap:anywhere }
  .m3-grid { width:min(100%,300px); grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px }
  .m3-cell { width:100%; height:auto; aspect-ratio:1 }
  .m3-cell svg { width:100%; height:100% }
}

/* ============ Beranda lebih hidup ============ */
@keyframes rise { from { opacity:0; transform:translateY(14px) } to { opacity:1; transform:none } }
.main-content.enter>section,.main-content.enter>aside,.main-content.enter>.page-heading { animation:rise .45s ease-out both }
.main-content.enter>*:nth-child(2) { animation-delay:.05s }.main-content.enter>*:nth-child(3) { animation-delay:.1s }.main-content.enter>*:nth-child(4) { animation-delay:.15s }.main-content.enter>*:nth-child(5) { animation-delay:.2s }.main-content.enter>*:nth-child(6) { animation-delay:.25s }
.study-card,.progress-stat,.why-card { transition:transform .18s ease, box-shadow .18s ease, border-color .18s }
.study-card:hover,.why-card:hover,button.progress-stat:hover { transform:translateY(-3px); box-shadow:0 14px 34px #3a237016 }
.study-grid .study-card { animation:rise .4s ease-out both }
.study-grid .study-card:nth-child(2) { animation-delay:.06s }.study-grid .study-card:nth-child(3) { animation-delay:.12s }.study-grid .study-card:nth-child(n+4) { animation-delay:.18s }
.study-hero::after { content:''; position:absolute; inset:0; z-index:-1; background:radial-gradient(600px 300px at 15% 110%,#8b5cf655,transparent 70%); pointer-events:none }
.hero-start { box-shadow:0 8px 24px #0003 }
.hero-facts { list-style:none; display:flex; flex-wrap:wrap; gap:8px; padding:0; margin:22px 0 0 }
.hero-facts li { display:flex; align-items:baseline; gap:5px; padding:6px 11px; border-radius:20px; background:#ffffff14; border:1px solid #ffffff26; color:#e9e1f1; font-size:.82rem; backdrop-filter:blur(4px) }
.hero-facts b { color:#fff; font-size:1rem; letter-spacing:-.02em }
.why { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:34px 0 0 }
.why-card { background:#fff; border:1px solid var(--border); border-radius:16px; padding:20px }
.main-content.enter .why-card { animation:rise .45s ease-out both; animation-delay:calc(var(--i) * .07s + .2s) }
.why-card h3 { margin:14px 0 5px; font-size:1.02rem; letter-spacing:-.02em }
.why-card p { margin:0; color:var(--text-muted); font-size:.88rem; line-height:1.5 }
.home-pricing { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:clamp(20px,3vw,44px); align-items:center; margin-top:34px; padding:clamp(22px,3vw,40px); border-radius:22px; background:linear-gradient(135deg,#2a1c45,#4a2f86 60%,#6a43b8); color:#fff; position:relative; overflow:hidden; isolation:isolate }
.home-pricing::before { content:''; position:absolute; width:420px; height:420px; right:-120px; top:-160px; border-radius:50%; background:radial-gradient(circle,#ffb54744,transparent 65%); z-index:-1 }
.eyebrow { display:inline-flex; align-items:center; gap:7px; font-size:.75rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#ffd59a }
.home-pricing h2 { margin:10px 0 8px; font-size:clamp(1.7rem,3vw,2.4rem); letter-spacing:-.05em; line-height:1.05 }
.home-pricing p { margin:0; color:#e4d9f5; line-height:1.55; max-width:460px }
.buy-steps { list-style:none; display:flex; flex-wrap:wrap; gap:8px; padding:0; margin:20px 0 0 }
.buy-steps li { display:flex; align-items:center; gap:7px; font-size:.86rem; font-weight:600; padding:6px 12px 6px 6px; border-radius:20px; background:#ffffff14 }
.buy-steps b { width:22px; height:22px; display:grid; place-items:center; border-radius:50%; background:#fff; color:#4a2f86; font-size:.75rem }
.home-plans { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px }
.home-plan { position:relative; text-align:left; display:flex; flex-direction:column; gap:4px; padding:20px; border-radius:16px; border:1px solid #ffffff30; background:#ffffff12; color:#fff; cursor:pointer; font:inherit; transition:transform .18s, background .18s }
.home-plan:hover { transform:translateY(-3px); background:#ffffff1f }
.home-plan.best { background:#fff; color:var(--text); border-color:#fff; box-shadow:0 18px 44px #0004 }
.home-plan.best:hover { background:#fff }
.home-plan .hp-name { font-weight:700; font-size:.95rem; opacity:.9 }
.home-plan strong { font-size:1.9rem; letter-spacing:-.05em; line-height:1.1 }
.home-plan .hp-desc { font-size:.86rem; opacity:.85; line-height:1.45; flex:1 }
.home-plan em { font-style:normal; font-weight:700; font-size:.88rem; margin-top:10px; display:inline-flex; align-items:center; gap:6px; color:#ffd59a }
.home-plan.best em { color:var(--primary) }
.home-plan em .icon { width:12px }
.hp-badge { position:absolute; top:-10px; right:16px; padding:3px 10px; border-radius:20px; font-size:.72rem; font-weight:700; background:linear-gradient(90deg,#ffb547,#ff8a5c); color:#3b1d00 }
@media (max-width:1060px) { .why { grid-template-columns:repeat(2,minmax(0,1fr)) } .home-pricing { grid-template-columns:1fr } }
@media (max-width:600px) { .why { gap:10px; margin-top:24px } .why-card { padding:15px } .why-card p { font-size:.83rem } .hero-facts { margin-top:16px } .hero-facts li { font-size:.76rem; padding:5px 9px } .home-pricing { margin-top:24px; border-radius:16px } }
@media (max-width:420px) { .why { grid-template-columns:1fr } }

/* ============ Halaman konten: judul seragam & tipografi lebih lega ============ */
.main-content .section-head { align-items:flex-end; margin:4px 0 18px; gap:14px }
.main-content .section-head h2 { font-size:clamp(1.45rem,2.4vw,1.9rem); letter-spacing:-.045em; line-height:1.2 }
.main-content .section-head p { font-size:.95rem; line-height:1.55; max-width:760px; margin-top:6px }
.chip { border-radius:999px; padding:7px 13px; font-size:.84rem; font-weight:600 }
.review-card { border-radius:14px; padding:18px 20px; font-size:.95rem; line-height:1.6 }
.review-card + .review-card { margin-top:12px }
.quick-tip-box,.watch-out-box { border-radius:10px; line-height:1.55 }

/* Penjelasan soal: label teks, bukan emoji */
.exp-lines { display:grid; gap:6px }
.exp-line { padding-left:12px; border-left:3px solid transparent; line-height:1.55 }
.exp-key { border-left-color:#2f9461; color:var(--text); font-weight:600 }
.exp-wrong { border-left-color:#e0a2ad }
.exp-tip { border-left-color:var(--primary); background:var(--primary-soft); color:var(--primary-hover); padding:7px 10px 7px 12px; border-radius:0 8px 8px 0 }
.exp-score { border-left-color:#e7c48a }

/* ============ Rangkuman: daftar bab + isi ============ */
.rangkuman-tabs { margin-bottom:18px }
.rk-layout { display:grid; grid-template-columns:300px minmax(0,1fr); gap:22px; align-items:start }
.rk-toc { position:sticky; top:86px; background:#fff; border:1px solid var(--border); border-radius:16px; padding:14px; max-height:calc(100vh - 110px); overflow:auto }
.rk-toc-head { padding:4px 6px 12px; border-bottom:1px solid var(--border); margin-bottom:8px }
.rk-toc-head strong { display:block; font-size:.98rem }
.rk-toc-list { display:grid; gap:3px }
.rk-toc-item { display:flex; align-items:center; gap:10px; width:100%; text-align:left; padding:9px 10px; border:0; border-radius:10px; background:transparent; color:var(--text); font:inherit; font-size:.9rem; cursor:pointer; line-height:1.35 }
.rk-toc-item:hover { background:var(--surface-muted) }
.rk-toc-item.active { background:var(--primary-soft); color:var(--primary-hover); font-weight:650 }
.rk-toc-num { width:26px; height:26px; flex:none; display:grid; place-items:center; border-radius:8px; background:var(--surface-muted); font-size:.8rem; font-weight:700; color:var(--text-muted) }
.rk-toc-item.active .rk-toc-num { background:var(--primary); color:#fff }
.rk-toc-title { flex:1; min-width:0 }
.rk-toc-lock .icon { width:15px; height:15px; color:var(--text-soft) }
.rk-content { min-width:0 }
.rk-chapter { border-radius:18px; padding:0; overflow:hidden; scroll-margin-top:90px }
.rk-chapter-head { display:flex; align-items:flex-start; gap:14px; padding:22px 24px 18px; border-bottom:1px solid var(--border); background:linear-gradient(180deg,#faf8ff,#fff) }
.rk-chapter-head .acc-num { width:38px; height:38px; font-size:1rem; flex:none }
.rk-chapter-head>div { flex:1; min-width:0 }
.rk-chapter-head h2 { margin:0; font-size:clamp(1.25rem,2vw,1.55rem); letter-spacing:-.035em; line-height:1.25 }
.rk-chapter-head p { margin:5px 0 0; color:var(--text-muted); font-size:.93rem; line-height:1.5 }
.rk-chapter .acc-body,.rk-chapter .acc-teaser-wrap { padding:20px 24px; font-size:.95rem }
.rk-chapter .acc-points li { font-size:.95rem; line-height:1.65; margin-bottom:8px }
.rk-chapter .acc-table-title { font-size:.95rem; font-weight:700; margin-bottom:8px }
.rk-chapter .acc-table th { background:var(--dark); font-size:.85rem }
.rk-chapter .acc-table td { font-size:.88rem; vertical-align:top }
.rk-chapter .acc-extra-box strong,.rk-chapter .acc-example>strong { display:block; margin-bottom:6px; font-size:.92rem }
.rk-pager { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px 24px; border-top:1px solid var(--border); background:var(--surface-muted) }
.acc-lock-box { display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding:16px; border-radius:14px; border:1px solid #d6caf3; background:#f7f3ff }
.acc-lock-box>div { flex:1; min-width:200px }
.acc-lock-box strong { display:block; margin-bottom:2px }

/* ============ Instansi ============ */
.instansi-card { border-radius:16px }
.itag { border-radius:999px; font-weight:600 }

/* ============ Peringkat ============ */
.rank-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:20px; align-items:start }
.rank-board { padding:clamp(16px,2vw,24px)!important; min-height:220px }
.rank-loading { color:var(--text-muted) }
.rank-empty { display:grid; justify-items:center; text-align:center; gap:6px; padding:30px 10px }
.rank-empty h3 { margin:8px 0 0 }.rank-empty p { margin:0; color:var(--text-muted) }
.podium { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:18px; align-items:end }
.podium-card { position:relative; display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; padding:20px 12px 16px; border-radius:16px; border:1px solid var(--border); background:#fff; min-width:0 }
.podium-card b { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.podium-card b small,.rank-table small { color:var(--primary); font-weight:600 }
.podium-card .avatar { width:46px; height:46px; border-radius:14px; font-size:1.1rem }
.podium-rank { position:absolute; top:10px; left:12px; font-weight:800; font-size:.8rem; color:var(--text-muted) }
.podium-score { font-size:1.6rem; font-weight:750; letter-spacing:-.04em; line-height:1 }
.podium-score small { font-size:.8rem; color:var(--text-muted); font-weight:500 }
.podium-card.gold { order:2; padding-top:30px; border-color:#f0cf7a; background:linear-gradient(180deg,#fff8e4,#fff) }
.podium-card.gold .avatar { background:linear-gradient(135deg,#f3b93b,#d68910) }
.podium-card.silver { order:1; border-color:#cfd5de; background:linear-gradient(180deg,#f3f5f8,#fff) }
.podium-card.silver .avatar { background:linear-gradient(135deg,#a9b3c2,#7a8698) }
.podium-card.bronze { order:3; border-color:#e6c2a3; background:linear-gradient(180deg,#fbf0e7,#fff) }
.podium-card.bronze .avatar { background:linear-gradient(135deg,#d49a6a,#a8693b) }
.podium-card.is-me { box-shadow:0 0 0 2px var(--primary) }
.rank-table { width:100%; border-collapse:collapse }
.rank-table th { text-align:left; font-size:.8rem; color:var(--text-muted); font-weight:600; padding:8px 10px; border-bottom:1px solid var(--border) }
.rank-table td { padding:11px 10px; border-bottom:1px solid var(--border); font-size:.93rem }
.rank-table td:first-child { width:48px; font-weight:700; color:var(--text-muted) }
.rank-table td:last-child { width:40%; white-space:nowrap }
.rank-table tr.is-me td { background:var(--primary-soft) }
.rank-bar { display:inline-block; vertical-align:middle; width:calc(100% - 70px); max-width:180px; height:6px; margin-left:10px; border-radius:6px; background:var(--surface-muted); overflow:hidden }
.rank-bar i { display:block; height:100%; background:var(--primary); border-radius:6px }
.rank-side { display:grid; gap:14px }
.rank-side .panel { padding:18px }
.rank-side h3 { margin:0 0 8px; font-size:1rem }
.rank-side p { margin:0 0 10px; color:var(--text-muted); font-size:.9rem; line-height:1.5 }
.rank-me-score { display:flex; align-items:baseline; gap:6px; margin:4px 0 8px }
.rank-me-score strong { font-size:2.4rem; letter-spacing:-.05em; line-height:1; color:var(--primary) }
.rank-me-score span { color:var(--text-muted) }
.rank-rules ol { margin:0; padding-left:18px; display:grid; gap:8px; color:var(--text-muted); font-size:.89rem; line-height:1.5 }
.rank-rules b { color:var(--text) }

@media (max-width:1060px) {
  .rk-layout { grid-template-columns:1fr }
  .rk-toc { position:static; max-height:none; padding:10px }
  .rk-toc-head { display:none }
  .rk-toc-list { display:flex; overflow-x:auto; gap:6px; padding-bottom:4px; scrollbar-width:thin }
  .rk-toc-item { flex:none; width:auto; max-width:240px; border:1px solid var(--border) }
  .rk-toc-title { white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
  .rank-layout { grid-template-columns:1fr }
}
@media (max-width:600px) {
  .rk-chapter-head { padding:16px; gap:10px }
  .rk-chapter .acc-body,.rk-chapter .acc-teaser-wrap { padding:16px }
  .rk-pager { padding:12px 16px }
  .podium { gap:6px }
  .podium-card { padding:16px 6px 12px }
  .podium-card .avatar { width:38px; height:38px }
  .podium-score { font-size:1.25rem }
  .rank-bar { display:none }
  .review-card { padding:15px }
}

/* Menu atas tidak patah baris di layar sedang (laptop kecil / tablet mendatar) */
.nav-tab,.pro-nav { white-space:nowrap }
@media (min-width:821px) and (max-width:1180px) {
  .topbar-inner { gap:10px }
  .nav-tabs { gap:2px }
  .nav-tab { padding:8px 9px; font-size:.86rem }
  .nav-tab .icon { display:none }
  .wordmark strong { font-size:1.3rem }
}

/* Tombol musik di menu atas */
.sound-btn { display:inline-grid; place-items:center; width:40px; height:40px; flex:none; border-radius:10px; border:1px solid var(--border); background:#fff; color:var(--primary); cursor:pointer; margin-left:auto; margin-right:8px }
.sound-btn:hover { background:var(--primary-soft) }
.sound-btn[aria-pressed=false] { color:var(--text-soft) }
.sound-btn .icon { width:19px; height:19px }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap }
@media (max-width:820px) { .sound-btn { width:36px; height:36px; margin-right:4px } }

/* Menu atas berupa tautan (SEO) */
a.nav-tab { text-decoration:none }
/* Bagian "Tentang" & FAQ di beranda: konten teks yang bisa dibaca mesin pencari */
.seo-about { padding-top:8px; padding-bottom:40px; color:var(--text-muted); font-size:.95rem; line-height:1.65 }
.seo-about[hidden] { display:none }
.seo-about h2 { font-size:1.2rem; color:var(--text); margin:28px 0 8px }
.seo-about h3 { font-size:1rem; color:var(--text); margin:0 0 4px }
.seo-lead { max-width:860px; margin:0 0 16px }
.seo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px }
.seo-grid > div { background:#fff; border:1px solid var(--border); border-radius:12px; padding:14px 16px }
.seo-grid p { margin:0 }
.seo-links a, .seo-about summary { color:var(--primary) }
.seo-faq { display:grid; gap:8px; max-width:900px }
.seo-faq details { background:#fff; border:1px solid var(--border); border-radius:10px; padding:10px 14px }
.seo-faq summary { cursor:pointer; font-weight:600; color:var(--text) }
.seo-faq p { margin:8px 0 2px }
@media (max-width:820px) { .seo-grid { grid-template-columns:1fr } }

/* Navbar: tombol akun ringkas & sembunyi saat menggulir */
.topbar { transition:transform .28s ease, box-shadow .2s ease; will-change:transform }
.topbar.is-hidden { transform:translateY(-100%); box-shadow:none }
.pro-nav { display:inline-flex; align-items:center; gap:6px; height:40px; padding:0 12px; flex:none; border:1px solid var(--border); border-radius:10px; background:#fff; color:var(--text); font:inherit; font-size:.86rem; font-weight:700; cursor:pointer; max-width:170px }
.pro-nav:hover { background:var(--primary-soft); border-color:#d9cff0 }
.pro-nav .icon { width:17px; height:17px; flex:none; color:var(--primary) }
.pro-nav #tier-pill-el { overflow:hidden; text-overflow:ellipsis }
.pro-nav.is-paid { background:var(--primary-soft); border-color:#d9cff0; color:var(--primary-hover) }
.pro-nav.is-paid .icon { color:#d08a1e }
@media (max-width:820px) { .pro-nav { height:36px; padding:0 10px; font-size:.8rem; gap:5px } .pro-nav .icon { width:15px; height:15px } }
@media (max-width:360px) { .pro-nav #tier-pill-el { display:none } .pro-nav { width:36px; padding:0; justify-content:center } }
