/* Ajustes del remake sobre el CSS original (style.css / es.css se dejan intactos). */

/* El original usa Arial. Android no la trae y la cambia por Roboto (más angosta: otros cortes de línea). Aquí
   "arial" usa la Arial del aparato si la tiene y, si no, Arimo (Google Fonts, misma medida que Arial: medido igual,
   552,61 px el mismo texto). En PC y Mac no cambia nada. */
@font-face { font-family: 'arial'; font-style: normal; font-weight: 400; font-display: swap;
  src: local('Arial'), local('ArialMT'), url(https://fonts.gstatic.com/s/arimo/v36/P5sMzZCDf9_T_10ZxCE.woff2) format('woff2'); }
@font-face { font-family: 'arial'; font-style: normal; font-weight: 700; font-display: swap;
  src: local('Arial Bold'), local('Arial-BoldMT'), url(https://fonts.gstatic.com/s/arimo/v36/P5sMzZCDf9_T_10ZxCE.woff2) format('woff2'); }

/* Botones de imagen (Arena, ¡ADELANTE!): el original cambia de imagen al pasar el ratón (como
   "Inscribe tu Bruto"); la imagen "over" de la arena no se conserva: mismo efecto con CSS. */
img.btnOver, button.go { transition: transform .08s, filter .08s; }
a:hover img.btnOver, button.go:hover { transform: translateY(2px); filter: sepia(.35) brightness(.97); }

/* Bruto encontrado con el buscador de la arena: centrado bajo el buscador. */
.areneBuscado { clear: both; padding-top: 6px; }
.areneBuscado .miniCaracs { float: none; margin: 0 auto; }

/* Los dibujos de la cabecera quedan delante y enteros, como en el original; el título de cada página
   empieza un poco más a la derecha para que sus pies no lo tapen. */
.titleHead h1, .titleHead div, .teamHead h1 { padding-left: 70px; }
/* Celda: sin cambios (como el original); con margen, los nombres largos quedaban cortados. */
/* Páginas tipo celda sin datos al lado (puerta, contraseña, dojo). */
.cellule h1.libre { padding-left: 70px; width: auto; }

/* Pie de página centrado. */
#footer { text-align: center; }

/* Acciones de clan (Expulsar, Anular, Abandonar...): botón de formulario con aspecto de enlace. */
form.enlace { display: inline; margin: 0; }
button.enlace { background: none; border: none; padding: 0; font: inherit; font-weight: bold; color: #B06B4F; text-decoration: underline; cursor: pointer; }
button.enlace:hover { color: #733C2F; }
.team .mcf .center { margin-top: -4px; margin-bottom: 4px; }
.teamLeft h2 { color: #733C2F; }
.teamLeft table.list { width: 100%; margin-bottom: 10px; }

/* Foro: el icono del autor (20x20) junto a su mensaje, sin el desplazamiento del retrato grande. */
.forum .fgfx { padding-top: 4px; }
.forum .fgfx .swf, .forum .fgfx .iconGfx { margin: 0 auto; float: none; height: auto; }
.forum h2 { color: #733C2F; margin-bottom: 4px; }

/* La dirección de la celda y del dojo es un enlace directo al desafío (como en el original). */
.url a { color: inherit; text-decoration: none; }

/* Nombres largos en el desafío: no se salen del marco (se cortan con "...", como el título de la celda). */
.versus .name { max-width: 261px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* "El destino de tu Bruto" (/destino). */
.destinoCaja { text-align: left; padding: 10px 30px 20px; }
.destinoForm input[type=text] { width: 200px; }
.destinoError { color: #B00; font-weight: bold; }
.destinoCab { display: flex; align-items: center; gap: 20px; margin: 15px 0; }
.destinoCab h2 { color: #733C2F; font-size: 20px; margin: 0 0 6px; }
table.destino { width: 100%; border-collapse: collapse; font-size: 12px; }
table.destino th { background: #733C2F; color: #F6EE90; padding: 3px 6px; text-align: left; }
table.destino td { padding: 2px 6px; border-bottom: 1px solid #E8D88A; }
table.destino tr.dPremio td { background: #F6EE90; }
table.destino tr.dPasado td { color: #A08A70; }
table.destino tr.dActual td { background: #F2C063; font-weight: bold; }
table.destino.soloPremios tr:not(.dPremio):not(:first-child) { display: none; }
.dTipo { display: inline-block; min-width: 62px; padding: 0 4px; border-radius: 3px; color: #fff; font-size: 11px; text-align: center; }
.dArma { background: #8A5A2B; } .dHabilidad { background: #3D7A3D; } .dSúper { background: #B0441E; } .dMascota { background: #4E5FA0; }
.dNada { color: #A08A70; }
@media (max-width: 700px) { .destinoCaja { padding: 10px; } table.destino { font-size: 11px; } }
.destinoNivel { width: 60px; }
.destinoNav { text-align: center; margin: 12px 0; }
.destinoBtn { display: inline-block; min-width: 44px; margin: 0 3px; padding: 4px 8px; background: #F6EE90; border: 1px solid #AA8471; border-radius: 3px; font-weight: bold; text-decoration: none; color: #733C2F; }
.destinoBtn:hover { background: #F2C063; }
h2.destinoProx { color: #733C2F; font-size: 15px; margin: 8px 0; text-align: center; }
.classic.destinoClassic { min-height: 0; }
/* Simulador de combates (/simulador). */
.destinoCaja table.simEquipos, .destinoCaja table.simResultado { width: 100%; margin: 10px 0; table-layout: fixed; }
table.simEquipos td, table.simResultado td { vertical-align: top; text-align: center; width: 45%; }
table.simEquipos h2 { color: #733C2F; font-size: 18px; margin: 0 0 6px; font-variant: small-caps; }
.simCampo { margin: 4px 0; }
.simCampo input[type=text] { width: 170px; }
td.simVs { width: 10%; vertical-align: middle !important; font-size: 26px; font-weight: bold; color: #733C2F; }
.simBoton { text-align: center; }
.simBrutos { display: flex; justify-content: center; gap: 12px; }
.simBruto .name { font-variant: small-caps; font-size: 15px; }
.simPct { font-size: 28px; font-weight: bold; color: #733C2F; margin-top: 6px; }
.simBarra { height: 10px; background: #CC6633; border: 2px solid #733C2F; margin: 6px 40px; }
.simBarra div { height: 10px; background: #8BBF3A; }
.simAviso { text-align: center; color: #982313; font-weight: bold; margin: 4px 0; }
/* Debajo del combate, ubicado como #debrief del original (arriba lo tapaba el dibujo de la cabecera). */
#fight .simAvisoAbajo { float: left; position: relative; width: 500px; margin: 6px 0 4px 2px; font-size: 9pt; }
@media (max-width: 700px) { .simCampo input[type=text] { width: 120px; } .simBrutos { flex-wrap: wrap; } }
/* Generador de aspecto (/aspecto). */
table.aspecto { margin: 10px 0; }
table.aspecto td { vertical-align: top; }
td.aspectoVista { width: 180px; text-align: center; padding-right: 20px; }
td.aspectoVista #aspectoVista { margin: 0 auto; position: relative; }
#aspectoVista .aspectoCapa { position: absolute; left: 0; top: 0; width: 90px; height: 175px; background: #FAF8C3; overflow: hidden; }
#aspectoVista .aspectoCapa ruffle-player { margin-left: -55px; }
#aspectoCodigo { width: 170px; font-size: 10px; }
.aspectoCodigoForm { margin: 1em 0; }
table.aspecto table.destino td { padding: 3px 8px; }
.aspectoColores { margin-top: 3px; white-space: nowrap; line-height: 0; }
.aspectoColores span { display: inline-block; width: 10px; height: 10px; margin: 0 1px 1px 0; border: 1px solid #AA8471; cursor: pointer; }
.aspectoColores span.elegido { border-color: #733C2F; outline: 2px solid #733C2F; }

/* Celda como la de 2022 (captura del usuario): el tablero, "Armas y bonus..." y "Nivel" arrancan con aire
   debajo del recuadro del título (en el CSS de 2011 quedaban pegados). */
.cellule .objects, .cellule .caracs { margin-top: 12px; }
.cellule .objects > div:first-child { margin-bottom: 4px; }
.aspectoCrear { margin-top: 14px; padding: 8px; border: 1px solid #AA8471; background: #FBF2AF; text-align: center; }
.aspectoCrear input[type=text] { width: 150px; margin: 4px 0; }

/* Salón de las Leyendas (vista previa privada) */
.museoIntro { text-align: center; margin: 0 20px 10px; }
.museoNav { text-align: center; margin: 8px 0; }
.museoSinGfx { width: 20px; height: 20px; text-align: center; font-weight: bold; color: #8a6d3b; }
.museoEstado { margin: 8px 10px; font-size: 9pt; }
.museoMisterio p { text-align: center; font-size: 30pt; color: #b89b5e; margin: 60px 0; }
.museoVecinos { margin: 14px 10px; line-height: 1.8; }
.museoLista td { white-space: nowrap; }

/* Contador de la portada (vista previa) */
.contadorPortada { text-align: center; color: #733C2F; font-size: 9pt; margin: 4px 0 2px; }
.contadorPortada strong { color: #982313; font-size: 10pt; }
.urlDescanso { margin: 6px auto 8px; }
/* Crédito discreto en el pie (REMAKE): proyecto de fans, el juego es de Motion Twin. */
.creditoFans { font-size: 8pt; font-weight: normal; color: #A0613F; margin-top: 3px; }
