/* ============================================================
   UBeLong — Members Area Styles
   Shared styling for all members-area pages:
   profile, browse, messages, confirmed-date, date-curation
   ============================================================ */

/* ---- Shared nav bar (injected by members-nav.js) ---- */
.members-nav {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.members-nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 20px);
  height: 64px;
}
.members-nav__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--teal-900);
  margin-right: auto;
  white-space: nowrap;
}
.members-nav__brand b { color: var(--amber-600); }
.members-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, 12px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.members-nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--r-full);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.members-nav__link:hover {
  background: var(--cream-deep);
  color: var(--teal-900);
}
.members-nav__link--active {
  background: var(--teal-100);
  color: var(--teal-900);
}
.members-nav__badge {
  background: var(--amber-600);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--r-full);
  min-width: 18px;
  text-align: center;
}
.members-nav__logout {
  padding: 8px 14px;
  border-radius: var(--r-full);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  color: var(--danger);
  transition: background .2s;
}
.members-nav__logout:hover { background: rgba(179,50,42,.08); }
.members-nav__avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--teal-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}

/* Phase 6 adds a sixth main link (Safety) — icons-only earlier
   (tablets) so the bar never overflows between mobile and desktop. */
@media (max-width: 1024px) {
  .members-nav__link span,
  .members-nav__dropdown-btn span:not(.caret),
  .members-nav__logout span { display: none; }
  .members-nav__link,
  .members-nav__logout { padding: 8px 10px; }
}
@media (max-width: 720px) {
  .members-nav__dropdown-panel { right: -60px; }
}

/* ---- Community dropdown (nav) ----
   Lives here (not community.css) because the shared members
   nav bar appears on every members page — profile, browse,
   messages, dates — not just the community rooms. */
.members-nav__item { position: relative; }
.members-nav__dropdown-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border: none;
  background: none;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.members-nav__dropdown-btn:hover { background: var(--cream-deep); color: var(--teal-900); }
.members-nav__dropdown-btn--active { background: var(--teal-100); color: var(--teal-900); }
.members-nav__dropdown-btn .caret { font-size: .6rem; margin-left: 2px; transition: transform .2s; }
.members-nav__item--open .caret { transform: rotate(180deg); }
.members-nav__dropdown-panel {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 230px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 60;
}
.members-nav__item--open .members-nav__dropdown-panel {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.members-nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-size: .87rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: background .15s, color .15s;
}
.members-nav__dropdown-link:hover { background: var(--cream); color: var(--teal-900); }
.members-nav__dropdown-link--active { background: var(--teal-100); color: var(--teal-900); }
.members-nav__dropdown-link .dd-icon { width: 20px; text-align: center; }

/* ---- Demo banner ---- */
.demo-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--amber-100);
  border: 1px solid var(--amber-300);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin: 20px auto 0;
  max-width: var(--maxw);
  font-size: .9rem;
  color: var(--ink-soft);
}
.demo-banner svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--amber-600); margin-top: 2px; }
.demo-banner b { color: var(--amber-600); }

/* ---- Page header ---- */
.page-header {
  max-width: var(--maxw);
  margin: 32px auto 0;
  padding: 0 var(--gut);
}
.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--teal-900);
  margin: 0 0 8px;
}
.page-header p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin: 0;
  max-width: 60ch;
}

/* ---- Members container ---- */
.members-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px var(--gut) 60px;
}

/* ---- Badge helpers ---- */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: var(--r-full); }
.badge--verified { background: var(--teal-100); color: var(--teal-700); }
.badge--accent { background: var(--amber-100); color: var(--amber-600); }
.badge--privacy { background: var(--cream-deep); color: var(--text-soft); }

