/* Pulau Netizen – Game Warga */
.pn-root {
  --pn-height: min(82vh, 720px);
  --pn-wood: #8a5a32;
  --pn-wood-l: #b97a45;
  --pn-sea: #1b8fd0;
  --pn-sand: #f3d48a;
  --pn-ink: #2b2118;
  position: relative;
  width: 100%;
  height: var(--pn-height);
  min-height: 480px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--pn-sea);
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--pn-ink);
  box-sizing: border-box;
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.pn-root *, .pn-root *::before, .pn-root *::after { box-sizing: border-box; }
.pn-root canvas.pn-canvas { position: absolute; inset: 0; display: block; cursor: pointer; touch-action: manipulation; }
.pn-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; }

/* Tombol */
.pn-root .pn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 12px; padding: 10px 16px; margin: 0;
  font: inherit; font-weight: 800; font-size: 15px; line-height: 1.1;
  background: #fff; color: var(--pn-ink); cursor: pointer; text-decoration: none;
  box-shadow: 0 3px 0 rgba(0,0,0,.18); transition: transform .08s, filter .15s;
}
.pn-root .pn-btn:hover { filter: brightness(1.05); }
.pn-root .pn-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.18); }
.pn-root .pn-btn[disabled] { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.pn-root .pn-btn-primary { background: #ffcf3f; color: #4a2c0e; }
.pn-root .pn-btn-small { padding: 7px 11px; font-size: 13px; border-radius: 10px; white-space: nowrap; background: #ffcf3f; color: #4a2c0e; }
.pn-root .pn-btn-ghost { background: #f1e7d3; color: #6b4a2a; }
.pn-root .pn-btn-big { font-size: 22px; padding: 14px 34px; }

/* Gerbang login */
.pn-gate {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; color: #fff;
  background: linear-gradient(#5fc6ef, #1b8fd0);
}
.pn-gate h2 { margin: 12px 0 6px; font-size: 26px; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.2); }
.pn-gate p { max-width: 460px; margin: 0 0 18px; font-size: 16px; line-height: 1.5; }
.pn-gate-logo { width: 130px; height: 130px; border-radius: 28px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.pn-gate-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* HUD */
.pn-hud {
  position: absolute; left: 10px; right: 10px; top: 10px; display: flex; justify-content: space-between; gap: 8px;
  pointer-events: none; flex-wrap: wrap;
}
.pn-hud > * { pointer-events: auto; }
.pn-hud-left { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.92); border-radius: 14px; padding: 6px 12px 6px 6px; box-shadow: 0 3px 0 rgba(0,0,0,.12); }
.pn-lvl { width: 38px; height: 38px; border-radius: 50%; background: #ffcf3f; display: grid; place-items: center; font-weight: 900; font-size: 17px; color: #4a2c0e; border: 3px solid #fff; box-shadow: 0 0 0 2px #e0a92a; }
.pn-name { font-weight: 900; font-size: 14px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-hud-right { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pn-chip { background: rgba(255,255,255,.92); border-radius: 12px; padding: 7px 11px; font-size: 14px; font-weight: 700; box-shadow: 0 3px 0 rgba(0,0,0,.12); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.pn-chip small { font-size: 11px; color: #8a7a66; font-weight: 700; }
.pn-bar { height: 7px; border-radius: 6px; background: rgba(0,0,0,.12); overflow: hidden; min-width: 70px; }
.pn-bar i { display: block; height: 100%; border-radius: 6px; background: #5bc26a; transition: width .3s; }
.pn-bar-xp { width: 110px; margin-top: 4px; }
.pn-bar-xp i { background: #8f6ce0; }
.pn-bar-en { width: 54px; min-width: 54px; }
.pn-bar-en i { background: #ffb300; }
.pn-bar-job { height: 12px; margin: 10px 0 6px; }
.pn-bar-q { margin: 6px 0 3px; }

.pn-jobchip {
  position: absolute; left: 50%; transform: translateX(-50%); top: 64px; background: #fff7df; border: 2px solid #ffcf3f;
  border-radius: 20px; padding: 6px 14px; font-weight: 800; font-size: 13px; cursor: pointer; white-space: nowrap; box-shadow: 0 3px 0 rgba(0,0,0,.12);
}
.pn-jobchip.done { background: #ffcf3f; animation: pn-pulse 1s infinite alternate; }
@keyframes pn-pulse { to { transform: translateX(-50%) scale(1.06); } }

/* Dock */
.pn-dock {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 4px;
  background: linear-gradient(var(--pn-wood-l), var(--pn-wood)); padding: 6px; border-radius: 16px;
  box-shadow: 0 4px 0 #5e3b1f, 0 8px 18px rgba(0,0,0,.2); max-width: calc(100% - 16px); overflow-x: auto; scrollbar-width: none;
}
.pn-dock::-webkit-scrollbar { display: none; }
.pn-dock button {
  border: 0; background: transparent; color: #fff; font: inherit; font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; min-width: 58px; text-shadow: 0 1px 0 rgba(0,0,0,.3);
}
.pn-dock button span { font-size: 22px; line-height: 1.1; text-shadow: none; }
.pn-dock button:hover { background: rgba(255,255,255,.18); }

/* Panel */
.pn-panel-wrap { position: absolute; inset: 0; background: rgba(10,30,60,.35); display: flex; align-items: center; justify-content: center; padding: 12px; z-index: 5; }
.pn-panel-wrap[hidden] { display: none; }
.pn-panel {
  position: relative; width: min(560px, 100%); max-height: 100%; display: flex; flex-direction: column;
  background: #fffaf0; border-radius: 20px; border: 4px solid var(--pn-wood); box-shadow: 0 10px 30px rgba(0,0,0,.3);
  animation: pn-pop .18s ease-out; user-select: text;
}
@keyframes pn-pop { from { transform: scale(.94); opacity: 0; } }
.pn-panel-title { background: linear-gradient(var(--pn-wood-l), var(--pn-wood)); color: #fff; font-weight: 900; font-size: 18px; padding: 12px 48px 12px 16px; border-radius: 14px 14px 0 0; text-shadow: 0 1px 0 rgba(0,0,0,.3); }
.pn-panel-body { padding: 14px 16px 18px; overflow-y: auto; font-size: 14px; }
.pn-root .pn-x { position: absolute; right: 8px; top: 7px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: var(--pn-wood); font-size: 22px; font-weight: 900; line-height: 1; cursor: pointer; padding: 0; }
.pn-panel-body h4 { margin: 16px 0 8px; font-size: 15px; font-weight: 900; color: #6b4a2a; }
.pn-panel-body h4 small { font-weight: 600; color: #9a8a76; }
.pn-muted { color: #8a7a66; font-size: 12.5px; line-height: 1.35; }
.pn-big { font-weight: 900; font-size: 17px; }
.pn-center { text-align: center; margin: 10px 0; }
.pn-center.pn-inline { justify-content: center; }
.pn-note { margin-top: 12px; }
.pn-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.pn-root .pn-input { flex: 1; min-width: 150px; border: 2px solid #e2d3b6; border-radius: 10px; padding: 9px 12px; font: inherit; font-size: 15px; background: #fff; color: var(--pn-ink); }
.pn-root .pn-input:focus { outline: none; border-color: #ffcf3f; }
.pn-list { display: flex; flex-direction: column; gap: 8px; }
.pn-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 9px 10px; box-shadow: 0 2px 0 rgba(0,0,0,.06); }
.pn-row b { font-weight: 800; }
.pn-grow { flex: 1; min-width: 0; }
.pn-ico { font-size: 26px; width: 34px; text-align: center; flex: none; }
.pn-meta { font-size: 12px; color: #6b4a2a; font-weight: 700; margin-top: 3px; }
.pn-tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 8px; background: #e3f4e1; color: #2f7d3a; white-space: nowrap; }
.pn-tag-night { background: #2c2560; color: #ffe08a; }
.pn-card { background: #fff; border-radius: 14px; padding: 12px; margin-bottom: 12px; border: 2px solid #ffe08a; }
.pn-npc { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.pn-npc-face { font-size: 34px; line-height: 1; }
.pn-bubble { background: #fff; border-radius: 14px; padding: 9px 12px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 2px 0 rgba(0,0,0,.06); flex: 1; }

/* Rumah */
.pn-house-hero { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pn-house-preview { width: 200px; height: 133px; border-radius: 14px; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); flex: none; }
.pn-house-hero > div { flex: 1; min-width: 180px; }
.pn-next { margin: 8px 0; font-size: 13.5px; }
.pn-colors { display: flex; gap: 8px; flex-wrap: wrap; }
.pn-root .pn-color { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px #e2d3b6; cursor: pointer; padding: 0; }
.pn-root .pn-color.on { box-shadow: 0 0 0 3px #4a2c0e; }

/* Mancing */
.pn-fish-info { font-size: 13px; font-weight: 700; color: #6b4a2a; margin-bottom: 8px; }
.pn-sea { position: relative; height: 130px; border-radius: 14px; overflow: hidden; background: linear-gradient(#7fd3f5, #2aa7e0 40%, #1b8fd0); }
.pn-sea.night { background: linear-gradient(#1b2350, #213a7a 40%, #13306b); }
.pn-sea::after { content: ""; position: absolute; left: 0; right: 0; top: 38%; height: 3px; background: rgba(255,255,255,.5); }
.pn-line { position: absolute; left: 0; top: 0; width: 52%; height: 48%; border-right: 1px solid rgba(255,255,255,.8); transform-origin: top left; transform: skewX(18deg); opacity: 0; }
.pn-bobber { position: absolute; left: 60%; top: 32%; width: 16px; height: 22px; border-radius: 50% 50% 45% 45%; background: linear-gradient(#e0473a 50%, #fff 50%); opacity: 0; }
.pn-splash { position: absolute; left: calc(60% - 14px); top: 36%; width: 44px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); opacity: 0; }
.phase-wait .pn-line, .phase-bite .pn-line, .phase-reel .pn-line { opacity: 1; }
.phase-wait .pn-bobber { opacity: 1; animation: pn-bob 1.4s ease-in-out infinite; }
.phase-bite .pn-bobber { opacity: 1; animation: pn-bite .25s ease-in-out infinite; }
.phase-bite .pn-splash { opacity: 1; animation: pn-ring .6s ease-out infinite; }
.phase-reel .pn-bobber { opacity: 1; transform: translateY(-6px); }
@keyframes pn-bob { 50% { transform: translateY(4px); } }
@keyframes pn-bite { 50% { transform: translateY(12px); } }
@keyframes pn-ring { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.pn-alert { color: #c0392b; animation: pn-shake .3s infinite; }
@keyframes pn-shake { 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }
.pn-meter { position: relative; height: 26px; border-radius: 13px; background: #f08a7a; margin: 10px 4px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 2px #e2d3b6; }
.pn-zone-good { position: absolute; left: 30%; width: 40%; top: 0; bottom: 0; background: #ffd24a; }
.pn-zone-perfect { position: absolute; left: 43%; width: 14%; top: 0; bottom: 0; background: #4cc066; }
.pn-needle { position: absolute; top: -2px; bottom: -2px; width: 5px; margin-left: -2px; background: #2b2118; border-radius: 3px; left: 0; }
.pn-catch { text-align: center; background: #fff; border-radius: 16px; padding: 14px; margin: 10px 0; animation: pn-pop .25s ease-out; }
.pn-catch.rare { background: linear-gradient(#2c2560, #4b3a9a); color: #ffe08a; }
.pn-catch.rare .pn-muted { color: #e0d6ff; }
.pn-catch-ico { font-size: 52px; line-height: 1.1; }
.pn-catch .pn-bubble { margin-top: 10px; color: var(--pn-ink); }
.pn-bucket { display: flex; flex-wrap: wrap; gap: 6px; }
.pn-pill { background: #fff; border-radius: 20px; padding: 4px 10px; font-weight: 800; font-size: 13px; box-shadow: 0 2px 0 rgba(0,0,0,.06); }
.pn-dex { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; }
.pn-dex-item { background: #fff; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; font-size: 12px; }
.pn-dex-item span { font-size: 24px; }
.pn-dex-item small { color: #8a7a66; }
.pn-dex-item.rare { background: #2c2560; color: #ffe08a; }
.pn-dex-item.rare small { color: #d6ccff; }

/* Statistik & peringkat */
.pn-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pn-stats div { background: #fff; border-radius: 12px; padding: 10px 4px; text-align: center; display: flex; flex-direction: column; }
.pn-stats b { font-size: 19px; font-weight: 900; }
.pn-stats small { font-size: 11px; color: #8a7a66; }
.pn-board { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: pn; }
.pn-board li { counter-increment: pn; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 9px 12px; margin-bottom: 6px; }
.pn-board li::before { content: counter(pn); width: 26px; height: 26px; border-radius: 50%; background: #f1e7d3; display: grid; place-items: center; font-weight: 900; font-size: 13px; flex: none; }
.pn-board li:nth-child(1)::before { background: #ffcf3f; }
.pn-board li:nth-child(2)::before { background: #dfe6ec; }
.pn-board li:nth-child(3)::before { background: #e8b07a; }
.pn-board li b { flex: 1; }
.pn-board li span { font-size: 12px; color: #8a7a66; }

/* Chat */
.pn-chat { height: 300px; max-height: 45vh; overflow-y: auto; background: #fff; border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.pn-msg { background: #f6f1e6; border-radius: 10px; padding: 6px 10px; font-size: 13.5px; word-wrap: break-word; }
.pn-msg small { color: #9a8a76; }

/* Selamat datang */
.pn-welcome img { display: block; width: 96px; height: 96px; border-radius: 20px; margin: 0 auto 8px; }
.pn-welcome p { text-align: center; line-height: 1.5; }
.pn-tips { margin: 14px 0 0; padding-left: 0; list-style: none; font-size: 13.5px; line-height: 1.8; }

/* Toast */
.pn-toasts { position: absolute; left: 50%; top: 100px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 9; pointer-events: none; width: 90%; }
.pn-toast { background: rgba(43,33,24,.9); color: #fff; padding: 9px 16px; border-radius: 14px; font-weight: 800; font-size: 14px; text-align: center; animation: pn-pop .2s; transition: opacity .4s, transform .4s; max-width: 100%; }
.pn-toast.ok { background: rgba(47,125,58,.95); }
.pn-toast.bad { background: rgba(192,57,43,.95); }
.pn-toast.gold { background: linear-gradient(#ffcf3f, #f0a81c); color: #4a2c0e; }
.pn-toast.out { opacity: 0; transform: translateY(-8px); }

@media (max-width: 600px) {
  .pn-root { border-radius: 12px; --pn-height: 78vh; }
  .pn-chip { padding: 5px 8px; font-size: 12.5px; }
  .pn-bar-en { display: none; }
  .pn-chip small { display: none; }
  .pn-name { max-width: 90px; font-size: 13px; }
  .pn-bar-xp { width: 80px; }
  .pn-lvl { width: 32px; height: 32px; font-size: 15px; }
  .pn-jobchip { font-size: 12px; }
  .pn-dock button { min-width: 50px; padding: 4px 4px; font-size: 10px; }
  .pn-dock button span { font-size: 20px; }
  .pn-panel-wrap { align-items: flex-end; padding: 6px; }
  .pn-stats { grid-template-columns: repeat(2, 1fr); }
}

/* 3D */
.pn-root canvas.pn-canvas3d { position: absolute; inset: 0; display: block; cursor: pointer; touch-action: manipulation; }
.pn-root.pn-camfree canvas.pn-canvas3d { touch-action: none; cursor: grab; }
.pn-root.pn-camfree canvas.pn-canvas3d:active { cursor: grabbing; }
.pn-floats { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.pn-float { position: absolute; left: 0; top: 0; font-weight: 900; font-size: 16px; white-space: nowrap; text-shadow: 0 2px 0 rgba(0,0,0,.6), 0 0 6px rgba(0,0,0,.5); }
.pn-root .pn-viewbtn { border: 0; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; color: var(--pn-ink); }
.pn-root .pn-viewbtn[hidden] { display: none; }

/* Masuk / daftar */
.pn-gate { overflow-y: auto; justify-content: flex-start; padding-top: 28px; }
.pn-auth { width: 100%; max-width: 380px; margin: auto; display: flex; flex-direction: column; align-items: center; }
.pn-auth p { font-size: 14.5px; }
.pn-tabs { display: flex; background: rgba(255,255,255,.25); border-radius: 14px; padding: 4px; margin-bottom: 12px; width: 100%; }
.pn-root .pn-tabs button { flex: 1; border: 0; background: transparent; color: #fff; font: inherit; font-weight: 800; font-size: 15px; padding: 9px; border-radius: 10px; cursor: pointer; }
.pn-root .pn-tabs button.on { background: #fff; color: #1b6fa8; }
.pn-auth-form { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.pn-root .pn-auth-form .pn-input { width: 100%; min-width: 0; font-size: 16px; padding: 12px 14px; }
.pn-root .pn-btn-wide { width: 100%; font-size: 17px; padding: 13px; }
.pn-root .pn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pn-auth-err { background: #fff0ee; color: #b3261e; border-radius: 10px; padding: 9px 12px; font-weight: 700; font-size: 14px; }
.pn-auth-err[hidden] { display: none; }
.pn-root .pn-link { color: #fff; font-weight: 700; font-size: 14px; text-decoration: underline; background: none; border: 0; font-family: inherit; cursor: pointer; margin-top: 4px; }
.pn-root .pn-link[hidden] { display: none; }
.pn-applink { margin-top: 18px !important; }
.pn-or { width: 100%; display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; font-size: 13px; }
.pn-or::before, .pn-or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.5); }
.pn-google { min-height: 44px; display: flex; justify-content: center; }
a.pn-chip { text-decoration: none; }

/* Logo teks */
.pn-root .pn-gate-logo { width: min(300px, 80%); height: auto; border-radius: 0; box-shadow: none; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.pn-welcome img { width: min(260px, 80%); height: auto; border-radius: 0; filter: drop-shadow(0 4px 6px rgba(0,0,0,.2)); }

/* Warga online & emote */
.pn-online-chip { align-self: center; font-size: 13px; }
.pn-online-chip[hidden] { display: none; }
.pn-root .pn-emote-btn { position: absolute; right: 12px; bottom: 92px; width: 48px; height: 48px; border-radius: 50%; border: 3px solid #fff; background: #ffcf3f; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 4px 0 rgba(0,0,0,.18); z-index: 3; padding: 0; }
.pn-emotes { position: absolute; right: 12px; bottom: 148px; display: flex; flex-direction: column; gap: 6px; background: #fff; padding: 6px; border-radius: 24px; box-shadow: 0 6px 16px rgba(0,0,0,.2); z-index: 3; }
.pn-emotes[hidden] { display: none; }
.pn-root .pn-emotes button { width: 40px; height: 40px; border: 0; background: #f6f1e6; border-radius: 50%; font-size: 22px; cursor: pointer; padding: 0; }
@media (max-width: 600px) { .pn-root .pn-emote-btn { bottom: 86px; } .pn-emotes { bottom: 142px; } }

/* Statistik Instagram (v1.3) */
.pn-chip-ig { border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; color: inherit; }
.pn-chip-ig[hidden] { display: none; }
.pn-ig-big { text-align: center; font-size: 34px; font-weight: 900; line-height: 1.1; margin-top: 4px; }
.pn-ig-big small { display: block; font-size: 13px; font-weight: 700; color: #8a7a66; }
.pn-ig-lvl { text-align: center; margin: 10px 0 4px; }
.pn-bar-ig { height: 12px; margin: 4px 0 6px; }
.pn-bar-ig i { background: linear-gradient(90deg, #1b8fd0, #2fb5b0); }
.pn-ig-grow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.pn-ig-grow span { background: #fff; border-radius: 12px; padding: 8px; text-align: center; font-size: 12px; color: #8a7a66; }
.pn-ig-grow b { display: block; font-size: 17px; color: #2d2418; }
.pn-ig h4 { margin: 14px 0 4px; }

/* ===== SISTEM SARANJANA ===== */
.pn-root { --sys: #39f3e0; --sys-d: #0b3b4a; }
.pn-sys-layer { position: absolute; inset: 0; pointer-events: none; z-index: 20; }
.pn-sys-layer > * { pointer-events: auto; }
.pn-sys-head { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .28em; font-size: 12px; font-weight: 800; color: var(--sys); text-align: center; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid rgba(57,243,224,.45); text-shadow: 0 0 8px rgba(57,243,224,.9); }
.pn-sys-note, .pn-sys-window {
  background: linear-gradient(160deg, rgba(8,48,66,.94), rgba(6,26,48,.94));
  border: 1.5px solid var(--sys); border-radius: 14px; color: #dffcff;
  box-shadow: 0 0 18px rgba(57,243,224,.55), inset 0 0 22px rgba(57,243,224,.15);
  backdrop-filter: blur(4px);
}
.pn-sys-note { position: absolute; left: 50%; top: 120px; transform: translateX(-50%); width: min(380px, 90%); padding: 12px 16px 10px; animation: pn-sys-in .35s ease-out; cursor: pointer; }
.pn-sys-note.out, .pn-sys-activate.out { opacity: 0; transition: opacity .3s; }
.pn-sys-note.bad { border-color: #ff6b8a; box-shadow: 0 0 18px rgba(255,107,138,.6), inset 0 0 22px rgba(255,107,138,.15); }
.pn-sys-note.bad .pn-sys-head, .pn-sys-note.bad .pn-sys-ding { color: #ff9db1; text-shadow: 0 0 8px rgba(255,107,138,.9); }
.pn-sys-note.warn { border-color: #ffd36b; box-shadow: 0 0 18px rgba(255,211,107,.6), inset 0 0 22px rgba(255,211,107,.12); }
.pn-sys-note.warn .pn-sys-ding { color: #ffe39a; }
.pn-sys-ding { font-weight: 900; font-size: 17px; color: var(--sys); text-shadow: 0 0 8px rgba(57,243,224,.8); }
.pn-sys-name { font-weight: 800; margin-top: 2px; }
.pn-sys-text { font-size: 14px; line-height: 1.45; margin-top: 4px; }
.pn-sys-reward { margin-top: 8px; font-weight: 800; color: #ffe39a; font-size: 13.5px; }
.pn-sys-tap { margin-top: 6px; font-size: 10.5px; opacity: .55; text-align: right; }
@keyframes pn-sys-in { from { opacity: 0; transform: translate(-50%, -10px) scale(.96); } }

.pn-sys-activate { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(10,60,80,.75), rgba(0,8,20,.92)); display: flex; align-items: center; justify-content: center; padding: 16px; animation: pn-pop .3s; }
.pn-sys-activate::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(57,243,224,.05) 0 2px, transparent 2px 4px); pointer-events: none; }
.pn-sys-window { position: relative; width: min(440px, 100%); padding: 18px 18px 16px; }
.pn-sys-lines { min-height: 200px; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 14px; line-height: 1.55; }
.pn-sys-line { margin-bottom: 6px; }
.pn-sys-line:first-child { color: var(--sys); font-weight: 800; font-size: 16px; text-shadow: 0 0 8px rgba(57,243,224,.8); }
.pn-root .pn-sys-accept { display: block; margin: 12px auto 0; border: 1.5px solid var(--sys); background: rgba(57,243,224,.15); color: #e9feff; font: inherit; font-weight: 900; letter-spacing: .1em; padding: 10px 34px; border-radius: 10px; cursor: pointer; box-shadow: 0 0 12px rgba(57,243,224,.5); }
.pn-root .pn-sys-accept[hidden] { display: none; }

.pn-root .pn-sys-btn { position: absolute; left: 12px; bottom: 92px; z-index: 3; width: 58px; height: 58px; border-radius: 14px; border: 1.5px solid var(--sys); background: linear-gradient(160deg, #0b4a5c, #08243c); color: var(--sys); font: inherit; font-size: 9px; font-weight: 900; letter-spacing: .08em; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; box-shadow: 0 0 12px rgba(57,243,224,.5); padding: 0; }
.pn-root .pn-sys-btn span { font-size: 22px; line-height: 1; text-shadow: 0 0 8px rgba(57,243,224,.9); }
.pn-root .pn-sys-btn[hidden] { display: none; }
.pn-root .pn-sys-btn.alert { animation: pn-sys-glow 1s infinite alternate; }
@keyframes pn-sys-glow { to { box-shadow: 0 0 24px rgba(255,211,107,.95); border-color: #ffd36b; } }
.pn-sys-chip { position: absolute; left: 12px; bottom: 158px; z-index: 3; max-width: calc(100% - 90px); background: rgba(8,36,60,.92); color: #dffcff; border: 1px solid #ffd36b; border-radius: 12px; padding: 6px 10px; font-size: 12.5px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 0 10px rgba(255,211,107,.5); }
.pn-sys-chip[hidden] { display: none; }
@media (max-width: 600px) { .pn-root .pn-sys-btn { bottom: 86px; width: 52px; height: 52px; } .pn-sys-chip { bottom: 146px; } }

/* Panel sistem bertema toska */
.pn-panel-wrap[data-panel="sistem"] .pn-panel { background: linear-gradient(170deg, #0a3346, #071c33); border-color: var(--sys); color: #dffcff; box-shadow: 0 0 22px rgba(57,243,224,.55); }
.pn-panel-wrap[data-panel="sistem"] .pn-panel-title { background: transparent; border-bottom: 1px solid rgba(57,243,224,.45); color: var(--sys); letter-spacing: .2em; font-family: ui-monospace, Menlo, monospace; text-shadow: 0 0 8px rgba(57,243,224,.8); }
.pn-panel-wrap[data-panel="sistem"] .pn-x { background: rgba(57,243,224,.15); color: var(--sys); }
.pn-panel-wrap[data-panel="sistem"] h4 { color: var(--sys); letter-spacing: .05em; }
.pn-panel-wrap[data-panel="sistem"] h4 small, .pn-panel-wrap[data-panel="sistem"] .pn-muted { color: #9fc9d3; }
.pn-panel-wrap[data-panel="sistem"] .pn-meta { color: #ffe39a; }
.pn-panel-wrap[data-panel="sistem"] .pn-row { background: rgba(57,243,224,.08); border: 1px solid rgba(57,243,224,.25); box-shadow: none; }
.pn-panel-wrap[data-panel="sistem"] .pn-row.bad { border-color: rgba(255,107,138,.6); background: rgba(255,107,138,.1); }
.pn-panel-wrap[data-panel="sistem"] .pn-row.warn { border-color: rgba(255,211,107,.6); background: rgba(255,211,107,.08); }
.pn-panel-wrap[data-panel="sistem"] .pn-bar { background: rgba(255,255,255,.15); }
.pn-panel-wrap[data-panel="sistem"] .pn-bar i { background: var(--sys); }
.pn-sys-status { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pn-sys-status div { border: 1px solid rgba(57,243,224,.35); border-radius: 10px; padding: 8px 10px; background: rgba(57,243,224,.07); }
.pn-sys-status small { display: block; font-size: 11px; color: #9fc9d3; letter-spacing: .06em; }
.pn-sys-status b { font-size: 15px; }
.pn-sys-done { font-size: 12px; color: #9fc9d3; margin-top: 6px; line-height: 1.6; }
.pn-sys-hidden { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.pn-sys-hidden div { border: 1px dashed rgba(57,243,224,.35); border-radius: 10px; padding: 7px 9px; font-size: 12.5px; display: flex; flex-direction: column; gap: 2px; opacity: .75; }
.pn-sys-hidden div.done { border-style: solid; opacity: 1; background: rgba(57,243,224,.1); }
.pn-sys-hidden small { color: #9fc9d3; font-size: 11px; }
.pn-sys-titles { display: flex; flex-wrap: wrap; gap: 6px; }
.pn-root .pn-sys-titles button { border: 1px solid rgba(57,243,224,.5); background: transparent; color: #dffcff; border-radius: 20px; padding: 5px 12px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.pn-root .pn-sys-titles button.on { background: var(--sys); color: #06283a; }
.pn-root .pn-sys-buy { background: rgba(57,243,224,.2); color: #e9feff; border: 1px solid var(--sys); box-shadow: none; }
.pn-sys-log { font-size: 12px; color: #9fc9d3; line-height: 1.7; font-family: ui-monospace, Menlo, monospace; }

/* ===== MODE GESER KAMERA (3D) ===== */
.pn-root .pn-cambtn.pn-on { background: #ffd54a; box-shadow: 0 0 0 2px #fff inset; }
.pn-root .pn-camctl { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); z-index: 6; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.pn-root .pn-camctl[hidden] { display: none; }
.pn-root .pn-camctl button { width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgba(255,255,255,.94); color: var(--pn-ink); font: inherit; font-size: 20px; font-weight: 800; cursor: pointer; box-shadow: 0 3px 0 rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; }
.pn-root .pn-camctl button:active { transform: translateY(2px); box-shadow: none; }
.pn-root .pn-camctl .pn-camctl-off { width: auto; padding: 0 12px; font-size: 13px; background: #ffd54a; }
.pn-root .pn-camctl-tip { position: absolute; right: 52px; top: 0; width: 190px; background: rgba(20,40,60,.88); color: #fff; font-size: 12px; line-height: 1.35; padding: 8px 10px; border-radius: 10px; pointer-events: none; }
.pn-root .pn-camctl-tip[hidden] { display: none; }
@media (max-height: 560px) {
  .pn-root .pn-camctl { flex-direction: row; flex-wrap: wrap; top: auto; bottom: 74px; right: 10px; transform: none; max-width: 200px; justify-content: flex-end; }
  .pn-root .pn-camctl button { width: 36px; height: 36px; font-size: 17px; }
  .pn-root .pn-camctl-tip { right: 0; top: auto; bottom: 100%; margin-bottom: 6px; }
}

/* ===== MUSIK ===== */
.pn-root .pn-music-pop { position: absolute; z-index: 30; width: 220px; background: #fff; color: var(--pn-ink); border-radius: 14px; padding: 10px 12px; box-shadow: 0 8px 24px rgba(0,0,0,.25); font-size: 13px; }
.pn-root .pn-music-pop[hidden] { display: none; }
.pn-root .pn-music-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0; }
.pn-root .pn-music-row input[type=range] { flex: 1; accent-color: #f5a623; }
.pn-root .pn-music-toggle { border: 0; border-radius: 999px; padding: 4px 12px; font: inherit; font-weight: 800; background: #3ccf6e; color: #fff; cursor: pointer; }
.pn-root .pn-music-toggle.pn-off { background: #c7ced6; color: #445; }
.pn-root .pn-music-now { margin-top: 6px; font-size: 12px; opacity: .75; }
.pn-root .pn-musicbtn-float { position: absolute; top: 12px; right: 12px; z-index: 20; }
.pn-root .pn-music-slider input[type=range] { width: 100%; }

/* ---------- Toko Koin (v2.0.0) ---------- */
.pn-root .pn-chip-coins { position: relative; }
.pn-root .pn-toko-plus { border: 0; margin-left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #ffcf3f; color: #4a2c0e; font: inherit; font-size: 16px; font-weight: 900; line-height: 22px; padding: 0; cursor: pointer; box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.pn-root .pn-toko-plus:active { transform: translateY(1px); box-shadow: none; }
.pn-toko-err { background: #ffe4e1; color: #9b1c1c; border-radius: 12px; padding: 9px 12px; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.pn-toko-pkg .pn-btn { min-width: 92px; }
.pn-toko-qr { text-align: center; }
.pn-toko-qrbox { background: #fff; border-radius: 16px; padding: 12px; margin: 6px auto 10px; width: min(260px, 78vw); box-shadow: 0 3px 0 rgba(0,0,0,.08); border: 3px solid #ffe08a; }
.pn-toko-qrbox svg { display: block; width: 100%; height: auto; }
.pn-toko-done { text-align: center; padding: 10px 0; }
.pn-toko-big { font-size: 54px; line-height: 1.1; }
.pn-toko-dots::after { content: '…'; animation: pn-toko-dots 1.2s steps(3) infinite; display: inline-block; width: 1em; overflow: hidden; vertical-align: bottom; }
@keyframes pn-toko-dots { from { width: 0; } to { width: 1em; } }
@media (max-width: 600px) { .pn-root .pn-toko-plus { width: 20px; height: 20px; line-height: 20px; font-size: 14px; } }

/* Mode tamu: pengunjung menjelajah pulau sebelum jadi warga */
.pn-guest .pn-chip[title="Koin"], .pn-guest .pn-chip-energy, .pn-guest .pn-emote-btn, .pn-guest .pn-emotes { display: none !important; }
.pn-guest .pn-hud-left { cursor: pointer; }
.pn-guest .pn-hud-left .pn-lvl { background: #fff; font-size: 18px; }
.pn-guest .pn-bar-xp { display: none; }
.pn-guest .pn-name::after { content: "Ketuk untuk jadi warga"; display: block; font-size: 11px; font-weight: 700; color: #1b6fa8; }
.pn-guestbar { position: absolute; left: 50%; transform: translateX(-50%); bottom: 88px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(520px, calc(100% - 20px)); pointer-events: none; }
.pn-guestbar > * { pointer-events: auto; }
.pn-guest-clock { display: flex; align-items: center; gap: 8px; background: rgba(10,16,48,.82); color: #fff; border-radius: 99px; padding: 6px 14px; font-size: 13px; font-weight: 800; box-shadow: 0 3px 0 rgba(0,0,0,.15); }
.pn-gc-v { color: #ffd36b; font-variant-numeric: tabular-nums; }
.pn-guest-btns { display: flex; gap: 8px; width: 100%; justify-content: center; }
.pn-root .pn-guest-btns .pn-btn { flex: 1 1 0; max-width: 240px; font-size: 16px; padding: 12px 14px; box-shadow: 0 4px 0 rgba(0,0,0,.2); }
.pn-root .pn-guest-btns .pn-btn:not(.pn-btn-primary) { background: rgba(255,255,255,.95); color: #1b4e75; }
.pn-guest-hello { position: absolute; left: 50%; top: 74px; transform: translateX(-50%); z-index: 4; display: flex; gap: 10px; align-items: flex-start; width: min(420px, calc(100% - 24px)); background: #fff; color: #2b2118; border-radius: 18px; padding: 12px 14px; font-size: 14px; line-height: 1.45; box-shadow: 0 10px 28px rgba(0,0,0,.25); cursor: pointer; animation: pn-hello .35s ease-out; transition: opacity .4s, transform .4s; }
@keyframes pn-hello { from { opacity: 0; transform: translate(-50%, -10px); } }
.pn-guest-hello span { font-size: 26px; line-height: 1; }
.pn-guest-hello.out { opacity: 0; transform: translate(-50%, -10px); }
.pn-join { position: absolute; inset: 0; z-index: 8; background: rgba(10,30,60,.45); display: flex; align-items: center; justify-content: center; padding: 12px; animation: pn-pop .2s; }
.pn-join-box { position: relative; width: min(420px, 100%); max-height: 100%; overflow-y: auto; background: linear-gradient(#5fc6ef, #1b8fd0); color: #fff; text-align: center; border-radius: 22px; padding: 22px 20px 18px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.pn-join-box h2 { margin: 8px 0 6px; font-size: 22px; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.2); }
.pn-join-box p { margin: 0 0 14px; line-height: 1.45; }
.pn-root .pn-join-box .pn-gate-logo { width: min(200px, 60%); }
.pn-root .pn-join-x { position: absolute; top: 8px; right: 10px; color: #fff; background: rgba(255,255,255,.25); }
.pn-guest-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin: 10px 0; }
.pn-guest-stats > div { background: #f6efe2; border-radius: 12px; padding: 8px; text-align: center; }
.pn-guest-stats b { display: block; font-size: 18px; }
.pn-guest-stats span { font-size: 12px; color: #8a7a66; font-weight: 700; }
.pn-guest-actions { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.pn-root a.pn-btn { text-decoration: none; display: inline-flex; align-items: center; }
.pn-guest-more { font-weight: 800; color: #1b6fa8; }
@media (max-width: 600px) {
  .pn-guestbar { bottom: 80px; }
  .pn-root .pn-guest-btns .pn-btn { font-size: 15px; padding: 11px 10px; }
  .pn-guest-clock { font-size: 12px; }
  .pn-guest-hello { top: 118px; }
}

/* ================================================================== */
/* Loket KTP Penduduk Gaib Saranjana (v2.5.0)                          */
/* ================================================================== */
.pn-root .pn-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.pn-root .pn-ktp-chip { align-self: center; margin-left: 4px; font-size: 18px; line-height: 1; cursor: pointer; filter: drop-shadow(0 1px 0 rgba(0,0,0,.3)); }
.pn-ktp { position: absolute; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: linear-gradient(rgba(5,8,22,0) 30%, rgba(5,8,22,.55)); animation: pnKtpFade .25s ease; }
.pn-ktp.pn-ktp-gatebg { align-items: center; background: radial-gradient(600px 300px at 80% 0%, rgba(255,236,170,.18), transparent), radial-gradient(900px 500px at 50% 120%, rgba(255,190,90,.18), transparent), linear-gradient(#050816, #141f47 60%, #0a1230); overflow-y: auto; }
.pn-ktp-sheet { position: relative; width: min(560px, 100%); max-height: 94%; overflow-y: auto; background: linear-gradient(180deg, #17224d, #0d1534); color: #eef1ff; border-radius: 26px 26px 0 0; padding: 14px 22px 22px; box-shadow: 0 -18px 50px rgba(0,0,0,.45); border: 1px solid rgba(255,207,63,.25); border-bottom: 0; animation: pnKtpUp .35s cubic-bezier(.2,.9,.3,1.2); }
.pn-ktp-gatebg .pn-ktp-sheet { border-radius: 26px; border-bottom: 1px solid rgba(255,207,63,.25); margin: 20px 12px; }
@media (min-width: 720px) { .pn-ktp { align-items: center; } .pn-ktp-sheet { border-radius: 26px; border-bottom: 1px solid rgba(255,207,63,.25); } }
.pn-ktp-grip { display: block; width: 46px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.25); margin: 0 auto 10px; }
.pn-ktp-x { position: absolute; right: 12px; top: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.pn-ktp-badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255,207,63,.14); color: #ffcf3f; font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.pn-ktp h2 { margin: 10px 0 8px; font-size: 26px; font-weight: 900; color: #fff; letter-spacing: -.01em; line-height: 1.15; }
.pn-ktp p { margin: 8px 0; font-size: 15px; line-height: 1.5; color: rgba(238,241,255,.88); }
.pn-ktp a { color: #ffcf3f; font-weight: 800; }
.pn-ktp-reason { background: rgba(255,255,255,.07); border-radius: 12px; padding: 8px 12px; }
.pn-ktp-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 12px 0 10px; padding: 0; position: relative; }
.pn-ktp-steps li { text-align: center; font-size: 12px; font-weight: 700; color: rgba(238,241,255,.6); position: relative; }
.pn-ktp-steps li::before { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: rgba(255,255,255,.15); z-index: 0; }
.pn-ktp-steps li:first-child::before { display: none; }
.pn-ktp-steps li.done::before, .pn-ktp-steps li.on::before { background: #ffcf3f; }
.pn-ktp-steps i { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 4px; border-radius: 50%; background: #253063; color: #c9d0f5; font-style: normal; font-weight: 900; font-size: 15px; }
.pn-ktp-steps li.on i { background: #ffcf3f; color: #3b2508; box-shadow: 0 0 0 5px rgba(255,207,63,.2); }
.pn-ktp-steps li.done i { background: #3fbf8a; color: #fff; }
.pn-ktp-steps li.on span { color: #fff; }
.pn-ktp form { display: grid; gap: 10px; margin-top: 10px; }
.pn-ktp input:not(.pn-hp), .pn-ktp-panel input { width: 100%; border: 2px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; border-radius: 16px; padding: 14px 16px; font: inherit; font-size: 17px; outline: none; }
.pn-ktp input:focus { border-color: #ffcf3f; background: rgba(255,255,255,.1); }
.pn-ktp input::placeholder { color: rgba(238,241,255,.45); }
.pn-ktp-at { display: flex; align-items: center; position: relative; }
.pn-ktp-at span { position: absolute; left: 16px; font-weight: 900; font-size: 17px; color: #ffcf3f; }
.pn-ktp .pn-ktp-at input, .pn-ktp-panel .pn-ktp-at input { padding-left: 36px; }
.pn-ktp-go { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; border: 0; border-radius: 16px; padding: 15px 18px; font: inherit; font-weight: 900; font-size: 17px; background: linear-gradient(180deg, #ffd95a, #f5b324); color: #3b2508; cursor: pointer; box-shadow: 0 4px 0 #b9790f, 0 10px 24px rgba(245,179,36,.25); text-decoration: none; }
.pn-ktp-go:active { transform: translateY(2px); box-shadow: 0 2px 0 #b9790f; }
.pn-ktp-go[disabled] { opacity: .5; cursor: not-allowed; }
.pn-ktp-ghostbtn { display: inline-flex; align-items: center; justify-content: center; width: 100%; border: 2px solid rgba(255,255,255,.22); background: transparent; color: #fff; border-radius: 16px; padding: 13px 16px; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }
.pn-ktp-row { display: flex; gap: 10px; margin-top: 12px; }
.pn-ktp-row > * { flex: 1; }
.pn-ktp-links { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; align-items: center; }
.pn-ktp-links button { border: 0; background: transparent; color: rgba(238,241,255,.75); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pn-ktp-note { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.07); border-left: 4px solid #ffcf3f; font-size: 14px; line-height: 1.5; }
.pn-ktp-note.ok { border-left-color: #3fbf8a; }
.pn-ktp-err { padding: 10px 12px; border-radius: 12px; background: rgba(232,80,60,.18); color: #ffd1c9; font-weight: 700; font-size: 14px; }
.pn-ktp-err[hidden] { display: none; }
.pn-ktp-kode { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; }
.pn-ktp-mini { border: 0; border-radius: 8px; padding: 3px 9px; font: inherit; font-size: 12px; font-weight: 800; background: #ffcf3f; color: #3b2508; cursor: pointer; }
.pn-ktp-center { text-align: center; }

/* Kartu */
.pn-ktp-card { position: relative; margin: 12px auto 4px; max-width: 460px; border-radius: 18px; overflow: hidden; color: #141f47; background:
  linear-gradient(120deg, rgba(120,200,190,.28), rgba(255,255,255,0) 45%, rgba(170,140,230,.28)),
  repeating-linear-gradient(170deg, rgba(30,60,90,.05) 0 2px, transparent 2px 14px), #f3efe2; box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.pn-ktp-card-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #141f47; color: #fff; border-bottom: 4px solid #ffcf3f; }
.pn-ktp-card-top b { display: block; font-size: 15px; font-weight: 900; letter-spacing: .03em; }
.pn-ktp-card-top small { display: block; font-size: 11px; opacity: .75; }
.pn-ktp-card-top em { margin-left: auto; font-style: normal; font-weight: 900; color: #ffcf3f; font-size: 13px; }
.pn-ktp-moon { width: 26px; height: 26px; border-radius: 50%; background: #fff3c4; box-shadow: inset -9px -4px 0 0 #141f47; flex: none; }
.pn-ktp-card-title { padding: 9px 14px 0; font-weight: 900; font-size: 13px; letter-spacing: .04em; }
.pn-ktp-card-body { display: flex; gap: 10px; padding: 6px 14px 4px; }
.pn-ktp-card dl { flex: 1; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; font-size: 13px; min-width: 0; }
.pn-ktp-card dl > div { min-width: 0; margin-bottom: 5px; }
.pn-ktp-card dl > div.w { grid-column: 1 / -1; }
.pn-ktp-card dt { color: #6b7a8f; font-weight: 800; font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; }
.pn-ktp-card dd { margin: 0; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.pn-ktp-card dd.pn-ktp-kode { color: #9a2f1d; font-size: 20px; font-weight: 900; }
.pn-ktp-card dd.pn-ktp-st.ok { color: #157a4f; }
.pn-ktp-foto { flex: none; align-self: flex-start; width: 70px; height: 86px; border-radius: 10px; background: radial-gradient(circle at 50% 40%, rgba(255,210,120,.55), transparent 60%), linear-gradient(#24306a, #0d1330); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 5px; }
.pn-ktp-foto small { color: rgba(255,255,255,.8); font-size: 9px; font-weight: 700; }
.pn-ktp-ghost { width: 36px; height: 46px; margin-bottom: 10px; background: rgba(240,240,255,.88); border-radius: 18px 18px 4px 4px; position: relative; animation: pnKtpFloat 3s ease-in-out infinite; }
.pn-ktp-ghost::before, .pn-ktp-ghost::after { content: ""; position: absolute; top: 15px; width: 6px; height: 7px; border-radius: 50%; background: #141f47; }
.pn-ktp-ghost::before { left: 10px; } .pn-ktp-ghost::after { right: 10px; }
.pn-ktp-card-foot { padding: 4px 90px 10px 14px; font-size: 10.5px; font-style: italic; color: #6b7a8f; font-weight: 700; }
.pn-ktp-stamp { position: absolute; right: 12px; bottom: 6px; width: 68px; height: 68px; border-radius: 50%; border: 4px solid #b3261e; box-shadow: inset 0 0 0 3px #f3efe2, inset 0 0 0 5px #b3261e; color: #b3261e; display: none; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-14deg); opacity: .85; text-align: center; line-height: 1.05; mix-blend-mode: multiply; }
.pn-ktp-stamp span { font-size: 7.5px; font-weight: 900; letter-spacing: .06em; }
.pn-ktp-stamp b { font-size: 10.5px; font-weight: 900; margin: 2px 0; }
.pn-ktp-card.stamped .pn-ktp-stamp { display: flex; }
.pn-ktp[data-step="cap"] .pn-ktp-card.stamped .pn-ktp-stamp { animation: pnKtpStamp .5s .45s cubic-bezier(.3,1.6,.5,1) both; }
.pn-ktp[data-step="cap"] .pn-ktp-card.stamped { animation: pnKtpShake .35s .78s both; }

/* Pilih rumah */
.pn-ktp-alamat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.pn-ktp-alamat button { text-align: left; border: 2px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; border-radius: 16px; padding: 10px 12px; font: inherit; cursor: pointer; display: grid; grid-template-columns: auto 1fr; gap: 0 8px; }
.pn-ktp-alamat button i { font-style: normal; font-size: 24px; grid-row: span 2; }
.pn-ktp-alamat button b { font-size: 14px; }
.pn-ktp-alamat button small { font-size: 11.5px; color: rgba(238,241,255,.7); line-height: 1.3; }
.pn-ktp-alamat button.on { border-color: #ffcf3f; background: rgba(255,207,63,.12); box-shadow: 0 0 0 3px rgba(255,207,63,.18); }
.pn-ktp-cat { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-weight: 800; font-size: 14px; }
.pn-ktp-cat button { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(255,255,255,.85); cursor: pointer; padding: 0; }
.pn-ktp-cat button.on { box-shadow: 0 0 0 3px #ffcf3f; transform: scale(1.1); }
.pn-ktp-house { display: flex; justify-content: center; margin-top: 8px; filter: drop-shadow(0 0 18px rgba(255,207,63,.25)); }

/* Perjalanan sampan */
.pn-ktp-trip { position: absolute; inset: 0; z-index: 70; background: #03050e; overflow: hidden; animation: pnKtpFade .4s ease; }
.pn-ktp-trip canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pn-ktp-trip.out { opacity: 0; transition: opacity .45s; }
.pn-ktp-cap { position: absolute; left: 50%; bottom: 17%; transform: translateX(-50%); width: min(92%, 560px); text-align: center; color: #fff; font-weight: 800; font-size: clamp(16px, 3.6vw, 22px); line-height: 1.4; text-shadow: 0 2px 10px rgba(0,0,0,.8); opacity: 0; }
.pn-ktp-cap.on { animation: pnKtpCap 2.4s ease forwards; }
.pn-ktp-steps-dark { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: min(92%, 460px); margin: 0; }
.pn-ktp-skip { position: absolute; right: 14px; bottom: 14px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35); color: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.pn-ktp-arrive { position: absolute; inset: 0; z-index: 80; background: #03050e; display: grid; place-items: center; text-align: center; color: #fff; opacity: 0; transition: opacity .6s; }
.pn-ktp-arrive.on { opacity: 1; }
.pn-ktp-arrive span { font-size: 46px; display: block; animation: pnKtpFloat 2s ease-in-out infinite; }
.pn-ktp-arrive p { font-weight: 800; font-size: 18px; margin: 10px 20px; }
.pn-ktp-img { position: absolute; inset: 0; z-index: 90; background: rgba(3,5,14,.85); display: grid; place-items: center; overflow-y: auto; padding: 14px; }
.pn-ktp-img > div { width: min(360px, 100%); color: #fff; text-align: center; }
.pn-ktp-img img { width: 100%; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.6); }

/* Panel KTP di game (latar terang) */
.pn-ktp-panel .pn-ktp-note { background: #fff6dc; color: var(--pn-ink); }
.pn-ktp-panel .pn-ktp-note.ok { background: #e3f7ec; }
.pn-ktp-panel input { background: #fff; color: var(--pn-ink); border-color: #e2d3b6; }
.pn-ktp-panel .pn-ktp-form { display: grid; gap: 8px; }
.pn-ktp-panel .pn-ktp-row { flex-wrap: wrap; }
.pn-ktp-panel .pn-ktp-row > * { flex: 1 1 auto; }
.pn-ktp-panel .pn-ktp-msg { background: #eef4ff; border-radius: 10px; padding: 8px 12px; font-weight: 700; }

@keyframes pnKtpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pnKtpUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pnKtpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes pnKtpStamp { 0% { transform: scale(3.2) rotate(8deg); opacity: 0; } 70% { opacity: .9; } 100% { transform: scale(1) rotate(-14deg); opacity: .85; } }
@keyframes pnKtpShake { 0%, 100% { transform: none; } 25% { transform: translate(2px, 3px); } 50% { transform: translate(-2px, -1px); } 75% { transform: translate(1px, 2px); } }
@keyframes pnKtpCap { 0% { opacity: 0; transform: translate(-50%, 10px); } 15%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }
@media (max-width: 420px) { .pn-ktp h2 { font-size: 22px; } .pn-ktp-steps span { font-size: 10.5px; } .pn-ktp-alamat { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pn-ktp-sheet, .pn-ktp-ghost, .pn-ktp-stamp, .pn-ktp-card { animation: none !important; } }

/* Animasi pembuka "Menuju Pulau Netizen" (v2.6.0) */
.pn-intro { position: absolute; inset: 0; z-index: 95; background: #071331; overflow: hidden; transition: opacity .7s ease; }
.pn-intro.out { opacity: 0; pointer-events: none; }
.pn-intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pn-intro-title { position: absolute; left: 50%; top: 24%; transform: translateX(-50%); text-align: center; color: #fff; white-space: nowrap; pointer-events: none; opacity: 0; text-shadow: 0 4px 24px rgba(5,10,40,.6); }
.pn-intro-title small { display: block; font-size: 15px; font-weight: 900; letter-spacing: .32em; opacity: .9; }
.pn-intro-title b { display: block; font-size: clamp(34px, 9vw, 60px); font-weight: 900; letter-spacing: -.01em; line-height: 1.1; }
.pn-intro-title span { display: block; margin-top: 6px; font-size: 14px; font-weight: 700; color: #ffd36b; }
.pn-intro-load { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); width: min(220px, 50%); text-align: center; }
.pn-intro-load::before { content: ""; display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); }
.pn-intro-load i { position: absolute; left: 0; top: 0; height: 4px; width: 0; border-radius: 4px; background: #ffcf3f; box-shadow: 0 0 10px rgba(255,207,63,.7); transition: width .3s; }
.pn-intro-load em { display: block; margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.75); }
.pn-intro-skip { position: absolute; right: 16px; bottom: 22px; border: 0; border-radius: 999px; padding: 11px 20px; font: inherit; font-weight: 900; font-size: 15px; background: rgba(6,14,40,.85); color: #fff; cursor: pointer; box-shadow: inset 0 0 0 2px rgba(255,207,63,.5); }
@media (max-width: 480px) { .pn-intro-load { left: 20px; transform: none; width: 46%; text-align: left; } }

/* Tombol izinkan suara di jendela aktivasi Sistem (v2.6.1) */
.pn-root .pn-sys-sound { display: block; margin: 10px auto 4px; border: 2px solid #5ff2d6; background: rgba(95,242,214,.12); color: #c9fff4; border-radius: 12px; padding: 10px 14px; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; animation: pnSysPulse 1.4s ease-in-out infinite; }
@keyframes pnSysPulse { 50% { box-shadow: 0 0 0 6px rgba(95,242,214,.18); } }
