body.lf-community-page { background: #fafafe; color: var(--lf-ink); font: 15px/1.55 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.lf-community-shell { width: min(1460px, calc(100% - 44px)); margin: 0 auto; padding: 34px 0 72px; }
.lf-community-head { margin-bottom: 24px; }
.lf-community-head h1 { font-size: clamp(34px, 4vw, 48px); }
.lf-community-eyebrow { color: var(--lf-purple) !important; }
.lf-community-account { display: flex; align-items: center; gap: 11px; text-align: left; }
.lf-community-avatar { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--lf-line); border-radius: 50%; background: #fff; font-size: 20px; font-weight: 900; box-shadow: var(--lf-shadow); }
.lf-community-avatar.is-photo, .lf-site-avatar.is-photo { display: block; padding: 0; object-fit: cover; }
.lf-community-account strong, .lf-community-account a { display: block; }
.lf-community-account a { margin-top: 2px; color: var(--lf-purple); font-size: 12px; text-decoration: none; }
.lf-community-alert, .lf-community-success, .lf-community-error { margin: 0 0 18px; padding: 13px 15px; border-radius: 10px; }
.lf-community-alert { background: #fff4d3; color: #6b4d00; }
#lf-community-app { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 26px; align-items: start; }
#lf-community-app[data-mode="profile"] { display: block; }
.lf-community-tabs { position: sticky; top: 20px; display: grid; gap: 7px; padding: 16px 0; border: 0; background: transparent; }
.lf-community-tabs::before { content: "LyricsFA community"; padding: 0 14px 10px; color: var(--lf-purple); font-size: 11px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.lf-community-tabs button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; padding: 11px 14px; border: 0; border-radius: 9px; background: transparent; color: #403a50; font: inherit; font-weight: 680; text-align: left; cursor: pointer; }
.lf-community-tabs button:hover, .lf-community-tabs button:focus-visible, .lf-community-tabs button.is-active { background: var(--lf-purple-soft); color: var(--lf-purple-dark); }
.lf-count { display: inline-grid; min-width: 20px; height: 20px; place-items: center; padding: 0 6px; border-radius: 999px; background: var(--lf-purple); color: #fff; font-size: 11px; }
.lf-community-content, #lf-community-settings { min-height: 590px; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
#lf-community-settings { padding: 28px; border: 1px solid var(--lf-line); border-radius: 14px; background: #fff; box-shadow: var(--lf-shadow); }
.lf-community-muted { color: var(--lf-muted); }
.lf-community-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 26px; align-items: center; min-height: 245px; padding: 34px; overflow: hidden; border: 1px solid #e5e0ff; border-radius: 15px; background: linear-gradient(125deg, #f0edff 0%, #faf9ff 68%, #fff 100%); box-shadow: var(--lf-shadow); }
.lf-community-hero::after { content: ""; position: absolute; right: 28%; bottom: -100px; width: 260px; height: 260px; border-radius: 50%; background: rgba(123, 91, 255, .07); }
.lf-community-hero h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.04em; }
.lf-community-hero h2::before { content: "Welcome back,"; display: block; margin-bottom: 6px; color: var(--lf-ink); font-size: 16px; font-weight: 520; letter-spacing: 0; }
.lf-community-hero h2 + p { position: relative; z-index: 1; margin: 12px 0 0; color: var(--lf-muted); }
.lf-reputation { position: relative; z-index: 1; min-height: 170px; padding: 23px; border: 1px solid rgba(230, 227, 238, .9); border-radius: 13px; background: rgba(255,255,255,.88); text-align: left; }
.lf-reputation::after { content: "Keep contributing to level up"; position: absolute; right: 20px; bottom: 18px; left: 20px; color: var(--lf-muted); font-size: 12px; }
.lf-reputation strong { display: block; margin-top: 8px; font-size: 34px; line-height: 1; }
.lf-reputation span { display: block; margin-top: 7px; color: var(--lf-muted); }
.lf-community-content > h2 { margin: 28px 0 12px; font-size: 18px; }
.lf-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lf-stat { position: relative; min-height: 112px; padding: 20px 18px 18px 74px; border: 1px solid var(--lf-line); border-radius: 13px; background: #fff; box-shadow: 0 6px 24px rgba(39,28,87,.035); }
.lf-stat::before { content: "✓"; position: absolute; top: 20px; left: 18px; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--lf-purple-soft); color: var(--lf-purple); font-size: 18px; font-weight: 900; }
.lf-stat strong { display: block; font-size: 26px; line-height: 1; }
.lf-stat span { display: block; margin-top: 7px; color: var(--lf-muted); font-size: 13px; }
.lf-community-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lf-dashboard-action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lf-dashboard-action-card { display: flex; min-height: 190px; padding: 21px; border: 1px solid var(--lf-line); border-radius: 13px; background: #fff; box-shadow: 0 6px 24px rgba(39,28,87,.04); flex-direction: column; }
.lf-dashboard-action-card h3 { margin: 0; font-size: 18px; }
.lf-dashboard-action-card p { margin: 8px 0 18px; color: var(--lf-muted); }
.lf-dashboard-action-card .lf-community-button { align-self: flex-start; margin-top: auto; }
.lf-community-button, .lf-account-link, .lf-danger-outline { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 9px; padding: 10px 14px; background: var(--lf-purple); color: #fff; font-weight: 760; text-decoration: none; cursor: pointer; }
.lf-community-button:hover, .lf-account-link:hover { background: var(--lf-purple-dark); color: #fff; }
.lf-danger-outline { margin-top: 18px; border: 1px solid #bd2943; background: #fff; color: #a51e36; }
.lf-list, .lf-badge-grid { display: grid; gap: 11px; }
.lf-list-item, .lf-achievement { padding: 17px; border: 1px solid var(--lf-line); border-radius: 12px; background: #fff; box-shadow: 0 5px 20px rgba(39,28,87,.03); }
.lf-list-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lf-list-item h3, .lf-achievement h3 { margin: 0; font-size: 15px; }
.lf-list-item p, .lf-achievement p { margin: 4px 0 0; color: var(--lf-muted); }
.lf-list-item a:not(.lf-community-button) { color: var(--lf-purple-dark); text-decoration: none; }
.lf-status { display: inline-block; padding: 5px 9px; border-radius: 999px; background: var(--lf-purple-soft); font-size: 11px; font-weight: 800; }
.lf-badge-grid { grid-template-columns: repeat(3, 1fr); }
.lf-achievement { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 13px; align-items: center; background: linear-gradient(145deg, #fff, #faf8ff); }
.lf-badge-icon { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(100,65,245,.13); border-radius: 15px; background: #f0ecff; color: #6541f5; box-shadow: inset 0 1px 0 rgba(255,255,255,.75); }
.lf-badge-icon[data-tone="blue"] { border-color: rgba(38,115,190,.14); background: #eaf5ff; color: #2673be; }
.lf-badge-icon[data-tone="gold"] { border-color: rgba(166,108,0,.16); background: #fff5d9; color: #a66c00; }
.lf-badge-icon[data-tone="rose"] { border-color: rgba(180,48,102,.14); background: #fff0f6; color: #b43066; }
.lf-badge-icon[data-tone="green"] { border-color: rgba(28,132,92,.15); background: #eaf9f2; color: #1c845c; }
.lf-badge-icon svg { width: 27px; height: 27px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lf-achievement-copy { min-width: 0; }
.lf-badge-earned { grid-column: 2; color: var(--lf-muted); font-size: 11px; }
.lf-notification.is-unread { border-left: 4px solid var(--lf-purple); }
.lf-notification button { border: 0; background: transparent; color: var(--lf-purple); font-weight: 700; cursor: pointer; }
.lf-leaderboard-list { display: grid; gap: 7px; }
.lf-leaderboard-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) minmax(170px, auto); gap: 12px; align-items: center; padding: 11px 14px; border: 1px solid var(--lf-line); border-radius: 11px; background: #fff; }
.lf-leaderboard-position { color: var(--lf-purple-dark); font-size: 13px; }
.lf-leaderboard-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lf-leaderboard-avatar { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; overflow: hidden; border-radius: 50%; background: var(--lf-purple-soft); color: var(--lf-purple-dark); font-weight: 850; object-fit: cover; }
.lf-leaderboard-identity h3, .lf-leaderboard-identity p { margin: 0; }
.lf-leaderboard-identity h3 { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.lf-leaderboard-identity h3 a { color: var(--lf-purple-dark); text-decoration: none; }
.lf-leaderboard-identity p, .lf-leaderboard-impact span { color: var(--lf-muted); font-size: 11px; }
.lf-leaderboard-impact { text-align: right; }
.lf-leaderboard-impact strong, .lf-leaderboard-impact span { display: block; }
.lf-leaderboard-reveal { margin-top: 14px; }
.lf-member-shell { max-width: 1180px; }
.lf-profile-breadcrumb { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.lf-profile-breadcrumb a { color: var(--lf-purple-dark); font-weight: 700; text-decoration: none; }
.lf-member-profile-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 28px; align-items: center; padding: 32px; border: 1px solid #e5e0ff; border-radius: 16px; background: linear-gradient(125deg, #f0edff 0%, #faf9ff 72%, #fff 100%); box-shadow: var(--lf-shadow); }
.lf-member-profile-identity { display: flex; align-items: center; gap: 22px; min-width: 0; }
.lf-profile-avatar { display: grid; width: 104px; height: 104px; flex: 0 0 104px; place-items: center; overflow: hidden; border: 4px solid #fff; border-radius: 50%; background: var(--lf-purple); color: #fff; box-shadow: 0 12px 30px rgba(66,44,145,.18); font-size: 42px; font-weight: 900; object-fit: cover; }
.lf-member-profile-copy h1 { margin: 2px 0 4px; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -.035em; }
.lf-member-profile-copy p { margin: 6px 0 0; }
.lf-member-rank { color: var(--lf-purple-dark); font-weight: 800; }
.lf-member-standing { padding: 20px; border: 1px solid rgba(230,227,238,.9); border-radius: 13px; background: rgba(255,255,255,.92); }
.lf-member-reputation { padding: 0; }
.lf-member-reputation strong { display: block; font-size: 36px; line-height: 1; }
.lf-member-reputation span { display: block; margin-top: 8px; color: var(--lf-muted); }
.lf-member-badges { margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--lf-line); }
.lf-member-badges > p { margin: 0 0 9px; color: var(--lf-muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.lf-member-badge-strip { display: flex; gap: 7px; flex-wrap: wrap; }
.lf-profile-badge { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 8px 4px 4px; border: 1px solid var(--lf-line); border-radius: 10px; background: #fff; color: var(--lf-ink); font-size: 11px; font-weight: 750; line-height: 1.2; }
.lf-profile-badge .lf-badge-icon { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; }
.lf-profile-badge .lf-badge-icon svg { width: 16px; height: 16px; }
.lf-profile-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; margin-top: 28px; }
.lf-profile-panel { padding: 22px; border: 1px solid var(--lf-line); border-radius: 14px; background: #fff; }
.lf-profile-panel > h2 { margin: 0 0 14px; font-size: 18px; }
.lf-profile-panel .lf-badge-grid { grid-template-columns: 1fr; }
.lf-profile-recent .lf-list-item { align-items: flex-start; padding: 12px; border-radius: 9px; box-shadow: none; }
.lf-expertise-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.lf-expertise-item { min-width: 0; padding: 9px 10px; border: 1px solid var(--lf-line); border-radius: 8px; background: #fbfaff; }
.lf-expertise-item h3 { margin: 0; overflow: hidden; font-size: 12px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.lf-expertise-item p { margin: 3px 0 0; color: var(--lf-muted); font-size: 10px; line-height: 1.35; }
.lf-section-intro { padding: 26px; border: 1px solid #e5e0ff; border-radius: 14px; background: linear-gradient(130deg, #f0edff, #fff); }
.lf-section-intro h1 { margin: 2px 0 8px; font-size: clamp(28px, 4vw, 42px); }
.lf-section-intro p { margin: 0; }
.lf-account-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 960px) {
	#lf-community-app { grid-template-columns: 190px minmax(0, 1fr); gap: 18px; }
	.lf-community-hero { grid-template-columns: 1fr; }
	.lf-reputation { min-height: 130px; }
	.lf-stat-grid { grid-template-columns: repeat(2, 1fr); }
	.lf-dashboard-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lf-member-profile-hero { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.lf-community-shell { width: min(100% - 24px, 1460px); padding-top: 22px; }
	.lf-community-head { align-items: flex-start; }
	.lf-community-account { display: none; }
	#lf-community-app { display: block; }
	.lf-community-tabs { position: static; display: flex; margin: 0 0 16px; padding: 5px; overflow-x: auto; border: 1px solid var(--lf-line); border-radius: 11px; background: #fff; }
	.lf-community-tabs::before { display: none; }
	.lf-community-tabs button { flex: 0 0 auto; width: auto; min-height: 40px; white-space: nowrap; }
	.lf-community-hero { padding: 24px; }
	.lf-badge-grid { grid-template-columns: 1fr; }
	.lf-dashboard-action-grid, .lf-profile-columns { grid-template-columns: 1fr; }
	.lf-member-profile-identity { align-items: flex-start; flex-direction: column; }
	.lf-profile-breadcrumb { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
	.lf-stat-grid { grid-template-columns: 1fr; }
	.lf-list-item { align-items: flex-start; flex-direction: column; }
	.lf-expertise-list { grid-template-columns: 1fr; }
	.lf-leaderboard-row { grid-template-columns: 32px minmax(0, 1fr); }
	.lf-leaderboard-impact { grid-column: 2; text-align: left; }
}
