/* =========================================================
   Wakatta Japanese — gaya "Modern Kawaii"
   ========================================================= */

:root {
  --maroon: #9A1C20;
  --maroon-dark: #7A1418;
  --rose: #D8435A;
  --coral: #E04F63;
  --orange: #D2691E;
  --ink: #3B2A33;
  --muted: #5E4A55;
  --muted-2: #6B5762;
  --cream: #FFF8F3;
  --white: #FFFFFF;
  --gold: #F2B33D;
  --label: #B07A2A;
  --line: #F3DCE0;

  --pink: #FBDDE3;   --pink-fg: #9A1C20;  --pink-bd: #F6D3D9;
  --blue: #E3EEFA;   --blue-fg: #2E5784;  --blue-bd: #C9DCF0;
  --green: #DDF1E6;  --green-fg: #2F6146; --green-bd: #C9E6D4;
  --yellow: #FDEBCB; --yellow-fg: #6A4A10;--yellow-bd: #EFD9B0;

  --grad: linear-gradient(90deg, var(--maroon), var(--rose));
  --grad-text: linear-gradient(90deg, var(--maroon), var(--coral) 50%, var(--orange));
  --shadow-pink: 0 10px 28px rgba(216, 67, 90, .10);
  --radius: 28px;

  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Quicksand', system-ui, sans-serif;
  --font-jp: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
}

