/* ML Форум — Океанский голубой дизайн */

:root {
    --primary: #0891B2;
    --primary-dark: #0E7490;
    --primary-light: #22D3EE;
    --primary-bg: #ECFEFF;
    --accent: #F59E0B;
    --accent-light: #FDE68A;
    
    --bg-body: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-hover: #F1F5F9;
    --bg-input: #FFFFFF;
    
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-link: #0891B2;
    
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Fira Code', monospace;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); background: var(--bg-body); color: var(--text-primary); line-height: 1.6; font-size: 15px; }
a { color: var(--text-link); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top Bar */
.topbar { background: var(--primary-dark); color: white; padding: 6px 0; font-size: 0.78rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-text { opacity: 0.9; }
.topbar-social { color: white; opacity: 0.7; margin-left: 10px; font-size: 0.9rem; transition: opacity 0.2s; }
.topbar-social:hover { opacity: 1; color: white; }

/* Header */
.header { background: var(--bg-white); border-bottom: 2px solid var(--primary); padding: 12px 0; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { height: 42px; width: auto; border-radius: var(--radius-sm); }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 1.2rem; font-weight: 700; color: var(--primary-dark); line-height: 1.2; }
.logo-tagline { font-size: 0.7rem; color: var(--text-muted); }

/* Navigation */
.nav { display: flex; gap: 4px; flex: 1; }
.nav-link { padding: 8px 14px; border-radius: var(--radius-full); font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); transition: all 0.2s; }
.nav-link:hover { background: var(--primary-bg); color: var(--primary); }
.nav-link.active { background: var(--primary); color: white; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.search-form { display: flex; position: relative; }
.search-input { padding: 8px 36px 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-full); font-size: 0.85rem; width: 200px; background: var(--bg-hover); transition: all 0.2s; }
.search-input:focus { outline: none; border-color: var(--primary); width: 260px; background: var(--bg-white); box-shadow: 0 0 0 3px rgba(8,145,178,0.1); }
.search-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 0.9rem; }

/* User Menu */
.user-menu { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; padding: 6px; font-size: 1.1rem; color: var(--text-secondary); }
.icon-btn:hover { color: var(--primary); }
.badge-count { position: absolute; top: -2px; right: -4px; background: var(--danger); color: white; font-size: 0.65rem; padding: 1px 5px; border-radius: var(--radius-full); font-weight: 600; }
.user-btn { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid var(--border); border-radius: var(--radius-full); background: var(--bg-white); cursor: pointer; transition: border-color 0.2s; }
.user-btn:hover { border-color: var(--primary); }
.user-avatar-sm { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.user-name { font-size: 0.85rem; font-weight: 500; color: var(--text-primary); }
.dropdown-arrow { font-size: 0.7rem; color: var(--text-muted); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); min-width: 200px; z-index: 200; overflow: hidden; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-item { display: block; padding: 10px 16px; font-size: 0.85rem; color: var(--text-secondary); transition: background 0.15s; }
.dropdown-item:hover { background: var(--primary-bg); color: var(--primary); }
.dropdown-divider { border-top: 1px solid var(--border-light); margin: 4px 0; }

/* Auth Buttons */
.auth-buttons { display: flex; gap: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: var(--radius-full); font-size: 0.88rem; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; font-family: var(--font-main); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-bg); }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: #D97706; color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #DC2626; color: white; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* Flash Messages */
.flash { padding: 12px 0; font-size: 0.88rem; }
.flash-success { background: #ECFDF5; color: #065F46; border-bottom: 1px solid #A7F3D0; }
.flash-error { background: #FEF2F2; color: #991B1B; border-bottom: 1px solid #FECACA; }
.flash-info { background: #EFF6FF; color: #1E40AF; border-bottom: 1px solid #BFDBFE; }

/* Main */
.main { padding: 24px 0 48px; min-height: 60vh; }

/* Content Layout */
.content-wrapper { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.main-content { min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 16px; }

/* Cards */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border-light); display: flex; justify-content: space-between; align-items: center; }
.card-title { font-size: 1rem; font-weight: 600; color: var(--text-primary); }
.card-body { padding: 20px; }

/* Sidebar Cards */
.sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.sidebar-title { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-bg); }

/* Page Header */
.page-header { margin-bottom: 24px; }
.page-header h1 { font-size: 1.6rem; font-weight: 700; color: var(--text-primary); }
.page-header p { color: var(--text-muted); margin-top: 4px; }

/* Category List */
.category-list { display: flex; flex-direction: column; gap: 8px; }
.category-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); transition: all 0.2s; }
.category-item:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.category-icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.category-info { flex: 1; min-width: 0; }
.category-name { font-weight: 600; font-size: 1rem; color: var(--text-primary); }
.category-desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.category-stats { display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-muted); flex-shrink: 0; }
.category-stat { text-align: center; }
.category-stat-num { font-weight: 600; color: var(--text-primary); font-size: 1rem; display: block; }

