/* ============================================
   ANLATREİS — Ortak Stil Dosyası
   Palet: Koyu çelik-lacivert zemin + çam yeşili
   aksan + pirinç/altın vurgu (rütbe/nişan hissi)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root{
  /* --- Koyu tema (varsayılan) --- */
  --bg: #0F1619;
  --bg-soft: #131C20;
  --surface: #1B262B;
  --surface-2: #223038;
  --border: #2B3A40;
  --text: #ECF1F1;
  --text-muted: #93A6A9;
  --text-faint: #5E7376;

  --accent: #3E7C68;        /* çam yeşili — ana aksan */
  --accent-strong: #4E9C82;
  --accent-soft: rgba(62,124,104,0.14);

  --brass: #C89A45;         /* pirinç/altın — ikincil vurgu */
  --brass-strong: #E0B458;

  --like: #4E9C82;
  --dislike: #B6604B;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;

  --shadow: 0 8px 24px rgba(0,0,0,0.28);
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html[data-theme="light"]{
  --bg: #EEF2F1;
  --bg-soft: #E6ECEA;
  --surface: #FFFFFF;
  --surface-2: #F3F6F5;
  --border: #DAE3E1;
  --text: #16221F;
  --text-muted: #55676A;
  --text-faint: #8AA0A2;

  --accent: #2E6753;
  --accent-strong: #235244;
  --accent-soft: rgba(46,103,83,0.10);

  --brass: #A9781F;
  --brass-strong: #8C6318;

  --like: #2E6753;
  --dislike: #A24A36;

  --shadow: 0 8px 24px rgba(20,40,35,0.10);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  transition: background .25s ease, color .25s ease;
  min-height:100vh;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family: inherit; cursor:pointer; }
.container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass);
}
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; letter-spacing:-0.01em; }
::selection{ background: var(--accent-soft); color: var(--text); }
:focus-visible{ outline: 2px solid var(--brass); outline-offset: 2px; }

