/* =========================
   WOORDS — Shared layout CSS
   Consistent header, rail, right panel and feed
   ========================= */

:root{
  --bg:#f3f3f4;
  --text:#0f0f10;
  --muted:#6f7278;
  --line:#e8e9ec;
  --card:#ffffff;
  --hover:#f5f6f7;
  --shadow:0 1px 0 rgba(0,0,0,.03);
  --radius:18px;
  --feed:640px;
  --side:340px;
  --rail:96px;
  --topbar-h:64px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}

/* ===== Top header ===== */
.topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:120;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
  padding:0 16px;
}
.topbar-inner{
  width:100%;
  min-height:var(--topbar-h);
  margin:0;
  display:grid;
  grid-template-columns:minmax(180px,260px) 1fr minmax(180px,260px);
  align-items:center;
  gap:12px;
  position: relative;
}
.topbar-left{ display:flex; align-items:center; justify-content:flex-start; }
.topbar-centre{ display:flex; align-items:center; justify-content:center; min-width:0; }
.topbar-right{ min-width:0; }
.top-title{
  font-weight:600;
  letter-spacing:.2px;
  font-size:14px;
  color:#111;
  user-select:none;
  text-align:center;
}

/* ===== Team switcher ===== */
.team-switcher{ position:relative; display:flex; align-items:center; }
.team-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-width:72px;
  max-width:220px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow);
  cursor:pointer;
  font-weight:600;
  font-size:13px;
  color:#111;
  user-select:none;
  transition:background .12s ease, transform .12s ease, border-color .12s ease;
}
.team-pill:hover{ background:var(--hover); }
.team-pill:active{ transform:scale(.99); }
.team-pill:focus{ outline:none; border-color:#d7d9de; }
.team-pill .chev{ font-size:12px; opacity:.8; }
#teamName{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#teamMenu,
.team-menu{
  position:absolute !important;
  top:calc(100% + 8px) !important;
  left:0 !important;
  z-index:130;
  min-width:280px;
  max-width:min(90vw,320px);
  border:1px solid var(--line);
  background:var(--card);
  border-radius:18px;
  box-shadow:0 18px 50px rgba(0,0,0,.10);
  padding:8px;
  display:none;
}
#teamMenu.open,
.team-menu.open{ display:block !important; }
.team-item{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px;
  border-radius:14px;
  cursor:pointer;
}
.team-item:hover{ background:var(--hover); }
.team-item-left{ min-width:0; display:flex; flex-direction:column; gap:2px; }
.team-item-name{
  font-weight:600;
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.team-item-sub{ font-size:12px; color:var(--muted); }
.team-badge{
  font-size:11px;
  font-weight:700;
  border:1px solid var(--line);
  padding:4px 8px;
  border-radius:999px;
  color:#111;
  background:#fff;
}
.team-badge.active{
  background:#111;
  color:#fff;
  border-color:#111;
}
.team-divider{ height:1px; background:var(--line); margin:6px; }
.team-menu-note{ padding:8px 10px; font-size:12px; color:var(--muted); line-height:1.4; }

/* ===== App layout ===== */
.app{
  min-height:calc(100vh - var(--topbar-h));
  display:grid;
  grid-template-columns:var(--rail) minmax(0,1fr) var(--side);
  gap:0;
  padding-top:var(--topbar-h);
  align-items:start;
}

/* ===== Rail ===== */
.rail{
  position:sticky;
  top:var(--topbar-h);
  align-self:start;
  width:var(--rail);
  min-width:var(--rail);
  height:calc(100vh - var(--topbar-h));
  background:#fff;
  border-right:1px solid #f3f3f3;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:16px 10px;
  gap:10px;
  overflow:hidden;
}
.nav{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  margin-top:6px;
}
.nav-btn{
  width:52px;
  height:52px;
  border-radius:999px;
  border:none;
  background:transparent;
  color:#111;
  opacity:.75;
  display:grid;
  place-items:center;
  text-decoration:none;
  cursor:pointer;
  transition:all .15s ease;
}
.nav-btn:hover{
  background:#f5f5f5;
  opacity:1;
}
.nav-btn:active{ transform:scale(.98); }
.nav-btn.active{
  background:#111;
  color:#fff;
  opacity:1;
  transform:scale(1.05);
}
.nav-spacer{ flex:1; }
.avatar{
  width:42px;
  height:42px;
  border-radius:50%;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:15px;
  font-weight:800;
  box-shadow:none;
}
.icon{ width:24px; height:24px; display:inline-block; }

/* ===== Centre column ===== */
.main{
  display:flex;
  justify-content:center;
  padding:18px 18px 28px;
  min-width:0;
}
.feed{
  width:min(var(--feed), 100%);
}

/* ===== Composer ===== */
.composer{
  margin-top:14px;
  margin-bottom:10px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--card);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.composer-inner{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:12px;
  padding:14px;
}
.composer textarea{
  width:100%;
  border:none;
  outline:none;
  resize:none;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size:15px;
  line-height:1.5;
  padding:6px 0 0;
  min-height:52px;
  background:transparent;
  color:#111;
}
.composer-actions{
  border-top:1px solid var(--line);
  padding:10px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.hint{ font-size:12px; color:var(--muted); }
.cta{ display:flex; align-items:center; gap:10px; }
.count{
  font-size:12px;
  color:var(--muted);
  min-width:40px;
  text-align:right;
}
.btn{
  border:none;
  background:#111;
  color:#fff;
  border-radius:14px;
  padding:10px 14px;
  cursor:pointer;
  font-weight:600;
  font-size:13px;
  transition:transform .12s ease, opacity .12s ease;
}
.btn:hover{ opacity:.92; }
.btn:active{ transform:scale(.99); }
.btn:disabled{ opacity:.4; cursor:not-allowed; transform:none; }

/* ===== Avatar helpers ===== */
.ava,
.reply-ava,
.composer-ava,
.post-ava{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  line-height:1;
  border-radius:50%;
}
.ava-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.ava-text{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:#fff;
  pointer-events:none;
  font-size:14px;
  letter-spacing:.5px;
  opacity:0;
}
.no-img .ava-img{ display:none; }
.no-img .ava-text{ opacity:1; }
.ava,
.composer-ava{
  width:44px;
  height:44px;
  border:1px solid var(--line);
  background:#111;
  color:#fff;
}

/* ===== Post cards ===== */
.post{
  margin-top:16px;
  border:1px solid #ededed;
  border-radius:22px;
  background:var(--card);
  box-shadow:0 1px 2px rgba(0,0,0,.03);
  overflow:hidden;
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  animation:fadeIn .25s ease;
}
.post:hover{
  border-color:#e4e4e4;
  box-shadow:0 4px 14px rgba(0,0,0,.04);
  transform:translateY(-1px);
}
.post + .post{ margin-top:14px; }
.post-inner,
.post-row{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:14px;
  padding:16px;
  align-items:start;
}
.post-main{ min-width:0; }
.post-ava{
  width:44px;
  height:44px;
  border:1px solid var(--line);
  background:#111;
  color:#fff;
  font-weight:600;
  font-size:14px;
}
.post-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}
.post-name,
.meta .name{ font-weight:600; font-size:13px; }
.post-meta,
.meta .time{
  font-size:12px;
  color:var(--muted);
  white-space:nowrap;
}
.meta{
  display:flex;
  align-items:baseline;
  gap:6px;
  flex-wrap:wrap;
}
.meta .dot{ color:var(--muted); }
.post-text{
  margin-top:8px;
  font-size:14px;
  line-height:1.6;
  color:#1a1b1e;
}
.post-media{ margin-top:10px; }
.post-media img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  border-radius:18px;
}
.post-footer{
  padding:10px 16px 14px;
  border-top:1px solid #f3f3f3;
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:8px;
}
.icon-btn{
  border:none;
  background:transparent;
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
  color:#111;
  opacity:.75;
  transition:background .12s ease, transform .12s ease, opacity .12s ease;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
}
.icon-btn:hover{
  background:#f7f7f7;
  opacity:1;
}
.icon-btn:active{ transform:scale(.99); }
.action-count{
  font-size:12px;
  color:var(--muted);
}
.icon-btn.liked{ color:#111; opacity:1; }

.feed-loading,
.feed-end{
  text-align:center;
  font-size:12px;
  color:var(--muted);
  padding:14px 0 6px;
}
.feed-sentinel{ height:1px; }

/* ===== Right panel ===== */
.side{
  position:sticky;
  top:calc(var(--topbar-h) + 18px);
  height:calc(100vh - var(--topbar-h) - 18px);
  border-left:1px solid #f3f3f3;
  background:#fcfcfc;
  padding:18px 14px;
  overflow:auto;
}
.right-rail{
  display:flex;
  flex-direction:column;
  gap:20px;
  max-width:320px;
}
.right-card{
  background:transparent;
  border:none;
  box-shadow:none;
  border-radius:0;
}
.right-card::before{ display:none; content:none; }
.right-card-title{
  font-size:12px;
  font-weight:700;
  color:#8a8a8a;
  padding:8px 0;
  border:none;
  background:transparent;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.context-card{
  background:#fff;
  border:1px solid #ececec;
  border-radius:20px;
  padding-bottom:12px;
}
.context-body{ padding:0 14px 10px; }
.context-kicker{ font-size:12px; color:#8a8a8a; }
.context-main{ font-size:14px; font-weight:700; margin-top:4px; }
.context-sub{ font-size:12px; color:#6f7278; margin-top:4px; }
.context-chip{
  display:inline-block;
  background:#f4f4f4;
  padding:5px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:600;
  margin-right:6px;
}
.trend-list{ display:flex; flex-direction:column; }
.trend-item{
  display:flex;
  gap:10px;
  padding:8px 0;
  text-decoration:none;
  color:#111;
}
.trend-item:hover{ opacity:.7; }
.trend-rank{
  width:22px;
  height:22px;
  border-radius:50%;
  background:#f2f2f2;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:700;
}
.trend-name{ font-size:14px; font-weight:700; }
.trend-sub{ font-size:12px; color:#6f7278; }
.trend-empty{ padding:4px 0 0; font-size:12px; color:#6f7278; }
.status-card{ opacity:.7; font-size:12px; }
.secure-status-row{ display:flex; gap:8px; align-items:center; }
.secure-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#22c55e;
}
.secure-text strong{ font-weight:600; }

/* ===== Replies ===== */
.replies{
  border-top:1px solid #f3f3f3;
  padding:10px 16px 14px;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(-4px);
  transition:max-height .38s cubic-bezier(.2,.8,.2,1), opacity .22s ease, transform .22s ease;
}
.post.show-replies .replies{
  opacity:1;
  transform:translateY(0);
}
.reply-item{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:10px;
  padding:10px 0;
}
.reply-ava{
  width:34px;
  height:34px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:600;
  font-size:12px;
}
.reply-body{ min-width:0; }
.reply-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}
.reply-name{ font-weight:600; font-size:12px; }
.reply-meta{
  font-size:11px;
  color:var(--muted);
  white-space:nowrap;
}
.reply-text{
  margin-top:4px;
  font-size:13px;
  line-height:1.5;
  color:#1a1b1e;
  word-wrap:break-word;
}
.reply-form{
  margin-top:10px;
  display:grid;
  grid-template-columns:34px 1fr auto;
  gap:10px;
  align-items:flex-start;
}
.reply-input{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size:13px;
  line-height:1.4;
  outline:none;
  background:#fff;
}
.reply-input:focus{ border-color:#d7d9de; }
.reply-send{
  border:none;
  background:#111;
  color:#fff;
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
  font-weight:600;
  font-size:12px;
}
.reply-send:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.reply-empty{ padding:10px 0 0; font-size:12px; color:var(--muted); }
.reply-label{ display:inline-block; transition:opacity .16s ease; }
.reply-label.fading{ opacity:0; }

/* ===== Modal ===== */
.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.28);
  display:none;
  z-index:10000;
  padding:20px;
}
.modal.open{
  display:flex;
  align-items:center;
  justify-content:center;
}
.modal-card{
  width:min(420px, 100%);
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.18);
  overflow:hidden;
}
.modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px;
  border-bottom:1px solid var(--line);
}
.modal-title{ font-weight:700; font-size:13px; }
.modal-x{
  border:none;
  background:transparent;
  cursor:pointer;
  font-size:20px;
  line-height:1;
  padding:6px 10px;
  border-radius:10px;
}
.modal-x:hover{ background:var(--hover); }
.modal-body{
  padding:14px;
  display:grid;
  gap:12px;
}
.field span{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-bottom:6px;
}
.field select,
.field input{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  font:inherit;
  outline:none;
  background:#fff;
}
.field select:focus,
.field input:focus{ border-color:#d7d9de; }
.modal-foot{
  padding:12px 14px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:flex-end;
  gap:10px;
}
.btn.ghost{
  background:#fff;
  color:#111;
  border:1px solid var(--line);
}

/* ===== Motion ===== */
@keyframes fadeIn{
  from{ opacity:0; transform:translateY(6px); }
  to{ opacity:1; transform:translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  .post{ animation:none !important; }
}

/* ===== People page consistency ===== */
.people-shell{
  width:100%;
  max-width:var(--feed);
  margin:0 auto;
}
.people-searchbar{
  position:sticky;
  top:calc(var(--topbar-h) + 12px) !important;
}

/* ===== Responsive ===== */
@media (max-width: 1040px){
  .app{
    grid-template-columns:var(--rail) minmax(0,1fr);
  }
  .side{ display:none; }
}

@media (max-width: 900px){
  :root{
    --rail:82px;
  }
  .topbar-inner{
    grid-template-columns:minmax(140px,220px) 1fr minmax(80px,140px);
  }
  .rail{
    width:82px;
    min-width:82px;
    padding:14px 8px;
  }
  .nav-btn{
    width:50px;
    height:50px;
  }
  .team-pill{
    min-width:64px;
    font-size:12px;
    padding:8px 10px;
    max-width:180px;
  }
}

@media (max-width: 720px){
  :root{
    --rail:0px;
    --topbar-h:56px;
  }

  .topbar{ padding:0 12px; }
  .topbar-inner{
    min-height:var(--topbar-h);
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
  }
  .topbar-centre{ justify-content:flex-start; display:none; }
  .topbar-right{ display:none; }
  .team-pill{
    max-width:min(68vw,220px);
    padding:8px 11px;
    font-size:12px;
  }
  #teamMenu,
  .team-menu{
    left:0 !important;
    right:auto !important;
    width:min(88vw,320px);
    min-width:0;
  }

  .app{
    grid-template-columns:1fr;
    padding-top:var(--topbar-h);
  }

  .rail{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    top:auto;
    width:auto;
    min-width:0;
    height:72px;
    border-right:none;
    border-top:1px solid var(--line);
    flex-direction:row;
    justify-content:space-around;
    padding:10px 12px;
    z-index:110;
    background:var(--bg);
  }
  .nav{
    flex-direction:row;
    gap:8px;
    width:auto;
    margin:0;
  }
  .nav-spacer,
  .avatar{ display:none; }

  .main{ padding-bottom:92px; }
}
/* =========================
   WOORDS — Poll UI Polish
   Add to dashboard.css
   ========================= */

.poll{
  margin-top:12px;
  display:grid;
  gap:10px;
}

.poll-question{
  font-size:14px;
  font-weight:700;
  color:#111;
  line-height:1.4;
}

.poll-options{
  display:grid;
  gap:8px;
}

.poll-option{
  position:relative;
  overflow:hidden;
  width:100%;
  border:1px solid var(--line, #e8e9ec);
  background:#fff;
  border-radius:16px;
  padding:12px 14px;
  text-align:left;
  cursor:pointer;
  transition:
    border-color .18s ease,
    transform .14s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.poll-option:hover:not(:disabled){
  border-color:#d7d9de;
  box-shadow:0 4px 12px rgba(0,0,0,.04);
  transform:translateY(-1px);
  background:#fcfcfc;
}

.poll-option:active:not(:disabled){
  transform:translateY(0);
}

.poll-option:disabled{
  cursor:default;
}

.poll-option.voted{
  border-color:#111;
  background:#fafafa;
}

.poll-bar{
  position:absolute;
  inset:0 auto 0 0;
  width:0;
  background:rgba(17,17,17,.06);
  pointer-events:none;
  transition:width .45s cubic-bezier(.2,.8,.2,1);
}

.poll-option.voted .poll-bar{
  background:rgba(17,17,17,.10);
}

.poll-option-content{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.poll-option-text{
  min-width:0;
  color:#111;
  font-size:13px;
  font-weight:600;
  line-height:1.35;
}

.poll-option-meta{
  display:flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
}

.poll-percent{
  color:#6f7278;
  font-size:12px;
  font-weight:700;
}

.poll-check{
  width:18px;
  height:18px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:800;
  background:#111;
  color:#fff;
  opacity:0;
  transform:scale(.82);
  transition:opacity .18s ease, transform .18s ease;
}

.poll-option.voted .poll-check{
  opacity:1;
  transform:scale(1);
}

.poll-total{
  font-size:12px;
  color:#6f7278;
}

.poll-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:max-content;
  padding:6px 10px;
  border-radius:999px;
  background:#f5f5f5;
  color:#111;
  font-size:11px;
  font-weight:700;
  letter-spacing:.02em;
}

.poll-status::before{
  content:'';
  width:6px;
  height:6px;
  border-radius:50%;
  background:#111;
  opacity:.65;
}

.poll-builder{
  border-top:1px solid var(--line, #e8e9ec);
  background:#fcfcfc;
}

.poll-builder-card{
  display:grid;
  gap:10px;
}

.poll-input,
.poll-option-input{
  width:100%;
  border:1px solid var(--line, #e8e9ec);
  border-radius:14px;
  padding:10px 12px;
  font:inherit;
  background:#fff;
  color:#111;
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.poll-input:focus,
.poll-option-input:focus{
  outline:none;
  border-color:#d7d9de;
  box-shadow:0 0 0 3px rgba(17,17,17,.04);
}

.poll-builder-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
}

.poll-toggle-active{
  background:#111 !important;
  color:#fff !important;
  border-color:#111 !important;
}

.poll-option.bump{
  animation:pollBump .28s ease;
}

@keyframes pollBump{
  0%{ transform:scale(.985); }
  45%{ transform:scale(1.012); }
  100%{ transform:scale(1); }
}

/* === AVATAR SYSTEM === */

.ava,
.reply-ava,
.composer-ava {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  font-weight: 700;
  font-size: 14px;
  color: #374151;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Smaller for replies */
.reply-ava {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

/* Image inside avatar */
.ava img,
.reply-ava img,
.composer-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Subtle hover effect */
.ava:hover,
.reply-ava:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

/* Optional ring (very premium feel) */
.ava::after,
.reply-ava::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  pointer-events: none;
}

.ava.clickable {
  cursor: pointer;
}

.avatar-hover-card {
  position: fixed;
  background: white;
  color: #111;
  padding: 12px;
  border-radius: 14px;
  font-size: 13px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  z-index: 9999;
  min-width: 180px;
}

.hover-card-inner {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hover-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
}

.hover-avatar img {
  width:100%;
  height:100%;
  object-fit:cover;
}

.hover-name {
  font-weight: 700;
}

.hover-meta {
  font-size: 12px;
  color: #666;
}

.ava,
.reply-ava {
  transition: all 0.15s ease;
}

.ava:active {
  transform: scale(0.96);
}

.topbar-centre {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  pointer-events: none;
}

/* =========================================================
   WOORDS — THREADS PIXEL-PARITY FINAL PASS
   ========================================================= */
:root{
  --bg:#f3f3f4;
  --surface:#fff;
  --text:#101010;
  --muted:#777;
  --line:rgba(0,0,0,.055);
  --line-soft:rgba(0,0,0,.045);
  --hover:rgba(0,0,0,.045);
  --radius:18px;
  --feed:640px;
  --shadow:none;
}

html,body{
  background:var(--bg)!important;
  color:var(--text)!important;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
  font-size:14px;
  line-height:1.35;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

.app,.main,.feed,.side{background:var(--bg)!important;}

.topbar{
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid var(--line)!important;
  box-shadow:none!important;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.top-title{
  font-size:14px!important;
  font-weight:650!important;
  letter-spacing:-.01em!important;
  color:#111!important;
}

.rail{
  background:#fff!important;
  border-right:1px solid var(--line)!important;
  padding:16px 10px!important;
}

.nav{gap:8px!important;}

.nav-btn{
  width:52px!important;
  height:52px!important;
  border-radius:999px!important;
  color:#1f1f1f!important;
  opacity:.78!important;
  transition:background .14s ease,opacity .14s ease,transform .12s ease!important;
}

.nav-btn:hover{background:var(--hover)!important;opacity:1!important;}

.nav-btn.active,
.nav-btn.is-active,
.nav-btn[aria-current="page"]{
  background:#111!important;
  color:#fff!important;
  opacity:1!important;
  transform:none!important;
}

.main{
  padding:18px 20px 32px!important;
  justify-content:center!important;
}

.feed{width:min(var(--feed),100%)!important;}

.composer,
.post,
.context-card,
.modal-card{
  background:var(--surface)!important;
  border:1px solid var(--line)!important;
  border-radius:18px!important;
  box-shadow:none!important;
}

.composer{
  margin-top:14px!important;
  margin-bottom:12px!important;
  overflow:hidden!important;
}

.composer-inner{
  grid-template-columns:44px 1fr!important;
  gap:12px!important;
  padding:16px!important;
}

.composer textarea{
  font-size:15px!important;
  line-height:1.45!important;
  min-height:54px!important;
  color:#111!important;
}

.composer textarea::placeholder,
.reply-input::placeholder{color:#8a8a8a;}

.composer-actions{
  border-top:1px solid var(--line-soft)!important;
  padding:10px 16px!important;
}

.post{
  margin-top:12px!important;
  overflow:hidden!important;
  animation:fadeIn .22s ease!important;
  transition:border-color .14s ease,background .14s ease!important;
}

.post:hover{
  border-color:rgba(0,0,0,.075)!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
}

.post+.post{margin-top:12px!important;}

.post-inner,
.post-row{
  grid-template-columns:44px 1fr!important;
  gap:12px!important;
  padding:16px!important;
}

.post-name,
.meta .name{
  font-size:14px!important;
  font-weight:650!important;
  letter-spacing:-.01em!important;
  color:#111!important;
}

.post-meta,
.meta .time,
.meta .dot{
  font-size:13px!important;
  color:var(--muted)!important;
}

.post-text{
  margin-top:6px!important;
  font-size:15px!important;
  line-height:1.45!important;
  color:#1d1d1f!important;
  letter-spacing:-.005em!important;
}

.post-media{margin-top:10px!important;}
.post-media img{border-radius:16px!important;}

.post-footer{
  padding:8px 14px 12px!important;
  border-top:1px solid var(--line-soft)!important;
  gap:6px!important;
  margin-top:6px!important;
}

.icon-btn{
  padding:8px 9px!important;
  border-radius:999px!important;
  color:#222!important;
  opacity:.72!important;
  font-size:13px!important;
}

.icon-btn:hover{
  background:var(--hover)!important;
  opacity:1!important;
}

.action-count{font-size:12px!important;color:var(--muted)!important;}

.ava,
.composer-ava,
.post-ava{
  width:44px!important;
  height:44px!important;
  border:1px solid var(--line)!important;
  background:#111!important;
}

.reply-ava{
  width:34px!important;
  height:34px!important;
  border:1px solid var(--line)!important;
}

.ava:hover,
.reply-ava:hover{
  transform:none!important;
  box-shadow:none!important;
}

.ava::after,
.reply-ava::after{
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.045)!important;
}

.replies{
  border-top:1px solid var(--line-soft)!important;
  padding:10px 16px 14px!important;
}

.reply-item{
  grid-template-columns:34px 1fr!important;
  gap:10px!important;
  padding:10px 0!important;
}

.reply-name{font-size:13px!important;font-weight:650!important;}
.reply-meta{font-size:12px!important;color:var(--muted)!important;}
.reply-text{font-size:14px!important;line-height:1.45!important;}

.reply-input,
.field select,
.field input,
.poll-input,
.poll-option-input{
  border:1px solid var(--line)!important;
  border-radius:14px!important;
  box-shadow:none!important;
}

.reply-input:focus,
.field select:focus,
.field input:focus,
.poll-input:focus,
.poll-option-input:focus{
  border-color:rgba(0,0,0,.12)!important;
  box-shadow:0 0 0 3px rgba(0,0,0,.035)!important;
}

.side{
  background:var(--bg)!important;
  border-left:1px solid var(--line)!important;
  padding:18px 14px!important;
}

.right-rail{gap:20px!important;max-width:320px!important;}

.right-card{
  background:transparent!important;
  border:none!important;
  border-radius:0!important;
  box-shadow:none!important;
}

.right-card-title{
  background:transparent!important;
  border:none!important;
  padding:8px 0!important;
  font-size:12px!important;
  font-weight:700!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  color:#8a8a8a!important;
}

.context-card{padding-bottom:12px!important;}
.context-body{padding:0 14px 10px!important;}
.trend-item{padding:8px 0!important;}
.trend-name{font-size:14px!important;font-weight:700!important;}
.trend-sub,.trend-empty,.context-sub,.context-kicker{color:var(--muted)!important;}

.team-pill{
  min-height:38px!important;
  padding:8px 12px!important;
  border:1px solid var(--line)!important;
  background:#fff!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:650!important;
}

.team-pill:hover,
.team-item:hover,
.modal-x:hover{background:var(--hover)!important;}

#teamMenu,
.team-menu{
  border:1px solid var(--line)!important;
  box-shadow:0 18px 50px rgba(0,0,0,.08)!important;
}

.poll-option{
  border:1px solid var(--line)!important;
  background:#fff!important;
  border-radius:14px!important;
  box-shadow:none!important;
}

.poll-option:hover:not(:disabled){
  border-color:rgba(0,0,0,.09)!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
}

.poll-builder{
  border-top:1px solid var(--line-soft)!important;
  background:#fafafa!important;
}

.poll-status{background:var(--hover)!important;}

.modal-card{box-shadow:0 18px 60px rgba(0,0,0,.14)!important;}
.modal-head,.modal-foot{border-color:var(--line-soft)!important;}

@media (max-width:900px){
  :root{--rail:82px;}
  .main{padding:16px 16px 28px!important;}
  .nav-btn{width:50px!important;height:50px!important;}
}

@media (max-width:720px){
  :root{--rail:0px;--topbar-h:56px;}
  .topbar{height:var(--topbar-h)!important;padding:0 12px!important;}
  .rail{
    height:72px!important;
    background:#fff!important;
    border-top:1px solid var(--line)!important;
  }
  .main{padding:12px 12px 92px!important;}
  .composer,.post,.context-card{border-radius:16px!important;}
  .post-inner,.post-row,.composer-inner{padding:14px!important;}
}

/* =========================================================
   WOORDS — THREADS RAIL + TOPBAR FINAL UPDATE
   White fixed surfaces, no blur, ultra-subtle dividers
   ========================================================= */
:root{
  --bg:#f3f3f4;
  --surface:#ffffff;
  --line:rgba(0,0,0,.055);
  --line-soft:rgba(0,0,0,.045);
}

html,
body,
.app,
.main,
.feed,
.side{
  background:var(--bg) !important;
}

.topbar{
  background:var(--surface) !important;
  border-bottom:1px solid rgba(0,0,0,.05) !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

.rail{
  background:var(--surface) !important;
  border-right:1px solid rgba(0,0,0,.045) !important;
  box-shadow:none !important;
}

.side{
  background:var(--bg) !important;
  border-left:1px solid rgba(0,0,0,.045) !important;
}

.composer,
.post,
.context-card,
.modal-card,
.poll-option,
.reply-input,
.field select,
.field input{
  border-color:rgba(0,0,0,.055) !important;
}

.post-footer,
.replies,
.composer-actions,
.modal-head,
.modal-foot{
  border-color:rgba(0,0,0,.045) !important;
}

.nav-btn:hover,
.icon-btn:hover,
.team-pill:hover,
.team-item:hover,
.modal-x:hover{
  background:rgba(0,0,0,.045) !important;
}

@media (max-width:720px){
  .rail{
    background:var(--surface) !important;
    border-top:1px solid rgba(0,0,0,.055) !important;
    border-right:none !important;
  }
}


/* Public / logged-out WOORDS preview */
.public-composer-note{
  margin:0 14px 14px;
  padding:12px 14px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  background:#fafafa;
  color:#6f7278;
  font-size:13px;
  cursor:pointer;
}
.auth-modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(0,0,0,.28);
  backdrop-filter:blur(4px);
  z-index:99999;
}
.auth-modal.open{display:flex;}
.auth-modal-card{
  position:relative;
  width:min(390px,100%);
  background:#f7f7f7;
  border:1px solid rgba(0,0,0,.08);
  border-radius:30px;
  box-shadow:0 24px 70px rgba(0,0,0,.18);
  padding:34px 30px 30px;
  text-align:center;
}
.auth-modal-close{
  position:absolute;
  top:14px;
  right:16px;
  width:32px;
  height:32px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:#555;
  font-size:26px;
  line-height:30px;
  cursor:pointer;
}
.auth-modal-logo{
  width:160px;
  height:110px;
  margin:0 auto 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:visible;
}
.auth-modal-logo img{
  display:block;
  width:160px;
  height:160px;
  object-fit:contain;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  filter:none !important;
}
.auth-modal-card h2{margin:0 0 10px;font-size:22px;line-height:1.2;color:#111;}
.auth-modal-card p{margin:0 0 24px;color:#808085;font-size:15px;line-height:1.45;}
.auth-modal-primary,.auth-modal-secondary,.threads-login-btn,.threads-create-link{
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.auth-modal-primary{
  min-height:54px;
  border-radius:18px;
  background:#fff;
  color:#111;
  font-weight:800;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 8px 20px rgba(0,0,0,.04);
}
.auth-modal-secondary{margin-top:16px;color:#777;font-weight:700;}
.threads-public-rail{display:grid;gap:14px;}
.threads-public-card{
  background:#f7f7f7;
  border:1px solid rgba(0,0,0,.08);
  border-radius:30px;
  padding:30px 26px;
  text-align:center;
  box-shadow:0 12px 35px rgba(0,0,0,.05);
}
.threads-phone-dot{width:58px;height:58px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;}
.threads-phone-dot img{display:block;width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 3px 8px rgba(0,0,0,.14));}
.threads-public-card h2{font-size:22px;line-height:1.2;margin:0 0 10px;color:#111;}
.threads-public-card p{margin:0 0 22px;color:#8a8a8f;line-height:1.45;font-size:15px;}
.threads-login-btn{width:100%;min-height:54px;border:1px solid rgba(0,0,0,.08);border-radius:18px;background:#fff;color:#111;font-weight:800;cursor:pointer;font:inherit;}
.threads-create-link{margin-top:16px;color:#777;font-weight:700;}
.threads-public-mini{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:20px;padding:16px;display:grid;gap:4px;}
.threads-public-mini strong{font-size:14px;color:#111;}.threads-public-mini span{font-size:13px;color:#777;}
.requires-login{cursor:pointer;}


/* WOORDS PNG logo modal fallback classes */
.modal-logo{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:0 auto 18px auto;
  width:160px;
  height:110px;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:visible;
}
.modal-logo-img{
  width:160px;
  height:160px;
  object-fit:contain;
  display:block;
  background:transparent !important;
  filter:none !important;
}

/* =========================================================
   WOORDS — FINAL ALIGNMENT + RESPONSIVE POLISH PATCH
   Aligns top-left logo with rail, keeps modal logo intact,
   improves feed/right-panel spacing and mobile behaviour.
   ========================================================= */

/* Top-left logo: align structurally with the rail width */
.topbar-left{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  padding-left:0 !important;
  min-width:0 !important;
}

.topbar-logo-wrap{
  width:56px !important;
  min-width:56px !important;
  flex:0 0 56px !important;
  height:var(--topbar-h) !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  margin:0 !important;
  padding:0 !important;
}

.topbar-logo-img{
  width:52px !important;
  height:52px !important;
  object-fit:contain !important;
  display:block !important;

  transform:translateX(1px) !important;

  margin:0 !important;
  padding:0 !important;
}

/* Keep rail navigation icons visually centred with the top logo */
.rail{
  width:var(--rail) !important;
  min-width:var(--rail) !important;
}

.nav-btn{
  width:52px !important;
  height:52px !important;
}

.rail-nav-logo{
  width:42px !important;
  height:42px !important;
  object-fit:contain !important;
  display:block !important;
}

/* Modal logo: preserve the version that already looks correct */
.auth-modal-logo,
.modal-logo{
  width:160px !important;
  height:110px !important;
  margin:0 auto 18px auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
}

.auth-modal-logo img,
.modal-logo-img{
  width:160px !important;
  height:160px !important;
  object-fit:contain !important;
  display:block !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  filter:none !important;
}

/* Threads-style layout balance */
.main{
  padding-left:20px !important;
  padding-right:20px !important;
}

.feed,
.feed-column,
.main-column,
.content-area{
  width:min(var(--feed), 100%) !important;
  max-width:var(--feed) !important;
}

.side{
  padding-left:18px !important;
  padding-right:18px !important;
}

.right-rail{
  width:100% !important;
  max-width:320px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Public right panel: align with Threads-style card spacing */
.threads-public-rail{
  width:100% !important;
  max-width:320px !important;
  margin:0 auto !important;
}

.threads-public-card{
  border-radius:30px !important;
  padding:30px 26px !important;
}

.threads-phone-dot{
  width:72px !important;
  height:72px !important;
  margin:0 auto 18px !important;
}

.threads-phone-dot img{
  width:72px !important;
  height:72px !important;
  object-fit:contain !important;
  display:block !important;
  filter:none !important;
}

/* Desktop: keep app columns aligned to the same rail variable */
.app{
  grid-template-columns:var(--rail) minmax(0,1fr) var(--side) !important;
}

/* Tablet */
@media (max-width:1040px){
  .app{
    grid-template-columns:var(--rail) minmax(0,1fr) !important;
  }

  .side{
    display:none !important;
  }
}

@media (max-width:900px){
  :root{
    --rail:82px;
  }

  .topbar-logo-wrap{
    width:var(--rail) !important;
    min-width:var(--rail) !important;
    flex-basis:var(--rail) !important;
  }

  .topbar-logo-img{
    width:48px !important;
    height:48px !important;
  }

  .rail-nav-logo{
    width:38px !important;
    height:38px !important;
  }
}

/* Mobile: top logo should not reserve desktop rail space */
@media (max-width:720px){
  :root{
    --rail:0px;
    --topbar-h:56px;
  }

  .topbar-left{
    flex:1 1 auto !important;
  }

  .topbar-logo-wrap{
    width:56px !important;
    min-width:56px !important;
    flex:0 0 56px !important;
    height:var(--topbar-h) !important;
    justify-content:flex-start !important;
  }

  .topbar-logo-img{
    width:42px !important;
    height:42px !important;
  }

  .app{
    grid-template-columns:1fr !important;
  }

  .main{
    padding-left:12px !important;
    padding-right:12px !important;
    padding-bottom:92px !important;
  }

  .auth-modal{
    padding:18px !important;
  }

  .auth-modal-card{
    width:min(390px, 100%) !important;
    border-radius:28px !important;
    padding:30px 24px 26px !important;
  }

  .auth-modal-logo,
  .modal-logo{
    width:145px !important;
    height:100px !important;
  }

  .auth-modal-logo img,
  .modal-logo-img{
    width:145px !important;
    height:145px !important;
  }
}

/* =========================================================
   WORLD CUP LIVE CARD
   ========================================================= */

/* =========================================================
   WORLD CUP RIGHT PANEL CARD — CLEAN WOORDS STYLE
   ========================================================= */

.worldcup-card {
    width: 100%;
    margin: 0 0 16px 0;
    position: relative;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(226, 232, 240, 0.88) !important;
    border-radius: 22px !important;

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.045),
        0 1px 2px rgba(15, 23, 42, 0.03) !important;
}

.worldcup-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.28) 50%,
        transparent 100%
    );

    transform: translateX(-120%);
    animation: wcShimmer 9s infinite;
}

@keyframes wcShimmer {
    0%, 85% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(120%);
    }
}

.worldcup-card-inner {
    position: relative;
    z-index: 1;
    padding: 16px;
}

.worldcup-topline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #111827;
}

.worldcup-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.12);
    animation: worldcupPulse 1.8s ease-in-out infinite;
}

@keyframes worldcupPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.22);
        opacity: 0.72;
    }
}

.worldcup-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4px 0 16px;
}

.worldcup-logo,
.worldcup-logo-large {
    width: 112px !important;
    max-width: 70%;
    height: auto;
    display: block;
    filter: drop-shadow(0 14px 24px rgba(15, 23, 42, 0.12));
}

.worldcup-copy {
    text-align: center;
}

.worldcup-copy h3 {
    margin: 0;
    font-size: 19px;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #111827;
}

.worldcup-copy p {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.42;
    color: #6b7280;
}

.worldcup-mini-stats,
.worldcup-brand-row {
    display: none !important;
}

.worldcup-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    margin-top: 16px;
    border-radius: 14px;
    background: #111827;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: transform 0.16s ease, background 0.16s ease;
}

.worldcup-cta:hover {
    background: #1f2937;
    transform: translateY(-2px);
}


/* =========================================================
   WORLD CUP FEED EXPERIENCE
   Subtle styling only when viewing team_id=103.
   ========================================================= */

.worldcup-feed-active body,
body.worldcup-feed-active {
    background:
        radial-gradient(circle at top right, rgba(239, 68, 68, 0.045), transparent 34%),
        radial-gradient(circle at top left, rgba(17, 24, 39, 0.035), transparent 28%),
        #f3f3f3 !important;
}

.worldcup-feed-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 16px;
    align-items: center;
    margin: 14px 0 12px;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.045),
        0 1px 2px rgba(15, 23, 42, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.worldcup-feed-glow {
    position: absolute;
    inset: auto -90px -90px auto;
    width: 220px;
    height: 220px;
    pointer-events: none;
    background:
        radial-gradient(circle, rgba(239, 68, 68, 0.08), transparent 64%);
}

.worldcup-feed-logo-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
}

.worldcup-feed-logo {
    width: 78px;
    height: auto;
    display: block;
    filter:
        drop-shadow(0 14px 24px rgba(15, 23, 42, 0.12))
        drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.worldcup-feed-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.worldcup-feed-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.085em;
    color: #111827;
}

.worldcup-feed-hero h1 {
    margin: 0;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.03;
    letter-spacing: -0.055em;
    font-weight: 850;
    color: #111827;
}

.worldcup-feed-hero p {
    margin: 8px 0 0;
    max-width: 54ch;
    font-size: 13px;
    line-height: 1.45;
    color: #667085;
}

.worldcup-feed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.worldcup-feed-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.worldcup-feed-tags a:hover {
    background: #f9fafb;
    border-color: rgba(209, 213, 219, 0.95);
    transform: translateY(-1px);
}

.worldcup-feed-active .composer {
    border-color: rgba(17, 24, 39, 0.10) !important;
}

.worldcup-feed-active .team-pill {
    border-color: rgba(17, 24, 39, 0.16) !important;
}

@media (max-width: 640px) {
    .worldcup-feed-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 18px 16px;
    }

    .worldcup-feed-logo {
        width: 82px;
    }

    .worldcup-feed-kicker,
    .worldcup-feed-tags {
        justify-content: center;
    }

    .worldcup-feed-hero p {
        margin-left: auto;
        margin-right: auto;
    }
}


/* =========================================================
   RIGHT PANEL POLISH
   Cleaner context, trending and status cards
   ========================================================= */

.side {
    background: #f3f3f3 !important;
}

.right-rail {
    gap: 18px !important;
}

.right-card.context-card,
.right-card.discovery-card,
.right-card.status-card {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.94) !important;
    border: 1px solid rgba(226,232,240,0.9) !important;
    border-radius: 22px !important;
    box-shadow:
        0 10px 28px rgba(15,23,42,0.035),
        0 1px 2px rgba(15,23,42,0.025) !important;
}

.right-card-title {
    padding: 16px 16px 10px !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #8a94a6 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    letter-spacing: 0.075em !important;
    text-transform: uppercase !important;
}

.context-body {
    padding: 0 16px 16px !important;
}

.context-kicker {
    margin-bottom: 4px !important;
    color: #667085 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.context-main {
    margin-top: 0 !important;
    color: #111827 !important;
    font-size: 17px !important;
    font-weight: 850 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.15 !important;
}

.context-sub {
    margin-top: 6px !important;
    color: #667085 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

#contextChips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 12px !important;
}

.context-chip {
    display: inline-flex !important;
    align-items: center !important;
    height: 26px !important;
    padding: 0 10px !important;
    border: 1px solid rgba(226,232,240,0.95) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    margin: 0 !important;
}

.discovery-card {
    padding-bottom: 8px !important;
}

.trend-list {
    display: grid !important;
    gap: 4px !important;
    padding: 0 10px 10px !important;
}

.trend-item {
    display: grid !important;
    grid-template-columns: 30px 1fr !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 8px !important;
    border: 0 !important;
    border-radius: 14px !important;
    color: #111827 !important;
    text-decoration: none !important;
    transition:
        background 0.16s ease,
        transform 0.16s ease !important;
}

.trend-item:hover {
    background: #f8fafc !important;
    opacity: 1 !important;
    transform: translateY(-1px) !important;
}

.trend-rank {
    width: 28px !important;
    height: 28px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: #f3f4f6 !important;
    color: #111827 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
}

.trend-name {
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
}

.trend-sub {
    margin-top: 3px !important;
    color: #667085 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
}

.trend-empty {
    margin: 0 16px 14px !important;
    padding: 14px !important;
    border: 1px dashed rgba(203,213,225,0.95) !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
    color: #667085 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

.status-card {
    padding: 0 !important;
}

.secure-status-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 16px !important;
}

.secure-dot {
    width: 9px !important;
    height: 9px !important;
    border-radius: 999px !important;
    background: #22c55e !important;
    box-shadow: 0 0 0 6px rgba(34,197,94,0.12) !important;
    flex: 0 0 auto !important;
}

.secure-text {
    color: #475467 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

.secure-text strong,
.secure-status-row strong {
    color: #111827 !important;
    font-weight: 800 !important;
}

/* Make the World Cup promo card sit neatly with the cleaned right rail */
.worldcup-card {
    margin-bottom: 18px !important;
}

/* Mobile keeps right panel hidden as before */
@media (max-width: 1040px) {
    .side {
        display: none !important;
    }
}

/* =========================================================
   FEED USERNAME INLINE
   Shows @username neatly after display names in feed metadata.
   ========================================================= */

.username-inline {
    color: #667085 !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    letter-spacing: -0.01em !important;
}

.meta .username-inline {
    margin-left: 2px !important;
}

.post-head .meta {
    gap: 6px !important;
}

.username-inline::after{
    content: ".woords.social";
    opacity: .72;
    margin-left: 1px;
}

/* =========================================
   FULL WIDTH ADMIN LAYOUT
========================================= */

/* =========================================
   FORCE FULL WIDTH ADMIN
========================================= */

.admin-page,
.admin-page * {
    box-sizing: border-box;
}

/* Break out of Threads feed width */
.admin-page {
    width: calc(100vw - 240px) !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 24px 32px !important;
}

/* Target common layout wrappers */
.admin-page,
.admin-page .feed,
.admin-page .feed-shell,
.admin-page .feed-layout,
.admin-page .page-layout,
.admin-page .content-area,
.admin-page .main-content,
.admin-page .center-column,
.admin-page .timeline,
.admin-page .main {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Main admin container */
.admin-shell {
    width: 100% !important;
    max-width: none !important;
}

/* Dashboard rows */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    width: 100%;
}

.admin-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    width: 100%;
}

/* Stretch cards */
.admin-card,
.admin-panel,
.admin-section,
.admin-hero {
    width: 100%;
    max-width: none !important;
}

.onboarding-card{
  margin:16px 0;
  padding:16px 18px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  box-shadow:0 8px 22px rgba(15,23,42,.04);
  font-weight:600;
}

.onboarding-first-post p{
  margin:6px 0 14px;
  color:#64748b;
  font-weight:400;
}

.first-post-start{
  border:none;
  background:#000;
  color:#fff;
  border-radius:14px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
}

/* =========================================================
   WOORDS — PREMIUM SPONSORED POSTS
   ========================================================= */

.sponsored-post{
    position:relative;
    overflow:hidden;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.98) 0%,
            rgba(250,250,251,0.98) 100%
        ) !important;

    border:1px solid rgba(0,0,0,.06) !important;
    border-radius:26px !important;

    box-shadow:
        0 12px 34px rgba(15,23,42,.05),
        0 1px 2px rgba(15,23,42,.04) !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease !important;
}

.sponsored-post:hover{
    transform:translateY(-2px) !important;

    border-color:rgba(0,0,0,.08) !important;

    box-shadow:
        0 18px 44px rgba(15,23,42,.08),
        0 2px 4px rgba(15,23,42,.05) !important;
}

.sponsored-post::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;

    background:
        radial-gradient(
            circle at top right,
            rgba(59,130,246,.05),
            transparent 34%
        );
}

/* ===== Sponsored label ===== */

.sponsored-label-row{
    padding:18px 22px 0 !important;
}

.sponsored-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;

    height:30px;
    padding:0 14px;

    border-radius:999px;

    background:#f3f4f6;
    border:1px solid rgba(0,0,0,.05);

    color:#111827;
    font-size:11px;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.sponsored-badge::before{
    content:"";
    width:8px;
    height:8px;
    border-radius:999px;
    background:#111827;
    opacity:.72;
}

/* ===== Layout ===== */

.sponsored-post .post-row{
    padding-top:14px !important;
}

.sponsored-post .post-main{
    min-width:0;
}

/* ===== Header ===== */

.sponsored-post .meta .name{
    font-size:14px !important;
    font-weight:800 !important;
    letter-spacing:-0.02em !important;
}

.sponsored-post .meta .time{
    color:#667085 !important;
    font-size:13px !important;
}

/* ===== Title ===== */

.sponsored-title{
    margin-top:10px;

    font-size:32px;
    line-height:1.02;
    letter-spacing:-0.055em;

    font-weight:900;
    color:#111827;
}

/* ===== Body ===== */

.sponsored-post .post-text{
    margin-top:12px !important;

    font-size:15px !important;
    line-height:1.55 !important;

    color:#475467 !important;

    max-width:62ch;
}

/* ===== Media ===== */

.sponsored-media{
    position:relative;
    overflow:hidden;

    margin-top:18px;

    border-radius:22px;

    border:1px solid rgba(0,0,0,.06);

    background:#f3f4f6;
}

.sponsored-media img{
    display:block;

    width:100%;
    max-height:520px;

    object-fit:cover;

    transition:transform .4s ease;
}

.sponsored-post:hover .sponsored-media img{
    transform:scale(1.015);
}

/* ===== CTA ===== */

.sponsored-footer{
    display:flex;
    justify-content:flex-end;
    align-items:center;

    margin-top:18px;
}

.sponsored-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:140px;
    height:48px;

    padding:0 22px;

    border-radius:16px;

    background:#111827;
    color:#fff !important;

    text-decoration:none;

    font-size:14px;
    font-weight:800;
    letter-spacing:-0.01em;

    transition:
        transform .16s ease,
        opacity .16s ease,
        background .16s ease !important;
}

