/* ==========================================================================
   COMMUNITY BROADCASTS & SIGHTINGS STREAM STYLES
   Clean, Glass Surface, Discord-Inspired Chronological Flow
   ========================================================================== */

.broadcast-view-wrapper {
  max-width: 100%;
  margin: 0;
  padding: 0 0 60px 0;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .broadcast-view-wrapper {
    padding: 0 0 80px 0;
  }
}

/* ==========================================================================
   STREAM CONTROL BAR (Modern Single Utility Strip: Matching Sample)
   ========================================================================== */
.stream-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 44px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  position: relative;
  z-index: 40;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  #broadcastViewWrap {
    display: none !important;
  }
  .stream-control-bar {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 6px 10px !important;
  }
  .stream-controls-right {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }
  #broadcastTopicWrap {
    margin-right: auto !important;
  }
  .btn-admin-sections .admin-sec-btn-text {
    display: none !important;
  }
  .stream-minimal-btn.btn-admin-sections {
    padding: 0 6px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    justify-content: center !important;
    border-radius: 6px !important;
  }
}

.stream-controls-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stream-popover-wrap {
  position: relative;
}

.stream-minimal-btn {
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-muted, #8c92a4);
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: normal;
  line-height: 1;
  height: 28px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: color 0.14s ease, background 0.14s ease;
  user-select: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.stream-minimal-btn:hover,
.stream-minimal-btn.active {
  color: var(--text-white, #ffffff);
}

.stream-minimal-btn svg {
  color: currentColor;
  opacity: 0.75;
  transition: opacity 0.12s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.stream-minimal-btn:hover svg,
.stream-minimal-btn.active svg {
  opacity: 1;
}

.stream-minimal-btn.active svg {
  transform: rotate(180deg);
}

.stream-minimal-btn.btn-admin-sections {
  color: #ff9130;
  border: 1px solid rgba(255, 118, 0, 0.2);
  padding: 0 8px;
  gap: 5px;
}
.stream-minimal-btn.btn-admin-sections:hover {
  background: rgba(255, 118, 0, 0.12);
  border-color: rgba(255, 118, 0, 0.4);
  color: #ffa44e;
}
.stream-minimal-btn.btn-admin-sections svg {
  transform: none !important;
}
.admin-sec-gear-icon {
  font-size: 11px;
  line-height: 1;
}

.stream-minimal-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: rgba(33, 36, 44, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  outline: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
  border-radius: 10px;
  padding: 5px 0;
  min-width: 175px;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 70;
}

#broadcastTopicPopover {
  left: 0 !important;
  right: auto !important;
  min-width: 210px !important;
  max-width: calc(100vw - 20px) !important;
}

#broadcastSortPopover {
  right: 0 !important;
  left: auto !important;
  min-width: 145px !important;
  max-width: calc(100vw - 20px) !important;
}

#broadcastViewPopover {
  left: 0 !important;
  right: auto !important;
  min-width: 165px !important;
  max-width: calc(100vw - 20px) !important;
}

.stream-minimal-popover.is-open {
  display: flex;
}

.stream-popover-item.stream-popover-subitem {
  padding-left: 24px !important;
  font-size: 9px !important;
  opacity: 0.88;
}

.stream-popover-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 3px 0;
}

.stream-popover-item {
  padding: 8px 13px;
  font-size: 9.5px;
  font-family: var(--font-mono, monospace);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: normal;
  color: var(--text-muted, #8c92a4);
  border-radius: 0;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: background 0.12s ease, color 0.12s ease;
}

.stream-popover-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white, #ffffff);
}

.stream-popover-item.active {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-white, #ffffff);
}