/* ============ HEADER ============ */
.site-header{
  position: sticky; top:0; z-index:50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 24px;
  max-width: 1180px; margin:0 auto;
  gap: 20px;
}
.logo{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-display); font-weight:700; font-size:20px;
  color: var(--text);
  flex-shrink:0;
}
.logo-mark{
  width:34px; height:34px; border-radius:9px;
  background: linear-gradient(155deg, var(--accent), var(--accent-strong));
  display:flex; align-items:center; justify-content:center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.logo-mark svg{ width:19px; height:19px; }
.logo span.suffix{ color: var(--brass); }

.main-nav{
  display:flex; gap: 30px;
  font-weight:500; font-size:15px;
  color: var(--text-muted);
}
.main-nav a:hover{ color: var(--text); }
.main-nav a.active{ color: var(--text); }

.header-actions{
  display:flex; align-items:center; gap:14px; flex-shrink:0;
}
.icon-btn{
  width:38px; height:38px; border-radius:10px;
  border:1px solid var(--border); background: var(--surface);
  display:flex; align-items:center; justify-content:center;
  color: var(--text-muted);
  transition: .15s;
}
.icon-btn:hover{ color:var(--text); border-color: var(--accent); }
.icon-btn svg{ width:17px; height:17px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 9px 18px; border-radius: 10px;
  font-weight:600; font-size:14.5px;
  border: 1px solid transparent;
  white-space:nowrap;
}
.btn-ghost{
  background: transparent; color: var(--text); border-color: var(--border);
}
.btn-ghost:hover{ border-color: var(--accent); }
.btn-solid{
  background: var(--accent); color:#fff;
}
.btn-solid:hover{ background: var(--accent-strong); }
.btn-brass{
  background: var(--brass); color:#1a1206;
}
.btn-brass:hover{ background: var(--brass-strong); }
.btn-block{ width:100%; }
.btn-lg{ padding:13px 20px; font-size:15.5px; border-radius:12px; }

.header-search{
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  max-height:0; overflow:hidden; transition: max-height .25s ease, padding .25s ease;
}
.header-search.open{ max-height:70px; padding-bottom:14px; }
.header-search input{
  width:100%; padding:11px 16px; border-radius:10px;
  background: var(--surface); border:1px solid var(--border); color:var(--text);
  font-size:14.5px;
}

.mobile-toggle{ display:none; }

/* ============ HERO ============ */
.hero{
  text-align:center; padding: 64px 24px 44px;
}
.hero .eyebrow{ display:block; margin-bottom:14px; }
.hero h1{
  font-size: clamp(28px, 4vw, 44px);
  line-height:1.15;
  max-width: 720px; margin: 0 auto 14px;
}
.hero p.slogan{
  color: var(--text-muted); font-size:16.5px; max-width:560px; margin:0 auto 30px;
}
.hero-search{
  max-width: 560px; margin: 0 auto;
  display:flex; align-items:center; gap:10px;
  background: var(--surface); border:1px solid var(--border);
  border-radius: 14px; padding: 6px 6px 6px 18px;
  box-shadow: var(--shadow);
}
.hero-search svg{ width:18px; height:18px; color:var(--text-faint); flex-shrink:0; }
.hero-search input{
  flex:1; border:none; background:transparent; color:var(--text);
  font-size:15px; padding:10px 0;
}
.hero-search input:focus{ outline:none; }
.hero-search button{
  background: var(--accent); color:#fff; border:none;
  padding: 10px 20px; border-radius:9px; font-weight:600; font-size:14.5px;
}

/* ============ SECTIONS ============ */
section.block{ padding: 40px 24px; }
.block-head{
  display:flex; align-items:baseline; justify-content:space-between;
  max-width:1180px; margin:0 auto 22px;
}
.block-head h2{ font-size:23px; }
.block-head .see-all{ font-size:14px; color:var(--accent-strong); font-weight:600; }

/* ---- Kategori kartları ---- */
.category-grid{
  max-width:1180px; margin:0 auto;
  display:grid; grid-template-columns: repeat(6,1fr); gap:16px;
}
.category-card{
  background: var(--surface); border:1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 22px 14px; text-align:center;
  transition: transform .15s ease, border-color .15s ease;
}
.category-card:hover{ transform: translateY(-3px); border-color: var(--accent); }
.category-icon{
  width:46px; height:46px; margin:0 auto 12px;
  border-radius:12px; background: var(--accent-soft);
  display:flex; align-items:center; justify-content:center;
  color: var(--accent-strong);
}
.category-icon svg{ width:22px; height:22px; }
.category-card h3{ font-size:15px; margin-bottom:4px; }
.category-card .count{
  font-family: var(--font-mono); font-size:12.5px; color: var(--brass);
}

/* ---- Konu kartları (son açılanlar) ---- */
.topic-grid{
  max-width:1180px; margin:0 auto;
  display:grid; grid-template-columns: repeat(3,1fr); gap:18px;
}
.topic-card{
  background: var(--surface); border:1px solid var(--border);
  border-radius: var(--radius-m); padding:18px;
  display:flex; flex-direction:column; gap:12px;
  transition: border-color .15s ease, transform .15s ease;
}
.topic-card:hover{ border-color:var(--accent); transform: translateY(-2px); }
.topic-top{ display:flex; align-items:center; gap:10px; }
.avatar{
  width:34px; height:34px; border-radius:50%;
  background: linear-gradient(155deg, var(--accent), var(--brass));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:700; font-size:13px; flex-shrink:0;
}
.topic-user{ font-weight:600; font-size:14px; }
.topic-date{ font-size:12px; color:var(--text-faint); font-family:var(--font-mono); }
.topic-card h3{ font-size:16.5px; line-height:1.35; }
.topic-excerpt{
  font-size:13.8px; color:var(--text-muted); line-height:1.5;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.topic-cat-tag{
  display:inline-flex; align-self:flex-start; font-size:11.5px; font-weight:600;
  padding:3px 10px; border-radius:999px; background:var(--accent-soft); color:var(--accent-strong);
}
.topic-foot{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:12px; border-top:1px solid var(--border);
  font-size:13px; color:var(--text-muted);
}
.topic-foot .meta{ display:flex; align-items:center; gap:6px; }
.topic-foot svg{ width:15px; height:15px; }
.share-btn{ display:flex; align-items:center; gap:6px; color:var(--brass); font-weight:600; }

/* ---- CTA: Sesini Duyur ---- */
.cta-box{
  max-width:1180px; margin: 20px auto 0;
  background: linear-gradient(120deg, var(--surface-2), var(--surface));
  border:1px solid var(--border); border-radius: var(--radius-l);
  padding: 46px 40px; text-align:center; position:relative; overflow:hidden;
}
.cta-box::before{
  content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 15% 20%, var(--accent-soft), transparent 55%);
}
.cta-box > *{ position:relative; }
.cta-box h2{ font-size:26px; margin-bottom:10px; }
.cta-box p{ color: var(--text-muted); margin-bottom:22px; font-size:15px; }

/* ============ FOOTER ============ */
.site-footer{
  border-top:1px solid var(--border); margin-top:50px;
  padding: 46px 24px 26px;
}
.footer-grid{
  max-width:1180px; margin:0 auto;
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px;
}
.footer-brand .logo{ margin-bottom:10px; }
.footer-brand p{ color:var(--text-muted); font-size:14px; max-width:240px; line-height:1.5; }
.footer-col h4{ font-size:14px; margin-bottom:14px; color:var(--text); }
.footer-col a{
  display:block; font-size:14px; color:var(--text-muted); margin-bottom:10px;
}
.footer-col a:hover{ color:var(--accent-strong); }
.social-row{ display:flex; gap:10px; }
.footer-bottom{
  max-width:1180px; margin: 34px auto 0; padding-top:20px;
  border-top:1px solid var(--border);
  font-size:13px; color:var(--text-faint); text-align:center;
  font-family: var(--font-mono);
}

/* ============ AUTH PAGES ============ */
.auth-wrap{ display:flex; min-height:100vh; }
.auth-side{
  flex:1; display:flex; flex-direction:column; justify-content:center;
  padding: 60px; position:relative; overflow:hidden;
  background: linear-gradient(160deg, var(--bg-soft), var(--bg));
}
.auth-side::before{
  content:""; position:absolute; width:480px; height:480px; border-radius:50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  top:-140px; left:-140px;
}
.auth-side .logo{ margin-bottom:60px; position:relative; }
.auth-side h1{ font-size: clamp(28px,3.4vw,38px); max-width:420px; margin-bottom:16px; position:relative; }
.auth-side p{ color:var(--text-muted); font-size:16px; max-width:380px; position:relative; }
.auth-side .badge-row{ display:flex; gap:10px; margin-top:36px; position:relative; }
.badge-pill{
  font-family:var(--font-mono); font-size:12px; padding:7px 13px; border-radius:999px;
  border:1px solid var(--border); color:var(--text-muted);
}
.auth-form-side{
  flex:1; display:flex; align-items:center; justify-content:center;
  padding: 50px 24px; background: var(--bg);
}
.auth-card{ width:100%; max-width:400px; }
.auth-card h2{ font-size:25px; margin-bottom:6px; }
.auth-card > p.sub{ color:var(--text-muted); font-size:14.5px; margin-bottom:28px; }
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:7px; color:var(--text-muted); }
.field input, .field select{
  width:100%; padding:11px 14px; border-radius:10px;
  background: var(--surface); border:1px solid var(--border); color:var(--text);
  font-size:14.5px;
}
.field input:focus, .field select:focus{ outline:none; border-color:var(--accent); }
.field-row-link{ display:flex; justify-content:flex-end; margin: -8px 0 16px; }
.field-row-link a{ font-size:13px; color:var(--accent-strong); font-weight:600; }
.divider{
  display:flex; align-items:center; gap:14px; margin: 22px 0;
  color:var(--text-faint); font-size:12.5px; font-family:var(--font-mono);
}
.divider::before, .divider::after{ content:""; flex:1; height:1px; background:var(--border); }
.oauth-row{ display:flex; gap:10px; }
.oauth-btn{
  flex:1; display:flex; align-items:center; justify-content:center; gap:8px;
  padding:10px; border-radius:10px; border:1px solid var(--border); background:var(--surface);
  font-size:13.5px; font-weight:600;
}
.oauth-btn svg{ width:16px; height:16px; }
.oauth-btn:hover{ border-color:var(--accent); }
.check-row{
  display:flex; gap:10px; align-items:flex-start; font-size:13px; color:var(--text-muted);
  margin-bottom:12px; line-height:1.5;
}
.check-row input{ margin-top:3px; accent-color: var(--accent); flex-shrink:0; }
.check-row a{ color:var(--accent-strong); font-weight:600; }
.warn-box{
  display:flex; gap:10px; background: color-mix(in srgb, var(--dislike) 12%, transparent);
  border:1px solid color-mix(in srgb, var(--dislike) 35%, var(--border));
  padding:12px 14px; border-radius:10px; font-size:12.6px; color:var(--text-muted);
  line-height:1.5; margin-bottom:16px;
}
.warn-box svg{ width:16px; height:16px; color:var(--dislike); flex-shrink:0; margin-top:1px; }
.bottom-line{ text-align:center; font-size:14px; color:var(--text-muted); margin-top:22px; }
.bottom-line a{ color:var(--accent-strong); font-weight:700; }

