/* Styles propres à l'écran battle (préfixe .bt-) */
.bt-body { display: grid; gap: 22px; min-width: 0; }
.bt-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-hint { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.bt-hint .icon { color: var(--citrine); }
.bt-hint.warn { color: var(--coral); }
.bt-hint.warn .icon { color: var(--coral); }
.bt-pill-gold { background: #ffc5311f; border-color: #ffc53140; color: color-mix(in srgb, var(--citrine) 70%, var(--ink)); }
.bt-modal-foot { justify-content: flex-end; }

/* ── Choix d'équipe ─────────────────────────────────────────────── */
.bt-team-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bt-slots { max-width: 560px; width: 100%; margin: 0 auto; }
.bt-slots .slot { cursor: pointer; transition: transform .25s var(--spring), border-color .2s, background .2s; overflow: hidden; }
.bt-slots .slot:hover { transform: translateY(-3px); border-color: var(--coral); }
.bt-slots .slot.filled { border-style: solid; border-color: transparent; background: none; }
.bt-slots .slot.filled .card { pointer-events: none; }
.bt-slot-empty { display: grid; justify-items: center; gap: 8px; font-weight: 700; }
.bt-slot-plus { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); color: var(--coral); transition: transform .3s var(--spring); }
.bt-slots .slot:hover .bt-slot-plus { transform: scale(1.1) rotate(90deg); }

/* ── Arène (replay) ─────────────────────────────────────────────── */
.bt-modal .modal-box { gap: 14px; }
.bt-replay { display: grid; gap: 16px; }
.bt-arena { position: relative; overflow: hidden; isolation: isolate; gap: 16px; }
.bt-arena::before { content: ''; position: absolute; inset: auto -10% -40% -10%; height: 70%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, #ffffff14, transparent); }
.bt-arena.is-win { box-shadow: 0 0 0 1px #ffc53155, 0 30px 80px -30px #ffc531aa; }
.bt-arena.is-lose { box-shadow: 0 0 0 1px #ff5a4e40; }
.bt-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bt-who { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 13px; }
.bt-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-who i { font-style: normal; color: #fff8; font-size: 12px; }
.bt-skip { --b: #ffffff14; --c: #fff; border-color: #ffffff22; }
.bt-skip:hover { background: #ffffff24; }
.bt-skip[hidden] { display: none; }
.bt-stage { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.bt-arena .arena-vs { font-size: 18px; color: #fff5; }

.bt-fighter { position: relative; width: clamp(96px, 16vw, 140px); flex: none; }
.bt-arena .arena-side .art { width: 100%; box-shadow: 0 18px 40px -16px var(--c1); }
.bt-arena .arena-side .art .ring { animation-play-state: running; }
.arena-side .art.bt-enter { animation: bt-enter .55s var(--spring) backwards; }
.arena-side.a .art.bt-lunge { animation: bt-lunge-a .35s var(--ease); }
.arena-side.b .art.bt-lunge { animation: bt-lunge-b .35s var(--ease); }
@keyframes bt-enter { from { opacity: 0; transform: translateY(18px) scale(.7); } }
@keyframes bt-lunge-a { 40% { transform: translateX(16px) scale(1.04); } }
@keyframes bt-lunge-b { 40% { transform: translateX(-16px) scale(1.04); } }

.bt-owner { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff9; }
.arena-side.b .bt-owner { justify-content: flex-end; }
.bt-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.arena-side.b .bt-name { flex-direction: row-reverse; }
.bt-fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-ftypes { display: flex; gap: 3px; flex: none; }
.bt-ftypes i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--t); color: #fff; }
.bt-ftypes .glyph { fill: currentColor; }
.bt-hp-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.arena-side.b .bt-hp-row { flex-direction: row-reverse; }
.bt-hp-num { font-size: 12px; font-weight: 800; color: #fffc; font-variant-numeric: tabular-nums; }
.team-dots i { transition: background .3s, transform .3s var(--spring); }
.team-dots i.on { transform: scale(1.25); box-shadow: 0 0 0 2px #ffffff40; }

.bt-dmg { position: absolute; left: 50%; top: 28%; z-index: 3; translate: -50% 0; pointer-events: none; white-space: nowrap;
  font: 800 24px/1 var(--display); color: #fff; text-shadow: 0 2px 0 #0008, 0 0 18px #000a; animation: bt-float 1.05s var(--ease) forwards; }
.bt-dmg.super { color: #ffe17a; font-size: 30px; }
.bt-dmg.crit { color: #ff8a6b; font-size: 32px; }
.bt-dmg.none { color: #fff9; font-size: 18px; }
@keyframes bt-float { 0% { opacity: 0; transform: translateY(10px) scale(.6); } 20% { opacity: 1; transform: translateY(0) scale(1.15); } 100% { opacity: 0; transform: translateY(-46px) scale(1); } }

.bt-arena .arena-log { display: grid; place-items: center; min-height: 58px; font-size: 14px; }
.bt-line { animation: bt-line .3s var(--ease); }
@keyframes bt-line { from { transform: translateY(6px); } }
.bt-tag { display: inline-block; margin: 2px 3px 0; padding: 2px 9px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 800; }
.bt-tag.super { background: #ffc53130; color: #ffe17a; }
.bt-tag.crit { background: #ff5a4e33; color: #ffb199; }
.bt-tag.weak { background: #ffffff18; color: #fffb; }
.bt-tag.none { background: #ffffff10; color: #fff9; }

.bt-end { display: grid; justify-items: center; gap: 14px; padding: 4px 0 2px; }
.bt-end[hidden] { display: none; }
.bt-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; animation: pop .5s .15s var(--spring) backwards; }
.bt-pills .pill { padding: 7px 13px; font-size: 13px; }
.bt-end-actions { justify-content: center; flex-wrap: wrap; }
.bt-elo.up { color: var(--mint); background: #2fd8a21a; border-color: #2fd8a240; }
.bt-elo.down { color: var(--coral); background: #ff5a4e14; border-color: #ff5a4e33; }

/* ── Arènes ─────────────────────────────────────────────────────── */
.bt-badges { display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; align-items: center; padding: 18px 22px; }
.bt-badges-count { display: grid; gap: 2px; }
.bt-badges-count b { font: 800 40px/1 var(--display); }
.bt-badges-count b small { font-size: 20px; color: var(--ink-3); }
.bt-badges-count span { font-size: 13px; font-weight: 700; color: var(--ink-3); max-width: 24ch; }
.bt-badges-row { display: grid; gap: 12px; min-width: 0; }
.bt-badges .badge-medal { width: 40px; height: 40px; }

.gym { font: inherit; color: inherit; cursor: pointer; box-shadow: var(--shadow);
  transition: transform .3s var(--spring), box-shadow .3s, border-color .3s; }
.gym:hover { border-color: color-mix(in srgb, var(--t) 60%, transparent); box-shadow: 0 26px 50px -26px var(--t); }
.gym::before { content: ''; position: absolute; right: -40px; bottom: -40px; width: 150px; height: 150px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--t) 30%, transparent), transparent 70%); }
.gym > * { position: relative; }
.gym.next { border-color: color-mix(in srgb, var(--t) 70%, transparent); box-shadow: 0 0 0 1px var(--t), 0 30px 60px -30px var(--t); }
.gym.done .badge-ico { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--citrine); }
.bt-gym-who { min-width: 0; padding-right: 30px; }
.bt-gym-who small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.bt-gym-who b { display: block; font: 800 22px/1.1 var(--display); }
.bt-next { color: var(--coral); background: #ff5a4e14; border-color: #ff5a4e33; }
.gym-team .art { box-shadow: 0 6px 14px -8px #000; }
.bt-gym-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.bt-go { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 14px; color: var(--t); filter: brightness(1.15); transition: gap .2s var(--ease); }
.gym:hover .bt-go { gap: 9px; }

.bt-gym-intro { display: grid; gap: 14px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(150deg, color-mix(in srgb, var(--t) 22%, var(--surface-2)), var(--surface-2)); }
.bt-gym-intro .badge-ico { width: 52px; height: 52px; border-radius: 16px; flex: none; display: grid; place-items: center; background: var(--t); color: #fff; box-shadow: 0 10px 24px -10px var(--t); }
.bt-gym-intro .badge-ico .glyph { fill: currentColor; }
.bt-gym-intro b { font: 800 20px/1.1 var(--display); }
.bt-gym-intro b small { font: 700 13px var(--font); color: var(--ink-3); }
.bt-gym-intro p { margin-top: 4px; color: var(--ink-2); font-style: italic; }
.bt-gym-intro > .pill { justify-self: start; }
.bt-opp-row { display: flex; gap: 10px; }
.bt-opp { display: grid; justify-items: center; gap: 4px; width: 84px; text-align: center; }
.bt-opp .art { width: 72px; border-radius: 14px; box-shadow: 0 10px 20px -12px #000; }
.bt-opp .art-num { display: none; }
.bt-opp b { font: 700 12px/1.1 var(--display); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-opp small { font-size: 11px; color: var(--ink-3); font-weight: 700; }

/* ── Ligue ──────────────────────────────────────────────────────── */
.bt-stat { position: relative; overflow: hidden; }
.bt-stat-ico { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-3); }
.bt-stat.elo { background: linear-gradient(140deg, #ff5a4e26, var(--surface) 70%); border-color: #ff5a4e33; }
.bt-stat.elo .bt-stat-ico { background: var(--coral); color: #fff; }
.bt-cta { position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; }
.bt-cta::after { content: ''; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, #ff5a4e30, transparent 70%); }
.bt-cta > * { position: relative; z-index: 1; }
.bt-cta .btn-lg { justify-self: start; }
.bt-pips { display: flex; gap: 6px; }
.bt-pips i { flex: 1; max-width: 34px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--coral), #ff3d7f); }
.bt-pips i.used { background: var(--surface-3); }
.bt-defense { display: grid; gap: 16px; }
.bt-defense > .btn { justify-self: start; }
.bt-shield { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #3d8bff1f; color: var(--sky); flex: none; }
.bt-def-slots { gap: 10px; }
.bt-hist { gap: 12px; }
.bt-hist .grow b { font-size: 15px; }
.bt-hist-ico { width: 40px; height: 40px; border-radius: 13px; flex: none; display: grid; place-items: center; }
.bt-hist-ico.win { background: #2fd8a21f; color: var(--mint); }
.bt-hist-ico.lose { background: #ff5a4e1a; color: var(--coral); }
.bt-delta { font: 800 18px/1 var(--display); font-variant-numeric: tabular-nums; min-width: 44px; text-align: right; }
.bt-delta.up { color: var(--mint); }
.bt-delta.down { color: var(--coral); }

/* ── Boss ───────────────────────────────────────────────────────── */
.bt-boss { box-shadow: var(--shadow), 0 40px 100px -50px var(--t); }
.bt-boss::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(115deg, #ffffff05 0 2px, transparent 2px 14px); }
.bt-boss > * { position: relative; z-index: 1; }
.bt-boss-art { position: relative; }
.bt-boss-art > .art { border-radius: 28px; }
.bt-boss-art > .art.bt-shake { animation: bt-shake .4s var(--ease), float 4s ease-in-out infinite .4s; }
@keyframes bt-shake { 20% { transform: translateX(-12px) rotate(-2deg); filter: brightness(2); } 50% { transform: translateX(10px) rotate(2deg); } 80% { transform: translateX(-4px); } }
.bt-boss-info { display: grid; gap: 14px; min-width: 0; width: 100%; }
.bt-boss-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffb199; }
.bt-live { width: 9px; height: 9px; border-radius: 50%; background: #ff3d7f; box-shadow: 0 0 0 0 #ff3d7f; animation: bt-live 1.6s ease-out infinite; }
@keyframes bt-live { 70% { box-shadow: 0 0 0 10px #ff3d7f00; } 100% { box-shadow: 0 0 0 0 #ff3d7f00; } }
.bt-boss-name { font-size: clamp(34px, 5.5vw, 60px); line-height: 1; text-shadow: 0 6px 30px var(--t); overflow-wrap: anywhere; }
.bt-boss-types { gap: 8px; }
.bt-genus { font-size: 13px; font-weight: 700; color: #fff9; }
.bt-boss-hp { display: grid; gap: 8px; }
.bt-boss-hp-row { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.bt-boss-hp-row b:first-child { font: 800 22px/1 var(--display); }
.bt-boss-hp-row span { color: #fff8; font-weight: 700; font-size: 14px; }
.bt-boss .hp > i { transition: width .6s var(--ease); }
.bt-boss-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; font-weight: 700; color: #fffc; }
.bt-boss-meta > span { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.bt-boss-meta .icon { color: #ffb199; }
.bt-boss-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bt-boss-actions small { color: #fff9; font-size: 12.5px; max-width: 36ch; }
.bt-boss-btn:not(.btn-primary) { --b: #ffffff14; --c: #fff; border-color: #ffffff22; font-variant-numeric: tabular-nums; }
.bt-boss-btn.btn-primary { animation: bt-ready 2.2s ease-in-out infinite; }
@keyframes bt-ready { 50% { box-shadow: 0 10px 40px -6px #ff5a4eee, inset 0 1px 0 #fff4; } }

.bt-fx { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.bt-boss-hit { position: absolute; left: 50%; top: 40%; display: grid; justify-items: center; gap: 2px; translate: calc(-50% + var(--x, 0%)) 0;
  animation: bt-boss-hit 1.8s var(--ease) forwards; text-shadow: 0 2px 0 #0009, 0 0 20px #000; }
.bt-boss-hit-art { display: block; width: 46px; }
.bt-boss .bt-boss-hit .art { width: 46px; border-radius: 12px; animation: none; box-shadow: 0 0 0 2px #fff, 0 8px 20px -6px #000; }
.bt-boss-hit .art-num { display: none; }
.bt-boss-hit b { font: 800 30px/1 var(--display); color: #fff; }
.bt-boss-hit small { font-size: 12px; font-weight: 800; color: #fffc; white-space: nowrap; }
.bt-boss-hit.super b { color: #ffe17a; font-size: 38px; }
.bt-boss-hit.super small { color: #ffe17a; }
.bt-boss-hit.weak b { color: #cfd5ea; font-size: 24px; }
@keyframes bt-boss-hit { 0% { opacity: 0; transform: translateY(20px) scale(.5); } 15% { opacity: 1; transform: translateY(0) scale(1.15); } 30% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-90px); } }

.bt-top-row.me { border-color: #ff5a4e55; background: linear-gradient(90deg, #ff5a4e14, var(--surface)); }
.bt-you { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; vertical-align: 2px; }
.bt-share { height: 5px; margin-top: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.bt-share i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff3d7f, #ffb21f); }
.bt-dmg-total { font: 800 16px/1 var(--display); font-variant-numeric: tabular-nums; }
.bt-prev .art { width: 46px; border-radius: 12px; flex: none; }
.bt-prev .art-num { display: none; }
.bt-won { color: var(--mint); background: #2fd8a21a; border-color: #2fd8a240; }

/* ── Mobile ─────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .bt-stage { grid-template-columns: 1fr; gap: 10px; }
  .bt-stage .arena-side.b { order: -1; }
  .bt-stage .arena-vs { font-size: 13px; }
}
@media (max-width: 640px) {
  .bt-boss-info { justify-items: center; }
  .bt-boss-types, .bt-boss-meta, .bt-boss-actions { justify-content: center; }
  .bt-boss-hp { width: 100%; }
  .bt-boss-actions .btn { width: 100%; }
  .bt-boss-actions small { text-align: center; max-width: none; }
}
@media (max-width: 560px) {
  .bt-tabs { width: 100%; }
  .bt-tabs .tab { flex: 1; justify-content: center; padding: 9px 10px; }
  .bt-arena { padding: 14px; border-radius: var(--r-lg); }
  .bt-fighter { width: 92px; }
  .bt-arena .arena-info b.bt-fname { font-size: 17px; }
  .bt-arena .arena-log { font-size: 13px; padding: 10px 12px; }
  .bt-dmg { font-size: 20px; } .bt-dmg.super, .bt-dmg.crit { font-size: 24px; }
  .bt-badges { grid-template-columns: 1fr; padding: 16px; }
  .bt-badges .badges-row { gap: 6px; }
  .bt-badges .badge-medal { width: 32px; height: 32px; }
  .gym-grid { grid-template-columns: 1fr; }
  .bt-gym-who b { font-size: 20px; }
  .bt-opp-row { justify-content: space-between; }
  .bt-opp { width: auto; flex: 1; }
  .bt-opp .art { width: 100%; max-width: 76px; }
  .bt-cta .btn-lg, .bt-defense > .btn { justify-self: stretch; }
  .bt-hist { padding: 10px; gap: 10px; }
  .bt-hist .btn { width: 34px; padding: 0; }
  .bt-revoir { display: none; }
  .bt-delta { min-width: 34px; font-size: 16px; }
  .bt-team-head .row { width: 100%; }
  .bt-team-head .row .btn { flex: 1; }
  .bt-modal-foot .btn { width: 100%; }
  .bt-end-actions .btn { flex: 1; }
  .bt-who { font-size: 12px; }
}

/* Duels directs : chaque joueur peut attaquer sans attendre le tour adverse. */
.duel-lobby { padding: clamp(20px,4vw,38px); }
.duel-formats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 22px 0 12px; }
.duel-format { display: grid; gap: 7px; text-align: left; padding: 20px; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: transform .18s, border-color .18s; }
.duel-format:hover { transform: translateY(-3px); border-color: var(--mint); }
.duel-format b { font: 800 24px/1.1 var(--display); }
.duel-format span { color: var(--ink-2); }
.duel-format small, .duel-note { color: var(--ink-3); }
.duel-waiting { padding: 46px 20px; }
.duel-searching { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; color: var(--mint); background: color-mix(in srgb,var(--mint) 14%,transparent); animation: duel-pulse 1.2s ease-in-out infinite; }
@keyframes duel-pulse { 50% { transform: scale(1.12); box-shadow: 0 0 0 12px color-mix(in srgb,var(--mint) 8%,transparent); } }
.duel-live { display: grid; gap: 18px; }
.duel-live-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.duel-live-head h2 { margin: 2px 0 0; font-size: clamp(18px,3vw,28px); }
.duel-live-head h2 small { color: var(--ink-3); font-size: 12px; }
.duel-live-pill { color: var(--mint); background: color-mix(in srgb,var(--mint) 12%,transparent); }
.duel-teams { display: grid; grid-template-columns: minmax(0,1fr) 42px minmax(0,1fr); align-items: start; gap: 12px; }
.duel-team { display: grid; gap: 10px; min-width: 0; }
.duel-team h3 { margin: 0 4px 2px; }
.duel-vs { align-self: center; justify-self: center; font: 900 17px var(--display); color: var(--ink-3); }
.duel-fighter { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: opacity .2s, border-color .2s, transform .2s; }
.duel-fighter.yours { border-color: color-mix(in srgb,var(--mint) 40%,var(--line)); }
.duel-fighter.target-selected { border-color: var(--coral); box-shadow: 0 0 0 2px color-mix(in srgb,var(--coral) 18%,transparent); }
.duel-fighter.faint { opacity: .42; filter: grayscale(.7); }
.duel-fighter.attacking { animation: duel-lunge .36s var(--spring); }
.duel-fighter.taking-hit { animation: duel-hit .32s ease-in-out; }
@keyframes duel-lunge { 40% { transform: translateX(9px) scale(1.025); } }
@keyframes duel-hit { 20%,60% { transform: translateX(5px); border-color: var(--coral); } 40%,80% { transform: translateX(-4px); } }
.duel-fighter-head { display: flex; align-items: center; gap: 10px; }
.duel-fighter-head .art { width: 54px; flex: none; }
.duel-fighter-head .art-num { display: none; }
.duel-fighter-head b, .duel-fighter-head small { display: block; }
.duel-fighter-head small { color: var(--ink-3); font-size: 11px; }
.duel-hp { position: relative; height: 21px; display: flex; align-items: center; margin: 10px 0; padding: 0 8px; border-radius: 999px; overflow: hidden; background: var(--surface-3); }
.duel-hp span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg,#f7b84d,#7bdc93); transition: width .3s; }
.duel-hp b { position: relative; z-index: 1; margin: auto; font-size: 10px; text-shadow: 0 1px 2px #0009; }
.duel-moves { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.duel-move { display: grid; gap: 2px; min-width: 0; padding: 9px; color: var(--ink); text-align: left; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); transition: transform .12s, border-color .12s; }
.duel-move:not(:disabled):hover { transform: translateY(-2px); border-color: var(--move-color,var(--mint)); }
.duel-move b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.duel-move span, .duel-move small { color: var(--ink-3); font-size: 10px; }
.duel-move:disabled { opacity: .45; }
.duel-log { display: grid; gap: 7px; padding: 14px 18px; }
.duel-log ol { display: grid; gap: 5px; max-height: 190px; overflow-y: auto; margin: 0; padding-left: 21px; color: var(--ink-2); font-size: 12px; }
.duel-finished { animation: duel-result .35s var(--spring); }
@keyframes duel-result { from { transform: scale(.985); opacity: .65; } }
@media (max-width: 680px) {
  .duel-formats { grid-template-columns: 1fr; }
  .duel-teams { grid-template-columns: 1fr; }
  .duel-vs { padding: 0; }
  .duel-live-head { align-items: flex-start; flex-direction: column; }
  .duel-fighter-head .art { width: 46px; }
}
