/* Topto.kg game — scoped styling, aligned with Финсабат brand (green #24bb8c). */
.topto {
    --topto-accent: #24bb8c;
    --topto-accent-dark: #1c9c74;
    --topto-ink: #1f2a37;
    --topto-muted: #6b7280;
}

.topto-wrap {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 4vw, 5rem) 1rem;
}

.topto-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(31, 42, 55, .12);
    max-width: 720px;
    width: 100%;
    padding: clamp(1.5rem, 3vw, 2.75rem);
}

.topto-title {
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--topto-ink);
}

.topto-lead {
    color: var(--topto-muted);
    text-align: justify;
    line-height: 1.7;
}

.topto-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--topto-accent);
    color: #fff;
    font-weight: 600;
    border: 0;
    border-radius: 12px;
    padding: .7rem 1.4rem;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.topto-btn:hover {
    background: var(--topto-accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(36, 187, 140, .28);
}
.topto-btn--ghost {
    background: #eef7f3;
    color: var(--topto-accent-dark);
}
.topto-btn--ghost:hover { background: #e0efe9; color: var(--topto-accent-dark); }

/* Character grid */
.topto-characters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.topto-character {
    text-align: center;
    text-decoration: none;
    color: var(--topto-ink);
    display: block;
}
.topto-character__img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
    border-radius: 14px;
    background: #f3f4f6;
    transition: transform .25s ease, box-shadow .25s ease;
}
.topto-character:hover .topto-character__img {
    transform: scale(1.04);
    box-shadow: 0 14px 34px rgba(31, 42, 55, .18);
}
.topto-character__name { margin-top: .75rem; font-weight: 600; font-size: 1.05rem; }

/* Gameplay */
.topto-game {
    min-height: 82vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: clamp(1.5rem, 4vw, 3.5rem) 1rem;
}
.topto-panel {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(2px);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(31, 42, 55, .18);
    max-width: 640px;
    overflow: hidden;
}
.topto-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .85rem 1.25rem;
    border-bottom: 1px solid #eceff3;
}
.topto-chip {
    font-weight: 600;
    font-size: .9rem;
    color: #fff;
    border-radius: 8px;
    padding: .35rem .7rem;
}
.topto-chip--in { background: #22b07d; }
.topto-chip--out { background: #ef5350; }
.topto-chip--total { background: #3b82f6; }
.topto-panel__body { padding: 1.5rem; }
.topto-question { color: #374151; line-height: 1.7; margin-bottom: 1.25rem; text-align: left; }
.topto-answers { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.topto-video { margin-top: 1.25rem; }
.topto-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }

.topto-logo { height: 44px; width: auto; border-radius: 8px; }
