/* ============ Bags coin launch (lc-) ============ */

/* ---------- modal ---------- */
.lc { padding: 0 32px 32px; }
.lc-title { font-size: 20px; font-weight: 800; line-height: 26px; padding: 4px 0 20px; }
.lc-body { padding-bottom: 80px; } /* Space for sticky action bar on mobile */

.lc-error {
  background: rgba(244, 33, 46, 0.1);
  border: 1px solid rgba(244, 33, 46, 0.4);
  color: #f4212e;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 16px;
  word-break: break-word;
}

.lc-field { margin-bottom: 18px; min-width: 0; }
.lc-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  color: var(--text-2);
  margin-bottom: 8px;
}
.lc-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  line-height: 20px;
  color: var(--text);
  box-sizing: border-box;
}
.lc-input::placeholder { color: var(--text-2-elev); }
.lc-input:focus { border-color: var(--blue); background: transparent; outline: none; }
.lc-input:disabled { opacity: 0.6; cursor: not-allowed; }
.lc-textarea { 
  resize: vertical; 
  min-height: 80px;
  line-height: 22px;
}

.lc-row { display: flex; gap: 14px; align-items: flex-start; }
.lc-row .lc-field { flex: 1; min-width: 0; margin-bottom: 0; }
.lc-field-sym { max-width: 140px; flex-shrink: 0; }
.lc-symbol { text-transform: uppercase; }

