/* Ucansee Play — menu konsol (/play/) & layar HP (/play/join/). Panggung didesain 1280×720 lalu diskalakan. */
.play-page main { padding-top: 0; }
.play-btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 24px; border-radius: 999px; background: #C4D982; color: #141610; font-weight: 800; letter-spacing: .03em; text-decoration: none; white-space: nowrap; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 10px 30px rgba(196, 217, 130, .25); transition: transform .15s, box-shadow .15s; }
.play-btn:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 16px 40px rgba(196, 217, 130, .38); }

/* ---------- Hero ---------- */
.ph { position: relative; padding: 140px 0 56px; overflow: hidden; }
.ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 40%, rgba(224, 129, 111, .22), transparent 70%), radial-gradient(45% 60% at 10% 90%, rgba(196, 217, 130, .14), transparent 70%); pointer-events: none; }
.ph-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.ph-copy h1 { margin: 10px 0 18px; font-size: clamp(2.8rem, 6.6vw, 5.6rem); line-height: .92; letter-spacing: -.065em; font-weight: 800; text-transform: uppercase; animation: phUp .8s cubic-bezier(.2, .8, .2, 1) both; }
.ph-copy h1 em { display: inline-block; font-family: var(--font-accent, "Fraunces", Georgia, serif); font-weight: 400; color: #C4D982; letter-spacing: -.05em; animation: phWiggle 4s ease-in-out 1.2s infinite; transform-origin: 10% 80%; }
.ph-copy p { max-width: 480px; margin: 0; color: #e1e4d8; font-size: 1.08rem; line-height: 1.6; animation: phUp .8s .12s cubic-bezier(.2, .8, .2, 1) both; }
.ph-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; animation: phUp .8s .22s cubic-bezier(.2, .8, .2, 1) both; }
.ph-ghost { display: inline-flex; align-items: center; padding: 15px 22px; border-radius: 999px; border: 1px solid #34372d; color: #f6f7ef; font-weight: 700; text-decoration: none; background: rgba(25, 27, 24, .7); transition: border-color .15s, transform .15s; }
.ph-ghost:hover { border-color: #C4D982; transform: translateY(-2px); }
.ph-stats { display: flex; flex-wrap: wrap; gap: 14px 30px; animation: phUp .8s .32s cubic-bezier(.2, .8, .2, 1) both; }
.ph-stats span { display: flex; flex-direction: column; font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; color: #afb1a8; text-transform: uppercase; }
.ph-stats b { font: 800 2.4rem/1 "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: -.05em; color: #C4D982; margin-bottom: 4px; }
.ph-stage { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1.15; justify-self: end; animation: phUp 1s .1s cubic-bezier(.2, .8, .2, 1) both; }
.ph-sun { position: absolute; left: 22%; top: 2%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f2c94c, #e0816f 60%, rgba(224, 129, 111, 0) 72%); opacity: .35; filter: blur(6px); animation: phPulse 5s ease-in-out infinite; }
.ph-tv { position: absolute; left: 13%; top: 5%; width: 74%; aspect-ratio: 16 / 10; padding: 10px; box-sizing: border-box; border-radius: 26px; background: #20221d; border: 2px solid #34372d; box-shadow: 0 30px 60px rgba(0, 0, 0, .55), inset 0 0 0 4px #141610; transform: rotate(-2deg); animation: phFloat 6s ease-in-out infinite; }
.ph-tv::after { content: ""; position: absolute; left: 38%; right: 38%; bottom: -26px; height: 26px; background: linear-gradient(#34372d, #20221d); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.ph-screen { position: relative; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: #101110; }
.ph-screen figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s; }
.ph-screen figure.is-on { opacity: 1; }
.ph-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; transform: scale(1.12); transition: transform 3.6s linear; }
.ph-screen figure.is-on img { transform: scale(1); }
.ph-screen figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(16, 17, 16, .85); font-weight: 800; font-size: .9rem; }
.ph-live { position: absolute; right: 22px; top: 20px; display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(16, 17, 16, .85); font: 700 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; }
.ph-live i { width: 8px; height: 8px; border-radius: 50%; background: #e0816f; animation: phBlink 1s steps(2) infinite; }
.ph-crowd { position: absolute; inset: 0; pointer-events: none; }
.ph-kid { position: absolute; width: 15.5%; animation: phBob 2.4s ease-in-out var(--d) infinite; }
.ph-kid img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .45)); }
.ph-phone { position: absolute; left: 34%; bottom: -16%; width: 32%; height: 24%; border-radius: 6px; background: #141610; border: 2px solid #f6f7ef; box-shadow: 0 0 14px rgba(196, 217, 130, .6), inset 0 0 0 3px #C4D982; transform: rotate(-8deg); }
.ph-kid.k0 { left: 0; top: 58%; } .ph-kid.k1 { left: 13%; top: 67%; } .ph-kid.k2 { left: 27%; top: 72%; } .ph-kid.k3 { left: 42%; top: 74%; }
.ph-kid.k4 { left: 57%; top: 72%; } .ph-kid.k5 { left: 71%; top: 67%; } .ph-kid.k6 { left: 85%; top: 58%; }
.ph-kid.k7 { left: 76%; top: -9%; width: 12%; } .ph-kid.k7 .ph-phone { display: none; }
.ph-crowd.is-cheer .ph-kid img { animation: phJump .55s cubic-bezier(.3, 1.6, .5, 1); }
.ph-crowd.is-cheer .k1 img, .ph-crowd.is-cheer .k4 img, .ph-crowd.is-cheer .k7 img { animation-delay: .08s; }
.ph-crowd.is-cheer .k2 img, .ph-crowd.is-cheer .k5 img { animation-delay: .16s; }
.ph-confetti i { position: absolute; top: -6%; width: 10px; height: 16px; border-radius: 2px; background: #C4D982; animation: phFall 5s linear infinite; opacity: .9; }
.ph-confetti i:nth-child(5n+2) { background: #e0816f; } .ph-confetti i:nth-child(5n+3) { background: #f2c94c; } .ph-confetti i:nth-child(5n+4) { background: #8fd0c8; } .ph-confetti i:nth-child(5n) { background: #f6f7ef; width: 8px; height: 8px; border-radius: 50%; }
.ph-confetti i:nth-child(1) { left: 4%; animation-delay: -.4s; } .ph-confetti i:nth-child(2) { left: 12%; animation-delay: -2.1s; animation-duration: 6s; } .ph-confetti i:nth-child(3) { left: 20%; animation-delay: -3.6s; }
.ph-confetti i:nth-child(4) { left: 29%; animation-delay: -1.2s; animation-duration: 4.4s; } .ph-confetti i:nth-child(5) { left: 37%; animation-delay: -4.4s; } .ph-confetti i:nth-child(6) { left: 46%; animation-delay: -.9s; animation-duration: 5.6s; }
.ph-confetti i:nth-child(7) { left: 54%; animation-delay: -2.9s; } .ph-confetti i:nth-child(8) { left: 62%; animation-delay: -1.7s; animation-duration: 4.8s; } .ph-confetti i:nth-child(9) { left: 70%; animation-delay: -3.2s; }
.ph-confetti i:nth-child(10) { left: 78%; animation-delay: -.2s; animation-duration: 6.2s; } .ph-confetti i:nth-child(11) { left: 86%; animation-delay: -4s; } .ph-confetti i:nth-child(12) { left: 93%; animation-delay: -2.4s; animation-duration: 5.2s; }
.ph-confetti i:nth-child(13) { left: 8%; animation-delay: -4.8s; animation-duration: 4.6s; } .ph-confetti i:nth-child(14) { left: 66%; animation-delay: -3.9s; animation-duration: 5.8s; }
.ph-note { position: absolute; font-size: 34px; color: #f6f7ef; opacity: 0; animation: phNote 4.5s ease-in infinite; }
.ph-note.n1 { left: 4%; top: 40%; } .ph-note.n2 { left: 92%; top: 36%; animation-delay: 1.5s; color: #C4D982; } .ph-note.n3 { left: 48%; top: 60%; animation-delay: 3s; color: #f2c94c; font-size: 26px; }
@keyframes phUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes phWiggle { 0%, 86%, 100% { transform: none; } 90% { transform: rotate(-3deg) scale(1.03); } 95% { transform: rotate(2deg); } }
@keyframes phFloat { 50% { transform: rotate(-1deg) translateY(-8px); } }
@keyframes phPulse { 50% { transform: scale(1.06); opacity: .45; } }
@keyframes phBob { 50% { transform: translateY(-7px); } }
@keyframes phJump { 40% { transform: translateY(-34%) rotate(-6deg); } 70% { transform: translateY(2%) scale(1.05, .95); } }
@keyframes phBlink { 50% { opacity: .2; } }
@keyframes phFall { 0% { transform: translateY(0) rotate(0); } 100% { transform: translateY(780%) rotate(540deg); opacity: 0; } }
@keyframes phNote { 0% { opacity: 0; transform: translateY(20px) rotate(-10deg); } 20% { opacity: .9; } 100% { opacity: 0; transform: translateY(-110px) rotate(14deg); } }

/* Pita berjalan */
.ph-marquee { overflow: hidden; background: #C4D982; color: #141610; transform: rotate(-1.4deg); margin: 0 -20px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.ph-marquee > div > div { display: flex; width: max-content; animation: phMarquee 38s linear infinite; }
.ph-marquee span, .ph-marquee i { padding: 16px 18px; font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; font-style: normal; }
.ph-marquee i { padding: 16px 4px; }
@keyframes phMarquee { to { transform: translateX(-50%); } }

/* ---------- Bagian halaman ---------- */
.play-sec { margin-top: 110px; scroll-margin-top: 100px; }
.play-last { margin-bottom: 110px; }
.play-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 32px; margin-bottom: 26px; }
.play-head h2 { margin: 8px 0 0; font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: .95; letter-spacing: -.06em; font-weight: 800; text-transform: uppercase; }
.play-head h2 em { font-family: var(--font-accent, "Fraunces", Georgia, serif); font-weight: 400; color: #C4D982; letter-spacing: -.04em; }
.play-head p { max-width: 420px; margin: 0; color: #afb1a8; line-height: 1.55; }
.pp-up { opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.pp-up.is-in { opacity: 1; transform: none; }

/* Segera hadir: abu-abu */
.play-soon { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.pg-soon { border: 1px dashed #34372d; border-radius: 22px; overflow: hidden; background: #151614; transition: transform .25s, border-color .25s, opacity .7s; }
.pg-soon:hover { transform: translateY(-4px) rotate(-.6deg); border-color: #4a4e42; }
.pg-soon-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.pg-soon-art img { width: 100%; height: 100%; object-fit: cover; object-position: 76% center; filter: grayscale(1) contrast(.9) brightness(.62); transition: filter .4s, transform .6s; }
.pg-soon:hover .pg-soon-art img { filter: grayscale(1) contrast(.95) brightness(.8); transform: scale(1.05); }
.pg-soon-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(246, 247, 239, .05) 0 14px, transparent 14px 28px); background-size: 40px 40px; animation: pgStripe 3s linear infinite; }
.pg-soon-tag { position: absolute; z-index: 1; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: #2a2c27; color: #afb1a8; border: 1px solid #3c4036; font: 600 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.pg-soon-tx { padding: 16px 18px 20px; }
.pg-soon-tx small { font: 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; color: #7d8076; }
.pg-soon-tx h3 { margin: 6px 0 6px; font-size: 1.3rem; letter-spacing: -.03em; color: #c9ccc1; }
.pg-soon-tx p { margin: 0; color: #84877d; font-size: .92rem; line-height: 1.45; }
@keyframes pgStripe { to { background-position: 40px 0; } }

/* Cara main */
.play-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.play-how li { list-style: none; overflow: hidden; padding-bottom: 24px; border: 1px solid #34372d; border-radius: 24px; background: #191b18; }
.play-how li:nth-child(2) { --i: 1; } .play-how li:nth-child(3) { --i: 2; }
.play-how b { display: block; margin: 20px 24px 4px; font: 13px ui-monospace, Menlo, Consolas, monospace; color: #C4D982; letter-spacing: .08em; }
.play-how h3 { margin: 0 24px 8px; font-size: 1.4rem; letter-spacing: -.03em; }
.play-how span { display: block; margin: 0 24px; color: #afb1a8; line-height: 1.55; }
.pw-art { position: relative; height: 190px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 60%, #2a2c27, #151614 70%); border-bottom: 1px solid #34372d; overflow: hidden; }
.pw-tvbox { position: relative; width: 190px; height: 118px; border: 7px solid #34372d; border-radius: 14px; overflow: hidden; background: #101110; animation: phFloat 5s ease-in-out infinite; }
.pw-tvbox img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.pw-stand { position: absolute; bottom: 26px; width: 60px; height: 10px; border-radius: 4px; background: #34372d; }
.pw-cursor { position: absolute; left: 22%; bottom: 18%; width: 18px; height: 18px; border-radius: 50%; background: #C4D982; box-shadow: 0 0 0 0 rgba(196, 217, 130, .7); animation: pwPing 1.6s ease-out infinite; }
.pw-qr { display: grid; grid-template-columns: repeat(3, 26px); gap: 4px; padding: 10px; border-radius: 10px; background: #f6f7ef; }
.pw-qr i { width: 26px; height: 26px; border-radius: 3px; background: #141610; }
.pw-qr i:nth-child(2), .pw-qr i:nth-child(4), .pw-qr i:nth-child(8) { background: transparent; border: 5px solid #141610; box-sizing: border-box; }
.pw-qr i:nth-child(6) { background: transparent; }
.pw-scan .pw-phone { margin-left: 26px; animation: pwTilt 3s ease-in-out infinite; }
.pw-phone { position: relative; width: 70px; height: 124px; border-radius: 14px; border: 5px solid #f6f7ef; background: #141610; overflow: hidden; }
.pw-beam { position: absolute; left: 6px; right: 6px; top: 10%; height: 3px; border-radius: 2px; background: #C4D982; box-shadow: 0 0 12px #C4D982; animation: pwBeam 1.6s ease-in-out infinite alternate; }
.pw-phone.is-wide { width: 200px; height: 104px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; box-sizing: border-box; }
.pw-stick { position: relative; width: 56px; height: 56px; border-radius: 50%; background: #2a2c27; }
.pw-stick::after { content: ""; position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: #C4D982; animation: pwStick 2.4s ease-in-out infinite; }
.pw-btn { width: 50px; height: 50px; border-radius: 50%; background: #e0816f; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .25); animation: pwPress 1.2s ease-in-out infinite; }
@keyframes pwPing { 70% { box-shadow: 0 0 0 16px rgba(196, 217, 130, 0); } 100% { box-shadow: 0 0 0 0 rgba(196, 217, 130, 0); } }
@keyframes pwBeam { to { top: 86%; } }
@keyframes pwTilt { 50% { transform: translateX(-8px) rotate(-6deg); } }
@keyframes pwStick { 0%, 100% { transform: none; } 25% { transform: translate(12px, -6px); } 50% { transform: translate(-10px, 8px); } 75% { transform: translate(8px, 10px); } }
@keyframes pwPress { 0%, 60%, 100% { transform: none; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .25); } 70% { transform: translateY(4px) scale(.94); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); } }

/* Para karakter */
.play-cast { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.pk { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 10px 20px; border: 1px solid #34372d; border-radius: 22px; background: #191b18; text-align: center; transition: transform .2s, border-color .2s, opacity .7s; }
.pk:hover { transform: translateY(-6px); border-color: #C4D982; }
.pk-av { width: 100%; max-width: 110px; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #2f322a, #20221d); margin-bottom: 8px; }
.pk:nth-child(4n+1) .pk-av { background: radial-gradient(circle at 50% 40%, rgba(224, 129, 111, .45), #20221d 70%); }
.pk:nth-child(4n+2) .pk-av { background: radial-gradient(circle at 50% 40%, rgba(143, 208, 200, .4), #20221d 70%); }
.pk:nth-child(4n+3) .pk-av { background: radial-gradient(circle at 50% 40%, rgba(242, 201, 76, .4), #20221d 70%); }
.pk:nth-child(4n) .pk-av { background: radial-gradient(circle at 50% 40%, rgba(196, 217, 130, .4), #20221d 70%); }
.pk-av img { width: 78%; height: auto; animation: phBob 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.33s); }
.pk:hover .pk-av img { animation: phJump .55s cubic-bezier(.3, 1.6, .5, 1); }
.pk b { font-size: 1.05rem; font-weight: 800; }
.pk small { color: #afb1a8; font-size: .78rem; line-height: 1.35; }

@media (max-width: 1100px) { .play-cast { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .ph { padding-top: 120px; }
  .ph-in { grid-template-columns: 1fr; }
  .ph-stage { justify-self: center; }
  .play-how { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ph-stats { gap: 12px 20px; }
  .ph-stats b { font-size: 1.8rem; }
  .ph-stats span { font-size: 10px; }
  .play-cast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .play-sec { margin-top: 80px; }
  .ph-marquee span { font-size: 1rem; padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ph *, .ph-marquee *, .play-how *, .pk *, .pg-soon * { animation: none !important; }
  .pp-up { opacity: 1; transform: none; }
}

/* ---------- Panggung ---------- */
.pc-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #101110; border: 1px solid #34372d; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.pc-frame:fullscreen { border-radius: 0; border: 0; aspect-ratio: auto; background: #000; }
.pc-stage { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; overflow: hidden; background: #101110; color: #f6f7ef; font-family: var(--font-body, "Plus Jakarta Sans", system-ui, sans-serif); }
.pc-stage button { font-family: inherit; cursor: pointer; }
.pc-stage svg { width: 18px; height: 18px; flex-shrink: 0; }
.pc-stage :focus-visible { outline: 3px solid #C4D982; outline-offset: 3px; }

.pc-art { position: absolute; inset: 0 0 230px 0; overflow: hidden; }
.pc-drift { position: absolute; inset: -20px; animation: pcDrift 14s ease-in-out infinite alternate; }
.pc-drift img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: 0; transform: scale(1.1); transition: opacity .55s ease-out, transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.pc-drift img.is-on { opacity: 1; transform: scale(1); }
.pc-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #101110 0%, rgba(16, 17, 16, .9) 30%, rgba(16, 17, 16, .2) 55%, rgba(16, 17, 16, 0) 75%), linear-gradient(180deg, rgba(16, 17, 16, 0) 60%, #101110 100%); }
@keyframes pcDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-14px, -6px) scale(1.03); } }

.pc-top { position: relative; height: 88px; padding: 0 40px; display: flex; align-items: center; gap: 28px; }
.pc-brand { font-size: 24px; font-weight: 800; letter-spacing: -.05em; }
.pc-brand b { font: 400 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .2em; color: #141610; background: #C4D982; padding: 3px 9px; border-radius: 999px; vertical-align: 4px; margin-left: 4px; }
.pc-tabs { display: flex; gap: 6px; }
.pc-tabs button { font-size: 15px; font-weight: 700; color: #e1e4d8; background: transparent; border: 0; border-radius: 999px; padding: 11px 18px; }
.pc-tabs button[aria-pressed="true"] { background: #f6f7ef; color: #141610; }
.pc-tabs small { font: 12px ui-monospace, Menlo, Consolas, monospace; opacity: .8; }
.pc-tools { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.pc-pill { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #f6f7ef; background: rgba(16, 17, 16, .7); border: 1px solid #34372d; border-radius: 999px; padding: 11px 16px; }
.pc-pill svg { width: 16px; height: 16px; }
.pc-round { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #f6f7ef; background: rgba(16, 17, 16, .7); border: 1px solid #34372d; border-radius: 999px; padding: 0; transition: border-color .2s, color .2s; }
.pc-round:hover, .pc-pill:hover { border-color: #C4D982; }
.pc-round.is-lime { background: #C4D982; color: #141610; border: 0; }
.pc-round.is-big { width: 52px; height: 52px; }
.pc-round.is-sm { width: 36px; height: 36px; }
.pc-round.is-sm svg { width: 14px; height: 14px; }
.pc-round.is-on { color: #C4D982; --fill: currentColor; }

.pc-hero { position: relative; padding: 48px 40px 0; width: 780px; display: flex; flex-direction: column; gap: 16px; }
.pc-chips { display: flex; align-items: center; gap: 10px; }
.pc-status { font-size: 13px; font-weight: 700; color: #C4D982; background: rgba(16, 17, 16, .7); border: 1px solid #C4D982; padding: 8px 14px; border-radius: 999px; }
.pc-status.is-ready { background: #C4D982; color: #141610; }
.pc-new { font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #C4D982; border: 1px solid #C4D982; padding: 7px 12px; border-radius: 999px; }
.pc-new[hidden] { display: none; }
.pc-meta { font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #e1e4d8; }
.pc-title { margin: 0; font-size: 76px; line-height: .98; font-weight: 800; letter-spacing: -.065em; }
.pc-title.is-long { font-size: 60px; }
.pc-title em { font-family: var(--font-accent, "Fraunces", Georgia, serif); font-weight: 400; color: #C4D982; letter-spacing: -.05em; }
.pc-tagline { margin: 0; font-size: 20px; line-height: 28px; color: #e1e4d8; }
.pc-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.pc-play { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 800; letter-spacing: .04em; color: #141610; background: #C4D982; border: 0; border-radius: 999px; padding: 18px 30px; transition: transform .15s; }
.pc-play svg { width: 16px; height: 16px; }
.pc-play:hover { transform: translateY(-2px); }
.pc-play:active { transform: scale(.97); }
.pc-play:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.pc-hint { font-size: 14px; color: #afb1a8; margin-left: 6px; }

.pc-row { position: absolute; left: 0; right: 0; bottom: 0; height: 250px; padding: 0 40px; display: flex; flex-direction: column; gap: 14px; }
.pc-row-head { display: flex; align-items: baseline; gap: 14px; }
.pc-row-head h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.pc-eyebrow { font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; color: #C4D982; }
.pc-count { font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #afb1a8; }
.pc-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pc-dots { display: flex; gap: 8px; margin-right: 10px; }
.pc-dots i { width: 6px; height: 6px; border-radius: 999px; background: #34372d; transition: width .2s ease-out, background .2s; }
.pc-dots i.is-on { width: 22px; background: #C4D982; }
.pc-empty { height: 150px; margin: 0; border: 1px dashed #34372d; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: #afb1a8; }
.pc-empty[hidden] { display: none; }
.pc-cards { display: flex; gap: 16px; padding: 8px 2px 14px; overflow-x: auto; scrollbar-width: none; }
.pc-cards::-webkit-scrollbar { display: none; }
.pc-card { position: relative; flex: 0 0 224px; height: 150px; padding: 0; border-radius: 16px; border: 1px solid #34372d; overflow: hidden; background: #191b18; color: #f6f7ef; text-align: left; transition: transform .18s ease-out, border-color .18s; }
.pc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% center; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.pc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 17, 16, 0) 40%, rgba(16, 17, 16, .88) 100%); }
.pc-card:hover { border-color: #C4D982; }
.pc-card:hover img, .pc-card.is-sel img { transform: scale(1.08); }
.pc-card.is-sel { border: 3px solid #C4D982; transform: translateY(-6px); }
.pc-card:focus-visible { outline: none; }
.pc-card-new { position: absolute; z-index: 1; left: 12px; top: 12px; font: 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #141610; background: #C4D982; padding: 4px 8px; border-radius: 999px; }
.pc-card-tx { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 6px; }
.pc-card-tx b { font-size: 19px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.pc-card-tx small { align-self: flex-start; font: 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .05em; color: #C4D982; background: #101110; padding: 3px 8px; border-radius: 999px; }
.pc-card-tx small.is-ready { background: #3f4928; color: #f6f7ef; }

.pc-toast { position: absolute; left: 50%; bottom: 266px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #f6f7ef; color: #141610; font-size: 15px; font-weight: 700; padding: 12px 20px; border-radius: 999px; transition: opacity .25s, transform .25s; z-index: 5; }
.pc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Lobby ---------- */
.pc-lobby { position: absolute; inset: 0; z-index: 4; background: #101110; animation: pcIn .35s ease-out; }
.pc-lobby[hidden] { display: none; }
@keyframes pcIn { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
.pc-lobby-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: .5; }
.pc-lobby::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(16, 17, 16, .55) 0%, rgba(16, 17, 16, .8) 40%, rgba(16, 17, 16, .93) 100%); }
.pc-lobby-in { position: relative; z-index: 2; height: 100%; box-sizing: border-box; padding: 32px 48px; display: flex; flex-direction: column; gap: 24px; }
.pc-lobby-top { display: flex; align-items: center; gap: 16px; }
.pc-lobby-top div { display: flex; flex-direction: column; }
.pc-lobby-top small { font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #C4D982; }
.pc-lobby-top b { font-size: 24px; letter-spacing: -.04em; }
.pc-live { margin-left: auto; display: flex; align-items: center; gap: 8px; background: rgba(16, 17, 16, .7); border: 1px solid #34372d; border-radius: 999px; padding: 10px 16px; font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; }
.pc-live i { width: 8px; height: 8px; border-radius: 999px; background: #C4D982; animation: pcPulse 1.8s ease-in-out infinite; }
@keyframes pcPulse { 50% { opacity: .35; } }
.pc-lobby-grid { flex: 1; min-height: 0; display: flex; gap: 40px; }
.pc-join { width: 380px; box-sizing: border-box; padding: 26px; border-radius: 24px; background: rgba(16, 17, 16, .82); backdrop-filter: blur(10px); border: 1px solid #34372d; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pc-join > small, .pc-code small { font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #afb1a8; }
.pc-qr { width: 210px; height: 210px; box-sizing: border-box; padding: 14px; background: #f6f7ef; border-radius: 16px; box-shadow: 0 0 0 6px rgba(196, 217, 130, .25); }
.pc-qr svg { width: 100%; height: 100%; display: block; }
.pc-join p { margin: 0; font-size: 14px; color: #e1e4d8; }
.pc-join p span { font-family: ui-monospace, Menlo, Consolas, monospace; color: #C4D982; }
.pc-code { width: 100%; border-top: 1px solid #34372d; padding-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pc-code div { display: flex; gap: 8px; }
.pc-code span { width: 58px; height: 68px; border-radius: 12px; background: #C4D982; color: #141610; font-size: 42px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pc-players { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.pc-players-head { display: flex; align-items: baseline; justify-content: space-between; }
.pc-players-head h2 { margin: 0; font-size: 48px; line-height: 1; font-weight: 800; letter-spacing: -.06em; }
.pc-players-head h2 em { font-family: var(--font-accent, "Fraunces", Georgia, serif); font-weight: 400; color: #C4D982; }
.pc-players-head span { font: 14px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #afb1a8; }
.pc-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pc-slot { height: 148px; border-radius: 18px; border: 1px dashed #34372d; background: rgba(16, 17, 16, .45); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.pc-slot i { width: 56px; height: 56px; border-radius: 999px; border: 2px dashed #34372d; color: #afb1a8; display: flex; align-items: center; justify-content: center; font: normal 26px "Plus Jakarta Sans", sans-serif; }
.pc-slot small { font: 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #afb1a8; }
.pc-lobby-foot { margin-top: auto; display: flex; align-items: center; gap: 24px; }
.pc-beta { margin: 0; flex: 1; font-size: 14px; line-height: 20px; color: #e1e4d8; }
.pc-beta b { font: 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #141610; background: #C4D982; padding: 3px 8px; border-radius: 999px; margin-right: 6px; }

@media (prefers-reduced-motion: reduce) {
  .pc-drift, .pc-live i { animation: none; }
  .pc-drift img, .pc-card, .pc-card img { transition: opacity .2s; }
}

/* ---------- Layar HP: /play/join/ ---------- */
.pj { min-height: 100svh; max-width: 460px; margin: 0 auto; background: #101110; color: #f6f7ef; font-family: var(--font-body, "Plus Jakarta Sans", system-ui, sans-serif); display: flex; flex-direction: column; }
.pj button { font-family: inherit; cursor: pointer; }
.pj :focus-visible { outline: 3px solid #C4D982; outline-offset: 3px; }
.pj-banner { position: relative; height: 230px; flex-shrink: 0; overflow: hidden; }
.pj-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; }
.pj-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 17, 16, .35) 0%, rgba(16, 17, 16, .2) 40%, #101110 100%); }
.pj-brand { position: absolute; z-index: 1; left: 20px; top: 20px; color: #f6f7ef; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.05em; }
.pj-brand b { font: 400 10px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .2em; color: #141610; background: #C4D982; padding: 3px 7px; border-radius: 999px; vertical-align: 3px; }
.pj-head { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 10px; }
.pj-head small { font: 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #C4D982; }
.pj-head h1 { margin: 4px 0 0; font-size: 38px; line-height: 1; font-weight: 800; letter-spacing: -.06em; }
.pj-head h1 em { font-family: var(--font-accent, "Fraunces", Georgia, serif); font-weight: 400; color: #C4D982; }
.pj-body { flex: 1; padding: 18px 20px 28px; display: flex; flex-direction: column; gap: 18px; }
.pj-label { font: 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #afb1a8; }
.pj-me { display: flex; align-items: center; gap: 16px; background: #191b18; border: 1px solid #34372d; border-radius: 20px; padding: 14px 16px; }
.pj-me img { width: 88px; height: 88px; animation: pjBob 2.2s ease-in-out infinite; }
.pj-me > div { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pj input { width: 100%; height: 48px; box-sizing: border-box; background: #101110; border: 1px solid #C4D982; border-radius: 12px; color: #f6f7ef; font: 700 18px "Plus Jakarta Sans", sans-serif; padding: 0 14px; }
.pj input::placeholder { color: #afb1a8; }
.pj input.is-code { letter-spacing: .3em; text-transform: uppercase; text-align: center; font-size: 22px; }
.pj-desc { font-size: 13px; color: #e1e4d8; }
.pj-desc b { color: #C4D982; }
.pj-chars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.pj-chars button { height: 76px; border-radius: 18px; background: #191b18; border: 1px solid #34372d; display: flex; align-items: center; justify-content: center; padding: 0; transition: transform .2s cubic-bezier(.2, .7, .2, 1); }
.pj-chars button:active { transform: scale(.92); }
.pj-chars button[aria-pressed="true"] { border: 3px solid #C4D982; background: #20221d; }
.pj-chars img { width: 58px; height: 58px; }
.pj-go { margin-top: auto; height: 64px; border: 0; border-radius: 999px; background: #C4D982; color: #141610; font-size: 17px; font-weight: 800; letter-spacing: .04em; transition: transform .15s; }
.pj-go:active { transform: scale(.97); }
.pj-wait { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 20px; }
.pj-wait[hidden], .pj-body[hidden] { display: none; }
.pj-hopper { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }
.pj-hopper img { width: 160px; height: 160px; transform-origin: 50% 100%; animation: pjHop 1.6s cubic-bezier(.3, .6, .3, 1) infinite; }
.pj-hopper i { position: absolute; inset: 0; border-radius: 999px; border: 3px solid #C4D982; animation: pjRing 2.4s ease-out infinite; }
.pj-hopper i + i { animation-delay: 1.2s; }
.pj-wait h2 { margin: 0; font-size: 36px; line-height: 1.02; font-weight: 800; letter-spacing: -.06em; }
.pj-wait h2 em { font-family: var(--font-accent, "Fraunces", Georgia, serif); font-weight: 400; color: #C4D982; }
.pj-wait p { margin: 0; max-width: 300px; color: #e1e4d8; line-height: 1.5; }
.pj-note { font-size: 13px; color: #afb1a8; border: 1px solid #34372d; border-radius: 16px; padding: 12px 14px; background: #191b18; }
.pj-note b { font: 11px ui-monospace, Menlo, Consolas, monospace; color: #141610; background: #C4D982; padding: 2px 7px; border-radius: 999px; margin-right: 4px; }
.pj-ghost { background: transparent; border: 1px solid #34372d; color: #f6f7ef; border-radius: 999px; padding: 12px 18px; font-weight: 600; }
@keyframes pjBob { 50% { transform: translateY(-8px); } }
@keyframes pjHop { 0%, 100% { transform: translateY(0) scale(1, 1); } 30% { transform: translateY(-26px) scale(.96, 1.04); } 55% { transform: translateY(0) scale(1.06, .94); } 70% { transform: none; } }
@keyframes pjRing { from { transform: scale(.6); opacity: .6; } to { transform: scale(1.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pj-me img, .pj-hopper img, .pj-hopper i { animation: none; } }

/* ---------- HP: selama main ---------- */
.pj.is-playing .pj-banner { height: 120px; }
.pj.is-playing .pj-head { display: none; }
.pj-err { margin: 0; padding: 12px 14px; border-radius: 14px; background: #3a1f1a; border: 1px solid #e0816f; color: #f6d5cd; font-size: 14px; }
.pj-err[hidden] { display: none; }
.pj-go:disabled { opacity: .6; }
.pj-go.is-inline { height: 56px; padding: 0 28px; margin-top: 8px; }
.pj-game { flex: 1; display: flex; flex-direction: column; padding: 0 18px 24px; margin-top: -40px; position: relative; z-index: 1; }
.pj-game[hidden] { display: none; }
.pj-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: rgba(25, 27, 24, .95); border: 1px solid #34372d; }
.pj-top img { width: 42px; height: 42px; }
.pj-top div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.pj-top b { font-size: 16px; }
.pj-top small { font: 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #C4D982; }
.pj-ghost.is-sm { padding: 8px 12px; font-size: 13px; }
.pj-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 16px 6px; animation: pjIn .4s cubic-bezier(.2, .7, .2, 1) both; }
.pj-center h2 { margin: 0; font-size: 34px; line-height: 1.02; font-weight: 800; letter-spacing: -.06em; }
.pj-center h2 em { font-family: var(--font-accent, "Fraunces", Georgia, serif); font-weight: 400; color: #C4D982; }
.pj-center p { margin: 0; max-width: 300px; color: #e1e4d8; line-height: 1.5; }
.pj-who { font-size: 22px; font-weight: 800; }
.pj-who span { font-size: 14px; font-weight: 600; color: #afb1a8; }
.pj-kicker { font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; color: #C4D982; }
.pj-big { font-size: 96px; line-height: .9; font-weight: 800; letter-spacing: -.06em; animation: pjPop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.pj-badge { position: absolute; right: 10px; bottom: 16px; width: 58px; height: 58px; border-radius: 16px; background: #C4D982; border: 4px solid #101110; display: flex; align-items: center; justify-content: center; animation: pjPop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.pj-crown { position: absolute; left: 50%; top: 4px; width: 70px; height: 46px; transform: translateX(-50%) rotate(-8deg); z-index: 1; }
.pj-q { flex: 1; display: flex; flex-direction: column; gap: 14px; padding-top: 14px; }
.pj-qhead { display: flex; align-items: center; justify-content: space-between; }
.pj-chip { font: 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #141610; background: #C4D982; padding: 5px 9px; border-radius: 999px; }
.pj-keys { flex: 1; min-height: 340px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pj-keys button { border-radius: 26px; background: #191b18; border: 1px solid #34372d; color: #e1e4d8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .35); transition: transform .1s ease-out, background .15s; animation: pjIn .35s cubic-bezier(.2, .7, .2, 1) both; touch-action: manipulation; }
.pj-keys button:nth-child(2) { animation-delay: .05s; } .pj-keys button:nth-child(3) { animation-delay: .1s; } .pj-keys button:nth-child(4) { animation-delay: .15s; }
.pj-keys button:active { transform: scale(.94); background: #20221d; }
.pj-keys span { width: 88px; height: 88px; border-radius: 24px; background: #C4D982; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 -6px 0 #a9bf63; }
.pj-keys b { font: 18px ui-monospace, Menlo, Consolas, monospace; font-weight: 400; }
.pj-bar { display: flex; align-items: center; gap: 12px; }
.pj-bar::before { content: ""; }
.pj-bar i { display: block; height: 8px; border-radius: 999px; background: #C4D982; transition: width .2s linear; flex: none; max-width: calc(100% - 60px); }
.pj-bar i.is-low { background: #e0816f; }
.pj-bar span { margin-left: auto; font: 13px ui-monospace, Menlo, Consolas, monospace; }
.pj-rev.is-ok h2 { color: #C4D982; font-size: 48px; }
.pj-gain { font-size: 44px; font-weight: 800; color: #141610; background: #C4D982; padding: 4px 20px; border-radius: 999px; animation: pjPop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.pj-inline { display: inline-flex; align-items: center; gap: 6px; background: #C4D982; color: #141610; font-weight: 800; padding: 2px 10px; border-radius: 999px; vertical-align: middle; }
.pj-rank { font-size: 15px; }
.pj-rank b { color: #C4D982; font-size: 20px; }
.pj-end.is-win .pj-big { color: #C4D982; }
@keyframes pjIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pjPop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pj-center, .pj-keys button, .pj-big, .pj-badge, .pj-gain { animation: none; } }

/* ---------- TV: lobby dengan pemain sungguhan ---------- */
.pc-slot.is-in { border: 1px solid #34372d; background: rgba(32, 34, 29, .88); animation: pcPop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.pc-slot.is-in b { font-size: 16px; }
.pc-slot.is-off { opacity: .45; }
.pc-bob { display: inline-block; animation: pcBob 2.4s ease-in-out infinite; }
.pc-bob img { display: block; }
@keyframes pcBob { 50% { transform: translateY(-8px); } }
@keyframes pcPop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.pc-live.is-wait i { background: #e0816f; }
.pc-opts { display: flex; gap: 10px; }
.pc-foot-hint { flex: 1; font-size: 14px; color: #afb1a8; }

/* ---------- TV: soal & pembahasan ---------- */
.pq, .pr { position: absolute; inset: 0; z-index: 3; overflow: hidden; background: #101110; }
.pq-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right top; opacity: .35; }
.pq::before, .pr::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(16, 17, 16, .6) 0%, rgba(16, 17, 16, .9) 45%, #101110 100%); }
.pq-in { position: relative; z-index: 2; height: 100%; box-sizing: border-box; padding: 28px 48px 24px; display: flex; flex-direction: column; gap: 20px; }
.pq-head { display: flex; align-items: center; gap: 18px; }
.pq-n { font: 14px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #afb1a8; }
.pq-n b { color: #f6f7ef; font-weight: 400; }
.pq-steps { display: flex; gap: 4px; }
.pq-steps i { width: 18px; height: 6px; border-radius: 999px; background: rgba(52, 55, 45, .9); }
.pq-steps i.is-done { background: #C4D982; }
.pq-steps i.is-now { background: #f6f7ef; }
.pq-cat { font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #141610; background: #C4D982; padding: 6px 10px; border-radius: 999px; }
.pq-timer { --p: 100%; margin-left: auto; width: 80px; height: 80px; border-radius: 999px; background: conic-gradient(#C4D982 0 var(--p), rgba(52, 55, 45, .85) var(--p) 100%); display: flex; align-items: center; justify-content: center; }
.pq-timer > div { width: 66px; height: 66px; border-radius: 999px; background: #101110; display: flex; align-items: center; justify-content: center; }
.pq-timer b { font-size: 30px; font-weight: 800; }
.pq-timer.is-low { background: conic-gradient(#e0816f 0 var(--p), rgba(52, 55, 45, .85) var(--p) 100%); animation: pqShake .5s ease-in-out infinite; }
@keyframes pqShake { 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
.pq-q { margin: 0; font-size: 52px; line-height: 1.06; font-weight: 800; letter-spacing: -.045em; max-width: 1060px; animation: pqIn .6s cubic-bezier(.2, .7, .2, 1) both; }
.pq-opts { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-height: 0; }
.pq-opt { position: relative; display: flex; align-items: center; gap: 20px; padding: 0 24px; border-radius: 20px; background: rgba(25, 27, 24, .92); border: 1px solid #34372d; animation: pqIn .5s cubic-bezier(.2, .7, .2, 1) both; transition: opacity .3s, transform .3s, background .3s; }
.pq-shape { width: 62px; height: 62px; flex-shrink: 0; border-radius: 16px; background: #C4D982; display: flex; align-items: center; justify-content: center; }
.pq-key { font: 16px ui-monospace, Menlo, Consolas, monospace; color: #afb1a8; }
.pq-tx { font-size: 32px; font-weight: 700; letter-spacing: -.03em; }
.pq-opt.is-right { background: #C4D982; border-color: #C4D982; color: #141610; transform: scale(1.02); }
.pq-opt.is-right .pq-shape { background: #141610; }
.pq-opt.is-right .pq-shape path { fill: #C4D982; }
.pq-opt.is-right .pq-key { color: #141610; }
.pq-opt.is-wrong { opacity: .35; }
.pq.is-rev .pq-opt, .pq.is-rev .pq-q { animation: none; }
.pq-who { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: flex; }
.pq-who img + img { margin-left: -8px; }
@keyframes pqIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.pq-foot { display: flex; align-items: center; gap: 16px; min-height: 54px; }
.pq-count-tx { font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #afb1a8; margin-right: 6px; }
.pq-p { display: flex; align-items: center; gap: 8px; opacity: .45; position: relative; }
.pq-p b { font-size: 14px; }
.pq-p.is-done { opacity: 1; }
.pq-p.is-done::after { content: "✓"; position: absolute; left: 26px; top: 30px; width: 18px; height: 18px; border-radius: 999px; background: #C4D982; color: #141610; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #101110; }
.pq-p:not(.is-done) img { animation: pcBob 1.6s ease-in-out infinite; }
.pq-rank { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(25, 27, 24, .92); border: 1px solid #34372d; animation: pqIn .5s both; }
.pq-rank i { font: normal 13px ui-monospace, Menlo, Consolas, monospace; color: #C4D982; width: 16px; text-align: center; }
.pq-rank b { font-size: 14px; }
.pq-rank em { font-style: normal; font-weight: 800; }
.pq-rank small { font: 12px ui-monospace, Menlo, Consolas, monospace; color: #141610; background: #C4D982; padding: 2px 6px; border-radius: 999px; }
.pq-foot .pc-pill { margin-left: auto; }
.pq-count-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.pq-count-in small { font: 16px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .2em; color: #C4D982; }
.pq-count-in b { font-size: 220px; line-height: .9; font-weight: 800; letter-spacing: -.06em; animation: pcPop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.pq-count-in span { font-size: 20px; color: #e1e4d8; }

/* ---------- TV: hasil akhir ---------- */
.pr-in { position: relative; z-index: 2; height: 100%; box-sizing: border-box; padding: 32px 48px; display: flex; gap: 40px; }
.pr-left { width: 560px; display: flex; flex-direction: column; gap: 12px; }
.pr-left > small { font: 13px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; color: #afb1a8; }
.pr-left h1 { margin: 0; font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -.065em; }
.pr-left h1 em { font-family: var(--font-accent, "Fraunces", Georgia, serif); font-weight: 400; color: #C4D982; }
.pr-podium { margin-top: auto; display: flex; align-items: flex-end; gap: 12px; }
.pr-col { flex: 1; display: flex; flex-direction: column; align-items: center; }
.pr-col .pc-bob { position: relative; }
.pr-crown { position: absolute; left: 50%; top: -30px; width: 64px; height: 42px; transform: translateX(-50%) rotate(-8deg); }
.pr-block { width: 100%; border-radius: 14px 14px 0 0; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #141610; }
.pr-2 .pr-block { height: 160px; background: #e1e4d8; font-size: 70px; }
.pr-1 .pr-block { height: 220px; background: #C4D982; font-size: 92px; }
.pr-3 .pr-block { height: 120px; background: #d9a441; font-size: 60px; }
.pr-1 .pc-bob { animation: prHop 1.1s ease-in-out infinite; }
@keyframes prHop { 40% { transform: translateY(-18px); } }
.pr-right { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.pr-rows { display: flex; flex-direction: column; gap: 10px; }
.pr-row { height: 64px; border-radius: 16px; background: rgba(25, 27, 24, .92); border: 1px solid #34372d; padding: 0 20px; display: flex; align-items: center; gap: 14px; animation: prIn .55s cubic-bezier(.2, .7, .2, 1) both; }
.pr-row i { font: normal 16px ui-monospace, Menlo, Consolas, monospace; color: #C4D982; width: 26px; }
.pr-row b { flex: 1; font-size: 20px; }
.pr-row em { font-style: normal; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.pr-row.is-first { background: #C4D982; border: 0; color: #141610; }
.pr-row.is-first i { color: #141610; }
@keyframes prIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.pr-btns { display: flex; gap: 12px; margin-top: 8px; }
.pr-conf { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pr-conf i { position: absolute; top: 0; width: 10px; height: 16px; animation: prFall 3.6s linear infinite; }
@keyframes prFall { from { transform: translateY(-40px) rotate(0); } to { transform: translateY(760px) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pc-bob, .pq-timer.is-low, .pr-conf i, .pr-1 .pc-bob { animation: none; } }

/* ---------- TV: Gobak Sodor ---------- */
.ps { position: absolute; inset: 0; z-index: 3; background: #101110; }
.ps-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ps-hud { position: absolute; left: 0; right: 0; top: 0; height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; background: linear-gradient(180deg, rgba(16, 17, 16, .95), rgba(16, 17, 16, .6)); }
.ps-team { display: flex; align-items: center; gap: 14px; min-width: 300px; }
.ps-team.is-b { justify-content: flex-end; }
.ps-team b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.ps-team em { font-style: normal; font-size: 34px; font-weight: 800; min-width: 56px; height: 48px; padding: 0 10px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #141610; }
.ps-team.is-a em { background: #C4D982; }
.ps-team.is-b em { background: #e0816f; }
.ps-mid { display: flex; flex-direction: column; align-items: center; }
.ps-mid small { font: 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #afb1a8; }
.ps-mid b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ps-mid b.is-low { color: #e0816f; animation: pqShake .5s ease-in-out infinite; }
.ps-ov { position: absolute; inset: 70px 0 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.ps-ov > * { pointer-events: auto; }
.ps-card { width: 860px; box-sizing: border-box; padding: 30px 36px; border-radius: 26px; background: rgba(16, 17, 16, .92); border: 1px solid #34372d; backdrop-filter: blur(8px); text-align: center; animation: pcPop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.ps-card > small { font: 13px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; color: #C4D982; }
.ps-card h2 { margin: 10px 0; font-size: 44px; letter-spacing: -.05em; }
.ps-card h2 em { font-style: normal; color: #C4D982; }
.ps-card p { margin: 0; color: #e1e4d8; font-size: 18px; line-height: 1.45; }
.ps-vs { display: flex; align-items: stretch; gap: 20px; margin: 18px 0; }
.ps-vs > div { flex: 1; padding: 16px; border-radius: 18px; background: #191b18; border: 2px solid #C4D982; }
.ps-vs > div.is-b { border-color: #e0816f; }
.ps-vs h2 { font-size: 28px; margin: 0; }
.ps-vs p { font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: #afb1a8; margin-top: 4px; }
.ps-vs > i { align-self: center; font: italic 400 34px "Fraunces", Georgia, serif; color: #f6f7ef; }
.ps-faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; min-height: 100px; }
.ps-faces span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 14px; animation: pcBob 2.4s ease-in-out infinite; }
.ps-faces span:nth-child(2n) { animation-delay: .6s; }
.ps-none { color: #afb1a8; align-self: center; }
.ps-rule { font-size: 16px !important; color: #afb1a8 !important; }
.ps-count { display: flex; flex-direction: column; align-items: center; }
.ps-count small { font: 16px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .14em; color: #f6f7ef; background: rgba(16, 17, 16, .85); padding: 8px 16px; border-radius: 999px; }
.ps-count b { font-size: 240px; line-height: .9; font-weight: 800; color: #f6f7ef; text-shadow: 0 8px 0 #141610; animation: pcPop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.ps-end { position: absolute; inset: -70px 0 0; box-sizing: border-box; padding: 40px 48px; display: flex; gap: 40px; background: rgba(16, 17, 16, .94); }
.ps-end > section:first-child { width: 540px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.ps-end small { font: 13px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; color: #afb1a8; }
.ps-end h1 { margin: 0; font-size: 60px; line-height: 1; letter-spacing: -.06em; }
.ps-end h1 em { font-family: var(--font-accent, "Fraunces", Georgia, serif); font-weight: 400; color: #C4D982; }
.ps-final { display: flex; gap: 14px; }
.ps-final span { flex: 1; padding: 16px 18px; border-radius: 18px; color: #141610; font-weight: 800; display: flex; flex-direction: column; }
.ps-final span.is-a { background: #C4D982; } .ps-final span.is-b { background: #e0816f; }
.ps-final b { font-size: 64px; line-height: 1; }
.ps-end .pr-rows { flex: 1; justify-content: center; }
.ps-end .pr-row small { font: 12px ui-monospace, Menlo, Consolas, monospace; color: #afb1a8; }
.ps-end .pr-row.is-first small { color: #141610; }

/* ---------- HP: stik Gobak Sodor ---------- */
.pj.is-pad .pj-banner { display: none; }
.pj.is-pad .pj-game { margin-top: 0; padding-top: 12px; }
.pj-padwrap { flex: 1; display: flex; }
.sp { --team: #C4D982; position: relative; flex: 1; display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.sp::after { content: attr(data-time); position: absolute; right: 0; top: 18px; font: 12px ui-monospace, Menlo, Consolas, monospace; color: #afb1a8; }
.sp-role { padding: 14px 16px; border-radius: 18px; background: #191b18; border: 2px solid var(--team); }
.sp-role small { font: 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .07em; color: var(--team); }
.sp-role b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.04em; margin: 2px 0; }
.sp-role p { margin: 0; font-size: 13px; line-height: 1.4; color: #e1e4d8; }
.sp-stat { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 15px; min-height: 22px; }
.sp-stat span:first-child { color: var(--team); }
.sp-stat span:last-child { font: 13px ui-monospace, Menlo, Consolas, monospace; color: #f6f7ef; }
.sp.is-down .sp-stat span:first-child { color: #f6f7ef; }
.sp-ctl { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.sp-pad { position: relative; width: 240px; height: 240px; border-radius: 999px; background: radial-gradient(circle, #20221d 0 58%, #191b18 59%); border: 2px solid #34372d; touch-action: none; user-select: none; -webkit-user-select: none; display: flex; align-items: center; justify-content: center; }
.sp-pad.is-down { border-color: var(--team); }
.sp-track { position: absolute; border-radius: 999px; background: rgba(246, 247, 239, .06); }
.sp[data-axis="x"] .sp-track { left: 18px; right: 18px; height: 70px; top: calc(50% - 35px); }
.sp[data-axis="y"] .sp-track { top: 18px; bottom: 18px; width: 70px; left: calc(50% - 35px); }
.sp-knob { width: 96px; height: 96px; border-radius: 999px; background: var(--team); box-shadow: inset 0 -7px 0 rgba(0, 0, 0, .25), 0 10px 24px rgba(0, 0, 0, .4); transition: transform .06s linear; pointer-events: none; }
.sp-dash { width: 100%; max-width: 320px; height: 76px; border: 0; border-radius: 999px; background: #f6f7ef; color: #141610; font-size: 26px; font-weight: 800; letter-spacing: .04em; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: inset 0 -6px 0 #c7cbbb; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.sp-dash small { font: 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; font-weight: 400; }
.sp-dash:active { transform: translateY(4px); box-shadow: inset 0 -2px 0 #c7cbbb; }
.sp-dash.is-cool { opacity: .45; }
.sp-dash[hidden] { display: none; }
.sp.is-watch .sp-ctl { opacity: .3; pointer-events: none; }
.sp-flash { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; white-space: nowrap; font-size: 30px; font-weight: 800; padding: 12px 22px; border-radius: 999px; background: #f6f7ef; color: #141610; transition: opacity .2s, transform .25s cubic-bezier(.2, 1.4, .4, 1); z-index: 3; }
.sp-flash.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.sp-flash.is-good, .sp-flash.is-go { background: #C4D982; }
.sp-flash.is-bad { background: #e0816f; }
.sp-ov { position: absolute; inset: 0; z-index: 2; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; border-radius: 22px; background: rgba(16, 17, 16, .93); }
.sp-ov.is-on { display: flex; }
.sp-ov small { font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; color: #C4D982; }
.sp-ov b { font-size: 44px; font-weight: 800; letter-spacing: -.04em; }
.sp-ov h2 { margin: 0; font-size: 32px; letter-spacing: -.05em; }
.sp-ov h2 em { font-family: var(--font-accent, "Fraunces", Georgia, serif); font-weight: 400; color: #C4D982; }
.sp-ov span { color: #e1e4d8; max-width: 300px; line-height: 1.45; }
/* HP dimiringkan: joystick kiri, tombol LARI kanan. */
.pj.is-pad { max-width: none; }
.pj.is-pad .pj-top { padding: 6px 10px; }
.pj.is-pad .pj-top img { width: 32px; height: 32px; }
.pj.is-pad .sp { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 8px 16px; }
.pj.is-pad .sp-role { grid-column: 1 / 3; display: flex; align-items: baseline; gap: 10px; padding: 8px 12px; }
.pj.is-pad .sp-role b { font-size: 18px; }
.pj.is-pad .sp-role p { display: none; }
.pj.is-pad .sp-stat { display: none; }
.pj.is-pad .sp-ctl { grid-column: 1 / 3; flex-direction: row; justify-content: space-between; padding: 0 12px; }
.pj.is-pad .sp-pad { width: 200px; height: 200px; }
.pj.is-pad .sp-dash { width: 170px; height: 170px; border-radius: 999px; }

/* ---------- Bom Petasan: layar TV ---------- */
.pb { position: absolute; inset: 0; z-index: 3; overflow: hidden; background: #101110; }
.pb.is-shake { animation: pbShake .5s ease-out; }
.pb-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: blur(3px) saturate(.8); }
.pb-hud { position: absolute; left: 0; right: 0; top: 0; height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; background: linear-gradient(180deg, rgba(16, 17, 16, .95), rgba(16, 17, 16, 0)); }
.pb-hud small { display: block; font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; color: #e0816f; }
.pb-hud b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.pb-left { font-size: 18px; color: #e1e4d8; }
.pb-left b { font-size: 30px; color: #C4D982; margin-right: 4px; }
.pb-ring { position: absolute; left: 170px; top: 205px; width: 940px; height: 430px; border-radius: 50%; border: 4px dashed rgba(246, 247, 239, .18); background: radial-gradient(closest-side, rgba(224, 129, 111, .12), transparent); }
.pb-seat { position: absolute; width: 150px; margin-left: -75px; margin-top: -70px; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: opacity .4s, filter .4s; }
.pb-av { width: 104px; height: 104px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: rgba(25, 27, 24, .9); border: 3px solid #34372d; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pb-av img { width: 92px; height: auto; }
.pb-seat b { font-size: 17px; font-weight: 800; padding: 2px 12px; border-radius: 999px; background: rgba(16, 17, 16, .85); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-hearts { display: inline-flex; gap: 4px; }
.pb-hearts i { width: 16px; height: 14px; background: #34372d; clip-path: path('M8 14 L1.5 7.2 A3.9 3.9 0 0 1 8 2.6 A3.9 3.9 0 0 1 14.5 7.2 Z'); }
.pb-hearts i.is-on { background: #e0816f; }
.pb-seat.is-hold .pb-av { border-color: #e0816f; box-shadow: 0 0 0 6px rgba(224, 129, 111, .3), 0 0 40px rgba(255, 179, 71, .45); transform: scale(1.08); }
.pb-seat.is-stun .pb-av { animation: pqShake .3s ease-in-out infinite; }
.pb-seat.is-out { opacity: .35; filter: grayscale(1); }
.pb-bomb { position: absolute; left: 0; top: 0; width: 80px; height: 120px; z-index: 2; pointer-events: none; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .45)); will-change: transform; }
.pb-bomb[hidden] { display: none; }
.pb-bomb svg { width: 100%; height: 100%; overflow: visible; }
.pb-spark { transform-box: fill-box; transform-origin: center; animation: pbSpark .18s steps(2) infinite; }
.pb-bomb.is-hot svg { animation: pbHot .12s linear infinite; }
.pb-bomb.is-hot .pb-spark { animation-duration: .08s; }
.pb-fx { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.pb-pop { position: absolute; transform: translateX(-50%); font-size: 26px; font-weight: 800; padding: 6px 16px; border-radius: 999px; background: #f6f7ef; color: #141610; animation: pbPop 1.3s ease-out forwards; white-space: nowrap; }
.pb-pop.is-good { background: #C4D982; }
.pb-pop.is-bad { background: #e0816f; }
.pb-boom { position: absolute; width: 0; height: 0; }
.pb-boom i { position: absolute; left: -170px; top: -170px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, #fff6d6 0 18%, #ffb347 34%, #e0453a 52%, rgba(224, 69, 58, 0) 70%); animation: pbBlast .9s ease-out forwards; }
.pb-boom b { position: absolute; left: 0; top: -40px; transform: translate(-50%, -50%); font-size: 96px; font-weight: 800; letter-spacing: -.05em; color: #f6f7ef; -webkit-text-stroke: 6px #141610; paint-order: stroke; animation: pbBoomTx 2.2s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.pb-ov { z-index: 4; }
.pb-intro h2 em, .pb-hit h2 em { color: #e0816f; }
.pb-win img { width: 130px; height: auto; }
@keyframes pbSpark { 50% { transform: scale(1.35) rotate(25deg); } }
@keyframes pbHot { 0% { transform: translate(0, 0); } 25% { transform: translate(-3px, 1px); } 50% { transform: translate(3px, -1px); } 75% { transform: translate(-2px, -2px); } }
@keyframes pbPop { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.6); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -40px); } }
@keyframes pbBlast { 0% { transform: scale(.1); opacity: 1; } 60% { opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
@keyframes pbBoomTx { 0% { transform: translate(-50%, -50%) scale(.2); opacity: 0; } 20% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(-50%, -80%) scale(1); opacity: 0; } }
@keyframes pbShake { 10%, 50%, 90% { transform: translate(-10px, 4px); } 30%, 70% { transform: translate(10px, -4px); } }

/* ---------- Bom Petasan: HP ---------- */
.bp { position: relative; flex: 1; display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.bp-stat { display: flex; justify-content: space-between; align-items: center; min-height: 22px; font: 12px ui-monospace, Menlo, Consolas, monospace; color: #afb1a8; }
.bp-stat .pb-hearts i { width: 22px; height: 19px; clip-path: path('M11 19 L2 9.8 A5.4 5.4 0 0 1 11 3.5 A5.4 5.4 0 0 1 20 9.8 Z'); }
.bp-main { flex: 1; display: flex; flex-direction: column; }
.bp-catch { flex: 1; min-height: 320px; border: 0; border-radius: 28px; background: #f2c94c; color: #141610; font-size: 56px; font-weight: 800; letter-spacing: -.03em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: inset 0 -10px 0 #c9a12f; touch-action: manipulation; user-select: none; -webkit-user-select: none; animation: bpPulse .35s ease-in-out infinite alternate; }
.bp-catch small { font: 13px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; font-weight: 400; }
.bp-catch:active { transform: translateY(5px); box-shadow: inset 0 -4px 0 #c9a12f; }
.bp-head { padding: 14px 16px; border-radius: 18px; background: #e0816f; color: #141610; margin-bottom: 12px; animation: bpPulse .6s ease-in-out infinite alternate; }
.bp-head small { font: 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; }
.bp-head b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
.bp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; transition: opacity .2s; }
.bp-list.is-stun { opacity: .35; }
.bp-t { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 150px; padding: 16px 8px; border-radius: 18px; border: 2px solid #34372d; background: #191b18; color: #f6f7ef; font: inherit; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.bp-t:active { border-color: #e0816f; background: #2a1f1c; transform: scale(.97); }
.bp-t b { font-size: 16px; font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-t img { width: 72px; height: auto; }
.bp-t small { font: 10px ui-monospace, Menlo, Consolas, monospace; color: #afb1a8; }
.bp-t:disabled { opacity: .4; }
.bp-safe { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.bp-safe img { width: 110px; height: auto; }
.bp-safe small { font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; color: #C4D982; }
.bp-safe b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.bp-safe b em { font-style: normal; color: #e0816f; }
.bp-safe p { margin: 0; color: #afb1a8; max-width: 280px; line-height: 1.45; }
@keyframes bpPulse { to { transform: scale(1.02); filter: brightness(1.08); } }

/* Gambar karakter (WebP persegi): jangan ikut ditarik aturan global img { width: 100% } */
.pr-row img, .pq-p img, .pq-rank img, .pq-who img, .ps-faces img, .pc-slot img, .pr-col img { flex: none; object-fit: contain; }

/* Tombol layar penuh mengambang (lobby & saat main) */
.pc-fs { position: absolute; right: 12px; bottom: 12px; z-index: 20; width: 42px; height: 42px; border-radius: 999px; border: 1px solid #34372d; background: rgba(16, 17, 16, .82); color: #f6f7ef; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: .55; transition: opacity .2s, transform .2s, background .2s; }
.pc-fs:hover, .pc-fs:focus-visible { opacity: 1; transform: scale(1.08); background: #C4D982; color: #141610; }
.pc-fs svg { width: 18px; height: 18px; }
.pc-fs[hidden] { display: none; }
.pc-fs:not(.is-on) { animation: pcFsHint 2.4s ease-in-out 1s 3; }
@keyframes pcFsHint { 50% { opacity: 1; box-shadow: 0 0 0 8px rgba(196, 217, 130, .25); } }
/* HP: tombol layar penuh di header */
.pj-fs { display: inline-flex; align-items: center; justify-content: center; padding: 8px 10px; margin-right: 6px; }
.pj-fs svg { width: 18px; height: 18px; display: block; }
/* Bom Petasan: tanda BOT di kursi bot */
.pb-seat.is-bot b::after { content: "BOT"; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: #34372d; color: #afb1a8; font: 700 10px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; vertical-align: 2px; }

/* ---------- Balap Mobil: layar TV ---------- */
.pr2 { position: absolute; inset: 0; z-index: 3; background: #101110; }
.pr2-hud { position: absolute; left: 0; right: 0; top: 0; height: 64px; display: flex; align-items: center; gap: 18px; padding: 0 22px; background: linear-gradient(180deg, rgba(16, 17, 16, .96), rgba(16, 17, 16, .7)); }
.pr2-lap { display: flex; flex-direction: column; min-width: 120px; }
.pr2-lap small { font: 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; color: #C4D982; }
.pr2-lap b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.pr2-board { flex: 1; display: flex; gap: 6px; overflow: hidden; }
.pr2-board span { display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(32, 34, 29, .95); border: 2px solid var(--c); min-width: 0; }
.pr2-board i { font: 700 12px ui-monospace, Menlo, Consolas, monospace; color: #141610; background: var(--c); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; flex: none; }
.pr2-board img { flex: none; }
.pr2-board b { font-size: 13px; max-width: 86px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr2-time { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 110px; text-align: right; }
.pr2 .ps-ov { inset: 64px 0 0; }
.pr2 .ps-end { inset: -64px 0 0; }
.pr2-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 16px 0; }
.pr2-grid span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 16px; background: #191b18; border: 3px solid var(--c); font-size: 14px; animation: pcBob 2.4s ease-in-out infinite; }
.pr2-grid span:nth-child(2n) { animation-delay: .6s; }
.pr2-lights { display: flex; gap: 18px; padding: 16px 24px; border-radius: 22px; background: #141610; border: 3px solid #34372d; margin-bottom: 10px; }
.pr2-lights i { width: 54px; height: 54px; border-radius: 50%; background: #2a2c27; }
.pr2-lights i.is-on { background: #e0453a; box-shadow: 0 0 24px #e0453a; }
.pr2-go { color: #C4D982 !important; }

/* ---------- Balap Mobil: HP ---------- */
.rp { --car: #C4D982; position: relative; flex: 1; display: flex; flex-direction: column; gap: 12px; padding-top: 12px; user-select: none; -webkit-user-select: none; }
.rp-stat { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.rp-stat b:last-child { margin-left: auto; font: 13px ui-monospace, Menlo, Consolas, monospace; color: #afb1a8; }
.rp-chip { width: 34px; height: 20px; border-radius: 7px; background: var(--car); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25); }
.rp-ctl { flex: 1; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.rp-steer, .rp-go { display: flex; gap: 12px; }
.rp-btn, .rp-gas, .rp-nitro { flex: 1; border: 0; border-radius: 24px; font: inherit; font-weight: 800; color: #141610; touch-action: none; -webkit-tap-highlight-color: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: transform .06s; }
.rp-btn { height: 130px; font-size: 46px; background: #f6f7ef; box-shadow: inset 0 -8px 0 #c7cbbb; }
.rp-gas { height: 130px; font-size: 30px; letter-spacing: .04em; background: var(--car); box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .25); }
.rp-nitro { height: 130px; max-width: 42%; font-size: 20px; background: #ff9f43; box-shadow: inset 0 -8px 0 #c9752a; }
.rp-gas small, .rp-nitro small { font: 11px ui-monospace, Menlo, Consolas, monospace; font-weight: 400; letter-spacing: .06em; }
.rp .is-down { transform: translateY(5px) scale(.97); filter: brightness(1.1); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); }
.rp-nitro.is-cool { opacity: .4; }
.rp-swatch { display: block; width: 90px; height: 50px; border-radius: 14px; background: var(--car); box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .25); }
.rp-count { font-size: 90px !important; }
/* HP dimiringkan: setir kiri, gas & nitro kanan */
.pj.is-pad .rp-ctl { flex-direction: row; align-items: stretch; gap: 24px; padding: 0 6px 8px; }
.pj.is-pad .rp-steer, .pj.is-pad .rp-go { flex: 1; }
.pj.is-pad .rp-btn, .pj.is-pad .rp-gas, .pj.is-pad .rp-nitro { height: auto; min-height: 150px; }
.pj.is-pad .rp-stat { font-size: 14px; }
.rp-car { width: 170px; height: 170px; object-fit: contain; animation: pcBob 2s ease-in-out infinite; }
.pj-hopper.is-car img { width: 190px; height: 190px; object-fit: contain; }
.pr2-grid img { object-fit: contain; }

/* Stik di HP selalu landscape. HP dipegang tegak (dan layar tidak bisa dikunci) → tampilan diputar 90°. */
.pj.is-pad.is-rot { position: fixed; top: 0; left: 0; width: 100vh; width: 100dvh; height: 100vw; min-height: 0; max-width: none; margin: 0; transform-origin: 0 0; transform: rotate(90deg) translateY(-100%); overflow: hidden; }
.pj.is-pad.is-rot .pj-game { padding-bottom: 10px; }

/* ---------- Ojek Antar Paket ---------- */
.pr2-time.is-low { color: #e0816f; animation: pqShake .5s ease-in-out infinite; }
.po-house { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 999px; color: #141610; font-weight: 800; border: 3px solid #141610; vertical-align: middle; }
.po-pad .sp-role { transition: border-color .2s; }
.pj.is-pad .po-pad .sp-role b { font-size: 20px; }
