/*GENERAL*/
html {
  height: 100%;
}

body {
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  /* Tipografia fluïda. clamp(min, preferred, max) escala amb la viewport
     fins als límits. En desktop ample = 16px (preferred 1.1vw a 1080p ≈ 12px,
     però el màxim 16px guanya). En mòbil cau al mínim de 11px. */
  font-size: clamp(11px, 1.1vw, 16px);
  color:#28cb02;
  font-family: 'Press Start 2P', cursive;
}
a.home_l{
  color: darkorange;
}
.ptext{
  font-size: clamp(11px, 1vw, 13px);
  padding-left: clamp(15px, 4vw, 30px);
  padding-right: clamp(15px, 4vw, 30px);
  padding-top: clamp(15px, 3vw, 30px);
}

.story-img{
  display: block;
  width: 100%;
  /* Terra i sostre per a que mai sigui ni gegant ni minúscula */
  max-height: min(60vh, 480px);
  min-height: 240px;
  flex: 1 1 auto;
  object-fit: contain;
  margin: 0 auto;
}

#home{

  position: absolute;
  top: 0;
  left: 0;
  /* Scroll vertical natural quan el contingut excedeix la pantalla.
     `safe center` evita el classic "flex centered overflow problem" en
     què el contingut quedaria tallat per dalt sense poder fer scroll. */
  overflow: auto;
  width: 100%;
  height: 100%;
  /* background-color: #e3e5db;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 304 304' width='304' height='304'%3E%3Cpath fill='%23a9ac92' fill-opacity='0.4' d='M44.1 224a5 5 0 1 1 0 2H0v-2h44.1zm160 48a5 5 0 1 1 0 2H82v-2h122.1zm57.8-46a5 5 0 1 1 0-2H304v2h-42.1zm0 16a5 5 0 1 1 0-2H304v2h-42.1zm6.2-114a5 5 0 1 1 0 2h-86.2a5 5 0 1 1 0-2h86.2zm-256-48a5 5 0 1 1 0 2H0v-2h12.1zm185.8 34a5 5 0 1 1 0-2h86.2a5 5 0 1 1 0 2h-86.2zM258 12.1a5 5 0 1 1-2 0V0h2v12.1zm-64 208a5 5 0 1 1-2 0v-54.2a5 5 0 1 1 2 0v54.2zm48-198.2V80h62v2h-64V21.9a5 5 0 1 1 2 0zm16 16V64h46v2h-48V37.9a5 5 0 1 1 2 0zm-128 96V208h16v12.1a5 5 0 1 1-2 0V210h-16v-76.1a5 5 0 1 1 2 0zm-5.9-21.9a5 5 0 1 1 0 2H114v48H85.9a5 5 0 1 1 0-2H112v-48h12.1zm-6.2 130a5 5 0 1 1 0-2H176v-74.1a5 5 0 1 1 2 0V242h-60.1zm-16-64a5 5 0 1 1 0-2H114v48h10.1a5 5 0 1 1 0 2H112v-48h-10.1zM66 284.1a5 5 0 1 1-2 0V274H50v30h-2v-32h18v12.1zM236.1 176a5 5 0 1 1 0 2H226v94h48v32h-2v-30h-48v-98h12.1zm25.8-30a5 5 0 1 1 0-2H274v44.1a5 5 0 1 1-2 0V146h-10.1zm-64 96a5 5 0 1 1 0-2H208v-80h16v-14h-42.1a5 5 0 1 1 0-2H226v18h-16v80h-12.1zm86.2-210a5 5 0 1 1 0 2H272V0h2v32h10.1zM98 101.9V146H53.9a5 5 0 1 1 0-2H96v-42.1a5 5 0 1 1 2 0zM53.9 34a5 5 0 1 1 0-2H80V0h2v34H53.9zm60.1 3.9V66H82v64H69.9a5 5 0 1 1 0-2H80V64h32V37.9a5 5 0 1 1 2 0zM101.9 82a5 5 0 1 1 0-2H128V37.9a5 5 0 1 1 2 0V82h-28.1zm16-64a5 5 0 1 1 0-2H146v44.1a5 5 0 1 1-2 0V18h-26.1zm102.2 270a5 5 0 1 1 0 2H98v14h-2v-16h124.1zM242 149.9V160h16v34h-16v62h48v48h-2v-46h-48v-66h16v-30h-16v-12.1a5 5 0 1 1 2 0zM53.9 18a5 5 0 1 1 0-2H64V2H48V0h18v18H53.9zm112 32a5 5 0 1 1 0-2H192V0h50v2h-48v48h-28.1zm-48-48a5 5 0 0 1-9.8-2h2.07a3 3 0 1 0 5.66 0H178v34h-18V21.9a5 5 0 1 1 2 0V32h14V2h-58.1zm0 96a5 5 0 1 1 0-2H137l32-32h39V21.9a5 5 0 1 1 2 0V66h-40.17l-32 32H117.9zm28.1 90.1a5 5 0 1 1-2 0v-76.51L175.59 80H224V21.9a5 5 0 1 1 2 0V82h-49.59L146 112.41v75.69zm16 32a5 5 0 1 1-2 0v-99.51L184.59 96H300.1a5 5 0 0 1 3.9-3.9v2.07a3 3 0 0 0 0 5.66v2.07a5 5 0 0 1-3.9-3.9H185.41L162 121.41v98.69zm-144-64a5 5 0 1 1-2 0v-3.51l48-48V48h32V0h2v50H66v55.41l-48 48v2.69zM50 53.9v43.51l-48 48V208h26.1a5 5 0 1 1 0 2H0v-65.41l48-48V53.9a5 5 0 1 1 2 0zm-16 16V89.41l-34 34v-2.82l32-32V69.9a5 5 0 1 1 2 0zM12.1 32a5 5 0 1 1 0 2H9.41L0 43.41V40.6L8.59 32h3.51zm265.8 18a5 5 0 1 1 0-2h18.69l7.41-7.41v2.82L297.41 50H277.9zm-16 160a5 5 0 1 1 0-2H288v-71.41l16-16v2.82l-14 14V210h-28.1zm-208 32a5 5 0 1 1 0-2H64v-22.59L40.59 194H21.9a5 5 0 1 1 0-2H41.41L66 216.59V242H53.9zm150.2 14a5 5 0 1 1 0 2H96v-56.6L56.6 162H37.9a5 5 0 1 1 0-2h19.5L98 200.6V256h106.1zm-150.2 2a5 5 0 1 1 0-2H80v-46.59L48.59 178H21.9a5 5 0 1 1 0-2H49.41L82 208.59V258H53.9zM34 39.8v1.61L9.41 66H0v-2h8.59L32 40.59V0h2v39.8zM2 300.1a5 5 0 0 1 3.9 3.9H3.83A3 3 0 0 0 0 302.17V256h18v48h-2v-46H2v42.1zM34 241v63h-2v-62H0v-2h34v1zM17 18H0v-2h16V0h2v18h-1zm273-2h14v2h-16V0h2v16zm-32 273v15h-2v-14h-14v14h-2v-16h18v1zM0 92.1A5.02 5.02 0 0 1 6 97a5 5 0 0 1-6 4.9v-2.07a3 3 0 1 0 0-5.66V92.1zM80 272h2v32h-2v-32zm37.9 32h-2.07a3 3 0 0 0-5.66 0h-2.07a5 5 0 0 1 9.8 0zM5.9 0A5.02 5.02 0 0 1 0 5.9V3.83A3 3 0 0 0 3.83 0H5.9zm294.2 0h2.07A3 3 0 0 0 304 3.83V5.9a5 5 0 0 1-3.9-5.9zm3.9 300.1v2.07a3 3 0 0 0-1.83 1.83h-2.07a5 5 0 0 1 3.9-3.9zM97 100a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-48 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 96a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-144a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-96 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm96 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-32 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM49 36a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-32 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM33 68a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 240a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm80-176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm112 176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 180a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 84a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'%3E%3C/path%3E%3C/svg%3E"); */
  opacity: 1;
  background-color: #1b1a17;
  z-index: 20000;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: safe center;
  transition: opacity 600ms linear;
}

