:root{
  --bg:#0b0f17; --bg2:#0a0d14;
  --text:#e9eefc; --muted:#9aa7c2;
  --card: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.10);
  --blue:#2f7dff; --blue2:#5aa2ff;
  --glass: blur(14px);
  --navH: 68px;
  --radius2: 22px;

  --max: 920px;
  --navMax: 1400px;
  --av: 34px;
  --avR: 12px;
  --indent: 16px;
  --treeLine: rgba(255,255,255,0.18);
  --treeLine2: rgba(255,255,255,0.14);
  --treeW: 2px;
}
@media (max-width: 680px){
  :root{ --indent: 12px; }
}

*{box-sizing:border-box;margin:0;padding:0}
a{ color:inherit; text-decoration:none; }

.userLink{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color: inherit;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}
.userLink:hover{
  color: var(--blue2);
  text-decoration: none;
}
.usernameCosmeticIcon{
  display:inline-grid;
  place-items:center;
  width:18px;
  height:18px;
  border-radius:999px;
  color:#5da8ff;
  border:1px solid rgba(93,168,255,.30);
  background:rgba(93,168,255,.10);
  box-shadow:0 0 12px rgba(93,168,255,.16);
  font-size:10px;
  flex:0 0 auto;
}
.usernameCosmeticIcon.founder_blue_gem,
.usernameCosmeticIcon.founder_gold_frame{
  color:#ffd166;
  border-color:rgba(255,209,102,.34);
  background:rgba(255,209,102,.10);
  box-shadow:0 0 12px rgba(255,209,102,.16);
}

.autoLink{
  color: var(--blue2);
  text-decoration: none;
  font-weight: 800;
  border-bottom: 1px solid rgba(90,162,255,0.0);
  transition: color 140ms ease, border-bottom-color 140ms ease, background 140ms ease, text-shadow 140ms ease;
  padding: 0 1px;
  border-radius: 6px;
}
.autoLink:hover{
  color: #8bb8ff;
  border-bottom-color: rgba(90,162,255,0.55);
  background: rgba(47,125,255,0.08);
  text-shadow: 0 0 8px rgba(90,162,255,0.35);
  text-decoration: none;
}
.autoLink:focus-visible{
  outline: 3px solid rgba(47,125,255,0.35);
  outline-offset: 2px;
}

.relatedPanel{
  margin-top:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.045);
  border-radius:18px;
  padding:14px;
}
.relatedHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.relatedHead h3{
  font-size:15px;
  margin:0;
}
.relatedHead a{
  color:var(--blue2);
  font-size:12px;
  font-weight:900;
}
.relatedGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.relatedItem{
  display:grid;
  gap:5px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.16);
  border-radius:14px;
  padding:11px 12px;
}
.relatedItem strong{
  line-height:1.25;
}
.relatedItem span{
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}
@media(max-width:680px){
  .relatedGrid{ grid-template-columns:1fr; }
}

