/* Just In Case UI: library chips and the browser frame around the kitchen sink */

.project__body--tight { margin-top: 0; }
.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.chip {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.875rem;
  color: var(--ink-2);
}
.chip strong { color: var(--jic-text); }
.chip--live { padding: 0; border: 0; }

.project--jic .project__body { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.browser { margin: clamp(2rem, 4vw, 3rem) 0 0; }
.browser__bar {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(#2a2f3b, #1b1f29);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.browser__url {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 0.2rem 0.7rem; border-radius: 8px;
  background: rgba(0, 0, 0, 0.35); color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem; text-align: center;
}
.browser__frame {
  display: block; width: 100%;
  height: clamp(30rem, 75vh, 46rem);
  border: 0; border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.browser__cap { margin: 0.9rem 0 0; text-align: center; font-size: 0.875rem; color: var(--ink-3); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--jic-text) 45%, transparent);
  color: var(--jic-text);
  font-size: 0.875rem;
  font-weight: 600;
}
.badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--jic);
  box-shadow: 0 0 8px var(--jic);
}
