﻿:root {
    --qr-bg: #0b0f19;
    --qr-bg-2: #121826;
    --qr-text: #f4f6fb;
    --qr-muted: #9aa3b5;
    --qr-accent: #ff3b5c;
    --qr-accent-2: #00e5a0;
}

.qr-shell {
    min-height: 100vh;
    background: var(--qr-bg);
    color: var(--qr-text);
    font-family: Inter, system-ui, sans-serif;
}

.qr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #1e2638;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.qr-logo {
    font-weight: 800;
    letter-spacing: .02em;
    color: var(--qr-text);
    text-decoration: none;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.qr-nav {
    display: flex;
    gap: 0.75rem 1.25rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
}

    .qr-nav a {
        color: var(--qr-muted);
        text-decoration: none;
    }

.qr-nav-cta {
    color: var(--qr-bg) !important;
    background: var(--qr-accent);
    padding: .5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
}

.qr-nav-user {
    color: var(--qr-muted);
    font-size: 0.85rem;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qr-main {
    position: relative;
}

.qr-hero {
    padding: 5rem 2rem 4rem;
    background: radial-gradient(ellipse at top, #1a2240 0%, var(--qr-bg) 60%);
}

    .qr-hero h1 {
        font-size: clamp(2.2rem, 5vw, 3.6rem);
        line-height: 1.1;
        margin: .5rem 0 1rem;
    }

        .qr-hero h1 span {
            color: var(--qr-accent);
        }

.qr-badge {
    color: var(--qr-accent-2);
    font-weight: 700;
    letter-spacing: .12em;
    font-size: .8rem;
}

.qr-lead {
    color: var(--qr-muted);
    max-width: 34rem;
    font-size: 1.1rem;
}

.qr-cta-row {
    display: flex;
    gap: 1rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.qr-btn {
    display: inline-block;
    padding: .85rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.qr-btn-primary {
    background: var(--qr-accent);
    color: white;
}

.qr-btn-ghost {
    background: transparent;
    color: var(--qr-text);
    border: 1px solid #2a3448;
}

.qr-btn-sm {
    padding: .55rem 1rem;
    font-size: .9rem;
}

.qr-btn-block {
    width: 100%;
    text-align: center;
}

.qr-section {
    padding: 3.5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.qr-section-dark {
    text-align: center;
    background: var(--qr-bg-2);
    max-width: none;
}

.qr-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.qr-step {
    background: #141b2d;
    border: 1px solid #243049;
    border-radius: 1rem;
    padding: 1.5rem;
}

    .qr-step span {
        color: var(--qr-accent);
        font-weight: 800;
    }

.qr-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #1e2638;
    color: var(--qr-muted);
    font-size: .9rem;
}

/* ===== Auth ===== */
.qr-auth {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.qr-auth-card {
    width: 100%;
    max-width: 420px;
    background: #141b2d;
    border: 1px solid #243049;
    border-radius: 1.25rem;
    padding: 2rem;
}

.qr-field {
    margin: 1rem 0;
}

    .qr-field label {
        display: block;
        margin-bottom: .35rem;
        color: var(--qr-muted);
        font-size: .9rem;
    }

.qr-input {
    width: 100%;
    padding: .75rem 1rem;
    border-radius: .75rem;
    border: 1px solid #2a3448;
    background: #0b0f19;
    color: var(--qr-text);
}

    .qr-input.invalid {
        border-color: #ff6b6b;
    }

.qr-auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0 1.25rem;
    font-size: .9rem;
}

.qr-check {
    color: var(--qr-muted);
    display: flex;
    gap: .4rem;
    align-items: center;
}

.qr-link {
    color: var(--qr-accent-2);
    text-decoration: none;
}

.qr-error {
    color: #ff7b8a;
    margin-bottom: .75rem;
    font-size: 0.85rem;
    display: block;
}

.qr-auth-footer {
    margin-top: 1.25rem;
    text-align: center;
}

.qr-btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #fff;
    color: #1f1f1f !important;
    border: 1px solid #dadce0;
    margin: 1rem 0 0.5rem;
    text-decoration: none;
    font-weight: 600;
}

    .qr-btn-google:hover {
        background: #f7f8f8;
    }

    .qr-btn-google span {
        font-weight: 800;
        color: #4285f4;
    }

.qr-auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    color: var(--qr-muted);
    font-size: 0.85rem;
}

    .qr-auth-divider::before,
    .qr-auth-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #2a3448;
    }

/* ===== Arenas (legado) ===== */
.qr-search {
    margin: 1.5rem 0;
    max-width: 420px;
}

.qr-arena-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.qr-arena-card {
    text-align: left;
    background: #141b2d;
    border: 1px solid #243049;
    border-radius: 1rem;
    padding: 1rem;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

    .qr-arena-card:hover {
        border-color: var(--qr-accent);
    }

.qr-arena-thumb {
    height: 120px;
    border-radius: .75rem;
    background: #0b0f19;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    overflow: hidden;
}

    .qr-arena-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.qr-arena-go {
    color: var(--qr-accent);
    font-weight: 700;
    font-size: .9rem;
}

/* ===== Filtros e Partidas ===== */
.qr-filter-bar {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.qr-label {
    display: block;
    color: var(--qr-muted);
    font-size: .85rem;
    margin-bottom: .35rem;
}

.qr-subtitle {
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
}

.qr-partida-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .75rem;
}

.qr-partida-card {
    background: #141b2d;
    border: 1px solid #243049;
    border-radius: .9rem;
    padding: 1rem;
    color: inherit;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

    .qr-partida-card.is-active {
        border-color: var(--qr-accent);
        box-shadow: 0 0 0 1px var(--qr-accent);
    }

/* ===== Highlights antigos ===== */
.qr-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.qr-highlight-card {
    background: #141b2d;
    border: 1px solid #243049;
    border-radius: 1rem;
    overflow: hidden;
}

.qr-thumb {
    height: 120px;
    background: linear-gradient(135deg, #1a2240, #0b0f19);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.qr-highlight-body {
    padding: 1rem;
}

.qr-loading,
.qr-empty {
    color: var(--qr-muted);
    padding: 1.5rem 0;
}

/* ===== Carrossel legado ===== */
.qr-count {
    font-size: 0.9rem;
    color: var(--qr-muted);
    white-space: nowrap;
}

.qr-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.qr-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0 1.25rem;
    flex: 1;
    min-width: 0;
}

    .qr-carousel::-webkit-scrollbar {
        height: 6px;
    }

    .qr-carousel::-webkit-scrollbar-thumb {
        background: #334155;
        border-radius: 99px;
    }

.qr-carousel-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #2a3448;
    background: #141b2d;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    transition: 0.2s;
}

    .qr-carousel-nav:hover {
        background: #1e293b;
        border-color: var(--qr-accent);
    }

.qr-video-card {
    scroll-snap-align: start;
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    background: #141b2d;
    border: 1px solid #243049;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.2s ease;
}

    .qr-video-card:hover {
        transform: translateY(-5px);
        border-color: rgba(255, 59, 92, 0.45);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
    }

.qr-video-preview {
    position: relative;
    width: 100%;
    height: 180px;
    background: #0b0f19;
    overflow: hidden;
    flex-shrink: 0;
}

.qr-preview-video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border: none;
    pointer-events: none;
}

.qr-play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.28);
    transition: opacity 0.2s;
    z-index: 2;
}

