/* pelajaran.css: lesson pages only (pelajaran/<slug>.html, built from pelajaran/bab.html by kursus/gen/seo.mjs).
   Builds on ailene/ailene.css + gaya.css (nav, footer, buy bar). Paper page, ink cards, one lime accent;
   the player stays dark like a video. Phone first. ?embed=1 (html.embed) shows only the player. */

@font-face { font-family: "JetBrains Mono"; src: url(fonts/JetBrainsMono.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }
/* icons: url() inside --i is declared here, next to gaya.css, so every browser resolves it to /ailene/icons/ */
.i-book { --i: url(ailene/icons/book-open.svg); } .i-radar { --i: url(ailene/icons/radar.svg); } .i-clock { --i: url(ailene/icons/clock.svg); } .i-list { --i: url(ailene/icons/list-checks.svg); }
/* the Claude windows in the player: public fonts only (kit.css switches to these under .k-public) */
.k-public .k { --k-anth-serif: "Literata", Georgia, serif; }

.lx { width: min(1240px, 100% - 32px); margin-inline: auto; padding: 14px 0 56px; }
.lx-grid { display: grid; gap: 18px; }
.lx-grid > * { min-width: 0; }
@media (min-width: 1024px) {
  .lx { padding-top: 20px; }
  .lx-grid { grid-template-columns: minmax(0, 1fr) 356px; grid-template-rows: auto auto auto auto 1fr; gap: 22px 28px; align-items: start; }
  .lx-grid > * { grid-column: 1; }
  .lx-grid > .side { grid-column: 2; grid-row: 1 / span 5; position: sticky; top: 84px; max-height: calc(100vh - 100px); display: flex; flex-direction: column; }
}
@media (min-width: 1280px) { .lx-grid { grid-template-columns: minmax(0, 1fr) 380px; } }

/* ---------- crumb row ---------- */
.lx-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 14px; }
.mapbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 15px 0 12px; border: 2px solid #0a0f0d; border-radius: 999px; background: #fff; color: #0a0f0d; box-shadow: 2px 2px 0 #0a0f0d; font: 800 14.5px/1 var(--font-ui); text-decoration: none; transition: transform .16s var(--ease-pop), box-shadow .16s; }
.mapbtn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 #0a0f0d; }
.mapbtn:active { transform: translate(1px, 1px); box-shadow: 0 0 0 #0a0f0d; }
.mapbtn .ico { --s: 17px; }
.bc { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; list-style: none; margin: 0; padding: 0; font: 600 15px/1.3 var(--font-ui); color: var(--ink-soft); }
.bc li + li::before { content: "›"; margin: 0 8px; color: #0a0f0d66; }
.bc a { color: var(--ink-soft); text-decoration: none; }
.bc a:hover { color: #0a0f0d; text-decoration: underline; text-decoration-color: var(--lime-hi); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.bc [aria-current] { color: #0a0f0d; font-weight: 800; }

/* ---------- player (dark, like a video) ---------- */
.player { position: relative; background: #0c1712; color: #fff; border: 2px solid #0a0f0d; border-radius: 20px; overflow: hidden; box-shadow: 5px 6px 0 #0a0f0d; font-family: var(--font-ui); }
.screen { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #0f2e1f; cursor: pointer; container-type: inline-size; -webkit-tap-highlight-color: transparent; }
@media (max-width: 700px) { html:not(.embed) .screen { aspect-ratio: 1 / 1; } }
.stage { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; overflow: hidden; visibility: hidden; }
.screen.ready .stage { visibility: visible; }
.stage .bgx { position: absolute; inset: 0; background:
  radial-gradient(55% 60% at 78% 100%, #c9ff5c26, #0000 70%),
  radial-gradient(45% 55% at 8% 0%, #a9dcf01f, #0000 70%),
  linear-gradient(#d6ee300f 1px, #0000 1px) 0 0 / 44px 44px,
  linear-gradient(90deg, #d6ee300f 1px, #0000 1px) 0 0 / 44px 44px,
  #0f2e1f; }
.cam { position: absolute; left: 0; top: 0; transform-origin: 0 0; transition: transform 1s cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.win { position: relative; }
.win > .k { box-shadow: 0 50px 110px -30px #000000b3, 0 0 0 2px #0a0f0d; }
.win > .k-cd, .win > .k-win { border-radius: 14px; }
.scn { position: absolute; left: 60px; top: 56px; width: 380px; pointer-events: none; transition: opacity .4s; }
.scn small { display: block; font: 800 20px/1 var(--font-mono); letter-spacing: .08em; color: var(--lime); }
.scn b { display: block; margin-top: 14px; font: 700 42px/1.06 var(--font-display); letter-spacing: -.03em; text-wrap: balance; }
.scn.off { opacity: 0; }

/* ring + label inside the window (they zoom with the camera) */
.lx-ring { position: absolute; z-index: 60; pointer-events: none; border-radius: calc(16px / var(--z, 1));
  box-shadow: 0 0 0 calc(5px / var(--z, 1)) var(--rc, #c9ff5c), 0 0 0 9999px #07140ea8, 0 0 calc(34px / var(--z, 1)) calc(4px / var(--z, 1)) color-mix(in srgb, var(--rc, #c9ff5c) 55%, transparent);
  transition: left .45s var(--ease-soft), top .45s var(--ease-soft), width .45s var(--ease-soft), height .45s var(--ease-soft), opacity .3s; }
.lx-ring.off { opacity: 0; }
.lx-lab { position: absolute; left: 0; bottom: 100%; margin-bottom: calc(12px / var(--z, 1)); white-space: nowrap; font: 800 calc(25px / var(--z, 1))/1 var(--font-ui); letter-spacing: -.01em;
  padding: .45em .7em; border-radius: 999px; background: var(--rc, #c9ff5c); color: #0a0f0d; box-shadow: calc(3px / var(--z, 1)) calc(3px / var(--z, 1)) 0 #0a0f0d; }
.lx-ring.dn .lx-lab { bottom: auto; top: calc(10px / var(--z, 1)); left: calc(10px / var(--z, 1)); margin: 0; }
.lx-new { animation: lxIn .55s var(--ease-soft) both; }
@keyframes lxIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.lx-caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 1px; vertical-align: -.2em; background: currentColor; animation: lxBlink 1s steps(1) infinite; }
@keyframes lxBlink { 50% { opacity: 0; } }
.lx-pp { display: block; border-radius: 6px; padding: 1px 4px; margin: 0 -4px 3px; background: color-mix(in srgb, var(--pc) 30%, transparent); transition: background .3s; }
.lx-pp.on { background: color-mix(in srgb, var(--pc) 70%, transparent); }
/* message content written for the lesson */
.win .lx-ol { margin: 8px 0 0; padding-left: 1.3em; display: grid; gap: 10px; }
.win .lx-ol li { padding: 6px 8px; margin-left: -8px; border-radius: 10px; }
.win .lx-ol li b { font-weight: 650; }
.win .lx-q { margin: 8px 0 4px; padding: 10px 14px; border-left: 3px solid #d97757; background: #d977571a; border-radius: 0 10px 10px 0; font-style: italic; }
.win .lx-q small { display: block; margin-top: 4px; font-style: normal; font-size: .8em; opacity: .7; }
.win .lx-km { list-style: none; margin-top: 8px; display: grid; gap: 6px; padding: 8px 10px; border-radius: 12px; background: #0000000a; }
.win .lx-km li { display: grid; grid-template-columns: minmax(90px, 34%) 1fr; gap: 10px; }
.win .lx-ab { margin: 8px 0 0; padding-left: 1.4em; display: grid; gap: 6px; list-style: upper-alpha; }
.win .lx-ab li { padding: 6px 10px; margin-left: -8px; border-radius: 10px; border: 1px solid #0000001f; }
.win .lx-ab li.ok { background: #dff7e6; border-color: #3aa564; font-weight: 650; }
.win .lx-ab li.ok::after { content: "  ✓ benar"; color: #1f7a4d; }
.win .lx-aman { padding: 10px 12px; border-radius: 12px; background: #fff4d6; }
.win .lx-img { margin-top: 10px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px #0000001a; }
.win .lx-img img { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 625; object-fit: cover; object-position: top; }

/* subtitles (stage px; bigger stage px on narrow screens so they never read below ~15px) */
.sub { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 5; text-align: center; padding: 0 60px; pointer-events: none; transition: bottom .25s var(--ease); }
.sub span { display: inline; font: 650 var(--subfs, 33px)/1.45 var(--font-ui); padding: .16em .45em; border-radius: .3em; background: #000000c7; color: #fff; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sq .sub { padding: 0 34px; bottom: 22px; }
.sub.off { display: none; }

/* poster (fills the whole box), big play flash, end card */
.cover { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; justify-content: flex-end; gap: 1.6cqi; padding: 5cqi 5.5cqi; cursor: pointer; transition: opacity .45s;
  background: #0f2e1f center 35% / cover no-repeat; } /* the image is set inline (url relative to the page) */
.cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #07140ef2 0%, #07140ebf 34%, #07140e14 72%); }
.cover > * { position: relative; }
.cover.gone { opacity: 0; pointer-events: none; }
.cv-play { position: absolute; left: 50%; top: 42%; width: clamp(54px, 13cqi, 92px); aspect-ratio: 1; translate: -50% -50%; display: grid; place-items: center; border: 2.5px solid #0a0f0d; border-radius: 50%; background: var(--lime); box-shadow: 4px 4px 0 #0a0f0d; cursor: pointer; transition: transform .2s var(--ease-pop), box-shadow .2s; }
.cv-play i { width: 34%; aspect-ratio: 1; margin-left: 9%; background: #0a0f0d; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.cover:hover .cv-play { transform: translate(-2px, -2px) scale(1.04); box-shadow: 6px 6px 0 #0a0f0d; }
.cv-txt small { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 800 clamp(11px, 1.7cqi, 14px)/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #eef5eec7; }
.cv-txt small b { padding: .35em .6em; border: 1.5px solid #0a0f0d; border-radius: 999px; background: var(--lime); color: #0a0f0d; }
.cv-txt h2 { margin: 1.4cqi 0 0; max-width: 22ch; font: 700 clamp(19px, 5.2cqi, 46px)/1.05 var(--font-display); letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.cv-txt p { margin: 1.2cqi 0 0; max-width: 46ch; font: 500 clamp(14px, 1.9cqi, 17px)/1.45 var(--font-ui); color: #eef5eecc; }
@container (max-width: 460px) { .cv-txt p { display: none; } }
.cv-brand { display: none; }
.bigplay { position: absolute; inset: 0; z-index: 7; display: grid; place-items: center; pointer-events: none; opacity: 0; }
.bigplay i { width: 74px; height: 74px; border-radius: 50%; background: #0a0f0d99; position: relative; }
.bigplay i::after { content: ""; position: absolute; left: 29px; top: 22px; border-left: 24px solid #fff; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.bigplay i.pz::after { left: 25px; top: 23px; width: 8px; height: 28px; border: 0; background: #fff; box-shadow: 16px 0 #fff; }
.bigplay.flash { animation: bp .65s ease both; }
@keyframes bp { 0% { opacity: 0; transform: scale(.8); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.18); } }
.endc { position: absolute; inset: 0; z-index: 11; display: grid; place-items: center; padding: 4cqi; background: #07140ee6; cursor: default; animation: up-in .4s var(--ease) both; }
.endc[hidden] { display: none; }
.endc-in { display: grid; justify-items: center; gap: 1.6cqi; text-align: center; max-width: 560px; }
.endc small { font: 800 clamp(11px, 1.7cqi, 14px)/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.endc b { font: 700 clamp(17px, 3.6cqi, 30px)/1.15 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.endc-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin-top: 1cqi; }
@container (max-width: 460px) { .endc .a-btn { min-height: 40px; padding: 0 16px; font-size: 14px; } }

/* controls */
.ctl { background: #0c1712; padding: 6px 10px 8px; border-top: 1.5px solid #0a0f0d; }
.tl { position: relative; height: 22px; display: flex; gap: 3px; align-items: center; cursor: pointer; touch-action: none; }
.tl .seg { position: relative; height: 5px; border-radius: 3px; background: #ffffff38; transition: height .15s; }
.tl:hover .seg { height: 8px; }
.tl .seg i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: var(--lime); }
.tl .tip { position: absolute; bottom: 26px; transform: translateX(-50%); white-space: nowrap; font: 700 13px/1 var(--font-ui); background: #fff; color: #0a0f0d; padding: 7px 10px; border: 1.5px solid #0a0f0d; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.tl:hover .tip { opacity: 1; }
.tl .knob { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--lime); pointer-events: none; }
.pl-row { display: flex; align-items: center; gap: 2px; margin-top: 2px; }
.pl-row button { height: 40px; min-width: 40px; padding: 0 8px; border: 0; border-radius: 10px; display: grid; place-items: center; background: none; color: #fff; cursor: pointer; font: 800 14px/1 var(--font-mono); transition: background .2s; }
.pl-row button:hover { background: #ffffff1a; }
.pl-row svg { width: 22px; height: 22px; fill: currentColor; }
.pl-row .tm { font: 600 14px/1 var(--font-mono); color: #ffffffcc; margin: 0 6px; white-space: nowrap; }
.pl-row .chn { flex: 1; min-width: 0; font: 650 15px/1.2 var(--font-ui); color: #ffffffe6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-row button.on { background: var(--lime); color: #0a0f0d; }
.simtag { flex: none; font: 800 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 7px; background: #ffffff1a; color: #ffffffb3; margin-right: 4px; }
@media (max-width: 560px) { .simtag, .pl-row .chn { display: none; } .pl-row .tm { margin-right: auto; } }
.nodata .ctl, .nodata .cv-play { display: none; }

/* ---------- lesson info ---------- */
.lx-info { padding: 4px 2px 0; }
.lx-kick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; font: 800 12.5px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); }
.lx-no { padding: 5px 10px; border: 1.5px solid #0a0f0d; border-radius: 999px; background: var(--lime); color: #0a0f0d; box-shadow: 2px 2px 0 #0a0f0d; }
.lx-info h1 { margin: 14px 0 0; font: 700 clamp(30px, 4.4vw, 46px)/1.04 var(--font-display); letter-spacing: -.035em; text-wrap: balance; }
.goal { margin: 12px 0 0; max-width: 66ch; font-size: 17px; line-height: 1.58; color: var(--ink-soft); }
.goal b { color: #0a0f0d; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tg { display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px; border: 1.5px solid #0a0f0d; border-radius: 999px; background: #fff; font: 800 12.5px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.tg.su { background: var(--sky); }
.tg.ex { background: var(--lime); }
.tg.pj { background: var(--sun); }
.tg.free { background: var(--mint); }
.tg.plain { border-color: var(--line-strong); color: var(--ink-soft); }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.acts .a-btn { min-height: 50px; }
.a-btn.is-done { --bg: var(--mint); }
@media (max-width: 560px) { .acts .a-btn { flex: 1 1 100%; } }
.pk { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 22px; padding: 16px 16px 16px 18px; border: 2px solid #0a0f0d; border-radius: 18px; background: #fff; box-shadow: 4px 5px 0 #0a0f0d; }
.pk.is-free { background: #f4fbe0; }
.pk p { flex: 1 1 300px; margin: 0; font-size: 16px; line-height: 1.5; }
.pk small { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
@media (max-width: 560px) { .pk .a-btn { flex: 1 1 100%; } }

/* written version, folded */
.rt { border: 2px solid #0a0f0d; border-radius: 18px; background: #fff; box-shadow: 3px 3px 0 #0a0f0d; }
.rt > summary { display: flex; align-items: center; gap: 10px; padding: 16px 18px; cursor: pointer; list-style: none; font: 700 18px/1.2 var(--font-display); letter-spacing: -.01em; }
.rt > summary::-webkit-details-marker { display: none; }
.rt > summary small { font: 500 15px/1.3 var(--font-ui); color: var(--ink-soft); }
.rt > summary::after { content: "+"; margin-left: auto; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid #0a0f0d; border-radius: 50%; background: var(--lime); font: 800 19px/1 var(--font-ui); transition: transform .26s var(--ease-pop); }
.rt[open] > summary::after { transform: rotate(135deg); }
.rt .in { display: grid; gap: 22px; padding: 2px 18px 20px; }
.rt h3 { margin: 0 0 10px; font: 800 12.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); }
.rt p, .rt li { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.rt ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.rt b { color: #0a0f0d; }
.rt .ba { display: grid; gap: 10px; }
@media (min-width: 640px) { .rt .ba.two { grid-template-columns: 1fr 1fr; } }
.rt .ba div { padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--paper); font-size: 15.5px; line-height: 1.5; }
.rt .ba small { display: block; margin-bottom: 6px; font: 800 11.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.rt .ba .af { background: #f4fbe0; border-color: #0a0f0d; }
.rt .ba .af small { color: var(--green-deep); }
.rt dl { display: grid; gap: 8px; margin: 0; }
.rt dl div { display: grid; grid-template-columns: minmax(110px, 30%) 1fr; gap: 12px; font-size: 15.5px; line-height: 1.45; }
.rt dt { font-weight: 800; } .rt dd { margin: 0; color: var(--ink-soft); }

/* prev / next */
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pn a, .pn span { display: grid; align-content: start; gap: 6px; padding: 13px 15px; border: 2px solid #0a0f0d; border-radius: 16px; background: #fff; box-shadow: 3px 3px 0 #0a0f0d; color: #0a0f0d; text-decoration: none; transition: transform .16s var(--ease-pop), box-shadow .16s; }
.pn a:hover { transform: translate(-1px, -2px); box-shadow: 4px 5px 0 #0a0f0d; }
.pn .nx { text-align: right; }
.pn .off { visibility: hidden; }
.pn small { font: 800 12px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--green-deep); }
.pn b { font: 700 15.5px/1.3 var(--font-ui); }

/* ---------- side: tabs + panes ---------- */
.side { padding: 12px; border: 2px solid #0a0f0d; border-radius: 20px; background: #fff; box-shadow: 4px 5px 0 #0a0f0d; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: -2px; padding: 2px 2px 4px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 1 0 auto; min-height: 40px; padding: 0 8px; border: 1.5px solid #0a0f0d; border-radius: 999px; background: #fff; color: #0a0f0d; font: 750 15px/1 var(--font-ui); cursor: pointer; white-space: nowrap; transition: background .15s, transform .16s var(--ease-pop); }
.tabs button:hover { background: var(--paper); }
.tabs button.on { background: #0a0f0d; color: #fff; }
.panes { margin-top: 12px; }
@media (min-width: 1024px) { .panes { flex: 1; min-height: 0; overflow-y: auto; margin: 12px -6px 0; padding: 0 6px 4px; scrollbar-width: thin; scrollbar-color: #0a0f0d40 transparent; } }
.js .pane:not(.on) { display: none; }
.pane-h { margin: 18px 2px 10px; font: 700 18px/1.2 var(--font-display); }
.js .pane-h { display: none; }
html:not(.js) .tabs { display: none; }
.ph { margin: 2px 4px 10px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }

.pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pt button { position: relative; overflow: hidden; width: 100%; display: grid; grid-template-columns: 50px 1fr; gap: 2px 10px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--paper); color: #0a0f0d; text-align: left; font: inherit; cursor: pointer; transition: background .15s, border-color .15s; }
.pt button:hover { border-color: #0a0f0d; }
.pt .t { grid-row: span 2; align-self: start; padding: 6px 0; border: 1.5px solid var(--line-strong); border-radius: 8px; background: #fff; font: 700 12.5px/1 var(--font-mono); text-align: center; }
.pt b { font: 700 15.5px/1.3 var(--font-ui); letter-spacing: -.01em; }
.pt .x { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-soft); }
.pt .x span { overflow: hidden; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.pt .pg { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--green); }
.pt.on button { border: 2px solid #0a0f0d; background: #f4fbe0; box-shadow: 2px 2px 0 #0a0f0d; }
.pt.on .t { border-color: #0a0f0d; background: var(--lime); }
.pt.on .x { grid-template-rows: 1fr; }
.pt.on .x span { padding-top: 4px; }
.pt.dn .t::before { content: "✓ "; color: var(--green); }
.pt.on.dn .t::before { content: ""; }
.pt.grp { padding: 12px 4px 2px; font: 800 11.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); }
.pt.grp:first-child { padding-top: 2px; }

.pcard .why { margin: 2px 2px 12px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.pcard .pp { display: grid; gap: 5px; margin-bottom: 8px; padding: 11px 13px; border: 1.5px solid #0a0f0d; border-radius: 14px; background: color-mix(in srgb, var(--pc) 32%, #fff); }
.pcard .pp b { font: 800 11.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.pcard .pp span { font-size: 15.5px; line-height: 1.5; }
.pcard .a-btn { margin-top: 6px; }

.faq details { margin-bottom: 8px; border: 1.5px solid #0a0f0d; border-radius: 14px; background: #fff; }
.faq summary { position: relative; padding: 13px 46px 13px 14px; cursor: pointer; list-style: none; font: 700 15.5px/1.35 var(--font-ui); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 12px; top: 10px; display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid #0a0f0d; border-radius: 50%; background: var(--lime); font: 800 16px/1 var(--font-ui); transition: transform .26s var(--ease-pop); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq p { margin: 0; padding: 0 14px 14px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.aman { margin: 4px 0 0; padding: 13px 15px; border: 1.5px solid #0a0f0d; border-radius: 14px; background: color-mix(in srgb, var(--sun) 32%, #fff); font-size: 15px; line-height: 1.5; }

.zip { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding: 14px; border: 2px solid #0a0f0d; border-radius: 16px; background: var(--paper); }
.zip i { display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid #0a0f0d; border-radius: 14px; background: #0a0f0d; color: var(--lime); font: 800 13px/1 var(--font-mono); font-style: normal; transform: rotate(-3deg); }
.zip b { display: block; font: 700 16px/1.25 var(--font-display); }
.zip code { display: inline-block; margin-top: 5px; font: 700 13px/1.2 var(--font-mono); color: var(--green-deep); word-break: break-all; }
.zip small { display: block; margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--ink-soft); }
.files { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.files li { display: grid; gap: 4px; padding: 11px 13px; border: 1.5px solid var(--line-strong); border-radius: 12px; }
.files code { font: 700 13px/1.3 var(--font-mono); color: var(--green-deep); word-break: break-all; }
.files span { font-size: 15px; line-height: 1.4; color: var(--ink-soft); }
.res { display: block; margin-top: 12px; border: 2px solid #0a0f0d; border-radius: 14px; overflow: hidden; background: #fff; color: #0a0f0d; text-decoration: none; box-shadow: 3px 3px 0 #0a0f0d; transition: transform .16s var(--ease-pop), box-shadow .16s; }
.res:hover { transform: translate(-1px, -2px); box-shadow: 4px 5px 0 #0a0f0d; }
.res img { width: 100%; height: auto; max-height: 420px; object-fit: cover; object-position: top; border-bottom: 2px solid #0a0f0d; }
.res span { display: block; padding: 11px 14px; font: 800 15px/1.3 var(--font-ui); }

.cek h3 { margin: 2px 2px 0; font: 700 18px/1.3 var(--font-display); letter-spacing: -.01em; }
.cek .opts { display: grid; gap: 8px; margin-top: 12px; }
.cek .opts button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; color: #0a0f0d; text-align: left; font: 600 15.5px/1.35 var(--font-ui); cursor: pointer; transition: border-color .15s, transform .16s var(--ease-pop); }
.cek .opts button::before { content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid var(--ink-mute); border-radius: 50%; }
.cek .opts button:hover:not(:disabled) { border-color: #0a0f0d; }
.cek .opts button:disabled { cursor: default; }
.cek .opts button.ok { border: 2px solid #0a0f0d; background: #e9f8e3; box-shadow: 2px 2px 0 #0a0f0d; }
.cek .opts button.ok::before { border: 5px solid #0a0f0d; background: var(--lime); }
.cek .opts button.no { border: 2px solid var(--coral); background: #fde7e4; }
.cek .fb { min-height: 1em; margin: 10px 2px 0; font: 650 15px/1.45 var(--font-ui); }
.cek .fb.ok { color: var(--green-deep); } .cek .fb.no { color: #b8392a; }
.mulai { margin: 14px 0 0; padding: 12px 14px; border: 1.5px dashed var(--line-strong); border-radius: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.mulai code { padding: 2px 6px; border-radius: 6px; background: #0a0f0d; color: var(--lime); font: 700 13.5px/1.4 var(--font-mono); }

/* ---------- semua bab: drawer on every width (also opens without JS via #semua-bab) ---------- */
.map { position: fixed; z-index: 90; top: 0; bottom: 0; left: 0; width: min(400px, 92vw); overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px 40px; background: var(--paper); border-right: 2px solid #0a0f0d; box-shadow: 6px 0 0 #0a0f0d33; transform: translateX(-104%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
.map-open .map, .map:target { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.scrim { position: fixed; inset: 0; z-index: 89; background: #0a2217a6; opacity: 0; pointer-events: none; transition: opacity .3s; }
.map-open .scrim { opacity: 1; pointer-events: auto; }
.mh { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 4px 6px; }
.mh b { display: block; font: 700 22px/1.1 var(--font-display); letter-spacing: -.02em; }
.mh small { display: block; margin-top: 4px; font-size: 15px; color: var(--ink-soft); }
.mx { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 2px solid #0a0f0d; border-radius: 12px; background: #fff; color: #0a0f0d; box-shadow: 2px 2px 0 #0a0f0d; font: 800 16px/1 var(--font-ui); text-decoration: none; }
.legend { display: flex; gap: 16px; margin: 6px 4px 4px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.legend i, .ms ol a i { display: inline-block; width: 10px; height: 10px; border: 1.5px solid #0a0f0d; border-radius: 50%; background: var(--sky); }
.legend i { margin-right: 6px; vertical-align: -1px; }
.legend i.ex, .ms ol a i.ex { background: var(--lime); }
.ms { margin-top: 10px; border: 2px solid #0a0f0d; border-radius: 16px; background: #fff; box-shadow: 3px 3px 0 #0a0f0d; }
.ms > summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; list-style: none; }
.ms > summary::-webkit-details-marker { display: none; }
.ms .n { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid #0a0f0d; border-radius: 10px; background: var(--t, var(--lime)); font: 800 16px/1 var(--font-display); }
.ms .nm small { display: block; font: 800 11px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--green-deep); }
.ms .nm b { display: block; margin-top: 3px; font: 700 16px/1.2 var(--font-display); letter-spacing: -.01em; }
.ms em { padding: 5px 8px; border: 1.5px solid #0a0f0d; border-radius: 999px; background: #fff; font: 800 10.5px/1 var(--font-mono); font-style: normal; letter-spacing: .05em; text-transform: uppercase; }
.ms em.free { background: var(--mint); }
.ms ol { list-style: none; margin: 0; padding: 0 8px 10px; display: grid; gap: 2px; border-top: 1.5px dashed #0a0f0d24; padding-top: 8px; }
.ms ol a { display: grid; grid-template-columns: 38px minmax(0, 1fr) 10px; align-items: center; gap: 8px; padding: 9px 8px; border-radius: 10px; color: #0a0f0d; text-decoration: none; font: 600 15px/1.3 var(--font-ui); }
.ms ol a:hover { background: var(--paper); }
.ms ol .cn { font: 800 12.5px/1 var(--font-mono); color: var(--green-deep); }
.ms ol a.dn .cn::after { content: " ✓"; color: var(--green); }
.ms ol a.cur { background: #f4fbe0; box-shadow: inset 0 0 0 2px #0a0f0d; font-weight: 800; }

.toast { position: fixed; left: 50%; bottom: 22px; z-index: 99; max-width: calc(100% - 32px); padding: 12px 16px; border: 2px solid #0a0f0d; border-radius: 14px; background: #fff; color: #0a0f0d; box-shadow: 4px 4px 0 #0a0f0d; font: 750 15px/1.3 var(--font-ui); opacity: 0; pointer-events: none; transform: translate(-50%, 30px); transition: transform .3s var(--ease-pop), opacity .2s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- ?embed=1: only the player, filling the frame (16:9 iframe, 320–1100 wide) ---------- */
html.embed, .embed body { height: 100%; overflow: hidden; background: #0c1712; }
.embed .nav, .embed .lx-crumb, .embed .lx-info, .embed .side, .embed .rt, .embed .pn, .embed .map, .embed .scrim, .embed .foot, .embed .buybar, .embed .toast { display: none !important; }
.embed .lx { width: auto; padding: 0; }
.embed .player, .embed .ccv { position: fixed; inset: 0; border: 0; border-radius: 0; box-shadow: none; }
.embed .screen { position: absolute; inset: 0; aspect-ratio: auto; }
.embed .ctl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 12; padding: 18px 10px 6px; border: 0; background: linear-gradient(#0c171200, #0c1712d9 45%); opacity: 0; pointer-events: none; transition: opacity .25s; }
.embed .player.ctl-on .ctl { opacity: 1; pointer-events: auto; }
.embed .player:not(.started) .ctl, .embed .player.ended .ctl { display: none; }
.embed .ctl-on .sub { bottom: calc(10px + 64px / var(--s, 1)); }
.embed .cv-brand { position: absolute; left: 3.4cqi; top: 3.4cqi; display: inline-flex; align-items: center; gap: 0; height: clamp(26px, 5.4cqi, 38px); padding: 0 .7em 0 .5em; border: 2px solid #0a0f0d; border-radius: 999px; background: #fff; box-shadow: 2px 2px 0 #0a0f0d; }
.embed .cv-brand img { height: 62%; width: auto; }
.embed .cv-txt h2 { font-size: clamp(17px, 4.6cqi, 40px); }
@container (max-width: 420px) { .embed .cv-txt small { display: none; } .embed .cv-play { top: 40%; } }

@media (prefers-reduced-motion: reduce) {
  .cam, .lx-ring, .sub { transition: none !important; }
  .lx-new, .lx-caret, .endc { animation: none !important; }
}
