/* ============================================================================
   HookGuard · premium.css
   Premium layer for: pricing, mail, staff chat & panel, explore cards,
   source editor, role badges, banned wall, wallet withdrawals, guard states.
   Sits on top of style.css / v49.css / v50-fixes.css — only refines,
   uses the shared theme variables so the light theme keeps working.
   ========================================================================== */

/* ============================ 1 · PRICING ================================ */

.pricing-term-switch.pr-terms {
  gap: 6px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
}
.pr-terms .pr-term {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 118px;
  padding: 10px 20px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  cursor: pointer;
  transition: color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
  text-align: center;
  line-height: 1.25;
}
.pr-terms .pr-term b {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: inherit;
}
.pr-terms .pr-term span { font-size: 12.5px; font-weight: 600; }
.pr-terms .pr-term small {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .02em;
  opacity: .75;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pr-terms .pr-term:hover { color: #fff; background: rgba(255,255,255,.05); }
.pr-terms .pr-term.on {
  color: #fff;
  background: linear-gradient(145deg, rgba(255,53,53,.95), rgba(255,53,53,.62));
  border-color: rgba(255,120,120,.55);
  box-shadow: 0 10px 26px rgba(255,53,53,.35), inset 0 1px 0 rgba(255,255,255,.28);
}
.pr-terms .pr-term.on small { opacity: .95; color: #ffd9d9; }
.pr-terms .pr-term.best.on small { color: #ffe9b8; }
.pr-term-best-tag {
  position: absolute;
  top: -9px;
  right: 14px;
  padding: 2px 8px 1px;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .12em;
  color: #241303;
  background: linear-gradient(135deg, #ffd66b, #ffb020);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255,176,32,.45);
}
@media (max-width: 560px) {
  .pr-terms .pr-term { min-width: 84px; padding: 9px 10px 8px; }
  .pr-terms .pr-term small { display: none; }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.16); }
.price-card.featured {
  border-color: rgba(255,53,53,.5);
  box-shadow: 0 24px 70px rgba(255,53,53,.16), inset 0 1px 0 rgba(255,255,255,.1);
  background: linear-gradient(170deg, rgba(255,53,53,.1), rgba(16,18,28,.5) 46%), var(--card);
}
.price-was {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-height: 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.price-was s {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration-color: rgba(255,80,80,.85);
  text-decoration-thickness: 2px;
}
.price-amount {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.price-amount .price-period {
  display: inline-block;
  margin-left: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-muted);
}
.price-save {
  min-height: 24px;
  padding: 4px 12px;
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 700;
  color: #b9ffd9;
  background: rgba(46,204,113,.13);
  border: 1px solid rgba(46,204,113,.32);
  border-radius: 999px;
}
.price-save.neutral {
  color: var(--text-muted);
  background: rgba(255,255,255,.04);
  border-color: var(--border);
}

/* ============================ 2 · MAIL =================================== */

#view-mail .mail-shell { max-width: 1240px; }
.mail-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mail-head-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mail-unread-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffd9d9;
  background: rgba(255,53,53,.14);
  border: 1px solid rgba(255,53,53,.4);
  border-radius: 999px;
}
.mail-unread-chip.zero { color: var(--text-muted); background: rgba(255,255,255,.04); border-color: var(--border); }

.mail-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}
.mail-toolbar .mail-search { flex: 1 1 240px; }
.mail-filters-btn { position: relative; }
.mail-filters-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
}

.mail-filters {
  margin-bottom: 14px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.mail-filters-in { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.mf-block { display: flex; flex-direction: column; gap: 8px; }
.mf-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.mf-cats { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.mf-cat {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,.035);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s ease;
  user-select: none;
}
.mf-cat input { accent-color: var(--accent); margin: 0; }
.mf-cat:has(input:checked) {
  color: #fff;
  background: rgba(255,53,53,.16);
  border-color: rgba(255,53,53,.5);
}
.mf-dates { display: flex; gap: 10px; flex-wrap: wrap; }
.mf-date { display: flex; flex-direction: column; gap: 5px; }
.mf-date label { font-size: 11.5px; font-weight: 600; color: var(--text-muted); }
.mf-actions { margin-left: auto; align-self: flex-end; }

/* Two-pane layout — the fix for the squeezed-letter / side-stripes problem:
   a stable 380px list rail + a fluid reading pane on wide screens. */
.mail-layout {
  display: grid;
  grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.mail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: calc(100vh - 320px);
  min-height: 420px;
  overflow-y: auto;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  scrollbar-width: thin;
}
.mail-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  text-align: left;
  color: #fff;
  background: rgba(255,255,255,.028);
  border: 1px solid transparent;
  border-radius: 15px;
  cursor: pointer;
  font-family: var(--font);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  animation: mailIn .3s ease backwards;
}
@keyframes mailIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mail-item:hover { background: rgba(255,255,255,.06); transform: translateX(2px); }
.mail-item.on {
  background: rgba(255,53,53,.12);
  border-color: rgba(255,53,53,.45);
  box-shadow: inset 3px 0 0 var(--accent);
}
.mail-item.read .mail-item-title { color: var(--text-muted); font-weight: 600; }
.mail-av {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  border: 1px solid var(--border);
  border-radius: 13px;
  overflow: visible;
}
.mail-av svg { width: 19px; height: 19px; }
.mail-av.av-security { color: #ffd9d9; background: rgba(255,53,53,.18); border-color: rgba(255,53,53,.45); }
.mail-av.av-purchase { color: #b9ffd9; background: rgba(46,204,113,.16); border-color: rgba(46,204,113,.42); }
.mail-av.av-sale { color: #d9e8ff; background: rgba(90,140,255,.18); border-color: rgba(90,140,255,.45); }
.mail-av.av-wallet { color: #ffe9b8; background: rgba(241,196,15,.16); border-color: rgba(241,196,15,.45); }
.mail-av.av-review { color: #e8d9ff; background: rgba(155,89,255,.18); border-color: rgba(155,89,255,.45); }
.mail-av.av-moderation { color: #ffe0c2; background: rgba(255,150,60,.16); border-color: rgba(255,150,60,.45); }
.mail-item-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 11px;
  height: 11px;
  background: var(--accent);
  border: 2px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255,53,53,.8);
}
.mail-item-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mail-item-top { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; }
.mail-item-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mail-item-time { font-size: 11.5px; color: var(--text-muted); flex-shrink: 0; }
.mail-item-prev {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mail-item-from {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
}
.mail-item-badge {
  padding: 1px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ffd9d9;
  background: rgba(255,53,53,.18);
  border-radius: 999px;
}
.mail-item.read .mail-item-badge { color: var(--text-muted); background: rgba(255,255,255,.06); }

.mail-read {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  max-height: calc(100vh - 320px);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.mail-read-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
}
.mail-read-empty svg { width: 46px; height: 46px; opacity: .5; }
.mail-read-empty p { max-width: 320px; font-size: 14px; }
.mail-read-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.mail-read-body.anim { animation: mailReadIn .28s ease; }
@keyframes mailReadIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mail-read-fixed {
  padding: 24px 28px 0;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
}
.mail-letter-hero { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.mail-letter-hero > div { flex: 1; min-width: 0; }
.mail-letter-hero small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--accent-hover);
  margin-bottom: 3px;
}
.mail-read-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.mail-letter-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 16px;
  color: var(--accent-hover);
  background: rgba(255,53,53,.12);
  border: 1px solid rgba(255,53,53,.35);
}
.mail-letter-icon svg { width: 24px; height: 24px; }
.mail-letter-icon.av-security { color: #ffd9d9; background: rgba(255,53,53,.18); border-color: rgba(255,53,53,.45); }
.mail-letter-icon.av-purchase { color: #b9ffd9; background: rgba(46,204,113,.16); border-color: rgba(46,204,113,.42); }
.mail-letter-icon.av-sale { color: #d9e8ff; background: rgba(90,140,255,.18); border-color: rgba(90,140,255,.45); }
.mail-letter-icon.av-wallet { color: #ffe9b8; background: rgba(241,196,15,.16); border-color: rgba(241,196,15,.45); }
.mail-letter-icon.av-review { color: #e8d9ff; background: rgba(155,89,255,.18); border-color: rgba(155,89,255,.45); }
.mail-letter-icon.av-moderation { color: #ffe0c2; background: rgba(255,150,60,.16); border-color: rgba(255,150,60,.45); }
.mail-read-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-muted);
}
.mail-cat-chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,53,53,.18);
  border: 1px solid rgba(255,53,53,.4);
}
.mail-read-time { display: inline-flex; gap: 6px; align-items: center; }
.mail-read-time svg { width: 13px; height: 13px; }
.mail-read-scroll { flex: 1; overflow-y: auto; padding: 22px 28px 28px; scrollbar-width: thin; }
.mail-read-text {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.92);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.mail-read-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.mail-del-btn svg { color: #ff9c9c; }
.mail-gate, .mail-empty-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
}
.mail-gate .empty-ico, .mail-empty-list .empty-ico { width: 46px; height: 46px; opacity: .5; }
@media (max-width: 980px) {
  .mail-layout { grid-template-columns: 1fr; }
  .mail-list { max-height: 340px; min-height: 220px; }
  .mail-read { min-height: 480px; }
}

/* ============================ 3 · STAFF ================================== */

body.staff-active { overflow: hidden; }
#view-staff { padding: 0 !important; }
.site-main.staff-mode, #siteMain.staff-mode { background: transparent; }
.staff-shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  padding: 0;
  gap: 0;
  overflow: hidden;
}
/* Hero with the back arrow pinned top-left, like a product app */
.staff-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.staff-hero-brand { display: flex; gap: 14px; align-items: center; min-width: 0; }
.staff-hero-back {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all .16s ease;
}
.staff-hero-back:hover { background: rgba(255,53,53,.18); border-color: rgba(255,53,53,.5); transform: translateX(-2px); }
.staff-hero-back svg { width: 20px; height: 20px; }
.staff-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: #ffd9d9;
  background: linear-gradient(150deg, rgba(255,53,53,.3), rgba(255,53,53,.08));
  border: 1px solid rgba(255,53,53,.45);
  border-radius: 14px;
}
.staff-mark svg { width: 22px; height: 22px; }
.staff-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--accent-hover);
}
.staff-hero h2 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.staff-hero p { font-size: 12.5px; color: var(--text-muted); max-width: 520px; }
.staff-hero-actions { display: flex; gap: 10px; align-items: center; }
.staff-online {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: #b9ffd9;
  background: rgba(46,204,113,.1);
  border: 1px solid rgba(46,204,113,.32);
  border-radius: 999px;
}
.staff-online i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: staffPulse 2s ease infinite;
}
@keyframes staffPulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* Metrics */
.staff-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 22px 0;
}
.staff-metric {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.staff-metric b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.staff-metric span { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.staff-metric-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 13px;
  color: #fff;
}
.staff-metric-ico svg { width: 19px; height: 19px; }
.staff-metric-ico.red { background: rgba(255,53,53,.16); border: 1px solid rgba(255,53,53,.4); }
.staff-metric-ico.gold { background: rgba(241,196,15,.14); border: 1px solid rgba(241,196,15,.4); }
.staff-metric-ico.green { background: rgba(46,204,113,.13); border: 1px solid rgba(46,204,113,.38); }
.staff-metric-ico.violet { background: rgba(155,89,255,.15); border: 1px solid rgba(155,89,255,.42); }

/* Layout: sidebar + content, no empty side stripes */
.staff-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 0;
  min-height: 0;
  padding: 14px 22px 20px;
}
.staff-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 14px;
}
.staff-nav {
  display: flex;
  gap: 11px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  transition: all .15s ease;
  text-align: left;
}
.staff-nav svg { width: 18px; height: 18px; flex-shrink: 0; }
.staff-nav em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  color: #ffd9d9;
  background: rgba(255,53,53,.18);
  border-radius: 999px;
}
.staff-nav:hover { color: #fff; background: rgba(255,255,255,.05); }
.staff-nav.on {
  color: #fff;
  background: rgba(255,53,53,.14);
  border-color: rgba(255,53,53,.4);
  box-shadow: inset 3px 0 0 var(--accent);
}
.staff-policy-mini {
  margin-top: auto;
  display: flex;
  gap: 10px;
  padding: 13px;
  font-size: 11.5px;
  color: var(--text-muted);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.staff-policy-mini svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent-hover); margin-top: 2px; }