.qr-video-preview:hover .qr-play-overlay {
    opacity: 0;
}

.qr-play-overlay span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    padding-left: 2px;
}

.qr-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
    z-index: 3;
}

.qr-video-info {
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .qr-video-info h3 {
        margin: 0;
        font-size: 0.95rem;
        font-weight: 600;
        color: #f1f5f9;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.qr-video-actions {
    display: flex;
    gap: 0.5rem;
}

    .qr-video-actions .qr-btn {
        flex: 1;
        text-align: center;
        font-size: 0.85rem;
        padding: 0.5rem 0.6rem;
        text-decoration: none;
    }

/* =========================================================
   LANDING (Home)
   ========================================================= */
.qr-landing-hero {
    padding: 3.5rem 2rem 3rem;
    background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 59, 92, 0.12) 0%, transparent 55%), radial-gradient(ellipse at top, #1a2240 0%, var(--qr-bg) 65%);
}

.qr-landing-hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.qr-landing-hero-copy h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.08;
    margin: 0.4rem 0 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

    .qr-landing-hero-copy h1 span {
        color: var(--qr-accent);
    }

.qr-landing-hero-visual {
    position: relative;
    min-height: 280px;
}

.qr-landing-player {
    position: relative;
    background: #0a0e18;
    border: 1px solid #2a3448;
    border-radius: 1.1rem;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.qr-landing-player-badge {
    position: absolute;
    z-index: 2;
    margin: 0.75rem;
    background: var(--qr-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
}

.qr-landing-player-screen {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(145deg, #1a2240 0%, #0b0f19 100%);
}

.qr-landing-player-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--qr-muted);
}

.qr-landing-play {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #0b0f19;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    padding-left: 3px;
}

.qr-landing-player-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.9rem;
    background: #121826;
    border-top: 1px solid #1e2638;
}