/* ---- Buttons (shared) ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; border: none; border-radius: var(--r-full); padding: .7em 1.5em; cursor: pointer; text-decoration: none; transition: background .2s, transform .1s, box-shadow .2s; }
.btn--primary { background: var(--teal-700); color: #fff; }
.btn--primary:hover { background: var(--teal-600); }
.btn--accent { background: var(--amber-500); color: #fff; }
.btn--accent:hover { background: var(--amber-600); }
.btn--ghost { background: transparent; color: var(--teal-700); border: 1.5px solid var(--teal-300); }
.btn--ghost:hover { background: var(--teal-100); }
.btn--sm { padding: .5em 1em; font-size: .85rem; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #962a23; }
.btn--success { background: var(--success); color: #fff; }
.btn--success:hover { background: #246640; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---- Card (generic) ---- */
.card {
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: 24px;
  margin-bottom: 20px;
}
.card h2 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--teal-900); margin: 0 0 12px; }
.card h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--teal-900); margin: 0 0 8px; }

/* ============================================================
   BROWSE PAGE
   ============================================================ */
.browse-filters {
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  align-items: end;
}
.browse-filters__field label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.browse-filters__field select,
.browse-filters__field input {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  background: var(--cream);
  color: var(--text);
}
.browse-filters__field select:focus,
.browse-filters__field input:focus {
  outline: none;
  border-color: var(--teal-500);
}

.interest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.interest-chip {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  background: var(--bg-alt);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: all .2s;
}
.interest-chip:hover { border-color: var(--teal-300); }
.interest-chip--active {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
}

.browse-count {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.browse-count b { color: var(--teal-700); }

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.member-card {
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.member-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.member-card__photo {
  width: 100%;
  height: 200px;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--teal-300);
  overflow: hidden;
}
.member-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.member-card__body { padding: 18px 20px 20px; }
.member-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.member-card__name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--teal-900);
  display: flex;
  align-items: center;
  gap: 6px;
}
.member-card__age { color: var(--text-muted); font-size: .9rem; }
.member-card__loc { font-size: .82rem; color: var(--text-muted); margin-bottom: 10px; }
.member-card__bio { font-size: .88rem; color: var(--text-soft); line-height: 1.5; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.member-card__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.member-card__tag {
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--r-full);
  background: var(--teal-100);
  color: var(--teal-700);
}
.member-card__looking {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.member-card__looking b { color: var(--text-soft); }
.member-card__actions { display: flex; gap: 8px; }
.member-card__actions .btn { flex: 1; }

/* ============================================================
   MESSAGES PAGE
   ============================================================ */
.msg-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  overflow: hidden;
  min-height: 600px;
}
.msg-list {
  border-right: 1px solid var(--border);
  overflow-y: auto;
  max-height: 70vh;
}
.msg-list__header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal-900);
  position: sticky;
  top: 0;
  background: var(--bg-alt);
  z-index: 5;
}
.msg-item {
  display: flex;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  border-bottom: 1px solid var(--cream-deep);
  transition: background .15s;
}
.msg-item:hover { background: var(--cream); }
.msg-item--active { background: var(--teal-100); }
.msg-item__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--teal-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
  overflow: hidden;
}
.msg-item__avatar img { width: 100%; height: 100%; object-fit: cover; }
.msg-item__body { flex: 1; min-width: 0; }
.msg-item__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3px; }
.msg-item__name { font-weight: 700; font-size: .92rem; color: var(--teal-900); display: flex; align-items: center; gap: 4px; }
.msg-item__time { font-size: .72rem; color: var(--text-muted); white-space: nowrap; }
.msg-item__preview { font-size: .82rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-item__unread {
  background: var(--amber-600);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--r-full);
  margin-left: auto;
}