.logo_urko{
  display: block;
  max-width: 100%;
  max-height: min(60vh, 480px);
  min-height: 240px;
  flex: 1 1 auto;
  object-fit: contain;
  margin: 0 auto;
}
.fitxa_jr{
  width: 100%;
  max-width: 642px;
  height: auto;
  aspect-ratio: 642 / 373;
}

.text_content{
  text-align: center;
  line-height: 2;
  /* Ample fluid: en desktop 1024px màxim, en mòbil/tablet ple amplada.
     max-height segueix evitant que la slide creixi per sobre la viewport. */
  width: min(1024px, 100%);
  max-width: 100%;
  max-height: 92vh;
  background-color: #1b1a17;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  opacity: 1;
  transition: opacity 0.2s;
}

.slide-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 10px 0;
  gap: 12px;
}

.slide-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 20px;
  flex-shrink: 0;
}

.slide-nav--right {
  justify-content: flex-end;
}

.slide-nav > div:last-child {
  padding-right: 0.75rem;
  padding-left: 5%;
}

.ptext br {
  display: block;
  content: "";
  margin-bottom: 0.6em;
}

.ptext p {
  margin: 0 0 1em;
  padding: 0 clamp(15px, 4vw, 30px);
}

.ptext p:last-child {
  margin-bottom: 0;
}