.qr-landing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--qr-accent);
    flex-shrink: 0;
}

.qr-landing-progress {
    flex: 1;
    height: 4px;
    border-radius: 99px;
    background: #243049;
    overflow: hidden;
}

    .qr-landing-progress i {
        display: block;
        width: 42%;
        height: 100%;
        background: var(--qr-accent);
        border-radius: 99px;
    }

.qr-landing-float {
    position: absolute;
    background: #141b2d;
    border: 1px solid #2a3448;
    border-radius: 0.85rem;
    padding: 0.65rem 0.9rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    max-width: 180px;
}

    .qr-landing-float strong {
        display: block;
        font-size: 0.85rem;
    }

    .qr-landing-float span {
        font-size: 0.75rem;
        color: var(--qr-muted);
    }

.qr-landing-float-1 {
    top: -0.5rem;
    right: -0.25rem;
}

.qr-landing-float-2 {
    bottom: 2.5rem;
    right: -0.5rem;
}

.qr-landing-stats {
    border-top: 1px solid #1e2638;
    border-bottom: 1px solid #1e2638;
    background: rgba(18, 24, 38, 0.6);
    padding: 1.5rem 2rem;
}

.qr-landing-stats-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.qr-landing-stat {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.qr-landing-stat-icon {
    font-size: 1.4rem;
}

.qr-landing-stat strong {
    display: block;
    font-size: 1rem;
}

.qr-landing-stat span {
    font-size: 0.85rem;
    color: var(--qr-muted);
}

.qr-landing-h2 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    margin: 0.35rem 0 0;
    max-width: 28rem;
}

.qr-landing-steps {
    margin-top: 1.75rem;
}

.qr-landing-mods {
    padding-top: 1.5rem;
}

.qr-landing-mod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.qr-landing-mod {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #141b2d;
    border: 1px solid #243049;
    border-radius: 1rem;
    overflow: hidden;
    transition: 0.2s ease;
}

    .qr-landing-mod:hover {
        border-color: rgba(255, 59, 92, 0.5);
        transform: translateY(-3px);
    }

.qr-landing-mod-visual {
    height: 140px;
    display: grid;
    place-items: center;
    font-size: 2.5rem;
}

.qr-mod-society {
    background: linear-gradient(160deg, #1a3a28, #0b0f19);
}

.qr-mod-futevolei {
    background: linear-gradient(160deg, #1a2a40, #0b0f19);
}

.qr-mod-futsal {
    background: linear-gradient(160deg, #2a1a40, #0b0f19);
}

.qr-landing-mod-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1rem;
    font-weight: 600;
}

.qr-landing-cta .qr-lead {
    max-width: 28rem;
}

.qr-carousel-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #0b0f19;
    overflow: hidden;
}

.qr-carousel-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

    .qr-carousel-hero-slide.is-active {
        opacity: 1;
        z-index: 1;
    }

    .qr-carousel-hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.qr-carousel-hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(11,15,25,0.65);
    color: #fff;
    cursor: pointer;
    font-size: 1.25rem;
}

    .qr-carousel-hero-btn.prev {
        left: 0.5rem;
    }

    .qr-carousel-hero-btn.next {
        right: 0.5rem;
    }

.qr-carousel-hero-dots {
    position: absolute;
    bottom: 0.6rem;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

    .qr-carousel-hero-dots button {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        border: none;
        background: rgba(255,255,255,0.35);
        cursor: pointer;
        padding: 0;
    }

        .qr-carousel-hero-dots button.is-active {
            background: var(--qr-accent);
            width: 18px;
            border-radius: 99px;
        }

.qr-mod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.qr-mod-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #141b2d;
    border: 1px solid #243049;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .qr-mod-card:hover {
        transform: translateY(-4px);
        border-color: rgba(255, 59, 92, 0.45);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
    }

.qr-mod-card-img {
    height: 180px;
    overflow: hidden;
    background: #0b0f19;
}

    .qr-mod-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.35s ease;
    }

.qr-mod-card:hover .qr-mod-card-img img {
    transform: scale(1.05);
}

.qr-mod-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.1rem;
    font-weight: 600;
    border-top: 1px solid #1e2638;
}

    .qr-mod-card-footer span {
        color: var(--qr-accent);
    }

@media (max-width: 900px) {
    .qr-landing-hero-inner {
        grid-template-columns: 1fr;
    }

    .qr-landing-float {
        display: none;
    }

    .qr-landing-stats-inner,
    .qr-landing-mod-grid {
        grid-template-columns: 1fr;
    }

    .qr-mod-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .qr-mod-card-img {
        height: 200px;
    }
}

/* =========================================================
   ARENAS — lista player
   ========================================================= */