.staff-policy-mini b { display: block; color: #fff; font-size: 12px; margin-bottom: 2px; }

.staff-content { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.staff-pane { display: none; flex-direction: column; min-height: 0; flex: 1; }
.staff-pane.on { display: flex; }
.staff-pane-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
}
.staff-pane-head h3 { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.staff-pane-head p { font-size: 12.5px; color: var(--text-muted); }
.staff-filters { display: flex; gap: 6px; align-items: center; }
.staff-refresh { padding: 9px 11px; }

/* Review queue */
.mod-queue {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 2px 6px 8px 2px;
  scrollbar-width: thin;
}
.mod-card.staff-review-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: all .16s ease;
  animation: cardIn .3s ease backwards;
}
.mod-card.staff-review-card:hover { border-color: rgba(255,53,53,.45); transform: translateY(-2px); }
.mod-card.staff-review-card:has([data-mod-ok]) { border-color: rgba(155,89,255,.4); }
.mod-card-top { display: flex; gap: 12px; align-items: center; }
.mod-card-top .rf-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: var(--accent-hover);
  background: rgba(255,53,53,.12);
  border: 1px solid rgba(255,53,53,.35);
  border-radius: 14px;
}
.mod-card-meta { flex: 1; min-width: 0; }
.mod-card-meta b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.mod-card-meta .comment-time { font-size: 12px; }
.mod-assignee {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
}
.mod-assignee svg { width: 14px; height: 14px; }
.mod-assignee.mine { color: #e8d9ff; background: rgba(155,89,255,.18); border: 1px solid rgba(155,89,255,.5); }
.mod-assignee.open { color: var(--text-muted); background: rgba(255,255,255,.05); border: 1px solid var(--border); }
.mod-revision-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 9px 13px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(0,0,0,.2);
  border-radius: 11px;
}
.mod-revision-row b { color: #fff; font-family: var(--mono); font-size: 11.5px; }
.mod-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.mod-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.mod-shot {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.mod-script-prev {
  padding: 11px 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: rgba(255,255,255,.6);
  background: #0b0d14;
  border: 1px solid var(--border);
  border-radius: 11px;
  overflow-x: auto;
  white-space: nowrap;
}
.mod-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mod-handoff { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 10px; border-top: 1px solid var(--border); }
.mod-handoff select {
  font-family: var(--font);
  font-size: 12.5px;
  color: #fff;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
}
.guard-chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 999px;
}
.guard-chip.ok { color: #b9ffd9; background: rgba(46,204,113,.12); border: 1px solid rgba(46,204,113,.35); }
.guard-chip.warn { color: #ffe9b8; background: rgba(241,196,15,.12); border: 1px solid rgba(241,196,15,.4); }
.guard-chip.bad { color: #ffd9d9; background: rgba(255,53,53,.14); border: 1px solid rgba(255,53,53,.45); }

/* ===== Staff chat — Telegram-style, full width, bigger text ===== */
#staff-chat { overflow: hidden; }
.staff-chat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.staff-chat-feed {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  padding: 18px 20px;
  scrollbar-width: thin;
}
.staff-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 60px;
  text-align: center;
  color: var(--text-muted);
}
.staff-empty svg { width: 44px; height: 44px; opacity: .5; }
.staff-msg {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  transition: background .14s ease;
}
.staff-msg:hover { background: rgba(255,255,255,.035); }
.staff-msg.mine { background: rgba(255,53,53,.06); border: 1px solid rgba(255,53,53,.14); }
.staff-msg-av {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(150deg, rgba(255,53,53,.4), rgba(255,53,53,.12));
  border: 1px solid rgba(255,53,53,.4);
  border-radius: 50%;
  overflow: hidden;
}
.staff-msg-av img { width: 100%; height: 100%; object-fit: cover; }
.staff-msg-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 3px;
}
.staff-msg-head b { font-size: 14.5px; font-weight: 800; letter-spacing: -0.01em; }
.staff-msg-head time {
  /* time sits next to the author (top-left of the box), not in a far corner */
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.msg-role {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
}
.msg-role.admin { color: #241303; background: linear-gradient(135deg, #ffd66b, #ffb020); box-shadow: 0 2px 8px rgba(255,176,32,.4); }
.msg-role.mod { color: #f1e6ff; background: rgba(155,89,255,.28); border: 1px solid rgba(155,89,255,.55); }
.staff-msg p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.94);
  overflow-wrap: anywhere;
}
.staff-msg-reply {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 7px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--text-muted);
  background: rgba(255,255,255,.04);
  border-left: 3px solid var(--accent);
  border-radius: 4px 10px 10px 4px;
}
.staff-msg-reply b { font-size: 12px; color: #fff; }
.staff-msg-actions { display: none; gap: 8px; margin-top: 7px; }
.staff-msg:hover .staff-msg-actions { display: flex; }
.staff-msg-actions button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px 11px;
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all .14s ease;
}
.staff-msg-actions button:hover { color: #fff; border-color: rgba(255,53,53,.5); background: rgba(255,53,53,.12); }
.staff-msg-actions svg { width: 12px; height: 12px; }

.staff-reply-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  background: rgba(255,53,53,.07);
  border-top: 1px solid rgba(255,53,53,.25);
}
.staff-reply-bar b { color: #fff; font-size: 12.5px; }
.staff-reply-bar small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 420px; }
.staff-reply-bar button {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.staff-reply-bar button:hover { color: #fff; background: rgba(255,255,255,.08); }

.staff-chat-compose {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,.18);
}
.staff-chat-compose textarea {
  flex: 1;
  resize: none;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 11px 14px;
}
.staff-chat-compose textarea:focus { outline: none; border-color: rgba(255,53,53,.55); box-shadow: 0 0 0 3px rgba(255,53,53,.12); }
.staff-chat-compose .btn-primary { padding: 12px 18px; }

/* Admin tools */
.staff-pane#staff-tools { overflow-y: auto; scrollbar-width: thin; }
.staff-tool-card {
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.staff-tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.ban-grid { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.ban-grid .form-group { flex: 1 1 200px; margin: 0; }
@media (max-width: 900px) {
  .staff-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-layout { grid-template-columns: 1fr; }
  .staff-sidebar { flex-direction: row; overflow-x: auto; padding-right: 0; padding-bottom: 10px; }
  .staff-nav { width: auto; white-space: nowrap; }
  .staff-policy-mini { display: none; }
}

/* ===== Decision / reason windows — bigger, readable text ===== */
.mod-reasons { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 14px; }
.mod-reason {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 13px 14px;
  text-align: left;
  color: #fff;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  font-family: var(--font);
  transition: all .15s ease;
}
.mod-reason span:first-child { color: var(--accent-hover); flex-shrink: 0; margin-top: 1px; }
.mod-reason b { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.mod-reason small { display: block; font-size: 12.5px; color: var(--text-muted); line-height: 1.4; margin-top: 2px; }
.mod-reason:hover { border-color: rgba(255,53,53,.4); background: rgba(255,53,53,.07); }
.mod-reason.on {
  border-color: rgba(255,53,53,.65);
  background: rgba(255,53,53,.13);
  box-shadow: 0 8px 24px rgba(255,53,53,.18), inset 0 1px 0 rgba(255,255,255,.12);
}
.mod-decision-sheet .form-input { font-size: 14.5px; }
.buy-sheet-hero .buy-sheet-q { font-size: 20px; }
.buy-sheet-hero .buy-sheet-sub { font-size: 13.5px; }

/* ============================ 4 · REPORT BUTTON ========================== */

.rep-btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 16px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all .16s ease;
}
.rep-btn svg { width: 15px; height: 15px; color: var(--accent-hover); }
.rep-btn:hover {
  color: #fff;
  background: rgba(255,53,53,.14);
  border-color: rgba(255,53,53,.55);
  box-shadow: 0 8px 22px rgba(255,53,53,.2);
  transform: translateY(-1px);
}

/* ============================ 5 · EXPLORE CARDS ========================== */

.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 18px;
  padding-bottom: 40px;
}
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  transition: transform .22s cubic-bezier(.2,.7,.3,1.2), border-color .22s ease, box-shadow .22s ease;
  animation: cardIn .35s ease backwards;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pcard:hover {
  transform: translateY(-5px);
  border-color: rgba(255,53,53,.5);
  box-shadow: 0 22px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(255,53,53,.12);
}
.pcard-cover { position: relative; aspect-ratio: 16 / 9.4; overflow: hidden; }
.pcard-cover .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s ease;
  background-size: cover;
  background-position: center;
}
.pcard-cover .slide.on { opacity: 1; }
.pcard-cover .slide.cover-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(255,53,53,.22), rgba(16,18,28,.9) 60%);
}
.pcard-cover .slide.cover-fallback svg { width: 44px; height: 44px; color: rgba(255,255,255,.4); }
.pcard-cover-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,6,10,.42) 0%, rgba(5,6,10,.05) 34%, rgba(5,6,10,.12) 55%, rgba(5,6,10,.82) 100%);
  pointer-events: none;
}
.pcard-cover-top, .pcard-cover-bottom {
  position: absolute;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.pcard-cover-top { top: 10px; }
.pcard-cover-bottom { bottom: 10px; justify-content: space-between; }

.pcard-trust {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pcard-trust b { font-weight: 800; }
.pcard-trust svg { width: 13px; height: 13px; }
.pcard-trust.ok {
  color: #c9ffe2;
  background: rgba(46,204,113,.22);
  border: 1px solid rgba(46,204,113,.55);
}
.pcard-trust.warn {
  color: #ffe9b8;
  background: rgba(241,196,15,.2);
  border: 1px solid rgba(241,196,15,.5);
}
.pcard-price-badge {
  margin-left: auto;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .01em;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,53,53,.92), rgba(255,53,53,.58));
  border: 1px solid rgba(255,120,120,.5);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(255,53,53,.28);
  white-space: nowrap;
}
.pcard-price-badge.free {
  color: #c9ffe2;
  background: rgba(46,204,113,.28);
  border-color: rgba(46,204,113,.6);
}
.pcard-discord {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: #fff;
  background: rgba(88,101,242,.85);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .15s ease, box-shadow .15s ease;
}
.pcard-discord:hover { transform: scale(1.08); box-shadow: 0 6px 16px rgba(88,101,242,.5); }
.pcard-discord svg { width: 16px; height: 16px; }

