/* The neon big top: an immersive scene shared by the page and the arcade. */
:root{--bg:#241050;--panel:#341254;--muted:#e0d4f1;--cream:#fff6fc;--line:#efb7ff45;--pink:#ff56c6;--cyan:#68f8ff}body{background:#301260}.circus-world{position:fixed;inset:0;z-index:-2;background:linear-gradient(90deg,#33165c80,#61208020 50%,#25187355),url('assets/circus-world.webp') center/cover no-repeat;pointer-events:none}.circus-world:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#51177722,#48187966 65%,#34165c88)}.noise{opacity:.016}.nav{background:#421763c9;border-bottom:1px solid #ff91db66;backdrop-filter:blur(22px)}.nav nav a{text-shadow:0 1px 8px #24104b}.hero{background:linear-gradient(90deg,#321054c7 0%,#36145177 35%,transparent 70%);max-width:none;padding-left:max(6%,calc((100vw - 1350px)/2));padding-right:max(6%,calc((100vw - 1350px)/2));gap:6%;overflow:hidden}.hero-orbit{background:radial-gradient(ellipse at 75% 45%,#fa3ade33,transparent 60%)}.hero h1{text-shadow:0 3px 40px #53145280}.hero h1 em{color:#ff9ae7;text-shadow:0 0 35px #ff35c155}.outline{-webkit-text-stroke:1.4px #9efaff;filter:drop-shadow(0 0 9px #52e7ef66)}.hero-copy>p{color:#f1e1fb;text-shadow:0 2px 6px #231242}.eyebrow{color:#b6fdff}.arch{box-shadow:0 0 0 8px #51205aaa,0 0 0 10px #ff91dc,0 0 24px #ff3bdc80,0 0 95px #ed3ae855;border:2px solid #ffa2e6}.stage-top,.hero-foot{color:#f2ceff}.stage-bottom{color:#9bfaff}.stage-stamp{background:#84faff;border-color:#bcfdff;box-shadow:0 0 0 5px #522374,0 0 0 6px #98fcff,0 0 35px #51e8ff80}.button.primary{background:linear-gradient(125deg,#ff8ddb,#ff43b8);border-color:#ffc2ed;box-shadow:0 0 20px #ff33c342,inset 0 1px 0 #ffdbf5;transition:transform .2s,box-shadow .2s}.button.primary:hover{box-shadow:0 0 35px #ff55d988,0 8px 28px #32134c80;transform:translateY(-3px) scale(1.025)}.button.ghost{background:#34165399;border-color:#9df3ff80}.marquee{background:linear-gradient(90deg,#74f3ff,#ec91ff,#ff84d0);box-shadow:0 0 35px #ff47d655;color:#36114d}.section-heading>p{color:#f1dffb}.section{position:relative}.play.section{max-width:1510px;padding-top:100px}.play .section-heading{align-items:center}.play h2 em{color:#9afaff;text-shadow:0 0 35px #4dfbff50}.play .section-heading h2{font-size:clamp(46px,6.4vw,92px)}.arcade-shell{border:2px solid #ffa5ed;border-radius:28px;box-shadow:0 0 0 7px #4f206877,0 0 0 9px #67edff70,0 0 85px #ff3bee40;overflow:hidden;background:#381758}.arcade-marquee{display:flex;align-items:center;justify-content:center;gap:25px;min-height:69px;background:linear-gradient(180deg,#862765,#57206d);border-bottom:2px solid #ff92e4;position:relative}.arcade-marquee:before,.arcade-marquee:after{content:'';position:absolute;left:15px;right:15px;height:5px;background:radial-gradient(circle,#ffefb7 2px,transparent 3px) 0 0/19px 5px;filter:drop-shadow(0 0 4px #ffb973)}.arcade-marquee:before{top:7px}.arcade-marquee:after{bottom:7px}.arcade-marquee strong{font:700 clamp(16px,2vw,25px) var(--display);letter-spacing:6px;text-shadow:0 0 12px #ffc5e2}.arcade-marquee>span{color:#6ffaff;text-shadow:0 0 20px #0ff;font-size:26px}.arcade-hud{display:flex;justify-content:space-between;align-items:center;padding:15px 34px;background:linear-gradient(90deg,#30165ded,#642568dd,#30165ded);border-bottom:1px solid #dea6ff50;position:relative;z-index:6}.hud-score,.hud-combo{min-width:160px;display:flex;flex-direction:column}.hud-combo{text-align:right}.arcade-hud span{font:11px var(--display);letter-spacing:2px;color:#efd3ff}.arcade-hud strong{font:700 39px/1.25 var(--display);letter-spacing:2px;color:#fff;text-shadow:0 0 17px #ff79de55}.hud-combo strong{color:#8dffff}.hud-time{position:relative;width:66px;height:66px;display:grid;place-items:center}.hud-time svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}.hud-time circle{fill:none;stroke:#ffffff25;stroke-width:3}.hud-time circle+circle{stroke:#82faff;stroke-dasharray:183;stroke-dashoffset:0;stroke-linecap:round;transition:stroke-dashoffset .1s linear}.hud-time strong{font-size:26px;letter-spacing:0}.arcade-stage{height:640px;min-height:0;border-radius:0;border:0;background:url('assets/circus-world.webp') center 65%/cover;isolation:isolate;touch-action:pan-y}.ring-floor{position:absolute;bottom:-95px;left:5%;right:5%;height:290px;border:3px solid #7bffff;box-shadow:0 0 14px #1effff,inset 0 0 18px #1effff;background:#7523a342;border-radius:50%;transform:perspective(400px) rotateX(35deg);pointer-events:none}.performer{position:absolute;inset:0 15%;pointer-events:none;transform-origin:center 75%;transition:filter .2s;mask-image:linear-gradient(90deg,transparent,black 18%,black 82%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,black 18%,black 82%,transparent)}.arcade-stage .reaction{object-fit:contain;object-position:center top;position:absolute;width:100%;height:100%;transform:scale(1.04);filter:saturate(1.15);transition:filter .2s}.arena-atmosphere{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#351156dd 0%,transparent 24%,transparent 84%,#42235f40);z-index:1}.stage-badge{position:absolute;left:30px;top:28px;z-index:3;pointer-events:none;display:flex;flex-direction:column}.stage-badge span{font:10px var(--display);letter-spacing:1.3px;color:#beffff}.stage-badge strong{font:italic 800 42px var(--serif);text-shadow:0 0 15px #ed5fe1}.live-rank{position:absolute;right:25px;top:28px;text-align:right;z-index:3;pointer-events:none}.live-rank span{display:block;font:9px var(--display);letter-spacing:1.4px;color:#bdffff}.live-rank strong{font:700 18px var(--display);color:#fff0fc}.arcade-stage .speech{bottom:59px;font-size:30px;z-index:4;pointer-events:none;text-shadow:0 0 20px #25113b,0 3px 7px #25113b;background:none}.arcade-stage .stage-instruction{z-index:4;bottom:28px;font-size:11px;letter-spacing:1.2px;color:#bdffff;pointer-events:none}.arcade-stage .balloon{left:73%;top:65%;width:145px;height:200px;font-size:0;transform:translate(-50%,-40%) rotate(-12deg);filter:drop-shadow(0 0 22px #74faff80);transition:filter .2s;z-index:5;will-change:transform,left,top}.balloon img{width:100%;height:100%;object-fit:contain;user-select:none;pointer-events:none}.arcade-stage .balloon-control{z-index:6;border-radius:0;touch-action:none}.arcade-stage .balloon-control:focus-visible{outline:3px solid #a9ffff;outline-offset:-8px}.tickle-target{position:absolute;left:41%;top:37%;width:76px;height:76px;border:2px solid #a7ffff;border-radius:50%;box-shadow:0 0 0 9px #42eaff22,0 0 30px #58f9ff88,inset 0 0 18px #78fdff44;transform:translate(-50%,-50%);display:grid;place-items:center;color:#c1ffff;background:#2dd5ff12;pointer-events:none;z-index:4;transition:left .45s,top .45s,border-color .2s;animation:target-breathe 1.5s ease-in-out infinite}.tickle-target:before{content:'';position:absolute;inset:9px;border:1px dashed #abffff99;border-radius:50%;animation:target-spin 12s linear infinite}.tickle-target span{font-size:26px;filter:drop-shadow(0 0 6px #2ff)}.tickle-target small{position:absolute;top:88px;font:9px var(--display);letter-spacing:1px;white-space:nowrap;background:#391650b0;border-radius:20px;padding:4px 10px}.tickle-target.hit{border-color:#fff;background:#ff81d566;box-shadow:0 0 40px #ff66d7}.tickle-target.hit small{color:#fff}.game-overlay{position:absolute;inset:0;z-index:9;display:flex;align-items:center;justify-content:flex-start;padding:6%;background:linear-gradient(90deg,#321253ee 0%,#532067ce 36%,transparent 76%);transition:opacity .35s,visibility .35s}.game-overlay.hidden{opacity:0;visibility:hidden;pointer-events:none}.entry-ticket{width:320px;text-align:left}.entry-ticket>span{font:11px var(--display);letter-spacing:2px;color:#adffff}.entry-ticket h3{font:800 66px/1.02 var(--serif);letter-spacing:-2px;margin:22px 0;color:#fff}.entry-ticket h3 em{color:#91ffff;text-shadow:0 0 30px #10f2ff44}.entry-ticket>p{font-size:16px;max-width:290px;color:#f2dff9;margin:22px 0 26px}.entry-ticket>small{display:block;font-size:10px;line-height:1.6;margin-top:16px;color:#dfbbea;max-width:250px}.arena-pause{position:absolute;bottom:24px;right:22px;z-index:10;background:#471868ab;border:1px solid #b6ffff80;border-radius:50%;width:38px;height:38px;font-size:15px}.arcade-console{display:flex;align-items:center;gap:26px;background:linear-gradient(110deg,#4e1f6f,#371b67);padding:27px 30px;border-top:1px solid #f0a4fa88;position:relative;z-index:7}.console-meter{flex:1;min-width:140px}.console-meter .meter-label{margin:0;color:#ecdaf8;font-size:10px;letter-spacing:1px}.console-meter .meter-label span{color:#96ffff;font-size:10px;letter-spacing:0}.console-meter progress{height:11px;margin:10px 0 0;border:1px solid #a662c970;background:#211244;box-shadow:0 0 15px #af23c526}.console-meter progress::-webkit-progress-bar{background:#291545}.console-meter progress::-webkit-progress-value{background:linear-gradient(90deg,#56ecff,#f36de5);box-shadow:0 0 10px #91faff}.console-stat{display:flex;flex-direction:column;text-align:center;min-width:70px}.console-stat strong{font:700 27px var(--display);color:#fff}.console-stat span{font:8px var(--display);letter-spacing:1px;color:#e4c2ee;white-space:nowrap}.arcade-console .button{min-height:48px;padding:10px 20px;gap:12px}.reset-control{font-size:27px;background:transparent;border:1px solid #dd99e75e;border-radius:50%;width:42px;height:42px;line-height:1}.arcade-caption{display:flex;justify-content:space-between;gap:20px;padding:13px 30px;background:#321451;color:#ddb9ef;font:9px var(--display);letter-spacing:1.2px}#game-fx{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:5}.arcade-stage.giggling .reaction{animation:stage-giggle .22s ease-in-out 6;filter:saturate(1.3) brightness(1.12)}.arcade-stage.giggling .arena-atmosphere{background:radial-gradient(ellipse,#ff6ce52b,transparent 75%),linear-gradient(0deg,#46145599,transparent 30%)}.show{background:#4c176455;border-top:1px solid #ffadf044;border-bottom:1px solid #ffadf044;backdrop-filter:blur(7px)}.show-card{border:1px solid #ff9dea99;box-shadow:0 8px 36px #2d0b5370;transition:transform .35s,box-shadow .35s}.show-card:hover{transform:translateY(-7px);box-shadow:0 15px 40px #c83fac55}.show-card:after{background:linear-gradient(0deg,#43105ce8,transparent 70%)}.play-icon{background:#ad3396a8;border-color:#eaffff;box-shadow:0 0 20px #ff60e766}.fortune{background:radial-gradient(ellipse at 78% 50%,#a132bb66,transparent 65%);border:0}.fortune-copy>p,.fortune-result p,.fortune-note{color:#e6d3f6}.wheel{box-shadow:0 0 0 2px #ff86dc,0 0 0 18px #60256b,0 0 0 21px #ff9ee2,0 0 65px #ff55e255}.wheel-center{background:#50175f;box-shadow:0 0 30px #e650e777}.wheel-caption{color:#e5bff5}.fortune-result{border-left-color:#8bfbff;background:#48206888;padding:20px;border-radius:0 15px 15px 0}.finale{background:linear-gradient(180deg,#65237044,#411c65dd);border-color:#e697e95c}.finale>p{color:#eddef9}.contract{background:#4c226bba;border-color:#ce92e9}.contract>span,footer p,footer>span{color:#e4c7f3}footer{background:#361a59db}.toast{box-shadow:0 0 30px #ff53d080}dialog{background:#3b1c61;border-color:#b077cf}dialog::backdrop{background:#240e44d9}@keyframes target-breathe{50%{box-shadow:0 0 0 15px #42eaff08,0 0 35px #58f9ff99,inset 0 0 18px #78fdff44}}@keyframes target-spin{to{transform:rotate(360deg)}}@keyframes stage-giggle{50%{transform:scale(1.065) rotate(.65deg)}}
@media(max-width:1000px){.arcade-hud{padding:14px 25px}.arcade-stage{height:600px}.arcade-console{gap:18px;padding:22px}.console-stat{min-width:54px}.arcade-console .button{padding:10px 15px}.arcade-stage .speech{font-size:27px}.stage-badge strong{font-size:32px}.live-rank strong{font-size:15px}.entry-ticket{width:290px}.entry-ticket h3{font-size:58px}.performer{inset:0 8%}.arcade-stage .balloon{width:130px;height:180px}}
@media(max-width:720px){.hero{background:linear-gradient(90deg,#3b145c9c,transparent)}.arcade-shell{border-radius:18px;box-shadow:0 0 0 4px #49236d,0 0 0 5px #84f9ff77,0 0 40px #fc54e944}.arcade-hud{padding:10px 20px}.hud-score,.hud-combo{min-width:85px}.arcade-hud strong{font-size:30px}.arcade-hud span{font-size:9px}.hud-time{width:56px;height:56px}.hud-time strong{font-size:23px}.arcade-stage{height:570px;min-height:0}.stage-badge{left:18px;top:19px}.stage-badge span{font-size:8px}.stage-badge strong{font-size:27px}.live-rank{top:20px;right:18px}.live-rank span{font-size:7px}.live-rank strong{font-size:13px}.arcade-stage .speech{font-size:24px;bottom:60px}.arcade-stage .stage-instruction{font-size:9px;left:20px;right:55px;text-align:left;bottom:24px}.game-overlay{padding:30px;background:linear-gradient(90deg,#411665e8,#62256798 55%,transparent)}.entry-ticket{width:260px}.entry-ticket h3{font-size:54px}.entry-ticket>p{font-size:14px;max-width:240px}.arcade-console{flex-wrap:wrap;gap:18px;padding:20px}.console-meter{flex-basis:100%;order:0}.console-stat{flex:1}.console-stat strong{font-size:25px}.console-stat span{font-size:8px}.arcade-console .button{font-size:13px;padding:10px 16px}.reset-control{width:35px;height:35px;font-size:25px}.arcade-caption{font-size:8px;padding:14px 20px;line-height:1.5}.arcade-caption span:last-child{text-align:right}.tickle-target{width:62px;height:62px}.tickle-target small{top:74px;font-size:8px}.arcade-stage .balloon{width:118px;height:155px}.arcade-marquee{min-height:57px;gap:16px}.arcade-marquee strong{font-size:16px;letter-spacing:3px}.arcade-marquee>span{font-size:21px}.performer{inset:0 -12%}.arcade-stage .reaction{object-fit:contain}.play.section{padding-top:70px}.circus-world{background-position:center;background-attachment:scroll}}
@media(max-width:420px){.arcade-stage{height:510px}.arcade-marquee strong{font-size:13px;letter-spacing:2px}.arcade-console{gap:12px;padding:17px}.console-stat strong{font-size:22px}.arcade-console .button{padding:10px 12px}.arcade-stage .balloon{width:105px;height:145px}.game-overlay{padding:24px}.entry-ticket h3{font-size:50px}.entry-ticket>span{font-size:9px}.entry-ticket>p{max-width:225px}.arcade-stage .speech{font-size:21px}.performer{inset:0 -15%}.live-rank span{max-width:90px;margin-left:auto;font-size:7px}.live-rank strong{font-size:12px}.stage-badge strong{font-size:23px}.arcade-caption{font-size:7px}}
@media(prefers-reduced-motion:reduce){.tickle-target,.tickle-target:before,.arcade-stage.giggling .reaction{animation:none!important}.arcade-stage .reaction{transform:none}.circus-world{background-attachment:scroll}}
/* Keep game instructions and scores readable on small screens. */
.arcade-hud span,.console-meter .meter-label,.console-meter .meter-label span,.console-stat span,.arcade-caption,.stage-badge span,.live-rank span,.tickle-target small,.arcade-stage .stage-instruction,.entry-ticket>small{font-size:12px;line-height:1.4;letter-spacing:.6px}.console-stat span{white-space:normal}.live-rank{max-width:190px}.arcade-caption{flex-wrap:wrap}.arcade-stage .stage-instruction{max-width:75%;margin:auto;text-align:center}.stage-badge span{max-width:155px}.console-meter{min-width:190px}
@media(max-width:720px){.stage-badge span,.live-rank span{display:none}.arcade-caption span{flex-basis:100%;text-align:center!important}.entry-ticket>small{max-width:270px}.arcade-stage .stage-instruction{bottom:18px;font-size:12px}.arcade-stage .speech{bottom:66px}.console-stat span{font-size:10px;letter-spacing:0}.arcade-marquee strong{font-size:15px}.arcade-hud span{font-size:12px}.live-rank strong{font-size:14px}.stage-badge strong{font-size:27px}}
@media(max-width:420px){.nav{padding-left:4%;padding-right:4%}.brand{width:110px}.nav-actions{gap:3px}.nav-actions .small{font-size:11px;padding:9px 10px}.arcade-console .button{gap:6px}.console-stat span{font-size:10px}.tickle-target small{font-size:11px}.live-rank{max-width:125px}.stage-badge{left:14px}.live-rank{right:14px}.arcade-stage .speech{font-size:21px}}
