/* Index sayfası siber güvenlik & şifre temalı arkaplan - Düzeltilmiş Sürüm */

html {
    background-color: #15396b !important;
}

body.index-body {
    /* Arka plan rengini en üst öncelik ve zorunlu hale getiriyoruz */
    background-color: #15396b !important;

    /* 1. Katman: Şifreler (**** ve ••••), Kilit İkonları ve Binary Kodları */
    /* 2. Katman: Küçük veri şifreleme ve siber akış simgeleri */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Ctext x='40' y='60' fill='rgba(52,179,192,0.25)' font-family='monospace' font-size='22'%3E%2A%2A%2A%2A%2A%2A%2A%2A%3C/text%3E%3Ctext x='240' y='180' fill='rgba(52,179,192,0.25)' font-family='monospace' font-size='22'%3E%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%3C/text%3E%3Ctext x='80' y='320' fill='rgba(52,179,192,0.25)' font-family='monospace' font-size='20'%3E01101001%3C/text%3E%3Cpath d='M300 280 v-12 a 12 12 0 0 1 24 0 v12 h6 v18 h-36 v-18 h6' fill='none' stroke='rgba(52,179,192,0.25)' stroke-width='2'/%3E%3Ccircle cx='312' cy='290' r='3' fill='rgba(52,179,192,0.25)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Ctext x='150' y='80' fill='rgba(255,255,255,0.15)' font-family='monospace' font-size='16'%3E100110%3C/text%3E%3Ctext x='40' y='220' fill='rgba(255,255,255,0.15)' font-family='monospace' font-size='16'%3E%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%3C/text%3E%3Ctext x='200' y='260' fill='rgba(255,255,255,0.15)' font-family='monospace' font-size='16'%3E%2A%2A%2A%2A%3C/text%3E%3Cpath d='M 100 100 l 10 10 l -10 10 m 15 -20 l 10 10 l -10 10' fill='none' stroke='rgba(255,255,255,0.15)' stroke-width='2'/%3E%3C/svg%3E") !important;

    background-size:
        400px 400px,
        300px 300px !important;
    animation: cryptoFloat 30s linear infinite;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Şifreleme karakterlerinin yukarı doğru süzülmesini sağlayan animasyon (Parallax) */
@keyframes cryptoFloat {
    0% {
        background-position:
            0 0,
            0 0;
    }
    100% {
        background-position:
            0 -400px,
            0 -300px;
    }
}

/* Radar Tarama Efekti (Siber güvenlik sonar/radar taraması) */
.index-body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 150vmax;
    height: 150vmax;
    transform: translate(-50%, -50%);
    /* transparent yerine rgba(0) kullanılarak beyazlık hatası önlendi */
    background: conic-gradient(
        from 0deg,
        rgba(52, 179, 192, 0) 70%,
        rgba(20, 184, 166, 0.05) 98%,
        rgba(52, 179, 192, 0.25) 100%
    );
    border-radius: 50%;
    animation: radarSweep 6s linear infinite;
    z-index: -2;
    pointer-events: none;
}

@keyframes radarSweep {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Fare hareketlerine duyarlı şifre çözme ışığı */
.index-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(
        circle 500px at var(--mouse-x, 50vw) var(--mouse-y, 50vh),
        rgba(52, 179, 192, 0.3),
        rgba(52, 179, 192, 0) 70%
    );
    transition: background 0.1s ease-out;
}

/* Mobil Cihaz Uyumluluğu */
@media (max-width: 768px) {
    .index-body::before {
        animation: pulseGlow 8s ease-in-out infinite alternate;
        background: radial-gradient(circle 400px at 50% 50%, rgba(52, 179, 192, 0.2), rgba(52, 179, 192, 0) 70%);
    }

    .index-body::after {
        background: conic-gradient(
            from 0deg,
            rgba(52, 179, 192, 0) 60%,
            rgba(20, 184, 166, 0.02) 95%,
            rgba(52, 179, 192, 0.15) 100%
        );
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.5;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* ═══ Login / landing footer — sade, modern ═══ */
.cp-public-footer--landing {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 1.1rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
    text-align: center;
    pointer-events: none;
    background: linear-gradient(to top, rgba(9, 18, 31, 0.55) 0%, rgba(9, 18, 31, 0.18) 55%, rgba(9, 18, 31, 0) 100%);
}

.cp-public-footer--landing > * {
    pointer-events: auto;
}

.cp-public-footer__nav {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem 0.7rem;
    max-width: min(36rem, 100%);
}

.cp-public-footer__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(226, 232, 240, 0.72);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.2;
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.cp-public-footer__link i {
    font-size: 0.72rem;
    color: rgba(52, 179, 192, 0.85);
    opacity: 0.9;
}

.cp-public-footer__link:hover,
.cp-public-footer__link:focus-visible {
    color: #f8fafc;
    outline: none;
}

.cp-public-footer__link:hover i,
.cp-public-footer__link:focus-visible i {
    color: #34b3c0;
}

.cp-public-footer__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.45);
    flex-shrink: 0;
}