.qr-arenas-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3.5rem;
}

.qr-arenas-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0 2rem;
}

.qr-arenas-hero-copy h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin: 0.4rem 0 0.85rem;
    font-weight: 800;
}

    .qr-arenas-hero-copy h1 span {
        color: var(--qr-accent);
    }

.qr-arenas-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    background: #141b2d;
    border: 1px solid #2a3448;
    border-radius: 999px;
    padding: 0.35rem 0.4rem 0.35rem 1rem;
    max-width: 520px;
}

.qr-arenas-search-icon {
    opacity: 0.7;
    font-size: 0.95rem;
}

.qr-arenas-search-input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--qr-text);
    font-size: 0.95rem;
    outline: none;
    min-width: 0;
    padding: 0.65rem 0.25rem;
}

    .qr-arenas-search-input::placeholder {
        color: var(--qr-muted);
    }

.qr-arenas-search-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--qr-accent);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}

.qr-arenas-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.qr-arenas-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.qr-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    border: 1px solid #2a3448;
    background: #141b2d;
    color: var(--qr-muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.15s ease;
}

    .qr-chip:hover {
        border-color: #3d4a63;
        color: var(--qr-text);
    }

    .qr-chip.is-active {
        background: var(--qr-accent);
        border-color: var(--qr-accent);
        color: #fff;
    }

.qr-chip-ghost {
    background: transparent;
}

.qr-arenas-hero-art {
    min-height: 240px;
    border-radius: 1.25rem;
    background: linear-gradient(120deg, rgba(11, 15, 25, 0.2) 0%, rgba(11, 15, 25, 0.75) 100%), radial-gradient(ellipse at 70% 60%, rgba(255, 59, 92, 0.15), transparent 50%), linear-gradient(160deg, #1a3d2a 0%, #0b0f19 70%);
    border: 1px solid #243049;
    position: relative;
    overflow: hidden;
}

.qr-arenas-hero-quote {
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    text-align: right;
    font-size: 0.95rem;
    color: var(--qr-muted);
    line-height: 1.35;
}

    .qr-arenas-hero-quote em {
        font-style: normal;
        color: var(--qr-accent);
        font-weight: 700;
    }

.qr-arenas-list-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

    .qr-arenas-list-head h2 {
        margin: 0 0 0.25rem;
        font-size: 1.35rem;
    }

    .qr-arenas-list-head .qr-muted {
        margin: 0;
        font-size: 0.9rem;
    }

.qr-arenas-sort {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
}

.qr-arenas-select {
    background: #141b2d;
    border: 1px solid #2a3448;
    color: var(--qr-text);
    border-radius: 0.65rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.9rem;
}

.qr-arenas-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.15rem;
}

.qr-arena-card-v2 {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid #243049;
    background: #121826;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

    .qr-arena-card-v2:hover {
        border-color: rgba(255, 59, 92, 0.45);
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    }

.qr-arena-card-v2-thumb {
    position: relative;
    width: 100%;
    height: 160px;
    background: #05080f;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

    .qr-arena-card-v2-thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
    }

.qr-arena-card-v2-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    opacity: 0.7;
    background: linear-gradient(145deg, #1a2240, #0b0f19);
}

.qr-arena-card-v2-badge {
    position: absolute;
    left: 0.65rem;
    bottom: 0.65rem;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    pointer-events: none;
}

.qr-arena-card-v2-body {
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

    .qr-arena-card-v2-body h3 {
        margin: 0;
        font-size: 1.05rem;
        font-weight: 700;
    }

    .qr-arena-card-v2-body p {
        margin: 0;
        font-size: 0.85rem;
        color: var(--qr-muted);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.35;
    }

    .qr-arena-card-v2-body .qr-arena-go {
        margin-top: 0.5rem;
        color: var(--qr-accent);
        font-weight: 700;
        font-size: 0.88rem;
    }

@media (max-width: 900px) {
    .qr-arenas-hero {
        grid-template-columns: 1fr;
    }

    .qr-arenas-hero-art {
        min-height: 160px;
        order: -1;
    }
}

@media (max-width: 600px) {
    .qr-arena-card-v2-thumb {
        height: 132px;
    }
}

/* =========================================================
   PARTIDAS / HIGHLIGHTS PAGE
   ========================================================= */
.qr-partidas-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 3rem;
}

.qr-back-link {
    background: none;
    border: none;
    color: var(--qr-muted);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    margin-bottom: 1rem;
}

    .qr-back-link:hover {
        color: var(--qr-text);
    }

.qr-partidas-hero h1 {
    margin: 0.35rem 0 0.4rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
}

.qr-partidas-loc {
    color: var(--qr-muted);
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
}

.qr-partidas-toolbar {
    margin: 1.5rem 0 1rem;
}

.qr-partidas-date-input {
    max-width: 220px;
}

.qr-partidas-section-title {
    font-size: 1.15rem;
    margin: 1.25rem 0 0.75rem;
}

.qr-time-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.qr-time-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid #2a3448;
    background: #141b2d;
    color: var(--qr-text);
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.15s ease;
}

    .qr-time-chip:hover {
        border-color: #3d4a63;
    }

    .qr-time-chip.is-active {
        background: var(--qr-accent);
        border-color: var(--qr-accent);
        color: #fff;
    }

