/* War Dogs · lo propio de la web: pantalla de login, menú de la cuenta, aviso de pendiente y Miembros.
   La página ya define sus colores (siempre oscura, como el juego); aquí se reutilizan. */

/* ---------- Login */
body.wd-gated > :not(#wdGate):not(script):not(style):not(link) { display: none !important; }
.wd-gate {
  min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(120% 90% at 50% 0%, #1a2a52 0%, #0b0e13 62%) #0b0e13; color: #e9e5da;
  font-family: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
}
.wd-gate-box {
  width: min(420px, 100%); display: grid; justify-items: center; gap: 10px; text-align: center;
  padding: 30px 26px 26px; border: 1px solid rgba(201, 161, 74, .75); border-radius: 10px;
  background: linear-gradient(180deg, rgba(18, 23, 32, .92), rgba(11, 14, 19, .96));
  box-shadow: 0 0 0 3px #0b0e13, 0 0 0 4px rgba(201, 161, 74, .3), 0 24px 60px rgba(0, 0, 0, .5);
}
.wd-gate-logo { width: 150px; height: auto; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .7)); margin-bottom: 4px; }
.wd-gate-eye { margin: 0; font-family: "Friz Quadrata", Georgia, serif; letter-spacing: .08em; font-size: 13px; color: #f0c75e; }
.wd-gate h1 {
  margin: 0; font-family: "Friz Quadrata", Georgia, serif; font-weight: 400; font-size: 46px; line-height: 1.05;
  background: linear-gradient(180deg, #fff7da 0%, #f3cf6d 45%, #b8862b 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.wd-gate-txt { margin: 4px 0 8px; font-size: 16px; line-height: 1.45; color: #d9d3c4; max-width: 34ch; }
.wd-gate-btn { min-height: 44px; display: grid; place-items: center; }
.wd-gate-note { margin: 6px 0 0; font-size: 13.5px; color: #98a1b0; line-height: 1.4; max-width: 36ch; }
.wd-gate-note.err { color: #ff8f80; }

/* ---------- Cuenta (arriba a la derecha, junto a los botones de la cabecera) */
.wd-acct { position: relative; }
.wd-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; cursor: pointer;
  font: inherit; color: #f4efe3; border: 1px solid rgba(244, 239, 227, .4); background: rgba(6, 12, 30, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.wd-chip:hover, .wd-chip[aria-expanded="true"] { border-color: #f0c75e; background: rgba(6, 12, 30, .8); }
.wd-chip:focus-visible { outline: 2px solid #ffd100; outline-offset: 2px; }
.wd-av, .wd-mav { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1.5px #000, 0 0 0 3px rgba(240, 199, 94, .8); background: #07090c; }
.wd-ini { display: inline-grid; place-items: center; font-weight: 700; color: #f0c75e; }
.wd-chip-tx { display: grid; line-height: 1.1; text-align: left; }
.wd-chip-tx b { font-size: 14px; font-weight: 700; }
.wd-chip-tx small { font-size: 11.5px; color: #d9d3c4; letter-spacing: .04em; text-transform: uppercase; }
.wd-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #c8361f; color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.wd-chip .wd-badge { position: absolute; top: -4px; right: -4px; }
.wd-menu {
  position: fixed; z-index: 60; max-width: calc(100vw - 16px); padding: 8px; display: grid; gap: 4px;
  background: #0b0b0c; border: 2px solid #4a3922; border-radius: 8px; box-shadow: 0 0 0 1px #000, 0 14px 40px rgba(0, 0, 0, .55);
}
.wd-menu[hidden] { display: none; }
.wd-menu-who { margin: 2px 6px 6px; display: grid; gap: 1px; color: #e8e2d0; }
.wd-menu-who small { color: #9a9384; font-size: 12.5px; overflow-wrap: anywhere; }
.wd-menu-it {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 14.5px; color: #ffd100; padding: 8px 10px; min-height: 44px; border-radius: 5px; border: 1px solid transparent; background: none;
}
/* Móvil: la cuenta en su propia barra, encima de la cabecera */
.wd-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.wd-topbar-t { font-family: var(--f-wow, "Friz Quadrata", Georgia, serif); font-weight: 400; font-size: 17px; letter-spacing: .06em; color: #f0c75e; }
.wd-topbar .wd-chip { min-height: 44px; }
.wd-menu-it:hover, .wd-menu-it:focus-visible { background: #1b1b1b; border-color: #5b5b5b; outline: none; }

/* ---------- Aviso de cuenta pendiente */
.wd-pend {
  margin: 0 0 18px; padding: 12px 16px; border-radius: 6px; border: 1px solid #6b5a2a; border-left: 4px solid #ffd100;
  background: linear-gradient(180deg, #1c1810, #120f0a); color: #e8e2d0; font-size: 15px; line-height: 1.45;
}
.wd-pend b { color: #ffd100; }

/* ---------- Miembros */
.wd-mbody { display: grid; gap: 12px; padding: 16px 20px 20px; }
.wd-mhelp { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted, #98a1b0); }
.wd-mhelp b { color: var(--fg, #e9e5da); }
.wd-mpend { margin: 0; font-weight: 700; color: #ffd100; }
.wd-mlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wd-mrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line, #283142); border-radius: 6px; background: var(--panel-2, #19202c); }
.wd-mrow.pend { border-color: #6b5a2a; border-left: 4px solid #ffd100; }
.wd-mav { width: 40px; height: 40px; }
.wd-mtx { display: grid; gap: 1px; min-width: 0; }
.wd-mtx b { overflow-wrap: anywhere; }
.wd-mtx small { color: var(--muted, #98a1b0); font-size: 13px; overflow-wrap: anywhere; }
.wd-mact { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.wd-mact .fsel { width: auto; padding: 6px 8px; font: inherit; font-size: 14px; color: var(--fg, #e9e5da); background: var(--panel, #121720); border: 1px solid var(--line, #283142); border-radius: 4px; }
.wd-fixed { font-size: 13px; font-weight: 700; color: #f0c75e; padding: 4px 10px; border: 1px solid #6b5a2a; border-radius: 999px; }
.wd-mdel { color: #ff8f80; }
.hint.err { color: #ff8f80; }
@media (max-width: 560px) {
  .wd-mrow { grid-template-columns: auto minmax(0, 1fr); }
  .wd-mact { grid-column: 1 / -1; justify-content: flex-start; }
  .wd-chip-tx small { display: none; }
}
.wd-mtx small.wd-mpj { color: #e9e5da; }
.wd-mtx small.wd-mpj b { color: #ffd100; }
.wd-mtx small.wd-mpj.none { color: #c9a227; font-style: italic; }
/* Móvil: los botones de la cabecera, a la derecha del logo de WoW Forever (antes lo tapaban) */
@media (max-width: 560px) {
  body .hero > .topactions { left: 128px; justify-content: flex-end; gap: 8px; }
  body .hero > .topactions .btn { padding: 7px 12px; font-size: 13.5px; }
}
