/* ========================================================================
   Top 10 Ticker (H4.3) — CSS base
   Banda con 5 layers visuales: gradient horizontal + bordes fade dark
   + hairline shine + accent vertical + contenido centrado.
   Ref: docs/superpowers/specs/2026-05-19-top10-ticker-h43-design.md §3.5
   ======================================================================== */

:root {
    --t10-green: #00A859;
    --t10-green-bright: #2bd97c;
    --t10-emerald: #047857;
    --t10-gold-soft: #e8c468;
    --t10-bg-dark: #0F1320;
    --t10-text-primary: #f5f5f0;
    --t10-text-secondary: rgba(245,245,240,0.72);
    --t10-text-muted: rgba(245,245,240,0.5);
    --t10-border-soft: rgba(245,245,240,0.08);
    --t10-border-strong: rgba(245,245,240,0.16);
    --t10-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --t10-bleed: 24px;
}

/* === Container =========================================================== */
.dh-ticker {
    container-type: inline-size;
    container-name: ticker;

    margin-top: 24px;
    margin-inline: calc(var(--t10-bleed) * -1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background 300ms var(--t10-ease-out);

    /* Layer 1: Background gradient horizontal (5 stops) */
    background: linear-gradient(90deg,
        rgba(20, 25, 40, 0.55) 0%,
        rgba(30, 38, 60, 0.88) 25%,
        rgba(36, 46, 72, 0.95) 50%,
        rgba(30, 38, 60, 0.88) 75%,
        rgba(20, 25, 40, 0.55) 100%);
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
}
.dh-ticker:hover {
    background: linear-gradient(90deg,
        rgba(0,168,89,0.10) 0%,
        rgba(36, 46, 72, 0.92) 25%,
        rgba(42, 54, 80, 0.98) 50%,
        rgba(36, 46, 72, 0.92) 75%,
        rgba(0,168,89,0.10) 100%);
}

/* Layer 2: Bordes top/bottom con fade dark (patrón leagues-marquee) */
.dh-ticker::before,
.dh-ticker::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 18px;
    pointer-events: none;
    z-index: 3;
}
.dh-ticker::before {
    top: 0;
    background: linear-gradient(180deg,
        rgba(8,9,15,0.85) 0%,
        rgba(8,9,15,0.35) 45%,
        transparent 100%);
}
.dh-ticker::after {
    bottom: 0;
    background: linear-gradient(0deg,
        rgba(8,9,15,0.85) 0%,
        rgba(8,9,15,0.35) 45%,
        transparent 100%);
}

/* Layer 3: Hairline shine superior (verde→dorado→verde) */
.dh-ticker__shine {
    position: absolute;
    top: 0; left: 12%; right: 12%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(43,217,124,0.35) 30%,
        rgba(232,196,104,0.4) 50%,
        rgba(43,217,124,0.35) 70%,
        transparent 100%);
    z-index: 4;
    pointer-events: none;
}

/* Layer 4: Accent vertical verde lateral izquierdo */
.dh-ticker__accent {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    max-height: 70px;
    background: linear-gradient(180deg, var(--t10-green-bright), var(--t10-emerald));
    border-radius: 2px;
    box-shadow: 0 0 18px rgba(43,217,124,0.85), 0 0 32px rgba(43,217,124,0.3);
    z-index: 2;
}

/* Layer 5: Contenido (layout flexbox)
   Base estructural — flex-direction y reset general. Las reglas de
   layout horizontal compact-band universal viven más abajo (sección
   "LAYOUT BASE COMPACT-BAND"). */
.dh-ticker__layout {
    margin: 0 auto;
    display: flex;
    position: relative;
    z-index: 2;
}

/* === Row 1: eyebrow + counter ============================================ */
.dh-ticker__row1 {
    flex: 1 1 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.dh-ticker__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--t10-gold-soft);
    min-width: 0;
}
.dh-ticker__eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--t10-gold-soft);
    box-shadow: 0 0 12px rgba(232,196,104,0.8), 0 0 24px rgba(232,196,104,0.3);
    flex-shrink: 0;
    animation: t10PulseDot 2.4s ease-in-out infinite;
}
@keyframes t10PulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.75); }
}
.dh-ticker__counter {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    flex-shrink: 0;
}
.dh-ticker__counter-num {
    font-family: "Syne", sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--t10-green-bright);
    line-height: 1;
    letter-spacing: -1px;
    text-shadow: 0 0 24px rgba(43,217,124,0.25);
}
.dh-ticker__counter-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 500;
    color: var(--t10-text-muted);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* === Row 2: viewport carrusel + CTA ======================================
   Stack vertical centrado en TODOS los viewports (premium minimalismo).
   Viewport y CTA wrap ocupan full-width del contenedor padre. */