.novisible{
  opacity:0;
  display:none;
}

/* ── WALL OF FAME (slide iboard) ────────────────────────────── */
/* Layout: estàtic, mida fixa a través del .wall-board (la imatge marca el
   contenidor). Cap shift per errors/notices: tots tenen mida reservada.
   En pantalles petites, scroll del navegador. */

/* Override de .text_content + .slide-body per iboard i iloose.
   Aquestes slides tenen contingut especial (form/tauler/comptador/share/footer)
   i poden necessitar més espai vertical que altres slides.
   Estratègia: NO scroll propi. Deixem que el #home (overflow: auto + safe
   center) faci el centrat vertical i el scroll del navegador. La barra
   apareix a la dreta absoluta de la pantalla, com és natural. */
#iboard.text_content,
#iloose.text_content {
  max-height: none;     /* creix segons contingut */
  height: auto;
}
/* slide-body normal centra amb justify-content: center i overflow:hidden;
   aquí volem que el contingut respiri (no ocultar) i no es centri
   internament — el centrat global ja el fa #home. */
#iboard .slide-body,
#iloose .slide-body {
  overflow: visible;
  justify-content: flex-start;
  flex: 0 0 auto;
}

/* ── CREDITS (modal #credits-panel) ───────────────────────────────
   Conjunt d'estils per al contingut del panel. El scroll el gestiona
   el propi panel via #credits-panel { overflow-y: auto }. */
.credits-scroll {
  padding: 0;
}
.credits-section {
  font-size: 12px;
  letter-spacing: 3px;
  color: #ff8c00;
  margin: 18px 0 6px;
  text-transform: uppercase;
  border-bottom: 1px dashed rgba(255, 140, 0, 0.3);
  padding-bottom: 4px;
}
.credits-section:first-child { margin-top: 0; }
.credits-block {
  margin: 0 0 8px;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #d4d4d8;
}
.credits-meta {
  font-size: 11px;
  color: #8888a0;
  margin: 0 0 6px;
  font-style: italic;
}
.credits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Consolas', 'Menlo', 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.5;
  color: #c0c0c0;
}
.credits-list li {
  padding: 3px 4px;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.06);
}
.credits-list li:last-child { border-bottom: none; }
.credits-list a {
  color: #ff8c00;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 140, 0, 0.4);
}
.credits-list a:hover {
  color: #ffaf3a;
  border-bottom-color: rgba(255, 140, 0, 0.8);
}
.credits-sfx li { font-size: 10px; }

/* Card de Bandcamp: portada quadrada + overlay play, link a la pàgina */
.credits-bandcamp-card {
  display: block;
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 14px auto 18px;
  aspect-ratio: 1 / 1;
  background: #000;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s;
}
.credits-bandcamp-card:hover { transform: scale(1.02); }
.credits-bandcamp-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.credits-bandcamp-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0.85;
  transition: opacity 0.15s, background 0.15s;
}
.credits-bandcamp-card:hover .credits-bandcamp-play {
  opacity: 1;
  background: rgba(0, 0, 0, 0.4);
}
.credits-bandcamp-play svg {
  width: 64px;
  height: 64px;
  color: #ff8c00;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.7));
}

.iboard-body {
  align-items: center;
  padding: 12px 60px;
  gap: 12px;
}
.wall-title {
  font-size: 14px;
  letter-spacing: 4px;
  color: #ff8c00;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Àrea del form/notice/success: alçada mínima reservada perquè el layout
   no saltí mai (errors, missatges, etc., sempre dins aquest espai). */
.wall-form-area {
  width: 100%;
  max-width: 600px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Form. Centrat per text-align (no flex) per evitar problemes de width
   quan el contenidor pare s'estira. El .wall-form-row és inline-flex
   per ocupar només el necessari. */
.wall-form {
  display: block;
  text-align: center;
  width: 100%;
}
.wall-form-label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  opacity: 0.6;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.wall-form-row {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  vertical-align: middle;
}
#wall-name-input {
  background: #222;
  color: #28cb02;
  border: 1px solid #555;
  padding: 8px 12px;
  font-family: 'Press Start 2P', cursive;
  font-size: 11px;
  text-align: center;
  width: 200px;
  text-transform: uppercase;
}
#wall-name-input:focus {
  outline: none;
  border-color: #ff8c00;
}
#wall-submit-btn {
  cursor: pointer;
}
.wall-form-error {
  display: block;
  color: #c44;
  font-size: 9px;
  letter-spacing: 1px;
  min-height: 14px;
  text-align: center;
  padding: 0 12px;
  margin-top: 10px;
}
/* Link a la política de privacitat al peu del form. Discret. */
.wall-form-privacy {
  text-align: center;
  margin-top: 8px;
  font-size: 8px;
  letter-spacing: 1.5px;
  opacity: 0.45;
}
.wall-form-privacy a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
}
.wall-form-privacy a:hover { opacity: 1; }

