html { touch-action: manipulation; -webkit-text-size-adjust: 100%; }
#app, #app canvas { touch-action: none; }
.iw-touch, .iw-rotate {
--k: #08090b; --fn: #ffd23f; --a: #ffd23f; --a-rgb: 255, 210, 63; --tk: 1; --sd: 140px; --kd: 58px;
--spring: cubic-bezier(.34, 1.56, .64, 1); --out: cubic-bezier(.22, 1, .36, 1);
--zh: 'GW Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
--outline: 0 1px 0 var(--k), 1px 0 0 var(--k), -1px 0 0 var(--k), 0 -1px 0 var(--k), 1px 1px 0 var(--k), -1px 1px 0 var(--k), 0 2px 0 var(--k);
font-family: var(--zh); color: #fff;
-webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
touch-action: none;
}
.iw-touch *, .iw-rotate * { box-sizing: border-box; }
.iw-touch svg, .iw-rotate svg { display: block; width: 100%; height: 100%; overflow: visible; }
.iw-touch { position: absolute; inset: 0; z-index: 15; overflow: hidden; pointer-events: none; visibility: hidden; opacity: 0;
transition: opacity .25s var(--out), visibility 0s linear .25s; }
.iw-touch.is-on { pointer-events: auto; visibility: visible; opacity: var(--ta, 1); transition: opacity .25s var(--out), visibility 0s; }
.iw-touch__safe { position: absolute; left: env(safe-area-inset-left, 0px); right: env(safe-area-inset-right, 0px); top: env(safe-area-inset-top, 0px); bottom: env(safe-area-inset-bottom, 0px); visibility: hidden; pointer-events: none; }
.iw-touch__ghost, .iw-touch__stick { position: absolute; width: 0; height: 0; pointer-events: none; }
.iw-touch__ghost { opacity: .5; transition: opacity .2s; }
.iw-touch__stick { left: 0; top: 0; opacity: 0; transition: opacity .12s; will-change: transform; }
.iw-touch.is-stick .iw-touch__stick { opacity: 1; transition: none; }
.iw-touch.is-stick .iw-touch__ghost { opacity: 0; transition: opacity .08s; }
.iw-touch__base { position: absolute; left: calc(var(--sd) / -2); top: calc(var(--sd) / -2); width: var(--sd); height: var(--sd); border-radius: 50%;
background: rgba(12, 13, 15, .22); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), 0 0 0 2.5px var(--k); }
.iw-touch__base::before { content: ''; position: absolute; inset: 26%; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .38); }
.iw-touch__knob { position: absolute; left: calc(var(--kd) / -2); top: calc(var(--kd) / -2); width: var(--kd); height: var(--kd); border-radius: 50%; will-change: transform;
background: #eceef1; box-shadow: inset 0 -3px 0 rgba(8, 9, 11, .18), 0 0 0 2.5px var(--k), 0 3px 0 2.5px var(--k); }
.iw-touch__stick.is-run .iw-touch__base::before { border-color: rgba(255, 255, 255, .8); border-style: solid; }
.iw-touch__stick.is-run .iw-touch__knob { background: #fff; }
.iw-touch__stick.is-sprint .iw-touch__base { box-shadow: inset 0 0 0 3px var(--fn), 0 0 0 2.5px var(--k); }
.iw-touch__stick.is-sprint .iw-touch__knob, .iw-touch.is-runlock .iw-touch__ghost .iw-touch__knob { background: var(--fn); }
.iw-touch__run, .iw-touch__lock { position: absolute; left: 0; display: flex; align-items: center; gap: 3px; padding: 3px 9px 4px; white-space: nowrap;
font: 900 calc(11.5px * var(--tk)) / 1 var(--zh); letter-spacing: .06em; transform: translateX(-50%) skewX(-12deg);
background: var(--k); color: #fff; box-shadow: 0 0 0 2px var(--k), 2px 3px 0 2px var(--k); opacity: 0; transition: opacity .12s; }
.iw-touch__run > *, .iw-touch__lock > * { transform: skewX(12deg); }
.iw-touch__run { top: calc(var(--sd) / -2 - 30px); background: var(--fn); color: var(--k); }
.iw-touch__run svg { width: 14px; height: 14px; }
.iw-touch__lock { top: calc(var(--sd) / -2 - 62px); }
.iw-touch__stick.is-sprint .iw-touch__run { opacity: 1; }
.iw-touch__stick.is-sprint .iw-touch__lock { opacity: .7; }
.iw-touch__stick.is-arm .iw-touch__run { opacity: 0; }
.iw-touch__stick.is-arm .iw-touch__lock, .iw-touch.is-runlock .iw-touch__ghost .iw-touch__lock { opacity: 1; background: var(--fn); color: var(--k); }
.iw-touch.is-runlock .iw-touch__ghost { opacity: 1; }
.iw-touch.is-runlock .iw-touch__ghost .iw-touch__knob { translate: 0 calc(var(--sd) * -.3); }
.iw-touch.is-runlock .iw-touch__ghost .iw-touch__lock { top: calc(var(--sd) / -2 - 34px); }
.iw-tb { position: absolute; left: 0; top: 0; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
width: 56px; height: 56px; border-radius: 50%; color: #fff; background: rgba(12, 13, 15, .36);
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .72), 0 0 0 2.5px var(--k), 0 3px 0 2.5px var(--k);
transition: scale .22s var(--spring), background-color .12s, opacity .2s; }
.iw-tb.is-off { display: none !important; }
.iw-touch:not(.is-net) .iw-tb--chat { display: none !important; }
.iw-tb__ico { position: relative; display: block; width: 40%; height: 40%; filter: drop-shadow(0 1.5px 0 var(--k)); pointer-events: none; }
.iw-tb__l { position: relative; display: block; font: 900 calc(12px * var(--tk)) / 1 var(--zh); letter-spacing: .04em; white-space: nowrap; pointer-events: none; text-shadow: var(--outline); }
.iw-tb.is-on { scale: .9; transition: scale .05s, background-color .05s; background-color: var(--fn); color: var(--k); }
.iw-tb.is-on .iw-tb__l, .iw-tb.is-latched .iw-tb__l { text-shadow: none; }
.iw-tb.is-on .iw-tb__ico, .iw-tb.is-latched .iw-tb__ico { filter: none; }
.iw-tb.is-latched, .iw-tb.is-active { background-color: var(--fn); color: var(--k); }
.iw-tb--fire, .iw-tb--lfire { background: rgba(12, 13, 15, .30); }
:is(.iw-tb--fire, .iw-tb--lfire)::before, :is(.iw-tb--fire, .iw-tb--lfire)::after { content: ''; position: absolute; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .32); pointer-events: none; }
:is(.iw-tb--fire, .iw-tb--lfire)::before { inset: 16%; } :is(.iw-tb--fire, .iw-tb--lfire)::after { inset: 31%; border-color: rgba(255, 255, 255, .2); }
:is(.iw-tb--fire, .iw-tb--lfire) .iw-tb__ico { width: 30%; height: 30%; } .iw-tb--fire .iw-tb__l { font-size: calc(16px * var(--tk)); } .iw-tb--lfire .iw-tb__l { font-size: calc(12px * var(--tk)); }
:is(.iw-tb--fire, .iw-tb--lfire).is-on { scale: .94; }
.iw-tb--ads { background: rgba(12, 13, 15, .30); } .iw-tb--ads .iw-tb__l { font-size: calc(13px * var(--tk)); }
.iw-tb--throw .iw-tb__l, .iw-tb--heal .iw-tb__l, .iw-tb--swap .iw-tb__l, .iw-tb--spear .iw-tb__l, .iw-tb--descend .iw-tb__l, .iw-tb--hook .iw-tb__l { font-size: calc(11px * var(--tk)); }
.iw-tb--saber .iw-tb__l { font-size: calc(10.5px * var(--tk)); letter-spacing: 0; }
.iw-tb--sprint { display: none !important; }
.iw-touch:not(.has-rqping) .iw-tb--ping { display: none !important; }
.iw-touch__row { position: absolute; display: none; }
.iw-touch__sys { display: none; }
.iw-tb--bag, .iw-tb--map, .iw-tb--pause, .iw-tb--lock, .iw-tb--slock, .iw-tb--chat { border-radius: 0; background: var(--k); box-shadow: none; gap: 0;
clip-path: polygon(9px 0, 100% 0, 100% 100%, 0 100%, 0 9px); }
:is(.iw-tb--bag, .iw-tb--map, .iw-tb--pause, .iw-tb--lock, .iw-tb--slock, .iw-tb--chat)::before { content: ''; position: absolute; inset: 2.5px; background: rgba(40, 42, 48, .86);
clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px); }
:is(.iw-tb--bag, .iw-tb--map, .iw-tb--pause, .iw-tb--lock, .iw-tb--slock, .iw-tb--chat) .iw-tb__ico { width: 46%; height: 46%; }
:is(.iw-tb--bag, .iw-tb--map, .iw-tb--pause, .iw-tb--lock, .iw-tb--slock, .iw-tb--chat) .iw-tb__l { font-size: calc(10.5px * var(--tk)); }
:is(.iw-tb--bag, .iw-tb--map, .iw-tb--pause, .iw-tb--lock, .iw-tb--slock, .iw-tb--chat):is(.is-on, .is-latched)::before { background: var(--fn); }
.iw-tb__liq { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; pointer-events: none; }
.iw-tb__lvl { transform: translateY(98px); transition: transform .25s var(--out); }
.iw-tb__wave { fill: var(--ink, var(--a)); animation: iw-wave 1.6s linear infinite; }
.iw-tb__wave2 { fill: var(--ink, var(--a)); opacity: .45; translate: -12px -4px; animation: iw-wave 2.3s linear infinite reverse; }
.iw-tb--ult .iw-tb__liq { opacity: .6; }
.iw-tb__cd { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; color: #fff; font-variant-numeric: tabular-nums;
font: 900 calc(22px * var(--tk)) / 1 'GW Cond', 'GW Sans', 'PingFang SC', sans-serif; text-shadow: var(--outline), 0 3px 0 var(--k); }
.iw-tb--skill.is-cd .iw-tb__ico, .iw-tb--skill.is-cd .iw-tb__l { opacity: .3; }
.iw-tb__ring { position: absolute; inset: -7px; border-radius: 50%; pointer-events: none;
background: conic-gradient(var(--ink, var(--a)) calc(var(--p, 100) * 1%), rgba(12, 13, 15, .6) 0);
-webkit-mask: radial-gradient(closest-side, transparent calc(100% - 4.5px), #000 calc(100% - 4px)); mask: radial-gradient(closest-side, transparent calc(100% - 4.5px), #000 calc(100% - 4px)); }
.iw-tb__seg { position: absolute; inset: 0; pointer-events: none; fill: none; }
.iw-tb__seg .is-k { stroke: var(--k); stroke-width: 10; }
.iw-tb__seg .is-v { stroke: rgba(255, 255, 255, .24); stroke-width: 5.5; transition: stroke .2s; }
.iw-tb__seg .is-v.is-on { stroke: var(--ink, var(--a)); }
.iw-tb--ult.is-ready .iw-tb__seg .is-v { stroke: #fff; }
.iw-tb--ult:not(.is-ready) .iw-tb__ico { opacity: .7; }
.iw-tb--skill.is-ready, .iw-tb--ult.is-ready { background: var(--ink, var(--a)); }
.iw-tb.is-busy { opacity: .6; }
.iw-tb--skill.is-ready.is-on, .iw-tb--ult.is-ready.is-on { background: var(--ink, var(--a)); color: #fff; scale: .92; }
.iw-tb__halo { position: absolute; inset: -13px; border-radius: 50%; border: 3px solid var(--ink, var(--a)); pointer-events: none; opacity: 0;
box-shadow: 0 0 0 2px var(--k), inset 0 0 0 2px var(--k), inset 0 0 0 3.5px rgba(255, 255, 255, .7); }
.iw-tb--ult .iw-tb__halo { inset: -17px; border-width: 4px; }
.iw-tb--skill.is-ready .iw-tb__halo, .iw-tb--ult.is-ready .iw-tb__halo { opacity: 1; animation: iw-tb-breath 1.6s ease-in-out infinite; }
.iw-tb--skill.is-flash { animation: iw-tb-flash .5s var(--spring); }
.iw-tb--ult.is-flash { animation: iw-tb-flashq .62s var(--spring); }
@keyframes iw-tb-breath { 50% { scale: 1.07; opacity: .5; } }
@keyframes iw-tb-flash { 0% { scale: 1.12; box-shadow: inset 0 0 0 2px #fff, 0 0 0 5px #fff, 0 0 0 7.5px var(--k); } }
@keyframes iw-tb-flashq { 0% { scale: 1.18; box-shadow: inset 0 0 0 2px #fff, 0 0 0 6px #fff, 0 0 0 9px var(--k); } }
.iw-tb__rays { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.iw-tb__rays i { position: absolute; left: 50%; top: 50%; width: 4px; height: 13px; margin: -6.5px 0 0 -2px; background: #fff; box-shadow: 0 0 0 1.5px var(--k);
transform: rotate(var(--a)) translateY(calc(var(--tk) * -56px)); }
.iw-tb--ult.is-flash .iw-tb__rays { animation: iw-tb-rays .7s ease-out; }
@keyframes iw-tb-rays { 0% { opacity: 1; scale: .85; } 100% { opacity: 0; scale: 1.3; } }
.iw-touch__utag, .iw-touch__ctag { position: absolute; padding: 3px 9px 4px; white-space: nowrap; pointer-events: none; opacity: 0;
font: 900 calc(12px * var(--tk)) / 1 var(--zh); letter-spacing: .06em; box-shadow: 0 0 0 2px var(--k), 2px 3px 0 2px var(--k); }
.iw-touch__utag { translate: -100% -100%; background: var(--fn); color: var(--k); transform: skewX(-12deg); }
.iw-touch__utag > span { display: inline-block; transform: skewX(12deg); }
.iw-touch__utag.is-on { animation: iw-utag 2.4s both; }
@keyframes iw-utag { 0% { opacity: 0; scale: .6; } 8% { opacity: 1; scale: 1.08; } 14%, 85% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1; } }
.iw-touch__combo { position: absolute; height: 16px; translate: -50% -50%; display: flex; align-items: center; justify-content: space-evenly; pointer-events: none; opacity: 0; transition: opacity .15s; }
.iw-touch__combo i { width: 11px; height: 11px; border: solid var(--ink, var(--a)); border-width: 4px 4px 0 0; rotate: 45deg;
filter: drop-shadow(1.2px 0 0 var(--k)) drop-shadow(-1.2px 0 0 var(--k)) drop-shadow(0 1.2px 0 var(--k)) drop-shadow(0 -1.2px 0 var(--k));
animation: iw-chev .9s linear infinite; }
.iw-touch__combo i:nth-child(2) { animation-delay: .15s; } .iw-touch__combo i:nth-child(3) { animation-delay: .3s; }
@keyframes iw-chev { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.iw-touch__ctag { translate: -100% -50%; background: var(--k); color: #fff; transform: skewX(-12deg); }
.iw-touch.is-combo .iw-touch__combo, .iw-touch.is-combo .iw-touch__ctag { opacity: 1; }
.iw-tb--interact { flex-direction: row; gap: 6px; border-radius: 0; transform: skewX(-12deg); background: var(--fn); color: var(--k);
box-shadow: 0 0 0 2.5px var(--k), 3px 4px 0 2.5px var(--k); transform-origin: 100% 50%; }
.iw-tb--interact > * { transform: skewX(12deg); }
.iw-tb--interact .iw-tb__ico { width: calc(20px * var(--tk)); height: calc(20px * var(--tk)); filter: none; }
.iw-tb--interact .iw-tb__l { font-size: calc(16px * var(--tk)); letter-spacing: .06em; text-shadow: none; }
.iw-tb--interact.is-long .iw-tb__l { font-size: calc(14px * var(--tk)); letter-spacing: .02em; }
.iw-tb--interact.is-idle { opacity: 0; visibility: hidden; pointer-events: none; }
.iw-tb--interact.is-ready { animation: iw-tb-ready .4s var(--spring); }
.iw-tb--interact.is-on { scale: .93; background: var(--fn); }
.iw-tb--interact:is(.is-cue-execute, .is-cue-revive, .is-cue-struggle) { scale: 1.12; }
.iw-tb--interact:is(.is-cue-execute, .is-cue-revive, .is-cue-struggle) .iw-tb__l { font-size: calc(18px * var(--tk)); letter-spacing: .12em; }
.iw-tb--interact.is-cue-execute { animation: iw-tb-ready .4s var(--spring), iw-tbcue-pulse .5s ease-in-out infinite .4s; }
.iw-tb--interact.is-cue-revive { background: #47e08a; }
.iw-tb--interact.is-cue-struggle { background: #ff4a3d; color: #fff; animation: iw-tbcue-shake .25s linear infinite; }
.iw-tb--interact.is-cue-struggle .iw-tb__l { text-shadow: var(--outline); }
@keyframes iw-tb-ready { from { scale: .7; } }
@keyframes iw-tbcue-pulse { 50% { scale: 1.2; } }
@keyframes iw-tbcue-shake { 25% { translate: calc(-50% - 2px) -50%; } 75% { translate: calc(-50% + 2px) -50%; } }
.iw-tb--swapbar { border-radius: 999px; background: transparent; box-shadow: none; }
.iw-tb--swapbar > .iw-tb__ico, .iw-tb--swapbar > .iw-tb__l { display: none; }
.iw-tb--swapbar.is-on { scale: 1; background: transparent; }
.iw-tb__chip { position: absolute; right: 0; top: 50%; translate: 50% -50%; width: calc(30px * var(--tk)); height: calc(30px * var(--tk)); padding: 6px; border-radius: 50%;
background: rgba(12, 13, 15, .55); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7), 0 0 0 2px var(--k); pointer-events: none; }
.iw-tb--swapbar.is-on .iw-tb__chip { background: var(--fn); color: var(--k); }
#ui-root.is-touch .rh.is-touch .rh-gun { left: 50%; right: auto; translate: -50% 0; max-width: min(300px, 40vw); }
.iw-rotate { position: absolute; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px; pointer-events: auto;
background: radial-gradient(ellipse 90% 60% at 50% 40%, rgba(var(--a-rgb), .16), transparent 70%), linear-gradient(170deg, #1f1a2c, #0d1020); }
.iw-rotate.is-on { display: grid; animation: iw-rotate-in .3s var(--out) both; }
@keyframes iw-rotate-in { from { opacity: 0; } }
.iw-rotate__card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; max-width: 320px; }
.iw-rotate__glyph { width: 112px; height: 112px; color: #fff; filter: drop-shadow(0 4px 0 var(--k)); }
.iw-rotate__phone { transform-box: view-box; transform-origin: 48px 45px; animation: iw-rotate-phone 2.6s var(--spring) infinite; }
.iw-rotate__arc { stroke: var(--a); }
@keyframes iw-rotate-phone { 0%, 18% { transform: rotate(0deg); } 50%, 82% { transform: rotate(-90deg); } 100% { transform: rotate(0deg); } }
.iw-rotate__t { margin: 0; font-weight: 800; font-size: 22px; line-height: 1.3; letter-spacing: .08em; text-shadow: 0 2px 0 var(--k); }
.iw-rotate__s { margin: 0; font-weight: 600; font-size: 13px; line-height: 1.5; color: #c3bdd6; letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) {
.iw-rotate__phone { animation: none; transform: rotate(-90deg); }
.iw-tb__wave, .iw-tb__wave2, .iw-touch__combo i, .iw-tb--interact.is-cue-execute, .iw-tb--interact.is-cue-struggle { animation: none; }
.iw-tb--skill.is-ready .iw-tb__halo, .iw-tb--ult.is-ready .iw-tb__halo { animation: none; }
}
.iw-touch:not(.is-on) :is(.iw-tb__halo, .iw-touch__combo i) { animation: none; }
.iw-tedit { position: absolute; inset: 0; z-index: 40; pointer-events: auto; touch-action: none; --k: #08090b; --fn: #ffd23f;
background: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 40px 40px,
radial-gradient(ellipse at 50% 40%, #2a2e36, #0c0d0f 75%); }
.iw-tedit .iw-tedit__keys { z-index: 1; }
.iw-tedit__k { cursor: grab; }
.iw-tedit__k.is-sel { outline: 3px dashed var(--fn); outline-offset: 7px; }
.iw-tedit__k.is-hit { outline: 3px dashed #ff4a3d; outline-offset: 4px; }
.iw-tedit__k.is-hit.is-sel { outline-color: #ff4a3d; }
.iw-tedit__k.iw-tb--interact { opacity: 1; visibility: visible; }
.iw-tedit__panel { position: absolute; z-index: 2; left: calc(10px + env(safe-area-inset-left, 0px)); top: calc(8px + env(safe-area-inset-top, 0px)); max-width: calc(100% - 300px);
display: flex; flex-direction: column; gap: 6px; padding: 7px 9px; background: rgba(26, 28, 32, .95); color: #fff;
box-shadow: 0 0 0 2.5px var(--k), 4px 5px 0 2.5px var(--k); font: 900 13px / 1 'GW Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
.iw-tedit__row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.iw-tedit__row > i { width: 10px; }
.iw-tedit__tabs, .iw-tedit__presets { display: flex; gap: 4px; }
.iw-tedit__title { padding: 6px 9px; background: var(--fn); color: var(--k); transform: skewX(-12deg); }
.iw-tedit button { min-width: 34px; min-height: 34px; padding: 0 10px; border: 0; color: #fff; background: #30343a; font: inherit; cursor: pointer;
transform: skewX(-12deg); box-shadow: 0 0 0 2px var(--k); }
.iw-tedit button.is-on, .iw-tedit button.is-main { background: var(--fn); color: var(--k); }
.iw-tedit button:active { scale: .94; }
.iw-tedit__size, .iw-tedit__alpha { min-width: 42px; text-align: center; font-family: 'GW Cond', 'GW Sans', sans-serif; font-size: 15px; }
.iw-tedit__sel { color: #c9ced6; }