.qr-time-chip-count {
    font-size: 0.75rem;
    opacity: 0.85;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
}

.qr-time-chip.is-active .qr-time-chip-count {
    background: rgba(255, 255, 255, 0.25);
}

/* Barra data + horários */
.qr-slot-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin: 1.25rem 0 1.5rem;
    padding: 0.65rem 0.85rem;
    background: #141b2d;
    border: 1px solid #243049;
    border-radius: 999px;
}

.qr-slot-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-right: 0.75rem;
    border-right: 1px solid #2a3448;
}

.qr-slot-date-input {
    border: none;
    background: transparent;
    color: var(--qr-text);
    font-size: 0.9rem;
    font-weight: 600;
    outline: none;
    color-scheme: dark;
}

.qr-slot-bar .qr-time-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    flex: 1;
    margin-bottom: 0;
}

.qr-slot-bar .qr-time-chip {
    border: none;
    background: transparent;
    color: var(--qr-muted);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

    .qr-slot-bar .qr-time-chip:hover {
        color: var(--qr-text);
        background: rgba(255, 255, 255, 0.06);
        border-color: transparent;
    }

    .qr-slot-bar .qr-time-chip.is-active {
        background: var(--qr-accent);
        color: #fff;
        border-color: transparent;
    }

.qr-slot-loading {
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .qr-slot-bar {
        border-radius: 1rem;
    }

    .qr-slot-date {
        border-right: none;
        width: 100%;
        padding-right: 0;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #2a3448;
    }
}

/* Grid legado de cards com botões */
.qr-hl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.qr-hl-card {
    background: #141b2d;
    border: 1px solid #243049;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.2s ease;
}

    .qr-hl-card:hover {
        border-color: rgba(255, 59, 92, 0.4);
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    }

.qr-hl-preview {
    position: relative;
    height: 160px;
    background: #0b0f19;
    overflow: hidden;
}

.qr-hl-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
   
}

.qr-hl-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s;
}

.qr-hl-preview:hover .qr-hl-overlay {
    opacity: 0;
}

.qr-hl-play {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #0b0f19;
    display: grid;
    place-items: center;
    font-size: 1rem;
    padding-left: 2px;
}

.qr-hl-duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 5px;
}

.qr-hl-body {
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

    .qr-hl-body h3 {
        margin: 0;
        font-size: 0.95rem;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.qr-hl-meta {
    margin: 0;
    font-size: 0.8rem;
    color: var(--qr-muted);
}

.qr-hl-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

    .qr-hl-actions .qr-btn {
        flex: 1;
        text-align: center;
        text-decoration: none;
    }

@media (max-width: 900px) {
    .qr-hl-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

@media (min-width: 901px) and (max-width: 1100px) {
    .qr-hl-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   HIGHLIGHTS GRID v2 — identidade Quero Replay
   ========================================================= */
.qr-highlights-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.25rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #1e2638;
}

    .qr-highlights-header .qr-partidas-section-title {
        margin: 0;
        font-size: 1.15rem;
        font-weight: 700;
    }

    .qr-highlights-header .qr-muted {
        margin: 0.2rem 0 0;
        font-size: 0.85rem;
    }

.qr-hl-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
}

@media (min-width: 768px) {
    .qr-hl-grid-v2 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 1100px) {
    .qr-hl-grid-v2 {
        grid-template-columns: repeat(3, 1fr);
        max-width: 960px;
    }
}

.qr-hl-tile {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(160deg, #141b2d 0%, #0c101c 100%);
    border: 1px solid #243049;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

    .qr-hl-tile:hover {
        transform: translateY(-2px);
        border-color: rgba(255, 59, 92, 0.45);
        box-shadow: 0 12px 32px rgba(255, 59, 92, 0.12);
    }

    .qr-hl-tile::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 3px;
        height: 42%;
        background: linear-gradient(180deg, var(--qr-accent), transparent);
        z-index: 3;
        border-radius: 0 16px 0 0;
        pointer-events: none;
    }

.qr-hl-tile-media {
    position: relative;
    width: 100%;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

    .qr-hl-tile-media.is-horizontal {
        aspect-ratio: 16 / 10;
    }

    .qr-hl-tile-media.is-vertical {
        aspect-ratio: 3 / 4;
    }

    .qr-hl-tile-media .qr-hl-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.qr-hl-tile-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(255, 59, 92, 0.15), transparent 55%), linear-gradient(transparent 40%, rgba(11, 15, 25, 0.75));
    pointer-events: none;
}

    .qr-hl-tile-play span {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--qr-accent);
        color: #fff;
        display: grid;
        place-items: center;
        font-size: 0.95rem;
        padding-left: 3px;
        box-shadow: 0 4px 20px rgba(255, 59, 92, 0.45);
    }

.qr-hl-tile-time {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: rgba(11, 15, 25, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 8px;
}

.qr-hl-tile-dur {
    position: absolute;
    right: 44px;
    bottom: 10px;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--qr-muted);
    background: rgba(11, 15, 25, 0.82);
    padding: 3px 7px;
    border-radius: 8px;
}

.qr-hl-tile-dl {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0, 229, 160, 0.35);
    border-radius: 10px;
    background: rgba(11, 15, 25, 0.85);
    color: var(--qr-accent-2);
    font-size: 0.95rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.15s;
}

    .qr-hl-tile-dl:hover {
        background: rgba(0, 229, 160, 0.15);
    }

    .qr-hl-tile-dl:disabled {
        opacity: 0.5;
        cursor: wait;
    }

