/* Zovy Fúria — visual próprio: escuro, dourado e vermelho, letras condensadas (Anton + Barlow Condensed).
   Funciona no computador e no celular deitado (no celular em pé pede para virar). */
:root {
  --bg: #08060C; --bg2: #120D18; --card: #17111F; --line: rgba(255, 214, 140, .18);
  --gold: #FFC94A; --gold2: #E8A21B; --red: #FF2E3F; --red2: #B3121F; --ice: #6FE3FF; --tx: #F4EEE4; --mut: #A99FB3;
  --p0: #FFC94A; --p1: #4FD2FF;
  --fa: 'Anton', 'Impact', sans-serif; --fb: 'Barlow Condensed', 'Arial Narrow', sans-serif; --fc: 'Barlow', system-ui, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--tx); font-family: var(--fc); overflow: hidden; overscroll-behavior: none; }
body { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
input, textarea { user-select: text; -webkit-user-select: text; font-size: 16px; }
button { font: inherit; color: inherit; cursor: pointer; }
img, canvas, svg { -webkit-user-drag: none; }
#app { position: fixed; inset: 0; overflow: hidden; background: radial-gradient(120% 90% at 50% 10%, #1D1426 0, var(--bg) 70%); }
#cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.screen { position: absolute; inset: 0; display: none; }
.screen.on { display: block; }

/* ícones próprios (svg com degradê dourado) */
i[data-ico] { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; flex: none; }
i[data-ico] svg { width: 100%; height: 100%; }

.tb { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(18, 13, 24, .72); display: grid; place-items: center; padding: 0; backdrop-filter: blur(6px); transition: transform .15s, border-color .15s; }
.tb:hover { border-color: var(--gold); transform: translateY(-1px); }
.tb:active { transform: scale(.94); }
.tb i[data-ico] { width: 24px; height: 24px; }

/* ---------- carregando ---------- */
#loading { background: radial-gradient(80% 70% at 50% 45%, #2A0D16 0, var(--bg) 70%); z-index: 50; transition: opacity .4s; }
#loading.off { opacity: 0; pointer-events: none; }
.ld-in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; }
.ld-logo { width: min(70vw, 520px); filter: drop-shadow(0 8px 30px rgba(255, 46, 63, .45)); animation: ldp 1.6s ease-in-out infinite; }
@keyframes ldp { 50% { transform: scale(1.03); filter: drop-shadow(0 8px 46px rgba(255, 201, 74, .55)); } }
.ld-bar { width: min(60vw, 360px); height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 4%; background: linear-gradient(90deg, var(--red), var(--gold)); transition: width .3s; }
.ld-in small { font-family: var(--fb); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); font-weight: 700; }

/* ---------- menu ---------- */
#menu { z-index: 5; }
.m-art { position: absolute; inset: 0; background-size: cover; background-position: 60% 30%; transform: scale(1.04); animation: mdrift 24s ease-in-out infinite alternate; }
@keyframes mdrift { to { transform: scale(1.1) translate(-1.5%, 1%); } }
.m-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 6, 12, .96) 0, rgba(8, 6, 12, .82) 34%, rgba(8, 6, 12, .1) 70%), linear-gradient(0deg, rgba(8, 6, 12, .9), transparent 40%); }
.m-top { position: absolute; top: max(12px, env(safe-area-inset-top)); left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); display: flex; align-items: center; gap: 10px; z-index: 2; }
.site-logo { height: 30px; width: auto; }
.tag { font-family: var(--fb); font-weight: 800; letter-spacing: .14em; font-size: 12px; padding: 4px 9px; border-radius: 6px; background: linear-gradient(90deg, var(--red2), var(--red)); }
.m-tools { margin-left: auto; display: flex; gap: 8px; }
.m-main { position: absolute; left: max(4vw, env(safe-area-inset-left)); top: 50%; transform: translateY(-50%); width: min(470px, 44vw); display: grid; gap: 14px; z-index: 2; }
.m-logo { width: 100%; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .7)); }
.m-nav { display: grid; gap: 8px; }
.mi { position: relative; display: flex; align-items: center; gap: 14px; text-align: left; padding: 10px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(90deg, rgba(30, 22, 38, .92), rgba(20, 14, 26, .7)); overflow: hidden; transition: transform .18s, border-color .18s, background .18s; }
.mi::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 201, 74, .18) 50%, transparent 70%); transform: translateX(-120%); transition: transform .5s; }
.mi:hover, .mi:focus-visible { transform: translateX(6px); border-color: rgba(255, 201, 74, .6); outline: none; }
.mi:hover::before, .mi:focus-visible::before { transform: translateX(120%); }
.mi.hot { background: linear-gradient(90deg, rgba(120, 14, 26, .95), rgba(40, 12, 20, .8)); border-color: rgba(255, 46, 63, .6); }
.mi i[data-ico] { width: 42px; height: 42px; }
.mi b { display: block; font-family: var(--fa); font-weight: 400; font-size: 26px; letter-spacing: .04em; line-height: 1; }
.mi small { display: block; font-family: var(--fb); font-weight: 600; font-size: 15px; color: var(--mut); margin-top: 3px; }
.mi .live-dot { position: absolute; right: 16px; top: 50%; margin-top: -5px; }
.m-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mi.sm { padding: 9px 12px; gap: 10px; }
.mi.sm b { font-size: 19px; }
.mi.sm i[data-ico] { width: 30px; height: 30px; }
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 46, 63, .7); animation: live 1.5s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(255, 46, 63, 0); } }
.m-acct { font-family: var(--fb); font-size: 15px; color: var(--mut); font-weight: 600; min-height: 20px; }
.m-acct b { color: var(--gold); }
.m-acct a { color: var(--gold); }

