:root{
  --bg:#081120;
  --bg2:#0b1628;
  --panel:rgba(7,16,30,.54);
  --panel-strong:rgba(8,18,32,.84);
  --glass:rgba(12,22,40,.46);
  --glass-soft:rgba(16,28,50,.36);
  --text:#f3f6fb;
  --muted:#a8b6c9;
  --accent:#22c55e;
  --accent-soft:rgba(34,197,94,.16);
  --danger:#ef4444;
  --border:rgba(255,255,255,.11);
  --shadow:0 18px 48px rgba(0,0,0,.34);
}
*{box-sizing:border-box}
html,body{height:100%}
html {
  background-color: transparent;
}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background-color: transparent;
  overflow-x:hidden;
  position:relative;
}
body.auth-open{overflow-y:auto}
body.modal-open{overflow:hidden; touch-action:none}
input,textarea,select,button{font:inherit}
a{color:inherit}
.overlay{
  position:fixed; inset:0; display:flex; align-items:center; justify-content:center;
  padding:18px; background:rgba(3,8,14,.54); backdrop-filter:blur(8px); z-index:40;
  overflow-y:auto; -webkit-overflow-scrolling:touch;
}
.login-overlay{padding:0; background:rgba(3,8,14,.62)}
.login-shell{width:min(1240px,100%); min-height:100%; display:grid; grid-template-columns:1.15fr .85fr; gap:28px; padding:28px}
.login-promo{position:relative; min-height:620px; overflow:hidden; border-radius:28px; border:1px solid var(--border); box-shadow:var(--shadow)}
.login-hero-image{position:absolute; inset:0; background:url("Images/background4.jpg") center/cover no-repeat; transform:scale(1.03)}
.login-hero-shade{position:absolute; inset:0; background:linear-gradient(180deg, rgba(6,12,22,.16), rgba(6,12,22,.36) 45%, rgba(6,12,22,.84) 100%)}
.login-copy{position:absolute; left:34px; right:34px; bottom:34px; z-index:1}
.promo-kicker{font-size:13px; text-transform:uppercase; letter-spacing:.16em; color:#d8e5f6; font-weight:900}
.login-copy h1{font-size:clamp(38px,6vw,72px); line-height:.94; margin:10px 0 14px; font-weight:950; max-width:520px}
.login-copy p{font-size:18px; line-height:1.55; max-width:520px; color:#e3edf9; margin:0 0 18px}
.promo-pills{display:flex; flex-wrap:wrap; gap:10px}
.promo-pills span{padding:10px 14px; border-radius:999px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.18); font-weight:800}
.login-card-wrap{display:flex; align-items:center; justify-content:center}
.modal{
  width:min(100%,580px); border:1px solid var(--border); border-radius:26px; overflow:hidden;
  background:linear-gradient(180deg, rgba(11,20,35,.96), rgba(8,18,32,.985));
  box-shadow:var(--shadow); backdrop-filter:blur(14px)
}
.modal.wide{width:min(100%,940px)}
.modal-scroll{max-height:min(92vh,980px); display:flex; flex-direction:column}
.modal-h{padding:18px 20px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; gap:10px}
.modal-b{padding:20px}
.modal-actions{padding:16px 20px; border-top:1px solid var(--border); display:flex; gap:10px; align-items:center; justify-content:space-between}
.sticky-head{position:sticky; top:0; z-index:3; backdrop-filter:blur(14px); background:rgba(8,18,32,.92)}
.sticky-actions{position:sticky; bottom:0; z-index:3; backdrop-filter:blur(14px); background:rgba(8,18,32,.92)}
.compact-actions{padding:0; border:0; margin-top:14px; justify-content:flex-start}
.tight-note{margin:0}
.brandmark{display:flex; align-items:center; gap:12px}
.brand-badge{width:46px; height:46px; border-radius:14px; display:grid; place-items:center; font-weight:950; background:rgba(34,197,94,.18); border:1px solid rgba(34,197,94,.42)}
.brand-title{font-weight:900}
.brand-sub{font-size:13px; color:var(--muted)}
.authTabs{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:18px}
.tabBtn{padding:14px 16px; border-radius:16px; border:1px solid var(--border); background:rgba(255,255,255,.04); color:var(--text); font-weight:900; cursor:pointer}
.tabBtn.active{background:rgba(34,197,94,.18); border-color:rgba(34,197,94,.40)}
.field{display:grid; gap:8px; margin-bottom:14px}
label{font-size:13px; font-weight:800; color:#cfdae8}
input,textarea,select{
  width:100%; padding:14px 15px; border-radius:16px; border:1px solid rgba(255,255,255,.12);
  background:rgba(7,14,26,.92); color:var(--text); outline:none; font-size:16px;
}
textarea{min-height:132px; resize:vertical}
select option{background:#0b1628; color:#f3f6fb}
.note{font-size:13px; line-height:1.45; color:var(--muted)}

.passwordFieldWrap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.passwordFieldWrap input{padding-right:15px;min-width:0}
.passwordToggleBtn{position:static;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:var(--text);border-radius:12px;padding:10px 14px;font-size:12px;font-weight:900;line-height:1;cursor:pointer;min-width:66px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex:0 0 auto}
.passwordToggleBtn:hover{background:rgba(255,255,255,.10)}
.passwordToggleBtn:focus-visible{outline:2px solid rgba(34,197,94,.55);outline-offset:2px}
@media (max-width:560px){
  .passwordFieldWrap{grid-template-columns:1fr}
  .passwordToggleBtn{justify-self:end;min-width:62px;padding:9px 12px}
}

.rowBtns{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.spacer-10{height:10px}
.btn{
  border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.05); color:var(--text);
  padding:11px 16px; border-radius:16px; font-weight:900; cursor:pointer; text-decoration:none;
  display:inline-flex; align-items:center; justify-content:center; transition:.2s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn.primary{background:linear-gradient(180deg, rgba(34,197,94,.28), rgba(34,197,94,.18)); border-color:rgba(34,197,94,.42)}
.btn.ghost{background:rgba(255,255,255,.02)}
.btn.danger{background:rgba(239,68,68,.14); border-color:rgba(239,68,68,.38)}
.topbar{position:sticky; z-index:18; 
  position:sticky; top:0; z-index:18; display:flex; justify-content:space-between; align-items:center; gap:18px;
  padding:14px 18px; border-bottom:1px solid var(--border); background:rgba(7,15,27,.62); backdrop-filter:blur(12px)
}
.left,.right{display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.logo{display:flex; align-items:center; gap:10px}
.logo-dot{width:12px; height:12px; border-radius:999px; background:var(--accent); box-shadow:0 0 0 7px rgba(34,197,94,.12)}
.logo-text{font-weight:950}
.title{display:grid; gap:2px}
.h1{font-size:18px; font-weight:950}
.h2{font-size:12px; color:var(--muted)}
.pill{font-size:12px; color:#dbe4f0; padding:8px 12px; border-radius:999px; border:1px solid var(--border); background:rgba(255,255,255,.04)}
.pageShell{position:relative; z-index:1; max-width:1360px; margin:0 auto; padding:24px 16px 40px}
.glass{
  background:linear-gradient(180deg, rgba(12,22,40,.26), rgba(8,18,32,.40));
  border:1px solid rgba(255,255,255,.10); box-shadow:var(--shadow); border-radius:26px; backdrop-filter:blur(18px)
}
.glass-soft{background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04)); border:1px solid rgba(255,255,255,.08); border-radius:22px; backdrop-filter:blur(14px)}
.heroBanner{padding:28px; margin-bottom:18px}
.hero-grid{display:grid; grid-template-columns:1.2fr .8fr; gap:18px; align-items:stretch}
.eyebrow{font-size:12px; text-transform:uppercase; letter-spacing:.14em; color:#c3d2e5; font-weight:900}
.heroBanner h1{font-size:clamp(34px,5vw,64px); line-height:.96; margin:10px 0 10px; font-weight:950}
.subline{color:#d9e5f3; font-size:15px; font-weight:700}
.hero-copy{font-size:16px; line-height:1.6; color:#d7e1ee; max-width:740px; margin:14px 0 0}
.hero-actions{margin-top:18px}
.hero-side{padding:18px; display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:12px}
.hero-stat{padding:18px; border-radius:18px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.03); min-height:120px; display:flex; flex-direction:column; justify-content:space-between; min-width:0}
.hero-stat span{font-size:34px; font-weight:950; line-height:1}
.hero-stat small{font-size:12px; color:var(--muted); text-transform:uppercase; letter-spacing:.12em; font-weight:800}
.content-grid{display:grid; grid-template-columns:340px 1fr; gap:18px}
.boardPanel,.feedPanel{padding:0; overflow:hidden}
.section-head{padding:18px 20px; border-bottom:1px solid var(--border); display:flex; align-items:flex-start; justify-content:space-between; gap:12px}
.section-title{font-size:18px; font-weight:950}
.section-sub{font-size:13px; color:var(--muted); margin-top:3px}
.boards{display:grid; gap:12px; padding:16px}
.boardBtn{
  width:100%; display:grid; grid-template-columns:1fr auto; gap:14px; align-items:center; text-align:left; cursor:pointer;
  padding:16px 18px; border-radius:18px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.04); color:var(--text); transition:.2s ease
}
.boardBtn:hover{transform:translateY(-1px); border-color:rgba(34,197,94,.24)}
.boardBtn.active{background:rgba(34,197,94,.14); border-color:rgba(34,197,94,.38)}
.boardBtn .board-label{font-size:16px; font-weight:900}
.boardBtn .board-desc{margin-top:4px; font-size:12px; color:var(--muted)}
.boardBtn .board-meta{display:grid; justify-items:end; gap:4px}
.boardBtn .board-count{font-size:20px; font-weight:950}
.boardBtn .board-last{font-size:11px; color:#d2deee; text-align:right; max-width:140px}
.feedPanel .filters{display:grid; grid-template-columns:2fr 1fr 1fr; gap:10px}
.feedPanel .section-head{align-items:center}
.cards{display:grid; gap:12px; padding:16px}
.topicRow{
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; align-items:center; padding:18px; border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05)); border:1px solid rgba(255,255,255,.09); box-shadow:0 10px 24px rgba(0,0,0,.16)
}
.topicMain{display:grid; gap:10px}
.topicHeader{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.topicTitle{font-size:21px; font-weight:950; line-height:1.1}
.topicMeta{display:flex; gap:10px; flex-wrap:wrap; color:var(--muted); font-size:13px}
.topicPosterBar{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(34,197,94,.24);
  background:linear-gradient(180deg, rgba(34,197,94,.14), rgba(34,197,94,.08));
}
.topicPosterEyebrow{
  font-size:11px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#b9f5c8;
}
.topicPosterName{
  font-size:16px;
  font-weight:950;
  color:#f7fbff;
}
.topicPosterContact{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#dce6f2;
  font-size:12px;
  font-weight:800;
}
.topicDesc{color:#dce6f2; line-height:1.5}
.topicSide{display:grid; gap:10px; justify-items:end; min-width:170px}
.price{font-size:22px; font-weight:950}
.status{display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.11); background:rgba(255,255,255,.05); font-size:12px; font-weight:900}
.status.active{background:rgba(34,197,94,.14); border-color:rgba(34,197,94,.28)}
.status.sold{background:rgba(239,68,68,.14); border-color:rgba(239,68,68,.30)}
.status.pending{background:rgba(251,191,36,.15); border-color:rgba(251,191,36,.34)}
.topicThumb{width:118px; height:86px; border-radius:16px; object-fit:cover; border:1px solid rgba(255,255,255,.09)}
.topicSideTop{display:flex; align-items:center; gap:10px}
.emptyState{padding:0 18px 18px}
.thread-card-image{width:100%; max-height:420px; object-fit:cover; border-radius:18px; border:1px solid rgba(255,255,255,.08); margin-bottom:14px}
.thread-body-grid{display:grid; gap:14px}
.threadPosterCard{
  display:grid;
  gap:8px;
  padding:16px 18px;
  border-radius:20px;
  border:1px solid rgba(34,197,94,.26);
  background:linear-gradient(180deg, rgba(34,197,94,.16), rgba(34,197,94,.09));
  box-shadow:0 14px 28px rgba(0,0,0,.18);
}
.threadPosterEyebrow{
  font-size:11px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#b9f5c8;
}
.threadPosterName{
  font-size:24px;
  font-weight:950;
  line-height:1.1;
  color:#ffffff;
}
.threadPosterSub{
  color:#dce6f2;
  font-size:14px;
}
.threadPosterContact{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  padding-top:6px;
}
.threadPosterContact span{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--muted);
  font-weight:900;
}
.threadPosterContact strong{
  font-size:15px;
  color:#f8fbff;
}
.thread-actions{margin-top:16px}
.replyItem{padding:14px; border-radius:16px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.04); margin-top:10px}
.replyTop{display:flex; justify-content:space-between; gap:10px; margin-bottom:6px; font-size:13px}
.replyUser{font-weight:900}
.replyTime{color:var(--muted)}
.admin-wrap{position:relative; z-index:1; max-width:1280px; margin:0 auto; padding:24px 16px 40px}
.admin-grid{display:grid; grid-template-columns:1.5fr 1fr; gap:18px}
.table-scroll{overflow:auto}
.adminTable{width:100%; border-collapse:collapse}
.adminTable th,.adminTable td{padding:14px 12px; border-bottom:1px solid rgba(255,255,255,.08); vertical-align:top; text-align:left}
.adminTable th{font-size:12px; text-transform:uppercase; letter-spacing:.12em; color:var(--muted)}
hr{border:none; border-top:1px solid rgba(255,255,255,.10); margin:18px 0}
@media (max-width:1100px){
  .login-shell{grid-template-columns:1fr; padding:16px}
  .login-promo{min-height:260px}
  .hero-grid,.content-grid,.admin-grid{grid-template-columns:1fr}
}
@media (max-width:780px){
  .topicPosterBar{align-items:flex-start;flex-direction:column}
  .threadPosterContact{align-items:flex-start;flex-direction:column}
  .topbar{position:sticky; z-index:18; padding:12px}
  .right{justify-content:flex-start}
  .hero-side{grid-template-columns:1fr}
  .feedPanel .filters{grid-template-columns:1fr}
  .topicRow{grid-template-columns:1fr}
  .topicSide{justify-items:start; min-width:0}
  .topicSideTop{width:100%; justify-content:space-between}
  .topicThumb{width:100%; height:180px}
  .stack-mobile .btn{flex:1}
}
@media (max-width:560px){
  .overlay{padding:10px}
  .modal{width:100%; border-radius:22px}
  .modal-scroll{max-height:94vh}
  .modal-b{overflow:auto}
  .pageShell{position:relative; z-index:1; padding:14px 12px 28px}
  .heroBanner{padding:20px}
  .heroBanner h1{font-size:40px}
  .login-copy{left:20px; right:20px; bottom:20px}
  .login-copy h1{font-size:42px}
}

.modal-b .field input,.modal-b .field textarea,.modal-b .field select{box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}

.status.featured{background:rgba(251,191,36,.16);border-color:rgba(251,191,36,.34)}
input[type="file"]{padding:12px 14px;background:rgba(7,14,26,.96)}

.modal-scroll .modal-b{overflow-y:auto}


.admin-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.adminSearch,.adminFilter{background:rgba(7,16,30,.66);color:var(--text);border:1px solid var(--border);border-radius:12px;padding:10px 12px}
.adminSearch{min-width:240px;flex:1 1 260px}
.admin-summary{display:flex;gap:8px;align-items:center;margin-left:auto}
.role-pills{display:flex;gap:6px;flex-wrap:wrap}
.role-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08)}
.role-admin{background:rgba(59,130,246,.16)}
.role-mod{background:rgba(168,85,247,.16)}
.role-ok{background:rgba(34,197,94,.16)}
.role-pending{background:rgba(245,158,11,.16)}
.role-ban{background:rgba(239,68,68,.18)}
.role-warn{background:rgba(251,191,36,.16)}
.user-main{font-weight:700}
.compact-rowBtns .btn{padding:8px 10px;font-size:12px}
@media (max-width:900px){.admin-summary{margin-left:0;width:100%}.adminSearch{width:100%}}

.user-id{word-break:break-all}
.user-status-stack{display:grid;gap:8px;min-width:220px}
.user-status-line{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:start}
.user-status-key{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-weight:900}
.user-status-value,.user-status-meta{display:inline-flex;align-items:center;justify-content:flex-start;min-height:28px;font-size:13px;font-weight:800}
.user-status-value{padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.08);width:max-content;max-width:100%}
.user-status-value.ok{background:rgba(34,197,94,.16);border-color:rgba(34,197,94,.32)}
.user-status-value.pending{background:rgba(245,158,11,.16);border-color:rgba(245,158,11,.32)}
.user-status-value.bad{background:rgba(239,68,68,.16);border-color:rgba(239,68,68,.32)}
.user-status-meta{color:#e3ebf5;line-height:1.45}
@media (max-width:780px){.user-status-line{grid-template-columns:1fr}}

.eventSpotlight{
  margin:0 0 18px;
  padding:22px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:20px;
  align-items:stretch;
  background:linear-gradient(135deg, rgba(7,22,54,.92), rgba(10,31,72,.78));
  border:1px solid rgba(255,255,255,.12);
}
.eventSpotlight-copy{display:grid;gap:14px;align-content:center}
.eventSpotlight-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.14em;color:#9bc4ff;font-weight:900}
.eventSpotlight h2{margin:0;font-size:clamp(28px,4vw,46px);line-height:.98;font-weight:950}
.eventSpotlight-text{margin:0;color:#dce7f8;line-height:1.65;font-size:15px;max-width:660px}
.eventSpotlight-meta{display:flex;gap:10px;flex-wrap:wrap}
.eventMetaPill{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);font-size:12px;font-weight:800}
.eventRsvpNotice{display:grid;gap:8px;padding:18px 20px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.eventRsvpNotice strong{font-size:18px;line-height:1.2;font-weight:950;letter-spacing:.02em;color:#ffffff;text-transform:uppercase}
.eventRsvpNotice span{color:#dce7f8;line-height:1.6;font-weight:700}
.eventStatusNote{margin-top:4px;color:#dbe8ff;font-weight:700}
.eventRsvpActions{margin-top:14px;display:flex;flex-wrap:wrap;gap:10px}
.eventRsvpLink{min-width:180px;justify-content:center;text-align:center;text-decoration:none}
.eventRsvpActionsModal{justify-content:center;margin-bottom:14px}

.eventSpotlight-artWrap{display:flex;justify-content:stretch;align-items:stretch}
.eventImageButton{display:block;width:100%;padding:0;background:transparent;border:0;cursor:zoom-in}
.eventSpotlight-art{width:100%;height:auto;max-height:470px;object-fit:contain;object-position:center;border-radius:22px;border:1px solid rgba(255,255,255,.14);box-shadow:0 24px 50px rgba(0,0,0,.28);transition:transform .18s ease, box-shadow .18s ease;background:rgba(255,255,255,.02)}
.eventImageButton:hover .eventSpotlight-art,.eventImageButton:focus-visible .eventSpotlight-art{transform:scale(1.01);box-shadow:0 28px 60px rgba(0,0,0,.34)}
.eventImageModal{width:min(100%,920px)}
.eventImageModalBody{display:grid;gap:16px}
.eventRsvpNoticeModal{text-align:center}
.eventSpotlight-artLarge{min-height:auto;max-height:78vh;object-fit:contain;background:rgba(0,0,0,.2)}
.admin-rsvp-panel{grid-column:1 / -1}
@media (max-width:1100px){
  .eventSpotlight{grid-template-columns:1fr}
}
@media (max-width:780px){
  .eventSpotlight-art{max-height:220px}
}


.auth-assist-note{margin-top:12px;color:#d7e3f6;line-height:1.5}
#forcePasswordOverlay .modal{width:min(100%,520px)}
#forcePasswordMsg{margin-top:6px}
#forcePasswordMsg[data-state="error"]{color:#fecaca}
#forcePasswordMsg[data-state="success"]{color:#bbf7d0}


.passwordGate{padding:22px; margin:0 0 18px; display:block}
.passwordGate-head{display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:16px}
.passwordGate-pill{white-space:nowrap}
.passwordGate-grid{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px}
.passwordGate-actions{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px}
@media (max-width: 900px){.passwordGate-grid{grid-template-columns:1fr}.passwordGate-head,.passwordGate-actions{flex-direction:column; align-items:flex-start}}


.rules-modal{width:min(100%,880px)}
.rules-modal-body{display:grid;gap:16px}
.rules-intro{color:#e4edf9;line-height:1.6;font-weight:700}
.rules-list{margin:0;padding-left:22px;display:grid;gap:12px;color:#dce7f8;line-height:1.6}
.rules-list li{padding-left:2px}
.rules-name-field{max-width:380px}
.rules-actions{align-items:center}
#rulesMsg[data-state="error"]{color:#fecaca}
#rulesMsg[data-state="success"]{color:#bbf7d0}
@media (max-width:780px){.rules-actions{flex-direction:column;align-items:flex-start}}

.eventImageHelp{text-align:center;color:#dce7f8;font-weight:700}
#eventImageOverlay{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
#eventImageOverlay .modal{max-height:min(92vh,980px)}
#eventImageOverlay .modal-b{overflow:auto}


.replyBadges{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.moderation-flagged{border-color:rgba(245,158,11,.38);box-shadow:0 0 0 1px rgba(245,158,11,.16) inset}
.mod-stat-stack{display:grid;gap:6px}
.mod-stat-line{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.mod-chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:900;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.05)}
.mod-chip.flagged{background:rgba(245,158,11,.16);border-color:rgba(245,158,11,.34)}
.mod-chip.good{background:rgba(34,197,94,.16);border-color:rgba(34,197,94,.32)}
.mod-chip.bad{background:rgba(239,68,68,.18);border-color:rgba(239,68,68,.32)}
.moderation-content{max-width:380px;line-height:1.45;color:#e6eef9}
.replyModerationList{display:grid;gap:12px}
.replyModerationCard{padding:16px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04)}
.replyModerationCard.flagged{border-color:rgba(245,158,11,.38);box-shadow:0 0 0 1px rgba(245,158,11,.16) inset}
.replyModerationCard.deleted{opacity:.72}
.replyModerationHead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}
.replyModerationMeta{display:grid;gap:4px}
.replyModerationAuthor{font-size:15px;font-weight:900}
.replyModerationSub{font-size:12px;color:var(--muted)}
.replyModerationText{white-space:pre-wrap;line-height:1.55;color:#edf3fb}
@media (max-width:780px){.replyModerationHead{flex-direction:column}}


.notifBtn{white-space:nowrap}
.threadUnreadBadge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(251,191,36,.16);
  border:1px solid rgba(251,191,36,.34);
  font-size:12px;
  font-weight:900;
  color:#ffe7a8;
}
.topicTitleWrap{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.topicRow-unread{border-color:rgba(251,191,36,.34);box-shadow:0 0 0 1px rgba(251,191,36,.18), 0 10px 24px rgba(0,0,0,.16)}
.thread-card-highlight{animation:threadPulse 1.8s ease}
@keyframes threadPulse{
  0%{transform:scale(1);box-shadow:0 0 0 0 rgba(251,191,36,.0)}
  25%{transform:scale(1.01);box-shadow:0 0 0 3px rgba(251,191,36,.22)}
  100%{transform:scale(1);box-shadow:0 0 0 0 rgba(251,191,36,.0)}
}
.threadUnreadNotice{
  margin-top:16px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(251,191,36,.34);
  background:rgba(251,191,36,.12);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-weight:900;
  color:#ffe7a8;
}
.replyActionRow{margin-top:10px}
.btn-xs{padding:8px 12px;font-size:12px}
.moderation-flagged{border-color:rgba(239,68,68,.35)}
@media (max-width:780px){
  .threadUnreadNotice{align-items:flex-start;flex-direction:column}
}


.panel{
  background:rgba(12, 20, 34, 0.96);
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  box-shadow:0 20px 46px rgba(0,0,0,.22);
  overflow:hidden;
}
.panel-h{
  padding:20px 22px;
  border-bottom:1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.panel-b{padding:20px 22px}
.panel-title{font-size:22px;font-weight:950;line-height:1.08}
.meta{font-size:13px;line-height:1.55;color:var(--muted);margin-top:4px}

body.admin-page{
  background:#0b1320;
  background-image:none;
}
body.admin-page::before,
body.admin-page::after{display:none}
body.admin-page .topbar{
  background:#101a29;
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:none;
}
.admin-workspace{display:grid;gap:18px;padding-top:22px}
.admin-section-card{background:#101a29}
.admin-grid-clean{align-items:start}
.admin-overview-grid{
  display:grid;
  grid-template-columns:repeat(6, minmax(0, 1fr));
  gap:14px;
}
.admin-stat-card{
  background:#101a29;
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:18px;
  box-shadow:0 14px 34px rgba(0,0,0,.16);
  min-width:0;
}
.admin-stat-label{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#96a8c2;font-weight:900}
.admin-stat-value{font-size:34px;line-height:1;font-weight:950;margin-top:10px}
.admin-stat-sub{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.45}
.admin-filter-bar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.admin-filter-chip{
  border:1px solid rgba(255,255,255,.10);
  background:#131f31;
  color:#dce6f3;
  border-radius:999px;
  padding:10px 14px;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.admin-filter-chip.active{
  background:rgba(34,197,94,.16);
  border-color:rgba(34,197,94,.34);
  color:#bbf7d0;
}
.admin-tools-clean{margin-bottom:16px}
.admin-table-shell{border:1px solid rgba(255,255,255,.06);border-radius:18px;background:#0e1725}
.online-chip-list{display:flex;flex-wrap:wrap;gap:10px}
.online-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(34,197,94,.28);
  background:rgba(34,197,94,.10);
  color:#dff7e8;
  font-weight:900;
}
.online-chip small{font-size:11px;color:#a7d7b7;font-weight:800}
.online-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 10px rgba(34,197,94,.72)}
.admin-empty-note{padding:4px 2px;color:var(--muted)}
.adminTable th,.adminTable td{background:transparent}
.adminTable tbody tr:hover{background:rgba(255,255,255,.025)}
.adminTable tbody tr td:first-child{border-left:0}
.adminTable tbody tr td:last-child{border-right:0}
.adminTable thead th{background:#0f1a2a;position:sticky;top:0;z-index:1}

@media (max-width:1300px){
  .admin-overview-grid{grid-template-columns:repeat(3, minmax(0, 1fr));}
}
@media (max-width:900px){
  .admin-overview-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
  .panel-h{flex-direction:column;align-items:flex-start}
}
@media (max-width:640px){
  .admin-overview-grid{grid-template-columns:1fr;}
}
