/* Profile, deposit rank and storefront comments. */
.header-profile-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 13px;border:1px solid #dfd3f2;border-radius:10px;background:#f7f2ff;color:#6533ba;font-size:12px;font-weight:800;white-space:nowrap}
.header-profile-link:hover,.header-profile-link.active{background:#eee4fc;color:#51269b}
.header-rank{display:grid;gap:1px;min-width:89px;padding:6px 10px;border:1px solid #e8d9ab;border-radius:10px;background:linear-gradient(135deg,#fffdf5,#f9edd0);box-shadow:0 5px 18px #af87321c;text-align:center;line-height:1.2;white-space:nowrap}
.header-rank span{font-size:8px;font-weight:850;letter-spacing:.1em;color:#967229}
.header-rank strong{font-size:14px;font-weight:850;color:#5c431c;letter-spacing:-.03em}
.header-rank:hover{border-color:#cfb56b;background:#fff8e6}
.profile-page{max-width:1040px;margin:0 auto 70px}
.profile-summary{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:32px;align-items:end;padding:30px 0 32px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.profile-identity h2{font-size:clamp(30px,4vw,44px);letter-spacing:-.045em;margin:12px 0 4px}
.profile-identity>span:not(.eyebrow){display:block;color:var(--muted);overflow-wrap:anywhere}
.profile-identity small{display:block;color:var(--muted);margin-top:20px}
.profile-rank{padding:22px 25px;background:#f0e9fa;border-radius:14px}
.profile-rank strong{display:block;font-size:31px;letter-spacing:-.04em;color:var(--primary);margin:9px 0 2px}
.profile-rank p{margin:0 0 17px;color:var(--muted);font-size:13px}
.profile-progress{height:7px;border-radius:99px;background:#d9c9f1;overflow:hidden}
.profile-progress i{height:100%;display:block;background:var(--primary);border-radius:99px;transition:width .45s ease}
.profile-levels{padding:36px 0 8px;border-bottom:1px solid var(--line)}
.profile-levels-head{text-align:center;margin-bottom:20px}
.profile-levels-head h2{font-size:25px;margin:6px 0}
.profile-levels-head p{font-size:12px;color:var(--muted);margin:0}
.profile-levels ol{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 28px;padding:0;list-style:none}
.profile-levels li{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:7px 9px;min-width:0;padding:14px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}
.profile-levels li.current{border-color:#d3b972;background:#fffaf0;box-shadow:0 6px 19px #9d7a2217}
.profile-levels li.complete{background:#f8f4fd}
.profile-level-step{flex:0 0 22px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#eee5fc;color:#6639ae;font-size:11px;font-weight:800}
.profile-levels li.current .profile-level-step{background:#ad812f;color:#fff}
.profile-levels li>div{min-width:0;display:grid;gap:3px}
.profile-levels li strong{font-size:12px;line-height:1.2}
.profile-levels li small,.profile-level-status{font-size:10px;line-height:1.25;color:var(--muted)}
.profile-level-status{display:none;grid-column:1/-1}
.profile-levels li.current .profile-level-status{display:block;color:#906b25;font-weight:750}
.profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:27px 0;border-bottom:1px solid var(--line)}
.profile-facts>div{display:flex;flex-direction:column;gap:5px}
.profile-facts small,.profile-facts span{color:var(--muted);font-size:12px}
.profile-facts strong{font-size:29px;line-height:1.15;letter-spacing:-.04em}
.profile-password{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,1fr);gap:48px;padding:36px 0}
.profile-password h2{font-size:24px;margin:8px 0}
.profile-password p{color:var(--muted);font-size:13px}
.profile-password label{display:block;margin-bottom:14px}
.profile-password button{display:block;margin-top:18px}
.profile-password small{color:var(--muted)}
.rank-badge{display:inline-flex;align-items:center;border:1px solid #d9c8f1;border-radius:99px;background:#f4edfc;color:#5d32a6;font-size:11px;font-weight:750;line-height:1.2;padding:5px 9px;white-space:nowrap}
.rank-badge.admin{border-color:#c8b1ee;background:#ede2ff;color:#5b2ca9}
.rank-badge.moderator{border-color:#b7d6cb;background:#e9f6f1;color:#267558}
.community-section{scroll-margin-top:90px;max-width:920px;margin:70px auto 45px;padding-top:37px;border-top:1px solid var(--line)}
.community-section+.below-shop{margin-top:0}
.community-head{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:19px;text-align:center}
.community-head h2{font-size:clamp(26px,3vw,34px);letter-spacing:-.04em;margin:5px 0}
.community-head p{color:var(--muted);margin:0;font-size:13px}
.community-count{color:var(--muted);font-size:12px;white-space:nowrap}
.comment-list{display:grid;grid-template-columns:minmax(0,1fr);max-width:690px;margin:0 auto}
.comment-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px;margin:20px auto 0}
.comment-pagination:empty{display:none}
.comment-pagination button{min-width:35px;min-height:35px;padding:5px 9px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font-size:12px}
.comment-pagination button[aria-current=page]{background:var(--primary);border-color:var(--primary);color:#fff}
.comment-pagination button:disabled:not([aria-current=page]){opacity:.4}
.comment-page-gap{padding:0 4px;color:var(--muted)}
.comment-row{display:flex;gap:12px;min-width:0;padding:22px 0;border-top:1px solid var(--line)}
.comment-avatar{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#ede3fa;color:#6540ab;font-weight:750}
.comment-content{min-width:0;flex:1}
.comment-content header{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.comment-content header strong{font-size:13px}
.comment-content time{margin-left:auto;font-size:11px;color:var(--muted)}
.comment-content p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.65;margin:9px 0 0}
.comment-reactions{display:inline-flex;align-items:center;gap:5px;margin-top:12px;vertical-align:middle}
.comment-reactions button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:4px 8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--muted);font-size:11px;font-weight:650}
.comment-reactions button span{font-size:13px;line-height:1}
.comment-reactions button b{font-variant-numeric:tabular-nums}
.comment-reactions button[aria-pressed=true]{border-color:#c8b1ee;background:#f1eafd;color:#5d32a6}
.comment-reactions button[data-vote="-1"][aria-pressed=true]{border-color:#ecc6cf;background:#fdf0f2;color:#a04760}
.comment-reactions button:disabled{opacity:.6}
.comment-reply-actions{display:inline-flex;margin:12px 0 0 12px;vertical-align:middle}
.comment-reply-actions button{border:0;background:transparent;padding:3px 0;color:var(--primary);font-size:12px;font-weight:750}
.comment-reply-actions button:hover{background:transparent;text-decoration:underline;transform:none}
.comment-replies[hidden]{display:none}
.comment-replies{margin-top:13px;padding:13px 0 0 16px;border-left:2px solid #e4d9f4}
.comment-reply{padding:11px 0;border-top:1px solid var(--line)}
.comment-reply:first-child{border-top:0}
.comment-reply header{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.comment-reply header strong{font-size:12px}
.comment-reply time{margin-left:auto;color:var(--muted);font-size:10px}
.comment-reply p{margin:7px 0 0;font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.comment-reply-empty{color:var(--muted)}
.comment-reply-pagination{margin:12px 0}
.comment-reply-form{display:grid;justify-items:start;gap:8px;margin-top:12px}
.comment-reply-form label{margin:0;font-size:12px}
.comment-reply-form textarea{min-height:72px;max-width:100%;background:#fff;font-size:12px}
.comment-reply-form button{padding:8px 12px;font-size:12px}
.comment-parent-context{margin:12px 0 4px;padding:9px 12px;border-left:3px solid #c8b1ee;background:#f7f3fc;color:var(--muted);font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.comment-photo,.comment-admin-photo{display:block;width:auto;max-width:min(100%,420px);max-height:330px;margin-top:12px;border:1px solid var(--line);border-radius:12px;object-fit:contain;background:#fff}
.comment-admin-photo{max-width:260px;max-height:200px;margin:0 0 15px}
.comment-compose{max-width:690px;margin:24px auto 0;padding:24px 0 4px;border-top:1px solid var(--line);text-align:center}
.comment-compose label{display:block;font-weight:700}
.comment-compose .comment-photo-label{display:flex;align-items:center;justify-content:center;gap:8px;margin:13px 0 7px;color:var(--primary);cursor:pointer}
.comment-photo-label span{color:var(--muted);font-size:11px;font-weight:500}
.comment-compose input[type=file]{display:block;width:min(100%,480px);margin:0 auto;padding:7px;font-size:12px;background:#fff}
.comment-compose textarea{width:100%;resize:vertical;margin-top:9px;text-align:left}
.comment-compose textarea::placeholder{text-align:center}
.comment-compose>div{display:flex;flex-direction:column;align-items:center;gap:13px;margin-top:10px}
.comment-compose small{color:var(--muted);font-size:11px}
.comment-compose button{white-space:nowrap}
.comment-admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}
.comment-admin-tabs button.active{background:var(--primary);border-color:var(--primary);color:#fff}
.comment-admin-row{padding:20px 0;border-top:1px solid var(--line)}
.comment-admin-row>div:first-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.comment-admin-row>div:first-child span:not(.badge){font-size:12px;color:var(--muted)}
.comment-admin-row p{white-space:pre-wrap;overflow-wrap:anywhere;max-width:850px;line-height:1.6}
.comment-admin-actions{display:flex;gap:8px}
@media(max-width:1550px){.header{padding-left:24px;padding-right:24px;gap:14px}.header nav{gap:13px;font-size:12px}.header-right{gap:8px}.header-rank{min-width:72px;padding:5px 7px}}
@media(max-width:760px){.profile-summary{grid-template-columns:1fr;gap:22px;padding:21px 0}.profile-facts{gap:12px}.profile-facts strong{font-size:23px}.profile-password{grid-template-columns:1fr;gap:13px}.profile-levels ol{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-levels li:last-child{grid-column:1/-1}.community-section{margin-top:48px}.comment-compose button{align-self:center}.comment-content time{margin-left:0}.header-rank{order:3;min-width:48px;padding:5px 6px}.header-rank span{display:none}.header-rank strong{font-size:12px}.header-right{width:100%;flex-wrap:wrap;justify-content:flex-end;max-width:100%;gap:5px}.header-right .notification-link{order:1}.header-right .wallet-chip{order:2}.header-right .header-profile-link{order:4}.header-right #logout{order:5}.header-profile-link{min-height:34px;padding:6px 9px;font-size:11px}.comment-compose .comment-photo-label{flex-direction:column;gap:2px}}
@media(prefers-reduced-motion:reduce){.profile-progress i{transition:none}}

/* Storefront conversation layout */
#yorumlar.community-section {
 display: grid;
 grid-template-columns: minmax(0, 1fr);
 max-width: 920px;
 padding: clamp(16px, 3vw, 28px);
 border: 1px solid var(--line);
 border-radius: 18px;
 background: var(--panel);
}
#yorumlar .community-head {
 flex-direction: row;
 justify-content: space-between;
 align-items: flex-end;
 text-align: left;
}
#yorumlar .community-count {
 padding: 5px 10px;
 border-radius: 99px;
 background: #f1eafd;
 color: #5d32a6;
}
#yorumlar .comment-compose {
 grid-row: 2;
 max-width: none;
 margin: 0 0 22px;
 padding: 16px;
 border: 1px solid var(--line);
 border-radius: 12px;
 background: #faf8fe;
 text-align: left;
}
#yorumlar .comment-compose textarea { background: #fff; }
#yorumlar .comment-compose textarea::placeholder { text-align: left; }
#yorumlar .comment-compose .comment-photo-label { justify-content: flex-start; align-items: baseline; }
#yorumlar .comment-compose input[type=file] { margin-left: 0; }
#yorumlar .comment-compose > div {
 flex-direction: row;
 justify-content: space-between;
 flex-wrap: wrap;
}
#yorumlar .comment-list { max-width: none; width: 100%; }
#yorumlar .comment-row { padding: 17px 0; }
#yorumlar .comment-avatar { flex-basis: 38px; width: 38px; height: 38px; }
#yorumlar .comment-content header strong { font-size: 14px; }
#yorumlar .comment-content p { font-size: 14px; }
#yorumlar .comment-replies {
 padding: 8px 12px;
 border-radius: 0 10px 10px 0;
 background: #faf8fe;
}
@media (max-width: 560px) {
 #yorumlar .community-head { flex-wrap: wrap; align-items: flex-start; }
 #yorumlar .comment-compose { padding: 12px; }
 #yorumlar .comment-avatar { flex-basis: 30px; width: 30px; height: 30px; }
 #yorumlar .comment-content time { flex-basis: 100%; }
}