/* SCROLLBAR */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(30,35,55,0.9) #0b0f17;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0b0f17; }
::-webkit-scrollbar-thumb {
  background: rgba(30,35,55,0.9);
  border: 2px solid #0b0f17;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(40,48,72,0.95); }
::-webkit-scrollbar-corner { background: #0b0f17; }

body{
  font-family: Inter, system-ui, Arial;
  color: var(--text);
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(47,125,255,0.18), transparent 60%),
    radial-gradient(900px 500px at 85% 0%, rgba(90,162,255,0.10), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, rgba(47,125,255,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;

  opacity:0;
  transform: translateY(10px) scale(0.985);
  animation: pageLoad .55s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes pageLoad{to{opacity:1; transform:none;}}

.container{
  width: min(var(--navMax), calc(100% - 40px));
  margin:auto;
}
.page{
  width: min(var(--max), calc(100% - 40px));
  margin:auto;
}

@media (max-width: 520px){
  .container, .page{ width: calc(100% - 24px); }
}

.nav-holder{ height: var(--navH); }

/* NAVBAR */
.navbar{
  position:fixed; top:0; left:0; right:0;
  height:var(--navH);
  z-index:60;
  border-bottom:1px solid rgba(255,255,255,0.10);
  background: rgba(10,13,20,0.55);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
}
.nav-content{
  display:flex;
  align-items:center;
  height:100%;
  gap:14px;
  position:relative;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:Poppins, sans-serif;
  font-weight:800;
  letter-spacing:.6px;
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
  margin-right:auto;
}
.logo-badge{
  width:34px; height:34px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(47,125,255,0.9), rgba(90,162,255,0.65));
  border:1px solid rgba(255,255,255,0.15);
  box-shadow:0 10px 22px rgba(47,125,255,0.18);
}
.logo-badge i{color:#eaf2ff; font-size:15px;}
.logo .accent{ color: var(--blue2); }

nav{
  display:flex;
  gap:8px;
  align-items:center;
  margin-left:auto;
}
nav a{
  padding:9px 12px;
  border-radius:12px;
  color:var(--muted);
  font-weight:800;
  font-size:13.5px;
  transition:160ms ease;
}
nav a:hover{ color:var(--text); background:rgba(255,255,255,0.06); }
nav a.active{
  color:var(--text);
  background: rgba(47,125,255,0.16);
  border:1px solid rgba(47,125,255,0.28);
}

.actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:14px;
}
.btn{
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding:10px 13px;
  border-radius:14px;
  cursor:pointer;
  font-weight:800;
  font-size:13px;
  transition:160ms ease;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.btn:hover{ transform:translateY(-1px); border-color: rgba(47,125,255,0.35); box-shadow:0 10px 28px rgba(0,0,0,0.35); }
.btn.primary{ background: rgba(47,125,255,0.18); border-color: rgba(47,125,255,0.35); }

.hamburger{
  display:none;
  width:42px;height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  transition:160ms ease;
  margin-left:auto;
}
.hamburger i{ font-size:16px; }
.hamburger:hover{ border-color: rgba(47,125,255,0.35); box-shadow:0 10px 28px rgba(0,0,0,0.25); transform:translateY(-1px); }
.hamburger:focus-visible{ outline: 3px solid rgba(47,125,255,0.35); outline-offset:2px; }

.profileWrap{
  position: relative;
  display:none;
}
.profileBtn{
  width:42px;height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(233,238,252,0.95);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:160ms ease;
}
.profileBtn i{ font-size:16px; }
.profileBtn:hover{
  border-color: rgba(47,125,255,0.35);
  box-shadow:0 10px 28px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}
.profileBtn:focus-visible{
  outline: 3px solid rgba(47,125,255,0.35);
  outline-offset:2px;
}
.profileMenu{
  position:absolute;
  right:0;
  top: calc(100% + 10px);
  min-width: 220px;
  background: rgba(10,13,20,0.90);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  padding: 10px;
  display:none;
  z-index: 70;
}
.profileMenu.open{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.profileMenu a, .profileMenu button{
  width:100%;
  text-align:left;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(74, 72, 72, 0.199);
  color: rgba(233,238,252,0.92);
  font-weight: 800;
  font-size: 13.5px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:10px;
  transition:160ms ease;
}
.profileMenu a:hover, .profileMenu button:hover{
  border-color: rgba(47,125,255,0.28);
  color: var(--text);
}

.notifWrap{
  position: relative;
  display:none;
}
.notifBtn{
  width:42px;height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(233,238,252,0.95);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:160ms ease;
  position:relative;
}
.notifBtn i{ font-size:16px; }
.notifBtn:hover{
  border-color: rgba(47,125,255,0.35);
  box-shadow:0 10px 28px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}
.notifBtn:focus-visible{
  outline: 3px solid rgba(47,125,255,0.35);
  outline-offset:2px;
}
.notifBadge{
  position:absolute;
  top:-4px; right:-4px;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  display:none;
  align-items:center;
  justify-content:center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2px;
  color: rgba(255,255,255,0.98);
  background: rgba(47,125,255,0.95);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 18px rgba(47,125,255,0.20);
}
.notifBadge.show{ display:inline-flex; }

.notifModal{
  position: fixed;
  inset: 0;
  z-index: 200;
  display:none;
  align-items:flex-start;
  justify-content:flex-start;
  padding: 0;
}
.notifModal.open{ display:flex; }
.notifBackdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@keyframes notifPop{
  0%{ opacity:0; transform: translateY(-6px) scale(0.985); }
  100%{ opacity:1; transform: translateY(0) scale(1); }
}
.notifPanel{
  position:absolute;
  width: min(560px, calc(100% - 24px));
  max-height: min(74vh, 640px);
  background: rgba(10,13,20,0.92);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow:hidden;
  animation: notifPop 160ms ease forwards;
}
.notifHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.notifHeader .title{
  font-family:Poppins, sans-serif;
  font-weight: 900;
  letter-spacing:-.2px;
  display:flex;
  align-items:center;
  gap:10px;
}
.notifHeader .right{
  display:flex;
  align-items:center;
  gap:10px;
}
.notifHeader .muted{
  color: rgba(154,167,194,0.92);
  font-weight: 800;
  font-size: 12.5px;
}
.notifAction{
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(233,238,252,0.95);
  padding: 9px 10px;
  border-radius: 12px;
  cursor:pointer;
  font-weight: 900;
  font-size: 12.5px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:160ms ease;
}
.notifAction:hover{
  border-color: rgba(47,125,255,0.35);
  transform: translateY(-1px);
}
.notifAction[disabled]{
  opacity:.55;
  cursor:not-allowed;
  transform:none !important;
}
.notifClose{
  width:38px;height:38px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(233,238,252,0.95);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:160ms ease;
}
.notifClose:hover{
  border-color: rgba(47,125,255,0.35);
  transform: translateY(-1px);
}
.notifBody{
  padding: 10px 10px 12px;
  overflow:auto;
  overflow-y:auto;
  max-height: calc(min(74vh, 640px) - 56px);
  -webkit-overflow-scrolling: touch;
}
.notifList{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.notifItem{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 11px 11px;
  cursor:pointer;
  transition:160ms ease;
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.notifItem:hover{
  border-color: rgba(47,125,255,0.25);
  background: rgba(47,125,255,0.07);
}
.notifDot{
  width:10px;height:10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.20);
  margin-top: 5px;
  flex: 0 0 auto;
}
.notifItem.unread .notifDot{
  background: rgba(47,125,255,0.95);
  box-shadow: 0 0 0 3px rgba(47,125,255,0.10);
}
.notifMain{
  flex: 1 1 auto;
  min-width: 0;
}
.notifText{
  font-weight: 900;
  color: rgba(233,238,252,0.95);
  line-height: 1.35;
}
.notifMeta{
  margin-top: 4px;
  color: rgba(154,167,194,0.90);
  font-size: 12px;
  font-weight: 800;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.notifEmpty{
  padding: 18px 10px;
  color: rgba(154,167,194,0.92);
  font-weight: 800;
  text-align:center;
}

.mobilePanel{
  position:absolute;
  left:0; right:0;
  top: calc(var(--navH) - 2px);
  background: rgba(10,13,20,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display:none;
  padding: 12px 0 14px;
}
.mobilePanel.open{ display:block; }

.mobileLinks{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:0 10px;
}
.mobileLinks a{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(74, 72, 72, 0.199);
  color: rgba(233,238,252,0.92);
  font-weight: 800;
  font-size: 13.5px;
  transition: 160ms ease;
  display:flex;
  align-items:center;
  gap:10px;
}
.mobileLinks a:hover{ color: var(--text); border-color: rgba(47,125,255,0.28); }

.mobile-auth{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:6px;
}

@media (max-width: 860px){
  nav{ display:none; }
  .actions{ display:none !important; }
  .hamburger{ display:inline-flex; margin-left:0; order:1; }
  .notifWrap { order: 2; }
  .profileWrap { order: 3; }
  .markAllText { display: none; }
}

/* PAGE */
.header{ padding: 28px 0 10px; }
.breadcrumb{ color: rgba(154,167,194,0.95); font-size:13px; margin-bottom:10px; }
.breadcrumb a{ color: rgba(154,167,194,0.95); font-weight:800; }
.breadcrumb a:hover{ color: var(--blue2); }
.breadcrumb{ display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.breadcrumb span{ white-space:nowrap; }
@media (max-width: 520px){
  .breadcrumb span{ white-space:normal; }
}

.threadCard{
  background: linear-gradient(180deg, rgba(255,255,255,0.066), rgba(255,255,255,0.032));
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius2);
  padding: 20px;
  box-shadow:0 20px 60px rgba(0,0,0,0.26);
  position:relative;
  overflow: visible;
}
.threadCard::before{
  content:"";
  position:absolute; left:0; top:0; bottom:0;
  width:4px;
  background: linear-gradient(180deg, rgba(47,125,255,0.95), rgba(90,162,255,0.65));
  border-radius: var(--radius2) 0 0 var(--radius2);
  pointer-events:none;
}
.threadTitle{
  font-family:Poppins, sans-serif;
  font-weight:900;
  font-size: 1.6rem;
  letter-spacing:-.2px;
  line-height:1.22;
  margin-bottom:10px;
}
@media (max-width: 520px){
  .threadTitle{ font-size: 1.35rem; }
}

.meta{
  margin-top:8px;
  color: rgba(154,167,194,0.92);
  font-size: 12.5px;
  display:flex;
  gap:0;
  flex-wrap:wrap;
  align-items:center;
  min-width:0;
  max-width:100%;
}
.threadMetaRow{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  width:100%;
  min-width:0;
  max-width:100%;
}
.threadMetaRow + .threadMetaRow{
  margin-top:10px;
}
.threadMetaStatus{
  margin-top:2px;
}
.threadMetaStatus:empty{
  display:none;
}
.threadMetaAuthor{
  padding:10px 0;
  border-top:1px solid rgba(255,255,255,0.07);
  border-bottom:1px solid rgba(255,255,255,0.07);
}
.threadMetaActions{
  align-items:center;
}
.threadMetaAdmin{
  opacity:.94;
}
@media (max-width: 520px){
  .meta{ gap:8px; }
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.045);
  font-weight:900;
  max-width: 100%;
}
.pill i{ flex: 0 0 auto; }
.pill{ overflow:hidden; text-overflow:ellipsis; }
.authorPill{
  flex-wrap:wrap;
  align-items:center;
  min-width:0;
  max-width:100%;
  overflow:visible;
  text-overflow:clip;
  white-space:normal;
}

.threadAuthorMeta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
}
.threadAuthorMeta .replyNum,
.threadAuthorMeta .uBanner{
  flex:0 1 auto;
  min-width:0;
  white-space:normal;
}
.threadAuthorMeta .avatar{
  width:22px;
  height:22px;
  min-width:22px;
  min-height:22px;
  border-radius:8px;
  font-size:10px;
  box-shadow:none;
}
.threadAuthorMeta .userLink{
  white-space:normal;
  min-width:0;
  overflow-wrap:anywhere;
}
.threadAuthorMeta .uBanner{
  transform: translateY(-.5px);
  max-width:100%;
}

.tagPill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(47,125,255,0.22);
  background: rgba(47,125,255,0.10);
  color: rgba(233,238,252,0.92);
  font-weight:900;
  cursor:pointer;
  user-select:none;
  max-width: 100%;
}
.tagPill:hover{
  border-color: rgba(47,125,255,0.35);
  background: rgba(47,125,255,0.14);
}

.body{
  margin-top: 18px;
  line-height: 1.82;
  color: rgba(233,238,252,0.95);
  white-space: pre-wrap;
  padding: 2px 2px 4px;
  font-size:15px;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.body a,
.postBody a{
  color: var(--blue2);
  font-weight:800;
  border-bottom:1px solid rgba(90,162,255,0.22);
}
.body a:hover,
.postBody a:hover{
  color:#8bb8ff;
  border-bottom-color:rgba(90,162,255,0.55);
}

.sectionTitle{
  margin: 18px 0 10px;
  font-family:Poppins, sans-serif;
  font-weight:900;
  letter-spacing:-.2px;
}

.composer{
  background: rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 12px;
}

@media (max-width: 520px){
  .composerRow{ flex-direction:column; align-items:stretch; }
  .composerRow > div:last-child{ width:100%; }
  #postReplyBtn{ width:100%; justify-content:center; }
  #cancelReplyBtn{ width:100%; justify-content:center; }
}

.notice{
  display:none;
  margin-bottom:10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,90,90,0.25);
  background: rgba(255,70,70,0.10);
  color: rgba(255,190,190,0.98);
  font-weight:900;
  font-size: 13px;
}
.notice.show{
  display:block;
  animation: noticeFade 8s ease forwards;
}
@keyframes noticeFade{
  0%{ opacity:0; transform: translateY(-4px); }
  10%{ opacity:1; transform: translateY(0); }
  80%{ opacity:1; }
  100%{ opacity:0; transform: translateY(-2px); }
}

#threadNotice.notice{
  width: fit-content;
  max-width: 100%;
  display:none;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  margin: 12px 0 0;
  border: 1px solid rgba(90,170,255,0.30);
  background: rgba(55,140,255,0.14);
  color: rgba(225,245,255,0.95);
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12.8px;
  font-weight: 900;
}
#threadNotice.notice.show{
  display:inline-flex;
}

textarea, input[type="text"]{
  width:100%;
  resize: vertical;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  padding: 12px;
  color: rgba(233,238,252,0.95);
  outline:none;
  font-family: Inter, sans-serif;
  transition:160ms ease;
}
textarea{ min-height: 110px; }
textarea:focus, input[type="text"]:focus{ border-color: rgba(47,125,255,0.40); box-shadow:0 0 0 4px rgba(47,125,255,0.12); }

.composerRow{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  margin-top:10px;
  flex-wrap:wrap;
}
.smallNote{ color: rgba(154,167,194,0.92); font-size: 12px; }

.forumImageUploadBox{
  margin-top:10px;
  padding:10px;
  border:1px solid rgba(93,168,255,0.18);
  border-radius:14px;
  background:rgba(12,18,32,0.58);
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.forumImageUploadText{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:150px;
}
.forumImageUploadText strong{
  color:rgba(248,250,252,0.94);
  font-size:13px;
}
.forumImageUploadText span,
.forumImageCount{
  color:rgba(154,167,194,0.86);
  font-size:12px;
  font-weight:800;
}
.forumImagePreviewGrid{
  width:100%;
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(82px, 1fr));
  gap:8px;
}
.forumImagePreview{
  position:relative;
  aspect-ratio:1 / 1;
  overflow:hidden;
  border-radius:12px;
  border:1px solid rgba(93,168,255,0.24);
  background:rgba(3,7,18,0.76);
}
.forumImagePreview img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.forumImageRemove{
  position:absolute;
  top:6px;
  right:6px;
  width:26px;
  height:26px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(5,8,22,0.84);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
}

.forumImageGallery{
  margin-top:8px;
  margin-bottom:2px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(118px, 1fr));
  gap:8px;
  width:100%;
  max-width:640px;
  align-items:start;
}
.forumImageGallery.threadImages.singleImage{
  max-width:360px;
}
.forumImageGallery.threadImages.multiImage{
  max-width:440px;
  grid-template-columns:repeat(auto-fit, minmax(112px, 1fr));
}
.forumImageGallery.replyImages.singleImage{
  max-width:210px;
}
.forumImageGallery.replyImages.multiImage{
  max-width:280px;
  grid-template-columns:repeat(2, minmax(0, 1fr));
}
.forumImageThumb{
  position:relative;
  border:1px solid rgba(93,168,255,0.22);
  border-radius:14px;
  background:rgba(5,8,22,0.74);
  padding:0;
  aspect-ratio:16 / 10;
  width:100%;
  overflow:hidden;
  cursor:pointer;
  display:block;
  line-height:0;
  box-shadow:0 14px 32px rgba(0,0,0,0.20);
}
.forumImageGallery.threadImages.singleImage .forumImageThumb{
  aspect-ratio:16 / 9;
  max-height:170px;
}
.forumImageGallery.threadImages.multiImage .forumImageThumb{
  aspect-ratio:4 / 3;
  max-height:112px;
}
.forumImageGallery.replyImages.singleImage .forumImageThumb{
  aspect-ratio:4 / 3;
  max-height:108px;
}
.forumImageGallery.replyImages.multiImage .forumImageThumb{
  aspect-ratio:1 / 1;
  max-height:86px;
}
.forumImageThumb img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  min-width:100%;
  min-height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:inherit;
  transition:transform 160ms ease, filter 160ms ease;
}
.forumImageThumb:hover img{
  transform:scale(1.035);
  filter:brightness(1.08);
}

@media (max-width: 520px){
  .forumImageGallery.threadImages.singleImage{
    max-width:min(100%, 320px);
  }
  .forumImageGallery.threadImages.multiImage{
    max-width:min(100%, 390px);
  }
  .forumImageGallery.replyImages.singleImage{
    max-width:min(100%, 190px);
  }
  .forumImageGallery.replyImages.multiImage{
    max-width:min(100%, 250px);
  }
  .forumImageGallery.threadImages.multiImage,
  .forumImageGallery.replyImages.multiImage{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

.forumImageLightbox{
  display:none;
  position:fixed;
  inset:0;
  z-index:10000;
}
.forumImageLightbox.open{ display:block; }
.forumImageLightboxBackdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.78);
  backdrop-filter:blur(8px);
}
.forumImageLightboxPanel{
  position:absolute;
  inset:32px;
  display:grid;
  place-items:center;
}
.forumImageLightboxPanel img{
  max-width:min(1100px, 92vw);
  max-height:86vh;
  object-fit:contain;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:0 30px 90px rgba(0,0,0,0.55);
}
.forumImageLightboxClose,
.forumImageLightboxNav{
  position:absolute;
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(12,18,32,0.86);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.forumImageLightboxClose{
  top:0;
  right:0;
  width:42px;
  height:42px;
  border-radius:14px;
}
.forumImageLightboxNav{
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:54px;
  border-radius:16px;
}
.forumImageLightboxNav.prev{ left:0; }
.forumImageLightboxNav.next{ right:0; }
.forumImageLightboxCount{
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  color:rgba(248,250,252,0.92);
  background:rgba(12,18,32,0.82);
  border:1px solid rgba(255,255,255,0.14);
  border-radius:999px;
  padding:7px 12px;
  font-size:12px;
  font-weight:900;
}

.posts{
  display:flex;
  flex-direction:column;
  gap: 12px;
  margin-top: 12px;
  overflow:visible;
}

.post{
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  position:relative;
  overflow: visible;
  box-shadow: none;
  z-index:1;
}
.post:has(.moreMenu[open]),
.post.menuOpen{
  z-index:3000;
}
.post.menuOpen > .postInner{
  z-index:3001;
}

.postInner{
  position: relative;
  padding: 14px 14px 16px;
  overflow: visible;
  border:1px solid rgba(255,255,255,0.085);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,0.048), rgba(255,255,255,0.024));
  box-shadow:0 14px 34px rgba(0,0,0,0.16);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.postInner::before{
  content:"";
  position:absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width:3px;
  height:auto;
  background: linear-gradient(180deg, rgba(90,162,255,0.70), rgba(47,125,255,0.25));
  border-radius:999px;
  pointer-events:none;
}

.postInner:hover{
  transform:translateY(-1px);
  border-color:rgba(47,125,255,0.20);
  background:linear-gradient(180deg, rgba(47,125,255,0.055), rgba(255,255,255,0.028));
  box-shadow:0 18px 42px rgba(0,0,0,0.22);
}
.post.topAnswerPost > .postInner{
  border-color:rgba(71,205,137,0.24);
  background:linear-gradient(180deg, rgba(71,205,137,0.08), rgba(255,255,255,0.028));
}
.post.topAnswerPost > .postInner::before{
  background:linear-gradient(180deg, rgba(71,205,137,0.95), rgba(71,205,137,0.32));
}
.post.pinnedPost > .postInner{
  border-color:rgba(90,162,255,0.24);
}

.children{
  margin-left: var(--indent);
  padding-left: var(--indent);
  border-left: var(--treeW) solid var(--treeLine);
}
.children:empty{
  margin-left: 0;
  padding-left: 0;
  border-left: none;
}

.post.replying .postHead{
  position: relative;
}
.post.replying .postHead::before{
  content:"";
  position:absolute;
  left: calc(-1 * var(--indent));
  top: calc((var(--av) / 2) + 1px);
  width: var(--indent);
  height: var(--treeW);
  background: var(--treeLine2);
  border-radius: 999px;
}

.avatar{
  width: var(--av);
  height: var(--av);
  border-radius: var(--avR);
  display:grid;
  place-items:center;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .2px;
  color: rgba(233,238,252,0.92);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}
.avatar.ring{
  border-color: rgba(47,125,255,0.22);
  box-shadow: 0 12px 26px rgba(0,0,0,0.18), 0 0 0 4px rgba(47,125,255,0.08);
}
.avatar img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  z-index:2;
  background: rgba(255,255,255,0.02);
}
.avatar .avFallback{
  position:relative;
  z-index:1;
  line-height:1;
}
.avatar.hasImg{
  background: rgba(255,255,255,0.03);
  color: transparent;
}
.avatar.hasImg .avFallback{
  opacity:0;
}

