:root{--green:#38ff7c;--gold:#ffd34c;--orange:#ff9b2f;--red:#ff4052;--purple:#dc65ff;--ink:#020504;--panel:#07100d;--muted:#98aaa2}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;min-height:100%;background:#000;color:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
body{display:flex;justify-content:center;background:radial-gradient(circle at 50% 0,#0d281a 0,#020705 35%,#000 75%)}
button{font:inherit;color:inherit;cursor:pointer}.game-shell{width:min(100%,710px);min-height:100dvh;position:relative;background:linear-gradient(#05090a,#010403 88%);overflow:hidden}
.tg-head{height:94px;display:grid;grid-template-columns:110px 1fr 110px;align-items:center;padding:10px 24px 8px;background:linear-gradient(180deg,#11161b,#070a0d);border-bottom:1px solid rgba(255,255,255,.06);position:relative;z-index:20}.plain-btn{border:0;background:transparent;font-size:28px;text-align:left}.brand-head{text-align:center}.brand-title{font-size:27px;font-weight:800}.brand-sub{font-size:20px;color:#98a1a5;margin-top:2px}.round-menu{justify-self:end;border:2px solid #f4f4f4;background:transparent;border-radius:50%;height:43px;width:43px;font-size:19px;letter-spacing:-2px}
.hud{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;padding:14px 17px 5px;background:#050a0b;position:relative;z-index:20}.hud-box{min-height:88px;border:2px solid #12c956;border-radius:17px;background:linear-gradient(180deg,rgba(4,20,13,.98),rgba(2,6,5,.98));text-align:center;padding:7px 6px 5px;box-shadow:0 0 12px rgba(20,255,105,.34),inset 0 0 18px rgba(28,255,110,.08)}.hud-box span{display:block;font-weight:900;font-size:18px}.hud-box strong{display:block;font-weight:1000;font-size:44px;line-height:1.05;color:#effff3;text-shadow:0 0 12px rgba(79,255,136,.7);font-variant-numeric:tabular-nums}.time-box strong{color:var(--gold);text-shadow:0 0 12px rgba(255,208,53,.65)}.combo-box{border-color:#b54ccf}.combo-box strong{color:#ffad35;text-shadow:0 0 13px rgba(255,148,38,.6)}
.life-row{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:#050a0b;position:relative;z-index:20}.lives{display:flex;gap:12px}.heart{font-size:36px;filter:drop-shadow(0 2px 0 #941d25) drop-shadow(0 0 8px rgba(255,53,69,.35));transition:.18s}.heart.empty{filter:grayscale(1);opacity:.22;transform:scale(.82)}.sound-btn{width:53px;height:53px;border-radius:50%;border:2px solid #80919a;background:#10161a;font-size:28px}
.arena{height:780px;position:relative;overflow:hidden;background:#06121a;touch-action:none;border-bottom:2px solid #0e2721;isolation:isolate}.arena-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;user-select:none;z-index:0}.arena-vignette{position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(circle at 50% 42%,transparent 0 43%,rgba(0,0,0,.15) 70%,rgba(0,0,0,.48) 100%),linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.1) 60%,rgba(0,0,0,.3))}.targets{position:absolute;inset:0;z-index:7}.target{position:absolute;transform-origin:center;user-select:none;touch-action:none;filter:drop-shadow(0 10px 8px rgba(0,0,0,.42));animation:bob 1.35s ease-in-out infinite alternate}.target img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}.target.enemy{padding-top:16px}.enemy-hp{position:absolute;top:0;left:8%;right:8%;height:10px;border-radius:10px;background:#090b0b;border:2px solid rgba(255,255,255,.72);overflow:hidden;box-shadow:0 2px 6px rgba(0,0,0,.6)}.enemy-hp-fill{height:100%;width:100%;background:linear-gradient(90deg,#ff272f,#ff5963);transition:width .15s ease;box-shadow:0 0 8px rgba(255,50,60,.65)}.target.damage{animation:damage .15s ease}.target.dead{animation:dead .24s ease forwards;pointer-events:none}.target.coin{filter:drop-shadow(0 0 12px rgba(255,211,76,.8)) drop-shadow(0 8px 7px rgba(0,0,0,.4))}.target.escape{animation:escape .26s ease forwards;pointer-events:none}
@keyframes bob{from{transform:translateY(-3px) rotate(-1deg)}to{transform:translateY(4px) rotate(1deg)}}@keyframes damage{50%{transform:scale(.9);filter:brightness(1.6) drop-shadow(0 0 16px #ff3348)}}@keyframes dead{to{transform:scale(.38) rotate(14deg);opacity:0;filter:brightness(2)}}@keyframes escape{to{transform:translateY(-26px) scale(.7);opacity:0}}
.crosshair{position:absolute;left:50%;top:42%;width:54px;height:54px;transform:translate(-50%,-50%);border:3px solid #6eff91;border-radius:50%;z-index:10;pointer-events:none;opacity:.65;filter:drop-shadow(0 0 8px #29ff70);transition:opacity .12s}.crosshair:before,.crosshair:after{content:"";position:absolute;background:#6eff91}.crosshair:before{left:50%;top:-12px;width:3px;height:76px;transform:translateX(-50%)}.crosshair:after{top:50%;left:-12px;height:3px;width:76px;transform:translateY(-50%)}.crosshair i{position:absolute;inset:18px;border:3px solid #6eff91;border-radius:50%}
.player-rig{position:absolute;z-index:8;left:50%;bottom:-2px;width:310px;height:365px;transform:translateX(-50%);transform-origin:50% 92%;pointer-events:none;transition:transform .12s ease-out}.player-img{position:absolute;left:50%;bottom:0;width:295px;max-width:none;transform:translateX(-50%);transform-origin:50% 88%;filter:drop-shadow(0 14px 10px rgba(0,0,0,.45));user-select:none}.weapon{position:absolute;z-index:10;left:64%;top:28%;width:26px;height:165px;transform-origin:50% 88%;transform:rotate(0deg);transition:transform .08s ease-out}.weapon-body{position:absolute;left:5px;top:15px;width:17px;height:142px;border-radius:8px 8px 4px 4px;background:linear-gradient(90deg,#101316,#394048 42%,#101316 70%,#050607);border:2px solid #080909;box-shadow:inset 2px 0 2px rgba(255,255,255,.14),0 0 0 2px rgba(0,0,0,.45)}.weapon-body:before{content:"";position:absolute;left:2px;top:5px;width:9px;height:25px;border-radius:3px;background:#15191c;border:2px solid #050606}.gun-tip{position:absolute;left:50%;top:3px;width:4px;height:4px;transform:translate(-50%,-50%)}.muzzle{position:absolute;left:50%;top:-12px;width:12px;height:28px;transform:translateX(-50%);opacity:0;pointer-events:none}.muzzle:before,.muzzle:after{content:"";position:absolute;left:50%;top:50%;background:#fff3a0;transform:translate(-50%,-50%) rotate(45deg);box-shadow:0 0 8px #ffb319,0 0 20px #ff7a00}.muzzle:before{width:9px;height:38px}.muzzle:after{width:26px;height:7px}.muzzle.flash{animation:muzzle .09s linear}@keyframes muzzle{0%{opacity:1;transform:translateX(-50%) scale(1.35)}100%{opacity:0;transform:translateX(-50%) scale(.7)}}.player-rig.recoil{animation:recoil .1s ease}.player-rig.hit-left{transform:translateX(calc(-50% - 10px)) rotate(-2.8deg)}.player-rig.hit-right{transform:translateX(calc(-50% + 10px)) rotate(2.8deg)}@keyframes recoil{50%{filter:brightness(1.08);translate:0 5px}}
.bullet-trail{position:absolute;z-index:9;height:3px;background:linear-gradient(90deg,#fff8bd,#ffd04f 45%,rgba(255,122,0,.1));box-shadow:0 0 6px #fff,0 0 12px #ffbd35;transform-origin:0 50%;pointer-events:none;opacity:0}.bullet-trail.fire{animation:trail .1s linear}@keyframes trail{0%{opacity:1}100%{opacity:0}}
.float-layer{position:absolute;inset:0;z-index:12;pointer-events:none}.float-score{position:absolute;font-weight:1000;font-size:31px;color:#ffd345;text-shadow:0 2px 0 #6f4700,0 0 12px #ffb833;animation:float .7s ease forwards;white-space:nowrap}@keyframes float{to{transform:translateY(-48px) scale(1.07);opacity:0}}.mode-banner{position:absolute;z-index:14;left:50%;top:55%;transform:translate(-50%,-50%) scale(.85);padding:10px 18px;border-radius:15px;background:rgba(0,0,0,.72);border:2px solid #46ff85;font-weight:950;font-size:24px;opacity:0;pointer-events:none}.mode-banner.show{animation:banner .9s ease}@keyframes banner{0%{opacity:0;transform:translate(-50%,-50%) scale(.7)}20%,75%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0}}
.powerups{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:14px 18px 12px;background:#030807}.power{position:relative;min-height:105px;border-radius:18px;border:2px solid #31f97b;background:linear-gradient(180deg,#0e1e16,#041009);box-shadow:0 0 12px rgba(42,255,116,.35),inset 0 0 22px rgba(21,255,99,.06);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-weight:950}.power .power-icon{font-size:36px;line-height:1}.power span:nth-child(2){font-size:14px}.power b{position:absolute;right:-3px;top:-9px;width:31px;height:31px;border-radius:50%;background:#06100a;border:2px solid #50ff8b;display:grid;place-items:center}.power.bull{border-color:#ff8b27;box-shadow:0 0 12px rgba(255,105,25,.25)}.power.life{border-color:#f3d44f}.power.magnet{border-color:#62dbe7}.power.used{opacity:.35;filter:grayscale(.7)}
.bottom-bar{display:grid;grid-template-columns:145px 1fr 145px;gap:15px;padding:8px 20px 16px;background:#030807;align-items:center}.best-card,.leader-btn{height:92px;border:2px solid #44535b;border-radius:18px;background:#070b0d;text-align:center;display:flex;flex-direction:column;justify-content:center}.best-card span{font-size:14px;color:#c4ced0;font-weight:850}.best-card strong{font-size:24px}.best-card em{font-style:normal}.play-btn{height:92px;border-radius:22px;border:3px solid #48ff84;background:linear-gradient(180deg,#0d7d38,#075b2c);font-size:30px;font-weight:1000;box-shadow:0 0 18px rgba(55,255,126,.55),inset 0 0 18px rgba(255,255,255,.07)}.leader-btn .bars{font-size:31px;letter-spacing:2px}.leader-btn b{font-size:13px}.play-btn.big{width:100%;height:72px;font-size:24px}footer{text-align:center;color:#71817c;font-weight:800;font-size:13px;padding:0 16px 23px;background:#030807}
.overlay{position:absolute;inset:0;z-index:40;background:rgba(0,0,0,.78);backdrop-filter:blur(9px);display:none;align-items:center;justify-content:center;padding:24px}.overlay.show{display:flex}.modal{width:min(100%,520px);background:linear-gradient(180deg,rgba(9,21,16,.98),rgba(2,7,5,.98));border:2px solid #214e35;border-radius:27px;padding:28px;box-shadow:0 0 50px rgba(0,0,0,.8),0 0 30px rgba(37,255,119,.12);text-align:center}.modal h1,.modal h2{margin:7px 0 11px;font-size:36px}.modal p{color:#c5d0cc;line-height:1.45}.kicker{color:#59ff8d;font-weight:950;letter-spacing:.13em;font-size:13px}.rules{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:18px 0}.rules span{background:#08130e;border:1px solid #244a34;border-radius:999px;padding:8px 11px;font-weight:850;font-size:13px}.modal small{display:block;color:#82928b;margin-top:13px;line-height:1.4}.result-score{border:2px solid #30e574;border-radius:17px;padding:9px;margin:15px 0}.result-score span{display:block;font-weight:900}.result-score strong{font-size:54px;color:#7bff9d}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:0 0 17px}.result-grid div{background:#08110d;border:1px solid #294235;border-radius:13px;padding:10px}.result-grid span{display:block;color:#94a29c;font-size:12px}.result-grid strong{font-size:22px}.secondary-btn{margin-top:10px;width:100%;height:53px;border-radius:14px;border:1px solid #52645a;background:#0b1210;font-weight:900}.x-btn{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:32px}.board-modal{position:relative}.board-modal ol{list-style:none;padding:0;margin:14px 0;text-align:left}.board-modal li{display:grid;grid-template-columns:54px 1fr auto;gap:8px;align-items:center;padding:9px 7px;border-bottom:1px solid #213228}.board-modal .rank{font-size:20px}.board-modal .name{font-weight:850}.board-modal .points{font-weight:950;color:#77ff9d}.winner-note{font-size:13px;color:#abb8b3}
@media(max-width:560px){.tg-head{height:75px;grid-template-columns:75px 1fr 75px;padding:8px 15px}.plain-btn{font-size:22px}.brand-title{font-size:20px}.brand-sub{font-size:15px}.round-menu{width:38px;height:38px}.hud{gap:8px;padding:9px 8px 3px}.hud-box{min-height:70px;border-radius:13px}.hud-box span{font-size:13px}.hud-box strong{font-size:32px}.life-row{height:53px;padding:0 12px}.heart{font-size:28px}.sound-btn{width:43px;height:43px;font-size:21px}.arena{height:600px}.player-rig{width:240px;height:286px}.player-img{width:230px}.weapon{left:64%;top:29%;height:128px;width:22px}.weapon-body{height:110px;width:14px}.powerups{gap:5px;padding:9px 7px}.power{min-height:83px;border-radius:13px}.power .power-icon{font-size:27px}.power span:nth-child(2){font-size:10px}.bottom-bar{grid-template-columns:96px 1fr 96px;gap:7px;padding:6px 8px 12px}.best-card,.leader-btn,.play-btn{height:70px;border-radius:14px}.play-btn{font-size:22px}.best-card span{font-size:10px}.best-card strong{font-size:16px}.leader-btn b{font-size:9px}.leader-btn .bars{font-size:23px}footer{font-size:9px}.target.enemy{padding-top:12px}.enemy-hp{height:8px}.crosshair{width:44px;height:44px}.crosshair:before{height:64px;top:-10px}.crosshair:after{width:64px;left:-10px}.float-score{font-size:24px}}

/* ===== V5 gameplay / visual fixes ===== */
.arena-bg{transform:none!important;animation:none!important}
.arena-vignette{background:radial-gradient(circle at 50% 42%,transparent 0 48%,rgba(0,0,0,.10) 72%,rgba(0,0,0,.40) 100%),linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.06) 62%,rgba(0,0,0,.20))}
.target{animation:none;will-change:left,top}
.target img{animation:targetBob 1.2s ease-in-out infinite alternate}
@keyframes targetBob{from{transform:translateY(-2px) rotate(-.8deg)}to{transform:translateY(3px) rotate(.8deg)}}
.target.damage{animation:damage .14s ease}
.target.dead{animation:dead .24s ease forwards}
.target.escape{animation:escape .24s ease forwards}
.target.danger{filter:drop-shadow(0 0 16px rgba(255,53,63,.9)) brightness(1.18)}
.enemy-hp{top:0;left:7%;right:7%;height:12px;border:2px solid rgba(255,255,255,.90);background:#070909;box-shadow:0 2px 7px rgba(0,0,0,.72),0 0 8px rgba(255,30,44,.25)}
.enemy-hp-fill{background:linear-gradient(90deg,#ff202d,#ff5962);transition:width .18s ease-out;box-shadow:0 0 10px rgba(255,42,54,.78)}
.enemy-hp-label{position:absolute;inset:0;display:grid;place-items:center;font-size:8px;line-height:1;font-weight:1000;color:#fff;text-shadow:0 1px 2px #000;pointer-events:none}
.player-rig{width:350px;height:365px;bottom:-1px;transform-origin:50% 94%;transition:transform .085s ease-out;overflow:visible}
.player-img{width:350px;bottom:0;filter:drop-shadow(0 16px 12px rgba(0,0,0,.52));}
.weapon{left:64%;top:20%;height:185px;width:27px;transform-origin:50% 88%;transition:transform .055s linear}
.weapon-body{height:160px;width:17px}
.player-rig.recoil{animation:recoilV5 .09s ease}
@keyframes recoilV5{50%{translate:0 4px;filter:brightness(1.12)}}
.muzzle:before{width:10px;height:44px}.muzzle:after{width:31px;height:8px}
.bullet-trail{height:3px;background:linear-gradient(90deg,#fffce2,#ffd35c 38%,rgba(255,126,0,.18));box-shadow:0 0 7px #fff,0 0 15px #ffb72f}

@media(max-width:560px){
  .player-rig{width:268px;height:286px}
  .player-img{width:268px}
  .weapon{left:64%;top:21%;height:145px;width:22px}
  .weapon-body{height:124px;width:14px}
  .enemy-hp{height:10px}
  .enemy-hp-label{font-size:7px}
}

/* ===== V6 final polish toward locked reference ===== */
.arena{height:620px;background:#020507}
.arena-bg{object-fit:cover;object-position:center top;transform:none!important;filter:saturate(1.02) contrast(1.02) brightness(1.01)}
.arena-vignette{background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.02) 58%,rgba(0,0,0,.10) 100%)}
.player-rig{width:258px;height:310px;bottom:-2px;left:49.5%;overflow:visible;transition:transform .075s ease-out}
.player-img{width:258px;bottom:0;filter:drop-shadow(0 10px 10px rgba(0,0,0,.35))}
.weapon{left:66%;top:20%;height:145px;width:24px;opacity:.92}
.weapon-body{height:124px;width:14px;background:linear-gradient(90deg,#0d1113,#303840 42%,#0f1315 70%,#050607)}
.gun-tip{top:2px}
.target.enemy{padding-top:12px}
.enemy-hp{top:-4px;left:9%;right:9%;height:10px;border:2px solid rgba(255,255,255,.95)}
.enemy-hp-label{font-size:7px}
.float-score{font-size:28px}
.powerups{padding-top:10px}
.bottom-bar{padding-top:6px}
@media(min-width:561px){
  .arena{height:760px}
  .player-rig{width:300px;height:360px}
  .player-img{width:300px}
  .weapon{height:165px;width:26px}
  .weapon-body{height:142px;width:16px}
}

/* ===== V7 polish ===== */
.player-rig{transition:transform .065s ease-out}
.player-img{
  clip-path: polygon(7% 53%, 10% 30%, 19% 15%, 34% 6%, 49% 4%, 61% 4%, 75% 11%, 85% 22%, 84% 31%, 74% 35%, 71% 28%, 65% 22%, 61% 34%, 66% 97%, 17% 97%, 11% 80%, 8% 61%);
}
.weapon{left:64.5%; top:19%; width:46px; height:158px; opacity:.98; filter:drop-shadow(0 4px 6px rgba(0,0,0,.55));}
.weapon-body{
  left:10px; top:28px; width:18px; height:88px; border-radius:5px;
  background:linear-gradient(90deg,#14181c,#58626b 38%,#232a31 65%,#0b0d10);
  border:2px solid #050607; box-shadow:inset 2px 0 2px rgba(255,255,255,.16),0 0 0 1px rgba(255,255,255,.04);
}
.weapon-body:before{
  content:""; position:absolute; left:5px; top:-39px; width:8px; height:56px; border-radius:5px;
  background:linear-gradient(90deg,#101416,#4d5962 45%,#0a0d10); border:2px solid #040506; box-shadow:0 0 0 1px rgba(255,255,255,.03);
}
.weapon-body:after{
  content:""; position:absolute; left:-7px; bottom:-31px; width:20px; height:38px; border-radius:5px 5px 8px 8px;
  background:linear-gradient(90deg,#0a0d10,#2d353d 42%,#0c0f12); border:2px solid #040506; transform:rotate(22deg); transform-origin:top center;
}
.weapon::before{
  content:""; position:absolute; left:16px; top:10px; width:16px; height:14px; border-radius:4px 4px 2px 2px;
  background:linear-gradient(180deg,#2d343a,#11161a); border:2px solid #050607;
}
.weapon::after{
  content:""; position:absolute; left:12px; top:111px; width:24px; height:16px; border-radius:4px 4px 10px 10px;
  background:linear-gradient(90deg,#0a0d10,#262e35 45%,#0b0e10); border:2px solid #050607;
}
.gun-tip{top:-11px; left:50%; width:6px; height:6px}
.muzzle{top:-24px; width:15px; height:34px}
@media(max-width:560px){
  .player-img{clip-path: polygon(6% 54%, 10% 31%, 19% 15%, 34% 6%, 49% 4%, 61% 4%, 75% 11%, 85% 22%, 84% 31%, 74% 35%, 71% 28%, 65% 22%, 61% 34%, 66% 97%, 17% 97%, 11% 80%, 8% 61%);}
  .weapon{left:64.5%; top:20%; width:40px; height:140px}
  .weapon-body{left:9px; top:24px; width:16px; height:76px}
  .weapon-body:before{left:4px; top:-35px; width:7px; height:49px}
  .weapon-body:after{left:-6px; bottom:-28px; width:18px; height:34px}
  .weapon::before{left:13px; top:9px; width:14px; height:12px}
  .weapon::after{left:10px; top:98px; width:20px; height:14px}
  .gun-tip{top:-9px}
  .muzzle{top:-22px}
}

/* ===== V8 core fixes ===== */
.player-img{
  /* tighter mask to remove leftover wall/glow around Tylee */
  clip-path: polygon(
    17% 97%,
    12% 86%,
    9% 68%,
    7% 52%,
    8% 42%,
    11% 31%,
    16% 22%,
    21% 17%,
    28% 11%,
    37% 7%,
    48% 4%,
    59% 5%,
    68% 8%,
    75% 13%,
    81% 19%,
    85% 27%,
    85% 37%,
    78% 44%,
    73% 43%,
    71% 33%,
    66% 25%,
    63% 38%,
    67% 97%,
    17% 97%
  );
}
@media(max-width:560px){
  .player-img{
    clip-path: polygon(
      17% 97%,
      12% 86%,
      9% 68%,
      7% 52%,
      8% 42%,
      11% 31%,
      16% 22%,
      21% 17%,
      28% 11%,
      37% 7%,
      48% 4%,
      59% 5%,
      68% 8%,
      75% 13%,
      81% 19%,
      85% 27%,
      85% 37%,
      78% 44%,
      73% 43%,
      71% 33%,
      66% 25%,
      63% 38%,
      67% 97%,
      17% 97%
    );
  }
}

/* ===== V9 core fixes ===== */
.player-img{clip-path:none !important}
.player-rig{transition:transform .05s ease-out}
.weapon{left:64.8%;}

/* ===== V10 cleanup ===== */
.player-rig{transition:none !important; transform:translateX(-50%) !important}
.player-img{
  clip-path: polygon(
    16% 98%,
    12% 87%,
    9% 72%,
    8% 56%,
    8% 44%,
    10% 33%,
    14% 23%,
    20% 16%,
    28% 10%,
    39% 6%,
    50% 5%,
    61% 6%,
    71% 10%,
    79% 17%,
    84% 26%,
    86% 38%,
    83% 44%,
    77% 46%,
    72% 44%,
    69% 35%,
    66% 27%,
    63% 37%,
    67% 98%,
    16% 98%
  ) !important;
}
.weapon{left:64.8%; top:19%;}

/* ===== V11 focus fixes ===== */
.player-rig,
.player-rig.recoil,
.player-rig.hit-left,
.player-rig.hit-right{
  transform:translateX(-50%) !important;
  animation:none !important;
  transition:none !important;
}
.player-img{
  clip-path:none !important;
}
.weapon.recoil{animation:weaponKick .08s ease}
@keyframes weaponKick{50%{transform:translateX(-50%) rotate(var(--kick-angle,0deg)) translateY(6px)}}
.target.token img{filter: drop-shadow(0 0 10px rgba(255,195,46,.35));}

/* ===== V13 clean asset reset ===== */
.player-rig,
.player-rig.recoil,
.player-rig.hit-left,
.player-rig.hit-right{
  width:250px !important;
  height:320px !important;
  bottom:-3px !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  transform-origin:50% 100% !important;
  transition:none !important;
  animation:none !important;
  overflow:visible !important;
}
.player-img{
  width:250px !important;
  max-width:none !important;
  bottom:0 !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  clip-path:none !important;
  filter:drop-shadow(0 10px 8px rgba(0,0,0,.28)) !important;
}
.weapon{
  left:63.5% !important;
  top:33% !important;
  width:24px !important;
  height:150px !important;
  transform-origin:50% 90% !important;
}
.weapon.recoil{animation:weaponKickClean .08s ease}
@keyframes weaponKickClean{50%{transform:translateX(-50%) translateY(6px) rotate(var(--kick-angle,0deg))}}
.target.token img{
  filter: drop-shadow(0 0 10px rgba(255,210,80,.45)) !important;
  mix-blend-mode:normal !important;
}
@media(max-width:560px){
  .player-rig,
  .player-rig.recoil,
  .player-rig.hit-left,
  .player-rig.hit-right{width:208px !important;height:272px !important;bottom:-2px !important;}
  .player-img{width:208px !important;}
  .weapon{left:63.5% !important;top:34% !important;width:21px !important;height:124px !important;}
}

/* ===== V14 polish: gun in front + light Tylee recoil ===== */
.player-rig,
.player-rig.hit-left,
.player-rig.hit-right{
  transform:translateX(-50%) !important;
}
.player-rig.recoil{
  animation:tyleeKick .09s ease !important;
}
@keyframes tyleeKick{
  0%{transform:translateX(-50%) translateY(0)}
  45%{transform:translateX(-50%) translateY(4px) scale(0.995)}
  100%{transform:translateX(-50%) translateY(0)}
}
.player-img{
  position:absolute !important;
  z-index:12 !important;
}
.weapon{
  z-index:20 !important;
  left:70% !important;
  top:34% !important;
  width:28px !important;
  height:150px !important;
  opacity:1 !important;
}
.weapon-body{
  height:126px !important;
  width:16px !important;
}
.gun-tip{z-index:22 !important;}
.muzzle{z-index:23 !important;}
@media(max-width:560px){
  .weapon{
    left:69% !important;
    top:35% !important;
    width:24px !important;
    height:126px !important;
  }
  .weapon-body{height:104px !important;width:14px !important;}
}

/* ===== V15 front-gun + more visible Tylee movement ===== */
.player-rig,
.player-rig.hit-left,
.player-rig.hit-right{
  left:50% !important;
  transform:translateX(-50%) !important;
}
.player-rig.recoil{
  animation:tyleeKickV15 .12s ease-out !important;
}
@keyframes tyleeKickV15{
  0%{transform:translateX(-50%) translateY(0) scale(1)}
  35%{transform:translateX(-50%) translateY(7px) scale(0.992)}
  65%{transform:translateX(-50%) translateY(3px) scale(0.997)}
  100%{transform:translateX(-50%) translateY(0) scale(1)}
}
.player-img{
  z-index:12 !important;
}
.weapon{
  z-index:25 !important;
  left:61.5% !important;
  top:34.5% !important;
  width:30px !important;
  height:154px !important;
  filter:drop-shadow(0 3px 5px rgba(0,0,0,.55)) !important;
}
.weapon-body{
  left:7px !important;
  top:16px !important;
  width:16px !important;
  height:126px !important;
}
.weapon-body:before{
  left:4px !important;
  top:-36px !important;
  width:8px !important;
  height:53px !important;
}
.weapon-body:after{
  left:-5px !important;
  bottom:-30px !important;
  width:20px !important;
  height:36px !important;
}
.weapon::before{
  left:11px !important;
  top:10px !important;
  width:15px !important;
  height:12px !important;
}
.weapon::after{
  left:8px !important;
  top:100px !important;
  width:22px !important;
  height:14px !important;
}
.weapon.recoil{animation:weaponKickV15 .09s ease-out !important;}
@keyframes weaponKickV15{50%{transform:translateX(-50%) translateY(8px) rotate(var(--kick-angle,0deg))}}
@media(max-width:560px){
  .player-rig.recoil{animation:tyleeKickV15Mobile .12s ease-out !important;}
  @keyframes tyleeKickV15Mobile{
    0%{transform:translateX(-50%) translateY(0) scale(1)}
    35%{transform:translateX(-50%) translateY(6px) scale(0.992)}
    100%{transform:translateX(-50%) translateY(0) scale(1)}
  }
  .weapon{
    left:61.5% !important;
    top:35% !important;
    width:26px !important;
    height:132px !important;
  }
  .weapon-body{left:6px !important; top:14px !important; width:14px !important; height:108px !important;}
  .weapon-body:before{left:3px !important; top:-31px !important; width:7px !important; height:45px !important;}
  .weapon-body:after{left:-5px !important; bottom:-25px !important; width:18px !important; height:32px !important;}
  .weapon::before{left:9px !important; top:9px !important; width:13px !important; height:11px !important;}
  .weapon::after{left:7px !important; top:84px !important; width:18px !important; height:12px !important;}
}

/* ===== V17 hard fix: weapon separate front layer + direct Tylee recoil ===== */
#playerRig{
  z-index:12 !important;
  left:50% !important;
  bottom:-2px !important;
  width:250px !important;
  height:320px !important;
  transform:translateX(-50%) !important;
  overflow:visible !important;
}
#playerImg{
  position:absolute !important;
  left:50% !important;
  bottom:0 !important;
  width:250px !important;
  transform:translateX(-50%) !important;
  z-index:12 !important;
  clip-path:none !important;
  filter:drop-shadow(0 10px 8px rgba(0,0,0,.28)) !important;
}
#playerImg.recoilshot{
  animation:playerKickV17 .13s ease-out !important;
}
@keyframes playerKickV17{
  0%{transform:translateX(-50%) translateY(0) scale(1)}
  35%{transform:translateX(-50%) translateY(8px) scale(.992)}
  70%{transform:translateX(-50%) translateY(3px) scale(.997)}
  100%{transform:translateX(-50%) translateY(0) scale(1)}
}
#weapon{
  position:absolute !important;
  z-index:30 !important;
  left:54.5% !important;
  top:63.2% !important;
  width:30px !important;
  height:150px !important;
  transform-origin:50% 90% !important;
  pointer-events:none !important;
  filter:drop-shadow(0 3px 5px rgba(0,0,0,.55)) !important;
}
#weapon .weapon-body{
  position:absolute !important;
  left:8px !important;
  top:14px !important;
  width:15px !important;
  height:122px !important;
  border-radius:8px 8px 4px 4px !important;
  background:linear-gradient(90deg,#111519,#3d434b 42%,#111519 72%,#050607) !important;
  border:2px solid #080909 !important;
}
#weapon .weapon-body:before{
  content:""; position:absolute; left:4px; top:-33px; width:7px; height:48px;
  border-radius:3px; background:#15191c; border:2px solid #050606;
}
#weapon .weapon-body:after{
  content:""; position:absolute; left:-6px; bottom:-28px; width:20px; height:34px;
  border-radius:0 0 12px 12px; background:#2d333a; border:2px solid #080909; transform:rotate(20deg);
}
#weapon:before{
  content:""; position:absolute; left:11px; top:9px; width:14px; height:11px;
  border-radius:8px; background:#2b3138; border:2px solid #080909;
}
#weapon:after{
  content:""; position:absolute; left:8px; top:96px; width:22px; height:14px;
  border-radius:10px; background:#3a4047; border:2px solid #080909;
}
#weapon.recoil{animation:weaponKickV17 .08s ease-out !important;}
@keyframes weaponKickV17{50%{transform:translateX(-50%) translateY(8px) rotate(var(--kick-angle,0deg))}}
#gunTip{position:absolute !important; left:50% !important; top:4px !important; width:4px !important; height:4px !important; transform:translate(-50%,-50%) !important;}
#muzzle{z-index:31 !important;}
@media(max-width:560px){
  #playerRig{width:208px !important; height:272px !important; bottom:-2px !important;}
  #playerImg{width:208px !important;}
  #playerImg.recoilshot{animation:playerKickV17m .13s ease-out !important;}
  @keyframes playerKickV17m{
    0%{transform:translateX(-50%) translateY(0) scale(1)}
    35%{transform:translateX(-50%) translateY(7px) scale(.993)}
    100%{transform:translateX(-50%) translateY(0) scale(1)}
  }
  #weapon{left:54.8% !important; top:65.2% !important; width:26px !important; height:126px !important;}
  #weapon .weapon-body{left:7px !important; top:12px !important; width:13px !important; height:102px !important;}
  #weapon .weapon-body:before{left:3px !important; top:-28px !important; width:6px !important; height:42px !important;}
  #weapon .weapon-body:after{left:-5px !important; bottom:-24px !important; width:17px !important; height:30px !important;}
  #weapon:before{left:9px !important; top:8px !important; width:12px !important; height:10px !important;}
  #weapon:after{left:7px !important; top:81px !important; width:19px !important; height:12px !important;}
}

/* ===== V18 actual fix: gun lives beside the paw, recoil uses independent translate ===== */
#playerRig{
  z-index:12 !important;
  overflow:visible !important;
}
#playerImg{
  z-index:12 !important;
  translate:0 0;
  rotate:0deg;
  transform-origin:50% 76% !important;
}
#playerImg.recoilshot{
  animation:playerKickV18 .14s ease-out !important;
}
@keyframes playerKickV18{
  0%{translate:0 0}
  32%{translate:0 10px}
  68%{translate:0 4px}
  100%{translate:0 0}
}
#weapon{
  position:absolute !important;
  z-index:40 !important;
  left:69% !important;
  top:66.5% !important;
  width:30px !important;
  height:150px !important;
  transform-origin:50% 90% !important;
  translate:0 0;
  pointer-events:none !important;
  opacity:1 !important;
}
#weapon.recoil{
  animation:weaponKickV18 .075s ease-out !important;
}
@keyframes weaponKickV18{
  0%{translate:0 0}
  45%{translate:0 9px}
  100%{translate:0 0}
}
#gunTip{z-index:42 !important;}
#muzzle{z-index:43 !important;}
@media(max-width:560px){
  #playerImg.recoilshot{animation:playerKickV18m .14s ease-out !important;}
  @keyframes playerKickV18m{
    0%{translate:0 0}
    32%{translate:0 8px}
    100%{translate:0 0}
  }
  #weapon{
    left:70% !important;
    top:65.5% !important;
    width:26px !important;
    height:128px !important;
  }
}

/* ===== V19 gun stays in front, held position ===== */
#weapon{
  left:60% !important;
  top:66.2% !important;
  width:34px !important;
  height:150px !important;
}
#weapon .weapon-body{
  left:9px !important;
}
#weapon:after{
  left:9px !important;
}
@media(max-width:560px){
  #weapon{
    left:60.2% !important;
    top:65.4% !important;
    width:29px !important;
    height:128px !important;
  }
  #weapon .weapon-body{left:8px !important;}
  #weapon:after{left:8px !important;}
}

/* ===== V20 short front gun anchored to paw ===== */
#weapon{
  position:absolute !important;
  z-index:34 !important;
  left:58.5% !important;
  top:76.5% !important;
  width:18px !important;
  height:88px !important;
  transform:translateX(-50%) rotate(0deg) !important;
  transform-origin:50% 86% !important;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.45)) !important;
}
#weapon .weapon-body{
  position:absolute !important;
  left:4px !important;
  top:8px !important;
  width:10px !important;
  height:56px !important;
  border-radius:6px 6px 3px 3px !important;
  background:linear-gradient(90deg,#171b1f,#434a53 42%,#14181c 72%,#060708) !important;
  border:2px solid #060708 !important;
  box-shadow:none !important;
}
#weapon .weapon-body:before{
  content:"" !important;
  position:absolute !important;
  left:2px !important;
  top:-18px !important;
  width:4px !important;
  height:28px !important;
  border-radius:2px !important;
  background:#15191c !important;
  border:2px solid #050606 !important;
}
#weapon .weapon-body:after{
  /* tiny grip only, no big rear gun behind Tylee */
  content:"" !important;
  position:absolute !important;
  left:-2px !important;
  bottom:-12px !important;
  width:10px !important;
  height:14px !important;
  border-radius:0 0 6px 6px !important;
  background:#2d333a !important;
  border:2px solid #080909 !important;
  transform:rotate(18deg) !important;
}
#weapon:before,
#weapon:after{
  display:none !important;
}
#gunTip{
  position:absolute !important;
  left:50% !important;
  top:-2px !important;
  width:4px !important;
  height:4px !important;
  transform:translate(-50%,-50%) !important;
  z-index:42 !important;
}
#muzzle{
  top:-20px !important;
  width:14px !important;
  height:30px !important;
  z-index:43 !important;
}
#weapon.recoil{animation:weaponKickV20 .08s ease-out !important;}
@keyframes weaponKickV20{50%{transform:translateX(-50%) translateY(5px) rotate(var(--kick-angle,0deg))}}

@media(max-width:560px){
  #weapon{
    left:58.7% !important;
    top:76.6% !important;
    width:16px !important;
    height:74px !important;
  }
  #weapon .weapon-body{
    left:4px !important;
    top:8px !important;
    width:8px !important;
    height:46px !important;
  }
  #weapon .weapon-body:before{
    left:1px !important;
    top:-15px !important;
    width:4px !important;
    height:24px !important;
  }
  #weapon .weapon-body:after{
    left:-2px !important;
    bottom:-10px !important;
    width:9px !important;
    height:12px !important;
  }
  #muzzle{top:-18px !important; width:12px !important; height:24px !important;}
}

/* ===== V21 fixed front gun: one pivot, angle-only aiming ===== */
#weapon{
  position:absolute !important;
  z-index:40 !important;
  left:55.5% !important;
  top:87.5% !important;
  width:18px !important;
  height:78px !important;
  margin-left:-9px !important;
  margin-top:-69px !important; /* places the 88% pivot exactly on the hand point */
  transform-origin:50% 88% !important;
  transform:rotate(0deg) !important;
  translate:0 0 !important;
  pointer-events:none !important;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.5)) !important;
}
#weapon .weapon-body{
  position:absolute !important;
  left:4px !important;
  top:8px !important;
  width:10px !important;
  height:48px !important;
  border-radius:5px 5px 3px 3px !important;
  background:linear-gradient(90deg,#15191d,#464d55 45%,#171b1f 74%,#070809) !important;
  border:2px solid #070809 !important;
  box-shadow:inset 1px 0 1px rgba(255,255,255,.16) !important;
}
#weapon .weapon-body:before{
  content:"" !important;
  position:absolute !important;
  left:2px !important;
  top:-20px !important;
  width:4px !important;
  height:24px !important;
  border-radius:2px !important;
  background:#171b1e !important;
  border:2px solid #050606 !important;
}
#weapon .weapon-body:after{
  content:"" !important;
  position:absolute !important;
  left:-1px !important;
  bottom:-9px !important;
  width:9px !important;
  height:11px !important;
  border-radius:0 0 5px 5px !important;
  background:#30363d !important;
  border:2px solid #080909 !important;
  transform:rotate(14deg) !important;
}
#weapon:before,#weapon:after{display:none !important;}
#gunTip{
  position:absolute !important;
  left:50% !important;
  top:-4px !important;
  width:4px !important;
  height:4px !important;
  transform:translate(-50%,-50%) !important;
  z-index:42 !important;
}
#muzzle{
  top:-20px !important;
  width:13px !important;
  height:28px !important;
  z-index:43 !important;
}
#weapon.recoil{animation:weaponKickV21 .075s ease-out !important;}
@keyframes weaponKickV21{
  0%{translate:0 0}
  45%{translate:0 5px}
  100%{translate:0 0}
}
@media(max-width:560px){
  #weapon{
    left:55.5% !important;
    top:87.5% !important;
    width:16px !important;
    height:68px !important;
    margin-left:-8px !important;
    margin-top:-60px !important;
    transform-origin:50% 88% !important;
  }
  #weapon .weapon-body{
    left:4px !important;
    top:7px !important;
    width:8px !important;
    height:41px !important;
  }
  #weapon .weapon-body:before{
    left:1px !important;
    top:-17px !important;
    width:4px !important;
    height:21px !important;
  }
  #weapon .weapon-body:after{
    left:-1px !important;
    bottom:-8px !important;
    width:8px !important;
    height:10px !important;
  }
  #muzzle{top:-18px !important;width:12px !important;height:24px !important;}
}