.dh-ticker__viewport {
    flex: 1 1 100%;
    min-width: 0;
    min-height: 50px;
    overflow: hidden;
    height: 50px;
    position: relative;
    contain: layout style;
}
.dh-ticker__track {
    display: flex;
    height: 100%;
    transition: transform 480ms var(--t10-ease-out);
    will-change: transform;
}
.dh-ticker__slide {
    flex: 0 0 100%;
    height: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 0;
}
.dh-ticker__team {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 0 1 auto;
}
.dh-ticker__team--away { justify-content: flex-start; }
.dh-ticker__team-logo {
    width: 44px; height: 44px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    padding: 4px;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.45)) drop-shadow(0 0 12px rgba(43,217,124,0.1));
}
.dh-ticker__team-logo--placeholder {
    /* Fallback cuando logo URL es null */
    background: linear-gradient(135deg, #2A3040, #181d2d);
    border: 1px solid var(--t10-border-strong);
}
.dh-ticker__team-name {
    font-family: "Syne", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.05;
    color: var(--t10-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.4px;
    max-width: 200px;
}
.dh-ticker__vs {
    flex-shrink: 0;
    font-family: "Syne", sans-serif;
    font-style: italic;
    font-size: 17px;
    font-weight: 500;
    color: var(--t10-text-muted);
    letter-spacing: 0.5px;
}

/* === CTA wrap + CTA ====================================================== */
.dh-ticker__cta-wrap {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 56px;
    transition: opacity 120ms ease;
}
/* Locked: wrapper de CTA + microcopy hint.
   Stack vertical centrado: CTA arriba, hint debajo compacto.
   Width auto = matchea CTA width; el cta-wrap parent lo centra horizontal. */
.dh-ticker__cta-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.dh-ticker__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--t10-green), var(--t10-emerald));
    color: #fff;
    border: none;
    border-radius: 14px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0,168,89,0.22), 0 2px 6px rgba(0,0,0,0.18);
    transition: all 220ms ease;
    animation: t10CtaPulse 4s ease-in-out infinite;
    position: relative;
}
@keyframes t10CtaPulse {
    0%, 100% { box-shadow: 0 6px 16px rgba(0,168,89,0.22), 0 2px 6px rgba(0,0,0,0.18); }
    50% { box-shadow: 0 8px 20px rgba(0,168,89,0.3), 0 2px 6px rgba(0,0,0,0.18); }
}
.dh-ticker__cta:hover {
    transform: translateY(-2px);
    animation-play-state: paused;
    box-shadow: 0 10px 22px rgba(0,168,89,0.35), 0 3px 8px rgba(0,0,0,0.2);
}
.dh-ticker__cta-text {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.dh-ticker__cta-price {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.4px;
    margin-left: 2px;
}
.dh-ticker__cta--owned {
    background: rgba(212,175,55,0.12);
    color: var(--t10-gold-soft);
    border: 1px solid rgba(212,175,55,0.4);
    box-shadow: none;
    animation: none;
}
.dh-ticker__cta--accessible {
    background: rgba(0,168,89,0.12);
    color: var(--t10-green-bright);
    border: 1px solid rgba(0,168,89,0.45);
    box-shadow: none;
    animation: none;
}
.dh-ticker__cta-hint {
    /* Hint oculto en desktop/tablet (premium compactness). Reaparece en
       SM/XS (mobile ≤480px) donde el engagement copy ayuda más y hay
       espacio vertical sobrado. */
    display: none;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--t10-text-muted);
    text-align: center;
    white-space: nowrap;
}
.dh-ticker__cta-hint::before {
    content: "✨ ";
    color: var(--t10-gold-soft);
}

/* ========================================================================
   RESPONSIVE — Container Queries + Media Queries fallback
   Doble safety net: container queries primary (navegadores 2022+),
   media queries fallback (navegadores anteriores).
   Valores FIJOS por estado (no clamp con vw) para predictibilidad total.
   Ref: docs/superpowers/specs/2026-05-19-top10-ticker-h43-design.md §7
   ======================================================================== */

