.guest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

@media (min-width: 520px) {
  .guest-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.guest-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(176, 155, 135, 0.4);
  border-radius: 8px;
  background: var(--white, #fff);
  color: inherit;
  text-decoration: none;
  min-height: 5.5rem;
  position: relative;
}

.guest-card-icon {
  width: 1.55rem;
  height: 1.55rem;
  margin-bottom: 0.2rem;
  color: #1a1a1a;
  opacity: 0.78;
}

.guest-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.section-ico {
  display: inline-flex;
  width: 1.05rem;
  height: 1.05rem;
  color: #5c534b;
  flex-shrink: 0;
}

.section-ico svg {
  width: 100%;
  height: 100%;
}

.guest-card:active {
  transform: scale(0.99);
}

.guest-card-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--taupe, #8a7d70);
}

.guest-card strong {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.guest-card-meta {
  font-size: 0.85rem;
  color: var(--taupe, #8a7d70);
}

/* Soft pair accents — shared brand chrome, light tint only */
.guest-card-accent-kev {
  border-color: rgba(14, 143, 126, 0.35);
  box-shadow: inset 3px 0 0 #0e8f7e;
}

.guest-card-accent-kev .guest-card-kicker {
  color: #0e8f7e;
}

.guest-card-accent-mike {
  border-color: rgba(30, 95, 196, 0.35);
  box-shadow: inset 3px 0 0 #1e5fc4;
}

.guest-card-accent-mike .guest-card-kicker {
  color: #1e5fc4;
}

#invite-url,
#propose-form input,
#propose-form textarea,
#propose-form select,
#af-name,
#af-contact {
  width: 100%;
  min-height: 2.75rem;
  font-size: 1rem;
}

.propose-ok {
  color: #1a6b4a;
}

/* Light one-way escapes (Join ↔ Propose) — not twin home cards */
.join-escape,
.propose-escape {
  margin-top: 1.25rem;
  text-align: center;
}

.join-escape a,
.propose-escape a,
#open-hangs-empty a {
  color: inherit;
  font-weight: 600;
  text-underline-offset: 2px;
}

.open-hangs-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.open-hang-card {
  border: 1px solid rgba(176, 155, 135, 0.4);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  background: var(--white, #fff);
}

.open-hang-card strong {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.1rem;
}

.open-hang-meta {
  font-size: 0.85rem;
  color: var(--taupe, #8a7d70);
  margin: 0.25rem 0 0.65rem;
}

.open-hang-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.open-hang-actions a,
.open-hang-actions button {
  font-size: 0.9rem;
  min-height: 2.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(26, 26, 26, 0.2);
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.open-hang-actions button.button-secondary,
.open-hang-actions a.button-secondary {
  background: transparent;
  color: #1a1a1a;
}

.add-friend-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.add-friend-sheet[hidden] {
  display: none;
}

.add-friend-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.45);
}

.add-friend-panel {
  position: relative;
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 14px 14px 0 0;
  padding: 1.25rem 1.1rem calc(1.25rem + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
}

.add-friend-panel h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif, Georgia, serif);
}

.add-friend-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.add-friend-actions .submit-btn {
  flex: 1;
}

.button-secondary {
  border: 1px solid rgba(26, 26, 26, 0.25);
  background: transparent;
  color: #1a1a1a;
  border-radius: 6px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  font: inherit;
}