.msg-chat {
  display: flex;
  flex-direction: column;
  min-height: 600px;
}
.msg-chat__header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.msg-chat__header h3 { margin: 0; font-family: var(--font-head); font-size: 1.1rem; color: var(--teal-900); display: flex; align-items: center; gap: 6px; }
.msg-chat__header p { margin: 0; font-size: .8rem; color: var(--text-muted); }
.msg-chat__messages {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--cream);
}
.msg-bubble {
  max-width: 72%;
  padding: 10px 16px;
  border-radius: var(--r-lg);
  font-size: .92rem;
  line-height: 1.5;
  word-wrap: break-word;
}
.msg-bubble--me {
  align-self: flex-end;
  background: var(--teal-700);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg-bubble--them {
  align-self: flex-start;
  background: var(--bg-alt);
  color: var(--text);
  border-bottom-left-radius: 4px;
  box-shadow: var(--sh-sm);
}
.msg-bubble__time { font-size: .68rem; opacity: .6; margin-top: 4px; }
.msg-chat__input {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
}
.msg-chat__input textarea {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: .92rem;
  resize: none;
  height: 44px;
  background: var(--cream);
}
.msg-chat__input textarea:focus { outline: none; border-color: var(--teal-500); }
.msg-chat__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-align: center;
  padding: 40px;
}
.msg-chat__empty svg { width: 48px; height: 48px; margin-bottom: 16px; opacity: .4; }

.msg-face-share {
  background: var(--amber-100);
  border: 1px solid var(--amber-300);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: .85rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.msg-face-share button { margin-left: auto; flex-shrink: 0; }

@media (max-width: 720px) {
  .msg-layout { grid-template-columns: 1fr; }
  .msg-list { max-height: 250px; }
}

/* ============================================================
   PROFILE PAGE
   ============================================================ */
.profile-header {
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: 28px;
  margin-bottom: 20px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.profile-header__photo {
  width: 120px;
  height: 120px;
  border-radius: var(--r-lg);
  background: var(--teal-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.profile-header__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-header__info { flex: 1; min-width: 240px; }
.profile-header__name {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--teal-900);
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.profile-header__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.profile-header__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.profile-completion {
  background: var(--teal-100);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}
.profile-completion__bar {
  height: 8px;
  background: var(--cream-deep);
  border-radius: var(--r-full);
  overflow: hidden;
  margin: 8px 0;
}
.profile-completion__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-700));
  border-radius: var(--r-full);
  transition: width .5s var(--ease);
}
.profile-completion p { margin: 4px 0 0; font-size: .85rem; color: var(--text-soft); }
.profile-completion a { color: var(--teal-700); font-weight: 600; }

.profile-section {
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.profile-section h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal-900);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-section p { font-size: .92rem; color: var(--text-soft); margin: 0 0 8px; line-height: 1.6; }
.profile-section .empty-note { color: var(--text-muted); font-style: italic; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Edit form */
.profile-edit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.profile-edit__field { display: flex; flex-direction: column; gap: 5px; }
.profile-edit__field--full { grid-column: 1 / -1; }
.profile-edit__field label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
}
.profile-edit__field input,
.profile-edit__field select,
.profile-edit__field textarea {
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .92rem;
  background: var(--cream);
  color: var(--text);
}
.profile-edit__field textarea { resize: vertical; min-height: 80px; }
.profile-edit__field input:focus,
.profile-edit__field select:focus,
.profile-edit__field textarea:focus { outline: none; border-color: var(--teal-500); }

@media (max-width: 600px) {
  .profile-edit { grid-template-columns: 1fr; }
}

/* ============================================================
   CONFIRMED DATE PAGE
   ============================================================ */
.confirm-date__how {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}
.confirm-date__how-box {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 14px 16px;
  text-align: center;
}
.confirm-date__how-box .icon { font-size: 1.5rem; margin-bottom: 6px; }
.confirm-date__how-box .label { font-size: .82rem; font-weight: 700; color: var(--teal-900); }
.confirm-date__how-box .desc { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }

.confirm-date__notes {
  font-size: .85rem;
  color: var(--text-soft);
  line-height: 1.6;
  padding: 12px 0 4px;
}
.confirm-date__notes p { margin: 4px 0; }

.confirm-date__standing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}
.confirm-date__stat {
  text-align: center;
  padding: 16px 12px;
  background: var(--cream);
  border-radius: var(--r-md);
}
.confirm-date__stat .num { font-family: var(--font-head); font-size: 1.8rem; font-weight: 600; color: var(--teal-900); }
.confirm-date__stat .lbl { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }
.confirm-date__rating {
  text-align: center;
  padding: 14px;
  background: var(--teal-100);
  border-radius: var(--r-md);
  font-weight: 700;
  color: var(--teal-900);
}

