/* MundaApp · Discovery — search that answers as you type, with no signal.
   Sizes follow the rest of the app: 16 px text (no Android zoom), 48 px
   targets, and one accent colour — the price row is the first thing the eye
   lands on, because that is the question being asked. */

.disc { max-width: 640px; margin: 0 auto; padding: 2px 0 28px; }

/* ------------------------------------------------------------------- field */
.disc-bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border: 1px solid var(--line, #e7e1d6); border-radius: 14px;
  background: #fff; box-shadow: 0 4px 14px rgba(16, 40, 28, .06);
}
.disc-bar:focus-within { border-color: var(--green-700, #0e5a3a); box-shadow: 0 0 0 3px rgba(14, 90, 58, .12); }
.disc-bar-ico { width: 20px; height: 20px; flex: none; color: var(--muted, #5d6b64); }
#disc-q {
  flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: none;
  font: inherit; font-size: 16px; color: var(--ink, #14231c); padding: 10px 0; min-height: 44px;
  -webkit-appearance: none; appearance: none;
}
#disc-q::-webkit-search-cancel-button { display: none; }
#disc-q::placeholder { color: #9aa79f; }
.disc-x {
  flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f1f3f0;
  color: var(--muted, #5d6b64); display: grid; place-items: center; cursor: pointer;
}
.disc-x svg { width: 15px; height: 15px; }
.disc-mic {
  flex: none; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--green-700, #0e5a3a); background: var(--green-700, #0e5a3a);
  color: #fff; display: grid; place-items: center; -webkit-tap-highlight-color: transparent;
}
.disc-mic svg { width: 20px; height: 20px; }
.disc-mic.is-live {
  background: #B3261E; border-color: #B3261E;
  animation: disc-pulse 1.1s ease-in-out infinite;
}
@keyframes disc-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(179, 38, 30, .45); } 50% { box-shadow: 0 0 0 9px rgba(179, 38, 30, 0); } }

.disc-hearing {
  margin: 8px 2px 0; padding: 9px 12px; border-radius: 10px;
  background: #fdf0ef; border: 1px solid #f0cfcc; color: #8f2424; font-size: 12.5px; line-height: 1.45;
}
.disc-hearing[hidden] { display: none; }

.disc-status {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin: 10px 2px 12px; font-size: 11.5px; color: var(--muted, #5d6b64);
}
.disc-dot { width: 7px; height: 7px; border-radius: 50%; background: #2E9E5B; flex: none; }
.disc-sep { opacity: .5; }

/* ----------------------------------------------------------------- results */
.disc-count { font-size: 11.5px; color: var(--faint, #8a968f); margin: 0 2px 10px; }
.disc-h {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted, #5d6b64); margin: 16px 2px 7px;
}
.disc-group:first-of-type .disc-h { margin-top: 4px; }
.disc-n {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0; padding: 1px 6px; border-radius: 999px;
  background: #eef2ee; color: var(--muted, #5d6b64);
}
.disc-group { margin-bottom: 6px; }

.disc-row {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 12px; margin-bottom: 6px; text-decoration: none;
  background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 12px;
  color: var(--ink, #14231c); -webkit-tap-highlight-color: transparent;
}
.disc-row:active { background: #f6f8f5; }
.disc-ico {
  width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: #eef4ef; color: var(--green-700, #0e5a3a);
}
.disc-ico svg { width: 17px; height: 17px; }
/* The price row is the answer to the question, so it is the one that is tinted. */
.disc-ico--price { background: #fdf6e6; color: #8a6512; }
.disc-tx { flex: 1 1 auto; min-width: 0; }
.disc-tx b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.disc-tx i { display: block; font-style: normal; font-size: 11.5px; color: var(--muted, #5d6b64);
  margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.disc-meta { flex: none; font-size: 13px; font-weight: 700; color: var(--green-700, #0e5a3a); }
.disc-go { flex: none; color: #b9c2bb; display: grid; place-items: center; }
.disc-go svg { width: 15px; height: 15px; }
.disc-more { display: inline-block; font-size: 12px; color: var(--green-700, #0e5a3a);
  text-decoration: none; padding: 4px 2px 8px; }

.disc-empty { padding: 22px 4px; text-align: center; }
.disc-empty b { display: block; font-size: 14.5px; margin-bottom: 6px; }
.disc-empty p { font-size: 12.5px; line-height: 1.55; color: var(--muted, #5d6b64); margin: 0 0 14px; }

.disc-idle { padding: 4px 0; }
.disc-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 6px; }
.disc-chip {
  padding: 8px 13px; min-height: 36px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line, #e7e1d6); background: #fff; color: var(--ink, #14231c);
  font: inherit; font-size: 12.5px;
}
.disc-chip:active { background: #eef4ef; }
.disc-hint { font-size: 12px; line-height: 1.6; color: var(--muted, #5d6b64); margin: 14px 2px 0; }
.disc-ms { text-align: right; font-size: 10.5px; color: #b3bcb6; margin: 10px 4px 0; }

/* --------------------------------------------------- the bar on the feed */
.disc-pill {
  display: flex; align-items: center; gap: 8px; margin: 2px 0 14px;
  padding: 6px 6px 6px 12px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line, #e7e1d6);
  box-shadow: 0 3px 12px rgba(16, 40, 28, .05);
}
.disc-pill-open {
  display: flex; align-items: center; gap: 9px; flex: 1 1 auto; min-width: 0;
  text-decoration: none; color: var(--muted, #5d6b64); padding: 10px 0;
}
.disc-pill-ico { width: 19px; height: 19px; flex: none; }
.disc-pill-tx { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.disc-pill-mic {
  flex: none; width: 42px; height: 42px; border-radius: 11px; cursor: pointer;
  border: 0; background: #eef4ef; color: var(--green-700, #0e5a3a);
  display: grid; place-items: center; -webkit-tap-highlight-color: transparent;
}
.disc-pill-mic svg { width: 19px; height: 19px; }
.disc-pill-mic:active { background: #dcebdf; }

@media (max-width: 380px) {
  .disc-meta { font-size: 12px; }
  .disc-pill-tx { font-size: 12.5px; }
}
