/* ---------- Auth widget (header) ---------- */
.pt-auth { display: flex; align-items: center; }
.pt-signin {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--red);
    color: var(--white);
    border: none;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.12s;
}
.pt-signin:hover { background: var(--red-press); }
.pt-signin svg { width: 16px; height: 16px; }

.pt-profile {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    padding: 6px 14px 6px 6px;
    cursor: pointer;
    transition: border-color 0.12s;
}
.pt-profile:hover { border-color: var(--red); }
.pt-avatar {
    width: 28px;
    height: 28px;
    border-radius: 3px;
    background: var(--surface-2) center/cover no-repeat;
    flex-shrink: 0;
}
.pt-username { font-weight: 700; font-size: 14px; color: var(--text); }

/* ---------- Dashboard ---------- */
.pt-dash { padding: 80px 0 110px; min-height: 60vh; }
.pt-dash .wrap { max-width: 760px; }

.pt-dash-gate { text-align: center; padding: 40px 0; }
.pt-dash-gate .eyebrow { margin-bottom: 24px; }
.pt-dash-gate h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--white); margin-bottom: 14px; }
.pt-dash-gate p { color: var(--muted); font-size: 1.15rem; max-width: 460px; margin: 0 auto 30px; font-weight: 500; }

.pt-dash-card { background: transparent; }
.pt-dash-head { margin-bottom: 36px; }
.pt-dash-head .kicker { margin-bottom: 12px; }
.pt-dash-head h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); color: var(--white); }
.pt-dash-head h1 .pt-dash-name { color: var(--red); }

.pt-card-block {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 20px;
}
.pt-card-block .block-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--red);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.pt-card-block h3 { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.5rem; color: var(--white); margin-bottom: 8px; }
.pt-card-block p { color: var(--muted); font-size: 1rem; margin-bottom: 18px; }

.pt-url-row { display: flex; gap: 10px; }
.pt-url {
    flex: 1;
    min-width: 0;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 13px 15px;
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    outline: none;
}
.pt-url:focus { border-color: var(--red); }
.pt-copy {
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 5px;
    padding: 0 22px;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.12s;
    white-space: nowrap;
}
.pt-copy:hover { background: var(--red-press); }

.pt-steps-inline { list-style: none; counter-reset: s; }
.pt-steps-inline li {
    counter-increment: s;
    position: relative;
    padding-left: 42px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
}
.pt-steps-inline li::before {
    content: counter(s);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: var(--red);
    color: var(--white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 14px;
}
.pt-steps-inline li strong { color: var(--text); }

.pt-signout {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--line-strong);
    border-radius: 5px;
    padding: 11px 22px;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: border-color 0.12s, color 0.12s;
}
.pt-signout:hover { border-color: var(--red); color: var(--red); }

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