.cp-public-footer__credit {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: none;
}

.cp-public-footer__credit a {
    color: rgba(148, 163, 184, 0.65);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cp-public-footer__credit a:hover,
.cp-public-footer__credit a:focus-visible {
    color: rgba(226, 232, 240, 0.92);
    outline: none;
}

.cp-public-footer--error {
    margin-top: 1.25rem;
    text-align: center;
}

.cp-public-footer--error .cp-public-footer__nav {
    font-size: 0.72rem;
    gap: 0.45rem;
}

.cp-public-footer--error .cp-public-footer__nav a {
    color: #64748b;
    text-decoration: none;
}

.cp-public-footer--error .cp-public-footer__credit {
    margin-top: 0.35rem;
    color: #64748b;
}

@media (max-width: 520px) {
    .cp-public-footer--landing {
        padding-inline: 1rem;
        gap: 0.45rem;
    }

    .cp-public-footer__nav {
        gap: 0.4rem 0.55rem;
    }

    .cp-public-footer__link {
        font-size: 0.72rem;
    }

    .cp-public-footer__link span {
        max-width: 11rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cp-public-footer__credit {
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp-public-footer__link,
    .cp-public-footer__credit a {
        transition: none;
    }

    body.index-body {
        animation: none !important;
    }

    .index-body::after,
    .index-body::before {
        animation: none !important;
    }
}

/* Kapalı modallar — render maliyetini düşür */
.modal:not(.show):not(.active) {
    content-visibility: hidden;
    contain-intrinsic-size: 0 400px;
}

/* ═══ Login authentication modals — unified premium shell ═══ */
.index-body {
    --auth-modal-accent: #43c9c5;
    --auth-modal-accent-2: #2f98d2;
    --auth-modal-surface: rgba(9, 17, 31, 0.96);
    --auth-modal-surface-soft: rgba(20, 31, 50, 0.78);
    --auth-modal-line: rgba(148, 163, 184, 0.16);
    --auth-modal-text: #f7fafc;
    --auth-modal-muted: #94a3b8;
}

.index-body .auth-modal {
    inset: 0;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 3vw, 2rem);
    background:
        radial-gradient(circle at 50% 15%, rgba(67, 201, 197, 0.1), transparent 32rem),
        rgba(3, 9, 18, 0.82);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.index-body .auth-modal .auth-modal-card {
    position: relative;
    width: min(100%, 36rem) !important;
    max-width: 36rem !important;
    padding: clamp(1.35rem, 4vw, 2rem) !important;
    overflow: hidden;
    color: var(--auth-modal-text);
    text-align: center;
    background:
        linear-gradient(145deg, rgba(20, 31, 50, 0.98), var(--auth-modal-surface)) padding-box,
        linear-gradient(145deg, rgba(103, 232, 226, 0.35), rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0.12))
            border-box !important;
    border: 1px solid transparent !important;
    border-radius: clamp(1.25rem, 3vw, 1.75rem) !important;
    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.62),
        0 0 0 1px rgba(255, 255, 255, 0.025) inset,
        0 1px 0 rgba(255, 255, 255, 0.08) inset !important;
}

.index-body .auth-modal .auth-modal-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 12%;
    width: 76%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(103, 232, 226, 0.72), transparent);
    pointer-events: none;
}

.index-body .auth-modal .auth-modal-card--compact {
    width: min(100%, 32rem) !important;
    max-width: 32rem !important;
}

.index-body .auth-modal .auth-modal-card--medium {
    width: min(100%, 34rem) !important;
    max-width: 34rem !important;
}

.index-body .auth-modal .auth-modal-card--wide {
    width: min(100%, 68rem) !important;
    max-width: 68rem !important;
}

.index-body .auth-modal-header {
    position: relative;
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
    align-items: center;
    min-height: 2.75rem;
    margin: 0 0 0.35rem;
    border: 0;
}

.index-body .auth-modal-header h3 {
    grid-column: 2;
    margin: 0;
    color: var(--auth-modal-text);
    font-size: clamp(1.25rem, 3vw, 1.65rem) !important;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.025em !important;
    text-wrap: balance;
}

.index-body .auth-modal-close {
    position: static !important;
    grid-column: 3;
    justify-self: end;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 50%;
    color: #a8b4c7;
    font: 400 1.45rem/1 system-ui, sans-serif;
    background: rgba(148, 163, 184, 0.07);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.index-body .auth-modal-close:hover,
.index-body .auth-modal-close:focus-visible {
    color: #fff;
    background: rgba(67, 201, 197, 0.14);
    border-color: rgba(67, 201, 197, 0.55);
    transform: rotate(90deg);
    outline: 3px solid rgba(67, 201, 197, 0.16);
    outline-offset: 2px;
}

.index-body .auth-modal-description {
    max-width: 38rem;
    margin: 0.35rem auto 1.5rem !important;
    color: var(--auth-modal-muted) !important;
    font-size: 0.93rem !important;
    line-height: 1.6 !important;
    text-align: center;
    text-wrap: pretty;
}

.index-body .auth-modal-primary {
    width: 100% !important;
    min-height: 3rem;
    margin-top: 1.15rem !important;
    padding: 0.85rem 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 0.85rem !important;
    color: #f8ffff !important;
    font-size: 0.98rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.01em !important;
    text-transform: none;
    background: linear-gradient(115deg, #43c9c5, #2f98d2) !important;
    box-shadow:
        0 14px 30px rgba(47, 152, 210, 0.22),
        0 0 22px rgba(67, 201, 197, 0.12) !important;
}

.index-body .auth-modal-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
}

/* OTP */
.index-body .otp-modal-content {
    background:
        linear-gradient(145deg, rgba(20, 31, 50, 0.98), var(--auth-modal-surface)) padding-box,
        linear-gradient(145deg, rgba(103, 232, 226, 0.35), rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0.12))
            border-box !important;
}