/* --- Bleed lateral alineado con .dashboard-container ---------------------
   .dashboard-container padding: 1rem (<768) / 1.5rem (768-991) / 2rem (>=992).
   --t10-bleed default es 24px (Task 4 :root línea 20) — aplica en el rango
   768-991px. Redefinimos en <768 y >=992 para match exacto del padding
   parent y evitar overflow horizontal o gap asimétrico.
   NOTA: redefinición global en :root intencional para que cualquier
   componente sibling del ticker pueda heredar la misma var. */
@media (max-width: 767.98px) {
    :root { --t10-bleed: 16px; }
}
@media (min-width: 992px) {
    :root { --t10-bleed: 32px; }
}

/* === LAYOUT BASE COMPACT-BAND (universal) ================================
   Single-line horizontal en TODOS los tamaños de pantalla. El stack
   vertical anterior (con eyebrow + carrusel + CTA stacked) se descartó
   tras feedback del usuario: ocupaba demasiada altura en desktop.

   Estructura: [accent | dot | counter | teams carrusel | CTA $price]
   Eyebrow text y counter label se ocultan (sólo el dot del eyebrow
   queda visible como marca de brand). CTA texto largo ("Desbloquear
   este partido") se oculta — sólo icon + $price.

   Override progresivo según ancho via @container queries más abajo.
   ======================================================================= */
.dh-ticker__layout {
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 12px 24px 12px 36px;
    gap: 18px;
    align-items: center;
    max-width: 1080px;
}
.dh-ticker__accent {
    height: 55%;
    max-height: 48px;
    left: 18px;
}
.dh-ticker__row1 {
    flex: 0 0 auto;
    gap: 10px;
    width: auto;
    justify-content: flex-start;
}
.dh-ticker__eyebrow {
    font-size: 0;          /* oculta texto, deja solo el dot */
    gap: 0;
    min-width: 0;
}
.dh-ticker__eyebrow-dot { width: 8px; height: 8px; }
.dh-ticker__counter { gap: 4px; }
.dh-ticker__counter-num { font-size: 30px; letter-spacing: -0.7px; }
.dh-ticker__counter-label { display: none; }
.dh-ticker__viewport-inline,
.dh-ticker__viewport {
    flex: 1 1 0;
    height: 48px;
    min-height: 48px;
    min-width: 0;
}
.dh-ticker__slide { gap: 14px; min-height: 48px; }
.dh-ticker__team { gap: 10px; min-width: 0; }
.dh-ticker__team-logo { width: 36px; height: 36px; padding: 3px; }
.dh-ticker__team-name { font-size: 15px; max-width: 130px; letter-spacing: -0.3px; }
.dh-ticker__vs { font-size: 14px; }
.dh-ticker__cta-wrap {
    flex: 0 0 auto;
    min-height: 0;
    width: auto;
}
.dh-ticker__cta-text { display: none; }
.dh-ticker__cta-hint { display: none; }
.dh-ticker__cta-stack { flex-direction: row; gap: 0; }

/* CTA en compact-band: content-sized pero con min-width que escala con
   el viewport para que el botón mantenga presencia visual en pantallas
   grandes (donde el band tiene mucho espacio horizontal vacío). Padding
   generoso para tap-target cómodo. */
.dh-ticker__cta {
    width: auto;
    min-width: clamp(80px, 18cqi, 260px);
    padding: 12px 24px;
    font-size: 15px;
    gap: 8px;
    border-radius: 11px;
}
.dh-ticker__cta-price { font-size: 18px; margin-left: 0; }

/* --- FOLD/TABLET (601-900): valores intermedios ----------------------- */
@container ticker (max-width: 900px) {
    .dh-ticker__layout { padding: 10px 18px 10px 32px; gap: 14px; }
    .dh-ticker__accent { max-height: 44px; left: 16px; }
    .dh-ticker__eyebrow-dot { width: 7px; height: 7px; }
    .dh-ticker__counter-num { font-size: 26px; letter-spacing: -0.6px; }
    .dh-ticker__viewport,
    .dh-ticker__viewport-inline {
        height: 44px;
        min-height: 44px;
    }
    .dh-ticker__slide { gap: 12px; min-height: 44px; }
    .dh-ticker__team { gap: 8px; }
    .dh-ticker__team-logo { width: 32px; height: 32px; padding: 3px; }
    .dh-ticker__team-name { font-size: 14px; max-width: 100px; letter-spacing: -0.3px; }
    .dh-ticker__vs { font-size: 13px; }
    .dh-ticker__cta { padding: 11px 20px; font-size: 14px; gap: 7px; }
    .dh-ticker__cta-price { font-size: 17px; }
}
@media (max-width: 900px) {
    .dh-ticker__layout { padding: 10px 18px 10px 32px; gap: 14px; }
    .dh-ticker__accent { max-height: 44px; left: 16px; }
    .dh-ticker__eyebrow-dot { width: 7px; height: 7px; }
    .dh-ticker__counter-num { font-size: 26px; letter-spacing: -0.6px; }
    .dh-ticker__viewport,
    .dh-ticker__viewport-inline {
        height: 44px;
        min-height: 44px;
    }
    .dh-ticker__slide { gap: 12px; min-height: 44px; }
    .dh-ticker__team { gap: 8px; }
    .dh-ticker__team-logo { width: 32px; height: 32px; padding: 3px; }
    .dh-ticker__team-name { font-size: 14px; max-width: 100px; letter-spacing: -0.3px; }
    .dh-ticker__vs { font-size: 13px; }
    .dh-ticker__cta { padding: 11px 20px; font-size: 14px; gap: 7px; }
    .dh-ticker__cta-price { font-size: 17px; }
}