/* ---------- seleção ---------- */
#select { z-index: 6; background: #0A0710; }
.sel-bg { position: absolute; inset: 0; background: radial-gradient(60% 80% at 20% 60%, rgba(255, 201, 74, .16), transparent 70%), radial-gradient(60% 80% at 80% 60%, rgba(79, 210, 255, .14), transparent 70%), repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px); }
.sel-top { position: absolute; top: max(10px, env(safe-area-inset-top)); left: max(14px, env(safe-area-inset-left)); right: max(14px, env(safe-area-inset-right)); display: flex; align-items: center; gap: 14px; z-index: 3; }
.sel-top h2 { margin: 0; font-family: var(--fa); font-weight: 400; font-size: clamp(22px, 3.2vw, 38px); letter-spacing: .05em; background: linear-gradient(180deg, #fff, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sel-opts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.chip { font-family: var(--fb); font-weight: 700; font-size: 15px; letter-spacing: .04em; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.chip.on { background: linear-gradient(90deg, var(--red2), var(--red)); border-color: transparent; }
.sel-stage { position: absolute; inset: 70px max(10px, env(safe-area-inset-right)) 76px max(10px, env(safe-area-inset-left)); display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; align-items: center; gap: 1vw; }
.sel-grid { display: grid; grid-template-columns: repeat(3, var(--cs)); gap: 8px; --cs: clamp(64px, min(10.5vw, 15vh), 118px); }
.cell { position: relative; width: var(--cs); height: var(--cs); padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid rgba(255, 255, 255, .1); background: linear-gradient(160deg, #2A1E34, #120C18); transform: skewX(-6deg); transition: transform .15s, border-color .15s, box-shadow .15s; }
.cell img { position: absolute; left: 50%; top: 4%; width: 230%; transform: translateX(-50%) skewX(6deg); object-fit: contain; }
.cell .el { position: absolute; inset: auto 0 0 0; height: 4px; background: var(--c); }
.cell:hover { transform: skewX(-6deg) translateY(-3px); }
.cell.lock { filter: grayscale(1) brightness(.4); }
.cell.lock::after { content: '?'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--fa); font-size: 40px; color: var(--mut); transform: skewX(6deg); }
.cell.c0 { border-color: var(--p0); box-shadow: 0 0 0 3px rgba(255, 201, 74, .35), 0 0 24px rgba(255, 201, 74, .4); }
.cell.c1 { border-color: var(--p1); box-shadow: 0 0 0 3px rgba(79, 210, 255, .35), 0 0 24px rgba(79, 210, 255, .4); }
.cell.c0.c1 { border-color: #fff; }
.cell .tagp { position: absolute; top: 4px; font-family: var(--fa); font-size: 13px; padding: 1px 6px; border-radius: 5px; transform: skewX(6deg); color: #120C18; }
.cell .tagp.t0 { left: 6px; background: var(--p0); }
.cell .tagp.t1 { right: 6px; background: var(--p1); }
.sel-side { position: relative; height: 100%; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.sel-side.s1 { align-items: flex-end; text-align: right; }
.sel-side .rend { position: absolute; bottom: 70px; height: calc(100% - 50px); max-width: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .8)); transition: transform .3s, opacity .3s; z-index: 1; }
.sel-side.s0 .rend { left: 0; }
.sel-side.s1 .rend { right: 0; transform: scaleX(-1); }
.sel-side .rend.in { animation: rin .35s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes rin { from { opacity: 0; translate: -40px 0; } }
.sel-side.s1 .rend.in { animation-name: rin1; }
@keyframes rin1 { from { opacity: 0; translate: 40px 0; } }
.sel-info { position: relative; z-index: 2; background: linear-gradient(90deg, rgba(10, 7, 16, .92), rgba(10, 7, 16, .6)); border-left: 4px solid var(--c, var(--gold)); padding: 10px 14px; border-radius: 4px 12px 12px 4px; max-width: 330px; }
.sel-side.s1 .sel-info { border-left: 0; border-right: 4px solid var(--c, var(--p1)); border-radius: 12px 4px 4px 12px; background: linear-gradient(270deg, rgba(10, 7, 16, .92), rgba(10, 7, 16, .6)); }
.sel-info .nm { font-family: var(--fa); font-size: clamp(26px, 3.4vw, 44px); line-height: 1; letter-spacing: .03em; }
.sel-info .nk { font-family: var(--fb); font-weight: 800; font-style: italic; color: var(--c, var(--gold)); font-size: 18px; letter-spacing: .06em; text-transform: uppercase; }
.sel-info .mt { font-family: var(--fb); font-weight: 600; color: var(--mut); font-size: 15px; margin-top: 2px; }
.stats { display: grid; gap: 4px; margin-top: 8px; }
.stat { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 8px; font-family: var(--fb); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--mut); }
.sel-side.s1 .stat { grid-template-columns: 1fr 76px; }
.sel-side.s1 .stat span { order: 2; }
.stat i { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.stat i::after { content: ''; position: absolute; inset: 0; width: var(--v); background: linear-gradient(90deg, var(--c, var(--gold)), #fff); border-radius: 4px; }
.sel-side.s1 .stat i::after { left: auto; right: 0; }
.sel-foot { position: absolute; left: 0; right: 0; bottom: max(10px, env(safe-area-inset-bottom)); display: flex; justify-content: center; gap: 10px; z-index: 3; padding: 0 12px; }
.go { font-family: var(--fa); font-size: 24px; letter-spacing: .06em; padding: 12px 34px; border-radius: 14px; border: 0; background: linear-gradient(180deg, #FF4655, var(--red2)); box-shadow: 0 6px 0 #5E0910, 0 10px 30px rgba(255, 46, 63, .45); transition: transform .12s, box-shadow .12s; }
.go:hover { transform: translateY(-2px); }
.go:active { transform: translateY(4px); box-shadow: 0 2px 0 #5E0910; }
.go.gold { background: linear-gradient(180deg, #FFE08A, var(--gold2)); color: #2A1500; box-shadow: 0 6px 0 #7A4A05, 0 10px 30px rgba(255, 201, 74, .35); }
.go[disabled] { filter: grayscale(1) brightness(.6); pointer-events: none; }
.ghost { font-family: var(--fb); font-weight: 800; font-size: 17px; letter-spacing: .05em; padding: 12px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); }
.ghost:hover { border-color: var(--gold); }

/* ---------- VS ---------- */
#vs { z-index: 8; background: #050307; overflow: hidden; }
.vs-wrap { position: absolute; inset: 0; }
.vs-half { position: absolute; top: 0; bottom: 0; width: 62%; overflow: hidden; }
.vs-half.h0 { left: 0; clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); background: linear-gradient(120deg, #3B0A12, #12060A); animation: vsl .5s cubic-bezier(.2, .9, .3, 1) both; }
.vs-half.h1 { right: 0; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); background: linear-gradient(240deg, #0A2A3B, #06101A); animation: vsr .5s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes vsl { from { transform: translateX(-100%); } }
@keyframes vsr { from { transform: translateX(100%); } }
.vs-half::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 26px); }
.vs-half::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 40% 60%, var(--c), transparent 70%); opacity: .35; }
.vs-half img { position: absolute; bottom: -4%; height: 104%; filter: drop-shadow(0 0 40px rgba(0, 0, 0, .9)); z-index: 1; animation: vsimg 2.8s ease-out both; }
.vs-half.h0 img { left: 6%; }
.vs-half.h1 img { right: 6%; transform: scaleX(-1); }
@keyframes vsimg { from { scale: 1.12; } to { scale: 1; } }
.vs-name { position: absolute; bottom: 9%; z-index: 2; font-family: var(--fa); font-size: clamp(34px, 6vw, 84px); line-height: .9; letter-spacing: .02em; text-shadow: 0 4px 0 rgba(0, 0, 0, .6); animation: vsn .6s .25s both; }
.vs-name small { display: block; font-family: var(--fb); font-style: italic; font-weight: 800; font-size: .32em; color: var(--c); letter-spacing: .1em; }
.vs-half.h0 .vs-name { left: 5%; }
.vs-half.h1 .vs-name { right: 5%; text-align: right; }
@keyframes vsn { from { opacity: 0; transform: translateY(30px); } }
.vs-mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5; font-family: var(--fa); font-size: clamp(80px, 14vw, 190px); line-height: 1; background: linear-gradient(180deg, #fff 20%, var(--gold) 60%, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(255, 46, 63, .8)); animation: vsm .5s .35s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes vsm { from { opacity: 0; transform: translate(-50%, -50%) scale(3); } }
.vs-quote { position: absolute; z-index: 6; top: 8%; max-width: 40%; font-family: var(--fb); font-weight: 700; font-style: italic; font-size: clamp(15px, 1.8vw, 22px); background: rgba(0, 0, 0, .55); padding: 8px 14px; border-radius: 10px; animation: vsn .5s .8s both; }
.vs-quote.q0 { left: 4%; border-left: 3px solid var(--p0); }
.vs-quote.q1 { right: 4%; text-align: right; border-right: 3px solid var(--p1); animation-delay: 1.3s; }
.vs-stage { position: absolute; z-index: 6; left: 50%; bottom: 4%; transform: translateX(-50%); font-family: var(--fb); font-weight: 800; letter-spacing: .2em; color: var(--mut); font-size: 14px; text-transform: uppercase; white-space: nowrap; }
.vs-step { position: absolute; z-index: 6; left: 50%; top: 4%; transform: translateX(-50%); font-family: var(--fa); letter-spacing: .1em; font-size: clamp(16px, 2vw, 24px); color: var(--gold); }

/* ---------- HUD da luta ---------- */
#fight { z-index: 4; pointer-events: none; }
#fight > * { pointer-events: auto; }
#fight .hud, #fight .sm-side, #fight .combo, #fight .ann, #fight .cutin { pointer-events: none; }
.hud { position: absolute; top: max(8px, env(safe-area-inset-top)); left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 10px; }
.hp-side { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.hp-side.s1 { flex-direction: row-reverse; }
.pt { width: clamp(42px, 5.4vw, 66px); height: clamp(42px, 5.4vw, 66px); border-radius: 12px; overflow: hidden; border: 2px solid var(--pc); background: #1A1222 center/cover no-repeat; flex: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .6); }
.hp-side.s0 { --pc: var(--p0); }
.hp-side.s1 { --pc: var(--p1); }
.hp-box { flex: 1; min-width: 0; }
.hp-name { font-family: var(--fa); font-size: clamp(14px, 1.8vw, 20px); letter-spacing: .05em; text-shadow: 0 2px 0 #000; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-side.s1 .hp-name { text-align: right; }
.hp { position: relative; height: clamp(14px, 2.3vw, 24px); background: rgba(10, 6, 14, .85); border: 2px solid rgba(255, 220, 160, .55); transform: skewX(-18deg); overflow: hidden; box-shadow: 0 3px 0 rgba(0, 0, 0, .5); margin-top: 2px; }
.hp-side.s1 .hp { transform: skewX(18deg); }
.hp i { position: absolute; top: 0; bottom: 0; right: 0; width: 100%; transform-origin: right; }
.hp-side.s1 .hp i { right: auto; left: 0; transform-origin: left; }
.hp-dmg { background: #fff; }
.hp-fill { background: linear-gradient(180deg, #FFE68A 0, var(--gold) 45%, #D48A0E 100%); }
.hp-side.low .hp-fill { background: linear-gradient(180deg, #FF8A8A 0, var(--red) 45%, var(--red2) 100%); }
.hp-fury { position: absolute; inset: 0; display: none; place-items: center; font-family: var(--fa); font-size: 12px; letter-spacing: .3em; color: #fff; text-shadow: 0 0 6px #f00; transform: skewX(18deg); }
.hp-side.s1 .hp-fury { transform: skewX(-18deg); }
.hp-side.fury .hp-fury { display: grid; animation: furyb .5s steps(2) infinite; }
.hp-side.fury .hp { border-color: var(--red); box-shadow: 0 0 14px rgba(255, 46, 63, .8); }
@keyframes furyb { 50% { opacity: .35; } }
.pips { display: flex; gap: 5px; margin-top: 5px; }
.hp-side.s1 .pips { justify-content: flex-end; }
.pips i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 220, 160, .5); background: rgba(0, 0, 0, .5); }
.pips i.on { background: radial-gradient(circle at 35% 35%, #fff, var(--gold) 50%, #A86A00); border-color: #fff; box-shadow: 0 0 10px var(--gold); }
.timer { min-width: clamp(56px, 7vw, 82px); text-align: center; background: linear-gradient(180deg, rgba(30, 20, 36, .95), rgba(10, 6, 14, .95)); border: 2px solid rgba(255, 220, 160, .55); border-radius: 0 0 16px 16px; padding: 2px 8px 5px; margin-top: -8px; box-shadow: 0 6px 14px rgba(0, 0, 0, .5); }
.timer b { display: block; font-family: var(--fa); font-weight: 400; font-size: clamp(28px, 4vw, 46px); line-height: 1; color: #fff; }
.timer small { font-family: var(--fb); font-weight: 800; font-size: 11px; letter-spacing: .14em; color: var(--gold); }
.timer.low b { color: var(--red); animation: furyb .5s steps(2) infinite; }
.sm-side { position: absolute; bottom: max(10px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px; }
.sm-side.s0 { left: max(12px, env(safe-area-inset-left)); }
.sm-side.s1 { right: max(12px, env(safe-area-inset-right)); flex-direction: row-reverse; }
.sm { width: clamp(120px, 20vw, 250px); height: 12px; background: rgba(8, 5, 12, .85); border: 2px solid rgba(120, 200, 255, .5); transform: skewX(-18deg); overflow: hidden; }
.sm-side.s1 .sm { transform: skewX(18deg); }
.sm i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2A6BFF, #6FE3FF); }
.sm-side.s1 .sm i { margin-left: auto; background: linear-gradient(270deg, #2A6BFF, #6FE3FF); }
.sm-side span { font-family: var(--fa); font-size: 15px; letter-spacing: .1em; color: rgba(255, 255, 255, .4); }
.sm-side.full .sm { border-color: #fff; box-shadow: 0 0 16px #6FE3FF; }
.sm-side.full .sm i { background: linear-gradient(90deg, #6FE3FF, #fff, #FFC94A, #6FE3FF); background-size: 300% 100%; animation: smf 1s linear infinite; }
.sm-side.full span { color: #fff; text-shadow: 0 0 10px #6FE3FF; }
@keyframes smf { to { background-position: -300% 0; } }
.combo { position: absolute; top: 22%; font-family: var(--fa); line-height: .9; opacity: 0; transition: opacity .3s; }
.combo.on { opacity: 1; }
.combo.s0 { left: max(18px, env(safe-area-inset-left)); }
.combo.s1 { right: max(18px, env(safe-area-inset-right)); text-align: right; }
.combo b { display: block; font-size: clamp(42px, 7vw, 78px); background: linear-gradient(180deg, #fff, var(--gold) 60%, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .7)); }
.combo small { font-size: clamp(16px, 2.2vw, 24px); letter-spacing: .14em; color: #fff; text-shadow: 0 2px 0 #000; }
.combo.pop b { animation: cpop .18s ease-out; }
@keyframes cpop { from { transform: scale(1.4); } }
.ann { position: absolute; inset: 0; display: grid; place-items: center; }
.ann .t { font-family: var(--fa); font-size: clamp(60px, 12vw, 170px); line-height: 1; letter-spacing: .04em; background: linear-gradient(180deg, #fff 20%, var(--gold) 55%, var(--red2)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .8)) drop-shadow(0 0 30px rgba(255, 46, 63, .6)); animation: ann 1.2s cubic-bezier(.2, 1.4, .4, 1) both; text-align: center; }
.ann .t small { display: block; font-size: .3em; letter-spacing: .3em; color: #fff; background: none; -webkit-text-fill-color: #fff; }
.ann .t.ko { font-size: clamp(90px, 20vw, 280px); animation: annko 2s cubic-bezier(.2, 1.4, .4, 1) both; }
.ann .t.fight { animation: annf .9s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes ann { 0% { opacity: 0; transform: scale(2.2); } 18% { opacity: 1; transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: scale(1.05); } }
@keyframes annf { 0% { opacity: 0; transform: scale(.4) rotate(-6deg); } 25% { opacity: 1; transform: scale(1.15) rotate(-6deg); } 70% { opacity: 1; transform: scale(1) rotate(-6deg); } 100% { opacity: 0; transform: scale(2) rotate(-6deg); } }
@keyframes annko { 0% { opacity: 0; transform: scale(4); } 12% { opacity: 1; transform: scale(1); } 85% { opacity: 1; } 100% { opacity: 0; } }
.cutin { position: absolute; inset: 0; overflow: hidden; display: none; }
.cutin.on { display: block; }
.cutin .band { position: absolute; left: -10%; right: -10%; top: 30%; height: 40%; background: linear-gradient(90deg, rgba(0, 0, 0, .0), var(--c) 20%, var(--c) 80%, rgba(0, 0, 0, 0)); transform: skewY(-8deg); animation: cband .75s cubic-bezier(.2, .9, .3, 1) both; opacity: .85; }
.cutin .band::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .18) 0 3px, transparent 3px 30px); animation: cstr .3s linear infinite; }
@keyframes cstr { to { background-position: 60px 0; } }
@keyframes cband { from { transform: skewY(-8deg) scaleY(0); } }
.cutin > img { position: absolute; top: 18%; height: 70%; filter: drop-shadow(0 0 24px rgba(0, 0, 0, .8)); animation: cimg .75s cubic-bezier(.2, .9, .3, 1) both; }
.cutin.s0 > img { left: 6%; }
.cutin.s1 > img { right: 6%; transform: scaleX(-1); }
@keyframes cimg { from { opacity: 0; translate: -120px 0; } }
.cutin .nm { position: absolute; top: 40%; font-family: var(--fa); font-size: clamp(28px, 5vw, 64px); letter-spacing: .04em; color: #fff; text-shadow: 0 4px 0 #000, 0 0 20px var(--c); animation: vsn .4s .1s both; }
.cutin.s0 .nm { right: 8%; text-align: right; }
.cutin.s1 .nm { left: 8%; }
.cutin .nm small { display: block; font-family: var(--fb); font-weight: 800; font-size: .36em; letter-spacing: .3em; color: var(--gold); }
.pause-b { position: absolute; top: calc(max(8px, env(safe-area-inset-top)) + clamp(58px, 7.4vw, 86px)); left: 50%; transform: translateX(-50%); width: 38px; height: 38px; opacity: .8; }
.train-pane { position: absolute; left: max(12px, env(safe-area-inset-left)); top: 26%; width: min(260px, 32vw); background: rgba(8, 6, 12, .8); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-family: var(--fb); font-weight: 600; font-size: 15px; }
.train-pane h4 { margin: 0 0 6px; font-family: var(--fa); font-weight: 400; letter-spacing: .06em; color: var(--gold); }
.train-pane .row { display: flex; justify-content: space-between; gap: 6px; }
.train-pane .row b { color: #fff; }
.train-pane .seg2 { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.train-pane .seg2 button { font-family: var(--fb); font-weight: 700; font-size: 13px; padding: 4px 8px; border-radius: 7px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); }
.train-pane .seg2 button.on { background: var(--red2); border-color: var(--red); }

/* ---------- controles de toque ---------- */
.pad { position: absolute; inset: 0; pointer-events: none; }
.pad .stick { position: absolute; left: max(16px, env(safe-area-inset-left)); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 26px); width: 34vh; height: 34vh; max-width: 200px; max-height: 200px; min-width: 130px; min-height: 130px; pointer-events: auto; touch-action: none; }
.pad .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 220, 160, .25); background: radial-gradient(circle, rgba(255, 255, 255, .06), rgba(0, 0, 0, .25)); }
.pad .knob { position: absolute; left: 50%; top: 50%; width: 42%; height: 42%; margin: -21% 0 0 -21%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #E0C690 40%, #6B4E1C); box-shadow: 0 6px 14px rgba(0, 0, 0, .6); }
.pad .btns { position: absolute; right: max(16px, env(safe-area-inset-right)); bottom: calc(max(12px, env(safe-area-inset-bottom)) + 24px); width: 37vh; height: 37vh; max-width: 230px; max-height: 230px; min-width: 150px; min-height: 150px; pointer-events: auto; touch-action: none; }
.pb { position: absolute; width: 44%; height: 44%; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); display: grid; place-items: center; align-content: center; padding: 0; color: #fff; box-shadow: 0 5px 0 rgba(0, 0, 0, .5), inset 0 2px 8px rgba(255, 255, 255, .3); touch-action: none; }
.pb i[data-ico] { width: 52%; height: 52%; }
.pb small { font-family: var(--fb); font-weight: 800; font-size: 10px; letter-spacing: .08em; line-height: 1; margin-top: -2px; }
.pb.on { transform: scale(.9); filter: brightness(1.35); }
.pb-p { left: 0; bottom: 6%; background: radial-gradient(circle at 35% 30%, #FF8A93, var(--red) 55%, #7A0A14); }
.pb-k { left: 28%; top: 0; background: radial-gradient(circle at 35% 30%, #FFE7A3, #F0A41E 55%, #7A4805); }
.pb-s { right: 0; top: 28%; background: radial-gradient(circle at 35% 30%, #A8EEFF, #2AA9E8 55%, #0B4775); }
.pb-x { right: 22%; bottom: 0; width: 38%; height: 38%; background: radial-gradient(circle at 35% 30%, #E6D6FF, #8C4DFF 55%, #34127A); opacity: .55; }
.pb-x.ready { opacity: 1; box-shadow: 0 0 0 4px rgba(255, 255, 255, .5), 0 0 24px #B06BFF, 0 5px 0 rgba(0, 0, 0, .5); animation: furyb 0.6s steps(2) infinite; }

/* ---------- janelas ---------- */
.sheet { z-index: 30; background: rgba(4, 2, 6, .72); backdrop-filter: blur(4px); }
.sh-box { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, 92vw); max-height: 92vh; overflow: auto; background: linear-gradient(180deg, #1C1424, #0E0A13); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); animation: shin .25s ease-out; }
.sh-box.wide { width: min(980px, 95vw); }
@keyframes shin { from { opacity: 0; transform: translate(-50%, -46%); } }
.sh-box h2 { margin: 0 0 10px; font-family: var(--fa); font-weight: 400; font-size: 34px; letter-spacing: .04em; line-height: 1; }
.sh-box h2 small { display: block; font-family: var(--fb); font-weight: 800; font-size: 14px; letter-spacing: .2em; color: var(--gold); margin-bottom: 4px; }
.sh-box p { font-family: var(--fc); line-height: 1.5; color: #E6DDEE; margin: 6px 0; }
.sh-col { display: grid; gap: 8px; margin-top: 14px; }
.sh-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.sh-row > * { flex: 1; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-family: var(--fb); font-weight: 700; font-size: 17px; margin: 10px 0; }
.kv span { color: var(--mut); }
.kv b { color: #fff; text-align: right; }
.kv b.gold { color: var(--gold); }
.xp { font-family: var(--fa); font-size: 46px; color: var(--gold); text-align: center; line-height: 1; margin: 6px 0; }
.xp small { font-size: .4em; letter-spacing: .1em; }
.goldtx { color: var(--gold); font-weight: 700; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 8px; }
.how-grid div { background: rgba(255, 255, 255, .04); border-radius: 12px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .06); }
.how-grid b { font-family: var(--fb); font-weight: 800; letter-spacing: .05em; color: var(--gold); display: block; margin-bottom: 3px; }
.how-grid span { font-size: 14px; color: #DCD2E4; line-height: 1.45; }
kbd { display: inline-block; min-width: 22px; padding: 1px 6px; border-radius: 5px; background: #2A2033; border: 1px solid #4A3D57; border-bottom-width: 3px; font-family: var(--fb); font-weight: 700; font-size: 13px; text-align: center; color: #fff; }
.mvlist { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 5px; }
.mvlist li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-radius: 9px; background: rgba(255, 255, 255, .04); font-family: var(--fb); font-weight: 700; font-size: 15px; }
.mvlist li span { color: var(--mut); white-space: nowrap; }
.mvlist li.su { background: linear-gradient(90deg, rgba(140, 77, 255, .25), rgba(255, 255, 255, .03)); }
.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rcard { position: relative; border-radius: 14px; overflow: hidden; background: linear-gradient(170deg, #241A2E, #0F0A14); border: 1px solid rgba(255, 255, 255, .08); padding: 0; text-align: left; height: 210px; }
.rcard img { position: absolute; right: -20%; bottom: -10%; height: 120%; opacity: .95; }
.rcard .in { position: absolute; left: 10px; bottom: 10px; right: 40%; }
.rcard b { display: block; font-family: var(--fa); font-size: 24px; line-height: 1; }
.rcard small { font-family: var(--fb); font-weight: 800; font-style: italic; color: var(--c); letter-spacing: .05em; }
.rcard.lock { filter: grayscale(1) brightness(.5); }
.bio { display: grid; grid-template-columns: minmax(0, 38%) 1fr; gap: 16px; }
.bio img { width: 100%; max-height: 60vh; object-fit: contain; object-position: bottom; }
.end-art { display: block; width: 100%; max-height: 46vh; object-fit: contain; }
.badge-el { display: inline-flex; align-items: center; gap: 5px; font-family: var(--fb); font-weight: 800; font-size: 13px; letter-spacing: .1em; padding: 3px 9px; border-radius: 7px; background: var(--c); color: #120C18; }

/* avisos */
.toasts { position: absolute; left: 50%; top: max(14px, env(safe-area-inset-top)); transform: translateX(-50%); z-index: 60; display: grid; gap: 6px; pointer-events: none; width: min(420px, 90vw); }
.toast { background: rgba(14, 10, 20, .94); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 9px 12px; font-family: var(--fb); font-weight: 700; font-size: 16px; animation: shin .2s ease-out; pointer-events: auto; }

/* gire o celular */
.rot { position: absolute; inset: 0; z-index: 80; display: none; place-items: center; background: #08060C; text-align: center; }
.rot > div { display: grid; justify-items: center; gap: 8px; font-family: var(--fb); }
.rot i[data-ico] { width: 70px; height: 70px; animation: rotz 2s ease-in-out infinite; }
@keyframes rotz { 40%, 60% { transform: rotate(-90deg); } }
.rot b { font-family: var(--fa); font-size: 30px; letter-spacing: .04em; }
.rot small { color: var(--mut); font-size: 16px; font-weight: 600; }
body.need-rot .rot { display: grid; }

/* ---------- online (por cima do kit social, no tema escuro) ---------- */
.panel.fx { z-index: 20; background: radial-gradient(90% 80% at 50% 0, #2A0D16, #08060C 70%); color: var(--tx); overflow: auto; }
.panel.fx .pn { max-width: 760px; margin: 0 auto; padding: max(12px, env(safe-area-inset-top)) 16px 30px; }
.panel.fx .bar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.panel.fx .bar-title small { font-family: var(--fb); font-weight: 800; letter-spacing: .2em; color: var(--gold); font-size: 12px; display: block; }
.panel.fx .bar-title b { font-family: var(--fa); font-weight: 400; font-size: 28px; letter-spacing: .04em; }
.panel.fx .ib { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); display: grid; place-items: center; color: #fff; }
.panel.fx .card { background: rgba(23, 17, 31, .9); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 10px; box-shadow: none; color: var(--tx); }
.panel.fx label { font-family: var(--fb); font-weight: 800; letter-spacing: .1em; font-size: 13px; color: var(--gold); text-transform: uppercase; display: block; margin-bottom: 6px; }
.panel.fx input { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid #3B2E47; background: #0E0A13; color: #fff; font-family: var(--fb); font-weight: 700; font-size: 18px; }
.panel.fx small { color: var(--mut); }
.panel.fx .btn { font-family: var(--fb); font-weight: 800; letter-spacing: .05em; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: #fff; box-shadow: none; }
.panel.fx .btn.big { display: grid; width: 100%; padding: 14px; font-family: var(--fa); font-weight: 400; font-size: 24px; background: linear-gradient(180deg, #FF4655, var(--red2)); border: 0; box-shadow: 0 5px 0 #5E0910; }
.panel.fx .btn.big small { font-family: var(--fb); font-size: 14px; color: rgba(255, 255, 255, .8); letter-spacing: .06em; }
.panel.fx .btn.cyan { background: linear-gradient(180deg, #6FE3FF, #1F8FCC); color: #04131C; border: 0; }
.panel.fx .gj-hero h2 { font-family: var(--fa); font-weight: 400; font-size: clamp(30px, 6vw, 46px); line-height: 1; margin: 8px 0; }
.panel.fx .gj-hero h2 em { font-style: normal; color: var(--gold); }
.panel.fx .gj-hero p { color: #D8CEE2; line-height: 1.5; }
.panel.fx .gj-badge { font-family: var(--fb); font-weight: 800; letter-spacing: .2em; font-size: 12px; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.panel.fx .gj-actions { display: grid; gap: 10px; }
.panel.fx .join-row { display: flex; gap: 8px; }
.panel.fx .join-row input { text-transform: uppercase; letter-spacing: .3em; text-align: center; }
.panel.fx .code-tiles { display: flex; gap: 8px; justify-content: center; margin: 8px 0; }
.panel.fx .code-tiles span { width: 56px; height: 66px; display: grid; place-items: center; font-family: var(--fa); font-size: 40px; border-radius: 12px; background: #0E0A13; border: 2px solid var(--gold); color: #fff; }
.panel.fx .code-tiles.hide span { color: transparent; text-shadow: 0 0 14px rgba(255, 255, 255, .6); }
.panel.fx .code-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.panel.fx .qr { display: grid; place-items: center; margin-top: 8px; }
.panel.fx .qr svg, .panel.fx .qr canvas, .panel.fx .qr img { width: 120px; height: 120px; background: #fff; padding: 6px; border-radius: 10px; }
.panel.fx .lb-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.panel.fx .lb-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-family: var(--fb); font-weight: 700; font-size: 17px; }
.panel.fx .lb-list li img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; object-position: top; background: #241A2E; }
.panel.fx .lb-list li > div { display: grid; gap: 2px; min-width: 0; flex: 1; }
.panel.fx .lb-list li > div small { font-size: 13px; color: var(--mut); font-weight: 600; }
.panel.fx .lb-list li em { margin-left: 6px; font-style: normal; font-size: 11px; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }
.panel.fx .lb-list li.off { opacity: .5; }
.panel.fx .lb-list li .kick { margin-left: auto; width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 46, 63, .15); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.net-wait { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); z-index: 30; padding: 8px 16px; border-radius: 99px; background: rgba(8, 6, 12, .85); border: 1px solid rgba(255, 201, 74, .4); color: #fff; font-family: var(--fb); font-weight: 700; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.net-wait i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: nw 1s infinite alternate; }
@keyframes nw { to { opacity: .2; } }
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(0, 0, 0, .6); }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(460px, 92vw); max-height: 86vh; overflow: auto; padding: 22px; border-radius: 16px; background: #15101C; border: 1px solid rgba(255, 201, 74, .3); color: #fff; font-family: var(--fb); }
.modal-box .mclose { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; font-size: 22px; cursor: pointer; }
.panel.fx .seg { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.panel.fx .seg button { font-family: var(--fb); font-weight: 800; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: #fff; }
.panel.fx .seg button.on { background: linear-gradient(90deg, var(--red2), var(--red)); border-color: transparent; }
.panel.fx .lb-wait { color: var(--mut); font-family: var(--fb); font-weight: 600; margin: 8px 0 0; }
.panel.fx .boot { text-align: center; color: var(--mut); }
.panel.fx .pub { background: rgba(23, 17, 31, .9); }
.modal { position: absolute; inset: 0; z-index: 70; background: rgba(4, 2, 6, .7); display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal-box { width: min(480px, 92vw); max-height: 86vh; overflow: auto; background: #17111F; color: var(--tx); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }

/* ---------- celular deitado (telas baixas) ---------- */
@media (max-height: 520px) {
  .m-main { width: min(420px, 46vw); gap: 8px; }
  .m-logo { max-height: 24vh; object-fit: contain; object-position: left; }
  .m-top .site-logo, .m-top .tag { display: none; }
  .mi { padding: 6px 12px; }
  .mi b { font-size: 20px; }
  .mi small { font-size: 12.5px; }
  .mi i[data-ico] { width: 30px; height: 30px; }
  .mi.sm b { font-size: 16px; }
  .m-acct { display: none; }
  .sel-stage { inset: 52px 8px 58px 8px; }
  .sel-grid { --cs: clamp(54px, 17vh, 86px); gap: 6px; }
  .sel-info { padding: 6px 10px; max-width: 250px; }
  .sel-info .nm { font-size: 24px; }
  .stats { display: none; }
  .sel-side .rend { bottom: 56px; }
  .go { font-size: 20px; padding: 9px 26px; }
  .ghost { padding: 9px 14px; font-size: 15px; }
  .sh-box { padding: 14px 16px; }
  .sh-box h2 { font-size: 26px; }
  .roster { grid-template-columns: repeat(5, 1fr); }
  .rcard { height: 150px; }
  .rcard b { font-size: 18px; }
  .vs-quote { display: none; }
}
@media (max-width: 760px) and (orientation: landscape) {
  .sel-top h2 { font-size: 20px; }
  .chip { font-size: 13px; padding: 5px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; }
}

/* letreiros e ícones pintados (img/txt e img/ico) */
img.pic { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; -webkit-user-drag: none; }
.pic-w { display: inline-grid; place-items: center; width: 26px; height: 26px; position: relative; }
.pic-w.off img { filter: grayscale(.9) brightness(.7); }
.pic-w.off::after { content: ''; position: absolute; left: -2px; right: -2px; top: 50%; height: 4px; margin-top: -2px; background: #FF2E3F; border-radius: 3px; transform: rotate(-40deg); box-shadow: 0 0 0 1.5px #2A1500; }
img.tw { display: block; height: 1em; width: auto; pointer-events: none; -webkit-user-drag: none; }
.ann .t.img { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; display: flex; align-items: center; justify-content: center; gap: .12em; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .55)) drop-shadow(0 0 26px rgba(255, 46, 63, .55)); font-size: clamp(72px, 15vw, 200px); }
.ann .t.img.round { font-size: clamp(64px, 13vw, 180px); }
.ann .t.img.round img.tw { height: .9em; }
.ann .t.img.round img.tw.w2 { height: 1.15em; }
.ann .t.img.ko { font-size: clamp(110px, 24vw, 320px); }
.ann .t.img img.tw { max-width: 86vw; object-fit: contain; }
.vs-mid:has(img.tw) { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; }
.vs-mid img.tw { height: clamp(90px, 16vw, 210px); }
.cutin .nm img.tw.sm { display: block; height: .9em; margin-bottom: 2px; }
.cutin.s0 .nm img.tw.sm { margin-left: auto; }
.sh-box h2 img.tw.hd { height: 2.3em; max-width: 100%; margin: 4px 0 2px; }
.sh-box h2 img.tw.hd + small { margin-top: 6px; }
.twf { font-family: var(--fa); }
@media (max-height: 520px) { .sh-box h2 img.tw.hd { height: 2em; } }

/* controles pintados (img/ctl): alavanca, botões e pausa; o degradê de antes fica por baixo se a imagem faltar */
.pad .ring { border: 0; background: url(img/ctl/base.webp) center / contain no-repeat; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); opacity: .92; }
.pad .knob { background: url(img/ctl/knob.webp) center / contain no-repeat, radial-gradient(circle at 35% 30%, #fff, #E0C690 40%, #6B4E1C); background-size: contain, 92% 92%; background-position: center, center; background-repeat: no-repeat; box-shadow: none; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); }
.pb { border: 0; box-shadow: none; filter: drop-shadow(0 5px 0 rgba(0, 0, 0, .45)); background-size: contain, auto; background-position: center; background-repeat: no-repeat; }
.pb i[data-ico], .pb small { display: none; }
.pb-p { background-image: url(img/ctl/p.webp), radial-gradient(circle at 35% 30%, #FF8A93, var(--red) 55%, #7A0A14); }
.pb-k { background-image: url(img/ctl/k.webp), radial-gradient(circle at 35% 30%, #FFE7A3, #F0A41E 55%, #7A4805); }
.pb-s { background-image: url(img/ctl/s.webp), radial-gradient(circle at 35% 30%, #A8EEFF, #2AA9E8 55%, #0B4775); }
.pb-x { background-image: url(img/ctl/x.webp), radial-gradient(circle at 35% 30%, #E6D6FF, #8C4DFF 55%, #34127A); }
.pb-x.ready { box-shadow: 0 0 0 4px rgba(255, 255, 255, .45), 0 0 26px #B06BFF; }
.pb.on { filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .45)) brightness(1.3); }
#btnPause { background: url(img/ctl/pause.webp) center / contain no-repeat; border: 0; box-shadow: none; backdrop-filter: none; border-radius: 50%; }
#btnPause i[data-ico] { visibility: hidden; }

/* palavras do menu pintadas (img/mn) */
img.tw.mt { height: 1em; }
.mi b img.tw.mt { height: 30px; margin: 0 0 2px -2px; }
.mi.sm b img.tw.mt { height: 24px; }
.sel-top h2 { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; min-width: 0; background: none; color: inherit; }
.sel-top h2 img.tw.mt { height: clamp(26px, 3.6vw, 46px); max-width: 100%; object-fit: contain; flex: 0 1 auto; min-width: 0; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .5)); }
.mt-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); flex: none; }
.chip.lv { padding: 6px 12px; display: inline-grid; place-items: center; }
.chip.lv img.tw.mt { height: 20px; }
.cell .tagp.im { background: none; padding: 0; transform: none; top: 2px; }
.cell .tagp.im img.tw.mt { height: 24px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .7)); }
.go.im { padding: 8px 30px; display: inline-grid; place-items: center; }
.go.im img.tw.mt { height: 34px; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .45)); }
.go.im span { display: grid; place-items: center; }
.ghost img.tw.mt.sm { height: 21px; }
.hdw { display: block; }
.hdw img.tw.mt { height: 1.5em; margin-bottom: 4px; }
@media (max-height: 520px) {
  .mi b img.tw.mt { height: 22px; }
  .mi.sm b img.tw.mt { height: 18px; }
  .sel-top h2 img.tw.mt { height: 24px; }
  .chip.lv { padding: 4px 9px; }
  .chip.lv img.tw.mt { height: 16px; }
  .go.im img.tw.mt { height: 26px; }
  .ghost img.tw.mt.sm { height: 17px; }
}
/* iPhone deitado com a barra do site embaixo (~330 px de altura) */
@media (max-height: 400px) {
  .m-main { gap: 5px; top: max(6px, env(safe-area-inset-top)); transform: none; }
  .m-logo { max-height: 21vh; }
  .m-nav { gap: 5px; }
  .mi { padding: 4px 10px; gap: 10px; border-radius: 11px; }
  .mi i[data-ico] { width: 26px; height: 26px; }
  .mi b img.tw.mt { height: 19px; }
  .mi.sm b img.tw.mt { height: 15px; }
  .mi small { font-size: 11px; margin-top: 1px; }
  .m-row { gap: 5px; }
  .sel-top h2 img.tw.mt { height: 20px; }
  .chip.lv img.tw.mt { height: 14px; }
  .go.im { padding: 6px 22px; }
  .go.im img.tw.mt { height: 22px; }
}
.go.im { background: linear-gradient(180deg, #3A0E14, #180609); border: 2px solid #FF4655; box-shadow: 0 5px 0 #5E0910, 0 0 26px rgba(255, 46, 63, .55), inset 0 0 18px rgba(255, 70, 85, .35); }
.go.im:hover { border-color: var(--gold); }
.chip.lv img.tw.mt { height: 22px; }
.chip.lv.on { box-shadow: 0 0 0 2px var(--gold) inset; }
.mi b img.tw.mt { height: 34px; }
@media (max-height: 520px) { .chip.lv img.tw.mt { height: 17px; } .mi b img.tw.mt { height: 24px; } }
@media (max-height: 400px) { .chip.lv img.tw.mt { height: 15px; } .mi b img.tw.mt { height: 20px; } .mi.sm b img.tw.mt { height: 15px; } }

/* Botões pintados (img/btn): placas com borda dourada esticadas por border-image */
.go, .go.im, .ghost, .chip, .mi { border-style: solid; border-color: transparent; border-radius: 0; box-shadow: none; background: none; }
.go, .go.im { border-width: 1px; border-image: url(img/btn/red.webp) 14 40 fill / 11px 30px / 0 stretch; filter: drop-shadow(0 5px 0 rgba(40, 4, 8, .85)) drop-shadow(0 8px 18px rgba(255, 46, 63, .35)); padding-left: 38px; padding-right: 38px; }
.go:active { box-shadow: none; filter: drop-shadow(0 1px 0 rgba(40, 4, 8, .85)); }
.go.gold { border-image: url(img/btn/dark.webp) 11 40 fill / 10px 30px / 0 stretch; box-shadow: none; }
.go.im:hover { border-color: transparent; filter: drop-shadow(0 5px 0 rgba(40, 4, 8, .85)) drop-shadow(0 0 16px rgba(255, 201, 74, .55)); }
.go.im img.tw.mt { filter: drop-shadow(0 0 2px #200306) drop-shadow(0 2px 0 rgba(0, 0, 0, .7)); }
.ghost { border-width: 1px; border-image: url(img/btn/dark.webp) 11 40 fill / 9px 26px / 0 stretch; padding-left: 30px; padding-right: 30px; }
.ghost:hover { border-color: transparent; filter: drop-shadow(0 0 10px rgba(255, 201, 74, .45)); }
.chip { border-width: 1px; border-image: url(img/btn/pilld.webp) 9 32 fill / 6px 14px / 0 stretch; padding-left: 20px; padding-right: 20px; }
.chip.on { background: none; border-image: url(img/btn/pill.webp) 9 32 fill / 6px 14px / 0 stretch; box-shadow: none; }
.chip.lv.on { box-shadow: none; }
.mi { --bw: 10px; --cw: 46px; border-width: 1px; border-image: url(img/btn/bard.webp) 11 64 13 64 fill / var(--bw) var(--cw) / 0 stretch; padding-left: 44px; padding-right: 40px; }
.mi.hot { background: none; border-image: url(img/btn/bar.webp) 11 64 13 64 fill / var(--bw) var(--cw) / 0 stretch; }
.mi::before { inset: 4px 24px; }
.mi:hover, .mi:focus-visible { border-color: transparent; filter: drop-shadow(0 0 12px rgba(255, 201, 74, .5)); }
.mi.sm { --bw: 7px; --cw: 26px; padding-left: 28px; padding-right: 24px; }
.mi small { color: rgba(255, 236, 214, .78); }
@media (max-height: 520px) { .mi { --bw: 8px; --cw: 34px; padding-left: 32px; padding-right: 28px; } .go, .go.im { border-image-width: 8px 22px; padding-left: 28px; padding-right: 28px; } }
@media (max-height: 400px) { .mi, .mi.sm { --bw: 6px; --cw: 26px; padding-left: 26px; padding-right: 22px; } .chip { border-image-width: 5px 13px; padding-left: 14px; padding-right: 14px; } }
.chip.lv:not(.on) { opacity: .62; }
.chip.lv.on { transform: scale(1.1); }

/* v1.242.5: o .pad cobria a tela toda e engolia os toques (o #fight > * ligava os cliques nele) */
#fight > .pad { pointer-events: none; }
/* o botão de pausa não pula para o lado no hover/toque (o .tb trocava o translateX) */
#btnPause:hover { transform: translateX(-50%) translateY(-1px); }
#btnPause:active { transform: translateX(-50%) scale(.94); }
@media (pointer: coarse) { #btnPause { width: 44px; height: 44px; opacity: .92; } }

/* textos dos botões sem palavra pintada: letra dourada com contorno, no mesmo estilo das pintadas */
.go .lb, .ghost .lb { display: inline-block; font-family: var(--fa); font-weight: 400; text-transform: uppercase; letter-spacing: .05em; line-height: 1.1; padding: 0 .06em; background: linear-gradient(180deg, #FFF7D6 0%, #FFD86E 40%, #E8890F 72%, #FFCF5A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 1px #1C0306) drop-shadow(0 0 1px #1C0306) drop-shadow(0 2px 0 rgba(0, 0, 0, .8)); }
.ghost .lb { font-size: 19px; }
.go .lb { font-size: 26px; }
@media (max-height: 520px) { .ghost .lb { font-size: 16px; } .go .lb { font-size: 21px; } }
@media (max-height: 400px) { .ghost .lb { font-size: 14px; } .go .lb { font-size: 18px; } }

/* menu: começa embaixo da barra com o logo do Zovy e nunca passa da tela; o logo do Zovy fica sempre visível */
.m-top .site-logo { display: block; }
.m-main { top: calc(max(12px, env(safe-area-inset-top)) + 46px); bottom: max(10px, env(safe-area-inset-bottom)); transform: none; display: flex; flex-direction: column; justify-content: center; gap: 12px; width: min(470px, 44vw); }
.m-logo { flex: 0 1 auto; min-height: 0; max-height: 30vh; height: auto; object-fit: contain; object-position: left center; }
.m-nav, .m-acct { flex: none; }
.mi.sm { min-height: 44px; }
@media (max-width: 760px) and (min-height: 521px) { .m-main { width: min(470px, 62vw); } }
@media (max-height: 520px) {
  .m-top .site-logo { height: 22px; }
  .m-top { top: max(8px, env(safe-area-inset-top)); }
  .m-main { top: calc(max(8px, env(safe-area-inset-top)) + 34px); gap: 7px; }
  .m-logo { max-height: 20vh; }
  .mi.sm { min-height: 36px; }
}
@media (max-height: 400px) {
  .m-top .site-logo { height: 20px; }
  .m-top .tb { width: 36px; height: 36px; }
  .m-main { top: calc(max(6px, env(safe-area-inset-top)) + 30px); bottom: max(6px, env(safe-area-inset-bottom)); gap: 5px; transform: none; }
  .m-logo { max-height: 17vh; }
  .mi.sm { min-height: 30px; }
}
.mi > span { min-width: 0; flex: 1 1 auto; }
.mi b img.tw.mt { max-width: 100%; object-fit: contain; object-position: left center; }
@media (max-width: 760px) { .m-main { width: min(470px, 58vw); } }
@media (max-width: 900px) { .mi.sm i[data-ico] { display: none; } .mi.sm { justify-content: center; padding-left: 22px; padding-right: 22px; } .mi.sm > span { flex: 0 1 auto; } }