.pcard-pill {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(5,6,10,.62);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}
.pcard-pill svg { width: 12.5px; height: 12.5px; }
.pcard-pill b { font-weight: 800; }
.pcard-pill i { font-style: normal; color: rgba(255,255,255,.6); font-weight: 600; }
.pcard-pill.stars svg { color: #ffd66b; }
.pcard-pill.like svg { color: #ff7b93; }
.pcard-pill.like b { color: #ff9fb1; }
.pcard-pill.views svg { color: #9fd0ff; }

.pcard-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.pcard-title {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard-sub { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--text-muted); }
.pcard-sub svg { width: 12.5px; height: 12.5px; vertical-align: -2px; margin-right: 3px; }
.pcard-game, .pcard-author { display: inline-flex; align-items: center; min-width: 0; }
.pcard-author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-tags .ptag {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all .14s ease;
}
.pcard-tags .ptag:hover { color: #fff; border-color: rgba(255,53,53,.5); background: rgba(255,53,53,.12); }

/* Explore filter chips — premium restyle */
.ex-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 16px 0 12px;
}
.ex-seg {
  display: inline-flex;
  gap: 5px;
  padding: 5px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.ex-chip {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 8px 15px;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.ex-chip svg { width: 14.5px; height: 14.5px; }
.ex-chip:hover { color: #fff; background: rgba(255,255,255,.06); }
.ex-chip.on {
  color: #fff;
  background: rgba(255,53,53,.16);
  border-color: rgba(255,53,53,.5);
  box-shadow: 0 6px 18px rgba(255,53,53,.22);
}
.ex-range {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 5px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.ex-range .form-input {
  width: 76px;
  padding: 7px 12px;
  font-size: 12.5px;
  background: rgba(0,0,0,.2);
  border-radius: 999px;
}
.ex-range-k { font-size: 12px; font-weight: 700; color: var(--text-muted); padding: 0 2px; }

/* Public page Discord button */
.pub-discord-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 13px 18px;
  max-width: 420px;
  color: #fff;
  background: linear-gradient(140deg, rgba(88,101,242,.28), rgba(88,101,242,.1));
  border: 1px solid rgba(88,101,242,.6);
  border-radius: 16px;
  transition: all .18s ease;
}
.pub-discord-link > svg:first-child { width: 26px; height: 26px; color: #a3b1ff; flex-shrink: 0; }
.pub-discord-link span { display: flex; flex-direction: column; min-width: 0; }
.pub-discord-link b { font-size: 14px; font-weight: 800; }
.pub-discord-link small { font-size: 12px; color: rgba(255,255,255,.65); }
.pub-discord-link > svg:last-child { margin-left: auto; width: 18px; height: 18px; color: rgba(255,255,255,.5); transform: rotate(180deg); flex-shrink: 0; }
.pub-discord-link:hover {
  border-color: #8ea0ff;
  background: linear-gradient(140deg, rgba(88,101,242,.42), rgba(88,101,242,.16));
  box-shadow: 0 14px 34px rgba(88,101,242,.35);
  transform: translateY(-2px);
}

/* ============================ 6 · SOURCE EDITOR ========================== */

.src-editor {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0b0d14;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.src-editor:focus-within { border-color: rgba(255,53,53,.55); box-shadow: 0 18px 44px rgba(0,0,0,.35), 0 0 0 3px rgba(255,53,53,.12); }
.src-editor.dragging { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,53,53,.25); }
.src-editor-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 16px;
  background: rgba(255,255,255,.035);
  border-bottom: 1px solid var(--border);
}
.src-editor-dots { display: inline-flex; gap: 6px; }
.src-editor-dots i { width: 10px; height: 10px; border-radius: 50%; }
.src-editor-dots i:nth-child(1) { background: #ff5f57; }
.src-editor-dots i:nth-child(2) { background: #febc2e; }
.src-editor-dots i:nth-child(3) { background: #28c840; }
.src-editor-title { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.src-editor-title svg { width: 14px; height: 14px; }
.src-editor-stats { margin-left: auto; display: inline-flex; gap: 5px; align-items: baseline; font-family: var(--mono); font-size: 11px; color: var(--text-muted); }
.src-editor-stats #srcStatLines, .src-editor-stats #srcStatChars { font-weight: 700; color: rgba(255,255,255,.75); }
.src-stat-sep { opacity: .6; }
.src-editor-area {
  min-height: 240px;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  color: #d7e0ff;
  resize: vertical;
  box-shadow: none;
}
.src-editor-area:focus { outline: none; }
.src-editor-area::placeholder { color: rgba(255,255,255,.28); }
.src-editor-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.025);
}
.src-safety-row { flex: 1 1 320px; align-items: flex-start; gap: 10px; margin: 0; cursor: pointer; }
.src-safety-row .terms-txt { font-size: 12.5px; line-height: 1.5; }
.src-build-btn { flex-shrink: 0; }

/* ============================ 7 · ROLE BADGES ============================ */

.ud-name-row { display: flex; gap: 8px; align-items: center; min-width: 0; }
.ud-name-row .ud-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.role-badge {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 3px 10px 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.role-badge svg { width: 11px; height: 11px; }
.role-badge.admin {
  color: #241303;
  background: linear-gradient(135deg, #ffd66b, #ffb020);
  box-shadow: 0 3px 10px rgba(255,176,32,.4);
}
.role-badge.mod {
  color: #f1e6ff;
  background: rgba(155,89,255,.3);
  border: 1px solid rgba(155,89,255,.6);
}
.ph-name-row { align-items: center; }
.ph-name-row .role-badge { font-size: 11px; padding: 4px 12px 3px; }

/* tiny role dot next to the header avatar name */
.role-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.role-dot.admin { background: linear-gradient(135deg, #ffd66b, #ffb020); box-shadow: 0 0 8px rgba(255,176,32,.8); }
.role-dot.mod { background: #9b59ff; box-shadow: 0 0 8px rgba(155,89,255,.8); }

/* ============================ 8 · BANNED WALL ============================ */

.banned-wall {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5,6,10,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.banned-wall.show { display: flex; }
.banned-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 460px;
  width: 100%;
  padding: 42px 36px;
  text-align: center;
  background: linear-gradient(170deg, rgba(255,53,53,.09), rgba(16,18,28,.9) 42%), var(--card-2);
  border: 1px solid rgba(255,53,53,.4);
  border-radius: 28px;
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04) inset;
  animation: bannedIn .3s cubic-bezier(.2,.7,.3,1.3);
}
@keyframes bannedIn { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }
.banned-ico {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto;
  color: #ffd9d9;
  background: radial-gradient(circle at 30% 25%, rgba(255,53,53,.5), rgba(255,53,53,.12) 70%);
  border: 1px solid rgba(255,53,53,.6);
  border-radius: 50%;
  box-shadow: 0 0 44px rgba(255,53,53,.4);
}
.banned-ico svg { width: 40px; height: 40px; }
.banned-title { justify-content: center; font-size: 22px; }
.banned-card p { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.6; }
.banned-card .banned-sub { font-size: 12.5px; color: var(--text-muted); }
.banned-card .btn-secondary { align-self: center; }

/* ============================ 9 · WALLET WITHDRAWALS ===================== */

.wd-op-right { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.wd-chip {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 3px 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
}
.wd-chip svg { width: 11px; height: 11px; }
.wd-chip.queued { color: #ffe9b8; background: rgba(241,196,15,.13); border: 1px solid rgba(241,196,15,.42); }
.wd-chip.sent { color: #b9ffd9; background: rgba(46,204,113,.13); border: 1px solid rgba(46,204,113,.42); }
.wd-chip.failed { color: #ffd9d9; background: rgba(255,53,53,.15); border: 1px solid rgba(255,53,53,.5); }
.wd-cap-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 4px 0 10px;
  padding: 11px 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--border);
  border-radius: 13px;
}
.wd-cap-txt { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); }
.wd-cap-txt b { color: #fff; font-size: 12.5px; }
.wd-cap-bar {
  height: 6px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
}
.wd-cap-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #ff8a5c);
  border-radius: 999px;
  transition: width .35s ease;
}
.wd-q-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 2px 0 10px;
  padding: 11px 13px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #ffe9b8;
  background: rgba(241,196,15,.09);
  border: 1px solid rgba(241,196,15,.35);
  border-radius: 13px;
}

/* ============================ 10 · GUARD RESULT ========================== */

.guard-result {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.guard-result-head { display: flex; gap: 12px; align-items: center; }
.guard-result-head > svg { width: 22px; height: 22px; flex-shrink: 0; }
.guard-result-head div { display: flex; flex-direction: column; min-width: 0; }
.guard-result-head b { font-size: 14px; font-weight: 800; }
.guard-result-head span { font-size: 12px; color: var(--text-muted); }
.guard-result-head small { font-size: 12px; color: inherit; opacity: .8; margin-top: 2px; }
.guard-result-head strong { margin-left: auto; font-size: 15px; font-weight: 800; font-family: var(--mono); }
.guard-result.safe { background: rgba(46,204,113,.08); border-color: rgba(46,204,113,.4); color: #c9ffe2; }
.guard-result.warn { background: rgba(241,196,15,.08); border-color: rgba(241,196,15,.42); color: #ffe9b8; }
.guard-result.high {
  background: rgba(255,150,60,.1);
  border-color: rgba(255,150,60,.55);
  color: #ffd9b3;
  box-shadow: 0 0 0 3px rgba(255,150,60,.08);
}
.guard-result.blocked { background: rgba(255,53,53,.1); border-color: rgba(255,53,53,.5); color: #ffd9d9; }
.guard-findings { display: flex; flex-direction: column; gap: 7px; }
.guard-finding {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 12px;
  font-size: 12.5px;
  background: rgba(0,0,0,.22);
  border-radius: 11px;
}
.guard-finding svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.guard-finding.critical svg { color: #ff7b7b; }
.guard-finding.high svg { color: #ffa14e; }
.guard-finding b { display: block; font-size: 12.5px; }
.guard-finding p { margin: 0; color: var(--text-muted); font-size: 12px; }

/* ============================ 11 · DOCS ================================== */

.docs-shell { max-width: 980px; }
.doc-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; padding-bottom: 40px; }
.doc-step {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: border-color .18s ease, transform .18s ease;
}
.doc-step:hover { border-color: rgba(255,53,53,.4); transform: translateY(-2px); }
.doc-step > div { min-width: 0; }
.doc-step h4 { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
.doc-step p { font-size: 13px; line-height: 1.65; color: var(--text-muted); }
.doc-step-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: var(--accent-hover);
  background: rgba(255,53,53,.12);
  border: 1px solid rgba(255,53,53,.35);
  border-radius: 14px;
}
.doc-step-ico svg { width: 20px; height: 20px; }

/* ============================ 12 · FORM POLISH =========================== */

.form-group.bad .form-input,
.form-group.bad textarea.form-input {
  border-color: rgba(255,53,53,.7) !important;
  box-shadow: 0 0 0 3px rgba(255,53,53,.14) !important;
}
.field-msg { display: none; margin-top: 7px; font-size: 12.5px; font-weight: 600; }
.field-msg.show { display: flex; gap: 6px; align-items: center; }
.field-msg.bad { color: #ff9c9c; }
.field-msg.warn { color: #ffd97a; }
.field-msg.ok { color: #8effc0; }
.field-msg svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ==========================================================================
   v51 · Trust & Safety workspace
   The moderation surface now uses the same glass / gradient language as the
   dashboard, with a proper visual hierarchy instead of tiny utility chrome.
   ========================================================================== */
#view-staff.staff-view {
  background:
    radial-gradient(circle at 8% 0, rgba(255,53,53,.11), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(130,76,255,.09), transparent 25%),
    transparent;
}
#view-staff .staff-shell { padding-top: 24px; }
#view-staff .staff-hero,
#view-staff .staff-metric,
#view-staff .staff-sidebar,
#view-staff .staff-chat-card,
#view-staff .staff-tool-card,
#view-staff .mod-card {
  background: var(--glass);
  border-color: rgba(255,255,255,.105);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 22px 60px -48px rgba(0,0,0,.9);
}
#view-staff .staff-hero {
  padding: 24px 26px;
  border-radius: 24px;
}
#view-staff .staff-mark {
  width: 62px; height: 62px; border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,86,86,.24), rgba(128,55,255,.14));
  border-color: rgba(255,100,100,.42);
  box-shadow: 0 12px 34px -18px rgba(255,53,53,.8), inset 0 1px 0 rgba(255,255,255,.1);
}
#view-staff .staff-mark .ico { width: 29px; height: 29px; }
#view-staff .staff-kicker { font-size: 10px; letter-spacing: .16em; }
#view-staff .staff-hero h2 { font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; margin-top: 5px; }
#view-staff .staff-hero p { max-width: 720px; font-size: 13px; line-height: 1.55; margin-top: 5px; }
#view-staff .staff-online { font-size: 12px; padding: 9px 13px; }
#view-staff .staff-hero-back { width: 46px; height: 46px; }

/* The four headline counters are deliberately centered: the icon, number and
   caption read as one stat instead of a tiny left-aligned table cell. */
#view-staff .staff-metrics { gap: 14px; margin: 16px 0; }
#view-staff .staff-metric {
  min-height: 150px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 20px 16px; text-align: center; border-radius: 20px;
  position: relative; overflow: hidden;
}
#view-staff .staff-metric::after {
  content: ''; position: absolute; inset: auto 15% 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
  opacity: .55;
}
#view-staff .staff-metric-ico {
  width: 56px; height: 56px; border-radius: 17px;
  display: grid; place-items: center; flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 10px 30px -18px currentColor;
}
#view-staff .staff-metric-ico .ico { width: 25px; height: 25px; }
#view-staff .staff-metric > div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
#view-staff .staff-metric b { font-size: 30px; line-height: 1; letter-spacing: -.04em; }
#view-staff .staff-metric > div > span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
#view-staff .staff-metric-ico.red { background: linear-gradient(145deg, rgba(255,53,53,.23), rgba(255,53,53,.07)); }
#view-staff .staff-metric-ico.gold { background: linear-gradient(145deg, rgba(241,196,15,.2), rgba(241,196,15,.06)); }
#view-staff .staff-metric-ico.green { background: linear-gradient(145deg, rgba(46,204,113,.2), rgba(46,204,113,.06)); }
#view-staff .staff-metric-ico.violet { background: linear-gradient(145deg, rgba(142,73,255,.22), rgba(142,73,255,.06)); }

#view-staff .staff-layout { gap: 18px; align-items: start; }
#view-staff .staff-sidebar { padding: 12px; border-radius: 20px; position: sticky; top: 18px; }
#view-staff .staff-nav {
  min-height: 48px; padding: 11px 13px; border-radius: 13px;
  font-size: 14px; font-weight: 800; gap: 11px;
}
#view-staff .staff-nav .ico { width: 19px; height: 19px; }
#view-staff .staff-nav em { font-size: 12px; min-width: 24px; height: 24px; }
#view-staff .staff-policy-mini { margin: 12px 2px 2px; padding: 14px 12px; border-radius: 14px; background: rgba(255,255,255,.04); }
#view-staff .staff-policy-mini .ico { width: 19px; height: 19px; }
#view-staff .staff-policy-mini b { font-size: 13px; }
#view-staff .staff-policy-mini p { font-size: 11.5px; line-height: 1.45; }
#view-staff .staff-content { min-width: 0; }
#view-staff .staff-pane-head { margin-bottom: 14px; }
#view-staff .staff-pane-head h3 { font-size: 22px; letter-spacing: -.025em; }
#view-staff .staff-pane-head p { font-size: 13px; line-height: 1.5; margin-top: 4px; }
#view-staff .staff-filters { gap: 7px; }
#view-staff .staff-filters .ex-chip { min-height: 40px; font-size: 13px; border-radius: 12px; }
#view-staff .staff-refresh {
  width: 42px; height: 40px; display: inline-grid; place-items: center;
  border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  background: rgba(255,255,255,.045); color: #d7dced;
}
#view-staff .staff-refresh .ico { width: 19px; height: 19px; }
#view-staff .staff-refresh:hover { color: #fff; border-color: rgba(255,90,90,.5); background: rgba(255,53,53,.13); }
#view-staff .staff-refresh.is-loading .ico,
#view-staff .staff-refresh:active .ico { animation: staffRefreshSpin .72s linear infinite; }
@keyframes staffRefreshSpin { to { transform: rotate(360deg); } }

#view-staff .mod-queue { gap: 16px; }
#view-staff .mod-card { padding: 20px; border-radius: 20px; }
#view-staff .mod-card-top { gap: 14px; margin-bottom: 12px; }
#view-staff .mod-card-top > .rf-ico { width: 46px; height: 46px; border-radius: 14px; }
#view-staff .mod-card-top > .rf-ico .ico { width: 22px; height: 22px; }
#view-staff .mod-card-meta b { font-size: 18px; }
#view-staff .mod-card-meta .comment-time { font-size: 12px; margin-top: 4px; }
#view-staff .mod-desc { font-size: 14px; line-height: 1.6; }
#view-staff .mod-revision-row span { font-size: 11px; padding: 7px 10px; }
#view-staff .mod-script-prev { padding: 13px 14px; border-radius: 13px; }
#view-staff .mod-script-prev code { font-size: 12px; line-height: 1.55; }
#view-staff .mod-actions { gap: 9px; }
#view-staff .mod-actions button,
#view-staff .mod-handoff button { min-height: 42px; font-size: 13px; }

/* Staff chat: larger bubbles, clear composer and familiar keyboard affordance. */
#view-staff .staff-chat-card { border-radius: 20px; }
#view-staff .staff-chat-feed { min-height: 480px; height: min(65vh, 700px); padding: 22px; gap: 16px; }
#view-staff .staff-msg { max-width: min(820px, 88%); gap: 12px; }
#view-staff .staff-msg-av { width: 44px; height: 44px; border-radius: 14px; font-size: 14px; }
#view-staff .staff-msg > div { padding: 13px 16px; border-radius: 9px 19px 19px 19px; }
#view-staff .staff-msg.mine > div { border-radius: 19px 9px 19px 19px; }
#view-staff .staff-msg-head b { font-size: 13px; }
#view-staff .staff-msg time { font-size: 11px; }
#view-staff .staff-msg p { font-size: 15px; line-height: 1.55; }
#view-staff .staff-msg-actions button { font-size: 12px; padding: 6px 10px; }
#view-staff .staff-chat-compose { align-items: flex-end; gap: 12px; padding: 14px; background: rgba(0,0,0,.16); }
#view-staff .staff-compose-field { flex: 1; min-width: 0; }
#view-staff .staff-chat-compose textarea { width: 100%; min-height: 48px; padding: 13px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
#view-staff .staff-compose-field small { display: block; margin: 6px 3px 0; color: var(--text-muted); font-size: 11px; }
#view-staff .staff-chat-compose > .btn-primary { min-height: 48px; padding-inline: 20px; font-size: 14px; }

#view-staff .staff-tool-card { padding: 22px; border-radius: 20px; }
#view-staff .staff-tool-card label { font-size: 12px; }
#view-staff .staff-tool-card .form-input,
#view-staff .staff-tool-card .cselect-btn { min-height: 46px; font-size: 14px; }
#view-staff .staff-tool-card .staff-pane-head h3 { font-size: 19px; }
#view-staff .staff-tool-card .staff-pane-head p { font-size: 12.5px; }
#view-staff .ban-grid { gap: 10px; }
#view-staff .ban-grid > button { min-height: 46px; padding: 10px 17px; border-radius: 12px; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
#view-staff .staff-danger-btn { color: #fff; background: linear-gradient(135deg, rgba(255,65,75,.9), rgba(175,30,49,.9)); border: 1px solid rgba(255,130,130,.42); box-shadow: 0 10px 28px -18px rgba(255,53,53,.9); }
#view-staff .staff-danger-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px -16px rgba(255,53,53,.95); }
#view-staff .staff-safe-btn { background: linear-gradient(135deg, rgba(46,204,113,.2), rgba(34,120,93,.15)); border-color: rgba(83,225,148,.35); color: #b7ffd4; }
#view-staff .staff-safe-btn:hover { border-color: rgba(83,225,148,.65); background: rgba(46,204,113,.25); }
#view-staff .staff-app-card { padding: 17px; border-radius: 16px; }
#view-staff .staff-app-card h4 { font-size: 15px; }
#view-staff .staff-app-card p { font-size: 13px; line-height: 1.6; }
#view-staff .staff-app-actions button { min-height: 40px; font-size: 13px; }

/* Mail letter metadata is one calm compact line. Status no longer drops to a
   separate visual row and the hero does not waste half the viewport. */
#view-mail .mail-read-fixed { padding: 0; }
#view-mail .mail-letter-hero { padding: 20px 24px 15px; gap: 13px; }
#view-mail .mail-letter-icon { width: 48px; height: 48px; border-radius: 15px; }
#view-mail .mail-letter-hero small { margin-bottom: 3px; font-size: 9px; }
#view-mail .mail-read-title { font-size: clamp(20px, 2.4vw, 29px); }
#view-mail .mail-read-meta {
  margin: 0; padding: 0 24px 16px; gap: 7px 10px;
  align-items: center; min-height: 30px;
}
#view-mail .mail-cat-chip,
#view-mail .mail-read-time,
#view-mail .mail-read-meta .mail-item-badge { font-size: 10.5px; line-height: 1; }
#view-mail .mail-cat-chip { padding: 6px 9px; }
#view-mail .mail-read-time { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
#view-mail .mail-read-time .ico { width: 12px; height: 12px; }
#view-mail .mail-meta-status { margin: 0; padding: 5px 8px; }
#view-mail .mail-read-scroll { padding-top: 20px; }
#view-mail .mail-read-text { max-width: 880px; margin-inline: auto; font-size: 14px; line-height: 1.72; }

/* Notification bell: short previews only. The full content belongs to Mail. */
.notif-item .notif-body {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  overflow: hidden; max-height: 2.8em; word-break: break-word;
}
.notif-item .notif-meta { align-items: center; gap: 7px; flex-wrap: nowrap; min-width: 0; }
.notif-item .notif-kind { display: none; }
.notif-item .notif-hint {
  display: inline-flex; align-items: center; gap: 4px; margin-left: auto;
  color: #ffb1b1; font-size: 10.5px; font-weight: 800; white-space: nowrap;
}
.notif-item .notif-hint .ico { width: 11px; height: 11px; }

/* Language toggle belongs to the glass family, not a solid black pill. */
#hgHeader .lang-switch {
  background: var(--glass) !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 30px -24px #000;
}
#hgHeader .lang-pill { background: linear-gradient(135deg, #ff5f5f, #b92b62) !important; box-shadow: 0 0 18px rgba(255,53,53,.35); }
#hgHeader .lang-btn { color: #8993aa !important; }
#hgHeader .lang-btn.active { color: #fff !important; }

/* Keep Explore's price in its single cover badge; legacy body price markup is
   hidden if an older cached template ever sends it along. */
.pcard-body .pcard-price, .pcard > .pcard-price { display: none !important; }

/* Every docs card, including the later safety / limits additions, is replayed
   when Docs opens rather than only the first six cards animating. */
#view-docs .doc-step { animation: none; opacity: 1; transform: none; }
#view-docs.docs-enter .doc-step { animation: docsStepIn .52s cubic-bezier(.22,1,.36,1) both; }
#view-docs.docs-enter .doc-step:nth-child(1) { animation-delay: .04s; }
#view-docs.docs-enter .doc-step:nth-child(2) { animation-delay: .09s; }
#view-docs.docs-enter .doc-step:nth-child(3) { animation-delay: .14s; }
#view-docs.docs-enter .doc-step:nth-child(4) { animation-delay: .19s; }
#view-docs.docs-enter .doc-step:nth-child(5) { animation-delay: .24s; }
#view-docs.docs-enter .doc-step:nth-child(6) { animation-delay: .29s; }
#view-docs.docs-enter .doc-step:nth-child(7) { animation-delay: .34s; }
#view-docs.docs-enter .doc-step:nth-child(8) { animation-delay: .39s; }
#view-docs.docs-enter .doc-step:nth-child(9) { animation-delay: .44s; }
#view-docs.docs-enter .doc-step:nth-child(10) { animation-delay: .49s; }
#view-docs.docs-enter .doc-step:nth-child(11) { animation-delay: .54s; }
#view-docs.docs-enter .doc-step:nth-child(12) { animation-delay: .59s; }
#view-docs.docs-enter .doc-step:nth-child(13) { animation-delay: .64s; }
#view-docs.docs-enter .doc-step:nth-child(14) { animation-delay: .69s; }
#view-docs.docs-enter .doc-step:nth-child(15) { animation-delay: .74s; }
#view-docs.docs-enter .doc-step:nth-child(16) { animation-delay: .79s; }
@keyframes docsStepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

html[data-theme="light"] #view-staff .staff-hero,
html[data-theme="light"] #view-staff .staff-metric,
html[data-theme="light"] #view-staff .staff-sidebar,
html[data-theme="light"] #view-staff .staff-chat-card,
html[data-theme="light"] #view-staff .staff-tool-card,
html[data-theme="light"] #view-staff .mod-card {
  background: var(--glass); border-color: rgba(35,22,25,.12); box-shadow: 0 16px 40px -34px rgba(52,25,25,.35), inset 0 1px 0 rgba(255,255,255,.85);
}
html[data-theme="light"] #view-staff .staff-nav { color: #5d5864; }
html[data-theme="light"] #view-staff .staff-nav.on { color: #221b20; }
html[data-theme="light"] #view-staff .staff-hero h2,
html[data-theme="light"] #view-staff .staff-metric b,
html[data-theme="light"] #view-staff .staff-pane-head h3 { color: #241b20; }
html[data-theme="light"] #view-staff .staff-msg p { color: #45404a; }
html[data-theme="light"] #view-staff .staff-compose-field small { color: #7b7480; }
html[data-theme="light"] #view-mail .mail-read-title { color: #241b20; }
html[data-theme="light"] #hgHeader .lang-btn { color: #756d79 !important; }
html[data-theme="light"] #hgHeader .lang-btn.active { color: #fff !important; }

@media (max-width: 900px) {
  #view-staff .staff-hero { align-items: flex-start; flex-direction: column; }
  #view-staff .staff-hero-actions { width: 100%; justify-content: flex-end; }
  #view-staff .staff-sidebar { position: static; }
  #view-staff .staff-metric { min-height: 128px; }
  #view-staff .staff-metric b { font-size: 26px; }
}
@media (max-width: 620px) {
  #view-staff .staff-shell { padding-inline: 10px; }
  #view-staff .staff-metrics { grid-template-columns: 1fr 1fr; }
  #view-staff .staff-metric { min-height: 120px; padding: 14px 8px; gap: 8px; }
  #view-staff .staff-metric-ico { width: 45px; height: 45px; border-radius: 14px; }
  #view-staff .staff-metric-ico .ico { width: 21px; height: 21px; }
  #view-staff .staff-metric b { font-size: 24px; }
  #view-staff .staff-metric > div > span { font-size: 9px; letter-spacing: .04em; }
  #view-staff .staff-hero-actions { align-items: stretch; flex-direction: column; }
  #view-staff .staff-chat-compose { flex-direction: column; align-items: stretch; }
  #view-staff .staff-chat-compose > .btn-primary { justify-content: center; }
  #view-mail .mail-letter-hero { padding: 17px 17px 13px; }
  #view-mail .mail-read-meta { padding-inline: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  #view-docs .doc-step, #view-docs.docs-enter .doc-step { animation: none; opacity: 1; transform: none; }
  #view-staff .staff-refresh.is-loading .ico { animation: none; }
}
