/* StreamerTools — auth widget + Media Share Ultra dashboard */

/* ── Header auth widget ── */
.st-auth { display: inline-flex; align-items: center; }
.st-signin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    border: 1px solid transparent;
    font-family: var(--display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.01em;
    padding: 8px 16px;
    border-radius: 9px;
    cursor: pointer;
    transition: background .15s ease, transform .08s ease;
}
.st-signin:hover { background: var(--accent-bright); transform: translateY(-1px); }
.st-signin svg { width: 15px; height: 15px; display: block; }

.st-profile {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 5px 13px 5px 5px;
    cursor: pointer;
    transition: border-color .15s ease;
}
.st-profile:hover { border-color: var(--accent-line); }
.st-avatar {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--surface-2) center/cover no-repeat;
    flex-shrink: 0;
}
.st-username { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--text); }

/* ── Dashboard shell ── */
.st-dash { padding: 80px 0 110px; min-height: 64vh; }
.st-dash .wrap { max-width: var(--measure); }

.st-dash-gate { text-align: center; padding: 44px 0; }
.st-dash-gate .eyebrow { justify-content: center; margin-bottom: 20px; }
.st-dash-gate h1 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 5vw, 46px); letter-spacing: -0.025em; line-height: 1.05; }
.st-dash-gate p { color: var(--muted); font-size: 17px; max-width: 470px; margin: 16px auto 30px; }

.st-dash-head { margin-bottom: 32px; }
.st-dash-head .kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 12px; }
.st-dash-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4.5vw, 40px); letter-spacing: -0.02em; }
.st-dash-head h1 .st-dash-name { color: var(--accent-bright); }

.st-card-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px 24px;
    margin-bottom: 18px;
}
.st-card-block .block-label {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--accent-bright);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.st-card-block h3 { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.st-card-block > p { color: var(--muted); font-size: 15px; margin-top: 8px; margin-bottom: 18px; }
.st-hint { font-family: var(--mono); font-size: 12.5px; color: var(--faint); margin-top: 14px !important; margin-bottom: 0 !important; }
.st-hint b { color: var(--text); font-weight: 500; }

.st-url-row { display: flex; gap: 10px; }
.st-url {
    flex: 1;
    min-width: 0;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 13px 15px;
    color: var(--text);
    font-family: var(--mono);
    font-size: 14px;
    outline: none;
}
.st-url:focus { border-color: var(--accent-line); }
.st-copy {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 0 22px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background .15s ease;
    white-space: nowrap;
}
.st-copy:hover { background: var(--accent-bright); }

.st-steps-inline { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.st-steps-inline li {
    counter-increment: s;
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}
.st-steps-inline li:last-child { margin-bottom: 0; }
.st-steps-inline li::before {
    content: counter(s);
    position: absolute;
    left: 0;
    top: 1px;
    width: 26px;
    height: 26px;
    background: var(--accent-dim);
    border: 1px solid var(--accent-line);
    color: var(--accent-bright);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-weight: 500;
    font-size: 13px;
}
.st-steps-inline li strong { color: var(--text); font-weight: 600; }

.st-signout {
    background: var(--surface);
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 11px 22px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
    margin-top: 4px;
}
.st-signout:hover { border-color: var(--accent-line); color: var(--text); }

/* ── Toast ── */
.st-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(20px);
    background: var(--surface-2);
    border: 1px solid var(--accent-line);
    color: var(--text);
    font-family: var(--body);
    font-weight: 500;
    font-size: 14px;
    padding: 13px 20px;
    border-radius: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 100;
    max-width: 90vw;
    text-align: center;
}
.st-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