.lc-buy-wrap { position: relative; }
.lc-buy { padding-right: 60px; }
.lc-unit {
  position: absolute; 
  right: 14px; 
  top: 50%; 
  transform: translateY(-50%);
  color: var(--text-2); 
  font-size: 13px; 
  font-weight: 700; 
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

/* ---------- quote token dropdown ---------- */
.lc-quote-dropdown { position: relative; }
.lc-quote-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  gap: 8px;
}
.lc-quote-btn:disabled { cursor: not-allowed; }
.lc-quote-selected {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.lc-quote-selected img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.lc-quote-symbol {
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}
.lc-quote-name {
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lc-quote-arrow {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.lc-quote-btn[aria-expanded="true"] .lc-quote-arrow {
  transform: rotate(180deg);
}
.lc-quote-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-height: 320px;
  display: flex;
  flex-direction: column;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.lc-quote-search-wrap {
  padding: 12px;
  border-bottom: 1px solid var(--border);
}
.lc-quote-search {
  margin: 0;
}
.lc-quote-list {
  overflow-y: auto;
  max-height: 256px;
}
.lc-quote-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  color: var(--text);
  transition: background-color 0.15s;
}
.lc-quote-item:hover {
  background: var(--hover);
}
.lc-quote-item:focus {
  outline: none;
  background: var(--hover);
}
.lc-quote-item[aria-selected="true"] {
  background: var(--blue-a);
}
.lc-quote-item-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-input);
}
.lc-quote-item-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--bg-input);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-2);
}
.lc-quote-item-text {
  min-width: 0;
  flex: 1;
}
.lc-quote-item-symbol {
  font-weight: 700;
  font-size: 15px;
}
.lc-quote-item-name {
  font-size: 13px;
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lc-quote-note {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 6px;
  line-height: 1.4;
}

/* ---------- image picker ---------- */
.lc-img { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  flex-wrap: wrap;
  min-height: 72px;
}
.lc-img-btn {
  width: 76px; height: 76px; flex: none;
  border: 1px dashed var(--border); border-radius: 12px;
  background: var(--bg-elev); color: var(--text-2);
  display: grid; place-items: center; overflow: hidden;
  transition: border-color 0.2s, background-color 0.2s;
  cursor: pointer;
}
.lc-img-btn:hover:not(:disabled) { border-color: var(--blue); background: var(--blue-a); }
.lc-img-btn:disabled { cursor: not-allowed; }
.lc-img-btn img { width: 100%; height: 100%; object-fit: cover; }
.lc-img-hint { font-size: 28px; line-height: 1; }
.lc-img-remove {
  width: 28px; height: 28px; flex: none; border-radius: 9999px;
  display: grid; place-items: center;
  background: var(--bg-input); color: var(--text);
  font-size: 18px; line-height: 1;
  transition: background-color 0.2s;
  cursor: pointer;
}
.lc-img-remove:hover:not(:disabled) { background: var(--hover); }
.lc-img-remove:disabled { cursor: not-allowed; opacity: 0.6; }
.lc-img-note { 
  color: var(--text-2); 
  font-size: 12px; 
  line-height: 18px;
  flex: 1 1 auto;
  min-width: 140px;
}

/* ---------- image generation ---------- */
.lc-gen {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  align-items: center;
}
.lc-gen-prompt {
  flex: 1;
  min-width: 0;
}
.lc-gen-btn {
  flex-shrink: 0;
  min-width: 100px;
}

/* ---------- style chips ---------- */
.lc-styles {
  margin-top: 12px;
  margin-bottom: 4px;
}
.lc-styles-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.lc-styles-scroll::-webkit-scrollbar {
  height: 6px;
}
.lc-styles-scroll::-webkit-scrollbar-track {
  background: var(--bg-elev);
  border-radius: 3px;
}
.lc-styles-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
.lc-style-chip {
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
  overflow: hidden;
  padding: 0;
}
.lc-style-chip:hover:not(:disabled) {
  border-color: var(--blue);
  transform: scale(1.02);
}
.lc-style-chip:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.lc-style-ascii-w {
  background: #000;
  color: #fff;
}
.lc-style-ascii-b {
  background: #fff;
  color: #000;
}
.lc-style-ascii-w .lc-style-preview,
.lc-style-ascii-b .lc-style-preview,
.lc-style-slop .lc-style-preview {
  font-family: 'Courier New', Courier, monospace;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  text-align: center;
  word-break: break-all;
  padding: 4px;
}
/* SLOP: black dashed/italic wordmark on neon lime */
.lc-style-slop {
  background: #c3f53c;
  color: #0a0a0a;
}
.lc-style-slop .lc-style-preview {
  font-style: italic;
  transform: skewX(-8deg);
  letter-spacing: 0.5px;
  text-decoration: underline dashed;
  text-underline-offset: 2px;
}
.lc-style-add {
  background: var(--bg-input);
}
.lc-style-add-icon {
  font-size: 32px;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1;
}
.lc-style-add:hover:not(:disabled) .lc-style-add-icon {
  color: var(--blue);
}

/* ---------- prompt ideas ---------- */
.lc-ideas {
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--bg-elev);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.lc-ideas-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lc-idea-chip {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 6px 6px 0;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
  line-height: 18px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.lc-idea-chip:hover:not(:disabled) {
  background: var(--hover);
  border-color: var(--blue);
  transform: translateY(-1px);
}
.lc-idea-chip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- progress + actions ---------- */
.lc-status {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-2); 
  font-size: 14px;
  line-height: 20px;
  padding: 8px 0;
  margin-top: 4px;
}
.lc-spinner.spinner { width: 18px; height: 18px; margin: 0; border-width: 2px; }
.lc-actions { 
  display: flex; 
  justify-content: flex-end; 
  gap: 12px; 
  margin-top: 20px;
  padding-top: 4px;
}

/* ---------- success state ---------- */
.lc-success { text-align: center; padding: 8px 0 4px; }
.lc-success-img {
  width: 88px; height: 88px; border-radius: 20px;
  object-fit: cover; margin: 4px auto 16px;
}
.lc-success-emoji {
  display: grid; place-items: center;
  font-size: 44px; background: var(--bg-elev);
}
.lc-success .lc-title { padding-bottom: 4px; }
.lc-success-sub { color: var(--text-2); font-size: 15px; }
.lc-success-link {
  display: inline-block; margin: 12px 0 20px;
  font-size: 15px; word-break: break-all;
}
.lc-success .lc-done { margin: 0 auto; display: flex; }

/* ---------- coin chip on tweets ---------- */
.lc-chip {
  display: flex; align-items: center; gap: 12px;
  margin-top: 12px; padding: 12px;
  border: 1px solid var(--border); border-radius: 16px;
  transition: background-color 0.2s;
}
.lc-chip:hover { background: var(--hover-faint); }
.lc-chip-img {
  width: 48px; height: 48px; flex: none;
  border-radius: 12px; object-fit: cover;
}
.lc-chip-emoji {
  display: grid; place-items: center;
  font-size: 24px; background: var(--bg-elev);
}
.lc-chip-info { min-width: 0; }
.lc-chip-head {
  display: flex; align-items: baseline; gap: 6px; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lc-chip-sym { font-weight: 800; color: var(--text); }
.lc-chip-name { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; }
.lc-chip-link { display: block; color: var(--blue); font-size: 13px; margin-top: 2px; }

/* Bags launch options */
.lc-bags { 
  border: 1px solid var(--border); 
  border-radius: 12px; 
  padding: 0 14px;
  margin-bottom: 18px;
}
.lc-bags-summary { 
  cursor: pointer; 
  padding: 14px 0;
  font-weight: 700; 
  font-size: 14px;
  line-height: 20px;
  list-style: none;
  user-select: none;
}
.lc-bags-summary::-webkit-details-marker { display: none; }
.lc-bags-summary::before { 
  content: '\25B8 '; 
  color: var(--text-2);
  margin-right: 4px;
}
.lc-bags[open] .lc-bags-summary::before { content: '\25BE '; }
.lc-bags .lc-field { 
  padding-bottom: 14px; 
  margin-bottom: 0;
}
.lc-bags .lc-field:last-child { padding-bottom: 16px; }
.lc-opt { 
  color: var(--text-2); 
  font-weight: 400; 
  font-size: 12px;
  margin-left: 4px;
}
select.lc-feemode, 
select.lc-quote { 
  width: 100%; 
  appearance: none; 
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23536471' d='M6 8L0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* Quote token note for DAMM v2 */
.lc-quote-note {
  font-size: 12px;
  line-height: 18px;
  color: var(--text-2);
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--bg-elev);
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* Airdrop wallets field */
.lc-airdrop-hint { 
  font-size: 12px;
  line-height: 18px;
  color: var(--text-2); 
  margin-top: 6px;
  margin-bottom: 2px;
}
.lc-airdrop-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.lc-airdrop-use-mine,
.lc-airdrop-add-feeshare {
  padding: 7px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.lc-airdrop-use-mine:hover:not(:disabled),
.lc-airdrop-add-feeshare:hover:not(:disabled) {
  background: var(--hover);
  border-color: var(--blue);
}
.lc-airdrop-use-mine:disabled,
.lc-airdrop-add-feeshare:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lc-fs-row { 
  display: flex; 
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
}
.lc-fs-at { 
  color: var(--text-2); 
  font-weight: 700;
  line-height: 42px;
  padding: 0 2px;
}
.lc-fs-user { 
  flex: 1; 
  min-width: 140px;
}
.lc-fs-pct { 
  width: 80px; 
  flex: none;
}
.lc-fs-status { 
  font-size: 12px;
  line-height: 18px;
  margin-top: 8px;
  min-height: 18px;
  color: var(--text-2);
  width: 100%;
}
.lc-fs-status.good { color: var(--green); }
.lc-fs-status.bad { color: #f4212e; }

/* coin chip + one-click launch button */
.lc-coin-row { display: flex; gap: 8px; align-items: stretch; margin-top: 12px; }
.lc-coin-row .lc-chip { margin-top: 0; flex: 1; min-width: 0; }
.lc-launch-btn {
  flex: none; align-self: stretch;
  padding: 0 16px; border: none; border-radius: 16px; cursor: pointer;
  background: var(--green); color: #fff; font-weight: 800; font-size: 14px;
  white-space: nowrap; transition: filter 0.15s;
}
.lc-launch-btn:hover { filter: brightness(1.08); }

/* ============ Mobile optimizations (≤520px) ============ */
@media (max-width: 520px) {
  .lc-coin-row { flex-direction: column; }
  .lc-launch-btn { padding: 12px; }

  /* Full-width modal on mobile with reduced padding */
  .lc { padding: 0 16px 24px; }
  .lc-body { padding-bottom: 100px; } /* More space for sticky footer */
  .lc-title { padding-bottom: 16px; }
  
  /* Increased field spacing on mobile */
  .lc-field { margin-bottom: 20px; }
  
  /* Stack name/symbol row vertically on narrow screens */
  .lc-row { 
    flex-direction: column; 
    gap: 0;
  }
  .lc-row .lc-field { margin-bottom: 20px; }
  .lc-row .lc-field:last-child { margin-bottom: 0; }
  .lc-field-sym { max-width: none; }
  
  /* Larger tap targets (≥44px) for mobile */
  .lc-input, .lc-textarea, .lc-feemode, .lc-quote { 
    padding: 13px 16px; 
    font-size: 16px; /* Prevent iOS zoom on focus */
    min-height: 48px;
    line-height: 22px;
  }
  .lc-textarea { 
    min-height: 88px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .lc-buy { padding-right: 70px; }
  .lc-unit { 
    right: 16px;
    font-size: 14px;
  }
  
  .lc-label {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
  }
  
  .lc-img { gap: 14px; }
  .lc-img-btn { 
    width: 96px; 
    height: 96px;
  }
  .lc-img-remove {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .lc-img-note {
    font-size: 13px;
    line-height: 19px;
  }
  
  /* Bags options details - larger summary tap target */
  .lc-bags { 
    padding: 0 16px;
    margin-bottom: 20px;
  }
  .lc-bags-summary { 
    padding: 16px 0;
    font-size: 15px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .lc-bags .lc-field { padding-bottom: 16px; }
  .lc-bags .lc-field:last-child { padding-bottom: 18px; }
  
  .lc-quote-note {
    font-size: 13px;
    line-height: 19px;
    padding: 10px 12px;
    margin-top: 10px;
  }
  
  /* Fee share row: ensure proper stacking */
  .lc-fs-row { 
    gap: 10px;
  }
  .lc-fs-at {
    line-height: 48px;
  }
  .lc-fs-user { 
    min-width: 0;
    flex: 1 1 100%;
  }
  .lc-fs-pct {
    width: 90px;
  }
  .lc-fs-status {
    font-size: 13px;
    line-height: 19px;
    margin-top: 10px;
  }
  
  /* Airdrop field */
  .lc-airdrop-hint {
    font-size: 13px;
    line-height: 19px;
    margin-top: 8px;
  }
  .lc-airdrop-actions {
    margin-top: 10px;
    gap: 10px;
  }
  .lc-airdrop-use-mine,
  .lc-airdrop-add-feeshare {
    padding: 9px 14px;
    font-size: 13px;
    line-height: 20px;
    min-height: 38px;
  }
  
  /* Sticky action bar at bottom to keep keyboard from covering Launch button */
  .lc-actions { 
    position: sticky;
    bottom: 0;
    background: var(--bg);
    padding: 18px 16px;
    padding-bottom: max(18px, calc(18px + env(safe-area-inset-bottom)));
    margin: 24px -16px -24px;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }
  
  /* Larger buttons for mobile */
  .lc-actions .btn { 
    flex: 1;
    min-height: 50px;
    font-size: 16px;
    font-weight: 700;
  }
  
  .lc-error {
    font-size: 14px;
    line-height: 20px;
    padding: 12px 14px;
    margin-bottom: 18px;
  }
  
  .lc-status {
    font-size: 14px;
    line-height: 20px;
    padding: 10px 0;
  }
  
  /* Quote dropdown on mobile */
  .lc-quote-panel {
    max-height: 280px;
  }
  .lc-quote-list {
    max-height: 216px;
  }
  .lc-quote-item {
    min-height: 44px;
    padding: 12px;
  }
  .lc-quote-search {
    font-size: 16px; /* Prevent iOS zoom */
  }
  
  /* Image generation on mobile */
  .lc-gen {
    flex-direction: column;
    align-items: stretch;
  }
  .lc-gen-prompt {
    font-size: 16px; /* Prevent iOS zoom */
  }
  .lc-gen-btn {
    width: 100%;
    min-height: 44px;
  }
  
  /* Style chips on mobile */
  .lc-styles {
    margin-top: 14px;
  }
  .lc-style-chip {
    width: 90px;
    height: 90px;
  }
  .lc-style-ascii-w .lc-style-preview,
  .lc-style-ascii-b .lc-style-preview {
    font-size: 18px;
  }
  .lc-style-add-icon {
    font-size: 36px;
  }
  
  /* Prompt ideas on mobile */
  .lc-ideas {
    margin-top: 12px;
    padding: 12px 14px;
  }
  .lc-ideas-label {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .lc-idea-chip {
    padding: 8px 14px;
    font-size: 14px;
    line-height: 20px;
    margin: 0 8px 8px 0;
    min-height: 36px;
  }
}

/* ---- Dividend coin (index token) basket builder (Robinhood) ---- */
.lc-toggle-row { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; font-size: 14px; line-height: 1.35; }
.lc-toggle-row input[type="checkbox"] { margin-top: 2px; width: 16px; height: 16px; flex: none; accent-color: var(--accent, #3ee87f); cursor: pointer; }
.lc-toggle-text b { font-weight: 700; }

/* ---- Robinhood: contract-version segment + stock-pair selector ---- */
.lc-seg { display: inline-flex; padding: 3px; gap: 3px; border-radius: 12px; background: var(--bg-input, #12151c); border: 1px solid var(--border, #232a36); }
.lc-seg-btn {
  appearance: none; border: none; cursor: pointer; padding: 7px 20px; border-radius: 9px;
  font-size: 13.5px; font-weight: 800; letter-spacing: .01em;
  background: transparent; color: var(--text-2, #8a94a6); transition: background .12s, color .12s;
}
.lc-seg-btn:hover { color: var(--text, #e7e9ea); }
.lc-seg-btn.is-on { background: var(--accent, #2ba8f0); color: var(--accent-ink, #fff); }
.lc-rhpair-note { font-size: 12px; color: var(--text-2, #8a94a6); line-height: 1.4; margin-top: 7px; }
.lc-buy:disabled { opacity: .55; cursor: not-allowed; }
.lc-index-body { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.lc-index-add { display: flex; gap: 8px; }
.lc-index-add .lc-index-input { flex: 1; }
.lc-index-add-btn { flex: none; padding: 0 14px; border-radius: 10px; font-weight: 700; font-size: 14px; background: var(--accent, #3ee87f); color: #05210f; border: none; cursor: pointer; }
.lc-index-add-btn:disabled { opacity: .5; cursor: not-allowed; }
.lc-index-status { font-size: 12.5px; color: var(--text-2, #8a94a6); min-height: 15px; }
.lc-index-status.is-err { color: #f4212e; }
.lc-index-list { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-index-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 5px 3px 6px; border-radius: 999px; background: var(--bg-input, #12151c); border: 1px solid var(--border, #232a36); font-size: 12.5px; font-weight: 700; }
.lc-index-chip-img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.lc-index-chip-x { border: none; background: transparent; color: var(--text-2, #8a94a6); font-size: 15px; line-height: 1; cursor: pointer; padding: 0 2px; }
.lc-index-chip-x:hover { color: #f4212e; }
.lc-index-hint { font-size: 12px; color: var(--text-2, #8a94a6); line-height: 1.4; }
.lc-success-warn { font-size: 13px; color: #f4212e; background: rgba(244,33,46,.08); border: 1px solid rgba(244,33,46,.3); border-radius: 10px; padding: 8px 12px; margin: 4px 0; }

/* ---- Dividend basket: searchable stock dropdown ---- */
.lc-index-picker { position: relative; }
.lc-index-results {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px);
  max-height: 260px; overflow-y: auto;
  background: var(--bg-elev, #12151c); border: 1px solid var(--border, #232a36);
  border-radius: 12px; box-shadow: 0 14px 40px -12px rgba(15,23,42,.22); padding: 4px;
}
.lc-index-opt {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 8px 10px; border: none; background: transparent; border-radius: 8px;
  cursor: pointer; text-align: left; color: var(--text, #e7e9ea);
}
.lc-index-opt:hover { background: var(--hover, rgba(255,255,255,.06)); }
.lc-index-opt-img, .lc-index-opt-ph { width: 22px; height: 22px; border-radius: 50%; flex: none; object-fit: cover; }
.lc-index-opt-ph { display: grid; place-items: center; background: var(--bg-input,#0d0f14); color: var(--text-2,#8a94a6); font-size: 11px; font-weight: 800; }
.lc-index-opt-sym { font-weight: 800; font-size: 13.5px; flex: none; }
.lc-index-opt-name { font-size: 12.5px; color: var(--text-2, #8a94a6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-index-noresult { padding: 12px 10px; font-size: 12.5px; color: var(--text-2, #8a94a6); text-align: center; }
