/* /curang's own styles (launch redesign spec 3.2; piece P2, 17 Nov 2026). Built on rs.css; every rule is scoped under .pg-curang and
   only adds modifiers (cg-*) or this page's own parts. Colours are rs.css tokens, except the phone-strip frames (.pz*), which imitate a
   phone and keep their own fixed colours (spec 2.1). The page is always dark (<html data-theme="dark" data-theme-lock>).
   Breakpoints (spec 2.4): phone under 768, tablet 768-1023, desktop 1024 and up. Motion stops under prefers-reduced-motion (rs.css's
   one rule switches off every animation and transition; nothing here hides content that only an animation would show). */

.pg-curang [id] { scroll-margin-top: 76px; }
.pg-curang .cg-l { color: var(--lamp); }
.pg-curang .cg-ok { color: var(--ok); }
.pg-curang .cg-nw { white-space: nowrap; }
.pg-curang h2.rs-eye { margin-bottom: 10px; }

/* ---------- the Dua buku switch ("Tanda Curang" pressed, lamp yellow at night) ---------- */
.pg-curang .cg-books-w { padding-bottom: 6px; }
.pg-curang .cg-books { box-shadow: inset 0 0 0 1.5px var(--lamp); background: transparent; }
.pg-curang .cg-books > a { color: var(--ink); }
.pg-curang .cg-books > [aria-current="page"] { background: var(--lamp); color: var(--on-lamp); box-shadow: none; }
@media (min-width: 768px) { .pg-curang .cg-books { max-width: 360px; } }

/* ---------- quiz hero ---------- */
.pg-curang .cg-hero { padding-top: 14px; }
.pg-curang .cg-hero .rs-h1 { font-size: 36px; line-height: 1.04; }
.pg-curang .cg-note { margin: 10px 0 0; }
.pg-curang .cg-quiz-col { margin-top: 16px; }
.pg-curang .cg-private { margin: 0 4px 12px; opacity: .85; }   /* above the quiz card, so the arrival buy bar never covers it (Q5) */
@media (min-width: 768px) { .pg-curang .cg-quiz-col { max-width: 520px; } }
@media (min-width: 1024px) {
  .pg-curang .cg-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .pg-curang .cg-hero .rs-h1 { font-size: 54px; }
  .pg-curang .cg-quiz-col { margin-top: 0; max-width: none; }
}

