/* Local API controls and small responsive fixes to the supplied prototype. */
.icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: none;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.heart.followed .icon { fill: currentColor; }
button:disabled { opacity: .55; cursor: not-allowed; }
.account-entry { cursor: pointer; white-space: nowrap; }
@media (max-width: 760px) { .account-entry { font-size: 11px; } }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.search:focus-within, .chat-input input:focus-visible, .field :focus-visible { outline: 2px solid var(--accent); }
.hero-image { background-color: #3a3931; }
.model-photo { cursor: pointer; }
.model-city { font: 400 9px 'DM Sans', sans-serif; color: var(--muted); }
.thread { width: 100%; border: 0; text-align: left; color: var(--ink); background: none; }
.chat { min-height: 0; }
.chat-input input, .studio-grid > *, .task-card > div { min-width: 0; }
.bubble, .task-card, #shootSummary { overflow-wrap: anywhere; }
.chat-tools { padding: 5px 13px; background: #fcfaf6; }
.mobile-threads, .mobile-model-life { display: none; }
.mobile-threads select {
  max-width: 100%;
  margin-left: 6px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffefa;
}

.modal-backdrop[open] {
  display: flex;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: none;
  color: var(--ink);
  background: transparent;
}
.modal-backdrop::backdrop { background: rgba(24,24,21,.55); }
.modal .profile-hero { grid-template-columns: .9fr 1.1fr; }
.modal .profile-hero > img { height: 310px; }
.modal .profile-copy { padding: 18px; align-self: center; }
.modal .model-badge { position: static; display: inline-block; }
.modal .profile-actions { margin-bottom: 10px; }
.profile-actions { flex-wrap: wrap; }
.post-actions { flex-wrap: wrap; }
.member-submit { margin-top: 12px; margin-right: 8px; }
.collection-diaries { display: grid; gap: 8px; padding: 0; list-style: none; font-size: 12px; }
.collection-diaries li { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.model-quote { font: italic 15px 'Playfair Display', serif; color: #9c674b; }
.modal-model-note { color: var(--muted); font-size: 10px; }
.quote-person img { width: 66px; height: 78px; object-fit: cover; border-radius: 8px; }
.task-card .downloads { display: flex; gap: 4px 10px; flex-wrap: wrap; margin-top: 8px; }
.downloads a { font-size: 10px; color: #985b3d; text-decoration: underline; }
.quote-brief { white-space: pre-wrap; }
#quoteError:empty { display: none; }
#quoteError { color: #923b2d; }

@media (max-width: 760px) {
  .mobile-threads { display: block; margin-bottom: 9px; color: var(--muted); font-size: 11px; }
  .mobile-model-life { display: inline-flex; }
  .toast { bottom: 76px; }
  .modal .profile-hero { grid-template-columns: 1fr; }
  .modal .profile-hero > img { height: 220px; }
  .modal { padding: 16px; }
}