/* ===== V23: gun visually in front of Tylee, close to screenshot reference ===== */
#weapon{
  position:absolute !important;
  z-index:46 !important;
  left:50.8% !important;
  top:74.2% !important;
  width:16px !important;
  height:62px !important;
  margin-left:-8px !important;
  margin-top:-52px !important;
  transform-origin:50% 92% !important;
  transform:rotate(0deg) !important;
  pointer-events:none !important;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.48)) !important;
}
#weapon .weapon-body{
  position:absolute !important;
  left:4px !important;
  top:11px !important;
  width:8px !important;
  height:34px !important;
  border-radius:5px 5px 3px 3px !important;
  background:linear-gradient(90deg,#15191d,#454d55 45%,#171b1f 74%,#070809) !important;
  border:2px solid #070809 !important;
  box-shadow:inset 1px 0 1px rgba(255,255,255,.16) !important;
}
#weapon .weapon-body:before{
  content:"" !important;
  position:absolute !important;
  left:1px !important;
  top:-18px !important;
  width:4px !important;
  height:22px !important;
  border-radius:2px !important;
  background:#171b1e !important;
  border:2px solid #050606 !important;
}
#weapon .weapon-body:after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  bottom:-7px !important;
  width:7px !important;
  height:8px !important;
  border-radius:0 0 4px 4px !important;
  background:#30363d !important;
  border:2px solid #080909 !important;
  transform:rotate(12deg) !important;
}
#weapon:before,#weapon:after{display:none !important;}
#gunTip{
  position:absolute !important;
  left:50% !important;
  top:-3px !important;
  width:4px !important;
  height:4px !important;
  transform:translate(-50%,-50%) !important;
  z-index:48 !important;
}
#muzzle{
  top:-18px !important;
  width:12px !important;
  height:24px !important;
  z-index:49 !important;
}
#weapon.recoil{animation:weaponKickV23 .075s ease-out !important;}
@keyframes weaponKickV23{
  0%{translate:0 0}
  45%{translate:0 4px}
  100%{translate:0 0}
}
@media(max-width:560px){
  #weapon{
    left:50.8% !important;
    top:74.6% !important;
    width:15px !important;
    height:56px !important;
    margin-left:-7px !important;
    margin-top:-47px !important;
  }
  #weapon .weapon-body{
    left:4px !important;
    top:10px !important;
    width:7px !important;
    height:30px !important;
  }
  #weapon .weapon-body:before{
    left:1px !important;
    top:-17px !important;
    width:3px !important;
    height:20px !important;
  }
  #weapon .weapon-body:after{
    left:0 !important;
    bottom:-7px !important;
    width:6px !important;
    height:8px !important;
  }
  #muzzle{top:-16px !important;width:11px !important;height:22px !important;}
}