/* Tema warna per kartu */
.t-pink   { --tbg: var(--pink);   --tfg: var(--pink-fg);   --tbd: var(--pink-bd); }
.t-blue   { --tbg: var(--blue);   --tfg: var(--blue-fg);   --tbd: var(--blue-bd); }
.t-green  { --tbg: var(--green);  --tfg: var(--green-fg);  --tbd: var(--green-bd); }
.t-yellow { --tbg: var(--yellow); --tfg: var(--yellow-fg); --tbd: var(--yellow-bd); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--maroon); }
a:hover { color: var(--maroon-dark); }
button { font: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; line-height: 1.1; }
p { margin: 0; }
.jp { font-family: var(--font-jp); font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: 40px 0 96px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass { background: rgba(255,255,255,.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Latar blob pastel */
.blobs { position: absolute; inset: 0 0 auto 0; height: 1200px; pointer-events: none; overflow: hidden; z-index: 0; }
.blobs span { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .8; }
.blobs .b1 { top: -160px; left: 50%; width: 760px; height: 560px; margin-left: -380px; background: var(--pink); }
.blobs .b2 { top: 380px; right: -180px; width: 520px; height: 520px; background: var(--green); }
.blobs .b3 { top: 260px; left: -200px; width: 480px; height: 480px; background: var(--yellow); }
main, header, footer { position: relative; z-index: 1; }

/* Judul bagian */
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 50px); }
.sec-head p { font-size: 17px; color: var(--muted); max-width: 580px; line-height: 1.7; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-jp); font-weight: 700; font-size: 15px; letter-spacing: 3px; color: var(--label); }
.eyebrow::before, .eyebrow::after { content: ""; width: 24px; height: 1px; background: #D9B27A; }
.eyebrow.left::after { display: none; }

/* Tombol */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 8px 20px rgba(216,67,90,.30); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(216,67,90,.40); }
.btn-ghost { color: var(--maroon); border: 1px solid #F3B7C3; }
.btn-ghost:hover { background: var(--pink); }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 19px; }
.btn-block { width: 100%; }
.btn:focus-visible, .nav-link:focus-visible, .chip:focus-visible { outline: 3px solid #F59AAE; outline-offset: 2px; }
.btn svg { flex-shrink: 0; }

/* ---------------- Navbar ---------------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 16px 20px 0; }
.nav {
  max-width: 1120px; margin: 0 auto; padding: 8px 8px 8px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--pink-bd); border-radius: 999px; box-shadow: 0 10px 30px rgba(216,67,90,.08);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--maroon); }
.nav-links { display: flex; gap: 4px; }
.nav-link { white-space: nowrap; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px;
  transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.nav-link:hover { background: var(--pink); color: var(--maroon); box-shadow: 0 4px 12px rgba(216,67,90,.18); }
.nav-link:active { transform: scale(.94); }
.nav-link.is-active { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(216,67,90,.35); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-actions .btn { min-height: 44px; font-size: 16px; padding: 0 20px; }
.nav-login { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--pink-bd); background: #fff; color: var(--maroon); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 520px) {
  .brand span { display: none; }
  .nav-actions .btn { font-size: 14px; padding: 0 14px; white-space: nowrap; }
}
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 20px; right: 20px; top: 78px;
    flex-direction: column; gap: 4px; padding: 12px; border-radius: 24px;
    background: rgba(255,255,255,.96); border: 1px solid var(--pink-bd); box-shadow: 0 20px 40px rgba(216,67,90,.15);
  }
  .nav-links.is-open { display: flex; }
  .nav-login { display: none; }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 72px 0 104px; overflow: hidden; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: 1.05; letter-spacing: -.5px; }
.hero-lead { font-size: 19px; line-height: 1.7; color: var(--muted); max-width: 540px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 8px 18px; border-radius: 999px; background: var(--tbg); border: 1px solid var(--tbd); color: var(--tfg); font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.petal { position: absolute; top: 0; opacity: 0; animation: fall linear infinite both; }
@keyframes fall {
  0% { transform: translateY(-40px) rotate(0); opacity: 0; }
  10%, 90% { opacity: 1; }
  100% { transform: translateY(760px) rotate(320deg); opacity: 0; }
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floaty { animation: floaty 5s ease-in-out infinite; }

/* Scene produk 3D */
.scene { flex: 1 1 440px; min-width: 0; position: relative; height: 580px; perspective: 1400px; }
.scene-floor { position: absolute; left: 50%; bottom: 30px; width: 380px; height: 60px; margin-left: -190px; border-radius: 50%; background: rgba(154,28,32,.18); filter: blur(24px); }
.scene-disc { position: absolute; left: 50%; top: 50%; width: 400px; height: 400px; margin: -210px 0 0 -200px; border-radius: 50%; background: var(--pink); opacity: .7; }
.scene-item { position: absolute; transform-style: preserve-3d; }
.scene-book { left: 50%; top: 40px; margin-left: -150px; }
.scene-book .tilt {
  width: 300px; border-radius: 8px; transition: transform .6s ease;
  transform: rotateY(-24deg) rotateX(10deg) rotateZ(3deg);
  box-shadow: 10px 12px 0 -2px #F3E7E1, 18px 22px 0 -4px #E9DBD4, 30px 44px 60px rgba(154,28,32,.28);
}
.scene-book img { width: 300px; border-radius: 8px; }
.scene-card1 { left: -10px; bottom: 70px; animation-delay: 1.4s; }
.scene-card1 .tilt { width: 250px; transform: rotateZ(-11deg) rotateY(22deg) rotateX(8deg); transition: transform .6s ease; filter: drop-shadow(0 22px 26px rgba(46,87,132,.28)); }
.scene-card2 { right: -6px; top: 70px; animation-delay: .7s; }
.scene-card2 .tilt { width: 210px; transform: rotateZ(10deg) rotateY(-20deg) rotateX(6deg); transition: transform .6s ease; filter: drop-shadow(0 20px 24px rgba(47,97,70,.25)); }
.scene:hover .scene-book .tilt { transform: rotateY(-10deg) rotateX(4deg) rotateZ(1deg); }
.scene:hover .scene-card1 .tilt, .scene:hover .scene-card2 .tilt { transform: none; }
.sticker { border-radius: 20px; padding: 10px 16px; font-family: var(--font-jp); font-weight: 700; box-shadow: 0 12px 28px rgba(216,67,90,.16); }
.scene-sticker1 { left: 2%; top: 30px; animation-delay: 1s; }
.scene-sticker1 .sticker { background: var(--green); color: var(--green-fg); font-size: 20px; transform: rotate(-6deg); }
.scene-sticker2 { right: 4%; bottom: 60px; animation-delay: 2.1s; }
.scene-sticker2 .sticker { background: #fff; color: var(--rose); font-size: 22px; transform: rotate(6deg); }

@media (max-width: 560px) {
  .scene { height: 500px; }
  .scene-book { margin-left: -120px; }
  .scene-book .tilt, .scene-book img { width: 240px; }
  .scene-card1 .tilt { width: 200px; }
  .scene-card2 .tilt { width: 170px; }
}

/* ---------------- Kartu fitur (Zona Gratis) ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 18px; }
.card { border: 1px solid var(--tbd, var(--pink-bd)); border-radius: var(--radius); }
.card-hover { transition: transform .2s ease, box-shadow .2s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(216,67,90,.16); }
.feature { padding: 30px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-pink); }
.feature:hover { color: var(--ink); }
.icon-box { width: 60px; height: 60px; border-radius: 20px; background: var(--tbg); color: var(--tfg); display: flex; align-items: center; justify-content: center; }
.feature h3 { font-size: 26px; }
.feature p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--tfg); }

/* ---------------- Kuis ---------------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 400px; min-width: 0; }
.split-copy { display: flex; flex-direction: column; gap: 14px; }
.split-copy h2 { font-size: clamp(32px, 4vw, 48px); }
.split-copy p { font-size: 17px; color: var(--muted); line-height: 1.7; }
.quiz { border: 1px solid var(--pink-bd); box-shadow: 0 24px 60px rgba(216,67,90,.14); border-radius: 34px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; color: var(--muted); }
.quiz-score { background: var(--pink); color: var(--maroon); padding: 5px 14px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; }
.progress { height: 10px; background: #FBE7EB; border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 999px; transition: width .3s ease; }
.quiz-q { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.quiz-q small { font-size: 15px; color: var(--muted); }
.quiz-char { font-family: var(--font-jp); font-weight: 700; font-size: 120px; line-height: 1.1; }
.quiz-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quiz-opt { min-height: 58px; border-radius: 20px; border: 2px solid #F3D6DC; background: #fff; font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
.quiz-opt:hover:not(:disabled) { border-color: var(--rose); }
.quiz-opt.is-correct { background: var(--green); border-color: #4F9A6B; }
.quiz-opt.is-wrong { background: var(--pink); border-color: var(--rose); }
.quiz-opt:disabled { cursor: default; }
.quiz-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; min-height: 50px; }
.quiz-feedback { font-weight: 700; font-size: 16px; }
.quiz-feedback.ok { color: var(--green-fg); }
.quiz-feedback.no { color: var(--maroon); }
.quiz-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.quiz-done img { width: 120px; height: 120px; }
[hidden] { display: none !important; }

/* ---------------- Simulasi JFT (gelap) ---------------- */
.jft {
  position: relative; overflow: hidden; overflow: clip; border-radius: 40px; padding: clamp(32px, 5vw, 60px);
  background: #24151C; color: #fff; display: flex; flex-direction: column; gap: 44px;
  box-shadow: 0 30px 80px rgba(154,28,32,.25);
}
.jft .glow { position: absolute; border-radius: 50%; pointer-events: none; }
.jft .g1 { top: -140px; right: -100px; width: 420px; height: 420px; background: var(--rose); filter: blur(110px); opacity: .55; }
.jft .g2 { bottom: -160px; left: -80px; width: 380px; height: 380px; background: var(--gold); filter: blur(120px); opacity: .25; }
.jft .bigjp { position: absolute; right: 40px; bottom: 10px; font-size: 220px; line-height: 1; color: rgba(255,255,255,.04); pointer-events: none; }
.jft-top { position: relative; display: flex; flex-wrap: wrap; gap: 44px; align-items: flex-start; }
.jft-top > * { flex: 1 1 400px; min-width: 0; }
.jft h2 { font-size: clamp(32px, 4vw, 52px); }
.jft .grad-light { background: linear-gradient(90deg, #FF8FA3, #F2C46D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jft p { font-size: 17px; line-height: 1.7; color: #E8D3DA; }
.jft .eyebrow { color: #F2C46D; }
.jft .eyebrow::before, .jft .eyebrow::after { background: #F2C46D; }
.jft-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 12px; }
.jft-feat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,143,163,.22); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.jft-feat svg { color: #FF8FA3; }
.jft-feat b { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-top: 6px; }
.jft-feat span { font-size: 14px; color: #E8D3DA; line-height: 1.5; }
.plans { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.plan { border-radius: 30px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.plan-free { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }

.plan-pro { background: #fff; color: var(--ink); box-shadow: 0 0 0 4px rgba(255,143,163,.35), 0 20px 50px rgba(216,67,90,.35); }
.plan .label { font-weight: 700; font-size: 16px; }
.plan .price { font-family: var(--font-display); font-weight: 700; font-size: 46px; }
.plan-pro .price { color: var(--maroon); }
.plan small { font-size: 15px; color: var(--muted); }
.plan.plan-free .label, .plan.plan-free small { color: #E8D3DA; }
.plan .btn { margin-top: 8px; }
.btn-outline-light { color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-outline-light:hover { color: #fff; background: rgba(255,255,255,.08); }
.badge-promo { background: var(--pink); color: var(--maroon); font-family: var(--font-display); font-weight: 600; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* ---------------- Toko (etalase marketplace) ---------------- */
.shop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.shop-head h2 { font-size: clamp(32px, 4vw, 48px); }
.shop-head p { font-size: 16px; color: var(--muted); max-width: 520px; line-height: 1.7; margin-top: 10px; }
.shop-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #F3C9D1; background: #fff;
  color: var(--muted); font-family: var(--font-display); font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background .2s, color .2s;
}
.chip:hover { background: var(--pink); color: var(--maroon); }
.chip.is-active { background: var(--grad); color: #fff; border-color: transparent; }
.link-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 15px; text-decoration: none; }

.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1080px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.product { padding: 12px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-pink); }
.product-media { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; background: var(--tbg); overflow: hidden; }
.product-media .floor { position: absolute; bottom: 9%; left: 50%; width: 56%; height: 8%; transform: translateX(-50%); border-radius: 50%; background: rgba(154,28,32,.22); filter: blur(10px); }
.product-media .view { position: absolute; inset: 0; }
.product-media .view > img { width: 100%; height: 100%; object-fit: cover; }
.flip-btn { position: absolute; inset: 0; width: 100%; height: 100%; background: none; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; perspective: 1200px; }
.flipper { display: block; position: relative; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.flipper img { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flipper .back { transform: rotateY(180deg); }
.flip-book .flipper { width: 52%; aspect-ratio: 1210 / 1671; transform: rotateY(-16deg) rotateX(6deg); }
.flip-book .flipper img { object-fit: cover; border-radius: 5px; box-shadow: 0 18px 30px rgba(154,28,32,.25); }
.flip-book .flipper .front { box-shadow: 6px 7px 0 -1px #F3E7E1, 11px 13px 0 -3px #E9DBD4, 0 18px 30px rgba(154,28,32,.25); }
.flip-book.is-flipped .flipper { transform: rotateY(194deg) rotateX(4deg); }
.flip-card .flipper { width: 84%; aspect-ratio: 954 / 477; transform: rotateY(-10deg) rotateX(8deg); }
.flip-card .flipper img { object-fit: contain; filter: drop-shadow(0 16px 22px rgba(46,87,132,.30)); }
.flip-card.is-flipped .flipper { transform: rotateY(190deg) rotateX(6deg); }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.t-blue .product-badge { background: #fff; color: var(--blue-fg); }
.flip-hint { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: rgba(255,255,255,.9); color: var(--tfg); font-family: var(--font-display); font-weight: 600; font-size: 12px; padding: 4px 10px; border-radius: 999px; pointer-events: none; }
.placeholder-media { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 2px dashed var(--tbd); color: var(--tfg); font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.thumbs { display: flex; gap: 8px; padding: 0 4px; min-height: 46px; }
.thumb { width: 46px; height: 46px; padding: 3px; border-radius: 12px; border: 2px solid #EADFE3; background: #fff; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.thumb.contain img { object-fit: contain; }
.thumb.is-active { border-color: var(--tfg); }
.product-body { padding: 0 4px 4px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 12px; font-weight: 700; color: var(--label); letter-spacing: .6px; text-transform: uppercase; }
.product-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.25; }
.product-desc { font-size: 13px; color: var(--muted-2); line-height: 1.5; }
.product-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.product-price b { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--maroon); }
.product-price s { font-size: 13px; color: var(--muted-2); }
.product .btn { min-height: 46px; font-size: 16px; }
.empty-note { grid-column: 1 / -1; text-align: center; padding: 40px 20px; color: var(--muted); border: 2px dashed var(--pink-bd); border-radius: var(--radius); }

/* E-book */
.ebook { padding: 14px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.ebook-cover { aspect-ratio: 4 / 3; border-radius: 22px; background: var(--tbg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ebook-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- Klaim bonus ---------------- */
.bonus-box { max-width: 1000px; margin: 0 auto; border-radius: 36px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 36px; align-items: center; background: linear-gradient(135deg, #FBE3E8, #FDF0DC); border: 1px solid #F3C9D1; }
.bonus-img { flex: 0 0 auto; margin: 0 auto; perspective: 1200px; }
.bonus-img img { width: 190px; border-radius: 8px; transform: rotateY(16deg) rotateZ(-4deg); box-shadow: 10px 12px 0 -2px #F3E7E1, 0 24px 44px rgba(154,28,32,.25); }
.bonus-copy { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.bonus-copy h2 { font-size: clamp(28px, 3.4vw, 42px); }
.bonus-copy p { font-size: 17px; color: var(--muted); line-height: 1.7; }
.bonus-form { flex: 1 1 320px; min-width: 0; border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 12px; border: 1px solid #fff; }
.bonus-form label { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.bonus-form input { min-height: 52px; border-radius: 18px; border: 1px solid #F3C9D1; padding: 0 18px; font-family: var(--font-body); font-weight: 700; font-size: 17px; letter-spacing: 1px; color: var(--ink); background: #fff; text-transform: uppercase; }
.bonus-form input:focus { outline: 3px solid #F59AAE; outline-offset: 1px; }
.bonus-form small { font-size: 14px; color: var(--muted-2); }
.alert { padding: 12px 16px; border-radius: 16px; font-weight: 700; font-size: 15px; }
.alert-info { background: var(--blue); color: var(--blue-fg); }
.alert-error { background: var(--pink); color: var(--maroon); }

/* ---------------- Alur belajar ---------------- */
.step { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.step-num { width: 48px; height: 48px; border-radius: 16px; background: var(--tbg); color: var(--tfg); font-family: var(--font-display); font-weight: 700; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.step b { font-family: var(--font-display); font-weight: 600; font-size: 21px; }
.step span { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ---------------- Testimoni ---------------- */
.testi { position: relative; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.testi .sample { position: absolute; top: 16px; right: 16px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .8px; padding: 4px 10px; border-radius: 999px; }
.testi .quote { color: var(--tfg); opacity: .5; }
.testi p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.testi .tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--tbg); color: var(--tfg); font-weight: 700; font-size: 13px; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--tbg); color: var(--tfg); font-family: var(--font-display); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(59,42,51,.10); }
.who b { font-family: var(--font-display); font-weight: 600; display: block; }
.who small { font-size: 14px; color: var(--muted-2); }

/* ---------------- FAQ ---------------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--pink-bd); border-radius: 24px; padding: 20px 24px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--pink); color: var(--maroon); display: flex; align-items: center; justify-content: center; font-size: 22px; transition: transform .2s; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq p { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--muted); }

/* ---------------- CTA ---------------- */
.cta { max-width: 1000px; margin: 0 auto; position: relative; overflow: hidden; border-radius: 40px; padding: clamp(40px, 6vw, 64px) 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; background: linear-gradient(135deg, var(--maroon), var(--rose)); color: #fff; box-shadow: 0 30px 70px rgba(216,67,90,.30); }
.cta .bigjp { position: absolute; left: -10px; top: -30px; font-size: 180px; line-height: 1; color: rgba(255,255,255,.07); pointer-events: none; }
.cta img { width: 96px; height: 96px; background: #fff; border-radius: 50%; padding: 6px; position: relative; }
.cta h2 { position: relative; font-size: clamp(32px, 4.4vw, 52px); }
.cta p, .cta .jp { position: relative; color: #FFE1E7; }
.cta .bigjp.jp { position: absolute; color: rgba(255,255,255,.07); }
.cta p { font-size: 17px; max-width: 520px; line-height: 1.7; }
.btn-white { background: #fff; color: var(--maroon); }
.btn-white:hover { color: var(--maroon-dark); transform: translateY(-2px); }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(255,255,255,.5); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding: 52px 0 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.footer-brand .brand span { font-size: 22px; }
.footer-brand p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 15px; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols b { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.footer-cols a, .footer-cols span { color: var(--muted); text-decoration: none; }
.footer-cols a:hover { color: var(--maroon); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 0 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted-2); }

.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, #FF8FA3, var(--rose)); box-shadow: 0 12px 28px rgba(216,67,90,.40); display: flex; align-items: center; justify-content: center; color: #fff; transition: transform .15s; }
.wa-float:hover { color: #fff; transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .petal, .floaty { animation: none; }
  .flipper, .tilt, .card-hover, .btn { transition: none; }
}

/* =========================================================
   Halaman akun siswa: masuk, daftar, klaim, Bonus Saya, profil
   ========================================================= */
.page { position: relative; padding: 48px 0 96px; min-height: 60vh; }
.container.narrow { max-width: 540px; }
.container.mid { max-width: 1040px; }
.muted { color: var(--muted-2); }
.small { font-size: 14px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; gap: 6px; }
.btn-ghost.btn-sm { background: #fff; }

.auth-card {
  border: 1px solid var(--pink-bd); border-radius: 32px; padding: clamp(24px, 4vw, 36px);
  display: flex; flex-direction: column; gap: 16px; box-shadow: 0 20px 50px rgba(216,67,90,.10);
}
.auth-card h1 { font-size: clamp(30px, 4vw, 40px); }
.auth-card h2 { font-size: 24px; }
.auth-card .eyebrow { align-self: flex-start; }
.auth-card .eyebrow::after { display: none; }
.lead { font-size: 16px; line-height: 1.65; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.field input, .field select, .field textarea, .row-input input {
  width: 100%; min-height: 50px; border-radius: 16px; border: 1px solid #EBCBD2; background: #fff;
  padding: 0 16px; font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--ink);
}
.field input:focus, .row-input input:focus { outline: 3px solid #F59AAE; outline-offset: 1px; border-color: transparent; }
.hint { font-size: 13px; color: var(--muted-2); }
.code-input { text-transform: uppercase; letter-spacing: 2px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important; font-size: 20px !important; text-align: center; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 52px; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; color: var(--muted-2); cursor: pointer; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.pw-toggle:hover, .pw-toggle.is-on { color: var(--maroon); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--maroon); flex-shrink: 0; }
.switch { text-align: center; font-size: 15px; color: var(--muted); margin: 0; }
.small-link { align-self: flex-end; font-size: 14px; font-weight: 700; margin-top: -6px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--maroon); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.alert-success { background: var(--green); color: var(--green-fg); display: flex; align-items: center; gap: 8px; }
.alert a { color: inherit; font-weight: 700; }
.alert { margin-bottom: 4px; line-height: 1.55; }

.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: #FBEFF1; border-radius: 999px; }
.tab { min-height: 44px; border: 0; border-radius: 999px; background: transparent; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; }
.tab.is-active { background: #fff; color: var(--maroon); box-shadow: 0 4px 12px rgba(216,67,90,.15); }
.pane { display: flex; flex-direction: column; gap: 16px; }

/* Klaim */
.claim-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .claim-grid { grid-template-columns: 1fr; } }
.claim-info { border: 1px solid var(--tbd); border-radius: 32px; padding: clamp(24px, 4vw, 32px); display: flex; flex-direction: column; gap: 16px; background: linear-gradient(160deg, var(--tbg), rgba(255,255,255,.7)); }
.claim-ok { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--green-fg); font-family: var(--font-display); font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.claim-product { display: flex; gap: 18px; align-items: center; }
.claim-product img { width: 96px; border-radius: 8px; box-shadow: 6px 7px 0 -1px #F3E7E1, 0 12px 24px rgba(154,28,32,.2); transform: rotate(-4deg); flex-shrink: 0; }
.claim-product small { font-weight: 700; color: var(--muted-2); }
.claim-product h1 { font-size: clamp(24px, 3vw, 32px); margin: 2px 0 8px; }
.code-pill { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; letter-spacing: 1.5px; background: #fff; border: 1px dashed var(--tfg); color: var(--tfg); padding: 4px 10px; border-radius: 10px; font-size: 15px; }
.claim-info h2 { font-size: 20px; margin-top: 4px; }
.bonus-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bonus-list li { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.75); border-radius: 18px; padding: 12px 14px; }
.bonus-list b { display: block; font-family: var(--font-display); font-weight: 600; }
.bonus-list small { color: var(--muted-2); font-size: 13px; }
.bi-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--tbg, var(--pink)); color: var(--tfg, var(--maroon)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Bonus Saya */
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.page-head h1 { font-size: clamp(32px, 4vw, 46px); margin: 8px 0; }
.mini-claim { border: 1px solid var(--pink-bd); border-radius: 22px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; min-width: min(360px, 100%); }
.mini-claim label { font-family: var(--font-display); font-weight: 600; }
.row-input { display: flex; gap: 8px; }
.row-input input { min-height: 46px; text-transform: uppercase; letter-spacing: 1px; }
.row-input .btn { min-height: 46px; padding: 0 18px; }
.empty-state { text-align: center; border: 2px dashed var(--pink-bd); border-radius: 32px; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-state h2 { font-size: 26px; }
.empty-state p { color: var(--muted); max-width: 420px; line-height: 1.6; }
.bonus-groups { display: flex; flex-direction: column; gap: 22px; }
.bonus-group { border: 1px solid var(--tbd); border-radius: 30px; padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 18px; }
.bonus-group.is-new { box-shadow: 0 0 0 4px rgba(242,179,61,.45), 0 20px 50px rgba(216,67,90,.15); animation: pop .6s ease; }
@keyframes pop { 0% { transform: scale(.97); opacity: .4; } 100% { transform: none; opacity: 1; } }
.bg-head { display: flex; align-items: center; gap: 16px; }
.bg-head img { width: 64px; border-radius: 6px; box-shadow: 0 8px 18px rgba(154,28,32,.18); flex-shrink: 0; }
.bg-head h2 { font-size: 24px; }
.bg-head small { color: var(--muted-2); font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.new-badge { display: inline-block; background: var(--gold); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 999px; margin-bottom: 4px; }
.bonus-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bonus-item { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: #fff; border: 1px solid #F3E4E8; border-radius: 20px; padding: 14px 16px; }
.bi-body { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.bi-body b { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.bi-body p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.bi-body audio { width: 100%; max-width: 520px; height: 40px; margin-top: 4px; }
.bi-act { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.bi-act small { color: var(--muted-2); font-size: 12px; }
.bonus-pending { background: rgba(255,255,255,.7); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 6px; line-height: 1.6; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px; align-items: start; }

/* Menu akun di navbar */
.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; }
.user-menu summary::-webkit-details-marker { display: none; }
.avatar-nav { width: 44px; height: 44px; border-radius: 50%; background: var(--pink); color: var(--maroon); border: 2px solid #fff; box-shadow: 0 4px 12px rgba(216,67,90,.2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.user-menu-box { position: absolute; right: 0; top: 54px; width: 240px; border: 1px solid var(--pink-bd); border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 20px 40px rgba(216,67,90,.18); background: rgba(255,255,255,.97); z-index: 60; }
.user-menu-box b { font-family: var(--font-display); font-weight: 600; padding: 0 8px; }
.user-menu-box small { color: var(--muted-2); padding: 0 8px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-box a, .user-menu-box button { display: flex; align-items: center; min-height: 40px; padding: 0 8px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; background: none; border: 0; width: 100%; text-align: left; cursor: pointer; font-family: var(--font-body); }
.user-menu-box a:hover, .user-menu-box button:hover { background: var(--pink); color: var(--maroon); }
@media (max-width: 520px) {
  .nav-actions .btn[href="bonus-saya.php"] { display: none; }
}
@media (max-width: 760px) { .is-page .wa-float { display: none; } }

/* =========================================================
   Games
   ========================================================= */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--muted); text-decoration: none; }
.back-link svg { transform: rotate(180deg); }
.back-link:hover { color: var(--maroon); }

.deck-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.deck-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; text-decoration: none; color: var(--ink); background: linear-gradient(160deg, var(--tbg), rgba(255,255,255,.75) 70%); }
.deck-icon { width: 76px; height: 76px; border-radius: 24px; background: #fff; color: var(--tfg); display: flex; align-items: center; justify-content: center; font-size: 42px; font-weight: 700; box-shadow: 0 8px 20px rgba(0,0,0,.06); transition: transform .25s ease; }
.deck-icon.is-long { font-size: 26px; }
.deck-card:hover .deck-icon { transform: rotate(-6deg) scale(1.06); }
.deck-body h2 { font-size: 24px; margin-bottom: 6px; }
.deck-body p { color: var(--muted); line-height: 1.55; font-size: 15px; }
.deck-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.deck-meta span { background: #fff; color: var(--tfg); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.deck-meta .deck-best { background: var(--gold); color: var(--ink); }
.deck-go { align-self: flex-start; margin-top: auto; }

.game-top { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.game-top h1 { font-size: clamp(30px, 4vw, 44px); display: flex; align-items: center; gap: 12px; }
.deck-mini { width: 56px; height: 56px; border-radius: 18px; background: var(--tbg); color: var(--tfg); display: inline-flex; align-items: center; justify-content: center; font-size: 30px; flex-shrink: 0; }
.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
@media (max-width: 920px) { .game-layout { grid-template-columns: 1fr; } }
.game-card { border: 1px solid var(--tbd); border-radius: 32px; padding: clamp(18px, 3.4vw, 32px); box-shadow: 0 20px 50px rgba(216,67,90,.10); min-height: 420px; }
.g-screen h2 { font-size: 26px; margin-bottom: 14px; }
.g-field { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.g-field legend { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-bottom: 10px; padding: 0; }
.seg-row { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-pill { position: relative; cursor: pointer; }
.seg-pill input, .style-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-pill span { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1.5px solid #EBCBD2; font-weight: 700; font-size: 15px; color: var(--muted); transition: all .15s ease; }
.seg-pill span small { font-weight: 600; opacity: .7; }
.seg-pill input:checked + span { background: var(--tbg); border-color: var(--tfg); color: var(--tfg); }
.seg-pill input:focus-visible + span, .style-opt input:focus-visible + .style-box { outline: 3px solid #F59AAE; outline-offset: 2px; }
.style-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 10px; }
.style-opt { cursor: pointer; position: relative; }
.style-box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border-radius: 22px; background: #fff; border: 1.5px solid #EBCBD2; transition: all .15s ease; }
.style-box b { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.style-box small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.style-box em { font-style: normal; font-weight: 700; font-size: 12px; color: var(--label); margin-top: 2px; }
.style-ic { width: 40px; height: 40px; border-radius: 13px; background: var(--tbg); color: var(--tfg); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.style-opt input:checked + .style-box { border-color: var(--tfg); background: linear-gradient(160deg, var(--tbg), #fff); box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.g-error { background: var(--pink); color: var(--maroon); font-weight: 700; padding: 10px 14px; border-radius: 14px; margin: 0 0 12px; }
.g-note { font-size: 14px; color: var(--muted-2); text-align: center; margin: 12px 0 0; line-height: 1.5; }

.g-hud { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.g-hud .spacer { flex: 1; }
.g-chip { background: #fff; border: 1px solid var(--tbd); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 15px; padding: 6px 14px; border-radius: 999px; }
.g-combo { background: var(--gold); border-color: var(--gold); animation: pop .3s ease; }
.g-time { min-width: 52px; text-align: center; color: var(--tfg); }
.g-quit { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--tbd); background: #fff; color: var(--muted); cursor: pointer; font-size: 15px; }
.g-quit:hover { color: var(--maroon); background: var(--pink); }
.g-timer { height: 8px; background: rgba(255,255,255,.8); border-radius: 999px; margin: 12px 0 18px; overflow: hidden; }
.g-timer span { display: block; height: 100%; width: 100%; background: var(--grad); border-radius: inherit; transition: width .1s linear; }
.g-timer span.is-low { background: linear-gradient(90deg, #E04F63, #F2B33D); }
.g-prompt { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; background: linear-gradient(160deg, var(--tbg), #fff); border-radius: 26px; padding: 22px; margin-bottom: 16px; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 5vw, 40px); color: var(--ink); overflow-wrap: anywhere; }
.g-prompt.jp { font-family: var(--font-jp); font-weight: 700; font-size: clamp(56px, 12vw, 92px); line-height: 1.1; color: var(--tfg); }
.g-prompt.is-kana { font-size: clamp(72px, 16vw, 110px); }
.g-prompt.is-sentence { font-size: clamp(22px, 4.4vw, 32px); line-height: 1.6; }
.g-prompt small { font-size: 18px; color: var(--muted); font-weight: 600; }
.g-prompt .blank { color: var(--maroon); background: #fff; border-radius: 10px; padding: 0 6px; }
.g-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .g-options { grid-template-columns: 1fr; } }
.g-opt { position: relative; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px 14px 10px 36px; border-radius: 20px; background: #fff; border: 1.5px solid #EBCBD2; font-family: var(--font-body); font-weight: 700; font-size: 17px; color: var(--ink); cursor: pointer; text-align: center; line-height: 1.3; transition: transform .12s ease, background .15s ease, border-color .15s ease; }
.g-opt .jp { font-family: var(--font-jp); font-size: 22px; }
.g-opt .opt-kana { font-size: 30px; }
.g-opt small { font-size: 13px; color: var(--muted-2); font-weight: 600; }
.g-opt kbd { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 7px; background: var(--tbg); color: var(--tfg); font: 700 12px/22px var(--font-body); }
.g-opt:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--tfg); background: var(--tbg); }
.g-opt:disabled { cursor: default; opacity: .6; }
.g-opt.is-correct { opacity: 1; background: var(--green); border-color: #4E9A6E; color: var(--green-fg); }
.g-opt.is-wrong { opacity: 1; background: var(--pink); border-color: var(--rose); color: var(--maroon); animation: shake .35s ease; }
@keyframes shake { 0%,100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.g-feedback { margin-top: 14px; border-radius: 18px; padding: 12px 16px; line-height: 1.55; display: flex; flex-direction: column; gap: 4px; }
.g-feedback.ok { background: var(--green); color: var(--green-fg); }
.g-feedback.no { background: var(--pink); color: var(--maroon); }
.g-feedback b { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.g-feedback p { margin: 0; color: var(--ink); }
.g-feedback .gain { color: var(--label); }
.g-feedback .jp, .g-review .jp { font-family: var(--font-jp); }
.big { font-size: 1.3em; }
.g-tip { font-size: 14px; color: var(--muted) !important; }
[data-next] { margin-top: 14px; }

.match-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 600px) { .match-grid { grid-template-columns: repeat(3, 1fr); } }
.m-tile { min-height: 88px; border-radius: 20px; background: #fff; border: 1.5px solid #EBCBD2; padding: 8px; font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; line-height: 1.25; overflow-wrap: anywhere; transition: transform .12s ease, background .15s ease; }
.m-tile.side-q .jp { font-family: var(--font-jp); font-size: 28px; color: var(--tfg); }
.m-tile .jp { font-family: var(--font-jp); }
.m-tile small { font-size: 12px; color: var(--muted-2); }
.m-tile:hover:not(:disabled) { transform: translateY(-2px); }
.m-tile.is-sel { background: var(--tbg); border-color: var(--tfg); box-shadow: 0 0 0 3px rgba(242,179,61,.5); }
.m-tile.is-bad { background: var(--pink); border-color: var(--rose); animation: shake .35s ease; }
.m-tile.is-done { background: var(--green); border-color: transparent; opacity: .45; transform: scale(.94); cursor: default; }

.g-result { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 0 6px; }
.stars { display: flex; gap: 6px; font-size: 46px; line-height: 1; }
.star { color: #EADCE0; }
.star.on { color: var(--gold); animation: pop .45s ease both; text-shadow: 0 4px 12px rgba(242,179,61,.45); }
.star.on:nth-child(2) { animation-delay: .12s; } .star.on:nth-child(3) { animation-delay: .24s; }
.g-cheer { font-family: var(--font-jp); font-weight: 700; font-size: 22px; color: var(--tfg); }
.g-final small { display: block; font-weight: 700; color: var(--muted-2); }
.g-final b { font-family: var(--font-display); font-size: 64px; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.g-stats span { background: #fff; border: 1px solid var(--tbd); border-radius: 16px; padding: 8px 14px; display: flex; flex-direction: column; min-width: 96px; }
.g-stats small { font-size: 12px; color: var(--muted-2); font-weight: 700; }
.g-stats b { font-family: var(--font-display); font-size: 18px; }
.g-save { margin-top: 6px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.g-save p { margin: 0; }
.new-rec { background: var(--gold); padding: 2px 10px; border-radius: 999px; }
.g-review { margin-top: 18px; background: rgba(255,255,255,.75); border-radius: 22px; padding: 16px 18px; }
.g-review h3 { font-size: 18px; margin-bottom: 8px; }
.g-review ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.g-review li { border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.g-review li:last-child { border: 0; padding: 0; }
.g-review p { margin: 0; line-height: 1.5; }
.g-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

.board { border: 1px solid var(--pink-bd); border-radius: 28px; padding: 20px; position: sticky; top: 100px; }
@media (max-width: 920px) { .board { position: static; } }
.board h2 { font-size: 20px; margin-bottom: 12px; }
.board-tabs { display: flex; gap: 4px; padding: 4px; background: #FBEFF1; border-radius: 999px; margin-bottom: 12px; }
.board-tab { flex: 1; min-height: 36px; border: 0; border-radius: 999px; background: none; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.board-tab.is-active { background: #fff; color: var(--maroon); box-shadow: 0 3px 10px rgba(216,67,90,.15); }
.board-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.board-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; font-weight: 700; font-size: 15px; }
.board-list li:nth-child(odd) { background: rgba(255,255,255,.7); }
.board-list li.is-me { background: var(--yellow); }
.board-list .rk { width: 26px; height: 26px; border-radius: 50%; background: #F3E4E8; color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.board-list li:nth-child(1) .rk { background: var(--gold); color: var(--ink); }
.board-list li:nth-child(2) .rk { background: #DCDDE3; color: var(--ink); }
.board-list li:nth-child(3) .rk { background: #EBC8A4; color: var(--ink); }
.board-list .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-list li.board-empty { background: none; color: var(--muted-2); font-weight: 600; justify-content: center; text-align: center; }
.board .g-note { text-align: left; }
@media (prefers-reduced-motion: reduce) { .g-opt, .m-tile, .deck-icon, .g-timer span { transition: none; animation: none; } }
@media (max-width: 560px) {
  .style-box { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 2px; padding: 12px 14px; align-items: center; }
  .style-ic { grid-row: span 3; margin: 0; }
  .style-box b { font-size: 17px; }
  .game-card { min-height: 0; }
}

/* =========================================================
   Latihan JFT
   ========================================================= */
.chip-mini { display: inline-flex; align-items: center; gap: 4px; background: var(--tbg); color: var(--tfg); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.chip-mini .jp { font-family: var(--font-jp); }
.sec-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.jft-group { margin-top: 34px; }
.jft-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }
.jft-group-head h2 { font-size: 26px; }
.jft-group-head p { color: var(--muted); margin: 0; }
.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 18px; }
.set-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(160deg, var(--tbg), rgba(255,255,255,.78) 65%); }
.set-card.is-locked { background: linear-gradient(160deg, #F4EEF0, rgba(255,255,255,.8) 65%); }
.set-top { display: flex; justify-content: space-between; align-items: center; }
.set-ic { width: 46px; height: 46px; border-radius: 15px; background: #fff; color: var(--tfg); display: flex; align-items: center; justify-content: center; }
.is-locked .set-ic { color: var(--muted-2); }
.set-badge { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .08em; background: #fff; color: var(--tfg); padding: 4px 10px; border-radius: 999px; }
.set-card h3 { font-size: 21px; }
.set-card > p { color: var(--muted); line-height: 1.55; font-size: 15px; margin: 0; }
.set-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.set-meta li { background: #fff; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; color: var(--ink); }
.set-meta .set-best { background: var(--gold); }
.set-act { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.set-act .small-link { align-self: center; margin: 0; }
.set-note { width: 100%; font-size: 14px; color: var(--muted); line-height: 1.5; }
.history { border: 1px solid var(--pink-bd); border-radius: 26px; padding: 8px; display: flex; flex-direction: column; }
.history-row { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 18px; text-decoration: none; color: var(--ink); }
.history-row:hover { background: var(--pink); }
.h-score { width: 52px; height: 52px; border-radius: 16px; background: #fff; border: 1px solid var(--pink-bd); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--maroon); flex-shrink: 0; }
.h-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.h-body small { color: var(--muted-2); }

/* Mengerjakan */
.jft-run .page { padding-top: 24px; }
.jft-bar { position: sticky; top: 92px; z-index: 20; display: flex; align-items: center; gap: 10px; border: 1px solid var(--pink-bd); border-radius: 22px; padding: 10px 14px; margin-bottom: 16px; background: rgba(255,255,255,.88); }
.jft-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jft-title b { font-family: var(--font-display); font-weight: 600; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jft-title .back-link { font-size: 13px; }
.jft-timer { min-width: 70px; text-align: center; font-variant-numeric: tabular-nums; color: var(--maroon); }
.jft-timer.is-low { background: var(--pink); border-color: var(--rose); animation: pulse 1s ease infinite; }
@keyframes pulse { 50% { transform: scale(1.06); } }
.jq-list { display: flex; flex-direction: column; gap: 16px; }
.jft-form.js-on .jq { display: none; }
.jft-form.js-on .jq.is-current { display: flex; animation: jq-in .18s ease; }
@keyframes jq-in { from { opacity: .7; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.jq { flex-direction: column; gap: 14px; padding: clamp(18px, 3.4vw, 30px); display: flex; }
.jq-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.jq-no { font-weight: 700; color: var(--muted-2); font-size: 14px; }
.jq-passage { background: #fff; border: 1px solid var(--tbd); border-radius: 18px; padding: 16px 18px; font-size: 19px; line-height: 1.9; color: var(--ink); }
.jq-passage.small-pass { font-size: 16px; line-height: 1.7; padding: 12px 14px; }
.jq-prompt { font-size: 19px; line-height: 1.75; font-weight: 600; color: var(--ink); }
.jq-prompt u, .jq-passage u, .jc-text u { text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--rose); }
.jq-img { max-width: 100%; max-height: 360px; border-radius: 16px; align-self: center; }
.jq-audio { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 16px; color: var(--tfg); }
.jq-audio audio { flex: 1; min-width: 0; height: 40px; }
.jq-choices { display: flex; flex-direction: column; gap: 10px; }
.jc { position: relative; display: flex; align-items: center; gap: 14px; background: #fff; border: 1.5px solid #EBCBD2; border-radius: 18px; padding: 12px 16px; cursor: pointer; transition: border-color .15s ease, background .15s ease; min-height: 58px; }
.jc input { position: absolute; opacity: 0; pointer-events: none; }
.jc-key { width: 32px; height: 32px; border-radius: 10px; background: var(--tbg); color: var(--tfg); font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.jc-text { font-size: 18px; font-weight: 600; line-height: 1.5; }
.jc:hover { border-color: var(--tfg); }
.jc:has(input:checked) { border-color: var(--tfg); background: var(--tbg); box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.jc input:checked ~ .jc-key { background: var(--tfg); color: #fff; }
.jc input:focus-visible ~ .jc-key { outline: 3px solid #F59AAE; outline-offset: 2px; }
.jft-nav { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.jft-nav .spacer { flex: 1; }
.jft-form.js-on [data-submit] { order: 3; background: #fff; color: var(--maroon); border: 1px solid #F3B7C3; box-shadow: none; }
.jft-form.js-on [data-submit].is-final { background: var(--grad); color: #fff; border: 0; box-shadow: 0 8px 20px rgba(216,67,90,.30); }
.jft-palette { border: 1px solid var(--pink-bd); border-radius: 22px; padding: 14px 16px; margin-top: 16px; }
.pal-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pal-head small { color: var(--muted-2); display: flex; align-items: center; gap: 6px; }
.pal-dot { display: inline-block; width: 12px; height: 12px; border-radius: 4px; background: #fff; border: 1px solid #EBCBD2; }
.pal-dot.is-done { background: var(--maroon); border-color: var(--maroon); }
.pal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(42px, 100%), 1fr)); gap: 6px; }
.pal-btn { height: 42px; border-radius: 12px; border: 1px solid #EBCBD2; background: #fff; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; }
.pal-btn.is-done { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.pal-btn.is-current { outline: 3px solid var(--gold); outline-offset: 1px; }
@media (max-width: 760px) {
  .jft-bar { top: 78px; }
  .jft-title b { display: none; }
  .jft-nav .btn { flex: 1; padding: 0 14px; }
  .jft-nav .spacer { display: none; }
  .jft-form.js-on [data-submit] { flex-basis: 100%; }
  .jq-passage { font-size: 17px; }
  .jq-prompt, .jc-text { font-size: 17px; }
}

/* Hasil */
.result-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; margin-top: 14px; align-items: start; }
@media (max-width: 820px) { .result-grid { grid-template-columns: 1fr; } }
.result-card { padding: 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; background: linear-gradient(160deg, var(--tbg), rgba(255,255,255,.8) 70%); }
.result-card h1 { font-size: 30px; }
.result-card p { color: var(--muted); margin: 0; line-height: 1.55; }
.score-ring { --p: 0; width: 168px; height: 168px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--maroon) 0, var(--rose) calc(var(--p) * 1%), #F3E4E8 0); margin: 6px 0; }
.score-ring > span { width: 132px; height: 132px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-ring b { font-family: var(--font-display); font-size: 50px; line-height: 1; color: var(--maroon); }
.score-ring small { color: var(--muted-2); font-weight: 700; }
.sec-card { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.sec-card h2 { font-size: 22px; }
.sec-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sb-head { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.sb-head .jp { font-family: var(--font-jp); color: var(--tfg); }
.sb-track { height: 12px; border-radius: 999px; background: #fff; border: 1px solid var(--tbd); overflow: hidden; }
.sb-track span { display: block; height: 100%; background: var(--tfg); border-radius: inherit; }
.sec-bars li.is-weak small { color: var(--maroon); font-weight: 700; font-size: 13px; }
.upsell { background: linear-gradient(160deg, var(--tbg), #fff); border: 1px solid var(--tbd); border-radius: 22px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.upsell > b { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.upsell p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 15px; }
.row-btn { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.review-wrap { margin-top: 30px; }
.review-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.review-head h2 { font-size: 26px; }
.lock-note { display: flex; align-items: center; gap: 8px; background: var(--yellow); color: var(--yellow-fg); padding: 10px 14px; border-radius: 14px; font-weight: 600; font-size: 14px; }
.review-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.review-list.only-wrong .rv.is-ok { display: none; }
.rv { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.rv .jq-prompt { font-size: 17px; }
.rv-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-no { width: 30px; height: 30px; border-radius: 10px; background: #F3E4E8; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.rv-mark { margin-left: auto; font-weight: 700; font-size: 14px; }
.rv.is-ok .rv-mark { color: var(--green-fg); }
.rv.is-no .rv-mark { color: var(--maroon); }
.rv.is-no { border-color: #F2B9C4; }
.rv-choices { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rv-choices li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: #fff; border: 1px solid #F3E4E8; font-size: 16px; }
.rv-choices .jp { font-family: var(--font-jp); flex: 1; }
.rv-choices .jc-key { width: 26px; height: 26px; font-size: 13px; border-radius: 8px; background: #F3E4E8; color: var(--muted); }
.rv-choices em { font-style: normal; font-size: 12px; font-weight: 700; }
.rv-choices li.is-ans { background: var(--green); border-color: #9CCFB0; }
.rv-choices li.is-ans em { color: var(--green-fg); }
.rv-choices li.is-pick { background: var(--pink); border-color: #F2B9C4; }
.rv-choices li.is-pick em { color: var(--maroon); }
.rv-explain { background: rgba(255,255,255,.8); border-left: 4px solid var(--gold); border-radius: 12px; padding: 10px 14px; }
.rv-explain b { font-family: var(--font-display); font-weight: 600; }
.rv-explain p { margin: 4px 0 0; line-height: 1.6; color: var(--ink); }
.rv-explain.is-locked { display: flex; align-items: center; gap: 6px; color: var(--muted-2); font-weight: 700; font-size: 14px; border-left-color: #E3D6DA; }
.bonus-jft { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: #fff; border: 1px dashed var(--tfg); border-radius: 20px; padding: 14px 16px; }
.bonus-jft .bi-body { flex: 1 1 220px; }
.g-nudge { background: var(--yellow); color: var(--yellow-fg); border-radius: 16px; padding: 10px 14px; max-width: 460px; line-height: 1.55; }

/* ---------- Dialog konfirmasi (wkConfirm) ---------- */
.wk-modal-open { overflow: hidden; }
.wk-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(59, 42, 51, .38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s ease; }
.wk-modal.is-in { opacity: 1; }
.wk-modal-box { width: min(420px, 100%); background: #FFFBF8; border: 1px solid #F6D3D9; border-radius: 30px; padding: 28px 26px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; box-shadow: 0 30px 70px rgba(122, 20, 24, .22); transform: translateY(14px) scale(.96); transition: transform .22s cubic-bezier(.2, .9, .3, 1.2); font-family: 'Quicksand', system-ui, sans-serif; color: #3B2A33; }
.wk-modal.is-in .wk-modal-box { transform: none; }
.wk-modal-ic { width: 60px; height: 60px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; background: #E3EEFA; color: #2E5784; }
.tone-warn .wk-modal-ic { background: #FDEBCB; color: #8A5A0C; }
.tone-danger .wk-modal-ic { background: #FBDDE3; color: #9A1C20; }
.tone-success .wk-modal-ic { background: #DDF1E6; color: #2F6146; }
.wk-modal-title { margin: 0; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 23px; line-height: 1.25; color: #3B2A33; }
.wk-modal-msg { margin: 0; font-size: 15.5px; line-height: 1.6; color: #5E4A55; max-width: 340px; }
.wk-modal-act { display: flex; gap: 10px; width: 100%; margin-top: 12px; }
.wk-btn { flex: 1; min-height: 50px; border-radius: 999px; border: 0; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 16px; cursor: pointer; padding: 0 16px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.wk-btn:focus-visible { outline: 3px solid #F59AAE; outline-offset: 2px; }
.wk-btn-ghost { background: #fff; color: #7A1418; border: 1px solid #F3B7C3; }
.wk-btn-ghost:hover { background: #FBDDE3; }
.wk-btn-primary { color: #fff; background: linear-gradient(90deg, #9A1C20, #D8435A); box-shadow: 0 8px 20px rgba(216, 67, 90, .3); }
.wk-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(216, 67, 90, .38); }
.wk-btn-danger { color: #fff; background: #B3261E; box-shadow: 0 8px 20px rgba(179, 38, 30, .28); }
.wk-btn-danger:hover { background: #8F1D17; }
.wk-sum { width: 100%; display: flex; gap: 8px; margin-top: 4px; }
.wk-sum span { flex: 1; background: #fff; border: 1px solid #F3E4E8; border-radius: 16px; padding: 10px 6px; display: flex; flex-direction: column; }
.wk-sum b { font-family: 'Fredoka', system-ui, sans-serif; font-size: 22px; line-height: 1.1; color: #3B2A33; }
.wk-sum small { font-size: 12px; font-weight: 700; color: #6B5762; }
.wk-sum .is-warn { background: #FDEBCB; border-color: #EFD9B0; }
.wk-sum .is-warn b { color: #8A5A0C; }
.wk-skip { width: 100%; text-align: left; background: #FFF4E0; border-radius: 16px; padding: 10px 12px; margin-top: 2px; }
.wk-skip p { margin: 0 0 8px; font-size: 13.5px; font-weight: 700; color: #6A4A10; }
.wk-skip div { display: flex; flex-wrap: wrap; gap: 6px; }
.wk-skip button { min-width: 38px; height: 34px; border-radius: 10px; border: 1px solid #EFD9B0; background: #fff; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 14px; color: #6A4A10; cursor: pointer; }
.wk-skip button:hover { background: #F2B33D; border-color: #F2B33D; color: #3B2A33; }
@media (max-width: 560px) {
  .wk-modal { align-items: flex-end; padding: 0; }
  .wk-modal-box { width: 100%; border-radius: 28px 28px 0 0; padding: 26px 20px calc(20px + env(safe-area-inset-bottom)); transform: translateY(100%); }
  .wk-modal-box::before { content: ''; width: 44px; height: 5px; border-radius: 999px; background: #EADCE0; margin: -12px 0 6px; }
}
@media (prefers-reduced-motion: reduce) { .wk-modal, .wk-modal-box { transition: none; } }

/* Latihan JFT v2: perbandingan & bank soal bonus */
.compare { border: 1px solid var(--pink-bd); border-radius: 24px; padding: 6px; margin: 0 auto 28px; max-width: 860px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 520px; }
.compare th, .compare td { padding: 11px 14px; text-align: center; font-size: 15px; border-bottom: 1px dashed var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--muted); }
.compare tbody th { text-align: left; font-weight: 700; color: var(--muted); font-size: 14px; }
.compare .is-hl { background: linear-gradient(180deg, #FFF1D6, #FFF8EA); color: var(--ink); }
.compare thead .is-hl { color: var(--maroon); border-radius: 18px 18px 0 0; }
.compare tbody tr:last-child .is-hl { border-radius: 0 0 18px 18px; }
.compare .y { color: var(--green-fg); font-weight: 700; }
.compare .n { color: #C9B5BC; font-weight: 700; }
.compare small { color: var(--muted-2); font-weight: 700; }
.bank { padding: clamp(20px, 3.4vw, 32px); background: linear-gradient(150deg, var(--tbg), #fff 60%); box-shadow: 0 24px 60px rgba(216,67,90,.14); border-width: 2px; margin-bottom: 8px; display: flex; flex-direction: column; gap: 20px; }
.bank-main { display: flex; gap: clamp(18px, 3vw, 34px); align-items: center; }
.bank-cover { width: clamp(110px, 18vw, 180px); border-radius: 10px; transform: rotate(-5deg); box-shadow: 8px 10px 0 -2px #F3E7E1, 0 18px 34px rgba(154,28,32,.25); flex-shrink: 0; }
.bank-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.bank-body h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; }
.bank-body .set-badge { align-self: flex-start; background: var(--gold); color: var(--ink); }
.bank.is-open .bank-body .set-badge { background: var(--green); color: var(--green-fg); }
.bank-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.bank-stats span { background: #fff; border: 1px solid var(--tbd); border-radius: 18px; padding: 8px 16px; display: flex; flex-direction: column; min-width: 92px; }
.bank-stats b { font-family: var(--font-display); font-size: 28px; line-height: 1.1; color: var(--maroon); }
.bank-stats small { font-weight: 700; color: var(--muted-2); font-size: 13px; }
.bank-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 6px 18px; }
.bank-list li { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; font-size: 15px; line-height: 1.45; }
.bank-list svg { color: var(--green-fg); flex-shrink: 0; margin-top: 2px; }
.bank .row-btn { align-items: center; }
@media (max-width: 640px) {
  .bank-main { flex-direction: column; align-items: flex-start; }
  .bank-cover { width: 120px; }
}
.peek { background: #fff; border: 1px dashed var(--tfg); border-radius: 20px; }
.peek summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-family: var(--font-display); font-weight: 600; color: var(--maroon); }
.peek summary::-webkit-details-marker { display: none; }
.peek summary::after { content: '＋'; margin-left: auto; font-size: 18px; }
.peek[open] summary::after { content: '－'; }
.peek-q { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.peek-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 8px; }
.peek-choices .jc { font: inherit; text-align: left; width: 100%; }
.peek-choices .jc:disabled { cursor: default; }
.peek-choices .jc.is-ans { background: var(--green); border-color: #9CCFB0; }
.peek-choices .jc.is-pick { background: var(--pink); border-color: #F2B9C4; }
.peek-more { margin: 0; font-weight: 600; color: var(--muted); }
.pack-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 8px; }
.pack-list li { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.85); border: 1px solid #F3E4E8; border-radius: 16px; padding: 10px 12px; }
.pack-list.is-locked li { opacity: .7; }
.pk-no { width: 32px; height: 32px; border-radius: 10px; background: var(--tbg); color: var(--tfg); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; flex-shrink: 0; }
.pk-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pk-body b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-body small { color: var(--muted-2); font-size: 13px; }

/* Slider produk di HP */
.slider-ctl { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.slider-ctl[hidden] { display: none; }
.sl-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--pink-bd); background: #fff; color: var(--maroon); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 6px 14px rgba(216,67,90,.12); }
.sl-btn:disabled { opacity: .35; cursor: default; }
.sl-dots { display: flex; gap: 6px; }
.sl-dot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: #EBCBD2; cursor: pointer; transition: width .25s ease, background .25s ease; }
.sl-dot.is-active { width: 22px; background: var(--maroon); }
@media (max-width: 820px) {
  .shop-grid.is-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 6px 7% 18px; margin: 0 -16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .shop-grid.is-slider::-webkit-scrollbar { display: none; }
  .shop-grid.is-slider > .product { flex: 0 0 86%; scroll-snap-align: center; }
  .shop-grid.is-slider > .product[hidden] { display: none; }
  .shop-grid.is-slider .product-name { font-size: 21px; }
}
.see-all { align-self: flex-end; }
.product-name a { color: inherit; text-decoration: none; }
.product-name a:hover { color: var(--maroon); }
.product-act { display: flex; gap: 8px; }
.product-act .btn { flex: 1; min-height: 46px; padding: 0 12px; }
.product-act .btn-primary { flex: 1.6; }
.product-act .btn-ghost { background: #fff; }
.tile-rate { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.tile-rate b { font-weight: 700; }
.tile-rate small { color: var(--muted-2); }
.stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.stars .st { display: inline-block; background: linear-gradient(90deg, var(--gold) var(--f), #E8DCDF var(--f)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3 6.1 20.6l1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3 6.1 20.6l1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* =========================================================
   Toko & detail produk
   ========================================================= */
.shop-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 18px; }
.shop-top h1 { font-size: clamp(34px, 4.6vw, 52px); margin: 8px 0; }
.shop-top .lead { max-width: 560px; margin: 0; }
.shop-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--pink-bd); border-radius: 999px; padding: 6px 6px 6px 16px; min-width: min(420px, 100%); color: var(--muted-2); }
.shop-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 600 16px var(--font-body); color: var(--ink); min-height: 40px; outline: none; }
.shop-search:focus-within { box-shadow: 0 0 0 3px #F59AAE; }
.shop-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.shop-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.shop-cats::-webkit-scrollbar { display: none; }
.shop-cats .chip { text-decoration: none; white-space: nowrap; }
.shop-cats .chip small { opacity: .7; margin-left: 2px; }
.shop-sort { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--muted); }
.shop-sort select { min-height: 40px; border-radius: 999px; border: 1px solid #EBCBD2; background: #fff; padding: 0 14px; font: 600 14px var(--font-body); color: var(--ink); }
.shop-info { color: var(--muted); margin: 0 0 14px; }
.tile-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1180px) { .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.tile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); overflow: hidden; padding: 8px; gap: 8px; transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(216,67,90,.16); color: var(--ink); }
.tile-media { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; background: var(--tbg); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tile-media.flip-book img { width: 58%; height: auto; object-fit: contain; border-radius: 4px; transform: rotate(-4deg); box-shadow: 5px 6px 0 -1px #F3E7E1, 0 12px 22px rgba(154,28,32,.25); }
.tile-media.flip-card img { width: 86%; height: auto; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(46,87,132,.25)); }
.tile:hover .tile-media img { transform: scale(1.04) rotate(0deg); }
.tile-disc { position: absolute; top: 10px; right: 10px; background: var(--maroon); color: #fff; font: 700 12px var(--font-display); padding: 4px 8px; border-radius: 999px; }
.tile-disc.static { position: static; }
.tile-body { display: flex; flex-direction: column; gap: 4px; padding: 0 4px 6px; flex: 1; }
.tile-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .product-price { margin-top: auto; padding-top: 4px; }
.tile .product-price b { font-size: 18px; }
.tile-bonus { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--green-fg); }
@media (max-width: 640px) { .tile-name { font-size: 14px; } .tile .product-price b { font-size: 16px; } .tile-body .product-cat { font-size: 10px; } }
.shop-claim { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; border: 1px dashed var(--pink-bd); border-radius: 24px; padding: 16px 18px; margin-top: 30px; }
.shop-claim > div { flex: 1 1 240px; }
.shop-claim p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--muted-2); margin-bottom: 16px; }
.crumbs a { color: var(--muted); font-weight: 700; text-decoration: none; }
.crumbs a:hover { color: var(--maroon); }
.crumbs b { color: var(--ink); font-weight: 700; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 860px) { .pd-grid { grid-template-columns: 1fr; } }
.pd-gallery { padding: 14px; position: sticky; top: 100px; }
@media (max-width: 860px) { .pd-gallery { position: static; } }
.pd-gallery .product-media { border-radius: 22px; }
.pd-info { display: flex; flex-direction: column; gap: 12px; }
.pd-info h1 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.15; }
.pd-rate { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-size: 15px; }
.pd-rate span { color: var(--muted); text-decoration: underline; }
.pd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pd-price b { font-family: var(--font-display); font-size: 34px; color: var(--maroon); }
.pd-price s { color: var(--muted-2); }
.pd-buy { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-buy .btn { flex: 1 1 200px; }
.pd-bonus { background: linear-gradient(160deg, var(--tbg), #fff); border: 1px solid var(--tbd); border-radius: 22px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.pd-bonus > b { font-family: var(--font-display); font-weight: 600; font-size: 17px; display: flex; align-items: center; gap: 8px; color: var(--tfg); }
.pd-bonus ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pd-bonus li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.pd-bonus li svg { color: var(--tfg); flex-shrink: 0; }
.pd-bonus small { color: var(--muted); }
.pd-section { padding: clamp(20px, 3vw, 30px); margin-top: 22px; }
.pd-section > h2 { font-size: 26px; margin-bottom: 14px; }
.rich { line-height: 1.75; color: var(--ink); font-size: 16px; }
.rich p { margin: 0 0 12px; }
.rich ul { margin: 0 0 12px; padding-left: 20px; }
.rich h3 { font-size: 19px; margin: 18px 0 8px; }
.rv-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 28px; align-items: center; margin-bottom: 18px; }
@media (max-width: 560px) { .rv-top { grid-template-columns: 1fr; } }
.rv-score { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 140px; }
.rv-score b { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--ink); }
.rv-score small { color: var(--muted-2); font-weight: 700; }
.rv-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-width: 420px; }
.rv-bars li { display: grid; grid-template-columns: 34px 1fr 26px; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.rv-bars .sb-track { height: 8px; border-color: #F3E4E8; }
.rv-bars .sb-track span { background: var(--gold); }
.rv-verified { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 700; color: var(--green-fg); }
.rv-form { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--pink-bd); border-radius: 20px; padding: 16px; margin-bottom: 18px; }
.rv-form textarea { border-radius: 14px; border: 1px solid #EBCBD2; padding: 10px 14px; font: 600 15px var(--font-body); color: var(--ink); resize: vertical; }
.rv-form .btn { align-self: flex-start; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 34px; line-height: 1; color: #E3D6DA; cursor: pointer; transition: color .1s ease, transform .1s ease; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 3px solid #F59AAE; border-radius: 6px; }
.rv-hint { font-size: 13px; color: var(--muted-2); margin: 0 0 10px; }
.rv-hint a { color: var(--maroon); font-weight: 700; }
.rv-mine { background: #F0F9F4; border: 1px solid #C9E6D4; border-radius: 18px; padding: 14px 16px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.rv-mine > b { display: flex; align-items: center; gap: 6px; color: #2F6146; font-size: 14px; }
.rv-mine p { margin: 0; line-height: 1.6; color: var(--ink); }
.rv-reply { margin: 4px 0 0 18px; background: #FFF4F6; border-left: 3px solid var(--maroon); border-radius: 0 14px 14px 0; padding: 10px 14px; }
.rv-reply b { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--maroon); }
.rv-reply b img { width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.rv-reply p { margin: 4px 0 0; font-size: 14px; line-height: 1.55; }
.rv-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rv-items li { padding: 14px 0; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 6px; }
.rv-items p { margin: 0; line-height: 1.6; }
.rv-who { display: flex; align-items: center; gap: 8px; }
.avatar-nav.small { width: 32px; height: 32px; font-size: 14px; }
.rv-badge { display: inline-flex; align-items: center; gap: 3px; background: var(--green); color: var(--green-fg); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.rv-meta { display: flex; align-items: center; gap: 8px; }
.rv-meta small { color: var(--muted-2); }
.pd-related { margin-top: 30px; }
.pd-related .jft-group-head { justify-content: space-between; }
.shop-cats .chip { display: inline-flex; align-items: center; gap: 4px; }
.pd-bonus li { align-items: flex-start; }
.pd-bonus li svg { margin-top: 3px; }
@media (max-width: 820px) { .shop-grid > .product:only-child { grid-column: 1 / -1; width: 100%; max-width: 440px; justify-self: center; } }

/* Tombol beli: Shopee / TikTok Shop */
.pd-buy-wrap { display: flex; flex-direction: column; gap: 8px; }
.pd-buy-label { font-weight: 700; font-size: 14px; color: var(--muted); }
.btn.buy-shopee { background: #EE4D2D; color: #fff; box-shadow: 0 8px 20px rgba(238,77,45,.28); }
.btn.buy-shopee:hover { background: #D73F21; color: #fff; transform: translateY(-2px); }
.btn.buy-tiktok { background: #161823; color: #fff; box-shadow: 0 8px 20px rgba(22,24,35,.25); }
.btn.buy-tiktok:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn.buy-other { background: var(--grad); color: #fff; }
.btn.buy-wa { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(216,67,90,.30); }
.pd-ask { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; }
.pd-ask:hover { color: var(--maroon); }
.buy-menu { position: relative; flex: 1.6; }
.buy-menu summary { list-style: none; width: 100%; min-height: 46px; cursor: pointer; }
.buy-menu summary::-webkit-details-marker { display: none; }
.buy-pop { position: absolute; left: 0; right: -40%; bottom: calc(100% + 8px); background: #fff; border: 1px solid var(--pink-bd); border-radius: 18px; padding: 8px; box-shadow: 0 18px 40px rgba(154,28,32,.18); display: flex; flex-direction: column; gap: 6px; z-index: 20; }
.buy-pop small { font-weight: 700; color: var(--muted-2); padding: 2px 6px; }
.buy-pop a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; font-weight: 700; text-decoration: none; color: #fff; }
.buy-pop a.buy-shopee { background: #EE4D2D; }
.buy-pop a.buy-tiktok { background: #161823; }
.buy-pop a.buy-other, .buy-pop a.buy-wa { background: var(--maroon); }

/* ===== Zona gratis: bento ===== */
#gratis { position: relative; }
#gratis::before { content: ''; position: absolute; inset: 40px 0; z-index: -1; background:
  radial-gradient(40% 60% at 15% 30%, rgba(251,221,227,.75), transparent 70%),
  radial-gradient(35% 55% at 85% 25%, rgba(214,239,225,.7), transparent 70%),
  radial-gradient(40% 60% at 60% 90%, rgba(220,233,248,.7), transparent 70%); }
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.bento-tile { position: relative; overflow: hidden; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 18px 44px rgba(216,67,90,.10); transition: transform .25s, box-shadow .25s; }
a.bento-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(216,67,90,.18); color: var(--ink); }
.bento-tile h3 { font-size: 26px; line-height: 1.2; margin: 0; }
.bento-tile p { margin: 0; color: var(--muted); line-height: 1.6; }
.bento-tile p b { color: var(--maroon); }
.bt-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--maroon); }
.bt-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--maroon); padding-top: 6px; }
a.bento-tile:hover .bt-cta svg { transform: translateX(4px); } .bt-cta svg { transition: transform .2s; }
.bt-games { grid-row: span 2; background: linear-gradient(150deg, #FFE3EA 0%, #FFF1E6 100%); flex-direction: row; align-items: stretch; gap: 22px; }
.bt-games .bt-copy { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.bt-games h3 { font-size: 34px; }
.bt-kana { flex: 0 0 210px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.kana-flip { position: relative; aspect-ratio: 1; border-radius: 22px; background: #fff; box-shadow: 0 10px 24px rgba(154,28,32,.12); display: flex; align-items: center; justify-content: center; }
.kana-flip span { position: absolute; font-weight: 700; color: var(--maroon); animation: kanaSwap 4s infinite; }
.kana-flip span.jp { font-size: 44px; color: var(--ink); }
.kana-flip span:last-child { font-size: 22px; opacity: 0; animation-name: kanaSwap2; }
.kana-flip.d2 { transform: rotate(4deg); } .kana-flip.d2 span { animation-delay: 1.3s; }
.kana-flip.d3 { transform: rotate(-3deg); } .kana-flip.d3 span { animation-delay: 2.6s; } .kana-flip.d3 span.jp { font-size: 40px; }
@keyframes kanaSwap { 0%, 45% { opacity: 1; transform: scale(1); } 55%, 95% { opacity: 0; transform: scale(.7); } 100% { opacity: 1; } }
@keyframes kanaSwap2 { 0%, 45% { opacity: 0; transform: scale(.7); } 55%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.kana-score { border-radius: 22px; background: var(--maroon); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; }
.kana-score small { font-size: 12px; opacity: .8; } .kana-score b { font-size: 34px; line-height: 1.1; } .kana-score i { font-style: normal; font-size: 12px; background: #F2B33D; color: var(--ink); border-radius: 999px; padding: 2px 8px; margin-top: 4px; font-weight: 700; }
.bt-jft { background: linear-gradient(150deg, #E2F4EA 0%, #F4FBF7 100%); }
.bt-jft .bt-tag { color: #2F6146; } .bt-jft .bt-cta { color: #2F6146; } .bt-jft p b { color: #2F6146; }
.bt-q { background: #fff; border-radius: 18px; padding: 12px 14px; box-shadow: 0 8px 20px rgba(47,97,70,.10); margin-top: 4px; }
.bt-q small { font-size: 11px; font-weight: 700; color: #2F6146; letter-spacing: .5px; }
.bt-q p.jp { font-size: 19px; color: var(--ink); margin: 4px 0 8px; }
.bt-q u { text-decoration-color: #D8435A; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bt-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.bt-opts span { font-family: var(--font-jp); font-weight: 700; font-size: 14px; padding: 5px 10px; border-radius: 10px; background: #F4F1F2; color: var(--muted); }
.bt-opts span.ok { background: #2F6146; color: #fff; }
.bt-video { background: linear-gradient(150deg, #E3EEFA 0%, #F6F9FE 100%); }
.bt-video .bt-tag { color: #2E5784; }
.bt-video h3, .bt-video p { opacity: .75; }
.bt-soon { position: absolute; top: 22px; right: 22px; background: #2E5784; color: #fff; font-weight: 700; font-size: 12px; padding: 5px 12px; border-radius: 999px; letter-spacing: .4px; }
.bt-play { position: absolute; right: -14px; bottom: -14px; width: 110px; height: 110px; border-radius: 50%; background: rgba(46,87,132,.12); color: #2E5784; display: flex; align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .bt-games { grid-row: auto; flex-direction: column; }
  .bt-games h3 { font-size: 28px; }
  .bt-kana { flex-basis: auto; grid-template-columns: repeat(4, 1fr); }
  .kana-flip span.jp { font-size: 32px; } .kana-score b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .kana-flip span { animation: none; } }
.bt-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.bt-modes span { background: #fff; border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 15px; box-shadow: 0 6px 16px rgba(154,28,32,.08); }
.bt-levels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.bt-levels b { font-size: 12px; color: var(--maroon); border: 1px dashed #EBB3BF; border-radius: 999px; padding: 4px 10px; }

/* ===== Hiragana & Katakana ===== */
.kana-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 20px; border-radius: 24px; margin-bottom: 26px; position: sticky; top: 92px; z-index: 5; }
.kana-tabs { display: flex; gap: 6px; background: #fff; border-radius: 999px; padding: 5px; border: 1px solid var(--pink-bd); }
.kana-tabs button { border: 0; background: transparent; font: 700 15px var(--font-body); color: var(--muted); padding: 9px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.kana-tabs button .jp { font-size: 18px; }
.kana-tabs button[aria-selected="true"] { background: var(--maroon); color: #fff; }
.kana-prog { flex: 1; min-width: 240px; max-width: 420px; }
.kp-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.kp-top span { color: var(--muted); } .kp-top span b { color: var(--maroon); }
.kana-prog small { display: block; margin-top: 6px; color: var(--muted-2); font-size: 12.5px; }
.kana-prog small a { color: var(--maroon); font-weight: 700; }
.kana-sec { margin-bottom: 34px; }
.kana-sec h2 { font-size: 24px; margin: 0 0 12px; }
.kana-sec h2 small { font-size: 15px; color: var(--muted-2); font-weight: 600; }
.kana-note { margin: -4px 0 14px; color: var(--muted); }
.kana-grid { display: grid; gap: 10px; }
.kana-grid.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.kana-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kc { position: relative; border: 1px solid var(--pink-bd); background: rgba(255,255,255,.88); border-radius: 18px; padding: 12px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; font-family: var(--font-body); color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.kc:hover, .kc:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(216,67,90,.16); border-color: #EBA9B7; outline: none; }
.kc-ch { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; }
.kc.wide .kc-ch { font-size: clamp(26px, 4.4vw, 38px); }
.kc-r { font-weight: 700; font-size: 13px; color: var(--muted-2); letter-spacing: .5px; }
.kc-ok { position: absolute; top: 6px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: #2F6146; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: none; align-items: center; justify-content: center; }
.kc.is-known { background: #F0F9F4; border-color: #C9E6D4; }
.kc.is-known .kc-ok { display: flex; }
.kc.empty { border: 1px dashed rgba(216,67,90,.12); border-radius: 18px; background: transparent; }
.mirip { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 14px; }
.mirip-i { border-radius: 20px; padding: 16px; }
.mirip-ch { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.mirip-ch span { font-family: var(--font-body); font-weight: 700; color: var(--muted-2); font-size: 14px; }
.kc-link { border: 1px solid var(--pink-bd); background: #fff; border-radius: 14px; width: 56px; height: 56px; font: 700 32px var(--font-jp); color: var(--ink); cursor: pointer; }
.kc-link:hover { border-color: var(--maroon); color: var(--maroon); }
.mirip-i p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.kana-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-radius: 24px; padding: 20px 24px; }
.kana-cta b { font-size: 20px; } .kana-cta p { margin: 4px 0 0; color: var(--muted); }
.kana-credit { font-size: 12.5px; color: var(--muted-2); margin-top: 18px; text-align: center; }
.kana-credit a { color: var(--maroon); }
@media (max-width: 640px) {
  .kana-bar { top: 76px; padding: 12px; border-radius: 20px; }
  .kana-grid { gap: 6px; } .kc { border-radius: 14px; padding: 8px 2px 6px; } .kc-r { font-size: 11.5px; }
  .kc-ok { width: 16px; height: 16px; font-size: 10px; top: 4px; right: 4px; }
}

/* Panel huruf */
body.km-open { overflow: hidden; }
.kana-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.kana-modal[hidden] { display: none; }
.km-backdrop { position: absolute; inset: 0; background: rgba(59,42,51,.45); backdrop-filter: blur(4px); }
.km-box { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #FFFCFA; border-radius: 28px; box-shadow: 0 30px 80px rgba(59,42,51,.3); padding: 18px 22px 22px; }
.km-head { display: flex; align-items: center; gap: 10px; }
.km-title { flex: 1; display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.km-title .jp { font-size: 34px; color: var(--maroon); }
.km-r { font-weight: 700; font-size: 18px; color: var(--muted); }
.km-nav, .km-x { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--pink-bd); background: #fff; font-size: 26px; line-height: 1; color: var(--maroon); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.km-x { font-size: 24px; }
.km-tabs { display: flex; gap: 6px; justify-content: center; margin: 12px 0 14px; }
.km-tabs button { border: 1px solid var(--pink-bd); background: #fff; font: 700 14px var(--font-body); color: var(--muted); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.km-tabs button[aria-selected="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.km-body { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 18px; align-items: start; }
.km-pane { min-width: 0; }
.km-stage { position: relative; background: #fff; border: 1px solid var(--pink-bd); border-radius: 22px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.km-svg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 6%; }
.km-svg svg { width: 100%; height: 100%; }
.km-svg .box { fill: none; stroke: #F6D3D9; stroke-width: .6; }
.km-svg .aux line { stroke: #F3D2DA; stroke-width: .5; stroke-dasharray: 2 2; }
.km-svg .guide path { fill: none; stroke: #F2DCE1; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.km-svg .ink path { fill: none; stroke: #3B2A33; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.km-svg .aux line.sep { stroke: #F6D3D9; stroke-dasharray: none; stroke-width: .8; }
.km-svg .num { font: 700 6.2px var(--font-body); fill: #D23A4F; opacity: 0; transition: opacity .2s; }
.km-svg .num.on { opacity: 1; }
.km-load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-weight: 600; padding: 20px; }
.km-load[hidden] { display: none; }
.km-stage.write canvas { width: 100%; height: 100%; touch-action: none; cursor: crosshair; display: block; }
.km-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.seg-sm { display: inline-flex; border: 1px solid var(--pink-bd); border-radius: 999px; overflow: hidden; background: #fff; }
.seg-sm button { border: 0; background: transparent; padding: 7px 12px; font: 700 13px var(--font-body); color: var(--muted); cursor: pointer; }
.seg-sm button.on { background: var(--pink); color: var(--maroon); }
.km-num { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.km-num input { accent-color: var(--maroon); width: 16px; height: 16px; }
.km-strokes, .km-score { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.km-score.good { color: #2F6146; } .km-score.mid { color: #7A520E; } .km-score.low { color: var(--maroon); }
.km-side { display: flex; flex-direction: column; gap: 12px; }
.km-say { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 18px; padding: 14px; background: linear-gradient(135deg, #2E5784, #4A7BB0); color: #fff; font: 700 16px var(--font-body); cursor: pointer; }
.km-ex { background: #fff; border: 1px solid var(--pink-bd); border-radius: 18px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.km-ex:empty { display: none; }
.km-ex small { font-size: 12px; font-weight: 700; color: var(--muted-2); letter-spacing: .4px; text-transform: uppercase; }
.km-exw { border: 0; background: none; padding: 0; font-size: 24px; color: var(--ink); cursor: pointer; text-align: left; }
.km-exw span { font-size: 15px; }
.km-ex > span { color: var(--muted); font-size: 14px; }
.km-known { display: flex; align-items: center; gap: 10px; border: 1px dashed #C9E6D4; background: #fff; border-radius: 18px; padding: 12px 14px; font: 700 15px var(--font-body); color: #2F6146; cursor: pointer; }
.km-known .box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid #9CCFB1; display: flex; align-items: center; justify-content: center; color: transparent; font-size: 14px; }
.km-known.on { background: #F0F9F4; border-style: solid; }
.km-known.on .box { background: #2F6146; border-color: #2F6146; color: #fff; }
@media (max-width: 720px) {
  .km-box { padding: 14px; border-radius: 22px; }
  .km-body { grid-template-columns: 1fr; }
  .km-side { display: grid; grid-template-columns: 1fr 1fr; }
  .km-ex { grid-column: 1 / -1; order: 3; }
  .km-say, .km-known { padding: 11px; font-size: 14px; }
}
.km-load { flex-direction: column; gap: 6px; }
.km-head > button { margin: 0; align-self: center; flex: 0 0 auto; padding: 0; }

/* ===== Artikel ===== */
.art-cover { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 20px; background: var(--tbg, #FBDDE3); display: flex; align-items: center; justify-content: center; }
.art-cover .jp { position: relative; z-index: 1; font-size: clamp(54px, 7vw, 76px); color: var(--tfg, #9A1C20); line-height: 1; letter-spacing: 2px; }
.art-cover.long .jp { font-size: clamp(34px, 4.6vw, 50px); }
.art-cover i { position: absolute; border-radius: 50%; background: rgba(255,255,255,.55); }
.art-cover i:nth-of-type(1) { width: 60%; aspect-ratio: 1; right: -18%; top: -30%; }
.art-cover i:nth-of-type(2) { width: 34%; aspect-ratio: 1; left: -8%; bottom: -16%; background: rgba(255,255,255,.35); }
.art-cover.big { aspect-ratio: 4 / 3; border-radius: 26px; }
.art-cover.big .jp { font-size: clamp(64px, 9vw, 110px); }
.art-cover.big.long .jp { font-size: clamp(40px, 5.6vw, 66px); }
.art-filter { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 22px; }
.art-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.art-chips a { text-decoration: none; background: #fff; border: 1px solid var(--pink-bd); color: var(--muted); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.art-chips a small { color: var(--muted-2); font-weight: 600; margin-left: 2px; }
.art-chips a.on { background: var(--maroon); border-color: var(--maroon); color: #fff; } .art-chips a.on small { color: #FBDDE3; }
.art-search { display: flex; background: #fff; border: 1px solid var(--pink-bd); border-radius: 999px; overflow: hidden; min-width: 240px; }
.art-search input { border: 0; padding: 10px 16px; font: 600 15px var(--font-body); flex: 1; min-width: 0; outline: none; background: transparent; color: var(--ink); }
.art-search button { border: 0; background: transparent; color: var(--maroon); padding: 0 14px; cursor: pointer; }
.art-feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center; text-decoration: none; color: var(--ink); border-radius: 30px; padding: 18px; margin-bottom: 26px; }
.art-feat small { font-weight: 700; color: var(--label); letter-spacing: .3px; }
.art-feat h2 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 10px; line-height: 1.2; }
.art-feat p { color: var(--muted); line-height: 1.65; margin: 0 0 14px; }
.art-feat .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--maroon); }
.art-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.art-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-radius: 24px; padding: 12px; transition: transform .2s, box-shadow .2s; }
.art-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(216,67,90,.14); color: var(--ink); }
.ac-body { padding: 12px 6px 6px; }
.ac-body small { font-weight: 700; color: var(--label); font-size: 12.5px; letter-spacing: .3px; }
.ac-body h3 { font-size: 19px; line-height: 1.3; margin: 6px 0 6px; }
.ac-body p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.art { max-width: 860px; margin: 0 auto; }
.art-head { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 26px; align-items: center; margin: 10px 0 26px; }
.art-cat { display: inline-block; text-decoration: none; font-weight: 700; color: var(--maroon); background: var(--pink); padding: 5px 12px; border-radius: 999px; font-size: 13px; }
.art-head h1 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.18; margin: 10px 0; }
.art-lead { font-size: 18px; color: var(--muted); line-height: 1.6; margin: 0 0 10px; }
.art-meta { display: flex; align-items: center; gap: 6px; color: var(--muted-2); font-weight: 600; font-size: 14px; margin: 0; }
.art-grid { display: block; }
.art-toc { border-radius: 20px; padding: 16px 20px; margin-bottom: 22px; }
.art-toc b { font-size: 15px; }
.art-toc ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.art-toc a { color: var(--maroon); text-decoration: none; font-weight: 600; }
.art-toc a:hover { text-decoration: underline; }
.art-body { font-size: 17.5px; line-height: 1.8; color: #3B2A33; }
.art-body h2 { font-size: 27px; line-height: 1.3; margin: 38px 0 12px; scroll-margin-top: 110px; }
.art-body h3 { font-size: 21px; margin: 26px 0 8px; scroll-margin-top: 110px; }
.art-body p { margin: 0 0 16px; }
.art-body ul, .art-body ol { margin: 0 0 18px; padding-left: 24px; }
.art-body li { margin-bottom: 6px; }
.art-body a { color: var(--maroon); font-weight: 700; }
.art-note { background: #FFF8EA; border-left: 4px solid #F2B33D; border-radius: 0 16px 16px 0; padding: 14px 18px; margin: 0 0 18px; font-size: 16.5px; }
.art-jp { background: #fff; border: 1px solid var(--pink-bd); border-left: 4px solid var(--maroon); border-radius: 0 16px 16px 0; padding: 12px 18px; margin: 0 0 14px; }
.art-jp p { margin: 0; }
.aj-s { font-size: 21px; line-height: 1.5; }
.aj-k { font-size: 14.5px; color: var(--maroon); }
.aj-a { font-size: 15.5px; color: var(--muted); font-style: italic; }
.art-table { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--pink-bd); border-radius: 16px; background: #fff; }
.art-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.art-table th, .art-table td { padding: 10px 14px; border-bottom: 1px solid #F6E3E7; text-align: left; vertical-align: top; }
.art-table th { background: #FFF4F6; color: var(--maroon); font-weight: 700; }
.art-table tr:last-child td { border-bottom: 0; }
.art-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--tbg); border: 1px solid var(--tbd); border-radius: 22px; padding: 18px 20px; margin: 26px 0; }
.art-cta b { font-size: 18px; color: var(--tfg); }
.art-cta p { margin: 4px 0 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.art-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 30px 0 0; padding-top: 18px; border-top: 1px dashed var(--pink-bd); }
.art-share span { font-weight: 700; color: var(--muted); }
.art-share a, .art-share button { text-decoration: none; border: 1px solid var(--pink-bd); background: #fff; color: var(--maroon); font: 700 14px var(--font-body); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.art-rel { max-width: 1040px; margin: 46px auto 0; }
.art-rel h2 { font-size: 26px; margin-bottom: 14px; }
@media (max-width: 760px) {
  .art-feat { grid-template-columns: 1fr; padding: 12px; gap: 14px; }
  .art-head { grid-template-columns: 1fr; gap: 16px; }
  .art-head .art-cover { aspect-ratio: 16 / 8; }
  .art-body { font-size: 16.5px; }
  .art-body h2 { font-size: 23px; }
  .art-search { width: 100%; }
}
.art-body .art-cta .btn, .art-body .art-cta .btn:hover { color: #fff; }

/* =========================================================
   Simulasi JFT (mode ujian)
   ========================================================= */
.jc-body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.jc-img { max-width: 100%; max-height: 170px; border-radius: 12px; object-fit: contain; align-self: flex-start; background: #fff; }
.jq-choices.has-img { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.jq-choices.has-img .jc { align-items: flex-start; }
.rv-choices .jc-img { max-height: 110px; }

.sim-body .site-footer { margin-top: 0; }
.sim-page { padding-top: 18px; }
.sim-wrap { max-width: 1260px; margin: 0 auto; padding: 0 clamp(14px, 3vw, 28px) 40px; display: grid; grid-template-columns: 292px minmax(0, 1fr); gap: 22px; align-items: start; }
.sim-side { position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; border: 1px solid var(--pink-bd); border-radius: 24px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,.92); }
.sim-side-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px 6px; }
.sim-side-head b { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.sim-timer { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--pink-bd); color: var(--maroon); font-family: var(--font-display); font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.sim-timer.is-low { background: var(--pink); border-color: var(--rose); animation: pulse 1s ease infinite; }
.sim-sec { border: 1px solid var(--tbd); border-radius: 18px; padding: 10px; background: #fff; }
.sim-sec.is-current { background: linear-gradient(160deg, var(--tbg), #fff 75%); box-shadow: 0 6px 18px rgba(0,0,0,.05); border-width: 2px; }
.sim-sec.is-locked { opacity: .55; }
.sim-sec.is-done { background: #FBF8F9; }
.sim-sec-head { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "jp name tag" "jp small tag"; column-gap: 10px; align-items: center; margin-bottom: 8px; }
.sim-sec-head .jp { grid-area: jp; font-family: var(--font-jp); font-weight: 700; color: var(--tfg); font-size: 15px; background: #fff; border: 1px solid var(--tbd); border-radius: 10px; padding: 6px 8px; }
.sim-sec-head b { grid-area: name; font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.2; }
.sim-sec-head small { grid-area: small; color: var(--muted-2); font-weight: 700; font-size: 12px; }
.sim-lock, .sim-done-tag { grid-area: tag; color: var(--muted-2); }
.sim-done-tag { font-size: 11px; font-weight: 700; background: var(--green); color: var(--green-fg); border-radius: 999px; padding: 3px 8px; }
.sim-nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(36px, 100%), 1fr)); gap: 6px; }
.sim-num { height: 36px; border-radius: 10px; border: 1.5px solid #E7CDD4; background: #fff; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; padding: 0; }
.sim-num:hover:not(.is-off) { border-color: var(--tfg); }
.sim-num.is-answered { background: var(--tfg); border-color: var(--tfg); color: #fff; }
.sim-num.is-flag { background: var(--gold); border-color: #D99A1E; color: var(--ink); }
.sim-num.is-flag.is-answered::after { content: ''; position: absolute; right: -3px; top: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--tfg); border: 2px solid #fff; }
.sim-num.is-current { outline: 3px solid var(--ink); outline-offset: 1px; }
.sim-num.is-off { cursor: default; opacity: .8; }
.sim-sec.is-locked .sim-num { background: #F7F1F3; border-style: dashed; }
.sim-legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; font-weight: 700; color: var(--muted-2); padding: 0 4px; }
.sim-legend span { display: inline-flex; align-items: center; gap: 5px; }
.lg { width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid #E7CDD4; background: #fff; display: inline-block; }
.lg-ans { background: var(--maroon); border-color: var(--maroon); }
.lg-flag { background: var(--gold); border-color: #D99A1E; }
.sim-next-sec { width: 100%; justify-content: center; }

.sim-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.sim-top { display: flex; align-items: center; gap: 12px; border: 1px solid var(--pink-bd); border-radius: 20px; padding: 10px 14px; background: rgba(255,255,255,.92); }
.sim-top-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.sim-top-title small { color: var(--muted-2); font-weight: 700; font-size: 13px; }
.sim-toggle { display: none; height: 42px; padding: 0 12px; gap: 6px; border-radius: 12px; border: 1px solid var(--pink-bd); background: #fff; color: var(--maroon); cursor: pointer; align-items: center; justify-content: center; font: 700 13px var(--font-body); white-space: nowrap; }
.sim-close, .sim-hint, .sim-back-q, .sim-backdrop { display: none; }
.sim-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--pink-bd); background: #fff; color: var(--maroon); font-size: 16px; font-weight: 700; cursor: pointer; flex-shrink: 0; }
.sim-hint { margin: -4px 4px 0; font-size: 13px; font-weight: 700; color: var(--maroon); align-items: center; gap: 6px; background: var(--pink); border-radius: 10px; padding: 6px 10px; }
.sim-hint svg { transform: rotate(90deg); }
.sim-timer-top { display: none; }
.sim-save { font-size: 13px; font-weight: 700; color: var(--muted-2); min-height: 18px; }
.sim-save.is-ok { color: var(--green-fg); }
.sim-save.is-err { color: #B42318; }
.sim-wrap.js-on .sim-q { display: none; }
.sim-wrap.js-on .sim-q.is-current { display: flex; animation: jq-in .18s ease; }
.sim-flag { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid #E7CDD4; background: #fff; color: var(--muted); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px; cursor: pointer; font-family: var(--font-body); }
.sim-flag.is-on { background: var(--gold); border-color: #D99A1E; color: var(--ink); }
.sim-nav { margin-top: 0; }
.sim-note { font-size: 13px; color: var(--muted-2); display: flex; gap: 6px; align-items: center; margin: 0; }

@media (max-width: 900px) {
  .sim-wrap { grid-template-columns: 1fr; }
  .sim-side { position: fixed; z-index: 60; top: 0; left: 0; bottom: 0; width: min(330px, 88vw); max-height: none; border-radius: 0 24px 24px 0; transform: translateX(-105%); transition: transform .22s ease; box-shadow: 0 20px 60px rgba(0,0,0,.18); }
  .sim-wrap.side-open .sim-side { transform: none; }
  .sim-wrap.side-open .sim-backdrop { display: block; position: fixed; inset: 0; background: rgba(59,42,51,.4); z-index: 55; }
  .sim-close { display: inline-grid; place-items: center; }
  .sim-hint { display: flex; }
  .sim-back-q { display: inline-flex; justify-content: center; }
  .sim-toggle { display: inline-flex; }
  .sim-timer-top { display: inline-flex; font-size: 15px; padding: 5px 10px; }
  .sim-top { position: sticky; top: 74px; z-index: 30; }
  .sim-save { display: none; }
  .jq-choices.has-img { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .jq-choices.has-img { grid-template-columns: 1fr; }
}

/* Halaman depan simulasi */
.sim-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.sim-flow-step { position: relative; padding: 18px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(160deg, var(--tbg), #fff 75%); border-color: var(--tbd); }
.sim-flow-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.sim-flow-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tfg); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.sim-flow-step:not(:last-child)::after { content: '›'; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 700; color: var(--muted-2); }
.sim-flow-jp { font-family: var(--font-jp); font-size: 26px; font-weight: 700; color: var(--tfg); }
.sim-flow-step b { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.sim-flow-step small { color: var(--muted-2); font-weight: 700; font-size: 13px; line-height: 1.4; }
.sim-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.sim-start { padding: clamp(22px, 3.4vw, 32px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; background: linear-gradient(150deg, var(--pink), #fff 65%); border: 2px solid var(--pink-bd); }
.sim-start h2 { font-size: clamp(26px, 3.2vw, 34px); }
.sim-start p { margin: 0; color: var(--muted); line-height: 1.6; }
.sim-start .set-badge { background: var(--gold); color: var(--ink); }
.sim-start .set-badge.is-ok { background: var(--green); color: var(--green-fg); }
.sim-start form { margin: 4px 0 0; }
.sim-compare { padding: clamp(18px, 3vw, 26px); display: flex; flex-direction: column; gap: 12px; }
.sim-compare h2 { font-size: 22px; }
.sim-compare table { width: 100%; border-collapse: separate; border-spacing: 0; }
.sim-compare th, .sim-compare td { padding: 10px 12px; text-align: center; font-size: 15px; border-bottom: 1px dashed var(--line); }
.sim-compare tr:last-child th, .sim-compare tr:last-child td { border-bottom: 0; }
.sim-compare thead th { font-family: var(--font-display); font-weight: 600; color: var(--muted); }
.sim-compare tbody th { text-align: left; font-weight: 700; color: var(--muted); font-size: 14px; }
.sim-compare .is-hl { background: linear-gradient(180deg, #FFF1D6, #FFF8EA); color: var(--ink); font-weight: 700; }
.sim-compare thead .is-hl { color: var(--maroon); border-radius: 16px 16px 0 0; }
.sim-compare tbody tr:last-child .is-hl { border-radius: 0 0 16px 16px; }
.sim-compare .y { color: var(--green-fg); font-weight: 700; }
.sim-compare .n { color: #C9B5BC; font-weight: 700; }
.sim-price { margin: 0; font-size: 16px; } .sim-price s { color: var(--muted-2); }
.sim-rules { padding: clamp(18px, 3vw, 26px); margin-top: 20px; }
.sim-rules h2 { font-size: 22px; margin-bottom: 10px; }
.sim-rules ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.sim-rules li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; color: var(--muted); }
.sim-rules li svg { flex-shrink: 0; color: var(--maroon); margin-top: 3px; }
.sim-history { margin-top: 26px; }
.sim-history h2 { font-size: 22px; margin-bottom: 10px; }
.sim-foot-link { text-align: center; margin-top: 24px; color: var(--muted); }
@media (max-width: 900px) {
  .sim-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sim-flow-step::after { display: none; }
  .sim-grid { grid-template-columns: 1fr; }
  .sim-rules ul { grid-template-columns: 1fr; }
}

/* Hasil simulasi */
.sim-est { display: flex; flex-direction: column; align-items: center; gap: 2px; background: #fff; border: 1px solid var(--pink-bd); border-radius: 18px; padding: 12px 22px; }
.sim-est span { font-weight: 700; font-size: 13px; color: var(--muted-2); }
.sim-est b { font-family: var(--font-display); font-size: 34px; line-height: 1.1; color: var(--maroon); }
.sim-est b small { font-size: 16px; color: var(--muted-2); }
.sim-est em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--muted); }
.sim-est.is-pass { border-color: var(--green-bd); background: var(--green); }
.sim-est.is-pass b, .sim-est.is-pass em { color: var(--green-fg); }
.sim-est-note { font-size: 12.5px !important; color: var(--muted-2) !important; max-width: 340px; }
.small-muted { font-size: 13px; color: var(--muted-2); margin: 0; }
.sim-tip { display: flex; gap: 8px; align-items: flex-start; background: var(--yellow); border-radius: 14px; padding: 10px 12px; margin: 0; line-height: 1.5; }
.sim-tip svg { flex-shrink: 0; margin-top: 3px; }
.sim-locked { margin-top: 20px; padding: clamp(20px, 3vw, 28px); display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(150deg, var(--yellow), #fff 70%); border: 2px solid var(--yellow-bd); }
.sim-locked h2 { font-size: 24px; margin: 8px 0 6px; }
.sim-locked p { margin: 0; color: var(--muted); max-width: 560px; line-height: 1.6; }
.sim-locked .set-badge { display: inline-flex; align-items: center; gap: 4px; background: #fff; color: var(--yellow-fg); }
.sim-review { margin-top: 24px; }
.sim-review > h2 { font-size: 22px; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.sim-review > h2 .jp { font-family: var(--font-jp); color: var(--tfg); }
.sim-marks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46px, 100%), 1fr)); gap: 8px; }
.sim-mark { height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; border: 1.5px solid; }
.sim-mark.is-ok { background: var(--green); color: var(--green-fg); border-color: var(--green-bd); }
.sim-mark.is-no { background: var(--pink); color: var(--maroon); border-color: var(--pink-bd); }
.sim-mark.is-skip { background: #fff; color: var(--muted-2); border-color: #E7CDD4; border-style: dashed; }
.sim-banner { display: flex; align-items: center; gap: 16px; max-width: 860px; margin: 0 auto 24px; padding: 16px 20px; text-decoration: none; color: var(--ink); background: linear-gradient(120deg, var(--maroon), var(--rose)); border: 0; box-shadow: var(--shadow-pink); }
.sim-banner .jp { font-family: var(--font-jp); font-weight: 700; color: #fff; background: rgba(255,255,255,.16); border-radius: 14px; padding: 10px 12px; font-size: 18px; }
.sim-banner > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; color: #fff; }
.sim-banner b { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.sim-banner small { color: #FFE3E8; font-weight: 600; }
.sim-banner svg { color: #fff; flex-shrink: 0; }
.sim-body .wa-float { display: none; }
.sim-note { align-items: flex-start; }
.sim-note svg { flex-shrink: 0; margin-top: 2px; }
@media (max-width: 900px) {
  .sim-body main:has(.sim-wrap.side-open) { z-index: 100; }
}

/* ===== Lembar hasil Simulasi JFT (gaya lembar nilai) ===== */
.rs-fit { position: relative; width: 100%; max-width: 860px; margin: 16px auto 22px; }
.rs-sheet { position: absolute; top: 0; left: 0; width: 860px; background: #fff; color: #222; padding: 44px 54px 30px; transform-origin: top left;
  box-shadow: 0 14px 40px rgba(80, 30, 40, .12); border-radius: 6px; overflow: hidden; font-family: 'Inter', 'Segoe UI', Roboto, 'Noto Sans JP', 'Hiragino Sans', sans-serif; }
.rs-sheet .jp { font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans CJK JP', sans-serif; font-weight: 700; }
.rs-wm { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%) rotate(-28deg); font: 900 150px/1 'Inter', sans-serif; letter-spacing: 8px;
  color: rgba(163, 25, 47, .045); white-space: nowrap; pointer-events: none; }
.rs-hd { display: flex; justify-content: space-between; align-items: center; }
.rs-brand { display: flex; align-items: center; gap: 12px; }
.rs-brand img { height: 60px; width: 60px; }
.rs-brand b { display: block; font-size: 28px; font-weight: 800; color: #a3192f; line-height: 1.1; }
.rs-brand small { font-size: 11px; font-weight: 600; letter-spacing: 2px; color: #888; }
.rs-hr { text-align: right; line-height: 1.5; }
.rs-hr b { display: block; color: #a3192f; font-size: 17px; }
.rs-hr span { font-size: 13px; font-weight: 600; color: #555; }
.rs-t1 { text-align: center; font-size: 27px; margin: 24px 0 0; letter-spacing: .5px; }
.rs-t2 { text-align: center; font-size: 16px; font-weight: 500; color: #333; margin: 4px 0 0; }
.rs-who { display: grid; grid-template-columns: 150px 1fr; gap: 44px; margin-top: 30px; padding-left: 30px; align-items: start; }
.rs-photo { width: 150px; height: 200px; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; background: #dfe6ee; }
.rs-photo img, .rs-photo svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.rs-info { display: grid; grid-template-columns: 190px 1fr; row-gap: 8px; margin: 0; align-items: center; }
.rs-info dt b { display: block; font-size: 15px; }
.rs-info dt span { font-size: 11px; font-weight: 600; color: #444; }
.rs-info dd { margin: 0; font-size: 15px; font-weight: 500; }
.rs-info dd small { color: #777; font-size: 12px; }
.rs-box { margin-top: 30px; border: 2px solid #bbb; padding: 26px 32px 24px; }
.rs-r1 { display: grid; grid-template-columns: 160px 170px 1fr; row-gap: 16px; align-items: start; }
.rs-k b { display: block; font-size: 17px; }
.rs-k span { font-size: 12px; color: #444; }
.rs-v { font-size: 27px; font-weight: 700; line-height: 1.2; }
.rs-v.is-pass { color: #1b7f45; }
.rs-rg { font-size: 12.5px; line-height: 1.5; padding-left: 20px; }
.rs-rg span { display: block; }
.rs-rg small { display: block; font-size: 10px; color: #666; }
.rs-scale { position: relative; height: 12px; margin: 46px 4px 56px;
  background: linear-gradient(90deg, #f4dfe8 0%, #e05b98 40%, #d6336c 59%, #f0682c 63%, #f6b21b 74%, #ecd31a 82%, #9ccc2a 92%, #62b32b 100%); }
.rs-tk { position: absolute; top: -7px; width: 3px; height: 26px; background: #222; transform: translateX(-50%); }
.rs-tl { position: absolute; top: 26px; transform: translateX(-50%); font-size: 13px; font-weight: 600; text-align: center; line-height: 1.45; white-space: nowrap; }
.rs-mk { position: absolute; top: -27px; transform: translateX(-50%); text-align: center; }
.rs-mk b { display: block; font-size: 14px; line-height: 18px; }
.rs-mk i, .rs-smk i { display: block; width: 24px; height: 24px; margin: 3px auto 0; border-radius: 5px; background: #777; position: relative; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.rs-mk i::after, .rs-smk i::after { content: ''; position: absolute; left: 5px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid #e6b800; box-sizing: border-box; }
.rs-sh b { display: block; font-size: 16px; }
.rs-sh span { font-size: 12.5px; }
.rs-sr { display: grid; grid-template-columns: 250px 1fr; align-items: center; margin-top: 17px; }
.rs-sl b { display: block; font-size: 16px; }
.rs-sl span { font-size: 12.5px; font-weight: 600; color: #333; }
.rs-trk { position: relative; height: 13px; background: #dcdcdc; margin-right: 14px; }
.rs-fill { display: block; height: 100%; background: rgba(163, 25, 47, .85); }
.rs-smk { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.rs-smk i { margin: 0; }
.rs-smk em { position: absolute; bottom: 27px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 600; font-style: normal; }
.rs-ft { margin: 18px 0 0; text-align: center; font-size: 11px; color: #888; border-top: 1px solid #eee; padding-top: 10px; }
.rs-actions { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; justify-content: space-between; margin: 26px 0 22px; padding: 28px 28px 26px; }
@media (max-width: 560px) { .card.rs-actions { padding: 24px 20px 22px; } }
.rs-actions h1 { font-size: 24px; margin: 0 0 4px; }
.rs-actions p { margin: 0 0 8px; }
.rs-act-txt { flex: 1 1 340px; }
@media print {
  body * { visibility: hidden !important; }
  .rs-sheet, .rs-sheet * { visibility: visible !important; }
  .rs-fit { height: auto !important; margin: 0; }
  .rs-sheet { position: absolute; left: 0; top: 0; transform: none !important; box-shadow: none; }
  @page { size: A4 portrait; margin: 10mm; }
}

/* ===== Paket & pembayaran Simulasi JFT ===== */
.sim-buy { margin: 34px 0 10px; scroll-margin-top: 90px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; }
.plan-grid.n-1 { max-width: 380px; }
.plan-grid.n-2 { max-width: 640px; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; }
.plan-card.is-best { border: 2px solid var(--rose); box-shadow: var(--shadow-pink); }
.plan-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.plan-card h3 { font-family: var(--font-display); font-size: 22px; margin: 0; }
.plan-days { margin: 0; color: var(--muted); font-weight: 600; }
.plan-price { margin: 4px 0; }
.plan-price b { font-family: var(--font-display); font-size: 30px; color: var(--maroon); }
.plan-price s { color: var(--muted-2); margin-left: 6px; }
.plan-note { margin: 0; font-size: 14px; color: var(--muted); }
.plan-list { list-style: none; padding: 0; margin: 8px 0 14px; display: grid; gap: 6px; font-size: 14.5px; flex: 1; }
.plan-list li { display: flex; gap: 8px; align-items: center; }
.plan-list svg { color: var(--green-fg); flex-shrink: 0; }
.pay-methods { display: flex; gap: 6px; align-items: center; justify-content: center; text-align: center; font-size: 13.5px; color: var(--muted); margin: 14px auto 0; max-width: 640px; }
.pay-soon { max-width: 640px; margin: 0 auto; text-align: center; padding: 22px; }
.pay-card { max-width: 620px; margin: 18px auto; text-align: center; padding: 34px 30px; }
.pay-card h1 { font-size: clamp(26px, 4vw, 34px); margin: 10px 0 8px; }
.pay-card > p { margin: 0 auto 20px; max-width: 520px; line-height: 1.6; }
.pay-card .row-btn { justify-content: center; }
.pay-ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); color: var(--yellow-fg); }
.pay-card.is-paid .pay-ic { background: var(--green); color: var(--green-fg); }
.pay-card.is-failed .pay-ic, .pay-card.is-expired .pay-ic, .pay-card.is-refund .pay-ic { background: #F2ECEE; color: var(--muted); }
.pay-kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; text-align: left; max-width: 420px; margin: 24px auto 0; font-size: 14.5px; border-top: 1px dashed var(--line); padding-top: 16px; }
.pay-kv dt { color: var(--muted); }
.pay-kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.pay-kv dd.mono { word-break: break-all; }
.pay-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; background: var(--yellow); color: var(--yellow-fg); }
.pay-badge.t-ok { background: var(--green); color: var(--green-fg); }
.pay-badge.t-muted { background: #F2ECEE; color: var(--muted); }
.pay-badge.t-info { background: var(--blue); color: var(--blue-fg); }

/* Foto profil */
.photo-card { margin-top: 20px; scroll-margin-top: 90px; }
.photo-row { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.photo-prev { width: 105px; height: 140px; border-radius: 8px; overflow: hidden; background: #eef1f5; display: grid; place-items: center; color: #9aa6b4; flex-shrink: 0; }
.photo-prev img { width: 100%; height: 100%; object-fit: cover; }
.photo-row > div:last-child { flex: 1 1 240px; }
.pay-kv .mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }

/* ===== Beranda: fokus Simulasi JFT ===== */
.hero-note { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--muted); margin: -4px 0 0; }
.hero-note svg { color: var(--green-fg); }
.exam-mock { position: relative; flex: 1 1 440px; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 22px; box-shadow: 0 30px 70px rgba(122, 20, 24, .18), 0 0 0 1px var(--line);
  overflow: visible; transform: rotate(-1.5deg); }
.em-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FFF8F6; border-radius: 22px 22px 0 0; }
.em-bar i { width: 10px; height: 10px; border-radius: 50%; background: #F3C4CC; }
.em-bar span { margin-left: 10px; font-size: 12px; color: var(--muted-2); background: #fff; border-radius: 8px; padding: 3px 10px; flex: 1; }
.em-body { display: grid; grid-template-columns: 170px 1fr; min-height: 300px; }
.em-side { border-right: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.em-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.em-timer { display: inline-flex; align-items: center; gap: 3px; color: var(--maroon); font-weight: 700; background: var(--pink); border-radius: 8px; padding: 2px 6px; }
.em-sec { border: 1px solid var(--tbd); background: color-mix(in srgb, var(--tbg) 45%, #fff); border-radius: 10px; padding: 6px 8px; }
.em-sec.is-lock { opacity: .5; }
.em-sec.is-cur { box-shadow: 0 0 0 2px var(--tfg) inset; }
.em-sh { display: flex; justify-content: space-between; align-items: center; color: var(--tfg); font-size: 12px; }
.em-sh small { font-size: 9px; font-weight: 700; }
.em-nums { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; margin-top: 5px; }
.em-nums i { height: 9px; border-radius: 3px; background: #fff; border: 1px solid var(--tbd); }
.em-nums i.a { background: var(--tfg); border-color: var(--tfg); opacity: .75; }
.em-nums i.c { outline: 2px solid var(--ink); }
.em-main { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.em-chip { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--tfg); background: var(--tbg); border-radius: 999px; padding: 3px 10px; }
.em-audio { display: flex; align-items: center; gap: 8px; background: #F6F3F4; border-radius: 12px; padding: 8px 10px; color: var(--muted); }
.em-play { width: 22px; height: 22px; border-radius: 50%; background: var(--maroon); color: #fff; font-size: 9px; display: grid; place-items: center; }
.em-wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 20px; }
.em-wave i { flex: 1; background: var(--rose); opacity: .55; border-radius: 2px; height: 40%; }
.em-wave i:nth-child(3n) { height: 90%; } .em-wave i:nth-child(4n+1) { height: 65%; } .em-wave i:nth-child(n+6) { opacity: .2; }
.em-audio small { font-size: 11px; }
.em-q { margin: 0; font-family: var(--font-jp); font-weight: 700; font-size: 16px; color: var(--ink); }
.em-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.em-opts span { display: grid; place-items: center; height: 56px; font-size: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.em-opts span.sel { border: 2px solid var(--maroon); background: var(--pink); }
.em-float { position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 12px 30px rgba(122, 20, 24, .18); padding: 10px 14px; font-weight: 700; }
.em-f1 { right: -18px; bottom: -22px; display: flex; align-items: baseline; gap: 4px; transform: rotate(2deg); }
.em-f1 b { font-family: var(--font-display); font-size: 30px; color: #1b7f45; }
.em-f1 small { color: var(--muted); font-size: 13px; }
.em-f2 { right: -16px; top: 58px; font-size: 12.5px; color: var(--yellow-fg); background: var(--yellow); display: inline-flex; gap: 5px; align-items: center; }
@supports not (background: color-mix(in srgb, red, blue)) { .em-sec { background: var(--tbg); } }
.sim-steps .step b { font-size: 19px; }
.pay-line { position: relative; display: flex; justify-content: center; align-items: center; gap: 6px; margin: 18px 0 0; font-size: 14px; color: rgba(255, 255, 255, .75); }
.sheet-shot { display: flex; justify-content: center; }
.sheet-shot img { width: 100%; max-width: 440px; height: auto; border-radius: 10px; box-shadow: 0 24px 60px rgba(80, 30, 40, .18); transform: rotate(-2deg); background: #fff; }
.check-list { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 8px; font-weight: 600; }
.check-list li { display: flex; gap: 8px; align-items: flex-start; }
.check-list svg { color: var(--green-fg); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 560px) {
  .exam-mock { transform: none; }
  .em-body { grid-template-columns: 112px 1fr; min-height: 0; }
  .em-side { padding: 8px; }
  .em-head b { display: none; }
  .em-main { padding: 12px; }
  .em-f1 { right: 6px; } .em-f2 { right: 6px; top: 50px; }
}
.lpk-band { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; padding: 18px 22px; border-radius: 20px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.lpk-band > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; }
.lpk-band b { font-family: var(--font-display); font-size: 19px; }
.lpk-band span { font-size: 14.5px; color: rgba(255, 255, 255, .78); line-height: 1.55; }
.lpk-code { flex-basis: 100%; font-size: 14px; color: #FFC6D0; font-weight: 600; }
.code-box { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; max-width: 900px; margin: 22px auto 0; padding: 18px 22px; scroll-margin-top: 90px; }
.code-box > div { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; }
.code-box span { font-size: 14px; color: var(--muted); }
.code-form { display: flex; gap: 8px; flex: 1 1 320px; }
.code-form input { flex: 1; min-width: 0; min-height: 48px; border-radius: 16px; border: 1px solid #F3C9D1; padding: 0 16px; font-weight: 700; font-size: 16px; letter-spacing: 1px; color: var(--ink); background: #fff; text-transform: uppercase; }
.code-form input:focus { outline: 3px solid #F59AAE; outline-offset: 1px; }
.sim-side-head .sim-timer { margin-left: auto; }
.jft-top-wide { flex-direction: column; gap: 28px; }
.jft-top-wide > * { flex: none; width: 100%; }
.jft-intro { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 40px; }
.jft-intro .eyebrow { flex-basis: 100%; }
.jft-intro h2 { flex: 1 1 420px; margin: 0; }
.jft-intro p { flex: 1 1 360px; margin: 0; }
.jft-top-wide .jft-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .jft-top-wide .jft-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .jft-top-wide .jft-feats { grid-template-columns: 1fr; } }

/* ===== Dasbor siswa ===== */
.dash .page-head { margin-bottom: 18px; }
.dash h2 { font-family: var(--font-display); font-size: 22px; margin: 0 0 12px; }
.dash-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 18px; align-items: stretch; }
.dash-access { display: flex; flex-direction: column; gap: 8px; padding: 26px; }
.dash-access h2 { font-size: clamp(24px, 3vw, 30px); margin: 4px 0 0; }
.dash-access p { margin: 0; color: var(--muted); line-height: 1.6; }
.dash-access .row-btn { margin-top: 10px; }
.dash-access.is-full { border-color: var(--green-bd); }
.dash-warn { display: flex; gap: 8px; align-items: flex-start; background: var(--yellow); color: var(--yellow-fg) !important; border-radius: 14px; padding: 10px 12px; font-weight: 600; }
.dash-warn svg { flex-shrink: 0; margin-top: 2px; }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash-stat { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; }
.dash-stat span { font-size: 14px; font-weight: 700; color: var(--muted); }
.dash-stat b { font-family: var(--font-display); font-size: 36px; line-height: 1.1; color: var(--ink); }
.dash-stat b small { font-size: 15px; color: var(--muted-2); margin-left: 2px; }
.dash-stat em { font-style: normal; font-size: 13px; font-weight: 700; }
.dash-stat em.up { color: var(--green-fg); }
.dash-stat em.down { color: #B42318; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; margin-top: 18px; }
.dash-chart, .dash-secs { padding: 22px; }
.dash-chart svg { width: 100%; height: auto; display: block; }
.dash-chart .grid { stroke: #F1E2E6; stroke-width: 1; }
.dash-chart .pass { stroke: #2F6146; stroke-width: 1.5; stroke-dasharray: 6 5; }
.dash-chart text { font-size: 12px; fill: var(--muted-2); font-family: var(--font-body); }
.dash-chart .pass-label { fill: var(--green-fg); font-weight: 700; }
.dash-chart .line { fill: none; stroke: var(--rose); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.dash-chart .dot { fill: #fff; stroke: var(--rose); stroke-width: 3; }
.dash-chart .dot.ok { stroke: #2F6146; fill: var(--green); }
.dash-secs .sim-tip { margin-top: 12px; }
.dash-history, .dash-renew, .dash-pay { margin-top: 30px; scroll-margin-top: 90px; }
.dash-empty { color: var(--muted); }
.history-row .h-go { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--maroon); white-space: nowrap; }
.dash-renew .plan-grid { margin: 0; }
.dash-renew .code-box { margin-left: 0; }
.table-card { padding: 6px 4px; overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dash-table th { text-align: left; font-size: 12.5px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .5px; padding: 10px 14px; }
.dash-table td { padding: 12px 14px; border-top: 1px solid var(--line); }
.pay-badge.t-warn { text-decoration: none; }
.dash-foot { margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; color: var(--muted-2); }
.dash-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
@media (max-width: 900px) {
  .dash-top, .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .dash-stat b { font-size: 28px; }
  .history-row .h-go { display: none; }
}
.deck-icon, .deck-mini { white-space: nowrap; line-height: 1; }
.deck-icon.is-long { font-size: 27px; letter-spacing: -1px; }
.deck-mini.is-long { font-size: 19px; letter-spacing: -1px; }
.small-link-inline { font-family: var(--font-body); font-size: 14px; font-weight: 700; margin-left: 10px; }
.dash-renew .plan-grid { margin-top: 18px; }

/* ===== Ruang "Akun Saya" ===== */
.akun-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; position: relative; z-index: 1; }
.akun-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 22px 16px; background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-right: 1px solid var(--line); }
.akun-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 0 8px; }
.akun-brand span { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--maroon); line-height: 1.1; }
.akun-brand small { font-family: var(--font-body); font-size: 12px; color: var(--muted-2); font-weight: 700; letter-spacing: .4px; }
.akun-user { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 18px; background: var(--pink); }
.akun-ava { width: 44px; height: 44px; border-radius: 14px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.akun-ava img { width: 100%; height: 100%; object-fit: cover; }
.akun-user div { min-width: 0; display: flex; flex-direction: column; }
.akun-user b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.akun-user small { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.akun-user small.is-full { color: var(--green-fg); }
.akun-nav { display: flex; flex-direction: column; gap: 3px; }
.akun-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 14px; color: var(--muted); text-decoration: none; font-weight: 700; transition: background .15s, color .15s; }
.akun-nav a:hover { background: var(--pink); color: var(--maroon); }
.akun-nav a.is-active { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(216, 67, 90, .28); }
.akun-side-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.akun-side-foot a, .akun-side-foot button { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px; border-radius: 12px; color: var(--muted); text-decoration: none; font: 700 14.5px var(--font-body); background: none; border: 0; cursor: pointer; width: 100%; text-align: left; }
.akun-side-foot a svg { transform: rotate(180deg); }
.akun-side-foot a:hover, .akun-side-foot button:hover { background: var(--pink); color: var(--maroon); }
.akun-side-foot form { margin: 0; }
.akun-main { min-width: 0; display: flex; flex-direction: column; }
.akun-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 14px 30px; background: rgba(255, 248, 243, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.akun-top b { font-family: var(--font-display); font-size: 20px; flex: 1; }
.akun-top-brand { display: none; }
.akun-site { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--muted); text-decoration: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--pink-bd); background: #fff; }
.akun-site:hover { color: var(--maroon); }
.akun-body .akun-main .page { padding-top: 26px; padding-bottom: 60px; }
.akun-body .akun-main .container { max-width: 1120px; padding-left: 30px; padding-right: 30px; }
.akun-body .akun-main .container.mid { max-width: 980px; }
.akun-body .page-head { margin-bottom: 18px; }
.akun-body .page-head h1 { font-size: clamp(28px, 3.4vw, 40px); }
.akun-backdrop, .akun-tabs { display: none; }
@media (max-width: 900px) {
  .akun-shell { grid-template-columns: 1fr; }
  .akun-side { position: fixed; z-index: 80; left: 0; top: 0; bottom: 0; width: min(300px, 86vw); transform: translateX(-105%); transition: transform .22s ease; box-shadow: 0 20px 60px rgba(0, 0, 0, .2); }
  .akun-shell.menu-open .akun-side { transform: none; }
  .akun-side { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .akun-shell.menu-open .akun-backdrop { display: block; position: fixed; inset: 0; z-index: 75; background: rgba(59, 42, 51, .4); }
  .akun-top { padding: 10px 16px; }
  .akun-top-brand { display: inline-flex; }
  .akun-top b { font-size: 18px; }
  .akun-site span { display: none; }
  .akun-body .akun-main .container { padding-left: 16px; padding-right: 16px; }
  .akun-body .akun-main .page { padding-bottom: 96px; }
  .akun-tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .akun-tabs a, .akun-tabs button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 12px; color: var(--muted-2); text-decoration: none; font: 700 11.5px var(--font-body); background: none; border: 0; cursor: pointer; }
  .akun-tabs .is-active { color: var(--maroon); background: var(--pink); }
  .akun-body .wa-float { display: none; }
}

/* Ringkasan akun */
.ak-hello { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.ak-hello h1 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); }
.ak-hello p { margin: 4px 0 0; color: var(--muted); }
.ak-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ak-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; text-decoration: none; color: var(--ink); }
.ak-card .ak-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tbg); color: var(--tfg); }
.ak-card h2 { font-family: var(--font-display); font-size: 19px; margin: 4px 0 0; }
.ak-card .ak-big { font-family: var(--font-display); font-size: 32px; line-height: 1.1; }
.ak-card .ak-big small { font-size: 15px; color: var(--muted-2); }
.ak-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.ak-card .ak-go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--maroon); font-size: 14.5px; }
a.ak-card:hover { border-color: var(--rose); }
.ak-cont { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 20px 24px; margin-bottom: 18px; border: 2px solid var(--rose); }
.ak-cont > div { flex: 1 1 280px; }
.ak-cont b { font-family: var(--font-display); font-size: 19px; }
.ak-cont p { margin: 2px 0 0; color: var(--muted); }
.ak-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; margin-top: 18px; }
.ak-panel { padding: 22px; }
.ak-panel h2 { font-family: var(--font-display); font-size: 20px; margin: 0 0 12px; }
.ak-act { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ak-act li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ak-act li:first-child { border-top: 0; }
.ak-act .ak-dot { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--tbg); color: var(--tfg); flex-shrink: 0; }
.ak-act div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ak-act b { font-size: 14.5px; }
.ak-act small { color: var(--muted-2); font-size: 12.5px; }
.ak-act a { font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.ak-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ak-quick a { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14.5px; }
.ak-quick a:hover { border-color: var(--rose); color: var(--maroon); }
.ak-quick svg { color: var(--rose); flex-shrink: 0; }
.ak-list { display: flex; flex-direction: column; gap: 10px; }
.ak-set { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 18px; }
.ak-set > div { flex: 1 1 260px; min-width: 0; }
.ak-set b { font-size: 16px; }
.ak-set small { display: block; color: var(--muted-2); font-size: 13px; margin-top: 2px; }
.ak-score { font-family: var(--font-display); font-size: 22px; color: var(--maroon); min-width: 64px; text-align: right; }
.ak-score small { font-size: 12px; color: var(--muted-2); display: block; font-family: var(--font-body); }
.ak-h { font-family: var(--font-display); font-size: 21px; margin: 26px 0 10px; }
.ak-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ak-codes .code-box { margin: 0; max-width: none; flex-direction: column; align-items: stretch; }
.ak-codes .code-form { flex: none; width: 100%; }
@media (max-width: 900px) {
  .ak-cards { grid-template-columns: 1fr; }
  .ak-row, .ak-codes { grid-template-columns: 1fr; }
}

/* ===== Perbaikan responsif (patroli UI v19) ===== */
/* Kotak kode: input & tombol selalu muat, turun ke bawah di layar sempit */
.code-box > * { min-width: 0; }
.code-form { min-width: 0; flex-wrap: wrap; }
.code-form input { flex: 1 1 170px; }
.code-form .btn { flex: 0 0 auto; }
.ak-codes > *, .dash-top > *, .dash-grid > *, .ak-row > *, .ak-cards > *, .two-col > *, .sim-grid > * { min-width: 0; }
@media (max-width: 480px) { .code-form .btn { flex: 1 1 100%; } }

/* Bar atas ujian: tidak saling menimpa di HP kecil */
.sim-top { flex-wrap: wrap; row-gap: 8px; }
.sim-top-title { flex: 1 1 130px; }
.sim-top-title .chip-mini { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.sim-top-title small { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 380px) {
  .sim-toggle span { display: none; }
  .sim-toggle { width: 42px; padding: 0; }
}
/* Mode fokus ujian: menu website disembunyikan di HP & saat HP mendatar */
@media (max-width: 900px), (max-height: 520px) {
  .sim-body .site-header { display: none; }
  .sim-body .sim-top { position: sticky; top: 8px; z-index: 30; }
  .sim-body main.page { padding-top: 10px; }
}
.sim-flag { min-height: 40px; }
@media (max-width: 900px) { .sim-main { padding-bottom: 24px; } }

/* Kartu 4 bagian di halaman Simulasi JFT */
@media (max-width: 600px) {
  .sim-flow-jp { font-size: 19px; line-height: 1.3; min-width: 0; word-break: keep-all; }
  .sim-flow-n { width: 24px; height: 24px; font-size: 12px; }
  .sim-flow-step { padding: 14px; }
}
/* Tabel uji coba vs akses penuh */
@media (max-width: 420px) {
  .sim-compare th, .sim-compare td { padding: 8px 6px; font-size: 13px; }
  .sim-compare tbody th { font-size: 13px; }
}

/* Tombol WhatsApp tidak menutupi tombol utama di HP */
.wa-float { transition: transform .15s, opacity .2s; }
@media (max-width: 700px) {
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .wa-float.is-hidden { opacity: 0; pointer-events: none; transform: scale(.8); }
}
/* Titik slider: area ketuk lebih besar tanpa mengubah tampilan */
.sl-dot { position: relative; }
.sl-dot::after { content: ''; position: absolute; inset: -14px -6px; }

/* Cuplikan ujian di beranda (HP) */
.em-chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .em-f2 { display: none; } }

/* Menu atas di HP sangat kecil (HP lipat) */
@media (max-width: 360px) {
  .brand span { display: none; }
  .nav { padding-left: 10px; }
  .nav-actions .btn { padding: 0 12px; font-size: 13px; }
}
@media (max-width: 600px) {
  .user-menu-box { position: fixed; top: 82px; right: 12px; left: 12px; width: auto; }
}

/* Akun Saya di layar sangat kecil */
@media (max-width: 360px) {
  .ak-quick { grid-template-columns: 1fr; }
  .ak-act li { flex-wrap: wrap; }
  .akun-body .akun-main .container { padding-left: 12px; padding-right: 12px; }
  .auth-card, .card.glass { padding-left: 16px; padding-right: 16px; }
}
.photo-row > div:last-child { min-width: 0; }
.photo-row input[type=file] { max-width: 100%; }

/* Tabel riwayat (dasbor & akun): jadi kartu di HP */
@media (max-width: 560px) {
  .dash-table thead { display: none; }
  .dash-table, .dash-table tbody { display: block; }
  .dash-table tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
  .dash-table tr:first-child { border-top: 0; }
  .dash-table td { border: 0; padding: 0; }
  .dash-table td:last-child { margin-left: auto; }
}

/* Grafik dasbor digambar ulang sesuai lebar layar (lihat dasbor.js) */
.dash-chart .dash-svg { width: 100%; height: 230px; display: block; }

/* Lembar hasil: tombol perbesar di HP */
.dash-chart .last-label { font-size: 12px; font-weight: 700; fill: var(--ink); }
.pk-body b { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 360px) {
  .kana-tabs { max-width: 100%; }
  .kana-tabs button { padding: 8px 12px; font-size: 14px; }
}

/* v19.1: galeri produk dengan banyak foto tidak boleh melebarkan halaman */
@media (max-width: 860px) { .pd-grid { grid-template-columns: minmax(0, 1fr); } }
.pd-grid > *, .pd-info > * { min-width: 0; }
.thumbs { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; }
.pd-info h1 { overflow-wrap: anywhere; }

/* v19.2: tombol di bawah lembar hasil rapi di HP (grid 2 kolom, lebar sama) */
@media (max-width: 560px) {
  .rs-actions .row-btn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
  .rs-actions .row-btn > * { width: 100%; min-width: 0; margin: 0; }
  .rs-actions .row-btn form { display: block; }
  .rs-actions .row-btn .btn { width: 100%; justify-content: center; padding-left: 8px; padding-right: 8px; gap: 6px; font-size: 14.5px; white-space: normal; text-align: center; line-height: 1.2; min-height: 46px; }
  .rs-actions .row-btn > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 300px) { .rs-actions .row-btn { grid-template-columns: minmax(0, 1fr); } }

#mulai { scroll-margin-top: 110px; }
.sim-review { scroll-margin-top: 110px; }
.sim-tip-go { display: block; margin-top: 6px; font-weight: 700; }

.sim-review[hidden], .rv[hidden], .sim-mark[hidden] { display: none !important; }

/* Pembahasan per bagian (panah ‹ › + geser) */
.rv-pager { position: sticky; top: 84px; z-index: 20; margin-top: 26px; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 22px; border: 1.5px solid var(--tbd); background: linear-gradient(160deg, var(--tbg), #fff 80%); box-shadow: 0 8px 24px rgba(120, 30, 50, .08); }
.rv-pager[hidden] { display: none; }
@media (max-width: 900px) { .rv-pager { top: 86px; } }
.rv-ar { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--tbd); background: #fff; color: var(--tfg); font: 700 26px/1 var(--font-display, sans-serif); padding: 0 0 4px; cursor: pointer; }
.rv-ar:disabled { opacity: .3; cursor: default; }
.rv-mid { flex: 1; min-width: 0; text-align: center; }
.rv-mid b { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.25; }
.rv-mid .jp { font-family: var(--font-jp); color: var(--tfg); }
.rv-mid small { display: block; color: var(--muted-2); font-weight: 700; font-size: 12.5px; margin-top: 2px; }
.rv-dots { display: flex; justify-content: center; gap: 2px; margin-top: 2px; }
.rv-dots button { width: 22px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rv-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 5px; background: #E3D3D8; transition: width .2s; }
.rv-dots button.is-on::before { width: 22px; background: var(--tfg); }
.rv-paged .rv-pages .sim-review { display: none; margin-top: 14px; }
.rv-paged .rv-pages .sim-review.is-current { display: block; }
.rv-paged .rv-pages .sim-review > h2 { display: none; }
.rv-pages.slide-l .sim-review.is-current { animation: rvInL .28s ease; }
.rv-pages.slide-r .sim-review.is-current { animation: rvInR .28s ease; }
@keyframes rvInL { from { opacity: .3; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes rvInR { from { opacity: .3; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.rv-swipe-hint { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; background: rgba(43, 35, 40, .88); color: #fff; font-weight: 600; font-size: 13px; padding: 9px 15px; border-radius: 20px; white-space: nowrap; transition: opacity .5s; pointer-events: none; }
.rv-swipe-hint.is-out { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .rv-pages .sim-review.is-current { animation: none !important; } }
@media print { .rv-pager, .rv-swipe-hint { display: none !important; } .rv-paged .rv-pages .sim-review { display: block !important; } .rv-paged .rv-pages .sim-review > h2 { display: flex !important; } }
@media (max-width: 560px) { .card.glass.rs-actions { padding: 24px 20px 22px; } }
@media (max-width: 400px) { .rs-actions .row-btn .btn svg { display: none; } }

/* Media soal: pemutar audio sendiri & gambar tidak bisa disimpan dengan mudah */
.jq-img, .jc-img { -webkit-user-drag: none; user-drag: none; pointer-events: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.jq-audio, .wk-player { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.jq-audio audio[data-wk-audio] { display: none; }
.wk-player { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.wk-pp { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tfg, var(--maroon)); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.wk-player.is-loading .wk-pp { opacity: .6; }
.wk-track { flex: 1; min-width: 40px; height: 8px; border-radius: 6px; background: var(--tbg, #F6E7EA); border: 1px solid var(--tbd, #EADFE3); cursor: pointer; position: relative; }
.wk-track::before { content: ''; position: absolute; inset: -14px 0; }
.wk-fill { height: 100%; width: 0; border-radius: 6px; background: var(--tfg, var(--maroon)); }
.wk-time { flex: none; font-weight: 700; font-size: 13px; color: var(--muted-2); font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; }
@media (max-width: 360px) { .wk-time { font-size: 12px; } .wk-player { gap: 8px; } }
.jq-audio { padding: 6px 16px 6px 14px; }

/* Beli e-book langsung (Midtrans) */
.pd-direct { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pd-direct form { width: 100%; }
.pd-buy-now { width: 100%; max-width: 420px; justify-content: center; }
.pd-pay-note { color: var(--muted-2); font-weight: 600; font-size: 13px; line-height: 1.45; max-width: 420px; }
.pd-owned { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-fg); }
.pd-direct .pd-buy-label { margin-top: 6px; }
.pd-direct .pd-buy .btn { min-height: 44px; }
@media (max-width: 420px) { .pd-buy-price { display: none; } }
.product-act .buy-direct { display: contents; }
.bi-audio { display: flex; align-items: center; background: #F6F1F3; border-radius: 999px; padding: 6px 14px 6px 6px; max-width: 520px; margin-top: 4px; -webkit-touch-callout: none; user-select: none; }
.bi-audio audio[data-wk-audio] { display: none; }
.bi-audio .wk-pp { width: 40px; height: 40px; }

/* ===== Mode ujian penuh (halaman pengerjaan simulasi) ===== */
.sim-exam .site-header, .sim-exam .site-footer, .sim-exam .wa-float, .sim-exam .blobs { display: none !important; }
.sim-exam main.page, .sim-exam .sim-page { padding-top: 0; }
.exam-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px clamp(14px, 3vw, 28px); margin-bottom: 18px; background: var(--maroon); color: #fff; box-shadow: 0 6px 20px rgba(122,20,24,.18); }
.exam-bar img { width: 34px; height: 34px; border-radius: 50%; background: #fff; flex-shrink: 0; }
.exam-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; white-space: nowrap; }
.exam-who { font-size: 14px; font-weight: 700; color: #FFE3E8; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exam-sp { flex: 1; }
.exam-bar .sim-timer { border: 0; flex-shrink: 0; }
.exam-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.7); background: transparent; color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; flex-shrink: 0; }
.exam-btn:hover { background: rgba(255,255,255,.14); color: #fff; }
.exam-btn[hidden] { display: none; }
.sim-exam .sim-side-head .sim-timer, .sim-exam .sim-timer-top { display: none !important; }
.sim-exam .sim-side { top: 78px; max-height: calc(100vh - 94px); }
.exam-gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(59,42,51,.55); }
.exam-gate[hidden] { display: none; }
.exam-gate-card { width: 100%; max-width: 440px; box-sizing: border-box; background: #fff; border-radius: 24px; padding: 26px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.exam-gate-card h2 { margin: 0; font-family: var(--font-display); font-size: 24px; color: var(--maroon); }
.exam-gate-card p { margin: 0 0 6px; color: var(--muted); line-height: 1.6; }
.exam-gate-card .btn { width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .sim-exam .sim-side { top: 0; max-height: none; }
  .sim-exam .sim-top { top: 66px; }
  .exam-bar { margin-bottom: 10px; }
}
@media (max-width: 640px) {
  .exam-title, .exam-who-l { display: none; }
  .exam-bar { gap: 8px; padding: 8px 12px; }
  .exam-btn { padding: 0 11px; font-size: 13px; }
  .exam-btn [data-fs-label] { display: none; }
  .exam-bar .sim-timer { font-size: 15px; padding: 5px 10px; }
}

/* ===== v19: beranda = simulasi, Klaim Bonus, Tukar kode, dasbor baru ===== */
.hero-code { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.hero-code a { font-weight: 700; color: var(--maroon); white-space: nowrap; }
.home-plans { scroll-margin-top: 70px; }
.home-plans .plan-grid { max-width: 1020px; }
.home-plans .plan-grid.n-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-free-card { background: linear-gradient(160deg, #F4FBF7, #fff 70%); }
.plan-list li.is-off { color: var(--muted-2); }
.plan-list li.is-off svg { color: var(--muted-2); }
.btn.is-disabled { opacity: .55; pointer-events: none; }
.lpk-band.is-light { max-width: 1020px; margin: 26px auto 0; background: #fff; border: 1px solid var(--pink-bd); color: var(--ink); box-shadow: 0 10px 30px rgba(154, 28, 32, .06); }
.lpk-band.is-light span { color: var(--muted); }
.lpk-band.is-light .lpk-code { color: var(--maroon); }
#alur .sim-grid { margin-top: 4px; }
.jft-intro .btn-white { align-self: flex-start; margin-top: 6px; }

/* Modal tukar kode */
.tk-dialog { border: 0; padding: 0; background: transparent; max-width: min(420px, calc(100vw - 24px)); width: 100%; }
.tk-dialog::backdrop { background: rgba(59, 42, 51, .42); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.tk-box { position: relative; background: #FFFBF8; border: 1px solid #F6D3D9; border-radius: 30px; padding: 28px 24px 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; box-shadow: 0 30px 70px rgba(122, 20, 24, .22); }
.tk-box h2 { margin: 0; font-family: var(--font-display); font-size: 24px; }
.tk-box p { margin: 0 0 4px; color: var(--muted); line-height: 1.55; font-size: 15px; }
.tk-box input { width: 100%; min-height: 52px; border-radius: 18px; border: 1px solid #F3C9D1; padding: 0 16px; font-weight: 700; font-size: 18px; letter-spacing: 1.5px; text-align: center; text-transform: uppercase; color: var(--ink); background: #fff; font-family: var(--font-body); }
.tk-box input:focus { outline: 3px solid #F59AAE; outline-offset: 1px; }
.tk-ic { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; background: var(--pink); color: var(--maroon); }
.tk-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #F6ECEE; color: var(--muted); font-size: 15px; cursor: pointer; }
.tukar-card .tukar-auth { flex-direction: column; }
.tukar-card .tukar-auth .btn { width: 100%; }

/* Klaim Bonus */
.bonus-box-page .bonus-copy h1 { font-size: clamp(30px, 3.6vw, 44px); margin: 0; }
.bonus-sim-note { max-width: 1000px; margin: 14px auto 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14.5px; color: var(--muted); }
.bonus-sim-note svg { color: var(--maroon); }
.bonus-mine { max-width: 1000px; margin: 34px auto 0; scroll-margin-top: 90px; }
.bonus-mine > h2 { font-family: var(--font-display); font-size: 26px; margin: 0 0 14px; }
.games-modes { justify-content: center; margin-top: 14px; }

/* Pembayaran */
.ak-cont.is-warn { border-color: #E9A23B; background: #FFF8EA; }
.code-used { flex-basis: 100%; list-style: none; margin: 4px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); display: grid; gap: 4px; }
.code-used code { font-weight: 700; color: var(--ink); }
.dash .ak-cont { margin-bottom: 4px; }

/* Dasbor: pengingat, target, streak, posisi, latihan */
.dash-expire { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 18px; border-radius: 20px; background: #FFF3DA; border: 1px solid #F2C877; color: #6B4A0B; }
.dash-expire > svg { flex-shrink: 0; color: #B7791F; }
.dash-expire span { flex: 1 1 260px; line-height: 1.5; }
.dash-goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.dg-card { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 90px; }
.dg-head { display: flex; align-items: center; gap: 10px; }
.dg-head b { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.dg-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--tbg); color: var(--tfg); font-size: 19px; flex-shrink: 0; }
.dg-big { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.dg-big b { font-family: var(--font-display); font-size: 38px; line-height: 1; color: var(--maroon); }
.dg-big span { font-weight: 700; color: var(--muted); font-size: 14.5px; }
.dg-big.is-muted b { color: var(--muted-2); }
.dg-sub { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.dg-bar { height: 10px; border-radius: 999px; background: #F6E6EA; overflow: hidden; }
.dg-bar span { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.dg-form { margin-top: auto; }
.dg-form summary { cursor: pointer; font-weight: 700; color: var(--maroon); font-size: 14.5px; padding-top: 4px; list-style: none; }
.dg-form summary::-webkit-details-marker { display: none; }
.dg-form summary::after { content: ' ›'; }
.dg-form[open] summary::after { content: ' ˅'; }
.dg-form form { display: grid; gap: 10px; margin-top: 10px; }
.dg-form label { display: grid; gap: 4px; font-weight: 700; font-size: 14px; }
.dg-form label small { font-weight: 600; color: var(--muted-2); }
.dg-form input { min-height: 44px; border-radius: 14px; border: 1px solid #F3C9D1; padding: 0 12px; font: 700 15px var(--font-body); color: var(--ink); background: #fff; width: 100%; box-sizing: border-box; }
.dg-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: auto; padding-top: 6px; }
.dg-week i { font-style: normal; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--muted-2); padding: 6px 0; border-radius: 10px; background: #F7EEF0; }
.dg-week i.on { background: linear-gradient(160deg, #FFC85A, #F28C38); color: #fff; }
.dg-week i.today { outline: 2px solid var(--rose); outline-offset: 1px; }
.dash-chart .target { stroke: var(--rose); stroke-width: 1.5; stroke-dasharray: 3 4; }
.dash-chart .target-label { fill: var(--maroon); font-weight: 700; }
.dash-weak { margin-top: 14px; padding: 14px; border-radius: 16px; background: var(--pink); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.dash-weak p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.dash-weak form { margin: 0; }
.dash-practice { margin-top: 30px; scroll-margin-top: 90px; }
.dp-note { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--muted-2); background: #F6ECEE; padding: 3px 10px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.dp-grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; }
.dp-card { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.dp-card > b { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.dp-card > p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.dp-card form { margin: 4px 0 0; }
.dp-secs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.dp-secs form { margin: 0; }
.dp-sec { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--tbd); background: linear-gradient(160deg, var(--tbg), #fff 80%); cursor: pointer; font-family: var(--font-body); color: var(--ink); transition: transform .12s, box-shadow .12s; }
.dp-sec:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(154, 28, 32, .1); }
.dp-sec:disabled { cursor: not-allowed; opacity: .7; }
.dp-sec .jp { font-size: 18px; font-weight: 700; color: var(--tfg); }
.dp-sec b { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.dp-sec small { font-size: 12.5px; font-weight: 700; color: var(--muted-2); }
.dp-grid.is-locked .dp-card { filter: grayscale(.4); opacity: .75; }
.dp-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-radius: 26px; background: rgba(255, 251, 248, .55); backdrop-filter: blur(1.5px); -webkit-backdrop-filter: blur(1.5px); }
.dp-lock span { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--maroon); background: #fff; padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(154, 28, 32, .12); }
.dp-hint { grid-column: 1 / -1; margin: 0; }
.h-score.is-prac { font-size: 15px; background: var(--pink); }
.prac-sum h1 { font-size: clamp(22px, 3vw, 30px); }
.prac-secs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.prac-sum .set-badge { margin-bottom: 6px; }

@media (max-width: 900px) {
  .home-plans .plan-grid.n-3 { grid-template-columns: 1fr; max-width: 460px; }
  .dash-goals { grid-template-columns: 1fr; }
  .dp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .dash-goals { grid-template-columns: 1fr 1fr; }
  .dash-goals .dg-target { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .dp-secs { grid-template-columns: 1fr; }
  .dg-big b { font-size: 32px; }
}
.dash-access .set-badge, .prac-sum .set-badge { align-self: flex-start; background: var(--gold); color: var(--ink); }
.dash-access .set-badge.is-ok { background: var(--green); color: var(--green-fg); }
.prac-sum .set-badge { display: inline-block; }
.dp-grid { grid-template-columns: 1fr; }
.dp-secs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sim-review h2 .prac-score { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
@media (max-width: 900px) { .dp-secs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .dp-secs { grid-template-columns: 1fr; } }

/* ===== v20: Simulasi SSW ===== */
.exam-tabs { display: inline-flex; gap: 4px; padding: 5px; margin: 0 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); box-shadow: var(--shadow-pink); max-width: 100%; overflow-x: auto; }
.exam-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.exam-tabs a .jp { font-family: var(--font-jp); font-size: 12px; font-weight: 700; color: var(--maroon); background: var(--pink); padding: 2px 8px; border-radius: 999px; }
.exam-tabs a.is-active { background: var(--grad); color: #fff; }
.exam-tabs a.is-active .jp { background: rgba(255, 255, 255, .22); color: #fff; }
.exam-tabs a:not(.is-active):hover { background: var(--pink); color: var(--maroon); }
.et-new { font-family: var(--font-body); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; background: var(--gold); color: var(--ink); padding: 2px 7px; border-radius: 999px; }
@media (max-width: 560px) { .exam-tabs { display: flex; } .exam-tabs a { flex: 1 1 0; justify-content: center; padding: 9px 10px; font-size: 13.5px; } .exam-tabs a .jp { display: none; } }

.ssw-lang { display: flex; flex-wrap: wrap; gap: 8px; }
.ssw-lang label { position: relative; cursor: pointer; }
.ssw-lang input { position: absolute; opacity: 0; pointer-events: none; }
.ssw-lang span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--muted); transition: border-color .12s, background .12s; }
.ssw-lang span .jp, .ssw-lang b.jp { font-family: var(--font-jp); }
.ssw-lang input:checked + span { border-color: var(--rose); background: var(--pink); color: var(--maroon); box-shadow: 0 0 0 3px rgba(216, 67, 90, .12); }
.ssw-lang input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
.ssw-start { margin: 6px 0 0; }
.ssw-start-l { margin: 0 0 6px; font-weight: 700; font-size: 14px; color: var(--ink); }
.ssw-test-h { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; margin: 14px 0 6px; color: var(--ink); }
.ssw-test-h .jp { font-family: var(--font-jp); color: var(--maroon); margin-right: 4px; }
.ssw-test-h.small { font-size: 13px; margin: 10px 0 0; }
.ssw-secs .sec-bars { margin-top: 0; }
.ssw-practice { padding: 22px 24px; margin-top: 0; }
.ssw-practice h2 { margin-top: 0; }
.ssw-practice .dp-grid { grid-template-columns: 1fr; }
.ssw-practice .dp-card { padding: 0; }
.ssw-practice .dp-lock { border-radius: 18px; }
.h-score.ssw-hs { font-size: 15px; background: #F1E6E8; color: var(--muted); }
.h-score.ssw-hs.is-pass { background: var(--green); color: var(--green-fg); }
.pay-exam { display: inline-block; vertical-align: middle; font-family: var(--font-body); font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--tbg); color: var(--tfg); margin-left: 6px; }
.pay-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 18px; }
.pay-jump a { font-size: 13.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--maroon); text-decoration: none; }
#paket-ssw { scroll-margin-top: 90px; }

/* Soal: label bagian + furigana */
.ssw-subj { font-size: 12px; font-weight: 700; color: var(--tfg); background: var(--tbg); padding: 3px 10px; border-radius: 999px; font-family: var(--font-jp); }
.jq-head .ssw-subj { margin-right: auto; margin-left: 8px; }
.rv-head .ssw-subj { margin-left: auto; }
.ssw-exam ruby, .ssw-result ruby { ruby-position: over; }
.ssw-exam rt, .ssw-result rt { font-size: .55em; font-weight: 600; color: var(--muted-2); letter-spacing: 0; }
body.no-furi rt, body.no-furi rp { display: none; }
.ssw-exam .jq-prompt, .ssw-exam .jq-passage, .ssw-exam .jc-text { line-height: 2.1; }
.furi-ic { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .25); font-family: var(--font-jp); font-weight: 700; font-size: 12px; }
[data-furi][aria-pressed="false"] .furi-ic { opacity: .5; }
.ssw-furi-row { margin: 0 0 10px; text-align: right; }
.ssw-furi-row .furi-ic { background: var(--pink); color: var(--maroon); }

/* Lembar hasil SSW (結果通知書, logo Wakatta + tanda SIMULASI) */
.ssw-sheet { padding: 0; }
.ss-notice { position: relative; padding: 40px 54px 26px; overflow: hidden; }
.ss-notice.is-next { border-top: 2px dashed #d6c6ca; }
.ss-notice .rs-wm { top: 52%; font-size: 130px; }
.ss-hd { display: flex; justify-content: space-between; align-items: center; }
.ss-stamp { text-align: center; border: 2.5px solid #a3192f; color: #a3192f; border-radius: 8px; padding: 4px 12px 5px; transform: rotate(-4deg); line-height: 1.25; }
.ss-stamp b { display: block; font-size: 16px; }
.ss-stamp span { font-size: 11px; font-weight: 800; letter-spacing: 3px; }
.ss-title { text-align: center; font-size: 25px; margin: 22px 0 0; letter-spacing: .5px; }
.ss-sub { text-align: center; font-size: 14px; color: #444; margin: 4px 0 0; }
.ss-sub i { color: #777; }
.ss-who { display: grid; grid-template-columns: 1fr 130px; gap: 30px; margin-top: 26px; align-items: start; }
.ss-who .rs-photo { width: 130px; height: 170px; }
.ss-info { display: grid; grid-template-columns: 170px 1fr; margin: 0; border-top: 1px solid #333; }
.ss-info dt, .ss-info dd { margin: 0; padding: 7px 10px; border-bottom: 1px solid #333; }
.ss-info dt { background: #f3f3f3; border-right: 1px solid #333; }
.ss-info dt b { display: block; font-size: 14px; }
.ss-info dt span { font-size: 10.5px; font-weight: 600; color: #555; }
.ss-info dd { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ss-info dd small { color: #777; font-weight: 500; }
.ss-score, .ss-subj { width: 100%; border-collapse: collapse; margin-top: 22px; }
.ss-score th, .ss-score td, .ss-subj th, .ss-subj td { border: 1px solid #333; padding: 8px 12px; text-align: center; }
.ss-score th, .ss-subj thead th { background: #f3f3f3; }
.ss-score th b, .ss-subj th b { display: block; font-size: 14px; }
.ss-score th span, .ss-subj th span { display: block; font-size: 10.5px; font-weight: 600; color: #555; }
.ss-score td { font-size: 24px; font-weight: 700; padding: 12px; }
.ss-score td small { font-size: 13px; color: #666; font-weight: 600; }
.ss-score td.is-pass { color: #1b7f45; }
.ss-score td.is-fail { color: #a3192f; }
.ss-score td span { font-size: 16px; }
.ss-subj thead th:first-child { text-align: left; }
.ss-subj td:first-child { text-align: left; width: 300px; }
.ss-subj td:first-child b { display: block; font-size: 14.5px; }
.ss-subj td:first-child span { font-size: 11.5px; color: #555; font-weight: 600; }
.ss-subj .ss-bar { padding: 8px 14px; }
.ss-subj .ss-bar span { display: block; height: 11px; background: rgba(163, 25, 47, .85); min-width: 2px; }
.ss-subj td.ss-bar { background: linear-gradient(#e2e2e2, #e2e2e2) center / calc(100% - 28px) 11px no-repeat; }
.ss-subj .ss-n { width: 92px; font-size: 17px; font-weight: 700; }
.ss-subj .ss-n small { display: block; font-size: 11px; color: #777; font-weight: 600; }
.ss-notice .rs-ft { margin-top: 16px; }
.ssw-result .rs-actions.t-green h1 { color: var(--green-fg); }
.ssw-home { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.ssw-hcard { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 6px; }
.ssw-hjp { font-family: var(--font-jp); font-weight: 700; font-size: 15px; color: var(--tfg); background: var(--tbg); align-self: flex-start; padding: 4px 12px; border-radius: 999px; }
.ssw-hcard h3 { font-size: 22px; margin: 6px 0 0; }
.ssw-hmeta { margin: 0 0 6px; color: var(--muted); font-size: 14.5px; }
.ssw-hcard ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ssw-hcard > ul li { font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 8px 12px; border-radius: 12px; background: linear-gradient(160deg, var(--tbg), #fff 85%); border: 1px solid var(--tbd); }
.ssw-hcard > ul li .jp { font-family: var(--font-jp); color: var(--tfg); margin-right: 4px; }
.ssw-hcta { background: linear-gradient(160deg, #fff, #FFF3EE); gap: 10px; }
.ssw-hcta .check-list { margin: 0; }
.ssw-hprice { margin: auto 0 0; font-size: 15px; color: var(--muted); }
.ssw-hprice b { font-family: var(--font-display); font-size: 26px; color: var(--maroon); }
.ssw-hprice small { display: block; font-size: 12.5px; }
.ssw-hnote { text-align: center; margin: 14px 0 0; }
@media (max-width: 900px) { .ssw-home { grid-template-columns: 1fr; } }
.ssw-practice .dp-secs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ssw-practice h2 .dp-note { display: table; margin: 6px 0 0; }
@media (max-width: 420px) { .ssw-practice .dp-secs { grid-template-columns: 1fr; } }
.ssw-exam .sim-sec-head { grid-template-columns: 1fr auto; grid-template-areas: "jp tag" "name tag" "small tag"; row-gap: 3px; }
.ssw-exam .sim-sec-head .jp { justify-self: start; font-size: 13.5px; padding: 3px 9px; border-radius: 999px; }

/* ===== v21: dua dasbor (JFT / SSW) + sidebar per dasbor ===== */
.dash-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: #F6ECEE; border: 1px solid var(--line); }
.dash-switch a { display: flex; flex-direction: column; align-items: center; padding: 7px 6px 6px; border-radius: 12px; text-decoration: none; color: var(--muted); line-height: 1.15; }
.dash-switch a b { font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.dash-switch a span { font-size: 10.5px; font-weight: 700; color: var(--muted-2); font-family: var(--font-jp); }
.dash-switch a.is-active { background: #fff; color: var(--maroon); box-shadow: 0 4px 12px rgba(154, 28, 32, .12); }
.dash-switch a.is-active span { color: var(--rose); }
.dash-switch a:not(.is-active):hover { color: var(--maroon); }
.dash-switch.in-top { display: none; }
.akun-group { margin: 12px 0 4px; padding: 0 14px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.akun-nav > .akun-group:first-child { margin-top: 0; }
.akun-nav a .akun-note { margin-left: auto; font-size: 12px; font-weight: 700; opacity: .8; }
.akun-nav a.is-sub { min-height: 36px; padding-left: 46px; font-size: 14px; font-weight: 600; }
.akun-nav a.is-sub svg { display: none; }
.akun-nav .is-soon { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 14px; color: var(--muted-2); font-weight: 700; opacity: .75; cursor: default; }
.akun-soon { margin-left: auto; font-size: 10.5px; font-weight: 800; background: var(--gold); color: var(--ink); padding: 2px 8px; border-radius: 999px; }
@media (max-width: 900px) {
  .dash-switch.in-top { display: grid; width: 132px; flex: 0 0 auto; padding: 3px; border-radius: 12px; }
  .dash-switch.in-top a { padding: 5px 4px; border-radius: 9px; }
  .dash-switch.in-top a b { font-size: 13px; }
  .dash-switch.in-top a span { display: none; }
  .akun-top .akun-site span { display: none; }
}

/* ===== v22: hero slider Simulasi JFT ⇄ SSW ===== */
.hero-slider { padding-top: 40px; }
.hero-tabs-wrap { position: relative; z-index: 2; margin-bottom: 26px; }
.hero-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .88); border: 1px solid var(--line); box-shadow: var(--shadow-pink); }
.hero-tabs button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 15.5px var(--font-display); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background .2s, color .2s; }
.hero-tabs button small { font: 800 10.5px var(--font-body); letter-spacing: .04em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 2px 7px; border-radius: 999px; }
.hero-tabs button[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(216, 67, 90, .25); }
.hero-tabs button.is-ssw[aria-selected="true"] { background: linear-gradient(90deg, #2E5784, #4F7FB8); box-shadow: 0 6px 16px rgba(46, 87, 132, .25); }
.hero-tabs button:not([aria-selected="true"]):hover { background: var(--pink); color: var(--maroon); }
.hero-slides { display: grid; position: relative; z-index: 1; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease, visibility 0s; }
.hero h2.hero-h { margin: 0; font-size: clamp(42px, 5.6vw, 72px); line-height: 1.05; letter-spacing: -.5px; }
.grad-blue { background: linear-gradient(90deg, #2E5784, #4F7FB8 55%, #3D9A8B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hs-ssw .eyebrow { color: #2E5784; }
.hs-ssw .pill .jp { font-family: var(--font-jp); font-weight: 700; }
.pill-soon { font: 800 10.5px var(--font-body); text-transform: uppercase; background: #fff; padding: 1px 7px; border-radius: 999px; margin-left: 2px; }
.btn-blue { color: #fff; background: linear-gradient(90deg, #2E5784, #4F7FB8); box-shadow: 0 8px 20px rgba(46, 87, 132, .28); }
.btn-blue:hover { filter: brightness(1.05); }
.hs-ssw .btn-ghost { color: #2E5784; border-color: #B9CFE8; }
.hs-ssw .btn-ghost:hover { background: var(--blue); }
.hero-slider .hero-cta .btn-lg { min-width: 0; }

/* mock layar SSW */
.ssw-mock { box-shadow: 0 30px 70px rgba(46, 87, 132, .2), 0 0 0 1px #C9DCF0; }
.em-bar.is-ssw { background: var(--maroon); border-bottom: 0; gap: 8px; }
.em-bar.is-ssw b { flex: 1; color: #fff; font-family: var(--font-display); font-size: 14px; }
.em-bar.is-ssw .em-timer { background: #fff; }
.sm-furi { font-size: 11px; font-weight: 700; color: #fff; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; padding: 2px 8px; }
.sm-test { border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 3px; background: #F4F8FC; border: 1px solid #DCE7F3; }
.sm-test .jp { align-self: flex-start; font-family: var(--font-jp); font-weight: 700; font-size: 10.5px; color: var(--maroon); background: #fff; border-radius: 999px; padding: 1px 7px; }
.sm-test b { font-size: 12px; }
.sm-test small { font-size: 10.5px; color: var(--muted-2); display: inline-flex; gap: 3px; align-items: center; }
.sm-test.is-cur { background: var(--pink); border-color: #F3B7C3; box-shadow: 0 0 0 2px var(--rose) inset; }
.sm-test.is-lock { opacity: .7; }
.sm-test.is-lock .jp { color: #7C95B3; }
.sm-test .em-nums { grid-template-columns: repeat(5, 1fr); }
.sm-test .em-nums i { border-color: #F3B7C3; }
.sm-test .em-nums i.a { background: var(--maroon); border-color: var(--maroon); }
.sm-test .em-nums i.f { background: var(--gold); border-color: var(--gold); }
.sm-q { line-height: 2.1; font-size: 15px; }
.sm-q rt { font-size: .5em; color: var(--muted-2); font-weight: 600; }
.sm-opts { display: flex; flex-direction: column; gap: 6px; }
.sm-opts span { font-family: var(--font-jp); font-weight: 700; font-size: 13px; padding: 8px 10px; border-radius: 10px; border: 1px solid #E5EAF1; background: #fff; }
.sm-opts span.sel { border: 2px solid #2E5784; background: var(--blue); }
.sm-field { left: -22px; top: -26px; display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; transform: rotate(-4deg); border: 1px solid #C9DCF0; }
.sm-field small { font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--muted-2); }
.sm-field span { padding: 5px 9px; border-radius: 9px; background: #FBF5F2; color: var(--muted-2); }
.sm-field span.on { background: var(--blue); color: #2E5784; }
.sm-field .jp { font-family: var(--font-jp); }
.sm-pass { right: -18px; bottom: -22px; display: flex; flex-direction: column; align-items: center; border: 2.5px solid #1b7f45; transform: rotate(4deg); padding: 8px 16px; }
.sm-pass b { font-size: 22px; color: #1b7f45; }
.sm-pass small { font-size: 12px; color: var(--muted); }

/* kontrol slide */
.hero-ctrl { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 46px; }
.hc-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--maroon); font-size: 22px; line-height: 1; cursor: pointer; }
.hc-arrow:hover { background: var(--pink); }
.hc-dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; background: #E6D2D6; cursor: pointer; transition: width .3s, background .3s; position: relative; }
.hc-dot::after { content: ""; position: absolute; inset: -16px -6px; }
.hc-dot.is-active { width: 32px; background: var(--rose); }
.hc-dot.is-ssw.is-active { background: #2E5784; }
@media (max-width: 900px) {
  .hero-slider { padding-top: 24px; }
  .hero-tabs-wrap { margin-bottom: 18px; }
  .sm-field { left: 6px; top: -30px; }
  .sm-pass { right: 6px; }
  .hero-ctrl { margin-top: 36px; }
}
@media (max-width: 560px) {
  .hero-tabs { display: flex; }
  .hero-tabs button { flex: 1 1 0; justify-content: center; padding: 0 10px; font-size: 14.5px; }
  .sm-field { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-slide.is-active { transition: none; transform: none; } }
.em-bar.is-ssw span { flex: none; margin-left: 0; background: transparent; padding: 0; }
.em-bar.is-ssw .em-timer { background: #fff; padding: 2px 7px; border-radius: 8px; }
.em-bar.is-ssw .sm-furi { padding: 2px 8px; border-radius: 999px; }
.sm-field { top: auto; bottom: -34px; left: -26px; }
.hero-tabs button { white-space: nowrap; }
@media (max-width: 900px) { .sm-field { left: 6px; top: auto; bottom: -36px; } }
@media (max-width: 420px) { .hero-tabs button { font-size: 13.5px; padding: 0 8px; gap: 4px; } .hero-tabs button small { font-size: 9.5px; padding: 1px 5px; } }

/* ===== v23: harga JFT & SSW berdampingan (HP: tab) ===== */
.hp2 .sec-head h2 .hp-j { color: var(--rose); }
.hp2 .sec-head h2 .hp-s { color: #2E5784; }
.hp-tabs { display: none; }
.hp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: start; }
.hp-card { position: relative; display: flex; flex-direction: column; border-radius: 28px; background: #fff; border: 1px solid var(--tbd); box-shadow: 0 18px 40px rgba(59, 42, 51, .08); overflow: hidden; --hp: var(--maroon); --hp-bg: #FFF4F6; --hp-bd: #F3B7C3; }
.hp-card.t-blue { --hp: #2E5784; --hp-bg: #F3F8FD; --hp-bd: #B9CFE8; }
.hp-head { display: flex; align-items: center; gap: 14px; padding: 22px 26px; background: linear-gradient(120deg, var(--tbg), #fff); }
.hp-head h3 { margin: 0; font-size: 25px; }
.hp-head h3 .jp { font-family: var(--font-jp); font-size: 17px; color: var(--hp); }
.hp-head > div > span { font-size: 14px; font-weight: 700; color: var(--hp); }
.hp-ic { flex: 0 0 auto; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; border: 1px solid var(--tbd); color: var(--hp); font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.hp-new { position: absolute; top: 18px; right: 20px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 4px 11px; border-radius: 999px; }
.hp-fields { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.hp-fields span { font-size: 12.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--yellow); color: var(--yellow-fg); }
.hp-fields span.is-on { background: #fff; color: #2E5784; border: 1px solid #C9DCF0; }
.hp-fields .jp { font-family: var(--font-jp); }
.hp-rows { display: flex; flex-direction: column; padding: 6px 26px 2px; }
.hp-row { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid #F3EEF0; }
.hp-row:last-child { border-bottom: 0; }
.hp-row.is-best { margin: 8px -14px 0; padding: 15px 14px; border-radius: 18px; background: var(--hp-bg); border: 1.5px solid var(--hp); }
.hp-rt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hp-rt b { font-size: 17px; }
.hp-rt small { font-size: 13px; color: var(--muted-2); }
.hp-tag { font-size: 10.5px; font-weight: 800; text-transform: uppercase; background: var(--hp); color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.hp-price { font-family: var(--font-display); font-size: 23px; color: var(--hp); white-space: nowrap; }
.hp-price s { font-size: 14px; color: var(--muted-2); font-weight: 600; }
.hp-row .btn { min-width: 96px; min-height: 44px; justify-content: center; }
.hp-row form { margin: 0; }
.hp-card.t-blue .hp-row .btn-ghost { color: #2E5784; border-color: var(--hp-bd); }
.hp-card.t-blue .hp-row .btn-ghost:hover { background: var(--blue); }
.hp-feats { list-style: none; margin: 0; padding: 14px 26px 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 700; color: var(--muted); }
.hp-feats li { display: inline-flex; align-items: center; gap: 5px; }
.hp-feats svg { color: var(--green-fg); }
.hp-feats .jp { font-family: var(--font-jp); }
.hp-both { text-align: center; margin: 22px 0 0; font-weight: 700; color: var(--muted); }
.hp2 .lpk-band { margin-top: 22px; }
@media (max-width: 860px) {
  .hp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; margin: 0 auto 16px; max-width: 420px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-pink); }
  .hp-tabs button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 14.5px var(--font-display); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
  .hp-tabs button small { font: 800 9.5px var(--font-body); text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 1px 6px; border-radius: 999px; }
  .hp-tabs button[aria-selected="true"] { background: var(--grad); color: #fff; }
  .hp-tabs button.is-ssw[aria-selected="true"] { background: linear-gradient(90deg, #2E5784, #4F7FB8); }
  .hp-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .hp-card:not(.is-active) { display: none; }
  .hp-head, .hp-rows, .hp-feats { padding-left: 18px; padding-right: 18px; }
  .hp-row { gap: 10px; }
  .hp-row.is-best { margin-left: -10px; margin-right: -10px; padding-left: 10px; padding-right: 10px; }
  .hp-price { font-size: 19px; }
  .hp-row .btn { min-width: 70px; padding: 0 14px; }
  .hp-head h3 { font-size: 21px; }
}
.hp-fhead { margin: 14px 0 2px; font-size: 13px; font-weight: 800; letter-spacing: .03em; color: var(--hp); display: flex; align-items: center; gap: 6px; }
.hp-fhead .jp { font-family: var(--font-jp); background: var(--tbg); padding: 1px 8px; border-radius: 999px; }
.hp-fhead.is-soon { color: var(--muted-2); margin-top: 18px; }
.hp-fhead.is-soon .jp { background: #FBF5F2; }
.hp-fhead small { font-size: 10.5px; font-weight: 800; text-transform: uppercase; background: var(--yellow); color: var(--yellow-fg); padding: 1px 8px; border-radius: 999px; }
.hp-soon { margin: 4px 0 8px; font-size: 13.5px; color: var(--muted-2); }

/* v24 · SSW Pengolahan Makanan: nama tes panjang jangan melebarkan halaman HP */
.sim-top-title { min-width: 0; }
.sim-top-title .chip-mini { max-width: 100%; min-width: 0; }
.sim-top-title .chip-mini .jp { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 430px) {
  .exam-btn [data-furi-label] { display: none; }
  .exam-btn[data-furi] { padding: 0 12px; }
  .exam-btn[data-furi][aria-pressed="false"] .furi-ic { opacity: .55; text-decoration: line-through; }
}

/* ===== v25: harga SSW per bidang + baris harga rapi di HP ===== */
.hp-fboxes { display: flex; flex-direction: column; gap: 14px; padding: 16px 20px 4px; }
.hp-fbox { --fc: #2E5784; --fbg: #F3F8FD; --fbd: #C9DCF0; border-radius: 20px; background: var(--fbg); border: 1.5px solid var(--fbd); overflow: hidden; }
.hp-fbox.f-1 { --fc: #2F7A55; --fbg: #F1F9F4; --fbd: #BFE2CD; }
.hp-fbox.f-2 { --fc: #9A5B12; --fbg: #FFF8EE; --fbd: #F0D5AE; }
.hp-fbox.is-soon { --fc: #8A7F84; --fbg: #FBF8F9; --fbd: #ECE4E7; border-style: dashed; }
.hp-fbh { display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: #fff; border-bottom: 1px solid var(--fbd); }
.hp-fbox.is-soon .hp-fbh { border-bottom: 0; background: transparent; }
.hp-fjp { flex: 0 0 auto; font-family: var(--font-jp); font-weight: 700; font-size: 13px; color: #fff; background: var(--fc); padding: 6px 10px; border-radius: 12px; max-width: 120px; text-align: center; line-height: 1.25; }
.hp-fbh > div { min-width: 0; display: flex; flex-direction: column; }
.hp-fbh b { font-family: var(--font-display); font-size: 17px; color: var(--fc); }
.hp-fbh small { font-size: 12.5px; color: var(--muted-2); }
.hp-soontag { font: 800 10px var(--font-body); text-transform: uppercase; background: var(--yellow); color: var(--yellow-fg); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.hp-fbox .hp-rows { padding: 2px 16px 8px; }
.hp-fbox .hp-row { border-bottom-color: var(--fbd); }
.hp-fbox .hp-row.is-best { margin: 8px -6px 4px; padding: 13px 10px; background: #fff; border-color: var(--fc); }
.hp-fbox .hp-price, .hp-fbox .hp-tag { color: var(--fc); }
.hp-fbox .hp-tag { background: var(--fc); color: #fff; }
.hp-fbox .hp-row .btn-ghost { color: var(--fc); border-color: var(--fbd); background: #fff; }
.hp-fbox .hp-row .btn-blue { background: var(--fc); border-color: var(--fc); box-shadow: none; }

@media (max-width: 560px) {
  .hp-fboxes { padding: 14px 12px 4px; }
  .hp-fbh { padding: 12px 12px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .hp-fjp { max-width: none; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; }
  .hp-fbox .hp-rows { padding: 2px 12px 8px; }
  /* baris harga: judul di atas, harga kiri + tombol kanan di bawah */
  .hp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t b" "p b"; column-gap: 12px; row-gap: 2px; align-items: center; }
  .hp-rt { grid-area: t; }
  .hp-price { grid-area: p; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 7px; white-space: normal; }
  .hp-price s { white-space: nowrap; }
  .hp-row > form, .hp-row > .btn { grid-area: b; }
  .hp-rt b { font-size: 16px; line-height: 1.3; }
  .hp-rt small { order: 3; }
  .hp-tag { display: inline-block; margin-top: 2px; }
  .hp-row.is-best .hp-rt small { margin-top: 2px; }
}
.hp-head h3 .jp { white-space: nowrap; }

/* ===== v26: kotak harga baru (.hx) — tab JFT/SSW, tab bidang, kartu paket ===== */
.hx { --c: var(--maroon); --c2: #D9465F; --cbg: #FFF3F5; --cbd: #F3C3CD; max-width: 1040px; margin: 0 auto; }
.hx-pane.t-ssw, .hx-fpane.f-0 { --c: #2E5784; --c2: #4F7FB8; --cbg: #F1F6FC; --cbd: #C3D7EE; }
.hx-fpane.f-1 { --c: #2F7A55; --c2: #3F9A6C; --cbg: #EFF8F2; --cbd: #BFE2CD; }
.hx-fpane.f-2 { --c: #9A5B12; --c2: #C27A22; --cbg: #FFF7EC; --cbd: #F0D5AE; }
.hx-pane, .hx-fpane { display: none; }
.hx-pane.is-active, .hx-fpane.is-active { display: block; animation: hxIn .28s ease; }
@keyframes hxIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hx-tabs, .hx-ftabs { display: flex; gap: 4px; padding: 5px; margin: 0 auto 18px; width: max-content; max-width: 100%; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-pink); }
.hx-tabs button, .hx-ftabs button { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 15px var(--font-display); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.hx-tabs button small { font: 800 9.5px var(--font-body); text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 1px 6px; border-radius: 999px; }
.hx-tabs button[aria-selected="true"] { background: var(--grad); color: #fff; }
.hx-tabs button.is-ssw[aria-selected="true"] { background: linear-gradient(90deg, #2E5784, #4F7FB8); }
.hx-ftabs { box-shadow: none; margin-bottom: 14px; }
.hx-ftabs button .jp { font-family: var(--font-jp); font-size: 13px; }
.hx-ftabs button.f-0[aria-selected="true"] { background: #2E5784; color: #fff; }
.hx-ftabs button.f-1[aria-selected="true"] { background: #2F7A55; color: #fff; }
.hx-ftabs button.f-2[aria-selected="true"] { background: #9A5B12; color: #fff; }
.hx-sub { text-align: center; margin: 0 0 26px; font-size: 14.5px; color: var(--muted); }
.hx-sub b { color: var(--c); font-family: var(--font-display); font-weight: 600; }
.hx-sub .jp { font-family: var(--font-jp); color: var(--c); }
.hx-cards { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.hx-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 24px 22px 22px; border-radius: 24px; background: #fff; border: 1.5px solid var(--cbd); box-shadow: 0 14px 34px rgba(59, 42, 51, .07); }
.hx-card.is-best { border: 2px solid var(--c); background: linear-gradient(180deg, var(--cbg), #fff 70%); box-shadow: 0 22px 46px rgba(59, 42, 51, .13); transform: translateY(-8px); }
.hx-rib { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: linear-gradient(90deg, var(--c), var(--c2)); color: #fff; font: 800 11px var(--font-body); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.hx-name { font: 600 17px var(--font-display); color: var(--ink); }
.hx-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; }
.hx-price b { font: 700 34px/1.15 var(--font-display); color: var(--c); }
.hx-price s { font-size: 15px; font-weight: 600; color: var(--muted-2); }
.hx-note { font-size: 13px; font-weight: 700; color: var(--c); min-height: 18px; }
.hx-card ul { list-style: none; margin: 12px 0 18px; padding: 14px 0 0; border-top: 1px dashed var(--cbd); display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.hx-card li { display: flex; gap: 7px; align-items: flex-start; }
.hx-card li svg { flex: 0 0 auto; margin-top: 2px; color: var(--c); }
.hx-card li .jp { font-family: var(--font-jp); }
.hx-card form { margin: auto 0 0; }
.hx-card > .btn { margin-top: auto; }
.hx-card .btn { min-height: 48px; justify-content: center; }
.hx-btn { color: var(--c); border-color: var(--cbd); background: #fff; }
.hx-btn:hover { background: var(--cbg); }
.hx-btn-main { color: #fff; background: linear-gradient(90deg, var(--c), var(--c2)); border: 0; box-shadow: 0 10px 22px rgba(59, 42, 51, .18); }
.hx-btn-main:hover { filter: brightness(1.06); }
.hx-soon { text-align: center; margin: 18px 0 0; font-size: 13.5px; color: var(--muted-2); }
.hx + .hp-both, .hx + .lpk-band { margin-top: 28px; }
#harga .lpk-band { margin-top: 28px; }
@media (max-width: 760px) {
  .hx-cards { grid-template-columns: minmax(0, 1fr); gap: 22px; max-width: 420px; margin: 0 auto; }
  .hx-card.is-best { order: -1; transform: none; }
  .hx-price b { font-size: 30px; }
  .hx-sub { margin-bottom: 22px; }
}
@media (max-width: 480px) {
  .hx-tabs, .hx-ftabs { width: 100%; }
  .hx-tabs button, .hx-ftabs button { flex: 1 1 0; min-width: 0; padding: 0 10px; font-size: 14px; }
  .hx-ftabs button { flex-direction: column; gap: 0; line-height: 1.15; min-height: 52px; white-space: normal; text-align: center; }
  .hx-ftabs button .jp { font-size: 11px; }
  .hx-ftabs { border-radius: 22px; }
  .hx-ftabs button { border-radius: 18px; }
  .hx-card { padding: 22px 18px 18px; }
}

/* halaman Simulasi JFT / SSW */
.info-page { padding-bottom: 40px; }
.info-head { margin-bottom: 8px; }
.info-head h1 { font-size: clamp(32px, 4.6vw, 54px); }
.info-head .pills { justify-content: center; margin: 18px 0 0; }
.info-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.info-page > .section:first-of-type { padding-top: 40px; }

/* ===== v26b: lembar hasil 3 contoh (JFT, SSW Kaigo, SSW PM) bertumpuk ===== */
.btn-green { color: #fff; background: linear-gradient(90deg, #2F7A55, #3F9A6C); box-shadow: 0 8px 20px rgba(47, 122, 85, .26); }
.btn-green:hover { filter: brightness(1.05); }
.hs-visual { display: flex; justify-content: center; }
.hs-stack { position: relative; width: min(76%, 380px); aspect-ratio: 760 / 985; margin: 10px 0 24px; }
.hs-sheet { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 12px; background: #fff; overflow: hidden; cursor: pointer; box-shadow: 0 20px 50px rgba(80, 30, 40, .16); transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .4s, box-shadow .4s, filter .4s; transform-origin: 50% 85%; }
.hs-sheet img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hs-sheet.is-front { z-index: 3; transform: rotate(-2deg); cursor: default; box-shadow: 0 26px 60px rgba(80, 30, 40, .22); }
.hs-sheet.is-left  { z-index: 1; transform: translateX(-18%) rotate(-8deg) scale(.88); filter: saturate(.85) brightness(.97); }
.hs-sheet.is-right { z-index: 2; transform: translateX(18%) rotate(6deg) scale(.9); filter: saturate(.85) brightness(.97); }
.hs-sheet.is-left:hover, .hs-sheet.is-right:hover { filter: none; }
.hs-label { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px; font: 700 11.5px var(--font-body); color: #fff; background: var(--maroon); opacity: 0; transition: opacity .3s; }
.hs-sheet.t-kaigo .hs-label { background: #2E5784; }
.hs-sheet.t-pm .hs-label { background: #2F7A55; }
.hs-sheet:not(.is-front) .hs-label { opacity: 1; }
.hs-sheet.is-left .hs-label { left: auto; right: 10px; }
.hs-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.hs-tabs button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); font: 600 14px var(--font-display); cursor: pointer; }
.hs-tabs .hs-s { display: none; }
.hs-tabs button.t-jft[aria-selected="true"] { background: var(--grad); border-color: transparent; color: #fff; }
.hs-tabs button.t-kaigo[aria-selected="true"] { background: #2E5784; border-color: #2E5784; color: #fff; }
.hs-tabs button.t-pm[aria-selected="true"] { background: #2F7A55; border-color: #2F7A55; color: #fff; }
.hs-copy { display: none; }
.hs-copy.is-active { display: flex; flex-direction: column; gap: 14px; animation: hxIn .35s ease; }
.hs-copy p { margin: 0; }
.hs-split .split-copy { align-self: center; position: relative; z-index: 4; }
.hs-visual { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .hs-stack { width: min(74%, 360px); }
}
@media (max-width: 480px) {
  .hs-stack { width: 66%; margin-bottom: 18px; }
  .hs-sheet.is-left  { transform: translateX(-20%) rotate(-8deg) scale(.86); }
  .hs-sheet.is-right { transform: translateX(20%) rotate(6deg) scale(.88); }
  .hs-tabs { flex-wrap: nowrap; }
  .hs-tabs button { flex: 1 1 0; min-width: 0; padding: 0 8px; font-size: 13.5px; }
  .hs-tabs .hs-l { display: none; }
  .hs-tabs .hs-s { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .hs-sheet { transition: none; } }
/* v26c: slider atas tidak boleh lebih lebar dari layar (HP 320–360px) */
.hero-slides { grid-template-columns: minmax(0, 1fr); }
.hero-slide { min-width: 0; }
.hero-slide .hero-grid > * { min-width: 0; }
.exam-mock { min-width: 0; }
.em-body { grid-template-columns: 170px minmax(0, 1fr); }
@media (max-width: 560px) { .em-body { grid-template-columns: 112px minmax(0, 1fr); } }
@media (max-width: 360px) { .em-body { grid-template-columns: 92px minmax(0, 1fr); } .em-q { font-size: 13px; } }
/* v26d: isi gambaran ujian di HP kecil tetap di dalam kotaknya */
@media (max-width: 560px) {
  .sm-test { padding: 6px; min-width: 0; }
  .sm-test b { font-size: 9.5px; line-height: 1.25; letter-spacing: -.01em; }
  .sm-test .jp { font-size: 9px; padding: 1px 5px; max-width: 100%; white-space: normal; }
  .em-sh { flex-wrap: wrap; gap: 0 4px; }
  .em-sh .jp { white-space: nowrap; }
}
@media (max-width: 400px) {
  .em-sh small { display: none; }
  .em-sh .jp { font-size: 11.5px; letter-spacing: -.02em; }
  .em-side { padding: 6px; }
  .em-bar.is-ssw b { font-size: 12.5px; }
}

/* ===== v27: menu SSW per bidang = kartu terpisah ===== */
.akf-list { display: flex; flex-direction: column; gap: 10px; margin: 2px 0 6px; }
.akf { --fc: #2E5784; --fc2: #4F7FB8; --fbg: #F1F6FC; --fbd: #C9DCF0; border-radius: 18px; border: 1.5px solid var(--fbd); background: #fff; overflow: hidden; }
.akf.f-1 { --fc: #2F7A55; --fc2: #3F9A6C; --fbg: #EFF8F2; --fbd: #BFE2CD; }
.akf.f-2 { --fc: #9A5B12; --fc2: #C27A22; --fbg: #FFF7EC; --fbd: #F0D5AE; }
.akf.is-on { border-color: var(--fc); box-shadow: 0 8px 20px rgba(40, 60, 90, .12); }
.akun-nav .akf a, .akf .akf-head { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.akun-nav .akf a.akf-head, .akf span.akf-head { min-height: 58px; padding: 9px 12px; border-radius: 0; color: var(--ink); background: transparent; box-shadow: none; }
.akun-nav .akf a.akf-head:hover { background: var(--fbg); color: var(--ink); }
.akf.is-on .akf-head { background: linear-gradient(90deg, var(--fc), var(--fc2)) !important; color: #fff !important; }
.akf-ic { flex: 0 0 auto; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--fbg); color: var(--fc); font: 700 14px var(--font-jp); letter-spacing: -.04em; }
.akf.is-on .akf-ic { background: rgba(255, 255, 255, .2); color: #fff; }
.akf-t { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.akf-t b { font: 600 15.5px var(--font-display); }
.akf-t small { font-size: 12px; font-weight: 700; color: var(--muted-2); margin-top: 2px; }
.akf-t small.is-full { color: var(--green-fg); }
.akf.is-on .akf-t small { color: rgba(255, 255, 255, .88); }
.akf-go { margin-left: auto; font-size: 22px; line-height: 1; color: var(--fc); }
.akf-sub { display: flex; flex-direction: column; padding: 6px; background: var(--fbg); }
.akun-nav .akf-sub a { min-height: 40px; padding: 0 12px; gap: 10px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--muted); box-shadow: none; background: transparent; }
.akun-nav .akf-sub a svg { color: var(--fc); }
.akun-nav .akf-sub a:hover { background: #fff; color: var(--fc); }
.akun-nav .akf-sub a.is-cur { background: #fff; color: var(--fc); box-shadow: 0 0 0 1.5px var(--fbd) inset; }
.akf.is-soon { border-style: dashed; border-color: var(--line); background: transparent; }
.akf.is-soon .akf-ic { background: #F5F1F2; color: var(--muted-2); }
.akf.is-soon .akf-t b { color: var(--muted-2); }
.akf-hint { margin: 0; padding: 0 6px; font-size: 11.5px; color: var(--muted-2); line-height: 1.45; }
.akf.t-jft { --fc: #9B1C31; --fc2: #D9465F; --fbg: #FFF3F5; --fbd: #F3C3CD; }
.akf.t-jft .akf-ic { font: 700 12.5px var(--font-display); letter-spacing: 0; }

/* ===== v27b: pilihan bahasa soal SSW (kartu besar, wajib pilih) ===== */
.ssw-lang2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 4px; }
.ssw-lang2 label { position: relative; display: block; min-width: 0; cursor: pointer; }
.ssw-lang2 input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.lg-card { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 12px; border-radius: 16px; border: 2px solid var(--line); background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; }
.lg-ic { flex: 0 0 auto; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #F4F0F1; color: var(--muted); font: 700 13px var(--font-display); }
.lg-ic.jp { font: 700 18px var(--font-jp); }
.lg-t { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.lg-t b { font: 600 16px var(--font-display); color: var(--ink); }
.lg-t b.jp { font-family: var(--font-jp); font-weight: 700; }
.lg-t small { font-size: 12px; font-weight: 600; color: var(--muted-2); margin-top: 2px; }
.lg-dot { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: #fff; transition: all .15s; }
.ssw-lang2 label:hover .lg-card { border-color: #F3B7C3; }
.ssw-lang2 input:checked + .lg-card { border-color: var(--rose); background: var(--pink); box-shadow: 0 0 0 3px rgba(216, 67, 90, .12); }
.ssw-lang2 input:checked + .lg-card .lg-ic { background: var(--grad); color: #fff; }
.ssw-lang2 input:checked + .lg-card .lg-dot { border-color: var(--rose); background: var(--rose); box-shadow: inset 0 0 0 4px #fff; }
.ssw-lang2 input:focus-visible + .lg-card { outline: 2px solid var(--rose); outline-offset: 2px; }
.ssw-lang2 label.is-off { cursor: not-allowed; }
.ssw-lang2 label.is-off .lg-card { opacity: .55; border-style: dashed; background: #FBF8F9; }
.ssw-lang2.is-err .lg-card { border-color: #E2667B; animation: slShake .35s; }
@keyframes slShake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.ssw-start .ssw-lang-err, .dp-card .ssw-lang-err, .ssw-lang-err { margin: 4px 0 0; font-size: 13px; font-weight: 700; color: #C0334D; }
.ssw-start-l b { color: var(--maroon); }
@media (max-width: 420px) {
  .ssw-lang2 { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sl-card { min-height: 58px; }
}

/* ===== v28: bonus PDF pembeli JFT di dasbor ===== */
.dash-bonus { margin-top: 18px; display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1.5px solid #F2D9A6; background: linear-gradient(100deg, #FFF8E8, #FFFFFF 70%); }
.db-ic { flex: 0 0 auto; display: inline-grid; place-items: center; width: 64px; height: 72px; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px rgba(154, 91, 18, .14), inset 0 0 0 1.5px #F2D9A6; position: relative; }
.db-ic::after { content: "PDF"; position: absolute; bottom: -7px; right: -7px; font: 800 10px var(--font-body); color: #fff; background: var(--maroon); padding: 2px 6px; border-radius: 6px; }
.db-ic .jp { font: 700 20px var(--font-jp); color: var(--maroon); letter-spacing: -.04em; }
.db-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.db-tag { align-self: flex-start; font: 800 10.5px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: #8A5A0E; background: #FBE6B8; padding: 3px 9px; border-radius: 999px; }
.dash-bonus h2 { margin: 2px 0 0; font-size: 19px; }
.dash-bonus h2 small { font: 700 12.5px var(--font-body); color: var(--muted-2); margin-left: 4px; }
.dash-bonus p { margin: 0; font-size: 14px; color: var(--muted); }
.db-btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 640px) {
  .dash-bonus { flex-wrap: wrap; gap: 14px; padding: 16px; }
  .db-ic { width: 54px; height: 62px; }
  .db-txt { flex: 1 1 calc(100% - 72px); }
  .db-btn { flex: 1 1 100%; justify-content: center; min-height: 48px; }
}
