.fc-icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  vertical-align: -0.2em;
}

.fc-icon.fs-1 {
  width: 1.75rem;
  height: 1.75rem;
}

.fc-icon.fs-2 {
  width: 1.35rem;
  height: 1.35rem;
}

.fc-icon.fs-3 {
  width: 1.15rem;
  height: 1.15rem;
}

.fc-icon.fs-2hx {
  width: 2.25rem;
  height: 2.25rem;
}

.fc-icon.fs-3x {
  width: 3rem;
  height: 3rem;
}

.fc-icon.d-block {
  display: block;
}

.menu-icon .fc-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.symbol-label .fc-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.symbol-label.bg-primary .fc-icon {
  color: #fff;
}

.btn .fc-icon {
  margin-top: -2px;
}

/* App helpers — sem Tailwind. Compatível com JS existente (classe hidden). */

.hidden {
  display: none !important;
}

.fc-wedding-brand {
  color: var(--fc-wedding-primary, #6f7652);
}

.text-pre-wrap {
  white-space: pre-wrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.fc-lock {
  overflow: hidden;
}

.fc-toast-host {
  position: fixed;
  z-index: 1080;
  top: max(12px, env(safe-area-inset-top));
  right: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  pointer-events: none;
}

@media (min-width: 576px) {
  .fc-toast-host {
    left: auto;
    width: min(92vw, 360px);
  }
}

.fc-toast {
  pointer-events: auto;
  background: #fff;
  border: 1px solid rgba(44, 42, 36, 0.12);
  color: #252525;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(44, 42, 36, 0.08);
}

@keyframes fc-pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.fc-pop {
  animation: fc-pop 180ms ease;
}

.fc-logo-wordmark {
  display: block;
  height: 28px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.fc-logo-mark {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.fc-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.fc-public-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(247, 243, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #a8b08b;
}

.fc-public-footer {
  border-top: 1px solid #a8b08b;
  background: #fff;
}

.fc-hero {
  background: #fff;
  border-bottom: 1px solid #a8b08b;
}

.fc-hero-kicker {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6f7652;
}

.fc-hero-title {
  font-size: clamp(1.75rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: #252525;
  max-width: 16ch;
}

.fc-hero-lead {
  font-size: 1.05rem;
  color: #5b5b5b;
  max-width: 36rem;
  margin-bottom: 0;
}

.fc-feature-card,
.fc-cta-card,
.fc-card-link {
  transition: transform 160ms ease, box-shadow 160ms ease;
  text-decoration: none;
  color: inherit;
}

.fc-feature-card:active,
.fc-card-link:active {
  transform: scale(0.99);
}

@media (hover: hover) {
  .fc-feature-card:hover,
  .fc-cta-card:hover,
  .fc-card-link:hover {
    box-shadow: 0 12px 28px rgba(44, 42, 36, 0.08);
    transform: translateY(-2px);
  }
}

.fc-auth-aside {
  background: #252525;
  min-height: 180px;
}

.fc-auth-aside .fc-logo-wordmark {
  height: 32px;
  max-width: 180px;
  filter: none;
}

.fc-auth-tagline {
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  letter-spacing: 0.01em;
}

.btn {
  min-height: 44px;
}

.btn-sm {
  min-height: 38px;
}

.btn-icon {
  min-height: 40px;
}

.form-control,
.form-select {
  min-height: 44px;
}

.fc-feed-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.fc-feed-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bs-gray-200);
  overflow: hidden;
}

.fc-feed-media img,
.fc-feed-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bs-gray-200);
}

.fc-avatar {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #6f7652;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.fc-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #ffffff;
  border-top: 1px solid #a8b08b;
  padding: 6px 0 max(8px, env(safe-area-inset-bottom));
}

.fc-dash-nav {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

.fc-bottom-nav a,
.fc-bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--bs-gray-700);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.fc-bottom-nav a.is-active,
.fc-bottom-nav a[aria-current="page"] {
  color: #6f7652;
}

.fc-guest-sidebar {
  width: 265px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  background: #ffffff;
  border-right: 1px solid #a8b08b;
}

.mod-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #ece7dc;
}

.mod-tile img,
.mod-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mod-tile .mod-actions {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}

@media (min-width: 992px) {
  .fc-bottom-nav {
    display: none;
  }

  .fc-guest-main {
    margin-left: 265px;
  }

  .fc-auth-aside {
    min-height: 100vh;
  }
}

@media print {
  .no-print,
  .app-header,
  .app-sidebar,
  .fc-bottom-nav,
  [data-toast-host] {
    display: none !important;
  }
}