/* ===== V24: gun behind Tylee layer, Tylee overlays it ===== */
#weapon{
  position:absolute !important;
  z-index:11 !important;          /* behind Tylee */
  left:58.5% !important;
  top:89.5% !important;
  width:22px !important;
  height:150px !important;
  margin-left:-11px !important;
  margin-top:-135px !important;   /* 90% pivot sits exactly on hand point */
  transform-origin:50% 90% !important;
  transform:rotate(0deg) !important;
  translate:0 0 !important;
  pointer-events:none !important;
  filter:drop-shadow(0 3px 5px rgba(0,0,0,.5)) !important;
  opacity:1 !important;
}
#playerRig{
  z-index:12 !important;
}
#playerImg{
  z-index:12 !important;
}
#weapon .weapon-body{
  position:absolute !important;
  left:5px !important;
  top:20px !important;
  width:12px !important;
  height:96px !important;
  border-radius:7px 7px 4px 4px !important;
  background:linear-gradient(90deg,#101418,#444b54 44%,#15191d 73%,#060708) !important;
  border:2px solid #060708 !important;
  box-shadow:inset 1px 0 1px rgba(255,255,255,.14) !important;
}
#weapon .weapon-body:before{
  content:"" !important;
  position:absolute !important;
  left:2px !important;
  top:-28px !important;
  width:6px !important;
  height:34px !important;
  border-radius:3px !important;
  background:#15191c !important;
  border:2px solid #050606 !important;
}
#weapon .weapon-body:after{
  content:"" !important;
  position:absolute !important;
  left:-2px !important;
  bottom:-16px !important;
  width:12px !important;
  height:18px !important;
  border-radius:0 0 7px 7px !important;
  background:#30363d !important;
  border:2px solid #080909 !important;
  transform:rotate(16deg) !important;
}
#weapon:before,#weapon:after{display:none !important;}
#gunTip{
  position:absolute !important;
  left:50% !important;
  top:-1px !important;
  width:4px !important;
  height:4px !important;
  transform:translate(-50%,-50%) !important;
  z-index:13 !important;
}
#muzzle{
  top:-22px !important;
  width:15px !important;
  height:30px !important;
  z-index:13 !important;
}
#weapon.recoil{animation:weaponKickV24 .075s ease-out !important;}
@keyframes weaponKickV24{
  0%{translate:0 0}
  45%{translate:0 5px}
  100%{translate:0 0}
}

