
/* VFBW ARCADE 3D – shared scene language, optimized for Android WebView. */
.arcade-shell,.worlds-arcade,.worlds-arena{--arcade-panel:#0c2137;--arcade-edge:#77cce8}
.arcade3d-scene{--scene-glow:#1a76c3;--scene-glint:#87ffe0;position:relative;isolation:isolate;overflow:hidden;height:144px;min-width:0;border-radius:15px;background:radial-gradient(ellipse at 50% -40%,var(--scene-glow),transparent 75%),linear-gradient(165deg,#213f5a 5%,#091a2b 85%);border:1px solid #c5ecff38;box-shadow:inset 0 12px 30px #ffffff0a,0 8px 20px #010c1899;perspective:460px;contain:layout paint}
.arcade3d-stands{position:absolute;inset:8% 7% 30%;background:repeating-linear-gradient(90deg,#1b3950 0 5%,#2b4e66 5% 5.9%,#112a41 5.9% 8.6%);opacity:.66;mask-image:linear-gradient(#000 30%,transparent)}
.arcade3d-stands:after{content:'';position:absolute;inset:25% 0 0;background:repeating-linear-gradient(90deg,transparent 0 5px,#abdded33 5px 7px),repeating-linear-gradient(0deg,transparent 0 13px,#ffffff13 13px 17px)}
.arcade3d-spotlights{position:absolute;inset:0;background:linear-gradient(110deg,transparent 10%,#a5f1ff21 25%,transparent 35%,#ccefff18 64%,transparent 76%);pointer-events:none}
.arcade3d-court{position:absolute;inset:30% 15% 9%;transform:rotateX(55deg) scale(1.12);transform-origin:center 45%;border:4px solid #fff6db;border-radius:2px;background:linear-gradient(90deg,#176887 0 47%,#227c9b 47% 53%,#176887 53% 100%);box-shadow:0 16px 0 #986139,0 25px 38px #06101c,0 0 0 13px #bb8e5d}
.arcade3d-court:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,transparent calc(33.33% - 1px),#e5ebeb calc(33.33% - 1px),#e5ebeb calc(33.33% + 1px),transparent calc(33.33% + 1px),transparent calc(66.67% - 1px),#e5ebeb calc(66.67% - 1px),#e5ebeb calc(66.67% + 1px),transparent calc(66.67% + 1px)),linear-gradient(90deg,transparent 49.6%,#e5ebeb 49.6% 50.4%,transparent 50.4%);opacity:.8}
.arcade3d-net{position:absolute;width:69%;left:15.5%;height:48px;top:39%;border-top:4px solid #f3f8f6;border-left:3px solid #e4f7ef;border-right:3px solid #e4f7ef;transform:rotateX(-12deg);background:repeating-linear-gradient(90deg,transparent 0 11px,#f5f9fd8a 11px 12px),repeating-linear-gradient(0deg,transparent 0 9px,#f5f9fd8a 9px 10px);box-shadow:0 8px 15px #0010196b}
.arcade3d-player{position:absolute;width:15px;height:20px;border-radius:7px 7px 4px 4px;background:linear-gradient(125deg,#e9f4fc,#2163ae 32%,#0a2550);box-shadow:2px 8px 3px #0006;transform:rotateX(-50deg);border:1px solid #def3ff60}
.arcade3d-player:before{content:'';position:absolute;width:10px;height:10px;border-radius:50%;background:#d6a17d;top:-9px;left:2px}
.arcade3d-away{background:linear-gradient(125deg,#ffd7b0,#c25b59 35%,#63233d)}
.arcade3d-ball{position:absolute;z-index:3;top:43%;left:52%;width:16px;height:16px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#ffffef 0 23%,#f7db85 40%,#2962a9 62%,#fef3d6 80%);box-shadow:0 7px 5px #0005;animation:arcade3d-ball 3s ease-in-out infinite alternate}
.arcade3d-badge{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#091f34ca;font-size:16px;border:1px solid var(--scene-glint);box-shadow:0 0 12px #ffffff1d}
.arcade3d-small{height:74px;margin:4px 0 8px}.arcade3d-small .arcade3d-net{height:25px}.arcade3d-small .arcade3d-player{transform:scale(.7) rotateX(-50deg)}
.arcade-card{position:relative!important;overflow:hidden;box-shadow:0 14px 27px #0004, inset 0 1px #ffffff18!important;background:linear-gradient(145deg,#1a3953,#0a1b2d)!important;border-color:#8ccef744!important;transition:transform .2s,border-color .2s;}
.arcade-card:hover{transform:translateY(-2px);border-color:#9deeeaaa!important}.arcade-card .arcade3d-scene{grid-column:1/-1;margin:-8px -8px 6px!important}
.arcade-card .arcade-game-icon{display:none!important}.arcade-card .arcade-kicker{letter-spacing:.11em}.arcade-card h3{font-weight:850;color:#fff}.arcade-card .primary,.worlds-play .worlds-primary{border-radius:12px!important;box-shadow:0 4px 0 #073046,0 9px 18px #00102080;transition:transform .15s}
.arcade-card .primary:active,.worlds-play .worlds-primary:active{transform:translateY(2px);box-shadow:0 2px 0 #073046}
.arcade-hero{background:radial-gradient(ellipse at 75% 15%,#3e77b54f,transparent 58%),linear-gradient(140deg,#193d58,#0c1e33 68%)!important;box-shadow:0 14px 35px #020c1866}.arcade-hero:after{content:'VOLLEY';font-size:clamp(50px,10vw,135px);font-weight:1000;color:#b2edff10;transform:rotate(-12deg);bottom:-30px;right:-20px}
.arcade-intro,.arcade-result,.arcade-week{background:linear-gradient(140deg,#17374e,#0b1e31)!important;box-shadow:0 16px 35px #010c1b55,inset 0 1px #ffffff12}
.arcade-stage .arcade3d-scene{height:92px}.arcade-stage .arcade3d-net{height:30px}
.arcade-quiz-arena{border-radius:14px;background:linear-gradient(145deg,#233b61,#111e37);box-shadow:inset 0 0 20px #010914b0;padding:0 0 16px;overflow:hidden}.arcade-quiz-arena>.arcade3d-scene{height:85px;margin-bottom:16px}.arcade-quiz-arena .arcade-question{padding:0 18px}.arcade-quiz-arena .arcade-answers{padding:0 16px}
.arcade-setter-court,.arcade-rotation-court,.arcade-matchball-scene,.worlds-tactics-court{position:relative;box-shadow:inset 0 0 18px #ffffff0e,0 12px 30px #0006!important;border-radius:14px!important}
.arcade-setter-court{background:linear-gradient(170deg,#143b50,#176a82 56%,#0c3952)!important;border-color:#ffedd1!important;transform-style:preserve-3d}
.arcade-block-wall,.arcade-attacker{box-shadow:0 4px 0 #051726,0 7px 15px #0005}.arcade-rotation-court{background:linear-gradient(150deg,#247b98,#15506d)!important;border-color:#f4eac9!important;transform:perspective(800px) rotateX(7deg);transform-origin:center}.arcade-rotation-slot{border-radius:15px!important;background:linear-gradient(155deg,#245c81,#0c2744)!important;box-shadow:0 7px 0 #071c31,0 12px 17px #0005}.arcade-rotation-slot.is-selected{background:linear-gradient(155deg,#ac7b49,#5b3528)!important}
.arcade-rotation-slot:before{content:'';width:24px;height:24px;border-radius:50%;background:radial-gradient(circle at 30% 22%,#dfb28c,#9b593a);box-shadow:0 7px 0 7px #277bc3,0 12px 9px #0006}
.arcade-matchball-scene{min-height:110px;background:radial-gradient(circle at 70% 20%,#dcb06e33,transparent 55%),linear-gradient(125deg,#3d435c,#112b41)!important;isolation:isolate}
.arcade-matchball-scene:before{content:'';position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(90deg,transparent 0 39px,#ffffff11 40px 42px);opacity:.45}
.arcade-matchball-symbol{filter:drop-shadow(0 5px 8px #02081699);animation:arcade3d-ball 2.4s ease-in-out infinite alternate}
.worlds-play{background:radial-gradient(ellipse at 70% 0%,#3d85bd33,transparent 58%),linear-gradient(145deg,#183a55,#091a2d)!important;box-shadow:0 20px 55px #0009,inset 0 1px #ffffff24!important}
.worlds-arena .worlds-game-kicker{color:#9cebe9;font-weight:850;letter-spacing:.11em!important}.worlds-arena .worlds-play h2{font-weight:900}
.worlds-tactics-court{height:106px!important;background:linear-gradient(110deg,#145775,#227d99) !important;transform:perspective(350px) rotateX(23deg)!important;box-shadow:0 14px 0 #94653f,0 22px 26px #0006!important}
.worlds-court-player{width:29px!important;height:34px!important;background:linear-gradient(125deg,#acdafa,#2684d0,#0a2f57)!important;box-shadow:3px 7px 0 #092538,4px 10px 10px #0007!important;transition:transform .2s ease}
.worlds-court-player:before{content:'';width:13px;height:13px;background:radial-gradient(circle at 30% 30%,#ffcc9d,#b47b51);border-radius:50%;position:absolute;top:-11px}
.worlds-court-player:nth-child(odd){animation:arcade3d-player 2.7s ease-in-out infinite alternate}
.worlds-lights{box-shadow:0 14px 0 #172b3b,0 24px 33px #000b,inset 0 1px #e0f6ff55!important;transform:perspective(700px) rotateX(7deg)}.worlds-lights .worlds-btn{box-shadow:0 5px 0 #0a1826,inset 0 1px 6px #ffffff5c!important;transition:transform .12s ease}.worlds-lights .worlds-btn:active{transform:translateY(4px)}
.worlds-game-whoami .worlds-heading{padding:13px;border:1px solid #bfa2ff55;background:radial-gradient(circle at 60% 20%,#6a4abd55,transparent 70%),#11233b;border-radius:14px;box-shadow:0 10px 0 #07162b}
.worlds-game-whoami .worlds-heading:before{content:'?';display:grid;place-items:center;width:44px;height:56px;border-radius:9px;background:linear-gradient(130deg,#463b79,#141c42);border:2px solid #d8b8fa;color:#fff;font:bold 30px system-ui;float:right;box-shadow:4px 7px 0 #090e1d;transform:perspective(160px) rotateY(-18deg)}
.worlds-feedback{box-shadow:inset 0 1px #bee6ff77,0 22px 48px #0009}.worlds-feedback .worlds-btn{font-size:14px!important}
@keyframes arcade3d-ball{from{transform:translate3d(-22px,-5px,0) scale(.8)}to{transform:translate3d(33px,7px,0) scale(1.07)}}
@keyframes arcade3d-player{from{transform:translateY(0)}to{transform:translateY(-3px)}}
@media(max-width:720px){.arcade-card .arcade3d-scene{height:100px}.arcade3d-small{height:58px}}
@media(prefers-reduced-motion:reduce){.arcade3d-ball,.worlds-court-player,.arcade-matchball-symbol{animation:none!important}}

/* Distinct game identities: each miniature communicates its real action. */
.arcade3d-feature{position:absolute;inset:0;pointer-events:none;display:flex;align-items:center;justify-content:center;perspective:450px;z-index:5}.arcade3d-feature-main{position:relative;display:block}
.arcade3d-feature strong{font:900 clamp(11px,2.8vw,20px) system-ui;letter-spacing:.1em;color:#edf8ff;text-shadow:0 3px 9px #0009}
.arcade3d-quiz .arcade3d-court,.arcade3d-whoami .arcade3d-court,.arcade3d-escape .arcade3d-court{opacity:.30;filter:blur(1.2px)}
.arcade3d-quiz .arcade3d-feature{display:grid;place-items:center;align-content:center;gap:5px}.arcade3d-quiz .arcade3d-feature-main{width:62%;height:53%;border-radius:9px;border:3px solid #9ad7e9;background:linear-gradient(145deg,#203e65,#131b3d);box-shadow:3px 7px 0 #070f2b,0 0 20px #b16cff60;transform:rotateY(-7deg)}.arcade3d-quiz .arcade3d-feature-main:before{content:'?';position:absolute;inset:0;display:grid;place-items:center;color:#d9eefe;font:900 39px system-ui}
.arcade3d-whoami .arcade3d-feature-main{height:67%;aspect-ratio:2/3;background:linear-gradient(140deg,#9887b3,#30345c 35%,#111d3b);border:3px solid #ffdfa9;border-radius:10px;box-shadow:7px 12px 3px #0008,inset 0 0 20px #a88bed5b;transform:rotateY(-16deg) rotateZ(-6deg)}.arcade3d-whoami .arcade3d-feature-main:before{content:'VFBW';font:900 10px system-ui;color:#ffe0a8;position:absolute;top:8px;left:8px}.arcade3d-whoami .arcade3d-feature-main:after{content:'?';position:absolute;inset:0;display:grid;place-items:center;color:#eae2ff;font:900 40px system-ui}.arcade3d-whoami .arcade3d-feature strong{display:none}
.arcade3d-escape .arcade3d-feature-main{height:84%;aspect-ratio:1.1;background:linear-gradient(140deg,#556e82,#253c56);border:5px ridge #9ed9ef;border-radius:4px;box-shadow:8px 7px 0 #071a29,inset 0 0 25px #061728;transform:rotateY(-15deg)}.arcade3d-escape .arcade3d-feature-main:before{content:'🔒';font:30px system-ui;position:absolute;inset:0;display:grid;place-items:center}.arcade3d-escape .arcade3d-feature strong{position:absolute;top:12px;font-size:9px}
.arcade3d-rush .arcade3d-net,.arcade3d-rush .arcade3d-player,.arcade3d-rush .arcade3d-ball{display:none}.arcade3d-rush .arcade3d-court{background:linear-gradient(90deg,#ac9162 0 8%,#245a79 8% 33%,#f5e8bf 33% 34%,#1e7293 34% 66%,#f5e8bf 66% 67%,#245a79 67% 92%,#ac9162 92%);transform:perspective(160px) rotateX(44deg);inset:18% 25% 2%}.arcade3d-rush .arcade3d-feature-main{width:25px;height:31px;border-radius:40% 40% 20% 20%;background:linear-gradient(135deg,#f3f5ff 0 15%,#1369aa 20% 65%,#092e5e 85%);box-shadow:0 -13px 0 -5px #d7a17c,3px 15px 7px #0009;transform:translateY(13px)}.arcade3d-rush .arcade3d-feature-main:before{content:'';display:block;background:#f7b24a;position:absolute;width:36px;height:7px;top:-29px;left:30px;transform:rotate(35deg);box-shadow:0 0 10px #ffd877}
.arcade3d-blockout .arcade3d-feature-main{width:37px;height:56px;border-radius:43% 43% 18% 18%;background:linear-gradient(100deg,#e9bd98,#b37557);box-shadow:0 0 0 4px #b47d5b55,4px 8px 8px #0007;transform:translate(55px,-12px) rotateZ(-15deg)}.arcade3d-blockout .arcade3d-feature-main:before{content:'';position:absolute;top:-24px;left:0;width:10px;height:29px;border-radius:8px;background:#c9946e;box-shadow:11px -2px #c9946e,22px 1px #c9946e,32px 7px #c9946e}
.arcade3d-line .arcade3d-court{transform:rotateX(55deg) rotateZ(-11deg);transform-origin:center}.arcade3d-line .arcade3d-feature-main{width:30px;height:45px;background:#ed4c4d;clip-path:polygon(0 0,100% 20%,0 52%);transform:translate(-105px,-22px);filter:drop-shadow(2px 2px 2px #0008)}.arcade3d-line .arcade3d-feature strong{position:absolute;left:12px;bottom:8px;font-size:10px}
.arcade3d-block .arcade3d-feature-main,.arcade3d-receive .arcade3d-feature-main,.arcade3d-serve .arcade3d-feature-main{height:40px;width:26px;border-radius:12px 12px 5px 5px;background:linear-gradient(130deg,#a1e6fc,#1169ae 65%,#0c3159);border:1px solid #c6faff8a;box-shadow:0 8px 5px #0009;transform:translateY(-3px)}
.arcade3d-block .arcade3d-feature-main:before{content:'';position:absolute;width:6px;height:41px;background:#c88d68;left:-10px;top:-23px;box-shadow:36px 0 #c88d68;border-radius:6px;transform:rotate(-9deg)}
.arcade3d-serve .arcade3d-feature-main{transform:translate(-65px,9px)}.arcade3d-serve .arcade3d-feature-main:after{content:'●';position:absolute;top:-28px;left:40px;color:#fbecb7;font-size:27px;text-shadow:0 3px 3px #0008}
.arcade3d-receive .arcade3d-feature-main{transform:translateY(14px) rotateX(21deg)}.arcade3d-receive .arcade3d-feature-main:before{content:'';position:absolute;width:44px;height:8px;border-radius:8px;background:#d49f7c;left:-9px;top:14px;transform:rotate(-13deg)}
.arcade3d-setter .arcade3d-feature-main{width:30px;height:40px;border-radius:13px 13px 7px 7px;background:linear-gradient(125deg,#64bdeb,#135582);box-shadow:0 12px 8px #0008}.arcade3d-setter .arcade3d-feature-main:before{content:'●';font-size:27px;color:#fff1bb;position:absolute;top:-39px;left:7px}
.arcade3d-rotation .arcade3d-feature-main{height:55px;width:55px;border:4px dashed #eafcfc;border-radius:50%;box-shadow:0 4px 20px #fff7;transform:rotateX(30deg)}.arcade3d-rotation .arcade3d-feature strong{position:absolute;color:#fff;font-size:27px;transform:translate(0,4px)}
.arcade3d-matchball .arcade3d-feature strong{font-size:22px;background:#081c35eb;border:1px solid #ddf5ff;padding:6px 14px;border-radius:9px;box-shadow:0 5px 12px #0007;transform:translateY(-5px)}
.arcade3d-coach .arcade3d-feature-main,.arcade3d-manager .arcade3d-feature-main{width:70px;height:45px;border-radius:7px;border:2px solid #edf5ff;background:linear-gradient(145deg,#174c63,#09243b);box-shadow:6px 9px 3px #0008;transform:translate(60px,9px) rotateY(-22deg)}.arcade3d-coach .arcade3d-feature-main:before,.arcade3d-manager .arcade3d-feature-main:before{content:'';position:absolute;inset:9px;border:2px solid #51cdeb;border-radius:3px;background:repeating-linear-gradient(90deg,transparent 0 16px,#84d9ef 16px 17px)}.arcade3d-coach .arcade3d-feature strong,.arcade3d-manager .arcade3d-feature strong{position:absolute;left:9px;bottom:7px;font-size:9px}
.arcade3d-small .arcade3d-feature-main{max-height:75%}

.arcade-quiz-arena .arcade-question{margin:0 0 10px}.arcade-quiz-arena .arcade-answers{margin:0}
.worlds-tactics-court{position:relative!important}.worlds-tactics-ball{position:absolute;left:16%;bottom:32%;height:15px;width:15px;border-radius:50%;background:radial-gradient(circle at 33% 20%,#fff,#ffcf68 64%,#245d9f 65% 82%,#fff 90%);box-shadow:0 6px 7px #0008;opacity:0;pointer-events:none}
.worlds-tactics-court.is-ball-in-flight .worlds-tactics-ball{opacity:1;animation:worlds-flight .65s cubic-bezier(.15,.5,.7,.95) both}
.worlds-tactics-court.is-ball-in-flight .worlds-court-player:nth-child(2){animation:worlds-jump .55s ease-out both}
@keyframes worlds-flight{0%{left:16%;bottom:32%;transform:scale(1)}45%{left:49%;bottom:105%;transform:scale(1.15)}100%{left:83%;bottom:38%;transform:scale(.8)}}
@keyframes worlds-jump{0%,100%{transform:translateY(0)}48%{transform:translateY(-15px)}}
@media(prefers-reduced-motion:reduce){.worlds-tactics-court.is-ball-in-flight .worlds-tactics-ball,.worlds-tactics-court.is-ball-in-flight .worlds-court-player:nth-child(2){animation:none!important;transform:none!important}}
/* Keep the modal playing surface inside short/narrow Android viewports. */
.worlds-arena .worlds-play{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0}.worlds-arena-stage{box-sizing:border-box;max-width:calc(100vw - 16px)!important}.worlds-arena .worlds-heading,.worlds-arena .worlds-choice{min-width:0}
