.nav-account {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 8px;
    font-size: 13px;
    white-space: nowrap;
}
.nav-account a {
    color: var(--text-primary, #2e3031);
    text-decoration: none;
    font-weight: 600;
}
.nav-account a:hover { color: var(--accent-red, #b92b27); text-decoration: underline; }
.nav-account .nav-account-link { color: var(--accent-red, #b92b27); }
.btn-account-sair,
.nav-account button {
    appearance: none;
    border: 1px solid var(--border-color, #dee0e1);
    background: var(--bg-card, #fff);
    color: var(--text-primary, #2e3031);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}
.btn-account-sair:hover { border-color: var(--accent-red, #b92b27); color: var(--accent-red, #b92b27); }

.user-mention {
    font-weight: 700;
    color: var(--accent-red, #b92b27);
    text-decoration: none;
}
.user-mention:hover { text-decoration: underline; }
.user-badge {
    display: inline-block;
    margin-left: 4px;
    color: #228822;
    font-weight: 700;
    font-size: 11px;
}
.user-badge.primordial {
    color: #8a5a12;
    background: #f8efd2;
    border: 1px solid #e0c772;
    border-radius: 999px;
    padding: 0 6px;
    font-size: 10px;
    letter-spacing: 0.02em;
    vertical-align: middle;
}
.bd-comments-reddit .user-mention { color: #369; }
.bd-comments-reddit .user-badge { color: #228822; }
.or-author.user-mention, a.or-author { font-weight: 700; }

.auth-main {
    max-width: 480px;
    margin: 50px auto 0;
    padding: 32px 16px 64px;
}
.auth-card {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-color, #dee0e1);
    border-radius: 8px;
    padding: 22px;
}
.auth-card h1 { font-size: 22px; margin: 0 0 8px; color: var(--text-primary, #2e3031); }
.auth-lead { color: var(--text-secondary, #636466); font-size: 14px; margin: 0 0 18px; }
.auth-card label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; }
.auth-card input[type="text"],
.auth-card input[type="password"],
.auth-card input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border-color, #dee0e1);
    border-radius: 6px;
    padding: 8px 10px;
    font: inherit;
    background: var(--search-bg, #f7f7f8);
    color: var(--text-primary, #2e3031);
}
.auth-card .auth-submit {
    margin-top: 16px;
    -webkit-appearance: none;
    appearance: none;
    display: block;
    box-sizing: border-box;
    border: none;
    background: var(--accent-red, #b92b27);
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    padding: 9px 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    text-align: center;
}
.auth-card .auth-submit:hover { background: var(--accent-red-hover, #a12320); }
.auth-card .auth-submit:disabled { opacity: 0.7; cursor: wait; }
.auth-status { font-size: 13px; margin-top: 10px; color: var(--text-secondary, #636466); }
.auth-status.erro { color: var(--accent-red, #b92b27); }
.auth-status.ok { color: #228822; }
.auth-alt { font-size: 13px; margin-top: 16px; }
.auth-alt a { color: var(--accent-red, #b92b27); font-weight: 600; }
.bd-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; }
.claim-box {
    border: 1px solid #d4e6d4;
    background: #f0fff0;
    padding: 12px 14px;
    border-radius: 6px;
    margin: 0 0 16px;
}
.claim-box h2 { font-size: 15px; margin: 0 0 6px; color: #228822; }
.claim-box p { font-size: 13px; margin: 0 0 10px; color: #2e3031; }
.claim-box button {
    appearance: none;
    border: 1px solid #228822;
    background: #fff;
    color: #228822;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}
.claim-box button:hover { background: #e8f8e8; }

.profile-main { padding: 24px 16px 64px; max-width: 720px; }
.profile-card {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-color, #dee0e1);
    border-radius: 8px;
    padding: 22px;
}
.profile-name { font-size: 26px; margin: 0 0 6px; color: var(--text-primary, #2e3031); }
.profile-meta { color: var(--text-secondary, #636466); font-size: 14px; margin: 0 0 20px; }
.profile-status { color: var(--text-secondary, #636466); }
.profile-status.erro { color: var(--accent-red, #b92b27); }
.profile-comments { list-style: none; margin: 0; padding: 0; }
.profile-comments li {
    border-top: 1px solid var(--border-subtle, #f1f2f2);
    padding: 12px 0;
}
.profile-comments .profile-comment-page {
    font-size: 12px;
    color: var(--text-secondary, #636466);
    margin-bottom: 4px;
}
.profile-comments .profile-comment-page a { color: var(--accent-red, #b92b27); }
.profile-comments .profile-comment-body { margin: 0; font-size: 14px; white-space: pre-wrap; word-break: break-word; line-height: 1.5; }
.bd-as-user { font-size: 13px; margin: 0 0 8px; color: var(--text-primary, #2e3031); }

@media (max-width: 640px) {
    .nav-account { margin-right: 4px; gap: 6px; }
    .nav-account .nav-account-cadastro { display: none; }
}

/* Auth and profile pages have no right sidebar: use the full width. */
.site-container.layout-auth {
    grid-template-columns: 1fr;
}
.site-container.layout-auth .navbar {
    width: 100%;
}

.reserva-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a5a12;
    margin: 0 0 6px;
}
.reserva-card h1 { margin-bottom: 10px; }
.reserva-card .auth-lead { margin-bottom: 12px; }
.retorno-nome { margin: 8px 0 14px; font-size: 15px; }
.claim-link-box {
    border: 1px dashed var(--border-color, #dee0e1);
    background: var(--search-bg, #f7f7f8);
    padding: 12px 14px;
    border-radius: 6px;
    margin: 14px 0;
    font-size: 13px;
    word-break: break-all;
}
.claim-link-box p { margin: 0 0 8px; }
.btn-copy-link {
    appearance: none;
    border: 1px solid var(--border-color, #dee0e1);
    background: #fff;
    color: var(--text-primary, #2e3031);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
}
.btn-copy-link:hover { border-color: var(--accent-red, #b92b27); color: var(--accent-red, #b92b27); }
.mod-reservas { margin-top: 28px; }
.mod-reservas h2 { font-size: 18px; margin: 0 0 8px; }
.mod-res-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mod-res-table th, .mod-res-table td {
    text-align: left;
    padding: 8px 6px;
    border-bottom: 1px solid var(--border-subtle, #f1f2f2);
    vertical-align: top;
}
.mod-res-table th { color: var(--text-secondary); font-weight: 600; font-size: 11px; text-transform: uppercase; }
.mod-res-status { font-weight: 700; }
.mod-res-status.paid, .mod-res-status.claimed { color: #228822; }
.mod-res-status.pending { color: #8a5a12; }
.mod-res-status.expired { color: var(--text-light, #8f9092); }

.auth-card .auth-secondary {
    margin-top: 8px;
    -webkit-appearance: none;
    appearance: none;
    display: block;
    box-sizing: border-box;
    border: 1px solid var(--border-color, #dee0e1);
    background: var(--bg-card, #fff);
    color: var(--text-primary, #2e3031);
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    padding: 9px 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    text-align: center;
}
.auth-card .auth-secondary:hover { border-color: var(--accent-red, #b92b27); color: var(--accent-red, #b92b27); }
.auth-card .auth-secondary:disabled { opacity: 0.7; cursor: not-allowed; }
.pix-box {
    border: 1px solid var(--border-color, #dee0e1);
    background: var(--search-bg, #f7f7f8);
    border-radius: 8px;
    padding: 16px 14px;
    margin-top: 16px;
}
.pix-box h2 { font-size: 16px; margin: 0 0 8px; color: var(--text-primary, #2e3031); }
.pix-nome { margin: 0 0 6px; font-size: 14px; }
.pix-timer { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: #8a5a12; }
.pix-qr {
    display: block;
    width: 220px;
    height: 220px;
    max-width: 100%;
    margin: 0 auto 14px;
    background: #fff;
    border: 1px solid var(--border-color, #dee0e1);
    border-radius: 6px;
    object-fit: contain;
}
.pix-box textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border-color, #dee0e1);
    border-radius: 6px;
    padding: 8px 10px;
    font: inherit;
    font-size: 12px;
    line-height: 1.4;
    background: #fff;
    color: var(--text-primary, #2e3031);
    resize: vertical;
    word-break: break-all;
}
@media (max-width: 640px) {
    .pix-qr { width: 200px; height: 200px; }
}
