/* ==========================================================================
   Asnos Salvajes — estilos del tema
   Misma base que Fuerte Apache (hormigón, papel y hormigón oscuro); cambia el acento:
   rojo #E01B22 sobre negro, cabecera y portada oscuras, y tajos rojos en las esquinas.
   Títulos en Barlow Semi Condensed, interfaz en Barlow Condensed, texto en Manrope
   y frases a rotulador en Covered By Your Grace.
   ========================================================================== */

@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-variable.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Covered By Your Grace"; src: url("../fonts/covered-by-your-grace.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
    /* Acento de marca. --asv-red rellena; --asv-red-bright es el que se lee sobre negro */
    --asv-red: #E01B22;
    --asv-red-deep: #B00F16;
    --asv-red-bright: #E01B22;   /* mismo rojo que el de marca: un unico rojo en toda la web */
    --asv-on-red: #FFFFFF;
    --asv-black: #151514;
    --asv-ink: #262522;
    --asv-cream: #F1EDE6;
    --asv-paper: #E7E2D8;
    --asv-card: #E4DFD4;
    --asv-line: #D8D1C3;
    --asv-grey: #55524C;
    --asv-muted: #7C776D;
    --asv-alert: #A8121A;
    --asv-dark: #181817;

    --asv-block: "Barlow Semi Condensed", "Arial Narrow", Impact, sans-serif;
    --asv-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
    --asv-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --asv-hand: "Covered By Your Grace", "Comic Sans MS", cursive;

    --asv-radius: 3px;
    --asv-width: 1500px;
    --asv-gutter: clamp(18px, 4vw, 40px);
    --asv-header-h: 88px;
    --asv-edge: max(var(--asv-gutter), (100vw - var(--asv-width)) / 2);
    --asv-concrete: url("../img/hormigon-claro.webp");
    --asv-concrete-dark: url("../img/hormigon-oscuro.webp");
    --asv-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
    --asv-mask-left: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20preserveAspectRatio='none'%3E%3Cpath%20d='M100,0%20L13.7,0.0%20L15.2,2.9%20L14.2,5.6%20L11.2,9.0%20L10.7,12.7%20L10.4,16.3%20L12.0,19.1%20L9.8,23.6%20L12.2,26.7%20L11.4,31.5%20L13.1,35.0%20L12.2,37.7%20L7.9,40.9%20L8.5,43.7%20L7.2,48.2%20L9.2,52.2%20L8.3,55.6%20L5.4,58.3%20L8.3,61.3%20L5.9,64.8%20L6.2,68.8%20L7.7,72.1%20L4.2,76.3%20L5.3,80.2%20L5.8,84.9%20L6.7,88.1%20L3.3,90.9%20L1.4,95.3%20L0.3,99.1%20L2.7,100.0%20L100,100Z'/%3E%3C/svg%3E");
    --asv-mask-right: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0.0,0.0%20L86.3,0.0%20L84.8,2.9%20L85.8,5.6%20L88.8,9.0%20L89.3,12.7%20L89.6,16.3%20L88.0,19.1%20L90.2,23.6%20L87.8,26.7%20L88.6,31.5%20L86.9,35.0%20L87.8,37.7%20L92.1,40.9%20L91.5,43.7%20L92.8,48.2%20L90.8,52.2%20L91.7,55.6%20L94.6,58.3%20L91.7,61.3%20L94.1,64.8%20L93.8,68.8%20L92.3,72.1%20L95.8,76.3%20L94.7,80.2%20L94.2,84.9%20L93.3,88.1%20L96.7,90.9%20L98.6,95.3%20L99.7,99.1%20L97.3,100.0%20L0.0,100.0Z'/%3E%3C/svg%3E");
}

/* Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--asv-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
    margin: 0; color: var(--asv-grey); background: var(--asv-cream) var(--asv-grain);
    font: 400 1rem/1.6 var(--asv-body);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* Menú abierto: sin scroll de fondo y con el hueco de la barra de scroll reservado (no salta nada) */
html.asv-nav-open { overflow: hidden; overscroll-behavior: none; }
html.asv-nav-open body { padding-right: var(--asv-scrollbar, 0px); }
html.asv-nav-open .asv-drawer__panel { right: 0; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--asv-black); font-family: var(--asv-display); font-weight: 800; line-height: .95; text-transform: uppercase; letter-spacing: 0; }
strong { color: var(--asv-black); font-weight: 700; }
del { opacity: .55; font-weight: 400; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--asv-black); outline-offset: 3px; }
[hidden] { display: none !important; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.asv-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--asv-red); color: #fff; }
.asv-skip:focus { top: 12px; }

.asv-container { width: 100%; max-width: calc(var(--asv-width) + var(--asv-gutter) * 2); margin-inline: auto; padding-inline: var(--asv-gutter); }
.asv-container--mid { max-width: calc(860px + var(--asv-gutter) * 2); }
.asv-center { text-align: center; }
.asv-icon { flex: none; }

.asv-section { padding-block: clamp(56px, 8vw, 96px); }
.asv-section--flush-top { padding-top: 0; }
.asv-section--paper { background: var(--asv-paper) var(--asv-grain); }
.asv-section + .asv-section:not(.asv-section--paper):not(.asv-section--flush-top) { border-top: 1px solid var(--asv-line); }

/* Tipografía
   ========================================================================== */

/* Antetítulo sobre brochazo rojo (PNG). El trazo va en un ::before para poder
   teñirlo de negro donde el fondo ya es rojo, sin tocar el color del texto. */
.asv-eyebrow {
    position: relative; isolation: isolate; display: inline-block; margin: 0 0 18px -4px;
    padding: 11px 28px 12px 26px; transform: rotate(-6.5deg); color: #fff;
    font: 800 1.1rem/1 var(--asv-display); letter-spacing: .05em; text-transform: uppercase;
}
.asv-eyebrow::before {
    content: ""; position: absolute; z-index: -1; inset: -7px -12px -9px -14px;
    background: url("../img/brocha-roja.webp") center / 100% 100% no-repeat;
}
.asv-eyebrow--wide { letter-spacing: .06em; }
.asv-eyebrow--sm { padding: 10px 24px 11px 22px; font-size: .92rem; letter-spacing: .1em; }
/* Antetítulo de línea fina con guion delante, para las franjas a sangre */
.asv-heading--rule .asv-eyebrow {
    display: inline-flex; align-items: center; gap: 14px; margin: 0 0 20px; padding: 0;
    background: none; transform: none; color: #fff;
    font: 700 clamp(.72rem, .86vw, .82rem)/1 var(--asv-body); letter-spacing: .28em;
}
.asv-heading--rule .asv-eyebrow::before { content: ""; width: 26px; height: 3px; background: currentColor; }
.asv-heading .asv-eyebrow + .asv-title { margin-top: 2px; }
.asv-title { font-size: clamp(2.3rem, 4.4vw, 3.4rem); overflow-wrap: break-word; }
.asv-heading { margin-bottom: 26px; }
.asv-heading .asv-lead { margin: 20px 0 0; }
.asv-heading .asv-lead + .asv-lead { margin-top: 12px; }
.asv-lead { max-width: 46ch; color: var(--asv-ink); font-size: clamp(.98rem, 1.2vw, 1.06rem); line-height: 1.6; }
.asv-mark { color: var(--asv-red); }
.asv-band--dark .asv-mark, .asv-hero .asv-mark, .asv-pagehead .asv-mark, .asv-ctaband .asv-mark, .asv-404 .asv-mark { color: var(--asv-red-bright); }
.asv-band--red .asv-mark, .asv-detail__head .asv-mark { color: var(--asv-black); }

.asv-title--big { font: 900 clamp(3rem, 6.6vw, 5.6rem)/.88 var(--asv-block); letter-spacing: -.005em; }

/* Frase a rotulador con doble trazo rojo */
.asv-scribble {
    position: absolute; z-index: 2; margin: 0; color: var(--asv-black); text-align: center; pointer-events: none;
    font: 400 clamp(1.6rem, 2.6vw, 2.5rem)/.92 var(--asv-hand); text-transform: uppercase; transform: rotate(-12deg);
}
.asv-scribble small { display: block; margin-top: 6px; font-size: .5em; }
.asv-scribble__stroke { width: 3.6em; height: auto; margin: 2px 0 0 auto; color: var(--asv-red); }
.asv-scribble--tr { top: 8%; right: 7%; }
.asv-scribble--hero { z-index: 5; top: 34%; right: 3%; }
.asv-scribble--cta { position: absolute; right: var(--asv-gutter); top: 50%; translate: 0 -50%; font-size: clamp(1.3rem, 2vw, 1.9rem); }
.asv-scribble--cta .asv-scribble__stroke { color: var(--asv-black); opacity: .8; }
.asv-pagehead .asv-scribble, .asv-hero .asv-scribble { color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }

/* Bordes rasgados */
.asv-torn-left { -webkit-mask: var(--asv-mask-left) 0 0 / 100% 100% no-repeat; mask: var(--asv-mask-left) 0 0 / 100% 100% no-repeat; }

