* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #050816;
    --dark-light: #0f172a;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --white: #ffffff;
    --stroke: rgba(129, 140, 248, 0.25);
}

.scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(ellipse 120% 90% at 50% -15%, rgba(99, 102, 241, 0.38), transparent 55%),
        radial-gradient(ellipse 70% 50% at 110% 30%, rgba(139, 92, 246, 0.2), transparent 50%),
        radial-gradient(ellipse 55% 45% at -5% 90%, rgba(34, 211, 238, 0.12), transparent 50%),
        linear-gradient(168deg, var(--dark) 0%, #070b18 42%, var(--dark-light) 100%);
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(76px);
    opacity: 0.48;
    mix-blend-mode: screen;
    animation: blobFloat 22s ease-in-out infinite;
}

.gradient-blob.g1 {
    width: min(58vw, 440px);
    height: min(58vw, 440px);
    background: linear-gradient(140deg, #6366f1, #8b5cf6);
    top: -14%;
    left: -12%;
}

.gradient-blob.g2 {
    width: min(50vw, 400px);
    height: min(50vw, 400px);
    background: linear-gradient(140deg, #2563eb, #06b6d4);
    bottom: -18%;
    right: -12%;
    animation-delay: -8s;
    animation-duration: 27s;
}

.gradient-blob.g3 {
    width: min(42vw, 340px);
    height: min(42vw, 340px);
    background: linear-gradient(140deg, #a78bfa, #f472b6);
    top: 38%;
    left: 32%;
    opacity: 0.32;
    animation-delay: -13s;
    animation-duration: 18s;
}

.noise {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(3%, 5%) scale(1.05); }
    66% { transform: translate(-4%, -3%) scale(0.96); }
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: var(--dark);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: calc(72px + env(safe-area-inset-top, 0px));
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
    position: relative;
    z-index: 1;
}

body.has-guest-upload {
    padding-top: calc(76px + env(safe-area-inset-top, 0px));
    padding-left: max(0px, env(safe-area-inset-left, 0px));
    padding-right: max(0px, env(safe-area-inset-right, 0px));
    padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
}

body.has-guest-upload .landing-hero {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 6px;
}

.landing-main {
    width: min(1280px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 18px;
    position: relative;
    z-index: 2;
    animation: pageEnter 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.landing-hero {
    width: 100%;
    max-width: 780px;
    text-align: center;
    margin: 0 auto 4px;
    align-self: center;
    position: relative;
    z-index: 2;
}

.guest-upload-mirror {
    position: relative;
    z-index: 2;
}

body.has-guest-upload .logo-section {
    margin-bottom: 0;
}

body.has-guest-upload .logo-section h1 {
    margin-bottom: 8px;
}

body.has-guest-upload .landing-hero .tagline {
    margin-top: 0;
}

.landing-hero .tagline {
    color: #a5b4fc;
    font-size: 16px;
    line-height: 1.55;
    margin-top: 12px;
    margin-bottom: 8px;
}

.landing-hero .hint {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.landing-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(8, minmax(105px, 1fr));
    gap: 8px;
    padding: 10px;
    border-radius: 26px;
    border: 1px solid rgba(129, 140, 248, 0.24);
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(30, 41, 59, 0.56)),
        radial-gradient(circle at 10% 0%, rgba(99, 102, 241, 0.26), transparent 34%),
        radial-gradient(circle at 100% 80%, rgba(34, 211, 238, 0.12), transparent 32%);
    box-shadow: 0 24px 80px rgba(2, 6, 23, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(22px);
}

.landing-stat {
    min-width: 0;
    padding: 16px 10px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.38));
    position: relative;
    overflow: hidden;
}

.landing-stat::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%);
    opacity: 0.7;
}

.landing-stat-label {
    position: relative;
    z-index: 1;
    display: block;
    color: #94a3b8;
    font-size: clamp(8.5px, 0.72vw, 10px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    white-space: nowrap;
}

.landing-stat-value {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 10px;
    color: #f8fafc;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.public-access-panel {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto 18px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(99, 102, 241, 0.35);
    background: linear-gradient(180deg, rgba(49, 46, 129, 0.3) 0%, rgba(15, 23, 42, 0.72) 100%);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.38);
    position: relative;
    z-index: 2;
}