.uBanner{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .1px;
  border: 1px solid rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.05);
  color: rgba(233,238,252,0.92);
  white-space: nowrap;
  vertical-align: middle;
}
.uBanner i{ font-size: 10px; opacity: .95; }
.uBanner.bk-new,
.uBanner.bk-rookie{
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}
.uBanner.bk-builder,
.uBanner.bk-contributor{
  border-color: rgba(90,162,255,0.22);
  background: rgba(47,125,255,0.10);
}
.uBanner.bk-pro,
.uBanner.bk-power{
  border-color: rgba(143,112,255,0.22);
  background: rgba(143,112,255,0.12);
}
.uBanner.bk-elite,
.uBanner.bk-expert{
  border-color: rgba(255,180,80,0.24);
  background: rgba(255,180,80,0.11);
}
.uBanner.bk-legend,
.uBanner.bk-og{
  border-color: rgba(120,255,210,0.24);
  background: rgba(40,210,170,0.10);
}

.post.replying{
  border-left: none !important;
  padding-left: 0;
}

.replyLine{
  font-size: 11.5px;
  color: rgba(154,167,194,0.86);
  margin-bottom: 10px;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  letter-spacing: .1px;
}
.replyLine i{ opacity: .85; }
.replyLine .to{
  font-weight:900;
  color: rgba(233,238,252,0.88);
}
.replyJump{
  color: rgba(154,167,194,0.88);
  font-weight:900;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
  padding-bottom:1px;
}
.replyJump:hover{ color: var(--blue2); border-bottom-color: rgba(47,125,255,0.30); }
.replyNum{
  color: rgba(154,167,194,0.88);
  font-weight:900;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
  padding-bottom:1px;
}
.replyNum:hover{ color: var(--blue2); border-bottom-color: rgba(47,125,255,0.30); }
.levelChip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:4px 7px;
  border-radius:999px;
  border:1px solid rgba(93,168,255,0.34);
  background:linear-gradient(135deg, rgba(93,168,255,0.15), rgba(47,125,255,0.07));
  color:#b9d8ff;
  white-space:nowrap;
  border-bottom-color:rgba(93,168,255,0.34);
  font-size:11.5px;
  box-shadow:0 0 14px rgba(93,168,255,0.12);
}
.levelChip i{
  color:#5da8ff;
  font-size:12px;
  text-shadow:0 0 10px rgba(93,168,255,0.30);
}
.levelChip b{
  color:#e6f1ff;
  font-size:11.5px;
  line-height:1;
}
.founderChip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 8px;
  border-radius:999px;
  color:#5da8ff;
  border:1px solid rgba(93,168,255,0.35);
  background:rgba(93,168,255,0.08);
  box-shadow:0 0 14px rgba(93,168,255,0.12);
  white-space:nowrap;
  border-bottom-color:rgba(93,168,255,0.35);
  font-size:11.5px;
}
.founderChip i{
  color:#5da8ff;
  text-shadow:0 0 10px rgba(93,168,255,0.28);
}
.pinChip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 8px;
  border-radius:999px;
  border:1px solid rgba(122,162,255,0.24);
  background:rgba(90,162,255,0.08);
  color:rgba(220,232,255,0.96);
  white-space:nowrap;
  font-size:11.5px;
}
.pinChip i{
  color:rgba(122,162,255,0.96);
}

