/* ==========================================================================
   LIVE PUBLISHER (v5.5.8) - COMPACT NON-SCROLLABLE MONOCHROMATIC
   Zero Emojis. Zero Neon. Zero Inner Scrollbars.
   ========================================================================== */

.lp-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99992;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.14s ease;
}

.lp-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.lp-compact-card {
  width: 440px;
  max-width: 92vw;
  background: #111111;
  border: 1px solid #222222;
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  gap: 12px;
  font-family: var(--font-sans);
  color: #ededed;
  box-sizing: border-box;
}

.lp-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-brand-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
}

.lp-brand-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lp-close-btn {
  background: transparent;
  border: none;
  color: #737373;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 4px;
  cursor: pointer;
  transition: color 0.12s ease;
}

.lp-close-btn:hover {
  color: #ffffff;
}

.lp-pill-tab {
  background: #181818;
  border: 1px solid #262626;
  color: #888888;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.lp-pill-tab:hover {
  background: #222222;
  color: #ffffff;
}

.lp-content-slot {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-source-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #090909;
  border: 1px solid #1c1c1c;
  border-radius: 6px;
  padding: 6px 10px;
}

.lp-source-target {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
}

.lp-source-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #737373;
  background: #141414;
  padding: 1px 5px;
  border-radius: 3px;
}

/* SEGMENTED 2-PILL SELECTOR */
.lp-segmented-deck {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  background: #090909;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  padding: 3px;
}

.lp-seg-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 6px 4px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #737373;
  cursor: pointer;
  transition: all 0.12s ease;
  user-select: none;
}

.lp-seg-btn:hover {
  background: #141414;
  color: #a3a3a3;
}

.lp-seg-btn.active {
  background: #181818;
  border-color: #2c2c2c;
  color: #ffffff;
}

.lp-seg-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}

.lp-seg-name {
  font-size: 11px;
  font-weight: 600;
}

/* INFO BOX */
.lp-info-box {
  background: #0c0c0c;
  border: 1px solid #1c1c1c;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lp-info-box strong {
  font-size: 11px;
  color: #ffffff;
}

.lp-info-box span {
  font-size: 10px;
  color: #777777;
  line-height: 1.4;
}

.lp-info-box code {
  font-family: var(--font-mono);
  color: #a3a3a3;
}

/* HERO BUTTON */
.lp-hero-btn {
  height: 34px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 6px;
  color: #000000;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.12s ease;
}

.lp-hero-btn:hover {
  background: #e5e5e5;
}

.lp-hero-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* FEEDBACK BOX */
.lp-feedback-box {
  background: #090909;
  border: 1px solid #222222;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-feedback-box.is-success {
  border-color: #1f3328;
}

.lp-feedback-box.is-error {
  border-color: #3b1f1f;
}

.lp-feedback-box.is-pro-gate {
  border-color: #3f3f3f;
  background: #141414;
}

.lp-fb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-fb-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #34d399;
}

.lp-fb-tag.error {
  color: #f87171;
}

.lp-url-copy-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #000000;
  padding: 4px 8px;
  border-radius: 4px;
}

.lp-live-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-live-text:hover {
  text-decoration: underline;
}

.lp-inline-copy {
  background: #181818;
  border: 1px solid #262626;
  color: #ffffff;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
}

.lp-fb-claim-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #161616;
  padding-top: 4px;
}

.lp-claim-link, .lp-action-link {
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
  background: #1c1c1c;
  border: 1px solid #282828;
  padding: 2px 8px;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
}

.lp-claim-link:hover, .lp-action-link:hover {
  background: #262626;
}

.lp-history-scroll {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
}

.lp-hist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0c0c0c;
  border: 1px solid #1c1c1c;
  border-radius: 4px;
  padding: 6px 8px;
}

.lp-hist-link {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #888888;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
}

.lp-del-hist {
  background: transparent;
  border: none;
  color: #737373;
  cursor: pointer;
  font-size: 10px;
}

.lp-empty-history {
  padding: 20px;
  text-align: center;
  color: #555555;
  font-size: 11px;
}