/* V10 - SINGLE ART: one transparent PNG containing Ghani + rope + Bilal.
   The entire illustration moves together when pulled, so no seam can form. */
#splash{background-image:url('assets/cover.jpg') !important;background-position:center 34% !important}
#splash:before{background:linear-gradient(180deg,rgba(3,15,35,.03) 2%,rgba(4,16,33,.23) 42%,rgba(4,13,31,.91) 100%) !important}
.splash-card{padding:0 14px}
.splash-card h1{font-size:clamp(38px,5.6vw,81px)}
.duel-title{display:inline-block;margin:14px auto 0;background:linear-gradient(100deg,#dd2549,#ef763c 49%,#327ffe 50%,#0d58cc);border:3px solid rgba(255,255,255,.88);border-radius:14px;padding:5px 26px;color:#fff;font-weight:1000;letter-spacing:.13em;font-size:clamp(17px,2.1vw,27px);box-shadow:0 5px 12px #0006}
.duel-title span{color:#ffed84;margin:0 18px}
#setup:before{background-image:url('assets/cover.jpg') !important}
.setup-kicker{color:#ffdb76}
.mascot-mini{background-image:url('assets/duel-ghani-bilal.png') !important;background-color:#d8eefe;background-size:contain !important;background-repeat:no-repeat !important;background-position:center center !important;width:150px;height:94px;border-radius:20px;border:4px solid #fff;box-shadow:0 5px 0 #ffc400,0 12px 20px rgba(0,0,0,.22)}
.setup-hero{grid-template-columns:165px 1fr auto}
.setup-kicker:after{content:'  •  🎵 MENULIS MEMBACA BERHITUNG';color:#9eefff;letter-spacing:.05em}
#game .score-side.left{background:linear-gradient(115deg,#7c1128,#db3358) !important}
#game .score-side.right{background:linear-gradient(245deg,#143a81,#287df5) !important}
#game .player-panel.left{background:linear-gradient(145deg,#4c1425,#852139) !important}
#game .player-panel.right{background:linear-gradient(210deg,#102951,#1c4897) !important}
#game .left .answer{background:linear-gradient(180deg,#ff6b85,#dd3055) !important}
#game .right .answer{background:linear-gradient(180deg,#65b8ff,#3477e8) !important}
#game .answer.correct{background:#ffd229 !important;color:#543c00 !important}
#game .answer.wrong{background:#ff405d !important}
#game .mini-track{background:linear-gradient(90deg,#e83557 0 48%,#fff 48% 52%,#3485f5 52%) !important}
#game .arena{background:linear-gradient(180deg,#83d3ff 0%,#d8f4ff 52%,#91dc66 53%,#47a94c 100%) !important;isolation:isolate}
/* Keep the source image as a single, unmoving-on-idle piece. Move only via JS score pull offset. */
#arena .duel-scene{position:absolute;z-index:9;bottom:0;left:50%;height:min(96%, 41vw);width:auto;aspect-ratio:2045 / 769;pointer-events:none;transform:translateX(calc(-50% + var(--pull-offset,0px)));transition:transform .48s cubic-bezier(.22,1.1,.5,1);will-change:transform;animation:none !important}
#arena .duel-art{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;user-select:none;image-rendering:auto;filter:drop-shadow(0 6px 4px rgba(16,39,52,.28));animation:none !important}
/* Decorative center marker, attached to entire original art, not a second rope. */
#arena .rope-marker{position:absolute;left:50%;top:43.7%;height:42px;width:5px;border-radius:3px;background:#763416;transform:translateX(-50%);z-index:10;box-shadow:1px 1px 3px #0006}
#arena .rope-marker:after{content:'';position:absolute;top:0;left:5px;border-top:11px solid transparent;border-bottom:11px solid transparent;border-left:35px solid #ff3650;filter:drop-shadow(0 2px 2px #0004)}
#arena .arena-player-label{position:absolute;z-index:14;top:6%;padding:4px 15px;border:2px solid white;border-radius:999px;font-weight:1000;font-size:clamp(12px,1.3vw,18px);color:#fff;box-shadow:0 4px 0 #0005,0 6px 10px #172a3f7c;white-space:nowrap}
#arena .arena-player-label.ghani-label{left:10%;background:#b42040}
#arena .arena-player-label.bilal-label{right:10%;background:#1864dc}
#arena .festival-banner{font-size:clamp(12px,1.6vw,20px);top:3% !important;z-index:15}
#game .score.score-penalty{color:#ffdadb !important;animation:negativePop .52s ease both}
@keyframes negativePop{0%,100%{transform:scale(1)}45%{transform:scale(1.3) rotate(-4deg)}}
#arena .pull-bubble.bubble-penalty{color:#fff !important;background:#df274b !important;border-color:#fff !important}
#arena .scoring-hint{position:absolute;z-index:15;left:50%;transform:translateX(-50%);bottom:8px;padding:5px 12px;background:#10244de9;border:2px solid #ffffffbd;border-radius:30px;box-shadow:0 3px 6px #0004;color:#fff;font-size:clamp(10px,.85vw,14px);font-weight:900;white-space:nowrap}
#splash .primary{display:block;margin:20px auto 0}
#splash .soundtrack-label{margin-top:15px}
@media(max-width:1200px){#game .score-side{gap:9px}#game .score-side.left .team-badge,#game .score-side.right .team-badge{transform:translateY(24px)}#game .power-pips{gap:3px}#game .power-pips i{width:10px;height:19px}#game .top-controls{top:7px;right:7px;gap:5px}#game .top-controls .icon-btn,#game .home-control{width:44px;height:44px;font-size:21px}#game .home-control{top:7px;left:7px}#arena .arena-player-label.ghani-label{left:6%}#arena .arena-player-label.bilal-label{right:6%}}
@media(max-width:950px){#arena .duel-scene{height:min(93%,45vw)}#arena .arena-player-label{font-size:11px;padding:3px 9px;top:2%}#arena .scoring-hint{bottom:5px;font-size:10px;padding:4px 9px}#game .team-badge{padding:3px 7px;gap:4px}#game .score{min-width:24px}#game .team-dot{width:28px;height:28px;font-size:14px}}
@media(max-width:650px){#arena .duel-scene{height:min(88%,47vw)}#arena .rope-marker{height:24px}#arena .rope-marker:after{border-left-width:23px;border-top-width:8px;border-bottom-width:8px}}
@media(prefers-reduced-motion:reduce){#arena .duel-scene{transition:none !important}}

/* === V11: Approved school sport festival background, no extra players or rope === */
#game #arena.arena {
  background-image: url('assets/arena-festival-ghani-bilal.png') !important;
  background-color: #67b9ec !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 100% !important;
}
/* Remove the legacy scenery that otherwise covers the approved artwork. */
#game #arena.arena::before,
#game #arena.arena::after,
#game #arena .crowd {display:none !important;}
/* The artwork already provides the white start line and each player's banner. */
#game #arena .center-line {display:none !important;}
#game #arena .arena-player-label {display:none !important;}
/* Keep distinct victory guides and all scoring indicators readable. */
#game #arena .finish-left,
#game #arena .finish-right {opacity:.7;z-index:3;border-left:3px dashed #fff;filter:drop-shadow(1px 1px 2px rgba(0,0,0,.35));}
#game #arena .duel-scene {z-index:9;}
#game #arena .festival-banner {box-shadow:0 5px 0 #b52339, 0 7px 12px rgba(13,35,38,.25);}
#game #arena .scoring-hint {background:#10244df0;}