.qr-hl-tile-meta {
    padding: 0.55rem 0.7rem 0.7rem;
    cursor: pointer;
}

    .qr-hl-tile-meta p {
        margin: 0;
        font-size: 0.78rem;
        font-weight: 500;
        color: var(--qr-text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .qr-hl-tile-meta span {
        display: block;
        margin-top: 0.15rem;
        font-size: 0.68rem;
        color: var(--qr-muted);
    }

/* =========================================================
   REPLAY — identidade Quero Replay
   ========================================================= */
.qr-replay {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.25rem 2.5rem;
}

.qr-replay-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.qr-replay-pos {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--qr-muted);
    background: #141b2d;
    border: 1px solid #243049;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.qr-player-wrap {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 900px) {
    .qr-player-wrap {
        grid-template-columns: 1fr;
    }
}

.qr-player {
    position: relative;
    background: #000;
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1px solid #243049;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    min-height: 220px;
}

    .qr-player::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--qr-accent), var(--qr-accent-2));
        z-index: 2;
        pointer-events: none;
    }

.qr-video {
    width: 100%;
    display: block;
    max-height: 72vh;
    background: #000;
}

.qr-player-placeholder {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--qr-muted);
    gap: 0.5rem;
}

.qr-player-nav {
    position: relative;
    touch-action: pan-y;
}

.qr-replay-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(11, 15, 25, 0.72);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.15s, border-color 0.15s;
}

    .qr-replay-nav:hover:not(:disabled) {
        background: rgba(255, 59, 92, 0.85);
        border-color: transparent;
    }

    .qr-replay-nav:disabled {
        opacity: 0.25;
        cursor: default;
    }

.qr-replay-nav-prev {
    left: 10px;
}

.qr-replay-nav-next {
    right: 10px;
}

.qr-replay-swipe-hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.5rem;
    text-align: center;
    margin: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    pointer-events: none;
    z-index: 3;
}

@media (min-width: 900px) {
    .qr-replay-swipe-hint {
        display: none;
    }
}

.qr-replay-meta {
    background: linear-gradient(165deg, #151c2e 0%, #0f1420 100%);
    border: 1px solid #243049;
    border-radius: 1.1rem;
    padding: 1.35rem 1.4rem;
    position: relative;
    overflow: hidden;
}

    .qr-replay-meta::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, var(--qr-accent), transparent);
    }

    .qr-replay-meta .qr-badge {
        margin-bottom: 0.35rem;
    }

    .qr-replay-meta h1 {
        font-size: 1.25rem;
        line-height: 1.25;
        margin: 0.25rem 0 0.85rem;
        font-weight: 700;
    }

.qr-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

    .qr-meta-list li {
        display: flex;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.45rem 0;
        border-bottom: 1px solid rgba(36, 48, 73, 0.85);
        font-size: 0.9rem;
        color: var(--qr-muted);
    }

        .qr-meta-list li:last-child {
            border-bottom: none;
        }

    .qr-meta-list strong {
        color: var(--qr-text);
        font-weight: 600;
    }

.qr-replay-meta .qr-lead {
    font-size: 0.9rem;
    margin: 0 0 1.1rem;
    max-width: none;
}

