/* ── profile (public page + account page additions) ──────────────── */

.profilewrap { max-width: 640px; margin: 0 auto; padding: 30px 20px 60px; }

.profile-back { margin: 0 0 24px; }
.profile-back a { color: var(--accent); text-decoration: none; font-size: .9rem; }

.profile-header { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
.profile-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .02em; vertical-align: middle; }
.profile-name { margin: 0; font-size: 1.6rem; font-weight: 700; }

.profile-points { font-size: .95rem; color: #555; margin: 0 0 24px; }
.profile-pts-num { font-weight: 700; color: #333; }

.profile-stats { display: flex; gap: 24px; flex-wrap: wrap; margin: 0 0 32px; padding: 18px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.profile-stat { display: flex; flex-direction: column; align-items: center; min-width: 70px; }
.profile-stat-icon { font-size: 1.3rem; line-height: 1; }
.profile-stat-num { font-size: 1.1rem; font-weight: 700; color: #333; margin: 4px 0 2px; }
.profile-stat-label { font-size: .75rem; color: #888; text-transform: lowercase; }

.profile-section { margin: 0 0 28px; }
.profile-section h2 { font-size: 1rem; font-weight: 600; margin: 0 0 10px; color: #333; }

.profile-bio { width: 100%; box-sizing: border-box; min-height: 100px; padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: .95rem; resize: vertical; }
.profile-bio:focus { border-color: var(--accent); outline: none; }

.profile-bio-text { color: #444; line-height: 1.6; margin: 0; }

.profile-save { margin-top: 8px; padding: 6px 18px; background: var(--accent); color: #fff; border: none; border-radius: 999px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.profile-save:hover { opacity: .85; }

.profile-domain-input { width: 100%; max-width: 360px; box-sizing: border-box; padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: .95rem; }
.profile-domain-input:focus { border-color: var(--accent); outline: none; }

.profile-domain-locked { padding: 14px 16px; background: #f5f5f5; border-radius: 6px; color: #999; font-size: .9rem; }
.profile-lock-icon { margin-right: 6px; }

.profile-domain-link a { color: var(--accent); text-decoration: none; }
.profile-domain-link a:hover { text-decoration: underline; }

.profile-badges { display: flex; flex-direction: column; gap: 6px; }
.profile-badge-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .9rem; }
.profile-badge-item.locked { opacity: .4; }
.profile-badge-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.profile-badge-name { font-weight: 600; }
.profile-badge-pts { color: #aaa; font-size: .8rem; margin-left: auto; }

.profile-member-since { color: #aaa; font-size: .8rem; margin: 32px 0 0; }

.profile-public-link { margin: 12px 0 0; font-size: .85rem; }
.profile-public-link a { color: var(--accent); text-decoration: none; }
.profile-public-link a:hover { text-decoration: underline; }

.profile-owner-link { margin: 0 0 20px; }
.profile-owner-link a { color: var(--accent); text-decoration: none; font-size: .95rem; }
.profile-owner-link a:hover { text-decoration: underline; }

/* ── account page: banner badge + points ─────────────────────────── */

.favbanner h1 .profile-badge { font-size: .7rem; margin-right: 6px; position: relative; top: -2px; }

.favbanner-pts { color: rgba(255,255,255,.7); font-size: .85rem; margin: 6px 0 0; }
.favbanner-pts strong { color: #fff; }

/* ── account nav: pill borders on unselected tabs ────────────────── */

.acctnav-tabs a { border: 1px solid #ccc; }
.acctnav-tabs a.on { border-color: transparent; }

/* ── pending review badge ────────────────────────────────────────── */

.acctpending { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #fff3e0; color: #e65100; font-size: .75rem; font-weight: 600; margin-left: 6px; }

/* ── owner dashboard stat box (carried from inline style) ────────── */

.acctstat-dash {
    background: var(--accent) !important; color: #fff !important;
    border-color: var(--accent) !important;
}
.acctstat-dash .acctstat-n,
.acctstat-dash .acctstat-l { color: #fff !important; }
.acctstat-dash:hover { opacity: .9; }