.sponsored-cta:hover{
    background:#1f2937 !important;
    transform:translateY(-1px);
    opacity:1 !important;
}

/* ===== Sponsor avatar ===== */

.sponsored-post .ava{
    width:48px !important;
    height:48px !important;

    border:1px solid rgba(0,0,0,.06) !important;

    box-shadow:
        0 4px 14px rgba(0,0,0,.06);
}

/* ===== Mobile ===== */

@media (max-width:720px){

    .sponsored-post{
        border-radius:22px !important;
    }

    .sponsored-title{
        font-size:24px;
        line-height:1.06;
    }

    .sponsored-post .post-text{
        font-size:14px !important;
    }

    .sponsored-footer{
        justify-content:stretch;
    }

    .sponsored-cta{
        width:100%;
    }
}

/* TEMP FIX - Teams cards visible */
.teams-page * {
  opacity: 1 !important;
  visibility: visible !important;
}

.woords-team-card,
.woords-team-card *,
.team-card,
.team-card * {
  color: #111 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.team-title,
.team-name,
.woords-team-title {
  display: block !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #111 !important;
}

.team-desc,
.team-meta,
.woords-team-meta {
  display: block !important;
  color: #64748b !important;
}


/* FIX teams page hidden card text */
.team-card-main {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.team-copy {
  display: block !important;
  flex: 1 !important;
  min-width: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.team-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.team-title {
  display: inline-block !important;
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.team-meta {
  display: block !important;
  margin-top: 4px !important;
  color: #64748b !important;
  font-size: 13px !important;
}

.team-actions {
  display: flex !important;
}

/* QUICK TEAMS POLISH */

.team-row{
  padding:12px 16px !important;
  min-height:auto !important;
  transition:all .16s ease;
}

.team-row:hover{
  background:#fafafa;
}

.team-avatar{
  width:40px !important;
  height:40px !important;
  border-radius:12px !important;
  font-size:14px !important;
  background:linear-gradient(135deg,#0f172a,#334155) !important;
  box-shadow:0 2px 8px rgba(15,23,42,.15);
}

.team-name{
  font-size:15px !important;
  font-weight:700 !important;
  color:#0f172a !important;
}

.team-description{
  font-size:13px !important;
  color:#64748b !important;
  margin-top:2px !important;
}

.team-actions{
  gap:8px !important;
}

.team-actions a,
.team-actions button{
  height:34px !important;
  padding:0 14px !important;
  border-radius:999px !important;
  font-size:13px !important;
  font-weight:600 !important;
  transition:all .16s ease;
}

.team-actions a{
  background:#fff !important;
  border:1px solid #e5e7eb !important;
  color:#111827 !important;
}

.team-actions button{
  background:#0f172a !important;
  color:#fff !important;
  border:none !important;
}

.team-actions button:hover{
  transform:translateY(-1px);
}

.teams-card{
  border-radius:24px !important;
  overflow:hidden;
}

/* WOORDS Teams refinements */

.teams-card{
  transition:all .18s ease;
}

.team-row{
  position:relative;
}

.team-row:hover{
  transform:translateY(-1px);
  box-shadow:0 2px 10px rgba(15,23,42,.04);
  z-index:2;
}

.team-description{
  display:flex;
  align-items:center;
  gap:8px;
}

.team-description::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:#22c55e;
  flex-shrink:0;
}

.team-actions .joined,
.team-actions button.joined{
  background:#eef2f7 !important;
  color:#0f172a !important;
}

.team-actions .joined:hover{
  background:#e2e8f0 !important;
}

.team-chip{
  display:inline-flex;
  align-items:center;
  height:22px;
  padding:0 9px;
  border-radius:999px;
  background:#fff1f2;
  color:#e11d48;
  font-size:11px;
  font-weight:700;
  margin-left:8px;
}

.teams-search{
  max-width:520px;
}

.page-shell{
  gap:34px !important;
}

/* Hide Open unless team is joined */
.team-row .team-open-btn,
.team-card .team-open-btn {
  display: none !important;
}

.team-row:has(.team-join-btn.joined) .team-open-btn,
.team-row:has(.team-join-btn.added) .team-open-btn,
.team-card:has(.team-join-btn.joined) .team-open-btn,
.team-card:has(.team-join-btn.added) .team-open-btn {
  display: inline-flex !important;
}


/* Mobile rail/feed quick fix */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .woords-shell,
  .app-shell,
  .layout,
  .page-shell,
  .dashboard-shell,
  .main,
  .content,
  .feed,
  .feed-wrap,
  .feed-container,
  .timeline,
  main {
    margin-left: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .rail,
  .left-rail,
  .app-rail,
  .sidebar,
  nav {
    z-index: 3000 !important;
  }

  .right-panel,
  .right-rail,
  .desktop-right,
  aside.right-panel {
    display: none !important;
  }
}


/* FINAL MOBILE LAYOUT FIX */
@media (max-width: 768px) {
  .woords-layout,
  .app-layout,
  .dashboard-layout,
  .shell,
  .page-grid,
  .layout-grid,
  .main-grid {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  .feed,
  .feed-column,
  .feed-container,
  .timeline,
  .main-feed,
  .content,
  .main-content,
  main {
    position: relative !important;
    z-index: 1 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .rail,
  .left-rail,
  .app-rail,
  .sidebar {
    position: fixed !important;
    z-index: 5000 !important;
  }

  .right-panel,
  .right-rail,
  .desktop-right,
  aside {
    display: none !important;
  }
}


/* Restore mobile rail visibility */
@media (max-width: 768px) {
  .rail,
  .left-rail,
  .app-rail,
  .sidebar {
    display: flex !important;
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 64px !important;
    min-width: 64px !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background: #fff !important;
    border-right: 1px solid #e5e7eb !important;
  }

  .feed,
  .feed-column,
  .feed-container,
  .timeline,
  .main-feed,
  .content,
  .main-content,
  main {
    margin-left: 64px !important;
    width: calc(100% - 64px) !important;
    max-width: calc(100% - 64px) !important;
  }
}


/* Mobile bottom navigation fix */
@media (max-width: 768px) {
  .rail,
  .left-rail,
  .app-rail,
  .sidebar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-around !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 64px !important;
    z-index: 9999 !important;
    background: #fff !important;
    border-top: 1px solid #e5e7eb !important;
    border-right: 0 !important;
  }

  .rail a,
  .left-rail a,
  .app-rail a,
  .sidebar a {
    flex: 1 1 auto !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .feed,
  .feed-column,
  .feed-container,
  .timeline,
  .main-feed,
  .content,
  .main-content,
  main {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 82px !important;
  }
}


/* Mobile frosted glass navigation */
@media (max-width:768px){

  .rail,
  .left-rail,
  .app-rail,
  .sidebar{
    background:rgba(255,255,255,.78)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;

    border-top:1px solid rgba(255,255,255,.45)!important;

    box-shadow:
      0 -4px 20px rgba(0,0,0,.08),
      0 -1px 0 rgba(255,255,255,.6) inset!important;
  }

}

/* Mobile Compose Button */
@media (max-width:768px){

  .mobile-compose{
    position:fixed;
    right:20px;
    bottom:84px;
    width:56px;
    height:56px;
    border-radius:50%;
    background:#ff6b35;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:28px;
    font-weight:300;
    z-index:10000;

    box-shadow:
      0 8px 24px rgba(255,107,53,.35),
      0 2px 8px rgba(0,0,0,.15);

    transition:all .2s ease;
  }

  .mobile-compose:hover{
    transform:translateY(-2px) scale(1.05);
  }
}


/* WOORDS mobile compose button upgrade */
@media (max-width:768px){

  .mobile-compose{
    width:58px !important;
    height:58px !important;
    border-radius:50% !important;

    background:linear-gradient(135deg,#ff8a50,#ff6b35) !important;

    box-shadow:
      0 12px 30px rgba(255,107,53,.35),
      0 4px 12px rgba(0,0,0,.15) !important;

    font-size:0 !important;
  }

  .mobile-compose::before{
    content:"✎";
    font-size:22px;
    color:#fff;
    line-height:58px;
  }

}

/* Premium mobile compose button */
@media (max-width:768px){

  .mobile-compose{
    position:fixed !important;
    right:18px !important;
    bottom:78px !important;

    width:60px !important;
    height:60px !important;
    border-radius:50% !important;

    background:linear-gradient(135deg,#ff8f5a,#ff6b35) !important;

    box-shadow:
      0 12px 32px rgba(255,107,53,.35),
      0 4px 12px rgba(0,0,0,.12) !important;

    border:3px solid rgba(255,255,255,.9) !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    color:#fff !important;
    text-decoration:none !important;

    z-index:10001 !important;
    transition:all .2s ease !important;
  }

  .mobile-compose:hover,
  .mobile-compose:active{
    transform:scale(1.06) !important;
  }

  .mobile-compose::before{
    content:"✎";
    font-size:24px;
    font-weight:600;
  }

  .mobile-compose i{
    display:none !important;
  }
}


/* WOORDS people/search page - Threads style */
.people-page,
.people-shell,
.search-page{
    max-width:720px !important;
    margin:0 auto !important;
    padding:22px 18px 80px !important;
}

.people-page h1,
.people-shell h1,
.search-page h1{
    text-align:center !important;
    font-size:16px !important;
    font-weight:700 !important;
    margin:0 0 24px !important;
}

.people-search,
.search-box,
.people-filter,
.people-search-wrap{
    background:#f7f8fa !important;
    border:1px solid #e5e7eb !important;
    border-radius:18px !important;
    height:54px !important;
    display:flex !important;
    align-items:center !important;
    padding:0 18px !important;
    margin-bottom:24px !important;
    box-shadow:none !important;
}

.people-search input,
.search-box input,
.people-filter input,
.people-search-wrap input{
    border:0 !important;
    outline:0 !important;
    background:transparent !important;
    width:100% !important;
    font-size:16px !important;
}

.people-grid,
.people-list,
.users-list{
    display:block !important;
}

.person-card,
.user-card,
.people-card{
    display:grid !important;
    grid-template-columns:44px 1fr auto !important;
    gap:14px !important;
    align-items:start !important;
    padding:20px 0 !important;
    border:0 !important;
    border-bottom:1px solid #e5e7eb !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:transparent !important;
}

.person-card img,
.user-card img,
.people-card img,
.avatar{
    width:44px !important;
    height:44px !important;
    border-radius:50% !important;
    object-fit:cover !important;
}

.person-card h3,
.user-card h3,
.people-card h3{
    margin:0 0 2px !important;
    font-size:15px !important;
    font-weight:700 !important;
}

.person-card p,
.user-card p,
.people-card p{
    margin:2px 0 !important;
    color:#6b7280 !important;
    font-size:14px !important;
    line-height:1.35 !important;
}

.follow-btn,
.btn-follow,
.people-card button,
.user-card button{
    background:#050A7A !important;
    color:#fff !important;
    border:0 !important;
    border-radius:999px !important;
    padding:9px 22px !important;
    font-weight:700 !important;
    font-size:14px !important;
    min-width:96px !important;
}

.follow-btn:hover,
.btn-follow:hover{
    background:#0A4C8F !important;
}


/* People page - cleaner Threads-style override */
.people-shell{
    max-width:720px !important;
    padding:32px 18px 90px !important;
}

.people-header{
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    padding:0 !important;
    margin:0 0 18px !important;
    text-align:center !important;
}

.people-title{
    font-size:16px !important;
    font-weight:700 !important;
}

.people-subtitle,
.people-stats{
    display:none !important;
}

.people-searchbar{
    margin:0 0 22px !important;
}

.people-search-form{
    display:flex !important;
    gap:10px !important;
}

.people-search-input{
    height:56px !important;
    border-radius:18px !important;
    border:1px solid #ddd !important;
    background:#fafafa !important;
    box-shadow:none !important;
    padding:0 18px !important;
    font-size:16px !important;
}

.people-search-btn{
    height:56px !important;
    border-radius:16px !important;
    padding:0 24px !important;
    background:#050A7A !important;
    color:#fff !important;
    border:0 !important;
    font-weight:700 !important;
}

.people-grid{
    display:block !important;
}

.people-section{
    background:#fff !important;
    border:1px solid #e5e7eb !important;
    border-radius:22px !important;
    overflow:hidden !important;
    margin-bottom:16px !important;
    box-shadow:none !important;
}

.people-section-head{
    padding:18px 20px !important;
    border-bottom:1px solid #eee !important;
}

.people-section-title{
    font-size:17px !important;
    font-weight:800 !important;
}

.people-section-note{
    font-size:14px !important;
    color:#6b7280 !important;
}

.people-row{
    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    padding:18px 20px !important;
    border-bottom:1px solid #eee !important;
    background:transparent !important;
}

.people-row:last-child{
    border-bottom:0 !important;
}

.people-row-left{
    display:flex !important;
    gap:14px !important;
}

.people-avatar{
    width:48px !important;
    height:48px !important;
    border-radius:50% !important;
    background:#111827 !important;
    color:#fff !important;
    font-weight:800 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.people-name{
    font-size:15px !important;
    font-weight:800 !important;
    color:#111827 !important;
}

.people-handle,
.people-bio,
.people-context{
    color:#6b7280 !important;
    font-size:14px !important;
}

.people-follow{
    background:#050A7A !important;
    color:#fff !important;
    border:0 !important;
    border-radius:999px !important;
    padding:9px 22px !important;
    font-weight:800 !important;
    min-width:92px !important;
}

.people-follow.alt{
    background:#f3f4f6 !important;
    color:#111827 !important;
}


/* People page refinement - closer to Threads */
.people-search-btn,
.people-follow{
    background:#000 !important;
    color:#fff !important;
}

.people-search-btn:hover,
.people-follow:hover{
    background:#111 !important;
}

.people-follow.alt{
    background:#f2f2f2 !important;
    color:#111 !important;
}

/* flatter page */
.people-section{
    border-radius:18px !important;
    box-shadow:none !important;
}

/* less boxed/dashboard feel */
.people-section-head{
    padding:18px 22px 14px !important;
}

.people-row{
    padding:18px 22px !important;
}

/* softer search bar */
.people-search-input{
    background:#fff !important;
    border:1px solid #d9d9d9 !important;
    border-radius:18px !important;
}

/* make follow buttons more Threads-like */
.people-follow{
    min-width:96px !important;
    height:40px !important;
    padding:0 22px !important;
    border-radius:12px !important;
}

/* cleaner typography */
.people-title{
    font-size:15px !important;
}

.people-section-title{
    font-size:18px !important;
}

.people-name{
    font-size:16px !important;
}

.people-handle{
    color:#737373 !important;
}

/* reduce grey dashboard background feel */
.main{
    background:#fff !important;
}

.people-shell{
    padding-top:28px !important;
}


/* Restore WOORDS page background */
.main,
.feed-layout,
.page-shell{
    background:#f7f7f8 !important;
}


/* PEOPLE PAGE CLEANUP */

.people-shell,
.people-page,
.people-grid,
.feed.people-shell{
    background:transparent !important;
    box-shadow:none !important;
    border:none !important;
}

/* Restore WOORDS background */
.main,
.feed-layout,
.page-shell,
.content,
.content-wrap{
    background:#f7f7f8 !important;
}

/* Remove right rail on people page */
body.people-page .right-panel,
.people-shell + aside,
.main aside{
    display:none !important;
}

/* Centre content */
.feed.people-shell{
    max-width:760px !important;
    margin:0 auto !important;
}

/* Search first */
.people-header{
    margin-bottom:16px !important;
}

.people-title{
    font-size:15px !important;
    text-align:center !important;
    margin-bottom:12px !important;
}

.people-subtitle{
    display:none !important;
}

/* Remove section card feel */
.people-section{
    background:#fff !important;
    border:1px solid #ececec !important;
    border-radius:16px !important;
    box-shadow:none !important;
}

/* Tighter rows */
.people-row{
    padding:14px 20px !important;
}

.people-avatar{
    width:42px !important;
    height:42px !important;
    font-size:15px !important;
}

/* Search bar */
.people-search-input{
    background:#fff !important;
    border:1px solid #e5e7eb !important;
    border-radius:16px !important;
}

.people-search-btn{
    background:#000 !important;
    border-radius:14px !important;
}

/* Follow buttons */
.people-follow{
    background:#000 !important;
    border-radius:12px !important;
}

.people-follow.alt{
    background:#f2f2f2 !important;
    color:#111 !important;
}


/* Remove darker grey panels around People page and right rail */
body,
.main,
.feed-layout,
.content,
.content-wrap,
.page-shell,
.app-shell,
.layout,
.dashboard-layout,
.right-panel,
.right-rail,
aside,
.feed.people-shell{
    background:#f7f7f8 !important;
}

.people-shell,
.people-grid,
.people-section,
.right-panel > *,
.right-rail > *{
    box-shadow:none !important;
}

/* Keep actual cards white */
.people-section,
.right-panel .card,
.right-rail .card,
aside .card{
    background:#fff !important;
}


/* Force consistent background shade across People page */
html,
body,
.main,
.layout,
.dashboard-layout,
.feed-layout,
.woords-layout,
.app-layout,
.layout-grid,
.main-content,
.center-column,
.content,
.content-wrap,
.page-shell,
.right-panel,
.right-rail,
aside{
    background:#f5f5f5 !important;
}

/* Keep cards white */
.people-section,
.people-search-input,
.right-panel > *,
.right-rail > *,
aside > *{
    background:#fff !important;
}

/* Remove darker vertical bands */
.feed.people-shell,
.people-shell,
.people-grid{
    background:transparent !important;
}


/* Kill darker right-panel background */
.right-col,
.right-column,
.sidebar-right,
.aside-right,
.right-panel-wrap,
.right-panel-shell,
.feed-right,
.dashboard-right,
main + aside,
.main + aside{
    background:#f5f5f5 !important;
}

/* Also force anything inside the right column wrapper */
.right-col *,
.right-column *,
.sidebar-right *,
.aside-right *,
.feed-right *,
.dashboard-right *{
    background-color:transparent;
}

/* But keep the actual right cards white */
.right-col .card,
.right-column .card,
.sidebar-right .card,
.aside-right .card,
.feed-right .card,
.dashboard-right .card,
.right-card,
.discover-card,
.worldcup-card{
    background:#fff !important;
}


/* Threads-style floating compose button */
.woords-fab-compose{
  position:fixed;
  right:28px;
  bottom:28px;
  width:64px;
  height:64px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.08);
  background:#0f172a;
  color:#fff;
  font-size:34px;
  line-height:1;
  font-weight:300;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 18px 44px rgba(15,23,42,.24);
  cursor:pointer;
  z-index:9999;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.woords-fab-compose:hover{
  transform:translateY(-2px) scale(1.03);
  box-shadow:0 22px 52px rgba(15,23,42,.28);
  background:#020617;
}

.woords-fab-compose:active{
  transform:translateY(0) scale(.98);
}

@media(max-width:720px){
  .woords-fab-compose{
    right:18px;
    bottom:84px;
    width:58px;
    height:58px;
    font-size:31px;
  }
}

.woords-fab-compose{
  position:fixed!important;
  right:28px!important;
  bottom:28px!important;
  width:64px!important;
  height:64px!important;
  border-radius:999px!important;
  border:0!important;
  background:#0f172a!important;
  color:#fff!important;
  font-size:36px!important;
  z-index:99999!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:0 18px 44px rgba(15,23,42,.25)!important;
  cursor:pointer!important;
}

/* WOORDS compose modal */
.woords-compose-backdrop{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.28);
  backdrop-filter:blur(8px);
  z-index:99998;
  display:none;
  align-items:flex-start;
  justify-content:center;
  padding-top:90px;
}

.woords-compose-backdrop.open{display:flex;}

.woords-compose-modal{
  width:min(560px, calc(100vw - 28px));
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  box-shadow:0 30px 80px rgba(15,23,42,.22);
  overflow:hidden;
}

.woords-compose-head{
  height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 18px;
  border-bottom:1px solid #f1f5f9;
  font-weight:800;
}

.woords-compose-close{
  border:0;
  background:#f8fafc;
  width:34px;
  height:34px;
  border-radius:999px;
  cursor:pointer;
  font-size:18px;
}

.woords-compose-body{
  padding:18px;
}

.woords-compose-text{
  width:100%;
  min-height:170px;
  border:0;
  resize:none;
  outline:none;
  font-size:18px;
  line-height:1.45;
  font-family:inherit;
}

.woords-compose-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:14px 18px;
  border-top:1px solid #f1f5f9;
}

.woords-compose-post{
  border:0;
  background:#0f172a;
  color:#fff;
  border-radius:999px;
  padding:11px 20px;
  font-weight:800;
  cursor:pointer;
}

/* Threads-inspired compose modal */
.woords-compose-backdrop.open{
  display:flex !important;
}

.woords-compose-backdrop{
  align-items:flex-start !important;
  padding-top:70px !important;
  background:rgba(15,23,42,.18) !important;
  backdrop-filter:blur(10px) !important;
}

.woords-compose-modal{
  width:min(640px, calc(100vw - 32px)) !important;
  background:#fff !important;
  border-radius:24px !important;
  border:1px solid #dfe3e8 !important;
  box-shadow:0 24px 70px rgba(15,23,42,.22) !important;
  overflow:hidden !important;
}

.woords-compose-head{
  height:64px !important;
  display:grid !important;
  grid-template-columns:48px 1fr 88px !important;
  align-items:center !important;
  padding:0 18px !important;
  border-bottom:1px solid #edf0f3 !important;
}

.woords-compose-cancel{
  border:0 !important;
  background:transparent !important;
  font-size:30px !important;
  line-height:1 !important;
  cursor:pointer !important;
}

.woords-compose-title{
  text-align:center !important;
  font-weight:850 !important;
  font-size:20px !important;
}

.woords-compose-top-icons{
  display:flex !important;
  justify-content:flex-end !important;
  gap:12px !important;
  font-size:22px !important;
}

.woords-compose-body{
  padding:24px 30px 18px !important;
}

.woords-thread-row{
  display:grid !important;
  grid-template-columns:48px 1fr !important;
  gap:14px !important;
}

.woords-thread-avatar{
  width:44px !important;
  height:44px !important;
  border-radius:999px !important;
  background:#e5e7eb !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-weight:850 !important;
  color:#64748b !important;
}

.woords-thread-meta{
  font-size:17px !important;
  font-weight:850 !important;
  margin-bottom:4px !important;
}

.woords-thread-meta span{
  color:#9ca3af !important;
  font-weight:500 !important;
}

.woords-compose-text{
  width:100% !important;
  min-height:92px !important;
  border:0 !important;
  outline:0 !important;
  resize:none !important;
  font-size:17px !important;
  line-height:1.45 !important;
  font-family:inherit !important;
  padding:0 !important;
}

.woords-compose-toolbar{
  display:flex !important;
  align-items:center !important;
  gap:20px !important;
  margin-top:12px !important;
  color:#9ca3af !important;
  font-size:22px !important;
}

.woords-compose-tool{
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
  height:auto !important;
  font-size:21px !important;
  color:#9ca3af !important;
  cursor:pointer !important;
}

.woords-compose-preview{
  margin-top:14px !important;
  border-radius:18px !important;
  overflow:hidden !important;
  border:1px solid #e5e7eb !important;
  position:relative !important;
}

.woords-compose-preview img{
  width:100% !important;
  max-height:300px !important;
  object-fit:cover !important;
  display:block !important;
}

.woords-compose-footer{
  padding:18px 30px 24px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}

.woords-post-options{
  color:#8b8f97 !important;
  font-size:16px !important;
  font-weight:750 !important;
}

.woords-compose-post{
  border:1px solid #e5e7eb !important;
  background:#fff !important;
  color:#9ca3af !important;
  border-radius:14px !important;
  padding:12px 24px !important;
  font-weight:850 !important;
  cursor:pointer !important;
}

.woords-compose-post:not(:disabled){
  background:#0f172a !important;
  color:#fff !important;
  border-color:#0f172a !important;
}

.woords-compose-post:disabled{
  cursor:not-allowed !important;
  opacity:1 !important;
}

@media(max-width:720px){
  .woords-compose-backdrop{
    padding-top:24px !important;
  }
}

/* Threads-style composer final */
.woords-compose-backdrop{
  position:fixed!important;
  inset:0!important;
  background:rgba(15,23,42,.22)!important;
  backdrop-filter:blur(10px)!important;
  z-index:99998!important;
  display:none!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding-top:68px!important;
}

.woords-compose-backdrop.open{
  display:flex!important;
}

.threads-modal{
  width:min(640px, calc(100vw - 32px))!important;
  background:#fff!important;
  border-radius:26px!important;
  border:1px solid #dfe3e8!important;
  box-shadow:0 28px 80px rgba(15,23,42,.25)!important;
  overflow:hidden!important;
}

.threads-head{
  height:64px!important;
  display:grid!important;
  grid-template-columns:70px 1fr 70px!important;
  align-items:center!important;
  padding:0 18px!important;
  border-bottom:1px solid #edf0f3!important;
}

.threads-head strong{
  text-align:center!important;
  font-size:20px!important;
  font-weight:850!important;
}

.threads-close{
  border:0!important;
  background:transparent!important;
  font-size:34px!important;
  cursor:pointer!important;
}

.threads-icons{
  text-align:right!important;
  font-size:24px!important;
}

.threads-body{
  display:grid!important;
  grid-template-columns:48px 1fr!important;
  gap:14px!important;
  padding:24px 30px 16px!important;
}

.threads-avatar{
  width:44px!important;
  height:44px!important;
  border-radius:999px!important;
  background:#e5e7eb!important;
  color:#64748b!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-weight:850!important;
}

.threads-user{
  font-size:17px!important;
  font-weight:850!important;
  margin-bottom:4px!important;
}

.threads-user span{
  color:#9ca3af!important;
  font-weight:500!important;
}

.threads-text{
  width:100%!important;
  min-height:95px!important;
  border:0!important;
  outline:0!important;
  resize:none!important;
  font-size:18px!important;
  line-height:1.45!important;
  font-family:inherit!important;
}

.threads-tools{
  display:flex!important;
  gap:18px!important;
  align-items:center!important;
  margin-top:10px!important;
}

.threads-tools button,
.threads-tools label{
  border:0!important;
  background:transparent!important;
  color:#9ca3af!important;
  font-size:20px!important;
  font-weight:700!important;
  cursor:pointer!important;
}

.threads-preview{
  position:relative!important;
  margin-top:14px!important;
  border:1px solid #e5e7eb!important;
  border-radius:18px!important;
  overflow:hidden!important;
}

.threads-preview img{
  width:100%!important;
  max-height:300px!important;
  object-fit:cover!important;
  display:block!important;
}

.threads-remove{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  width:32px!important;
  height:32px!important;
  border:0!important;
  border-radius:999px!important;
  background:rgba(15,23,42,.8)!important;
  color:#fff!important;
}

.threads-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:18px 30px 24px!important;
}

.threads-footer span{
  color:#8b8f97!important;
  font-size:16px!important;
  font-weight:750!important;
}

.threads-post{
  border:1px solid #e5e7eb!important;
  background:#fff!important;
  color:#9ca3af!important;
  border-radius:14px!important;
  padding:12px 24px!important;
  font-weight:850!important;
}

.threads-post:not(:disabled){
  background:#0f172a!important;
  color:#fff!important;
  border-color:#0f172a!important;
}

.threads-tools label,
.threads-tools button{
  pointer-events:auto !important;
  min-width:32px !important;
  min-height:32px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* Threads modal icon alignment */
.threads-tools{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  margin-top:12px !important;
}

.threads-icon-tool,
.threads-tools button,
.threads-tools label{
  width:32px !important;
  height:32px !important;
  min-width:32px !important;
  min-height:32px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
  margin:0 !important;
  color:#9ca3af !important;
  cursor:pointer !important;
  line-height:1 !important;
}

.threads-icon-tool i,
.threads-tools i{
  font-size:18px !important;
  line-height:1 !important;
  width:18px !important;
  height:18px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.threads-icon-tool:hover,
.threads-tools button:hover,
.threads-tools label:hover{
  color:#111827 !important;
}

/* Restore Threads modal tools */
.threads-tools{
  display:flex !important;
  align-items:center !important;
  gap:18px !important;
  margin-top:18px !important;
}

.threads-icon-tool{
  width:32px !important;
  height:32px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:0 !important;
  background:transparent !important;
  color:#9ca3af !important;
  font-size:18px !important;
  font-weight:700 !important;
  padding:0 !important;
  cursor:pointer !important;
}

.threads-icon-tool:hover{
  color:#111827 !important;
}


.threads-tools{
  position:relative !important;
}

.threads-emoji-picker{
  position:absolute;
  top:42px;
  left:72px;
  width:220px;
  padding:10px;
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:#fff;
  box-shadow:0 18px 44px rgba(15,23,42,.16);
  display:none;
  grid-template-columns:repeat(8, 1fr);
  gap:6px;
  z-index:100000;
}

.threads-emoji-picker.open{
  display:grid;
}

.threads-emoji-picker button{
  width:24px;
  height:24px;
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:18px;
  line-height:1;
}

.threads-emoji-picker button:hover{
  background:#f3f4f6;
  border-radius:8px;
}

/* Emoji picker positioning fix */
.threads-emoji-picker{
  top:34px !important;
  left:82px !important;
  width:236px !important;
  padding:12px !important;
  border-radius:18px !important;
  background:#fff !important;
  box-shadow:0 10px 28px rgba(15,23,42,.14) !important;
  backdrop-filter:none !important;
}

.threads-emoji-picker button{
  width:26px !important;
  height:26px !important;
  font-size:18px !important;
}

/* Emoji picker final placement */
.threads-emoji-picker{
  top:30px !important;
  left:48px !important;
  width:224px !important;
  padding:10px !important;
  gap:5px !important;
  border-radius:16px !important;
  box-shadow:0 8px 24px rgba(15,23,42,.12) !important;
}

.threads-emoji-picker button{
  width:25px !important;
  height:25px !important;
  font-size:17px !important;
}

.threads-emoji-picker{
  width:420px !important;
  grid-template-columns:repeat(10, 1fr) !important;
}


.threads-counter{
  font-size:13px !important;
  color:#9ca3af !important;
  margin-right:12px !important;
  font-weight:600 !important;
}

.threads-counter.limit{
  color:#ef4444 !important;
}


/* Threads modal community selector */
.threads-community-select{
  margin-left:8px !important;
  border:0 !important;
  background:#f8fafc !important;
  color:#64748b !important;
  border-radius:999px !important;
  padding:6px 10px !important;
  font-size:13px !important;
  font-weight:700 !important;
  outline:none !important;
  cursor:pointer !important;
}

.threads-community-select:hover{
  background:#f1f5f9 !important;
  color:#111827 !important;
}


/* Posting-to row and add another WOORD */
.threads-user{
  display:flex !important;
  flex-direction:column !important;
  gap:3px !important;
}

.threads-user-name{
  font-size:16px !important;
  font-weight:850 !important;
  color:#111827 !important;
}

.threads-posting-to{
  font-size:13px !important;
  font-weight:700 !important;
  color:#9ca3af !important;
}

.threads-current-community{
  color:#64748b !important;
  background:#f8fafc !important;
  border:1px solid #eef2f7 !important;
  border-radius:999px !important;
  padding:3px 8px !important;
  margin-left:4px !important;
}

.threads-add-woord{
  margin-top:14px !important;
  color:#9ca3af !important;
  font-size:14px !important;
  font-weight:750 !important;
  cursor:pointer !important;
}

.threads-add-woord:hover{
  color:#111827 !important;
}


.threads-extra-text{
  margin-top:16px !important;
  padding-top:16px !important;
  border-top:1px solid #f1f5f9 !important;
  min-height:72px !important;
}

.woords-compose-backdrop.dragging .threads-modal{
  outline:3px dashed #94a3b8 !important;
  outline-offset:6px !important;
}


/* Image preview polish */
.threads-preview{
  margin-top:14px !important;
  border-radius:18px !important;
  overflow:hidden !important;
  border:1px solid #e5e7eb !important;
  background:#f8fafc !important;
}

.threads-preview::before{
  content:'Image attached';
  position:absolute;
  left:12px;
  top:10px;
  background:rgba(15,23,42,.72);
  color:#fff;
  font-size:12px;
  font-weight:700;
  padding:5px 9px;
  border-radius:999px;
  z-index:2;
}

.threads-remove{
  z-index:3 !important;
}

/* Threads-style poll box */
.threads-poll-box{
  display:grid;
  gap:8px;
  margin:14px 0 4px;
  padding:12px;
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:#f8fafc;
}

.threads-poll-box[hidden]{
  display:none !important;
}

.threads-poll-box input{
  height:42px;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:0 12px;
  background:#fff;
  outline:none;
  font-size:14px;
}

.threads-poll-add{
  height:38px;
  border:0;
  background:transparent;
  color:#64748b;
  font-weight:800;
  cursor:pointer;
  text-align:left;
}

.threads-poll-add:hover{
  color:#111827;
}

/* Mini tool popovers */
.threads-icon-tool{
  position:relative !important;
}

.threads-mini-popover{
  position:absolute;
  top:38px;
  left:50%;
  transform:translateX(-50%);
  white-space:nowrap;
  background:#111827;
  color:#fff;
  font-size:12px;
  font-weight:700;
  padding:7px 10px;
  border-radius:999px;
  box-shadow:0 10px 24px rgba(15,23,42,.18);
  z-index:100001;
  pointer-events:none;
}

.post-actions{
    display:flex;
    align-items:center;
    gap:18px;
    padding-top:8px;
}

.post-actions button{
    border:none;
    background:none;
    width:32px;
    height:32px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#666;
    cursor:pointer;
    transition:.15s;
}

.post-actions button:hover{
    background:#f5f5f5;
    color:#111;
}

.post-actions i{
    font-size:18px;
}


/* WOORDS Threads-style tidy post actions */
.post-footer{
  display:flex !important;
  align-items:center !important;
  gap:22px !important;
  margin-top:12px !important;
  padding-top:2px !important;
  border:0 !important;
}

.post-footer .icon-btn{
  appearance:none !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 !important;
  min-width:auto !important;
  height:32px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  color:#767676 !important;
  font-size:14px !important;
  font-weight:400 !important;
  line-height:1 !important;
  cursor:pointer !important;
  border-radius:999px !important;
}

.post-footer .icon-btn .icon{
  width:25px !important;
  height:25px !important;
  display:block !important;
  flex:0 0 25px !important;
  stroke-width:1.75 !important;
}

.post-footer .action-count,
.post-footer .reply-label{
  color:#8a8a8a !important;
  font-size:14px !important;
  font-weight:400 !important;
  white-space:nowrap !important;
  margin-left:2px !important;
}

.post-footer .icon-btn:hover{
  color:#111 !important;
  background:transparent !important;
}

.post-footer .icon-btn.liked{
  color:#111 !important;
}

.post-footer .js-report{
  margin-left:auto !important;
}


/* WOORDS final Threads-style compact action row */
.post-footer{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:28px !important;
  margin-top:18px !important;
  padding-left:16px !important;
  padding-right:16px !important;
  max-width:460px !important;
}

.post-footer .icon-btn{
  width:auto !important;
  height:30px !important;
  min-width:30px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#8f8f8f !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  border-radius:999px !important;
}

.post-footer .icon-btn .icon{
  width:24px !important;
  height:24px !important;
}

.post-footer .action-count,
.post-footer .reply-label{
  font-size:14px !important;
  color:#8f8f8f !important;
  line-height:1 !important;
}

.post-footer .js-report{
  margin-left:0 !important;
}

.post-footer .js-delete{
  margin-left:0 !important;
}

.post-footer .icon-btn:hover{
  color:#111 !important;
  background:transparent !important;
}


/* WOORDS Threads-like action row polish */
.post-footer{
  gap:32px !important;
  padding-left:18px !important;
  margin-top:20px !important;
  max-width:none !important;
}

.post-footer .icon-btn{
  height:28px !important;
  min-width:28px !important;
  gap:6px !important;
  color:#9b9b9b !important;
}

.post-footer .icon-btn .icon{
  width:25px !important;
  height:25px !important;
  stroke-width:1.65 !important;
}

.post-footer .reply-label{
  max-width:0 !important;
  overflow:hidden !important;
  opacity:0 !important;
  margin:0 !important;
}

.post-footer .js-reply-toggle:hover .reply-label{
  max-width:90px !important;
  opacity:1 !important;
  margin-left:4px !important;
}

.post-footer .action-count{
  font-size:14px !important;
  color:#9b9b9b !important;
}


.post-footer .reply-label{
  opacity:1 !important;
  max-width:none !important;
  overflow:visible !important;
  font-size:14px !important;
  color:#9b9b9b !important;
  margin-left:2px !important;
}


/* Threads-style action row */
.post-footer{
  gap:36px !important;
}

.post-footer .icon-btn{
  color:#6b6b6b !important;
}

.post-footer .icon{
  width:26px !important;
  height:26px !important;
}

.post-footer .action-count,
.post-footer .reply-label{
  font-size:13px !important;
  color:#a8a8a8 !important;
  font-weight:500 !important;
  margin-left:4px !important;
}

.post-footer .icon-btn:hover{
  color:#111 !important;
}

.post-footer .js-like:hover{
  color:#e0245e !important;
}

.post-footer .js-reply-toggle:hover{
  color:#111 !important;
}

.post-footer .js-share:hover{
  color:#111 !important;
}


/* WOORDS more-actions menu */
.post-more-wrap{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
}

.post-more-menu{
  display:none;
  position:absolute;
  right:0;
  top:34px;
  min-width:150px;
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:14px;
  box-shadow:0 12px 30px rgba(0,0,0,.12);
  padding:6px;
  z-index:50;
}

.post-more-wrap.open .post-more-menu{
  display:block;
}

.post-more-menu button{
  width:100%;
  border:0;
  background:transparent;
  text-align:left;
  padding:10px 12px;
  border-radius:10px;
  font-size:14px;
  cursor:pointer;
  color:#222;
}

.post-more-menu button:hover{
  background:#f5f5f5;
}

.post-more-menu button.danger{
  color:#c62828;
}


.post-more-wrap{
  position:relative !important;
}

.post-more-menu{
  position:absolute !important;
  bottom:42px !important;
  top:auto !important;
  right:-20px !important;

  width:170px !important;
  min-width:170px !important;

  background:#fff !important;
  border:1px solid #ececec !important;
  border-radius:18px !important;

  padding:6px !important;

  box-shadow:
    0 10px 30px rgba(0,0,0,.10),
    0 2px 10px rgba(0,0,0,.05) !important;

  z-index:9999 !important;
}

.post-more-menu::after{
  content:"";
  position:absolute;
  bottom:-6px;
  right:28px;
  width:12px;
  height:12px;
  background:#fff;
  border-right:1px solid #ececec;
  border-bottom:1px solid #ececec;
  transform:rotate(45deg);
}

.post-more-menu button{
  border-radius:12px !important;
  font-size:15px !important;
  padding:12px 14px !important;
}


/* Final align for post more menu */
.post-more-menu{
  bottom:34px !important;
  right:50% !important;
  transform:translateX(50%) !important;
  width:150px !important;
  min-width:150px !important;
  border-radius:16px !important;
  padding:5px !important;
}

.post-more-menu::after{
  right:50% !important;
  transform:translateX(50%) rotate(45deg) !important;
}

.post-more-menu button{
  font-size:14px !important;
  padding:10px 12px !important;
}


.post-more-menu button{
  font-weight:500 !important;
}

.post-more-menu .js-copy-link::before{
  content:"↗";
  display:inline-block;
  width:20px;
  color:#999;
}

.post-more-menu .js-report::before{
  content:"⚑";
  display:inline-block;
  width:20px;
  color:#999;
}

.post-more-menu .js-delete::before{
  content:"⌫";
  display:inline-block;
  width:20px;
  color:#c62828;
}


.post-footer .js-bookmark:hover{
  color:#111 !important;
}

.post-footer .js-bookmark.saved{
  color:#111 !important;
}

.post-footer .js-bookmark.saved svg path{
  fill:currentColor !important;
}


/* WOORDS like animation */
@keyframes woordsHeartPop{
  0%{transform:scale(1);}
  40%{transform:scale(1.28);}
  100%{transform:scale(1);}
}

.post-footer .js-like.liked{
  color:#e0245e !important;
}

.post-footer .js-like.liked .icon{
  animation:woordsHeartPop .28s ease;
}

.post-footer .js-like.liked svg path{
  fill:currentColor;
}


.post-footer .js-repost:hover,
.post-footer .js-repost.reposted{
  color:#00a86b !important;
}

.post-footer .repost-count{
  font-size:13px !important;
  color:#9b9b9b !important;
  margin-left:4px !important;
}

.post-footer .js-repost.reposted .repost-count{
  color:#00a86b !important;
}


/* WOORDS saved posts page */
.saved-page{
  width:100%;
  max-width:760px;
  margin:0 auto;
  padding:24px 18px 80px;
}

.saved-header-card{
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:22px;
  padding:22px 24px;
  margin-bottom:14px;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
}

.saved-header-card h1{
  margin:0;
  font-size:24px;
  font-weight:750;
  letter-spacing:-.03em;
}

.saved-header-card p{
  margin:6px 0 0;
  color:#777;
  font-size:15px;
}

.feed-loading{
  color:#777;
  padding:18px;
}


.saved-page{
  max-width:760px;
  margin:0 auto;
  padding:28px 18px 80px;
}

.saved-wrap{
  width:100%;
}

.saved-card{
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:22px;
  padding:20px 22px;
  margin-bottom:14px;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
}

.saved-title h1{
  margin:0;
  font-size:26px;
  letter-spacing:-.04em;
}

.saved-title p{
  margin:6px 0 0;
  color:#777;
}

.saved-user{
  display:flex;
  align-items:center;
  gap:12px;
}

.saved-user div:last-child div{
  color:#777;
  font-size:14px;
  margin-top:2px;
}

.saved-avatar{
  width:44px;
  height:44px;
  border-radius:50%;
  background:#f2f3f5;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
}

.saved-open{
  display:inline-flex;
  margin-top:14px;
  color:#111;
  font-weight:650;
  text-decoration:none;
}


/* Saved page inside normal WOORDS shell */
.saved-main{
  min-width:0;
}

.saved-feed{
  max-width:720px;
  margin:0 auto;
  padding:22px 18px 80px;
}

.saved-card{
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:22px;
  padding:20px 22px;
  margin-bottom:14px;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
}

.saved-title h1{
  margin:0;
  font-size:26px;
  letter-spacing:-.04em;
}

.saved-title p{
  margin:6px 0 0;
  color:#777;
}

.saved-user{
  display:flex;
  align-items:center;
  gap:12px;
}

.saved-avatar{
  width:44px;
  height:44px;
  border-radius:50%;
  background:#f2f3f5;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
}

.saved-open{
  display:inline-flex;
  margin-top:14px;
  color:#111;
  font-weight:650;
  text-decoration:none;
}


.saved-body{
  margin-top:14px;
  font-size:15.5px;
  line-height:1.5;
  color:#222;
}

.saved-media{
  margin-top:12px;
  border:1px solid #e5e5e5;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
}

.saved-media img{
  display:block;
  width:100%;
  max-height:520px;
  object-fit:cover;
}

.saved-actions{
  display:flex;
  align-items:center;
  gap:24px;
  margin-top:14px;
  color:#777;
  font-size:14px;
}


.saved-post .post-footer{
  padding-left:0 !important;
  margin-top:16px !important;
}

.saved-post .saved-post-footer a.icon-btn{
  text-decoration:none !important;
}


.saved-post .saved-open{
  display:inline-flex;
  margin-top:10px;
  font-size:14px;
  font-weight:650;
  color:#111;
  text-decoration:none;
}

.saved-post .saved-open:hover{
  text-decoration:underline;
}


.post-replies-title{
  margin-top:14px;
}

.post-replies-title h1{
  font-size:20px;
}

.post-reply-card{
  margin-left:26px;
  border-radius:20px;
}


.post-reply-composer form{
  display:flex;
  gap:12px;
  align-items:flex-end;
}

.post-reply-composer textarea{
  flex:1;
  min-height:46px;
  max-height:140px;
  resize:vertical;
  border:1px solid #e5e5e5;
  background:#f8f8f8;
  border-radius:16px;
  padding:12px 14px;
  font:inherit;
  outline:none;
}

.post-reply-composer textarea:focus{
  background:#fff;
  border-color:#cfcfcf;
}

.post-reply-composer button{
  border:0;
  border-radius:999px;
  background:#111827;
  color:#fff;
  padding:11px 18px;
  font-weight:750;
  cursor:pointer;
}

.post-reply-composer button:hover{
  background:#000;
}


.user-profile-card h1{
  margin:0;
  font-size:24px;
  letter-spacing:-.04em;
}

.user-bio{
  margin:16px 0 0;
  color:#333;
  line-height:1.5;
}

.user-tabs{
  display:flex;
  gap:8px;
  margin-top:18px;
  border-top:1px solid #ececec;
  padding-top:14px;
}

.user-tabs button{
  border:0;
  background:#f5f5f5;
  border-radius:999px;
  padding:9px 14px;
  font-weight:700;
  color:#666;
}

.user-tabs button.active{
  background:#111;
  color:#fff;
}

.user-tabs button:disabled{
  opacity:.45;
}


.user-stats{
  display:flex;
  gap:18px;
  margin-top:16px;
  color:#666;
  font-size:14px;
}

.user-stats strong{
  color:#111;
}

.follow-btn{
  margin-top:16px;
  border:0;
  border-radius:999px;
  background:#111;
  color:#fff;
  padding:10px 18px;
  font-weight:750;
  cursor:pointer;
}

.follow-btn.following{
  background:#f3f4f6;
  color:#111;
  border:1px solid #ddd;
}


/* WOORDS follow button */
.follow-btn{
  margin-top:16px;
  padding:10px 18px;
  border-radius:999px;
  border:none;
  background:#111 !important;
  color:#fff !important;
  font-weight:700;
  cursor:pointer;
  transition:all .15s ease;
}

.follow-btn:hover{
  background:#000 !important;
}

.follow-btn.following{
  background:#f3f4f6 !important;
  color:#111 !important;
  border:1px solid #dcdcdc !important;
}

.follow-btn.following:hover{
  background:#ececec !important;
}


.feed-tabs{
  display:flex;
  gap:8px;
  margin:0 0 14px;
  padding:0 4px;
}

.feed-tab{
  border:0;
  border-radius:999px;
  background:#f1f1f1;
  color:#666;
  padding:9px 15px;
  font-weight:750;
  cursor:pointer;
}

.feed-tab.active{
  background:#111;
  color:#fff;
}


.activity-hero{
  display:grid;
  grid-template-columns:58px 1fr;
  gap:14px;
  align-items:center;
  margin:18px 0 14px;
  padding:20px;
  border:1px solid rgba(226,232,240,.92);
  border-radius:24px;
  background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
}

.activity-icon{
  width:52px;
  height:52px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:#111827;
  color:#fff;
}

.activity-icon svg{
  width:25px;
  height:25px;
}

.activity-kicker{
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#8a94a6;
  font-size:12px;
  font-weight:800;
}

.activity-hero h1{
  margin:2px 0 2px;
  font-size:32px;
  letter-spacing:-.05em;
}

.activity-hero p{
  margin:0;
  color:#667085;
}

.activity-empty{
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:22px;
  padding:22px;
}

.activity-btn{
  display:inline-flex;
  margin-top:12px;
  border:0;
  border-radius:999px;
  background:#111;
  color:#fff;
  padding:10px 16px;
  font-weight:750;
  text-decoration:none;
}


.activity-hero{
  display:grid;
  grid-template-columns:58px 1fr;
  gap:14px;
  align-items:center;
  margin:18px 0 14px;
  padding:20px;
  border:1px solid rgba(226,232,240,.92);
  border-radius:24px;
  background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
}

.activity-icon{
  width:52px;
  height:52px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:#111827;
  color:#fff;
}

.activity-icon svg{
  width:25px;
  height:25px;
}

.activity-kicker{
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#8a94a6;
  font-size:12px;
  font-weight:800;
}

.activity-hero h1{
  margin:2px 0 2px;
  font-size:32px;
  letter-spacing:-.05em;
}

.activity-hero p{
  margin:0;
  color:#667085;
}

.activity-empty{
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:22px;
  padding:22px;
}

.activity-btn{
  display:inline-flex;
  margin-top:12px;
  border:0;
  border-radius:999px;
  background:#111;
  color:#fff;
  padding:10px 16px;
  font-weight:750;
  text-decoration:none;
}


.user-stats a{
  color:#666;
  text-decoration:none;
}

.user-stats a:hover{
  color:#111;
  text-decoration:underline;
}

.connection-user{
  display:flex;
  align-items:center;
  gap:12px;
  color:#111;
  text-decoration:none;
}

.connection-user div:last-child div{
  color:#777;
  margin-top:2px;
}


.suggested-list{
  display:grid;
  gap:12px;
}

.suggested-user{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.suggested-person{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  color:#111;
  text-decoration:none;
}

.suggested-avatar{
  width:34px;
  height:34px;
  border-radius:50%;
  background:#f2f3f5;
  display:grid;
  place-items:center;
  font-weight:800;
  flex:0 0 34px;
}

.suggested-meta{
  min-width:0;
  display:grid;
}

.suggested-meta strong{
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.suggested-meta span{
  font-size:12px;
  color:#777;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.suggested-follow{
  border:0;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-size:12px;
  font-weight:750;
  padding:7px 11px;
  cursor:pointer;
}

.suggested-follow.following{
  background:#f3f4f6;
  color:#111;
  border:1px solid #ddd;
}


/* Suggested users polish */
.suggested-card{
  padding:16px 14px !important;
}

.suggested-card .right-card-title{
  margin-bottom:14px;
}

.suggested-list{
  gap:10px !important;
}

.suggested-user{
  gap:10px !important;
  padding:6px 0;
}

.suggested-person{
  flex:1;
  min-width:0;
}

.suggested-avatar{
  width:38px !important;
  height:38px !important;
  flex:0 0 38px !important;
  font-size:13px;
}

.suggested-meta strong{
  font-size:14px !important;
  line-height:1.15;
}

.suggested-meta span{
  font-size:13px !important;
  line-height:1.2;
  color:#7b7f87 !important;
}

.suggested-follow{
  flex:0 0 auto;
  min-width:68px;
  height:34px;
  padding:0 13px !important;
  font-size:13px !important;
  border-radius:999px !important;
}

.suggested-follow.following{
  min-width:86px;
}


/* WOORDS suggested users card */
.suggested-card{
  background:#fff !important;
  border:1px solid #eceef2 !important;
  border-radius:28px !important;
  padding:22px !important;
  margin:16px 0 !important;
  box-shadow:0 1px 2px rgba(0,0,0,.03) !important;
}

.suggested-card .right-card-title{
  margin-bottom:16px !important;
}

.suggested-list{
  display:flex !important;
  flex-direction:column !important;
  gap:16px !important;
}

.suggested-user{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
}

.suggested-person{
  flex:1 !important;
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  text-decoration:none !important;
  color:inherit !important;
  min-width:0 !important;
}

.suggested-avatar{
  width:42px !important;
  height:42px !important;
  border-radius:50% !important;
  background:#f3f4f6 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-weight:700 !important;
  flex-shrink:0 !important;
}

.suggested-meta strong{
  display:block !important;
  font-size:15px !important;
  line-height:1.2 !important;
}

.suggested-meta span{
  display:block !important;
  margin-top:2px !important;
  font-size:13px !important;
  color:#6b7280 !important;
}

.suggested-follow{
  min-width:74px !important;
  height:34px !important;
  padding:0 14px !important;
  border:none !important;
  border-radius:999px !important;
  background:#111827 !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:700 !important;
  cursor:pointer !important;
}

.suggested-follow.following{
  background:#f3f4f6 !important;
  color:#111827 !important;
  border:1px solid #d9dde3 !important;
}


/* Right rail spacing consistency */
.right-card{
  margin-bottom:16px !important;
}

.suggested-card{
  margin:0 0 16px 0 !important;
}

.suggested-list{
  gap:12px !important;
}

.suggested-user{
  padding:2px 0 !important;
}

.suggested-card .right-card-title{
  margin-bottom:14px !important;
}


.suggested-card{
  padding:18px !important;
}

.suggested-avatar{
  width:38px !important;
  height:38px !important;
}


/* Right rail final spacing normalisation */
.right-panel,
.right-col,
aside .right-inner{
  gap:14px !important;
}

.right-card{
  margin:0 0 14px 0 !important;
  padding:18px !important;
  border-radius:24px !important;
  border:1px solid #e5e7eb !important;
  box-shadow:0 1px 2px rgba(0,0,0,.03) !important;
}

.suggested-card{
  margin:0 0 14px 0 !important;
  padding:18px !important;
  border-radius:24px !important;
}

.suggested-list{
  gap:11px !important;
}

.suggested-user{
  padding:0 !important;
  min-height:42px !important;
}

.suggested-avatar{
  width:38px !important;
  height:38px !important;
  flex-basis:38px !important;
}

.suggested-follow{
  height:32px !important;
  min-width:68px !important;
}


/* FINAL right rail spacing fix */
.side .right-rail{
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
}

.side .right-rail > .right-card{
  margin:0 !important;
}

.side .right-rail .suggested-card{
  margin:0 !important;
}


.suggested-meta em{
  display:block;
  margin-top:2px;
  font-style:normal;
  font-size:12px;
  color:#9ca3af;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}


/* Verified badge */
.verified-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  margin-left:4px;
  border-radius:50%;
  background:#1d9bf0;
  color:#fff;
  font-size:10px;
  font-weight:700;
  vertical-align:middle;
}


/* Smaller verified badge */
.verified-badge{
  width:14px !important;
  height:14px !important;
  font-size:9px !important;
  margin-left:3px !important;
  margin-right:2px !important;
}

CSScat >> /var/www/woords/assets/css/dashboard.css <<'CSS'

/* Smaller verified badge */
.verified-badge{
  width:14px !important;
  height:14px !important;
  font-size:9px !important;
  margin-left:3px !important;
  margin-right:2px !important;
}


/* Profile verified badge spacing */
h1 .verified-badge,
.profile-name .verified-badge,
.user-profile-card .verified-badge{
  margin-left:6px !important;
  position:relative;
  top:-1px;
}


.notif-type-icon{
  display:inline-flex;
  width:18px;
  margin-right:6px;
  align-items:center;
  justify-content:center;
}


.people-name .verified-badge{
  display:inline-flex !important;
  margin-left:6px !important;
  vertical-align:middle !important;
}


.people-name .verified-badge{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:14px !important;
  height:14px !important;
  margin-left:6px !important;
  background:#1d9bf0 !important;
  color:#fff !important;
  border-radius:50% !important;
  font-size:9px !important;
  font-weight:700 !important;
  line-height:1 !important;
}


.admin-verified-table{
  width:100%;
  border-collapse:collapse;
}

.admin-verified-table th,
.admin-verified-table td{
  padding:14px 10px;
  border-bottom:1px solid #eee;
  text-align:left;
  vertical-align:middle;
}

.admin-verified-table th{
  color:#7b8494;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.admin-verified-table td div{
  color:#6b7280;
  margin-top:3px;
}

.verify-on,
.verify-off{
  border:0;
  border-radius:999px;
  padding:9px 14px;
  font-weight:750;
  cursor:pointer;
}

.verify-on{
  background:#111827;
  color:#fff;
}

.verify-off{
  background:#f3f4f6;
  color:#111827;
  border:1px solid #ddd;
}


.admin-verify-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.admin-verify-hero h1{
  margin:0 0 6px;
}

.admin-verify-hero p{
  margin:0;
  color:#667085;
}

.admin-verify-stat{
  min-width:130px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:14px;
  text-align:center;
}

.admin-verify-stat strong{
  display:block;
  font-size:28px;
}

.admin-verify-stat span{
  color:#667085;
  font-size:12px;
}

.admin-verify-search{
  display:flex;
  gap:10px;
}

.admin-verify-search input{
  flex:1;
  border:1px solid #ddd;
  border-radius:14px;
  padding:12px 14px;
}

.admin-verify-search button,
.admin-verify-search a{
  border:0;
  border-radius:14px;
  background:#111;
  color:#fff;
  padding:12px 16px;
  font-weight:750;
  text-decoration:none;
}

.admin-verify-search a{
  background:#f3f4f6;
  color:#111;
}

.admin-verified-table{
  width:100%;
  border-collapse:collapse;
}

.admin-verified-table th,
.admin-verified-table td{
  padding:14px 10px;
  border-bottom:1px solid #eee;
  text-align:left;
  vertical-align:top;
}

.admin-verified-table th{
  color:#7b8494;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.admin-verified-table td div{
  color:#6b7280;
  margin-top:3px;
}

.verify-pill{
  display:inline-flex;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:800;
}

.verify-pill.on{
  background:#e8f2ff;
  color:#0969da;
}

.verify-pill.off{
  background:#f3f4f6;
  color:#6b7280;
}

.verify-inline-form{
  display:flex;
  gap:6px;
  align-items:center;
}

.verify-inline-form input{
  max-width:120px;
  border:1px solid #ddd;
  border-radius:12px;
  padding:9px 10px;
}

.verify-on,
.verify-off{
  border:0;
  border-radius:999px;
  padding:9px 14px;
  font-weight:800;
  cursor:pointer;
}

.verify-on{
  background:#111827;
  color:#fff;
}

.verify-off{
  background:#f3f4f6;
  color:#111827;
  border:1px solid #ddd;
}

