.iw-ui {
--ffd: 'Titan One', 'Rubik', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Source Han Sans SC', sans-serif;
--ffb: 'Rubik', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Source Han Sans SC', system-ui, sans-serif;
--rb: linear-gradient(120deg, #ff6fb1, #ffb12e, #6be3a4, #4fb8ff, #a97bff, #ff6fb1);
}
@keyframes iw-rb-flow { to { background-position: 200% 50%; } }
@keyframes iw-pay-spin { to { rotate: 360deg; } }
@keyframes iw-pay-pulse { 50% { opacity: .35; scale: .8; } }
@keyframes iw-pop-in { from { opacity: 0; scale: .94; } }
.iw-cur { position: relative; display: inline-block; flex: none; width: 1.6em; height: 1.6em; }
.iw-cur svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 0 var(--ink)); }
.iw-cur--dust { color: #c79bff; } .iw-cur--bei { color: #ffd54a; }
.iw-cur__zeng { position: absolute; right: -.35em; bottom: -.2em; padding: .12em .22em .1em; border-radius: .35em; background: #fff; color: #e2337a;
font: 900 .5em/1 var(--ffb); box-shadow: 0 0 0 1.5px var(--k); }
.iw-price { display: inline-flex; align-items: center; gap: .3em; white-space: nowrap; font: 900 1em/1 var(--ffd); }
.iw-price .iw-cur { width: 1.35em; height: 1.35em; }
.iw-price s { opacity: .55; font: 700 .75em/1 var(--ffb); }
.iw-price em { margin-left: .2em; padding: .2em .4em; border-radius: .4em; background: var(--paper-3); font: 800 .62em/1 var(--ffb); font-style: normal; }
.iw-wbar { display: flex; align-items: center; justify-content: flex-end; gap: calc(var(--u) * .55); pointer-events: auto; }
.iw-wpill { --q: #ffb12e; position: relative; display: inline-flex; align-items: center; gap: .45em; height: max(28px, calc(var(--u) * 3)); padding: 0 .85em 0 .35em; border: 0; border-radius: 999px;
background: var(--paper); color: var(--ink); cursor: pointer; font: 900 max(12.5px, calc(var(--u) * 1.15))/1 var(--ffd); font-variant-numeric: tabular-nums;
box-shadow: inset 0 0 0 2.5px var(--q), 0 0 0 2px var(--ink), 0 3px 0 2px var(--ink); transition: transform .35s var(--spring); -webkit-tap-highlight-color: transparent; outline: none; }
.iw-wpill .iw-cur { width: 1.75em; height: 1.75em; }
.iw-wpill:hover, .iw-wpill.is-focus { transform: translateY(-2px) scale(1.05); }
.iw-wpill.is-bump { animation: iw-money-bump .5s var(--spring2); }
.iw-wpill--gem { padding-right: .35em; background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--rb) border-box; background-size: 100% 100%, 200% 100%;
border: 2px solid transparent; box-shadow: 0 0 0 2px var(--ink), 0 3px 0 2px var(--ink); animation: iw-rb-flow 6s linear infinite; }
.iw-wpill--gem.is-bump { animation: iw-money-bump .5s var(--spring2), iw-rb-flow 6s linear infinite; }
.iw-wpill__nums { display: inline-flex; align-items: baseline; gap: .5em; }
.iw-wpill__zeng { display: inline-flex; align-items: center; gap: .25em; padding-left: .5em; border-left: 1.5px solid rgba(var(--ink-rgb), .2); color: #d4307a; font-size: .86em; }
.iw-wpill__zeng em { padding: .14em .25em .12em; border-radius: .35em; background: #ff6fb1; color: #fff; font: 900 .72em/1 var(--ffb); font-style: normal; }
.iw-wpill--gem.no-free .iw-wpill__zeng { display: none; }
.iw-wpill__plus { display: grid; place-items: center; width: 1.55em; height: 1.55em; margin-left: .15em; border-radius: 50%; background: var(--sun); color: var(--ink); rotate: 45deg; box-shadow: 0 0 0 2px var(--ink); }
.iw-wpill__plus svg { width: 62%; height: 62%; }
.iw-wbar.is-out .iw-wpill--gem .iw-wpill__n { font: 900 .9em/1 var(--ffb); color: #c98a0c; }
.iw-wpill__float { position: absolute; right: .6em; top: -.3em; color: #3ddc84; font: 900 1em/1 var(--ffd); -webkit-text-stroke: .18em var(--k); paint-order: stroke fill; pointer-events: none; animation: iw-wfloat 1.25s var(--out) forwards; }
.iw-wpill__float.is-neg { color: #ff9aa9; }
@keyframes iw-wfloat { 0% { opacity: 0; translate: 0 .6em; scale: .6; } 20% { opacity: 1; scale: 1.15; } 100% { opacity: 0; translate: 0 -1.8em; scale: 1; } }
.iw-main__wallet { position: absolute; right: calc(var(--u) * 3.2 + var(--sar)); top: calc(var(--u) * 2.2 + var(--sat)); }
.iw-main.has-wallet .iw-main__side { top: calc(var(--u) * 6.6 + var(--sat)); gap: calc(var(--u) * .9); }
.iw-dock { display: flex; flex-direction: column; gap: calc(var(--u) * .6); }
.iw-dock__ban { --h: #6fb7ff; position: relative; display: flex; align-items: flex-end; height: calc(var(--u) * 8.4); padding: calc(var(--u) * .8) calc(var(--u) * 1.1); border: 0; border-radius: calc(var(--u) * 1.3);
overflow: hidden; isolation: isolate; cursor: pointer; text-align: left; color: #fff; background: var(--sky); outline: none; -webkit-tap-highlight-color: transparent;
transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-.8deg);
box-shadow: 0 0 0 var(--bw) var(--ink), 0 var(--drop) 0 var(--bw) var(--ink); transition: transform .4s var(--spring), box-shadow .25s; }
.iw-dock__art { position: absolute; inset: 0; z-index: -2; background: var(--bg) 70% 30% / cover no-repeat, linear-gradient(120deg, var(--h), #2b1f55); transition: scale .6s var(--out); }
.iw-dock__ban::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(34, 32, 58, .55) 0%, rgba(34, 32, 58, .18) 55%, rgba(34, 32, 58, 0) 80%); }
.iw-dock__ban.is-focus, .iw-dock__ban:hover { transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.03); box-shadow: 0 0 0 calc(var(--u) * .2) #fff, 0 0 0 calc(var(--u) * .4) var(--k), 0 0 calc(var(--u) * 2) var(--h); }
.iw-dock__ban.is-focus .iw-dock__art { scale: 1.06; }
.iw-dock__shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 45%, transparent 55%); background-size: 250% 100%; animation: iw-shine 3.6s ease-in-out infinite; pointer-events: none; }
@keyframes iw-shine { 0%, 60% { background-position: 130% 0; } 100% { background-position: -60% 0; } }
.iw-dock__tag { position: absolute; left: calc(var(--u) * .8); top: calc(var(--u) * .7); padding: .3em .55em .28em; border-radius: .45em; background: #ff4d6a; color: #fff; rotate: -4deg;
font: 900 max(10px, calc(var(--u) * .8))/1 var(--ffb); box-shadow: 0 0 0 2px var(--k), 0 2px 0 2px var(--k); animation: iw-new 1.6s ease-in-out infinite; }
.iw-dock__txt { display: flex; flex-direction: column; gap: .3em; }
.iw-dock__txt b { font-size: max(18px, calc(var(--u) * 2.4)); line-height: 1; color: #fff; -webkit-text-stroke: .18em var(--ink); paint-order: stroke fill; }
.iw-dock__txt small { font: 800 max(10.5px, calc(var(--u) * .85))/1.1 var(--ffb); text-shadow: 0 0 2px var(--ink), 0 1px 0 var(--ink), 1px 0 0 var(--ink), -1px 0 0 var(--ink); }
.iw-dock__go { position: absolute; right: calc(var(--u) * .9); bottom: calc(var(--u) * .9); display: grid; place-items: center; width: calc(var(--u) * 2.4); height: calc(var(--u) * 2.4); min-width: 22px; min-height: 22px; border-radius: 50%; background: #fff; color: var(--k); box-shadow: 0 2px 0 var(--ink); }
.iw-dock__go svg { width: 60%; height: 60%; }
.iw-dock__art.gx-slide { opacity: 0; transition: opacity .7s, scale .6s var(--out); }
.iw-dock__art.gx-slide.is-on { opacity: 1; }
.gx-dock-pips { position: absolute; right: calc(var(--u) * 4); bottom: calc(var(--u) * 1); display: flex; gap: calc(var(--u) * .3); pointer-events: none; }
.gx-dock-pips i { width: max(6px, calc(var(--u) * .7)); height: max(4px, calc(var(--u) * .32)); background: rgba(255, 255, 255, .4); box-shadow: 0 0 0 1.5px rgba(5, 5, 6, .8); transform: skewX(-12deg); transition: background-color .3s, width .3s; }
.gx-dock-pips i.is-on { width: max(12px, calc(var(--u) * 1.4)); background: #fff; }
.iw-dock__row { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: calc(var(--u) * .55); }
.iw-dock__tile { position: relative; display: flex; align-items: center; justify-content: center; gap: .45em; height: max(34px, calc(var(--u) * 3.6)); padding: 0 .6em; border: 0; border-radius: calc(var(--u) * 1);
background: var(--paper); color: var(--ink); cursor: pointer; font: 900 max(12px, calc(var(--u) * 1.1))/1 var(--ffd); outline: none; -webkit-tap-highlight-color: transparent;
box-shadow: 0 0 0 var(--bw) var(--ink), 0 var(--drop) 0 var(--bw) var(--ink); transition: transform .35s var(--spring), background .2s; }
.iw-dock__tile > i { display: block; width: 1.6em; height: 1.6em; color: #e2337a; }
.iw-dock__tile > i svg { width: 100%; height: 100%; }
.iw-dock__tile.is-focus, .iw-dock__tile:hover { transform: translateY(-2px) scale(1.05); background: var(--sun); color: var(--ink); }
.iw-dock__badge { position: absolute; right: -.4em; top: -.75em; padding: .28em .45em .26em; border-radius: .45em; background: var(--rb); background-size: 200% 100%; color: #fff; white-space: nowrap; rotate: 6deg;
font: 900 max(9.5px, calc(var(--u) * .7))/1 var(--ffb); font-style: normal; text-shadow: 0 1px 0 var(--ink); box-shadow: 0 0 0 2px var(--k); animation: iw-rb-flow 3s linear infinite, iw-new 1.6s ease-in-out infinite; }
.iw-pay__scrim { position: absolute; inset: 0; pointer-events: none;
background: linear-gradient(90deg, rgba(34, 32, 58, .46), rgba(34, 32, 58, .3) 55%, rgba(34, 32, 58, .22));
animation: iw-fade .35s both; }
.iw-pay__top { position: absolute; right: calc(var(--u) * 3.4 + var(--sar)); top: calc(var(--u) * 2.6 + var(--sat)); }
.iw-paytabs .iw-tab { font-size: var(--fs-s); white-space: nowrap; }
.iw-tab__dot { padding: .2em .4em; border-radius: 999px; background: var(--coral); color: #fff; font: 900 .7em/1 var(--ffb); font-style: normal; }
.iw-pay .iw-btoasts { z-index: 45; }
.iw-thing { --q: #3d8bff; position: relative; display: block; width: 100%; height: 100%; }
.iw-thing__ink { position: absolute; left: 50%; top: 48%; width: 92%; aspect-ratio: 1; translate: -50% -50%; }
.iw-thing__ink svg { width: 100%; height: 100%; }
.iw-thing.is-q-rainbow .iw-thing__ink svg path, .iw-thing.is-q-rainbow .iw-thing__ink svg circle { fill: url(#gw-rb); }
.iw-thing__art { position: absolute; left: 18%; right: 18%; top: 16%; bottom: 20%; display: grid; place-items: center; color: var(--ink); }
.iw-thing__art svg { width: 100%; height: 100%; filter: drop-shadow(0 calc(var(--u) * .16) 0 var(--ink)); }
.iw-thing__img { position: absolute; left: 8%; right: 8%; top: 12%; bottom: 14%; width: 84%; height: 74%; object-fit: contain; filter: drop-shadow(0 3px 0 var(--ink)); }
.iw-thing__glyph { position: absolute; left: 50%; top: 46%; translate: -50% -50%; font-size: calc(var(--u) * 2.6); rotate: -6deg; }
.iw-paymodal { z-index: 44; }
.iw-paycard { width: min(calc(var(--u) * 56), 94vw); max-height: 94vh; display: flex; flex-direction: column; overflow: hidden; }
.iw-paycard .iw-modal__btns { flex: none; flex-wrap: wrap; }
.iw-rwcard { width: min(calc(var(--u) * 70), 96vw); padding-top: calc(var(--u) * 2.6); background: radial-gradient(120% 80% at 50% 0%, var(--sun-light), var(--paper) 60%); overflow: visible; }
.iw-rwcard .iw-modal__title { position: relative; z-index: 2; font-size: calc(var(--u) * 4.2); animation: iw-rw-title .7s var(--spring2) both; }
.iw-rwcard.is-rainbow .iw-modal__title { background: var(--rb); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0; text-shadow: none; filter: drop-shadow(0 .06em 0 var(--k)) drop-shadow(0 0 .04em var(--k)); animation: iw-rw-title .7s var(--spring2) both, iw-rb-flow 3s linear infinite; }
@keyframes iw-rw-title { from { opacity: 0; scale: .3; rotate: -8deg; } 60% { opacity: 1; } }
.iw-rwcard .iw-modal__text { position: relative; z-index: 2; margin: calc(var(--u) * .5) auto calc(var(--u) * 1.4); }
.iw-ui .iw-modal.iw-rwmodal { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6, 7, 8, .8); }
.iw-rw-rays { position: absolute; left: 50%; top: calc(var(--u) * 4); width: calc(var(--u) * 60); aspect-ratio: 1; translate: -50% -50%; z-index: 0; pointer-events: none; opacity: .7;
background: repeating-conic-gradient(from 0deg, rgba(255, 194, 58, .5) 0 8deg, transparent 8deg 22deg); -webkit-mask-image: radial-gradient(circle, #000 10%, transparent 62%); mask-image: radial-gradient(circle, #000 10%, transparent 62%);
animation: iw-pay-spin 18s linear infinite; }
.iw-rw-rays.is-rainbow { background: repeating-conic-gradient(from 0deg, rgba(255, 111, 177, .35) 0 6deg, transparent 6deg 14deg, rgba(79, 184, 255, .35) 14deg 20deg, transparent 20deg 30deg); }
.iw-rw-rain { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; border-radius: inherit; }
.iw-rw-rain i { position: absolute; left: var(--x); top: -8%; width: calc(var(--u) * .9 * var(--s)); aspect-ratio: 1; rotate: var(--r); background: var(--rb); background-size: 300% 300%; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); opacity: 0;
animation: iw-rain 2.4s var(--d) cubic-bezier(.3, .1, .6, 1) 2 forwards; }
@keyframes iw-rain { 0% { opacity: 0; translate: 0 0; } 10% { opacity: 1; } 100% { opacity: 0; translate: calc(var(--u) * 2) calc(var(--u) * 46); rotate: calc(var(--r) + 300deg); } }
.iw-rw-grid { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: calc(var(--u) * 1); margin: 0 auto calc(var(--u) * 1.6); max-width: calc(var(--u) * 62); }
.iw-rwcard .iw-rw-fit { position: relative; z-index: 2; flex: 1 1 auto; min-height: 0; display: flex; justify-content: center; align-items: flex-start; }
.iw-rwcard .iw-rw-fit > .iw-rw-grid { flex: none; }
.iw-rwcard > .iw-modal__title, .iw-rwcard > .iw-modal__text { flex: none; }
.iw-rw { --q: #3d8bff; position: relative; width: calc(var(--u) * 10.5); padding: calc(var(--u) * .6) calc(var(--u) * .4) calc(var(--u) * .8); border-radius: calc(var(--u) * 1.2); background: var(--paper); color: var(--ink);
box-shadow: inset 0 0 0 calc(var(--u) * .2) var(--q), 0 0 0 2px var(--ink), 0 calc(var(--u) * .35) 0 2px var(--ink);
animation: iw-rw-in .55s var(--spring2) backwards; animation-delay: calc(var(--i) * 70ms); }
.iw-rw.is-q-rainbow { background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--rb) border-box; background-size: 100%, 200% 100%; border: calc(var(--u) * .2) solid transparent; box-shadow: 0 calc(var(--u) * .35) 0 var(--ink), 0 0 calc(var(--u) * 2.4) rgba(255, 140, 210, .4); animation: iw-rw-in .55s var(--spring2) backwards, iw-rb-flow 4s linear infinite; animation-delay: calc(var(--i) * 110ms + 220ms), 0s; }
@keyframes iw-rw-in { from { opacity: 0; scale: .2; rotate: -12deg; translate: 0 calc(var(--u) * 3); } 60% { opacity: 1; } }
.iw-rw .iw-thing { width: calc(var(--u) * 8); height: calc(var(--u) * 7); margin: 0 auto; }
.iw-rw__name { display: block; text-align: center; font: 800 max(11px, calc(var(--u) * .95))/1.15 var(--ffb); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iw-rw__n { display: block; margin-top: .3em; text-align: center; font: 900 max(15px, calc(var(--u) * 1.7))/1 var(--ffd); color: #fff; -webkit-text-stroke: .16em var(--k); paint-order: stroke fill; font-variant-numeric: tabular-nums; }
.iw-rw__n:empty { display: none; }
.iw-rw__tag { position: absolute; right: -.4em; top: -.6em; padding: .3em .5em; border-radius: .45em; background: #ff4d6a; color: #fff; rotate: 8deg; font: 900 max(10px, calc(var(--u) * .78))/1 var(--ffb); font-style: normal; box-shadow: 0 0 0 2px var(--k); }
.iw-rw-grid.is-many .iw-rw { width: calc(var(--u) * 9); }
.iw-topup__body { position: absolute; left: calc(var(--u) * 3.6 + var(--sal)); right: calc(var(--u) * 3.4 + var(--sar)); top: calc(var(--u) * 10.6); bottom: calc(var(--u) * 6.6 + var(--sab)); display: flex; gap: calc(var(--u) * 1.2); }
.iw-topup__panel { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: calc(var(--u) * .8); padding: calc(var(--u) * 1.2); }
.iw-tiers { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: calc(var(--u) * 1.1); }
.iw-tiers:has(.is-test) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.iw-tier { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: calc(var(--u) * .3); min-height: 0; padding: calc(var(--u) * .6) calc(var(--u) * .6) 0; border: 0;
border-radius: calc(var(--u) * 1.3); overflow: hidden; isolation: isolate; cursor: pointer; color: var(--ink); outline: none; -webkit-tap-highlight-color: transparent;
background: radial-gradient(90% 70% at 50% 35%, rgba(176, 108, 255, .2), transparent 70%), var(--paper);
transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
box-shadow: var(--lift); transition: transform .4s var(--spring), box-shadow .25s; }
.iw-tier.is-hover { transition: transform .18s var(--out), box-shadow .25s; }
.iw-tier::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--halftone); -webkit-mask-image: radial-gradient(120% 90% at 0 0, #000, transparent 45%); mask-image: radial-gradient(120% 90% at 0 0, #000, transparent 45%); }
.iw-tier.is-focus { z-index: 2; transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(calc(var(--u) * -.3)) scale(1.04);
box-shadow: 0 0 0 var(--bw) var(--ink), 0 calc(var(--drop) * 1.6) 0 var(--bw) var(--ink); }
.iw-tier.is-pick { animation: iw-ticket-pick .5s var(--spring); }
.iw-tier__glow { position: absolute; left: 50%; top: 40%; width: 70%; aspect-ratio: 1; translate: -50% -50%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 63, .5), transparent 65%); opacity: .6; transition: opacity .3s, scale .5s var(--spring); }
.iw-tier.is-focus .iw-tier__glow { opacity: 1; scale: 1.25; }
.iw-tier__art { flex: 1; min-height: 0; width: 70%; display: grid; place-items: center; transition: scale .45s var(--spring); }
.iw-tier__art svg { width: 100%; height: 100%; max-height: calc(var(--u) * 9); }
.iw-tier.is-focus .iw-tier__art { scale: 1.1; }
.iw-tier__amt { display: flex; align-items: baseline; gap: .3em; }
.iw-tier__amt b { font-size: max(18px, calc(var(--u) * 2.4)); line-height: 1; }
.iw-tier__amt small { font: 800 max(10.5px, calc(var(--u) * .85))/1 var(--ffb); opacity: .8; }
.iw-tier__bonus { min-height: 1.2em; padding: .22em .6em; border-radius: 999px; background: var(--rb); background-size: 200% 100%; color: #fff; font: 900 max(10.5px, calc(var(--u) * .82))/1 var(--ffb); text-shadow: 0 0 2px var(--ink), 0 1px 0 var(--ink); animation: iw-rb-flow 4s linear infinite; }
.iw-tier__bonus.is-plain { background: #ffd3e6; animation: none; color: #b0245e; text-shadow: none; }
.iw-tier__bonus.is-none { background: none; animation: none; }
.iw-tier__price { align-self: stretch; margin: calc(var(--u) * .35) calc(var(--u) * -.6) 0; padding: calc(var(--u) * .65) 0 calc(var(--u) * .7); background: var(--paper-2); color: var(--ink); text-align: center;
font: 900 max(15px, calc(var(--u) * 1.6))/1 var(--ffd); box-shadow: inset 0 3px 0 var(--ink); transition: background .2s, color .2s; }
.iw-tier.is-focus .iw-tier__price { background: var(--sun); color: var(--ink); }
.iw-tier__corner { position: absolute; right: calc(var(--u) * -2.6); top: calc(var(--u) * 1.1); z-index: 2; width: calc(var(--u) * 10); padding: .32em 0 .3em; rotate: 38deg; text-align: center;
background: var(--rb); background-size: 200% 100%; color: #fff; box-shadow: 0 0 0 2px var(--ink); animation: iw-rb-flow 3s linear infinite; text-shadow: 0 0 2px var(--ink), 0 1px 0 var(--ink); }
.iw-tier__corner b { display: block; font: 900 max(11px, calc(var(--u) * 1))/1 var(--ffd); }
.iw-tier__corner span { display: block; margin-top: .12em; font: 900 max(9.5px, calc(var(--u) * .78))/1 var(--ffb); }
.iw-tier__corner.is-test { background: #3d8bff; animation: none; }
.iw-tier.is-first { box-shadow: inset 0 0 0 3px #ff8cc6, 0 0 0 var(--bw) var(--ink), 0 var(--drop) 0 var(--bw) var(--ink); }
.iw-tier.is-test { background: linear-gradient(170deg, #e3f1ff, var(--paper)); }
.iw-tier.is-first.is-focus { box-shadow: inset 0 0 0 3px #ff8cc6, 0 0 0 var(--bw) var(--ink), 0 calc(var(--drop) * 1.6) 0 var(--bw) var(--ink); }
.iw-topup__side { flex: none; width: calc(var(--u) * 27); display: flex; flex-direction: column; gap: calc(var(--u) * .9); }
.iw-sub { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; align-items: center; gap: calc(var(--u) * .6) calc(var(--u) * .9); padding: calc(var(--u) * 1.1) calc(var(--u) * 1.2); border: 0;
border-radius: calc(var(--u) * 1.4); cursor: pointer; text-align: left; color: var(--ink); outline: none; -webkit-tap-highlight-color: transparent; overflow: hidden; isolation: isolate;
background: linear-gradient(150deg, var(--sky-light), var(--paper) 72%); box-shadow: 0 0 0 var(--bw) var(--ink), 0 var(--drop) 0 var(--bw) var(--ink); transition: transform .4s var(--spring), box-shadow .25s; }
.iw-sub--pass { background: linear-gradient(150deg, #e2ccff, var(--paper) 72%); }
.iw-sub.is-focus, .iw-sub:hover { transform: translateY(calc(var(--u) * -.25)) scale(1.025); box-shadow: 0 0 0 var(--bw) var(--ink), 0 calc(var(--drop) * 1.6) 0 var(--bw) var(--ink); }
.iw-sub::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .6) 50%, transparent 60%); background-size: 250% 100%; animation: iw-shine 4.2s ease-in-out infinite; }
.iw-sub__ico { grid-row: 1 / 3; width: calc(var(--u) * 6); height: calc(var(--u) * 6); min-width: 40px; min-height: 40px; }
.iw-sub__ico svg { width: 100%; height: 100%; filter: drop-shadow(0 3px 0 var(--ink)); }
.iw-sub__txt { display: flex; flex-direction: column; gap: .35em; min-width: 0; }
.iw-sub__txt b { font: 900 max(15px, calc(var(--u) * 1.6))/1 var(--ffd); }
.iw-sub__txt small { font: 700 var(--fs-xs)/1.25 var(--ffb); opacity: .9; }
.iw-sub__txt em { font: 900 var(--fs-xs)/1.2 var(--ffb); font-style: normal; color: #b8730a; }
.iw-sub.is-on .iw-sub__txt em { color: var(--jade-deep); }
.iw-sub__price { justify-self: start; padding: .45em 1em; border-radius: 999px; background: var(--sun); color: var(--ink); font: 900 max(13px, calc(var(--u) * 1.2))/1 var(--ffd); box-shadow: 0 0 0 2px var(--ink), 0 3px 0 2px var(--ink); }
.iw-sub.is-on .iw-sub__price { background: var(--jade); color: var(--ink); }
.iw-topup__fine { margin: auto 0 0; font: 600 var(--fs-xs)/1.4 var(--ffb); color: var(--muted); }
.iw-topup__fine b { color: #b8730a; }
.iw-pendstrip { display: none; align-items: center; gap: calc(var(--u) * .9); padding: calc(var(--u) * .55) calc(var(--u) * .7) calc(var(--u) * .55) calc(var(--u) * 1.1); border-radius: 999px; background: var(--sun-light); box-shadow: 0 0 0 2px var(--ink), 0 3px 0 2px var(--ink); color: var(--ink); }
.iw-pendstrip.is-on { display: flex; animation: iw-pop .4s var(--spring); }
.iw-pendstrip__dot { width: .8em; height: .8em; border-radius: 50%; background: var(--sun); animation: iw-pay-pulse 1.2s ease-in-out infinite; }
.iw-pendstrip__txt { flex: 1; font: 800 var(--fs-s)/1.2 var(--ffb); }
.iw-pendstrip__txt small { margin-left: .8em; opacity: .7; }
.iw-ppcard { width: min(calc(var(--u) * 52), 94vw); padding-top: calc(var(--u) * 2.2); }
.iw-ppcard .iw-modal__title { font-size: calc(var(--u) * 2.6); }
.iw-pp { display: flex; flex-direction: column; gap: calc(var(--u) * 1.1); margin: calc(var(--u) * 1) 0 calc(var(--u) * 1.4); text-align: left; }
.iw-pp.is-shake { animation: iw-shake .4s; }
.iw-pp__what { display: flex; align-items: center; gap: calc(var(--u) * .9); padding: calc(var(--u) * .6) calc(var(--u) * 1); border-radius: calc(var(--u) * 1.1); background: var(--paper-2); }
.iw-pp__art { width: calc(var(--u) * 4.4); height: calc(var(--u) * 4.4); min-width: 34px; min-height: 34px; }
.iw-pp__art svg { width: 100%; height: 100%; }
.iw-pp__name { flex: 1; display: flex; flex-direction: column; gap: .3em; }
.iw-pp__name b { font: 900 max(15px, calc(var(--u) * 1.5))/1 var(--ffd); }
.iw-pp__name em { font: 900 var(--fs-xs)/1 var(--ffb); font-style: normal; color: #d4307a; }
.iw-pp__yuan { font-size: max(20px, calc(var(--u) * 2.6)); color: #e2337a; }
.iw-pp__mid { display: flex; align-items: center; gap: calc(var(--u) * 1.6); }
.iw-pp__qr { position: relative; flex: none; width: calc(var(--u) * 17); aspect-ratio: 1; min-width: 150px; border-radius: calc(var(--u) * 1); background: #fff; display: grid; place-items: center;
box-shadow: 0 0 0 3px var(--ink), 0 0 0 7px #fff, 0 0 0 10px var(--ink), 0 calc(var(--u) * .6) 0 10px var(--ink); overflow: visible; }
.iw-pp__code { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; animation: iw-pop .45s var(--spring); }
.iw-pp__code svg { width: 100%; height: 100%; }
.iw-pp__logo { position: absolute; left: 50%; top: 50%; width: 19%; aspect-ratio: 1; translate: -50% -50%; padding: 2%; border-radius: 22%; background: #fff; box-shadow: 0 0 0 3px #fff; }
.iw-pp__logo svg { width: 100%; height: 100%; }
.iw-pp__scan { position: absolute; left: 4%; right: 4%; top: 4%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #ff6fb1, transparent); box-shadow: 0 0 10px #ff6fb1; animation: iw-scan 2.2s ease-in-out infinite alternate; pointer-events: none; }
@keyframes iw-scan { to { top: 95%; } }
.iw-pp__over { position: absolute; inset: 0; border-radius: inherit; display: grid; place-items: center; background: var(--paper); color: var(--ink); opacity: 0; transition: opacity .3s; pointer-events: none; }
.iw-pp__spin { width: 34%; aspect-ratio: 1; border-radius: 50%; border: 6px solid #e8e3f3; border-top-color: #ff6fb1; animation: iw-pay-spin .8s linear infinite; }
.iw-pp__link { align-self: flex-start; white-space: nowrap; color: var(--sky-deep); font: 700 var(--fs-xs)/1 var(--ffb); text-decoration: underline; pointer-events: auto; }
.iw-pp__phone { width: 46%; aspect-ratio: 1; animation: iw-new 1.4s ease-in-out infinite; }
.iw-pp__phone svg { width: 100%; height: 100%; }
.iw-pp.is-phone .iw-pp__qr { background: linear-gradient(160deg, var(--sky-light), var(--paper)); }
.iw-pp__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: calc(var(--u) * .9); }
.iw-pp__steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: calc(var(--u) * .5); }
.iw-pp__steps li { counter-increment: s; display: flex; align-items: center; gap: .6em; font: 700 var(--fs-s)/1.2 var(--ffb); color: var(--muted); }
.iw-pp__steps li::before { content: counter(s); display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--paper-3); color: var(--ink); font: 900 .85em/1 var(--ffd); flex: none; }
.iw-pp__state { display: flex; align-items: center; flex-wrap: wrap; gap: .55em; padding: .6em .9em; border-radius: calc(var(--u) * .9); background: var(--paper-2); font: 900 var(--fs-m)/1.2 var(--ffb); }
.iw-pp__state small { flex-basis: 100%; font: 600 var(--fs-xs)/1.3 var(--ffb); color: var(--coral-deep); }
.iw-pp__state.is-ping { animation: iw-pop .45s var(--spring); }
.iw-pp__dot { width: .75em; height: .75em; border-radius: 50%; background: var(--sun); animation: iw-pay-pulse 1.1s ease-in-out infinite; flex: none; }
.iw-pp__timer { font: 800 var(--fs-xs)/1 var(--ffb); color: var(--muted); font-variant-numeric: tabular-nums; }
.iw-pp__timer:empty { display: none; }
.iw-pp[data-phase="paid"] .iw-pp__dot { background: #3ddc84; }
.iw-pp[data-phase="paid"] .iw-pp__over { opacity: 1; }
.iw-pp[data-phase="paid"] .iw-pp__over::after { content: ''; width: 42%; aspect-ratio: 1; border-radius: 50%; background: #3ddc84 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%2315121c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 64% no-repeat; box-shadow: 0 0 0 4px var(--k); animation: iw-pop .5s var(--spring2); }
.iw-pp[data-phase="paid"] .iw-pp__scan, .iw-pp[data-phase="expired"] .iw-pp__scan, .iw-pp[data-phase="failed"] .iw-pp__scan { display: none; }
.iw-pp[data-phase="failed"] .iw-pp__dot, .iw-pp[data-phase="error"] .iw-pp__dot { background: #ff3d5e; animation: none; }
.iw-pp[data-phase="expired"] .iw-pp__dot { background: #8a8499; animation: none; }
.iw-pp[data-phase="expired"] .iw-pp__code, .iw-pp[data-phase="failed"] .iw-pp__code { filter: grayscale(1) blur(2px); opacity: .35; }
.iw-pp[data-phase="expired"] .iw-pp__over, .iw-pp[data-phase="failed"] .iw-pp__over { opacity: 1; background: var(--paper); color: var(--ink); }
.iw-pp[data-phase="expired"] .iw-pp__over::after { content: '过期'; padding: .4em .8em; border-radius: .5em; background: var(--k); color: #fff; font: 900 max(14px, calc(var(--u) * 1.6))/1 var(--ffd); rotate: -8deg; }
.iw-pp[data-phase="failed"] .iw-pp__over::after { content: '没付成'; padding: .4em .8em; border-radius: .5em; background: #ff3d5e; color: #fff; font: 900 max(14px, calc(var(--u) * 1.6))/1 var(--ffd); rotate: -8deg; }
.iw-pp[data-phase="creating"] .iw-pp__steps, .iw-pp[data-phase="creating"] .iw-pp__link { opacity: .45; }
@media (prefers-reduced-motion: reduce) {
.iw-wpill--gem, .iw-dock__shine, .iw-dock__tag, .iw-dock__badge, .iw-tier__bonus, .iw-tier__corner, .iw-sub::after, .iw-rw-rays, .iw-pp__scan, .iw-rw, .iw-rwcard .iw-modal__title { animation: none !important; }
}
@media (max-height: 520px) {
.iw-main.has-wallet .iw-main__side { top: calc(var(--u) * 7.2 + var(--sat)); }
.iw-dock__ban { height: max(52px, calc(var(--u) * 8)); }
.iw-topup__body { top: calc(var(--u) * 10.2 + var(--sat)); gap: 8px; }
.iw-topup__panel { padding: 8px; gap: 6px; }
.iw-tiers { gap: 7px; }
.iw-tier__price { padding: 5px 0 6px; }
.iw-topup__side { width: min(calc(var(--u) * 30), 34vw); gap: 7px; }
.iw-sub { padding: 8px 10px; gap: 4px 8px; }
.iw-sub__txt small { display: none; }
.iw-ppcard { padding: 14px 16px 12px; max-height: 96vh; }
.iw-ppcard .iw-modal__title { display: none; }
.iw-pp { margin: 0 0 8px; gap: 8px; }
.iw-pp__qr { width: min(150px, 42vh); min-width: 0; }
.iw-pp__steps { gap: 3px; }
.iw-rwcard { padding: 16px 14px 12px; }
.iw-rwcard .iw-modal__title { font-size: 26px; }
.iw-rw { width: 82px; }
.iw-rw .iw-thing { width: 60px; height: 52px; }
.iw-rw-grid.is-many .iw-rw { width: 70px; }
}
@media (max-height: 520px) and (pointer: coarse) {
.iw-pay .iw-prompts { display: none; }
.iw-topup__body { bottom: calc(10px + var(--sab)); }
.iw-main .iw-main__side { gap: 8px; }
.iw-main .iw-main__wallet { top: calc(8px + var(--sat)); }
.iw-wpill { height: 28px; font-size: 12.5px; }
.iw-pay__top { top: calc(10px + var(--sat)); }
}
@media (max-width: 720px) and (max-height: 520px) {
.iw-wpill--dust { display: none; }
}
.iw-sub.is-claim { box-shadow: 0 0 0 calc(var(--u) * .2) #ffe27a, 0 var(--drop) 0 var(--ink), 0 0 calc(var(--u) * 2) rgba(255, 210, 90, .45); }
.iw-sub.is-claim .iw-sub__price { background: #ffb12e; color: var(--k); animation: iw-pay-pulse 1.4s ease-in-out infinite; }
.iw-sub.is-claim .iw-sub__txt em { color: #ffe27a; }
.iw-sub__bar { display: block; height: max(6px, calc(var(--u) * .55)); margin: .35em 0 .1em; border-radius: 999px; background: var(--paper-3); overflow: hidden; box-shadow: inset 0 0 0 1.5px rgba(var(--ink-rgb), .16); }
.iw-sub__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffe27a, #ff9a3d); transition: width .6s var(--out); }
.iw-pp__linkbox { display: contents; }
.iw-pp__timer.is-low { color: var(--coral-deep); }
.iw-shop__body { position: absolute; left: calc(var(--u) * 3.6 + var(--sal)); right: calc(var(--u) * 3.4 + var(--sar)); top: calc(var(--u) * 10.6); bottom: calc(var(--u) * 6.6 + var(--sab)); display: flex; flex-direction: column; gap: calc(var(--u) * .8); }
.iw-shop__body .iw-paytabs { align-self: flex-start; }
.iw-shop__panel { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: calc(var(--u) * .5); padding: calc(var(--u) * 1) calc(var(--u) * 1.2) calc(var(--u) * .4); }
.iw-shop__panel.is-swap { animation: iw-pop-in .35s var(--spring); }
.iw-shop__note { flex: none; font: 700 var(--fs-xs)/1.2 var(--ffb); color: var(--muted); }
.iw-sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(calc(var(--u) * 15.5), 1fr)); grid-auto-rows: calc(var(--u) * 19.5); gap: calc(var(--u) * 1); }
.iw-sgrid.is-rec { grid-template-columns: repeat(auto-fill, minmax(calc(var(--u) * 15.5), 1fr)); }
.iw-sgrid.is-rec .iw-scard.is-big { grid-column: span 2; grid-row: span 2; }
.iw-scard { --q: #3d8bff; position: relative; display: grid; grid-template-rows: 1fr auto auto auto; justify-items: center; gap: calc(var(--u) * .3); min-height: 0; padding: calc(var(--u) * .9) calc(var(--u) * .7) calc(var(--u) * .8);
border: 0; border-radius: calc(var(--u) * 1.3); background: linear-gradient(170deg, rgba(var(--q-rgb, 61, 139, 255), .24), var(--paper) 58%); color: var(--ink); cursor: pointer; text-align: center; outline: none; overflow: hidden; isolation: isolate;
box-shadow: inset 0 0 0 2.5px rgba(var(--q-rgb, 61, 139, 255), .85), 0 0 0 var(--bw) var(--ink), 0 var(--drop) 0 var(--bw) var(--ink); transition: transform .35s var(--spring), box-shadow .2s; -webkit-tap-highlight-color: transparent;
transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.iw-scard.is-focus, .iw-scard:hover { transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(calc(var(--u) * -.3)) scale(1.03); box-shadow: inset 0 0 0 2.5px rgba(var(--q-rgb, 61, 139, 255), .85), 0 0 0 var(--bw) var(--ink), 0 calc(var(--drop) * 1.6) 0 var(--bw) var(--ink); z-index: 2; }
.iw-scard.is-pick { animation: iw-money-bump .45s var(--spring2); }
.iw-scard__q { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--u) * .45); background: var(--qbg); }
.iw-scard.is-q-rainbow .iw-scard__q { background: var(--rb); background-size: 200% 100%; animation: iw-rb-flow 4s linear infinite; }
.iw-scard__art { width: 100%; max-width: calc(var(--u) * 10); height: 100%; min-height: 0; }
.iw-scard.is-big .iw-scard__art { max-width: calc(var(--u) * 22); }
.iw-scard__n { position: absolute; right: calc(var(--u) * .8); top: calc(var(--u) * 1); font: 900 var(--fs-m)/1 var(--ffd); -webkit-text-stroke: .16em var(--ink); paint-order: stroke fill; color: #fff; }
.iw-scard__mini { display: flex; justify-content: center; gap: calc(var(--u) * .25); }
.iw-scard__mi { position: relative; width: calc(var(--u) * 3); height: calc(var(--u) * 3); }
.iw-scard__mi b { position: absolute; right: -.2em; bottom: -.2em; font: 900 max(10px, calc(var(--u) * .75))/1 var(--ffd); -webkit-text-stroke: .18em var(--ink); paint-order: stroke fill; color: #fff; }
.iw-scard__name { font: 900 var(--fs-m)/1.15 var(--ffb); }
.iw-scard.is-big .iw-scard__name { font-size: var(--fs-l); }
.iw-scard__lim { min-height: 1em; font: 700 var(--fs-xs)/1 var(--ffb); color: #b8730a; }
.iw-scard__lim:empty { visibility: hidden; }
.iw-scard__price { padding: .4em .9em; border-radius: 999px; background: var(--sun); font-size: var(--fs-m); box-shadow: 0 0 0 2px var(--ink), 0 3px 0 2px var(--ink); color: var(--ink); }
.iw-scard__hot { position: absolute; left: calc(var(--u) * .5); top: calc(var(--u) * .9); padding: .3em .55em; border-radius: .5em; background: #ff4d6a; font: 900 var(--fs-xs)/1 var(--ffb); font-style: normal; rotate: -6deg; z-index: 2; color: #fff; box-shadow: 0 0 0 2px var(--ink); }
.iw-scard.is-out, .iw-scard.is-owned { filter: saturate(.3) brightness(.92); }
.iw-scard__stamp { position: absolute; left: 50%; top: 38%; translate: -50% -50%; rotate: -14deg; padding: .25em .7em; border: 3px solid var(--coral-deep); border-radius: .4em; font: 900 var(--fs-l)/1 var(--ffd); color: var(--coral-deep); background: var(--paper); z-index: 3; box-shadow: 0 0 0 2px var(--paper), 0 3px 0 2px var(--ink); }
.iw-thing.is-bundle { width: 100%; height: 100%; }
.iw-scfcard { width: min(calc(var(--u) * 48), 94vw); }
.iw-scf__head { --q: #3d8bff; display: flex; align-items: center; gap: calc(var(--u) * 1.2); margin-bottom: calc(var(--u) * .8); }
.iw-scf__big { flex: none; width: calc(var(--u) * 8.5) !important; height: calc(var(--u) * 7.5) !important; }
.iw-scf__names { display: flex; flex-direction: column; gap: .3em; min-width: 0; }
.iw-scf__names small { font: 800 var(--fs-xs)/1 var(--ffb); color: var(--q); }
.iw-scf__names b { font-size: max(20px, calc(var(--u) * 2.2)); line-height: 1.05; }
.iw-scf__tip { font: 700 var(--fs-xs)/1.3 var(--ffb); color: var(--muted); }
.iw-scf__list { display: flex; flex-direction: column; gap: calc(var(--u) * .35); max-height: calc(var(--u) * 15); overflow-y: auto; padding: calc(var(--u) * .5); border-radius: calc(var(--u) * .9); background: var(--paper-3); }
.iw-scf__row { --q: #3d8bff; display: flex; align-items: center; gap: calc(var(--u) * .7); font: 700 var(--fs-s)/1.2 var(--ffb); animation: iw-pop-in .3s var(--spring) both; animation-delay: calc(var(--i) * 40ms); }
.iw-scf__row > span:not(.iw-thing) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.iw-scf__row small { color: var(--muted); font-size: var(--fs-xs); }
.iw-scf__row em { font: 900 var(--fs-m)/1 var(--ffd); font-style: normal; }
.iw-scf__art { flex: none; width: calc(var(--u) * 3.6) !important; height: calc(var(--u) * 3.2) !important; }
.iw-scf__qty { display: flex; align-items: center; justify-content: center; gap: calc(var(--u) * .8); margin: calc(var(--u) * .8) 0 0; font: 700 var(--fs-s)/1 var(--ffb); }
.iw-scf__step { width: max(32px, calc(var(--u) * 3)); height: max(32px, calc(var(--u) * 3)); border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); font: 900 var(--fs-l)/1 var(--ffd); cursor: pointer; box-shadow: 0 0 0 2px var(--ink), 0 3px 0 2px var(--ink); outline: none; }
.iw-scf__step.is-focus { box-shadow: 0 0 0 2px var(--ink), 0 3px 0 2px var(--ink); background: var(--sun); }
.iw-scf__qn { min-width: 2.2em; text-align: center; font: 900 var(--fs-l)/1 var(--ffd); }
.iw-scf__qn.is-pop { animation: iw-money-bump .3s var(--spring2); }
.iw-scf__max { color: var(--muted); }
.iw-scf__sum { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: calc(var(--u) * .6); margin: calc(var(--u) * 1) 0 calc(var(--u) * .4); }
.iw-scf__total { display: flex; align-items: center; gap: .6em; font: 700 var(--fs-s)/1 var(--ffb); }
.iw-scf__total .is-big { font-size: max(20px, calc(var(--u) * 2)); }
.iw-scf__after { display: flex; flex-direction: column; align-items: flex-end; gap: .3em; font: 700 var(--fs-xs)/1.2 var(--ffb); color: var(--muted); }
.iw-scf__after span { display: inline-flex; align-items: center; gap: .3em; }
.iw-scf__after .iw-cur { width: 1.3em; height: 1.3em; }
.iw-scf__after b { color: var(--ink); }
.iw-scf__after strong { color: var(--coral-deep); font-weight: 900; }
.iw-scf__after.is-shake, .iw-paycard.is-shake { animation: iw-shake .4s; }
.iw-btn.is-off { filter: grayscale(.85) brightness(.95); opacity: .7; }
.iw-btn.is-busy { pointer-events: none; opacity: .75; }
@keyframes iw-shake { 20%, 60% { translate: -6px 0; } 40%, 80% { translate: 6px 0; } }
.iw-gacha__body { position: absolute; left: calc(var(--u) * 3.6 + var(--sal)); right: calc(var(--u) * 3.4 + var(--sar)); top: calc(var(--u) * 10.6); bottom: calc(var(--u) * 6.6 + var(--sab)); display: flex; flex-direction: column; gap: calc(var(--u) * .8); }
.iw-gacha__body .iw-paytabs { align-self: flex-start; }
.iw-gacha__stage { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: calc(var(--u) * .8); }
.iw-gacha__stage.is-swap .iw-gban { animation: iw-gban-in .55s var(--out); }
@keyframes iw-gban-in { from { opacity: 0; translate: calc(var(--u) * 4) 0; } }
.iw-gban { --q: #ffb12e; position: relative; flex: 1; min-height: 0; border-radius: calc(var(--u) * 1.6); overflow: hidden; isolation: isolate; background: var(--sky-deep);
box-shadow: 0 0 0 calc(var(--u) * .2) var(--q), 0 0 0 calc(var(--u) * .2 + var(--bw)) var(--ink), 0 var(--drop) 0 calc(var(--u) * .2 + var(--bw)) var(--ink); }
.iw-gban__art { position: absolute; inset: 0; z-index: -2; background: center right / cover no-repeat; animation: iw-gban-drift 18s ease-in-out infinite alternate; }
@keyframes iw-gban-drift { to { scale: 1.06; translate: -1.5% 0; } }
.iw-gban__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(34, 32, 58, .7) 0%, rgba(34, 32, 58, .36) 36%, rgba(34, 32, 58, 0) 60%), linear-gradient(0deg, rgba(34, 32, 58, .4), transparent 40%); }
.iw-gban__info { position: absolute; left: calc(var(--u) * 2); top: calc(var(--u) * 1.6); bottom: calc(var(--u) * 1.4); display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--u) * .55); max-width: 46%; color: #fff; }
.iw-gban__tag { padding: .35em .7em; border-radius: .5em; background: linear-gradient(120deg, #ff4d6a, #ffb12e); font: 900 var(--fs-s)/1 var(--ffb); rotate: -3deg; box-shadow: 0 0 0 2px var(--ink), 0 3px 0 2px var(--ink); color: #fff; }
.iw-gban.is-gun .iw-gban__tag { background: linear-gradient(120deg, #3d8bff, #6be3ff); color: var(--k); }
.iw-gban__name { font-size: max(24px, calc(var(--u) * 3.4)); line-height: 1.02; -webkit-text-stroke: .12em var(--ink); paint-order: stroke fill; text-shadow: 0 calc(var(--u) * .3) 0 var(--ink); color: #fff; }
.iw-gban__feat { display: inline-flex; align-items: center; gap: .45em; font: 900 var(--fs-l)/1.1 var(--ffb); text-shadow: 0 0 2px var(--ink), 0 1px 0 var(--ink), 1px 0 0 var(--ink), -1px 0 0 var(--ink), 0 -1px 0 var(--ink); color: #fff; }
.iw-gban__feat em { padding: .2em .4em; border-radius: .35em; background: #ffe27a; color: var(--k); font: 900 .75em/1 var(--ffd); font-style: normal; }
.iw-gban__feat small { font: 700 var(--fs-xs)/1 var(--ffb); color: #fff; text-shadow: 0 0 2px var(--ink), 0 1px 0 var(--ink), 1px 0 0 var(--ink), -1px 0 0 var(--ink), 0 -1px 0 var(--ink); }
.iw-gban__time { display: inline-flex; align-items: center; gap: .35em; font: 800 var(--fs-xs)/1 var(--ffb); color: var(--sun); text-shadow: 0 0 2px var(--ink), 0 1px 0 var(--ink), 1px 0 0 var(--ink), -1px 0 0 var(--ink), 0 -1px 0 var(--ink); }
.iw-gban__time i { width: 1.2em; height: 1.2em; } .iw-gban__time svg { width: 100%; height: 100%; }
.iw-gban__rate { margin-top: auto; font: 700 var(--fs-xs)/1 var(--ffb); color: #fff; text-shadow: 0 0 2px var(--ink), 0 1px 0 var(--ink), 1px 0 0 var(--ink), -1px 0 0 var(--ink), 0 -1px 0 var(--ink); }
.iw-gacha__bar { flex: none; display: flex; align-items: center; gap: calc(var(--u) * 1.4); padding: calc(var(--u) * .9) calc(var(--u) * 1.2); }
.iw-gpity { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: calc(var(--u) * .5); }
.iw-gpity__row { display: flex; align-items: center; gap: calc(var(--u) * .8); font: 800 var(--fs-s)/1 var(--ffb); }
.iw-gpity__row > b { color: #b8730a; white-space: nowrap; }
.iw-gpity__bar { position: relative; flex: 1; height: max(10px, calc(var(--u) * .8)); border-radius: 999px; background: var(--paper-3); box-shadow: 0 0 0 2px var(--ink); }
.iw-gpity__bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: linear-gradient(90deg, var(--sun-light), var(--sun) 50%, #e89a12); box-shadow: none; transition: width .8s var(--out); }
.iw-gpity__bar u { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); opacity: .55; text-decoration: none; }
.iw-gpity__n { font: 900 var(--fs-s)/1 var(--ffd); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.iw-gpity__n b { color: var(--ink); font-size: 1.25em; }
.iw-gpity__chips { display: flex; flex-wrap: wrap; gap: calc(var(--u) * .4); }
.iw-gpity__chips .iw-chip { padding: .35em .7em; }
.iw-chip.is-hot { background: var(--sun); color: var(--ink); animation: iw-pay-pulse 1.6s ease-in-out infinite; }
.iw-chip.is-dim { opacity: .7; }
.iw-gacha__links { display: flex; flex-direction: column; gap: calc(var(--u) * .4); }
.iw-gacha__pulls { display: flex; gap: calc(var(--u) * .8); }
.iw-gpull { position: relative; min-width: calc(var(--u) * 13); flex-direction: column; padding-bottom: calc(var(--u) * .6); }
.iw-gpull__cost { display: inline-flex; align-items: center; gap: .3em; font: 900 var(--fs-s)/1 var(--ffd); }
.iw-gpull__cost .iw-cur { width: 1.4em; height: 1.4em; }
.iw-gpull__cost.is-short { color: var(--coral-deep); }
.iw-gpull__tip { position: absolute; right: -.4em; top: -.8em; padding: .25em .5em; border-radius: .5em; background: #b45cff; color: #fff; font: 900 var(--fs-xs)/1 var(--ffb); font-style: normal; rotate: 5deg; box-shadow: 0 0 0 2px var(--ink), 0 2px 0 2px var(--ink); }
.iw-gacha__empty { position: absolute; inset: 30% 30%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.iw-gacha__empty i { width: 64px; height: 64px; } .iw-gacha__empty svg { width: 100%; height: 100%; }
.iw-gbuy { display: flex; flex-direction: column; align-items: center; gap: calc(var(--u) * .6); margin: calc(var(--u) * .4) 0 calc(var(--u) * 1.2); font: 800 var(--fs-m)/1.2 var(--ffb); }
.iw-gbuy__ico { width: calc(var(--u) * 5) !important; height: calc(var(--u) * 5) !important; }
.iw-gbuy b { color: #b8730a; font-size: 1.3em; }
.iw-gbuy__cost { display: inline-flex; align-items: center; gap: .4em; }
.iw-gbuy small { color: var(--muted); font-size: var(--fs-xs); }
.iw-gratecard, .iw-ghistcard { width: min(calc(var(--u) * 56), 94vw); }
.iw-grate { display: flex; flex-direction: column; gap: calc(var(--u) * .35); margin-bottom: calc(var(--u) * .8); }
.iw-grate__row { --q: #3d8bff; display: flex; align-items: center; gap: calc(var(--u) * .7); padding: .45em .7em; border-radius: .6em; background: rgba(var(--q-rgb, 61, 139, 255), .14); font: 700 var(--fs-s)/1.2 var(--ffb); }
.iw-grate__row b { color: var(--q-dark, #1f5fb8); font: 900 var(--fs-m)/1 var(--ffd); min-width: 1.4em; }
.iw-grate__dot { flex: none; width: .8em; height: .8em; border-radius: 50%; background: var(--q); box-shadow: 0 0 0 2px var(--k); }
.iw-grate__rules { margin: 0 0 calc(var(--u) * .8); padding-left: 1.2em; font: 600 var(--fs-xs)/1.5 var(--ffb); color: var(--ink); }
.iw-grate__all, .iw-ghist { display: flex; flex-direction: column; gap: calc(var(--u) * .5); max-height: calc(var(--u) * 16); overflow-y: auto; padding: calc(var(--u) * .5); border-radius: calc(var(--u) * .8); background: var(--paper-3); }
.iw-grate__items { display: flex; flex-direction: column; gap: .2em; font: 600 var(--fs-xs)/1.4 var(--ffb); }
.iw-grate__items small { font-weight: 900; color: #b8730a; }
.iw-ghist { max-height: calc(var(--u) * 26); }
.iw-ghist__row { --q: #3d8bff; display: flex; align-items: center; gap: .6em; font: 700 var(--fs-s)/1.2 var(--ffb); }
.iw-ghist__row b { flex: 1; color: var(--q-dark, #1f5fb8); }
.iw-ghist__row.is-q-blue b { color: #1f5fb8; }
.iw-ghist__row small { color: var(--muted); font-size: var(--fs-xs); }
.iw-ghist__row span { color: var(--muted); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.iw-gshow { z-index: 46; display: block; padding: 0; background: radial-gradient(ellipse at 50% 42%, #7fd0ff, var(--sky) 38%, var(--sky-deep) 92%); overflow: hidden; cursor: pointer; animation: iw-fade-in .3s ease both; }
.iw-gshow__sky { position: absolute; inset: -60%; background: repeating-conic-gradient(from 2deg, rgba(255, 255, 255, .7) 0deg 1.4deg, transparent 1.4deg 4.6deg, rgba(255, 255, 255, .55) 4.6deg 5.2deg, transparent 5.2deg 9deg);
background-size: auto; opacity: .8; animation: iw-pay-spin 120s linear infinite; -webkit-mask-image: radial-gradient(closest-side, transparent 22%, #000 60%); mask-image: radial-gradient(closest-side, transparent 22%, #000 60%); }
@keyframes iw-fade-in { from { opacity: 0; } }
.iw-gshow__meteor { --c: #6fb7ff; position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.iw-gshow__meteor.is-purple { --c: #c27bff; } .iw-gshow__meteor.is-gold { --c: #ffd257; }
.iw-gshow__meteor i { position: absolute; left: 0; top: 0; width: 46vmin; height: 1.6vmin; border-radius: 999px; transform-origin: 100% 50%; background: linear-gradient(90deg, transparent, var(--c) 70%, #fff);
filter: drop-shadow(0 0 1.4vmin var(--c)); translate: -100% -50%; rotate: 35deg; animation: iw-meteor 1.1s cubic-bezier(.3, .7, .3, 1) both; }
.iw-gshow__meteor i:nth-child(2) { width: 30vmin; height: .9vmin; animation-delay: .12s; margin-top: -6vmin; }
.iw-gshow__meteor i:nth-child(3) { width: 24vmin; height: .7vmin; animation-delay: .22s; margin-top: 7vmin; }
@keyframes iw-meteor { from { transform: translate(-60vw, -40vh) scaleX(.4); opacity: 0; } 30% { opacity: 1; } 85% { opacity: 1; } to { transform: translate(0, 0) scaleX(1); opacity: 0; } }
.iw-gshow[data-stage='fall']::after { content: ''; position: absolute; left: 50%; top: 50%; width: 40vmin; height: 40vmin; translate: -50% -50%; border-radius: 50%;
background: radial-gradient(circle, #fff 0%, var(--fc, #6fb7ff) 30%, transparent 70%); opacity: 0; animation: iw-flash 1.2s .9s ease-out both; pointer-events: none; }
.iw-gshow.is-purple { --fc: #c27bff; } .iw-gshow.is-gold { --fc: #ffd257; }
@keyframes iw-flash { 30% { opacity: 1; scale: 1.8; } to { opacity: 0; scale: 3; } }
.iw-gshow[data-stage='fall'] .iw-gshow__cards { visibility: hidden; }
.iw-gshow:not([data-stage='fall']) .iw-gshow__meteor { display: none; }
.iw-gshow__cards { position: absolute; left: 50%; top: 46%; translate: -50% -50%; display: grid; grid-template-columns: repeat(1, calc(var(--u) * 15)); gap: calc(var(--u) * 1.1); }
.iw-gshow__cards.is-ten { grid-template-columns: repeat(5, calc(var(--u) * 12.5)); }
.iw-gcard { --q: #3d8bff; position: relative; aspect-ratio: .72; animation: iw-gcard-in .4s var(--spring) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes iw-gcard-in { from { opacity: 0; transform: translateY(40px) scale(.7); } }
.iw-gcard.is-flip { animation: iw-gcard-flip .36s ease-in-out both; }
.iw-gcard.is-done { animation: none; }
@keyframes iw-gcard-flip { 0% { transform: scaleX(1); } 50% { transform: scaleX(0) scaleY(1.06); } 100% { transform: scaleX(1); } }
.iw-gcard__back, .iw-gcard__front { position: absolute; inset: 0; border-radius: calc(var(--u) * 1.1); display: grid; place-items: center; transition: opacity 0s .18s; }
.iw-gcard__back { background: linear-gradient(160deg, var(--sky), var(--sky-deep)); box-shadow: inset 0 0 0 calc(var(--u) * .35) var(--paper), 0 0 0 var(--bw) var(--ink), 0 var(--drop) 0 var(--bw) var(--ink); }
.iw-gcard__back i { width: 45%; opacity: .8; } .iw-gcard__back svg { width: 100%; height: 100%; }
.iw-gcard__front { opacity: 0; grid-template-rows: 1fr auto auto; padding: calc(var(--u) * .7) calc(var(--u) * .5) calc(var(--u) * .8); gap: calc(var(--u) * .25);
background: linear-gradient(170deg, rgba(var(--q-rgb, 61, 139, 255), .5), var(--paper) 68%); box-shadow: inset 0 0 0 calc(var(--u) * .2) var(--q), 0 0 0 var(--bw) var(--ink), 0 var(--drop) 0 var(--bw) var(--ink); color: var(--ink); }
.iw-gcard.is-flip .iw-gcard__front { opacity: 1; }
.iw-gcard.is-flip .iw-gcard__back { opacity: 0; }
.iw-gcard.is-done .iw-gcard__front, .iw-gcard.is-done .iw-gcard__back { transition: none; }
.iw-gcard.is-purple.is-flip .iw-gcard__front { box-shadow: inset 0 0 0 calc(var(--u) * .2) var(--q), 0 0 0 var(--bw) var(--ink), 0 var(--drop) 0 var(--bw) var(--ink), 0 0 calc(var(--u) * 2.4) rgba(194, 123, 255, .75); }
.iw-gcard.is-gold.is-flip .iw-gcard__front { box-shadow: inset 0 0 0 calc(var(--u) * .25) #ffc23a, 0 0 0 var(--bw) var(--ink), 0 var(--drop) 0 var(--bw) var(--ink), 0 0 calc(var(--u) * 3.2) rgba(255, 210, 87, .9); animation: iw-gold-glow 1.6s ease-in-out infinite alternate; }
@keyframes iw-gold-glow { to { filter: brightness(1.18); } }
.iw-gcard__front .iw-thing { width: 88%; height: 100%; min-height: 0; }
.iw-gshow__gold { position: absolute; inset: 0; pointer-events: none; opacity: 0; visibility: hidden; }
.iw-gshow__gold.is-on { opacity: 1; visibility: visible; }
.iw-gshow[data-stage='gold'] .iw-gshow__cards { filter: blur(3px) brightness(.4); transition: filter .3s; }
.iw-gold__pillar { position: absolute; left: 50%; top: -10%; bottom: -10%; width: 22vmin; translate: -50% 0; background: linear-gradient(90deg, transparent, rgba(255, 226, 122, .85) 35%, #fff 50%, rgba(255, 226, 122, .85) 65%, transparent);
filter: blur(6px); transform-origin: 50% 100%; }
.iw-gshow__gold.is-on .iw-gold__pillar { animation: iw-pillar 1.2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes iw-pillar { 0% { scale: .1 0; opacity: 0; } 25% { scale: .4 1; opacity: 1; } 55% { scale: 2.2 1; opacity: .95; } 100% { scale: 7 1; opacity: 0; } }
.iw-gold__ring { position: absolute; left: 50%; top: 50%; width: 30vmin; height: 30vmin; translate: -50% -50%; border-radius: 50%; border: 1vmin solid #ffe27a; opacity: 0; }
.iw-gshow__gold.is-on .iw-gold__ring { animation: iw-ring 1s .35s ease-out both; }
@keyframes iw-ring { from { scale: .2; opacity: 1; } to { scale: 4; opacity: 0; } }
.iw-gold__art { position: absolute; left: 0; right: 0; top: 50%; height: min(92vh, 33.6vw); translate: 0 -55%; background: center / cover no-repeat;
clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%); box-shadow: 0 0 0 4px #ffe27a; opacity: 0; }
.iw-gshow__gold.is-on .iw-gold__art { animation: iw-gold-art .75s .55s cubic-bezier(.2, .9, .25, 1.1) both; }
@keyframes iw-gold-art { from { opacity: 0; transform: translateX(30%) skewX(-12deg); filter: brightness(3); } 60% { filter: brightness(1.4); } to { opacity: 1; transform: none; filter: none; } }
.iw-gold__solo { position: absolute; left: 50%; top: 44%; width: 34vmin; height: 34vmin; translate: -50% -50%; opacity: 0; }
.iw-gshow__gold.is-on .iw-gold__solo { animation: iw-gold-solo .7s .5s var(--spring2) both; }
@keyframes iw-gold-solo { from { opacity: 0; scale: .2; rotate: -30deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
.iw-thing.is-huge { width: 100%; height: 100%; }
.iw-gold__name { position: absolute; left: calc(var(--u) * 5 + var(--sal)); bottom: calc(var(--u) * 9 + var(--sab)); display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--u) * .4); color: #fff; opacity: 0; }
.iw-gshow__gold.is-on .iw-gold__name { animation: iw-gold-name .5s 1s var(--spring) both; }
@keyframes iw-gold-name { from { opacity: 0; translate: -40px 0; } }
.iw-gold__stars { color: #ffe27a; font: 900 var(--fs-l)/1 var(--ffd); letter-spacing: .1em; -webkit-text-stroke: .12em var(--k); paint-order: stroke fill; }
.iw-gold__name b { font-size: max(34px, calc(var(--u) * 5.4)); line-height: 1; -webkit-text-stroke: .1em var(--k); paint-order: stroke fill; text-shadow: 0 var(--drop) 0 var(--ink); }
.iw-gold__name small { font: 800 var(--fs-m)/1 var(--ffb); text-shadow: 0 0 2px var(--ink), 0 1px 0 var(--ink), 1px 0 0 var(--ink), -1px 0 0 var(--ink), 0 -1px 0 var(--ink); }
.iw-gold__name em { padding: .3em .6em; border-radius: .5em; background: #fff; color: var(--k); font: 900 var(--fs-s)/1 var(--ffb); font-style: normal; }
.iw-gold__name em.is-new { background: #ff4d6a; color: #fff; font-family: var(--ffd); font-size: var(--fs-l); rotate: -4deg; }
.iw-gold__lost { font: 700 var(--fs-xs)/1 var(--ffb); color: var(--sun); text-shadow: 0 0 2px var(--ink), 0 1px 0 var(--ink), 1px 0 0 var(--ink), -1px 0 0 var(--ink), 0 -1px 0 var(--ink); }
.iw-gshow__note { position: absolute; left: 50%; bottom: calc(var(--u) * 7.4 + var(--sab)); translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: .3em; color: #fff; font: 900 var(--fs-l)/1.1 var(--ffd); text-align: center; text-shadow: 0 2px 0 var(--ink); pointer-events: none; -webkit-text-stroke: .16em var(--ink); paint-order: stroke fill; }
.iw-gshow__note small { font: 700 var(--fs-xs)/1.2 var(--ffb); color: #fff; text-shadow: 0 0 2px var(--ink), 0 1px 0 var(--ink), 1px 0 0 var(--ink), -1px 0 0 var(--ink), 0 -1px 0 var(--ink); }
.iw-gshow:not([data-stage='done']) .iw-gshow__note { display: none; }
.iw-gshow__btns { position: absolute; right: calc(var(--u) * 3 + var(--sar)); bottom: calc(var(--u) * 2.4 + var(--sab)); display: flex; gap: calc(var(--u) * .8); z-index: 3; }
.iw-gshow[data-stage='done'] .iw-gshow__btns { left: 50%; right: auto; translate: -50% 0; }
.iw-ward__body { position: absolute; left: calc(var(--u) * 3.6 + var(--sal)); top: calc(var(--u) * 10.6); bottom: calc(var(--u) * 6.6 + var(--sab)); width: min(calc(var(--u) * 52), 54vw);
display: flex; flex-direction: column; gap: calc(var(--u) * .7); padding: calc(var(--u) * 1) calc(var(--u) * 1.1); box-sizing: border-box; }
.iw-ward__heroes { flex: none; display: flex; gap: calc(var(--u) * .5); overflow-x: auto; padding: calc(var(--u) * .3) calc(var(--u) * .2) calc(var(--u) * .5); scrollbar-width: thin; }
.iw-ward__hero { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; gap: .2em; width: calc(var(--u) * 5.6); padding: calc(var(--u) * .3) 0; border: 0; border-radius: calc(var(--u) * .9);
background: var(--paper-2); color: var(--ink); cursor: pointer; outline: none; transition: transform .3s var(--spring), background .2s; -webkit-tap-highlight-color: transparent; }
.iw-ward__hink { position: absolute; left: 50%; top: calc(var(--u) * .3); width: calc(var(--u) * 4); height: calc(var(--u) * 4); translate: -50% 0; }
.iw-ward__hink svg { width: 100%; height: 100%; }
.iw-ward__hero > b { position: relative; display: grid; place-items: center; height: calc(var(--u) * 4); font-size: calc(var(--u) * 2); -webkit-text-stroke: .1em var(--k); paint-order: stroke fill; color: #fff; }
.iw-ward__hero small { font: 800 var(--fs-xs)/1 var(--ffb); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.iw-ward__hero.is-sel { background: var(--sun); box-shadow: 0 0 0 2px var(--ink), 0 3px 0 2px var(--ink); }
.iw-ward__hero.is-focus, .iw-ward__hero:hover { transform: translateY(-2px) scale(1.05); }
.iw-ward__hero.is-locked { opacity: .55; filter: grayscale(.7); }
.iw-ward__lock { position: absolute; right: .2em; top: .2em; width: 1.2em; height: 1.2em; padding: .15em; border-radius: 50%; background: var(--k); color: #fff; }
.iw-ward__lock svg, .iw-wtile__lock svg, .iw-wtile__on svg { width: 100%; height: 100%; }
.iw-ward__tabs .iw-tab { padding-left: .6em; padding-right: .6em; }
.iw-ward__scroll { padding-top: calc(var(--u) * .6); }
.iw-ward__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(calc(var(--u) * 9.4), 1fr)); gap: calc(var(--u) * .8); }
.iw-wtile { --q: #43d17a; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .3em; aspect-ratio: .9; padding: calc(var(--u) * .5) calc(var(--u) * .4) calc(var(--u) * .7);
border: 0; border-radius: calc(var(--u) * 1); background: linear-gradient(170deg, rgba(var(--q-rgb, 67, 209, 122), .26), var(--paper) 62%); color: var(--ink); cursor: pointer; outline: none; isolation: isolate;
box-shadow: 0 0 0 var(--bw) var(--ink), 0 var(--drop) 0 var(--bw) var(--ink); transition: transform .3s var(--spring), box-shadow .2s; -webkit-tap-highlight-color: transparent;
transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.iw-wtile.is-focus, .iw-wtile:hover, .iw-wtile.is-sel { transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-2px) scale(1.04); box-shadow: 0 0 0 var(--bw) var(--ink), 0 calc(var(--drop) * 1.6) 0 var(--bw) var(--ink); z-index: 2; }
.iw-wtile.is-sel { box-shadow: inset 0 0 0 3px var(--sun, #ffd23f), 0 0 0 var(--bw) var(--ink), 0 calc(var(--drop) * 1.6) 0 var(--bw) var(--ink); }
.iw-wtile.is-pick { animation: iw-money-bump .4s var(--spring2); }
.iw-wtile__ink { position: absolute; left: 50%; top: 40%; width: 72%; aspect-ratio: 1; translate: -50% -50%; z-index: -1; opacity: .9; }
.iw-wtile__ink svg { width: 100%; height: 100%; } .iw-wtile__ink path, .iw-wtile__ink circle { fill: var(--q); }
.iw-wtile__ico { position: absolute; left: 50%; top: 40%; width: 46%; aspect-ratio: 1; translate: -50% -50%; color: #fff; }
.iw-wtile__ico svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 0 var(--ink)); }
.iw-wtile__name { font: 800 var(--fs-xs)/1.15 var(--ffb); text-align: center; }
.iw-wtile__chip { position: absolute; left: .35em; top: .35em; padding: .2em .4em; border-radius: .4em; background: var(--paper-3); font: 800 max(10px, calc(var(--u) * .7))/1 var(--ffb); font-style: normal; }
.iw-wtile__on { position: absolute; right: .3em; top: .3em; width: 1.5em; height: 1.5em; padding: .2em; border-radius: 50%; background: #3ddc84; color: #fff; box-shadow: 0 0 0 2px var(--ink); }
.iw-wtile.is-on { box-shadow: inset 0 0 0 calc(var(--u) * .22) #3ddc84, 0 0 0 var(--bw) var(--ink), 0 var(--drop) 0 var(--bw) var(--ink); }
.iw-wtile.is-locked .iw-wtile__ico, .iw-wtile.is-locked .iw-wtile__ink { filter: grayscale(.6) brightness(.7); }
.iw-wtile__lock { position: absolute; right: .35em; bottom: 2.2em; width: 1.3em; height: 1.3em; padding: .2em; border-radius: 50%; background: var(--k); color: #fff; }
.iw-ward__none { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: .3em; padding: calc(var(--u) * 1); color: var(--muted); font: 700 var(--fs-xs)/1.2 var(--ffb); }
.iw-ward__none b { color: var(--ink); font-size: var(--fs-s); }
.iw-ward__info { flex: none; display: flex; align-items: center; gap: calc(var(--u) * .7); min-height: calc(var(--u) * 4); padding: calc(var(--u) * .5) calc(var(--u) * .8); border-radius: calc(var(--u) * .9); background: var(--paper-3); }
.iw-ward__itxt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .25em; }
.iw-ward__itxt b { font: 900 var(--fs-m)/1.1 var(--ffb); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iw-ward__itxt small { font: 700 var(--fs-xs)/1.2 var(--ffb); color: var(--muted); }
.iw-ward__tag { --h: #8a7dff; position: absolute; right: calc(var(--u) * 3.4 + var(--sar)); top: calc(var(--u) * 6.4 + var(--sat)); display: flex; flex-direction: column; align-items: flex-end; gap: .25em; color: #fff; pointer-events: none; }
.iw-ward__tag b { font-size: max(24px, calc(var(--u) * 3)); line-height: 1; -webkit-text-stroke: .1em var(--k); paint-order: stroke fill; text-shadow: 0 calc(var(--u) * .3) 0 var(--h); }
.iw-ward__tag small { font: 800 var(--fs-s)/1 var(--ffb); text-shadow: 0 0 2px var(--ink), 0 1px 0 var(--ink), 1px 0 0 var(--ink), -1px 0 0 var(--ink), 0 -1px 0 var(--ink); }
.iw-ward__tag em { padding: .3em .6em; border-radius: .5em; background: #3ddc84; color: var(--k); font: 900 var(--fs-xs)/1 var(--ffb); font-style: normal; box-shadow: 0 0 0 2px var(--ink); }
.iw-ward__tag em.is-try { background: #ffb12e; }
@media (prefers-reduced-motion: reduce) {
.iw-gban__art, .iw-gshow__sky, .iw-gcard, .iw-gcard__front, .iw-chip.is-hot, .iw-sub.is-claim .iw-sub__price { animation: none !important; }
}
@media (max-height: 520px) {
.iw-shop__body, .iw-gacha__body { top: calc(var(--u) * 10.2 + var(--sat)); gap: 6px; }
.iw-shop__panel { padding: 8px 8px 2px; }
.iw-sgrid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.iw-sgrid.is-rec .iw-scard.is-big { grid-row: span 1; }
.iw-sgrid { grid-auto-rows: 150px; }
.iw-scard { padding: 8px 6px; }
.iw-scfcard { padding: 12px 14px 10px; }
.iw-scf__list { max-height: 90px; }
.iw-gacha__bar { padding: 6px 10px; gap: 10px; }
.iw-gpull { min-width: 96px; }
.iw-gban__info { left: 14px; top: 10px; bottom: 8px; gap: 4px; }
.iw-gshow__cards { top: 44%; }
.iw-gshow__cards.is-ten { grid-template-columns: repeat(5, min(78px, 13vw)); gap: 7px; }
.iw-gshow__cards:not(.is-ten) { grid-template-columns: 120px; }
.iw-gcard__front { padding: 4px 3px 5px; }
.iw-gold__name { left: 24px; bottom: 56px; }
.iw-gold__art { height: min(80vh, 33.6vw); }
.iw-gratecard, .iw-ghistcard { padding: 12px 14px 10px; }
.iw-grate__all, .iw-ghist { max-height: 120px; }
.iw-ward__body { top: calc(var(--u) * 10.2 + var(--sat)); padding: 6px 8px; gap: 5px; width: min(430px, 56vw); }
.iw-ward__hero { width: 44px; }
.iw-ward__hink { width: 30px; height: 30px; } .iw-ward__hero > b { height: 30px; font-size: 16px; }
.iw-ward__grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
.iw-ward__info { min-height: 0; padding: 4px 8px; }
.iw-ward__tabs .iw-tab span { display: none; }
}
@media (max-height: 520px) and (pointer: coarse) {
.iw-shop__body, .iw-gacha__body { bottom: calc(10px + var(--sab)); }
.iw-ward__body { bottom: calc(10px + var(--sab)); }
}
.iw-ward .iw-pay__scrim { backdrop-filter: none; background: linear-gradient(90deg, rgba(34, 32, 58, .4), rgba(34, 32, 58, .18) 48%, rgba(34, 32, 58, 0) 62%); }
.iw-ward__pic { position: absolute; left: 50%; top: calc(var(--u) * .1); width: calc(var(--u) * 4.4); height: calc(var(--u) * 4.4); translate: -50% 0; border-radius: 50%; overflow: hidden; }
.iw-ward__pic img, .iw-ward__pic canvas { width: 100%; height: 100%; object-fit: cover; }
.iw-ward__hero.has-pic > b { visibility: hidden; }
.iw-shop__tok { display: inline-flex; align-items: center; gap: .3em; margin-right: 1.2em; }
.iw-shop__tok .iw-cur { width: 1.4em; height: 1.4em; }
.iw-shop__tok b { color: var(--ink); }
.iw-cur--ev_island, .iw-cur--ev_raid, .iw-cur--ev_login { color: var(--sun); }
.iw-scard.is-out .iw-scard__stamp { font-size: var(--fs-m); }
.iw-gban.is-soon .iw-gban__art { filter: grayscale(.6) brightness(.55); }
.iw-gban__soon { position: absolute; right: calc(var(--u) * 2.4); top: 50%; translate: 0 -50%; rotate: -6deg; padding: .35em .9em; border: 4px solid var(--ink); border-radius: .5em; background: var(--sun); color: var(--ink);
color: var(--ink); font: 900 max(22px, calc(var(--u) * 3))/1 var(--ffd); letter-spacing: .05em; box-shadow: 0 var(--drop) 0 var(--ink); }
.iw-gpull.is-soon { filter: grayscale(.8) brightness(.7); }
.iw-ward__cw { flex: none; display: flex; gap: calc(var(--u) * .35); }
.iw-ward__sw { display: flex; flex-direction: column; align-items: center; gap: .2em; padding: .2em .3em; border: 0; border-radius: calc(var(--u) * .6); background: transparent; color: inherit; cursor: pointer; }
.iw-ward__sw i { width: calc(var(--u) * 1.5); height: calc(var(--u) * 1.5); border-radius: 50%; background: var(--sw); border: 3px solid var(--paper, #fffaf0); box-shadow: 0 2px 0 var(--ink, #22203a); }
.iw-ward__sw small { font: 700 var(--fs-xs)/1 var(--ffb); white-space: nowrap; }
.iw-ward__sw.is-on i { outline: 3px solid var(--sun, #ffd23f); outline-offset: 1px; }
.iw-ward__sw.is-locked { opacity: .7; }
@media (max-width: 760px), (max-height: 480px) { .iw-ward__sw small { display: none; } }
.iw-pp__yuan { --disp-paper: #d4307a; }
.iw-rwcard.is-rainbow .iw-modal__title { --disp-paper: transparent; }
.iw-ui .iw-tier__corner.is-x2 b { font: 900 max(13px, calc(var(--u) * 1.35))/1 var(--ff-en); margin: 0; }
.iw-tier__need { position: absolute; left: 0; top: 0; z-index: 3; display: inline-flex; align-items: center; gap: .22em; padding: .34em .6em .32em .5em; border-radius: 0 0 var(--zz-r-s, 3px) 0;
background: var(--fn, #ffd23f); color: var(--fn-ink, #0c0d0f); font: 900 max(11px, calc(var(--u) * 1))/1 var(--ff-en); box-shadow: 0 0 0 max(2px, calc(var(--u) * .14)) var(--lf-line, #050506); }
.iw-tier__need b:first-child { font-family: var(--ff-zh); font-size: .9em; }
.iw-tier__need .iw-cur { width: 1.15em; height: 1.15em; }
.iw-tier__need .iw-cur svg { filter: none; }
.iw-sub__txt em.iw-sub__x, .iw-ui .iw-sub__txt em.iw-sub__x { align-self: flex-start; font: 900 max(18px, calc(var(--u) * 2.1))/1 var(--ff-en); letter-spacing: .01em; color: var(--fn, #b8730a); }
.iw-own { display: flex; align-items: center; flex-wrap: wrap; gap: calc(var(--u) * .6); padding: calc(var(--u) * .5) calc(var(--u) * .7); border-radius: var(--zz-r, 4px);
background: var(--lf-coal, #1a1c20); box-shadow: 0 0 0 var(--lf-bw, 2.5px) var(--lf-line, #050506), var(--cn-hard, none); }
.iw-own__ok { flex: none; width: max(16px, calc(var(--u) * 1.5)); height: max(16px, calc(var(--u) * 1.5)); color: var(--lf-mute, #a3a9b1); }
.iw-own__ok svg { width: 100%; height: 100%; }
.iw-own__chip { position: relative; display: inline-flex; align-items: center; gap: .35em; padding: .28em .55em .28em .35em; border: 0; border-radius: var(--zz-r-s, 3px); cursor: pointer;
background: var(--lf-coal-2, #24272c); color: #fff; font: 900 max(13px, calc(var(--u) * 1.25))/1 var(--ff-en); box-shadow: 0 0 0 max(2px, calc(var(--u) * .14)) var(--lf-line, #050506); transition: transform .15s var(--out); }
.iw-own__chip.is-focus, .iw-own__chip:hover { transform: translateY(calc(var(--u) * -.2)); box-shadow: 0 0 0 max(2px, calc(var(--u) * .14)) var(--lf-line, #050506), 0 0 0 calc(max(2px, calc(var(--u) * .14)) + var(--u) * .28) var(--fn, #ffd23f); }
.iw-own__chip.is-claim { background: var(--fn, #ffd23f); color: var(--fn-ink, #0c0d0f); }
.iw-own__ico { flex: none; width: max(22px, calc(var(--u) * 2.4)); height: max(22px, calc(var(--u) * 2.4)); }
.iw-own__ico svg { width: 100%; height: 100%; }
.iw-own__ring { position: relative; flex: none; display: grid; place-items: center; width: max(24px, calc(var(--u) * 2.6)); height: max(24px, calc(var(--u) * 2.6)); }
.iw-own__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.iw-own__ring circle { fill: none; stroke-width: 4.5; }
.iw-own__ring .is-bg { stroke: rgba(255, 255, 255, .18); }
.iw-own__ring .is-fg { stroke: var(--fn, #ffd23f); stroke-linecap: round; }
.iw-own__chip.is-claim .iw-own__ring .is-bg { stroke: rgba(0, 0, 0, .18); }
.iw-own__chip.is-claim .iw-own__ring .is-fg { stroke: var(--fn-ink, #0c0d0f); }
.iw-own__ring b { position: relative; font-size: .82em; }
.iw-own__lv small { margin-right: .08em; font-size: .62em; opacity: .7; }
.iw-own__bar { display: block; width: max(22px, calc(var(--u) * 2.6)); height: max(4px, calc(var(--u) * .36)); border-radius: 999px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.iw-own__bar i { display: block; height: 100%; border-radius: inherit; background: var(--fn, #ffd23f); }
.iw-own__chip.is-claim .iw-own__bar { background: rgba(0, 0, 0, .18); }
.iw-own__chip.is-claim .iw-own__bar i { background: var(--fn-ink, #0c0d0f); }
.iw-own__dot { position: absolute; right: -.5em; top: -.6em; padding: .16em .36em .14em; border-radius: 999px; background: var(--foe, #ff3b5c); color: #fff; font: 900 max(10px, calc(var(--u) * .8))/1 var(--ff-en); font-style: normal; box-shadow: 0 0 0 2px var(--lf-line, #050506); }
@media (max-height: 520px) { .iw-own { padding: 5px 7px; gap: 6px; } }
.gw-skinmk { position: absolute; z-index: 3; right: 3%; bottom: 5%; display: inline-flex; align-items: center; justify-content: center; gap: .3em;
height: max(16px, calc(var(--u, 16px) * 1.5)); padding: 0 .4em; border-radius: var(--zz-r-s, 3px); background: #fff; color: var(--lf-line, #050506);
font: 900 max(10px, calc(var(--u, 16px) * .9))/1 var(--ff-zh, sans-serif); font-style: normal; white-space: nowrap; box-shadow: 0 0 0 2px var(--lf-line, #050506); pointer-events: none; }
.gw-skinmk__gun { display: block; height: 100%; width: auto; aspect-ratio: 5 / 3; object-fit: contain; filter: brightness(0); transform: scale(1.25); }
.gw-skinmk__ico { display: block; height: 80%; aspect-ratio: 5 / 3; filter: brightness(0); }
.gw-skinmk__ico svg, .gw-skinmk.is-on svg { display: block; width: 100%; height: 100%; }
.gw-skinmk.is-off { background: var(--lf-coal-3, #30343a); color: var(--lf-mute, #a3a9b1); }
.gw-skinmk.is-off .gw-skinmk__gun, .gw-skinmk.is-off .gw-skinmk__ico { filter: brightness(0) invert(.62); }
.gw-skinmk.is-on { --k: #fff; width: max(18px, calc(var(--u, 16px) * 1.6)); height: max(18px, calc(var(--u, 16px) * 1.6)); padding: .2em; }
.iw-rw__gun { display: block; margin-bottom: .2em; font-size: .9em; color: #dfe3e8; overflow: hidden; text-overflow: ellipsis; }
.iw-rwcard .iw-rw-fit.has-wear { flex-direction: column; align-items: center; justify-content: flex-start; }
.iw-rw.is-skin { width: calc(var(--u) * 13); }
.iw-rw .iw-thing.is-skin .iw-thing__img { left: -14%; right: auto; width: 128%; top: 4%; bottom: auto; height: 84%; rotate: -10deg; }
.iw-rw .iw-thing.is-skin .gw-skinmk { right: -8%; bottom: 8%; }
.iw-rw-wear { position: relative; z-index: 2; flex: none; display: flex; flex-wrap: wrap; justify-content: center; gap: calc(var(--u) * .5) calc(var(--u) * 1.2); margin: calc(var(--u) * -.4) auto calc(var(--u) * 1.2); }
.iw-rw-wear__row { display: inline-flex; align-items: center; gap: .5em; padding: .32em .85em .32em .38em; border: 0; border-radius: 999px; background: var(--lf-coal, #1a1c20); color: #fff;
font: 900 max(12px, calc(var(--u) * 1.1))/1 var(--ff-zh, sans-serif); box-shadow: 0 0 0 2px var(--lf-line, #050506); animation: iw-rw-in .55s var(--spring2) backwards; animation-delay: .35s; }
.iw-rw-wear__gun { position: relative; flex: none; display: block; width: 3em; height: 1.7em; border-radius: var(--zz-r-s, 3px); background: #fff; }
.iw-rw-wear__gun > .gw-skinmk__gun, .iw-rw-wear__gun > .gw-skinmk__ico { position: absolute; left: 6%; top: 4%; width: 88%; height: 92%; object-fit: contain; }
.iw-rw-wear__gun > .iw-rw-wear__ok { position: absolute; right: -.45em; bottom: -.35em; width: 1.05em; height: 1.05em; padding: .12em; border-radius: 50%; background: var(--fn, #ffd23f); color: var(--lf-line, #050506); box-shadow: 0 0 0 2px var(--lf-line, #050506); }
.iw-rw-wear__row svg { display: block; width: 100%; height: 100%; }
.iw-rw-wear__go { flex: none; width: 1em; height: 1em; margin-left: -.15em; }
button.iw-rw-wear__row { cursor: pointer; }
button.iw-rw-wear__row.is-focus, button.iw-rw-wear__row:hover { background: var(--fn, #ffd23f); color: var(--fn-ink, #0c0d0f); }
@media (max-height: 520px) { .iw-rw-wear { margin: -4px auto 18px; } .iw-rw-wear__row { font-size: 12px; } .iw-ui .iw-rw.is-skin { width: 104px; } }
@media (prefers-reduced-motion: reduce) { .iw-rw-wear__row { animation: none; } }
.gw-cx-tile .gw-cs-tile__name.has-skin, .gw-cx-tile .gw-cs-tile__name.has-skin.is-long { font-size: max(10px, calc(var(--u, 16px) * .78)); }
.gw-cs-tile__name > .gw-skin-gun { display: block; margin-bottom: .22em; font-size: .8em; color: var(--lf-mute, #a3a9b1); overflow: hidden; text-overflow: ellipsis; }
.gw-cs-tile.is-focus .gw-cs-tile__name > .gw-skin-gun { color: inherit; opacity: .7; }
.gw-cx-tile .gw-skinmk { right: calc(var(--u, 16px) * .45); bottom: calc(var(--u, 16px) * 2.6); }
.gw-shop-tile .gw-skinmk { top: calc(var(--u, 16px) * .45); bottom: auto; height: max(14px, calc(var(--u, 16px) * 1.2)); }