.public-access-title {
    margin: 0;
    color: #e0e7ff;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
}

.public-access-sub {
    margin: 6px 0 0;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.public-access-actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.public-access-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #eef2ff;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(129, 140, 248, 0.38);
    background: rgba(30, 41, 59, 0.5);
    transition: transform 0.15s, border-color 0.15s, background 0.15s;
}

.public-access-link:hover {
    transform: translateY(-1px);
    border-color: rgba(129, 140, 248, 0.62);
    background: rgba(67, 56, 202, 0.24);
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.auth-modal[hidden] {
    display: none !important;
}

.auth-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(2, 6, 23, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto;
}

.auth-modal-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(600px, calc(100vw - 24px));
    max-height: none;
    margin: auto;
    flex: 0 0 auto;
    overflow: visible;
}

.auth-modal-panel .container {
    animation: none;
    z-index: auto;
}

.auth-modal-panel .card {
    padding: 36px 40px 40px;
}

.auth-modal-close {
    position: absolute;
    top: -6px;
    right: 0;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.9);
    color: #e2e8f0;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    border: 1px solid rgba(129, 140, 248, 0.25);
}

.auth-modal-close:hover {
    background: rgba(99, 102, 241, 0.35);
}

@media (max-height: 760px) {
    .auth-modal {
        align-items: flex-start;
        padding-top: max(12px, env(safe-area-inset-top));
    }
}