/* ============ KONULAR (liste) ============ */
.layout-3col{
  max-width:1180px; margin:0 auto; padding: 32px 24px 60px;
  display:grid; grid-template-columns: 230px 1fr 300px; gap:26px; align-items:start;
}
.sidebar{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-m);
  padding:18px; position:sticky; top:88px;
}
.sidebar h4{ font-size:12.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--text-faint); margin-bottom:14px; font-family:var(--font-mono); }
.sidebar-link{
  display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:9px;
  font-size:14.5px; font-weight:500; color:var(--text-muted); margin-bottom:2px;
}
.sidebar-link svg{ width:17px; height:17px; }
.sidebar-link:hover{ background:var(--surface-2); color:var(--text); }
.sidebar-link.active{ background: var(--accent-soft); color: var(--accent-strong); font-weight:700; }

.topic-list-header{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.topic-list-header h1{ font-size:22px; }
.topic-row{
  display:flex; align-items:center; gap:16px; padding: 16px 4px;
  border-bottom:1px solid var(--border);
}
.topic-row:hover h3{ color: var(--accent-strong); }
.topic-row .avatar{ flex-shrink:0; }
.topic-row-main{ flex:1; min-width:0; }
.topic-row-main h3{ font-size:15.5px; margin-bottom:4px; }
.topic-row-main .row-meta{ font-size:12.5px; color:var(--text-faint); font-family:var(--font-mono); }
.topic-row-stats{ display:flex; gap:16px; font-size:13px; color:var(--text-muted); flex-shrink:0; }
.topic-row-stats .stat{ display:flex; align-items:center; gap:5px; }
.topic-row-stats svg{ width:14px; height:14px; }

.side-panel{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-m);
  padding:18px; margin-bottom:18px;
}
.side-panel h4{
  font-size:12.5px; text-transform:uppercase; letter-spacing:.07em; color:var(--brass);
  margin-bottom:14px; font-family:var(--font-mono);
}
.side-item{ display:flex; gap:10px; padding:9px 0; border-bottom:1px solid var(--border); }
.side-item:last-child{ border-bottom:none; padding-bottom:0; }
.side-item .rank{
  font-family:var(--font-mono); font-size:12px; color:var(--text-faint); width:16px; flex-shrink:0; padding-top:2px;
}
.side-item-body h5{ font-size:13.5px; font-weight:600; line-height:1.4; margin-bottom:3px; }
.side-item-body span{ font-size:11.5px; color:var(--text-faint); font-family:var(--font-mono); }