.profileHoverCard{
  position:fixed;
  z-index:50000;
  left:0;
  top:0;
  width:min(260px, calc(100vw - 24px));
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(93,168,255,0.22);
  background:linear-gradient(145deg, rgba(18,23,36,0.98), rgba(10,14,24,0.98));
  box-shadow:0 22px 58px rgba(0,0,0,0.46), 0 0 28px rgba(93,168,255,0.10);
  opacity:0;
  transform:translateY(4px);
  pointer-events:none;
  transition:opacity 140ms ease, transform 140ms ease;
}
.profileHoverCard.open{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.profileHoverTop{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.profileHoverCard .hoverAvatar{
  width:38px;
  height:38px;
  flex:0 0 auto;
}
.profileHoverInfo{
  min-width:0;
  display:grid;
  gap:3px;
}
.profileHoverInfo strong{
  display:flex;
  align-items:center;
  gap:5px;
  color:rgba(244,247,255,0.98);
  font-weight:950;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.profileHoverInfo span{
  color:rgba(154,167,194,0.92);
  font-size:12px;
  font-weight:800;
}
.profileHoverMeta{
  margin-top:10px;
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
.cosmeticTitle{
  color:rgba(220,236,255,.95);
  border-color:rgba(93,168,255,.24);
  background:rgba(93,168,255,.08);
}
.cosmeticTitle i{color:#5da8ff}
.postCosmetics{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:10px 0 0;
}
.postCosmetic{
  display:inline-flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  border:1px solid rgba(93,168,255,.24);
  background:rgba(93,168,255,.08);
  color:rgba(224,239,255,.96);
  border-radius:999px;
  padding:5px 9px;
  font-size:11.5px;
  font-weight:900;
  box-shadow:0 0 14px rgba(93,168,255,.08);
}
.postCosmetic i{color:#5da8ff}
.postCosmetic.gift_blue_diamond{
  color:#dbeafe;
  border-color:rgba(93,168,255,.36);
  box-shadow:0 0 15px rgba(93,168,255,.16);
}
.postCosmetic.gift_meme_spark{
  color:#ffe6a3;
  border-color:rgba(255,209,102,.30);
  background:rgba(255,209,102,.09);
}
.postCosmetic.gift_meme_spark i{color:#ffd166}
.postCosmetic em{
  color:rgba(169,181,205,.78);
  font-style:normal;
  font-size:10.5px;
}
.stickerPickerOverlay{
  position:fixed;
  inset:0;
  z-index:13000;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(2,6,23,.62);
  backdrop-filter:blur(10px);
}
.stickerPickerCard{
  width:min(430px,100%);
  position:relative;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(17,24,39,.98),rgba(8,13,25,.98));
  box-shadow:0 30px 90px rgba(0,0,0,.48);
  padding:18px;
}
.stickerPickerCard h3{margin:0 0 6px;font-size:18px}
.stickerPickerCard p{margin:0 0 14px;color:var(--muted);line-height:1.45}
.stickerPickerClose{
  position:absolute;
  top:12px;
  right:12px;
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.11);
  background:rgba(255,255,255,.055);
  color:var(--text);
}
.stickerPickerList{display:grid;gap:8px}
.stickerPickerList button,
.stickerRemove{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:42px;
  width:100%;
  border:1px solid rgba(93,168,255,.22);
  border-radius:13px;
  background:rgba(93,168,255,.08);
  color:var(--text);
  padding:0 12px;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
.stickerPickerList button:hover,
.stickerRemove:hover{
  border-color:rgba(93,168,255,.42);
  background:rgba(93,168,255,.13);
}
.stickerRemove{
  margin-top:10px;
  border-color:rgba(255,255,255,.11);
  background:rgba(255,255,255,.045);
}

@media (max-width: 680px){
  .post.d2 .replyLine,
  .post.d3 .replyLine,
  .post.d4 .replyLine,
  .post.d5 .replyLine,
  .post.d6 .replyLine{
    display:flex;
  }
}

.postHead{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
.postAuthor{
  font-weight:900;
  color: rgba(233,238,252,0.98);
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  min-width: 0;
}
.postAuthor .userLink{
  min-width: 0;
}
.postMeta{
  color: rgba(154,167,194,0.85);
  font-size: 12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.postBody{
  margin-top: 12px;
  line-height:1.82;
  white-space:pre-wrap;
  color: rgba(233,238,252,0.95);
  font-size:14.5px;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.postActions{
  margin-top: 12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  position:relative;
  z-index:20;
}

.postActions .linkBtn{
  opacity: 0.72;
  transition: opacity 140ms ease, transform 160ms ease, border-color 160ms ease;
}
.post > .postInner:hover .postActions .linkBtn{
  opacity: 1;
}
.post > .postInner:focus-within .postActions .linkBtn{
  opacity: 1;
}
.post > .postInner details.moreMenu[open] .linkBtn{
  opacity: 1;
}
.postActions .linkBtn[disabled]{
  opacity: .55;
}

.moreMenu{
  position: relative;
  display:inline-block;
  overflow:visible;
  z-index:30;
}
.moreMenu summary{
  list-style:none;
}
.moreMenu summary::-webkit-details-marker{ display:none; }
.moreMenu[open] summary{ opacity: 1; }
.moreMenu[open]{
  z-index:9999;
}
.moreMenuPanel{
  position:absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  background: rgba(10,13,20,0.92);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.45);
  padding: 10px;
  z-index: 30000;
  display:flex;
  flex-direction:column;
  gap:8px;
  pointer-events:auto;
}
.moreMenuPanel{
  max-width: min(280px, calc(100vw - 70px));
}
@media (max-width: 420px){
  .moreMenuPanel{
    min-width: 180px;
    max-width: calc(100vw - 50px);
  }
}
@media (max-width: 520px){
  .threadCard .moreMenuPanel{
    left: 0;
    right: auto;
  }
}

.moreMenuPanel .linkBtn{
  width:100%;
  justify-content:flex-start;
  display:flex;
  align-items:center;
  gap:10px;
  opacity: 1 !important;
  padding: 9px 10px;
}
.moreMenuPanel .linkBtn:hover{ transform:none; }

.collapseBtn{
  width: 22px;
  height: 22px;
  border-radius: 8px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: rgba(233,238,252,0.88);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:160ms ease;
}
.collapseBtn:hover{
  border-color: rgba(47,125,255,0.28);
  color: rgba(233,238,252,0.98);
  transform: translateY(-1px);
}
.collapseBtn:focus-visible{
  outline: 3px solid rgba(47,125,255,0.35);
  outline-offset:2px;
}

.collapsedHint{
  margin-top: 8px;
  color: rgba(154,167,194,0.90);
  font-size: 12px;
  font-weight: 800;
  display:flex;
  align-items:center;
  gap:8px;
}
.collapsedHint a{
  color: rgba(154,167,194,0.92);
  font-weight: 900;
  border-bottom: 1px dashed rgba(255,255,255,0.14);
  padding-bottom: 1px;
}
.collapsedHint a:hover{
  color: var(--blue2);
  border-bottom-color: rgba(47,125,255,0.35);
}

.linkBtn{
  background: rgba(255,255,255,0.035);
  border:1px solid rgba(255,255,255,0.12);
  color: rgba(233,238,252,0.92);
  padding: 8px 10px;
  border-radius: 12px;
  cursor:pointer;
  font-weight:900;
  font-size:12.5px;
  transition:160ms ease;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.linkBtn:hover{ border-color: rgba(47,125,255,0.35); transform: translateY(-1px); }
.linkBtn[disabled]{ opacity:.55; cursor:not-allowed; transform:none !important; }
.voteBtn.active{
  border-color: rgba(74,163,255,0.55);
  color: #d9ecff;
  background: rgba(74,163,255,0.10);
}
.followThreadBtn.active{
  border-color: rgba(74,163,255,0.55);
  color: #d9ecff;
  background: rgba(74,163,255,0.10);
}
.followPill{
  max-width:100%;
}
.followCount{
  color:rgba(154,167,194,0.92);
}
.topAnswerBadge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:0;
  max-width:100%;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(71,205,137,0.28);
  background:rgba(71,205,137,0.10);
  color:rgba(218,255,236,0.96);
  font-size:11.5px;
  font-weight:900;
  white-space:nowrap;
}
.topAnswerBadge i{
  color:rgba(71,205,137,0.95);
}
.voteBtn{
  appearance:none;
  -webkit-appearance:none;
  background: rgba(255,255,255,0.035);
  border-color: rgba(74,163,255,0.22);
  box-shadow:none;
}
.voteBtn i{
  background: transparent;
  box-shadow:none;
  border:0;
  outline:0;
}

.pinModal{
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
  z-index:20000 !important;
}
.pinModal[aria-hidden="false"]{
  display:flex !important;
}
.pinBackdrop{
  z-index:0 !important;
}
.pinPanel{
  position:relative !important;
  left:auto !important;
  top:auto !important;
  transform:none !important;
  z-index:20001 !important;
  width:min(440px, calc(100vw - 32px)) !important;
  max-height:calc(100vh - 32px) !important;
  overflow:auto !important;
}

@media (max-width: 680px){
  .threadCard{
    overflow:visible;
    padding:16px;
  }

  .meta{
    align-items:flex-start;
  }

  .threadMetaRow{
    gap:8px;
  }

  .threadMetaAuthor{
    padding:9px 0;
  }

  .meta .pill{
    max-width:100%;
  }

  .authorPill{
    width:100%;
  }

  .threadAuthorMeta{
    flex:1 1 180px;
    max-width:100%;
  }

  .threadAuthorMeta .avatar{
    width:20px;
    height:20px;
    min-width:20px;
    min-height:20px;
  }

  .voteBtn{
    appearance:none !important;
    -webkit-appearance:none !important;
    background:rgba(255,255,255,0.035) !important;
    box-shadow:none !important;
  }

  .voteBtn i,
  .voteBtn svg{
    background:transparent !important;
    box-shadow:none !important;
    border:0 !important;
    outline:0 !important;
  }

  .postInner{
    padding:13px 12px 15px;
  }

  .postHead{
    align-items:flex-start;
  }

  .postActions{
    gap:8px;
  }
}

.editBox{ margin-top: 10px; display:none; }
.editBox.open{ display:block; }

.footer{
  margin-top: 70px;
  padding: 20px 0 20px;
  font-size: 12.5px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.footer-content{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  color: rgba(154,167,194,0.85);
}
.footer-content a{
  color: rgba(154,167,194,0.85);
  margin-left:12px;
  font-weight:800;
}
.footer-content a:hover{ color: rgba(233,238,252,0.95); }

/* Rewards-style notification modal parity */
.notifModal{position:fixed;inset:0;z-index:12000;display:none;pointer-events:none;align-items:initial;justify-content:initial;padding:0}
.notifModal.open{display:flex}
.notifBackdrop{position:fixed;inset:0;background:rgba(0,0,0,.28);pointer-events:auto;backdrop-filter:none;-webkit-backdrop-filter:none}
.notifPanel{position:fixed;width:min(420px, calc(100vw - 24px));max-height:min(560px, calc(100vh - 24px));display:flex;flex-direction:column;overflow:hidden;pointer-events:auto;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(12,16,27,.98);box-shadow:0 30px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(93,168,255,.06);backdrop-filter:none;-webkit-backdrop-filter:none;animation:none}
.notifHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border-bottom:1px solid rgba(255,255,255,.08)}
.notifHeader .title{display:flex;align-items:center;gap:8px;font-weight:900;letter-spacing:0}
.notifHeader .right{display:flex;align-items:center;gap:8px}
.notifHeader .muted{color:var(--muted, rgba(169,181,205,.78));font-size:12px;font-weight:800;white-space:nowrap}
.notifAction,.notifClose{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;border:1px solid rgba(255,255,255,.10);border-radius:11px;background:rgba(255,255,255,.055);color:var(--text, rgba(255,255,255,.93));font:inherit;font-size:12px;font-weight:900;cursor:pointer;transform:none}
.notifAction{padding:0 10px}
.notifClose{width:34px;height:auto;padding:0}
.notifAction:hover,.notifClose:hover{background:rgba(93,168,255,.12);border-color:rgba(93,168,255,.32);transform:none}
.notifAction[disabled]{opacity:.45;cursor:not-allowed}
.notifBody{overflow:auto;padding:8px;max-height:none}
.notifList{display:grid;gap:6px}
.notifItem{display:grid;grid-template-columns:8px minmax(0,1fr);gap:10px;padding:11px;border:1px solid transparent;border-radius:13px;background:transparent;cursor:pointer}
.notifItem:hover{border-color:rgba(93,168,255,.24);background:rgba(93,168,255,.08)}
.notifDot{width:8px;height:8px;margin-top:6px;border-radius:999px;background:rgba(255,255,255,.22);box-shadow:none}
.notifItem.unread .notifDot{background:#5da8ff;box-shadow:0 0 12px rgba(93,168,255,.45)}
.notifMain{min-width:0}
.notifText{color:var(--text, rgba(255,255,255,.93));font-size:13px;font-weight:800;line-height:1.35}
.notifMeta{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px;color:var(--muted, rgba(169,181,205,.78));font-size:11px;font-weight:800;text-transform:capitalize}
.notifEmpty{padding:24px 12px;color:var(--muted, rgba(169,181,205,.78));text-align:center;font-weight:800}
@media(max-width:680px){.notifPanel{left:12px !important;right:12px !important;top:calc(var(--navH, 74px) + 10px) !important;width:auto !important;max-width:none !important;max-height:calc(100vh - var(--navH, 74px) - 22px) !important}.notifHeader{align-items:flex-start}.notifHeader .right{flex-wrap:wrap;justify-content:flex-end}}

/* Rewards-style fixed glass navbar parity */
:root{--navH:74px;--glass:blur(14px)}
.navbar{position:fixed !important;inset:0 0 auto 0 !important;height:var(--navH) !important;z-index:9999 !important;background:rgba(10,13,20,.55) !important;backdrop-filter:var(--glass) !important;-webkit-backdrop-filter:var(--glass) !important;border-bottom:1px solid rgba(255,255,255,.08) !important}
.nav-holder{height:var(--navH) !important}
.mobile-backdrop,.mobile-panel{top:var(--navH) !important}

/* Mobile header/avatar consistency */
.profile-btn{padding:0;overflow:hidden}
.profile-btn .navProfileAvatar,.profile-btn img.navProfileAvatar{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:999px;display:block}
.mobile-inner a i,.mobileLinks a i,.mobile-links a i{width:18px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px}
@media(max-width:860px){.nav-right{gap:10px}.hamburger,.notifBtn,.profile-btn{width:42px;height:42px;border-radius:14px}.nav-actions{display:none!important}}

/* Thread comment/reply visual polish only: keeps existing nested reply structure and behavior intact. */
.posts{gap:14px}
.postInner{
  padding:16px 16px 15px;
  border-radius:20px;
  border-color:rgba(148,163,184,.13);
  background:
    radial-gradient(420px 150px at 12% 0%, rgba(47,125,255,.085), transparent 62%),
    linear-gradient(180deg, rgba(18,24,38,.76), rgba(10,14,24,.58));
  box-shadow:0 16px 38px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.postInner::before{
  top:16px;
  bottom:16px;
  width:2px;
  background:linear-gradient(180deg, rgba(93,168,255,.82), rgba(47,125,255,.18));
  box-shadow:0 0 18px rgba(93,168,255,.12);
}
.postInner:hover{
  border-color:rgba(93,168,255,.24);
  background:
    radial-gradient(450px 160px at 12% 0%, rgba(47,125,255,.12), transparent 64%),
    linear-gradient(180deg, rgba(20,28,45,.80), rgba(10,14,24,.62));
  box-shadow:0 18px 44px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.045);
}
.postHead{align-items:flex-start;gap:10px 14px}
.postAuthor{gap:8px;row-gap:7px}
.postAuthor .userLink{
  color:rgba(244,248,255,.98);
  font-weight:950;
  letter-spacing:-.1px;
}
.postAuthor .userLink:hover{color:#9cc7ff}
.postMeta{
  padding-top:3px;
  color:rgba(164,176,201,.88);
  font-size:11.8px;
  font-weight:800;
}
.postMeta span{display:inline-flex;align-items:center;gap:6px}
.avatar{
  background:
    radial-gradient(circle at 35% 25%, rgba(93,168,255,.18), transparent 56%),
    rgba(255,255,255,.065);
  border-color:rgba(148,163,184,.17);
  box-shadow:0 10px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
}
.avatar.ring{
  border-color:rgba(93,168,255,.36);
  box-shadow:0 10px 24px rgba(0,0,0,.22), 0 0 0 3px rgba(93,168,255,.10);
}
.replyNum,
.levelChip,
.founderChip,
.pinChip,
.topAnswerBadge,
.uBanner{
  border-bottom:0;
  line-height:1;
  box-shadow:0 8px 18px rgba(0,0,0,.10);
}
.replyNum:not(.levelChip):not(.founderChip):not(.pinChip):not(.cosmeticTitle){
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.14);
  background:rgba(255,255,255,.042);
  color:rgba(169,181,205,.90);
  font-size:11.5px;
}
.replyNum:not(.levelChip):not(.founderChip):not(.pinChip):not(.cosmeticTitle):hover{
  color:#b9d8ff;
  border-color:rgba(93,168,255,.28);
  background:rgba(93,168,255,.075);
}
.levelChip,
.founderChip,
.pinChip,
.topAnswerBadge,
.uBanner{padding:5px 8px}
.postBody{
  margin-top:14px;
  padding:2px 1px;
  line-height:1.74;
  color:rgba(226,234,248,.96);
  font-size:14.75px;
}
.postBody p{margin:0 0 9px}
.postBody p:last-child{margin-bottom:0}
.postBody blockquote,
.body blockquote{
  margin:10px 0;
  padding:10px 12px;
  border-left:3px solid rgba(93,168,255,.64);
  border-radius:0 14px 14px 0;
  background:rgba(93,168,255,.08);
  color:rgba(219,232,255,.95);
}
.postBody ul,
.postBody ol,
.body ul,
.body ol{
  margin:8px 0 8px 22px;
  padding-left:8px;
}
.postBody li,.body li{margin:4px 0}
.replyLine{
  width:fit-content;
  max-width:100%;
  margin:0 0 11px;
  padding:6px 9px;
  border:1px solid rgba(93,168,255,.14);
  border-radius:999px;
  background:rgba(93,168,255,.055);
  color:rgba(172,185,211,.90);
}
.replyLine .to{color:rgba(232,240,255,.96)}
.replyJump{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.14);
  background:rgba(255,255,255,.04);
  border-bottom:0;
  padding:0;
}
.postActions{margin-top:13px;gap:8px}
.body .forumImageGallery,
.postBody .forumImageGallery{
  margin-top:7px;
  margin-bottom:0;
}
.postBody .forumImageGallery + *{
  margin-top:6px;
}
.linkBtn{
  min-height:34px;
  padding:7px 10px;
  border-radius:999px;
  border-color:rgba(148,163,184,.16);
  background:rgba(255,255,255,.035);
  color:rgba(224,232,246,.92);
  font-size:12.2px;
  gap:7px;
}
.linkBtn:hover{
  border-color:rgba(93,168,255,.34);
  background:rgba(93,168,255,.08);
  color:rgba(242,247,255,.98);
}
.postActions .linkBtn{opacity:.82}
.moreMenuPanel{
  background:rgba(9,13,22,.96);
  border-color:rgba(148,163,184,.14);
  border-radius:16px;
}
.moreMenuPanel .linkBtn{
  border-radius:12px;
  background:rgba(255,255,255,.045);
}
.collapseBtn{
  border-radius:999px;
  border-color:rgba(148,163,184,.15);
  background:rgba(255,255,255,.045);
}
.collapsedHint{
  width:fit-content;
  max-width:100%;
  margin-top:11px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.13);
  background:rgba(255,255,255,.035);
}
.post.topAnswerPost > .postInner{
  border-color:rgba(71,205,137,.30);
  background:
    radial-gradient(450px 160px at 12% 0%, rgba(71,205,137,.10), transparent 64%),
    linear-gradient(180deg, rgba(18,30,31,.80), rgba(10,14,24,.60));
}
.post.pinnedPost > .postInner{border-color:rgba(93,168,255,.30)}
@media (max-width:640px){
  .postInner{padding:14px 13px;border-radius:18px}
  .postHead{gap:8px}
  .postMeta{
    width:100%;
    padding-left:calc(var(--av) + 8px);
  }
  .postActions{gap:7px}
  .linkBtn{
    min-height:32px;
    padding:7px 9px;
    font-size:12px;
  }
  .replyLine{border-radius:14px}
}
