/* =========================================================
   KORISU Gakkou — Design System v2
   Tema terang & gelap (otomatis ikut perangkat, bisa diganti manual)
   Warna dasar dari brand kit: oranye #F15E26, rust #C04327, tinta #0B0A10, krem #FFF7F1
   ========================================================= */

/* ---------- Token tema TERANG ---------- */
:root {
  --brand: #F15E26; --brand-2: #C04327; --brand-soft: #FFE8DC; --brand-ink: #B23A1F;
  --ink-bg: #0B0A10; --ink-2: #211F29; --hl: #FFE14D;
  --bg: #FFF9F5; --surface: #FFFFFF; --surface-2: #FBF2EB; --surface-3: #F5E7DC;
  --text: #17120F; --text-2: #3D312A; --muted: #75645A; --line: #EEDFD3; --line-2: #E2CDBE;
  --ok: #17803F; --ok-bg: #E5F5EA; --warn: #9A6200; --warn-bg: #FFF4D6; --err: #B42318; --err-bg: #FDECEA; --info-bg: #FFF1E8;
  --shadow-sm: 0 1px 2px rgba(23,18,15,.06);
  --shadow: 0 1px 2px rgba(23,18,15,.04), 0 8px 24px rgba(23,18,15,.06);
  --shadow-lg: 0 20px 50px rgba(23,18,15,.12);
  --radius: 16px; --radius-sm: 10px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color-scheme: light;
}

/* ---------- Token tema GELAP ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand-soft: #3A1E12; --brand-ink: #FF8B5E;
    --bg: #0F0C0B; --surface: #181412; --surface-2: #201A17; --surface-3: #2A221E;
    --text: #F8EEE7; --text-2: #DCCBBF; --muted: #A89488; --line: #2E2420; --line-2: #3D312B;
    --ok: #4ADE80; --ok-bg: #0F2A1A; --warn: #FBBF24; --warn-bg: #2E2208; --err: #F87171; --err-bg: #331312; --info-bg: #2A1A12;
    --shadow-sm: none; --shadow: 0 1px 0 rgba(255,255,255,.03), 0 10px 30px rgba(0,0,0,.35); --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand-soft: #3A1E12; --brand-ink: #FF8B5E;
  --bg: #0F0C0B; --surface: #181412; --surface-2: #201A17; --surface-3: #2A221E;
  --text: #F8EEE7; --text-2: #DCCBBF; --muted: #A89488; --line: #2E2420; --line-2: #3D312B;
  --ok: #4ADE80; --ok-bg: #0F2A1A; --warn: #FBBF24; --warn-bg: #2E2208; --err: #F87171; --err-bg: #331312; --info-bg: #2A1A12;
  --shadow-sm: none; --shadow: 0 1px 0 rgba(255,255,255,.03), 0 10px 30px rgba(0,0,0,.35); --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
  color-scheme: dark;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.65 var(--font); }
img { max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.2; text-wrap: balance; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
.jp { font-family: var(--jp); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.mt { margin-top: 24px; } .mb { margin-bottom: 24px; } .mt-s { margin-top: 12px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ic { flex: none; vertical-align: -3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: var(--brand); color: #fff; }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--brand); color: #fff !important; font: 600 14.5px var(--font); text-decoration: none; cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: var(--brand-2); box-shadow: 0 6px 18px rgba(241,94,38,.28); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--text) !important; border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--brand); box-shadow: none; }
.btn.soft { background: var(--brand-soft); color: var(--brand-ink) !important; }
.btn.soft:hover { background: var(--brand); color: #fff !important; }
.btn.dark { background: var(--text); color: var(--bg) !important; }
.btn.dark:hover { background: var(--brand); color: #fff !important; }
.btn.sm { padding: 7px 14px; font-size: 13px; }
.btn.lg { padding: 14px 28px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.danger { background: var(--err); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--brand-ink); font: inherit; cursor: pointer; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: inherit; cursor: pointer; }
.icon-btn:hover { background: rgba(255,255,255,.08); }

/* Ikon tema: tampilkan bulan saat terang, matahari saat gelap */
.theme-toggle .ic-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: inline; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ic-sun { display: inline; }
  :root:not([data-theme="light"]) .theme-toggle .ic-moon { display: none; }
}

