/* ==========================================================================
   AFFILIATE QUEST V2 - BHW BLACK-GOLD PRAGMATIC DESIGN SYSTEM
   2-Row 8-Fixed-Slot Crawler Grid & Zero-Reflow In-Place Accordion
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bhw-void: #0C0D0F;
  --bhw-card: #121316;
  --bhw-subpanel: #0B0C0E;
  --bhw-border: #24252B;
  --bhw-border-gold: #2B271F;
  --bhw-gold: #E5B842;
  --bhw-gold-bright: #FFE885;
  --bhw-gold-dark: #99771C;
  --bhw-gold-gradient: linear-gradient(135deg, #E5B842 0%, #99771C 100%);
  --bhw-text: #D1D5DB;
  --bhw-muted: #8A8F99;
  --bhw-dim: #555861;
  --bhw-green: #10B981;
  --bhw-blue: #38BDF8;
  --bhw-purple: #A855F7;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bhw-void);
  color: var(--bhw-text);
  font-family: var(--font-mono);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

/* ==========================================================================
   Version Switcher Top Header Bar
   ========================================================================== */
.version-switcher-bar {
  background: #08080A;
  border-bottom: 1px solid var(--bhw-border);
  padding: 8px 16px;
  font-size: 11px;
}

.version-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.version-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.version-pill {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--bhw-border);
  color: var(--bhw-muted);
  background: #121316;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.version-pill:hover {
  border-color: var(--bhw-gold);
  color: #FFF;
}

.version-pill.active {
  background: #241E12;
  border-color: var(--bhw-gold);
  color: var(--bhw-gold);
}

/* ==========================================================================
   BHW Main Header
   ========================================================================== */
.bhw-header {
  background: #0E0F12;
  border-bottom: 1px solid #1F2026;
  padding: 20px 16px;
}

.bhw-header-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.bhw-logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bhw-logo-badge {
  width: 44px;
  height: 44px;
  background: var(--bhw-gold-gradient);
  border: 1px solid var(--bhw-gold-bright);
  color: #000;
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(229, 184, 66, 0.25);
}