.index-body .otp-input-group {
    gap: clamp(0.35rem, 1.6vw, 0.6rem);
    margin: 1.35rem 0 0.35rem;
}

.index-body .otp-digit {
    width: clamp(2.55rem, 10vw, 3.2rem);
    height: clamp(3.35rem, 12vw, 4rem);
    border: 1px solid rgba(67, 201, 197, 0.32);
    border-radius: 0.85rem;
    background: rgba(4, 12, 24, 0.58);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.index-body .otp-digit:focus {
    transform: translateY(-2px);
    border-color: var(--auth-modal-accent);
    box-shadow:
        0 0 0 3px rgba(67, 201, 197, 0.13),
        0 10px 25px rgba(47, 152, 210, 0.12);
}

.index-body .auth-otp-meta {
    margin: 0.15rem 0 0;
    color: rgba(167, 189, 214, 0.78);
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    text-align: center;
}

.index-body .auth-otp-resend {
    display: block;
    width: 100%;
    margin-top: 0.85rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(67, 201, 197, 0.22);
    border-radius: 0.85rem;
    background: rgba(8, 18, 32, 0.55);
    color: #9fdad4;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        color 0.18s ease,
        background 0.18s ease;
}

.index-body .auth-otp-resend:hover:not(:disabled) {
    border-color: rgba(67, 201, 197, 0.45);
    color: #dffaf6;
    background: rgba(12, 28, 44, 0.75);
}

.index-body .auth-otp-resend:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.index-body .auth-otp-resend[hidden] {
    display: none !important;
}

/* Method selection */
.index-body #method-select-modal .auth-modal-card {
    padding: clamp(1.35rem, 3vw, 2rem) !important;
}

.index-body .method-group-title {
    gap: 0.75rem;
    margin: 1.2rem 0 0.85rem;
    padding: 0;
    color: var(--auth-modal-accent);
    font-size: 0.92rem;
    font-weight: 750;
    letter-spacing: 0.01em;
}

.index-body .method-group-title i {
    flex: 0 0 auto;
}

.index-body .method-group-title::before,
.index-body .method-group-title::after {
    margin: 0;
    border-color: rgba(67, 201, 197, 0.18);
}

.index-body .method-grid-active {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.index-body .method-grid-passive {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.65rem;
}

.index-body .method-btn {
    appearance: none;
    min-width: 0;
    min-height: 8rem;
    padding: 1rem 0.65rem !important;
    border-radius: 1rem !important;
    font: inherit;
}

.index-body .method-lock-icon {
    position: absolute;
    top: 0.55rem;
    right: 0.6rem;
    color: rgba(148, 163, 184, 0.48);
    font-size: 0.65rem;
}

.index-body .method-active {
    background:
        linear-gradient(145deg, rgba(67, 201, 197, 0.09), rgba(15, 27, 45, 0.88)) padding-box,
        linear-gradient(145deg, rgba(103, 232, 226, 0.32), rgba(255, 255, 255, 0.06)) border-box !important;
    border: 1px solid transparent !important;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.index-body .method-active:hover,
.index-body .method-active:focus-visible {
    z-index: 1;
    border-color: transparent !important;
    transform: translateY(-3px);
    outline: 3px solid rgba(67, 201, 197, 0.15);
    outline-offset: 2px;
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.28),
        0 0 25px rgba(67, 201, 197, 0.12) !important;
}

.index-body .method-btn .method-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin: 0 0 0.7rem;
    border: 1px solid rgba(67, 201, 197, 0.2);
    border-radius: 0.85rem;
    color: #54d4d0 !important;
    font-size: 1.45rem !important;
    background: rgba(67, 201, 197, 0.08);
    filter: drop-shadow(0 0 10px rgba(67, 201, 197, 0.25));
}

.index-body .method-title {
    color: #f2f7fb !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.index-body .method-subtitle {
    margin-top: 0.2rem;
    color: #8290a5 !important;
    font-size: 0.66rem !important;
    line-height: 1.3 !important;
}

.index-body .method-passive {
    min-height: 7rem;
    opacity: 0.48 !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    background: rgba(8, 16, 30, 0.46) !important;
}

