/* Hollowcrest community features: avatars, notifications, pagination, profiles, moderation */
.thread-heading-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; }
.button.danger-soft { border-color:rgba(255,90,110,.22); color:#ff9aa6; }
.button.danger-soft:hover { background:rgba(255,71,91,.09); }
.thread-author { display:flex; align-items:flex-start; justify-content:center; }
.thread-author-card { width:100%; justify-items:center !important; text-align:center; }
.thread-author-meta { width:100%; justify-items:center !important; text-align:center; }
.thread-author-name { color:inherit; }
.thread-author-name:hover { color:#fff; }
.thread-avatar.has-image,
.mini-avatar.has-image,
.account-avatar.has-image,
.profile-avatar.has-image { position:relative; overflow:hidden; background:#121a28; }
.thread-avatar.has-image img,
.mini-avatar.has-image img,
.account-avatar.has-image img,
.profile-avatar.has-image img { width:100%; height:100%; object-fit:cover; image-rendering:auto; }
.thread-avatar.has-image > span,
.mini-avatar.has-image > span,
.account-avatar.has-image > span,
.profile-avatar.has-image > span { display:none; }
.thread-avatar.has-image { margin-inline:auto; }
.thread-post-actions { display:flex; justify-content:flex-end; gap:8px; padding-top:20px; margin-top:22px; border-top:1px solid rgba(255,255,255,.07); }
.thread-post-actions button { border:0; border-radius:9px; padding:7px 11px; background:rgba(255,255,255,.045); color:#91a0b6; cursor:pointer; font-size:.72rem; font-weight:700; }
.thread-post-actions button:hover { background:rgba(255,255,255,.09); color:#fff; }
.thread-post-actions button.danger:hover { background:rgba(255,75,94,.10); color:#ff929f; }
.thread-post-top em { color:#65738a; font-style:normal; }
.thread-heading-actions .active { border-color:rgba(103,215,162,.25); background:rgba(103,215,162,.09); color:#8ce5bb; }
.forum-pagination { display:flex; align-items:center; justify-content:center; gap:7px; padding:25px 0 4px; }
.forum-pagination a { min-width:38px; height:38px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.09); border-radius:10px; background:rgba(255,255,255,.025); color:#8f9cb0; font-size:.78rem; font-weight:800; }
.forum-pagination a:hover,.forum-pagination a.active { border-color:rgba(213,173,90,.35); background:rgba(213,173,90,.11); color:#f0cf83; }
.forum-pagination a.disabled { opacity:.35; pointer-events:none; }
.unread-dot { display:inline-block; width:8px; height:8px; margin-right:9px; border-radius:50%; background:#63bfff; box-shadow:0 0 0 4px rgba(96,183,255,.09); vertical-align:1px; }
.category-topic.is-unread,.latest-topic.is-unread { background:linear-gradient(90deg,rgba(55,139,225,.075),transparent 70%); }
.nav-notifications-link { position:relative; width:42px; height:42px; display:grid !important; place-items:center; padding:0 !important; }
.nav-notifications-link svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.nav-notifications-link > span { position:absolute; top:-2px; right:-5px; min-width:19px; height:19px; display:grid; place-items:center; padding:0 5px; border:2px solid #080b13; border-radius:999px; background:#d84c5c; color:#fff; font-size:.58rem; font-weight:900; }
.community-action-modal select,.community-action-modal textarea { width:100%; }
.community-action-modal .form-stack { margin-top:20px; }

/* Profile */
.profile-page,.notifications-page { min-height:100vh; padding:140px 0 90px; background:radial-gradient(circle at 75% 12%,rgba(96,183,255,.08),transparent 30%),linear-gradient(180deg,#080c14,#090e18); }
.profile-shell,.notifications-shell { width:min(1120px,calc(100% - 40px)); margin-inline:auto; }
.profile-hero { display:grid; grid-template-columns:220px minmax(0,1fr); gap:34px; align-items:center; padding:36px; border:1px solid rgba(255,255,255,.1); border-radius:26px; background:linear-gradient(145deg,rgba(20,28,44,.95),rgba(10,16,27,.94)); box-shadow:0 28px 70px rgba(0,0,0,.25); }
.profile-avatar { width:170px; height:170px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.12); border-radius:28px; background:linear-gradient(145deg,#283950,#111824); color:#fff; font-family:"Manrope",sans-serif; font-size:2.4rem; font-weight:900; box-shadow:0 18px 45px rgba(0,0,0,.28); }
.profile-copy h1 { margin:8px 0 4px; font-family:"Manrope",sans-serif; font-size:clamp(2.5rem,5vw,4.4rem); line-height:1; letter-spacing:-.055em; }
.profile-handle { color:#78869b; }
.profile-rank-row { display:flex; align-items:center; gap:10px; margin-top:15px; }
.profile-bio { max-width:700px; margin:18px 0 0; color:#9ba7b9; }
.profile-actions { display:flex; gap:10px; margin-top:24px; flex-wrap:wrap; }
.profile-grid { display:grid; grid-template-columns:320px minmax(0,1fr); gap:20px; margin-top:22px; }
.profile-card,.notifications-card { border:1px solid rgba(255,255,255,.09); border-radius:20px; background:linear-gradient(180deg,rgba(15,21,34,.95),rgba(10,16,27,.92)); overflow:hidden; }
.profile-card { padding:24px; }
.profile-card h2,.notifications-heading h1 { margin:0; font-family:"Manrope",sans-serif; }
.profile-stats { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:18px; }
.profile-stat { padding:16px; border-radius:14px; background:rgba(255,255,255,.035); }
.profile-stat strong { display:block; font-size:1.45rem; }
.profile-stat span { color:#718096; font-size:.72rem; }
.profile-detail-list { display:grid; gap:13px; margin-top:20px; }
.profile-detail-list div { display:flex; justify-content:space-between; gap:18px; color:#7e8ba0; font-size:.78rem; }
.profile-detail-list strong { color:#cbd4e2; text-align:right; }
.profile-thread-list { display:grid; margin-top:16px; }
.profile-thread { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:15px 0; border-top:1px solid rgba(255,255,255,.07); }
.profile-thread:first-child { border-top:0; }
.profile-thread span { display:grid; }
.profile-thread strong { font-size:.88rem; }
.profile-thread small,.profile-thread time { color:#6e7b90; font-size:.7rem; }
.profile-state { text-align:center; padding:90px 20px; }

/* Notifications */
.notifications-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:24px; }
.notifications-heading h1 { font-size:clamp(2.5rem,5vw,4rem); letter-spacing:-.05em; }
.notifications-heading p { margin:8px 0 0; color:#8793a7; }
.notification-list { display:grid; }
.notification-item { display:grid; grid-template-columns:52px minmax(0,1fr) auto; align-items:center; gap:15px; padding:18px 20px; border-bottom:1px solid rgba(255,255,255,.07); color:inherit; }
.notification-item:last-child { border-bottom:0; }
.notification-item.unread { background:linear-gradient(90deg,rgba(57,139,224,.08),transparent 65%); }
.notification-icon { width:44px; height:44px; display:grid; place-items:center; border-radius:13px; background:rgba(96,183,255,.08); color:#7bc5ff; font-weight:900; }
.notification-copy { min-width:0; display:grid; gap:4px; }
.notification-copy strong { font-size:.85rem; }
.notification-copy small { color:#718096; font-size:.7rem; }
.notification-item time { color:#667389; font-size:.69rem; }
.notification-empty { padding:70px 20px; text-align:center; color:#7b879b; }

/* Admin live moderation */
.live-report-card { padding:17px 18px; border-bottom:1px solid rgba(255,255,255,.07); }
.live-report-card:last-child { border-bottom:0; }
.live-report-top { display:flex; justify-content:space-between; gap:15px; }
.live-report-card h4 { margin:0; font-size:.84rem; }
.live-report-card p { margin:8px 0; color:#8491a5; font-size:.75rem; }
.live-report-meta { color:#5f6c80; font-size:.66rem; }
.live-report-actions { display:flex; gap:7px; margin-top:12px; flex-wrap:wrap; }
.live-report-actions button,.live-report-actions a { border:1px solid rgba(255,255,255,.09); border-radius:8px; padding:7px 10px; background:rgba(255,255,255,.035); color:#9ca9ba; font-size:.67rem; font-weight:800; cursor:pointer; }
.live-report-actions button:hover,.live-report-actions a:hover { color:#fff; background:rgba(255,255,255,.075); }
.audit-list { display:grid; }
.audit-item { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; padding:14px 18px; border-bottom:1px solid rgba(255,255,255,.07); }
.audit-item:last-child { border-bottom:0; }
.audit-item strong { font-size:.76rem; }
.audit-item p { margin:3px 0 0; color:#788599; font-size:.69rem; }
.audit-item time { color:#5e6b80; font-size:.65rem; }

@media (max-width:780px) {
  .thread-heading-actions { justify-content:flex-start; }
  .thread-author-card { grid-template-columns:56px 1fr !important; justify-items:start !important; text-align:left; }
  .thread-author-meta { justify-items:start !important; text-align:left; }
  .profile-hero { grid-template-columns:1fr; text-align:center; }
  .profile-avatar { margin-inline:auto; }
  .profile-rank-row,.profile-actions { justify-content:center; }
  .profile-grid { grid-template-columns:1fr; }
  .notifications-heading { align-items:flex-start; flex-direction:column; }
}

@media (max-width:560px) {
  .profile-page,.notifications-page { padding-top:110px; }
  .profile-hero { padding:25px 20px; }
  .profile-avatar { width:132px; height:132px; }
  .notification-item { grid-template-columns:42px minmax(0,1fr); }
  .notification-item time { grid-column:2; }
}
.member-input select { width:100%; min-height:52px; border:0; outline:0; background:transparent; color:#e9eef6; padding:0 14px; }
.member-input select option { background:#111827; color:#e9eef6; }
.forum-row.has-unread,.forum-category-row.has-unread { box-shadow:inset 3px 0 0 #60b7ff; }
