/* Three persistent hit paths. Existing artwork and combat remain unchanged. */
header{top:max(9px,env(safe-area-inset-top));left:16px;right:16px}.brand img{width:112px!important}.demo{letter-spacing:1px}
#pathHUD{position:absolute;top:79px;left:16px;right:16px;z-index:3;padding:10px 12px 8px;background:linear-gradient(130deg,#142b3bf5,#08121ee8);border:1px solid #8bafbf3b;border-radius:12px;box-shadow:0 5px 20px #0006;pointer-events:none}
.path-heading{display:flex;justify-content:space-between;color:#c5d5df;font-size:9px;letter-spacing:1.6px;margin-bottom:8px}.path-heading small{font-size:7px;opacity:.55;letter-spacing:.7px}.path-row{--path:#72ead3;display:grid;grid-template-columns:39px 1fr;align-items:center;gap:5px;min-height:29px;border-radius:5px}.path-row[data-lane="1"]{--path:#9bbdff}.path-row[data-lane="2"]{--path:#ffcf73}.path-label{font-size:8px;letter-spacing:1px;color:var(--path);font-weight:800}.path-current{font-size:13px;text-align:right;color:var(--path)}.path-steps{display:flex;gap:4px;overflow:hidden}.path-step{flex:1;min-width:0;text-align:center;padding:5px 0;border-radius:4px;font-size:10px;font-weight:700;background:#ffffff06;border:1px solid #ffffff0c;color:#778796}.path-step.earned{color:var(--path);border-color:color-mix(in srgb,var(--path),transparent 65%);background:color-mix(in srgb,var(--path),transparent 92%)}.path-step.current{background:var(--path);color:#0b2027;border-color:var(--path);box-shadow:0 0 13px color-mix(in srgb,var(--path),transparent 65%)}
#fighter-tag{top:213px;font-size:9px}#poolHUD{position:absolute;top:244px;left:0;right:0;z-index:3;text-align:center;pointer-events:none;text-shadow:0 2px 10px #000,0 2px 3px #000}#poolHUD>small{display:block;font-size:8px;letter-spacing:2.5px;color:#eadfc4}#poolAmount{display:inline-block;font-size:40px;line-height:1.2;font-weight:1000;letter-spacing:-1px;color:#fff2c0;text-shadow:0 0 20px #e5b34488,0 3px 0 #704221}#poolMultiplier{display:inline-block;font-size:12px;margin-left:8px;color:#fbd87a}#pathDelta{display:block;height:18px;font-size:13px;color:#b9ffe4}#pathDelta[data-loss=true]{color:#ff9292}#pathDelta:empty{visibility:hidden}
#callout{top:48%;font-size:25px}.dashboard{padding:0 14px 2px;background:linear-gradient(transparent,#06101bf2 12%,#071019 70%)}#status{height:21px;font-size:9px}.stats{height:35px}#setup{display:grid;grid-template-columns:1fr 1fr;height:43px;margin:5px 0;gap:8px}#setup #bet,#setup #difficulty{width:auto;height:43px;min-height:0;padding:4px 24px 4px 12px;border:1px solid #ffffff20;border-radius:7px;background:#122331;text-align:left}#setup small{font-size:7px}#setup b{font-size:13px}#setup .difficulty-arrows{right:6px}#setup .panel-arrows{left:auto;right:8px}#fight{display:grid;grid-template-columns:1fr 1.25fr 1fr;height:68px;gap:7px;margin:0}#fight button{height:68px;min-height:0;border-radius:10px}#fight .punch{display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;padding:5px;background:linear-gradient(#a82c33,#611622);border:1px solid #f57e7855}#fight .punch img{width:29px;height:32px}#fight .punch span{display:flex;flex-direction:column;gap:5px}#fight .punch small{font-size:12px;color:#fff4df;font-weight:800}#fight #cashout small{font-size:9px;letter-spacing:.6px}#fight #cashout b{font-size:22px}#partialRow{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:center;margin-top:7px}#partial{background:#132e38;border:1px solid #61b0ad55;border-radius:7px;height:37px;font-size:8px;letter-spacing:.3px;color:#aadad7}#partial b{display:block;font-size:12px;color:#ddfff0;margin-top:2px}#stakeLine{display:flex;flex-direction:column;gap:5px;font-size:8px;color:#94a3b1}#stakeLine span{display:flex;justify-content:space-between}#stakeLine b{color:#d1dbe4;font-size:10px}footer{height:22px;font-size:8px}#rageMeter{bottom:260px!important;left:22px!important;right:22px!important}#rageMeter .rage-caption{font-size:8px}.rage-avatar{width:36px!important;height:36px!important}
.path-gain{animation:gainFlash .65s ease-out}.path-loss{animation:lossFlash .65s ease-out}.pool-gain #poolAmount{animation:poolPulse .45s ease-out}.pool-loss #poolAmount{animation:poolDamage .45s ease-out}@keyframes gainFlash{0%{background:#ffdc7999;transform:translateX(4px)}100%{background:transparent;transform:none}}@keyframes lossFlash{0%,40%{background:#e74d5d66;transform:translateX(-4px)}20%,60%{transform:translateX(4px)}100%{background:transparent;transform:none}}@keyframes poolPulse{25%{transform:scale(1.18);filter:brightness(1.5)}}@keyframes poolDamage{25%{transform:translateX(-8px);color:#ff6d7c}60%{transform:translateX(8px)}}
.reward-beam{position:absolute;z-index:4;pointer-events:none;left:49%;top:45%;width:8px;height:100px;border-radius:80%;background:linear-gradient(transparent,#fff7c0 65%,white);box-shadow:0 0 12px 4px #fbd76a99;transform-origin:50% 100%}.reward-beam.incoming{animation:beamIn .5s ease-in forwards}.reward-beam.outgoing{background:linear-gradient(transparent,#fe596e,white);box-shadow:0 0 12px 4px #ff566b99;animation:beamOut .5s ease-out forwards}@keyframes beamIn{0%{transform:translate(35px,15px) rotate(-10deg) scaleY(.2);opacity:0}35%{opacity:1}100%{transform:translate(0,-120px) rotate(0) scaleY(.2);opacity:0}}@keyframes beamOut{0%{transform:translate(0,-100px) rotate(-35deg) scaleY(.2);opacity:0}25%{opacity:1}100%{transform:translate(120px,70px) rotate(-35deg) scaleY(1);opacity:0}}
#game[data-free=true] #fight{margin-top:5px}#game[data-free=true] #fighter-tag{top:21%}#testTools{max-height:90px;overflow:auto;opacity:.9;z-index:40}#testTools button{font-size:8px;padding:5px}.in-rage #pathHUD,.in-rage #poolHUD{visibility:hidden}
@media(max-height:740px){#pathHUD{top:66px;padding:7px 10px}.path-heading{margin-bottom:4px}.path-row{min-height:24px}.path-step{padding:3px 0}#fighter-tag{top:179px}#poolHUD{top:201px}#poolAmount{font-size:33px}#fight,#fight button{height:58px}#rageMeter{bottom:247px!important}#callout{font-size:22px}}
@media(max-height:620px){#pathHUD{top:57px}.path-heading{display:none}#fighter-tag{top:151px}#poolHUD{top:172px}#poolAmount{font-size:28px}#setup{height:36px}#setup #bet,#setup #difficulty{height:36px}#status{height:17px}#rageMeter{bottom:235px!important}}
@media(prefers-reduced-motion:reduce){.path-gain,.path-loss,.pool-gain #poolAmount,.pool-loss #poolAmount,.reward-beam{animation-duration:.01s}}
#fight{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr);border:0;background:transparent;box-shadow:none}#fight .punch span{font-size:10px;color:#ffe4da}#fight .punch{min-width:0;font-size:10px!important}#fight #cashout{width:100%;margin-top:0;border-width:2px;box-shadow:inset 0 2px 4px #ffffc966,0 3px 0 #533d1c}#setup{border:0;box-shadow:none;background:transparent}#setup #bet{padding:4px 12px 4px 28px!important}#setup #difficulty{padding:4px 28px 4px 12px}#poolHUD{top:43%;}#callout{top:37%;font-size:22px}.brand img{width:96px!important}#partialRow:has(#partial[hidden]){display:none}
@media(max-height:740px){#pathHUD{top:75px}#fighter-tag{top:188px}#poolHUD{top:43%;}}
@media(max-height:620px){#pathHUD{top:65px}#fighter-tag{top:159px}#poolHUD{top:39%;}#callout{top:34%;}}

.in-rage #testTools{display:none}
header>.round{margin-left:auto}

.rage-buy-card{text-align:center}.rage-buy-card>img{display:block;width:86%;max-height:190px;object-fit:contain;margin:0 auto}.rage-buy-card h2{font-size:22px;color:#ffe3a3}.rage-buy-card p{font-size:11px;line-height:1.6}.rage-buy-price{padding:16px;margin:16px 0;border:1px solid #e3b75777;border-radius:10px;background:#e3b7570b}.rage-buy-price small{font-size:9px;letter-spacing:1px;color:#d4bd8e}.rage-buy-price strong{display:block;font-size:35px;color:#ffe4a6;margin-top:6px}

/* Compact settings and gold partial collection, all four locales. */
#partial{background:linear-gradient(145deg,#ffe6a0,#e9ad32);border:1px solid #fff0b4;color:#3c2b0d;box-shadow:inset 0 1px #fff7d5,0 2px 0 #765216;font-weight:800}
#partial b{color:#302007}#partial:disabled{opacity:.55;filter:saturate(.6)}
#modal{position:fixed;inset:0;margin:auto;width:min(360px,calc(100vw - 40px));height:fit-content;max-height:76dvh;padding:26px 22px 22px;overflow:auto;border:1px solid #94764b;border-radius:20px;background:linear-gradient(150deg,#243446,#101b29)}
#modal::backdrop{background:#030b1477;backdrop-filter:blur(2px)}
#modal h2{font-size:20px;padding-right:24px;margin-bottom:16px}#modal .close{position:absolute;right:12px;top:10px}
#modal.settings-modal{width:min(340px,calc(100vw - 40px));max-height:80dvh}
.settings-modal .menu-row{min-height:40px;padding:9px 0;background:none;border:0;display:flex;align-items:center;justify-content:space-between;width:100%;font-size:13px;text-align:left}
.toggle{display:block;flex-shrink:0;width:38px;height:22px;border-radius:20px;background:#526071;position:relative;transition:background .18s}
.toggle:after{content:'';position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:white;box-shadow:0 1px 3px #0005;transition:transform .18s}
[aria-checked=true] .toggle{background:#dca73d}[aria-checked=true] .toggle:after{transform:translateX(16px)}
.language-label{display:block;font-size:12px;color:#aebdcb;margin:12px 0 7px}#languageSelect{width:100%;padding:10px;border:1px solid #526071;border-radius:8px;background:#142331;color:#fff1ce;font:inherit;font-size:13px}
.menu-links{border-top:1px solid #ffffff18;margin-top:14px;padding-top:7px}.menu-links .menu-row{min-height:35px;color:#d8e2e9}
:lang(zh),:lang(ko){letter-spacing:normal}#buy{max-width:55%;font-size:10px}#partial{font-size:9px}#fight .punch span{font-size:10px}#fight #cashout small{font-size:9px;letter-spacing:0}

#modal.menu-popover{border-radius:14px;padding:20px 18px;transform-origin:top right;animation:menu-open .16s ease-out}
#modal.menu-popover::backdrop{background:#030b1433;backdrop-filter:none}
#modal.menu-popover .back-menu{display:block;background:#ffffff0b;color:#f5d893;border:1px solid #ffffff20;border-radius:7px;padding:8px 11px;margin:0 30px 16px 0;font-size:12px;text-align:left}
#modal.menu-popover h2{font-size:18px}#modal.menu-popover .rules{padding-left:19px}
@keyframes menu-open{from{opacity:0;transform:translateY(-7px) scale(.97)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#modal.menu-popover{animation:none}}

dialog.mp-native>#closeModal,dialog.mp-native #backToMenu,dialog.mp-native .mp-native-content>h2{display:none!important}