.index-body .method-passive .method-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.1rem !important;
    color: #7893a7 !important;
    border-color: rgba(148, 163, 184, 0.12);
    background: rgba(148, 163, 184, 0.05);
    filter: none;
}

/* Password / pattern / biometric details */
.index-body #sifre-input {
    min-height: 3.25rem;
    margin-top: 1rem !important;
    border: 1px solid rgba(67, 201, 197, 0.3) !important;
    border-radius: 0.85rem !important;
    background: rgba(4, 12, 24, 0.58) !important;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.28) !important;
}

.index-body #virtual-keypad {
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
    padding: 0.75rem !important;
    border: 1px solid var(--auth-modal-line) !important;
    border-radius: 0.85rem !important;
    background: rgba(4, 12, 24, 0.38) !important;
}

.index-body #vk-clear {
    min-height: 2.65rem;
    border-radius: 0.75rem !important;
    color: #8ee7e3 !important;
    background: rgba(67, 201, 197, 0.08) !important;
}

.index-body .auth-pattern-board {
    position: relative;
    width: min(20rem, 100%);
    aspect-ratio: 1;
    height: auto;
    margin: 1.4rem auto 0;
    overflow: hidden;
    touch-action: none;
    border: 1px solid rgba(67, 201, 197, 0.28);
    border-radius: 1.25rem;
    background: radial-gradient(circle at center, rgba(27, 42, 65, 0.92), rgba(5, 13, 26, 0.98));
    box-shadow:
        inset 0 0 36px rgba(0, 0, 0, 0.5),
        0 14px 40px rgba(0, 0, 0, 0.24);
}

.index-body #pattern-canvas {
    width: 100%;
    height: 100%;
}

.index-body .scanner-ring {
    background: radial-gradient(circle, rgba(67, 201, 197, 0.12), rgba(67, 201, 197, 0.025)) !important;
    border-color: rgba(67, 201, 197, 0.35) !important;
    box-shadow:
        0 0 0 10px rgba(67, 201, 197, 0.025),
        0 0 35px rgba(67, 201, 197, 0.12);
}

.index-body #image-select-grid > div {
    overflow: hidden;
    border-radius: 0.8rem !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

