/* ─── Piel IMGAMER: la web y el foro (docs/v113/DISENO.md §1) ───
   Todo va bajo [data-skin="imgamer"]: si la persona pasa al panel, estas reglas dejan de aplicarse. */

[data-skin="imgamer"] { --header-h: 110px; }
@media (max-width: 980px) { [data-skin="imgamer"] { --header-h: 66px; } }

/* ─── Cabecera: franja lima, fila de marca y fila de menú ─── */
[data-skin="imgamer"] .site-header {
  height: auto; background: var(--header-bg); border-top: 6px solid var(--lime); border-bottom: 1px solid var(--header-line);
  box-shadow: 0 12px 30px -26px rgb(0 0 0 / 0.95);
}
[data-skin="imgamer"] .site-header .wrap { height: auto; }
[data-skin="imgamer"] .header-row { min-height: 60px; display: flex; align-items: center; gap: 18px; }
[data-skin="imgamer"] .brand-mark { width: 36px; height: 36px; }
[data-skin="imgamer"] .brand-name { font-family: var(--font-display); font-weight: 400; font-size: 34px; letter-spacing: 0.03em; line-height: 1; }
[data-skin="imgamer"] .brand-name i { color: var(--lime-text); }
[data-skin="imgamer"] .brand-product { background: var(--lime); color: var(--on-lime); border: 0; font-weight: 800; letter-spacing: 0.06em; }
[data-skin="imgamer"] .search-btn {
  flex: 0 1 420px; min-width: 0; height: 40px; margin-left: 8px; padding: 0 2px; gap: 10px;
  border: 0; border-bottom: 2px solid var(--lime); border-radius: 0; background: transparent; color: var(--text-3);
}
[data-skin="imgamer"] .search-btn svg { width: 18px; height: 18px; color: var(--lime-text); }
[data-skin="imgamer"] .search-btn kbd { background: transparent; }
[data-skin="imgamer"] .header-social { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: var(--lime-text); }
[data-skin="imgamer"] .header-social:hover { background: var(--bg-3); }
[data-skin="imgamer"] .header-social svg { width: 20px; height: 20px; }
[data-skin="imgamer"] .header-tools { gap: 8px; }