/* Notice "ja s'ha jugat" */
.wall-notice {
  text-align: center;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 10px 12px;
  background: rgba(255, 140, 0, 0.05);
  border: 1px dashed rgba(255, 140, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.wall-notice-text { opacity: 0.7; }
.wall-notice strong {
  color: #ff8c00;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.wall-not-me {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #28cb02;
  opacity: 0.5;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: opacity 0.15s, color 0.15s;
}
.wall-not-me:hover { opacity: 1; color: #ff8c00; }

/* Missatges curts (loading, error, empty, success). Opacitat consistent
   per a que es llegeixin bé sobre el fons (i sobre la imatge del suro). */
.wall-loading, .wall-error, .wall-empty, .wall-success {
  text-align: center;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 10px;
  opacity: 1;
}
.wall-loading, .wall-empty { color: #28cb02; opacity: 0.8; }
.wall-success { color: #ff8c00; }
.wall-error { color: #ff6b6b; }

/* TAULER. La imatge marca la mida exterior. La llista és un overlay
   amb scroll DINS d'aquesta àrea. */
.wall-board {
  position: relative;
  width: 100%;
  max-width: 600px;
  /* alçada lligada a l'aspect ratio de la imatge actual (placeholder).
     Quan posis la imatge real del suro, ajusta aquest valor. */
  height: 320px;
  flex: 0 0 auto;
  padding:30px;
}
.wall-board-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;             /* visible però sense robar protagonisme */
  pointer-events: none;
}
.wall-list-area {
  position: absolute;
  inset: 12px;
  overflow-y: auto;
  padding: 0 12px;
  margin: 20px 10px;
  margin-left: 0px;
  scrollbar-width: thin;
  scrollbar-color: #ff8c00 transparent;
}
.wall-list-area::-webkit-scrollbar { width: 8px; }
.wall-list-area::-webkit-scrollbar-track {
  background: transparent;
  border-left: 1px dashed rgba(40, 203, 2, 0.15);
}
.wall-list-area::-webkit-scrollbar-thumb {
  background: rgba(255, 140, 0, 0.4);
}
.wall-list-area::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 140, 0, 0.7);
}
/* Quan hi ha un missatge dins el tauler (loading/error/empty), capa fosca
   semi-transparent perquè el text destaqui sobre la imatge del suro. */
.wall-list-area:has(.wall-loading),
.wall-list-area:has(.wall-error),
.wall-list-area:has(.wall-empty) {
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wall-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.wall-row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 12px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 1px;
  border-bottom: 1px dashed rgba(40, 203, 2, 0.15);
}
.wall-row .wall-pos {
  color: #ff8c00;
  text-align: right;
  opacity: 0.5;
}
.wall-row .wall-name {
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wall-row .wall-time {
  color: #28cb02;
  opacity: 0.6;
}
.wall-row--me {
  background: rgba(255, 140, 0, 0.12);
  border-color: rgba(255, 140, 0, 0.4);
}
.wall-row--me .wall-pos,
.wall-row--me .wall-name,
.wall-row--me .wall-time {
  color: #ff8c00;
  opacity: 1;
}

/* Botó share gran. */
.wall-share-area {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}
#wall-share-btn {
  cursor: pointer;
  padding: 10px 20px;
  letter-spacing: 2px;
}

/* ── LOOSE COUNTER (integrat al paràgraf del story de iloose) ──── */
/* Es renderitza com una frase més del text narratiu, amb la mateixa
   tipografia. El número es destaca en taronja, una mica més gran que
   el text del paràgraf per cridar l'atenció. */
.iloose-counter {
  display: block;
  margin-top: 0.8em;
}
.iloose-counter strong {
  color: #ff8c00;
  font-size: 1.25em;
  letter-spacing: 2px;
}
.cell-counter-loading {
  opacity: 0.5;
}

/* Peu petit: chapter / production. */
.iboard-footer {
  font-size: 9px;
  letter-spacing: 1.5px;
  opacity: 0.7;
  text-align: center;
  margin-top: 4px;
}
.iboard-footer p {
  margin: 0;
  padding: 0;
  font-size: 9px;
  letter-spacing: 1.5px;
}

/* ── FULLSCREEN BUTTON ────────────────────────────────────────── */
/* ── TOPBAR — wrapper flex pels 4 icones ──────────────────────
   Posició fixa a la cantonada dreta superior. Els fills (botons)
   ja no necessiten position:fixed/top/right — el flex els col·loca
   amb gap, així si un icona és més gran no n'hi ha solapaments. */
#topbar-icons {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 30000;
  display: flex;
  align-items: center;
  gap: 14px;
}

#fullscreen-btn {
  background: transparent;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.15s;
}
#fullscreen-btn:hover { opacity: 1; }
#fullscreen-btn .ic-exit { display: none; }
body.is-fullscreen #fullscreen-btn .ic-enter { display: none; }
body.is-fullscreen #fullscreen-btn .ic-exit  { display: block; }

/* ── SETTINGS BUTTON ──────────────────────────────────────────── */
#settings-btn {
  background: transparent;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.15s;
}
#settings-btn:hover {
  opacity: 1;
}