@media (max-width: 800px) {
    .index-body .method-grid-active {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .index-body .method-grid-passive {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .index-body .auth-modal {
        align-items: flex-start;
        padding:
            max(0.65rem, env(safe-area-inset-top))
            max(0.65rem, env(safe-area-inset-right))
            max(0.65rem, env(safe-area-inset-bottom))
            max(0.65rem, env(safe-area-inset-left));
    }

    .index-body .auth-modal .auth-modal-card {
        margin: auto;
        padding: 1.15rem !important;
        border-radius: 1.25rem !important;
    }

    .index-body .auth-modal-header {
        grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
    }

    .index-body .auth-modal-header h3 {
        font-size: 1.22rem !important;
    }

    .index-body .auth-modal-close {
        width: 2.35rem;
        height: 2.35rem;
    }

    .index-body .method-grid-active {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .index-body .method-grid-passive {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .index-body .method-btn {
        min-height: 7.2rem;
        padding: 0.75rem 0.4rem !important;
    }

    .index-body .method-passive {
        min-height: 6.2rem;
    }

    .index-body .method-passive .method-subtitle {
        display: none;
    }

    .index-body .method-group-title,
    .index-body .method-group-title.passive-title {
        white-space: normal;
        line-height: 1.35;
    }

    .index-body #virtual-keypad {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 370px) {
    .index-body .otp-input-group {
        gap: 0.25rem;
    }
    .index-body .otp-digit {
        width: 2.35rem;
        height: 3.1rem;
    }
    .index-body .method-grid-passive {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Dynamic alert / confirm dialogs */
.premium-dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background:
        radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--dialog-accent) 12%, transparent), transparent 24rem),
        rgba(3, 9, 18, 0.84);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    transition: opacity 0.25s ease;
}

.premium-dialog-card {
    position: relative;
    width: min(100%, 25rem);
    padding: 2rem;
    overflow: hidden;
    text-align: center;
    color: #f8fafc;
    background:
        linear-gradient(145deg, rgba(20, 31, 50, 0.98), rgba(8, 16, 29, 0.98)) padding-box,
        linear-gradient(145deg, color-mix(in srgb, var(--dialog-accent) 45%, transparent), rgba(255, 255, 255, 0.08))
            border-box;
    border: 1px solid transparent;
    border-radius: 1.6rem;
    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.62),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.3s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.premium-dialog-card::before {
    content: '';
    position: absolute;
    top: -5rem;
    left: 50%;
    width: 12rem;
    height: 10rem;
    background: color-mix(in srgb, var(--dialog-accent) 20%, transparent);
    border-radius: 50%;
    filter: blur(3rem);
    transform: translateX(-50%);
    pointer-events: none;
}

.premium-dialog-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.2rem;
    border: 1px solid color-mix(in srgb, var(--dialog-accent) 42%, transparent);
    border-radius: 1.25rem;
    color: var(--dialog-accent);
    font: 800 2rem/1 system-ui, sans-serif;
    background: color-mix(in srgb, var(--dialog-accent) 10%, rgba(8, 16, 29, 0.7));
    box-shadow: 0 0 30px color-mix(in srgb, var(--dialog-accent) 15%, transparent);
}

.premium-dialog-card h3 {
    position: relative;
    margin: 0 0 0.6rem;
    color: #f8fafc;
    font-size: 1.45rem;
    font-weight: 780;
    letter-spacing: -0.02em;
}

.premium-dialog-card p {
    position: relative;
    margin: 0 0 1.5rem;
    color: #a8b4c7;
    font-size: 0.95rem;
    line-height: 1.6;
}

.premium-dialog-actions {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.premium-dialog-primary,
.premium-dialog-secondary {
    position: relative;
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border-radius: 0.85rem;
    color: #fff;
    font: 700 0.95rem/1.2 system-ui, sans-serif;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        filter 0.2s ease,
        border-color 0.2s ease;
}

.premium-dialog-primary {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(115deg, var(--dialog-accent), color-mix(in srgb, var(--dialog-accent) 68%, #2563eb));
    box-shadow: 0 12px 28px color-mix(in srgb, var(--dialog-accent) 22%, transparent);
}

.premium-dialog-secondary {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(148, 163, 184, 0.07);
}

.premium-dialog-primary:hover,
.premium-dialog-secondary:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

@supports not (color: color-mix(in srgb, white, black)) {
    .premium-dialog-overlay {
        background: rgba(3, 9, 18, 0.9);
    }
    .premium-dialog-card {
        border-color: rgba(67, 201, 197, 0.28);
    }
    .premium-dialog-primary {
        background: linear-gradient(115deg, #43c9c5, #2f98d2);
    }
}

/* ═══ Sosyal giriş / kayıt mini butonlar ═══ */
.cp-auth-alert {
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    font-size: 0.82rem;
    text-align: center;
    margin-bottom: 0.9rem;
    line-height: 1.4;
}

.cp-auth-alert--error {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fecaca;
}

.cp-auth-alert--ok {
    background: rgba(52, 179, 192, 0.12);
    border: 1px solid rgba(52, 179, 192, 0.35);
    color: #99f6e4;
}

.cp-auth-alert--warn {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fde68a;
}

.method-grid-meta {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    margin: 0 0 0.75rem;
    line-height: 1.35;
}

.method-card.is-active .method-card-sub {
    color: rgba(153, 246, 228, 0.85);
}

.method-card.is-passive .method-card-sub {
    color: rgba(253, 230, 138, 0.75);
}

.cp-social-btn.is-disabled:hover,
.cp-social-btn.is-disabled:focus-visible {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: none;
}

.cp-social-auth {
    margin-top: 1rem;
    width: 100%;
}

.cp-social-auth__label {
    margin: 0 0 0.65rem;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.7);
}

.cp-social-auth__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.cp-social-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease,
        color 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
}

.cp-social-btn:hover:not(.is-disabled):not(:disabled),
.cp-social-btn:focus-visible:not(.is-disabled):not(:disabled) {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    outline: none;
    transform: translateY(-1px);
}

.cp-social-btn:active:not(.is-disabled):not(:disabled) {
    transform: translateY(0);
}

.cp-social-btn--google i {
    color: #ea4335;
}
.cp-social-btn--apple i {
    color: #f8fafc;
}
.cp-social-btn--microsoft i {
    color: #00a4ef;
}
.cp-social-btn--facebook i {
    color: #1877f2;
}

.cp-social-btn--google:hover:not(.is-disabled),
.cp-social-btn--google:focus-visible:not(.is-disabled) {
    border-color: rgba(234, 67, 53, 0.45);
    box-shadow: 0 0 0 3px rgba(234, 67, 53, 0.12);
}

.cp-social-btn.is-disabled,
.cp-social-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    transform: none !important;
    filter: grayscale(0.25);
}

@media (max-width: 420px) {
    .cp-social-btn {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp-social-btn {
        transition: none;
    }
}

/* Skip link — erişilebilirlik + crawl odaklı */
.cp-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 0.55rem 0.9rem;
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid rgba(52, 179, 192, 0.45);
    border-radius: 8px;
    font-size: 0.85rem;
    text-decoration: none;
}

.cp-skip-link:focus {
    left: 0.75rem;
    top: 0.75rem;
}

/* ═══ Desktop: yazı sol (minimal) + login sağ (belirgin) ═══ */
body.index-body {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(1.25rem, 3vw, 2.75rem) clamp(1.5rem, 4vw, 3.5rem);
    padding: clamp(1.25rem, 3vw, 2.5rem) 1.25rem 5.5rem;
}

body.index-body > .auth-container {
    order: 2;
    flex: 0 1 460px;
    width: min(460px, 92vw);
    max-width: 460px;
    margin: 0;
    padding: clamp(2.25rem, 4vw, 3.25rem) clamp(1.75rem, 4vw, 2.75rem);
    border: 1px solid rgba(52, 179, 192, 0.22);
    border-top-color: rgba(72, 198, 211, 0.45);
    box-shadow:
        0 36px 70px -14px rgba(0, 0, 0, 0.78),
        0 0 0 1px rgba(52, 179, 192, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ═══ Crawlable SEO / FAQ — sol kolon, kompakt ═══ */
.cp-seo-landing {
    position: relative;
    z-index: 2;
    order: 1;
    flex: 0 1 260px;
    width: min(260px, 34vw);
    max-width: 280px;
    margin: 0;
    color: rgba(226, 232, 240, 0.82);
    content-visibility: auto;
    contain-intrinsic-size: 1px 280px;
}

.cp-seo-landing__inner {
    padding: 0.15rem 0.15rem 0.15rem 0;
    border-top: none;
}

.cp-seo-landing__title {
    margin: 0 0 0.35rem;
    font-size: 0.92rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    line-height: 1.3;
    color: #e2e8f0;
}

.cp-seo-landing__lead {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(148, 163, 184, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cp-seo-landing__lead--secondary {
    display: none;
}

.cp-seo-landing__features {
    margin: 0 0 0.55rem;
    padding: 0 0 0 0.95rem;
    display: grid;
    gap: 0.18rem;
    font-size: 0.68rem;
    line-height: 1.35;
    color: rgba(148, 163, 184, 0.9);
}

.cp-seo-landing__features li:nth-child(n + 4) {
    display: none;
}

.cp-seo-landing__features li::marker {
    color: #34b3c0;
}

.cp-seo-landing__faq {
    display: grid;
    gap: 0.22rem;
}

.cp-seo-landing__item {
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.28);
    padding: 0.2rem 0.45rem;
}

.cp-seo-landing__item summary {
    cursor: pointer;
    list-style: none;
    font-size: 0.7rem;
    font-weight: 600;
    color: #cbd5e1;
    padding: 0.18rem 0;
    line-height: 1.3;
}

.cp-seo-landing__item summary::-webkit-details-marker {
    display: none;
}

.cp-seo-landing__item summary::before {
    content: '+';
    display: inline-block;
    width: 0.85rem;
    color: #34b3c0;
    font-weight: 700;
}

.cp-seo-landing__item[open] summary::before {
    content: '−';
}

.cp-seo-landing__item p {
    margin: 0 0 0.3rem;
    padding-left: 0.85rem;
    font-size: 0.68rem;
    line-height: 1.4;
    color: rgba(148, 163, 184, 0.92);
}

/* Mobil: yazı alanı gizle — login tek odak */
@media (max-width: 900px) {
    body.index-body {
        flex-direction: column;
        gap: 0;
        padding-bottom: 4.75rem;
    }

    body.index-body > .auth-container {
        order: 0;
        width: min(420px, 92vw);
        max-width: 420px;
        margin: 0 auto;
    }

    .cp-seo-landing {
        display: none !important;
    }
}

/* Auth modal content modules */
.index-body .auth-field-label {
    display: block;
    margin: 0.85rem 0 0.45rem;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
}
.index-body .auth-password-input,
.index-body #sifre-input.auth-password-input {
    width: 100%;
    min-height: 3.25rem;
    margin-top: 0 !important;
    padding: 0.95rem 1rem !important;
    border: 1px solid rgba(67, 201, 197, 0.3) !important;
    border-radius: 0.85rem !important;
    color: #fff !important;
    letter-spacing: 0.18em;
    background: rgba(4, 12, 24, 0.58) !important;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.28) !important;
}
.index-body .auth-password-input:focus {
    border-color: var(--auth-modal-accent) !important;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(67, 201, 197, 0.14) !important;
    outline: none;
}
.index-body .auth-virtual-keypad,
.index-body #virtual-keypad.auth-virtual-keypad {
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
    margin-top: 1rem !important;
    padding: 0.8rem !important;
    border: 1px solid var(--auth-modal-line) !important;
    border-radius: 0.9rem !important;
    background: rgba(4, 12, 24, 0.4) !important;
}
.index-body .auth-keypad-key {
    min-width: 0;
    min-height: 2.65rem;
    padding: 0.55rem 0.25rem;
    border: 1px solid rgba(67, 201, 197, 0.34);
    border-radius: 0.65rem;
    color: #55d5d5;
    font: 600 0.95rem/1 system-ui, sans-serif;
    cursor: pointer;
    background: linear-gradient(145deg, rgba(17, 31, 51, 0.96), rgba(8, 18, 34, 0.96));
    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        background 0.18s ease;
}
.index-body .auth-keypad-key:hover,
.index-body .auth-keypad-key:focus-visible {
    color: #fff;
    border-color: rgba(67, 201, 197, 0.72);
    background: rgba(67, 201, 197, 0.18);
    transform: translateY(-2px);
    outline: none;
    box-shadow: 0 8px 18px rgba(47, 152, 210, 0.18);
}
.index-body .auth-secondary-btn,
.index-body #vk-clear.auth-secondary-btn,
.index-body #nokta-clear.auth-secondary-btn {
    width: 100%;
    min-height: 2.75rem;
    margin-top: 0.75rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(67, 201, 197, 0.28);
    border-radius: 0.8rem;
    color: #8ee7e3;
    font: 650 0.92rem/1.2 system-ui, sans-serif;
    cursor: pointer;
    background: rgba(67, 201, 197, 0.08);
}
.index-body .auth-password-strength {
    display: none;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.85rem;
    text-align: left;
}
.index-body .auth-password-strength__meta {
    display: flex;
    justify-content: space-between;
    color: #cbd5e1;
    font-size: 0.75rem;
}
.index-body .auth-password-strength__track {
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}
.index-body .auth-password-strength__bar {
    width: 0;
    height: 100%;
    background: #43c9c5;
    transition: width 0.3s ease, background 0.3s ease;
}
.index-body .auth-password-strength__list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #fca5a5;
    font-size: 0.72rem;
}
.index-body .auth-info-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(67, 201, 197, 0.28);
    border-radius: 0.9rem;
    color: #e2e8f0;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.72));
}
.index-body .auth-info-banner i { color: var(--auth-modal-accent); }
.index-body .auth-info-banner p { margin: 0; font-size: 0.92rem; font-weight: 600; }
.index-body .auth-ghost-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: min(100%, 20rem);
    margin: 0.95rem auto 0;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 0.85rem;
    color: #cbd5e1;
    font-size: 0.85rem;
    cursor: pointer;
    background: rgba(8, 16, 30, 0.45);
}
.index-body .auth-ghost-toggle__label { display: inline-flex; align-items: center; gap: 0.45rem; }
.index-body .auth-ghost-toggle input { width: 1.1rem; height: 1.1rem; accent-color: var(--auth-modal-accent); cursor: pointer; }
.index-body .auth-ghost-toggle input {
    appearance: none;
    position: relative;
    flex: 0 0 auto;
    width: 2.45rem;
    height: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.14);
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}
.index-body .auth-ghost-toggle input::before {
    content: '';
    position: absolute;
    top: 0.18rem;
    left: 0.2rem;
    width: 0.92rem;
    height: 0.92rem;
    border-radius: 50%;
    background: #cbd5e1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}
.index-body .auth-ghost-toggle input:checked {
    border-color: rgba(67, 201, 197, 0.55);
    background: rgba(67, 201, 197, 0.34);
}
.index-body .auth-ghost-toggle input:checked::before {
    background: #f8ffff;
    transform: translateX(1.02rem);
}
.index-body .auth-ghost-toggle input:focus-visible {
    outline: 3px solid rgba(67, 201, 197, 0.16);
    outline-offset: 2px;
}
.index-body .auth-pattern-board #pattern-canvas,
.index-body #pattern-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.index-body .auth-biometric { padding: 1.5rem 0.35rem 0.35rem; }
.index-body .auth-biometric__ring,
.index-body .scanner-ring.auth-biometric__ring {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7.5rem;
    height: 7.5rem;
    margin: 0 auto 1.15rem;
    border: 1px solid rgba(67, 201, 197, 0.35);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(67, 201, 197, 0.14), rgba(67, 201, 197, 0.03));
    box-shadow: 0 0 0 10px rgba(67, 201, 197, 0.03), 0 0 36px rgba(67, 201, 197, 0.14);
}
.index-body .auth-biometric__icon {
    color: #43c9c5 !important;
    font-size: 3.1rem !important;
    transition: color 0.25s ease, transform 0.25s ease;
}
.index-body .auth-biometric__icon.is-success { color: #2dd4bf !important; transform: scale(1.12); }
.index-body .auth-biometric__icon.is-error { color: #fb7185 !important; }
.index-body .auth-biometric__title {
    margin: 0 0 0.55rem;
    color: #f8fafc;
    font-size: 1.15rem;
    font-weight: 720;
}
.index-body .auth-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.6rem;
    margin-top: 0.35rem;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 999px;
    color: #93c5fd;
    font-size: 0.88rem;
    font-weight: 650;
    background: rgba(59, 130, 246, 0.1);
}
.index-body .auth-status-chip--success {
    border-color: rgba(45, 212, 191, 0.35);
    color: #5eead4;
    background: rgba(45, 212, 191, 0.1);
}
.index-body .auth-status-chip--error {
    border-color: rgba(251, 113, 133, 0.35);
    color: #fda4af;
    background: rgba(251, 113, 133, 0.1);
}
.index-body .auth-voice-panel {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 0.95rem;
    background: rgba(59, 130, 246, 0.08);
}
.index-body .auth-voice-panel__hint { margin: 0 0 0.55rem; color: #94a3b8; font-size: 0.85rem; }
.index-body .auth-voice-panel__challenge {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 750;
}
.index-body .auth-voice-visualizer {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 0.85rem;
}
.index-body .auth-voice-visualizer__meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.35rem;
    color: #60a5fa;
    font: 600 0.72rem/1 monospace;
}
.index-body .auth-voice-visualizer__canvas {
    width: 100%;
    height: 60px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 0.65rem;
    background: rgba(0, 0, 0, 0.45);
}
.index-body .auth-voice-controls { margin: 1.4rem 0 0.2rem; }
.index-body .auth-voice-btn {
    width: 5rem;
    height: 5rem;
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 1.85rem;
    cursor: pointer;
    background: linear-gradient(145deg, #43c9c5, #2f98d2);
    box-shadow: 0 0 24px rgba(67, 201, 197, 0.35);
}
.index-body .auth-voice-status { margin-top: 1rem; color: #94a3b8; }
.index-body .auth-voice-result { margin-top: 0.55rem; color: #2dd4bf; font-size: 1.05rem; font-weight: 700; }
.index-body .auth-voice-fallback {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    text-align: left;
}
.index-body .auth-voice-fallback[hidden] { display: none; }
.index-body .auth-face-stage {
    position: relative;
    width: min(100%, 25rem);
    aspect-ratio: 4 / 3;
    margin: 1.1rem auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    background: #050505;
}
.index-body .auth-face-stage__video,
.index-body .auth-face-stage__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}
.index-body .auth-face-stage__video { position: relative; display: block; }
.index-body .auth-face-stage__canvas { z-index: 2; pointer-events: none; }
.index-body .auth-face-corner {
    position: absolute;
    width: 1.7rem;
    height: 1.7rem;
    z-index: 3;
    border: 0 solid rgba(255, 255, 255, 0.55);
}
.index-body .auth-face-corner--tl { top: 0.85rem; left: 0.85rem; border-top-width: 3px; border-left-width: 3px; border-radius: 5px 0 0 0; }
.index-body .auth-face-corner--tr { top: 0.85rem; right: 0.85rem; border-top-width: 3px; border-right-width: 3px; border-radius: 0 5px 0 0; }
.index-body .auth-face-corner--bl { bottom: 0.85rem; left: 0.85rem; border-bottom-width: 3px; border-left-width: 3px; border-radius: 0 0 0 5px; }
.index-body .auth-face-corner--br { right: 0.85rem; bottom: 0.85rem; border-right-width: 3px; border-bottom-width: 3px; border-radius: 0 0 5px 0; }
.index-body .auth-face-guide {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 60%;
    height: 75%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.4);
    transform: translate(-50%, -50%);
}
.index-body .auth-face-scanline {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    width: 100%;
    height: 3px;
    display: none;
    background: linear-gradient(90deg, transparent, rgba(67, 201, 197, 0.95), transparent);
    animation: faceScanAnim 2s infinite linear;
}
.index-body .auth-face-status-panel {
    margin-bottom: 0.35rem;
    padding: 0.85rem;
    border-radius: 0.85rem;
    background: rgba(0, 0, 0, 0.22);
}
.index-body .auth-face-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    color: #cbd5e1;
    font-size: 0.92rem;
    font-weight: 650;
}
.index-body .auth-face-progress {
    width: 100%;
    height: 4px;
    margin-top: 0.55rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}
.index-body .auth-face-progress__bar {
    width: 0;
    height: 100%;
    background: #43c9c5;
    transition: width 0.3s ease;
}
.index-body .auth-image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1.1rem;
}
.index-body .auth-image-tile {
    aspect-ratio: 1;
    min-height: 5.5rem;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 0.8rem;
    cursor: pointer;
    background-position: center;
    background-size: cover;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.index-body .auth-image-tile.is-selected {
    border-color: #43c9c5;
    transform: scale(0.94);
}
.index-body .auth-point-stage {
    position: relative;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.9rem;
    background: #0d1b2a;
}
.index-body .auth-point-stage__img { display: block; max-width: 100%; height: auto; cursor: crosshair; }
.index-body .auth-point-stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.index-body .auth-modal-actions {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.7rem;
    margin-top: 1rem;
}
.index-body .auth-modal-actions .auth-secondary-btn,
.index-body .auth-modal-actions .auth-modal-primary { margin-top: 0 !important; }
@media (max-width: 600px) {
    .index-body .auth-modal {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    .index-body .auth-modal .auth-modal-card,
    .index-body .auth-modal .auth-modal-card--compact,
    .index-body .auth-modal .auth-modal-card--medium,
    .index-body .auth-modal .auth-modal-card--wide {
        width: calc(100vw - 1.3rem) !important;
        max-width: calc(100vw - 1.3rem) !important;
        margin-inline: auto !important;
        box-sizing: border-box;
    }
    .index-body .auth-virtual-keypad,
    .index-body #virtual-keypad.auth-virtual-keypad {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 0.35rem !important;
        padding: 0.65rem !important;
    }
    .index-body .auth-keypad-key {
        min-height: 2.45rem;
        font-size: 0.86rem;
    }
    .index-body .method-grid-passive {
        grid-template-columns: none !important;
        grid-auto-flow: column;
        grid-auto-columns: minmax(6.5rem, 1fr);
        gap: 0.55rem !important;
        padding: 0 0 0.35rem;
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }
    .index-body .method-grid-passive .method-btn {
        min-height: 6.2rem;
        scroll-snap-align: start;
    }
    .index-body .auth-modal-actions { grid-template-columns: 1fr; }
}