/* Tajos de brocha roja en las esquinas: la marca grafica de Asnos Salvajes */
.asv-slashes { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.asv-slash { position: absolute; display: block; width: min(34%, 500px); aspect-ratio: 1; background-repeat: no-repeat; background-size: contain; }
.asv-slash--a { left: 0; top: 0; background-image: url("../img/tajo-sup-izq.webp"); background-position: left top; }
.asv-slash--c { right: 0; bottom: 0; background-image: url("../img/tajo-inf-der.webp"); background-position: right bottom; }
/* El mismo tajo, espejado, para la esquina inferior izquierda */
.asv-slash--bl { left: 0; bottom: 0; background-image: url("../img/tajo-inf-der.webp"); background-position: right bottom; transform: scaleX(-1); }
.asv-slashes--soft .asv-slash { width: min(26%, 360px); opacity: .9; }
/* En las cabeceras interiores el tajo va detras del titulo, no encima */
.asv-pagehead .asv-slashes { z-index: -1; }
@media (max-width: 860px) { .asv-slash { width: min(48%, 300px); } }
.asv-torn-right { -webkit-mask: var(--asv-mask-right) 0 0 / 100% 100% no-repeat; mask: var(--asv-mask-right) 0 0 / 100% 100% no-repeat; }

/* Botones
   ========================================================================== */

.asv-btn, .asv-login {
    --asv-fill: var(--asv-black); --asv-ink-btn: #fff; --asv-border: var(--asv-black);
    display: inline-flex; align-items: center; justify-content: center; gap: 14px;
    min-height: 50px; padding: 12px 26px; border: 2px solid var(--asv-border); border-radius: var(--asv-radius);
    background: var(--asv-fill); color: var(--asv-ink-btn); white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    font: 700 1.05rem/1 var(--asv-display); letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
    cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.asv-btn:hover { --asv-fill: #2B2A27; --asv-border: #2B2A27; color: var(--asv-ink-btn); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .2); }
.asv-btn .asv-icon { transition: transform .2s; }
.asv-btn:hover .asv-icon:last-child { transform: translateX(3px); }
.asv-btn:focus-visible { outline: 3px solid var(--asv-red); outline-offset: 2px; }
.asv-btn--sm, .asv-login { min-height: 46px; padding: 11px 22px; font-size: 1.05rem; gap: 10px; }
.asv-btn--red { --asv-fill: var(--asv-red); --asv-ink-btn: var(--asv-on-red); --asv-border: var(--asv-red); }
.asv-btn--red:hover { --asv-fill: #F22A31; --asv-border: #F22A31; }
.asv-btn--line { --asv-fill: transparent; --asv-ink-btn: #fff; --asv-border: rgba(255, 255, 255, .75); box-shadow: none; }
.asv-btn--line:hover { --asv-fill: #fff; --asv-border: #fff; --asv-ink-btn: var(--asv-black); }
.asv-btn--outline { --asv-fill: transparent; --asv-ink-btn: #fff; --asv-border: var(--asv-red); box-shadow: none; }
.asv-btn--outline:hover { --asv-fill: var(--asv-red); --asv-border: var(--asv-red); --asv-ink-btn: #fff; }
.asv-btn:disabled, .asv-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.asv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 34px; }
.asv-actions--center { justify-content: center; }
.asv-linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* Cabecera y menú lateral
   ========================================================================== */

/* Cabecera glass: cristal ahumado sobre la foto; al bajar se cierra a casi negro */
.asv-header { position: sticky; top: 0; z-index: 100; background: #000; transition: box-shadow .2s; }
/* El tajo rojo entra desde arriba y se come la esquina de la barra negra */
.asv-headslash { position: absolute; left: 0; top: 0; z-index: 0; mix-blend-mode: normal; width: min(26vw, 340px); aspect-ratio: 1; background: url("../img/tajo-sup-izq.webp") left top / contain no-repeat; pointer-events: none; transition: opacity .25s; }
.asv-header.is-scrolled .asv-headslash { opacity: 0; }
@media (max-width: 860px) { .asv-headslash { width: min(46vw, 260px); } }
.admin-bar .asv-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .asv-header { top: 0; } }
.asv-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.asv-header__inner { position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); min-height: var(--asv-header-h); }

.asv-brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 14px; flex: 0 1 auto; min-width: 0; text-decoration: none; }
.asv-brand__word { min-width: 0; }
.asv-brand__word > span, .asv-brand__word small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* El escudo sobresale un poco de la barra negra, como una chapa cosida */
.asv-brand__img { width: clamp(80px, 8.4vw, 116px); height: auto; margin-block: 0 -30px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); transition: transform .3s; }
.asv-brand:hover .asv-brand__img { transform: rotate(-4deg) scale(1.04); }
.asv-brand__word { display: flex; flex-direction: column; font-family: var(--asv-display); text-transform: uppercase; line-height: .82; color: #fff; }
.asv-brand__word > span { font-weight: 900; font-size: clamp(1.2rem, 1.9vw, 1.8rem); letter-spacing: .005em; }
.asv-brand__word small { margin-top: 6px; font: 700 clamp(.64rem, .82vw, .8rem)/1 var(--asv-body); letter-spacing: .18em; }
.asv-brand__word .asv-mark { color: inherit; }

.asv-nav { margin-inline: auto; }
.asv-nav__list { display: flex; gap: 4px clamp(16px, 2.4vw, 38px); margin: 0; padding: 0; list-style: none; }
.asv-nav__list a {
    position: relative; display: block; padding: 12px 0; color: #fff; text-decoration: none;
    font: 700 1.12rem/1 var(--asv-display); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.asv-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; background: var(--asv-red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.asv-nav__list a:hover::after, .asv-nav__list .current-menu-item > a::after { transform: scaleX(1); }

.asv-header__actions { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); flex: none; margin-left: auto; }
.asv-nav + .asv-header__actions { margin-left: 0; }
.asv-cta__short { display: none; }
/* Burger propio: tres trazos desiguales, el del medio en rojo y mas corto.
   Al abrir se cruzan en aspa y el rojo desaparece. */
.asv-burger {
    position: relative; display: grid; align-content: center; justify-items: end; gap: 6px;
    width: 46px; height: 46px; padding: 0 3px; background: none; border: 0; cursor: pointer;
}
.asv-burger span[class^="asv-burger__"] { display: none; }
.asv-burger::before, .asv-burger::after, .asv-burger em {
    content: ""; display: block; height: 3px; background: #fff; border-radius: 1px;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), width .28s, opacity .18s, background-color .2s;
}
.asv-burger::before { width: 34px; }
.asv-burger em { width: 20px; background: var(--asv-red-bright); }
.asv-burger::after { width: 27px; }
.asv-burger:hover em { width: 34px; }
.asv-burger[aria-expanded="true"]::before { width: 32px; transform: translateY(9px) rotate(45deg); }
.asv-burger[aria-expanded="true"] em { opacity: 0; width: 0; }
.asv-burger[aria-expanded="true"]::after { width: 32px; transform: translateY(-9px) rotate(-45deg); }

/* Ocupa la pantalla entera y la cabecera (z-index mayor) queda por encima:
   asi no puede quedar ninguna rendija entre las dos. */
.asv-drawer { position: fixed; inset: 0; z-index: 99; background: rgba(12, 12, 11, .62); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.admin-bar .asv-drawer { top: 32px; }
@media (max-width: 782px) { .admin-bar .asv-drawer { top: 46px; } }
.asv-drawer.is-open { opacity: 1; visibility: visible; }
.asv-drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); padding: 30px clamp(22px, 4vw, 40px) 40px; overflow-y: auto; overscroll-behavior: contain;
    padding-top: calc(var(--asv-header-h) + 26px);
    /* Misma textura que la franja de Normas, sobre negro */
    background: #000 url("../img/normas-fondo.webp") center / cover no-repeat;
    color: #E9E6E0; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.asv-drawer.is-open .asv-drawer__panel { transform: none; }
.asv-drawer__list { margin: 0 0 26px; padding: 0; list-style: none; }
.asv-drawer__list a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font: 900 2rem/1 var(--asv-block); text-transform: uppercase; transition: color .15s, padding .2s; }
.asv-drawer__list a:hover, .asv-drawer__list .current-menu-item > a { color: var(--asv-red-bright); padding-left: 10px; }
.asv-drawer__session { margin-bottom: 26px; }
.asv-drawer__session .asv-login { --asv-fill: transparent; --asv-border: rgba(255, 255, 255, .35); --asv-ink-btn: #fff; width: 100%; box-shadow: none; }
.asv-drawer__session .asv-login:hover { --asv-fill: var(--asv-red); --asv-border: var(--asv-red); --asv-ink-btn: #fff; }
.asv-drawer__session .asv-session__toggle { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.asv-drawer__session .asv-session__menu { position: static; margin-top: 10px; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; }
.asv-drawer__session .asv-session.is-open .asv-session__menu { display: block; }
.asv-drawer__contact { margin: 0 0 22px; padding: 0; list-style: none; font-size: .92rem; }
.asv-drawer__contact li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.asv-drawer__contact .asv-icon { color: var(--asv-red-bright); }
.asv-drawer__contact a { text-decoration: none; }
.asv-social--drawer a { color: #fff; }
.asv-social--drawer a:hover { color: #fff; }

.asv-session { position: relative; }
.asv-session__toggle { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; background: #fff; border: 1px solid var(--asv-line); border-radius: 40px; cursor: pointer; font: 600 .85rem/1 var(--asv-body); color: var(--asv-black); }
.asv-session__avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: var(--asv-red); color: #fff; font: 800 .8rem/1 var(--asv-display); }
.asv-session__avatar img { width: 100%; height: 100%; object-fit: cover; }
.asv-session__name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asv-session__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; min-width: 230px; padding: 8px; background: #fff; border: 1px solid var(--asv-line); border-radius: var(--asv-radius); box-shadow: 0 16px 40px rgba(0, 0, 0, .16); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s; color: var(--asv-ink); }
.asv-session.is-open .asv-session__menu { opacity: 1; visibility: visible; transform: none; }
.asv-session__who { margin: 0 0 6px; padding: 8px 10px 10px; border-bottom: 1px solid var(--asv-line); font-size: .85rem; line-height: 1.3; }
.asv-session__who span { display: block; color: var(--asv-muted); font-size: .78rem; }
.asv-session__item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: var(--asv-radius); background: none; text-align: left; text-decoration: none; font-size: .9rem; color: var(--asv-ink); cursor: pointer; }
.asv-session__item:hover { background: var(--asv-red); color: #fff; }
.asv-session__item--logout { color: var(--asv-alert); }

@media (max-width: 1060px) {
    :root { --asv-header-h: 72px; }
    .asv-nav { display: none; }
    .asv-nav + .asv-header__actions { margin-left: auto; }
    .asv-header__inner { gap: 12px; }
    .asv-brand__img { width: 74px; margin-block: 0 -20px; }
    .asv-brand__word small { letter-spacing: .14em; }
}
/* Por debajo de 560px el botón no cabe junto al escudo: la reserva queda en el menú */
@media (max-width: 560px) {
    .asv-header__actions .asv-btn { display: none; }
}
@media (max-width: 460px) {
    .asv-brand__img { width: 58px; margin-block: 0 -14px; }
    .asv-brand { gap: 10px; }
    .asv-brand__word > span { font-size: 1.02rem; }
    .asv-header__actions .asv-btn { min-height: 40px; padding: 7px 14px; font-size: .92rem; }
    .asv-header__actions .asv-btn .asv-icon { display: none; }
    .asv-cta__long { display: none; }
    .asv-cta__short { display: inline; }
}

/* Portada · hero
   ========================================================================== */

/* Sin overflow: la palmera del lateral baja sobre la franja de ventajas */
.asv-hero { position: relative; z-index: 2; isolation: isolate; min-height: clamp(580px, 52vw, 740px); display: flex; align-items: center; background: #14110F url("../img/hero-fondo.webp") right center / cover no-repeat; }
/* Sin velo: la foto se ve tal cual y el titulo se apoya en su propia sombra */
/* Pintura roja rasgada detrás de la torre */
.asv-hero__paint { display: none; }
/* Jugador recortado sobre el fondo y palmeras por delante, pegadas a la derecha */
.asv-hero__media { position: absolute; z-index: -1; right: 0; bottom: 0; top: 0; width: min(50%, 840px); margin: 0; }
.asv-hero__player { position: absolute; right: 34%; bottom: 0; height: 97%; width: auto; max-width: none; filter: drop-shadow(-18px 10px 34px rgba(0, 0, 0, .65)); }
/* El jugador entra desplazándose desde la derecha, sin desvanecido */
@keyframes asv-entra-jugador {
    from { transform: translateX(22%); }
    to   { transform: none; }
}
.asv-hero__player { animation: asv-entra-jugador 1.2s cubic-bezier(.16, .8, .24, 1) both; }
.asv-hero__palms { position: absolute; z-index: 1; right: 0; bottom: 0; height: 100%; width: auto; max-width: none; pointer-events: none; }
/* Arbustos desenfocados en dos esquinas del hero. Cuelgan sobre la franja de
   ventajas (el hero no recorta) y se disuelven por los dos extremos para que no
   se vea el corte recto de la foto. */
.asv-hero__leaf {
    position: absolute; z-index: 1; left: 0; bottom: clamp(-150px, -7vw, -70px);
    width: min(23%, 340px); height: auto; pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .55) 14%, #000 34%, #000 58%, rgba(0, 0, 0, .5) 82%, transparent 97%);
    mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .55) 14%, #000 34%, #000 58%, rgba(0, 0, 0, .5) 82%, transparent 97%);
}
/* El mismo arbusto, girado, entrando por la esquina inferior derecha */
.asv-hero__leaf--br { left: auto; right: 0; bottom: clamp(-130px, -6vw, -60px); width: min(20%, 300px); transform: rotate(180deg); opacity: .92; }
/* Variante con un solo tajo: el de abajo a la derecha */
/* En El campo el tajo va sobre el panel rojo, por debajo del texto */
.asv-slashes--campo { z-index: 1; }
.asv-slashes--campo .asv-slash--bl { width: min(26%, 360px); }
.asv-hero__copy { position: relative; z-index: 2; padding-block: clamp(40px, 5vw, 72px); }
.asv-hero__eyebrow { margin: 0 0 14px; color: #E6E2DB; font: 700 clamp(.82rem, 1.2vw, .98rem)/1 var(--asv-display); letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0, 0, 0, .85); }
.asv-hero__title { margin: 0; max-width: 16ch; font: 900 clamp(2.6rem, 5.2vw, 5rem)/.94 var(--asv-block); letter-spacing: -.005em; color: #F2F0EC; text-shadow: 0 4px 30px rgba(0, 0, 0, .85), 0 2px 6px rgba(0, 0, 0, .6); }
.asv-hero__title .asv-mark { color: var(--asv-red); }
.asv-hero__text { max-width: 26ch; margin: 18px 0 0; color: #EDEAE4; font: 700 clamp(1.05rem, 1.9vw, 1.5rem)/1.2 var(--asv-display); letter-spacing: .01em; text-transform: uppercase; text-shadow: 0 2px 14px rgba(0, 0, 0, .85); }
.asv-hero__text strong { color: var(--asv-red-bright); }
.asv-hero .asv-actions { margin-top: 28px; }

@media (max-width: 860px) {
    /* En móvil manda una foto vertical que ya trae al jugador: sobran la capa
       recortada y los arbustos, y el texto se apoya abajo sobre un degradado. */
    .asv-hero {
        display: flex; align-items: flex-end; min-height: calc(100svh - var(--asv-header-h));
        background: #14110F url("../img/hero-fondo-movil.webp") center top / cover no-repeat;
    }
    .asv-hero::after { content: ""; position: absolute; z-index: 1; inset: auto 0 0 0; height: 58%; background: linear-gradient(180deg, transparent, rgba(8, 7, 6, .8) 56%, rgba(8, 7, 6, .95)); }
    .asv-hero__media, .asv-hero__leaf { display: none; }
    .asv-hero__copy { padding-block: 0 34px; }
    .asv-hero__text { max-width: 24ch; }
    .asv-hero .asv-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
    .asv-hero .asv-btn { width: 100%; }
    .asv-scribble--hero { top: 4%; right: 4%; font-size: 1.15rem; }
}

/* Portada · ventajas
   ========================================================================== */

.asv-perks { position: relative; overflow: hidden; background: var(--asv-cream) var(--asv-grain); }
/* El tajo va por detrás del contenido y bien metido en la esquina: aquí el fondo
   es claro y compite con el texto mucho más que sobre la foto del hero. */
.asv-perks .asv-slashes { z-index: 0; }
.asv-perks .asv-slash--c { width: min(21%, 290px); }
.asv-perks__list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 auto; padding-block: clamp(34px, 4.2vw, 56px) clamp(44px, 5.4vw, 72px); list-style: none; }
.asv-perk { position: relative; display: flex; flex-direction: column; align-items: center; padding: 4px 26px; text-align: center; }
/* El separador no baja hasta el texto: muere justo bajo el guion rojo */
.asv-perk + .asv-perk::before { content: ""; position: absolute; left: 0; top: 2%; bottom: 24%; width: 1px; background: var(--asv-line); }
.asv-perk__img { width: auto; max-width: 200px; height: clamp(108px, 9vw, 140px); object-fit: contain; margin-bottom: 22px; transition: transform .3s; }
.asv-perk:hover .asv-perk__img { transform: translateY(-4px) rotate(-4deg); }
/* Dos pesos: la primera línea pesa, la segunda respira */
.asv-perk__title { display: flex; flex-direction: column; margin: 0; font-family: var(--asv-display); font-size: clamp(1.25rem, 1.5vw, 1.5rem); line-height: 1.08; letter-spacing: .01em; }
.asv-perk__title strong { font-weight: 800; color: var(--asv-black); }
.asv-perk__title span { font-weight: 500; color: var(--asv-black); }
.asv-perk__title::after { content: ""; width: 38px; height: 4px; margin: 16px auto 0; background: var(--asv-red); }
.asv-perk__text { max-width: 19ch; margin: 18px 0 0; font-size: .88rem; line-height: 1.5; color: var(--asv-grey); }
@media (max-width: 760px) {
    .asv-perks__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    /* En dos columnas la linea vertical sobra: las fichas ya se separan solas */
    .asv-perk + .asv-perk::before { display: none; }
}

/* Portada · franjas con arte a la derecha (El campo, Normas)
   ========================================================================== */

.asv-band { position: relative; overflow: hidden; isolation: isolate; }
.asv-band__grid { position: relative; z-index: 2; display: grid; align-items: center; min-height: clamp(360px, 36vw, 480px); }
.asv-band__copy { max-width: 470px; padding-block: clamp(48px, 6vw, 72px); }
.asv-band__art { position: absolute; z-index: 1; right: 0; bottom: 0; height: 100%; width: min(62%, 900px); object-fit: cover; object-position: left center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.asv-band .asv-heading { margin-bottom: 30px; }
.asv-band .asv-lead { max-width: 40ch; color: var(--asv-black); }
.asv-band--red .asv-title { color: #fff; }
.asv-band--red .asv-lead { color: rgba(255, 255, 255, .92); }
.asv-band--red .asv-lead strong { color: #fff; }

/* El rojo inclinado va en ::before para que los bloques puedan sobresalir por arriba */
.asv-band--red { z-index: 1; margin-block: 0 10px; --asv-paint-w: min(58%, 1020px); }
.asv-band--red .asv-band__grid { min-height: clamp(420px, 40vw, 620px); }
.asv-band--red .asv-band__copy { padding-block: clamp(48px, 5vw, 78px); }
/* El vídeo no va a sangre: empieza bajo el rojo macizo, poco antes del desgarro.
   Así se recorta mucho menos y se ve a más resolución real. */
.asv-band--red .asv-band__art {
    inset: 0 0 0 calc(var(--asv-paint-w) * .68);
    width: calc(100% - var(--asv-paint-w) * .68); height: 100%;
    object-fit: cover; object-position: center; -webkit-mask-image: none; mask-image: none;
}
/* Trama de micropuntos + líneas finas sobre el vídeo: da aire táctico y de paso
   disimula la compresión. Va entre el vídeo y el panel rojo. */
.asv-band__grain {
    position: absolute; z-index: 1; inset: 0 0 0 calc(var(--asv-paint-w) * .68);
    pointer-events: none; opacity: .5;
    background-image:
        radial-gradient(rgba(0, 0, 0, .55) .6px, transparent .8px),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px);
    background-size: 3px 3px, 100% 3px;
    mix-blend-mode: multiply;
}
/* Panel rojo con el borde rasgado del PNG. Se ancla a la derecha y a alto completo:
   así el desgarro cae siempre donde toca y el rojo macizo desborda por la izquierda. */
.asv-band__paint {
    position: absolute; z-index: 1; inset: 0 auto 0 0; width: min(58%, 1020px);
    /* cover, no "auto 100%": así el panel queda siempre cubierto aunque la franja
       sea muy ancha y baja, sin que asome el vídeo por la izquierda del PNG */
    background: url("../img/campo-rojo.webp") right center / cover no-repeat;
}

/* Fondo oscuro en ::before para que la caja pueda sobresalir por arriba */
.asv-band--dark { overflow: visible; z-index: 3; margin-top: clamp(40px, 5vw, 70px); color: #D9D5CE; }
.asv-band--dark::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--asv-dark) var(--asv-concrete-dark); }
.asv-band--dark .asv-band__grid { min-height: clamp(340px, 26vw, 380px); }
.asv-band--dark .asv-band__copy { padding-block: 44px; }
/* Normas: textura de hormigón quemado, copy a la izquierda y rejilla 4x2 de fichas */
/* Negro macizo de base y la textura encima, a media opacidad y disolviendose
   por abajo: asi no se ve donde acaba la foto y enlaza con la franja siguiente. */
.asv-band--rules { overflow: hidden; background: #000; }
.asv-band--rules::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: url("../img/normas-fondo.webp") center top / cover no-repeat; opacity: .6;
    -webkit-mask-image: linear-gradient(180deg, #000 52%, rgba(0, 0, 0, .45) 82%, transparent 98%);
    mask-image: linear-gradient(180deg, #000 52%, rgba(0, 0, 0, .45) 82%, transparent 98%);
}
.asv-slashes--rules { z-index: 1; }
.asv-rulesband {
    position: relative; z-index: 2; display: grid; align-items: center;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.55fr); gap: clamp(28px, 4.5vw, 72px);
    padding-block: clamp(52px, 6.5vw, 92px);
}
.asv-rulesband__copy { max-width: 430px; }
.asv-rulesband__copy .asv-heading { margin-bottom: 28px; }
.asv-rulesband__copy .asv-lead { max-width: 38ch; color: #C9C4BC; }
.asv-rulesband__copy .asv-lead strong { color: #fff; }
.asv-rulesband__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.asv-minirule { padding: 18px 24px 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.asv-minirule:nth-child(n + 5) { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 26px; }
.asv-minirule__icon { width: auto; max-width: 96px; height: 46px; object-fit: contain; object-position: left center; margin-bottom: 18px; }
.asv-minirule__title { margin: 0 0 8px; color: #fff; font: 800 1.02rem/1.1 var(--asv-display); letter-spacing: .02em; text-transform: uppercase; }
.asv-minirule p { margin: 0; color: #B4AFA7; font-size: .86rem; line-height: 1.5; }
@media (max-width: 1180px) {
    .asv-rulesband { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .asv-rulesband__copy { max-width: none; }
    .asv-minirule:first-child, .asv-minirule:nth-child(5) { padding-left: 0; border-left: 0; }
}
@media (max-width: 720px) {
    .asv-rulesband__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .asv-minirule:nth-child(odd) { padding-left: 0; border-left: 0; }
    .asv-minirule:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 26px; }
}

.asv-band--dark .asv-band__art { right: 0; bottom: -26px; height: auto; width: min(52vw, 780px); max-width: none; -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .5)); }
.asv-band--dark .asv-eyebrow { color: #fff; }
.asv-band--dark .asv-title { color: #fff; }
.asv-band--dark .asv-lead { color: #D9D5CE; }
.asv-band--dark .asv-lead strong { color: #fff; }


@media (max-width: 860px) {
    .asv-band__grid { min-height: 0; }
    .asv-band__copy { padding-bottom: 12px; }
    .asv-band--red { background: #AB0908; }
    .asv-band--red .asv-band__paint, .asv-band--red .asv-band__grain { display: none; }
    /* Sin margen ni hueco: el video pega con el rojo y no deja un borde asomando */
    .asv-band--red .asv-band__art { position: relative; inset: auto; display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; margin: 0; }
    .asv-band--red .asv-band__copy { padding-block: 30px 34px; }
    .asv-band--red .asv-band__grid { padding-bottom: 0; }
    /* El tajo espejado no cabe en vertical y se comia la esquina */
    .asv-band--red .asv-slashes { display: none; }

    /* Pie: escudo solo, centrado y grande; columnas centradas */
    .asv-footer__main { text-align: center; justify-items: center; }
    .asv-brand--footer .asv-brand__word { display: none; }
    .asv-brand--footer .asv-brand__img { width: 150px; }
    .asv-footer__brand { align-items: center; }
    .asv-footer__links, .asv-footer__social { align-items: center; }
    .asv-footer__talk { margin-inline: auto; }
    .asv-footer__col--talk { display: flex; flex-direction: column; align-items: center; }
    .asv-perks__list { padding-bottom: 40px; }
    .asv-band--dark .asv-band__art { position: relative; right: auto; width: 100%; margin-top: 10px; filter: none; }
}

/* Portada · agenda (carrusel de partidas)
   ========================================================================== */

.asv-agenda { padding-block: clamp(56px, 7vw, 88px); background: var(--asv-cream) var(--asv-grain); }
.asv-agenda__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(28px, 4vw, 56px); }
.asv-agenda .asv-title--big { font-size: clamp(3rem, 5.8vw, 5rem); }

.asv-carousel { min-width: 0; }
.asv-carousel__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 46px) / 3); column-gap: 46px;
    padding: 34px 30px 48px; margin: -34px -30px -14px; scroll-padding-inline: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.asv-carousel__track::-webkit-scrollbar { display: none; }
.asv-carousel__track > .asv-game { scroll-snap-align: start; }
/* Inclinación alterna de las tarjetas, como fotos sobre la mesa */
.asv-carousel__track > .asv-game:nth-child(3n + 1) { transform: rotate(3deg); }
.asv-carousel__track > .asv-game:nth-child(3n + 2) { transform: rotate(-2deg) translateY(4px); }
.asv-carousel__track > .asv-game:nth-child(3n) { transform: rotate(2.5deg) translateY(-6px); }
.asv-carousel__track > .asv-game:hover { transform: rotate(0) translateY(-6px); }
.asv-carousel__nav { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; }
.asv-carousel__dots { display: flex; justify-content: center; gap: 8px; }
.asv-carousel__dots button { width: 10px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: #CFC9BD; cursor: pointer; transition: width .25s, background-color .25s; }
.asv-carousel__dots button.is-active { width: 36px; background: var(--asv-red); }
.asv-carousel__btn { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 2px solid var(--asv-black); border-radius: 50%; background: transparent; color: var(--asv-black); cursor: pointer; transition: .18s; }
.asv-carousel__btn:hover { background: var(--asv-red); border-color: var(--asv-red); color: #fff; }
.asv-carousel__btn--dark { background: var(--asv-black); color: #fff; }
.asv-carousel.is-static .asv-carousel__nav { display: none; }
.asv-carousel__empty { margin: 0; padding: 32px; background: var(--asv-black); color: #E6E2DB; border-radius: 6px; }
@media (max-width: 960px) {
    .asv-agenda__grid { grid-template-columns: minmax(0, 1fr); }
    .asv-carousel__track { grid-auto-columns: calc((100% - 46px) / 2); }
}
@media (max-width: 520px) { .asv-carousel__track { grid-auto-columns: 78%; column-gap: 28px; margin-inline: calc(-1 * var(--asv-gutter)); padding-inline: var(--asv-gutter); scroll-padding-inline: var(--asv-gutter); } }

/* Tarjeta de partida (portada y calendario)
   ========================================================================== */

.asv-game {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 290px; padding: 24px 22px 22px;
    background: #1B1B1A var(--asv-concrete-dark); color: #CFCBC4; border-radius: 6px;
    box-shadow: 0 12px 22px rgba(0, 0, 0, .2), inset 0 0 0 1px rgba(255, 255, 255, .04); transition: transform .3s, box-shadow .3s;
}
.asv-game:hover { box-shadow: 0 18px 28px rgba(0, 0, 0, .26); }
.asv-game__date { display: flex; flex-direction: column; margin: 0 0 18px; color: var(--asv-red-bright); font-family: var(--asv-display); text-transform: uppercase; line-height: .92; }
.asv-game__date span { font-weight: 700; font-size: 1.5rem; }
.asv-game__date strong { color: inherit; font-weight: 800; font-size: 3.6rem; line-height: .85; }
.asv-game__title { margin: auto 0 6px; color: #fff; font: 800 1.35rem/1 var(--asv-display); }
.asv-game__title a { text-decoration: none; }
.asv-game__title a::after { content: ""; position: absolute; inset: 0; }
.asv-game__time { margin: 0 0 6px; font: 600 1.05rem/1 var(--asv-display); letter-spacing: .02em; }
.asv-game__price { margin: 0 0 14px; font: 600 .85rem/1 var(--asv-body); opacity: .8; }
/* Jugadores apuntados: pila de caras, contador y barra de plazas */
.asv-game__squad { align-self: stretch; margin: 0 0 18px; }
.asv-faces { display: flex; margin: 0 0 8px; padding: 0 0 0 6px; list-style: none; }
.asv-faces li {
    display: grid; place-items: center; width: 32px; height: 32px; margin-left: -8px; overflow: hidden; border-radius: 50%;
    background: #3A3935; color: #fff; border: 2px solid #1B1B1A; font: 800 .68rem/1 var(--asv-display);
}
.asv-faces img { width: 100%; height: 100%; object-fit: cover; }
.asv-faces .asv-faces__more { background: var(--asv-red); color: #fff; font-size: .74rem; }
.asv-game__count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0 0 7px; font: 600 .82rem/1.2 var(--asv-body); }
.asv-game__count strong { color: var(--asv-red-bright); font: 800 1.15rem/1 var(--asv-display); }
.asv-game__bar { display: block; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.asv-game__bar span { display: block; height: 100%; border-radius: inherit; background: var(--asv-red); }
.asv-game__hurry { color: var(--asv-red-bright); }
.asv-game__go { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--asv-red); border-radius: var(--asv-radius); color: #fff; transition: .18s; }
.asv-game:hover .asv-game__go { background: var(--asv-red); color: #fff; }
.asv-game__status { position: absolute; top: 18px; right: 16px; padding: 4px 8px; background: var(--asv-alert); color: #fff; border-radius: 2px; font: 700 .68rem/1 var(--asv-body); letter-spacing: .06em; text-transform: uppercase; }
.asv-game--cancelled, .asv-game--finished { opacity: .6; }
/* La tarjeta clara: una de cada tres */
.asv-game:nth-child(3n + 2) { background: #F7F5F0 var(--asv-grain); color: var(--asv-grey); box-shadow: 0 12px 22px rgba(0, 0, 0, .12), inset 0 0 0 1px rgba(0, 0, 0, .05); }
.asv-game:nth-child(3n + 2) .asv-game__date { color: var(--asv-black); }
.asv-game:nth-child(3n + 2) .asv-game__date strong { color: var(--asv-red-deep); text-shadow: 0 1px 0 rgba(0, 0, 0, .15); }
.asv-game:nth-child(3n + 2) .asv-game__title { color: var(--asv-black); }
.asv-game:nth-child(3n + 2) .asv-game__go { background: var(--asv-black); border-color: var(--asv-black); }
/* En la tarjeta clara, el hover pasa la flecha a rojo (la regla de arriba ganaba al hover general) */
.asv-game:nth-child(3n + 2):hover .asv-game__go { background: var(--asv-red); border-color: var(--asv-red); color: #fff; }
.asv-game:nth-child(3n + 2) .asv-game__hurry { color: var(--asv-alert); }
.asv-game:nth-child(3n + 2) .asv-faces li { border-color: #F7F5F0; background: #CFC9BD; color: var(--asv-black); }
.asv-game:nth-child(3n + 2) .asv-faces .asv-faces__more { background: var(--asv-black); color: var(--asv-red-bright); }
.asv-game:nth-child(3n + 2) .asv-game__count strong { color: var(--asv-black); }
.asv-game:nth-child(3n + 2) .asv-game__bar { background: rgba(0, 0, 0, .1); }
.asv-game:nth-child(3n + 2) .asv-game__bar span { background: var(--asv-black); }

.asv-groupcard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; padding: 26px 30px; background: var(--asv-dark) var(--asv-concrete-dark); color: rgba(255, 255, 255, .78); border-radius: 6px; }
.asv-groupcard > div { display: block; }
.asv-groupcard__icon { display: grid; place-items: center; width: 64px; height: 64px; background: var(--asv-red); color: #fff; border-radius: var(--asv-radius); }
.asv-groupcard__title { margin-bottom: 4px; color: #fff; font-size: 1.8rem; }
.asv-groupcard p { margin: 0; font-size: .92rem; line-height: 1.45; }
.asv-groupcard .asv-btn { white-space: nowrap; }
@media (max-width: 760px) {
    .asv-groupcard { grid-template-columns: auto minmax(0, 1fr); padding: 24px; }
    .asv-groupcard .asv-btn { grid-column: 1 / -1; white-space: normal; }
}

/* Componentes de datos: potencias, normas básicas, día de partida
   ========================================================================== */

.asv-powers { overflow-x: auto; background: #fff; border: 1px solid var(--asv-line); border-radius: var(--asv-radius); }
.asv-powers table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.asv-powers th, .asv-powers td { padding: 11px 16px; border-bottom: 1px solid var(--asv-line); text-align: left; white-space: nowrap; }
.asv-powers thead th { background: var(--asv-paper); color: var(--asv-black); font: 800 .72rem/1 var(--asv-body); letter-spacing: .08em; text-transform: uppercase; }
.asv-powers td { text-align: center; color: var(--asv-ink); }
.asv-powers thead th:not(:first-child) { text-align: center; }
.asv-powers tbody th { font-weight: 600; color: var(--asv-ink); }
.asv-powers tbody tr:last-child > * { border-bottom: 0; }
.asv-powers td + td, .asv-powers th + td, .asv-powers thead th + th { border-left: 1px solid var(--asv-line); }
.asv-powers .is-banned > * { color: var(--asv-alert); font-weight: 700; }
.asv-powers--dark { background: #1C1B19; border-color: #2A2926; }
.asv-powers--dark thead th { background: var(--asv-black); color: var(--asv-red-bright); }
.asv-powers--dark th, .asv-powers--dark td, .asv-powers--dark tbody th { border-color: #33312D !important; color: #EDE9E0; }
.asv-powers--dark .is-banned > * { color: #FF6B5E; }
.asv-powers__note { margin: 10px 0 0; font-size: .8rem; color: var(--asv-muted); }

.asv-badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.asv-badges li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--asv-black); }
.asv-badges span { font: 800 .68rem/1.2 var(--asv-body); letter-spacing: .04em; text-transform: uppercase; }

.asv-day { position: relative; display: grid; grid-template-columns: repeat(var(--asv-steps), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.asv-day::before { content: ""; position: absolute; left: 0; right: 0; top: calc(1.8rem + 22px); height: 1px; background: var(--asv-grey); opacity: .5; }
.asv-day__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.asv-day__time { font: 800 1.8rem/1 var(--asv-display); color: var(--asv-black); }
.asv-day__dot { width: 14px; height: 14px; margin: 15px 0 14px; border-radius: 50%; background: var(--asv-red); border: 2px solid var(--asv-black); }
.asv-day__text { max-width: 11ch; font-size: .9rem; line-height: 1.3; color: var(--asv-ink); }
@media (max-width: 600px) {
    .asv-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
    .asv-day { grid-template-columns: minmax(0, 1fr); }
    .asv-day::before { left: 81px; right: auto; top: 12px; bottom: 12px; width: 1px; height: auto; }
    .asv-day__step { flex-direction: row; gap: 18px; padding: 8px 0; text-align: left; }
    .asv-day__time { width: 64px; font-size: 1.6rem; }
    .asv-day__dot { margin: 0; }
    .asv-day__text { max-width: none; }
}

/* Ubicación y mapa
   ========================================================================== */

.asv-location__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.asv-location__place { margin: 0 0 26px; color: var(--asv-ink); line-height: 1.5; }
.asv-map { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #E3DED3; }
.asv-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(1.05); }
.asv-map__consent { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: #E6E2D8; color: #B8B2A4; cursor: pointer; }
.asv-map__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.asv-map__coords { position: absolute; top: 18px; right: 22px; white-space: pre; text-align: right; color: var(--asv-ink); font: 600 .85rem/1.5 var(--asv-body); }
.asv-map__pin { position: relative; display: inline-flex; align-items: center; color: var(--asv-black); }
.asv-map__pin .asv-icon { position: relative; z-index: 1; margin-right: -6px; color: var(--asv-black); fill: var(--asv-red); stroke-width: 1.6; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.asv-map__pin > span { padding: 8px 14px 8px 16px; background: var(--asv-black); color: #fff; font: 700 .95rem/1.05 var(--asv-display); text-transform: uppercase; letter-spacing: .02em; }
.asv-map__hint { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; padding: 7px 14px; background: #fff; color: var(--asv-ink); font-size: .82rem; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .1); transition: .18s; }
.asv-map__consent:hover .asv-map__hint { background: var(--asv-red); color: #fff; }
@media (max-width: 860px) {
    .asv-location__grid { grid-template-columns: minmax(0, 1fr); }
    .asv-map { aspect-ratio: 4 / 3; margin-inline: calc(-1 * var(--asv-gutter)); }
}

/* Franja final: papel rojo rasgado sobre hormigón oscuro
   ========================================================================== */

.asv-ctaband { position: relative; overflow: hidden; isolation: isolate; padding-block: 22px; background: #000; }
/* El desgarro y la textura los trae el propio PNG: se estira a lo ancho y a lo
   alto para que los bordes rasgados queden siempre arriba y abajo del bloque.
   Sus esquinas negras se funden con el negro de la seccion. */
.asv-ctaband__paper {
    position: relative; color: #fff; padding-block: clamp(58px, 7vw, 96px);
    background: #000 url("../img/cta-fondo.webp") center / 100% 100% no-repeat;
}
.asv-ctaband__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.asv-ctaband .asv-eyebrow { color: var(--asv-red-bright); }
.asv-ctaband .asv-eyebrow::before { filter: brightness(0); }
.asv-ctaband__title { margin: 0 0 26px; color: #fff; font: 900 clamp(2.4rem, 5.4vw, 4.4rem)/.95 var(--asv-block); }
.asv-ctaband .asv-scribble { color: #fff; }
.asv-ctaband .asv-btn { --asv-fill: var(--asv-black); --asv-border: var(--asv-black); --asv-ink-btn: #fff; }
.asv-ctaband .asv-btn:hover { --asv-fill: #000; --asv-border: #000; }
@media (max-width: 860px) {
    .asv-scribble--cta { position: relative; right: auto; top: auto; translate: none; margin-top: 22px; }
}

/* Cabecera de páginas interiores
   ========================================================================== */

.asv-pagehead { position: relative; overflow: hidden; isolation: isolate; background: #D2CCC2 url("../img/cabecera-fondo.webp") right center / cover no-repeat; }
.asv-pagehead::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(10, 9, 8, .88) 0, rgba(10, 9, 8, .6) 42%, rgba(10, 9, 8, .2) 72%, rgba(10, 9, 8, .45) 100%); }
.asv-pagehead__paint { display: none; position: absolute; z-index: -1; left: -4%; bottom: -10px; width: 62%; height: 30%; background: var(--asv-red); clip-path: polygon(0 38%, 12% 30%, 30% 36%, 52% 18%, 78% 26%, 100% 8%, 97% 60%, 100% 100%, 0 100%); opacity: .95; }
/* Escena recortada a la derecha (Partidas): soldados detrás y barricada delante, pegados abajo y al borde */
.asv-pagehead--scene { min-height: clamp(380px, 34vw, 520px); display: flex; align-items: center; }
.asv-pagehead--scene > .asv-container { width: 100%; }
.asv-pagehead--scene .asv-pagehead__copy { max-width: 560px; }
.asv-pagehead__scene { position: absolute; z-index: 0; right: 0; bottom: 0; top: 0; width: min(56vw, 860px); pointer-events: none; }
.asv-pagehead__scene img { position: absolute; right: 0; bottom: 0; height: auto; max-width: none; }
.asv-pagehead__scene-back { right: 12% !important; bottom: 20% !important; width: 74%; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .3)); }
.asv-pagehead__scene-front { width: 100%; max-height: 100%; object-fit: contain; object-position: right bottom; }
.asv-pagehead__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.asv-pagehead__copy { align-self: center; padding-block: clamp(48px, 7vw, 92px); }
.asv-pagehead .asv-heading { margin: 0; }
.asv-pagehead .asv-title--big { font-size: clamp(3rem, 7vw, 6rem); }
.asv-pagehead .asv-eyebrow { color: #fff; }
.asv-pagehead .asv-title { color: #F2F0EC; text-shadow: 0 4px 26px rgba(0, 0, 0, .8), 0 2px 6px rgba(0, 0, 0, .55); }
.asv-pagehead .asv-lead { color: rgba(255, 255, 255, .92); max-width: 54ch; font-weight: 500; text-shadow: 0 2px 12px rgba(0, 0, 0, .85); }
.asv-pagehead .asv-lead strong { color: #fff; }
.asv-pagehead--media .asv-pagehead__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
/* Cabecera con video a sangre: el texto se apoya encima con su propio velo */
.asv-pagehead--video { background: #0C0B0A; }
.asv-pagehead--video::before { background: linear-gradient(90deg, rgba(8, 7, 6, .92) 0, rgba(8, 7, 6, .68) 46%, rgba(8, 7, 6, .3) 78%, rgba(8, 7, 6, .5) 100%); }
.asv-pagehead__video { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.asv-pagehead__grain {
    position: absolute; z-index: -2; inset: 0; pointer-events: none; opacity: .45;
    background-image: radial-gradient(rgba(0, 0, 0, .55) .6px, transparent .8px), repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px);
    background-size: 3px 3px, 100% 3px; mix-blend-mode: multiply;
}
.asv-pagehead--video .asv-pagehead__copy { min-height: clamp(340px, 30vw, 460px); display: flex; flex-direction: column; justify-content: center; }
.asv-pagehead__media { position: relative; margin: 0 calc(-1 * var(--asv-edge)) 0 0; min-height: 400px; }
.asv-pagehead__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.asv-pagehead--compact .asv-pagehead__copy { padding-block: clamp(42px, 5.5vw, 72px); }
.asv-pagehead--compact .asv-title--big { font-size: clamp(2.8rem, 6.2vw, 5rem); }
@media (max-width: 860px) {
    .asv-pagehead--scene { flex-direction: column; align-items: stretch; min-height: 0; }
    .asv-pagehead__scene { position: relative; order: 2; top: auto; width: 100%; height: 0; padding-bottom: 63%; margin-top: 0; }
    .asv-pagehead--scene .asv-pagehead__copy { padding-bottom: 10px; }
    .asv-pagehead--media .asv-pagehead__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .asv-pagehead__copy { padding-bottom: 34px; }
    .asv-pagehead__media { margin: 0 calc(-1 * var(--asv-gutter)); min-height: 0; aspect-ratio: 16 / 10; -webkit-mask: none; mask: none; }
    .asv-pagehead { background-image: url("../img/cabecera-fondo-1000.webp"); background-position: 70% center; }
}


/* Pestañas de mes y separadores del listado de partidas
   ========================================================================== */

.asv-months { display: flex; gap: 6px; margin: 0 0 18px; padding-bottom: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 2px solid var(--asv-black); }
.asv-months::-webkit-scrollbar { display: none; }
.asv-month { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 20px 10px; border: 0; border-radius: var(--asv-radius) var(--asv-radius) 0 0; background: transparent; color: var(--asv-black); cursor: pointer; transition: background-color .15s; }
.asv-month span { font: 800 1.35rem/1 var(--asv-display); text-transform: uppercase; }
.asv-month small { font: 600 .72rem/1 var(--asv-body); color: var(--asv-muted); }
.asv-month:hover { background: rgba(0, 0, 0, .05); }
.asv-month.is-active { background: var(--asv-black); color: var(--asv-red-bright); }
.asv-month.is-active small { color: rgba(255, 255, 255, .6); }
.asv-monthhead { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin: 22px 0 -4px; font: 800 1.9rem/1 var(--asv-display); color: var(--asv-black); }
.asv-monthhead::after { content: ""; flex: 1; height: 2px; background: var(--asv-line); }
.asv-monthhead:first-child { margin-top: 0; }

/* El campo
   ========================================================================== */

.asv-zones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 12px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--asv-black); }
.asv-zone { padding: 26px 24px 8px 0; }
.asv-zone + .asv-zone { padding-left: 24px; border-left: 1px solid var(--asv-line); }
.asv-zone__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; background: var(--asv-red); color: #fff; }
.asv-zone__title { margin-bottom: 8px; font-size: 1.6rem; }
.asv-zone p { margin: 0; font-size: .98rem; color: var(--asv-ink); }

.asv-included { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.asv-included li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: center; padding: 22px 24px; background: var(--asv-cream); border: 1px solid var(--asv-line); color: var(--asv-black); }
.asv-included .asv-icon { grid-row: span 2; }
.asv-included strong { font: 800 1.5rem/1 var(--asv-display); text-transform: uppercase; }
.asv-included span { font-size: .9rem; color: var(--asv-ink); }
.asv-dayblock { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--asv-line); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.asv-dayblock .asv-heading { margin: 0; }

.asv-privatecta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px 32px; padding: clamp(26px, 4vw, 44px); background: var(--asv-black) var(--asv-grain); color: rgba(255, 255, 255, .78); }
.asv-privatecta__icon { display: grid; place-items: center; width: 84px; height: 84px; background: var(--asv-red); color: #fff; }
.asv-privatecta__title { margin-bottom: 8px; color: #fff; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.asv-privatecta p { margin: 0; max-width: 60ch; }

@media (max-width: 960px) {
    .asv-zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .asv-zone:nth-child(odd) { padding-left: 0; border-left: 0; }
    .asv-zone:nth-child(n + 3) { border-top: 1px solid var(--asv-line); }
    .asv-included { grid-template-columns: minmax(0, 1fr); }
    .asv-dayblock { grid-template-columns: minmax(0, 1fr); }
    .asv-privatecta { grid-template-columns: minmax(0, 1fr); }
    .asv-privatecta .asv-btn { justify-self: start; white-space: normal; }
}
@media (max-width: 560px) {
    .asv-zones { grid-template-columns: minmax(0, 1fr); }
    .asv-zone, .asv-zone + .asv-zone { padding-left: 0; border-left: 0; }
    .asv-zone + .asv-zone { border-top: 1px solid var(--asv-line); }
}

/* Listado de partidas
   ========================================================================== */

.asv-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.asv-filter {
    min-height: 42px; padding: 8px 20px; background: transparent; border: 2px solid var(--asv-black); color: var(--asv-black);
    font: 700 .98rem/1 var(--asv-display); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: .15s;
}
.asv-filter:hover { background: var(--asv-red); border-color: var(--asv-red); color: #fff; }
.asv-filter.is-active { background: var(--asv-black); color: var(--asv-red-bright); }

/* El calendario del plugin envuelve las tarjetas en su rejilla */
.plairsoft-calendar { max-width: none !important; margin: 0 !important; padding: 0 !important; font-family: inherit !important; color: inherit; }
.plairsoft-calendar .plairsoft-calendar__title { display: none; }
.plairsoft-calendar .plairsoft-calendar__content, .plairsoft-calendar .plairsoft-calendar__main { display: block; }
.plairsoft-calendar .plairsoft-calendar__grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important; gap: clamp(16px, 2.4vw, 28px) !important; }
@media (max-width: 400px) { .plairsoft-calendar .plairsoft-calendar__grid { grid-template-columns: minmax(0, 1fr) !important; } }
.plairsoft-calendar__empty { padding: 40px 32px; background: var(--asv-card); border-left: 6px solid var(--asv-red); color: var(--asv-ink); }
/* El CSS del plugin fuerza font-family/weight: inherit en todo el calendario */
.plairsoft-calendar .asv-game__title { font: 800 1.35rem/1 var(--asv-display); }
.plairsoft-calendar .asv-game__date span { font: 700 1.5rem/.92 var(--asv-display); }
.plairsoft-calendar .asv-game__date strong { font: 800 3.6rem/.85 var(--asv-display); }
.plairsoft-calendar .asv-game__time { font: 600 1.05rem/1 var(--asv-display); }
.plairsoft-calendar .asv-game__count, .plairsoft-calendar .asv-game__price { font-family: var(--asv-body); font-weight: 600; }
.plairsoft-calendar .asv-game__count strong { font: 800 1.15rem/1 var(--asv-display); }
.plairsoft-calendar .asv-faces li { font: 800 .68rem/1 var(--asv-display); }
.plairsoft-calendar .asv-game__status { font: 700 .68rem/1 var(--asv-body); }
.plairsoft-pagination { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; font-size: .9rem; }
.plairsoft-pagination__btn { padding: 10px 18px; background: var(--asv-black); color: #fff; text-decoration: none; font: 700 .95rem/1 var(--asv-display); letter-spacing: .04em; text-transform: uppercase; }
.plairsoft-pagination__btn:hover { background: var(--asv-red); color: #fff; }
.plairsoft-notice { padding: 16px 20px; background: #fff; border: 1px solid var(--asv-line); }

.asv-empty { padding: 36px 0; text-align: center; }
.asv-games__group { margin-top: clamp(32px, 4vw, 48px); }

/* Ficha de partida
   ========================================================================== */

.asv-detail__head { padding-block: 28px 36px; background: var(--asv-red); color: #fff; }
.asv-detail__head .asv-title, .asv-detail__head .asv-facts li, .asv-detail__head .asv-facts a { color: #fff; }
.asv-detail__head .asv-facts small { color: rgba(255, 255, 255, .8); }
.asv-detail__head .asv-facts, .asv-detail__head .asv-facts li + li { border-color: rgba(255, 255, 255, .28); }
.asv-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 22px; font: 600 .82rem/1.2 var(--asv-body); letter-spacing: .08em; text-transform: uppercase; }
.asv-crumbs a { color: #fff; }
.asv-crumbs span { color: rgba(255, 255, 255, .78); }

.asv-detail__titlebar { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.asv-detail__title { margin-top: 14px; max-width: 16ch; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .98; }
.asv-state { display: inline-block; padding: 6px 10px; background: var(--asv-black); color: var(--asv-red-bright); font: 700 .78rem/1 var(--asv-body); letter-spacing: .08em; text-transform: uppercase; }
.asv-state--full, .asv-state--cancelled, .asv-state--closed { background: var(--asv-alert); color: #fff; }
.asv-state--finished, .asv-state--started { background: var(--asv-grey); color: #fff; }
.asv-datebox { flex: none; display: flex; flex-direction: column; align-items: center; margin: 0; padding: 14px 20px; min-width: 110px; background: var(--asv-black); color: var(--asv-red-bright); font-family: var(--asv-display); text-transform: uppercase; line-height: 1; }
.asv-datebox span { font-weight: 800; font-size: 1.2rem; }
.asv-datebox strong { color: var(--asv-red-bright); font-weight: 800; font-size: 3.6rem; line-height: .95; }

.asv-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 22px 0; list-style: none; border-bottom: 1px solid var(--asv-line); }
.asv-facts li { display: flex; align-items: center; gap: 14px; padding: 0 20px; color: var(--asv-black); }
.asv-facts li:first-child { padding-left: 0; }
.asv-facts li + li { border-left: 1px solid var(--asv-line); }
.asv-facts strong { display: block; font-size: 1.05rem; line-height: 1.25; }
.asv-facts small, .asv-facts a { display: inline-flex; align-items: center; gap: 4px; font-size: .86rem; color: var(--asv-ink); }
.asv-facts a { font-weight: 600; color: var(--asv-black); }

.asv-detail__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: clamp(32px, 4vw, 56px); padding-top: 34px; padding-bottom: clamp(56px, 8vw, 96px); }
.asv-detail__cover { position: relative; margin: 0 0 clamp(36px, 5vw, 52px); aspect-ratio: 16 / 9; overflow: hidden; background: var(--asv-card); }
.asv-detail__cover img { width: 100%; height: 100%; object-fit: cover; }
.asv-detail__aside { position: sticky; top: calc(var(--asv-header-h) + 24px); }
.admin-bar .asv-detail__aside { top: calc(var(--asv-header-h) + 56px); }

.asv-signup { padding: 26px; background: #fff; border-top: 6px solid var(--asv-red); box-shadow: 0 18px 40px rgba(17, 17, 16, .08); }
.asv-signup__price { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.asv-signup__price strong { font: 800 3rem/1 var(--asv-display); }
.asv-signup__price del { font-size: 1.1rem; }
.asv-signup__offer { padding: 3px 7px; background: var(--asv-black); color: var(--asv-red-bright); font: 700 .85rem/1 var(--asv-display); }
.asv-signup__pay { margin: 6px 0 0; font-size: .88rem; }
.asv-signup__seats { margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--asv-line); }
.asv-signup__seats p { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 8px; font-size: .92rem; }
.asv-signup__seats p span { color: var(--asv-muted); font-size: .86rem; }
.asv-signup__seats b { font-weight: 400; }
.asv-progress { display: block; width: 100%; height: 8px; background: var(--asv-paper); overflow: hidden; }
.asv-progress span { display: block; height: 100%; background: var(--asv-black); }
.asv-signup--full .asv-progress span { background: var(--asv-alert); }
.asv-signup__cta { margin-top: 20px; }
.asv-signup__cta .asv-btn { width: 100%; }
.asv-signup__cta .asv-btn--red { --asv-border: var(--asv-black); }
.asv-signup__hint { margin: 10px 0 0; font-size: .82rem; text-align: center; color: var(--asv-grey); }
.asv-signup__ok { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 10px; color: var(--asv-black); font-weight: 700; }
.asv-signup__closed { margin: 20px 0 0; padding: 14px; background: var(--asv-paper); text-align: center; font: 700 1.05rem/1 var(--asv-display); letter-spacing: .04em; text-transform: uppercase; color: var(--asv-black); }
.asv-signup__list { margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--asv-line); list-style: none; }
.asv-signup__list li { display: flex; gap: 10px; padding: 5px 0; font-size: .92rem; line-height: 1.4; color: var(--asv-black); }
.asv-signup__list .asv-icon { margin-top: 1px; }
.asv-signup__list a { display: block; font-size: .84rem; font-weight: 600; }
.asv-signup__share { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--asv-line); }
.asv-signup__share > span { font: 700 .78rem/1 var(--asv-body); letter-spacing: .08em; text-transform: uppercase; color: var(--asv-muted); }
.asv-feedback { width: 100%; font-size: .9rem; }
@media (max-width: 1024px) {
    .asv-detail__layout { grid-template-columns: minmax(0, 1fr); }
    .asv-detail__aside { position: static; order: -1; }
}

.asv-block { margin-bottom: 44px; }
.asv-block__title { position: relative; margin-bottom: 18px; padding-left: 18px; font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
.asv-block__title::before { content: ""; position: absolute; left: 0; top: .06em; bottom: .12em; width: 6px; background: var(--asv-red); }
.asv-block__title small { font-size: .6em; color: var(--asv-muted); }
.asv-block > p { max-width: 70ch; }
.asv-block .asv-lead { max-width: 70ch; }
.asv-note { font-size: .95rem; }

.asv-timeline { position: relative; margin: 22px 0; padding: 0; list-style: none; max-width: 640px; }
.asv-timeline::before { content: ""; position: absolute; left: 70px; top: 10px; bottom: 10px; width: 2px; background: var(--asv-line); }
.asv-timeline__row { position: relative; display: grid; grid-template-columns: 58px 26px 1fr; align-items: center; padding: 6px 0; }
.asv-timeline__time { font: 800 1.2rem/1 var(--asv-display); color: var(--asv-black); }
.asv-timeline__dot { justify-self: center; position: relative; z-index: 1; width: 14px; height: 14px; margin-left: -1px; border-radius: 50%; background: var(--asv-red); border: 2px solid var(--asv-black); }
.asv-timeline__card { margin-left: 10px; padding: 8px 14px; background: #fff; border: 1px solid var(--asv-line); font-size: .96rem; }


.asv-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.asv-services li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--asv-line); font-size: .94rem; font-weight: 500; color: var(--asv-black); }

.asv-infobox { margin-bottom: 44px; background: var(--asv-paper); border-left: 6px solid var(--asv-red); }
.asv-infobox > * { padding-inline: 30px; }
.asv-infobox__head { padding-top: 24px; }
.asv-infobox__title { margin: 0 0 14px; font-size: 1.8rem; }
.asv-infobox__list { margin: 0; padding-bottom: 6px; list-style: none; }
.asv-infobox__list li { display: flex; gap: 12px; padding: 7px 0; font-size: .98rem; line-height: 1.45; color: var(--asv-black); }
.asv-infobox__list li + li { border-top: 1px dashed var(--asv-line); }
.asv-infobox__list .asv-icon { margin-top: 2px; }
.asv-infobox__rules { padding-bottom: 6px; }
.asv-infobox__powers { padding-top: 14px; padding-bottom: 24px; }
.asv-infobox__label { margin: 0 0 10px; font: 700 .78rem/1 var(--asv-body); letter-spacing: .1em; text-transform: uppercase; color: var(--asv-muted); }
.asv-infobox__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding-block: 16px; border-top: 1px solid var(--asv-line); background: rgba(255, 255, 255, .45); }
.asv-infobox__foot p { margin: 0; font-size: .9rem; }

.asv-infobox .asv-powers { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; overflow: visible; }
.asv-infobox .asv-powers li { display: flex; flex-direction: column; padding: 10px 14px; border-right: 1px solid var(--asv-line); border-bottom: 1px solid var(--asv-line); font-size: .88rem; line-height: 1.2; }
.asv-infobox .asv-powers strong { font: 800 1.45rem/1.1 var(--asv-display); }

.asv-rentals { margin: 0; padding: 0; list-style: none; max-width: 640px; }
.asv-rentals li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px dashed var(--asv-line); color: var(--asv-black); }
.asv-rentals small { display: block; font-size: .8rem; color: var(--asv-muted); }
.asv-rentals strong { font: 800 1.4rem/1 var(--asv-display); white-space: nowrap; }
.asv-rentals .is-out { opacity: .5; }

.asv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.asv-chips li { padding: 7px 14px; background: #fff; border: 1px solid var(--asv-line); border-radius: 30px; font-weight: 600; font-size: .9rem; }

.asv-people { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.asv-people li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; background: #fff; border: 1px solid var(--asv-line); border-left: 3px solid var(--asv-team, var(--asv-line)); border-radius: 30px; font-size: .86rem; font-weight: 500; }
.asv-people li.is-referee { border-left-color: var(--asv-red); }
.asv-people__avatar { display: grid; place-items: center; width: 28px; height: 28px; overflow: hidden; border-radius: 50%; background: var(--asv-black); color: var(--asv-red-bright); font: 800 .75rem/1 var(--asv-display); }
.asv-people__avatar img { width: 100%; height: 100%; object-fit: cover; }

.asv-files { margin: 0; padding: 0; list-style: none; }
.asv-files a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font-weight: 600; }

.asv-share__list { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.asv-share__list a, .asv-share__list button { display: grid; place-items: center; width: 38px; height: 38px; background: #fff; border: 1px solid var(--asv-line); border-radius: 50%; color: var(--asv-black); cursor: pointer; }
.asv-share__list a:hover, .asv-share__list button:hover, .asv-share__list .is-copied { background: var(--asv-red); border-color: var(--asv-red); color: #fff; }

.asv-alert { padding: 14px 18px; background: #FBEAEA; border-left: 4px solid var(--asv-alert); }
.asv-video { position: relative; aspect-ratio: 16 / 9; }
.asv-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.asv-mobilebar { display: none; }

@media (max-width: 900px) {
    .asv-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
    .asv-facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
    .asv-detail__titlebar { flex-direction: column-reverse; align-items: flex-start; }
    .asv-datebox { flex-direction: row; gap: 10px; align-items: baseline; padding: 8px 14px; }
    .asv-datebox strong { font-size: 2.2rem; }
    .asv-facts { grid-template-columns: 1fr; }
    .asv-facts li { padding: 0; border-left: 0 !important; }
    .asv-infobox > * { padding-inline: 18px; }
    .asv-infobox__foot .asv-btn { width: 100%; }
    .asv-timeline::before { left: 62px; }
    .asv-timeline__row { grid-template-columns: 50px 26px 1fr; }
    .asv-mobilebar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; justify-content: space-between; align-items: center;
        padding: 10px var(--asv-gutter); background: var(--asv-black); color: #fff; box-shadow: 0 -8px 24px rgba(0, 0, 0, .2);
    }
    .asv-mobilebar__price { font: 800 1.7rem/1 var(--asv-display); color: var(--asv-red-bright); }
    body:has(.asv-mobilebar) .asv-footer { padding-bottom: 70px; }
}

/* Normas
   ========================================================================== */

.asv-rulespage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: clamp(32px, 5vw, 72px); }
.asv-rulelist { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--asv-black); }
.asv-rule { display: grid; grid-template-columns: 38px 58px minmax(0, 1fr); align-items: start; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--asv-line); }
.asv-rule__num { padding-top: 14px; font: 800 1.1rem/1 var(--asv-display); color: var(--asv-muted); }
.asv-rule__icon { display: grid; place-items: center; width: 58px; height: 58px; background: var(--asv-red); color: #fff; }
.asv-rule__title { margin: 4px 0 6px; font-size: 1.6rem; }
.asv-rule p { margin: 0; color: var(--asv-ink); }
.asv-rulespage__powers { position: sticky; top: calc(var(--asv-header-h) + 24px); padding: clamp(22px, 3vw, 32px); background: var(--asv-black) var(--asv-grain); color: #EDE9E0; }
.asv-rulespage__powers .asv-block__title { color: #fff; }
.asv-rulespage__powers .asv-powers__note { color: #A8A396; }
.asv-badges--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.asv-badges--grid li { flex-direction: row; gap: 12px; padding: 12px; background: #1F1E1B; color: var(--asv-red-bright); text-align: left; }
.asv-badges--grid span { color: #fff; }
.asv-notice { display: flex; align-items: center; gap: 18px; margin: clamp(36px, 5vw, 56px) 0 0; padding: 22px 26px; background: var(--asv-red); color: #fff; }
.asv-notice strong { color: #fff; }
.asv-notice .asv-icon { flex: none; }
@media (max-width: 960px) {
    .asv-rulespage { grid-template-columns: minmax(0, 1fr); }
    .asv-rulespage__powers { position: static; }
}
@media (max-width: 480px) {
    .asv-rule { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
    .asv-rule__num { display: none; }
    .asv-rule__icon { width: 48px; height: 48px; }
    .asv-badges--grid { grid-template-columns: minmax(0, 1fr); }
}

/* Galería, contacto y páginas de texto
   ========================================================================== */

.asv-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.asv-gallery__item { display: block; aspect-ratio: 1; overflow: hidden; background: var(--asv-card); }
.asv-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.asv-gallery__item:hover img { transform: scale(1.05); }
@media (max-width: 560px) { .asv-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

.asv-lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(17, 17, 16, .95); }
.asv-lightbox[open] { display: grid; place-items: center; }
.asv-lightbox::backdrop { background: transparent; }
.asv-lightbox__img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.asv-lightbox__close, .asv-lightbox__nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; background: rgba(255, 255, 255, .1); border: 0; color: #fff; cursor: pointer; }
.asv-lightbox__close:hover, .asv-lightbox__nav:hover { background: var(--asv-red); color: #fff; }
.asv-lightbox__close { top: 18px; right: 18px; }
.asv-lightbox__nav--prev { left: 18px; top: 50%; translate: 0 -50%; }
.asv-lightbox__nav--next { right: 18px; top: 50%; translate: 0 -50%; }

.asv-contactgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.asv-contact { margin: 0 0 20px; padding: 0; list-style: none; }
.asv-contact li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--asv-line); font-weight: 600; color: var(--asv-black); }
.asv-contact a { text-decoration: none; }
.asv-contact a:hover { text-decoration: underline; }
.asv-contactside .asv-social { margin-bottom: 28px; }
.asv-formcard { padding: clamp(24px, 3vw, 36px); background: #fff; border-top: 6px solid var(--asv-red); }
.asv-formcard--dark { background: var(--asv-black) var(--asv-grain); color: rgba(255, 255, 255, .8); }
.asv-formcard--dark .asv-block__title { color: #fff; }
@media (max-width: 860px) { .asv-contactgrid { grid-template-columns: minmax(0, 1fr); } }

.asv-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.asv-form__row { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.asv-form__row--wide, .asv-form__row--check, .asv-form__actions, .asv-form__notice { grid-column: 1 / -1; }
.asv-form label { color: var(--asv-black); font: 600 .78rem/1.2 var(--asv-body); letter-spacing: .06em; text-transform: uppercase; }
.asv-form input:not([type="checkbox"]), .asv-form select, .asv-form textarea {
    width: 100%; min-height: 48px; padding: 11px 14px; background: var(--asv-cream); border: 1px solid var(--asv-line); border-radius: 0;
    font: 400 1rem/1.3 var(--asv-body); color: var(--asv-black);
}
.asv-form textarea { resize: vertical; min-height: 120px; }
.asv-form input:focus, .asv-form select:focus, .asv-form textarea:focus { outline: none; border-color: var(--asv-red); box-shadow: 0 0 0 3px rgba(224, 27, 34, .28); }
.asv-form__req { color: var(--asv-alert); }
.asv-form__row--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.asv-form__row--check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--asv-black); }
.asv-form__row--check label { font: 400 .88rem/1.45 var(--asv-body); letter-spacing: 0; text-transform: none; }
.asv-form__row--check a { text-decoration: underline; }
.asv-form__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.asv-form__notice { margin: 0; padding: 12px 16px; font-weight: 600; }
.asv-form__notice--ok { background: #E6F4EA; color: #14532D; border-left: 4px solid #1F7A44; }
.asv-form__notice--error { background: #FBEAEA; color: #9E1F1B; }
.asv-formcard--dark .asv-form label { color: #fff; }
.asv-formcard--dark .asv-form input:not([type="checkbox"]), .asv-formcard--dark .asv-form select, .asv-formcard--dark .asv-form textarea { background: #fff; border-color: transparent; }
.asv-formcard--dark .asv-form__row--check label, .asv-formcard--dark .plairsoft-lead-consent label { color: rgba(255, 255, 255, .85); }
.asv-formcard--dark .asv-form__row--check input, .asv-formcard--dark .plairsoft-lead-consent input { accent-color: var(--asv-red); }
.asv-formcard--dark .asv-btn { --asv-fill: var(--asv-red); --asv-border: var(--asv-red); --asv-ink-btn: #fff; }
@media (max-width: 560px) { .asv-form { grid-template-columns: 1fr; } }

.plairsoft-lead-consent { display: flex; align-items: flex-start; gap: 10px; }
.plairsoft-lead-consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--asv-black); }
.plairsoft-lead-consent label { font: 400 .85rem/1.45 var(--asv-body) !important; letter-spacing: 0 !important; text-transform: none !important; }
.plairsoft-lead-consent__optional { opacity: .6; font-size: .78rem; }

.asv-social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.asv-social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--asv-black); transition: background-color .18s, transform .18s; }
.asv-social a:hover { background: var(--asv-red); color: #fff; transform: rotate(-6deg); }

.asv-prose { font-size: 1.02rem; color: var(--asv-ink); }
.asv-prose h2, .asv-prose h3 { margin: 1.6em 0 .5em; }
.asv-prose h2 { font-size: 2rem; }
.asv-prose h3 { font-size: 1.5rem; }
.asv-prose ul, .asv-prose ol { padding-left: 1.2em; }

.asv-404 { padding-block: clamp(70px, 12vw, 140px); background: var(--asv-red); color: #fff; }
.asv-404__code { margin: 0 0 10px; font: 900 clamp(7rem, 22vw, 14rem)/.8 var(--asv-display); color: #fff; letter-spacing: -.02em; }
.asv-404 .asv-title { color: #fff; }
.asv-404 .asv-lead { color: rgba(255, 255, 255, .88); }
.asv-404 .asv-lead { margin-inline: auto; }

/* Pie
   ========================================================================== */

.asv-footer { position: relative; isolation: isolate; overflow: hidden; background: #000; color: #BEBAB2; }
/* Capa de fondo: la textura de Normas, muy tenue y entrando fundida desde arriba
   para que no se vea la linea donde arranca respecto a la seccion anterior. */
.asv-footer::after {
    content: ""; position: absolute; z-index: -2; inset: 0; pointer-events: none;
    background: url("../img/normas-fondo.webp") center / cover no-repeat; opacity: .16;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .5) 14%, #000 34%);
    mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .5) 14%, #000 34%);
}
/* La foto va arriba, a sangre, y se disuelve hacia abajo en el negro */
.asv-footer::before {
    content: ""; position: absolute; z-index: -1; inset: 0;
    background: url("../img/footer-fondo.webp") center top / cover no-repeat; opacity: .8;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 58%, transparent 92%);
    mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 58%, transparent 92%);
}
.asv-footer__main {
    position: relative; display: grid; align-items: start;
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, .82fr));
    gap: clamp(26px, 3vw, 48px); padding-block: clamp(44px, 5.5vw, 76px) clamp(36px, 4.5vw, 60px);
}
.asv-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.asv-brand--footer { align-items: center; }
.asv-brand--footer .asv-brand__img { width: 104px; margin: 0; filter: none; }
.asv-footer__claim {
    position: relative; max-width: 22ch; margin: 0; color: #9E9A93;
    font: 700 .74rem/1.5 var(--asv-body); letter-spacing: .16em; text-transform: uppercase;
}
.asv-footer__stroke { display: block; width: 92px; height: auto; margin-top: 6px; color: var(--asv-red-bright); }

.asv-footer__col { min-width: 0; }
.asv-footer__col .asv-eyebrow { margin-bottom: 20px; }
.asv-footer__links, .asv-footer__social { display: flex; flex-direction: column; gap: 11px; margin: 0; padding: 0; list-style: none; }
.asv-footer__links a { color: #D8D4CD; text-decoration: none; font-size: .92rem; transition: color .15s; }
.asv-footer__links a:hover, .asv-footer__links .current-menu-item a { color: var(--asv-red-bright); }
.asv-footer__social a { display: inline-flex; align-items: center; gap: 12px; color: #D8D4CD; text-decoration: none; font-size: .92rem; transition: color .15s; }
.asv-footer__social a:hover { color: #fff; }
.asv-footer__social-icon {
    display: grid; place-items: center; width: 34px; height: 34px; flex: none;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 9px; color: #fff; transition: background-color .18s, border-color .18s;
}
.asv-footer__social a:hover .asv-footer__social-icon { background: var(--asv-red); border-color: var(--asv-red); }
.asv-footer__talk { margin: 0 0 20px; max-width: 26ch; font-size: .88rem; line-height: 1.55; color: #B4AFA8; }
.asv-footer__col--talk .asv-btn { --asv-border: rgba(255, 255, 255, .35); }

.asv-scribble--footer {
    position: relative; justify-self: end; align-self: center;
    margin: 0; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
    font-size: clamp(1.4rem, 2.1vw, 2rem); transform: rotate(-9deg);
}
.asv-scribble--footer .asv-scribble__stroke { color: var(--asv-red-bright); }
@media (min-width: 1120px) {
    .asv-footer__main:has(.asv-scribble--footer) { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, .78fr)) minmax(0, .82fr); }
}

.asv-footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-block: 18px 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .78rem; }
.asv-footer__bottom p { margin: 0; }
.asv-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.asv-footer__legal a { text-decoration: none; }
.asv-footer__legal a:hover { color: var(--asv-red-bright); }
.asv-powered { display: inline-flex; align-items: center; gap: 8px; color: #8D8980; text-decoration: none; font: 700 .62rem/1 var(--asv-body); letter-spacing: .08em; text-transform: uppercase; }
.asv-powered:hover { color: #fff; }
.asv-plairsoft-logo { width: 78px; height: auto; display: block; }
.asv-footer .asv-plairsoft-logo path { fill: currentColor; }
@media (max-width: 1119px) {
    .asv-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .asv-scribble--footer { justify-self: start; margin-top: 10px; }
}
@media (max-width: 620px) {
    .asv-footer__main { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .asv-footer__bottom { flex-direction: column; text-align: center; }
    .asv-footer__legal { justify-content: center; }
}
@media (max-width: 860px) {
    .asv-footer__main { flex-direction: column; text-align: center; }
    .asv-footer__bottom { flex-direction: column; text-align: center; }
    .asv-footer__legal { justify-content: center; margin-right: 0 !important; }
}


/* Aviso de cookies
   ========================================================================== */

.asv-cookies {
    position: fixed; z-index: 200; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-inline: auto;
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px 20px;
    background: var(--asv-dark) var(--asv-concrete-dark); color: #E6E2DB; border-top: 4px solid var(--asv-red); border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35); font-size: .88rem; line-height: 1.5;
}
.asv-cookies p { flex: 1 1 260px; margin: 0; }
.asv-cookies strong { color: #fff; }
.asv-cookies a { color: var(--asv-red-bright); }
.asv-cookies__actions { display: flex; gap: 10px; }
.asv-cookies .asv-btn--line { --asv-fill: transparent; --asv-border: rgba(255, 255, 255, .5); --asv-ink-btn: #fff; box-shadow: none; }
.asv-cookies .asv-btn--line:hover { --asv-fill: #fff; --asv-ink-btn: var(--asv-black); }

/* Tablas de los textos legales */
.asv-prose .wp-block-table { margin: 1.4em 0; overflow-x: auto; }
.asv-prose table { width: 100%; border-collapse: collapse; background: #fff; font-size: .9rem; }
.asv-prose th { background: var(--asv-black); color: var(--asv-red-bright); text-align: left; font: 700 .72rem/1.2 var(--asv-body); letter-spacing: .06em; text-transform: uppercase; }
.asv-prose th, .asv-prose td { padding: 10px 14px; border-bottom: 1px solid var(--asv-line); vertical-align: top; }
.asv-prose code { font-size: .85em; background: var(--asv-paper); padding: 1px 5px; border-radius: 3px; white-space: nowrap; }
.asv-prose h2 { scroll-margin-top: calc(var(--asv-header-h) + 20px); }

/* Ficha de partida · servicios, información importante y escuadra
   ========================================================================== */

.asv-services { gap: 10px 18px; }
.asv-services li { gap: 12px; padding: 6px 0; border-bottom: 0; font-weight: 600; }
.asv-services__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--asv-radius); background: var(--asv-black); color: var(--asv-red-bright); }
.asv-services__icon svg, .asv-services__icon img { width: 20px; height: 20px; }
/* Si el icono no se puede leer como SVG, la imagen se tiñe de rojo para que se vea sobre negro */
.asv-services__icon img { filter: brightness(0) saturate(100%) invert(38%) sepia(88%) saturate(4500%) hue-rotate(347deg) brightness(102%) contrast(96%); }

.asv-infobox { position: relative; margin-bottom: 44px; overflow: hidden; background: var(--asv-dark) var(--asv-concrete-dark); border: 0; border-radius: 6px; color: #D9D5CE; }
.asv-infobox::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--asv-red) 0 14px, var(--asv-black) 14px 28px); }
.asv-infobox > * { padding-inline: clamp(20px, 3vw, 32px); }
.asv-infobox__head { display: flex; align-items: center; gap: 14px; padding-top: 30px; margin-bottom: 18px; }
.asv-infobox__badge { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--asv-radius); background: var(--asv-red); color: #fff; }
.asv-infobox__title { margin: 0; color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
.asv-infobox__list { margin: 0 0 8px; padding-bottom: 8px; list-style: none; counter-reset: asvnote; }
.asv-infobox__list li { counter-increment: asvnote; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; font-size: .98rem; line-height: 1.5; color: #EDE9E0; }
.asv-infobox__list li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.asv-infobox__list li::before { content: counter(asvnote, decimal-leading-zero); color: var(--asv-red-bright); font: 800 1.2rem/1.2 var(--asv-display); }
.asv-infobox__rules { color: #D9D5CE; }
.asv-infobox__powers { padding-top: 12px; padding-bottom: 28px; }
.asv-infobox__label { margin: 0 0 12px; color: var(--asv-red-bright); font: 800 .78rem/1 var(--asv-body); letter-spacing: .12em; text-transform: uppercase; }
.asv-joules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 4px 40px; margin: 0; padding: 0; list-style: none; }
.asv-joules li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 8px 12px; padding: 10px 0 12px; }
.asv-joules__name { color: #EDE9E0; font: 700 .86rem/1.25 var(--asv-body); letter-spacing: .04em; text-transform: uppercase; }
.asv-joules__val { color: #fff; font: 800 1.6rem/1 var(--asv-display); white-space: nowrap; }
.asv-joules__val small { margin-left: 3px; color: var(--asv-red-bright); font-size: .6em; }
.asv-joules__bar { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.asv-joules__bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--asv-pct, 100%); background: var(--asv-red); border-radius: inherit; }
.asv-infobox__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding-block: 16px; border-top: 0; background: var(--asv-red); }
.asv-infobox__foot p { margin: 0; color: #fff; font-weight: 600; font-size: .9rem; }
@media (max-width: 600px) { .asv-infobox__foot .asv-btn { width: 100%; } }

.asv-chips li.asv-chip--team { display: inline-flex; align-items: center; gap: 8px; background: var(--asv-black); border-color: var(--asv-black); color: #fff; border-radius: var(--asv-radius); font: 700 .95rem/1 var(--asv-display); text-transform: uppercase; letter-spacing: .03em; }
.asv-chip--team::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--asv-team); box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }

.asv-squad__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 18px; }
.asv-squad__head .asv-block__title { margin: 0; }
.asv-squad__count { margin: 0; font: 600 .9rem/1 var(--asv-body); color: var(--asv-grey); }
.asv-squad__count strong { font: 800 1.6rem/1 var(--asv-display); }
.asv-roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.asv-roster__item, .asv-roster__item > a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
.asv-roster__item { padding: 18px 10px 14px; background: #1B1B1A var(--asv-concrete-dark); border-radius: 6px; border-bottom: 3px solid var(--asv-team, rgba(255, 255, 255, .12)); text-align: center; transition: transform .2s, background-color .2s; }
.asv-roster__item:hover { transform: translateY(-3px); }
.asv-roster__avatar { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 50%; background: #3A3935; color: var(--asv-red-bright); border: 3px solid #2C2B28; box-shadow: 0 0 0 2px rgba(255, 255, 255, .06); font: 800 1.2rem/1 var(--asv-display); }
.asv-roster__avatar img { width: 100%; height: 100%; object-fit: cover; }
.asv-roster__name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font: 700 1.02rem/1.1 var(--asv-display); text-transform: uppercase; letter-spacing: .02em; }
.asv-roster__tag { padding: 3px 8px; border-radius: 2px; background: rgba(255, 255, 255, .08); color: #BDB8AE; font: 700 .64rem/1 var(--asv-body); letter-spacing: .08em; text-transform: uppercase; }
.asv-roster__tag--team { background: var(--asv-team); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.asv-roster__item.is-referee { background: var(--asv-red); border-bottom-color: var(--asv-black); }
.asv-roster__item.is-referee .asv-roster__avatar { border-color: var(--asv-black); background: var(--asv-black); }
.asv-roster__item.is-referee .asv-roster__name { color: #fff; }
.asv-roster__item.is-referee .asv-roster__tag { background: var(--asv-black); color: var(--asv-red-bright); }
.asv-roster__item--free { padding: 0; background: transparent; border: 2px dashed #BDB6A8; }
.asv-roster__item--free > a { width: 100%; height: 100%; padding: 16px 10px 12px; }
.asv-roster__item--free .asv-roster__avatar { background: transparent; border: 2px dashed #A9A294; box-shadow: none; color: var(--asv-black); }
.asv-roster__item--free .asv-roster__name { color: var(--asv-black); }
.asv-roster__item--free .asv-roster__tag { background: var(--asv-black); color: var(--asv-red-bright); }
.asv-roster__item--free:hover { border-color: var(--asv-red); background: var(--asv-red); }
.asv-roster__item--free:hover .asv-roster__name, .asv-roster__item--free:hover .asv-roster__avatar { color: #fff; border-color: #fff; }
@media (max-width: 520px) {
    .asv-roster { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .asv-roster__item { padding: 12px 6px 10px; gap: 6px; }
    .asv-roster__avatar { width: 48px; height: 48px; border-width: 2px; font-size: 1rem; }
    .asv-roster__name { font-size: .82rem; }
    .asv-roster__tag { font-size: .56rem; padding: 2px 5px; }
}

.asv-detail__head { padding-top: 52px; }
@media (max-width: 460px) { .asv-detail__head { padding-top: 40px; } }

/* Normas con icono 3D */
.asv-rule { align-items: center; }
.asv-rule:has(.asv-rule__img) { grid-template-columns: 38px 104px minmax(0, 1fr); }
.asv-rule__img { width: 104px; height: 96px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .2)); transition: transform .3s; }
.asv-rule:hover .asv-rule__img { transform: rotate(-4deg) scale(1.05); }
.asv-rule__num { padding-top: 0; }
@media (max-width: 480px) {
    .asv-rule:has(.asv-rule__img) { grid-template-columns: 76px minmax(0, 1fr); }
    .asv-rule__img { width: 76px; height: 70px; }
}

/* Modal de reserva y "Mis partidas" del plugin, con los colores del campo
   ========================================================================== */

.plairsoft-booking-modal, .plairsoft-modal { font-family: var(--asv-body); border-radius: 0; }
.plairsoft-booking-modal__header, .plairsoft-modal__header { background: var(--asv-red); color: #fff; }
.plairsoft-booking-modal__header h3, .plairsoft-modal__header h3 { color: #fff; font-family: var(--asv-display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; font-size: 1.5rem; }
.plairsoft-booking-modal__close, .plairsoft-modal__close {
    display: grid !important; place-items: center; padding: 0 !important;
    background: var(--asv-black) !important; color: var(--asv-red-bright) !important; border: 0 !important; border-radius: 0 !important;
    font-size: 22px !important; line-height: 1 !important; cursor: pointer;
}
.plairsoft-booking-modal__close:hover, .plairsoft-modal__close:hover { background: #2A2926 !important; }
.plairsoft-booking-step--active { color: var(--asv-black); }
.plairsoft-booking-step--active .plairsoft-booking-step__num { background: var(--asv-red); color: #fff; }
.plairsoft-booking-btn--primary { background: var(--asv-black); color: #fff; border-radius: 0; font-family: var(--asv-display); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.plairsoft-booking-btn--primary:hover:not(:disabled) { background: #2A2926; opacity: 1; }
.plairsoft-booking-btn--secondary { border-radius: 0; font-family: var(--asv-display); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.plairsoft-booking-product:hover, .plairsoft-booking-option:hover { border-color: var(--asv-black); }
.plairsoft-booking-product--selected, .plairsoft-booking-option--selected { border-color: var(--asv-black); background: #FDECEC; }
.plairsoft-booking-product input, .plairsoft-booking-option input { accent-color: var(--asv-black); }
.plairsoft-booking-product__price { color: var(--asv-black); font-weight: 700; }
.plairsoft-booking-form input:focus { border-color: var(--asv-black); }
.plairsoft-booking-modal a, .plairsoft-booking-policy__item button { color: var(--asv-black); }
.plairsoft-booking-price { background: var(--asv-cream); }


/* Contacto
   ========================================================================== */

.asv-talk {
    position: relative; isolation: isolate; overflow: hidden;
    padding-block: clamp(48px, 6vw, 88px);
    background: #F7F5F1 var(--asv-grain);
    color: var(--asv-grey);
}
.asv-slashes--talk { z-index: 0; }
.asv-talk__grid {
    position: relative; z-index: 2; display: grid; align-items: start;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 64px);
}

/* Canales: bloques grandes, no una lista de texto */
.asv-channels { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.asv-channels a {
    display: flex; align-items: center; gap: 16px; padding: 16px 18px;
    background: #fff; border: 1px solid var(--asv-line);
    color: var(--asv-black); text-decoration: none; transition: background-color .18s, border-color .18s, transform .18s;
}
.asv-channels a:hover { border-color: var(--asv-red); transform: translateX(3px); }
.asv-channels__icon {
    display: grid; place-items: center; width: 46px; height: 46px; flex: none;
    background: var(--asv-red); color: #fff; border-radius: var(--asv-radius);
}
.asv-channels small { display: block; color: var(--asv-muted); font: 700 .68rem/1 var(--asv-body); letter-spacing: .16em; text-transform: uppercase; }
.asv-channels strong { display: block; margin-top: 5px; color: var(--asv-black); font: 700 1.02rem/1.2 var(--asv-display); letter-spacing: .02em; }
.asv-social--talk { margin-bottom: 28px; }
.asv-social--talk a { color: var(--asv-black); border: 1px solid var(--asv-line); background: #fff; }
.asv-social--talk a:hover { color: #fff; background: var(--asv-red); border-color: var(--asv-red); }

.asv-talk__note { padding: 22px 24px; background: var(--asv-paper); border-left: 4px solid var(--asv-red); }
.asv-talk__note-title { margin: 0 0 10px; color: var(--asv-black); font-size: 1.5rem; }
.asv-talk__note p { margin: 0; font-size: .92rem; line-height: 1.55; }

/* Panel del formulario con pestañas */
.asv-talk__panel { background: #fff; border: 1px solid var(--asv-line); }
.asv-tabs { display: flex; border-bottom: 1px solid var(--asv-line); }
.asv-tabs__btn {
    flex: 1; padding: 18px 16px; background: none; border: 0; border-bottom: 3px solid transparent;
    color: var(--asv-muted); font: 700 1rem/1 var(--asv-display); letter-spacing: .05em; text-transform: uppercase;
    cursor: pointer; transition: color .18s, border-color .18s, background-color .18s;
}
.asv-tabs__btn:hover { color: var(--asv-black); background: rgba(0, 0, 0, .03); }
.asv-tabs__btn.is-active { color: var(--asv-black); border-bottom-color: var(--asv-red); }
.asv-tabs__panel { padding: clamp(22px, 3vw, 34px); }
/* Sin JS se ven los dos, con su titulo; con JS manda la pestaña activa */
.js .asv-tabs__panel { display: none; }
.js .asv-tabs__panel.is-active { display: block; }

/* Campos sobre fondo oscuro */
.asv-talk .asv-form label { color: var(--asv-black); }
.asv-talk .asv-form input:not([type="checkbox"]), .asv-talk .asv-form select, .asv-talk .asv-form textarea {
    background: var(--asv-cream); border-color: var(--asv-line); color: var(--asv-black);
}
.asv-talk .asv-form input:focus, .asv-talk .asv-form select:focus, .asv-talk .asv-form textarea:focus {
    border-color: var(--asv-red); box-shadow: 0 0 0 3px rgba(224, 27, 34, .25);
}

.asv-talk .asv-form__row--check label, .asv-talk .plairsoft-lead-consent label { color: var(--asv-grey); }
.asv-talk .asv-form__row--check input, .asv-talk .plairsoft-lead-consent input { accent-color: var(--asv-red); }
.asv-talk .asv-form__row--check a { color: var(--asv-black); }
.asv-talk .asv-form .asv-btn { --asv-fill: var(--asv-red); --asv-border: var(--asv-red); --asv-ink-btn: #fff; }
.asv-talk .asv-form .asv-btn:hover { --asv-fill: #F22A31; --asv-border: #F22A31; }


@media (max-width: 900px) {
    .asv-talk__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
    .asv-tabs__btn { font-size: .86rem; padding: 15px 8px; }
}


/* Normas (pagina)
   ========================================================================== */

.asv-rulesdoc {
    position: relative; isolation: isolate; overflow: hidden;
    padding-block: clamp(44px, 5.5vw, 76px);
    background: #F7F5F1 var(--asv-grain);
}
.asv-rulecards {
    position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0; margin: 0; padding: 0; list-style: none;
}
.asv-rulecard { position: relative; padding: 30px 30px 34px; }
/* Separadores finos entre celdas, como en el diseno */
.asv-rulecard:not(:nth-child(4n + 1))::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: #DCD7CC; }
.asv-rulecard:nth-child(n + 5)::after { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 1px; background: #DCD7CC; }
.asv-rulecard__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; min-height: 52px; }
.asv-rulecard__num { color: var(--asv-red); font: 400 1.9rem/1 var(--asv-hand); letter-spacing: .02em; }
.asv-rulecard__icon { display: block; width: auto; max-width: 84px; height: 44px; object-fit: contain; object-position: left center; }
.asv-rulecard__icon--line { display: grid; place-items: center; width: 46px; height: 46px; color: var(--asv-black); }
.asv-rulecard__title { margin: 0 0 9px; max-width: 16ch; color: var(--asv-black); font-size: 1.08rem; letter-spacing: .01em; }
.asv-rulecard p { margin: 0; color: var(--asv-grey); font-size: .89rem; line-height: 1.55; }
.asv-rulecard p strong { color: var(--asv-black); }
@media (max-width: 1080px) {
    .asv-rulecards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .asv-rulecard::before, .asv-rulecard::after { content: none; }
    .asv-rulecard:not(:nth-child(3n + 1))::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: #DCD7CC; }
    .asv-rulecard:nth-child(n + 4)::after { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 1px; background: #DCD7CC; }
}
@media (max-width: 760px) {
    .asv-rulecards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .asv-rulecard { padding: 24px 18px 28px; }
    .asv-rulecard::before, .asv-rulecard::after { content: none; }
    .asv-rulecard:not(:nth-child(2n + 1))::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: #DCD7CC; }
    .asv-rulecard:nth-child(n + 3)::after { content: ""; position: absolute; left: 10px; right: 10px; top: 0; height: 1px; background: #DCD7CC; }
}
@media (max-width: 440px) {
    .asv-rulecards { grid-template-columns: minmax(0, 1fr); }
    .asv-rulecard::before { content: none; }
}

/* Potencias: tabla oscura sobre papel rasgado */
.asv-powerblock { background: #000 url("../img/normas-fondo.webp") center / cover no-repeat; }
.asv-powerpaper {
    position: relative; margin-inline: auto; max-width: 860px;
    padding: clamp(26px, 3.4vw, 46px) clamp(22px, 3vw, 42px) clamp(24px, 3vw, 40px);
    background: #F5F2EB var(--asv-concrete);
    -webkit-mask: var(--asv-mask-torn) 0 0 / 100% 100% no-repeat;
    mask: var(--asv-mask-torn) 0 0 / 100% 100% no-repeat;
    /* drop-shadow y no box-shadow: sigue la silueta rasgada de la mascara */
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .18));
}
.asv-powerpaper__title { margin: 0 0 20px; color: var(--asv-red); font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.asv-powertable { width: 100%; border-collapse: collapse; background: #121110; color: #E7E3DC; font-size: .95rem; }
.asv-powertable th, .asv-powertable td { padding: 12px 18px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.asv-powertable thead th { background: #000; color: #fff; font: 800 .74rem/1 var(--asv-body); letter-spacing: .12em; text-transform: uppercase; }
.asv-powertable thead th:not(:first-child), .asv-powertable td:not(:first-child) { text-align: center; }
.asv-powertable tbody tr:last-child > * { border-bottom: 0; }
.asv-powertable .is-banned > * { color: #FF6B5E; font-weight: 700; }
.asv-powerpaper .asv-powers__note { margin: 14px 0 0; color: var(--asv-grey); font-size: .84rem; }

/* Cierre de Normas: va dentro del propio papel */
.asv-badges--paper { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; margin: clamp(26px, 3.4vw, 40px) 0 0; padding-top: clamp(24px, 3vw, 34px); border-top: 1px solid #CFC8B9; }
.asv-badges--paper li { color: var(--asv-black); }
.asv-badges--paper .asv-icon { color: var(--asv-black); }
.asv-warn {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin: clamp(24px, 3vw, 34px) auto 0; width: fit-content; max-width: 100%; padding: 16px 28px;
    border: 2px solid var(--asv-red); color: var(--asv-red);
    font: 600 .96rem/1.5 var(--asv-body); text-align: center;
}
.asv-warn .asv-icon { flex: none; }
@media (min-width: 720px) { .asv-warn span { white-space: nowrap; } }
.asv-thanks { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px 24px; margin: clamp(22px, 3vw, 34px) 0 0; }
.asv-thanks strong { color: var(--asv-red); font: 400 clamp(1.6rem, 3.2vw, 2.3rem)/1 var(--asv-hand); text-transform: uppercase; }
.asv-thanks em { color: var(--asv-black); font: 400 clamp(1.1rem, 2vw, 1.5rem)/1 var(--asv-hand); font-style: normal; }

/* Galeria: mientras no haya fotos, el video del campo, con reproductor propio */
.asv-player { --asv-seek: 0%; --asv-buffer: 0%; position: relative; margin: 0; overflow: hidden; background: #0C0B0A; border-radius: var(--asv-radius); color: #fff; user-select: none; }
.asv-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #0C0B0A; cursor: pointer; }
.asv-player__grain { inset: 0; opacity: .35; transition: opacity .3s; }
.asv-player.is-started .asv-player__grain { opacity: .15; }
/* Velo de portada: oscurece los bordes para que el botón se lea sobre cualquier fotograma */
.asv-player::after { content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .1) 0, rgba(0, 0, 0, .6) 100%); transition: opacity .3s; }
.asv-player.is-started::after { opacity: 0; }

.asv-player__big { position: absolute; z-index: 3; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; transform: translate(-50%, -50%); transition: opacity .25s, transform .25s; }
.asv-player__bigicon { position: relative; display: grid; place-items: center; width: clamp(76px, 9vw, 108px); aspect-ratio: 1; border-radius: 50%; background: var(--asv-red); box-shadow: 0 10px 40px rgba(0, 0, 0, .45); transition: transform .2s, background-color .2s; }
.asv-player__bigicon .asv-icon { width: 38%; height: 38%; margin-left: 7%; }
/* Onda que late alrededor del botón */
.asv-player__bigicon::before { content: ""; position: absolute; inset: -10px; border: 2px solid rgba(224, 27, 34, .8); border-radius: 50%; animation: asv-pulse 2.2s ease-out infinite; }
.asv-player__big:hover .asv-player__bigicon, .asv-player__big:focus-visible .asv-player__bigicon { transform: scale(1.08); background: var(--asv-red-deep); }
.asv-player__big:focus-visible { outline: none; }
.asv-player__big:focus-visible .asv-player__bigicon { outline: 3px solid #fff; outline-offset: 6px; }
.asv-player__bigtime { padding: 6px 10px; border-radius: var(--asv-radius); background: rgba(0, 0, 0, .65); font: 800 .95rem/1 var(--asv-display); letter-spacing: .08em; }
.asv-player__bigtime:empty { display: none; }
.asv-player.is-playing .asv-player__big { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.85); }
@keyframes asv-pulse { from { transform: scale(.92); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

.asv-player__bar { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: clamp(6px, 1.2vw, 14px); padding: 48px clamp(10px, 2vw, 22px) clamp(8px, 1.4vw, 16px); background: linear-gradient(transparent, rgba(0, 0, 0, .85)); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; }
.asv-player.is-started .asv-player__bar { opacity: 1; visibility: visible; transform: none; }
.asv-player.is-idle .asv-player__bar { opacity: 0; visibility: hidden; transform: translateY(8px); }
.asv-player.is-idle { cursor: none; }
.asv-player__btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--asv-radius); background: transparent; color: #fff; cursor: pointer; transition: background-color .2s; }
.asv-player__btn:hover, .asv-player__btn:focus-visible { background: var(--asv-red); outline: none; }
.asv-player__btn .is-pause, .asv-player__btn .is-off, .asv-player__btn .is-compress { display: none; }
.asv-player.is-playing [data-asv-toggle] .is-play { display: none; }
.asv-player.is-playing [data-asv-toggle] .is-pause { display: block; }
.asv-player.is-muted [data-asv-mute] .is-on { display: none; }
.asv-player.is-muted [data-asv-mute] .is-off { display: block; }
.asv-player.is-full [data-asv-full] .is-expand { display: none; }
.asv-player.is-full [data-asv-full] .is-compress { display: block; }
.asv-player__time { flex: none; color: rgba(255, 255, 255, .6); font: 700 .95rem/1 var(--asv-display); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.asv-player__time [data-asv-current] { color: #fff; }

/* Progreso: reproducido en rojo, cargado en gris claro; el tirador crece al pasar */
.asv-player__seek { flex: 1; min-width: 60px; height: 22px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.asv-player__seek::-webkit-slider-runnable-track { height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--asv-red) var(--asv-seek), rgba(255, 255, 255, .45) var(--asv-seek) var(--asv-buffer), rgba(255, 255, 255, .2) var(--asv-buffer)); }
.asv-player__seek::-moz-range-track { height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--asv-red) var(--asv-seek), rgba(255, 255, 255, .45) var(--asv-seek) var(--asv-buffer), rgba(255, 255, 255, .2) var(--asv-buffer)); }
.asv-player__seek::-webkit-slider-thumb { width: 15px; height: 15px; margin-top: -5px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(224, 27, 34, .9); transform: scale(.7); transition: transform .15s; -webkit-appearance: none; appearance: none; }
.asv-player__seek::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(224, 27, 34, .9); transform: scale(.7); transition: transform .15s; }
.asv-player__seek:hover::-webkit-slider-thumb, .asv-player__seek:focus-visible::-webkit-slider-thumb { transform: scale(1); }
.asv-player__seek:hover::-moz-range-thumb, .asv-player__seek:focus-visible::-moz-range-thumb { transform: scale(1); }
.asv-player__seek:focus-visible { outline: none; }

.asv-player.is-full { display: flex; align-items: center; border-radius: 0; }
.asv-player.is-full video { height: 100%; aspect-ratio: auto; object-fit: contain; }
@media (max-width: 600px) {
    .asv-player__time { font-size: .82rem; }
    .asv-player__btn { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .asv-player__bigicon::before { animation: none; opacity: 0; } }
