/* Mockup produk (HTML/CSS) — kotak desain 460 x 560 px, diskalakan lewat --sk */
.ruang { perspective: 1500px; perspective-origin: 50% 45%; }
.produk {
  position: absolute; left: 50%; top: 50%; width: 460px; height: 560px; margin: -280px 0 0 -230px;
  transform-style: preserve-3d; z-index: 3; cursor: zoom-in; outline: none; -webkit-tap-highlight-color: transparent;
}
.produk:focus-visible .mk { outline: 3px solid rgba(255,255,255,.8); outline-offset: 10px; border-radius: 16px; }
.slide.fokus .produk { cursor: zoom-out; }
.slide.fokus .tokoh { z-index: 6; }
.slide.fokus .teks { pointer-events: none; }
.kepala, .navbawah, .panah { transition: opacity .4s, color .6s, background .2s, transform .2s; }
body.mode-fokus .kepala, body.mode-fokus .navbawah, body.mode-fokus .panah { opacity: 0; pointer-events: none; }
.pil-tutup {
  position: fixed; left: 50%; bottom: 22px; z-index: 30;
  padding: 8px 16px; border-radius: 999px; background: rgba(0,0,0,.35); backdrop-filter: blur(6px);
  color: #fff; font: 600 13px var(--font); pointer-events: none; opacity: 0; white-space: nowrap;
}
.produk-tilt, .produk-apung { position: absolute; inset: 0; transform-style: preserve-3d; }
.mk {
  position: absolute; inset: 0; transform: scale(var(--sk, 1)); transform-style: preserve-3d;
  color: #1d2433; font-family: var(--font);
}
.mk > * { position: absolute; }
.mk p { margin: 0; }
.mk i { display: block; }
.mk .titik { width: 7px; height: 7px; border-radius: 50%; background: #FF5F57; flex: none; }
.mk .titik + .titik { background: #FEBC2E; }
.mk .titik + .titik + .titik { background: #28C840; }
.mk .ok { width: 32px; height: 32px; border-radius: 50%; background: #22B04B; display: grid; place-items: center; flex: none; }
.mk .ok svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ================= Turnitin: laptop + laporan similarity ================= */
.mk-turnitin .lp { left: 10px; top: 118px; width: 440px; transform-style: preserve-3d; }
.lp-layar {
  height: 286px; padding: 12px 12px 16px; border-radius: 18px 18px 6px 6px; background: #15171e;
  box-shadow: 0 34px 60px rgba(0,0,0,.35), inset 0 0 0 2px #2c2f3a;
}
.lp-ui { height: 100%; display: flex; flex-direction: column; border-radius: 6px; overflow: hidden; background: #F3F5F9; }
.ui-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #fff; border-bottom: 1px solid #E3E7EF; font-size: 9px; }
.ui-bar b { margin-left: 8px; font-weight: 700; }
.ui-bar em { margin-left: auto; font-style: normal; color: #8a93a6; }
.ui-isi { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; padding: 10px; }
.ui-dok { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 6px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.ui-dok i { height: 6px; border-radius: 3px; background: #E4E8F0; flex: none; }
.ui-dok .ui-jd { width: 55%; height: 9px; margin-bottom: 4px; background: #1d2433; opacity: .75; }
.ui-pindai {
  position: absolute; left: 0; right: 0; top: 0; height: 30px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(215,38,61,.16) 50%, transparent);
  border-bottom: 1.5px solid rgba(215,38,61,.45);
  animation: pindai 2.6s ease-in-out infinite alternate;
}
@keyframes pindai { from { transform: translateY(-10px); } to { transform: translateY(190px); } }
.ui-panel { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px; border-radius: 6px; background: #fff; }
.cincin { position: relative; width: 92px; height: 92px; }
.cincin svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cincin circle { fill: none; stroke-width: 10; }
.cincin .jalur { stroke: #EEF0F5; }
.cincin .nilai { stroke: #22B04B; stroke-linecap: round; stroke-dashoffset: 242.8; }
.cincin-angka { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 28px; font-weight: 900; }
.cincin-angka b { font-size: 28px; line-height: 1; }
.cincin-angka small { font-size: 13px; }
.ui-label { font-size: 8px; font-weight: 700; color: #8a93a6; letter-spacing: .05em; text-transform: uppercase; }
.sumber { display: grid; grid-template-columns: 8px 1fr 16px; gap: 6px; align-items: center; width: 100%; font-size: 9px; }
.sumber > i { width: 8px; height: 8px; border-radius: 2px; }
.sumber span { height: 6px; border-radius: 3px; background: #EEF0F5; overflow: hidden; }
.sumber span b { display: block; height: 100%; width: 18%; border-radius: 3px; background: #9aa3b5; }
.sumber em { font-style: normal; font-weight: 700; text-align: right; }
.sumber em::after { content: "%"; }
.lp-alas {
  position: relative; height: 18px; margin: 0 -26px; border-radius: 2px 2px 16px 16px;
  background: linear-gradient(#e4e7ed, #a8aebb); box-shadow: 0 26px 40px rgba(0,0,0,.3);
}
.lp-alas::before { content: ""; position: absolute; left: 50%; top: 0; width: 74px; height: 7px; margin-left: -37px; border-radius: 0 0 8px 8px; background: #c3c8d1; }
.ui-kartu, .jr-lencana {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; background: #fff;
  box-shadow: 0 26px 44px rgba(0,0,0,.3);
}
.ui-kartu { left: -14px; top: 404px; }
.ui-kartu b, .jr-lencana b { display: block; font-size: 13px; font-weight: 800; }
.ui-kartu small, .jr-lencana small { display: block; font-size: 9.5px; color: #8a93a6; }

/* ================= Jurnal: sampul + halaman artikel ================= */
.jr-sampul {
  left: 4px; top: 40px; width: 270px; height: 370px; padding: 26px 22px; overflow: hidden; border-radius: 6px; color: #fff;
  background: linear-gradient(160deg, #10957F, #07463D); box-shadow: 0 28px 50px rgba(0,0,0,.35);
}
.jr-pola { position: absolute; right: -60px; top: 110px; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(255,255,255,.08); }
.jr-pola.b { right: auto; left: -80px; top: 250px; border-color: rgba(255,214,80,.2); }
.jr-atas { position: relative; font-size: 10px; font-weight: 700; letter-spacing: .3em; opacity: .85; }
.jr-nama { position: relative; margin: 10px 0 12px; font-size: 40px; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.jr-vol { position: relative; font-size: 10px; font-weight: 600; color: #FFE08A; }
.jr-daftar { position: absolute; left: 22px; right: 70px; bottom: 28px; display: grid; gap: 7px; }
.jr-daftar i { height: 5px; border-radius: 3px; background: rgba(255,255,255,.35); }
.jr-hal {
  left: 126px; top: 98px; width: 318px; height: 432px; padding: 18px; border-radius: 4px; background: #fff;
  font-family: Georgia, "Times New Roman", serif; box-shadow: 0 32px 60px rgba(0,0,0,.32); transform-origin: left center;
}
.jr-kepala { display: flex; justify-content: space-between; padding-bottom: 5px; border-bottom: 1px solid #d5dae4; font: 7px var(--font); color: #6b7385; }
.jr-hal h4 { margin: 14px 8px 8px; font-size: 15px; line-height: 1.25; text-align: center; }
.jr-penulis { font-size: 9px; font-weight: 700; text-align: center; }
.jr-afil { margin-top: 2px; font-size: 7px; text-align: center; color: #6b7385; }
.jr-abstrak { display: grid; gap: 4px; margin: 10px 0; padding: 8px; border-radius: 4px; background: #F3F5F9; }
.jr-abstrak > b { font-size: 8px; }
.jr-abstrak i { height: 4px; border-radius: 2px; background: #C9CFDA; }
.jr-abstrak p { margin-top: 2px; font-size: 7px; }
.jr-kolom { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jr-kolom > div { display: grid; gap: 4px; align-content: start; }
.jr-kolom b { margin-bottom: 2px; font-size: 7.5px; }
.jr-kolom i { height: 4px; border-radius: 2px; background: #D6DBE4; }
.jr-tabel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 4px 0; }
.jr-tabel i { height: 9px; border-radius: 1px; background: #E3F3EF; }
.jr-tabel i:nth-child(-n+3) { background: #10957F; opacity: .55; }
.jr-lencana { left: 236px; top: 486px; }

/* ================= Skripsi & Tesis: buku hardcover 3D ================= */
.buku3d { width: 270px; height: 380px; transform-style: preserve-3d; }
.buku3d.skripsi { left: 64px; top: 136px; --warna: #0F4A37; --gelap: #082d22; --emas: #E8C872; }
.buku3d.tesis { left: 150px; top: 30px; --warna: #7A1426; --gelap: #4d0b18; --emas: #EBCB7A; }
.buku3d > div { position: absolute; }
.bk-depan, .bk-belakang { inset: 0; border-radius: 3px 8px 8px 3px; }
.bk-depan {
  transform: translateZ(18px); overflow: hidden;
  display: flex; flex-direction: column; align-items: center; padding: 30px 24px 26px; text-align: center;
  color: var(--emas); font-family: "Times New Roman", Georgia, serif;
  background: radial-gradient(120% 80% at 30% 15%, rgba(255,255,255,.16), transparent 60%), var(--warna);
  box-shadow: inset 7px 0 10px rgba(0,0,0,.35);
}
.bk-depan::before { content: ""; position: absolute; inset: 12px; border: 1.5px solid var(--emas); border-radius: 4px; opacity: .55; }
.bk-belakang { transform: rotateY(180deg) translateZ(18px); background: var(--gelap); }
.bk-punggung {
  left: -18px; top: 0; width: 36px; height: 380px; border-radius: 4px; transform: rotateY(-90deg);
  display: grid; place-items: center; background: linear-gradient(90deg, var(--gelap), var(--warna) 50%, var(--gelap));
}
.bk-punggung span { writing-mode: vertical-rl; transform: rotate(180deg); color: var(--emas); font: 700 9px/1 "Times New Roman", serif; letter-spacing: .12em; }
.bk-kanan { left: 252px; top: 4px; width: 34px; height: 372px; transform: rotateY(90deg); background: repeating-linear-gradient(90deg, #fbf8f0 0 2px, #e0d9c6 2px 3px); }
.bk-atas, .bk-bawah { left: 3px; width: 262px; height: 34px; background: repeating-linear-gradient(0deg, #fbf8f0 0 2px, #e0d9c6 2px 3px); }
.bk-atas { top: -17px; transform: rotateX(90deg); }
.bk-bawah { top: 363px; transform: rotateX(-90deg); }
.bk-jenis { position: relative; margin: 6px 0 12px; font-size: 24px; font-weight: 700; letter-spacing: .3em; }
.bk-judul { position: relative; max-width: 210px; font-size: 10.5px; font-weight: 700; line-height: 1.45; text-transform: uppercase; }
.buku3d .lambang { position: relative; width: 76px; height: 76px; margin: 18px 0; }
.bk-oleh, .bk-nim { position: relative; font-size: 9px; opacity: .85; }
.bk-nama { position: relative; margin-top: 3px; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.bk-kaki { position: relative; margin-top: auto; font-size: 8.5px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.bk-kilap {
  position: absolute; top: -20%; left: 0; width: 45%; height: 140%; pointer-events: none; transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,240,200,.28), transparent);
}

/* ================= Makalah: tumpukan kertas + pensil ================= */
.mkl-lembar {
  width: 320px; height: 440px; border-radius: 3px; background: #fff; color: #0C1F4D;
  font-family: "Times New Roman", Georgia, serif; box-shadow: 0 22px 46px rgba(0,0,0,.25);
}
.mkl-lembar.l3 { left: 96px; top: 34px; background: #f3efe6; }
.mkl-lembar.l2 { left: 36px; top: 66px; padding: 40px 36px; background: #fbfaf7; }
.mkl-isi { display: grid; gap: 7px; }
.mkl-isi i { height: 5px; border-radius: 2px; background: #D9DDE5; }
.mkl-isi i.jd { height: 8px; margin: 0 auto 8px; background: #0C1F4D; opacity: .6; }
.mkl-lembar.sampul { left: 70px; top: 92px; padding: 34px 30px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.staples { position: absolute; left: 16px; top: 20px; width: 26px; height: 4px; border-radius: 2px; transform: rotate(-40deg); background: linear-gradient(#d4d8df, #8c93a0); box-shadow: 0 1px 1px rgba(0,0,0,.3); }
.mkl-jenis { font-size: 26px; font-weight: 700; letter-spacing: .28em; }
.mkl-judul { margin: 10px 10px 4px; font-size: 13px; font-weight: 700; line-height: 1.35; }
.mkl-mk { font-size: 9px; font-style: italic; color: #4a5470; }
.mk-makalah .lambang { width: 76px; height: 76px; margin: 18px 0; }
.mkl-oleh { margin-top: 6px; font-size: 9.5px; }
.mkl-anggota { display: grid; gap: 5px; justify-items: center; width: 100%; margin: 6px 0; }
.mkl-anggota i { height: 5px; border-radius: 2px; background: #D9DDE5; }
.mkl-kaki { margin-top: auto; font-size: 8.5px; font-weight: 700; line-height: 1.5; }
.pensil { left: 230px; top: 470px; width: 250px; height: 18px; display: flex; transform-origin: 0 50%; filter: drop-shadow(0 12px 8px rgba(0,0,0,.28)); }
.ps-ujung { width: 34px; background: linear-gradient(90deg, #2f2f33 0 9px, #E9C79A 9px); clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.ps-badan { flex: 1; background: linear-gradient(#FFD54A 0 33%, #F5B800 33% 66%, #DDA000 66%); }
.ps-cincin { width: 16px; background: linear-gradient(90deg, #c7ccd4, #f1f3f6, #a9afb9, #eef0f3); }
.ps-hapus { width: 18px; border-radius: 0 5px 5px 0; background: #F48FB1; }

/* ================= Presentasi: slide utama + thumbnail ================= */
.pr-utama { left: 0; top: 92px; width: 460px; transform-style: preserve-3d; }
.pr-slide {
  position: relative; height: 259px; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; padding: 26px 24px;
  border-radius: 12px; color: #fff; background: linear-gradient(135deg, #2B1470, #5B2BD6);
  box-shadow: 0 0 0 6px #fff, 0 36px 60px rgba(0,0,0,.35);
}
.pr-gumpal { position: absolute; right: -60px; top: -70px; width: 200px; height: 200px; border-radius: 50%; opacity: .5; background: radial-gradient(circle, #FF7AB0, transparent 70%); }
.pr-gumpal.b { right: auto; top: auto; left: -70px; bottom: -110px; background: radial-gradient(circle, #7FD3FF, transparent 70%); }
.pr-kiri { position: relative; display: flex; flex-direction: column; justify-content: center; }
.pr-tag { align-self: flex-start; padding: 4px 8px; border-radius: 999px; font-size: 8px; font-weight: 800; letter-spacing: .14em; color: #5B2BD6; background: #FFD1F0; }
.pr-kiri h5 { margin: 10px 0 8px; font-size: 19px; font-weight: 800; line-height: 1.15; }
.pr-kiri p { font-size: 9px; opacity: .8; }
.pr-garis { width: 44px; height: 4px; margin-top: 12px; border-radius: 2px; background: #FFD1F0; }
.pr-kanan { position: relative; display: grid; grid-template-rows: 1fr auto; gap: 10px; align-items: end; padding: 12px; border-radius: 10px; background: rgba(255,255,255,.1); }
.pr-grafik { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.pr-grafik i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; transform-origin: bottom; background: linear-gradient(#FFD1F0, #FF7AB0); }
.pr-donat { justify-self: start; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: conic-gradient(#FFD54A 0 72%, rgba(255,255,255,.2) 0); }
.pr-donat b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #4321AE; font-size: 10px; font-weight: 800; }
.pr-laser { position: absolute; left: 62%; top: 30%; width: 11px; height: 11px; margin: -5px 0 0 -5px; border-radius: 50%; background: #FF3B3B; box-shadow: 0 0 10px 4px rgba(255,59,59,.55); }
.pr-kontrol { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 18px; font-size: 10px; font-weight: 700; color: #fff; }
.pr-kontrol span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.25); font-size: 14px; line-height: 1; }
.pr-thumbs { left: 8px; right: 8px; top: 418px; display: flex; justify-content: space-between; transform-style: preserve-3d; }
.pr-thumb { width: 132px; height: 76px; padding: 10px; display: grid; gap: 5px; align-content: start; border: 3px solid #fff; border-radius: 9px; box-shadow: 0 18px 30px rgba(0,0,0,.3); }
.pr-thumb.a { background: #fff; transform: rotate(-6deg); }
.pr-thumb.a b { width: 60%; height: 8px; border-radius: 3px; background: #5B2BD6; }
.pr-thumb.a i { height: 4px; border-radius: 2px; background: #E3E0F5; }
.pr-thumb.b { margin-top: -14px; grid-template-columns: repeat(3, 1fr); align-content: center; background: #FFD1F0; }
.pr-thumb.b span { height: 40px; border-radius: 5px; background: #fff; }
.pr-thumb.c { background: #2B1470; transform: rotate(6deg); }
.pr-thumb.c b { width: 70%; height: 8px; border-radius: 3px; background: #FFD54A; }
.pr-thumb.c em { display: block; height: 34px; border-radius: 5px; background: linear-gradient(90deg, #FF7AB0, #B48AFF); }

/* ================= Format & Sitasi: jendela dokumen + popup sitasi ================= */
.fm-jendela {
  left: 0; top: 28px; width: 420px; height: 500px; overflow: hidden; display: flex; flex-direction: column;
  border-radius: 12px; background: #E9ECF2; box-shadow: 0 36px 60px rgba(0,0,0,.35);
}
.fm-bar { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; background: #33415C; color: #fff; font-size: 10px; }
.fm-bar b { margin: 0 auto; padding-right: 40px; font-weight: 600; }
.fm-pita { display: flex; align-items: center; gap: 14px; height: 30px; padding: 0 14px; background: #fff; border-bottom: 1px solid #dde1e8; font-size: 9.5px; font-weight: 600; color: #5A6275; }
.fm-pita .aktif { display: flex; align-items: center; height: 100%; color: #C2185B; box-shadow: inset 0 -2px #C2185B; }
.fm-kanvas { flex: 1; min-height: 0; padding: 18px 34px 0; overflow: hidden; }
.fm-hal { position: relative; height: 100%; padding: 34px 34px 20px 40px; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.08); font-family: "Times New Roman", Georgia, serif; }
.fm-margin { position: absolute; inset: 20px 20px 10px 26px; border: 1px dashed rgba(194,24,91,.45); pointer-events: none; }
.fm-bab { margin-bottom: 12px; font-size: 12px; font-weight: 700; line-height: 1.4; text-align: center; }
.fm-sub { margin: 8px 0 6px; font-size: 10px; font-weight: 700; }
.fm-sub.tengah { margin-top: 16px; text-align: center; }
.fm-par { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; }
.fm-par i { height: 5px; border-radius: 2px; background: #D6DBE4; }
.fm-cite { padding: 1px 4px; border-radius: 3px; font: 600 8.5px var(--font); color: #C2185B; background: rgba(194,24,91,.14); }
.fm-kursor { width: 1.5px; height: 11px; background: #1d2433; animation: kedip 1s steps(1) infinite; }
@keyframes kedip { 50% { opacity: 0; } }
.fm-pus { margin-bottom: 5px; padding-left: 16px; text-indent: -16px; font-size: 8.5px; line-height: 1.45; }
.fm-popup { left: 226px; top: 300px; width: 232px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 32px 60px rgba(0,0,0,.35); font-size: 10px; }
.fm-pk { margin-bottom: 8px !important; font-size: 11px; font-weight: 800; }
.fm-cari { display: flex; align-items: center; gap: 6px; min-height: 28px; padding: 6px 8px; border: 1.5px solid #C2185B; border-radius: 8px; font-weight: 600; }
.fm-cari svg { width: 12px; height: 12px; fill: none; stroke: #8a93a6; stroke-width: 2.4; stroke-linecap: round; }
.fm-ketik::after { content: ""; display: inline-block; width: 1.5px; height: 11px; margin-left: 1px; vertical-align: -1px; background: #C2185B; animation: kedip 1s steps(1) infinite; }
.fm-hasil { display: grid; margin-top: 6px !important; padding: 7px 8px; border-radius: 8px; line-height: 1.3; }
.fm-hasil b { font-size: 10px; }
.fm-hasil span { font-size: 9px; font-style: italic; color: #6b7385; }
.fm-hasil.pilih { background: rgba(194,24,91,.08); }
.fm-tombol { display: block; margin-top: 8px; padding: 7px; border-radius: 8px; background: #C2185B; color: #fff; font-weight: 700; text-align: center; }

