/* El botón de ajustes (15-nov, Juan: «que se vea bien, sin tapar nada, y que parezca de configuración, no un sol»).
   · sala / copas / perfil: es el cuarto ítem de la barra de abajo (app.js) y esta bolita no se muestra;
   · mesas: un círculo en la barra de arriba, entre la flecha de volver y el título (esa franja está siempre libre);
   · entrada y elección de tema: una esquina libre arriba a la derecha. Con una hoja abierta se esconde. */
#bolita-ajustes { position: fixed; z-index: 40; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  right: 14px; top: calc(var(--seg-arriba, 0px) + 14px); color: var(--hueso-2);
  background: rgba(10, 8, 18, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: color .2s, transform .25s var(--ease); }
#bolita-ajustes:hover, #bolita-ajustes:focus-visible { color: var(--hueso); }
#bolita-ajustes:active { transform: scale(.92); }
#bolita-ajustes svg { width: 18px; height: 18px; }
body:is([data-vista=sala], [data-vista=copas], [data-vista=perfil]) #bolita-ajustes { display: none; }
body:is([data-vista=poker], [data-vista=blackjack], [data-vista=ruleta], [data-vista=carreras], [data-vista=crash], [data-vista=tragamonedas], [data-vista=minas]) #bolita-ajustes {
  right: auto; left: 58px; top: calc(var(--seg-arriba, 0px) + 13px); }
body:has(.hoja) #bolita-ajustes { opacity: 0; pointer-events: none; }
.nav a[data-ajustes] { cursor: pointer; }

.aj-volumen { gap: 18px; }
.aj-volumen input[type=range] { flex: 1; min-width: 0; accent-color: var(--oro); }
.aj-siguiente { padding: 12px 0 2px; }
.aj-creditos { margin: 14px 0 0; line-height: 1.5; }

/* Final de copa (podio.js): la felicitación se lee primero, antes que la tabla. */
.felicita { margin: 2px 0 4px; font-family: var(--f-disp); font-size: 22px; line-height: 1.25; color: var(--hueso); }
.felicita b { color: var(--oro); font-weight: inherit; }
.felicita.gane { font-size: 26px; color: var(--oro); text-shadow: 0 0 22px rgba(var(--acento-rgb), .5); }
.tabla.podio { margin-top: 14px; }

/* La oferta de avisos (1.1.3; Juan: «que sean bonitas las notificaciones»): el rombo, qué se avisa en tres renglones con su
   emoji y los dos botones. Sin cajas: renglones con una línea fina entre ellos. */
.av-oferta { text-align: center; }
.av-oferta .isotipo { width: 58px; height: 58px; margin: 2px auto 10px; }
.av-oferta .isotipo svg { width: 100%; height: 100%; }
.av-lista { list-style: none; margin: 16px 0 14px; padding: 0; text-align: left; }
.av-lista li { display: flex; align-items: center; gap: 14px; padding: 11px 2px; }
.av-lista li + li { border-top: var(--hilo, 1px) solid var(--pelo, rgba(255, 255, 255, .08)); }
.av-lista b { flex: none; width: 34px; height: 34px; display: grid; place-items: center; font-size: 19px; border-radius: 50%;
  background: rgba(var(--acento-rgb), .12); box-shadow: inset 0 0 0 1px rgba(var(--acento-rgb), .35); }
.av-lista span { font-size: 14.5px; line-height: 1.35; color: var(--hueso-2); }
.av-lista em { font-style: normal; color: var(--hueso); font-weight: 600; }
.av-oferta .sub { margin: 0 0 18px; font-size: 13px; color: var(--humo); }

/* Pedir la reseña (1.2, resena.js): la misma hoja que la oferta de avisos; «No volver a mostrar» más discreto. */
.rs-oferta .rs-nunca { min-height: 34px; font-size: 12.5px; opacity: .8; }
a.fila-ajuste { color: inherit; text-decoration: none; }
.fila-ajuste .aj-flecha { flex: none; font-size: 22px; line-height: 1; color: var(--humo); }

/* Reportar un error (24-nov, reportar-error.js): sin caja, como los campos de la app (.campo input): solo la línea fina de
   abajo, que se pone del acento al escribir; la nota de qué se envía, chica y apagada. 16 px: con menos, el iPhone hace zoom. */
.rep-texto { display: block; width: 100%; box-sizing: border-box; margin: 10px 0 12px; padding: 8px 0 10px; resize: none; min-height: 112px;
  font: 16px/1.5 var(--f-cuerpo, inherit); color: var(--hueso); background: transparent; border: 0; border-radius: 0;
  border-bottom: var(--hilo, 1px) solid var(--pelo-2, rgba(255, 255, 255, .16)); outline: none; transition: border-color .2s; }
.rep-texto:focus { border-bottom-color: var(--oro); }
.rep-texto::placeholder { color: var(--humo-2); font-style: var(--italica); }
.rep-nota { margin: 0 0 14px; font-size: 12px; line-height: 1.45; color: var(--humo); }

/* Tablet (720-959 px): la app es una columna de 480 al centro (noir.css) y el engranaje se colocaba contra el borde de la
   PANTALLA, fuera de la columna (cacería 23-nov, F4). Se mide desde el borde de la columna. Desde 960, escritorio.css. */
@media (min-width: 720px) and (max-width: 959px) {
  #bolita-ajustes { right: calc((100vw - 480px) / 2 + 14px); }
  body:is([data-vista=poker], [data-vista=blackjack], [data-vista=ruleta], [data-vista=carreras], [data-vista=crash], [data-vista=tragamonedas], [data-vista=minas]) #bolita-ajustes {
    right: auto; left: calc((100vw - 480px) / 2 + 58px); }
}