/* --- COMPACT-BAND NARROW (<=600px): mobile portrait -------------------
   Override del compact-band general — reduce todo para que quepa en
   pantallas estrechas tipo iPhone/Android estándar. */
@container ticker (max-width: 600px) {
    .dh-ticker__layout { padding: 8px 14px 8px 28px; gap: 10px; }
    .dh-ticker__accent { max-height: 36px; left: 12px; }
    .dh-ticker__eyebrow-dot { width: 6px; height: 6px; }
    .dh-ticker__counter-num { font-size: 22px; }
    .dh-ticker__viewport { height: 36px; min-height: 36px; }
    .dh-ticker__slide { gap: 8px; min-height: 36px; }
    .dh-ticker__team { gap: 6px; }
    .dh-ticker__team-logo { width: 26px; height: 26px; padding: 2px; }
    .dh-ticker__team-name { font-size: 12px; max-width: 70px; }
    .dh-ticker__vs { font-size: 11px; }
    .dh-ticker__cta { padding: 8px 14px; font-size: 12px; gap: 6px; border-radius: 9px; }
    .dh-ticker__cta-price { font-size: 14px; }
}
@media (max-width: 600px) {
    .dh-ticker__layout { padding: 8px 14px 8px 28px; gap: 10px; }
    .dh-ticker__accent { max-height: 36px; left: 12px; }
    .dh-ticker__eyebrow-dot { width: 6px; height: 6px; }
    .dh-ticker__counter-num { font-size: 22px; }
    .dh-ticker__viewport { height: 36px; min-height: 36px; }
    .dh-ticker__slide { gap: 8px; min-height: 36px; }
    .dh-ticker__team { gap: 6px; }
    .dh-ticker__team-logo { width: 26px; height: 26px; padding: 2px; }
    .dh-ticker__team-name { font-size: 12px; max-width: 70px; }
    .dh-ticker__vs { font-size: 11px; }
    .dh-ticker__cta { padding: 8px 14px; font-size: 12px; gap: 6px; border-radius: 9px; }
    .dh-ticker__cta-price { font-size: 14px; }
}

/* === prefers-reduced-motion ============================================== */
@media (prefers-reduced-motion: reduce) {
    .dh-ticker__track { transition: none !important; }
    .dh-ticker__cta { animation: none !important; }
    .dh-ticker__eyebrow-dot { animation: none !important; }
    .dh-ticker__cta:hover { transition-duration: 0ms !important; }
}

/* ========================================================================
   Modal completo — bottom-sheet mobile, scale-in desktop
   Ref: docs/superpowers/specs/2026-05-19-top10-ticker-h43-design.md §6
   ======================================================================== */

.top10-modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 9, 15, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: t10FadeIn 240ms var(--t10-ease-out);
}
.top10-modal__overlay.open { display: flex; }
@keyframes t10FadeIn { from { opacity: 0; } to { opacity: 1; } }

.top10-modal {
    background: var(--t10-bg-dark);
    border: 1px solid var(--t10-border-strong);
    border-radius: 18px;
    width: 100%;
    max-width: 580px;
    max-height: 80vh;
    max-height: 80dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
    animation: t10ModalScaleIn 320ms var(--t10-ease-out);
}
.top10-modal.closing {
    animation: t10ModalScaleOut 240ms cubic-bezier(0.4, 0, 1, 1);
}
@keyframes t10ModalScaleIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes t10ModalScaleOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(20px) scale(0.96); }
}