/* ============ KONU DETAY ============ */
.detail-wrap{ max-width: 820px; margin:0 auto; padding: 26px 24px 60px; }
.back-link{
  display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600;
  color:var(--text-muted); margin-bottom:22px;
}
.back-link:hover{ color:var(--text); }
.back-link svg{ width:16px; height:16px; }
.detail-header{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-l);
  padding: 28px 30px;
}
.detail-cat{
  display:inline-flex; font-size:12px; font-weight:700; padding:4px 12px; border-radius:999px;
  background:var(--accent-soft); color:var(--accent-strong); margin-bottom:16px;
}
.detail-header h1{ font-size: clamp(22px,3vw,30px); line-height:1.3; margin-bottom:18px; }
.detail-author{ display:flex; align-items:center; gap:12px; margin-bottom:22px; }
.detail-author .avatar{ width:44px; height:44px; font-size:15px; }
.detail-author .name{ font-weight:700; font-size:15px; }
.detail-author .date{ font-size:12.5px; color:var(--text-faint); font-family:var(--font-mono); }
.detail-body{ font-size:16px; line-height:1.8; color:var(--text); margin-bottom:24px; }
.detail-body p{ margin: 0 0 16px; }
.detail-actions{
  display:flex; align-items:center; gap:12px; padding-top:20px; border-top:1px solid var(--border);
}
.vote-btn{
  display:flex; align-items:center; gap:8px; padding:9px 16px; border-radius:10px;
  border:1px solid var(--border); background:var(--surface-2); font-weight:600; font-size:14px;
}
.vote-btn svg{ width:17px; height:17px; }
.vote-btn.like:hover{ border-color:var(--like); color:var(--like); }
.vote-btn.dislike:hover{ border-color:var(--dislike); color:var(--dislike); }
.vote-btn.share:hover{ border-color:var(--brass); color:var(--brass); }