.container {
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 2;
    animation: pageEnter 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: scale(0.985);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo-section h1 {
    font-size: 42px;
    font-weight: 900;
    color: #f8fafc;
    margin-bottom: 16px;
    letter-spacing: -2px;
    background: var(--theme-gradient-cta);
    background-size: 200% auto;
    animation: titleShine 8s ease-in-out infinite;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .logo-section h1 {
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

@keyframes titleShine {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.logo-section p {
    color: #a5b4fc;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.88) 50%, rgba(21, 27, 46, 0.94) 100%);
    backdrop-filter: blur(36px) saturate(190%);
    border-radius: 28px;
    padding: 48px;
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 1px 0 rgba(255, 255, 255, 0.06) inset;
    border: 1px solid var(--stroke);
    transition: border-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover {
    border-color: rgba(129, 140, 248, 0.45);
    box-shadow: 0 32px 88px rgba(0, 0, 0, 0.55), 0 0 60px rgba(99, 102, 241, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
    padding: 8px;
    border-radius: 18px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tab-btn {
    flex: 1;
    padding: 14px;
    background: transparent;
    border: none;
    color: #a5b4fc;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--white);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    position: relative;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    opacity: 0.9;
}

.form-section {
    display: none;
}

.form-section.active {
    display: block;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-radius: 16px;
    color: var(--white);
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    backdrop-filter: blur(10px);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2), 0 8px 24px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: var(--gray);
}

.checkbox-group {
    margin: 28px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.checkbox-group:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0.15) 100%);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
}

.checkbox-label svg {
    flex-shrink: 0;
    color: var(--primary-light);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.verification-code-input {
    text-align: center;
    font-size: 24px !important;
    letter-spacing: 6px !important;
    font-weight: 800 !important;
    font-family: 'JetBrains Mono', 'Courier New', monospace !important;
}

.btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 36px rgba(99, 102, 241, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.alert {
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 700;
    display: none;
    border-left: 4px solid;
    backdrop-filter: blur(10px);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.1) 100%);
    color: #fca5a5;
    border-left-color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: #6ee7b7;
    border-left-color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.loading-spinner.show {
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#verificationStep {
    display: none;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-text {
    color: #a5b4fc;
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    body {
        padding: 20px 16px;
    }

    .landing-main {
        gap: 14px;
    }

    .landing-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 22px;
    }

    .landing-stat {
        padding: 14px 12px;
    }
    
    .container {
        max-width: 100%;
    }
    
    .card {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .auth-modal-panel .card {
        padding: 26px 20px 28px;
    }
    
    .logo-section {
        margin-bottom: 36px;
    }
    
    .logo-section h1 {
        font-size: 32px;
    }
    
    .logo-section p {
        font-size: 15px;
    }
    
    .tabs {
        padding: 6px;
        gap: 6px;
        margin-bottom: 32px;
    }
    
    .tab-btn {
        padding: 12px 14px;
        font-size: 14px;
        min-height: 44px;
    }
    
    .form-group {
        margin-bottom: 22px;
    }
    
    .form-group input {
        padding: 16px 18px;
        font-size: 16px;
        border-radius: 14px;
    }
    
    .btn {
        padding: 16px;
        font-size: 15px;
        min-height: 48px;
        border-radius: 14px;
    }
    
    .checkbox-group {
        padding: 18px;
        margin: 24px 0;
    }
    
    .checkbox-label {
        font-size: 14px;
    }
    
    .verification-code-input {
        font-size: 24px !important;
        letter-spacing: 6px !important;
    }
}

@media (max-width: 480px) {
    body {
        padding: 16px 12px;
    }

    .landing-stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 8px;
    }

    .landing-stat-label {
        font-size: 9px;
    }

    .landing-stat-value {
        font-size: 20px;
    }
    
    .card {
        padding: 28px 20px;
        border-radius: 20px;
    }
    
    .logo-section h1 {
        font-size: 28px;
    }
    
    .logo-section p {
        font-size: 14px;
    }
    
    .tab-btn {
        padding: 10px 12px;
        font-size: 13px;
        min-height: 44px;
    }
    
    .form-group input {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .btn {
        padding: 14px;
        font-size: 14px;
        min-height: 48px;
    }
    
    .checkbox-group {
        padding: 16px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn,
    .tab-btn {
        min-height: 44px;
    }
    
    .btn:active,
    .tab-btn:active {
        transform: scale(0.98);
    }
}

.card {
    will-change: transform;
}

@supports (-webkit-overflow-scrolling: touch) {
    body {
        -webkit-overflow-scrolling: touch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scene .gradient-blob,
    .logo-section h1,
    .landing-main,
    .container {
        animation: none !important;
    }
    .card {
        transition: none;
    }
    .card:hover {
        transform: none;
    }
}

.twitch-oauth-block {
    text-align: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.twitch-warn-box {
    text-align: left;
    width: 100%;
    margin: 0 auto 12px;
    padding: 10px 12px 10px;
    border-radius: 14px;
    border: 1px solid rgba(245, 158, 11, 0.5);
    background: linear-gradient(145deg, rgba(180, 83, 9, 0.2), rgba(120, 53, 15, 0.16));
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.twitch-warn-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: #fde68a;
}
.twitch-warn-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: rgba(245, 158, 11, 0.95);
    color: #1c1917;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 15px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.45);
}
.twitch-warn-list {
    margin: 0 0 10px;
    padding: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #e7e5e4;
    list-style: none;
}
.twitch-warn-list li {
    margin: 0;
    padding-left: 0.85em;
    position: relative;
}
.twitch-warn-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.85);
}
@media (min-width: 520px) {
    .twitch-warn-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 14px;
    }
    .twitch-warn-list li {
        padding-left: 0.75em;
    }
}
@media (max-width: 519px) {
    .twitch-warn-list li + li {
        margin-top: 6px;
    }
}
.twitch-ack-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.45;
    color: #fcd34d;
    user-select: none;
}
.twitch-ack-label input {
    margin: 0;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
    align-self: center;
    vertical-align: middle;
    accent-color: #f59e0b;
    cursor: pointer;
}
.twitch-ack-label span {
    flex: 1;
    min-width: 0;
}
.twitch-ack-pulse {
    animation: twitchAckPulse 0.55s ease;
}
@keyframes twitchAckPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
    50% { box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.55); }
}
a.twitch-oauth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 11px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #9147ff, #772ce8);
    box-shadow: 0 4px 20px rgba(145, 71, 255, 0.35);
    font-family: inherit;
    transition: opacity 0.2s, transform 0.15s;
}
a.twitch-oauth-btn.twitch-oauth-btn--off {
    opacity: 0.42;
    pointer-events: none;
    cursor: not-allowed;
    filter: grayscale(0.15);
}