/* Topic List */
.topic-list { display: flex; flex-direction: column; }
.topic-item { display: flex; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--border-light); transition: background 0.15s; }
.topic-item:hover { background: var(--bg-hover); }
.topic-item:last-child { border-bottom: none; }
.topic-vote { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 44px; }
.vote-btn { background: none; border: none; cursor: pointer; font-size: 1rem; color: var(--text-muted); padding: 2px; transition: color 0.2s; }
.vote-btn:hover { color: var(--primary); }
.vote-btn.active { color: var(--primary); }
.vote-count { font-weight: 700; font-size: 0.95rem; color: var(--text-primary); }
.topic-content { flex: 1; min-width: 0; }
.topic-title { font-weight: 600; font-size: 0.95rem; color: var(--text-primary); display: block; margin-bottom: 4px; }
.topic-title:hover { color: var(--primary); }
.topic-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; color: var(--text-muted); align-items: center; }
.topic-tag { display: inline-block; padding: 2px 8px; border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 500; }
.topic-stats-right { display: flex; gap: 14px; align-items: center; font-size: 0.8rem; color: var(--text-muted); flex-shrink: 0; }
.topic-stat-icon { display: flex; align-items: center; gap: 4px; }
.topic-pinned { border-left: 3px solid var(--accent); }
.topic-solved { border-left: 3px solid var(--success); }

/* Post */
.post { display: flex; gap: 16px; padding: 20px; border-bottom: 1px solid var(--border-light); }
.post:last-child { border-bottom: none; }
.post-author { display: flex; flex-direction: column; align-items: center; min-width: 100px; text-align: center; }
.post-avatar { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--border); margin-bottom: 6px; }
.post-username { font-weight: 600; font-size: 0.85rem; color: var(--text-primary); }
.post-role { font-size: 0.7rem; padding: 2px 8px; border-radius: var(--radius-full); margin-top: 4px; }
.post-role-admin { background: #FEF3C7; color: #92400E; }
.post-role-moderator { background: #DBEAFE; color: #1E40AF; }
.post-body { flex: 1; min-width: 0; }
.post-content { font-size: 0.92rem; line-height: 1.7; }
.post-content pre { background: #1E293B; color: #E2E8F0; padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; margin: 12px 0; font-family: var(--font-mono); font-size: 0.85rem; }
.post-content code { background: var(--primary-bg); color: var(--primary-dark); padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.85em; }
.post-actions { display: flex; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border-light); }
.post-action-btn { background: none; border: none; cursor: pointer; font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: var(--radius-sm); transition: all 0.2s; }
.post-action-btn:hover { background: var(--primary-bg); color: var(--primary); }
.post-action-btn.active { color: var(--primary); }
.post-solution { background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: var(--radius-md); }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; font-family: var(--font-main); background: var(--bg-input); color: var(--text-primary); transition: border-color 0.2s, box-shadow 0.2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(8,145,178,0.1); }
.form-textarea { resize: vertical; min-height: 120px; font-family: var(--font-mono); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 24px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.85rem; border: 1px solid var(--border); color: var(--text-secondary); transition: all 0.2s; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg); }
.pagination .current { background: var(--primary); color: white; border-color: var(--primary); }

/* Empty State */
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-muted); }
.empty-state-icon { font-size: 3rem; margin-bottom: 12px; }