/* ── SETTINGS OVERLAY ─────────────────────────────────────────── */
#settings-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 29998;
  background: rgba(0,0,0,0.55);
  pointer-events: all;
}
#settings-overlay.open { display: block; }

/* ── SETTINGS PANEL (modal centrat) ──────────────────────────── */
#settings-panel {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 29999;
  background: #111110;
  border: 1px solid #333;
  color: #ffffff;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  width: min(360px, 92vw);
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px 32px;
  box-shadow: 0 0 36px rgba(0,0,0,0.85);
}
#settings-panel.open { display: block; }

#settings-close-btn,
#share-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
  padding: 4px 8px;
  font-family: sans-serif;
  transition: opacity 0.15s;
}
#settings-close-btn:hover,
#share-close-btn:hover { opacity: 1; }

#settings-panel .settings-title,
#share-panel .settings-title {
  border-bottom: 1px solid #2a2a28;
  padding-bottom: 12px;
  margin-bottom: 22px;
}

.settings-title {
  font-size: 12px;
  margin-bottom: 18px;
  letter-spacing: 2px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}
.settings-section { margin-bottom: 16px; }
.settings-section-title {
  font-size: 9px;
  opacity: 0.5;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.settings-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  justify-content: space-between;
}
.settings-toggle {
  background: transparent;
  color: #ffffff;
  border: 1px solid #555;
  font-family: 'Press Start 2P', cursive;
  font-size: 9px;
  padding: 4px 10px;
  cursor: pointer;
  min-width: 48px;
}
.settings-toggle.active {
  background: #ffffff;
  color: #111110;
}
#settings-vol {
  flex: 1;
  accent-color: #ffffff;
  cursor: pointer;
}
#settings-vol-label {
  min-width: 26px;
  text-align: right;
}

/* ── SHARE BUTTON ─────────────────────────────────────────────── */
#share-btn {
  background: transparent;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.15s;
}
#share-btn:hover { opacity: 1; }

/* ── SHARE OVERLAY ────────────────────────────────────────────── */
#share-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 29998;
  background: rgba(0,0,0,0.55);
  pointer-events: all;
}
#share-overlay.open { display: block; }

/* ── SHARE PANEL (modal centrat) ─────────────────────────────── */
#share-panel {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 29999;
  background: #111110;
  border: 1px solid #333;
  color: #ffffff;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  width: min(420px, 92vw);
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px 32px;
  box-shadow: 0 0 36px rgba(0,0,0,0.85);
}
#share-panel.open { display: block; }

.share-socials {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.share-socials a {
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #555;
  border-radius: 0;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.15s, background 0.15s, color 0.15s;
}
.share-socials a:hover {
  opacity: 1;
  background: #ffffff;
  color: #111110;
}

#share-url {
  outline: none;
}
#share-url:focus {
  border-color: #888;
}

/* ── HELP BUTTON ──────────────────────────────────────────────── */
#help-btn {
  background: transparent;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.15s;
}
#help-btn:hover { opacity: 1; }

/* ── HELP OVERLAY ─────────────────────────────────────────────── */
#help-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 29998;
  background: rgba(0,0,0,0.55);
  pointer-events: all;
}
#help-overlay.open { display: block; }

/* ── HELP PANEL (modal centrat) ──────────────────────────────── */
/* El panel NO scrolla — el wrapper interior `.panel-scroll` ho fa.
   Així el botó × es manté sempre fix a la cantonada (no se'n va
   amb el scroll del contingut). */
#help-panel {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 29999;
  background: #111110;
  border: 1px solid #333;
  color: #ffffff;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  width: min(720px, 92vw);
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 0 36px rgba(0,0,0,0.85);
  line-height: 1.7;
  flex-direction: column;
}
#help-panel.open { display: flex; }