.date-card {
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: 22px 24px;
  margin-bottom: 18px;
}
.date-card__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: 14px;
}
.date-card__status--confirmed { background: rgba(45,122,79,.12); color: var(--success); }
.date-card__status--pending { background: var(--amber-100); color: var(--amber-600); }
.date-card__status--completed { background: var(--teal-100); color: var(--teal-700); }
.date-card__status--cancelled { background: rgba(179,50,42,.1); color: var(--danger); }

.date-card__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--teal-900);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.date-card__vibe {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--amber-600);
  background: var(--amber-100);
  padding: 2px 10px;
  border-radius: var(--r-full);
}

.date-card__parties {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.date-card__party {
  display: flex;
  align-items: center;
  gap: 10px;
}
.date-card__party-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--teal-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.date-card__party-name { font-weight: 700; font-size: .9rem; color: var(--teal-900); }
.date-card__party-status { font-size: .78rem; color: var(--text-muted); }
.date-card__party-status--confirmed { color: var(--success); }
.date-card__party-status--pending { color: var(--amber-600); }

.date-card__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: var(--r-md);
}
.date-card__detail .lbl { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.date-card__detail .val { font-size: .9rem; color: var(--text); margin-top: 2px; }

.date-card__deposit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  margin-bottom: 14px;
  font-size: .88rem;
}
.date-card__deposit--locked { background: rgba(45,122,79,.08); border: 1px solid rgba(45,122,79,.2); }
.date-card__deposit--none { background: var(--cream-deep); border: 1px dashed var(--border); }
.date-card__deposit .amount { font-weight: 700; color: var(--teal-900); }