.comments-block{ margin-top:32px; }
.comments-block h3{ font-size:18px; margin-bottom:18px; }
.comment{ display:flex; gap:14px; padding:18px 0; border-bottom:1px solid var(--border); }
.comment-body{ flex:1; }
.comment-top{ display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.comment-top .name{ font-weight:700; font-size:14px; }
.comment-top .date{ font-size:12px; color:var(--text-faint); font-family:var(--font-mono); }
.comment-text{ font-size:14.5px; color:var(--text-muted); line-height:1.6; }
.comment-form{
  display:flex; gap:12px; margin-top:24px; align-items:flex-start;
}
.comment-form textarea{
  flex:1; min-height:90px; padding:12px 14px; border-radius:10px; resize:vertical;
  background: var(--surface); border:1px solid var(--border); color:var(--text); font-family:inherit; font-size:14.5px;
}
.comment-form textarea:focus{ outline:none; border-color:var(--accent); }

.suggest-box{
  max-width:820px; margin: 34px auto 0;
  background: var(--surface-2); border:1px dashed var(--border); border-radius: var(--radius-m);
  padding: 22px 26px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
}
.suggest-box h4{ font-size:15.5px; margin-bottom:4px; }
.suggest-box p{ font-size:13.5px; color:var(--text-muted); margin:0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px){
  .category-grid{ grid-template-columns: repeat(3,1fr); }
  .topic-grid{ grid-template-columns: repeat(2,1fr); }
  .layout-3col{ grid-template-columns: 1fr; }
  .sidebar{ position:static; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px){
  .main-nav{ display:none; }
  .mobile-toggle{
    display:flex; width:38px; height:38px; border-radius:10px; border:1px solid var(--border);
    background:var(--surface); align-items:center; justify-content:center; order:3;
  }
  .mobile-toggle svg{ width:19px; height:19px; }
  .main-nav.mobile-open{
    display:flex; flex-direction:column; position:absolute; top:100%; left:0; right:0;
    background: var(--bg); border-bottom:1px solid var(--border); padding: 16px 24px; gap:16px;
  }
  .header-actions .btn-ghost span.txt, .header-actions .btn-solid span.txt{ display:none; }
  .header-actions{ gap:8px; }
  .btn{ padding:9px 12px; }
  .auth-wrap{ flex-direction:column; }
  .auth-side{ padding: 40px 26px; min-height: 260px; }
  .auth-side::before{ width:280px; height:280px; }
  .auth-side .badge-row{ display:none; }
  .category-grid{ grid-template-columns: repeat(2,1fr); }
  .topic-grid{ grid-template-columns: 1fr; }
  .cta-box{ padding:34px 22px; }
  .detail-header{ padding:22px 18px; }
  .comment-form{ flex-direction:column; }
}

/* ============ WORDPRESS'E ÖZGÜ EK STİLLER ============ */
.form-alert{
  background: color-mix(in srgb, var(--dislike) 12%, transparent);
  border:1px solid color-mix(in srgb, var(--dislike) 35%, var(--border));
  padding:12px 16px; border-radius:10px; margin-bottom:18px; font-size:13.5px; color:var(--text);
}
.form-alert p{ margin:4px 0; }

/* Native WP yorum formu (comment_form()) bizim .field / .btn sınıflarımızla hizalanır */
#commentform p{ margin-bottom:14px; }
#commentform label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:7px; color:var(--text-muted); }
#commentform textarea, #commentform input[type="text"], #commentform input[type="email"]{
  width:100%; padding:12px 14px; border-radius:10px; background:var(--surface);
  border:1px solid var(--border); color:var(--text); font-family:inherit; font-size:14.5px;
}
#commentform textarea{ min-height:90px; resize:vertical; }
#commentform .form-submit input[type="submit"]{
  padding:11px 22px; border-radius:10px; border:none; background:var(--accent); color:#fff;
  font-weight:600; font-size:14.5px; cursor:pointer;
}
.wp-pagenavi, .pagination{ display:flex; gap:8px; justify-content:center; margin-top:30px; }

