:root {
  --bg: #15121f; --bg2: #1e1a2c; --card: #241f35; --card2: #2d2742; --line: #3b3456;
  --text: #f3eee6; --muted: #a59fb8; --accent: #ff8a3d; --accent2: #ffd166; --good: #3fcf8e; --bad: #ff5d73; --love: #ff7aa2;
  --r: 16px; --shadow: 0 14px 34px rgba(0, 0, 0, .35);
  --display: 'Bricolage Grotesque', system-ui, sans-serif; --font: 'Nunito', system-ui, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --bg: #f6f0e6; --bg2: #efe6d7; --card: #fffaf2; --card2: #f5ecdd; --line: #e0d3bd; --text: #2a2233; --muted: #7b6f86; --shadow: 0 12px 28px rgba(80, 50, 20, .14); }
}
:root[data-theme="light"] { --bg: #f6f0e6; --bg2: #efe6d7; --card: #fffaf2; --card2: #f5ecdd; --line: #e0d3bd; --text: #2a2233; --muted: #7b6f86; }
:root[data-theme="dark"] { --bg: #15121f; --bg2: #1e1a2c; --card: #241f35; --card2: #2d2742; --line: #3b3456; --text: #f3eee6; --muted: #a59fb8; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: radial-gradient(1200px 600px at 50% -200px, color-mix(in srgb, var(--accent) 16%, var(--bg)), var(--bg)); background-color: var(--bg); color: var(--text); font-family: var(--font); min-height: 100vh; }
#app { max-width: 720px; margin: 0 auto; padding: 14px 16px 60px; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; }
button { font: inherit; color: inherit; background: var(--card2); border: 1px solid var(--line); border-radius: 12px; padding: .6em 1em; cursor: pointer; transition: transform .1s, border-color .2s, background .2s; }
button:hover:not(:disabled) { border-color: var(--accent); }
button:active:not(:disabled) { transform: scale(.98); }
button.primary { background: linear-gradient(135deg, var(--accent), #ff5d73); border: 0; color: #fff; font-weight: 800; }
button.big { width: 100%; padding: .95em; font-size: 1.05em; margin-top: 8px; }
button.danger { color: var(--bad); }
input { font: inherit; width: 100%; padding: .75em .9em; border-radius: 12px; border: 1px solid var(--line); background: var(--card2); color: var(--text); }
.muted { color: var(--muted); font-size: .9em; }
.center { text-align: center; }
small { color: var(--muted); }

/* Arranque y título */
.boot { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.spin { width: 38px; height: 38px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pb { width: 200px; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.pb i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.title { min-height: 90vh; display: flex; flex-direction: column; justify-content: center; gap: 12px; text-align: center; }
.logo h1 { font-size: clamp(3.4em, 15vw, 5.4em); letter-spacing: -.03em; line-height: .9; background: linear-gradient(135deg, var(--accent2), var(--accent) 50%, #ff5d73); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo p { font-family: var(--display); font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0; }
.ribbon { font-size: 2.6em; display: block; animation: sway 3s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(-8deg); } }
.pitch { color: var(--muted); max-width: 460px; margin: 0 auto; }
.title-mons { display: flex; justify-content: center; gap: 2px; }
.title-mons img { width: 72px; image-rendering: pixelated; animation: hop 2.4s ease-in-out infinite; }
.title-mons img:nth-child(2n) { animation-delay: .4s; } .title-mons img:nth-child(3n) { animation-delay: .8s; }
@keyframes hop { 50% { transform: translateY(-6px); } }
.credits { font-size: .72em; color: var(--muted); }

/* Creación */
.create { display: flex; flex-direction: column; gap: 14px; }
.create h2 { font-size: 1.8em; }
.fl { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: .78em; letter-spacing: .12em; color: var(--muted); }
.fl input, .fl .muted { letter-spacing: normal; font-size: 1.2em; font-weight: 400; color: var(--text); }
.fl .muted { font-size: 1.1em; color: var(--muted); margin: 0; }
.looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 6px; }
.look input, .reg input, .st input, .opt input { display: none; }
.look span { position: relative; height: 84px; display: flex; align-items: flex-end; justify-content: center; border: 2px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; overflow: hidden; }
.look img { height: 80px; image-rendering: pixelated; }
.look i { position: absolute; top: 3px; right: 6px; font-style: normal; color: var(--muted); letter-spacing: 0; }
.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.reg span { display: block; padding: .65em; border: 2px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; font-size: 1.25em; letter-spacing: 0; color: var(--text); text-align: center; }
.starters { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; }
.st span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px; border: 2px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; letter-spacing: 0; color: var(--text); font-size: 1.2em; }
.st img { width: 64px; image-rendering: pixelated; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.opt span { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; letter-spacing: 0; color: var(--text); font-size: 1.25em; height: 100%; }
.opt small { font-weight: 400; font-size: .82em; }
.look input:checked + span, .reg input:checked + span, .st input:checked + span, .opt input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--card)); }
.ty { display: inline-block; font-style: normal; font-size: .72em; font-weight: 800; color: #fff; background: var(--c); border-radius: 6px; padding: 1px 6px; margin: 1px; text-shadow: 0 1px 1px rgba(0, 0, 0, .3); letter-spacing: 0; }

/* Cabecera */
.hd { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.media { width: 62px; height: 62px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: conic-gradient(var(--accent) calc(var(--m) * 1%), var(--card2) 0); position: relative; flex: 0 0 62px; }
.media::before { content: ''; position: absolute; inset: 4px; border-radius: 12px; background: var(--card); }
.media b, .media small { position: relative; }
.media b { font-family: var(--display); font-size: 1.6em; line-height: 1; }
.media small { font-size: .55em; letter-spacing: .15em; font-weight: 800; }
.who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.who b { font-family: var(--display); font-size: 1.15em; }
.who span { color: var(--muted); font-size: .85em; }
.who em { font-style: normal; font-weight: 800; font-size: .72em; letter-spacing: .15em; color: var(--accent); }
.money { text-align: right; display: flex; flex-direction: column; }
.money b { font-family: var(--display); }
.money span { font-size: .8em; color: var(--muted); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px; }
.tabs button { font-weight: 800; letter-spacing: .12em; font-size: .78em; }
.tabs button.on { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Evento */
.event, .result { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); animation: rise .35s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.ev-tag { font-size: .72em; font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.event h2 { font-size: 1.6em; margin: 6px 0 8px; }
.ev-text { line-height: 1.6; font-size: 1.04em; margin: 6px 0; }
.ev-text em { color: color-mix(in srgb, var(--text) 70%, var(--accent2)); }
.art { display: flex; justify-content: center; margin: 6px 0; min-height: 90px; align-items: flex-end; }
.art .tr-art { height: 130px; image-rendering: pixelated; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3)); }
.art .portrait { width: 110px; height: 110px; image-rendering: pixelated; border-radius: 18px; border: 3px solid var(--accent2); box-shadow: var(--shadow); }
.art .mon-art { width: 120px; image-rendering: pixelated; }
.art .mon-art.big { width: 160px; }
.art.emoji { font-size: 70px; }
.choices { display: grid; gap: 10px; margin-top: 14px; }
.choice { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; border-width: 2px; position: relative; }
.choice .ch-l { font-weight: 800; font-size: 1.05em; }
.choice.dim { opacity: .35; }
.risk { display: flex; height: 22px; border-radius: 8px; overflow: hidden; margin-top: 4px; position: relative; font-size: .75em; font-weight: 800; }
.risk i { display: flex; align-items: center; justify-content: center; font-style: normal; color: #fff; }
.risk .ok { background: color-mix(in srgb, var(--good) 85%, #000); }
.risk .ko { flex: 1; background: color-mix(in srgb, var(--bad) 80%, #000); }
.risk .marker { position: absolute; top: -3px; bottom: -3px; width: 4px; border-radius: 2px; background: #fff; box-shadow: 0 0 10px #fff; left: 0; transition: left 1s cubic-bezier(.2, .9, .3, 1); }
.safe { font-size: .7em; font-weight: 800; letter-spacing: .14em; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; align-self: flex-start; }
.verdict { font-weight: 800; font-family: var(--display); animation: rise .3s; }
.verdict.ok { color: var(--good); } .verdict.ko { color: var(--bad); }

/* Resultado y temporadas */
.result h3 { font-size: 1.25em; margin: 6px 0; color: var(--accent2); }
.deltas { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.deltas span { font-size: .82em; font-weight: 800; border-radius: 999px; padding: 3px 10px; background: color-mix(in srgb, var(--good) 18%, var(--card2)); color: var(--good); }
.deltas span.neg { background: color-mix(in srgb, var(--bad) 16%, var(--card2)); color: var(--bad); }
.season { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 10px; animation: rise .4s both; }
.season:nth-of-type(2) { animation-delay: .15s; } .season:nth-of-type(3) { animation-delay: .3s; }
.season h4 { font-size: .78em; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; }
.season ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.season li { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 8px; }
.season li.h { font-weight: 700; }
.season li.good { background: color-mix(in srgb, var(--good) 10%, transparent); }
.season li.great { background: linear-gradient(90deg, color-mix(in srgb, var(--accent2) 28%, transparent), transparent); font-weight: 800; }
.season li.bad { background: color-mix(in srgb, var(--bad) 8%, transparent); }
.season li.evo, .season li.join { color: var(--accent2); }
.li-ic { width: 36px; height: 36px; image-rendering: pixelated; margin: -6px 0; }
.season li span { flex: 1; }
.watch { font-size: .78em; padding: .3em .7em; white-space: nowrap; border-color: var(--accent); color: var(--accent); background: transparent; }

/* Ficha */
.ficha { display: grid; gap: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.card h4 { font-size: .78em; letter-spacing: .16em; color: var(--muted); margin-bottom: 10px; }
.card h5 { margin: 12px 0 6px; color: var(--muted); }
.pbar { height: 12px; border-radius: 6px; background: var(--card2); overflow: hidden; }
.pbar i { display: block; height: 100%; background: linear-gradient(90deg, #4f7cff, #a46bff, var(--accent)); }
.pmeta { display: flex; justify-content: space-between; font-size: .85em; color: var(--muted); margin: 4px 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 10px; }
.stat { display: grid; grid-template-columns: 1fr auto; gap: 3px; font-size: .9em; }
.stat .sbar { grid-column: 1 / -1; }
.sbar { height: 7px; border-radius: 4px; background: var(--card2); overflow: hidden; }
.sbar i { display: block; height: 100%; background: var(--love); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px; }
.mc { display: flex; gap: 10px; background: var(--card2); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.mc.partner { border-color: var(--accent2); }
.mc-img { width: 84px; flex: 0 0 84px; display: flex; align-items: center; justify-content: center; }
.mc-sprite { max-width: 84px; max-height: 84px; image-rendering: pixelated; }
.mc-b { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mc-b small { font-size: .8em; }
.mc-x { display: flex; flex-wrap: wrap; gap: 6px; font-size: .78em; color: var(--muted); }
.mc-mv { display: flex; flex-wrap: wrap; gap: 3px; }
.mc-mv i { font-style: normal; font-size: .72em; border-left: 3px solid var(--c); background: var(--card); border-radius: 5px; padding: 1px 6px; }
.hearts { color: var(--love); font-size: .85em; letter-spacing: 1px; }
.box { display: flex; flex-wrap: wrap; }
.box img { width: 48px; image-rendering: pixelated; }
.bag { display: grid; gap: 6px; }
.bi { display: flex; gap: 10px; align-items: center; background: var(--card2); border-radius: 10px; padding: 8px 10px; }
.bi > span { font-size: 1.6em; }
.bi small { display: block; }
.rec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.rec div { background: var(--card2); border-radius: 12px; padding: 10px 4px; }
.rec b { display: block; font-family: var(--display); font-size: 1.4em; }
.rec small { font-size: .65em; letter-spacing: .1em; font-weight: 800; }
.tl { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 3px; font-size: .9em; }
.people { display: grid; gap: 8px; }
.pp { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; align-items: center; font-size: .9em; }
.pp .sbar i { background: linear-gradient(90deg, #4f7cff, var(--good)); }
.moments { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.moments li { display: flex; gap: 8px; align-items: baseline; }
.opts-card { display: flex; gap: 8px; justify-content: flex-end; }

/* Final */
.end { display: grid; gap: 12px; }
.end-top { display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--card)), var(--card)); border-radius: 20px; padding: 16px; }
.tr-big { height: 150px; image-rendering: pixelated; }
.end-top h2 { font-size: 2em; }
.partner-end { display: flex; gap: 14px; align-items: center; }
.partner-end .portrait { width: 96px; height: 96px; border-radius: 16px; border: 3px solid var(--accent2); image-rendering: pixelated; }
.end-team { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; text-align: center; }
.end-team img { width: 72px; image-rendering: pixelated; }

.toast { position: fixed; right: 14px; top: 14px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 8px 14px; box-shadow: var(--shadow); transform: translateX(120%); transition: transform .3s; z-index: 50; }
.toast.in { transform: none; }

/* =================== Visor de combate =================== */
.bv { position: fixed; inset: 0; z-index: 40; background: rgba(8, 6, 14, .7); display: flex; align-items: center; justify-content: center; padding: 10px; opacity: 0; transition: opacity .25s; }
.bv.show { opacity: 1; }
.bv-box { width: 100%; max-width: 760px; max-height: 100%; display: flex; flex-direction: column; background: var(--card); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.bv-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.bv-top b { flex: 1; font-family: var(--display); }
.bv-turn { font-size: .8em; color: var(--muted); }
.bv-x { padding: .2em .6em; }
.bv-field { position: relative; height: clamp(230px, 42vh, 330px); overflow: hidden;
  background: linear-gradient(#8fd0ff 0 40%, #b8e6a8 40% 44%, #79bf63 44% 100%); }
.bv[data-weather="raindance"] .bv-field { background: repeating-linear-gradient(105deg, transparent 0 22px, rgba(255, 255, 255, .25) 22px 23px), linear-gradient(#5b6d82 0 40%, #6f9a68 40%); }
.bv[data-weather="sunnyday"] .bv-field { background: radial-gradient(circle at 85% 8%, #fff7b0 0 8%, transparent 30%), linear-gradient(#ffcf6e 0 40%, #c9d27a 40% 44%, #9cbf55 44%); }
.bv[data-weather="sandstorm"] .bv-field { background: linear-gradient(rgba(214, 180, 110, .7), rgba(214, 180, 110, .7)), linear-gradient(#c9a86a 0 40%, #b8955a 40%); }
.bv[data-weather="snow"] .bv-field, .bv[data-weather="hail"] .bv-field { background: radial-gradient(2px 2px at 20% 30%, #fff, transparent), radial-gradient(2px 2px at 60% 20%, #fff, transparent), radial-gradient(2px 2px at 80% 60%, #fff, transparent), linear-gradient(#c7dff0 0 40%, #e9f3f8 40%); }
.bv-spot { position: absolute; display: flex; align-items: flex-end; justify-content: center; }
.bv-spot.b { right: 8%; top: 12%; width: 34%; height: 40%; }
.bv-spot.a { left: 6%; bottom: 4%; width: 40%; height: 46%; }
.bv-plat { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 80%; height: 24px; border-radius: 50%; background: rgba(0, 0, 0, .18); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .1); }
.bv-mon { position: relative; image-rendering: pixelated; max-width: 100%; }
.bv-spot.b .bv-mon { height: auto; max-height: 100%; transform: scale(1.35); transform-origin: bottom center; }
.bv-spot.a .bv-mon { height: auto; max-height: 100%; transform: scale(1.7); transform-origin: bottom center; }
.bv-mon.enter { animation: enter .45s ease-out; }
@keyframes enter { from { opacity: 0; filter: brightness(6); translate: 0 10px; } }
.bv-mon.lunge-a { animation: lungeA .35s; } .bv-mon.lunge-b { animation: lungeB .35s; }
@keyframes lungeA { 40% { translate: 26px -16px; } } @keyframes lungeB { 40% { translate: -26px 16px; } }
.bv-mon.hurt { animation: hurt .45s; }
@keyframes hurt { 0%, 50% { opacity: .25; translate: -5px 0; } 25%, 75% { opacity: 1; translate: 5px 0; } 100% { translate: 0; } }
.bv-mon.up { animation: up .5s; } .bv-mon.down { animation: down .5s; }
@keyframes up { 50% { filter: drop-shadow(0 0 10px #ff6a3d) brightness(1.3); } } @keyframes down { 50% { filter: drop-shadow(0 0 10px #4f7cff) brightness(.8); } }
.bv-mon.faint { transition: translate .6s ease-in, opacity .6s; translate: 0 70px; opacity: 0; }
.bv-mon.evolve { animation: evolve 1.3s; }
@keyframes evolve { 0%, 100% { filter: none; } 20%, 60% { filter: brightness(8) saturate(0); scale: .9; } 40%, 80% { filter: brightness(8) saturate(0); scale: 1.1; } }
.bv-spot.tera .bv-mon { filter: drop-shadow(0 0 6px var(--tc)) drop-shadow(0 0 14px var(--tc)) saturate(1.3); }
.bv-spot.tera::after { content: ''; position: absolute; top: -18px; left: 50%; width: 34px; height: 34px; transform: translateX(-50%) rotate(45deg); background: linear-gradient(135deg, #fff, var(--tc)); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); opacity: .9; }
.bv-info { position: absolute; z-index: 2; background: rgba(28, 24, 42, .92); color: #fff; border-radius: 12px; padding: 6px 10px; min-width: 190px; width: 44%; max-width: 280px; box-shadow: 0 6px 14px rgba(0, 0, 0, .3); }
.bv-info.b { left: 3%; top: 5%; }
.bv-info.a { right: 3%; bottom: 6%; }
.bv-name { font-weight: 800; font-size: .9em; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.bv-name small { color: #c9c3d9; font-weight: 600; }
.bv-name em { font-style: normal; font-size: .7em; padding: 0 5px; border-radius: 4px; background: var(--c); color: #fff; }
.bv-name em.tera { background: linear-gradient(90deg, var(--c), #fff); color: #222; }
.bv-hp { height: 8px; border-radius: 4px; background: #444; overflow: hidden; margin-top: 3px; }
.bv-hp i { display: block; height: 100%; width: 100%; background: #3fd07a; transition: width .45s ease-out, background .45s; }
.skipping .bv-hp i, .skipping .bv-mon { transition: none !important; animation: none !important; }
.bv-hpn { text-align: right; font-size: .78em; font-weight: 700; }
.bv-balls { display: flex; gap: 3px; margin-top: 3px; }
.bv-balls span { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(#ef5350 0 45%, #222 45% 55%, #fff 55%); }
.bv-balls span.out { filter: grayscale(1) brightness(.5); }
.bv-trainer { position: absolute; bottom: 0; height: 70%; opacity: 0; transition: all .45s; z-index: 1; }
.bv-trainer img { height: 100%; image-rendering: pixelated; }
.bv-trainer.b { right: 4%; translate: 60px 0; } .bv-trainer.a { left: 4%; translate: -60px 0; }
.bv.intro .bv-trainer { opacity: 1; translate: 0 0; }
.bv-banner { position: absolute; z-index: 3; background: linear-gradient(90deg, #2b2340, #4a3a78); color: #fff; border-radius: 10px; padding: 6px 12px; display: flex; flex-direction: column; opacity: 0; transition: all .3s; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .2); }
.bv-banner b { font-family: var(--display); }
.bv-banner span { font-size: .75em; color: #d8d0f0; }
.bv-banner.a { left: 3%; top: 46%; translate: -30px 0; }
.bv-banner.b { right: 3%; top: 30%; translate: 30px 0; }
.bv-banner.in { opacity: 1; translate: 0 0; }
.bv-fx { position: absolute; width: 36%; height: 40%; border-radius: 50%; opacity: 0; pointer-events: none; z-index: 2; background: radial-gradient(circle, var(--c) 0 30%, transparent 70%); }
.bv-fx.b { right: 8%; top: 10%; } .bv-fx.a { left: 6%; bottom: 6%; }
.bv-fx.go { animation: fx .45s; }
.bv-fx.zhit.go { animation: zfx .9s; width: 60%; height: 70%; }
@keyframes fx { 30% { opacity: .9; } } @keyframes zfx { 0% { opacity: 0; scale: .3; } 40% { opacity: 1; scale: 1.3; } 100% { opacity: 0; scale: 1.6; } }
.bv-big { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 4; font-family: var(--display); font-weight: 800; font-size: clamp(2.4em, 9vw, 4.4em); color: var(--c); text-shadow: 0 0 20px var(--c), 0 4px 0 rgba(0, 0, 0, .4); opacity: 0; }
.bv-big.go { animation: bigin 1.1s; }
@keyframes bigin { 0% { opacity: 0; scale: 2; } 25% { opacity: 1; scale: 1; } 80% { opacity: 1; } 100% { opacity: 0; scale: .9; } }
.z-sym { font-size: 1.6em; }
.bv-msg { padding: 10px 14px; min-height: 46px; font-weight: 700; border-top: 1px solid var(--line); background: var(--card2); }
.bv-log { max-height: 130px; overflow-y: auto; padding: 6px 14px; font-size: .82em; color: var(--muted); border-top: 1px solid var(--line); }
.bv-log p { margin: 2px 0; }
.bv-log p.turn { color: var(--text); font-weight: 800; margin-top: 6px; }
.bv-log p.decision b.a { color: #7fb6ff; } .bv-log p.decision b.b { color: #ff9a8a; }
.bv-log p.gimmick, .bv-log p.zline { color: var(--accent2); font-weight: 800; }
.bv-log p.bond { color: var(--love); font-weight: 800; }
.bv-log p.abil { color: #b9a6ff; }
.bv-log p.win { color: var(--good); font-weight: 800; } .bv-log p.lose { color: var(--bad); font-weight: 800; }
.bv-ctl { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.bv-speeds { display: flex; gap: 6px; }
.bv-speeds button.on { background: var(--accent2); color: #222; border-color: var(--accent2); font-weight: 800; }
.bv-res { font-family: var(--display); font-weight: 800; }
.bv-res.win { color: var(--good); } .bv-res.lose { color: var(--bad); }
@media (max-width: 520px) {
  .bv-info { min-width: 0; width: 48%; font-size: .9em; }
  .stats { grid-template-columns: 1fr; }
  .rec { grid-template-columns: repeat(2, 1fr); }
}

/* Sin spoilers: combates pendientes de ver */
.season-wrap > div:first-child:empty { display: none; }
.season li.pending { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent); border: 1px dashed var(--accent); padding: 8px 10px; animation: rise .4s; }
.season li.pending .vs { font-size: 1.4em; }
.season li.pending span { display: flex; flex-direction: column; }
.season li.pending small { font-weight: 400; }
.watch.hot { background: linear-gradient(135deg, var(--accent), #ff5d73); color: #fff; border: 0; font-weight: 800; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent); } }
.season li.reveal { animation: reveal .8s ease-out; }
@keyframes reveal { from { background: color-mix(in srgb, var(--accent2) 45%, transparent); transform: scale(1.02); } }
.locked { margin: 14px 0 0; }