.date-card__face-gate {
  background: var(--amber-100);
  border: 1px solid var(--amber-300);
  border-radius: var(--r-md);
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: .85rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.date-card__face-gate--done { background: rgba(45,122,79,.08); border-color: rgba(45,122,79,.2); color: var(--success); }

.date-card__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.date-card__locked-note {
  background: var(--teal-100);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: .85rem;
  color: var(--teal-700);
  margin-bottom: 14px;
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.empty-state .icon { font-size: 2.5rem; margin-bottom: 12px; }
.empty-state h3 { font-family: var(--font-head); color: var(--teal-900); margin: 0 0 8px; }
.empty-state p { font-size: .9rem; margin: 0 0 16px; }

/* ============================================================
   DATE CURATION PAGE
   ============================================================ */
.date-curation__vibes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.date-curation__vibe-chip {
  padding: 8px 18px;
  border: 2px solid var(--border);
  border-radius: var(--r-full);
  background: var(--bg-alt);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: all .2s;
}
.date-curation__vibe-chip:hover { border-color: var(--teal-300); }
.date-curation__vibe-chip--active {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
}

.date-curation__legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: .82rem;
}
.date-curation__legend-item { display: flex; align-items: center; gap: 6px; color: var(--text-muted); }
.date-curation__legend-dot { width: 10px; height: 10px; border-radius: var(--r-full); }
.date-curation__legend-dot--free { background: var(--success); }
.date-curation__legend-dot--discount { background: var(--amber-500); }
.date-curation__legend-dot--premium { background: var(--teal-700); }

.date-idea-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.date-idea__card {
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  overflow: hidden;
  transition: transform .2s var(--ease);
}
.date-idea__card:hover { transform: translateY(-3px); }
.date-idea__image {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.date-idea__image--outdoors { background: linear-gradient(135deg, #d6ece9, #a8d5cf); }
.date-idea__image--food { background: linear-gradient(135deg, #fcefda, #f7d9a6); }
.date-idea__image--cozy { background: linear-gradient(135deg, #f4ead7, #e3d9c5); }
.date-idea__image--adventure { background: linear-gradient(135deg, #d6ece9, #6fb5ae); }
.date-idea__image--culture { background: linear-gradient(135deg, #f4ead7, #f7d9a6); }
.date-idea__image--romantic { background: linear-gradient(135deg, #fcefda, #eaa645); }
.date-idea__tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
}
.date-idea__tag--free { background: var(--success); color: #fff; }
.date-idea__tag--discount { background: var(--amber-500); color: #fff; }
.date-idea__tag--premium { background: var(--teal-700); color: #fff; }
.date-idea__body { padding: 18px 20px 20px; }
.date-idea__title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--teal-900); margin: 0 0 8px; }
.date-idea__desc { font-size: .85rem; color: var(--text-soft); line-height: 1.5; margin-bottom: 14px; }
.date-idea__meta { display: flex; align-items: center; justify-content: space-between; }
.date-idea__price { font-weight: 700; font-size: 1rem; }
.date-idea__price--free { color: var(--success); }
.date-idea__price--discount { color: var(--amber-600); }
.date-idea__price--premium { color: var(--teal-700); }
.date-idea__price del { color: var(--text-muted); font-weight: 400; font-size: .85rem; margin-right: 6px; }

.date-curation__dutch-note {
  background: var(--teal-100);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin: 24px 0;
  font-size: .85rem;
  color: var(--teal-800);
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-date-form {
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: 24px;
  margin-top: 28px;
}
.custom-date-form h2 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--teal-900); margin: 0 0 6px; }
.custom-date-form p { font-size: .88rem; color: var(--text-muted); margin: 0 0 18px; }
.custom-date-form__field { margin-bottom: 16px; }
.custom-date-form__field label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 6px; }
.custom-date-form__field select,
.custom-date-form__field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .92rem;
  background: var(--cream);
}
.custom-date-form__field textarea { resize: vertical; min-height: 80px; }
.custom-date-form__field select:focus,
.custom-date-form__field textarea:focus { outline: none; border-color: var(--teal-500); }

.request-item {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.request-item__info { flex: 1; min-width: 200px; }
.request-item__member { font-weight: 700; color: var(--teal-900); font-size: .9rem; }
.request-item__vibes { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.request-item__status { font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: var(--r-full); }
.request-item__status--pending { background: var(--amber-100); color: var(--amber-600); }
.request-item__status--curated { background: var(--teal-100); color: var(--teal-700); }

/* ============================================================
   MODALS & TOASTS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,59,58,.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .2s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 28px;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--sh-lg);
  animation: modalIn .3s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: scale(.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-card h2 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--teal-900); margin: 0 0 12px; }
.modal-card p { font-size: .92rem; color: var(--text-soft); margin: 0 0 18px; line-height: 1.6; }
.modal-card__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.modal-card__deposit-options { display: flex; gap: 10px; margin-bottom: 18px; }
.modal-card__deposit-opt {
  flex: 1;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  background: var(--bg-alt);
}
.modal-card__deposit-opt:hover { border-color: var(--teal-300); }
.modal-card__deposit-opt--active { border-color: var(--teal-700); background: var(--teal-100); }
.modal-card__deposit-opt .amt { font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; color: var(--teal-900); }
.modal-card__deposit-opt .lbl { font-size: .75rem; color: var(--text-muted); }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--teal-900);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--r-full);
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--sh-lg);
  z-index: 2000;
  opacity: 0;
  transition: transform .3s var(--ease), opacity .3s;
  max-width: 90vw;
  text-align: center;
}
.toast--show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast--warning { background: var(--amber-600); }
.toast--error { background: var(--danger); }
.toast--success { background: var(--success); }

/* ============================================================
   DASHBOARD TILES — coming soon
   ============================================================ */
.dash__tile--soon { opacity: .7; cursor: default; }
.dash__tile--soon:hover { transform: none; }
.dash__tile__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--amber-100);
  color: var(--amber-600);
  padding: 3px 10px;
  border-radius: var(--r-full);
}
.dash__tile { position: relative; }

/* ============================================================
   DEMO BYPASS PANEL  (demo mode only — disappears when live)
   Deliberately styled like scaffolding, not like product.
   ============================================================ */
.demo-bypass {
  margin: 1.6em auto 0;
  max-width: 640px;
  text-align: left;
  background: repeating-linear-gradient(
    135deg,
    #fffaf0, #fffaf0 12px,
    #fdf3e2 12px, #fdf3e2 24px
  );
  border: 2px dashed var(--amber-400);
  border-radius: var(--r-md);
  padding: 1.15em 1.3em 1.25em;
}
.demo-bypass__tag {
  display: inline-block;
  background: var(--amber-600);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .28em .7em;
  border-radius: var(--r-full);
  margin-bottom: .6em;
}
.demo-bypass__heading {
  font-family: var(--font-head);
  font-size: 1.08rem;
  color: var(--teal-900);
  margin: 0 0 .4em;
}
.demo-bypass__body {
  font-size: .87rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 1em;
}
.demo-bypass__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6em;
}
.demo-bypass__actions .btn { font-size: .9rem; }

/* ============================================================
   PHOTO VERIFICATION
   ============================================================ */

/* --- Upload dropzone --- */
.photo-drop {
  border: 2px dashed var(--teal-300);
  border-radius: var(--r-md);
  background: var(--bg-alt);
  padding: 1.5em 1.2em;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.photo-drop:hover,
.photo-drop.is-over {
  border-color: var(--accent);
  background: var(--amber-100);
}
.photo-drop svg {
  width: 34px;
  height: 34px;
  color: var(--teal-600);
  margin-bottom: .3em;
}
.photo-drop h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--teal-900);
  margin: 0 0 .25em;
}
.photo-drop p {
  font-size: .82rem;
  color: var(--text-muted);
  margin: 0;
}
.photo-drop input[type="file"] { display: none; }

/* --- Photo grid + tiles --- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  gap: .8em;
  margin-top: .9em;
}
.photo-tile {
  position: relative;
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--cream-deep);
  border: 2px solid var(--border);
  box-shadow: var(--sh-sm);
}
.photo-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.photo-tile figcaption {
  padding: .45em .5em .55em;
  background: var(--bg-alt);
}
.photo-tile--approved { border-color: var(--success); }
.photo-tile--pending  { border-color: var(--amber-400); }
.photo-tile--pending img { filter: grayscale(.35) brightness(.94); }
.photo-tile--rejected { border-color: var(--danger); }
.photo-tile--rejected img { filter: grayscale(1) brightness(.9); opacity: .7; }

.photo-tile__kind {
  position: absolute;
  top: .4em; left: .4em;
  background: rgba(13,59,58,.86);
  color: #fff;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .22em .55em;
  border-radius: var(--r-full);
}
.photo-tile__x {
  position: absolute;
  top: .35em; right: .35em;
  width: 26px; height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(32,48,47,.75);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background .15s var(--ease);
}
.photo-tile__x:hover { background: var(--danger); }
.photo-tile__reason {
  font-size: .72rem;
  color: var(--danger);
  line-height: 1.4;
  margin-top: .35em;
}
/* Live-mode placeholder when a tile has a storage path but no
   in-page preview (signed URLs arrive via auth.js hydration). */
.photo-tile__placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35em;
  background: repeating-linear-gradient(45deg, var(--cream-deep), var(--cream-deep) 10px, var(--cream) 10px, var(--cream) 20px);
}
.photo-tile__placeholder-icon { font-size: 1.6rem; opacity: .55; }
.photo-tile__placeholder-lbl {
  max-width: 85%;
  font-size: .68rem;
  font-weight: 700;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Status pills --- */
.photo-pill {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .02em;
  padding: .24em .6em;
  border-radius: var(--r-full);
}
.photo-pill--ok   { background: #e3f2e8; color: var(--success); }
.photo-pill--wait { background: var(--amber-100); color: var(--amber-600); }
.photo-pill--no   { background: #f9e5e3; color: var(--danger); }

/* --- "Photos in review" notice --- */
.photo-notice {
  display: flex;
  gap: .75em;
  align-items: flex-start;
  background: var(--amber-100);
  border: 1px solid var(--amber-300);
  border-left: 4px solid var(--amber-500);
  border-radius: var(--r-md);
  padding: .95em 1.1em;
  margin-bottom: 1.2em;
}
.photo-notice svg {
  width: 20px; height: 20px;
  flex: 0 0 20px;
  color: var(--amber-600);
  margin-top: 2px;
}
.photo-notice p {
  margin: 0;
  font-size: .87rem;
  line-height: 1.6;
  color: var(--text-soft);
}
.photo-notice p b { color: var(--teal-900); }

/* --- Empty photo placeholder --- */
.photo-empty {
  border: 2px dashed var(--border);
  border-radius: var(--r-md);
  padding: 1.6em 1.2em;
  text-align: center;
  color: var(--text-muted);
  font-size: .87rem;
  background: var(--bg-alt);
}

/* --- Profile photo pending overlay --- */
.profile-header__photo { position: relative; }
.profile-header__photo .photo-pending-ring {
  position: absolute;
  inset: -5px;
  border: 3px dashed var(--amber-500);
  border-radius: 50%;
  pointer-events: none;
}

/* --- Review simulator (demo only) --- */
.review-sim {
  border: 2px dashed var(--teal-300);
  border-radius: var(--r-md);
  background: var(--teal-100);
  padding: 1em 1.15em;
  margin-top: 1.1em;
}
.review-sim h4 {
  font-family: var(--font-head);
  font-size: .98rem;
  color: var(--teal-900);
  margin: 0 0 .35em;
}
.review-sim p {
  font-size: .83rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0 0 .8em;
}
.review-sim__actions { display: flex; flex-wrap: wrap; gap: .55em; }
.review-sim__actions .btn { font-size: .85rem; padding: .6em 1.1em; }

@media (max-width: 520px) {
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(102px, 1fr)); }
  .demo-bypass__actions { flex-direction: column; }
  .demo-bypass__actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   ADMIN CONSOLE (admin.html)
   ============================================================ */

/* --- Shared utilities (used by admin rows + a few other pages) --- */
.mono {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", "Menlo", Consolas, monospace;
  font-size: .78rem;
}
.muted { color: var(--text-muted); }

/* --- Loading state --- */
.admin-loading {
  text-align: center;
  padding: 90px 20px;
  color: var(--text-soft);
}
.admin-loading .spinner { display: block; margin: 0 auto 14px; width: 28px; height: 28px; border-width: 3px; }
.admin-loading p { margin: 0; font-size: .95rem; }
.admin-loading-line {
  color: var(--text-muted);
  font-size: .9rem;
  text-align: center;
  padding: 30px 10px;
}

/* --- Shell (width + vertical rhythm) --- */
.admin-shell {
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 48px) 20px clamp(48px, 6vw, 72px);
}
.admin-shell .sub { display: block; margin: 2px 0 0; color: var(--text-muted); font-size: .85rem; }

/* --- Header bar --- */
.admin-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.admin-bar h1 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  color: var(--teal-900);
  margin: 0;
  line-height: 1.15;
}

/* --- Stats strip --- */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.admin-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 10px;
  text-align: center;
}
.admin-stat__num {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--teal-800);
  line-height: 1.1;
}
.admin-stat__lbl {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}

/* --- Tabs --- */
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--cream-deep);
  padding-bottom: 12px;
}
.admin-tab {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-soft);
  font: 700 .84rem/1 var(--font-body);
  padding: .62em 1.05em;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.admin-tab:hover { background: var(--cream-deep); }
.admin-tab--active {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
}

/* --- Panels & rows --- */
.admin-panel { display: flex; flex-direction: column; gap: 12px; }
.admin-subhead {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--teal-900);
  margin: 14px 0 2px;
}
.admin-subhead:first-child { margin-top: 0; }
.admin-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.admin-row--wide { flex-direction: column; }
.admin-row--done { opacity: .78; }
.admin-row__main { flex: 1; min-width: 0; }
.admin-row__main h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  color: var(--teal-900);
  margin: 0 0 4px;
}
.admin-row__main p { margin: 0 0 4px; font-size: .88rem; color: var(--text-soft); line-height: 1.5; }
.admin-row__main p:last-child { margin-bottom: 0; }
.admin-row__side { flex: 0 0 auto; text-align: right; }
.admin-row--wide .admin-row__side { text-align: left; margin-top: 4px; }

/* --- Action button clusters --- */
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.admin-row--wide .admin-actions { justify-content: flex-start; }

/* --- Badges inside rows --- */
.admin-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.badge--danger-chip { background: #f8e0dd; color: var(--danger); }

/* --- Stripe session line --- */
.admin-session { word-break: break-all; }

/* --- Inline strike control --- */
.admin-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--text-soft);
  font-weight: 700;
}
.admin-inline input {
  width: 58px;
  padding: .42em .5em;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font: 700 .85rem var(--font-body);
  color: var(--teal-900);
  background: var(--cream);
}
.admin-inline input:focus {
  outline: 2px solid var(--teal-500);
  outline-offset: 1px;
}

/* --- Empty / error cards --- */
.admin-empty-card {
  background: #fff;
  border: 1px dashed var(--teal-300);
  border-radius: var(--r-md);
  padding: 26px 22px;
  text-align: center;
  color: var(--text-soft);
}
.admin-empty-card h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--teal-900);
  margin: 0 0 6px;
}
.admin-empty-card p { margin: 0; font-size: .88rem; line-height: 1.55; }