/* ---------- Form ---------- */
label { display: block; font-weight: 600; font-size: 13.5px; margin: 14px 0 6px; color: var(--text-2); }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); }
label.check input { margin-top: 5px; accent-color: var(--brand); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=url], input[type=search],
input[type=datetime-local], input[type=date], input[type=month], input[type=file], input:not([type]), select, textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: 14.5px var(--font); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
textarea.code { font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace; font-size: 13.5px; min-height: 360px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
input[disabled] { opacity: .6; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.grid2 { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
fieldset { border: 0; padding: 0; margin: 0; }

/* ---------- Komponen umum ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); min-width: 0; }
.card h3 { margin-top: 0; }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.alert { padding: 13px 16px; border-radius: 12px; margin: 16px 0; font-size: 14px; border: 1px solid transparent; display: flex; gap: 10px; align-items: flex-start; }
.alert.success { background: var(--ok-bg); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.alert.error { background: var(--err-bg); color: var(--err); border-color: color-mix(in srgb, var(--err) 30%, transparent); }
.alert.info { background: var(--info-bg); color: var(--text); border-color: color-mix(in srgb, var(--brand) 35%, transparent); }
.alert.warn { background: var(--warn-bg); color: var(--warn); }
.alert ul { margin: 0; padding-left: 18px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--brand-soft); color: var(--brand-ink); white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.err { background: var(--err-bg); color: var(--err); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.dark { background: var(--ink-bg); color: #fff; }
.badge.line { background: transparent; border: 1px solid var(--line-2); color: var(--text-2); }
.avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 700; font-size: 14px; flex: none; }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.avatar.lg { width: 64px; height: 64px; font-size: 22px; }
.progress { height: 8px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #FF8A4C); border-radius: 99px; transition: width .4s; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.lead { font-size: 17px; color: var(--muted); max-width: 680px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .ic { color: var(--brand); margin-bottom: 8px; }
.kbd { font-family: ui-monospace, monospace; font-size: 12px; padding: 2px 6px; border-radius: 6px; background: var(--surface-3); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li .ic { color: var(--brand); margin-top: 3px; }
.checklist.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* Tabs (dipakai halaman kursus, player, akun) */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs a, .tabs button { padding: 12px 16px; border: 0; background: none; color: var(--muted); font: 600 14px var(--font); text-decoration: none; border-bottom: 2.5px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.tabs a:hover, .tabs button:hover { color: var(--text); }
.tabs .active, .tabs [aria-selected="true"] { color: var(--brand-ink); border-bottom-color: var(--brand); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills a { padding: 7px 16px; border-radius: 99px; border: 1px solid var(--line-2); text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--text-2); background: var(--surface); }
.pills a:hover { border-color: var(--brand); }
.pills a.active { background: var(--text); color: var(--bg); border-color: var(--text); }
[data-tabpanel][hidden] { display: none; }

/* Accordion kurikulum */
.acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.acc + .acc { margin-top: 12px; }
.acc summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; gap: 12px; align-items: center; font-weight: 600; background: var(--surface-2); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .chev { transition: transform .2s; color: var(--muted); }
.acc[open] summary .chev { transform: rotate(180deg); }
.acc .acc-item { display: flex; gap: 12px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); text-decoration: none; }
.acc a.acc-item:hover { background: var(--surface-2); }
.acc .acc-item .ic { color: var(--muted); }

/* ---------- Header situs ---------- */
.site-header { background: rgba(11,10,16,.94); backdrop-filter: saturate(160%) blur(10px); color: #fff; border-bottom: 3px solid var(--brand); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .08em; font-size: 16px; }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.brand span { color: var(--brand); }
.nav { display: flex; gap: 2px; align-items: center; margin-left: auto; }
.nav > a, .nav .dd > button { color: #E9DED7; text-decoration: none; padding: 8px 13px; border-radius: 9px; font: 500 14px var(--font); background: none; border: 0; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.nav > a:hover, .nav > a.active, .nav .dd > button:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav form { margin: 0; }
.nav .btn { margin-left: 6px; }
.nav-user { display: flex; align-items: center; gap: 8px; padding-left: 6px; }
.dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; display: none; }
.dd-menu.right { left: auto; right: 0; min-width: 220px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 9px; text-decoration: none; color: var(--text); font-size: 14px; }
.dd-menu a:hover { background: var(--surface-2); }
.dd-menu .grp { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 4px; }
.dd-menu .jp { color: var(--muted); font-size: 12px; margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; }
@media (max-width: 920px) {
  .nav-toggle { display: inline-grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 71px; background: #0B0A10; flex-direction: column; align-items: stretch; padding: 10px 16px 18px; border-bottom: 3px solid var(--brand); max-height: calc(100vh - 71px); overflow: auto; }
  .nav.open { display: flex; }
  .nav .dd-menu { position: static; display: block; box-shadow: none; background: transparent; border: 0; color: #fff; min-width: 0; padding: 0 0 0 12px; }
  .nav .dd-menu a { color: #CFC2BA; } .nav .dd-menu .grp { color: #8a7d76; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #0B0A10; color: #fff; padding: 84px 0 96px; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 85% 15%, rgba(241,94,38,.38), transparent 60%), radial-gradient(500px 400px at 0% 100%, rgba(192,67,39,.22), transparent 60%); pointer-events: none; }
.hero::after { content: "日本語"; position: absolute; right: -40px; bottom: -70px; font: 900 260px/1 var(--jp); color: rgba(255,255,255,.035); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 span { color: var(--brand); }
.hero p { font-size: 18px; max-width: 620px; color: #E3D6CE; }
.hero .btn.ghost { color: #fff !important; border-color: rgba(255,255,255,.25); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero-panel { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 24px; backdrop-filter: blur(6px); }
.hero-panel .step { display: flex; gap: 14px; align-items: center; padding: 12px 4px; border-bottom: 1px dashed rgba(255,255,255,.12); }
.hero-panel .step:last-child { border-bottom: 0; }
.hero-panel .step b { display: block; font-size: 15px; }
.hero-panel .step span { font-size: 13px; color: #BFB0A6; }
.hero-panel .num { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; font-weight: 800; flex: none; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 56px 0 64px; } }
.stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 36px; }
.stats b { display: block; font-size: 26px; color: var(--brand); }
.stats span { font-size: 13px; color: #BFB0A6; }
.page-hero { background: #0B0A10; color: #fff; padding: 56px 0 60px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 0%, rgba(241,94,38,.3), transparent 60%); }
.page-hero .wrap { position: relative; }
.page-hero p { color: #E3D6CE; }
.page-hero .crumbs, .page-hero .crumbs a { color: #BFB0A6; font-size: 13px; text-decoration: none; }
.page-hero .badge { background: rgba(241,94,38,.18); color: #FFB592; }

.section { padding: 76px 0; }
.section.tight { padding: 48px 0; }
.section.alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-head { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 30px; }
.section-head > div { flex: 1; min-width: 260px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .fi { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
.feature h3 { margin-bottom: 4px; font-size: 17px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Kartu kursus (katalog) ---------- */
.course-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; padding: 0; transition: transform .18s, box-shadow .18s, border-color .18s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.course-card .cover { aspect-ratio: 16/9; background: linear-gradient(135deg, #0B0A10 0%, #2B1710 60%, #5a2513 100%); display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; }
.course-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.course-card .cover .jp { font-size: 22px; font-weight: 700; padding: 0 20px; text-align: center; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.course-card .cover .tl { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.course-card .cover .tl .badge { background: rgba(11,10,16,.75); color: #fff; backdrop-filter: blur(4px); }
.course-card .cover .tl .badge.hot { background: var(--brand); }
.course-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course-card .cat { font-size: 12px; font-weight: 600; color: var(--brand-ink); text-transform: uppercase; letter-spacing: .08em; }
.course-card h3 { margin: 0; font-size: 17px; }
.course-card p { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-card .meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.course-card .meta span { display: inline-flex; gap: 5px; align-items: center; }

/* ---------- Detail kursus (ala Tutor LMS) ---------- */
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.course-aside { position: sticky; top: 92px; margin-top: -180px; }
.enroll { padding: 0; overflow: hidden; box-shadow: var(--shadow-lg); }
.enroll .media { aspect-ratio: 16/9; background: linear-gradient(135deg, #0B0A10, #5a2513); display: grid; place-items: center; color: #fff; position: relative; }
.enroll .media img { width: 100%; height: 100%; object-fit: cover; }
.enroll .media iframe { width: 100%; height: 100%; border: 0; }
.enroll .inner { padding: 22px; }
.enroll .price { font-size: 28px; font-weight: 800; }
.enroll ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; font-size: 14px; }
.enroll li { display: flex; gap: 10px; align-items: center; color: var(--text-2); }
.enroll li .ic { color: var(--muted); }
.course-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: #D8C9BF; }
.course-meta span { display: inline-flex; gap: 6px; align-items: center; }
.instructor { display: flex; gap: 16px; align-items: flex-start; }
@media (max-width: 980px) { .course-layout { grid-template-columns: 1fr; } .course-aside { position: static; margin-top: 0; order: -1; } }

/* ---------- Harga (ala MemberPress) ---------- */
.plans { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 30px 26px; transition: transform .18s, box-shadow .18s; }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 20px 50px rgba(241,94,38,.18); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 99px; white-space: nowrap; }
.plan h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0; }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .per { font-size: 13px; color: var(--muted); }
.plan .save { color: var(--ok); font-weight: 600; }
.plan ul { padding: 0; list-style: none; margin: 14px 0 22px; flex: 1; display: grid; gap: 10px; align-content: start; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.plan li .ic { color: var(--brand); margin-top: 2px; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--surface-2); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* ---------- Konten (prose) ---------- */
.prose { max-width: 760px; font-size: 16px; line-height: 1.8; color: var(--text-2); }
.prose h1, .prose h2, .prose h3 { color: var(--text); }
.prose h2 { margin-top: 1.7em; font-size: 26px; }
.prose h3 { margin-top: 1.4em; font-size: 20px; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.2em 0; display: block; overflow-x: auto; border-radius: 12px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--surface-2); color: var(--text); }
.prose td:first-child { font-family: var(--jp); font-size: 1.3em; color: var(--text); }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--brand); background: var(--info-bg); border-radius: 0 12px 12px 0; color: var(--text); }
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: 12px; }
.prose code { font-size: .9em; background: var(--surface-3); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: #0B0A10; color: #F3E8E1; padding: 16px; border-radius: 12px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose iframe { max-width: 100%; border-radius: 12px; }
.prose ruby rt { font-size: .55em; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.video { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Kuis ---------- */
.quiz-q { padding: 20px 0; border-bottom: 1px dashed var(--line); }
.quiz-q:last-of-type { border-bottom: 0; }
.quiz-q .qtitle { display: flex; gap: 10px; font-weight: 600; color: var(--text); }
.quiz-q .qnum { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-size: 13px; }
.quiz-q .opts { display: grid; gap: 10px; margin-top: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.opts label { margin: 0; font-weight: 500; display: flex; gap: 12px; align-items: center; padding: 13px 16px; border: 1.5px solid var(--line-2); border-radius: 12px; cursor: pointer; font-family: var(--font), var(--jp); color: var(--text); background: var(--surface); transition: border-color .15s, background .15s; }
.opts label:hover { border-color: var(--brand); }
.opts label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.opts input { accent-color: var(--brand); }
.opts label.right { border-color: var(--ok); background: var(--ok-bg); }
.opts label.wrong { border-color: var(--err); background: var(--err-bg); }
.quiz-exp { margin-top: 10px; font-size: 13.5px; color: var(--muted); padding-left: 38px; }
.score-ring { --p: 0; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--surface-3) 0); flex: none; }
.score-ring b { width: 74px; height: 74px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 20px; }

/* ---------- Diskusi ---------- */
.comment { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment.reply { margin-left: 52px; padding-top: 4px; border-bottom: 0; }
.comment .who { font-weight: 600; font-size: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.comment .body { white-space: pre-line; color: var(--text-2); margin-top: 4px; }

/* ---------- Area akun siswa (ala Tutor Dashboard + MemberPress Account) ---------- */
.account { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; padding: 32px 0 72px; align-items: start; }
.account-nav { position: sticky; top: 92px; padding: 14px; }
.account-nav .who { display: flex; gap: 12px; align-items: center; padding: 8px 8px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.account-nav .who b { display: block; font-size: 14.5px; line-height: 1.3; }
.account-nav a, .account-nav button { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--text-2); text-decoration: none; font: 500 14px var(--font); width: 100%; background: none; border: 0; cursor: pointer; }
.account-nav a:hover, .account-nav button:hover { background: var(--surface-2); color: var(--text); }
.account-nav a.active { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.account-nav .sep { height: 1px; background: var(--line); margin: 8px 0; }
.account h1 { font-size: clamp(24px, 3vw, 30px); }
@media (max-width: 900px) {
  .account { grid-template-columns: 1fr; }
  .account-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 8px; }
  .account-nav .who, .account-nav .sep { display: none; }
  .account-nav a, .account-nav button { white-space: nowrap; width: auto; }
}
.stat-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.stat { display: flex; gap: 14px; align-items: center; padding: 18px; }
.stat .si { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
.stat b { display: block; font-size: 24px; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }
.welcome { background: linear-gradient(120deg, #0B0A10, #3a1a0f); color: #fff; border: 0; position: relative; overflow: hidden; }
.welcome::after { content: "がんばって"; position: absolute; right: 18px; bottom: -14px; font: 800 64px var(--jp); color: rgba(255,255,255,.05); }
.welcome p { color: #E3D6CE; }
.continue { display: grid; grid-template-columns: 180px 1fr auto; gap: 18px; align-items: center; }
.continue .thumb { aspect-ratio: 16/10; border-radius: 12px; background: linear-gradient(135deg, #0B0A10, #5a2513); display: grid; place-items: center; color: #fff; overflow: hidden; }
.continue .thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .continue { grid-template-columns: 1fr; } }
.member-card { background: linear-gradient(135deg, #0B0A10 0%, #2c140c 70%, #6b2a14 100%); color: #fff; border: 0; position: relative; overflow: hidden; }
.member-card::before { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(241,94,38,.45), transparent 70%); }
.member-card .lbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #FFB592; }
.member-card .big { font-size: 28px; font-weight: 800; }
.member-card .muted { color: #CDBDB2; }

/* ---------- Tabel umum ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
table.t th, table.t td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.t th { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); font-weight: 600; }
table.t tr:last-child td { border-bottom: 0; }
table.t form { display: inline; margin: 0; }
.pager { display: flex; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 36px; text-align: center; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 9px; text-decoration: none; font-size: 14px; color: var(--text); }
.pager span { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: #0B0A10; color: #BFB0A6; padding: 60px 0 28px; font-size: 14px; }
.site-footer a { color: #E3D6CE; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; } }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 14px; letter-spacing: .04em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer input { background: #15121a; border-color: #2b2530; color: #fff; }
.copy { border-top: 1px solid #221d26; margin-top: 40px; padding-top: 20px; font-size: 12.5px; display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-box { background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #fff; border-radius: 24px; padding: 44px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.newsletter-box h2 { color: #fff; } .newsletter-box p { color: #FFE6DA; margin: 0; }
.newsletter-box input { border: 0; }
.newsletter-box .btn { background: #0B0A10; }
@media (max-width: 760px) { .newsletter-box { grid-template-columns: 1fr; padding: 28px; } }

/* ---------- Ruang belajar fokus (ala Tutor LMS) ---------- */
body.player { background: var(--bg); }
.player-bar { position: sticky; top: 0; z-index: 40; height: 60px; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: #0B0A10; color: #fff; border-bottom: 3px solid var(--brand); }
.player-bar a { color: #fff; text-decoration: none; }
.player-bar .title { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.player-bar .pct { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #D8C9BF; }
.player-bar .pct .progress { width: 140px; background: rgba(255,255,255,.12); }
@media (max-width: 640px) { .player-bar .pct .progress { display: none; } }
.player-wrap { display: grid; grid-template-columns: 340px minmax(0, 1fr); min-height: calc(100vh - 60px); }
.player-side { background: var(--surface); border-right: 1px solid var(--line); position: sticky; top: 60px; height: calc(100vh - 60px); overflow-y: auto; }
.player-side .side-head { padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.player-side .mod > summary { list-style: none; cursor: pointer; padding: 14px 18px; display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.player-side .mod > summary::-webkit-details-marker { display: none; }
.player-side .mod > summary small { margin-left: auto; color: var(--muted); font-weight: 500; }
.player-side .les { display: flex; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text-2); font-size: 14px; }
.player-side .les:hover { background: var(--surface-2); }
.player-side .les.current { background: var(--brand-soft); color: var(--brand-ink); box-shadow: inset 3px 0 var(--brand); font-weight: 600; }
.player-side .les .st { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; flex: none; }
.player-side .les.done .st { background: var(--ok); border-color: var(--ok); color: #fff; }
.player-side .les .dur { margin-left: auto; font-size: 12px; color: var(--muted); display: inline-flex; gap: 4px; align-items: center; }
.player-main { min-width: 0; padding: 28px clamp(16px, 4vw, 48px) 120px; }
.player-main .inner { max-width: 900px; margin: 0 auto; }
.player-foot { position: sticky; bottom: 0; z-index: 30; display: flex; gap: 10px; align-items: center; padding: 12px clamp(16px, 4vw, 48px); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.player-foot form { margin: 0; }
.side-toggle { display: none; }
@media (max-width: 980px) {
  .player-wrap { grid-template-columns: 1fr; }
  .player-side { position: fixed; left: 0; top: 60px; width: min(340px, 88vw); z-index: 45; transform: translateX(-100%); transition: transform .25s; box-shadow: var(--shadow-lg); }
  .player-side.open { transform: none; }
  .side-toggle { display: inline-grid; }
}
.lock { text-align: center; padding: 56px 24px; }
.lock .ic { color: var(--brand); }

/* ---------- Sertifikat & invoice (bisa dicetak) ---------- */
.cert { max-width: 920px; margin: 30px auto; background: #fff; color: #141110; border: 12px solid #0B0A10; outline: 3px solid var(--brand); outline-offset: -26px; padding: 64px 56px; text-align: center; }
.cert h1 { font-size: 42px; letter-spacing: .12em; color: #141110; }
.cert .name { font-size: 36px; font-weight: 800; color: #C04327; border-bottom: 2px solid #EBD9CC; display: inline-block; padding: 0 30px 8px; }
.invoice { max-width: 760px; margin: 0 auto; background: #fff; color: #141110; }
.invoice table { width: 100%; border-collapse: collapse; }
.invoice th, .invoice td { padding: 10px 0; border-bottom: 1px solid #EEDFD3; text-align: left; }
@media print {
  .site-header, .site-footer, .no-print, .account-nav { display: none !important; }
  body { background: #fff; } .cert { margin: 0; } .account { display: block; padding: 0; } .card { border: 0; box-shadow: none; }
}
@media (max-width: 640px) { .hide-sm { display: none; } }

/* =========================================================
   RESPONSIVE & AKSESIBILITAS — semua perangkat
   Desktop ≥1200 · Laptop 1024 · Tablet 768–1023 · HP lipat terbuka ~600–720
   HP 360–430 · HP lipat tertutup / layar sangat sempit ≤ 340
   ========================================================= */

/* Area aman layar berponi / sudut melengkung */
.wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.player-foot, .site-footer { padding-bottom: max(12px, env(safe-area-inset-bottom)); }

/* Fokus keyboard yang jelas */
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 3px; }

/* Kurangi animasi bila pengguna memintanya */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .course-card:hover, .plan:hover { transform: none; }
}

/* Perangkat sentuh: tidak ada efek "melompat" & target sentuh nyaman */
@media (hover: none) {
  .course-card:hover, .plan:hover { transform: none; box-shadow: var(--shadow-sm); }
  .btn { min-height: 42px; }
  .btn.sm { min-height: 36px; }
}

/* Laptop kecil & tablet landscape */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

/* Tablet & HP lipat terbuka */
@media (max-width: 820px) {
  .section { padding: 56px 0; }
  .section.tight { padding: 36px 0; }
  .section-head { margin-bottom: 22px; }
  .card { padding: 20px; }
  .page-hero { padding: 40px 0 44px; }
  .course-meta { gap: 12px 18px; }
  .plan { padding: 26px 22px; }
  .stats { gap: 20px 28px; }
  .newsletter-box { border-radius: 18px; }
}

/* HP */
@media (max-width: 600px) {
  body { font-size: 15px; }
  /* Input ≥16px agar iPhone tidak otomatis zoom saat mengetik */
  input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=url], input[type=search],
  input[type=datetime-local], input[type=date], input[type=month], input:not([type]), select, textarea { font-size: 16px; }
  h1 { font-size: clamp(26px, 8vw, 34px); }
  h2 { font-size: clamp(21px, 6vw, 26px); }
  .lead { font-size: 15.5px; }
  .hero { padding: 44px 0 52px; }
  .hero p { font-size: 16px; }
  .hero::after { font-size: 150px; bottom: -40px; }
  .hero .row .btn { flex: 1 1 100%; }
  .hero-panel { padding: 16px; }
  .section { padding: 44px 0; }
  .cards { gap: 14px; }
  .card { padding: 18px; border-radius: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .plan .price { font-size: 34px; }
  .prose { font-size: 15.5px; }
  .prose h2 { font-size: 22px; }
  .tabs a, .tabs button { padding: 11px 12px; font-size: 13.5px; }
  .player-main { padding: 18px 14px 110px; }
  .player-foot { padding-left: 12px; padding-right: 12px; }
  .quiz-q .opts { grid-template-columns: 1fr; }
  .comment.reply { margin-left: 24px; }
  .stat { padding: 14px; gap: 10px; }
  .stat .si { width: 40px; height: 40px; }
  .stat b { font-size: 20px; }
  .welcome::after { font-size: 40px; }
  .member-card .big { font-size: 22px; }
  .account { padding: 18px 0 56px; gap: 16px; }
  .cert { padding: 34px 18px; border-width: 8px; outline-offset: -18px; }
  .cert h1 { font-size: 28px; } .cert .name { font-size: 26px; padding: 0 10px 6px; }
  .invoice.card { padding: 22px !important; }
  .compare th, .compare td { padding: 10px 8px; font-size: 13px; }
}

/* HP lipat tertutup & layar sangat sempit (≤ 360px, mis. Galaxy Z Fold 280px) */
@media (max-width: 360px) {
  .wrap { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .btn { white-space: normal; text-align: center; padding: 10px 16px; }
  .brand { font-size: 13px; letter-spacing: .04em; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { flex-direction: column; align-items: flex-start; }
  .stats b { font-size: 20px; }
  .course-meta { font-size: 13px; }
  .player-bar { gap: 6px; padding: 0 8px; }
  .player-bar .theme-toggle, .player-bar .pct { display: none; }
  .player-bar .icon-btn { width: 34px; height: 34px; }
  .newsletter-box { padding: 20px; }
  .tabs a, .tabs button { padding: 10px 9px; gap: 5px; }
  .account-nav a { padding: 8px 10px; font-size: 13px; }
  .plan .price { font-size: 30px; }
}

/* Item grid boleh menyusut (mencegah melebar di layar 280px) */
.grid2 > *, .course-layout > *, .account > *, .cards > *, .plans > *, .footer-grid > *, .hero-grid > *, .continue > * { min-width: 0; }
.permalink { overflow-wrap: break-word; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }

/* Kata/URL panjang tanpa spasi tetap terbungkus di layar sempit */
/* Kata hanya dipenggal bila satu kata lebih panjang dari barisnya (mis. URL), tidak memotong kata biasa */
body { overflow-wrap: break-word; word-break: normal; hyphens: manual; }

/* =========================================================
   FLASHCARD (gaya Quizlet)
   ========================================================= */
.fc-page { padding: 22px 0 70px; max-width: 900px; }
.fc-stats { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.6fr); margin: 18px 0 22px; }
.fc-stats .card { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; justify-content: center; }
.fc-stats b { font-size: 24px; line-height: 1.1; }
.fc-stats span { font-size: 12.5px; color: var(--muted); }
.fc-stats .fc-known { gap: 8px; }
@media (max-width: 760px) { .fc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fc-stats .fc-known { grid-column: 1 / -1; } }
.fc-howto { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; }
.fc-toolbar { margin-bottom: 14px; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font: 600 13px var(--font), var(--jp); color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.fc-stage { position: relative; }
.fc-quiz { padding: 0; overflow: hidden; }
.fc-timer { height: 6px; background: var(--surface-3); }
.fc-timer i { display: block; height: 100%; width: 100%; transition: background .3s; background: var(--ok); }
.fc-timer i.mid { background: var(--brand); } .fc-timer i.slow { background: var(--err); }
.fc-meta { display: flex; align-items: center; padding: 14px 20px 0; }
.fc-prompt { font: 700 clamp(34px, 8vw, 60px)/1.2 var(--jp), var(--font); text-align: center; padding: 30px 20px 26px; overflow-wrap: break-word; }
.fc-prompt[lang="id"] { font-family: var(--font); font-size: clamp(24px, 5vw, 36px); }
.fc-options { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 20px; }
@media (max-width: 560px) { .fc-options { grid-template-columns: 1fr; } }
.fc-opt { display: flex; align-items: center; gap: 12px; text-align: left; padding: 15px 16px; border: 2px solid var(--line-2); border-radius: 14px; background: var(--surface); color: var(--text); font: 500 16px var(--font), var(--jp); cursor: pointer; transition: transform .08s, border-color .15s, background .15s; min-height: 58px; }
.fc-opt[lang="ja"] { font-family: var(--jp); font-size: 20px; }
.fc-opt:hover:not(:disabled) { border-color: var(--brand); transform: translateY(-1px); }
.fc-opt:disabled { cursor: default; opacity: .75; }
.fc-opt.right { border-color: var(--ok); background: var(--ok-bg); opacity: 1; }
.fc-opt.wrong { border-color: var(--err); background: var(--err-bg); opacity: 1; animation: fc-shake .3s; }
@keyframes fc-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.fc-skip { display: block; margin: 14px auto 18px; color: var(--muted); }
.fc-result { padding: 18px 20px 22px; border-top: 1px solid var(--line); margin-top: 16px; background: var(--surface-2); }
.fc-verdict { padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; font-size: 14.5px; }
.fc-verdict.easy { background: var(--ok-bg); color: var(--ok); } .fc-verdict.good { background: var(--brand-soft); color: var(--brand-ink); }
.fc-verdict.hard { background: var(--warn-bg); color: var(--warn); } .fc-verdict.again { background: var(--err-bg); color: var(--err); }
.fc-answer { text-align: center; display: grid; gap: 4px; margin-bottom: 10px; }
.fc-word { font: 700 clamp(30px, 6vw, 46px)/1.2 var(--jp); overflow-wrap: break-word; }
.fc-mean { font-size: clamp(18px, 3.4vw, 24px); font-weight: 600; }
.fc-done { padding: 44px 20px; }
/* Kartu flip 3D */
.fc-flip-wrap { perspective: 1400px; margin: 8px 0 18px; }
.fc-flip { position: relative; width: 100%; aspect-ratio: 16/9; min-height: 240px; border: 0; padding: 0; background: none; cursor: pointer; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.7,.2,1); color: inherit; font: inherit; }
.fc-flip.flipped { transform: rotateY(180deg); }
.fc-flip.slide { opacity: .4; }
.fc-face { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; padding: 26px; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-align: center; }
.fc-front { background: linear-gradient(160deg, var(--surface), var(--surface-2)); }
.fc-back { transform: rotateY(180deg); background: linear-gradient(160deg, var(--brand-soft), var(--surface)); }
.fc-hint { position: absolute; bottom: 14px; }
.fc-nav { max-width: 420px; margin: 0 auto 12px; }
@media (max-width: 560px) { .fc-flip { aspect-ratio: 4/3; } }
@media (prefers-reduced-motion: reduce) { .fc-flip { transition: none; } }
.fc-table td { vertical-align: top; }
.avatar.has-photo { background: var(--surface-3); overflow: hidden; padding: 0; }
.avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.avatar.xl { width: 104px; height: 104px; font-size: 34px; }

/* XP, streak & leaderboard */
.xp-strip { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px 18px; }
.xp-lv { width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; text-align: center; line-height: 1; flex: none; }
.xp-lv span { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; opacity: .85; align-self: end; }
.xp-lv b { font-size: 24px; align-self: start; }
.xp-chip { display: flex; flex-direction: column; align-items: center; padding: 8px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); text-decoration: none; color: var(--text); min-width: 92px; }
.xp-chip b { font-size: 19px; } .xp-chip span { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.xp-chip.on { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
@media (max-width: 480px) { .xp-strip > div[style] { order: 5; flex-basis: 100%; } .xp-chip { flex: 1; } }
.lb { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; grid-template-columns: minmax(0, 1fr); } /* kolom tidak melebar mengikuti nama panjang */
.lb li { min-width: 0; }
.lb li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; }
.lb li.me { background: var(--brand-soft); }
.lb li.top1 { background: linear-gradient(90deg, rgba(255,215,0,.18), transparent); }
.lb li.top2 { background: linear-gradient(90deg, rgba(192,192,192,.22), transparent); }
.lb li.top3 { background: linear-gradient(90deg, rgba(205,127,50,.2), transparent); }
.lb-rank { width: 28px; text-align: center; font-weight: 700; color: var(--muted); flex: none; font-size: 15px; }
.lb-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.lb-pts { font-weight: 700; white-space: nowrap; } .lb-pts small { color: var(--muted); font-weight: 500; }
.lb-hero { background: linear-gradient(120deg, #0B0A10, #3a1a0f); color: #fff; border: 0; }
.lb-chip { display: flex; flex-direction: column; align-items: center; padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.08); min-width: 96px; }
.lb-chip b { font-size: 22px; } .lb-chip span { font-size: 11.5px; color: #CDBDB2; }
.photo-card { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.photo-pick { position: relative; margin: 0; cursor: pointer; flex: none; }
.photo-pick .avatar { box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--line-2); }
.photo-edit { position: absolute; right: 0; bottom: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--surface); }
.photo-pick:focus-within .avatar { box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--brand); }
.fc-flip { aspect-ratio: auto !important; height: clamp(220px, 46vh, 380px); min-height: 0; }

/* =========================================================
   DESIGN v5 — tipografi, ritme spasi, glow & transisi mewah
   (lapisan terakhir: menimpa aturan sebelumnya)
   ========================================================= */

/* Token efek (tipografi & spasi memakai pengaturan asli di atas) */
:root {
  --glow-brand: 0 0 0 1px color-mix(in srgb, var(--brand) 35%, transparent), 0 10px 30px -6px color-mix(in srgb, var(--brand) 45%, transparent);
  --glow-soft: 0 18px 50px -18px color-mix(in srgb, var(--brand) 40%, transparent);
  --ease: cubic-bezier(.22, .8, .24, 1);
}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ---------- 4. Efek mewah: glow, kaca, gradien ---------- */
/* Header kaca + bayangan saat digulir */
.site-header { background: color-mix(in srgb, #0B0A10 82%, transparent); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06); box-shadow: inset 0 -2px 0 var(--brand); transition: box-shadow .35s var(--ease), background .35s var(--ease); }
.site-header.scrolled { box-shadow: inset 0 -2px 0 var(--brand), 0 12px 40px -12px rgba(241,94,38,.45); background: color-mix(in srgb, #0B0A10 92%, transparent); }
.brand img { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); box-shadow: 0 0 22px rgba(241,94,38,.6); }

/* Tombol utama: gradien + glow + kilau */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .3s, color .2s, border-color .25s; }
.btn:not(.ghost):not(.soft):not(.dark):not(.danger) { background: linear-gradient(135deg, #FF7A3D 0%, var(--brand) 45%, var(--brand-2) 100%); box-shadow: 0 6px 18px -6px rgba(241,94,38,.6), inset 0 1px 0 rgba(255,255,255,.25); }
.btn:not(.ghost):not(.soft):not(.dark):not(.danger):hover { background: linear-gradient(135deg, #FF8A52 0%, #F36A33 45%, var(--brand) 100%); box-shadow: var(--glow-brand), inset 0 1px 0 rgba(255,255,255,.3); transform: translateY(-2px); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.btn.ghost:hover { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent); transform: translateY(-1px); }
.btn.dark:hover, .btn.soft:hover { transform: translateY(-2px); box-shadow: var(--glow-brand); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.lg { padding: .95em 1.9em; font-size: 1.02rem; }

/* Kartu: angkat + tepi bercahaya saat hover */
.card { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s; }
a.card:hover, .course-card:hover, .plan:hover, .feature.card:hover, .stat.card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 18%, transparent), var(--glow-soft), var(--shadow-lg);
}
.course-card .cover img { transition: transform .8s var(--ease); }
.course-card:hover .cover img { transform: scale(1.06); }
.course-card .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,10,16,.35)); pointer-events: none; }
.feature .fi { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.feature:hover .fi { transform: rotate(-6deg) scale(1.08); box-shadow: 0 0 24px color-mix(in srgb, var(--brand) 45%, transparent); }

/* Paket unggulan: bingkai gradien bercahaya */
.plan.featured { border: 0; background:
  linear-gradient(var(--surface), var(--surface)) padding-box,
  linear-gradient(135deg, #FFB592, var(--brand), var(--brand-2), #FFB592) border-box;
  border: 2px solid transparent; box-shadow: 0 30px 70px -25px rgba(241,94,38,.55); }
.plan .ribbon { background: linear-gradient(135deg, #FF8A52, var(--brand-2)); box-shadow: 0 6px 18px -4px rgba(241,94,38,.6); }

/* Hero: bola cahaya bergerak + teks gradien */
.hero::before { animation: glow-drift 18s ease-in-out infinite alternate; }
@keyframes glow-drift { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-4%, 3%, 0) scale(1.08); } 100% { transform: translate3d(3%, -2%, 0) scale(1.02); } }
.hero h1, .page-hero h1 { background: linear-gradient(180deg, #fff 30%, #FFD9C7 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-panel { transition: transform .5s var(--ease), box-shadow .5s var(--ease); box-shadow: 0 30px 80px -30px rgba(241,94,38,.45), inset 0 1px 0 rgba(255,255,255,.08); }
.hero-panel:hover { transform: translateY(-4px); }
.hero-panel .num { box-shadow: 0 0 18px rgba(241,94,38,.55); }
.stats b { background: linear-gradient(135deg, #FFB592, var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Progress: kilau berjalan */
.progress i { position: relative; overflow: hidden; box-shadow: 0 0 12px color-mix(in srgb, var(--brand) 55%, transparent); }
.progress i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: translateX(-100%); animation: shimmer 2.6s ease-in-out infinite; }
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }

/* Fokus input bercahaya */
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent), 0 8px 24px -12px color-mix(in srgb, var(--brand) 50%, transparent); }

/* Tautan: garis bawah beranimasi */
.prose a, .footer-grid a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.prose a { background-size: 100% 1.5px; }
.prose a:hover, .footer-grid a:hover { background-size: 100% 1.5px; }
.prose a:hover { color: var(--brand); }

/* Navigasi & dropdown halus */
.nav > a, .nav .dd > button { transition: background .25s var(--ease), color .2s; }
.dd-menu { display: block !important; opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; backdrop-filter: blur(14px); }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.tabs a, .tabs button { transition: color .25s, border-color .3s var(--ease); }
.pills a { transition: all .25s var(--ease); }
.pills a:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--brand) 60%, transparent); }
.avatar { box-shadow: 0 0 0 2px var(--surface), 0 4px 14px -4px rgba(241,94,38,.55); transition: transform .3s var(--ease); }
.avatar:hover { transform: scale(1.06); }
.member-card, .welcome, .lb-hero, .newsletter-box { box-shadow: 0 30px 70px -30px rgba(241,94,38,.55); }
.newsletter-box { position: relative; overflow: hidden; }
.newsletter-box::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 65%); animation: glow-drift 14s ease-in-out infinite alternate; pointer-events: none; }
.fc-flip .fc-face { box-shadow: 0 40px 80px -40px rgba(241,94,38,.5), var(--shadow); }
.fc-opt:hover:not(:disabled) { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent); }
.fc-opt.right { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent), 0 0 24px color-mix(in srgb, var(--ok) 35%, transparent); }

/* ---------- 5. Animasi masuk saat digulir ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
main, #main + section, .account, .player-wrap { animation: page-in .55s var(--ease) both; }

/* Pergantian tema terang/gelap yang mulus (hanya saat tombol diklik) */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease) !important; }

/* Scrollbar ramping */
* { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--brand) 45%, var(--line-2)) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--brand) 40%, var(--line-2)); border-radius: 99px; border: 3px solid transparent; background-clip: padding-box; }

/* Hormati preferensi kurangi gerakan */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .newsletter-box::before, .progress i::after { animation: none; }
  main, #main + section, .account, .player-wrap { animation: none; }
  .btn::after { display: none; }
}
@media (hover: none) {
  a.card:hover, .course-card:hover, .plan:hover, .feature.card:hover, .stat.card:hover { transform: none; }
}

/* Menu HP: dropdown program tetap terlihat (bukan melayang) */
@media (max-width: 920px) { .nav .dd-menu { opacity: 1; visibility: visible; transform: none; backdrop-filter: none; } }

/* =========================================================
   NAVBAR & FOOTER — oranye brand KORISU (terang & gelap sama)
   ========================================================= */
:root { --bar-1: #F26A30; --bar-2: #E4521C; --bar-ink: #0B0A10; }

/* ---------- Navbar ---------- */
.site-header, .site-header.scrolled {
  background: linear-gradient(100deg, var(--bar-1) 0%, var(--brand) 45%, var(--bar-2) 100%);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 0;
  box-shadow: inset 0 -3px 0 var(--brand-2);
}
.site-header.scrolled { box-shadow: inset 0 -3px 0 var(--brand-2), 0 10px 30px -12px rgba(140, 45, 15, .55); }
.site-header .brand { color: #fff; }
.site-header .brand span { color: var(--bar-ink); }
.site-header .brand img { box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.site-header .brand:hover img { box-shadow: 0 0 0 2px #fff, 0 0 18px rgba(255,255,255,.6); }
.nav > a, .nav .dd > button { color: #fff; font-weight: 600; }
.nav > a:hover, .nav > a.active, .nav .dd > button:hover, .nav .dd:focus-within > button { background: rgba(11, 10, 16, .16); color: #fff; }
.nav > a.active { box-shadow: inset 0 -2px 0 #fff; }
.site-header .icon-btn { color: #fff; border-color: rgba(255,255,255,.45); }
.site-header .icon-btn:hover { background: rgba(11, 10, 16, .16); }
/* Tombol "Mulai Gratis" di navbar: putih agar menonjol di atas oranye */
.site-header .btn:not(.ghost), .site-header .btn:not(.ghost):hover {
  background: #fff !important; color: var(--brand-2) !important;
  box-shadow: 0 6px 18px -8px rgba(11,10,16,.45) !important;
}
.site-header .btn:not(.ghost):hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(11,10,16,.55) !important; }
.site-header .avatar { box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
@media (max-width: 920px) {
  .nav { background: linear-gradient(180deg, var(--brand) 0%, var(--bar-2) 100%); border-bottom: 3px solid var(--brand-2); box-shadow: 0 20px 40px -20px rgba(11,10,16,.5); }
  .nav .dd-menu a { color: #fff; }
  .nav .dd-menu a:hover { background: rgba(11, 10, 16, .14); }
  .nav .dd-menu .grp { color: rgba(255,255,255,.75); }
  .nav .dd-menu .jp { color: rgba(255,255,255,.8); }
  .nav .divider { border-top-color: rgba(255,255,255,.3); }
  .nav-user .linkbtn { color: #fff !important; }
}

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(160deg, var(--brand) 0%, var(--bar-2) 55%, var(--brand-2) 100%);
  color: #FFF3EC;
}
.site-footer h4 { color: #fff; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--bar-ink); }
.site-footer .brand { color: #fff; }
.site-footer .brand span { color: var(--bar-ink); }
.site-footer .brand img { box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.site-footer .small, .site-footer p { color: #FFF3EC; }
.site-footer input { background: #fff; border-color: transparent; color: #17120F; }
.site-footer input::placeholder { color: #8a7a70; }
.site-footer input:focus { box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.site-footer .btn:not(.ghost), .site-footer .btn:not(.ghost):hover { background: var(--bar-ink) !important; color: #fff !important; box-shadow: 0 8px 22px -10px rgba(11,10,16,.7) !important; }
.copy { border-top-color: rgba(255,255,255,.28); color: #FFE6DA; }

/* Kotak newsletter gelap agar kontras dengan footer oranye */
.newsletter-box { background: radial-gradient(500px 260px at 100% 0%, rgba(241,94,38,.45), transparent 65%), linear-gradient(120deg, #0B0A10 0%, #241210 70%, #4a1d10 100%); }
.newsletter-box p { color: #E3D6CE; }
.newsletter-box .btn { background: linear-gradient(135deg, #FF7A3D 0%, var(--brand) 45%, var(--brand-2) 100%) !important; color: #fff !important; }

/* =========================================================
   POLISH v6 — latar, sidebar kontras, navbar, dropdown, jarak
   ========================================================= */

/* ---------- Latar sedikit lebih gelap dari kartu/isi ---------- */
:root { --bg: #F3E8DF; --surface-2: #FAF1EA; --surface-3: #F1E2D6; --line: #E9D8CA; --line-2: #DDC6B4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #080605; --surface: #171210; --surface-2: #1E1815; --surface-3: #2A221E; } }
:root[data-theme="dark"] { --bg: #080605; --surface: #171210; --surface-2: #1E1815; --surface-3: #2A221E; }
.section.alt { background: color-mix(in srgb, var(--surface) 55%, var(--bg)); }

/* ---------- Sidebar kontras (akun siswa & ruang belajar) ---------- */
:root { --side-bg: #1B1411; --side-bg-2: #241B17; --side-text: #F1E6DE; --side-muted: #A8968B; --side-line: rgba(255,255,255,.08); --side-hover: rgba(255,255,255,.07); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --side-bg: #231B17; --side-bg-2: #2C221D; --side-line: rgba(255,255,255,.09); } }
:root[data-theme="dark"] { --side-bg: #231B17; --side-bg-2: #2C221D; --side-line: rgba(255,255,255,.09); }

.account-nav { background: linear-gradient(180deg, var(--side-bg-2), var(--side-bg)); border-color: transparent; color: var(--side-text); box-shadow: 0 20px 50px -28px rgba(11,10,16,.7); }
.account-nav .who { border-bottom-color: var(--side-line); }
.account-nav .who b { color: #fff; }
.account-nav a, .account-nav button { color: var(--side-text); }
.account-nav a .ic, .account-nav button .ic { color: var(--side-muted); }
.account-nav a:hover, .account-nav button:hover { background: var(--side-hover); color: #fff; }
.account-nav a:hover .ic { color: var(--brand); }
.account-nav a.active { background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 22px -10px rgba(241,94,38,.8); }
.account-nav a.active .ic { color: #fff; }
.account-nav .sep { background: var(--side-line); }
.account-nav .badge.line { color: var(--side-text); border-color: var(--side-line); }

.player-side { background: var(--side-bg); border-right-color: var(--side-line); color: var(--side-text); }
.player-side .side-head { border-bottom-color: var(--side-line); }
.player-side .side-head b { color: #fff; }
.player-side .muted, .player-side .small.muted { color: var(--side-muted); }
.player-side .mod > summary { background: var(--side-bg-2); border-bottom-color: var(--side-line); color: #fff; }
.player-side .mod > summary small { color: var(--side-muted); }
.player-side .les { color: var(--side-text); border-bottom-color: var(--side-line); }
.player-side .les:hover { background: var(--side-hover); }
.player-side .les .st { border-color: rgba(255,255,255,.25); }
.player-side .les .dur { color: var(--side-muted); }
.player-side .les.current { background: linear-gradient(90deg, rgba(241,94,38,.28), rgba(241,94,38,.06)); color: #fff; box-shadow: inset 3px 0 var(--brand); }
.player-side .progress { background: rgba(255,255,255,.12); }
.player-side .btn.soft { background: rgba(241,94,38,.18); color: #FFB592 !important; }

/* ---------- Navbar: jarak menu ↔ tombol tema ---------- */
.nav { gap: 4px; }
.nav .theme-toggle { margin: 0 6px 0 12px; }
.nav .nav-user { margin-left: 4px; }
.nav > a + .theme-toggle { margin-left: 14px; }
@media (max-width: 920px) {
  .nav { gap: 2px; }
  .nav .theme-toggle { margin: 10px 0; align-self: flex-start; }
}

/* ---------- Dropdown: item yang di-hover kontras ---------- */
.dd-menu { padding: 8px; }
.dd-menu a { position: relative; transition: background .18s, color .18s, padding-left .2s var(--ease, ease); }
.dd-menu a:hover, .dd-menu a:focus-visible {
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff;
  box-shadow: 0 8px 20px -10px rgba(241,94,38,.75); padding-left: 16px;
}
.dd-menu a:hover .ic, .dd-menu a:hover .jp, .dd-menu a:focus-visible .jp { color: #fff; }
@media (max-width: 920px) {
  .nav .dd-menu a:hover, .nav .dd-menu a:focus-visible { background: rgba(11,10,16,.24); color: #fff; box-shadow: inset 3px 0 #fff; }
}

/* ---------- Jarak header ↔ konten di bawahnya ---------- */
.account { padding-top: clamp(28px, 4vw, 52px); }
.fc-page { padding-top: clamp(24px, 3.5vw, 44px); }
.site-header + #main + .wrap, .site-header + #main + div.wrap { padding-top: clamp(24px, 3.5vw, 44px); }
.site-header + #main + section.section { padding-top: clamp(48px, 6vw, 88px); }
.page-hero + .wrap > .alert:first-child, .page-hero + div > .alert:first-child { margin-top: 24px; }
.course-aside { margin-top: -150px; }
@media (max-width: 980px) { .course-aside { margin-top: 24px; } }

/* ---------- Modal video (trailer) ---------- */
.vmodal { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 16px; background: rgba(8,6,5,.82); backdrop-filter: blur(6px); }
.vmodal.open { display: grid; animation: page-in .3s ease both; }
.vmodal-box { width: min(1000px, 100%); position: relative; }
.vmodal-box .video { margin: 0; box-shadow: 0 30px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.vmodal-close { position: absolute; top: -46px; right: 0; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: #17120F; font-size: 18px; cursor: pointer; }
.trailer-thumb { position: relative; display: block; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #000; color: #fff; }
.trailer-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s var(--ease, ease); }
.trailer-thumb:hover img { opacity: 1; transform: scale(1.04); }
.play-btn { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #FF7A3D, var(--brand-2)); box-shadow: 0 0 0 10px rgba(241,94,38,.25), 0 14px 40px rgba(241,94,38,.6); animation: pulse-ring 2.2s ease-out infinite; }
.play-btn::before { content: ""; border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.trailer-label { position: absolute; left: 14px; bottom: 12px; background: rgba(11,10,16,.75); padding: 4px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 600; }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(241,94,38,.45), 0 14px 40px rgba(241,94,38,.6); } 100% { box-shadow: 0 0 0 22px rgba(241,94,38,0), 0 14px 40px rgba(241,94,38,.6); } }
@media (prefers-reduced-motion: reduce) { .play-btn { animation: none; } }
.course-card .cover .tl .badge.trailer { background: rgba(241,94,38,.92); }

/* =========================================================
   HALAMAN MASUK / DAFTAR (modern, dua kolom)
   ========================================================= */
.auth { padding: clamp(24px, 4vw, 56px) 16px clamp(40px, 6vw, 80px); }
.auth-shell { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); border-radius: 28px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 100px -50px rgba(140,45,15,.55), var(--shadow); }
.auth-panel { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px); color: #fff; display: flex; flex-direction: column; gap: 28px; justify-content: space-between;
  background: radial-gradient(500px 360px at 0% 0%, rgba(255,255,255,.22), transparent 60%), linear-gradient(150deg, #FF7A3D 0%, var(--brand) 40%, var(--brand-2) 100%); }
.auth-panel::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(11,10,16,.35), transparent 65%); }
.auth-glyph { position: absolute; right: -10px; top: 40px; font-size: 260px; line-height: 1; font-weight: 700; color: rgba(255,255,255,.1); pointer-events: none; }
.auth-panel .brand { position: relative; z-index: 1; color: #fff; }
.auth-panel .brand span { color: #0B0A10; }
.auth-panel .brand img { box-shadow: 0 0 0 3px rgba(255,255,255,.8); }
.auth-copy { position: relative; z-index: 1; }
.auth-copy h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); }
.auth-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; color: #FFF1E8; font-size: 15px; }
.auth-points li span { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.auth-quote { position: relative; z-index: 1; margin: 0; padding: 16px 18px; border-radius: 16px; background: rgba(11,10,16,.22); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18); }
.auth-quote blockquote { margin: 0 0 10px; font-size: 14.5px; font-style: italic; color: #fff; }
.auth-quote figcaption { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #FFE6DA; }
.auth-main { padding: clamp(24px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.auth-card h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 6px; }
.auth-card > .muted { margin-bottom: 18px; }
.auth-form .field { margin-bottom: 16px; }
.auth-form label { margin: 0 0 7px; }
.input-ic { position: relative; display: flex; align-items: center; }
.input-ic > .ic { position: absolute; left: 14px; color: var(--muted); pointer-events: none; transition: color .2s; }
.input-ic input { padding-left: 44px !important; min-height: 50px; border-radius: 14px; background: var(--surface-2); border-color: transparent; }
.input-ic input:hover { border-color: var(--line-2); }
.input-ic input:focus { background: var(--surface); }
.input-ic:focus-within > .ic { color: var(--brand); }
.pw-toggle { position: absolute; right: 8px; border: 0; background: var(--surface-3); color: var(--text-2); font: 600 12px var(--font); padding: 7px 10px; border-radius: 9px; cursor: pointer; }
.pw-toggle:hover { color: var(--brand-ink); }
.input-ic input[data-pw-meter], .input-ic input#password { padding-right: 72px !important; }
.pw-meter { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.pw-meter i { flex: 0 0 120px; height: 6px; border-radius: 99px; background: var(--surface-3); position: relative; overflow: hidden; }
.pw-meter i::before { content: ""; position: absolute; inset: 0; width: var(--w, 0%); background: var(--c, var(--err)); border-radius: inherit; transition: width .3s, background .3s; }
.auth-alt { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; font-size: 14.5px; }
.auth-legal { text-align: center; margin: 18px 0 0; }
.auth .btn.lg { min-height: 52px; border-radius: 14px; }
@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; border-radius: 22px; }
  .auth-panel { gap: 14px; padding: 22px 22px 24px; }
  .auth-points, .auth-quote { display: none; }
  .auth-glyph { font-size: 150px; top: -10px; }
  .auth-copy h2 { font-size: 21px; margin: 0; }
}
@media (max-width: 420px) { .auth { padding-left: 10px; padding-right: 10px; } .auth-main { padding: 22px 18px; } }

/* Paket lifetime */
.plan.lifetime { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, #0B0A10, #6b2a14, var(--brand)) border-box; border: 2px solid transparent; }
.plan .ribbon.lifetime { background: linear-gradient(135deg, #0B0A10, #4a1d10); }

/* ===================== PAGES v7: Beranda, Tentang, Kontak, FAQ ===================== */
.chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.chip:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
a.step { color: inherit; text-decoration: none; border-radius: 12px; transition: background .2s; }
a.step:hover { background: rgba(255,255,255,.06); }

/* Beranda */
.hero-video { aspect-ratio: 16 / 10; height: auto; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(241,94,38,.55), 0 0 0 1px rgba(255,255,255,.1); }
.hero-video .trailer-label { position: absolute; left: 16px; bottom: 14px; font-size: 14px; font-weight: 600; background: rgba(0,0,0,.55); padding: 6px 12px; border-radius: 999px; }
.home-features { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.journey-stage { display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; scroll-margin-top: 90px; }
.journey-stage::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.journey-stage h3 { margin: 4px 0 0; font-size: 19px; }
.journey-stage p { margin: 0; }
.js-head { display: flex; align-items: center; justify-content: space-between; }
.js-num { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 0 22px color-mix(in srgb, var(--brand) 45%, transparent); }
.js-jp { font-size: 30px; font-weight: 700; color: var(--brand); opacity: .25; }
.js-courses { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; align-content: flex-start; margin: 4px 0 6px; }
#journey { scroll-margin-top: 70px; }

/* Tentang */
.about-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.about-kanji { display: flex; justify-content: center; gap: 6px; font-size: clamp(80px, 12vw, 150px); font-weight: 800; line-height: 1; }
.about-kanji span { background: linear-gradient(180deg, #F15E26, #C04327 90%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(241,94,38,.35)); }
.about-kanji span:last-child { transform: translateY(30%); opacity: .7; }
.founder { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.founder-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, var(--brand), var(--brand-2)); display: grid; place-items: center; box-shadow: 0 30px 60px -30px rgba(241,94,38,.6); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .avatar.xl { width: 120px; height: 120px; font-size: 42px; background: rgba(255,255,255,.18); color: #fff; }
.founder-badge { position: absolute; left: 14px; bottom: 14px; background: #fff !important; color: var(--brand-ink) !important; }
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; margin-top: 44px; }
.about-stats .card { text-align: center; padding: 22px 18px; }
.about-stats b { display: block; font-size: 30px; font-weight: 800; color: var(--brand); line-height: 1.15; }
.about-stats span { color: var(--muted); font-size: 14px; }
.mission .fi { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); margin-bottom: 14px; }
.mission h3 { font-size: 20px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand), color-mix(in srgb, var(--brand) 15%, transparent)); }
.timeline li { position: relative; }
.tl-dot { position: absolute; left: -26px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--bg), 0 0 16px rgba(241,94,38,.6); }
.timeline h3 { margin: 10px 0 2px; font-size: 17px; }
.timeline p { margin: 0; }
.cta-band { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: clamp(24px, 4vw, 40px); border-radius: 24px; color: #fff;
  background: radial-gradient(420px 220px at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 30px 70px -30px rgba(241,94,38,.6); }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.cta-band .btn { background: #fff; color: var(--brand-ink) !important; }
.cta-band .btn.ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.55); }

/* Kontak */
.contact-wrap { padding-bottom: 56px; }
.contact-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin-top: -36px; position: relative; z-index: 2; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: inherit; }
.contact-card .fi { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); transition: transform .3s; }
.contact-card:hover .fi { transform: scale(1.08) rotate(-6deg); }
.contact-card.wa .fi { background: #25D366; color: #fff; }
.contact-card > div { min-width: 0; }
.contact-card b { display: block; font-size: 16px; }
.contact-card span { display: block; color: var(--text-2); font-size: 14px; overflow-wrap: anywhere; }
.contact-card em { display: block; font-style: normal; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-top: 32px; scroll-margin-top: 90px; align-items: start; }
.contact-form { padding: clamp(20px, 3vw, 32px); }
.contact-side { display: grid; gap: 16px; }
.contact-side h3 { display: flex; gap: 8px; align-items: center; font-size: 16px; margin-bottom: 4px; }
.contact-brand { display: grid; justify-items: center; text-align: center; gap: 6px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: 0; }
.contact-brand span { color: rgba(255,255,255,.85); font-size: 13.5px; }
.contact-brand img { border-radius: 14px; background: #fff; padding: 4px; }

/* FAQ */
.faq-search { margin: 26px auto 0; max-width: 560px; position: relative; display: flex; align-items: center; }
.faq-search .ic { position: absolute; left: 18px; color: #BFB0A6; }
.faq-search input { width: 100%; min-height: 54px; padding: 0 20px 0 48px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 15px; }
.faq-search input::placeholder { color: #A8968B; }
.faq-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(241,94,38,.25); background: rgba(255,255,255,.12); }
.faq-wrap { padding: 36px 0 56px; }
.faq-cats { justify-content: center; margin-bottom: 28px; }
.faq-group { margin-bottom: 30px; }
.faq-group h2 { font-size: 20px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.faq-group h2::before { content: ""; width: 6px; height: 22px; border-radius: 4px; background: var(--brand); }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; transition: border-color .25s, box-shadow .25s; overflow: hidden; }
.faq-item:hover { border-color: var(--line-2); }
.faq-item[open] { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 14px 40px -24px rgba(241,94,38,.55); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 20px; font-weight: 600; font-size: 15.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: 16px; }
.faq-plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); position: relative; transition: transform .35s var(--ease, ease), background .25s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 2px; border-radius: 2px; background: var(--brand-ink); transition: transform .35s var(--ease, ease), background .25s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--brand); transform: rotate(180deg); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-item[open] .faq-plus::after { transform: rotate(0deg); }
.faq-a { padding: 0 20px 18px; color: var(--text-2); animation: faqIn .35s var(--ease, ease); }
.faq-a > :first-child { margin-top: 0; } .faq-a > :last-child { margin-bottom: 0; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .about-hero-grid, .founder, .contact-grid { grid-template-columns: 1fr; }
  .about-kanji { display: none; }
  .founder { gap: 24px; }
  .founder-photo { max-width: 240px; }
  .contact-cards { margin-top: 20px; }
}
@media (max-width: 480px) {
  .cta-band .row, .cta-band .row .btn { width: 100%; }
  .faq-item summary { padding: 16px; font-size: 15px; }
  .faq-a { padding: 0 16px 16px; }
}
@media (prefers-reduced-motion: reduce) { .faq-a { animation: none; } }

/* ===================== v8: tim sensei, crop foto ===================== */
.instructor + .instructor { margin-top: 14px; }
.instructor .avatar.lg { flex: none; }
.sensei-stack { display: inline-flex; align-items: center; gap: 8px; }
.sensei-stack .stack { display: inline-flex; }
.sensei-stack .stack .avatar { box-shadow: 0 0 0 2px #0B0A10; }
.sensei-stack .stack .avatar + .avatar { margin-left: -8px; }
.avatar.more { background: var(--surface-3); color: var(--text-2); font-size: 11px; margin-left: -6px; box-shadow: 0 0 0 2px var(--surface); }
.avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }

.crop-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(8,6,5,.72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fadeIn .2s ease; }
.crop-modal[hidden] { display: none !important; }
.crop-box { width: min(100%, 380px); padding: 22px; }
.crop-stage { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: repeating-conic-gradient(var(--surface-3) 0 25%, var(--surface-2) 0 50%) 0 0 / 20px 20px; cursor: grab; touch-action: none; user-select: none; outline: none; }
.crop-stage:focus-visible { box-shadow: 0 0 0 3px var(--brand); }
.crop-stage.dragging { cursor: grabbing; }
.crop-stage img { position: absolute; left: 50%; top: 50%; max-width: none; pointer-events: none; transform-origin: center; }
.crop-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(8,6,5,.55); border: 2px solid rgba(255,255,255,.9); pointer-events: none; }
.crop-tools { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted); font-weight: 700; }
.crop-tools input[type=range] { flex: 1; accent-color: var(--brand); padding: 0; min-height: 0; border: 0; background: none; box-shadow: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===================== v10: langganan, tentang, flashcard 6 arah, sertifikat ===================== */
/* Tombol putih di atas pita oranye (CTA) — mengalahkan gradien tombol default agar kontras */
.cta-band .btn:not(.ghost), .cta-band .btn:not(.ghost):hover { background: #fff !important; color: #B23A1F !important; border-color: #fff; box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }
.cta-band .btn:not(.ghost):hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); }
.cta-band .btn.ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* Harga selalu satu baris & ukurannya menyesuaikan lebar kartu */
.plans { container-type: inline-size; }
.plan { container-type: inline-size; }
.plan .price { white-space: nowrap; font-size: clamp(24px, 13cqi, 40px); }
.plan .per { text-wrap: balance; }
@supports not (font-size: 1cqi) { .plan .price { font-size: clamp(24px, 2.6vw, 38px); } }
.nowrap { white-space: nowrap; }

/* Tabel pembanding paket */
.compare .ck { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 800; font-size: 14px; }
.compare .ck.yes { background: color-mix(in srgb, var(--ok, #1f9d55) 16%, transparent); color: var(--ok, #1f9d55); }
.compare .ck.no { color: var(--muted); }
.compare td, .compare th { text-align: center; }
.compare td:first-child, .compare th:first-child { text-align: left; }

/* FAQ di halaman langganan = tampilan halaman FAQ */
.pricing-faq { margin-top: 48px; }
.pricing-faq .faq-group:last-of-type { margin-bottom: 18px; }

/* Fitur paket di dashboard */
.perk-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: 13.5px; }
.perk-list li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.perk-list li.on { color: var(--text); }
.perk-list li.on .ic { color: var(--ok, #1f9d55); }

/* Indikator menunggu pembayaran */
.spin-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); margin-right: 6px; animation: spinPulse 1.2s ease-in-out infinite; vertical-align: middle; }
@keyframes spinPulse { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }

/* ---------- Flashcard ---------- */
.fc-dirs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; }
.fc-dirs button { border: 1.5px solid var(--line-2); background: var(--surface); color: var(--text-2); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .15s; }
.fc-dirs button small { color: var(--muted); font-weight: 500; margin-left: 2px; }
.fc-dirs button:hover { border-color: var(--brand); }
.fc-dirs button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px -8px rgba(241,94,38,.7); }
.fc-dirs button[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
.fc-dir-hint { margin: 0 0 12px; }
.fc-ask { text-align: center; margin-top: 4px; letter-spacing: .02em; }
.fc-prompt.kind-arti { font-size: clamp(22px, 4vw, 32px); font-weight: 700; }
.fc-quiz.in { animation: fcIn .16s ease-out; }
@keyframes fcIn { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fc-opt { transition: background .12s, border-color .12s, transform .12s; }
.fc-opt.picked { border-color: var(--brand) !important; background: color-mix(in srgb, var(--brand) 10%, var(--surface)) !important; }
.fc-examples { display: grid; gap: 6px; margin-top: 10px; text-align: left; }
.fc-ex { display: grid; gap: 1px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.fc-ex .jp { font-size: 15px; }
.fc-back .fc-examples { margin-top: 12px; max-width: 100%; }
.fc-back .fc-ex { background: rgba(255,255,255,.08); }
.fc-ex-list { margin-top: 6px; }
.fc-ex-list summary { cursor: pointer; color: var(--brand-ink); }
.fc-ex-list ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.fc-ex-list li span { display: block; }
@media (prefers-reduced-motion: reduce) { .fc-quiz.in { animation: none; } }

/* ---------- Sertifikat (builder & cetak) ---------- */
.cert-scale { overflow: hidden; margin: 18px auto 40px; }
.cert2 { --c-primary: #F15E26; --c-dark: #0B0A10; --c-paper: #fff; position: relative; width: 1123px; height: 794px; margin: 0 auto; background: var(--c-paper); color: #1d1714;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.35); overflow: hidden; font-family: Poppins, system-ui, sans-serif; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.cert2.portrait { width: 794px; height: 1123px; }
.cert2-inner { position: absolute; inset: 0; padding: 64px 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; }
.cert2.portrait .cert2-inner { padding: 90px 64px; }
.cert2-watermark { position: absolute; inset: 0; display: grid; place-items: center; font-size: 520px; font-weight: 700; color: var(--c-primary); opacity: .05; pointer-events: none; line-height: 1; }
.cert2-logo { width: 78px; height: 78px; object-fit: contain; }
.cert2-org { margin: 10px 0 0; letter-spacing: .34em; font-weight: 600; font-size: 14px; color: var(--c-dark); }
.cert2-title { margin: 6px 0 0; font-size: 50px; letter-spacing: .16em; color: var(--c-dark); font-weight: 800; background: none; -webkit-text-fill-color: currentColor; }
.cert2-title-jp { margin: 0 0 18px; font-size: 18px; color: var(--c-primary); letter-spacing: .3em; }
.cert2-presented, .cert2-body { margin: 6px 0 0; font-size: 16px; color: #5c4d44; }
.cert2-name { font-size: 42px; font-weight: 800; color: var(--c-primary); padding: 0 34px 10px; border-bottom: 2px solid color-mix(in srgb, var(--c-primary) 35%, transparent); margin: 6px 0 8px; line-height: 1.2; }
.cert2-course { margin: 4px 0 0; font-size: 26px; color: var(--c-dark); }
.cert2-course-jp { margin: 0; color: #7b6a60; font-size: 16px; }
.cert2-details { margin: 8px 0 0; font-size: 13px; color: #7b6a60; }
.cert2-signers { display: flex; gap: 90px; justify-content: center; margin-top: 22px; }
.cert2-signer { display: grid; justify-items: center; min-width: 250px; font-size: 13px; }
.cert2-signer b { font-size: 15px; border-top: 1.5px solid #cdbdb1; padding-top: 6px; min-width: 250px; color: var(--c-dark); position: relative; z-index: 1; }
.cert2-signer span { color: #7b6a60; }
/* Tanda tangan dibuat besar & sedikit menimpa garis, seperti tanda tangan sungguhan */
.cert2-sign { height: 104px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: -14px; position: relative; z-index: 2; }
.cert2-sign img { max-height: 112px; max-width: 280px; object-fit: contain; }
.cert2.portrait .cert2-sign { height: 120px; } .cert2.portrait .cert2-sign img { max-height: 128px; max-width: 300px; }
.cert2-foot { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; flex-direction: column; gap: 2px; align-items: center; font-size: 12px; color: #7b6a60; }
.cert2-verify { font-size: 11px; opacity: .85; }
.cert2.font-serif .cert2-title, .cert2.font-serif .cert2-name, .cert2.font-serif .cert2-course { font-family: Georgia, 'Times New Roman', 'Noto Serif JP', serif; letter-spacing: .06em; }

/* Gaya: klasik */
.cert2.style-classic { border: 14px solid var(--c-dark); }
.cert2.style-classic::before { content: ""; position: absolute; inset: 14px; border: 3px solid var(--c-primary); pointer-events: none; }
.cert2.style-classic::after { content: ""; position: absolute; inset: 24px; border: 1px solid color-mix(in srgb, var(--c-primary) 40%, transparent); pointer-events: none; }
/* Gaya: modern (pita samping) */
.cert2.style-modern::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 120px; background: linear-gradient(180deg, var(--c-primary), color-mix(in srgb, var(--c-primary) 60%, var(--c-dark))); }
.cert2.style-modern::after { content: ""; position: absolute; left: 120px; top: 0; bottom: 0; width: 10px; background: var(--c-dark); }
.cert2.style-modern .cert2-inner { padding-left: 190px; }
.cert2.style-modern.portrait::before { width: 100%; height: 110px; bottom: auto; }
.cert2.style-modern.portrait::after { left: 0; top: 110px; width: 100%; height: 8px; }
.cert2.style-modern.portrait .cert2-inner { padding: 150px 64px 90px; }
/* Gaya: minimal */
.cert2.style-minimal { box-shadow: 0 30px 80px -30px rgba(0,0,0,.25), inset 0 0 0 1px #e8dcd3; }
.cert2.style-minimal::before { content: ""; position: absolute; left: 50%; top: 40px; width: 70px; height: 4px; margin-left: -35px; border-radius: 4px; background: var(--c-primary); }
.cert2.style-minimal .cert2-name { border-bottom: 0; }
/* Gaya: Jepang (seigaiha + cap) */
.cert2.style-japanese { border: 12px solid var(--c-dark); background:
  radial-gradient(circle at 100% 150%, var(--c-paper) 24%, color-mix(in srgb, var(--c-primary) 14%, var(--c-paper)) 25%, color-mix(in srgb, var(--c-primary) 14%, var(--c-paper)) 28%, var(--c-paper) 29%, var(--c-paper) 36%, color-mix(in srgb, var(--c-primary) 14%, var(--c-paper)) 36%, color-mix(in srgb, var(--c-primary) 14%, var(--c-paper)) 40%, transparent 40%) 0 0 / 80px 40px,
  var(--c-paper); }
.cert2.style-japanese .cert2-inner { margin: 40px 70px; inset: 0; position: absolute; background: var(--c-paper); border: 2px solid var(--c-primary); }
.cert2-hanko { position: absolute; right: 120px; bottom: 120px; width: 78px; height: 78px; border: 4px solid #c8102e; color: #c8102e; border-radius: 10px; display: grid; place-items: center; font-size: 22px; font-weight: 700; transform: rotate(-8deg); opacity: .85; writing-mode: vertical-rl; letter-spacing: .1em; z-index: 2; }

/* Thumbnail gaya di builder & daftar template */
.cert-tpl-thumb { display: grid; place-items: center; aspect-ratio: 1.414; border-radius: 6px; background: #fff; color: var(--c-dark, #0B0A10); position: relative; overflow: hidden; font-size: 18px; font-weight: 700; box-shadow: inset 0 0 0 1px #e5d8ce; }
.cert-tpl-thumb.style-classic { box-shadow: inset 0 0 0 5px var(--c-dark), inset 0 0 0 7px var(--c-primary); }
.cert-tpl-thumb.style-modern::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 22%; background: var(--c-primary); }
.cert-tpl-thumb.style-minimal::before { content: ""; position: absolute; top: 14%; left: 42%; right: 42%; height: 3px; background: var(--c-primary); border-radius: 3px; }
.cert-tpl-thumb.style-japanese { box-shadow: inset 0 0 0 5px var(--c-dark); background: repeating-radial-gradient(circle at 50% 120%, #fff 0 6px, color-mix(in srgb, var(--c-primary) 20%, #fff) 6px 8px); }
.cert-tpl-thumb span { position: relative; z-index: 1; }

/* Verifikasi */
.verify-ok { display: flex; gap: 18px; align-items: flex-start; border-color: color-mix(in srgb, var(--ok, #1f9d55) 40%, var(--line)); }
.verify-icon { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--ok, #1f9d55); color: #fff; font-size: 28px; font-weight: 800; }
.verify-dl { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; margin: 14px 0 0; }
.verify-dl dt { color: var(--muted); }
.verify-dl dd { margin: 0; }

@media print {
  .cert-page .cert-scale { margin: 0; height: auto !important; }
  .cert-page .cert2 { box-shadow: none; transform: none !important; margin: 0; }
  .cert-page ~ footer, .site-footer, header.nav, .nav { display: none !important; }
}

/* v11: kartu membership dashboard */
.member-card .perk-head { margin: 14px 0 0; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #FFB592; position: relative; }
.member-card .perk-list { position: relative; margin-top: 6px; }
.member-card .perk-list li { color: rgba(255,255,255,.55); }
.member-card .perk-list li.on { color: #fff; }
.member-card .perk-list li.on .ic { color: #6EE7A0; }
.member-card .perk-list small { color: rgba(255,255,255,.45); font-size: 11.5px; }
.member-card .perk-list a { color: #FFB592; }
.member-card .row { position: relative; }
.member-card .btn.ghost.light { color: #fff !important; border-color: rgba(255,255,255,.4); }
.member-card .btn.ghost.light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ===== v12: perbaikan kecil tampilan ===== */
/* Logo di footer: tanpa garis bawah animasi saat hover */
.footer-grid a.brand, .footer-grid a.brand:hover { background: none !important; text-decoration: none; }

/* Sidebar akun: jarak nama & lencana status */
.account-nav .who b { margin-bottom: 6px; }
.account-nav .who .badge { display: inline-flex; align-items: center; gap: 4px; }

/* Halaman langganan: jarak antara hero dan kartu harga */
.pricing-plans { padding-top: clamp(40px, 5vw, 64px); position: relative; z-index: 1; }

/* Semua dropdown: setiap item tetap 1 baris (lebar menu mengikuti item terpanjang) */
.dd-menu { width: max-content; max-width: min(92vw, 460px); }
.dd-menu a, .dd-menu button, .dd-menu .grp { white-space: nowrap; }
.dd-menu a > span:not(.jp):not(.ic), .dd-menu a { min-width: 0; }
@media (max-width: 920px) { .nav .dd-menu { width: auto; max-width: none; } .nav .dd-menu a { overflow: hidden; } .nav .dd-menu a .jp { flex: none; } }

/* Tombol Keluar: latar merah saat hover */
.logout-btn { border-radius: 9px; transition: background .18s, color .18s; }
.logout-btn:hover, .logout-btn:focus-visible { background: #DC2626 !important; color: #fff !important; }
.logout-btn:hover .ic, .logout-btn:focus-visible .ic { color: #fff !important; }
.fc-table .num-col { width: 48px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.fc-list-total { margin: 0 0 8px; }

/* ===================== v13: quotes kontekstual & Kelas Private ===================== */
.quote-card { position: relative; margin: 14px 0; padding: 18px 20px 14px 56px; border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 9%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line)); }
.quote-card .quote-mark { position: absolute; left: 16px; top: 4px; font-size: 54px; line-height: 1; color: var(--brand); font-family: Georgia, serif; opacity: .8; }
.quote-card blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text); font-weight: 500; }
.quote-card figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.quote-card .quote-tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.quote-card.matched { box-shadow: 0 14px 34px -22px rgba(241,94,38,.6); }
.quote-daily { margin-bottom: 18px; }
.quote-daily .quote-card { margin-top: 6px; }
.quote-daily-lbl { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fc-quote { text-align: left; animation: fcIn .25s ease-out; }

/* Kelas Private */
.pv-compare { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.pv-compare .card { display: flex; gap: 14px; align-items: flex-start; }
.pv-compare .fi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
.pv-compare p { margin: 4px 0; }
.pv-compare .pv-hl { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 16px 36px -24px rgba(241,94,38,.6); }
.pv-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pv-card .cover { position: relative; }
.pv-card .tag { position: absolute; left: 12px; top: 12px; background: rgba(11,10,16,.75); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pv-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); margin: 6px 0 10px; }
.pv-meta span { display: inline-flex; gap: 5px; align-items: center; }
.pv-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; }
.pv-senseis { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.pv-senseis .avatar + .avatar { margin-left: -12px; }
.pv-senseis small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-price { display: grid; justify-items: end; line-height: 1.15; white-space: nowrap; }
.pv-price s { font-size: 12px; color: var(--muted); }
.pv-price b { font-size: 18px; color: var(--brand-ink); }
.pv-steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.pv-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; padding: 24px 0 60px; }
.pv-aside { position: sticky; top: 90px; margin-top: 24px; }
.pv-price-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pv-price-big b { font-size: 32px; font-weight: 800; white-space: nowrap; }
.pv-price-big s { color: var(--muted); }
.pv-seats { display: flex; gap: 6px; align-items: center; color: var(--text-2); }
.pv-methods { display: grid; gap: 6px; max-height: 320px; overflow: auto; padding-right: 4px; }
.pv-mgroup { margin-top: 6px; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.pv-method { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; margin: 0; font-size: 14px; }
.pv-method:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.pv-method img { height: 20px; width: auto; max-width: 60px; }
.pv-method span { display: grid; }
.pv-method small { color: var(--muted); font-size: 11.5px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li .ic { color: var(--ok, #1f9d55); flex: none; margin-top: 2px; }
.pv-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--brand-soft); }
.pv-sessions summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--brand-ink); }
.pv-timeline { list-style: none; margin: 10px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--line); display: grid; gap: 12px; }
.pv-timeline li { position: relative; }
.pv-timeline li::before { content: ""; position: absolute; left: -23px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--line-2); }
.pv-timeline li.st-done::before { background: var(--ok, #1f9d55); }
.pv-timeline li.st-scheduled::before { background: var(--brand); }
.pv-timeline li.st-cancelled { opacity: .55; }
.pv-note { margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: 14px; }
.pv-note.hw { background: color-mix(in srgb, var(--brand) 8%, var(--surface-2)); }
@media (max-width: 900px) { .pv-layout { grid-template-columns: 1fr; } .pv-aside { position: static; margin-top: 0; } }

/* v13: navbar tetap 1 baris walau menu bertambah (Kelas Private) */
.nav > a, .nav > .dd > button { white-space: nowrap; }
@media (min-width: 921px) and (max-width: 1200px) {
  .nav { gap: 0; }
  .nav > a, .nav > .dd > button { padding-left: 8px !important; padding-right: 8px !important; font-size: 14px; }
  .nav .theme-toggle { margin: 0 4px 0 6px; }
  .nav .btn { padding-left: 12px; padding-right: 12px; }
  .site-header .brand { font-size: 14px; letter-spacing: .05em; }
}
@media (min-width: 921px) and (max-width: 1040px) { .nav-user > button > :not(.avatar):not(.ic) { display: none; } }

/* v13: sertifikat lanskap — ruang untuk tanda tangan besar tanpa menabrak catatan kaki */
.cert2:not(.portrait) .cert2-inner { padding: 40px 90px 84px; gap: 2px; }
.cert2:not(.portrait) .cert2-logo { width: 64px; height: 64px; }
.cert2:not(.portrait) .cert2-title { font-size: 44px; margin-top: 4px; }
.cert2:not(.portrait) .cert2-title-jp { margin-bottom: 10px; }
.cert2:not(.portrait) .cert2-name { font-size: 40px; margin: 4px 0 6px; padding-bottom: 8px; }
.cert2:not(.portrait) .cert2-signers { margin-top: 14px; }
.cert2.style-modern:not(.portrait) .cert2-inner { padding-left: 190px; }
.cert2.style-japanese:not(.portrait) .cert2-inner { padding: 14px 70px 78px; }
.cert2.style-japanese:not(.portrait) .cert2-logo { width: 56px; height: 56px; }
.cert2.style-japanese:not(.portrait) .cert2-foot { bottom: 22px; }

/* ===================== v14: kalender slot, pilih sensei, ruang meeting ===================== */
.pv-chip { display: inline-grid; gap: 1px; justify-items: start; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer; font: inherit; text-align: left; transition: border-color .15s, background .15s; }
.pv-chip b { font-size: 14px; white-space: nowrap; }
.pv-chip small { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.pv-chip a { font-size: 11.5px; }
.pv-chip:hover { border-color: var(--brand); }
.pv-chip.on { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.pv-dates, .pv-times, .pv-choose { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.pv-dates { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.pv-pick { padding: 12px; border-radius: 14px; background: var(--surface-2); margin-bottom: 8px; }
.pv-pick label { margin-top: 8px; }
.pv-pick label:first-child { margin-top: 0; }
.pv-book summary { cursor: pointer; font-weight: 600; color: var(--brand-ink); display: inline-flex; gap: 6px; align-items: center; }
.pv-book-form { margin-top: 10px; }
.pv-rec { margin: 8px 0; }
.pv-rec video { width: 100%; max-width: 560px; border-radius: 12px; background: #000; display: block; }

.pv-senseis-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pv-sensei { padding: 0; overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.pv-sensei-video { aspect-ratio: 16 / 9; height: auto; }
.pv-sensei-video .trailer-label { position: absolute; left: 12px; bottom: 10px; font-size: 13px; font-weight: 600; background: rgba(0,0,0,.55); padding: 4px 10px; border-radius: 999px; }
.pv-sensei-video .play-btn { width: 58px; height: 58px; }
.pv-sensei-body { padding: 16px; }
.pv-style { color: var(--text-2); margin: 10px 0 8px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pv-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.pv-tags .chip { font-size: 12px; padding: 4px 9px; }

/* ---------- Ruang meeting ---------- */
.meet-body { margin: 0; background: #0B0A10; color: #fff; overflow: hidden; }
.meet { height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; position: relative; }
.meet-top { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.08); min-width: 0; }
.meet-back { color: #fff; text-decoration: none; font-size: 26px; line-height: 1; padding: 0 6px; }
.meet-title { display: grid; min-width: 0; flex: 1; }
.meet-title b, .meet-title span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meet-title span { font-size: 12.5px; color: #BFB0A6; }
.meet-timer { font-size: 13px; color: #E3D6CE; font-variant-numeric: tabular-nums; white-space: nowrap; }
.meet-timer.over { color: #FFB592; }
.meet-status { font-size: 12.5px; color: #BFB0A6; white-space: nowrap; }
.meet-status.ok { color: #6EE7A0; } .meet-status.err { color: #FCA5A5; }
.meet-rec-ind { font-size: 12px; font-weight: 700; color: #fff; background: #DC2626; padding: 3px 9px; border-radius: 999px; animation: spinPulse 1.4s infinite; }
.meet-stage { position: relative; min-height: 0; display: flex; }
.meet-grid { flex: 1; display: grid; gap: 10px; padding: 12px; grid-template-columns: 1fr; grid-auto-rows: 1fr; min-height: 0; }
.meet-grid[data-count="2"] { grid-template-columns: 1fr 1fr; }
.meet-grid[data-count="3"], .meet-grid[data-count="4"] { grid-template-columns: 1fr 1fr; }
.meet-grid[data-count="5"], .meet-grid[data-count="6"] { grid-template-columns: repeat(3, 1fr); }
.meet-tile { position: relative; background: #1b1411; border-radius: 16px; overflow: hidden; display: grid; place-items: center; min-height: 0; }
.meet-tile video { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.meet-tile.local video { transform: scaleX(-1); }
.meet-tile.cam-off video { visibility: hidden; }
.meet-initials { position: absolute; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); font-size: 34px; font-weight: 800; }
.meet-name { position: absolute; left: 10px; bottom: 10px; z-index: 2; font-size: 13px; font-weight: 600; background: rgba(0,0,0,.55); padding: 4px 10px; border-radius: 999px; }
.meet-tile.mic-off .meet-name::after { content: " 🔇"; }
.meet-badge { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 12px; background: #DC2626; padding: 3px 8px; border-radius: 999px; }
.meet-tile.connecting::before { content: "Menghubungkan…"; position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 12px; color: #BFB0A6; }
.meet-controls { display: flex; justify-content: center; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.04); border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.meet:not(.in-call) .meet-controls, .meet:not(.in-call) .meet-stage { display: none; }
.meet-btn { display: grid; justify-items: center; gap: 2px; min-width: 64px; padding: 8px 10px; border-radius: 14px; border: 0; background: rgba(255,255,255,.1); color: #fff; font: inherit; cursor: pointer; transition: background .15s; }
.meet-btn b { font-size: 20px; line-height: 1; }
.meet-btn span { font-size: 11.5px; color: #E3D6CE; }
.meet-btn:hover { background: rgba(255,255,255,.18); }
.meet-btn.off { background: #7f1d1d; }
.meet-btn.active { background: var(--brand); }
.meet-btn.rec.active { background: #DC2626; }
.meet-btn.leave { background: #DC2626; }
.meet-btn.leave:hover { background: #b91c1c; }
.meet-btn.dot { box-shadow: inset 0 0 0 2px var(--brand); }
.meet-chat { width: 320px; display: flex; flex-direction: column; background: #16110f; border-left: 1px solid rgba(255,255,255,.08); }
.meet-chat[hidden] { display: none; }
.meet-chat-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.meet-x { background: none; border: 0; color: #fff; cursor: pointer; font-size: 16px; }
#meet-chat-list { list-style: none; margin: 0; padding: 12px; flex: 1; overflow: auto; display: grid; align-content: start; gap: 8px; font-size: 14px; }
#meet-chat-list li { display: grid; gap: 2px; background: rgba(255,255,255,.06); padding: 8px 10px; border-radius: 10px; }
#meet-chat-list li.mine { background: color-mix(in srgb, var(--brand) 30%, transparent); }
#meet-chat-list b { font-size: 12px; color: #FFB592; }
#meet-chat-form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid rgba(255,255,255,.08); }
#meet-chat-form input { flex: 1; background: rgba(255,255,255,.08); border-color: transparent; color: #fff; }
.meet-prejoin, .meet-ended { grid-row: 2 / 4; display: grid; place-items: center; padding: 16px; overflow: auto; }
.meet-ended { position: absolute; inset: 0; background: #0B0A10; }
.meet-card { width: min(100%, 920px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 22px; }
.meet-ended .meet-card, .meet-prejoin .meet-card:only-child:not(:has(video)) { grid-template-columns: 1fr; text-align: center; max-width: 480px; }
.meet-card h1 { font-size: 26px; margin: 0 0 6px; color: #fff; background: none; -webkit-text-fill-color: currentColor; }
.meet-card .muted { color: #BFB0A6; }
.meet-preview-wrap { position: relative; aspect-ratio: 16 / 10; background: #1b1411; border-radius: 16px; overflow: hidden; }
.meet-preview-wrap video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.meet-pre-ctrl { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.meet-pre-ctrl .meet-btn { min-width: 48px; font-size: 20px; }
.meet-pre-info ul { padding-left: 18px; margin: 10px 0 18px; display: grid; gap: 4px; }
.meet-toast { position: absolute; left: 50%; bottom: 90px; transform: translateX(-50%); background: rgba(0,0,0,.8); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; z-index: 5; max-width: 90vw; text-align: center; }
@media (max-width: 760px) {
  .meet-card { grid-template-columns: 1fr; }
  .meet-grid[data-count="2"] { grid-template-columns: 1fr; }
  .meet-chat { position: absolute; inset: 0; width: auto; z-index: 4; }
  .meet-btn { min-width: 52px; padding: 7px 8px; }
  .meet-status { display: none; }
}

/* ---------- Placement test ---------- */
.pt-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-top: 22px; color: #E3D6CE; font-size: 14px; }
.pt-facts span { display: inline-flex; gap: 6px; align-items: center; }
.pt-wrap { padding: 32px 16px 64px; }
.pt-start { padding: 24px; }
.pt-start h2 { margin: 0 0 6px; font-size: 22px; }
.pt-history { display: grid; gap: 10px; }
.pt-hist { display: flex; gap: 14px; align-items: center; padding: 14px 16px; color: inherit; text-decoration: none; }
.pt-hist:hover { border-color: var(--brand); }
.pt-lv { flex: none; min-width: 52px; height: 52px; padding: 0 8px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font-size: 15px; }
.pt-steps { display: grid; gap: 18px; }
.pt-levels { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pt-take { padding: 28px 16px 64px; }
.pt-progress { display: flex; gap: 6px; }
.pt-progress span { flex: 1; text-align: center; font-size: 12px; font-weight: 700; padding: 7px 0; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.pt-progress span.done { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.pt-progress span.on { background: var(--brand); color: #fff; border-color: transparent; }
.pt-form { padding: 6px 22px 22px; }
.pt-passage { margin: 0 0 14px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border-left: 3px solid var(--brand); }
.pt-passage p { margin: 4px 0 0; font-size: 16px; line-height: 1.9; color: var(--text); }
.pt-sec { font-size: 11px; vertical-align: 2px; margin-right: 4px; }
.quiz-q .qtitle .jp { font-size: 16.5px; line-height: 1.8; }
.opts label.pt-idk { border-style: dashed; color: var(--muted); }
.pt-badge { width: 104px; height: 104px; margin: 4px auto 16px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--brand), #FFB592, var(--brand)); box-shadow: 0 0 40px rgba(241,94,38,.35); }
.pt-badge b { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: #0B0A10; color: #fff; font-size: 24px; }
.pt-scores { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); }
.pt-score { position: relative; overflow: hidden; padding: 12px 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.pt-score b { display: block; font-size: 18px; }
.pt-score span { font-size: 13px; color: var(--muted); }
.pt-score i { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--brand); }
.pt-score.ok { border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.pt-score.ok i { background: var(--ok); }
.pt-score.fail i { background: var(--err); }
.pt-score.none { opacity: .55; }
.pt-progs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.pt-prog { display: block; padding: 18px; color: inherit; text-decoration: none; }
.pt-prog:hover { border-color: var(--brand); }
.pt-prog h3 { margin: 10px 0 4px; font-size: 18px; }
.pt-dash { padding: 16px 18px; }
.pt-dash .pt-lv { min-width: 44px; height: 44px; font-size: 14px; }
.pt-cta { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; padding: 10px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent); background: color-mix(in srgb, var(--brand) 10%, transparent); color: inherit; text-decoration: none; font-size: 14.5px; }
.pt-cta:hover { border-color: var(--brand); }
.pt-cta svg { color: var(--brand); flex: none; }
.pt-opt-edit .check input { width: 18px; height: 18px; }
.meet-saved { position: absolute; right: 16px; bottom: 90px; z-index: 6; width: min(380px, calc(100vw - 32px)); padding: 16px 18px; border-radius: 14px; background: #1a1418; color: #fff; border: 1px solid rgba(241,94,38,.45); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.meet-saved code { color: #FFB592; word-break: break-all; }
.meet-saved ol { margin: 8px 0 10px; padding-left: 18px; color: #E3D6CE; }
.meet-saved a { color: #FFB592; }
.pv-yt { margin-top: 8px; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; max-width: 640px; }
.pv-yt iframe { width: 100%; height: 100%; border: 0; display: block; }
.pv-rec-form { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pv-rec-form input[type=url] { flex: 1; min-width: 220px; }

/* ---------- Tryout JLPT ---------- */
.to-wrap { padding: 32px 16px 64px; }
.to-level { display: flex; gap: 12px; align-items: center; margin: 26px 0 12px; font-size: 22px; }
.to-level .pt-lv { min-width: 46px; height: 46px; }
.to-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.to-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; color: inherit; text-decoration: none; }
.to-card:hover { border-color: var(--brand); }
.to-card h3 { margin: 6px 0 0; font-size: 18px; }
.to-card p { margin: 0; flex: 1; }
.to-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); }
.to-meta span { display: inline-flex; gap: 6px; align-items: center; }
.to-detail { display: grid; gap: 24px; grid-template-columns: 1fr 320px; align-items: start; }
@media (max-width: 860px) { .to-detail { grid-template-columns: 1fr; } }
.to-sections { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.to-sections li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.to-sections li b { display: block; font-family: var(--jp), var(--font); }
.to-rule { display: grid; gap: 8px; }
.to-rule > div { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.to-rule-pass { border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); }
.to-start { padding: 20px; position: sticky; top: 90px; }
.to-start h3 { margin: 0 0 6px; }
.to-tips { margin: 6px 0 14px; padding-left: 18px; display: grid; gap: 4px; }
.to-hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.to-hist li { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.to-hist a { text-decoration: none; color: inherit; display: inline-flex; gap: 8px; align-items: center; }
.to-take { padding: 28px 16px 64px; }
.to-intro { padding: 28px; margin-top: 18px; }
.to-intro h1 { margin: 6px 0 10px; font-size: 28px; }
.to-exam-body { background: var(--bg); }
.to-bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.to-bar-in { max-width: 860px; margin: 0 auto; padding: 10px 16px; display: flex; gap: 12px; align-items: center; }
.to-bar-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.to-bar-title b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.to-bar-title span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.to-answered { font-size: 13px; color: var(--muted); white-space: nowrap; }
.to-timer { font: 700 20px/1 ui-monospace, Menlo, Consolas, monospace; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); white-space: nowrap; }
.to-timer.warn { color: #b45309; border-color: #f59e0b; }
.to-timer.crit { color: #fff; background: var(--err); border-color: var(--err); animation: to-pulse 1s infinite; }
@keyframes to-pulse { 50% { opacity: .7; } }
.to-nav { max-width: 860px; margin: 0 auto; padding: 0 16px 10px; display: flex; gap: 5px; overflow-x: auto; scrollbar-width: thin; }
.to-nav a { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-size: 12.5px; font-weight: 600; text-decoration: none; color: var(--muted); border: 1px solid var(--line); background: var(--surface); }
.to-nav a.on { background: var(--brand); color: #fff; border-color: transparent; }
.to-form { padding: 18px 16px 80px; }
.to-mondai { font-size: 17px; margin: 26px 0 8px; padding: 8px 12px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); }
.to-passage { white-space: pre-line; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); font-size: 16.5px; line-height: 2; margin: 10px 0; }
.to-passage.sm { font-size: 15px; line-height: 1.8; padding: 12px 14px; }
.to-q { padding: 16px 0; border-bottom: 1px dashed var(--line); scroll-margin-top: 130px; }
.to-q .qtitle { display: flex; gap: 10px; font-weight: 600; }
.to-q .qtitle .jp { font-size: 16.5px; line-height: 1.8; white-space: pre-line; }
.to-q .qnum, .to-review .qnum { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-size: 13px; }
.to-q .opts { display: grid; gap: 8px; margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.to-audio { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.to-submit { margin-top: 26px; text-align: center; }
.to-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: rgba(0,0,0,.85); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; z-index: 30; max-width: 90vw; text-align: center; }
.to-score-ring { --p: 0; width: 150px; height: 150px; margin: 6px auto 18px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--brand) calc(var(--p) * 1%), rgba(255,255,255,.1) 0); }
.to-score-ring.pass { background: conic-gradient(#22c55e calc(var(--p) * 1%), rgba(255,255,255,.1) 0); }
.to-score-ring b { width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: #0B0A10; color: #fff; font-size: 38px; line-height: 1; }
.to-score-ring small { font-size: 15px; color: #BFB0A6; display: block; text-align: center; }
.to-groups { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.to-group { padding: 16px; display: grid; gap: 8px; }
.to-group.low { border-color: color-mix(in srgb, var(--err) 50%, transparent); }
.to-bar-track { position: relative; height: 10px; border-radius: 999px; background: var(--surface-2); }
.to-bar-track.sm { height: 8px; }
.to-bar-track i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--brand); }
.to-group.ok .to-bar-track i { background: var(--ok); }
.to-bar-track s { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--text); opacity: .6; }
.to-acc { width: 100%; border-collapse: collapse; }
.to-acc td { padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.to-review { padding: 6px 20px 16px; margin-bottom: 14px; }
.to-review .qtitle .jp { white-space: pre-line; }
.to-review.only-wrong .is-right { display: none; }
.to-script { margin: 6px 0 10px; }
.to-script div { white-space: pre-line; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); margin-top: 6px; font-size: 14.5px; line-height: 1.8; }
.to-import { min-height: 260px; font-size: 13.5px; font-family: ui-monospace, Menlo, Consolas, monospace; }

/* ---------- Target harian & streak ---------- */
.sk-ring { --p: 0; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; flex: none; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--surface-2) 0); }
.sk-ring b { width: 98px; height: 98px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: var(--surface); font-size: 26px; line-height: 1.1; }
.sk-ring small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; text-align: center; }
.sk-ring.sm { width: 76px; height: 76px; }
.sk-ring.sm b { width: 62px; height: 62px; font-size: 17px; }
.sk-ring.sm small { font-size: 10.5px; }
.sk-hero { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; padding: 22px; margin-top: 14px; }
.sk-stats { display: flex; gap: 22px; flex-wrap: wrap; }
.sk-stats > div { display: flex; flex-direction: column; }
.sk-big { font-size: 24px; }
.sk-stats span { font-size: 13px; color: var(--muted); }
.sk-msg { flex: 1; min-width: min(100%, 260px); }
.sk-msg b { display: block; font-size: 17px; }
.sk-dash { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; padding: 14px 18px; }
.sk-mini { flex: none; max-width: 100%; }
.sk-mini .sk-legend { display: none; }
.sk-cal-wrap { overflow-x: auto; max-width: 100%; }
.sk-cal { display: grid; grid-template-rows: repeat(7, 12px); grid-auto-flow: column; grid-auto-columns: 12px; gap: 3px; width: max-content; }
.sk-cal i, .sk-legend i { display: block; width: 12px; height: 12px; border-radius: 3px; background: var(--surface-2); border: 1px solid var(--line); }
.sk-cal i.l1, .sk-legend i.l1 { background: color-mix(in srgb, var(--brand) 25%, var(--surface)); border-color: transparent; }
.sk-cal i.l2, .sk-legend i.l2 { background: color-mix(in srgb, var(--brand) 55%, var(--surface)); border-color: transparent; }
.sk-cal i.l3, .sk-legend i.l3 { background: color-mix(in srgb, var(--brand) 80%, var(--surface)); border-color: transparent; }
.sk-cal i.l4, .sk-legend i.l4 { background: var(--brand); border-color: transparent; }
.sk-cal i.fz, .sk-legend i.fz { background: #7dd3fc; border-color: transparent; }
.sk-cal i.td { outline: 2px solid var(--text); outline-offset: 1px; }
.sk-cal i.fu { opacity: .25; }
.sk-legend { display: flex; gap: 5px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.sk-legend span { margin: 0 3px; }
.sk-goals { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.sk-goal { margin: 0; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--line-2, var(--line)); border-radius: 14px; background: var(--surface); cursor: pointer; font-weight: 500; }
.sk-goal input { position: absolute; opacity: 0; pointer-events: none; }
.sk-goal:hover { border-color: var(--brand); }
.sk-goal.on, .sk-goal:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.sk-goal b { font-size: 17px; }
.sk-xp { font-weight: 700; color: var(--brand-ink); }

/* ---------- Pusat latihan ---------- */
.lt-grid { display: grid; gap: 14px; margin-top: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.lt-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; color: inherit; text-decoration: none; }
.lt-card:hover { border-color: var(--brand); }
.lt-card h3 { margin: 4px 0 0; font-size: 17px; }
.lt-card p { margin: 0; flex: 1; }
.lt-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font-size: 22px; font-weight: 700; }
.lt-quick { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); }
.lt-quick a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; color: inherit; text-decoration: none; font-size: 14px; }
.lt-quick a:hover { border-color: var(--brand); }
.lt-quick .jp { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; }
@media (max-width: 640px) { .lt-quick { grid-template-columns: repeat(2, 1fr); } }
/* ---------- Kanji ---------- */
.kj-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); }
.kj-cell { aspect-ratio: 1; display: grid; place-items: center; font-size: 28px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; }
.kj-cell:hover { border-color: var(--brand); }
.kj-cell.p { border-color: color-mix(in srgb, var(--brand) 55%, transparent); background: var(--brand-soft); }
.kj-cell.m { border-color: var(--ok); background: var(--ok-bg); }
.kj-legend { display: flex; gap: 14px; margin-bottom: 10px; }
.kj-legend span { display: inline-flex; gap: 6px; align-items: center; }
.kj-dot { width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid var(--line); background: var(--surface); }
.kj-dot.p { border-color: var(--brand); background: var(--brand-soft); }
.kj-dot.m { border-color: var(--ok); background: var(--ok-bg); }
.kj-wrap { display: grid; gap: 18px; grid-template-columns: minmax(0, 360px) 1fr; margin-top: 12px; align-items: start; }
@media (max-width: 760px) { .kj-wrap { grid-template-columns: 1fr; } }
.kj-board { padding: 16px; display: grid; gap: 12px; justify-items: center; }
.kj-canvas { width: 100%; max-width: 320px; aspect-ratio: 1; position: relative; border-radius: 12px; background:
  linear-gradient(to right, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)),
  linear-gradient(to bottom, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)), var(--surface-2);
  border: 1.5px solid var(--line); touch-action: none; }
.kj-canvas svg { display: block; }
.kj-status { min-height: 40px; text-align: center; font-size: 14px; color: var(--muted); }
.kj-status.ok { color: var(--ok); font-weight: 600; }
.kj-status.warn { color: #b45309; }
.kj-status.err { color: var(--err); }
.kj-modes { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.kj-big { font-size: 88px; line-height: 1; }
.kj-words { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kj-words li { padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.kj-tips { margin-top: 14px; padding: 12px; border-radius: 12px; border: 1px dashed var(--line); }
.kj-tips ol { margin: 6px 0; padding-left: 18px; }
/* ---------- Berbicara ---------- */
.sp-app { padding: 20px; }
.sp-top { display: flex; gap: 10px; align-items: center; }
.sp-sentence { text-align: center; padding: 20px 6px 12px; }
.sp-jp { font-size: clamp(22px, 4.5vw, 30px); line-height: 1.6; font-weight: 600; }
.sp-reading { color: var(--muted); font-size: 16px; margin-top: 4px; }
.sp-meaning { margin-top: 8px; font-size: 15px; }
.sp-controls { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sp-live { min-height: 22px; text-align: center; margin-top: 10px; }
.sp-result { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; margin-top: 12px; padding: 14px; border-radius: 14px; background: var(--surface-2); }
.sp-score { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: var(--surface); border: 4px solid var(--line); flex: none; }
.sp-score b { font-size: 26px; line-height: 1; }
.sp-score span { font-size: 11px; color: var(--muted); }
.sp-result.good .sp-score { border-color: var(--ok); }
.sp-result.mid .sp-score { border-color: #f59e0b; }
.sp-result.low .sp-score { border-color: var(--err); }
.sp-heard { font-size: 17px; }
.sp-diff { font-size: 20px; letter-spacing: .04em; }
.sp-diff .ok { color: var(--ok); }
.sp-diff .miss { color: var(--err); text-decoration: underline wavy; text-underline-offset: 4px; }
.sp-nav { display: flex; gap: 8px; justify-content: space-between; margin-top: 14px; }
.sp-list { columns: 2 320px; font-size: 15px; }
.sp-list li { margin: 4px 0; break-inside: avoid; }
/* ---------- Tutor AI ---------- */
.tt { display: grid; gap: 14px; grid-template-columns: 240px 1fr; margin-top: 14px; }
@media (max-width: 860px) { .tt { grid-template-columns: 1fr; } .tt-side { order: 2; } }
.tt-side { padding: 12px; align-self: start; }
.tt-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; max-height: 60vh; overflow: auto; }
.tt-list a { display: flex; gap: 8px; padding: 8px; border-radius: 10px; text-decoration: none; color: inherit; font-size: 14px; }
.tt-list a:hover, .tt-list a.on { background: var(--brand-soft); }
.tt-ttl { min-width: 0; display: flex; flex-direction: column; }
.tt-ttl, .tt-ttl small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-ttl small { color: var(--muted); font-size: 12px; }
.tt-main { padding: 16px; display: flex; flex-direction: column; min-height: 62vh; }
.tt-modes { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.tt-mode { margin: 0; display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 500; }
.tt-mode input { position: absolute; opacity: 0; pointer-events: none; }
.tt-mode.on { border-color: var(--brand); background: var(--brand-soft); }
.tt-opt { margin-top: 10px; max-width: 520px; }
.tt-ideas { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tt-ideas .chip { cursor: pointer; border: 1px solid var(--line); background: var(--surface); font: inherit; }
.tt-msgs { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 12px 2px; max-height: 64vh; }
.tt-msg { display: flex; }
.tt-msg.user { justify-content: flex-end; }
.tt-bubble { max-width: min(680px, 88%); padding: 10px 14px; border-radius: 16px; line-height: 1.75; font-size: 15px; overflow-wrap: anywhere; }
.tt-msg.user .tt-bubble { background: var(--brand); color: #fff; border-bottom-right-radius: 6px; white-space: pre-wrap; }
.tt-msg.assistant .tt-bubble { background: var(--surface-2); border-bottom-left-radius: 6px; }
.tt-msg.err .tt-bubble { background: var(--err-bg); color: var(--err); }
.tt-bubble p { margin: 0 0 6px; }
.tt-bubble p:last-child { margin-bottom: 0; }
.tt-bubble ul, .tt-bubble ol { margin: 4px 0 8px; padding-left: 20px; }
.tt-bubble code { background: var(--surface); padding: 1px 5px; border-radius: 5px; }
.tt-bubble .tt-h { font-weight: 700; margin-top: 6px; }
.tt-bubble hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.tt-bubble.typing:empty::after, .tt-bubble.typing:not(:empty)::after { content: "▍"; animation: to-pulse 1s infinite; color: var(--brand); }
.tt-form { display: flex; gap: 8px; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 12px; }
.tt-form textarea { flex: 1; min-height: 48px; max-height: 180px; resize: vertical; margin: 0; }
.tt-del { text-align: right; margin-top: 6px; }

/* ---------- Promo, ajak teman, karier, ulasan (v26) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ok-text { color: var(--ok); }
.promo-box { padding: 14px 16px; }
.promo-line { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.promo-form { gap: 8px; flex-wrap: nowrap; align-items: center; }
.promo-form input { flex: 1; min-width: 0; margin: 0; }
.kpis-lite { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.kpis-lite .card { padding: 14px 16px; display: grid; gap: 2px; }
.kpis-lite b { font-size: 24px; }
.kpis-lite span { font-size: 13px; color: var(--muted); }
.rf-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; margin-bottom: 16px; }
.rf-steps div { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.rf-steps b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.rf-link { gap: 8px; flex-wrap: nowrap; }
.rf-link input { flex: 1; min-width: 0; margin: 0; font-family: ui-monospace, monospace; font-size: 14px; }
.rf-code { letter-spacing: .06em; }
.cr-top { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cr-qual h3 { font-size: 17px; }
.cr-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-steps { padding-left: 18px; margin: 0 0 14px; }
.cr-filter select { margin: 0; width: auto; }
.cr-jobs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.cr-job { text-decoration: none; color: inherit; display: grid; gap: 6px; align-content: start; transition: border-color .15s; }
.cr-job:hover { border-color: var(--brand); }
.cr-job h3 { margin: 4px 0 0; font-size: 17px; }
.cr-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--text-2); margin-top: 4px; }
.cr-partners { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.cr-partners .card { padding: 12px 14px; display: grid; gap: 2px; }
.cr-detail { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.cr-detail aside { position: sticky; top: 90px; }
.cr-facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); padding: 14px 16px; }
.cr-facts div { display: grid; gap: 2px; }
@media (max-width: 860px) { .cr-detail { grid-template-columns: 1fr; } .cr-detail aside { position: static; } }
.grid3 { display: grid; gap: 0 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .grid3 { grid-template-columns: 1fr; } .grid3 > [style*="span 2"] { grid-column: auto !important; } }
.cv-form h3 { font-size: 17px; margin-top: 0; }
.cv-form h3 .small { font-weight: 400; display: block; margin-top: 2px; }
.cv-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 28px; gap: 8px; align-items: center; margin-bottom: 8px; }
.cv-row input { margin: 0; }
@media (max-width: 560px) { .cv-row { grid-template-columns: 120px minmax(0, 1fr) 24px; } }
.cv-suggest { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cv-suggest .chip { cursor: pointer; border: 1px dashed var(--brand); background: var(--brand-soft); color: var(--brand-ink); font: inherit; font-size: 13px; }
.cv-photo { gap: 16px; align-items: flex-start; flex-wrap: nowrap; margin-bottom: 14px; }
.cv-photo-box { flex: none; width: 90px; height: 120px; border: 1px dashed var(--line-2); border-radius: 8px; overflow: hidden; display: grid; place-items: center; text-align: center; background: var(--surface-2); }
.cv-photo-box img { width: 100%; height: 100%; object-fit: cover; }
.cv-photo-form { min-width: 0; flex: 1; }
.cv-photo-form input[type=file] { min-width: 0; flex: 1; margin: 0; }
.rv-stars { color: #D99A00; letter-spacing: 1px; }
.rv-stars .off { color: var(--line-2); }
.rv-avg { color: #B87F00; }
[data-theme="dark"] .rv-avg, [data-theme="dark"] .rv-stars { color: #FBBF24; }
.rv-box { margin-top: 8px; }
.rv-box summary { cursor: pointer; color: var(--brand-ink); }
.rv-form { display: grid; gap: 8px; margin-top: 8px; }
.rv-form textarea { min-height: 70px; margin: 0; }
.rv-form .btn { justify-self: start; }
.rv-rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rv-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-rate label { font-size: 30px; line-height: 1; color: var(--line-2); cursor: pointer; padding: 2px; margin: 0; transition: color .1s, transform .1s; }
.rv-rate label:hover, .rv-rate label:hover ~ label, .rv-rate input:checked ~ label { color: #E5A400; }
.rv-rate input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 4px; }
.rv-mine { margin-top: 8px; }
.rv-list { display: grid; gap: 8px; margin-top: 12px; }
.rv-item { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border-left: 3px solid #E5A400; }
.rv-item p { margin: 4px 0; font-size: 14px; }
.rv-item cite { font-style: normal; }
.rv-reply { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }

/* ---------- Rencana belajar, PR, langganan (v27) ---------- */
.err-text { color: var(--err); }
.progress.sm { height: 6px; margin: 6px 0 4px; }
.lp-head { display: grid; gap: 4px; }
.lp-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.lp-stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); margin-top: 12px; }
.lp-stats div { display: grid; gap: 2px; }
.lp-stats b { font-size: 19px; }
.lp-stats span { font-size: 12.5px; color: var(--muted); }
.lp-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .lp-grid { grid-template-columns: 1fr; } }
.lp-h { font-size: 17px; margin: 0 0 10px; }
.lp-next { list-style: none; margin: 0; padding: 6px 16px; counter-reset: lp; }
.lp-next li { counter-increment: lp; display: grid; gap: 2px; padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--line); }
.lp-next li:last-child { border-bottom: 0; }
.lp-next li::before { content: counter(lp); position: absolute; left: 0; top: 11px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.lp-next li.extra::before { background: var(--surface-3); color: var(--muted); }
.lp-next a { text-decoration: none; color: var(--text); }
.lp-habits { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.lp-habits .card { display: flex; gap: 10px; align-items: center; padding: 12px 14px; text-decoration: none; color: inherit; }
.lp-habits .jp { font-size: 22px; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
.lp-habits small { display: block; color: var(--muted); font-size: 12px; }
.lp-path { list-style: none; margin: 0; padding: 4px 16px; }
.lp-path li { padding: 10px 0 10px 18px; border-left: 2px solid var(--line-2); position: relative; display: grid; gap: 2px; }
.lp-path li::before { content: ''; position: absolute; left: -7px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-2); }
.lp-path li.done::before { background: var(--ok); border-color: var(--ok); }
.lp-path li.goal::before { background: var(--brand); border-color: var(--brand); }
.lp-path a { text-decoration: none; color: var(--text); }
.lp-tryouts { display: grid; gap: 6px; }
.lp-form .lp-goals { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-bottom: 8px; }
.lp-goal { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; margin: 0; }
.lp-goal:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.lp-goal input { margin-top: 3px; }
.lp-goal small { display: block; color: var(--muted); font-weight: 400; }
.lp-dash { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.hw-mats-box { margin-top: 6px; }
.hw-student .hw-form { display: grid; gap: 8px; margin-top: 8px; }
.hw-student textarea { min-height: 90px; margin: 0; }
.hw-student .hw-form .btn { justify-self: start; }
.hw-submit summary { cursor: pointer; color: var(--brand-ink); }
.hw-rec { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.hw-rec audio { height: 34px; max-width: 100%; }
.hw-feedback { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--surface); }
.hw-score { font-size: 26px; line-height: 1; color: var(--ok); }
.hw-score small { font-size: 12px; color: var(--muted); }
.sub-facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); margin-top: 12px; }
.sub-facts div { display: grid; gap: 2px; }
.sub-stop summary { cursor: pointer; color: var(--muted); padding: 7px 0; }
.sub-stop select { margin: 0; }
a.card.feature { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card.feature:hover { border-color: var(--brand); transform: translateY(-2px); }

/* ---------- Cetak sertifikat: tepat satu halaman A4, tanpa elemen lain (v29) ---------- */
@media print {
  html, body { margin: 0 !important; padding: 0 !important; background: #fff !important; }
  body:has(.cert-page) > *:not(.cert-page) { display: none !important; }
  .cert-page { max-width: none !important; padding: 0 !important; margin: 0 !important; }
  .cert-page > :not(.cert-scale) { display: none !important; }
  .cert-page .cert-scale { margin: 0 !important; padding: 0 !important; overflow: visible !important; height: auto !important; width: auto !important; }
  .cert-page .cert2 { transform: none !important; margin: 0 !important; width: 297mm; height: 209.5mm; overflow: hidden; break-inside: avoid; page-break-inside: avoid; box-shadow: none !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cert-page .cert2.portrait { width: 210mm; height: 296.5mm; }
}
.rf-custom { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.rf-custom input { flex: 1; min-width: 0; font-family: ui-monospace, monospace; letter-spacing: .06em; }

/* ---------- Menu Program bertingkat (v29) ---------- */
.dd-program { min-width: 300px; }
.dd-menu .dd-sub { position: relative; }
.dd-menu a > span:not(.jp):not(.dd-caret) { display: flex; flex-direction: column; line-height: 1.25; }
.dd-sub-desc { font-size: 11.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.dd-caret { margin-left: auto; font-size: 18px; line-height: 1; color: var(--muted); transition: transform .2s; }
.dd-flyout { position: absolute; top: -8px; left: calc(100% + 6px); min-width: 280px; width: max-content; max-width: min(92vw, 380px); background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateX(-6px);
  transition: opacity .18s var(--ease, ease), transform .18s var(--ease, ease), visibility .18s; z-index: 2; }
.dd-flyout::before { content: ""; position: absolute; left: -10px; top: 0; bottom: 0; width: 10px; } /* jembatan hover */
@media (min-width: 921px) {
  .dd-sub:hover > .dd-flyout, .dd-sub:focus-within > .dd-flyout { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 920px) {
  .nav .dd-flyout { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 4px 22px; min-width: 0; width: auto; display: none; }
  .nav .dd-flyout .grp { display: none; }
  .nav .dd-sub.open > .dd-flyout { display: block; }
  .nav .dd-sub.open .dd-caret { transform: rotate(90deg); }
  .nav .dd-sub-desc { color: rgba(255,255,255,.7); }
  .nav .dd-caret { color: #fff; }
}
@media (min-width: 921px) { .dd-sub.flip > .dd-flyout { left: auto; right: calc(100% + 6px); transform: translateX(6px); } .dd-sub.flip > .dd-flyout::before { left: auto; right: -10px; } .dd-sub.flip:hover > .dd-flyout, .dd-sub.flip:focus-within > .dd-flyout { transform: none; } }
.about-eco { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.about-vision { max-width: 720px; margin: 26px auto 0; font-size: 16px; color: var(--text-2); }
.contact-tips .prose { font-size: 14px; line-height: 1.65; max-width: none; }
.contact-tips .prose p { margin: 0 0 8px; } .contact-tips .prose ul { margin: 0; padding-left: 18px; } .contact-tips .prose li { margin: 4px 0; }

/* ---------- Kartu harga: satu baris rapi (v29) ---------- */
@media (min-width: 641px) {
  .plans { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(182px, 1fr); gap: 12px; overflow-x: auto; padding: 18px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .plan { scroll-snap-align: start; padding: 26px 16px 20px; }
  .plan ul { margin: 12px 0 18px; gap: 8px; }
  .plan li { font-size: 13.5px; }
  .plan .per { min-height: 2.6em; }
  .plan .btn { white-space: nowrap; }
}

/* ---------- Quote lebih menonjol (v29) ---------- */
.quote-card { border-left: 4px solid var(--brand); padding: 20px 22px 16px 64px; box-shadow: 0 16px 40px -28px rgba(241,94,38,.55); }
.quote-card .quote-mark { font-size: 64px; left: 18px; top: 6px; }
.quote-card blockquote { font-size: 17px; line-height: 1.55; font-weight: 600; }
.quote-card .quote-jp { display: block; font-family: var(--jp); font-size: 15px; color: var(--brand-ink); margin-top: 6px; font-weight: 500; }
.welcome-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 22px; align-items: center; position: relative; }
@media (max-width: 860px) { .welcome-grid { grid-template-columns: 1fr; } }
.welcome .quote-card { margin: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-left: 4px solid #FFB592; box-shadow: none; backdrop-filter: blur(6px); }
.welcome .quote-card blockquote { color: #fff; }
.welcome .quote-card .quote-mark { color: #FFB592; }
.welcome .quote-card figcaption { color: rgba(255,255,255,.75); }
.welcome .quote-card .quote-jp { color: #FFD2BC; }
.welcome .quote-lbl { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #FFB592; font-weight: 700; margin-bottom: 8px; }
.pv-sensei-id { gap: 14px; flex-wrap: nowrap; align-items: center; }
.pv-sensei-id h3 { margin: 0 0 6px; line-height: 1.25; font-size: 19px; }
.pv-sensei-headline { line-height: 1.45; }
.pv-sensei-body .pv-tags { margin-top: 12px; gap: 8px; }

/* ---------- Sidebar pelajaran: modul vs pelajaran lebih kontras (v29) ---------- */
.player-side .mod { border-bottom: 1px solid var(--side-line); }
.player-side .mod > summary { background: linear-gradient(90deg, rgba(241,94,38,.22), rgba(241,94,38,.06)); color: #fff; padding: 13px 16px; border-bottom: 1px solid rgba(241,94,38,.35); box-shadow: inset 3px 0 var(--brand); }
.player-side .mod[open] > summary { background: linear-gradient(90deg, rgba(241,94,38,.32), rgba(241,94,38,.1)); }
.player-side .mod-no { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 800; }
.player-side .mod-title { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; font-size: 14px; font-weight: 700; }
.player-side .mod-lbl { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #FFB592; font-weight: 700; margin: 0 0 1px; }
.player-side .mod > summary .mod-count { margin-left: auto; color: #FFD2BC; background: rgba(0,0,0,.25); padding: 2px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 700; }
.player-side .mod > summary .mod-count.full { background: var(--ok); color: #fff; }
.player-side .mod > summary::after { content: "›"; color: #FFB592; font-size: 18px; margin-left: 6px; transition: transform .2s; }
.player-side .mod[open] > summary::after { transform: rotate(90deg); }
.player-side .les { background: rgba(0,0,0,.18); padding: 10px 16px 10px 28px; font-size: 13.5px; font-weight: 400; position: relative; }
.player-side .les::before { content: ""; position: absolute; left: 28px; top: 0; bottom: 0; width: 0; }
.player-side .les .st { width: 20px; height: 20px; }
.player-side .les.current { font-weight: 600; }

/* ---------- Pemutar video pelajaran ---------- */
.kplayer .video video { width: 100%; height: 100%; display: block; background: #000; }
.kplayer-bar { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 10px 2px 4px; }
.kplayer-bar label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.kplayer-bar select { margin: 0; width: auto; padding: 5px 30px 5px 10px; font-size: 13.5px; }
.kplayer-keys { color: var(--muted); margin-left: auto; }
.kplayer-keys kbd { font: 600 11px ui-monospace, monospace; padding: 1px 5px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface-2); }
@media (max-width: 640px) { .kplayer-keys { display: none; } }
.video-hint { margin: 8px 0 0; }
.kplayer { margin-bottom: 22px; } .kplayer .video { margin-bottom: 0; }

/* ---------- Halaman kebijakan (Privasi, S&K, Refund) — v29 ---------- */
.legal-hero { padding-bottom: 34px; }
.legal-hero-row { display: flex; gap: 18px; align-items: center; margin-top: 16px; }
.legal-hero-ic { flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 12px 30px -12px rgba(241,94,38,.8); }
.legal-hero h1 { margin: 0; }
.legal-hero .lead { margin: 6px 0 0; color: #E3D6CE; font-size: 16px; }
.legal-date { color: #FFB592; white-space: nowrap; }
.legal-highlights { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: 24px; }
.legal-hl { display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.legal-hl b { font-size: 20px; color: #fff; line-height: 1.2; }
.legal-hl span { font-size: 13.5px; color: #E3D6CE; line-height: 1.45; }
.legal-section { padding-top: 34px; }
.legal-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 26px; align-items: start; }
.legal-side { position: sticky; top: 90px; display: grid; gap: 14px; }
.legal-side-lbl { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: lt; display: grid; gap: 2px; }
.legal-toc li { counter-increment: lt; }
.legal-toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 9px; text-decoration: none; color: var(--text-2); font-size: 14px; line-height: 1.35; transition: background .15s, color .15s; }
.legal-toc a::before { content: counter(lt, decimal-leading-zero); font: 700 11.5px var(--font); color: var(--muted); padding-top: 2px; }
.legal-toc a:hover { background: var(--surface-2); color: var(--text); }
.legal-toc a.on { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.legal-toc a.on::before { color: var(--brand); }
.legal-others { display: grid; gap: 2px; }
.legal-others a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 9px; text-decoration: none; color: var(--text-2); font-size: 14px; }
.legal-others a:hover { background: var(--surface-2); color: var(--text); }
.legal-others a.on { background: var(--surface-2); color: var(--text); font-weight: 600; box-shadow: inset 3px 0 var(--brand); }
.legal-others a .ic { color: var(--brand); }
.legal-body { padding: 34px 38px; }
.legal-prose { max-width: 72ch; font-size: 15.5px; }
.legal-prose > p:first-child { font-size: 17px; color: var(--text); }
.legal-prose h2 { font-size: 21px; margin: 2em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--line); scroll-margin-top: 90px; display: flex; gap: 10px; align-items: center; }
.legal-prose h2::before { content: ""; width: 8px; height: 22px; border-radius: 4px; background: linear-gradient(var(--brand), var(--brand-2)); flex: none; }
.legal-prose > h2:first-child, .legal-prose > p:first-child + h2 { margin-top: 1.2em; }
.legal-prose ol, .legal-prose ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.legal-prose { counter-reset: lo; } .legal-prose ol:not([start]) { counter-reset: lo; }
.legal-prose ol > li { counter-increment: lo; position: relative; padding: 12px 14px 12px 50px; border-radius: 12px; background: var(--surface-2); line-height: 1.6; }
.legal-prose ol > li::before { content: counter(lo); position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font: 700 12px var(--font); }
.legal-prose ul > li { position: relative; padding-left: 26px; line-height: 1.6; }
.legal-prose ul > li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.legal-prose a { color: var(--brand-ink); font-weight: 600; }
.legal-help { margin-top: 34px; padding: 18px 20px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-soft), transparent); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.legal-help b { display: block; font-size: 16px; }
.legal-help span { font-size: 14px; color: var(--text-2); }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-side { position: static; }
  .legal-toc { order: 0; }
  .legal-others { display: none; }
  .legal-body { padding: 24px 20px; }
}
@media (max-width: 640px) { .legal-hero-row { align-items: flex-start; } .legal-hero-ic { width: 46px; height: 46px; border-radius: 12px; } }

/* Menu Program: item induk yang sedang dibuka memakai gaya hover yang sama (oranye, teks putih) */
@media (min-width: 921px) {
  .dd-sub:hover > .dd-sub-head, .dd-sub:focus-within > .dd-sub-head {
    background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 20px -10px rgba(241,94,38,.75); padding-left: 16px; }
}
.dd-menu a:hover .dd-sub-desc, .dd-menu a:focus-visible .dd-sub-desc, .dd-sub:hover > .dd-sub-head .dd-sub-desc, .dd-sub:focus-within > .dd-sub-head .dd-sub-desc { color: rgba(255,255,255,.88); }
.dd-menu a:hover .dd-caret, .dd-sub:hover > .dd-sub-head .dd-caret, .dd-sub:focus-within > .dd-sub-head .dd-caret, .dd-sub:hover > .dd-sub-head .ic { color: #fff; }

/* ---------- Testimoni: carousel geser & berjalan sendiri (v32) ---------- */
.testi-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.testi-head h2 { margin: 4px 0 0; }
.testi-nav { display: flex; gap: 8px; }
.testi-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.testi-btn:hover, .testi-btn:focus-visible { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-1px); }
.testi { position: relative; }
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 18px) / 2.45); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent); mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent); }
.testi-track::-webkit-scrollbar { display: none; }
.testi-track:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 16px; }
@media (max-width: 980px) { .testi-track { grid-auto-columns: calc((100% - 18px) / 1.6); } }
@media (max-width: 640px) { .testi-track { grid-auto-columns: 86%; } .testi-nav { display: none; } }
.testi-card { position: relative; margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 22px; overflow: hidden; transition: transform .25s var(--ease, ease), box-shadow .25s; }
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.testi-mark { position: absolute; right: 16px; top: -14px; font: 700 110px/1 Georgia, serif; color: var(--brand); opacity: .12; pointer-events: none; }
.testi-stars { color: #F5A524; letter-spacing: 3px; font-size: 15px; }
.testi-card blockquote { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--text); flex: 1; }
.testi-card figcaption { display: flex; gap: 12px; align-items: center; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.testi-dots button { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: var(--line-2); cursor: pointer; transition: width .3s var(--ease, ease), background .3s; }
.testi-dots button[aria-selected="true"] { width: 28px; background: var(--brand); }

/* ---------- Halaman Kontak: formulir bertahap (v32) ---------- */
.contact-form { display: grid; gap: 6px; }
.cf-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.cf-head h2 { font-size: 24px; margin: 0; }
.cf-head p { margin: 4px 0 0; }
.cf-status, .cs-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 6px 12px; border-radius: 99px; background: var(--surface-2); }
.cf-status i, .cs-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.cf-status.open, .cs-live.open { color: var(--ok); background: var(--ok-bg); }
.cf-status.open i, .cs-live.open i { background: var(--ok); box-shadow: 0 0 0 0 rgba(23,128,63,.5); animation: cfPulse 1.8s infinite; }
@keyframes cfPulse { 0% { box-shadow: 0 0 0 0 rgba(34,170,90,.55); } 70% { box-shadow: 0 0 0 8px rgba(34,170,90,0); } 100% { box-shadow: 0 0 0 0 rgba(34,170,90,0); } }
@media (prefers-reduced-motion: reduce) { .cf-status.open i, .cs-live.open i { animation: none; } }
.cf-step { border: 0; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); min-width: 0; }
.cf-step legend { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.cf-step legend + * { clear: both; }
.cf-no { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 13px; font-weight: 800; flex: none; }
.cf-topics { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.cf-topic { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 14px; cursor: pointer; margin: 0; background: var(--surface); transition: border-color .18s, background .18s, box-shadow .18s, transform .18s; }
.cf-topic:hover { border-color: color-mix(in srgb, var(--brand) 55%, var(--line-2)); transform: translateY(-1px); }
.cf-topic input { position: absolute; opacity: 0; pointer-events: none; }
.cf-topic-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--brand-ink); transition: background .18s, color .18s; }
.cf-topic-txt { display: grid; gap: 2px; min-width: 0; }
.cf-topic-txt b { font-size: 14px; line-height: 1.3; }
.cf-topic-txt small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.cf-topic:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 10px 24px -16px rgba(241,94,38,.7); }
.cf-topic:has(input:checked) .cf-topic-ic { background: var(--brand); color: #fff; }
.cf-topic:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.cf-hint { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--info-bg); color: var(--text-2); }
.cf-hint[hidden] { display: none; }
.contact-form textarea { min-height: 150px; }
.cf-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cf-actions .btn { flex: 1 1 220px; justify-content: center; }
.cf-wa { border-color: #25D366 !important; color: #128C4B !important; }
.cf-wa:hover { background: #25D366 !important; color: #fff !important; }
[data-theme="dark"] .cf-wa { color: #4ADE80 !important; }
.cf-note { margin: 10px 0 0; text-align: center; }
/* Kolom formulir seragam (input & select sama-sama terisi latar lembut) */
.contact-form select, .contact-form textarea { background: var(--surface-2); border-color: transparent; }
.contact-form select:focus, .contact-form textarea:focus { background: var(--surface); border-color: var(--brand); }
/* Kartu samping */
.contact-side { position: sticky; top: 90px; }
@media (max-width: 1023px) { .contact-side { position: static; } }
.cs-row { display: flex; gap: 12px; align-items: flex-start; }
.cs-row b { display: block; font-size: 15.5px; }
.cs-row span:not(.cs-ic) { display: block; font-size: 13.5px; color: var(--text-2); margin-top: 2px; }
.cs-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.cs-live { margin-top: 12px; width: 100%; }
.cs-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cs-links a { font-size: 13px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); text-decoration: none; color: var(--text-2); transition: background .15s, color .15s, border-color .15s; }
.cs-links a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.contact-tips .prose { margin-top: 10px; }

/* ---------- Rencana belajar: desain ulang (v33) ---------- */
.lp-hero { display: flex; gap: 26px; align-items: center; margin-top: 16px; padding: 24px 26px; background: radial-gradient(120% 140% at 0% 0%, #3A1E12 0%, #1B1411 55%, #0B0A10 100%); color: #fff; border: 0; position: relative; overflow: hidden; }
.lp-hero::after { content: "計画"; position: absolute; right: -10px; bottom: -40px; font: 700 150px/1 var(--jp); color: rgba(255,255,255,.04); pointer-events: none; }
.lp-ring { --p: 0; flex: none; width: 128px; height: 128px; border-radius: 50%; display: grid; place-content: center; text-align: center; position: relative;
  background: conic-gradient(var(--brand) calc(var(--p) * 1%), rgba(255,255,255,.12) 0); }
.lp-ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #1E1612; }
.lp-ring b, .lp-ring span { position: relative; }
.lp-ring b { font-size: 34px; line-height: 1; font-weight: 800; }
.lp-ring b small { font-size: 16px; color: #FFB592; margin-left: 1px; }
.lp-ring span { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 4px; letter-spacing: .08em; text-transform: uppercase; }
.lp-hero-main { flex: 1; min-width: 0; position: relative; z-index: 1; }
.lp-hero-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lp-days { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: #FFD2BC; }
.lp-goal-title { margin: 10px 0 4px; font-size: clamp(22px, 2.6vw, 28px); color: #fff; line-height: 1.2; }
.lp-goal-title span { color: #FFB592; }
.lp-goal-sub { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }
.lp-goal-sub b { color: #fff; }
.lp-hero .lp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; margin-top: 18px; }
.lp-hero .lp-stats > div { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.lp-hero .lp-stats b { display: block; font-size: 16px; color: #fff; }
.lp-hero .lp-stats span:not(.lp-si) { display: block; font-size: 12px; color: rgba(255,255,255,.62); }
.lp-si { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(241,94,38,.22); color: #FFB592; }
@media (max-width: 640px) { .lp-hero { flex-direction: column; align-items: flex-start; padding: 20px; } .lp-ring { width: 104px; height: 104px; } .lp-ring b { font-size: 28px; } }
.lp-alert { margin: 14px 0 0; }
.lp-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 22px; }
@media (max-width: 960px) { .lp-grid { grid-template-columns: 1fr; } }
.lp-col { display: grid; gap: 22px; min-width: 0; }
.lp-panel { padding: 20px 22px; }
.lp-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lp-h { display: flex; gap: 8px; align-items: center; font-size: 17px; margin: 0 0 14px; }
.lp-panel-head .lp-h { margin: 0; }
.lp-h small { font-size: 12.5px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.lp-hi { font-size: 18px; }
.lp-week-count { font-size: 13px; color: var(--muted); }
.lp-week-count b { font-size: 16px; color: var(--text); }
.lp-week-bar { margin: 12px 0 6px; height: 8px; }
.lp-next { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: none; }
.lp-next li { padding: 0; border: 0; counter-increment: none; }
.lp-next li::before { content: none; display: none; }
.lp-next a { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); transition: border-color .18s, transform .18s, box-shadow .18s, background .18s; }
.lp-next a:hover { border-color: var(--brand); transform: translateX(3px); box-shadow: 0 10px 22px -16px rgba(241,94,38,.7); }
.lp-num { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 800; }
.lp-next li.extra .lp-num { background: var(--surface-3); color: var(--muted); }
.lp-next li.extra a { background: var(--surface-2); border-style: dashed; }
.lp-ltxt { display: grid; gap: 3px; min-width: 0; flex: 1; }
.lp-ltxt b { font-size: 14.5px; line-height: 1.4; }
.lp-ltxt small { font-size: 12.5px; color: var(--muted); }
.lp-go { font-size: 20px; color: var(--muted); transition: color .18s, transform .18s; }
.lp-next a:hover .lp-go { color: var(--brand); transform: translateX(2px); }
.lp-foot { margin: 12px 0 0; }
.lp-panel-plain .lp-h { margin-bottom: 12px; }
.lp-habits { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.lp-habits .card { transition: transform .18s, border-color .18s; }
.lp-habits .card:hover { transform: translateY(-2px); border-color: var(--brand); }
.lp-path { list-style: none; margin: 0; padding: 0 0 0 6px; display: grid; gap: 0; }
.lp-path li { padding: 4px 0 18px 22px; border-left: 2px solid var(--line-2); position: relative; display: grid; gap: 4px; }
.lp-path li:last-child { padding-bottom: 0; border-left-color: transparent; }
.lp-path li::before { content: ""; position: absolute; left: -8px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-2); }
.lp-path li.done { border-left-color: var(--ok); }
.lp-path li.done::before { background: var(--ok); border-color: var(--ok); }
.lp-path li.now::before { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 22%, transparent); }
.lp-path li.goal::before { background: var(--brand); border-color: var(--brand); width: 16px; height: 16px; left: -9px; }
.lp-path-top { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.lp-path a { text-decoration: none; color: var(--text); }
.lp-path a:hover { color: var(--brand-ink); }
.lp-path .progress.sm { margin: 4px 0 2px; }
.lp-tryouts { display: grid; gap: 8px; }
.lp-try { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .18s, background .18s; }
.lp-try:hover { border-color: var(--brand); background: var(--brand-soft); }
.lp-try-lv { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #0B0A10; color: #fff; font-weight: 800; font-size: 13px; }
.lp-try-txt { display: grid; gap: 2px; flex: 1; min-width: 0; }
.lp-try-txt b { font-size: 14px; }
.lp-try-txt small { font-size: 12.5px; color: var(--muted); }
.lp-delete { text-align: right; }
.lp-delete .linkbtn { color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.lp-delete .linkbtn:hover { color: var(--err); }

/* ---------- Halaman program: desain ulang (v36) ---------- */
.pg-hero { padding: 34px 0 46px; }
.pg-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; margin-top: 18px; }
.pg-tags { gap: 8px; }
.pg-level { background: rgba(255,181,146,.16) !important; color: #FFB592 !important; }
.pg-hero h1 { margin: 14px 0 6px; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.02em; }
.pg-jp { font-size: clamp(18px, 2vw, 22px); margin: 0 0 12px; color: #FFB592; }
.pg-lead { font-size: 17px; line-height: 1.65; color: #E3D6CE; max-width: 60ch; margin: 0; }
.pg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; margin-top: 24px; max-width: 620px; }
.pg-stats > div { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(6px); }
.pg-stats b { display: block; font-size: 22px; line-height: 1.1; color: #fff; font-weight: 800; }
.pg-stats b small { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75); }
.pg-stats span { display: block; font-size: 12px; color: rgba(255,255,255,.62); margin-top: 3px; }
.pg-byline { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 20px; font-size: 14px; color: #D8C9BF; }
.pg-byline b { color: #fff; }
.pg-upd { display: inline-flex; gap: 6px; align-items: center; color: rgba(255,255,255,.6); font-size: 13px; }
.pg-hero-media { position: relative; }
.pg-media { display: block; width: 100%; aspect-ratio: 16/10; border-radius: 22px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(135deg, #3A1E12, #0B0A10); box-shadow: 0 30px 70px -30px rgba(241,94,38,.55), 0 20px 50px -20px rgba(0,0,0,.7); padding: 0; cursor: pointer; transform: perspective(1200px) rotateY(-4deg); transition: transform .5s var(--ease, ease); }
.pg-hero-media:hover .pg-media { transform: perspective(1200px) rotateY(0deg); }
.pg-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-media-jp { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 30px; font-weight: 700; padding: 20px; text-align: center; }
.pg-float { position: absolute; left: -18px; bottom: -20px; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.pg-float b { display: block; font-size: 14px; }
.pg-float div span { display: block; font-size: 12.5px; color: var(--muted); }
.pg-float-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--ok); color: #fff; flex: none; }
.pg-float-ring { --p: 0; width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--surface-3) 0); position: relative; }
.pg-float-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--surface); }
.pg-float-ring b { position: relative; font-size: 11.5px !important; }
@media (prefers-reduced-motion: reduce) { .pg-media { transform: none; } }
@media (max-width: 980px) {
  .pg-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .pg-media { transform: none; }
  .pg-float { left: 12px; }
}
/* Badan halaman */
.course-aside { margin-top: 0 !important; }
.pg-main { padding-top: 34px; min-width: 0; }
.pg-tabs { position: sticky; top: 64px; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); margin-bottom: 22px; }
.pg-tab-n { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: var(--surface-2); color: var(--muted); margin-left: 2px; }
.pg-tabs [aria-selected="true"] .pg-tab-n { background: var(--brand-soft); color: var(--brand-ink); }
.pg-h-ic { width: 32px; height: 32px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
.pg-learn h3, .pg-two h3 { display: flex; gap: 10px; align-items: center; font-size: 18px; margin: 0 0 14px; }
.pg-learn { margin-bottom: 22px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 7%, var(--surface)), var(--surface)); }
.pg-learn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.pg-learn-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; }
.pg-check { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; margin-top: 1px; }
.pg-prose { max-width: none; }
.pg-two { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: 26px; }
.pg-dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pg-dots li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.pg-dots li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
/* Kurikulum */
.pg-curr-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.pg-mod { border-radius: 16px; }
.pg-mod + .pg-mod { margin-top: 10px; }
.pg-mod > summary { padding: 14px 18px; gap: 14px; background: var(--surface); transition: background .18s; }
.pg-mod > summary:hover { background: var(--surface-2); }
.pg-mod[open] > summary { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.pg-mod-no { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 800 14px var(--font); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 18px -10px rgba(241,94,38,.8); }
.pg-mod-title { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pg-mod-title b { font-size: 15.5px; line-height: 1.35; }
.pg-mod-title small { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.pg-mod-bar { width: 70px; height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; flex: none; }
.pg-mod-bar i { display: block; height: 100%; background: var(--ok); }
.pg-mod > summary .chev { margin-left: 4px; }
.pg-mod[open] > summary .chev { transform: rotate(180deg); }
.pg-les { gap: 12px; padding: 11px 18px 11px 22px; }
.pg-les-no { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); border: 1.5px solid var(--line-2); }
.pg-les.done .pg-les-no { background: var(--ok); border-color: var(--ok); color: #fff; }
.pg-les-title { flex: 1; min-width: 0; line-height: 1.45; }
.pg-les-meta { display: inline-flex; gap: 8px; align-items: center; flex: none; }
.pg-chip { display: inline-flex; gap: 4px; align-items: center; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: var(--surface-2); color: var(--text-2); }
.pg-dur { font-size: 12.5px; color: var(--muted); min-width: 44px; text-align: right; }
.pg-lock { color: var(--muted); display: inline-flex; }
.pg-les.locked { color: var(--text-2); }
a.pg-les:hover { background: var(--brand-soft); }
a.pg-les:hover .pg-les-title { color: var(--brand-ink); }
@media (max-width: 560px) { .pg-dur { min-width: 0; } .pg-mod-bar { display: none; } .pg-les { padding-left: 16px; } }
/* Kartu samping */
.pg-enroll { box-shadow: var(--shadow-lg); }
.pg-enroll .inner { padding: 22px; }
.pg-enroll-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pg-enroll-head b { font-size: 16.5px; }
.pg-incl-lbl { margin: 20px 0 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.pg-incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pg-incl li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--text-2); }
.pg-incl li > span { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: var(--brand-ink); }
.pg-side-link { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 14px 16px; text-decoration: none; color: inherit; transition: border-color .18s, transform .18s; }
.pg-side-link:hover { border-color: var(--brand); transform: translateY(-1px); }
.pg-side-link .ic { color: var(--brand); flex: none; }
.pg-side-link > span:not(.dd-caret) { flex: 1; display: grid; }
.pg-side-link small { color: var(--muted); font-size: 12.5px; }
.pg-sensei { gap: 18px; }
@media (max-width: 980px) { .course-aside { order: 0; margin-top: 8px !important; } .pg-tabs { top: 56px; } }
.pg-hero-text, .pg-hero-media { min-width: 0; }
.pg-stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 88px), 1fr)); }
@media (max-width: 560px) {
  .acc .pg-les { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; align-items: start; }
  .pg-les-no { grid-row: span 2; }
  .pg-les-meta { grid-column: 2; flex-wrap: wrap; justify-content: flex-start; }
  .pg-hero h1 { font-size: 30px; }
  .pg-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Tryout Kaigo Kokka Shiken (v39) ---------- */
.pt-lv-kaigo { font-size: 15px; letter-spacing: 0; background: linear-gradient(135deg, #17803F, #0E5A2C); }
.to-level-sub { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.to-rule-kaigo .to-part-head { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 14px 4px; margin-top: 4px; border-top: 2px solid var(--brand); background: transparent !important; }
.to-rule-kaigo .to-part-head:first-child { border-top: 0; margin-top: 0; }
.to-rule-kaigo .to-part-head b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); }
.to-parts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-bottom: 8px; }
.to-part { position: relative; display: grid; gap: 8px; padding: 18px; border-top: 4px solid var(--err); }
.to-part.ok { border-top-color: var(--ok); }
.to-part > b { font-size: 15px; }
.to-part-score b { font-size: 30px; font-weight: 800; }
.to-part-score span { color: var(--muted); }
.to-part-badge { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--err-bg); color: var(--err); }
.to-part.ok .to-part-badge { background: var(--ok-bg); color: var(--ok); }
.to-groups-kaigo { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.to-groups-kaigo .to-group b:first-child { font-family: var(--jp); font-size: 14px; line-height: 1.4; }

/* =========================================================
   MOBILE v40 — margin, navbar drawer, navigasi bawah ala aplikasi
   ========================================================= */
:root { --m-gutter: 20px; }
@media (max-width: 640px) {
  .wrap { padding-left: max(var(--m-gutter), env(safe-area-inset-left)); padding-right: max(var(--m-gutter), env(safe-area-inset-right)); }
}
/* .account sebelumnya mengatur padding 0 di kiri-kanan sehingga kartu menempel ke tepi layar */
.wrap.account { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
@media (max-width: 640px) { .wrap.account { padding-left: max(var(--m-gutter), env(safe-area-inset-left)); padding-right: max(var(--m-gutter), env(safe-area-inset-right)); } }
@media (max-width: 640px) {
  .card { border-radius: 18px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  h1 { word-break: normal; overflow-wrap: anywhere; }
}

/* ---------- Navbar mobile: panel penuh dengan baris lega & submenu yang dibuka manual ---------- */
@media (max-width: 920px) {
  .site-header .wrap { min-height: 64px; }
  .nav-toggle { width: 44px; height: 44px; border-radius: 12px; }
  .nav { position: fixed; top: 67px; left: 0; right: 0; bottom: 0; max-height: none; padding: 14px max(var(--m-gutter), env(safe-area-inset-left)) calc(28px + env(safe-area-inset-bottom)); gap: 4px; overflow-y: auto; overscroll-behavior: contain;
    background: linear-gradient(180deg, #E8592A 0%, #C9452A 100%); border-bottom: 0; animation: navIn .22s var(--ease, ease); }
  @keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  body.nav-open { overflow: hidden; }
  .nav > a, .nav .dd > button { display: flex; width: 100%; justify-content: flex-start; align-items: center; gap: 12px; min-height: 50px; padding: 12px 14px; border-radius: 14px; font-size: 16px; font-weight: 600; color: #fff; background: rgba(255,255,255,.06); }
  .nav > a.active { background: rgba(11,10,16,.22); box-shadow: inset 3px 0 #fff; }
  .nav .dd { width: 100%; }
  .nav .dd > button .ic:last-child { margin-left: auto; transition: transform .2s; }
  .nav .dd.open > button { background: rgba(11,10,16,.2); }
  .nav .dd.open > button .ic:last-child { transform: rotate(180deg); }
  /* Submenu tertutup sampai diketuk */
  .nav .dd > .dd-menu { display: none !important; opacity: 1; visibility: visible; transform: none; width: 100% !important; max-width: none !important; margin: 4px 0 6px; padding: 6px !important; border-radius: 14px; background: rgba(11,10,16,.16) !important; }
  .nav .dd.open > .dd-menu { display: block !important; }
  .nav .dd-menu a, .nav .dd-menu button { min-height: 44px; font-size: 15px; white-space: normal; }
  .nav .dd-menu .divider { background: rgba(255,255,255,.18); }
  /* Kartu user di paling atas */
  .nav .nav-user { order: -1; margin: 0 0 8px; }
  .nav .nav-user > button { min-height: 60px; background: rgba(11,10,16,.22); font-size: 16px; }
  .nav .nav-user > button .avatar { width: 38px; height: 38px; }
  .nav .nav-user .dd-menu { text-align: left; }
  .nav .nav-user .dd-menu a { justify-content: flex-start; }
  .nav .theme-toggle { margin: 10px 0 2px !important; align-self: flex-start; width: 46px; height: 46px; }
  .nav > a[href="/masuk"] { justify-content: center; background: rgba(255,255,255,.14); margin-top: 6px; }
  .nav > a.btn { justify-content: center; margin-top: 6px; min-height: 52px; background: #fff; color: var(--brand-ink) !important; }
}

/* ---------- Area akun di HP: navigasi bawah (tab bar) + lembar menu ---------- */
.m-tabbar, .m-sheet-backdrop, .m-sheet-handle { display: none; }
@media (max-width: 920px) {
  body:has(.m-tabbar) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body:has(.m-tabbar) .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .m-tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70;
    padding: 6px; border-radius: 22px; background: color-mix(in srgb, #0B0A10 92%, transparent); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 18px 40px -12px rgba(11,10,16,.55), 0 0 0 1px rgba(255,255,255,.06) inset; }
  .m-tabbar a, .m-tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; padding: 6px 2px; border-radius: 16px; border: 0; background: none;
    color: rgba(255,255,255,.62); text-decoration: none; font: 600 11px var(--font); letter-spacing: .01em; cursor: pointer; transition: color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
  .m-tabbar a > span:last-child, .m-tabbar button > span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .m-tab-ic { display: grid; place-items: center; width: 44px; height: 30px; border-radius: 99px; transition: background .25s var(--ease, ease), transform .25s var(--ease, ease); }
  .m-tabbar .active { color: #fff; }
  .m-tabbar .active .m-tab-ic { background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 6px 16px -6px rgba(241,94,38,.9); transform: translateY(-1px); }
  .m-tabbar a:active .m-tab-ic, .m-tabbar button:active .m-tab-ic { transform: scale(.92); }
  /* Menu akun lengkap → lembar dari bawah */
  .account { grid-template-columns: minmax(0, 1fr); }
  .account-nav { position: fixed !important; left: 0; right: 0; bottom: 0; z-index: 80; display: block !important; max-height: 82vh; overflow-y: auto; overscroll-behavior: contain;
    margin: 0; padding: 8px max(var(--m-gutter), env(safe-area-inset-left)) calc(20px + env(safe-area-inset-bottom)) !important; border-radius: 26px 26px 0 0 !important;
    transform: translateY(105%); visibility: hidden; transition: transform .32s var(--ease, ease), visibility .32s; }
  body.msheet .account-nav { transform: none; visibility: visible; }
  .account-nav .who, .account-nav .sep { display: flex !important; }
  .account-nav .sep { display: block !important; }
  .account-nav { display: grid; }
  .account-nav a, .account-nav button { white-space: normal; width: 100%; min-height: 48px; font-size: 15px; }
  .m-sheet-handle { display: block; width: 44px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.28); margin: 4px auto 10px; }
  .m-sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 75; background: rgba(11,10,16,.5); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .m-sheet-backdrop[hidden] { display: block; }
  body.msheet .m-sheet-backdrop { opacity: 1; pointer-events: auto; }
  body.msheet { overflow: hidden; }
}
@media (max-width: 920px) and (prefers-reduced-motion: reduce) { .account-nav, .m-sheet-backdrop { transition: none; } }
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 920px) {
  /* transform pada animasi membuat elemen fixed (tab bar & lembar menu) ikut ter-scroll → di HP cukup fade */
  .wrap.account { animation: pageFade .45s var(--ease, ease) both; transform: none !important; }
  .account-nav { top: auto !important; }
}

/* v42 — drawer: menu user tersusun ke bawah, bukan di samping */
@media (max-width: 920px) {
  .nav .nav-user { flex-direction: column; align-items: stretch; padding-left: 0; width: 100%; }
  .nav .nav-user > button { width: 100%; }
  .nav .nav-user > .dd-menu { position: static !important; left: auto !important; right: auto !important; top: auto !important; }
  .nav .nav-user > .dd-menu a, .nav .nav-user > .dd-menu button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; }
}

/* v43 — perbaikan navigasi bawah & lembar menu */
.account-nav.m-only { display: none; }
@media (max-width: 920px) {
  /* animasi di pembungkus membuat konteks tumpukan baru → lembar tertutup elemen footer; pindahkan animasi ke konten */
  .wrap.account { animation: none !important; }
  .wrap.account > div:last-child { animation: pageFade .45s var(--ease, ease) both; }
  .m-tabbar { z-index: 95; }
  .account-nav { z-index: 90; padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important; max-height: calc(100vh - 40px); }
  .m-sheet-backdrop { z-index: 85; }
  body.msheet .m-tabbar button[data-msheet] .m-tab-ic { background: rgba(255,255,255,.16); }
  .account-nav.m-only { display: block !important; }
}
@media (min-width: 921px) { .account-nav.m-only { display: none !important; } }

/* v43 — latihan menulis kanji */
.kp-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 4px; }
.kp-back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; transition: border-color .2s, color .2s; }
.kp-back:hover { border-color: var(--brand); color: var(--brand-ink); }
.kp-prog { flex: 1; min-width: 140px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.kp-prog b { color: var(--text); font-size: 15px; }
.kp-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--surface-3, var(--surface-2)); overflow: hidden; }
.kp-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.kj-wrap.kp { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 22px; margin-top: 14px; }
.kp-board { padding: 18px; display: grid; gap: 14px; justify-items: center; border-radius: 24px; box-shadow: 0 24px 50px -34px rgba(11,10,16,.45); }
.kp-board .kj-canvas { max-width: 380px; border-radius: 20px; border: 2px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  background:
    linear-gradient(to right, transparent calc(50% - .5px), color-mix(in srgb, var(--brand) 25%, var(--line)) calc(50% - .5px), color-mix(in srgb, var(--brand) 25%, var(--line)) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(to bottom, transparent calc(50% - .5px), color-mix(in srgb, var(--brand) 25%, var(--line)) calc(50% - .5px), color-mix(in srgb, var(--brand) 25%, var(--line)) calc(50% + .5px), transparent calc(50% + .5px)),
    var(--surface-2);
  box-shadow: inset 0 2px 10px rgba(11,10,16,.05); }
.kp-modes { width: 100%; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px !important; padding: 4px; border-radius: 16px; background: var(--surface-2); }
.kp-modes .btn { width: 100%; justify-content: center; border-radius: 12px; padding: 9px 6px; font-size: 13px; gap: 6px; white-space: nowrap; box-shadow: none; }
.kp-modes .btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.kp-modes .btn.ghost:hover { background: var(--surface); color: var(--brand-ink); }
.kp-modes .btn:not(.ghost) { box-shadow: 0 8px 18px -10px rgba(241,94,38,.9); }
.kp-board .kj-status { min-height: 0; padding: 9px 16px; border-radius: 999px; background: var(--surface-2); font-size: 14px; font-weight: 500; }
.kp-board .kj-status.ok { background: var(--ok-bg); }
.kp-board .kj-status.warn { background: color-mix(in srgb, #f59e0b 14%, transparent); }
.kp-board .kj-status.err { background: color-mix(in srgb, var(--err) 12%, transparent); }

.kp-info { display: grid; gap: 14px; align-content: start; min-width: 0; }
.kp-hero { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 24px; color: #fff; border: 0; overflow: hidden; position: relative;
  background: radial-gradient(260px 160px at 100% 0%, rgba(255,255,255,.2), transparent 70%), linear-gradient(135deg, var(--brand), #B8361A); box-shadow: 0 22px 44px -26px rgba(241,94,38,.9); }
.kp-glyph { flex: none; width: 108px; height: 108px; display: grid; place-items: center; font-size: 76px; line-height: 1; border-radius: 20px; color: #1d1418; box-shadow: 0 10px 24px -12px rgba(0,0,0,.45);
  background: linear-gradient(to right, transparent calc(50% - .5px), rgba(241,94,38,.18) calc(50% - .5px), rgba(241,94,38,.18) calc(50% + .5px), transparent calc(50% + .5px)), linear-gradient(to bottom, transparent calc(50% - .5px), rgba(241,94,38,.18) calc(50% - .5px), rgba(241,94,38,.18) calc(50% + .5px), transparent calc(50% + .5px)), #fff; }
.kp-meta { min-width: 0; }
.kp-lv { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.kp-meta h1 { margin: 2px 0 8px; font-size: 22px; color: #fff; }
.kp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kp-chip { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28); }
.kp-chip.ok { background: #fff; color: #15803d; border-color: #fff; }
.kp-sec { padding: 16px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.kp-sec h2, .kp-tips summary { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 700; }
.kp-sec h2 .ic, .kp-tips summary .ic { color: var(--brand); }
.kp-words { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.kp-words li { padding: 11px 14px; border-radius: 14px; background: var(--surface-2); border-left: 3px solid var(--brand); }
.kp-words li div { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.kp-words b { font-size: 18px; }
.kp-words span { color: var(--muted); font-size: 14px; }
.kp-words small { display: block; margin-top: 2px; font-size: 14px; color: var(--text-2); }
.kp-tips summary { cursor: pointer; list-style: none; }
.kp-tips summary::-webkit-details-marker { display: none; }
.kp-tips summary::after { content: "+"; margin-left: auto; font-size: 20px; font-weight: 400; color: var(--muted); transition: transform .2s; }
.kp-tips[open] summary::after { transform: rotate(45deg); }
.kp-tips ol { margin: 12px 0 8px; padding: 0; list-style: none; counter-reset: kp; display: grid; gap: 8px; }
.kp-tips li { counter-increment: kp; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.kp-tips li::before { content: counter(kp); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.kp-tips p { margin: 0; font-size: 13px; color: var(--muted); }
.kp-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kp-step { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.kp-step:hover { transform: translateY(-2px); border-color: var(--brand); }
.kp-step span { display: grid; line-height: 1.2; }
.kp-step small { font-size: 12px; color: var(--muted); }
.kp-step b { font-size: 22px; }
.kp-step.next { justify-content: flex-end; text-align: right; color: #fff; border: 0; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 12px 26px -14px rgba(241,94,38,.9); }
.kp-step.next small { color: rgba(255,255,255,.85); }
.kp-credit { margin-top: 18px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) {
  .kj-wrap.kp { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .kp-board { padding: 14px; border-radius: 22px; }
  .kp-modes .btn { font-size: 12.5px; padding: 9px 4px; }
  .kp-modes .btn .ic { display: none; }
  .kp-hero { padding: 16px; gap: 14px; }
  .kp-glyph { width: 88px; height: 88px; font-size: 62px; border-radius: 18px; }
}
@media (max-width: 760px) { .kp-modes .btn { white-space: normal; line-height: 1.2; min-height: 44px; padding: 6px 4px; } .kp-modes .btn span { overflow: visible; } }

/* =========================================================
   v44 — halaman latihan & akun: header gradasi, level chip, kartu modern
   ========================================================= */
/* Header gradasi */
.px-hero { position: relative; overflow: hidden; padding: 20px 22px; margin-bottom: 16px; border-radius: 24px; color: #fff;
  background: radial-gradient(340px 200px at 100% 0%, rgba(255,255,255,.2), transparent 70%), linear-gradient(135deg, var(--brand) 0%, #D9461B 55%, #9A2A12 100%);
  box-shadow: 0 22px 46px -28px rgba(241,94,38,.9); }
.px-hero::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; border: 26px solid rgba(255,255,255,.07); pointer-events: none; }
.px-hero-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; min-height: 4px; }
.px-back { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px 5px 8px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.26); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
.px-back:hover { background: rgba(255,255,255,.26); color: #fff; }
.px-jp { margin-left: auto; font-size: 13px; opacity: .85; letter-spacing: .06em; }
.px-hero h1 { margin: 2px 0 6px; font-size: clamp(24px, 4vw, 30px); color: #fff; letter-spacing: -.01em; }
.px-hero p { margin: 0; max-width: 640px; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.92); }
.px-hero p b { color: #fff; }
.px-stat { position: relative; z-index: 1; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); display: grid; gap: 8px; max-width: 420px; }
.px-stat > div:first-child { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.px-stat b { font-size: 22px; line-height: 1; }
.px-stat span { font-size: 13px; opacity: .9; }
.px-bar { height: 7px; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; }
.px-bar i { display: block; height: 100%; border-radius: inherit; background: #fff; }

/* Level chip yang bisa digeser */
.lv-scroll { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 10px; margin: 0 0 8px; scrollbar-width: none; }
.lv-scroll::-webkit-scrollbar { display: none; }
.lv-scroll a { flex: none; scroll-snap-align: start; position: relative; overflow: hidden; display: grid; gap: 1px; min-width: 76px; padding: 9px 14px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.lv-scroll a:hover { border-color: var(--brand); transform: translateY(-1px); }
.lv-scroll b { font-size: 14px; }
.lv-scroll small { font-size: 12px; color: var(--muted); }
.lv-scroll i { position: absolute; left: 10px; right: 10px; bottom: 6px; height: 3px; border-radius: 9px; background: color-mix(in srgb, var(--brand) 14%, var(--line)); }
.lv-scroll i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: var(--brand); }
.lv-scroll a.active { background: var(--text); color: var(--bg); border-color: var(--text); box-shadow: 0 10px 22px -14px rgba(11,10,16,.7); }
.lv-scroll a.active small { color: inherit; opacity: .7; }
.lv-scroll a.active i { background: rgba(127,127,127,.35); }

/* Judul seksi kecil */
.rf-h { font-size: 17px; margin: 22px 0 10px; }

/* ---------- Ajak teman ---------- */
.rf-flow { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: rf; }
.rf-flow li { position: relative; display: grid; justify-items: center; text-align: center; gap: 2px; padding: 14px 8px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.rf-flow li::before { counter-increment: rf; content: counter(rf); position: absolute; top: 8px; left: 10px; font-size: 11px; font-weight: 700; color: var(--muted); }
.rf-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 4px; color: var(--brand-ink); background: var(--brand-soft); }
.rf-flow b { font-size: 13.5px; line-height: 1.25; }
.rf-flow small { font-size: 12px; color: var(--muted); line-height: 1.3; }
.rf-card { padding: 18px; border-radius: 22px; display: grid; gap: 10px; }
.rf-code-box { display: grid; justify-items: center; gap: 2px; padding: 16px 12px; border-radius: 16px; border: 2px dashed color-mix(in srgb, var(--brand) 40%, var(--line)); background: color-mix(in srgb, var(--brand) 6%, var(--surface)); }
.rf-code-big { font: 800 clamp(24px, 6vw, 30px)/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; color: var(--brand-ink); word-break: break-all; text-align: center; }
.rf-lbl { margin: 4px 0 0; font-weight: 600; font-size: 13.5px; }
.rf-linkbox { display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2); }
.rf-linkbox input { flex: 1; min-width: 0; margin: 0 !important; padding: 6px 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; font: 500 13.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text-2); text-overflow: ellipsis; }
.rf-linkbox .btn { flex: none; border-radius: 10px; }
.rf-wa { width: 100%; justify-content: center; background: #25D366 !important; border-color: #25D366 !important; color: #fff !important; box-shadow: 0 10px 22px -14px rgba(37,211,102,.9) !important; }
.rf-card .rf-custom { margin: 2px 0 0; padding: 0; border: 0; }
.rf-custom summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 10px 2px 2px; font-size: 14px; font-weight: 600; color: var(--brand-ink); }
.rf-custom summary::-webkit-details-marker { display: none; }
.rf-custom summary::after { content: "›"; margin-left: auto; font-size: 20px; color: var(--muted); transition: transform .2s; }
.rf-custom[open] summary::after { transform: rotate(90deg); }
.rf-custom form { margin-top: 10px; }
.rf-custom p { margin: 8px 0 0; }
.rf-custom input { text-transform: uppercase; letter-spacing: .08em; }
.rf-stats { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.rf-stats div { display: grid; justify-items: center; gap: 2px; padding: 14px 6px; text-align: center; }
.rf-stats div + div { border-left: 1px solid var(--line); }
.rf-stats b { font-size: 24px; line-height: 1.1; }
.rf-stats span { font-size: 12px; color: var(--muted); }
.rf-empty { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 18px; border-style: dashed; }
.rf-empty span { font-size: 28px; }
.rf-empty p { margin: 0; font-size: 14px; color: var(--text-2); }
.rf-friends { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rf-friends li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; }
.rf-friends li > div { flex: 1; min-width: 0; display: grid; }
.rf-friends small { color: var(--muted); font-size: 12.5px; }

/* ---------- Daftar kanji ---------- */
.kl-continue { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-bottom: 12px; border-radius: 20px; text-decoration: none; color: var(--text); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); transition: transform .2s var(--ease), box-shadow .2s; }
.kl-continue:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(241,94,38,.8); color: var(--text); }
.kl-next { flex: none; width: 56px; height: 56px; display: grid; place-items: center; font-size: 34px; border-radius: 16px; background: var(--brand-soft); color: var(--brand-ink); }
.kl-next-txt { flex: 1; min-width: 0; display: grid; }
.kl-next-txt small { font-size: 12px; color: var(--muted); }
.kl-next-txt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kl-go { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 18px -10px rgba(241,94,38,.9); }
.kl-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.kl-legend span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); }
.kl-grid { gap: 8px; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); }
.kl-grid .kj-cell { border-radius: 14px; font-size: 27px; box-shadow: 0 1px 0 var(--line), 0 6px 14px -12px rgba(11,10,16,.4); transition: transform .15s var(--ease), border-color .15s; }
.kl-grid .kj-cell:hover { transform: translateY(-2px); }
.kl-grid .kj-cell.m { position: relative; }
.kl-grid .kj-cell.m::after { content: "✓"; position: absolute; top: 3px; right: 5px; font: 700 10px var(--font); color: var(--ok); }

/* ---------- Berbicara ---------- */
.sp-app { padding: 18px; border-radius: 24px; }
.sp-top { display: flex; align-items: center; gap: 10px; }
.sp-pos { font-size: 13px; font-weight: 600; color: var(--text-2); padding: 5px 12px; border-radius: 999px; background: var(--surface-2); }
.sp-rate { display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 0 4px 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); }
.sp-rate select { width: auto; margin: 0; padding: 6px 26px 6px 4px !important; border: 0 !important; background-color: transparent !important; box-shadow: none !important; font-size: 13.5px !important; font-weight: 600; min-height: 0; }
.sp-sentence { margin: 14px 0 6px; padding: 26px 14px 22px; border-radius: 20px; background: radial-gradient(260px 120px at 50% 0%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 70%), var(--surface-2); }
.sp-jp { font-size: clamp(22px, 6vw, 30px); }
.sp-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-top: 14px; }
.sp-btn { display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border: 0; background: none; color: var(--text-2); font: inherit; cursor: pointer; border-radius: 16px; transition: background .2s; }
.sp-btn span { width: 52px; height: 52px; display: grid; place-items: center; font-size: 22px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); transition: transform .15s var(--ease); }
.sp-btn small { font-size: 12.5px; font-weight: 600; }
.sp-btn:hover span { transform: scale(1.06); }
.sp-btn:disabled { opacity: .5; cursor: default; }
.sp-mic span { width: 76px; height: 76px; font-size: 32px; border: 0; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 14px 30px -14px rgba(241,94,38,.95), 0 0 0 8px color-mix(in srgb, var(--brand) 12%, transparent); }
.sp-mic small { color: var(--brand-ink); }
.sp-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.sp-nav .btn { border-radius: 12px; gap: 4px; justify-content: center; }
.sp-nav #sp-next { justify-self: end; }
.sp-nav #sp-prev { justify-self: start; }
.sp-result { border-radius: 18px; }
.sp-all { margin-top: 14px; }
@media (max-width: 420px) { .sp-nav .btn span { display: none; } .sp-nav #sp-shuffle span { display: inline; } }

/* ---------- Flashcard: daftar deck ---------- */
.fc-today { display: grid; gap: 14px; padding: 16px; border-radius: 22px; margin-bottom: 4px; }
.fc-today-main { display: flex; align-items: center; gap: 14px; }
.fc-today-main > div { display: grid; min-width: 0; }
.fc-today-main small { color: var(--muted); font-size: 13px; }
.fc-today-n { flex: none; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; align-content: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 12px 24px -14px rgba(241,94,38,.95); }
.fc-today-n b { font-size: 24px; line-height: 1; }
.fc-today-n small { font-size: 10.5px; opacity: .9; color: #fff !important; }
.fc-today > .btn { justify-content: center; }
.fc-today-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 16px; background: var(--surface-2); }
.fc-today-stats div { display: grid; justify-items: center; padding: 10px 4px; }
.fc-today-stats div + div { border-left: 1px solid var(--line); }
.fc-today-stats b { font-size: 18px; }
.fc-today-stats span { font-size: 12px; color: var(--muted); }
.fc-decks { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.fc-deck { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; text-decoration: none; color: var(--text); transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.fc-deck:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); color: var(--text); }
.fc-deck.due { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.fc-ring { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--brand) calc(var(--p) * 1%), color-mix(in srgb, var(--brand) 12%, var(--surface-2)) 0); }
.fc-ring b { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-size: 14px; }
.fc-ring small { font-size: 9px; }
.fc-ring b { grid-auto-flow: column; align-content: center; }
.fc-deck-txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.fc-deck-txt b { font-size: 15px; line-height: 1.3; }
.fc-deck-txt .cat { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.fc-deck-txt small { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-due { flex: none; display: grid; justify-items: center; padding: 6px 10px; border-radius: 14px; background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); font-weight: 800; font-size: 17px; line-height: 1; }
.fc-due small { font-size: 10.5px; font-weight: 600; margin-top: 2px; }
.fc-go { flex: none; color: var(--muted); }

/* ---------- Flashcard: halaman deck ---------- */
.fc-stats2 { margin: 18px 0 18px; padding: 14px; border-radius: 22px; display: grid; gap: 12px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; }
.fc-s2-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 16px; background: var(--surface-2); }
.fc-s2-grid div { display: grid; justify-items: center; text-align: center; padding: 10px 4px; }
.fc-s2-grid div + div { border-left: 1px solid var(--line); }
.fc-s2-grid b { font-size: 22px; line-height: 1.1; }
.fc-s2-grid span { font-size: 11.5px; color: var(--muted); line-height: 1.25; }
.fc-s2-grid .due b { color: var(--brand-ink); }
.fc-s2-known { padding: 0 4px; display: grid; gap: 8px; }
.fc-howto2 { margin: 4px 0 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); }
.fc-howto2 summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.fc-howto2 summary::-webkit-details-marker { display: none; }
.fc-howto2 summary .ic { color: var(--brand); }
.fc-howto2 summary::after { content: "+"; margin-left: auto; font-size: 18px; color: var(--muted); transition: transform .2s; }
.fc-howto2[open] summary::after { transform: rotate(45deg); }
.fc-howto2 p { margin: 10px 0 0; }
.fc-howto-b { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fc-dir-label { margin: 8px 0 -6px; font-weight: 600; letter-spacing: .02em; }

/* ---------- Placement & tryout ---------- */
.pt-facts span, .page-hero .pt-facts span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.pt-facts { gap: 8px; }
.pt-start { position: relative; padding: 22px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); box-shadow: 0 24px 50px -32px rgba(241,94,38,.8); }
.pt-start::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 24px 24px 0 0; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.pt-start .check { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); align-items: flex-start; }
.pt-start .btn.lg { width: 100%; justify-content: center; }
.pt-steps { counter-reset: pt; gap: 0; position: relative; }
.pt-steps .feature { counter-increment: pt; position: relative; padding: 0 0 20px; }
.pt-steps .feature .fi { position: relative; z-index: 1; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 18px -10px rgba(241,94,38,.9); }
.pt-steps .feature:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--brand) 40%, transparent) 0 5px, transparent 5px 10px); }
.pt-steps .feature h3::before { content: "Langkah " counter(pt); display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 2px; }
.pt-levels { display: flex; flex-wrap: wrap; gap: 6px; }
.to-level { margin-top: 30px; }
.to-card { position: relative; overflow: hidden; border-radius: 20px; padding: 18px 18px 16px 22px; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.to-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--brand), var(--brand-2)); }
.to-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -26px rgba(241,94,38,.8); }
.to-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.to-meta span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.to-card h3 { font-size: 17px; }

@media (max-width: 640px) {
  .px-hero { padding: 18px; border-radius: 22px; }
  .px-hero p { font-size: 14px; }
  .fc-stats2 { grid-template-columns: minmax(0, 1fr); }
  .fc-dirs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-right: calc(-1 * var(--m-gutter, 20px)); padding-right: var(--m-gutter, 20px); }
  .fc-dirs button { flex: none; }
  .pt-facts { justify-content: center; }
  .pt-facts span { font-size: 13px; }
  .to-level { font-size: 20px; }
  .rf-flow li { padding: 12px 6px 10px; }
}
@media (min-width: 641px) { .fc-today { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .fc-today-stats { grid-column: 1 / -1; } }
.fc-ring b { display: flex; align-items: baseline; justify-content: center; gap: 0; }
.pt-start { overflow: hidden; }
.pt-start::before { border-radius: 0; }

/* =========================================================
   v45 — detail tryout, checkout kelas private, kartu gamifikasi dashboard
   ========================================================= */
/* ---------- Detail tryout ---------- */
.td-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; margin-top: 20px; max-width: 460px; }
.td-facts div { display: grid; justify-items: center; padding: 10px 6px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.td-facts b { font-size: 22px; line-height: 1.1; color: #fff; }
.td-facts span { font-size: 12px; color: #D9CCC4; }
.td-h { margin: 0 0 12px; font-size: 22px; }
.to-detail > div > .td-h ~ .td-h { margin-top: 28px; }
.td-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.td-steps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 0 0 12px; }
.td-steps li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--brand) 45%, transparent) 0 4px, transparent 4px 8px); }
.td-no { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 18px -10px rgba(241,94,38,.9); position: relative; z-index: 1; }
.td-steps li > div { flex: 1; min-width: 0; display: grid; gap: 2px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.td-steps li > div b { font-size: 15px; line-height: 1.35; }
.td-steps li > div span { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); }
.td-time { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); }
.to-rule { gap: 10px; }
.to-rule > div { border-radius: 16px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); }
.to-rule > .td-score { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; }
.td-score > b { font-size: 14.5px; line-height: 1.35; }
.td-score > span { white-space: nowrap; }
.td-bar { grid-column: 1 / -1; position: relative; height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--ok) 22%, var(--surface-2)); overflow: hidden; }
.td-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--m); background: color-mix(in srgb, var(--err) 30%, var(--surface-2)); }
.td-bar::after { content: ""; position: absolute; top: -2px; bottom: -2px; left: var(--m); width: 2px; background: var(--text); }
.to-rule > .to-rule-pass { display: grid; gap: 4px; background: color-mix(in srgb, var(--ok) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); }
.to-rule-pass > b { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); }
.to-rule-kaigo .to-part-head { border: 0 !important; padding: 14px 2px 0 !important; }
.to-start { border-radius: 22px; padding: 20px; border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); box-shadow: 0 24px 50px -32px rgba(241,94,38,.8); overflow: hidden; }
.to-start::before { content: ""; display: block; height: 4px; margin: -20px -20px 16px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.to-tips { list-style: none; padding: 0; margin: 8px 0 14px; display: grid; gap: 8px; }
.to-tips li { display: flex; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); color: var(--text-2); }
.to-tips li::before { content: "✓"; color: var(--brand-ink); font-weight: 700; }
.to-hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.to-hist li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); }
.to-hist a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
@media (max-width: 860px) {
  .to-detail { gap: 20px; }
  .to-start { order: -1; position: static; }
}

/* ---------- Checkout kelas private ---------- */
.pv-buy { padding: 0; overflow: hidden; border-radius: 24px; }
.pv-buy > :not(.pv-buy-head) { margin-left: 18px; margin-right: 18px; }
.pv-buy > form { padding-bottom: 18px; }
.pv-buy > :last-child:not(form) { margin-bottom: 18px; }
.pv-buy-head { padding: 18px 18px 16px; color: #fff; background: radial-gradient(300px 160px at 100% 0%, rgba(255,255,255,.18), transparent 70%), linear-gradient(135deg, #1A1520, #0B0A10); }
.pv-buy-lbl { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #FFB592; font-weight: 700; }
.pv-buy-head .pv-price-big { margin-top: 4px; }
.pv-buy-head .pv-price-big b { color: #fff; font-size: clamp(28px, 7vw, 34px); }
.pv-buy-head .pv-price-big s { color: rgba(255,255,255,.55); font-size: 15px; }
.pv-buy-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pv-buy-meta span { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: #EDE3DD; }
.pv-buy-meta .pv-save { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pv-buy-head .pv-seats { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; color: #EDE3DD; }
.pv-buy-head .pv-seats b { color: #fff; }
.pv-seat-bar { flex-basis: 100%; height: 6px; border-radius: 99px; background: rgba(255,255,255,.14); overflow: hidden; display: block; }
.pv-seat-bar > i { display: block; height: 100%; background: linear-gradient(90deg, #FFB592, var(--brand)); border-radius: inherit; }
.promo-box { padding: 6px; border-radius: 16px; border: 1.5px dashed color-mix(in srgb, var(--brand) 35%, var(--line)); background: color-mix(in srgb, var(--brand) 4%, var(--surface)); box-shadow: none; }
.promo-box .promo-line { padding: 8px 10px 0; }
.promo-form { gap: 6px; padding: 0 0 0 10px; }
.promo-ic { flex: none; font-size: 16px; }
.promo-form input[type=text] { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 8px 4px !important; font-weight: 600; letter-spacing: .06em; }
.promo-form input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }
.promo-form .btn { border-radius: 12px; }
.pv-buy form { counter-reset: pvs; }
.pv-step { counter-increment: pvs; display: flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; }
.pv-step::before { content: counter(pvs); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.pv-buy textarea, .pv-buy input[type=text] { border-radius: 14px; }
.pv-buy .alert { border-radius: 14px; }
.pv-methods { gap: 8px; max-height: 360px; padding: 2px 4px 2px 0; }
.pv-mgroup { margin: 10px 0 0; font-weight: 700; }
.pv-method { min-height: 56px; padding: 10px 12px; border-radius: 14px; background: var(--surface); transition: border-color .15s, background .15s, box-shadow .15s; }
.pv-method input { accent-color: var(--brand); width: 18px; height: 18px; margin: 0; flex: none; }
.pv-method img { height: 22px; max-width: 64px; object-fit: contain; }
.pv-method span { flex: 1; min-width: 0; font-weight: 600; }
.pv-method small { font-weight: 500; }
.pv-method:has(input:checked) { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.pv-pay { border-radius: 16px; box-shadow: 0 14px 28px -14px rgba(241,94,38,.95); }

/* ---------- Dashboard: level & streak ---------- */
.gm-card { padding: 16px; border-radius: 22px; display: grid; gap: 14px; }
.gm-top { display: flex; align-items: center; gap: 14px; }
.gm-lv { width: 62px; height: 62px; border-radius: 18px; box-shadow: 0 12px 24px -12px rgba(241,94,38,.95); }
.gm-xp { flex: 1; min-width: 0; display: grid; gap: 8px; }
.gm-xp-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.gm-xp-row b { font-size: 18px; }
.gm-xp-row span { font-size: 12.5px; color: var(--muted); }
.gm-bar { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.gm-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-2)); box-shadow: 0 0 12px rgba(241,94,38,.5); }
.gm-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gm-chip { display: grid; justify-items: center; text-align: center; gap: 1px; padding: 10px 6px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .2s var(--ease), border-color .2s; }
.gm-chip:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--text); }
.gm-ic { font-size: 18px; line-height: 1; }
.gm-chip b { font-size: 19px; line-height: 1.2; }
.gm-chip small { font-size: 11.5px; color: var(--muted); line-height: 1.25; }
.gm-chip.on { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, var(--surface)), var(--brand-soft)); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.gm-chip.on b { color: var(--brand-ink); }
.gm-chip.warn { border-color: #f59e0b; }
.gm-goal { padding: 16px; border-radius: 22px; display: grid; gap: 14px; }
.gm-goal-top { display: flex; align-items: center; gap: 14px; }
.gm-goal .sk-ring.sm { width: 84px; height: 84px; }
.gm-goal .sk-ring.sm b { width: 68px; height: 68px; font-size: 20px; }
.gm-goal .sk-ring.sm small { font-size: 10px; }
.gm-goal-txt { flex: 1; min-width: 0; display: grid; gap: 4px; }
.gm-goal-txt > small { font-size: 12.5px; color: var(--muted); }
.gm-goal-txt > b { font-size: 16px; line-height: 1.35; }
.gm-tags { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; }
.gm-tags > * { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); text-decoration: none; }
.gm-tags a { color: var(--brand-ink); font-weight: 600; }
.gm-cal { padding: 12px; border-radius: 16px; background: var(--surface-2); }
.gm-cal-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 13px; }
.gm-cal-head a { font-size: 12.5px; font-weight: 600; text-decoration: none; }
.gm-cal .sk-mini { max-width: 100%; }
.gm-cal .sk-cal-wrap { overflow: hidden; }
.gm-cal .sk-cal { width: 100%; grid-template-rows: repeat(7, auto); grid-auto-columns: minmax(0, 1fr); gap: 3px; }
.gm-cal .sk-cal i { width: auto; height: auto; aspect-ratio: 1; border-radius: 4px; }
.gm-cal .sk-cal i:not([class*="l"]):not(.fz), .gm-cal .sk-cal i.l0 { background: var(--surface); }
.gm-cal .sk-cal i.td { outline: 2px solid var(--text); outline-offset: 1px; }
@media (min-width: 900px) {
  .gm-goal { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
}

/* v46 — tombol mode kanji: ikon di atas, label boleh 2 baris (tidak terpotong di kolom sempit) */
.kp-modes .btn { flex-direction: column; gap: 3px !important; white-space: normal !important; line-height: 1.2; min-height: 54px; padding: 8px 6px !important; text-align: center; font-size: 12.5px; }
.kp-modes .btn .ic { display: block !important; flex: none; }
.kp-modes .btn span { overflow: visible; }

/* =========================================================
   v47 — Kelas Private, Program, Blog, Membership, Tentang, Karier
   ========================================================= */
.page-hero .lead b { color: #fff; }

/* ---------- Kelas Private ---------- */
.pvx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.pvx-hero .lead { color: #E3D6CE; max-width: 560px; }
.pvx-cta { margin-top: 24px; gap: 10px; }
.pvx-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pvx-perks li { display: grid; gap: 8px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.pvx-perks li > span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.pvx-perks b { display: block; color: #fff; font-size: 14.5px; }
.pvx-perks small { color: #CFC2BA; font-size: 12.5px; }
.pvx-head, .cr-jobs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.pvx-head h2, .cr-jobs-head h2 { margin: 0; font-size: 24px; }
.pvx-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.pvx-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 22px; text-decoration: none; color: var(--text); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.pvx-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: 0 24px 50px -30px rgba(241,94,38,.75); color: var(--text); }
.pvx-cover { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand), #9A2A12); display: grid; place-items: center; overflow: hidden; }
.pvx-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pvx-card:hover .pvx-cover img { transform: scale(1.04); }
.pvx-cover > .jp { font-size: 54px; color: rgba(255,255,255,.9); }
.pvx-tag, .pvx-save { position: absolute; top: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pvx-tag { left: 12px; background: rgba(11,10,16,.78); color: #fff; backdrop-filter: blur(6px); }
.pvx-save { right: 12px; background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(241,94,38,.9); }
.pvx-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.pvx-cats { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; }
.pvx-cats .cat { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.pvx-lv { padding: 2px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; }
.pvx-body h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.pvx-body p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.pvx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 14px; background: var(--surface-2); margin-top: 4px; }
.pvx-facts span { display: grid; justify-items: center; padding: 9px 4px; font-size: 12px; color: var(--muted); text-align: center; }
.pvx-facts span + span { border-left: 1px solid var(--line); }
.pvx-facts b { font-size: 16px; color: var(--text); }
.pvx-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.pvx-price { display: grid; justify-items: end; line-height: 1.15; white-space: nowrap; }
.pvx-price s { font-size: 12.5px; color: var(--muted); }
.pvx-price b { font-size: 21px; color: var(--brand-ink); }
.pvx-go { margin-top: 4px; justify-content: center; border-radius: 14px; }
.pvx-list.wide { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) {
  .pvx-list.wide .pvx-card { flex-direction: row; }
  .pvx-list.wide .pvx-cover { flex: 0 0 46%; aspect-ratio: auto; min-height: 300px; }
  .pvx-list.wide .pvx-body { padding: 26px 28px; gap: 10px; }
  .pvx-list.wide .pvx-body h3 { font-size: 24px; }
  .pvx-list.wide .pvx-go { align-self: flex-start; padding-left: 26px; padding-right: 26px; width: auto; }
}
.pvx-alt { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 18px 20px; border-radius: 20px; border-style: dashed; flex-wrap: wrap; }
.pvx-alt > div { flex: 1; min-width: 220px; }
.pvx-alt p { margin: 2px 0 0; }
.pvx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: none; position: relative; }
.pvx-steps li { position: relative; padding: 22px 18px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.pvx-steps h3 { margin: 12px 0 4px; font-size: 16px; }
.pvx-steps p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.pvx-no { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 18px -10px rgba(241,94,38,.9); }
@media (max-width: 900px) { .pvx-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; } .pvx-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pvx-perks { grid-template-columns: 1fr 1fr; gap: 8px; } .pvx-perks li { padding: 12px; } .pvx-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Daftar program ---------- */
.pgl-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.pg-list-hero .lead { color: #E3D6CE; }
.pgl-search { display: flex; align-items: center; gap: 8px; max-width: 560px; margin-top: 20px; padding: 6px 6px 6px 16px; border-radius: 16px; background: #fff; box-shadow: 0 16px 40px -22px rgba(0,0,0,.6); }
.pgl-search > .ic { color: #8a7d76; flex: none; }
.pgl-search input { flex: 1; min-width: 0; margin: 0 !important; border: 0 !important; box-shadow: none !important; background: transparent !important; color: #1d1418 !important; padding: 8px 4px !important; }
.pgl-search .btn { border-radius: 12px; }
.pg-list-hero .pt-cta { margin-top: 14px; }
.pgl-path { padding: 18px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.pgl-path-lbl { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FFB592; margin-bottom: 10px; }
.pgl-path ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; position: relative; }
.pgl-path li { position: relative; }
.pgl-path li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; height: 14px; width: 2px; background: rgba(255,181,146,.35); }
.pgl-path a { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 0; border-radius: 14px; color: #fff; text-decoration: none; transition: background .2s; }
.pgl-path a:hover, .pgl-path a.on { background: rgba(255,255,255,.07); }
.pgl-k { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: linear-gradient(135deg, var(--brand), #B8361A); box-shadow: 0 8px 18px -10px rgba(241,94,38,.9); }
.pgl-t { flex: 1; min-width: 0; display: grid; }
.pgl-t b { font-size: 14.5px; }
.pgl-t small { font-size: 12.5px; color: #CFC2BA; }
.pgl-n { flex: none; min-width: 28px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12.5px; font-weight: 700; text-align: center; }
@media (max-width: 900px) { .pgl-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 640px) {
  .pgl-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--m-gutter, 20px)); padding-right: var(--m-gutter, 20px); padding-bottom: 4px; }
  .pgl-pills a { flex: none; }
}

/* ---------- Blog ---------- */
.bl-hero .lead { color: #E3D6CE; max-width: 640px; }
.bl-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.bl-cats a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-weight: 600; font-size: 14px; text-decoration: none; transition: all .2s var(--ease); }
.bl-cats a small { padding: 1px 7px; border-radius: 999px; background: var(--surface-2); font-size: 11.5px; color: var(--muted); }
.bl-cats a:hover { border-color: var(--brand); color: var(--brand-ink); }
.bl-cats a.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.bl-cats a.active small { background: rgba(127,127,127,.3); color: inherit; }
.bl-feat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); padding: 0; overflow: hidden; border-radius: 24px; margin-bottom: 24px; text-decoration: none; color: var(--text); transition: box-shadow .25s, transform .25s var(--ease); }
.bl-feat:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -32px rgba(11,10,16,.6); color: var(--text); }
.bl-feat-img { background: var(--surface-2); min-height: 280px; display: grid; place-items: center; overflow: hidden; }
.bl-feat-img img { width: 100%; height: 100%; object-fit: cover; }
.bl-feat-body { display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: 28px 30px; }
.bl-new { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; }
.bl-feat-body .cat, .bl-body .cat { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.bl-feat-body h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; }
.bl-feat-body p { margin: 0; color: var(--text-2); line-height: 1.6; }
.bl-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-top: auto; }
.bl-read { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--brand-ink); }
.bl-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.bl-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 20px; text-decoration: none; color: var(--text); transition: transform .25s var(--ease), box-shadow .25s; }
.bl-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -30px rgba(11,10,16,.6); color: var(--text); }
.bl-img { aspect-ratio: 16 / 9; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.bl-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.bl-card:hover .bl-img img { transform: scale(1.04); }
.bl-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.bl-body h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.bl-body p { margin: 0 0 6px; font-size: 14px; color: var(--text-2); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 800px) { .bl-feat { grid-template-columns: minmax(0, 1fr); } .bl-feat-img { min-height: 0; aspect-ratio: 16 / 9; } .bl-feat-body { padding: 18px 20px 20px; } }
@media (max-width: 640px) { .bl-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--m-gutter, 20px)); padding-right: var(--m-gutter, 20px); padding-bottom: 4px; } .bl-cats a { flex: none; } }

/* ---------- Membership: tabel perbandingan ---------- */
.cmp-wrap { max-width: 1060px; }
.cmp-scroll { border-radius: 20px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 20px 44px -34px rgba(11,10,16,.5); }
.cmp { min-width: 760px; }
.cmp th:first-child, .cmp td:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); min-width: 220px; font-weight: 600; text-align: left; }
.cmp thead th { background: var(--surface-2); vertical-align: bottom; padding-top: 18px; }
.cmp thead th:first-child { background: var(--surface-2); }
.cmp thead th b { display: block; font-size: 14px; }
.cmp thead th small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.cmp tbody tr:hover td { background: color-mix(in srgb, var(--brand) 4%, var(--surface)); }
.cmp .cmp-pop { background: color-mix(in srgb, var(--brand) 7%, var(--surface)); }
.cmp thead .cmp-pop { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 18%, var(--surface-2)), color-mix(in srgb, var(--brand) 9%, var(--surface-2))); box-shadow: inset 0 3px 0 var(--brand); }
.cmp-badge { display: inline-block; margin-bottom: 6px; padding: 2px 9px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; }
.cmp tbody tr:last-child td { border-bottom: 0; }

/* ---------- Tentang ---------- */
.about-stats .card { border-radius: 18px; position: relative; overflow: hidden; }
.about-stats .card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.about-stats b { background: linear-gradient(135deg, var(--brand), #B8361A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card.mission { border-radius: 20px; transition: transform .25s var(--ease), box-shadow .25s; }
.card.mission:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -30px rgba(241,94,38,.6); }
.about-eco .card.feature { border-radius: 18px; }

/* ---------- Karier ---------- */
.cr-hero .lead { color: #E3D6CE; max-width: 680px; }
.cr-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cr-hero-tags span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #EDE3DD; font-size: 13px; }
.cr-track { padding: 22px; border-radius: 24px; margin-bottom: 26px; }
.cr-track-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.cr-track-head h2 { margin: 0; font-size: 20px; }
.cr-track-n { padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; font-size: 13px; }
.cr-track-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cr-track-steps li { display: flex; gap: 12px; padding: 16px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.cr-track-steps li.now { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: color-mix(in srgb, var(--brand) 5%, var(--surface)); }
.cr-track-steps li.done { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.cr-track-steps li > div { flex: 1; min-width: 0; display: grid; gap: 6px; align-content: start; }
.cr-track-steps b { font-size: 15px; }
.cr-track-steps small { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.cr-dot { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--muted); background: var(--surface); border: 2px solid var(--line-2); }
.now > .cr-dot { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.done > .cr-dot { color: #fff; border-color: transparent; background: var(--ok); }
.cr-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cr-track > .cr-acts { margin-top: 16px; }
.cr-jobs-head { margin-top: 8px; }
.cr-count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 14px; vertical-align: middle; }
.cr-filter select { border-radius: 12px; min-width: 150px; }
.cr-filter .btn { border-radius: 12px; }
.cr-empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 36px 20px; border-radius: 22px; border-style: dashed; }
.cr-empty-ic { width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; font-size: 20px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); margin-bottom: 4px; }
.cr-empty h3 { margin: 4px 0 0; }
.cr-empty p { margin: 0; max-width: 460px; }
.cr-empty .cr-acts { justify-content: center; margin-top: 10px; }
@media (max-width: 860px) { .cr-track-steps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .cr-filter { width: 100%; } .cr-filter select { flex: 1; min-width: 0; } }

/* v48 — Tentang: baris terakhir ekosistem rata tengah + visi sebagai kotak sorotan */
.cards.about-eco { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.about-eco > .card { flex: 0 1 calc((100% - 40px) / 3); min-width: 0; }
@media (max-width: 960px) { .about-eco > .card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .about-eco > .card { flex-basis: 100%; } }
.about-vision { position: relative; max-width: 760px; margin: 34px auto 0; padding: 20px 26px 20px 74px; border-radius: 20px; text-align: left; font-size: 16.5px; line-height: 1.6; color: var(--text); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 9%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line)); box-shadow: 0 18px 40px -30px rgba(241,94,38,.7); }
.about-vision::before { content: "夢"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 20px var(--jp, serif); color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.about-vision b { color: var(--brand-ink); }
@media (max-width: 600px) { .about-vision { padding: 64px 18px 18px; text-align: center; } .about-vision::before { left: 50%; top: 16px; transform: translateX(-50%); } }

/* v49 — Tentang: Visi & Misi */
.vm-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.vm-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 22px; transition: transform .25s var(--ease), box-shadow .25s; }
.vm-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -30px rgba(241,94,38,.6); }
.vm-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--brand-ink); background: var(--brand-soft); font-weight: 700; font-size: 20px; }
.vm-lbl { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.vm-card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.vm-vision { color: #fff; border: 0; background: radial-gradient(260px 160px at 100% 0%, rgba(255,255,255,.2), transparent 70%), linear-gradient(135deg, var(--brand), #9A2A12); box-shadow: 0 24px 50px -30px rgba(241,94,38,.9); }
.vm-vision .vm-ic { color: #fff; background: rgba(255,255,255,.2); }
.vm-vision .vm-lbl { color: #FFE2D3; }
.vm-vision p { color: #fff; font-size: 18px; font-weight: 600; line-height: 1.5; }
@media (max-width: 900px) { .vm-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .vm-vision { grid-column: 1 / -1; } }
@media (max-width: 600px) { .vm-grid { grid-template-columns: minmax(0, 1fr); } .vm-card { padding: 20px; } }

/* =========================================================
   v50 — CV Jepang (履歴書)
   ========================================================= */
.cv-hero { position: relative; overflow: hidden; padding: 20px 22px; margin-bottom: 14px; border-radius: 24px; color: #fff;
  background: radial-gradient(340px 200px at 100% 0%, rgba(255,255,255,.18), transparent 70%), linear-gradient(135deg, #1A1520, #0B0A10); box-shadow: 0 22px 46px -30px rgba(11,10,16,.8); }
.cv-hero::after { content: "履歴書"; position: absolute; right: -6px; bottom: -26px; font: 800 96px/1 var(--jp, serif); color: rgba(255,255,255,.04); pointer-events: none; }
.cv-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.cv-print { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #fff; color: #1d1418; font-size: 13px; font-weight: 700; text-decoration: none; }
.cv-print:hover { color: var(--brand-ink); }
.cv-hero-main { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; }
.cv-hero-main > div:first-child { flex: 1; min-width: 0; }
.cv-hero h1 { margin: 0 0 6px; color: #fff; font-size: clamp(24px, 4vw, 30px); }
.cv-hero h1 .jp { color: #FFB592; font-size: .72em; margin-left: 4px; }
.cv-hero p { margin: 0; font-size: 14px; line-height: 1.6; color: #E3D6CE; max-width: 640px; }
.cv-hero p b { color: #fff; }
.cv-ring { --p: 0; flex: none; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; align-content: center; position: relative;
  background: conic-gradient(var(--brand) calc(var(--p) * 1%), rgba(255,255,255,.12) 0); }
.cv-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #15111A; }
.cv-ring b, .cv-ring span { position: relative; z-index: 1; }
.cv-ring b { font-size: 24px; line-height: 1; display: flex; align-items: baseline; }
.cv-ring b small { font-size: 12px; }
.cv-ring span { font-size: 11px; color: #CFC2BA; }
.cv-checks { position: relative; z-index: 1; list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cv-checks li { padding: 4px 11px; border-radius: 999px; font-size: 12.5px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #CFC2BA; }
.cv-checks li.ok { background: color-mix(in srgb, #22c55e 18%, transparent); border-color: color-mix(in srgb, #22c55e 45%, transparent); color: #bbf7d0; }
.cv-missing { border-radius: 16px; }
.cv-toc { position: sticky; top: 76px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 14px; padding: 6px; border-radius: 16px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.cv-toc::-webkit-scrollbar { display: none; }
.cv-toc a { flex: none; padding: 7px 12px; border-radius: 11px; font-size: 13px; font-weight: 600; color: var(--text-2); text-decoration: none; white-space: nowrap; }
.cv-toc a:hover { background: var(--surface); color: var(--brand-ink); }
.cv-sec { padding: 20px 22px; border-radius: 22px; margin-bottom: 14px; scroll-margin-top: 140px; }
.cv-sec h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; font-size: 18px; }
.cv-sec h3 small { font-size: 13px; font-weight: 500; color: var(--muted); }
.cv-no { width: 28px; height: 28px; border-radius: 9px; display: inline-grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.cv-hint { margin: -8px 0 12px; font-size: 13px; color: var(--muted); }
.cv-sec label { font-weight: 700; font-size: 13.5px; }
.cv-sec label .small { font-weight: 500; }
.cv-sec .grid3, .cv-sec .grid2 { gap: 0 16px; }
.cv-photo { display: flex; gap: 20px; align-items: center; }
.cv-photo-box { flex: none; width: 96px; height: 128px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); border: 2px dashed var(--line-2); color: var(--muted); }
.cv-photo-box span { display: grid; justify-items: center; gap: 4px; font-size: 12px; }
.cv-photo-box img { width: 100%; height: 100%; object-fit: cover; }
.cv-photo-form { flex: 1; min-width: 0; }
.cv-photo-form h3 { margin-bottom: 4px; }
.cv-photo-form p { margin: 0 0 10px; }
.cv-upload { display: flex; gap: 8px; align-items: center; padding: 6px; border-radius: 14px; border: 1.5px dashed color-mix(in srgb, var(--brand) 35%, var(--line)); background: color-mix(in srgb, var(--brand) 4%, var(--surface)); }
.cv-upload input[type=file] { flex: 1; min-width: 0; border: 0; padding: 4px; background: transparent; font-size: 13.5px; }
.cv-upload input[type=file]::file-selector-button { margin-right: 10px; padding: 7px 14px; border: 0; border-radius: 10px; background: var(--surface-2); color: var(--text); font: 600 13px var(--font); cursor: pointer; }
.cv-upload .btn { flex: none; border-radius: 11px; }
.cv-rows { display: grid; gap: 8px; }
.cv-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 36px; gap: 8px; align-items: center; padding: 6px; border-radius: 14px; background: var(--surface-2); }
.cv-row input { margin: 0 !important; }
.cv-row [data-del-row] { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.cv-row [data-del-row]:hover { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); text-decoration: none; }
.cv-add { margin-top: 10px; border-style: dashed !important; }
.cv-suggest { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 5%, var(--surface)); }
.cv-ai { margin-top: 8px; }
.cv-sec textarea { border-radius: 14px; }
.cv-open { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--ok) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 30%, var(--line)); }
.cv-savebar { position: sticky; bottom: 12px; z-index: 6; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; padding: 10px 12px 10px 18px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(11,10,16,.55); }
.cv-savebar .btn { border-radius: 12px; }
@media (max-width: 920px) {
  .cv-toc { top: 72px; }
  .cv-savebar { bottom: calc(86px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  .cv-hero { padding: 18px; }
  .cv-hero-main { flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
  .cv-ring { width: 78px; height: 78px; }
  .cv-ring b { font-size: 20px; }
  .cv-sec { padding: 16px; }
  .cv-photo { flex-direction: column; align-items: flex-start; }
  .cv-row { grid-template-columns: minmax(0, 1fr) 36px; }
  .cv-row input[type=month] { grid-column: 1 / -1; }
  .cv-row input[type=text] { grid-column: 1; }
  .cv-upload { flex-direction: column; align-items: stretch; }
  .cv-savebar { padding: 12px; gap: 8px; }
  .cv-savebar > .small { flex-basis: 100%; }
  .cv-savebar > .spacer { display: none; }
  /* lebar dasar = lebar teks → bila tidak muat berdampingan, tombol turun ke baris berikutnya lalu melebar penuh */
  .cv-savebar .btn { flex: 1 1 auto; justify-content: center; padding-left: 14px; padding-right: 14px; white-space: nowrap; }
  .cv-savebar .btn .ic, .cv-savebar .btn svg { flex: none; }
}

/* v51 — penjelasan jalur kaigo yang benar */
.to-level-note { margin: -4px 0 14px; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; color: var(--text-2); background: color-mix(in srgb, #17803F 7%, var(--surface)); border-left: 3px solid #17803F; }
.cr-kaigo { padding: 0; margin: 0 0 22px; border-radius: 20px; overflow: hidden; }
.cr-kaigo summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.cr-kaigo summary::-webkit-details-marker { display: none; }
.cr-kaigo summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--muted); transition: transform .2s; }
.cr-kaigo[open] summary::after { transform: rotate(45deg); }
.cr-kaigo summary > span:nth-child(2) { display: grid; }
.cr-kaigo summary small { color: var(--muted); font-size: 13px; }
.cr-kaigo-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #17803F, #0E5A2C); }
.cr-kaigo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 18px 18px; }
.cr-kaigo-grid > div { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.cr-kaigo-grid ol { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13.5px; color: var(--text-2); }
.cr-kaigo-grid a { font-weight: 700; font-size: 13.5px; }
.cr-kaigo-tag { justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--brand-soft); color: var(--brand-ink); }
.cr-kaigo-tag.on { background: color-mix(in srgb, #17803F 14%, transparent); color: #17803F; }
@media (max-width: 760px) { .cr-kaigo-grid { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   v52 — formulir Rencana belajar
   ========================================================= */
.lp-form2 { display: grid; gap: 14px; }
.lp-step { padding: 20px 22px; border-radius: 22px; }
.lp-step h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 18px; }
.lp-no { width: 30px; height: 30px; border-radius: 10px; display: inline-grid; place-items: center; font-size: 14px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 18px -10px rgba(241,94,38,.9); }
/* Tujuan */
.lp-goals2 { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-goal2 { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; margin: 0; padding: 16px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease), background .2s; }
.lp-goal2:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); transform: translateY(-2px); }
.lp-goal2 input { position: absolute; opacity: 0; pointer-events: none; }
.lp-gi { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); transition: all .2s; }
.lp-gt { display: grid; gap: 3px; padding-right: 18px; }
.lp-gt b { font-size: 15px; line-height: 1.3; }
.lp-gt small { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.lp-check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: transparent; border: 1.5px solid var(--line-2); transition: all .2s; }
.lp-goal2:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); }
.lp-goal2:has(input:checked) .lp-gi { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.lp-goal2:has(input:checked) .lp-check { color: #fff; background: var(--brand); border-color: var(--brand); }
.lp-goal2:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
/* Level */
.lp-levels { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px 14px; align-items: start; }
.lp-levels label { margin-top: 0; }
.lp-arrow { align-self: center; margin-top: 8px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--brand-ink); background: var(--brand-soft); }
.lp-target-kaigo { display: none; }
.lp-fixed { display: flex; align-items: center; gap: 8px; min-height: 47px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1.5px dashed color-mix(in srgb, #17803F 45%, var(--line)); background: color-mix(in srgb, #17803F 7%, var(--surface)); font-weight: 700; color: var(--text); }
.lp-fixed .jp { color: #17803F; }
.lp-form2:has(input[name=goal][value=kaigo]:checked) .lp-target-field { display: none; }
.lp-form2:has(input[name=goal][value=kaigo]:checked) .lp-target-kaigo { display: block; }
/* Waktu */
.lp-time { display: grid; gap: 16px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.lp-time label { margin-top: 0; }
.lp-lbl { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-chips label { margin: 0; cursor: pointer; }
.lp-chips input { position: absolute; opacity: 0; pointer-events: none; }
.lp-chips span { display: inline-grid; place-items: center; min-width: 46px; padding: 9px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--text-2); transition: all .15s; }
.lp-chips label:hover span { border-color: var(--brand); }
.lp-chips input:checked + span { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 16px -10px rgba(241,94,38,.9); }
.lp-chips input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.lp-submit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 4px 4px 0; }
.lp-submit .small { flex: 1; min-width: 220px; }
.lp-submit .btn { border-radius: 14px; }
/* Hasil */
.lp-preview2 { margin-top: 16px; padding: 22px; border-radius: 22px; border: 1.5px solid color-mix(in srgb, var(--brand) 30%, var(--line)); box-shadow: 0 24px 50px -34px rgba(241,94,38,.8); scroll-margin-top: 90px; }
.lp-pv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lp-pv-head h2 { margin: 0; font-size: 20px; }
.lp-pv-head small { color: var(--muted); font-size: 13px; }
.lp-pv-ic { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; }
.lp-pv-ic.ok { background: var(--ok); }
.lp-pv-ic.warn { background: #f59e0b; }
.lp-pv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 16px; background: var(--surface-2); margin-bottom: 14px; }
.lp-pv-stats div { display: grid; justify-items: center; text-align: center; padding: 12px 6px; }
.lp-pv-stats div + div { border-left: 1px solid var(--line); }
.lp-pv-stats b { font-size: 22px; line-height: 1.15; }
.lp-pv-stats span { font-size: 12px; color: var(--muted); }
.lp-pv-save { margin-top: 14px; }
.lp-pv-save .btn { border-radius: 14px; }
@media (max-width: 900px) {
  .lp-goals2 { grid-template-columns: minmax(0, 1fr); }
  .lp-time { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .lp-step { padding: 16px; }
  .lp-levels { grid-template-columns: minmax(0, 1fr); }
  .lp-arrow { transform: rotate(90deg); justify-self: center; margin: 0; }
  .lp-pv-stats { grid-template-columns: 1fr 1fr; }
  .lp-pv-stats div:nth-child(3) { border-left: 0; }
  .lp-pv-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lp-submit .btn, .lp-pv-save .btn { width: 100%; justify-content: center; }
}
.lp-goals2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.lp-time { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.lp-preview2 { margin: 0 0 18px; }
.lp-adjust:empty { display: none; }
.lp-adjust { margin: 4px 0 10px; font-size: 16px; color: var(--muted); }

/* v53 — tombol garis (ghost) di header gelap: teks putih, terlihat jelas */
.page-hero .btn.ghost, .cv-hero .btn.ghost { color: #fff !important; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.35); }
.page-hero .btn.ghost:hover, .cv-hero .btn.ghost:hover { color: #fff !important; background: rgba(255,255,255,.14); border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.08); }

/* v54 — rencana: tujuan JFT-Basic (SSW) */
.lp-target-ssw { display: none; }
.lp-form2:has(input[name=goal][value=ssw]:checked) .lp-target-field { display: none; }
.lp-form2:has(input[name=goal][value=ssw]:checked) .lp-target-ssw { display: block; }
.lp-fixed-ssw { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); }
.lp-fixed-ssw .jp { color: var(--brand-ink); }
.pt-lv-jft { font-size: 13px; letter-spacing: .02em; background: linear-gradient(135deg, #2563EB, #1E3A8A); color: #fff; }
.to-level-note-jft { background: color-mix(in srgb, #2563EB 7%, var(--surface)); border-left-color: #2563EB; }

/* v55 — perbaikan: daftar fasilitas paket & kalender dashboard */
.perk-list li { align-items: flex-start; line-height: 1.4; }
.perk-list li > .ic { flex: none; margin-top: 2px; }
.perk-list li > span { flex: 1; min-width: 0; }
.member-card .perk-list li > span small { color: rgba(255,255,255,.6); font-size: 12px; margin-left: 2px; }
.perk-act { flex: none; align-self: center; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; text-decoration: none; background: rgba(255,181,146,.16); border: 1px solid rgba(255,181,146,.35); white-space: nowrap; }
.member-card .perk-list a.perk-act { color: #FFD2BD; }
.member-card .perk-list a.perk-act:hover { background: rgba(255,181,146,.3); color: #fff; }
.gm-cal .sk-cal-wrap { overflow: visible; padding: 3px; }
.gm-cal .sk-cal { width: 100%; box-sizing: border-box; }
.gm-cal .sk-cal i { box-sizing: border-box; min-width: 0; }

/* v55 — latihan kanji: arti & bacaan on/kun */
.kp-read-arti { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 12px 0; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.kp-read-arti span { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kp-read-arti b { font-size: 17px; }
.kp-read-arti small { flex-basis: 100%; color: var(--muted); font-size: 12.5px; }
.kp-read-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.kp-read-col { display: grid; gap: 8px; align-content: start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); }
.kp-read-col.on { border-top: 3px solid #2563EB; }
.kp-read-col.kun { border-top: 3px solid var(--brand); }
.kp-read-lbl { font-size: 12px; color: var(--muted); }
.kp-read-lbl b { color: var(--text); font-size: 13px; }
.kp-read-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kp-read-chips span { padding: 4px 10px; border-radius: 10px; font-size: 16px; font-weight: 600; }
.kp-read-col.on .kp-read-chips span { background: color-mix(in srgb, #2563EB 12%, var(--surface)); color: #1D4ED8; }
.kp-read-col.kun .kp-read-chips span { background: var(--brand-soft); color: var(--brand-ink); }
.kp-read-chips em { color: var(--muted); }
.kp-read-col small { font-size: 12px; color: var(--muted); line-height: 1.45; }
:root[data-theme="dark"] .kp-read-col.on .kp-read-chips span { color: #93C5FD; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kp-read-col.on .kp-read-chips span { color: #93C5FD; } }
@media (max-width: 520px) { .kp-read-grid { grid-template-columns: minmax(0, 1fr); } }

/* v55 — peringkat: periode harian, podium */
.lb-periods { display: flex; gap: 6px; margin: 18px 0 4px; padding: 4px; border-radius: 16px; background: var(--surface-2); overflow-x: auto; scrollbar-width: none; }
.lb-periods a { flex: 1; text-align: center; white-space: nowrap; padding: 9px 14px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--text-2); text-decoration: none; transition: all .2s; }
.lb-periods a:hover { color: var(--brand-ink); }
.lb-periods a.active { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 18px -10px rgba(241,94,38,.9); }
.lb-reset { margin: 6px 4px 14px; }
.lb-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 10px; margin: 6px 0 14px; }
.lb-pod { position: relative; display: grid; justify-items: center; gap: 4px; padding: 14px 8px 0; text-align: center; }
.lb-pod b { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-pod small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.lb-medal { font-size: 22px; line-height: 1; }
.lb-pod i { display: block; width: 100%; margin-top: 6px; border-radius: 14px 14px 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 30%, var(--surface)), var(--surface-2)); }
.lb-pod.p1 i { height: 70px; background: linear-gradient(180deg, #FCD34D, color-mix(in srgb, #F59E0B 25%, var(--surface))); }
.lb-pod.p2 i { height: 48px; background: linear-gradient(180deg, #E5E7EB, color-mix(in srgb, #9CA3AF 25%, var(--surface))); }
.lb-pod.p3 i { height: 34px; background: linear-gradient(180deg, #FDBA74, color-mix(in srgb, #C2410C 20%, var(--surface))); }
.lb-pod.me b { color: var(--brand-ink); }
.lb-card { padding: 10px 14px; border-radius: 20px; }
.lb-pod .avatar.lg { width: 52px; height: 52px; font-size: 18px; box-shadow: 0 0 0 3px var(--surface); }
.lb-pod.p1 .avatar.lg { width: 62px; height: 62px; box-shadow: 0 0 0 3px #FCD34D; }

/* v55 — profil lengkap */
.pr-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.pr-head h1 { margin: 0 0 4px; }
.pr-head p { margin: 0; max-width: 560px; }
.pr-meter { --p: 0; flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; align-content: center; position: relative; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--surface-2) 0); }
.pr-meter::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--bg); }
.pr-meter b, .pr-meter span { position: relative; }
.pr-meter b { font-size: 21px; line-height: 1; }
.pr-meter span { font-size: 10.5px; color: var(--muted); }
.pr-todo { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.pr-todo span { padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--surface); border: 1px dashed var(--line-2); color: var(--text-2); }
.pr-todo span.ok { border-style: solid; color: var(--ok); background: color-mix(in srgb, var(--ok) 8%, var(--surface)); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.photo-card { border-radius: 22px; }
.pr-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
.pr-card { padding: 22px; border-radius: 22px; }
.pr-pass { position: sticky; top: 90px; }
.pr-sec-h { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.pr-sec-h.mt { margin-top: 22px; }
.pr-sec-h h3 { margin: 0; font-size: 16px; }
.pr-sec-h small { color: var(--muted); font-size: 12.5px; }
.pr-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--brand-ink); background: var(--brand-soft); }
.pr-email { position: relative; display: flex; align-items: center; }
.pr-email input { padding-right: 130px; }
.pr-email .badge { position: absolute; right: 8px; }
.pr-social { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-top: 12px; }
.pr-soc { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); transition: border-color .15s; }
.pr-soc:focus-within { border-color: var(--brand); }
.pr-soc-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; background: var(--c); }
.pr-soc-f { flex: 1; min-width: 0; display: grid; }
.pr-soc-f small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.pr-soc-f input { border: 0 !important; padding: 2px 0 !important; box-shadow: none !important; background: transparent !important; font-size: 14px; }
.pr-opt { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); margin-top: 8px; }
@media (max-width: 900px) { .pr-grid { grid-template-columns: minmax(0, 1fr); } .pr-pass { position: static; } }
@media (max-width: 520px) { .pr-social { grid-template-columns: minmax(0, 1fr); } .pr-email input { padding-right: 14px; } .pr-email { flex-direction: column; align-items: flex-start; gap: 6px; } .pr-email .badge { position: static; } }

/* v55 — statistik & rating sensei */
.ss-box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 18px; align-items: center; margin: 14px 0; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); }
.ss-rate { display: grid; justify-items: center; gap: 2px; padding-right: 18px; border-right: 1px solid var(--line); }
.ss-rate > b { font-size: 34px; line-height: 1; }
.ss-rate .ss-new { font-size: 20px; color: var(--brand-ink); }
.ss-rate small { font-size: 12px; color: var(--muted); white-space: nowrap; }
.ss-stars { position: relative; display: inline-block; font-size: 15px; letter-spacing: 2px; line-height: 1; }
.ss-stars::before { content: "★★★★★"; color: var(--line-2); }
.ss-stars i { position: absolute; inset: 0 auto 0 0; width: var(--w); overflow: hidden; white-space: nowrap; }
.ss-stars i::before { content: "★★★★★"; color: #F59E0B; }
.ss-dist { display: grid; gap: 3px; }
.ss-dist div { display: grid; grid-template-columns: 28px minmax(0, 1fr) 24px; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.ss-dist i { height: 6px; border-radius: 9px; background: var(--line); overflow: hidden; }
.ss-dist s { display: block; height: 100%; border-radius: inherit; background: #F59E0B; }
.ss-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 10px; }
.ss-facts div { display: grid; justify-items: center; text-align: center; }
.ss-facts div + div { border-left: 1px solid var(--line); }
.ss-facts b { font-size: 18px; }
.ss-facts span { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.ss-box:not(:has(.ss-dist)) .ss-rate { border-right: 0; justify-items: start; }
.pg-sensei2 { padding: 22px; border-radius: 22px; margin-bottom: 16px; }
.pg-s-top { display: flex; align-items: center; gap: 16px; }
.pg-s-top .avatar.xl { width: 88px; height: 88px; box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px color-mix(in srgb, var(--brand) 40%, transparent); }
.pg-s-id { display: grid; gap: 3px; min-width: 0; }
.pg-s-role { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--brand-ink); }
.pg-s-id h3 { margin: 0; font-size: 22px; }
.pg-s-text { color: var(--text-2); line-height: 1.6; }
.pg-s-cta { margin-top: 14px; }
.pvd-about { padding: 22px; border-radius: 22px; }
.pvd-about h2 { margin: 0 0 14px; font-size: 20px; }
.pvd-about h3 { margin: 20px 0 10px; font-size: 16px; }
.pvd-facts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pvd-facts div { display: grid; gap: 2px; padding: 14px; border-radius: 16px; background: var(--surface-2); }
.pvd-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 6px; color: var(--brand-ink); background: var(--brand-soft); }
.pvd-facts b { font-size: 15px; }
.pvd-facts small { color: var(--muted); font-size: 12.5px; }
.pvd-flow { list-style: none; margin: 0; padding: 0; counter-reset: pvd; display: grid; gap: 10px; }
.pvd-flow li { counter-increment: pvd; position: relative; display: grid; gap: 2px; padding: 0 0 0 44px; min-height: 32px; }
.pvd-flow li::before { content: counter(pvd); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.pvd-flow span { font-size: 13.5px; color: var(--text-2); }
.pv-senseis-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)) !important; }
@media (max-width: 520px) { .ss-box { grid-template-columns: minmax(0, 1fr); } .ss-rate { border-right: 0; padding-right: 0; } }

/* v55 — halaman sertifikat */
.ce-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ce-card { display: grid; gap: 10px; }
.ce-paper { position: relative; display: grid; justify-items: center; gap: 4px; padding: 26px 18px 20px; text-align: center; text-decoration: none; color: #2a1d17; border-radius: 16px;
  background: radial-gradient(circle at 50% 0%, #FFF8EC, #FBEFD9); box-shadow: 0 18px 40px -26px rgba(11,10,16,.6), inset 0 0 0 2px #E7C98F, inset 0 0 0 7px #FBEFD9, inset 0 0 0 8px #E7C98F; transition: transform .25s var(--ease), box-shadow .25s; }
.ce-paper:hover { transform: translateY(-3px) rotate(-.4deg); color: #2a1d17; box-shadow: 0 26px 50px -26px rgba(241,94,38,.7), inset 0 0 0 2px #E7C98F, inset 0 0 0 7px #FBEFD9, inset 0 0 0 8px #E7C98F; }
.ce-seal { position: absolute; top: -12px; right: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), #B8361A); box-shadow: 0 6px 14px -6px rgba(241,94,38,.9); }
.ce-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #A0702C; }
.ce-name { margin-top: 6px; font-size: 20px; font-family: Georgia, 'Times New Roman', serif; }
.ce-line { font-size: 12px; color: #7a6352; }
.ce-title { font-size: 16px; color: #B8361A; }
.ce-jp { font-size: 13px; color: #7a6352; }
.ce-meta { margin-top: 6px; font-size: 11.5px; color: #8d7563; }
.ce-actions { display: flex; gap: 8px; }
.ce-actions .btn { flex: 1; justify-content: center; }
.ce-empty { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 36px 20px; border-radius: 22px; border-style: dashed; }
.ce-empty-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: var(--brand-ink); background: var(--brand-soft); }
.ce-empty h3 { margin: 4px 0 0; }
.ce-prog { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ce-pr { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; text-decoration: none; color: var(--text); }
.ce-pr:hover { border-color: var(--brand); color: var(--text); }
.ce-pr-t { flex: 1; min-width: 0; display: grid; }
.ce-pr-t small { color: var(--muted); font-size: 12.5px; }

/* v55 — karier: header 2 kolom, langkah lebih ringkas */
.cr-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.cr-hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cr-hero-stats div { display: grid; gap: 2px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.cr-hero-stats b { font-size: 26px; line-height: 1.1; color: #fff; }
.cr-hero-stats span { font-size: 12.5px; color: #CFC2BA; }
.cr-opts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.cr-opts li { position: relative; padding: 7px 10px 7px 28px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.cr-opts li::before { content: "→"; position: absolute; left: 10px; color: var(--brand-ink); font-weight: 700; }
.cr-opts a { font-weight: 600; text-decoration: none; }
.cr-jobs-head { scroll-margin-top: 90px; }
@media (max-width: 900px) { .cr-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

/* v56 — detail lowongan */
.jd-wrap { max-width: 1080px; }
.jd-hero { padding: 40px 0 34px; }
.jd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.jd-chips span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #FFD2BD; background: rgba(241,94,38,.16); border: 1px solid rgba(241,94,38,.35); }
.jd-chips .draft { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.jd-hero h1 { margin: 12px 0 14px; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; max-width: 820px; }
.jd-company { display: flex; align-items: center; gap: 12px; }
.jd-logo { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), #9A2A12); }
.jd-company div { display: grid; }
.jd-company b { color: #fff; font-size: 15.5px; }
.jd-company small { color: #CFC2BA; font-size: 12.5px; }
.jd-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.jd-facts > div { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.jd-fi { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 4px; color: #fff; background: rgba(241,94,38,.35); }
.jd-facts small { font-size: 12px; color: #CFC2BA; }
.jd-facts b { color: #fff; font-size: 15px; line-height: 1.3; }
.jd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.jd-main { display: grid; gap: 16px; min-width: 0; }
.jd-card { padding: 20px 22px; border-radius: 20px; }
.jd-h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 17px; }
.jd-h .ic { color: var(--brand); }
.jd-two { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.jd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.jd-list li { position: relative; padding: 8px 12px 8px 36px; border-radius: 12px; background: var(--surface-2); font-size: 14px; line-height: 1.45; }
.jd-list li::before { position: absolute; left: 10px; top: 8px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; }
.jd-list.req li::before { content: "✓"; background: var(--brand); }
.jd-list.ben li::before { content: "★"; background: #F59E0B; }
.jd-note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: color-mix(in srgb, #17803F 7%, var(--surface)); border: 1px solid color-mix(in srgb, #17803F 30%, var(--line)); }
.jd-note-ic { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #17803F, #0E5A2C); }
.jd-note div { display: grid; gap: 4px; font-size: 13.5px; color: var(--text-2); }
.jd-note b:first-child { color: var(--text); font-size: 14.5px; }
.jd-steps { list-style: none; margin: 0; padding: 0; counter-reset: jd; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.jd-steps li { counter-increment: jd; display: grid; gap: 3px; padding: 14px; border-radius: 14px; background: var(--surface-2); }
.jd-steps li::before { content: counter(jd); width: 28px; height: 28px; margin-bottom: 4px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.jd-steps b { font-size: 14px; }
.jd-steps span { font-size: 12.5px; color: var(--muted); }
.jd-warn { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); }
.jd-side { position: sticky; top: 88px; display: grid; gap: 14px; }
.jd-apply { padding: 20px; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); box-shadow: 0 22px 46px -32px rgba(241,94,38,.8); }
.jd-apply h3 { margin: 8px 0 10px; font-size: 18px; }
.jd-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--brand-soft); color: var(--brand-ink); }
.jd-status.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.jd-status.warn { background: color-mix(in srgb, #f59e0b 16%, transparent); color: #b45309; }
.jd-status.off { background: var(--surface-2); color: var(--muted); }
.jd-checks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.jd-checks li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.jd-ck { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--ok); }
.jd-checks li.no .jd-ck { background: #f59e0b; }
.jd-checks div { display: grid; gap: 1px; min-width: 0; }
.jd-checks b { font-size: 13.5px; }
.jd-checks small { font-size: 12px; color: var(--muted); }
.jd-checks a { font-size: 12.5px; font-weight: 700; text-decoration: none; }
.jd-apply .btn.block { border-radius: 14px; }
.jd-share { padding: 16px 18px; border-radius: 18px; display: grid; gap: 10px; }
.jd-share-row { display: flex; gap: 8px; }
.jd-share-row .btn { flex: 1; justify-content: center; }
.jd-wa { background: #25D366 !important; border-color: #25D366 !important; color: #fff !important; }
@media (max-width: 900px) { .jd-layout { grid-template-columns: minmax(0, 1fr); } .jd-side { position: static; order: -1; } .jd-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .jd-steps { grid-template-columns: minmax(0, 1fr); } }

/* v57 — lowongan multi-sertifikat */
.jd-facts { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.cr-meta .cr-cert { color: #15803d; font-weight: 600; }

/* v58 — kartu kelas private: tombol tamu tidak melebihi kartu */
.pv-buy > .btn.block, .pv-buy > .alert { width: auto; box-sizing: border-box; }
.pv-buy > .btn.block { margin-top: 18px; }
/* v58 — kurikulum untuk tamu: 3 materi awal, sisanya diburamkan */
.pg-gate { position: relative; margin-top: 12px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.pg-gate-rows { filter: blur(5px); opacity: .6; pointer-events: none; user-select: none; }
.pg-gate-rows .pg-les { border-bottom: 1px solid var(--line); }
.pg-gate-card { position: absolute; inset: 0; display: grid; justify-items: center; align-content: center; gap: 6px; padding: 20px; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 30%, transparent), color-mix(in srgb, var(--surface) 92%, transparent) 45%); }
.pg-gate-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 22px -10px rgba(241,94,38,.9); }
.pg-gate-card b { font-size: 17px; }
.pg-gate-card p { margin: 0; max-width: 380px; font-size: 14px; color: var(--text-2); }
.pg-gate-act { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; justify-content: center; }
/* v58 — ilustrasi panel masuk/daftar */
.auth-art { position: relative; z-index: 1; flex: 1; display: grid; place-items: center; min-height: 0; }
.auth-art svg { width: 100%; max-width: 420px; height: auto; filter: drop-shadow(0 18px 30px rgba(11,10,16,.18)); }
.auth-art text { font-family: var(--jp, 'Noto Sans JP', sans-serif); }
.aa-card { animation: aaFloat 6s ease-in-out infinite; transform-origin: center; }
.aa-card.c1 { animation-delay: -1s; }
.aa-card.c2 { animation-delay: -3s; }
.aa-card.c3 { animation-delay: -4.5s; }
@keyframes aaFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .aa-card { animation: none; } }
@media (max-width: 860px) { .auth-art { display: none; } }
.pv-buy > .btn.block { display: flex; justify-content: center; }

/* v60 — label sensei di papan peringkat */
.lb-sensei { display: inline-flex; align-items: center; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em; vertical-align: 1px; color: #fff; background: linear-gradient(135deg, #2563EB, #1E3A8A); white-space: nowrap; }
.lb li.is-sensei { background: color-mix(in srgb, #2563EB 6%, transparent); }
.lb-pod .lb-sensei { margin: 0; }

/* ============ Peringkat (v2) ============ */
.lb-top h1 { margin-bottom: 4px; }
.lb-top p { margin: 0 0 16px; }
.lb-hero2 { position: relative; overflow: hidden; display: grid; gap: 18px 24px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 22px 24px 0; border-radius: 22px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(241,94,38,.45), transparent 55%), linear-gradient(120deg, #0B0A10, #2a130b 70%, #3a1a0f); box-shadow: 0 30px 70px -32px rgba(241,94,38,.6); }
.lb-hero2::after { content: "ランキング"; position: absolute; right: -6px; bottom: 34px; font-size: 64px; font-weight: 800; color: rgba(255,255,255,.04); pointer-events: none; letter-spacing: .04em; }
.lb-me { display: flex; align-items: center; gap: 16px; min-width: 0; position: relative; z-index: 1; }
.lb-av { position: relative; flex: none; }
.lb-av .avatar.lg { width: 68px; height: 68px; font-size: 22px; box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 10px 24px -8px rgba(0,0,0,.6); }
.lb-lv { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2, #FF8A4C)); box-shadow: 0 0 0 2px #1a0d08; }
.lb-me-main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.lb-kicker { color: #FFB592; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.lb-xp { font-size: 30px; line-height: 1.05; font-weight: 800; }
.lb-xp span { font-size: 15px; color: #E8D7CC; font-weight: 700; }
.lb-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; max-width: 420px; }
.lb-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #FFB592, var(--brand)); }
.lb-sub { color: #CDBDB2; font-size: 12.5px; }
.lb-stats { display: grid; grid-template-columns: repeat(3, minmax(88px, 1fr)); gap: 8px; position: relative; z-index: 1; }
.lb-stats > div { display: grid; justify-items: center; gap: 1px; padding: 10px 10px 9px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); text-align: center; }
.lb-stats b { font-size: 22px; line-height: 1.1; }
.lb-stats small { font-size: 11px; color: #CDBDB2; }
.lb-stat-ic { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.1); color: #FFB592; font-size: 14px; margin-bottom: 2px; }
.lb-goal { grid-column: 1 / -1; margin: 0 -24px; padding: 11px 24px; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #FFE3D3; background: rgba(255,255,255,.06); border-top: 1px solid rgba(255,255,255,.08); }
.lb-goal svg { flex: none; color: #FFB592; }
.lb-earn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 4px; }
.lb-earn > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 11px 13px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.lb-earn-ic { grid-row: span 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand-ink); }
.lb-earn b { font-size: 16px; color: var(--brand-ink); line-height: 1.1; }
.lb-earn small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.lb-reset { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lb-podium2 { display: grid; grid-template-columns: repeat(3, minmax(0, 170px)); justify-content: center; align-items: end; gap: 12px; margin: 22px 0 0; }
.lb-p { display: grid; justify-items: center; gap: 3px; text-align: center; min-width: 0; }
.lb-p-av { position: relative; display: grid; justify-items: center; }
.lb-crown { height: 22px; font-size: 20px; line-height: 1; }
.lb-p .avatar.lg { width: 56px; height: 56px; font-size: 19px; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px #D1D5DB; }
.lb-p.p1 .avatar.lg { width: 70px; height: 70px; font-size: 22px; box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px #FBBF24, 0 14px 30px -10px rgba(245,158,11,.7); }
.lb-p.p3 .avatar.lg { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px #F59E6B; }
.lb-p-rank { position: absolute; bottom: -6px; right: calc(50% - 38px); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; color: #fff; background: #9CA3AF; box-shadow: 0 0 0 2px var(--surface); }
.lb-p.p1 .lb-p-rank { background: #F59E0B; right: calc(50% - 44px); }
.lb-p.p3 .lb-p-rank { background: #EA7A3B; }
.lb-p-name { margin-top: 8px; font-size: 14.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-p.me .lb-p-name { color: var(--brand-ink); }
.lb-p-lv { font-size: 12px; color: var(--muted); }
.lb-p .lb-sensei { margin: 0; }
.lb-p-pts { font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); margin-top: 2px; }
.lb-p.p1 .lb-p-pts { background: #FEF3C7; color: #92400E; }
.lb-p-base { display: grid; place-items: start center; width: 100%; margin-top: 8px; padding-top: 10px; border-radius: 16px 16px 0 0; font-style: normal; font-size: 26px; font-weight: 800; color: rgba(0,0,0,.18);
  background: linear-gradient(180deg, #E5E7EB, color-mix(in srgb, #9CA3AF 18%, var(--surface))); height: 70px; }
.lb-p.p1 .lb-p-base { height: 100px; background: linear-gradient(180deg, #FCD34D, color-mix(in srgb, #F59E0B 22%, var(--surface))); color: rgba(146,64,14,.35); }
.lb-p.p3 .lb-p-base { height: 52px; background: linear-gradient(180deg, #FDBA74, color-mix(in srgb, #C2410C 18%, var(--surface))); }
.lb-p.empty { opacity: .6; }
.lb-p.empty .lb-p-base { background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, transparent 10px 20px); border: 1.5px dashed var(--line); border-bottom: 0; color: var(--muted); }
.lb-ghost { display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--muted); font-weight: 800; }
.lb-list-card { padding: 8px; border-radius: 10px 10px 20px 20px; margin-top: 0; }
.lb-list-head { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px 6px; }
.lb-list-head small { color: var(--muted); }
.lb2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lb2 li, .lb2-mine { display: grid; grid-template-columns: 34px auto minmax(0, 1fr) minmax(60px, 140px) auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; }
.lb2 li:hover { background: var(--surface-2); }
.lb2 li.me { background: var(--brand-soft); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand) 40%, transparent); }
.lb2 li.is-sensei { background: color-mix(in srgb, #2563EB 6%, transparent); }
.lb2-rank { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--text-2); background: var(--surface-2); }
.lb2-who { display: grid; min-width: 0; }
.lb2-who b { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb2-who small { font-size: 12px; color: var(--muted); }
.lb2-who .lb-sensei { margin: 2px 0 0; justify-self: start; }
.lb2-bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.lb2-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 55%, transparent), var(--brand)); }
.lb2-pts { font-weight: 800; white-space: nowrap; text-align: right; } .lb2-pts small { color: var(--muted); font-weight: 600; }
.lb2-mine { grid-template-columns: auto auto minmax(0, 1fr) auto; margin-top: 6px; background: var(--brand-soft); border: 1.5px dashed color-mix(in srgb, var(--brand) 45%, transparent); }
.lb2-mine .lb2-rank { width: auto; min-width: 30px; padding: 0 8px; background: var(--brand); color: #fff; }
.lb-empty { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 26px 16px; }
.lb-empty > span { font-size: 34px; }
.lb-empty small { color: var(--muted); max-width: 420px; }
.lb-empty .btn { margin-top: 6px; }
.lb-empty.sm { padding: 16px; }
.lb-note { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 12px 4px 0; }
.lb-note .lb-sensei { margin: 0; }
.lb-privacy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.lb-privacy > div { flex: 1; min-width: min(100%, 220px); display: grid; gap: 2px; }
.lb-privacy small { color: var(--muted); font-size: 13px; }
.lb-privacy-ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 13px; background: var(--brand-soft); color: var(--brand-ink); }
@media (max-width: 760px) {
  .lb-hero2 { grid-template-columns: minmax(0, 1fr); padding: 18px 16px 0; }
  .lb-goal { margin: 0 -16px; padding: 11px 16px; }
  .lb-earn { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .lb-podium2 { gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lb2 li { grid-template-columns: 30px auto minmax(0, 1fr) auto; }
  .lb2-bar { display: none; }
}

/* ============ Program — tab Ringkasan (v2) ============ */
.pg-sec-head { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; flex-wrap: wrap; }
.pg-sec-head > div { flex: 1; min-width: min(100%, 200px); display: grid; gap: 2px; }
.pg-sec-head h3 { margin: 0; font-size: 18px; }
.pg-sec-head small { color: var(--muted); font-size: 13px; }
.pg-learn2 { position: relative; padding: 22px; border-radius: 22px; margin-bottom: 22px; border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%), var(--surface); box-shadow: 0 24px 50px -36px rgba(241,94,38,.55); }
.pg-skills { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.pg-skills li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--surface-2) 70%, transparent); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; transition: transform .2s, border-color .2s; }
.pg-skills li:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.pg-skill-no { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2, #FF8A4C)); box-shadow: 0 6px 14px -6px rgba(241,94,38,.8); }
.pg-about { padding: 24px 26px; border-radius: 22px; margin-bottom: 22px; }
.pg-about .pg-prose > :first-child { margin-top: 0; }
.pg-about .pg-prose > :last-child { margin-bottom: 0; }
.pg-about .pg-prose h2 { position: relative; font-size: 22px; padding-left: 14px; margin: 0 0 12px; }
.pg-about .pg-prose h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--brand), var(--brand-2, #FF8A4C)); }
.pg-about .pg-prose p { color: var(--text-2); line-height: 1.75; }
.pg-about .pg-prose blockquote { margin: 18px 0 0; padding: 14px 16px 14px 20px; border: 0; border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, var(--surface)), color-mix(in srgb, var(--brand) 4%, var(--surface))); box-shadow: inset 4px 0 0 var(--brand); color: var(--text); font-style: normal; }
.pg-about .pg-prose blockquote p { margin: 0; color: var(--text); }
.pg-map { margin-bottom: 22px; }
.pg-map .linkbtn { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--brand-ink); }
.pg-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.pg-steps li { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.pg-step-no { flex: none; font-size: 22px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.4px color-mix(in srgb, var(--brand) 70%, transparent); min-width: 32px; }
.pg-steps li > div { display: grid; gap: 3px; min-width: 0; }
.pg-steps b { font-size: 14.5px; line-height: 1.35; }
.pg-steps small { color: var(--muted); font-size: 12.5px; }
.pg-steps li.done { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.pg-steps li.done .pg-step-no { -webkit-text-stroke-color: var(--ok); }
.pg-steps li.locked { background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, var(--surface) 10px 20px); }
.pg-steps li.locked b { filter: blur(4px); user-select: none; }
.pg-steps li.locked small { display: inline-flex; gap: 4px; align-items: center; }
.pg-two.v2 { margin-top: 0; }
.pg-two.v2 .card { padding: 20px 22px; border-radius: 20px; }
.pg-two.v2 h3 { font-size: 16.5px; }
.pg-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pg-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.pg-tick { flex: none; width: 22px; height: 22px; border-radius: 8px; display: grid; place-items: center; margin-top: 1px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.pg-ticks.aud .pg-tick { background: var(--brand-soft); color: var(--brand-ink); }
@media (max-width: 1180px) {
  .lb-hero2 { grid-template-columns: minmax(0, 1fr); }
  .lb-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.lb-note { flex-wrap: nowrap; align-items: flex-start; }
.lb-note > svg { flex: none; margin-top: 3px; }
.pt-lv-ssw { font-size: 12px; letter-spacing: .02em; background: linear-gradient(135deg, #0D9488, #115E59); color: #fff; }
.to-level-note-ssw { background: color-mix(in srgb, #0D9488 7%, var(--surface)); border-left-color: #0D9488; }
.lp-target-sswk { display: none; }
.lp-form2:has(input[name=goal][value=ssw_kaigo]:checked) .lp-target-field { display: none; }
.lp-form2:has(input[name=goal][value=ssw_kaigo]:checked) .lp-target-sswk { display: block; }
.lp-fixed-sswk { background: color-mix(in srgb, #0D9488 10%, var(--surface)); border-color: color-mix(in srgb, #0D9488 35%, var(--line)); }
.jd-note-ssw .jd-note-ic { background: linear-gradient(135deg, #0D9488, #115E59); }
.pt-lv-food { font-size: 12px; letter-spacing: .02em; background: linear-gradient(135deg, #D97706, #92400E); color: #fff; }
.to-level-note-food { background: color-mix(in srgb, #D97706 7%, var(--surface)); border-left-color: #D97706; }
.lp-target-sswf, .lp-target-sswr { display: none; }
.lp-form2:has(input[name=goal][value=ssw_rest]:checked) .lp-target-field { display: none; }
.lp-form2:has(input[name=goal][value=ssw_rest]:checked) .lp-target-sswr { display: block; }
.lp-form2:has(input[name=goal][value=ssw_food]:checked) .lp-target-field { display: none; }
.lp-form2:has(input[name=goal][value=ssw_food]:checked) .lp-target-sswf { display: block; }
.lp-fixed-sswf { background: color-mix(in srgb, #D97706 10%, var(--surface)); border-color: color-mix(in srgb, #D97706 35%, var(--line)); }
.lp-fixed-sswf .jp { color: #B45309; }
.jd-note-food .jd-note-ic, .cr-food .cr-kaigo-ic { background: linear-gradient(135deg, #D97706, #92400E); }
.pt-lv-agri { font-size: 12px; letter-spacing: .02em; background: linear-gradient(135deg, #65A30D, #3F6212); color: #fff; }
.to-level-note-agri { background: color-mix(in srgb, #65A30D 8%, var(--surface)); border-left-color: #65A30D; }
.lp-target-sswc, .lp-target-sswl { display: none; }
.lp-form2:has(input[name=goal][value=ssw_crop]:checked) .lp-target-field, .lp-form2:has(input[name=goal][value=ssw_live]:checked) .lp-target-field { display: none; }
.lp-form2:has(input[name=goal][value=ssw_crop]:checked) .lp-target-sswc, .lp-form2:has(input[name=goal][value=ssw_live]:checked) .lp-target-sswl { display: block; }
.lp-fixed-agri { background: color-mix(in srgb, #65A30D 10%, var(--surface)); border-color: color-mix(in srgb, #65A30D 35%, var(--line)); }
.lp-fixed-agri .jp { color: #4D7C0F; }
.jd-note-agri .jd-note-ic, .cr-agri .cr-kaigo-ic { background: linear-gradient(135deg, #65A30D, #3F6212); }

/* Atribusi sumber data terbuka */
.data-src { margin: 24px 0 8px; line-height: 1.5; }
.data-src a { color: inherit; text-decoration: underline; }

/* Dropdown Program: judul & keterangan panjang turun baris, label level tidak keluar kotak */
@media (min-width: 921px) {
  .dd-flyout { max-width: min(92vw, 440px); }
  .dd-menu a > span:not(.jp):not(.dd-caret) { flex: 1 1 auto; min-width: 0; white-space: normal; }
  .dd-menu a .dd-t { line-height: 1.3; }
  .dd-menu a .jp { flex: none; white-space: nowrap; padding-left: 8px; }
  .dd-menu a .ic, .dd-menu a > svg { flex: none; }
  .dd-sub-desc { white-space: normal; }
}