/* Leaderboard */
.leaderboard-table { width: 100%; border-collapse: collapse; }
.leaderboard-table th { text-align: left; padding: 10px 16px; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid var(--border); }
.leaderboard-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); font-size: 0.88rem; }
.leaderboard-table tr:hover { background: var(--bg-hover); }
.rank-badge { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 700; font-size: 0.8rem; }
.rank-1 { background: #FEF3C7; color: #92400E; }
.rank-2 { background: #F1F5F9; color: #475569; }
.rank-3 { background: #FED7AA; color: #9A3412; }

/* Media Cards */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.media-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.2s; }
.media-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.media-thumb { width: 100%; height: 160px; object-fit: cover; background: var(--bg-hover); }
.media-info { padding: 14px; }
.media-title { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.media-meta { font-size: 0.78rem; color: var(--text-muted); }

/* Footer */
.footer { background: #0E7490; color: white; padding: 40px 0 20px; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.footer-desc { font-size: 0.85rem; opacity: 0.8; line-height: 1.6; }
.footer-title { font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-link { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 8px; transition: color 0.2s; }
.footer-link:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; display: flex; justify-content: space-between; font-size: 0.8rem; opacity: 0.7; }
.footer-rss a { color: rgba(255,255,255,0.75); }

/* Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-primary); }

/* Responsive */
@media (max-width: 1024px) {
    .content-wrapper { grid-template-columns: 1fr; }
    .sidebar { order: -1; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-white); border-bottom: 1px solid var(--border); flex-direction: column; padding: 12px; box-shadow: var(--shadow-lg); }
    .nav.open { display: flex; }
    .header-inner { flex-wrap: wrap; }
    .search-form { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .topic-stats-right { display: none; }
    .category-stats { display: none; }
    .post { flex-direction: column; }
    .post-author { flex-direction: row; min-width: auto; gap: 10px; }
}

/* Admin Styles */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: #0E7490; color: white; padding: 20px 0; }
.admin-sidebar-title { padding: 0 20px; font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; }
.admin-nav-link { display: block; padding: 10px 20px; color: rgba(255,255,255,0.8); font-size: 0.88rem; transition: all 0.2s; }
.admin-nav-link:hover, .admin-nav-link.active { background: rgba(255,255,255,0.1); color: white; }
.admin-main { padding: 24px 32px; background: var(--bg-body); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-title { font-size: 1.4rem; font-weight: 700; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; }
.stat-value { font-size: 1.8rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

/* Table */
.table { width: 100%; border-collapse: collapse; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.table th { text-align: left; padding: 12px 16px; background: var(--bg-hover); font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.table td { padding: 12px 16px; border-top: 1px solid var(--border-light); font-size: 0.88rem; }
.table tr:hover td { background: var(--bg-hover); }

/* Flash Messages */
.flash { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 0.88rem; }
.flash-success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.flash-error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.flash-warning { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }
.flash-info { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E40AF; }

/* Profile */
.profile-header { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
.profile-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); }
.profile-info h1 { font-size: 1.3rem; margin-bottom: 4px; }
.profile-role { display: inline-block; padding: 2px 10px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; background: var(--primary-bg); color: var(--primary); }
.profile-stats { display: flex; gap: 24px; margin-top: 12px; }
.profile-stat { text-align: center; }
.profile-stat-value { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.profile-stat-label { font-size: 0.75rem; color: var(--text-muted); }

/* Topic Page */
.topic-header { margin-bottom: 20px; }
.topic-header h1 { font-size: 1.3rem; line-height: 1.4; margin-bottom: 8px; }
.topic-badges { display: flex; gap: 6px; margin-bottom: 8px; }
.topic-badge { display: inline-block; padding: 2px 8px; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 600; }
.topic-badge-pinned { background: #FEF3C7; color: #92400E; }
.topic-badge-solved { background: #ECFDF5; color: #065F46; }
.topic-badge-closed { background: #FEF2F2; color: #991B1B; }

/* Post */
.post { display: flex; gap: 20px; padding: 20px; border-bottom: 1px solid var(--border-light); }
.post-author { min-width: 140px; text-align: center; }
.post-author-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 8px; }
.post-author-name { font-weight: 600; font-size: 0.88rem; display: block; margin-bottom: 2px; }
.post-author-role { font-size: 0.72rem; color: var(--text-muted); }
.post-body { flex: 1; }
.post-content { font-size: 0.92rem; line-height: 1.7; }
.post-content code { background: var(--bg-hover); padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.85em; }
.post-content pre { background: #1E293B; color: #E2E8F0; padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; margin: 12px 0; }
.post-content pre code { background: none; padding: 0; color: inherit; }
.post-actions { display: flex; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-light); }
.post-action { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; color: var(--text-muted); cursor: pointer; transition: color 0.2s; border: none; background: none; }
.post-action:hover { color: var(--primary); }
.post-action.liked { color: var(--danger); }

/* Map */
.map-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.map-city { display: flex; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--border-light); font-size: 0.88rem; }
.map-city:hover { background: var(--bg-hover); }
.map-city-count { font-weight: 600; color: var(--primary); }

/* Breadcrumbs */
.breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { margin: 0 6px; }

/* Notifications */
.notification-item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border-light); transition: background 0.2s; }
.notification-item:hover { background: var(--bg-hover); }
.notification-item.unread { background: var(--primary-bg); }
.notification-icon { font-size: 1.2rem; }
.notification-text { font-size: 0.88rem; }
.notification-time { font-size: 0.75rem; color: var(--text-muted); }

/* Badges */
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.badge-item { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.badge-icon { font-size: 1.5rem; }
.badge-name { font-weight: 600; font-size: 0.88rem; }
.badge-desc { font-size: 0.78rem; color: var(--text-muted); }

/* RSS Feed */
.rss-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: #F97316; color: white; border-radius: var(--radius-full); font-size: 0.82rem; font-weight: 600; transition: background 0.2s; }
.rss-link:hover { background: #EA580C; color: white; }

/* Responsive additions */
@media (max-width: 768px) {
    .profile-header { flex-direction: column; align-items: center; text-align: center; }
    .map-stats { grid-template-columns: 1fr 1fr; }
    .badge-grid { grid-template-columns: 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
}