.stream-popover-item span:nth-child(2) {
  color: var(--text-dim, #676c77) !important;
}

.stream-popover-item:hover span:nth-child(2),
.stream-popover-item.active span:nth-child(2) {
  color: var(--text-white, #ffffff) !important;
}


/* ==========================================================================
   COLLAPSED 1-LINE COMPOSER TRIGGER BAR (Tap to expand)
   ========================================================================== */
.composer-collapsed-trigger {
  position: relative;
  z-index: 35;
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 10px;
  min-height: 42px;
  padding: 0 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  user-select: none;
}
.composer-collapsed-trigger.has-open-popover,
.composer-collapsed-trigger:has(.stream-minimal-popover.is-open) {
  z-index: 999;
}
.composer-collapsed-trigger:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.10);
}
.composer-collapsed-trigger:active {
  transform: scale(0.995);
}
.collapsed-trigger-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.collapsed-trigger-icon {
  color: #3b99fc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.12s ease, color 0.12s ease;
}
.composer-collapsed-trigger:hover .collapsed-trigger-icon {
  color: #58a9ff;
  transform: scale(1.12);
}

/* Slim Bar POST TYPE Selector */
.collapsed-mode-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  margin-right: 2px;
}
.collapsed-mode-wrap .composer-price-lbl {
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  font-weight: 700;
  color: var(--text-dim, #676c77);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.collapsed-mode-wrap .composer-mode-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #dbdee1;
  transition: all 0.12s ease;
  white-space: nowrap;
}
.collapsed-mode-wrap .composer-mode-btn:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff;
}
.collapsed-mode-wrap .composer-mode-btn.mode-deal {
  color: #ff7600;
  background: rgba(255, 118, 0, 0.1) !important;
  border-color: rgba(255, 118, 0, 0.28) !important;
}
.collapsed-mode-wrap .composer-mode-btn.mode-discuss {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1) !important;
  border-color: rgba(56, 189, 248, 0.28) !important;
}
.collapsed-mode-wrap .stream-minimal-popover {
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  min-width: 200px;
  max-width: calc(100vw - 32px);
  z-index: 9999;
}

@media (max-width: 680px) {
  .collapsed-mode-wrap .composer-price-lbl {
    display: none;
  }
}

@media (max-width: 600px) {
  .composer-pinned-header {
    gap: 6px;
  }
  .composer-mode-wrap {
    gap: 4px;
  }
  .composer-mode-btn {
    padding: 2px 5px;
    font-size: 9px;
  }
  .frameless-store-badge {
    width: 78px;
    font-size: 9px;
  }
  .composer-price-ribbon {
    gap: 6px;
    padding: 5px 8px;
  }
  .composer-price-field {
    gap: 3px;
  }
  .composer-price-lbl {
    font-size: 9px;
  }
  .composer-val-input {
    font-size: 11px;
    width: 42px;
    min-width: 40px;
  }
  .composer-coupon-input {
    font-size: 10.5px;
    width: 56px;
    min-width: 50px;
  }
  .ribbon-dot-sep {
    font-size: 8px;
    margin: 0;
  }
  .broadcast-deal-intel-bar {
    gap: 5px;
    padding: 5px 8px;
  }
  .broadcast-intel-lbl {
    font-size: 9px;
  }
  .broadcast-intel-reg {
    font-size: 11.5px;
  }
  .broadcast-intel-sale {
    font-size: 12px;
  }
  .broadcast-intel-coupon {
    font-size: 10.5px;
  }
}