.vote-btn.like.is-active{ border-color:var(--like); color:var(--like); background: color-mix(in srgb, var(--like) 12%, var(--surface-2)); }
.vote-btn.dislike.is-active{ border-color:var(--dislike); color:var(--dislike); background: color-mix(in srgb, var(--dislike) 12%, var(--surface-2)); }
.vote-btn.report:hover{ border-color: var(--dislike); color: var(--dislike); }

/* ============ PROFİL SAYFASI ============ */
.profile-wrap{ max-width: 900px; margin: 0 auto; padding: 32px 24px 60px; }
.profile-head{ display:flex; align-items:center; gap:20px; margin-bottom:28px; }
.profile-head .avatar, .profile-head img{ width:74px; height:74px; font-size:26px; }
.profile-head h1{ font-size:22px; margin-bottom:4px; }
.profile-head .gender-tag{
  display:inline-flex; font-size:12px; font-weight:600; padding:3px 10px; border-radius:999px;
  background: var(--surface-2); color: var(--text-muted); margin-top:6px;
}

.profile-msg{ padding:12px 16px; border-radius:10px; font-size:14px; margin-bottom:20px; }
.profile-msg.success{ background: color-mix(in srgb, var(--like) 14%, transparent); border:1px solid color-mix(in srgb, var(--like) 35%, var(--border)); color:var(--text); }
.profile-msg.error{ background: color-mix(in srgb, var(--dislike) 14%, transparent); border:1px solid color-mix(in srgb, var(--dislike) 35%, var(--border)); color:var(--text); }

.profile-tabs{
  display:flex; gap:6px; border-bottom:1px solid var(--border); margin-bottom:26px; flex-wrap:wrap;
}
.profile-tab-btn{
  padding:11px 16px; font-size:14px; font-weight:600; color:var(--text-muted);
  border-bottom:2px solid transparent; margin-bottom:-1px; background:none; border-top:none; border-left:none; border-right:none;
}
.profile-tab-btn:hover{ color:var(--text); }
.profile-tab-btn.active{ color: var(--accent-strong); border-bottom-color: var(--accent-strong); }

.profile-panel{ display:none; }
.profile-panel.active{ display:block; }

.avatar-upload-box{
  display:flex; align-items:center; gap:18px; background: var(--surface); border:1px solid var(--border);
  border-radius: var(--radius-m); padding:20px; margin-bottom:22px;
}
.avatar-upload-box .avatar, .avatar-upload-box img{ width:64px; height:64px; font-size:22px; }
.avatar-upload-box .upload-controls{ flex:1; }
.avatar-upload-box input[type="file"]{
  font-size:13px; color:var(--text-muted); margin-bottom:10px; display:block;
}
.avatar-upload-box p.hint{ font-size:12.5px; color:var(--text-faint); margin:0 0 10px; }

.profile-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-m); padding:22px;
}
.vote-list-item{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0; border-bottom:1px solid var(--border); }
.vote-list-item:last-child{ border-bottom:none; }
.vote-list-item h5{ font-size:14.5px; font-weight:600; margin-bottom:4px; }
.vote-list-item span{ font-size:12px; color:var(--text-faint); font-family:var(--font-mono); }
.empty-state{ text-align:center; padding: 30px 10px; color:var(--text-muted); font-size:14px; }