@media(max-width:560px){
  #weapon{
    left:58.5% !important;
    top:89.5% !important;
    width:19px !important;
    height:126px !important;
    margin-left:-9.5px !important;
    margin-top:-113px !important;
    transform-origin:50% 90% !important;
  }
  #weapon .weapon-body{
    left:5px !important;
    top:17px !important;
    width:10px !important;
    height:80px !important;
  }
  #weapon .weapon-body:before{
    left:2px !important;
    top:-24px !important;
    width:5px !important;
    height:29px !important;
  }
  #weapon .weapon-body:after{
    left:-2px !important;
    bottom:-13px !important;
    width:10px !important;
    height:15px !important;
  }
  #muzzle{top:-19px !important;width:13px !important;height:26px !important;}
}

/* ===== V25 arcade polish — gun/layering intentionally untouched ===== */
.arena-bg{
  scale:1.025;
  translate:0 0;
  transition:translate .12s ease-out;
  will-change:translate;
}
.combo-pop{animation:comboPopV25 .22s ease-out !important;}
@keyframes comboPopV25{50%{scale:1.22;filter:brightness(1.4)}}
.time-box.urgent{
  border-color:#ff3c49 !important;
  box-shadow:0 0 16px rgba(255,45,60,.65),inset 0 0 18px rgba(255,45,60,.12) !important;
  animation:urgentPulseV25 .55s ease-in-out infinite alternate;
}
.time-box.urgent strong{color:#ff5964 !important;text-shadow:0 0 15px rgba(255,54,70,.8) !important;}
@keyframes urgentPulseV25{from{filter:brightness(1)}to{filter:brightness(1.22)}}
.impact-particle{
  position:absolute;
  width:5px;height:5px;border-radius:50%;
  background:#76ff9a;
  box-shadow:0 0 8px currentColor;
  pointer-events:none;
  transform:translate(-50%,-50%);
  animation:impactBurstV25 .48s ease-out forwards;
}
.impact-particle.kill{background:#ffb83e;color:#ffb83e;width:7px;height:7px;}
.impact-particle.coin{background:#ffe16b;color:#ffe16b;width:6px;height:6px;}
.impact-particle.hit{background:#77ff9c;color:#77ff9c;}
@keyframes impactBurstV25{
  from{opacity:1;transform:translate(-50%,-50%) scale(1)}
  to{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(.2)}
}
.target.enemy{transition:filter .12s linear;}


/* ===== V31 wall visibility fix ===== */
.wall-fg{position:absolute;left:0;right:0;bottom:0;width:100%;height:auto;z-index:6;pointer-events:none;user-select:none;opacity:.98;filter:drop-shadow(0 -2px 8px rgba(0,0,0,.18));}
@media(max-width:560px){.wall-fg{bottom:0;width:100%;}}




/* ===== V33 integrated moon wall fix ===== */
.wall-fg{display:none !important;}
.arena-bg{object-position:center top !important; transform:none !important; filter:saturate(1.03) contrast(1.02) brightness(1.02) !important;}
.player-rig{bottom:-2px !important;}
@media(max-width:560px){.player-rig{bottom:-1px !important;}}


/* ===== V34 wall+moon final framing fix ===== */
.wall-fg{display:none !important;}
.arena-bg{object-fit:fill !important; object-position:center center !important; filter:saturate(1.03) contrast(1.02) brightness(1.02) !important;}
.player-rig{bottom:-2px !important;}
@media(max-width:560px){.arena{height:620px !important;} .player-rig{bottom:-1px !important;}}


/* ===== V35 framing tweak: show more moon, lower wall slightly ===== */
.arena-bg{object-position:center top !important;}
@media(max-width:560px){.arena-bg{object-position:center top !important;}}


/* ===== V37b final quality pass ===== */
.wall-fg{display:none !important;}
.arena-bg{object-fit:fill !important; object-position:center top !important; image-rendering:auto !important; backface-visibility:hidden; transform:translateZ(0) !important; filter:saturate(1.035) contrast(1.025) brightness(1.02) !important;}
@media(max-width:560px){.arena-bg{object-fit:fill !important; object-position:center top !important;}}


/* ===== V37b final place card ===== */
.result-place{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin:-4px 0 12px;padding:10px 16px;border-radius:14px;
  background:linear-gradient(180deg,#0c1712,#07100d);
  border:1px solid #31533f;box-shadow:inset 0 0 14px rgba(60,255,125,.035);
}
.result-place span{font-size:12px;font-weight:950;letter-spacing:.08em;color:#aebbb5;}
.result-place strong{font-size:27px;font-weight:1000;color:#ffd34c;text-shadow:0 0 10px rgba(255,211,76,.28);}
@media(max-width:560px){.result-place{padding:9px 13px}.result-place strong{font-size:23px}}


/* ===== V37b final rank clarity fix ===== */
.result-place .place-right{display:flex;align-items:flex-end;flex-direction:column;gap:1px;}
.result-place .place-right small{font-size:10px;font-weight:900;color:#b9c6c0;letter-spacing:.06em;}
@media(max-width:560px){.result-place .place-right small{font-size:9px;}}