.bhw-logo-title {
  font-size: 18px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bhw-logo-title span {
  color: var(--bhw-gold);
}

.bhw-logo-sub {
  font-size: 11px;
  color: var(--bhw-muted);
  font-family: var(--font-sans);
}

/* Quick Metrics Strip */
.bhw-metrics-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.bhw-metric-item {
  background: #14161B;
  border: 1px solid var(--bhw-border);
  padding: 6px 14px;
  font-size: 11px;
}

.bhw-metric-val {
  font-weight: 900;
  color: var(--bhw-gold);
}

/* ==========================================================================
   Main Canvas Wrapper (Max 1200px Centered)
   ========================================================================== */
.bhw-canvas {
  max-width: 1200px;
  margin: 20px auto 60px;
  padding: 0 16px;
}

/* Filter Strip */
.bhw-filter-strip {
  background: #101114;
  border: 1px solid var(--bhw-border);
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-search-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bhw-search-input {
  flex: 1;
  min-width: 260px;
  background: #090A0C;
  border: 1px solid #2B2E37;
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 12px;
  outline: none;
  transition: border-color 0.15s ease;
}

.bhw-search-input:focus {
  border-color: var(--bhw-gold);
}

.bhw-chip-btn {
  background: #15171C;
  border: 1px solid var(--bhw-border);
  color: var(--bhw-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bhw-chip-btn:hover {
  color: #FFF;
  border-color: #4B5563;
}

.bhw-chip-btn.active {
  background: #211B10;
  border-color: var(--bhw-gold);
  color: var(--bhw-gold);
  font-weight: bold;
}

/* ==========================================================================
   BHW Practical Forum Card Layout
   ========================================================================== */
.bhw-card {
  width: 100%;
  background: var(--bhw-card);
  border: 1px solid var(--bhw-border-gold);
  margin-bottom: 18px;
  font-family: var(--font-mono);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  content-visibility: auto;
  contain-intrinsic-size: 0 170px;
  contain: content;
  will-change: transform;
  transform: translateZ(0);
}

.bhw-card:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 6px 20px rgba(229, 184, 66, 0.1);
}

.bhw-card-inner {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .bhw-card-inner {
    flex-direction: row;
  }
}

/* Left Aside: Poster / Identity Column (Fixed 220px) */
.bhw-card-aside {
  width: 100%;
  background: #0C0D0F;
  border-bottom: 1px solid var(--bhw-border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .bhw-card-aside {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    border-bottom: none;
    border-right: 1px solid var(--bhw-border);
  }
}

.aside-user-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.aside-rank-box {
  width: 40px;
  height: 40px;
  background: var(--bhw-gold-gradient);
  border: 1px solid var(--bhw-gold-bright);
  color: #000;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aside-meta-info {
  overflow: hidden;
}

.aside-program-name {
  color: #FFFFFF;
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aside-platform-pill {
  font-size: 10px;
  color: var(--bhw-gold);
  background: #241E12;
  padding: 2px 6px;
  border: 1px solid rgba(229, 184, 66, 0.3);
  display: inline-block;
  margin-top: 4px;
}

.aside-status-list {
  font-size: 11px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aside-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--bhw-muted);
}

.status-active {
  color: var(--bhw-green);
  font-weight: bold;
}

.status-gold {
  color: var(--bhw-gold);
  font-weight: bold;
}

.status-gold-sparkle {
  color: #FFD700;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.gold-audit-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(217, 119, 6, 0.08) 100%);
  border: 1px solid #E5B842;
  color: #FFD700;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.6px;
  padding: 2px 7px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(229, 184, 66, 0.22);
  text-transform: uppercase;
  vertical-align: middle;
  cursor: default;
  user-select: none;
  transition: all 0.2s ease;
}

.gold-audit-pill:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28) 0%, rgba(217, 119, 6, 0.15) 100%);
  box-shadow: 0 0 14px rgba(229, 184, 66, 0.45);
  border-color: #FFE57F;
  transform: translateY(-1px);
}

.gold-audit-pill svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.status-inactive {
  color: var(--bhw-dim);
}

.btn-apply-cta {
  width: 100%;
  padding: 9px 0;
  background: linear-gradient(to right, #D4AF37, #B38728);
  color: #000;
  font-weight: 900;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.5px;
  display: block;
  transition: all 0.15s ease;
}

.btn-apply-cta:hover {
  background: linear-gradient(to right, #E5B842, #C59B34);
  box-shadow: 0 0 10px rgba(229, 184, 66, 0.4);
}

/* Right Body Column */
.bhw-card-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.body-split-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bhw-border);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.split-tag-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.split-label {
  font-size: 10px;
  color: #717682;
  text-transform: uppercase;
}

.split-val {
  color: var(--bhw-gold);
  font-weight: 900;
  font-size: 14px;
}

.link-website {
  font-size: 11px;
  color: var(--bhw-muted);
  text-decoration: underline;
  transition: color 0.15s ease;
}

.link-website:hover {
  color: #FFF;
}

.body-tagline {
  font-size: 12px;
  line-height: 20px;
  color: #D1D5DB;
  margin-bottom: 12px;
  font-family: var(--font-sans);
}

/* ==========================================================================
   2-Row 8-Fixed-Slot Matrix Layout
   ========================================================================== */
.slots-matrix-panel {
  background: var(--bhw-subpanel);
  border: 1px solid #222328;
  padding: 10px;
  margin-bottom: 8px;
}

.slots-grid-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

@media (min-width: 640px) {
  .slots-grid-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.slot-box {
  padding: 5px 8px;
  border: 1px solid;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
}

/* Active Slot Themes */
.slot-usdt-active {
  background: #211B10;
  color: var(--bhw-gold);
  border-color: rgba(229, 184, 66, 0.5);
}

.slot-paypal-active {
  background: #141B26;
  color: #93C5FD;
  border-color: rgba(59, 130, 246, 0.4);
}

.slot-payoneer-active {
  background: #161F2B;
  color: #60A5FA;
  border-color: rgba(59, 130, 246, 0.5);
}

.slot-stripe-active {
  background: #1F192B;
  color: #C084FC;
  border-color: rgba(168, 85, 247, 0.4);
}

.slot-contact-active {
  background: #15171C;
  color: #E5E7EB;
  border-color: #2D313A;
}

.slot-email-active {
  background: #15171C;
  color: var(--bhw-gold);
  border-color: #4A3E23;
}

.slot-twitter-active {
  background: #142028;
  color: #38BDF8;
  border-color: rgba(2, 132, 199, 0.4);
}

.slot-community-active {
  background: #1B192E;
  color: #818CF8;
  border-color: rgba(99, 102, 241, 0.4);
}

/* Inactive / Disabled Slot */
.slot-inactive {
  background: #121316;
  color: #42454E;
  border-color: #1C1D22;
  text-decoration: line-through;
}

/* Pretext In-Place Accordion Footer */
.accordion-toggle-bar {
  padding-top: 8px;
  border-top: 1px solid var(--bhw-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.btn-toggle-reviews {
  background: none;
  border: none;
  color: #9CA3AF;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.btn-toggle-reviews:hover {
  color: var(--bhw-gold);
}

.pretext-tag {
  font-size: 10px;
  color: #555862;
}

/* In-Place Expanded Container */
.in-place-drawer {
  border-top: 1px solid var(--bhw-border);
  margin-top: 10px;
  padding-top: 12px;
}

.review-item-card {
  background: #0A0B0D;
  border: 1px solid var(--bhw-border);
  padding: 10px;
  margin-bottom: 8px;
  font-size: 12px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-size: 11px;
}

.proof-pill {
  font-size: 10px;
  color: var(--bhw-green);
  background: #121A15;
  padding: 3px 6px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: inline-block;
  margin-top: 6px;
}

/* Quick Claim Button on Unclaimed Cards */
.btn-quick-claim {
  font-size: 10px;
  color: var(--bhw-gold);
  background: #1C170E;
  border: 1px solid rgba(229, 184, 66, 0.4);
  padding: 2px 8px;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: all 0.15s ease;
}

.btn-quick-claim:hover {
  background: var(--bhw-gold);
  color: #000;
}

/* ==========================================================================
   10-Second Claim Modal (BHW Theme)
   ========================================================================== */
.bhw-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
  padding: 20px;
}

.bhw-modal-overlay.open {
  display: flex;
}

.bhw-modal-box {
  background: #111215;
  border: 1px solid var(--bhw-gold);
  box-shadow: 0 0 30px rgba(229, 184, 66, 0.2);
  width: 100%;
  max-width: 520px;
  padding: 24px;
}

.bhw-modal-title {
  font-size: 15px;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-close-modal {
  background: none;
  border: none;
  color: var(--bhw-muted);
  cursor: pointer;
  font-size: 16px;
}

/* ==========================================================================
   Card Bottom Border Status Bar (今日点出、排名调整、留言动态)
   ========================================================================== */
.bhw-card-bottom-bar {
  background: #090A0D;
  border-top: 1px solid #1E2026;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 11px;
}

.cbm-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.cbm-label {
  color: #717682;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 500;
}

.cbm-val {
  font-weight: 700;
  font-size: 11px;
}

/* Today Clicks */
.cbm-val.clicks-active {
  color: #E5B842;
  text-shadow: 0 0 6px rgba(229, 184, 66, 0.25);
}
.cbm-val.clicks-none {
  color: #555861;
}

/* Rank Shift */
.cbm-val.rank-up {
  color: #10B981;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.cbm-val.rank-down {
  color: #F43F5E;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.cbm-val.rank-flat {
  color: #555861;
}

/* Reviews Delta */
.cbm-val.reviews-up {
  color: #38BDF8;
}
.cbm-val.reviews-flat {
  color: #555861;
}

/* Locked State on Bottom Bar */
.bhw-card-bottom-bar.is-locked {
  cursor: pointer;
  background: #0B0C0E;
  transition: all 0.2s ease;
}

.bhw-card-bottom-bar.is-locked:hover {
  background: #131418;
  border-top-color: #E5B842;
  box-shadow: inset 0 0 10px rgba(229, 184, 66, 0.08);
}

.cbm-locked-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.cbm-locked-items {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cbm-locked-pill {
  font-size: 11px;
  color: #717682;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cbm-locked-pill .blur-num {
  filter: blur(3px);
  color: #E5B842;
  user-select: none;
  font-weight: 900;
}

.cbm-locked-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lock-tip {
  font-size: 10px;
  color: #8A8F99;
}

.btn-unlock-cta {
  background: #241E12;
  border: 1px solid #E5B842;
  color: #E5B842;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.btn-unlock-cta:hover {
  background: #E5B842;
  color: #000;
  box-shadow: 0 0 10px rgba(229, 184, 66, 0.3);
}

/* Auth Modal Styles */
.auth-notice-banner {
  background: #18191E;
  border: 1px solid #2B271F;
  border-left: 3px solid #E5B842;
  padding: 10px 12px;
  font-size: 11px;
  color: #D1D5DB;
  line-height: 1.5;
  margin-bottom: 14px;
}

.auth-tab-group {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid #24252B;
  padding-bottom: 8px;
}

.auth-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #8A8F99;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.auth-tab-btn.active {
  background: #241E12;
  border-color: #E5B842;
  color: #E5B842;
}

.auth-label {
  display: block;
  font-size: 11px;
  color: #9CA3AF;
  margin-bottom: 4px;
  font-weight: 600;
}

/* =========================================================================
   聚焦光框 + 排名变动动画（BHW 黑金主题）
   设计讨论：docs/discussions/2026-09-06-ui-rank-animation.md
   三档状态：hover=鼠标路过（弱） / is-focused=正在操作（强） / is-updating=数据写入中
   ========================================================================= */

/* 正在操作的卡片：一眼能认出来的强光框
   用 outline 而不是 border-color：卡片的 border-color 被基础样式锁定，
   且 outline 画在盒子外部、不参与布局，不会把卡片内容挤动一像素。 */
.bhw-card.is-focused {
  outline: 2px solid rgba(229, 184, 66, 0.95);
  outline-offset: -1px;
  box-shadow:
    0 0 0 1px rgba(229, 184, 66, 0.55),
    0 0 18px rgba(229, 184, 66, 0.40),
    0 0 46px rgba(229, 184, 66, 0.18);
  position: relative;
  z-index: 3;
}

/* 数据正在写入/刚写完：呼吸提示 */
.bhw-card.is-updating {
  outline: 2px solid rgba(229, 184, 66, 0.95);
  outline-offset: -1px;
  animation: bhw-card-pulse 1.15s ease-out infinite;
}

@keyframes bhw-card-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(229, 184, 66, 0.45), 0 0 20px rgba(229, 184, 66, 0.30); }
  70%  { box-shadow: 0 0 0 10px rgba(229, 184, 66, 0),  0 0 26px rgba(229, 184, 66, 0.14); }
  100% { box-shadow: 0 0 0 0 rgba(229, 184, 66, 0),     0 0 20px rgba(229, 184, 66, 0.30); }
}

/* FLIP 位置动画：transform 走合成层，不触发重排 */
.bhw-card.is-flipping {
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  z-index: 2;
}

/* 排名上升的卡片额外强调，"电梯上行"的视觉重点 */
.bhw-card.is-rising {
  outline: 2px solid rgba(16, 185, 129, 0.85);
  outline-offset: -1px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.28), 0 0 46px rgba(16, 185, 129, 0.14);
  z-index: 4;
}

/* 上升幅度角标，例如 ▲ 3 */
.rank-delta-flag {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 2px;
  pointer-events: none;
  animation: rank-flag-fade 1.5s ease-out forwards;
}
.rank-delta-flag.up   { color: #062; background: #10B981; }
.rank-delta-flag.down { color: #FFF; background: #64748B; }

@keyframes rank-flag-fade {
  0%   { opacity: 0; transform: translateY(6px); }
  18%  { opacity: 1; transform: translateY(0); }
  75%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-6px); }
}

/* 无障碍：用户要求减少动效时，只保留静态高亮 */
@media (prefers-reduced-motion: reduce) {
  .bhw-card.is-flipping { transition: none; }
  .bhw-card.is-updating { animation: none; }
  .rank-delta-flag { animation: none; }
}

/* ---------------------------------------------------------------------------
   Program discussion drawer (comments + payout check-ins)
   --------------------------------------------------------------------------- */
.disc-head { display:flex; justify-content:space-between; align-items:center; font-size:11px; color:#8A8F99; margin-bottom:8px; }
.disc-open-link { color: var(--bhw-gold); text-decoration:none; font-weight:700; }
.disc-open-link:hover { text-decoration:underline; }
.disc-loading { font-size:12px; color:#6B7280; padding:8px 0; display:flex; align-items:center; gap:8px; }
.disc-more { font-size:10px; color:#555862; margin-top:6px; }
.disc-post-checkin { border-left: 3px solid var(--bhw-green); }
.disc-kind-tag { font-size:10px; color: var(--bhw-green); background:#121A15; border:1px solid rgba(16,185,129,.25); padding:1px 5px; }
.disc-quote { margin:0 0 6px; padding:5px 8px; border-left:3px solid var(--bhw-gold); background:#0F1117; font-size:11px; color:#9CA3AF; }
.disc-quote strong { color: var(--bhw-gold); }
.disc-post-actions { display:flex; gap:6px; }
.disc-mini-btn { padding:2px 8px; font-size:10px; }
.disc-compose { background:#090A0D; border:1px solid #24252B; padding:10px; margin-top:10px; }
.disc-gate { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; font-size:11px; color:#9CA3AF; }
.disc-gate-btn { width:auto; padding:6px 14px; font-size:11px; display:inline-block; }
.disc-kind-toggle { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-bottom:8px; }
.disc-kind-toggle .bhw-chip-btn { font-size:10px; padding:3px 8px; }
.disc-target { margin-left:auto; font-size:10px; color: var(--bhw-gold); display:inline-flex; align-items:center; gap:4px; }
.disc-target button { background:none; border:none; color:#8A8F99; cursor:pointer; font-size:11px; padding:0 2px; }
.disc-input { width:100%; box-sizing:border-box; padding:6px 8px; font-size:11px; margin-bottom:6px; }
.disc-textarea { min-height:64px; resize:vertical; font-family: var(--font-sans); line-height:1.5; }
.disc-compose-footer { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.disc-submit { width:auto; padding:6px 16px; font-size:11px; display:inline-block; }
.disc-submit[disabled] { opacity:.6; cursor:default; }
.disc-msg { font-size:11px; }