.collapsed-trigger-prompt {
  font-size: 12.5px;
  color: var(--text-dim, #676c77);
  font-weight: 450;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}
.composer-collapsed-trigger:hover .collapsed-trigger-prompt {
  color: var(--text-body, #dbdee1);
}
.collapsed-trigger-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.collapsed-photo-btn {
  background: transparent;
  border: none;
  color: var(--text-dim, #676c77);
  font-family: var(--font-display, inherit);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.12s ease;
}
.collapsed-photo-btn:hover {
  color: #fff;
}
.collapsed-tag-hint {
  font-family: var(--font-mono, monospace);
  font-size: 8.5px;
  font-weight: 700;
  color: var(--text-dim, #676c77);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   MODERN FRAMELESS QUICK COMPOSER
   ========================================================================== */
.broadcast-composer-pinned {
  position: relative;
  z-index: 30;
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 16px 18px 14px 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.broadcast-composer-pinned:focus-within {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.12);
}

.composer-pinned-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  gap: 8px;
}

.composer-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.composer-store-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  min-width: 0;
}

.composer-mode-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.composer-mode-btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
  outline: none;
  padding: 2.5px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.14s ease, opacity 0.14s ease, background 0.14s ease;
  color: var(--text-muted, #949ba4);
  background: rgba(255, 255, 255, 0.04) !important;
  white-space: nowrap;
}
.composer-mode-btn:hover {
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.07) !important;
}
.composer-mode-btn.mode-deal {
  color: #ff7600;
  background: rgba(255, 118, 0, 0.1) !important;
}
.composer-mode-btn.mode-discuss {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1) !important;
}
.composer-mode-btn .dd-caret {
  font-size: 8.5px;
  opacity: 0.75;
  transition: transform 0.15s ease;
}
.composer-mode-wrap.is-open .composer-mode-btn .dd-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.composer-mode-wrap {
  position: relative;
}
.composer-mode-wrap .stream-minimal-popover {
  left: 0;
  right: auto;
  min-width: 195px;
}

.frameless-store-badge {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none;
  width: 90px;
  text-align: left;
  letter-spacing: normal;
  padding: 0;
  transition: color 0.15s ease;
}
.frameless-store-badge::placeholder {
  color: var(--text-dim, #676c77);
  text-transform: uppercase;
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 600;
}
.frameless-store-badge:focus {
  color: #ffffff;
}

.composer-close-btn {
  background: transparent;
  border: none;
  color: var(--text-dim, #676c77);
  cursor: pointer;
  padding: 2px 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.12s ease, transform 0.1s ease;
  line-height: 1;
}
.composer-close-btn:hover {
  color: #ffffff;
  transform: scale(1.12);
}

.frameless-input {
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  font-family: inherit;
  transition: color 0.12s ease;
}

.frameless-title-input {
  font-family: var(--font-display, inherit);
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.15px;
  flex: 1;
  min-width: 180px;
}
.frameless-title-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
  font-weight: 450;
}

/* Dedicated Price & Coupon Ribbon in Composer */
.composer-price-ribbon {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: none;
  border-radius: 7px;
  padding: 6px 10px;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 4px 0;
  width: 100%;
  box-sizing: border-box;
}
.composer-price-ribbon::-webkit-scrollbar { display: none; }

.composer-price-field {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.composer-price-lbl {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-muted, #949ba4);
  user-select: none;
  white-space: nowrap;
}
.composer-val-input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  width: 46px;
  min-width: 44px;
}
.composer-val-input::placeholder { color: rgba(255, 255, 255, 0.22); }
.composer-was-val {
  color: var(--text-dim, #676c77);
  font-weight: 600;
  text-decoration: line-through;
}
.composer-coupon-input {
  color: #38bdf8;
  font-size: 11px;
  font-weight: 600;
  width: 58px;
  min-width: 54px;
  text-transform: uppercase;
}
.composer-coupon-input::placeholder {
  color: rgba(56, 189, 248, 0.45);
  text-transform: uppercase;
  font-size: 10px;
}
.ribbon-dot-sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 8.5px;
  margin: 0;
  flex-shrink: 0;
  user-select: none;
}
.composer-pct-badge {
  margin-left: auto;
  background: #059669;
  color: #fff;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  white-space: nowrap;
}

.frameless-notes-area {
  width: 100%;
  min-height: 44px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-body, #dbdee1);
  font-family: var(--font-main, inherit);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  resize: vertical;
  padding: 0;
  margin-top: 1px;
}
.frameless-notes-area::placeholder {
  color: var(--text-dim, #676c77);
}

.frameless-link-input {
  font-size: 11px;
  color: var(--text-body, #dbdee1);
  width: 180px;
}
.frameless-link-input::placeholder {
  color: var(--text-dim, #676c77);
}

.composer-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 8px;
  margin-top: 3px;
}
.composer-tools-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-composer-tool {
  background: transparent;
  border: none;
  color: var(--text-muted, #949ba4);
  font-family: var(--font-main, inherit);
  font-size: 11.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 3px 5px;
  border-radius: 5px;
  transition: color 0.12s ease;
}
.btn-composer-tool:hover { color: #fff; }

.btn-share-deal {
  background: #ff7600;
  color: #ffffff;
  font-family: var(--font-display, inherit);
  font-size: 12px;
  font-weight: 700;
  padding: 5.5px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.12s ease, transform 0.1s ease;
  white-space: nowrap;
}
.btn-share-deal:hover {
  background: #ff8a24;
  transform: translateY(-1px);
}
.btn-share-deal:active {
  transform: translateY(0);
}

/* ==========================================================================
   DEAL INTEL BAR & FLAR BADGES
   ========================================================================== */
.broadcast-deal-intel-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono, monospace);
  background: rgba(255, 255, 255, 0.025);
  border: none;
  border-radius: 7px;
  padding: 6px 10px;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
  box-sizing: border-box;
  margin: 6px 0;
}
.broadcast-deal-intel-bar::-webkit-scrollbar { display: none; }
.broadcast-intel-lbl {
  font-size: 9.5px;
  color: var(--text-dim, #676c77);
  font-weight: 600;
  white-space: nowrap;
}
.broadcast-intel-reg {
  color: var(--text-dim, #676c77);
  font-size: 12px;
  font-weight: 600;
  text-decoration: line-through;
  white-space: nowrap;
}
.broadcast-intel-sale {
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.broadcast-intel-coupon {
  color: #38bdf8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: transparent;
  border: none;
  padding: 0;
  white-space: nowrap;
}
.broadcast-intel-pct {
  margin-left: auto;
  background: #059669;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.forum-cat-flair {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #38bdf8;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  padding: 0;
  flex-shrink: 0;
  white-space: nowrap;
}
.forum-cat-flair.cat-deal { color: #ff7600; }
.forum-cat-flair.cat-discussion,
.forum-cat-flair.cat-question { color: #38bdf8; }

/* ==========================================================================
   ADMIN SECTIONS MANAGEMENT MODAL
   ========================================================================== */
.broadcast-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.15s ease;
}

.broadcast-admin-modal {
  background: #1e2129;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.admin-modal-title {
  font-family: var(--font-display, inherit);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-modal-body {
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-section-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-sec-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.admin-sec-name {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-sec-sub {
  font-size: 11px;
  color: var(--text-dim, #676c77);
  font-family: var(--font-mono, monospace);
}

.admin-sec-badge {
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.admin-sec-badge.deal {
  background: rgba(255, 118, 0, 0.14);
  color: #ff9130;
}

.admin-sec-badge.discussion {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
}

.admin-sec-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-sec-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.admin-sec-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.admin-sec-btn.delete-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

.admin-form-wrap {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

@keyframes adminEditPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 118, 0, 0.7); border-color: #ff7600; }
  50% { box-shadow: 0 0 0 6px rgba(255, 118, 0, 0.35); border-color: #ff9130; }
  100% { box-shadow: 0 0 0 2px rgba(255, 118, 0, 0.25); border-color: #ff7600; }
}

.admin-form-wrap.is-editing-highlight {
  border-color: #ff7600 !important;
  animation: adminEditPulse 0.8s ease-out;
  box-shadow: 0 0 0 2px rgba(255, 118, 0, 0.25) !important;
}

.admin-section-card.is-currently-editing {
  border-color: rgba(255, 118, 0, 0.45) !important;
  background: rgba(255, 118, 0, 0.08) !important;
}

.admin-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 600px) {
  .admin-form-grid-2 { grid-template-columns: 1fr; }
}

.admin-form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-form-field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted, #949ba4);
  font-family: var(--font-mono, monospace);
}

.admin-form-input, .admin-form-select {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  padding: 7px 10px;
  outline: none;
}
.admin-form-input:focus, .admin-form-select:focus {
  border-color: rgba(255, 118, 0, 0.4);
}

.admin-form-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-body, #dbdee1);
}
.admin-form-checkbox-row input {
  accent-color: #ff7600;
}

/* ── Broadcast Feed Cards ─────────────────────────────────────────────── */
.broadcast-stream-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.broadcast-feed-card {
  background: rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.15s ease, border-color 0.15s ease;
  position: relative;
}

.broadcast-feed-card:hover {
  background: rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.09);
}

.broadcast-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.broadcast-user-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.broadcast-card-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-display, inherit);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

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

.broadcast-card-author {
  font-family: var(--font-main, inherit);
  font-size: 12px;
  font-weight: 500;
  color: #cbd5e1;
  cursor: pointer;
  transition: color 0.15s ease;
}

.broadcast-card-author:hover {
  color: #ff9130;
  text-decoration: underline;
}

.broadcast-tier-badge {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-dim, #676c77);
}

.broadcast-tier-badge.elite { color: #c084fc; }
.broadcast-tier-badge.premium { color: #8591ff; }

.broadcast-time-tag {
  color: var(--text-dim, #676c77);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.broadcast-edited-tag {
  color: var(--text-dim, #676c77);
  font-size: 10px;
  font-style: italic;
  opacity: 0.75;
}

.broadcast-edit-btn {
  background: transparent;
  border: none;
  color: var(--text-dim, #676c77);
  padding: 3px 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.12s ease;
}

.broadcast-edit-btn:hover {
  color: #ff9130;
  background: rgba(255, 118, 0, 0.12);
}

.broadcast-edit-btn.is-active {
  color: #ff7600;
  background: rgba(255, 118, 0, 0.18);
  box-shadow: 0 0 0 1px rgba(255, 118, 0, 0.4);
}

.broadcast-store-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.broadcast-store-badge {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.broadcast-store-badge[contenteditable="true"] {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px dashed rgba(255, 255, 255, 0.25) !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

.broadcast-card-title {
  font-family: var(--font-display, inherit);
  font-size: 14.5px;
  font-weight: 750;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: -0.2px;
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.broadcast-title-link {
  font-family: var(--font-display, inherit);
  font-size: 14.5px;
  font-weight: 750;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.35;
  letter-spacing: -0.2px;
  transition: color 0.15s ease;
}

.broadcast-title-link:hover {
  color: #ff9130;
}

.broadcast-title-link:hover .external-link-icon {
  opacity: 1;
}

.broadcast-title-price {
  color: #ff7600;
  font-family: var(--font-display, inherit);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.broadcast-title-was {
  color: var(--text-dim, #676c77);
  font-family: var(--font-main, inherit);
  font-size: 11.5px;
  font-weight: 500;
  opacity: 0.85;
}

.broadcast-title-was:not(:empty) {
  text-decoration: line-through;
}

.broadcast-title-was:empty::before {
  text-decoration: none !important;
}

.broadcast-card-text {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
  word-break: break-word;
}

.broadcast-image-preview-wrap {
  margin-top: 4px;
  display: inline-flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  max-width: 220px;
  max-height: 140px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.broadcast-image-preview-wrap:hover {
  transform: scale(1.02);
  border-color: rgba(255, 118, 0, 0.5);
}

.broadcast-image-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.broadcast-link-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-main, inherit);
  font-size: 11px;
  color: #8591ff;
  text-decoration: none;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  transition: color 0.12s;
}

.broadcast-link-chip:hover {
  text-decoration: underline;
  color: #a5b0ff;
}

.broadcast-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.broadcast-actions-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.broadcast-actions-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.broadcast-upvote-btn {
  background: transparent;
  border: none;
  color: var(--text-dim, #949ba4);
  font-family: var(--font-display, inherit);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.broadcast-upvote-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: none;
}

.broadcast-upvote-btn.has-upvoted {
  color: #ff9130;
  background: rgba(255, 118, 0, 0.12);
  border: none;
}

.broadcast-replies-pill {
  background: transparent !important;
  border: none !important;
  color: var(--text-dim, #949ba4);
  font-family: var(--font-main, inherit);
  font-size: 11.5px;
  font-weight: 600;
  padding: 0 !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.12s ease;
  user-select: none;
}

.broadcast-replies-pill:hover {
  color: #e2e8f0;
}

.broadcast-replies-pill.is-open {
  color: #ff9130;
}

.broadcast-replies-pill .reply-chevron {
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.broadcast-replies-pill.is-open .reply-chevron {
  transform: rotate(90deg);
}

.broadcast-share-icon {
  background: transparent;
  border: none;
  color: var(--text-dim, #676c77);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.12s;
}

.broadcast-share-icon:hover {
  color: #fff;
}

/* ── Inline Replies Thread (Discord Chronological Flow) ────────────────── */
.broadcast-inline-replies {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0 0 0;
  margin-top: 4px;
}

.broadcast-inline-replies.is-open {
  display: flex;
}

.replies-thread-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.broadcast-reply-item {
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.4;
  padding: 4px 6px;
  position: relative;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.broadcast-reply-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.broadcast-reply-main-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.broadcast-reply-text-wrap {
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}

.broadcast-reply-author {
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
  font-size: 11.5px;
  margin-right: 5px;
  cursor: pointer;
  transition: color 0.15s ease;
}

.broadcast-reply-author:hover {
  color: #ff9130;
  text-decoration: underline;
}

.broadcast-reply-text {
  color: #cbd5e1;
  word-break: break-word;
}

/* Discord-Style Quoted Reference Spine */
.broadcast-reply-context-line {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: var(--text-dim, #676c77);
  margin-bottom: 2px;
  padding-left: 3px;
  line-height: 1.3;
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.15s ease;
}

.broadcast-reply-context-line:hover {
  opacity: 0.85;
}

.broadcast-reply-context-line:hover .reply-context-snippet {
  color: #94a3b8;
  text-decoration: underline;
}

.reply-context-spine {
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  width: 13px;
  height: 16px;
  margin-right: 1px;
  margin-bottom: -4px;
}

.reply-context-user {
  color: #cbd5e1;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease;
}

.reply-context-user:hover {
  color: #ff9130;
  text-decoration: underline;
}

.reply-context-snippet {
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 250px;
  transition: color 0.15s ease;
}

/* Discord-Style Pulse Glow Animation */
@keyframes discordReplyPulse {
  0% {
    background-color: rgba(255, 118, 0, 0.28);
    box-shadow: 0 0 0 4px rgba(255, 118, 0, 0.15), 0 2px 10px rgba(255, 118, 0, 0.2);
  }
  100% {
    background-color: transparent;
    box-shadow: none;
  }
}

.broadcast-reply-item.is-highlight-pulse,
.broadcast-feed-card.is-highlight-pulse {
  animation: discordReplyPulse 1.5s ease-out forwards;
}

.broadcast-reply-right-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.4;
}

.broadcast-reply-time {
  font-size: 10px;
  color: var(--text-dim, #676c77);
}

.broadcast-reply-action-btn {
  background: transparent;
  border: none;
  color: var(--text-dim, #676c77);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  opacity: 0;
}

.broadcast-reply-item:hover .broadcast-reply-action-btn {
  opacity: 1;
}

.broadcast-reply-action-btn:hover {
  color: #ff9130;
  background: rgba(255, 118, 0, 0.12);
}

@media (hover: none), (pointer: coarse) {
  .broadcast-reply-action-btn {
    opacity: 0.6;
  }
}

.broadcast-reply-photo-row {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 3px;
  padding-left: 6px;
}

.reply-photo-arrow {
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  width: 14px;
  height: 28px;
  transition: color 0.15s ease;
}

.broadcast-reply-photo-wrap {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.broadcast-reply-photo-wrap:hover {
  transform: scale(1.04);
  border-color: rgba(255, 118, 0, 0.5);
}

.broadcast-reply-thumb {
  width: 50px;
  height: 42px;
  object-fit: cover;
  display: block;
}

.broadcast-reply-photo-badge {
  position: absolute;
  right: 3px;
  bottom: 3px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  border-radius: 3px;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* ── Replying Context Dock ────────────────────────────────────────────── */
.broadcast-replying-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 118, 0, 0.08);
  border: 1px solid rgba(255, 118, 0, 0.25);
  border-radius: 6px;
  padding: 4px 8px;
  margin-top: 8px;
  font-size: 10.5px;
  color: #ff9d42;
}

.replying-dock-info {
  display: flex;
  align-items: center;
  gap: 5px;
}

.replying-dock-cancel {
  background: transparent;
  border: none;
  color: #ff9d42;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  padding: 0 4px;
  border-radius: 3px;
}

.replying-dock-cancel:hover {
  background: rgba(255, 118, 0, 0.2);
}

/* ── Mini Reply Composer ──────────────────────────────────────────────── */
.broadcast-mini-reply-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 6px;
}

.broadcast-mini-reply-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 11.5px;
  color: #fff;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.broadcast-mini-reply-input:focus {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.28);
}

.broadcast-attach-photo-btn {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  color: var(--text-dim, #949ba4);
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}

.broadcast-attach-photo-btn:hover,
.broadcast-attach-photo-btn.active {
  background: rgba(255, 118, 0, 0.12);
  color: #ff9130;
  border-color: rgba(255, 118, 0, 0.35);
}

.broadcast-attach-preview {
  margin-top: 4px;
  display: flex;
  align-items: center;
}

.attach-preview-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 4px;
  background: rgba(255, 118, 0, 0.1);
  border: 1px solid rgba(255, 118, 0, 0.25);
  border-radius: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  color: #ff9130;
}

.attach-preview-thumb {
  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
}

.attach-preview-remove {
  cursor: pointer;
  opacity: 0.7;
  font-size: 13px;
  margin-left: 2px;
}

.attach-preview-remove:hover {
  opacity: 1;
}

.broadcast-mini-reply-btn {
  background: #ff7600;
  color: #fff;
  font-family: var(--font-display, inherit);
  font-size: 11px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
  flex-shrink: 0;
}

.broadcast-mini-reply-btn:hover {
  opacity: 0.9;
}

/* ── Earlier Comments Pill ────────────────────────────────────────────── */
.broadcast-load-earlier-wrap {
  display: flex;
  justify-content: center;
  padding: 4px 0 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}

.broadcast-load-earlier-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.broadcast-load-earlier-btn:hover {
  background: rgba(255, 118, 0, 0.12);
  color: #ff9130;
  border-color: rgba(255, 118, 0, 0.3);
}

/* ── Photo Lightbox Modal ─────────────────────────────────────────────── */
.broadcast-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeInModal 0.15s ease;
}

.broadcast-lightbox.is-open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  object-fit: contain;
}

.lightbox-close-btn {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(24, 28, 38, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s;
}

.lightbox-close-btn:hover {
  background: #ff7600;
  border-color: #ff7600;
}

/* ── Broadcast Edit Modal ─────────────────────────────────────────────── */
.broadcast-edit-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.broadcast-edit-modal-backdrop.is-open {
  display: flex;
}

.broadcast-edit-modal-card {
  background: #181b24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  padding: 22px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.broadcast-edit-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.broadcast-edit-modal-title {
  font-family: var(--font-display, inherit);
  font-size: 16px;
  font-weight: 750;
  color: #fff;
}

.broadcast-edit-modal-close {
  background: transparent;
  border: none;
  color: var(--text-dim, #949ba4);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.broadcast-edit-modal-close:hover {
  color: #fff;
}

.broadcast-edit-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.broadcast-edit-cancel-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.broadcast-edit-save-btn {
  background: #ff7600;
  border: none;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.broadcast-edit-save-btn:hover {
  background: #ff8a24;
}

/* ── Card Action Buttons (Edit & Delete) ─────────────────────────────── */
.broadcast-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 4px;
}

.broadcast-delete-btn {
  background: transparent;
  border: none;
  color: var(--text-dim, #676c77);
  padding: 3px 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.12s ease;
  opacity: 0.7;
}

.broadcast-delete-btn:hover {
  color: #f23f43;
  background: rgba(242, 63, 67, 0.14);
  opacity: 1;
}

/* ── Inline Edit Mode inside Card ───────────────────────────────────── */
.broadcast-feed-card.is-editing {
  border-color: rgba(255, 118, 0, 0.35);
  background: rgba(20, 20, 24, 0.65);
}

.inline-edit-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 750;
  color: #ff9130;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 118, 0, 0.12);
  border: 1px solid rgba(255, 118, 0, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
}

/* ── Direct In-Place Contenteditable Editing (Zero Layout Shift, Pure Text) ─ */
.broadcast-feed-card [contenteditable="true"] {
  outline: none;
  cursor: text;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  border-radius: 4px;
}

.broadcast-feed-card [contenteditable="true"]:hover {
  background: rgba(255, 118, 0, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 118, 0, 0.35);
}

.broadcast-feed-card [contenteditable="true"]:focus {
  background: rgba(255, 118, 0, 0.12);
  box-shadow: 0 0 0 1.5px var(--accent-orange, #ff7600);
}

/* When empty in edit mode, render CSS placeholder without any layout collapse or element jumps */
.broadcast-feed-card [contenteditable="true"]:empty {
  display: inline-block;
  min-width: 24px;
}

.broadcast-feed-card [contenteditable="true"]:empty::before {
  content: attr(data-placeholder);
  color: var(--text-dim, #8a909d);
  font-style: italic;
  font-weight: 500;
  opacity: 0.65;
  pointer-events: none;
  cursor: text;
}

/* Matching pill-badge styling for the link in edit mode */
.broadcast-store-badge.broadcast-link-badge {
  color: #8591ff;
  text-transform: none;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.broadcast-store-badge.broadcast-link-badge:focus {
  max-width: none;
  white-space: normal;
  word-break: break-all;
}

/* ── Condensed Card Layout & Details Trigger ───────────────────────────── */
.broadcast-feed-card.is-condensed {
  padding: 18px 20px;
  gap: 12px;
  cursor: pointer;
}

.broadcast-feed-card.is-condensed:hover {
  background: rgba(0, 0, 0, 0.16);
  border-color: rgba(255, 255, 255, 0.09);
}

.broadcast-feed-card.is-condensed .broadcast-deal-intel-bar {
  margin: 4px 0;
}

.broadcast-feed-card.is-condensed .broadcast-upvote-btn {
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.broadcast-condensed-row-top,
.broadcast-condensed-row-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.broadcast-condensed-title-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.broadcast-condensed-title-link {
  font-family: var(--font-display, inherit);
  font-size: 13.5px;
  font-weight: 750;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
  line-height: 1.35;
  flex-wrap: wrap;
}

.broadcast-condensed-title-link:hover {
  color: #ff9130;
}

.external-link-icon {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}

.broadcast-condensed-title-link:hover .external-link-icon {
  opacity: 1;
}

.broadcast-condensed-title-text {
  font-family: var(--font-display, inherit);
  font-size: 13.5px;
  font-weight: 750;
  color: #fff;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.broadcast-condensed-price {
  color: #ff9130;
  font-weight: 800;
  font-size: 13.5px;
  font-family: var(--font-display, inherit);
  white-space: nowrap;
}

.broadcast-condensed-price-group {
  display: none !important;
}

.broadcast-condensed-row-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-muted, #949ba4);
}

.broadcast-condensed-meta-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.meta-separator {
  color: var(--text-dim, #4e525a);
  font-size: 9px;
}

.broadcast-comments-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-dim, #949ba4);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.12s ease, background 0.12s ease;
}

.broadcast-comments-indicator:hover {
  color: #ff9130;
  background: rgba(255, 118, 0, 0.08);
}

.broadcast-photo-indicator {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--text-dim, #949ba4);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.broadcast-expand-btn,
.broadcast-collapse-btn {
  background: transparent !important;
  border: none !important;
  color: var(--text-dim, #676c77);
  padding: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s ease, transform 0.12s ease;
  flex-shrink: 0;
  line-height: 1;
}

.broadcast-expand-btn:hover,
.broadcast-collapse-btn:hover {
  color: #ff9130;
  background: transparent !important;
  transform: scale(1.08);
}

.broadcast-feed-card.is-condensed:hover .broadcast-expand-btn {
  color: #e2e8f0;
}

.broadcast-feed-card.is-condensed:hover .broadcast-expand-btn:hover {
  color: #ff9130;
}
