/* Public pages only. Do not load dashboard chrome or style OBS sources. */
:root {
    --bg: #0e0e10;
    --bg-raised: #18181b;
    --border: #2f2f35;
    --text: #efeff1;
    --text-dim: #adadb8;
    --purple: #9147ff;
    --purple-bright: #a970ff;
    --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.public-page {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 24px;
}

.public-brand-mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--purple);
    color: white;
}

.public-page .landing-card h1 {
    font-size: clamp(24px, 5vw, 32px);
    line-height: 1.2;
}

.public-page .landing-card {
    max-width: 560px;
    background: var(--bg-raised);
    border-color: var(--border);
}

.public-page .tip-card {
    background: var(--bg-raised);
    border-color: var(--border);
    border-radius: 12px;
}

.public-page .tip-shell {
    align-content: center;
}

.public-page .public-footer {
    margin: 20px 0 0;
    text-align: center;
}

.public-footer .public-brand {
    margin: 0;
    color: var(--text-dim);
    font-size: 12px;
}

@media (max-width: 780px) {
    .public-page {
        --control-height: 44px;
    }

    .public-page .btn,
    .public-brand,
    .public-page .twitch-login {
        min-height: 44px;
    }

    .public-page .tip-profile > div,
    .public-page fieldset {
        min-width: 0;
    }

    .public-page .tip-profile {
        overflow-wrap: anywhere;
    }

    .public-page .tip-profile img {
        flex-shrink: 0;
    }

    .public-page input,
    .public-page textarea {
        font-size: 16px;
    }
}