/* --- Verification video preview --- */
.admin-video-slot {
  display: block;
  width: 100%;
  border: 2px dashed var(--teal-300);
  border-radius: var(--r-md);
  background: var(--teal-100);
  color: var(--teal-800);
  font: 700 .88rem/1.4 var(--font-body);
  padding: 26px 16px;
  margin-top: 10px;
  cursor: pointer;
  text-align: center;
}
.admin-video-slot:hover { border-color: var(--teal-500); background: #c9e4e0; }
.admin-video-slot video {
  display: block;
  width: 100%;
  max-height: 420px;
  border-radius: calc(var(--r-md) - 4px);
  background: #000;
}
.admin-video-slot--demo { cursor: default; }
.admin-video-slot--demo:hover { background: var(--teal-100); }
.admin-video-placeholder { display: block; }
.admin-video-note {
  margin: 8px 0 0;
  font-size: .74rem;
  color: var(--text-muted);
  text-align: center;
}

/* --- Verification photo thumbs --- */
.admin-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.admin-thumb { margin: 0; width: 120px; }
.admin-thumb__img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--cream-deep);
  color: var(--text-muted);
  font: 700 .72rem/1.35 var(--font-body);
  padding: 8px;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
}
.admin-thumb__img:hover { border-color: var(--teal-500); color: var(--teal-700); }
.admin-thumb__img--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--cream-deep);
  color: var(--text-muted);
  font: 700 .72rem/1.35 var(--font-body);
  padding: 8px;
  cursor: default;
  text-align: center;
  overflow: hidden;
}
img.admin-thumb__img { object-fit: cover; cursor: default; }
img.admin-thumb__img:hover { border-color: var(--border); color: inherit; }
.admin-thumb__ph { display: block; width: 100%; }
.admin-thumb figcaption {
  margin-top: 5px;
  font-size: .7rem;
  color: var(--text-muted);
  word-break: break-word;
  text-align: center;
}

@media (max-width: 640px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-row { flex-direction: column; }
  .admin-row__side { text-align: left; width: 100%; }
  .admin-actions { justify-content: flex-start; }
  .admin-thumbs { justify-content: flex-start; }
  .admin-thumb { width: 96px; }
  .admin-thumb__img { width: 96px; height: 96px; }
  .admin-thumb__img--ph { width: 96px; height: 96px; }
  .admin-bar { flex-direction: column; }
}