/* Píldora blanca del usuario: skin o avatar, nombre y rango */
[data-skin="imgamer"] .user-btn { background: #ffffff; color: #111315; border: 0; border-radius: 999px; padding: 3px 12px 3px 3px; gap: 9px; }
[data-skin="imgamer"] .user-btn:hover { background: #eef3e6; }
[data-skin="imgamer"] .user-btn .avatar { --s: 34px; border-radius: 50%; }
[data-skin="imgamer"] .user-btn-text { display: grid; line-height: 1.1; text-align: left; }
[data-skin="imgamer"] .user-btn-name { font-weight: 700; font-size: var(--fs-s); max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-skin="imgamer"] .user-btn small { font-size: 11px; font-weight: 600; color: #5a6352; }
[data-skin="imgamer"] .user-btn > svg { width: 14px; height: 14px; color: #5a6352; }

/* Fila del menú en Bebas y "EN VIVO" a la derecha */
[data-skin="imgamer"] .header-nav { border-top: 1px solid var(--header-line); }
[data-skin="imgamer"] .header-nav-row { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
[data-skin="imgamer"] .nav { gap: 0; margin-left: -12px; }
[data-skin="imgamer"] .nav a {
  padding: 9px 12px 7px; border-radius: 0; background: none; color: var(--text);
  font-family: var(--font-display); font-weight: 400; font-size: 20px; letter-spacing: 0.05em; text-transform: uppercase;
  border-bottom: 3px solid transparent;
}
[data-skin="imgamer"] .nav a:hover { background: none; color: var(--lime-text); text-decoration: none; }
[data-skin="imgamer"] .nav a[aria-current="page"] { background: none; color: var(--lime-text); border-bottom-color: var(--lime); }
[data-skin="imgamer"] .nav .nav-staff { color: var(--caution); }
[data-skin="imgamer"] .live-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 3px 14px 3px 10px; border: 1px solid var(--chip-line); border-radius: 999px;
  color: var(--text); text-decoration: none; font-family: var(--font-display); font-size: 18px; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap;
}
[data-skin="imgamer"] .live-pill:hover { border-color: var(--lime); text-decoration: none; }
[data-skin="imgamer"] .live-pill svg { width: 20px; height: 20px; color: var(--lime-text); }
[data-skin="imgamer"] .live-pill b { font-weight: 400; color: var(--lime-text); }
[data-skin="imgamer"] .live-pill .live-sub { color: var(--text-3); }
[data-skin="imgamer"] .live-pill.off { color: var(--text-3); }

@media (max-width: 1240px) {
  [data-skin="imgamer"] .nav a { padding-inline: 9px; font-size: 19px; }
  [data-skin="imgamer"] .live-pill .live-sub { display: none; }
}
@media (max-width: 980px) {
  [data-skin="imgamer"] .header-nav { display: none; }
  [data-skin="imgamer"] .header-row { min-height: 60px; gap: 10px; }
  [data-skin="imgamer"] .search-btn { flex: none; width: 40px; margin-left: auto; justify-content: center; border-bottom: 0; }
  [data-skin="imgamer"] .header-social { display: none; }
  [data-skin="imgamer"] .header-tools { margin-left: 0; }
  [data-skin="imgamer"] .user-btn { padding: 3px; }
  [data-skin="imgamer"] .user-btn-text, [data-skin="imgamer"] .user-btn > svg { display: none; }
  [data-skin="imgamer"] .brand-name { font-size: 30px; }
}
@media (max-width: 420px) { [data-skin="imgamer"] .brand-name { font-size: 26px; } }

/* ─── Pie lima ─── */
[data-skin="imgamer"] .site-footer {
  margin-top: 56px; padding-block: 40px calc(34px + env(safe-area-inset-bottom, 0px)); border-top: 0;
  background: var(--lime); color: #13240a;
  --text: #0b1405; --text-2: #13240a; --text-3: #24400c; --line: rgb(0 0 0 / 0.18); --line-2: rgb(0 0 0 / 0.28);
  --bg-2: rgb(0 0 0 / 0.08); --bg-3: rgb(0 0 0 / 0.14); --bg-inset: rgb(0 0 0 / 0.06); --focus: 0 0 0 2px var(--lime), 0 0 0 4px #000;
}
[data-skin="imgamer"] .site-footer .brand { color: #0b1405; }
[data-skin="imgamer"] .site-footer .brand-name i { color: #1f3a06; }
[data-skin="imgamer"] .site-footer .brand-product { background: #0b1405; color: var(--lime); }
[data-skin="imgamer"] .footer-top { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 2px solid var(--lime-line); }
[data-skin="imgamer"] .footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
[data-skin="imgamer"] .footer-links a { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.05em; text-transform: uppercase; color: #000; text-decoration: none; }
[data-skin="imgamer"] .footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
[data-skin="imgamer"] .footer-grid h4 { font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: 0.04em; text-transform: uppercase; color: #000; margin-bottom: 8px; }
[data-skin="imgamer"] .footer-grid a { color: #10200a; font-weight: 600; }
[data-skin="imgamer"] .footer-grid a:hover { color: #000; text-decoration: underline; }
[data-skin="imgamer"] .footer-about p { max-width: 44ch; color: #13240a; }
[data-skin="imgamer"] .footer-about a { color: #000; text-decoration: underline; }
[data-skin="imgamer"] .footer-theme { margin-top: 14px; }
[data-skin="imgamer"] .site-footer .seg { border-color: rgb(0 0 0 / 0.3); background: rgb(0 0 0 / 0.08); }
[data-skin="imgamer"] .site-footer .seg button { color: #13240a; }
[data-skin="imgamer"] .site-footer .seg button[aria-pressed="true"] { background: #0b1405; color: var(--lime); }
[data-skin="imgamer"] .footer-note { justify-content: center; text-align: center; color: #1d3305; border-top: 2px solid var(--lime-line); }
[data-skin="imgamer"] .footer-note a { color: #000; text-decoration: underline; }

/* ─── Paneles: barra lima a la izquierda y título con flecha circular ─── */
[data-skin="imgamer"] .panel { border: 0; border-left: 6px solid var(--lime); border-radius: 10px; background: var(--bg-2); box-shadow: var(--shadow); }
[data-skin="imgamer"] .panel-head { border-bottom: 1px solid var(--line); padding: 14px 18px; }
[data-skin="imgamer"] .panel > .panel-head h2,
[data-skin="imgamer"] .panel > .panel-head h3,
[data-skin="imgamer"] .im-title {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: 0.03em; text-transform: uppercase; line-height: 1;
}
[data-skin="imgamer"] .panel > .panel-head h2::before,
[data-skin="imgamer"] .panel > .panel-head h3::before,
[data-skin="imgamer"] .im-title::before {
  content: ''; flex: none; width: 24px; height: 24px; border-radius: 50%; background-color: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h11M12.5 6.5 18 12l-5.5 5.5'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}
/* Panel lateral: barra arriba en vez de al costado y botón de ancho completo abajo */
[data-skin="imgamer"] .panel.panel-lateral { border-left: 0; border-top: 8px solid var(--lime); overflow: hidden; }
[data-skin="imgamer"] .panel-more { display: block; padding: 12px; background: var(--lime); color: var(--on-lime); text-align: center; font-family: var(--font-display); font-size: 20px; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; }
[data-skin="imgamer"] .panel-more:hover { background: var(--lime-deep); text-decoration: none; }
[data-skin="imgamer"] .section-head h2, [data-skin="imgamer"] .page-head h1 { font-weight: 400; }

/* Botones y chips */
[data-skin="imgamer"] .btn { border-radius: 8px; }
[data-skin="imgamer"] .btn-primary { box-shadow: none; border-color: var(--lime); }
[data-skin="imgamer"] .btn-primary:hover { background: var(--lime-deep); border-color: var(--lime-deep); color: #000; }
[data-skin="imgamer"] .btn-blue { --b-bg: var(--blue); --b-fg: #ffffff; --b-bd: var(--blue); }
[data-skin="imgamer"] .btn-round { width: 46px; height: 46px; min-height: 0; padding: 0; border-radius: 50%; }
[data-skin="imgamer"] .chips .chip, [data-skin="imgamer"] .im-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--chip-line);
  background: transparent; color: var(--text); font-weight: 600; font-size: var(--fs-s); text-decoration: none;
}
[data-skin="imgamer"] .chips .chip[aria-pressed="true"], [data-skin="imgamer"] .chips .chip.on,
[data-skin="imgamer"] .im-chip[aria-pressed="true"], [data-skin="imgamer"] .im-chip.on { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
[data-skin="imgamer"] .arrow-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--lime); background: transparent; color: var(--lime-text); }
[data-skin="imgamer"] .arrow-btn:hover { background: var(--lime); color: #000; }

/* ─── Componentes propios de la web ─── */

/* Portada: columna única de paneles con un respiro uniforme */
.im-home { display: grid; gap: 22px; padding-top: 22px; }
.im-home > * { min-width: 0; }
.im-cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.im-col { display: grid; gap: 22px; min-width: 0; }
.im-col .market-teaser { margin: 0; }
@media (max-width: 1000px) { .im-cols { grid-template-columns: minmax(0, 1fr); } }
.im-link { color: var(--lime-text); font-weight: 700; font-size: var(--fs-s); white-space: nowrap; }
.im-note { color: var(--text-2); font-size: var(--fs-s); }
.im-meta { display: block; color: var(--lime-text); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.im-head-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.im-home .panel-head { flex-wrap: wrap; row-gap: 10px; }
.im-home .panel-head > .im-link { margin-left: auto; }
.arrow-btn svg { width: 16px; height: 16px; }
.arrow-btn.prev svg { transform: rotate(180deg); }
.im-state { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--chip-line); font-family: var(--font-display); font-size: 17px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); }
.im-state.on { background: var(--lime); border-color: var(--lime); color: #000; }

/* Hero / slider: imagen oscurecida, título enorme, bajada espaciada, botón lima con flecha y puntos cuadrados */
.im-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1fr); gap: 18px; }
/* Las diapositivas comparten la misma celda: el alto es el de la más alta y nunca se corta el texto */
.im-hero-main { position: relative; display: grid; border-radius: 10px; overflow: hidden; background: #0b0c0d; color: #fff; isolation: isolate; }
.im-slide {
  grid-area: 1 / 1; position: relative; z-index: 0; isolation: isolate; min-height: clamp(360px, 40vw, 480px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: clamp(22px, 4vw, 44px) clamp(22px, 4vw, 44px) 76px;
  background: radial-gradient(ellipse 55% 75% at 80% 45%, color-mix(in oklab, var(--fam, var(--lime)) 16%, transparent), transparent 70%), #0b0c0d;
  opacity: 0; visibility: hidden; transition: opacity 600ms var(--ease), visibility 0s linear 600ms;
}
.im-slide.on { opacity: 1; visibility: visible; transition: opacity 600ms var(--ease); }
/* El dibujo del modo, a la derecha y fundido (la imagen trae su propio título a la izquierda, que queda afuera) */
.im-slide-art {
  /* el ancho sale del alto: siempre se ve la misma parte de la imagen, sea cual sea el ancho de la pantalla */
  position: absolute; z-index: -2; top: -9%; right: -5%; height: 126%; width: auto; max-width: 80%; aspect-ratio: 1.2;
  object-fit: cover; object-position: 100% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 52%); mask-image: linear-gradient(90deg, transparent 22%, #000 52%);
}
.im-slide::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(11 12 13 / 0.9), transparent 38%); pointer-events: none; }
@media (max-width: 700px) {
  /* En el celular el texto ocupa casi todo: el dibujo va arriba a la derecha, más tenue */
  .im-slide-art {
    top: 0; right: -6%; width: 86%; max-width: none; height: 56%; aspect-ratio: auto; object-position: 100% 45%; opacity: 0.5;
    -webkit-mask-image: radial-gradient(ellipse 58% 62% at 66% 48%, #000 30%, transparent 74%); mask-image: radial-gradient(ellipse 58% 62% at 66% 48%, #000 30%, transparent 74%);
  }
}
.im-hero-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.6em; text-transform: uppercase; color: var(--lime-text); }
.im-hero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(52px, 8vw, 100px); line-height: 0.88; letter-spacing: 0.01em; text-transform: uppercase; max-width: 12ch; color: #fff; }
.im-hero-lead { max-width: 52ch; color: #dcdfd9; font-size: var(--fs-l); }
.im-hero-lead:empty { display: none; }
.im-hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.im-hero-go { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: #000; box-shadow: 0 0 0 6px rgb(138 201 38 / 0.22); }
.im-hero-go svg { width: 24px; height: 24px; }
.im-hero-go:hover { background: var(--lime-deep); text-decoration: none; }
.im-hero-live { display: inline-flex; align-items: center; gap: 8px; color: #dcdfd9; font-size: var(--fs-s); }
.im-hero-live b { color: #fff; }
.im-hero-nav { position: absolute; z-index: 2; left: clamp(22px, 4vw, 44px); right: clamp(22px, 4vw, 44px); bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.im-dots { display: flex; gap: 8px; }
.im-dots button { width: 14px; height: 14px; border: 0; padding: 0; background: rgb(255 255 255 / 0.35); cursor: pointer; }
.im-dots button:hover { background: rgb(255 255 255 / 0.6); }
.im-dots button[aria-current="true"] { background: var(--lime); }
.im-hero-pause { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgb(255 255 255 / 0.45); background: rgb(0 0 0 / 0.35); color: #fff; cursor: pointer; }
.im-hero-pause:hover { border-color: var(--lime); color: var(--lime-text); }
.im-hero-pause svg { width: 14px; height: 14px; }
.im-trends { border-radius: 10px; background: var(--bg-2); border-top: 8px solid var(--lime); padding: 16px 16px 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; box-shadow: var(--shadow); }
.im-trends h2 { font-family: var(--font-display); font-weight: 400; font-size: 28px; letter-spacing: 0.04em; text-transform: uppercase; }
.im-trends .panel-more { margin: auto -16px 0; }
.im-trend { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 8px; background: var(--bg-inset); color: var(--text); text-decoration: none; }
.im-trend:hover { background: var(--bg-3); text-decoration: none; }
.im-trend img, .im-trend .im-trend-ic { width: 76px; height: 56px; border-radius: 6px; object-fit: cover; background: var(--bg-3); display: grid; place-items: center; color: var(--lime-text); }
.im-trend .im-trend-ic svg { width: 24px; height: 24px; }
.im-trend strong { display: block; font-size: var(--fs-s); line-height: 1.3; }
.im-trend small { color: var(--lime-text); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 900px) {
  .im-hero { grid-template-columns: minmax(0, 1fr); }
  .im-slide { min-height: 400px; }
}
@media (max-width: 700px) { .im-slide { min-height: 460px; } }

/* Barra del servidor */
.im-server { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; padding: 14px 18px; border-radius: 10px; border-left: 6px solid var(--lime); background: var(--bg-2); box-shadow: var(--shadow); }
.im-server-state { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 300px; }
.im-server-state > span:last-child { display: grid; min-width: 0; }
.im-server-state b { font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.im-server-state small { color: var(--text-3); font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.im-server-fig { display: grid; line-height: 1.05; }
.im-server-fig b { font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: 0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.im-server-fig b i { font-style: normal; font-size: 0.6em; color: var(--text-3); }
.im-server-fig b.im-fig-text { font-size: 22px; max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.im-server-fig small { color: var(--text-3); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.im-server-ip { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.im-server-ip code { padding: 7px 10px; border-radius: 6px; background: var(--bg-inset); color: var(--lime-text); font-size: var(--fs-s); }
@media (max-width: 760px) {
  .im-server { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .im-server-state, .im-server-ip { grid-column: 1 / -1; max-width: none; }
  .im-server-ip { margin-left: 0; }
  .im-server-ip code { flex: 1 1 100%; text-align: center; }
  .im-server-ip .btn { flex: 1 1 0; justify-content: center; }
  .im-server-fig b { font-size: 26px; }
  .im-server-fig b.im-fig-text { font-size: 19px; }
}

/* v1.1.4 (P1, D35): curva de las últimas 24 h, en una franja a lo ancho al pie de la barra del servidor */
.im-server-pulse { order: 1; flex: 1 1 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.im-server-pulse small { color: var(--text-3); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.spark-area { display: block; width: 100%; height: 34px; overflow: visible; }
.spark-area .area { fill: color-mix(in oklab, var(--lime) 20%, transparent); }
.spark-area .stroke { fill: none; stroke: var(--lime); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
@media (max-width: 760px) {
  .im-server-pulse { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* v1.1.4 (P1, D35): «Así se juega en ChiqGames» */
.im-pitch-lead { max-width: 72ch; margin-bottom: 16px; color: var(--text-2); font-size: var(--fs-l); }
.im-pitch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .im-pitch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .im-pitch-grid { grid-template-columns: minmax(0, 1fr); } }
.im-pitch-tile { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 18px 16px 16px; border-radius: 8px; border-top: 3px solid var(--lime); background: var(--bg-inset); }
.im-pitch-ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--lime); color: #000; box-shadow: 0 0 0 5px rgb(138 201 38 / 0.18); }
.im-pitch-ic svg { width: 20px; height: 20px; }
.im-pitch-tile h3 { font-family: var(--font-display); font-weight: 400; font-size: 25px; line-height: 1; letter-spacing: 0.03em; text-transform: uppercase; }
.im-pitch-tile > p { color: var(--text-2); font-size: var(--fs-s); }
.im-pitch-foot { display: grid; gap: 6px; margin-top: auto; padding-top: 4px; }
.im-pitch-fact { color: var(--lime-text); font-size: var(--fs-s); font-weight: 700; }
.im-pitch-foot .im-link { justify-self: start; white-space: normal; }
@media (max-width: 600px) {
  /* En el celular el ícono va al lado del título para que las cuatro tarjetas no ocupen tanto */
  .im-pitch-tile { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 8px 12px; }
  .im-pitch-tile > p, .im-pitch-foot { grid-column: 1 / -1; }
  .im-pitch-tile h3 { font-size: 23px; }
}

/* v1.1.4 (P1, D35): saltito de los números que cambian en vivo */
@keyframes im-bump { 0% { transform: scale(1); } 35% { transform: scale(1.22); } 100% { transform: scale(1); } }
.bump { animation: im-bump 700ms var(--ease); }
@media (prefers-reduced-motion: reduce) { .bump { animation: none; } }

/* Tarjeta con insignia de puntaje (los modos) en un carrusel que se desliza */
.im-home .chips { margin-bottom: 14px; }
.score-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 16px; }
.score-cards.im-carousel {
  grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin;
}
.score-cards.im-carousel > * { scroll-snap-align: start; min-width: 0; }
.score-cards.im-carousel > [hidden] { display: none; }
@media (min-width: 1100px) { .score-cards.im-carousel { grid-auto-columns: calc((100% - 4 * 16px) / 5); } }
@media (max-width: 600px) { .score-cards.im-carousel { grid-auto-columns: 72%; } }
.score-card { display: grid; gap: 8px; color: var(--text); text-decoration: none; min-width: 0; }
.score-card:hover { text-decoration: none; }
.score-card:hover .score-card-title { color: var(--lime-text); }
.score-card-img { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--bg-3); }
.score-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease); }
.score-card:hover .score-card-img img { transform: scale(1.04); }
.score-badge { position: absolute; right: 8px; bottom: 8px; min-width: 40px; height: 40px; padding: 0 6px; display: grid; place-items: center; background: var(--lime); color: #000; font-family: var(--font-display); font-size: 24px; line-height: 1; border-radius: 4px; }
.score-card-title { font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.2; transition: color 120ms; }
.score-card-meta { color: var(--text-3); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

/* Evento en curso: tarjeta grande con la imagen del modo y el parche */
.im-event {
  position: relative; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center;
  min-height: 230px; margin: 14px; padding: clamp(18px, 3vw, 28px); border-radius: 8px; overflow: hidden; color: #fff;
  background: radial-gradient(ellipse 50% 80% at 85% 50%, color-mix(in oklab, var(--fam, var(--lime)) 14%, transparent), transparent 70%), #0e1011;
}
.im-event::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(14 16 17 / 0.92) 30%, rgb(14 16 17 / 0.35)); pointer-events: none; }
.im-event > .im-event-patch, .im-event > .im-event-body { position: relative; }
.im-event-body { display: grid; gap: 8px; justify-items: start; }
.im-event-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.5em; text-transform: uppercase; color: var(--lime-text); }
.im-event h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 0.95; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; }
.im-event p { color: #dcdfd9; max-width: 56ch; }
.im-event .im-event-last { color: #a0a0a0; font-size: var(--fs-s); }
.im-event-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: #dcdfd9; }
.im-event-facts li { display: flex; align-items: center; gap: 8px; }
.im-event-facts svg { width: 16px; height: 16px; color: var(--lime-text); flex: none; }
.im-event-facts b { color: #fff; }
.im-event-ic { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; border: 3px dashed rgb(255 255 255 / 0.25); color: #a0a0a0; }
.im-event-ic svg { width: 30px; height: 30px; }
@media (max-width: 520px) {
  .im-event { grid-template-columns: minmax(0, 1fr); margin: 10px; }
  .im-event .event-patch.xl { --bsz: 64px; }
}

/* Fila de lista: la primera con degradé y barra lima */
.hot-list { display: grid; gap: 6px; }
.hot-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; border-left: 4px solid transparent; }
.hot-row:hover { background: var(--bg-inset); text-decoration: none; }
.hot-row.on, .hot-list > .hot-row:first-child { background: linear-gradient(90deg, var(--row-hot-a), var(--row-hot-b)); border-left-color: var(--lime); }
.hot-row strong { display: block; font-weight: 600; line-height: 1.3; }
.hot-row p { color: var(--text-2); font-size: var(--fs-s); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hot-thumb { width: 84px; height: 60px; border-radius: 6px; overflow: hidden; display: grid; place-items: center; background: var(--bg-3); color: var(--lime-text); }
.hot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hot-thumb svg { width: 24px; height: 24px; }
.hot-list > .hot-row:first-child .im-meta { color: var(--text); }
@media (max-width: 520px) { .hot-thumb { width: 60px; height: 48px; } }

/* Tarjeta de liga o evento con botón de estado */
.league-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.league-card { display: grid; grid-template-rows: 1fr auto; border-radius: 10px; overflow: hidden; background: var(--bg-inset); border-top: 6px solid var(--lime); }
.league-card-body { padding: 14px; display: grid; gap: 8px; align-content: start; }
.league-card-top { display: flex; align-items: center; gap: 12px; }
.league-card h3 { font-size: var(--fs-m); font-weight: 700; line-height: 1.25; }
.league-card p { color: var(--text-2); font-size: var(--fs-s); }
.league-card-date { color: var(--lime-text); font-weight: 700; font-size: var(--fs-s); text-transform: capitalize; }
.league-card-prize { display: flex; align-items: center; gap: 6px; }
.league-card-prize svg { width: 15px; height: 15px; color: var(--lime-text); flex: none; }
.league-card-cta { display: block; padding: 11px; text-align: center; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: var(--fs-s); text-decoration: none; background: var(--lime); color: #000; }
.league-card-cta:hover { background: var(--lime-deep); text-decoration: none; }
.league-card-cta.blue { background: var(--blue); color: #fff; }

/* Sorteo de la semana: cuenta regresiva, podio, premios y destacado */
.im-raffle { display: grid; gap: 16px; }
.podium-im { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 10px; padding-top: 6px; }
.podium-step { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; min-width: 0; }
.podium-who { display: grid; justify-items: center; gap: 6px; max-width: 100%; color: var(--text); text-decoration: none; }
.podium-who:hover .podium-name { color: var(--lime-text); }
.podium-step .avatar { --s: 60px; border-radius: 50%; box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 5px var(--line-2); }
.podium-step.p1 .avatar { --s: 78px; box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 6px var(--lime); }
.podium-crown { color: var(--lime-text); margin-bottom: -4px; }
.podium-crown svg { width: 26px; height: 26px; }
.podium-empty { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 2px dashed var(--line-2); color: var(--text-3); font-family: var(--font-display); font-size: 28px; }
.podium-step.p1 .podium-empty { width: 78px; height: 78px; }
.podium-step .podium-name { font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium-step .podium-time { color: var(--text-3); font-size: var(--fs-xs); }
.podium-block { width: 100%; display: grid; place-items: center; margin-top: 4px; border-radius: 8px 8px 0 0; background: var(--bg-3); font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--text-2); }
.podium-step.p1 .podium-block { height: 110px; background: linear-gradient(180deg, var(--lime), var(--lime-deep)); color: #000; }
.podium-step.p2 .podium-block { height: 80px; }
.podium-step.p3 .podium-block { height: 58px; }
.podium-step.p1 { order: 2; } .podium-step.p2 { order: 1; } .podium-step.p3 { order: 3; }
.countdown { display: flex; gap: 10px; flex-wrap: wrap; }
.countdown span { display: grid; justify-items: center; min-width: 62px; padding: 8px 6px; border-radius: 8px; background: var(--bg-inset); }
.countdown b { font-family: var(--font-display); font-weight: 400; font-size: 38px; line-height: 1; color: var(--lime-text); font-variant-numeric: tabular-nums; }
.countdown small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.im-raffle .countdown span { flex: 1 1 0; }
.im-prizes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.im-prizes li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-items: baseline; font-size: var(--fs-s); color: var(--text-2); }
.im-prizes b { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1; color: var(--lime-text); }
.im-featured { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; border-left: 4px solid var(--lime); background: linear-gradient(90deg, var(--row-hot-a), var(--row-hot-b)); color: var(--text); text-decoration: none; }
.im-featured:hover { text-decoration: none; filter: brightness(1.08); }
.im-featured-text { display: grid; min-width: 0; line-height: 1.25; }
.im-featured-text small { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.im-featured-text strong { font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: 0.03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.im-featured-text span { font-size: var(--fs-xs); }
.im-featured .avatar { --s: 46px; border-radius: 50%; }

/* Páginas internas con la misma grilla de la portada */
.im-page .im-cols { margin-top: 4px; }
.im-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.5em; text-transform: uppercase; color: var(--lime-text); margin-bottom: 6px; }
.countdown.big span { padding: 12px 6px; }
.countdown.big b { font-size: clamp(34px, 6vw, 58px); }
.im-raffle .countdown { flex-wrap: nowrap; }
.im-raffle .countdown span { min-width: 0; }
.im-mine { padding: 10px 14px; border-radius: 8px; border-left: 4px solid var(--lime); background: var(--bg-inset); font-size: var(--fs-s); }
.im-mine b { color: var(--lime-text); }

/* Lista de puestos: número en Bebas, jugador, tiempo y premio */
.im-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.im-rank-row { display: grid; grid-template-columns: 34px auto minmax(0, 1fr) auto; grid-template-areas: 'pos av name time' 'pos av prize prize'; column-gap: 10px; align-items: center; padding: 8px 12px; border-radius: 8px; background: var(--bg-inset); }
.im-rank-pos { grid-area: pos; font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--lime-text); text-align: center; }
.im-rank-row > .avatar { grid-area: av; --s: 32px; border-radius: 50%; }
.im-rank-name { grid-area: name; font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.im-rank-name:hover { color: var(--lime-text); }
.im-rank-time { grid-area: time; color: var(--text-2); font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.im-rank-prize { grid-area: prize; color: var(--text-3); font-size: var(--fs-xs); }

/* Destacado de la semana */
.im-feat { display: grid; justify-items: center; gap: 10px; text-align: center; }
.im-feat-who { position: relative; display: grid; place-items: center; padding: 6px; }
.im-feat-who .avatar { border-radius: 50%; box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 6px var(--lime); }
.im-feat-who .badge-featured { position: absolute; right: -26px; bottom: -8px; --bsz: 54px; }
.im-feat-name { font-family: var(--font-display); font-size: 34px; letter-spacing: 0.03em; color: var(--text); line-height: 1; }
.im-feat-name:hover { color: var(--lime-text); text-decoration: none; }

/* Historial de semanas */
.im-history { list-style: none; margin: 0; padding: 0; }
.im-history li { display: grid; gap: 4px; padding: 10px 18px; }
.im-history li + li { border-top: 1px solid var(--line); }
.im-history-week { font-weight: 700; font-size: var(--fs-s); }
.im-history-podium { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--fs-s); color: var(--text-2); }
.im-history-podium b { font-family: var(--font-display); font-weight: 400; font-size: 18px; color: var(--lime-text); }

/* Temas del foro y staff (paneles laterales) */
.im-threads, .im-people { list-style: none; margin: 0; padding: 0; }
.im-threads li + li { border-top: 1px solid var(--line); }
.im-threads a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 11px 18px; color: var(--text); text-decoration: none; }
.im-threads a:hover { background: var(--bg-inset); text-decoration: none; }
.im-threads a:hover strong { color: var(--lime-text); }
.im-threads strong { display: block; font-weight: 600; font-size: var(--fs-s); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.im-threads small { display: block; color: var(--text-3); font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.im-threads .avatar { --s: 30px; border-radius: 50%; }
.im-people { display: grid; gap: 10px; }
.im-people li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.im-people small { margin-left: auto; color: var(--text-3); font-size: var(--fs-xs); }

/* Pasos para entrar y números de la comunidad dentro de la piel */
.im-home .step { background: var(--bg-inset); border: 0; }
.im-home .step::before { color: var(--lime-text); font-weight: 400; }
.im-home .community-strip { border: 0; border-left: 6px solid var(--lime); border-radius: 10px; }
.im-home .community-strip b { font-weight: 400; color: var(--lime-text); }