#help-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
  padding: 4px 8px;
  font-family: sans-serif;
  transition: opacity 0.15s;
  z-index: 10;       /* per damunt del .panel-scroll */
}
#help-close-btn:hover { opacity: 1; }

#help-panel .settings-title {
  border-bottom: 1px solid #2a2a28;
  padding-bottom: 12px;
  margin-bottom: 22px;
}

.help-section {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1c1c1b;
}
.help-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.help-section-title {
  font-size: 9px;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  color: #ff8c00;
  display: flex;
  align-items: center;
  gap: 7px;
}
.help-section-body {
  font-size: 9px;
  letter-spacing: 0.5px;
  opacity: 0.8;
  line-height: 1.7;
}
.help-cur {
  display: inline-block;
  padding: 1px 4px;
  margin: 0 2px;
  font-family: sans-serif;
  font-size: 12px;
}

/* Icones de cursor reals del joc — sprite a s_games/assets/ui/mouse_icons.png
   El sprite original és 200x58 (4 icones de 50x58: origin/inspect/take/gadget).
   Les escalo a 30x35 (60% de la mida real) per quadrar amb el text del help. */
.cur-icon {
  display: inline-block;
  width: 30px;
  height: 35px;
  background-image: url('../s_games/assets/ui/mouse_icons.png');
  background-size: 120px 35px;
  background-repeat: no-repeat;
  image-rendering: pixelated;
  vertical-align: middle;
  margin-right: 6px;
}
.cur-inspect { background-position: -30px 0; }
.cur-take    { background-position: -60px 0; }
.cur-gadget  { background-position: -90px 0; }

.help-tag {
  display: inline-block;
  padding: 3px 8px;
  margin: 4px 6px 0 0;
  font-size: 8px;
  letter-spacing: 1px;
  color: #fff;
}
.help-tag--border {
  background: transparent !important;
  border: 2px solid #9d1717;
  padding: 1px 6px;
}

/* Imatge dins de seccions del help (gif/png/jpg explicatiu) */
.help-img {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  margin: 12px 0 4px;
  border: 1px solid #2a2a28;
  background: #000;
}

/* Layout 2 columnes opcional: posa la classe .help-section--cols
   al div de la secció i el primer fill serà text, el segon imatge */
.help-section--cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 600px) {
  .help-section--cols {
    grid-template-columns: 1fr;
  }
}

/* ── PANEL-SCROLL — wrapper de scroll comú per a tots els modals ──
   Es posa dins de #help-panel, #credits-panel, etc. El panel pare
   ha de ser display:flex column + overflow:hidden. Aquest wrapper
   ocupa la resta d'alçada i scrolla el contingut. El botó × (sibling
   del wrapper) queda fora del scroll i sempre visible. */
.panel-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 28px 32px;
  min-height: 0;        /* permet que el flex item pugui encongir-se */
}
.panel-scroll::-webkit-scrollbar { width: 6px; }
.panel-scroll::-webkit-scrollbar-track { background: #1a1a19; }
.panel-scroll::-webkit-scrollbar-thumb { background: #444; border-radius: 0; }
.panel-scroll::-webkit-scrollbar-thumb:hover { background: #666; }

/* ── FOOTER LINKS (bottom-left): crèdits · privacitat ────────── */
#footer-links {
  position: fixed;
  bottom: 10px;
  left: 12px;
  z-index: 30000;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Press Start 2P', cursive;
  font-size: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
#footer-links .footer-sep {
  color: #ffffff;
  opacity: 0.3;
}
#credits-btn,
#privacy-btn {
  background: transparent;
  color: #ffffff;
  border: none;
  cursor: pointer;
  padding: 3px 5px;
  opacity: 0.3;
  transition: opacity 0.15s;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
}
#credits-btn:hover,
#privacy-btn:hover { opacity: 1; }

/* ── PRIVACY MODAL (iframe amb el legal/privacy.html) ────────── */
#privacy-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 29998;
  background: rgba(0,0,0,0.55);
}
#privacy-overlay.open { display: block; }

#privacy-panel {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 29999;
  background: #111110;
  border: 1px solid #333;
  width: min(720px, 92vw);
  height: min(85vh, 720px);
  box-shadow: 0 0 36px rgba(0,0,0,0.85);
}
#privacy-panel.open { display: block; }

#privacy-close-btn {
  position: absolute;
  top: 6px;
  right: 10px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
  padding: 4px 8px;
  font-family: sans-serif;
  transition: opacity 0.15s;
  z-index: 1;     /* per damunt de l'iframe */
}
#privacy-close-btn:hover { opacity: 1; }

#privacy-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #111110;     /* match panel bg, evita flash blanc */
}