.top10-modal__head {
    padding: 22px 24px 16px;
    border-bottom: 1px solid var(--t10-border-soft);
    position: relative;
}
.top10-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--t10-border-strong);
    color: var(--t10-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 200ms ease, color 200ms ease;
}
.top10-modal__close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.top10-modal__close:focus-visible {
    outline: 2px solid var(--t10-green-bright);
    outline-offset: 2px;
}

.top10-modal__eyebrow {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--t10-gold-soft);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.top10-modal__eyebrow-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--t10-gold-soft);
    box-shadow: 0 0 8px rgba(232, 196, 104, 0.6);
}

.top10-modal__title {
    font-family: "Syne", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--t10-text-primary);
}
.top10-modal__subtitle {
    font-size: 12px;
    color: var(--t10-text-secondary);
    margin-top: 4px;
}
.top10-modal__subtitle strong { color: var(--t10-green-bright); }

.top10-modal__list {
    overflow-y: auto;
    padding: 12px 16px 16px;
    flex: 1;
}
.top10-modal__match {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--t10-border-soft);
    border-radius: 10px;
    margin-bottom: 8px;
    transition: border-color 200ms ease;
}
.top10-modal__match.is-accessible { border-color: rgba(0, 168, 89, 0.3); }
.top10-modal__match.is-purchased { border-color: rgba(212, 175, 55, 0.35); }
.top10-modal__match-logos {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}
.top10-modal__match-logo {
    width: 32px;
    height: 32px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    padding: 3px;
}
.top10-modal__match-info { flex: 1; min-width: 0; }
.top10-modal__match-league {
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--t10-text-secondary);
    font-weight: 500;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.top10-modal__match-league img { width: 13px; height: 13px; aspect-ratio: 1 / 1; }
.top10-modal__match-teams {
    font-family: "Syne", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--t10-text-primary);
}
.top10-modal__match-teams .vs {
    font-weight: 500;
    color: var(--t10-text-muted);
    margin: 0 4px;
    font-size: 13px;
}
.top10-modal__match-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    color: var(--t10-text-muted);
}
.top10-modal__match-risk {
    padding: 1px 6px;
    border-radius: 3px;
    font-family: "Inter", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.06);
    color: var(--t10-text-secondary);
}
.top10-modal__match-cta {
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 8px;
    border: none;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.top10-modal__match-cta--unlock {
    background: linear-gradient(135deg, var(--t10-green), var(--t10-emerald));
    color: #fff;
}
.top10-modal__match-cta--view {
    background: rgba(0, 168, 89, 0.1);
    border: 1px solid rgba(0, 168, 89, 0.35);
    color: var(--t10-green-bright);
}
.top10-modal__match-cta--owned {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--t10-gold-soft);
}
.top10-modal__match-cta:focus-visible {
    outline: 2px solid var(--t10-green-bright);
    outline-offset: 2px;
}

.top10-modal__foot {
    padding: 14px 24px;
    border-top: 1px solid var(--t10-border-soft);
    background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.04));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.top10-modal__foot-text { font-size: 11px; color: var(--t10-text-secondary); }
.top10-modal__foot-text strong { color: var(--t10-text-primary); }
.top10-modal__foot-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--t10-gold-soft);
    padding: 7px 12px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 200ms ease, color 200ms ease;
}
.top10-modal__foot-cta:hover { background: rgba(212, 175, 55, 0.1); color: #fff; }
.top10-modal__foot-cta:focus-visible {
    outline: 2px solid var(--t10-gold-soft);
    outline-offset: 2px;
}

/* Mobile: modal pasa a bottom-sheet */
@media (max-width: 600px) {
    .top10-modal__overlay { align-items: flex-end; padding: 0; }
    .top10-modal {
        max-width: none;
        width: 100%;
        max-height: 88vh;
        max-height: 88dvh;
        border-radius: 18px 18px 0 0;
        animation: t10SheetSlideUp 320ms var(--t10-ease-out);
    }
    .top10-modal.closing {
        animation: t10SheetSlideDown 240ms cubic-bezier(0.4, 0, 1, 1);
    }
    @keyframes t10SheetSlideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
    @keyframes t10SheetSlideDown {
        from { transform: translateY(0); }
        to { transform: translateY(100%); }
    }
}

/* prefers-reduced-motion para modal */
@media (prefers-reduced-motion: reduce) {
    .top10-modal__overlay, .top10-modal { animation: none !important; }
}