.qr-replay-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

    .qr-replay-actions .qr-btn-primary {
        width: 100%;
        text-align: center;
    }

.qr-replay-nav-actions {
    display: flex;
    gap: 0.5rem;
}

    .qr-replay-nav-actions .qr-btn {
        flex: 1;
    }

.qr-replay-hint {
    margin-top: 0.85rem;
    font-size: 0.75rem;
    color: var(--qr-muted);
    text-align: center;
}

.qr-download-msg {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--qr-accent-2);
}

/* =========================================================
   MINHA ARENA (dono)
   ========================================================= */
.qr-ma-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

.qr-ma-hero h1 {
    margin: 0.35rem 0 0.5rem;
    font-size: clamp(1.6rem, 4vw, 2rem);
}

.qr-ma-status-msg {
    color: var(--qr-accent-2);
    font-size: 0.9rem;
    margin: 0.75rem 0 0;
}

.qr-ma-empty {
    background: #121826;
    border: 1px solid #243049;
    border-radius: 1rem;
    padding: 1.5rem;
}

.qr-ma-resumo {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 1.35rem;
    border-radius: 1rem;
    border: 1px solid #243049;
    background: #121826;
    margin: 1.25rem 0 1.75rem;
}

    .qr-ma-resumo.is-ok {
        border-color: rgba(0, 229, 160, 0.35);
        box-shadow: 0 0 0 1px rgba(0, 229, 160, 0.08);
    }

    .qr-ma-resumo.is-bad {
        border-color: rgba(255, 59, 92, 0.45);
    }

.qr-ma-resumo-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--qr-muted);
    margin-bottom: 0.25rem;
}

.qr-ma-resumo-valor {
    font-size: 1.35rem;
}

.qr-ma-resumo.is-ok .qr-ma-resumo-valor {
    color: var(--qr-accent-2);
}

.qr-ma-resumo.is-bad .qr-ma-resumo-valor {
    color: var(--qr-accent);
}

.qr-ma-resumo-sub {
    display: block;
    font-size: 0.85rem;
    color: var(--qr-muted);
    margin-top: 0.2rem;
}

.qr-ma-section-title {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.85rem;
}

.qr-ma-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.qr-ma-card {
    background: #121826;
    border: 1px solid #243049;
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
}

.qr-ma-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

    .qr-ma-card-top h3 {
        margin: 0;
        font-size: 1.05rem;
    }

.qr-ma-dl {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .qr-ma-dl li {
        display: flex;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.35rem 0;
        border-top: 1px solid #1e2638;
        font-size: 0.9rem;
    }

        .qr-ma-dl li span {
            color: var(--qr-muted);
        }

.qr-ma-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
}

    .qr-ma-badge.is-ok {
        background: rgba(0, 229, 160, 0.15);
        color: var(--qr-accent-2);
    }

    .qr-ma-badge.is-bad {
        background: rgba(255, 59, 92, 0.15);
        color: #ff6b8a;
    }

    .qr-ma-badge.is-warn {
        background: rgba(255, 193, 7, 0.12);
        color: #ffc107;
    }

    .qr-ma-badge.is-muted {
        background: #1e2638;
        color: var(--qr-muted);
    }

.qr-ma-pay-box {
    margin-top: 1.75rem;
    padding: 1.25rem 1.35rem;
    border-radius: 1rem;
    border: 1px dashed #243049;
    background: #0e1422;
}

.qr-ma-pay-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.qr-ma-pix {
    margin: 0.25rem 0 0;
    font-weight: 600;
    word-break: break-all;
}

.qr-ma-table-wrap {
    overflow-x: auto;
    border: 1px solid #243049;
    border-radius: 1rem;
    background: #121826;
}

.qr-ma-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

    .qr-ma-table th,
    .qr-ma-table td {
        padding: 0.75rem 1rem;
        text-align: left;
        border-bottom: 1px solid #1e2638;
    }

    .qr-ma-table th {
        color: var(--qr-muted);
        font-weight: 600;
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .qr-ma-table tr:last-child td {
        border-bottom: none;
    }

@media (max-width: 700px) {
    .qr-ma-pay-grid {
        grid-template-columns: 1fr;
    }

    .qr-ma-table thead {
        display: none;
    }

    .qr-ma-table tr {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #1e2638;
    }

    .qr-ma-table td {
        display: flex;
        justify-content: space-between;
        gap: 0.75rem;
        border: none;
        padding: 0.35rem 0;
    }

        .qr-ma-table td::before {
            content: attr(data-label);
            color: var(--qr-muted);
            font-size: 0.8rem;
        }
}

/* =========================================================
   SORTEIO
   ========================================================= */
.qr-sorteio {
    max-width: 720px;
    margin: 0 auto;
}

.qr-sor-block {
    background: #121826;
    border: 1px solid #243049;
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
    margin: 1rem 0;
}

    .qr-sor-block h2 {
        margin: 0 0 0.35rem;
        font-size: 1.05rem;
    }

.qr-sor-hint {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
}

.qr-sor-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
}

