* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #2a8fe0; font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif; overflow: hidden; }
#stage { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; }
#scene { width: 100%; height: 100%; display: block; user-select: none; -webkit-user-select: none; transform-origin: 0 0; }
#scene.moving { will-change: transform; }

.hit { cursor: pointer; outline: none; transition: filter .15s; }
.hit:hover, .hit:focus-visible { filter: brightness(1.14) drop-shadow(0 0 10px rgba(255,255,255,.8)); }
.hit:active { filter: brightness(.95); }

.pin { animation: bob 2.2s ease-in-out infinite; }
.node:hover .pin { animation-duration: .8s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.spin-a { animation: spin 7s linear infinite; transform-box: fill-box; transform-origin: center; }
.spin-b { animation: spin 11s linear infinite reverse; transform-box: fill-box; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }

.cloud { animation: drift 40s ease-in-out infinite alternate; }
.cloud.c2 { animation-duration: 55s; }
.cloud.c3 { animation-duration: 47s; }
@keyframes drift { from { transform: translateX(-25px); } to { transform: translateX(25px); } }
.fall-flow { animation: flow 1.2s linear infinite; }
@keyframes flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -40; } }

.node.done .pin-body { fill: #ffe9a3; }

#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: rgba(20,45,100,.92); color: #fff; padding: 10px 22px; border-radius: 999px; font-weight: 700; opacity: 0; pointer-events: none; transition: .25s; z-index: 5; max-width: 90vw; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

#modal { position: fixed; inset: 0; background: rgba(8,25,60,.55); display: flex; align-items: center; justify-content: center; z-index: 10; backdrop-filter: blur(3px); }
#modal.hidden { display: none; }
.card { width: min(440px, 88vw); background: linear-gradient(#f7fbff, #dcecff); border: 5px solid #2c5fd0; border-radius: 26px; padding: 26px 26px 22px; text-align: center; box-shadow: 0 14px 40px rgba(0,0,0,.4); animation: pop .25s ease-out; }
@keyframes pop { from { transform: scale(.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.badge { display: inline-block; background: #2c5fd0; color: #fff; padding: 4px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .5px; }
.card h2 { margin: 12px 0 6px; color: #1b3f9a; font-size: 28px; }
.card p { margin: 0 0 18px; color: #35507f; line-height: 1.5; }
.row { display: flex; gap: 12px; justify-content: center; }
.btn { border: 0; padding: 11px 24px; border-radius: 14px; font-size: 16px; font-weight: 700; cursor: pointer; background: #c9d8f3; color: #1b3f9a; }
.btn.primary { background: linear-gradient(#ffcf4a, #f5a623); color: #5a3500; box-shadow: 0 4px 0 #c27b0b; }
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(2px); }

.par { transition: transform .35s ease-out; }
.mist { animation: mist 2.4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes mist { from { transform: scale(.9); opacity: .6; } to { transform: scale(1.15); opacity: .95; } }
.wave { animation: wv 6s ease-in-out infinite alternate; }
@keyframes wv { from { transform: translateX(-12px); } to { transform: translateX(12px); } }
.foam { animation: foam 3.2s ease-in-out infinite alternate; }
@keyframes foam { from { opacity: .35; } to { opacity: .8; } }

#stage::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse at 25% 0%, rgba(255,246,200,.28), transparent 60%), radial-gradient(ellipse at center, transparent 62%, rgba(10,31,74,.32)); }

#flash { position: fixed; inset: 0; z-index: 8; pointer-events: none; opacity: 0; background: radial-gradient(circle, #fff 0%, #bfe9ff 45%, rgba(63,155,232,0) 80%); transition: opacity .18s; }
#flash.on { opacity: .95; }
#hud { transition: none; }
#scene.zoomed #hud { opacity: 0; pointer-events: none; }
.node.locked { filter: grayscale(.8) brightness(.9); cursor: not-allowed; }
.node.locked:hover { filter: grayscale(.8) brightness(.95); }
.node.locked .pin { animation-play-state: paused; }

.bird { animation: fly linear infinite; }
@keyframes fly { from { transform: translateX(-320px); } to { transform: translateX(2300px); } }
.flap { animation: flap .45s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(-.7); } }

.flag { animation: wave 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
@keyframes wave { 0%, 100% { transform: skewY(-4deg) scaleX(1); } 50% { transform: skewY(4deg) scaleX(.92); } }
.swing { animation: swing 3.2s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 0; }
@keyframes swing { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
.bfly { animation: flutter 9s ease-in-out infinite; }
@keyframes flutter {
  0% { transform: translate(0, 0); }
  25% { transform: translate(50px, -26px); }
  50% { transform: translate(100px, 4px); }
  75% { transform: translate(48px, 22px); }
  100% { transform: translate(0, 0); }
}
.wing { animation: wing .28s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: right center; }
.wing.r { transform-origin: left center; }
@keyframes wing { from { transform: scaleX(1); } to { transform: scaleX(.3); } }
.boat { animation: boat 4.5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes boat { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-6px) rotate(2deg); } }
.beam { animation: beam 2.6s ease-in-out infinite alternate; }
@keyframes beam { from { opacity: .12; } to { opacity: .5; } }

#sound { position: fixed; right: 18px; bottom: 18px; z-index: 6; width: 46px; height: 46px; border-radius: 50%; border: 4px solid #2c5fd0; background: #3d73d6; font-size: 20px; cursor: pointer; }
#sound:hover { filter: brightness(1.1); }
/* ===== INTRO POP-UP ===== */
#intro, #auth { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 14px;
  background: radial-gradient(circle at 50% 30%, rgba(63,155,232,.75), rgba(8,25,60,.9)); backdrop-filter: blur(6px); transition: opacity .5s, visibility .5s; }
#intro.out, #auth.out { opacity: 0; visibility: hidden; }
#intro.out .icard, #auth.out .icard { transform: scale(.85) translateY(30px); }
.ibubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ibubbles i { position: absolute; bottom: -40px; border-radius: 50%; background: rgba(255,255,255,.25); border: 2px solid rgba(255,255,255,.4); animation: rise linear infinite; }
@keyframes rise { to { transform: translateY(-115vh); } }

.icard { position: relative; width: min(600px, 94vw); max-height: 94vh; overflow: hidden auto; background: linear-gradient(#f7fbff, #dcecff);
  border: 6px solid #2c5fd0; border-radius: 28px; padding: 26px 28px 20px; text-align: center; box-shadow: 0 18px 50px rgba(0,0,0,.5);
  animation: cardIn .7s cubic-bezier(.2,1.2,.3,1); transition: transform .5s; }
@keyframes cardIn { from { transform: scale(.6) translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }

.islides { display: grid; overflow: hidden; }
.islide { grid-area: 1/1; opacity: 0; visibility: hidden; transform: translateX(80px) scale(.95);
  transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .4s, visibility 0s .55s; }
.islide.active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.islide.left { transform: translateX(-80px) scale(.95); }
.islide .pop { opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .5s; }
.islide.active .pop { opacity: 1; transform: none; transition-delay: calc(var(--i) * .09s + .2s); }

.islide h1, .islide h2, .islide h3 { margin: 6px 0; color: #1b3f9a; }
.ititle { font-size: 32px; letter-spacing: 1px; background: linear-gradient(#3d73d6,#1b3f9a); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.isub { color: #e08a00 !important; font-size: 19px; }
.islide h2 { font-size: 24px; }
.islide p { margin: 6px 0; color: #35507f; line-height: 1.55; font-size: 15.5px; }
.ihero { font-size: 64px; animation: heroBob 2s ease-in-out infinite; }
@keyframes heroBob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(4deg); } }
.idiv { height: 3px; margin: 12px auto; width: 120px; border-radius: 3px; background: linear-gradient(90deg, transparent, #2c5fd0, transparent); }
.ilist { list-style: none; padding: 0; margin: 10px 0 0; text-align: left; }
.ilist li { margin: 7px 0; padding: 9px 14px 9px 40px; position: relative; background: #fff; border-radius: 14px; color: #1b3f9a; font-weight: 600; font-size: 15px; box-shadow: 0 2px 0 #b9cdf5; }
.ilist li::before { content: "★"; position: absolute; left: 14px; color: #f5a623; }

.iform { display: flex; gap: 14px; align-items: center; text-align: left; margin: 12px 0; padding: 14px 16px; background: #fff; border-radius: 18px; color: #35507f; line-height: 1.45; box-shadow: 0 3px 0 #b9cdf5; }
.iform b { color: #1b3f9a; font-size: 17px; }
.inum { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #5a3500; background: linear-gradient(#ffcf4a,#f5a623); box-shadow: 0 3px 0 #c27b0b; }

.iq { font-weight: 800; color: #1b3f9a !important; font-size: 18px !important; margin-top: 14px !important; }
.iopt { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; margin: 8px 0; padding: 12px 14px; border: 3px solid #b9cdf5; border-radius: 16px; background: #fff; color: #1b3f9a; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; transition: border-color .15s, background .25s, transform .15s; }
.iopt b { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #c9d8f3; }
.islide.active .iopt:hover { border-color: #2c5fd0; transform: translateX(4px); }
.iopt.wrong { background: #ffe1e1; border-color: #e05555; animation: shake .45s; }
.iopt.wrong b { background: #e05555; color: #fff; }
.iopt.right { background: #dcf8d9; border-color: #3cb043; animation: tada .6s; }
.iopt.right b { background: #3cb043; color: #fff; }
.iopt:disabled { cursor: default; }
@keyframes shake { 0%,100% { transform: none; } 20% { transform: translateX(-9px); } 40% { transform: translateX(9px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(6px); } }
@keyframes tada { 0% { transform: scale(1); } 40% { transform: scale(1.05) rotate(-1deg); } 100% { transform: scale(1); } }
.ifb { min-height: 0; margin-top: 8px; font-weight: 700; line-height: 1.45; opacity: 0; transform: translateY(10px); transition: .4s; }
.ifb.show { opacity: 1; transform: none; min-height: 50px; }
.ifb.ok { color: #1f8a2b; } .ifb.no { color: #c0392b; }

.inav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.idots { display: flex; gap: 8px; }
.idots i { width: 10px; height: 10px; border-radius: 10px; background: #b9cdf5; transition: .35s; }
.idots i.on { width: 28px; background: #2c5fd0; }
#inext:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.6); }
.confetti { position: fixed; top: -20px; width: 10px; height: 14px; z-index: 60; pointer-events: none; animation: conf 1.8s ease-in forwards; }
@keyframes conf { to { transform: translate(var(--dx), 105vh) rotate(720deg); opacity: .9; } }
@media (max-width: 480px) { .icard { padding: 20px 16px 16px; } .ititle { font-size: 26px; } .btn { padding: 10px 14px; font-size: 14px; } }

/* ===== AUTH (buat akun) ===== */
#intro.hidden, #auth.hidden { display: none; }
#auth .icard { width: min(500px, 94vw); }
#auth .islides { padding: 6px; margin: -6px; }
.afield { display: block; text-align: left; margin: 10px 0; color: #1b3f9a; font-weight: 700; font-size: 14px; }
.afield input[type=text], .afield input[type=number] { display: block; width: 100%; margin-top: 5px; padding: 11px 14px; border: 3px solid #b9cdf5; border-radius: 14px;
  font: inherit; font-weight: 600; color: #1b3f9a; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.afield input::placeholder { color: #9bb0d6; font-weight: 500; }
.afield input:focus { border-color: #2c5fd0; box-shadow: 0 0 0 4px rgba(44,95,208,.18); }
.agender { display: flex; gap: 10px; margin-top: 5px; }
.agender label { flex: 1; cursor: pointer; position: relative; }
.agender input { position: absolute; opacity: 0; pointer-events: none; }
.agender span { display: block; text-align: center; padding: 11px 8px; border: 3px solid #b9cdf5; border-radius: 14px; background: #fff; color: #1b3f9a; font-weight: 700; transition: .2s; }
.agender label:hover span { border-color: #2c5fd0; }
.agender input:checked + span { border-color: #2c5fd0; background: #2c5fd0; color: #fff; transform: scale(1.04); }
.agender input:focus-visible + span { box-shadow: 0 0 0 4px rgba(44,95,208,.25); }
.aerr { min-height: 22px; margin: 6px 0 0; color: #c0392b !important; font-weight: 700; font-size: 14px !important; }
.aerr.shake { animation: shake .45s; }
#a-note .btn { margin-top: 10px; }

/* ===== PROFIL PEMAIN (avatar + menu logout) ===== */
#pmenu { position: fixed; z-index: 7; width: min(260px, 86vw); padding: 14px 14px 12px; text-align: center;
  background: linear-gradient(#f7fbff, #dcecff); border: 4px solid #2c5fd0; border-radius: 20px; box-shadow: 0 12px 30px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(-8px) scale(.94); transform-origin: 30px 0;
  transition: opacity .18s, transform .25s cubic-bezier(.2,1.2,.3,1); }
#pmenu.show { opacity: 1; transform: none; }
#pmenu.hidden, .pm-confirm.hidden, .pm-out.hidden { display: none; }
.pm-name { font-weight: 800; color: #1b3f9a; font-size: 17px; word-break: break-word; }
.pm-info { margin: 2px 0 12px; color: #35507f; font-size: 13px; word-break: break-word; }
.pm-out { width: 100%; }
.pm-confirm p { margin: 0 0 10px; color: #35507f; font-size: 13.5px; line-height: 1.4; }
.pm-confirm .btn { padding: 9px 14px; font-size: 14px; }

/* ===== Level Help Station: video + pertanyaan ===== */
#quiz { position: fixed; inset: 0; z-index: 40; overflow-y: auto; padding: 18px 12px 40px; background: rgba(8,25,60,.72); backdrop-filter: blur(4px); }
.qz-card { width: min(720px, 96vw); margin: 0 auto; background: linear-gradient(#f7fbff, #dcecff); border: 5px solid #2c5fd0; border-radius: 26px; padding: 20px 22px 22px; box-shadow: 0 14px 40px rgba(0,0,0,.4); animation: pop .25s ease-out; }
.qz-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.qz-x { padding: 6px 14px; font-size: 14px; }
.qz-title { margin: 10px 0 12px; color: #1b3f9a; font-size: 28px; text-align: center; }
.qz-media { border-radius: 16px; overflow: hidden; background: #0c1b3f; border: 3px solid #2c5fd0; }
.qz-media video { display: block; width: 100%; max-height: 52vh; background: #000; }
.qz-novid { padding: 26px 16px; text-align: center; color: #dfe9ff; }
.qz-novid p { margin: 0 0 14px; line-height: 1.5; }
.qz-novid code { color: #ffd24a; font-size: 14px; }
.qz-hint { margin: 12px 0 0; text-align: center; color: #35507f; font-weight: 600; }
#qz-panel { margin-top: 16px; }
.qz-prog { display: flex; justify-content: space-between; align-items: center; color: #1b3f9a; font-weight: 800; margin-bottom: 10px; }
.qz-dots { display: inline-flex; gap: 6px; }
.qz-dots i { width: 12px; height: 12px; border-radius: 50%; background: #b9cdf5; }
.qz-dots i.on { background: #2c5fd0; transform: scale(1.2); }
.qz-dots i.done { background: #3cb043; }
.qz-scene { white-space: pre-line; background: #fff; border: 3px solid #b9cdf5; border-radius: 16px; padding: 12px 14px; color: #35507f; line-height: 1.55; font-size: 15px; }
#qz-panel .iq { margin: 14px 0 6px; color: #1b3f9a; font-weight: 800; font-size: 18px; }
#qz-panel .iopt { opacity: 1; transform: none; }
#qz-panel .iopt:not(:disabled):hover { border-color: #2c5fd0; transform: translateX(4px); }
.qz-nav { display: flex; justify-content: center; margin-top: 14px; }
.qz-nav .btn.hidden, #quiz .hidden { display: none; }
.qz-done { text-align: center; padding: 10px 0 4px; }
.qz-star { font-size: 64px; animation: pop .4s ease-out; }
.qz-done h2 { margin: 6px 0; color: #1b3f9a; font-size: 28px; }
.qz-done p { margin: 0 0 8px; color: #35507f; line-height: 1.5; }
@media (max-width: 480px) { .qz-card { padding: 16px 14px 18px; } .qz-title, .qz-done h2 { font-size: 24px; } }

/* ===== Bar kontrol urutan video & tombol Putar Ulang ===== */
.qz-vbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 8px 12px; background: #fff; border: 3px solid #b9cdf5; border-radius: 14px; }
.qz-vbar.hidden { display: none; }
.qz-vinfo { display: flex; align-items: center; gap: 10px; color: #1b3f9a; font-weight: 800; font-size: 14px; }
.qz-vdots { display: inline-flex; gap: 5px; }
.qz-vdots i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; background: #dcecff; color: #35507f; }
.qz-vdots i.on { background: #2c5fd0; color: #fff; }
.qz-vdots i.done { background: #3cb043; color: #fff; }
.qz-replay { padding: 7px 14px; font-size: 14px; }

/* ===== Bar kontrol urutan video & tombol Putar Ulang ===== */
.qz-vbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 8px 12px; background: #fff; border: 3px solid #b9cdf5; border-radius: 14px; }
.qz-vbar.hidden { display: none; }
.qz-vinfo { display: flex; align-items: center; gap: 10px; color: #1b3f9a; font-weight: 800; font-size: 14px; }
.qz-vdots { display: inline-flex; gap: 5px; }
.qz-vdots i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; background: #dcecff; color: #35507f; }
.qz-vdots i.on { background: #2c5fd0; color: #fff; }
.qz-vdots i.done { background: #3cb043; color: #fff; }
.qz-replay { padding: 7px 14px; font-size: 14px; }

/* ===== Banner Hitung Mundur 5 Detik Buka Kunci Sublevel ===== */
#autopull { position: fixed; inset-x: 0; bottom: 22px; left: 0; right: 0; z-index: 35; display: flex; justify-content: center; padding: 0 14px; pointer-events: none; transition: opacity .25s, transform .25s; }
#autopull.out { opacity: 0; transform: translateY(24px); }
.ap-card { pointer-events: auto; width: min(430px, 94vw); background: linear-gradient(#f7fbff, #dcecff); border: 5px solid #2c5fd0; border-radius: 24px; padding: 16px 20px 18px; text-align: center; box-shadow: 0 16px 40px rgba(8,25,60,.45); animation: pop .3s cubic-bezier(.2,1.3,.3,1); }
.ap-badge { display: inline-block; background: linear-gradient(#ffcf4a, #f5a623); color: #5a3500; padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; box-shadow: 0 2px 0 #c27b0b; }
.ap-card h3 { margin: 8px 0 4px; color: #1b3f9a; font-size: 22px; }
.ap-card p { margin: 0 0 10px; color: #35507f; font-size: 14px; font-weight: 600; }
.ap-timer { position: relative; width: 64px; height: 64px; margin: 0 auto 12px; display: grid; place-items: center; }
.ap-timer svg { position: absolute; inset: 0; width: 64px; height: 64px; transform: rotate(-90deg); }
.ap-track { fill: #fff; stroke: #c9d8f3; stroke-width: 6; }
.ap-ring { fill: none; stroke: #2c5fd0; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 170; stroke-dashoffset: 0; animation: apCount 5s linear forwards; }
@keyframes apCount { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 170; } }
#ap-num { position: relative; font-size: 26px; font-weight: 800; color: #1b3f9a; }
.ap-actions { display: flex; justify-content: center; gap: 10px; }
.ap-actions .btn { padding: 9px 18px; font-size: 14px; }

/* ===== Transisi halus saat node terbuka ===== */
.node { transition: filter .5s ease; }

/* ===== Bar kontrol urutan video & tombol Putar Ulang ===== */
.qz-vbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 8px 12px; background: #fff; border: 3px solid #b9cdf5; border-radius: 14px; }
.qz-vbar.hidden { display: none; }
.qz-vinfo { display: flex; align-items: center; gap: 10px; color: #1b3f9a; font-weight: 800; font-size: 14px; }
.qz-vdots { display: inline-flex; gap: 5px; }
.qz-vdots i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; background: #dcecff; color: #35507f; }
.qz-vdots i.on { background: #2c5fd0; color: #fff; }
.qz-vdots i.done { background: #3cb043; color: #fff; }
.qz-replay { padding: 7px 14px; font-size: 14px; }

/* ===== Banner Hitung Mundur 5 Detik Buka Kunci Sublevel ===== */
#autopull { position: fixed; bottom: 22px; left: 0; right: 0; z-index: 35; display: flex; justify-content: center; padding: 0 14px; pointer-events: none; transition: opacity .25s, transform .25s; }
#autopull.out { opacity: 0; transform: translateY(24px); }
.ap-card { pointer-events: auto; width: min(430px, 94vw); background: linear-gradient(#f7fbff, #dcecff); border: 5px solid #2c5fd0; border-radius: 24px; padding: 16px 20px 18px; text-align: center; box-shadow: 0 16px 40px rgba(8,25,60,.45); animation: pop .3s cubic-bezier(.2,1.3,.3,1); }
.ap-badge { display: inline-block; background: linear-gradient(#ffcf4a, #f5a623); color: #5a3500; padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; box-shadow: 0 2px 0 #c27b0b; }
.ap-card h3 { margin: 8px 0 4px; color: #1b3f9a; font-size: 22px; }
.ap-card p { margin: 0 0 10px; color: #35507f; font-size: 14px; font-weight: 600; }
.ap-timer { position: relative; width: 64px; height: 64px; margin: 0 auto 12px; display: grid; place-items: center; }
.ap-timer svg { position: absolute; inset: 0; width: 64px; height: 64px; transform: rotate(-90deg); }
.ap-track { fill: #fff; stroke: #c9d8f3; stroke-width: 6; }
.ap-ring { fill: none; stroke: #2c5fd0; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 170; stroke-dashoffset: 0; animation: apCount 5s linear forwards; }
@keyframes apCount { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 170; } }
#ap-num { position: relative; font-size: 26px; font-weight: 800; color: #1b3f9a; }
.ap-actions { display: flex; justify-content: center; gap: 10px; }
.ap-actions .btn { padding: 9px 18px; font-size: 14px; }