/* ── CREDITS OVERLAY ──────────────────────────────────────────── */
#credits-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 29998;
  background: rgba(0,0,0,0.55);
  pointer-events: all;
}
#credits-overlay.open { display: block; }

/* ── CREDITS PANEL (modal centrat) ───────────────────────────── */
/* Mateix patró que help: el panel no scrolla, ho fa `.panel-scroll`
   interior — així el × queda fix sempre. */
#credits-panel {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 29999;
  background: #111110;
  border: 1px solid #333;
  color: #ffffff;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  width: min(720px, 92vw);
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 0 36px rgba(0,0,0,0.85);
  line-height: 1.7;
  flex-direction: column;
}
#credits-panel.open { display: flex; }

#credits-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
  padding: 4px 8px;
  font-family: sans-serif;
  transition: opacity 0.15s;
  z-index: 10;       /* per damunt del .panel-scroll */
}
#credits-close-btn:hover { opacity: 1; }

#credits-panel .settings-title {
  border-bottom: 1px solid #2a2a28;
  padding-bottom: 12px;
  margin-bottom: 22px;
}

/* Scrollbar coherent amb help-panel */
#credits-panel::-webkit-scrollbar { width: 6px; }
#credits-panel::-webkit-scrollbar-track { background: #1a1a19; }
#credits-panel::-webkit-scrollbar-thumb { background: #444; border-radius: 0; }
#credits-panel::-webkit-scrollbar-thumb:hover { background: #666; }

/* .button_right i .button_left substituïts per .slide-nav */
.btn_petit{
  font-size: 10px;
}
.chapter{
  display: table; margin: 0 auto;
}


.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.button_wrap{
  display: block;
  padding:40px;
  display: flex;

}

.but {
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
}
/* .wrapper_spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #332244;
  opacity: 1;
  z-index: 200;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  transition: opacity 600ms linear;
}

.spinner {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

.loadingtext {
  opacity: 0.3;
  text-align: center;
  color: #ffffff;
  margin-top: 20px;
  font-size: 9px;
} */




















/*/////////////////////////////////////*/
/*JAVASCRIPT INSIDE TOUR IN JS ACTIONS*/
/*/////////////////////////////////////*/

/*/ ///////////*/
/*S_IFRAME*/
/*////////////*/

/*
.s_popup_container
                  |
                  .container_placeholder_s_iframe
                  |                              |
                  |                              .spinner_s_iframe
                  |                                             |
                  |                                             .dot1_s_iframe
                  |                                             .dot2_s_iframe
                  |
                  .s_iframe
*/


/*DIV S_POPUP_CONTAINER*/