.qr-sor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.qr-sor-erro {
    color: #ff6b8a;
    font-weight: 600;
}

.qr-sor-resultado {
    margin: 0.85rem 0 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--qr-accent-2);
}

.qr-sor-times-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.qr-sor-time-card {
    background: #0e1422;
    border: 1px solid #243049;
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
}

    .qr-sor-time-card h3 {
        margin: 0 0 0.5rem;
        font-size: 0.95rem;
    }

    .qr-sor-time-card ol {
        margin: 0;
        padding-left: 1.15rem;
        font-size: 0.9rem;
    }

.qr-sor-gk {
    margin: 0 0 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.qr-sor-reserva {
    background: #1a2235;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.qr-sor-lista-num {
    columns: 2;
    margin: 0 0 1rem;
    padding-left: 0;
    list-style: none;
    font-size: 0.9rem;
}

    .qr-sor-lista-num li {
        margin: 0.25rem 0;
    }

.qr-sor-num {
    display: inline-block;
    min-width: 1.4rem;
    color: var(--qr-accent-2);
    font-weight: 700;
}

.qr-coin-stage {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0 1rem;
    perspective: 600px;
}

.qr-coin {
    width: 88px;
    height: 88px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.15s ease;
}

    .qr-coin.show-cara {
        transform: rotateY(0deg);
    }

    .qr-coin.show-coroa {
        transform: rotateY(180deg);
    }

    .qr-coin.is-flipping {
        animation: qr-coin-flip 1.2s ease-in-out;
    }

@keyframes qr-coin-flip {
    0% {
        transform: rotateY(0deg) translateY(0);
    }

    40% {
        transform: rotateY(720deg) translateY(-48px);
    }

    70% {
        transform: rotateY(1080deg) translateY(-12px);
    }

    100% {
        transform: rotateY(1440deg) translateY(0);
    }
}

.qr-coin-face {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    backface-visibility: hidden;
    border: 3px solid #c9a227;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.25);
}

.qr-coin-cara {
    background: radial-gradient(circle at 35% 30%, #ffe9a8, #d4a017 55%, #a67c00);
    color: #3d2e00;
}

.qr-coin-coroa {
    background: radial-gradient(circle at 35% 30%, #e8e8e8, #9a9a9a 55%, #6a6a6a);
    color: #1a1a1a;
    transform: rotateY(180deg);
}

.qr-sor-moeda-txt {
    font-size: 1.5rem;
    letter-spacing: 0.06em;
}

/* Header mobile */
@media (max-width: 720px) {
    .qr-header {
        padding: 0.75rem 1rem;
    }

    .qr-nav-user {
        display: none;
    }

    .qr-nav {
        gap: 0.65rem;
    }

    .qr-logo {
        font-size: 1.05rem;
    }
}


/* ----- Preview grade: touch + emulador ----- */
.qr-hl-tile-media {
    -webkit-tap-highlight-color: transparent;
}

/* ----- Replay: controles nativos utilizáveis ----- */
.qr-player {
    /* espaço visual; o vídeo continua full width */
}

.qr-video {
    position: relative;
    z-index: 1;
    width: 100%;
    display: block;
    max-height: 72vh;
    background: #000;
    /* ajuda a barra de controle a não colidir com overlays */
}

/* setas mais acima — não cobrem a barra de play/pause */
.qr-player-nav .qr-replay-nav {
    top: 38%;
    transform: translateY(-50%);
}

/* hint acima da barra nativa (mobile) */
.qr-replay-swipe-hint {
    bottom: 3.25rem;
    z-index: 2;
    pointer-events: none;
}

/* faixa rosa do topo não captura clique */
.qr-player::after {
    pointer-events: none;
    z-index: 2;
}

/* setas acima do vídeo, mas abaixo dos controles se o browser empilhar certo */
.qr-replay-nav {
    z-index: 3;
}

/* quando o vídeo termina, o usuário ainda vê área clicável ampla */
@media (max-width: 900px) {
    .qr-player {
        border-radius: 0.85rem;
    }

    .qr-replay-nav {
        width: 40px;
        height: 40px;
        opacity: 0.92;
    }

    .qr-replay-nav-prev {
        left: 6px;
    }

    .qr-replay-nav-next {
        right: 6px;
    }
}