/* Classic football camera / controls. Scoped to the penalties page. */
body.hgp-penalties{background:#356a39!important;color:white}body.hgp-penalties #game{inset:0!important;z-index:0}body.hgp-penalties #game canvas{width:100%!important;height:100%!important;touch-action:none}body.hgp-penalties .hud{z-index:30;inset:0!important}body.hgp-penalties .score{top:15px!important;left:50%!important;transform:translateX(-50%)!important;min-width:320px;max-width:75vw;border:1px solid #f0d48079!important;border-radius:5px!important;background:linear-gradient(90deg,#101f31ed,#193752e8,#101f31ed)!important;padding:9px 18px!important;color:#fff!important;font-family:Tahoma,Arial,sans-serif;box-shadow:0 4px 15px #0004}body.hgp-penalties #score{display:flex;align-items:center;justify-content:center;gap:12px;font-size:18px}body.hgp-penalties #homeScoreText,body.hgp-penalties #awayScoreText{font-size:23px;color:#ffdc70}body.hgp-penalties .score small{font-size:9px!important;color:#c9dfef!important;letter-spacing:1px;margin:3px 0}.shotDots{gap:4px!important;margin-top:4px!important}.shotDots i{width:8px!important;height:8px!important}.shotDots i.goal{background:#ddf38e!important}.shotDots i.miss{background:#f47c75!important}body.hgp-penalties #miniHud{top:20px!important;right:14px!important;border:0!important;background:#10283dc7!important;line-height:1.8!important;border-radius:5px!important;z-index:31;font-size:10px!important;padding:8px 12px!important;color:#fff!important}body.hgp-penalties .power{left:24px!important;top:auto!important;bottom:160px!important;width:23px!important;height:135px!important;border-width:1px!important;border-radius:5px!important;padding:3px!important;background:#132c44dd!important}.power .track{border-radius:2px!important}.power:after{content:'القوة';position:absolute;bottom:-23px;left:-5px;color:#f5f1d2;font-size:10px;white-space:nowrap}.power #mask{background:#12283cdb!important}body.hgp-penalties .joy{left:23px!important;bottom:25px!important;width:104px!important;height:104px!important;background:#102c4d72!important;border:1px solid #ffffff9c!important;box-shadow:inset 0 0 20px #ffffff14;border-radius:50%!important}body.hgp-penalties .joyKnob{width:48px!important;height:48px!important;left:26px!important;top:26px!important;background:#ffffff80!important;border:1px solid white!important;box-shadow:0 2px 8px #0003}body.hgp-penalties #shoot{right:28px!important;bottom:29px!important;width:112px!important;height:67px!important;background:linear-gradient(145deg,#edcf70,#c79737)!important;color:#223026!important;border:2px solid #fff0b0!important;border-radius:50%!important;font-size:18px!important;font-weight:900!important;box-shadow:0 5px 15px #0004!important;touch-action:none}body.hgp-penalties .tools{right:25px!important;top:auto!important;bottom:120px!important;display:flex!important;gap:5px!important;flex-direction:row!important}.tool{min-width:0!important;width:48px!important;height:36px!important;padding:3px!important;border-radius:5px!important;background:#142c42a8!important;border:1px solid #ffffff40!important;color:white!important;font-size:8px!important}.tool.active{border-color:#f9dd73!important;box-shadow:0 0 0 1px #f9dd7377!important}.tip{bottom:27px!important;font-size:10px!important;max-width:40vw;text-align:center;white-space:normal!important;line-height:1.7;color:#edf4df!important;background:#142c42bd!important;padding:7px 12px!important;border-radius:4px!important}body.hgp-penalties #msg{top:31%!important;color:#ffeb98!important;font-size:46px!important;text-shadow:0 4px 0 #173e3c,0 6px 15px #0008;white-space:nowrap}body.hgp-penalties #haArcadeToolbar{z-index:50!important;top:17px!important;bottom:auto!important;left:16px!important;right:auto!important;background:#10283dbe!important;border-radius:5px!important;gap:5px!important;padding:4px!important}body.hgp-penalties #haArcadeToolbar button{font-size:10px!important;padding:6px 8px!important;min-height:28px!important;min-width:0!important;border-radius:3px!important;background:#ffffff13!important;color:#fff!important}body.hgp-penalties #haIdentityEntry{position:static!important;color:#155771!important}.menuTitle h1{color:#fff!important}.menuTitle p{color:#b9d5e6!important}.menuCard{background:#10283cf5!important;border:1px solid #b1d5e445!important}.menuField{background:#ffffff09!important}.modeBtn.active{outline-color:#ead071!important;background:#3d462d!important}.menuAction.primary{background:linear-gradient(120deg,#f3d37d,#cea344)!important;color:#1d3029!important}body.hgp-penalties #endModal .modalCard,body.hgp-penalties #tournamentModal .modalCard{background:#112b42!important;color:white!important}body.hgp-penalties #classicLabel{position:fixed;bottom:9px;left:50%;transform:translateX(-50%);z-index:24;pointer-events:none;font:800 8px/1 Arial;color:#d6e3cd9c;letter-spacing:3px}#game[data-stage=run-up]~.hud #shoot,#game[data-stage=ball-flight]~.hud #shoot{opacity:.5!important}@media(max-width:700px){body.hgp-penalties .score{top:10px!important;min-width:225px;padding:7px 9px!important;max-width:75vw}body.hgp-penalties #score{gap:7px;font-size:12px}body.hgp-penalties #homeScoreText,body.hgp-penalties #awayScoreText{font-size:18px}body.hgp-penalties #miniHud{top:95px!important;right:9px!important;font-size:8px!important;padding:6px 9px!important}.score small{font-size:7px!important}body.hgp-penalties #haArcadeToolbar{top:7px!important;left:5px!important;flex-direction:column!important;max-width:60px!important}body.hgp-penalties #haArcadeToolbar button{font-size:8px!important;padding:4px!important;min-height:20px!important}body.hgp-penalties .joy{width:88px!important;height:88px!important;left:12px!important;bottom:25px!important}body.hgp-penalties .joyKnob{width:40px!important;height:40px!important;left:22px!important;top:22px!important}body.hgp-penalties #shoot{right:12px!important;bottom:32px!important;width:90px!important;height:60px!important;font-size:15px!important}body.hgp-penalties .tools{right:12px!important;bottom:113px!important}.tool{width:36px!important;height:31px!important;font-size:7px!important}body.hgp-penalties .power{left:15px!important;bottom:145px!important;height:110px!important;width:20px!important}.tip{bottom:25px!important;max-width:39vw!important;font-size:8px!important;padding:4px 6px!important}body.hgp-penalties #msg{font-size:36px!important}}@media(max-height:530px)and(min-width:600px){body.hgp-penalties #miniHud{top:12px!important;right:12px!important}.tip{bottom:12px!important}body.hgp-penalties .joy{bottom:14px!important;width:86px!important;height:86px!important}.joyKnob{width:40px!important;height:40px!important;left:21px!important;top:21px!important}body.hgp-penalties .power{bottom:115px!important;height:95px!important}body.hgp-penalties .tools{bottom:103px!important}body.hgp-penalties #shoot{bottom:18px!important;height:57px!important;width:96px!important}}

/* Standard ball only. */
body.hgp-penalties .tools{display:none!important}

/* Shot results remain readable on phone and desktop. */
body.hgp-penalties .shotDots{gap:7px!important;min-height:14px}body.hgp-penalties .shotDots i{width:11px!important;height:11px!important;border:1px solid #ffffff80!important}body.hgp-penalties .shotDots i.goal{background:#18d45e!important;box-shadow:0 0 6px #16e56780!important}body.hgp-penalties .shotDots i.miss{background:#f33e4c!important;box-shadow:0 0 6px #ff314e80!important}body.hgp-penalties .shotDots i.current{background:#ffffff40!important;box-shadow:0 0 0 2px #ffdb60!important}

/* Target projected from the exact aim point, independent of the 3D renderer. */
#aimReticle{position:fixed;top:0;left:0;width:42px;height:42px;pointer-events:none;color:#ffdc49;z-index:2;filter:drop-shadow(0 1px 3px #0008)}
#aimReticle svg{width:100%;height:100%;display:block}
#aimReticle[data-wide="true"]{color:#ff7167}
#shotOptions{position:absolute;right:14px;bottom:103px;z-index:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:145px;padding:5px;background:#101e29ed;border:1px solid #ffffff60;border-radius:11px;pointer-events:auto;direction:rtl}
#shotOptions button{min-height:34px;padding:4px;border:1px solid #ffffff50;border-radius:7px;background:#203b4f;color:white;font:700 12px system-ui;cursor:pointer;touch-action:manipulation}
#shotOptions button[aria-pressed="true"]{color:#15261f;background:#ffdf68;border-color:white}
#shotFeint{grid-column:1/-1}
#shotOptions[hidden],#aimReticle[hidden]{display:none!important}
@media(max-width:650px){#shotOptions{right:8px;bottom:101px;width:133px}#aimReticle{width:38px;height:38px}}
@media(max-height:450px) and (orientation:landscape){#shotOptions{bottom:82px}}
body.hgp-penalties #joy{border:3px solid #ffdf68!important;background:#142b37c7!important;box-shadow:0 0 0 2px #15251c,0 4px 14px #0008!important}
body.hgp-penalties #joyKnob{background:#ffe17a!important;border:2px solid #fff8d7!important}
