.pvp-mode-picker {
  box-sizing: border-box;
  width: min(1120px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 28px;
  border: 1px solid #be9146;
  border-radius: 12px;
  color: #f8e8bd;
  background: linear-gradient(180deg, #090b0ec9, #090b0e70 45%, #090b0ee6), url("assets/backgrounds/sfondomain.webp") center / cover no-repeat;
  box-shadow: inset 0 1px #ffe6a533, 0 22px 80px #000c;
  text-align: center;
}
.pvp-mode-picker::backdrop { background: #030609db; backdrop-filter: blur(5px); }
.pvp-mode-picker h2 { font-family: "Cinzel", Georgia, serif; color: #f2d38c; margin: 0 0 12px; }
.pvp-mode-intro { color: #e0d4be; text-shadow: 0 2px 5px #000; }
.pvp-mode-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.pvp-mode-options button {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 25px 18px;
  min-height: 340px;
  border: 1px solid #d7a6499e;
  border-radius: 5px;
  color: #f8e8bd;
  background: linear-gradient(180deg, #090b0e38, #090b0e99 48%, #090b0eeb), var(--pvp-mode-background) center / cover no-repeat;
  text-shadow: 0 2px 5px #000, 0 0 12px #000;
  box-shadow: inset 0 1px #ffeebf33, inset 0 -2px #0007, 0 6px 14px #0005;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pvp-mode-options button[data-mode="duel"] { --pvp-mode-background: url("assets/backgrounds/duel.webp"); }
.pvp-mode-options button[data-mode="fights"] { --pvp-mode-background: url("assets/backgrounds/fight.webp"); }
.pvp-mode-options button::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(110deg, transparent 40%, #ffe5a522 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .6s;
  pointer-events: none;
}
.pvp-mode-options button:hover::after { transform: translateX(100%); }
.pvp-mode-options button:hover { transform: translateY(-3px); border-color: #f3d688; box-shadow: 0 0 22px #dca53340; }
.pvp-mode-options button:focus-visible, .pvp-mode-cancel:focus-visible { outline: 2px solid #ffe3a0; outline-offset: 4px; }
.pvp-mode-options strong { font-family: "Cinzel", Georgia, serif; font-size: 26px; letter-spacing: .1em; }
.pvp-mode-emblem { font-size: 42px; color: #e5bd67; text-shadow: 0 0 24px #dca53380; }
.pvp-mode-description { line-height: 1.5; font-weight: 400; }
.pvp-mode-options small { color: #d7b97e; margin-top: auto; }
.pvp-mode-picker .pvp-mode-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 24px;
  border: 1px solid #be9146;
  border-radius: 8px;
  color: #f2d38c;
  background: linear-gradient(180deg, #302b21, #171a1c);
  box-shadow: inset 0 1px #ffe6a526, 0 4px 12px #0005;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.pvp-mode-cancel::before { content: "\2190"; font-size: 20px; line-height: 1; }
.pvp-mode-picker .pvp-mode-cancel:hover {
  border-color: #f3d688;
  background: linear-gradient(180deg, #443824, #24231e);
  box-shadow: inset 0 1px #ffe6a533, 0 0 16px #dca53326;
}
.pvp-mode-picker .pvp-mode-cancel:active { background: #171a1c; }
@media (max-width: 480px) {
  .pvp-mode-picker { padding: 20px 16px; }
  .pvp-mode-options { grid-template-columns: 1fr; gap: 12px; }
  .pvp-mode-options button { min-height: 180px; padding: 18px; gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .pvp-mode-options button, .pvp-mode-options button::after, .pvp-mode-picker .pvp-mode-cancel { transition: none; }
}