/* the quiz card: 12 segments, one question that slides in, three answers, the rule lines, back */
.pg-curang .cg-quiz, .pg-curang .cg-res { border-radius: 24px; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -24px #000a; }
.pg-curang .cg-qbar { display: flex; gap: 4px; margin-bottom: 14px; }
.pg-curang .cg-qbar i { flex: 1; height: 5px; border-radius: 9px; background: var(--line); }
.pg-curang .cg-qbar i.cg-d { background: var(--lamp); }
.pg-curang .cg-qbar i.cg-now { background: color-mix(in srgb, var(--lamp) 45%, var(--line)); }
.pg-curang .cg-qn { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pg-curang .cg-qq { font: 600 22px/1.28 var(--f-d); letter-spacing: -.01em; margin: 10px 0 14px; text-wrap: balance; animation: cg-slide .35s ease both; }
.pg-curang .cg-qq:focus, .pg-curang .cg-verdict:focus { outline: none; }
@keyframes cg-slide { from { opacity: 0; transform: translateX(28px); } }
.pg-curang .cg-help { margin: -6px 0 12px; }
.pg-curang .cg-ans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pg-curang .cg-ans button { min-height: 52px; border-radius: 14px; border: 0; padding: 0 6px; background: var(--surf); box-shadow: inset 0 0 0 1.5px var(--line);
  font: 700 15px var(--f-ui); color: var(--ink); cursor: pointer; transition: transform .12s; }
.pg-curang .cg-ans button:active { transform: scale(.985); }
.pg-curang .cg-ans button[aria-pressed="true"] { background: var(--acc); color: var(--onacc); box-shadow: none; }
.pg-curang .cg-rule { margin: 14px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.pg-curang .cg-rule b { color: var(--ink); }
.pg-curang .cg-back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; padding: 0 2px; border: 0; background: none;
  color: var(--soft); font: 600 14px var(--f-ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* the result: ring, verdict, the quiz's own lines, safety box (mid and high), the "tak disimpan" pill, the buttons */
.pg-curang .cg-res > p { margin: 10px 0 0; }
.pg-curang .cg-ring { margin-top: 6px; }
.pg-curang .cg-verdict { font: 700 25px/1.2 var(--f-d); letter-spacing: -.015em; text-align: center; margin: 4px 0 8px !important; text-wrap: balance; }
.pg-curang .cg-yes { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.pg-curang .cg-yes li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.pg-curang .cg-yes li span { flex: none; color: var(--soft); font-size: 12.5px; white-space: nowrap; }
.pg-curang .cg-for { display: grid; gap: 4px; margin: 14px 0 0; padding: 14px; border-radius: 16px; background: var(--hi); }
.pg-curang .cg-for b { margin-top: 2px; }
.pg-curang .cg-safe-in { margin: 14px 0 0; }
.pg-curang .cg-unsaved { display: flex; width: fit-content; max-width: 100%; margin: 16px auto 0 !important; padding: 6px 12px; white-space: normal; text-align: center;
  line-height: 1.35; font-size: 12.5px; }
.pg-curang .cg-foot-note { text-align: center; }
.pg-curang .cg-res .rs-btn { margin-top: 14px; }
.pg-curang .cg-soft { margin-top: 10px !important; text-align: center; }
.pg-curang .cg-res .cg-back { display: flex; margin: 8px auto 0; }

/* the Bab 1 card (after the result, and beside the contents): email, consent, honeypot; sent state with a lock-screen preview */
.pg-curang .cg-mail { margin-top: 14px; }
.pg-curang .cg-mailcard .rs-h3 { margin: 2px 0 4px; }
.pg-curang .cg-mailcard .rs-small { margin: 0 0 12px; }
.pg-curang .cg-mailcard .rs-err { margin: 10px 0 0; }
.pg-curang .cg-consent { margin: 12px 0 14px; }
.pg-curang .cg-consent input { margin-top: 1px; }
.pg-curang .cg-mnote { margin: 10px 0 0 !important; }
.pg-curang .cg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pg-curang .cg-sent .rs-h3 { margin: 2px 0 12px; }
.pg-curang .cg-preview { background: var(--bg2); border-radius: 16px; padding: 10px 12px; font-size: 14px; line-height: 1.35; box-shadow: inset 0 0 0 1px var(--line); }
.pg-curang .cg-preview small { display: block; font-size: 11px; color: var(--soft); margin-bottom: 2px; }
.pg-curang .cg-preview b { display: block; font-size: 14px; }
.pg-curang .cg-sent .rs-small { margin: 8px 0 0; }

/* ---------- "Malam yang panjang": four screens from her phone ---------- */
.pg-curang .cg-night { background: var(--bg2); }
.pg-curang .cg-night-p { margin-bottom: 18px; }
.pg-curang .cg-phones { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); max-width: 300px; }
.pg-curang .cg-phones figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.pg-curang .cg-phones figcaption { margin-top: 10px; }
@media (min-width: 768px) { .pg-curang .cg-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; gap: 24px 20px; } }
@media (min-width: 1024px) { .pg-curang .cg-phones { grid-template-columns: repeat(4, 240px); max-width: none; justify-content: center; gap: 20px; } }
/* the frames: a phone's own colours, not the site's (spec 2.1) */
.pg-curang .pz { width: 100%; border-radius: 30px; padding: 10px; background: #0b0b10; box-shadow: 0 0 0 1px #ffffff14, 0 18px 40px -20px #000c; }
.pg-curang .pz > :not(.pz-top) { border-radius: 22px; overflow: hidden; }
.pg-curang .pz-top { display: flex; justify-content: space-between; color: #cfd3dc; font: 600 11px var(--f-ui); padding: 2px 14px 6px; }
.pg-curang .pz-lock { aspect-ratio: 9 / 12; background: linear-gradient(170deg, #2b2440, #11101a); color: #f4f1f8; display: flex; flex-direction: column;
  align-items: center; padding: 26px 12px 14px; gap: 2px; font-family: var(--f-ui); }
.pg-curang .pz-lock > b { font: 300 54px/1 var(--f-ui); letter-spacing: -.02em; }
.pg-curang .pz-lock > span { font-size: 13px; opacity: .8; margin-bottom: auto; }
.pg-curang .pz-note { width: 100%; background: #ffffff26; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 16px; padding: 10px 12px; font-size: 14px; line-height: 1.35; }
.pg-curang .pz-note small { display: block; font-size: 11px; opacity: .78; margin-bottom: 2px; }
.pg-curang .pz-chat { aspect-ratio: 9 / 10.5; background: #ECE5DD; display: flex; flex-direction: column; gap: 8px; padding: 0 10px 12px; font: 500 14px/1.35 var(--f-ui); color: #111; }
.pg-curang .pz-hd { margin: 0 -10px 4px; padding: 12px 14px; background: #F6F6F6; font-weight: 700; border-bottom: 1px solid #ddd; }
.pg-curang .pz-me, .pg-curang .pz-him { max-width: 80%; margin: 0; padding: 7px 10px; border-radius: 10px; box-shadow: 0 1px 0 #0001; }
.pg-curang .pz-me { align-self: flex-end; background: #D9FDD3; }
.pg-curang .pz-him { align-self: flex-start; background: #fff; }
.pg-curang .pz-me small, .pg-curang .pz-him small { display: block; text-align: right; font-size: 10.5px; color: #556; }
.pg-curang .pz-me small span { color: #2f78b7; }
.pg-curang .pz-type { margin: auto 0 0; background: #fff; border-radius: 20px; padding: 9px 12px; color: #444; display: flex; align-items: center; gap: 2px; }
.pg-curang .pz-type del { text-decoration-color: #c33; text-decoration-thickness: 2px; }
.pg-curang .pz-type i, .pg-curang .pz-bar i { width: 2px; height: 16px; flex: none; background: #1a73e8; animation: cg-blink 1s steps(1) infinite; }
@keyframes cg-blink { 50% { opacity: 0; } }
.pg-curang .pz-search { aspect-ratio: 1 / 1; background: #fff; color: #202124; padding: 18px 12px; font: 500 14px var(--f-ui); }
.pg-curang .pz-bar { margin: 0 0 10px; border-radius: 22px; box-shadow: 0 1px 6px #0003; padding: 11px 14px; display: flex; align-items: center; gap: 2px; }
.pg-curang .pz-search ul { list-style: none; margin: 0; padding: 0; }
.pg-curang .pz-search li { padding: 10px 6px; border-bottom: 1px solid #eee; color: #3c4043; }
.pg-curang .pz-search li::before { content: "\2315\00a0\00a0"; color: #80868b; }
/* frames reveal on scroll like comic panels (rs.js adds .in; .rs-rv is set only when it will) */
.rs-rv .pg-curang .cg-phones .rv:not(.in) .pz { opacity: 0; transform: translateY(16px) scale(.98); }
.pg-curang .cg-phones .rv.in .pz { animation: cg-in .6s ease both; }
@keyframes cg-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.pg-curang .cg-night-end { margin-top: 22px; text-align: center; }
.pg-curang .cg-end-h { font-size: 21px; margin: 0; }
.pg-curang .cg-night-end .rs-btn { margin-top: 14px; }
@media (min-width: 768px) { .pg-curang .cg-night-end { max-width: 620px; margin-inline: auto; } }

/* ---------- contents ("Apa yang you dapat") and the Bab 1 card beside it ---------- */
.pg-curang .cg-isi { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.pg-curang .cg-toc { list-style: none; margin: 0; }
.pg-curang .cg-toc .rs-row { align-items: flex-start; }
.pg-curang .cg-toc .rs-pill { min-width: 60px; justify-content: center; margin-top: 1px; }
.pg-curang .cg-toc .rs-tx b { font-size: 15px; line-height: 1.35; }
.pg-curang .cg-toc .cg-free { background: var(--lamp); color: var(--on-lamp); }
.pg-curang .cg-mail-side { margin-top: 0; }
@media (min-width: 768px) { .pg-curang .cg-mail-side { max-width: 520px; } }
@media (min-width: 1024px) {
  .pg-curang .cg-isi { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .pg-curang .cg-mail-side { position: sticky; top: 84px; max-width: none; }
}

/* ---------- "Yang guide ni tak buat" ---------- */
.pg-curang .cg-not .rs-ticks { margin: 0; }

/* ---------- price, bundle, RM39 line ---------- */
.pg-curang .cg-price { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .pg-curang .cg-price { max-width: 520px; } }
@media (min-width: 1024px) { .pg-curang .cg-price { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; } }
.pg-curang .cg-big { font: 800 48px/1 var(--f-ui); margin: 8px 0 0; letter-spacing: -.02em; }
.pg-curang .cg-fixed { margin: 10px 0 0; color: var(--ink); }
.pg-curang .cg-pcard .rs-btn { margin-top: 4px; }
.pg-curang .cg-pcard > .rs-small { margin: 12px 0 0; }
.pg-curang .cg-refund { display: flex; gap: 8px; align-items: baseline; }
.pg-curang .cg-refund b { flex: none; color: var(--lamp); }
.pg-curang .cg-pcard a:not(.rs-btn) { color: var(--ink); text-underline-offset: 2px; }
.pg-curang .cg-pside { display: grid; gap: 10px; align-content: start; }
.pg-curang .cg-pside > .rs-small { margin: 0 4px; }
.pg-curang .cg-bundle { display: grid; gap: 6px; color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--lamp), 0 14px 34px -24px #0006; }
.pg-curang .cg-bundle .rs-eye { margin: 0; }
.pg-curang .cg-bundle-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pg-curang .cg-bundle-row b { font: 800 22px var(--f-ui); flex: none; }

/* ---------- FAQ (native details; six items kept on Aizad's call) ---------- */
.pg-curang .cg-faq details { border-bottom: 1px solid var(--line); }
.pg-curang .cg-faq details:last-child { border-bottom: 0; }
.pg-curang .cg-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 12px 4px;
  font-weight: 700; cursor: pointer; }
.pg-curang .cg-faq summary::-webkit-details-marker { display: none; }
.pg-curang .cg-faq summary::after { content: "+"; flex: none; font: 600 20px/1 var(--f-ui); color: var(--soft); }
.pg-curang .cg-faq details[open] summary::after { content: "\2212"; }
.pg-curang .cg-faq p { margin: 0 4px 14px; color: var(--soft); font-size: 15px; }
.pg-curang .cg-faq a { color: var(--ink); }
@media (min-width: 1024px) { .pg-curang .cg-faq { max-width: 720px; } }

/* ---------- footer ---------- */
.pg-curang .cg-foot-safe { margin-bottom: 18px; color: var(--ink); }
.pg-curang .cg-foot p { margin: 0 0 8px; }

/* ---------- sticky bar: price + seats · "Dua-dua" (lamp outline) · "Beli" ---------- */
.pg-curang .cg-bar .rs-tx { min-width: 0; }
.pg-curang .cg-bar .rs-btn { flex: none; }
.pg-curang .cg-duo { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--lamp); }