.s_popup_container {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/*PLACEHOLDER S_IFRAME*/
.container_placeholder_s_iframe {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  align-content: center;
  flex-wrap: wrap;
  height: 100%;
}
.spinner_s_iframe {
  width: 40px;
  height: 40px;
  -webkit-animation: sk-rotate 2s infinite linear;
  animation: sk-rotate 2s infinite linear;
}

.dot1_s_iframe,
.dot2_s_iframe {
  width: 60%;
  height: 60%;
  display: inline-block;
  position: absolute;
  top: 0;
  background-color: #41ffc7;
  border-radius: 100%;

  -webkit-animation: sk-bounce 2s infinite ease-in-out;
  animation: sk-bounce 2s infinite ease-in-out;
}

.dot2_s_iframe {
  top: auto;
  bottom: 0;
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

@-webkit-keyframes sk-rotate {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes sk-rotate {
  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}

@-webkit-keyframes sk-bounce {
  0%,
  100% {
    -webkit-transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
  }
}

@keyframes sk-bounce {
  0%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  50% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}
/*S_IFRAME*/
.s_iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  opacity: 0;
  transition: opacity 1s ease-out;
  left: 0px;
  /*  border-radius: 40px;*/
}

/* ── BREAKPOINT MOBILE (≤ 640px) ──────────────────────────────────
   Ajustaments estructurals que clamp() no pot fer per si sol.
   Pantalles grans i tablets (>640px) NO es veuen afectades. */
@media (max-width: 640px) {
  /* En mòbil les slides ja no tenen el luxe del centrat: comencem dalt
     i deixem que el #home faci scroll si el contingut excedeix. */
  .text_content {
    max-height: none;
  }
  .slide-body {
    overflow: visible;
    justify-content: flex-start;
  }
  .slide-nav {
    padding: 8px 12px 12px;
  }
  /* Imatges: en mòbil el "terra" de 240px és proporcionalment massa gran;
     baixa-ho per a pantalles estretes. */
  .story-img,
  .logo_urko {
    max-height: min(40vh, 320px);
    min-height: 160px;
  }
  /* iboard i iloose: en mòbil deixem el scroll natural del navegador, no el
     del propi contenidor, perquè és més intuïtiu en touch. */
  #iboard.text_content,
  #iloose.text_content {
    height: auto;
    max-height: none;
    overflow-y: visible;
  }
  .wall-board {
    height: 240px;
  }
  /* Reduir mides del padding lateral del wall en mòbil */
  .iboard-body {
    padding: 12px 16px;
  }
}

/* ── Avís per a pantalles < 900 px ────────────────────────────────────
   Overlay full-viewport amb el mateix llenguatge visual que la resta
   del joc (Press Start 2P, fons #1b1a17, accent taronja #ff8c00).
   CSS-only: apareix amb el media query, desapareix quan la viewport
   torna a >= 900 px. */
#mobile-warning {
  display: none;
  position: fixed;
  inset: 0;
  background: #1b1a17;
  z-index: 999999;
  padding: 24px;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Press Start 2P', cursive;
  color: #28cb02;
}
#mobile-warning .mw-card {
  max-width: 360px;
  border: 1px dashed rgba(255, 140, 0, 0.4);
  padding: 28px 22px;
  background: rgba(0, 0, 0, 0.25);
}
#mobile-warning .mw-tag {
  font-size: 9px;
  color: rgba(255, 140, 0, 0.6);
  letter-spacing: 5px;
  margin-bottom: 14px;
}
#mobile-warning .mw-title {
  font-size: 12px;
  letter-spacing: 3px;
  color: #ff8c00;
  line-height: 1.7;
  margin: 0 0 16px;
  font-family: inherit;
}
#mobile-warning .mw-divider {
  width: 50%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 140, 0, 0.5), transparent);
  margin: 0 auto 16px;
}
#mobile-warning .mw-body {
  font-size: 10px;
  line-height: 1.9;
  margin: 0 0 14px;
  color: #d4d4d8;
}
#mobile-warning .mw-tip {
  font-size: 8px;
  line-height: 1.7;
  color: rgba(212, 212, 216, 0.4);
  margin: 0;
  letter-spacing: 1px;
}

/* Activem l'avís en 2 casos:
   - viewport < 900 px (no hi caben els mini-jocs grans),
   - cap dels punters connectats pot fer hover (tablet o mòbil sense
     ratolí). Si l'usuari té un PC amb pantalla tàctil + ratolí, o un
     tablet amb teclat/trackpad/ratolí Bluetooth, `any-hover` retorna
     `hover` (perquè ALGUN dispositiu pot fer hover) i no es bloqueja. */
@media (max-width: 899px), (any-hover: none) {
  #mobile-warning { display: flex; }
}

/* ── Avís de navegador no suportat (Safari / WebKit) ─────────────────
   Reaprofita els estils .mw-* del mobile-warning. Només es mostra si
   l'inline script del <head> ha marcat <html data-unsupported-browser>.
   Posem un padding extra al body perquè els 3 paràgrafs apilats no
   acabin al límit de la card. */
#browser-warning {
  display: none;
  position: fixed;
  inset: 0;
  background: #1b1a17;
  z-index: 999999;
  padding: 24px;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Press Start 2P', cursive;
  color: #28cb02;
}
#browser-warning .mw-card {
  max-width: 460px;
  border: 1px dashed rgba(255, 140, 0, 0.4);
  padding: 28px 22px;
  background: rgba(0, 0, 0, 0.25);
}
#browser-warning .mw-tag {
  font-size: 9px;
  color: rgba(255, 140, 0, 0.6);
  letter-spacing: 5px;
  margin-bottom: 14px;
}
#browser-warning .mw-title {
  font-size: 12px;
  letter-spacing: 3px;
  color: #ff8c00;
  line-height: 1.7;
  margin: 0 0 16px;
  font-family: inherit;
}
#browser-warning .mw-divider {
  width: 50%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 140, 0, 0.5), transparent);
  margin: 0 auto 18px;
}
#browser-warning .mw-body {
  font-size: 9px;
  line-height: 2;
  margin: 0 0 12px;
  color: #d4d4d8;
}
#browser-warning .mw-body:last-child {
  margin-bottom: 0;
}
html[data-unsupported-browser] #browser-warning { display: flex; }

/* ── Recomanació discreta de navegador a la slide i0 ────────────────
   Petit text sota "A GAME BY", informatiu (no bloquejant). El bloqueig
   real només s'activa per Safari via #browser-warning. */
.i0-browsers-tip {
  margin: 18px 0 0;
  font-size: 8px;
  letter-spacing: 2px;
  opacity: 0.35;
  text-align: center;
  color: #d4d4d8;
}

