/* Only the invitation's photographic surfaces, never user posts or stories. */
.isabella-photo-shell .hero.isabella-portrait-hero {
  min-height: 0;
  height: 300px;
  border: 0;
  border-radius: 8px;
}
.isabella-photo-shell .isabella-portrait-hero > img {
  opacity: 1;
  object-position: center 18%;
}
.isabella-photo-shell .isabella-portrait-hero::after {
  background: linear-gradient(180deg, transparent 25%, rgba(5,8,6,.16) 48%, rgba(5,8,6,.88));
  pointer-events: none;
}
.isabella-photo-shell .isabella-portrait-hero .kicker { letter-spacing: 0; }
.isabella-photo-shell .isabella-portrait-hero h1 { font-size: 36px; line-height: 1.08; }
.isabella-photo-shell .isabella-portrait-hero .isabella-hero-copy { z-index: 1; }
.isabella-invite-page .page { padding: 0 0 110px; background: #0b100d; }
.isabella-invite-page .shell { width: 100%; max-width: 1120px; }
.isabella-invite-page .join-cta { margin: 0; font-size: 12px; }
.isabella-invite-page .hero.isabella-invite-hero {
  height: min(580px, 74svh);
  margin: 0;
  border-radius: 0;
  background: #18241b;
}
.isabella-invite-hero .isabella-hero-photos {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  z-index: 0;
}
.isabella-invite-hero .isabella-hero-photos img {
  position: static;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center 28%;
  opacity: 1;
}
.isabella-invite-hero .isabella-hero-photos .isabella-hero-wing { display: none; }
.isabella-invite-hero .isabella-hero-copy { left: 24px; right: 24px; bottom: 24px; }
.isabella-invite-hero .isabella-hero-copy h1 { font-size: 48px; font-weight: 750; }
.isabella-invite-hero h1 span { display: block; color: #ffe1a1; font-size: 32px; margin-top: 4px; }
.isabella-invite-hero .kicker { font-size: 11px; }
.isabella-invite-hero .isabella-hero-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  margin-top: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.65);
}
.isabella-invite-page .content {
  margin: 24px 20px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.isabella-invite-page .content > .notice { margin-top: 0; }
.isabella-invite-page .content > .message { margin-top: 16px; }
#confirmar-presenca, #ensaio { scroll-margin-top: 90px; }
.isabella-ensaio {
  margin-top: 48px;
  padding: 32px 20px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.isabella-ensaio-heading { margin-bottom: 22px; }
.isabella-ensaio-heading p { color: #e4c68c; font-size: 11px; font-weight: 700; margin: 0 0 7px; }
.isabella-ensaio-heading h2 { color: #fff; margin: 0; font-size: 28px; line-height: 1.15; font-weight: 650; }
.isabella-ensaio-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.isabella-ensaio-photo { display: block; position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; background: #18241b; }
.isabella-ensaio-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .25s ease; }
.isabella-ensaio-photo i { position: absolute; bottom: 10px; right: 10px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.55); color: white; font-size: 12px; pointer-events: none; }
.isabella-ensaio-photo:hover img { transform: scale(1.025); }
.isabella-ensaio-photo:focus-visible { outline: 3px solid #ffe1a1; outline-offset: 3px; }
.isabella-ensaio-rsvp { display: flex; gap: 12px; align-items: center; justify-content: center; color: #ffe1a1; font-weight: 650; font-size: 15px; padding: 28px 8px 0; text-decoration: none; }
.isabella-ensaio-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: 100%;
  margin: 0;
  padding: env(safe-area-inset-top,0px) 16px env(safe-area-inset-bottom,0px);
  border: 0;
  background: #080a09;
  color: #fff;
  overflow: hidden;
}
.isabella-ensaio-viewer::backdrop { background: #080a09; }
.isabella-ensaio-viewer[open] { display: flex; flex-direction: column; }
.isabella-ensaio-viewer-head, .isabella-ensaio-controls { flex: 0 0 64px; display: flex; align-items: center; gap: 20px; }
.isabella-ensaio-viewer-head { justify-content: space-between; font-size: 14px; }
.isabella-ensaio-controls { justify-content: center; }
.isabella-ensaio-controls span { width: 72px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.isabella-ensaio-viewer button {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}
.isabella-ensaio-viewer button:focus-visible { outline: 2px solid #ffe1a1; outline-offset: 3px; }
.isabella-ensaio-stage { flex: 1; min-height: 0; position: relative; display: grid; place-items: center; }
.isabella-ensaio-stage img { display: block; width: 100%; height: 100%; min-height: 0; max-height: 100%; object-fit: contain; }
.isabella-ensaio-stage[aria-busy="true"]::after { content: ""; position: absolute; width: 28px; height: 28px; border: 2px solid #757b77; border-top-color: #fff; border-radius: 50%; animation: isabella-photo-loading .8s linear infinite; }
.isabella-ensaio-stage p { position: absolute; color: #fff; text-align: center; padding: 24px; background: #080a09; }
@keyframes isabella-photo-loading { to { transform: rotate(360deg); } }
/* A clear portrait above the existing countdown and actions on the home feed. */
body #isabella-home-identity { border-radius: 8px; background: #0b100d; }
body #isabella-home-identity .ihi-bg { height: 320px; object-position: center 18%; opacity: 1; filter: none; }
body #isabella-home-identity::after { background: linear-gradient(180deg, transparent 140px, rgba(11,16,13,.3) 205px, #0b100d 320px); }
body #isabella-home-identity .ihi-content { padding-top: 230px; }
body #isabella-home-identity h2 { font-size: 32px; }
body #isabella-home-identity .ihi-kicker { letter-spacing: 0; }
body #isabella-home-identity .ihi-timebox strong { font-size: 36px; }
@media (min-width: 760px) {
  .isabella-photo-shell .isabella-portrait-hero h1 { font-size: 44px; }
  .isabella-invite-page .hero.isabella-invite-hero { height: min(540px,74svh); }
  .isabella-invite-hero .isabella-hero-photos { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .isabella-invite-hero .isabella-hero-photos .isabella-hero-wing { display: block; }
  .isabella-invite-hero .isabella-hero-copy { left: 40px; right: 40px; bottom: 32px; }
  .isabella-invite-hero .isabella-hero-copy h1 { font-size: 64px; }
  .isabella-invite-hero h1 span { font-size: 36px; }
  .isabella-invite-page .content { max-width: 680px; margin: 36px auto 0; }
  .isabella-ensaio { padding: 40px 40px 0; margin-top: 56px; }
  .isabella-ensaio-heading h2 { font-size: 36px; }
  .isabella-ensaio-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
  .isabella-ensaio-viewer { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 350px) {
  .isabella-invite-hero .isabella-hero-copy h1 { font-size: 42px; }
  .isabella-invite-page .content, .isabella-ensaio { margin-left: 0; margin-right: 0; padding-left: 16px; padding-right: 16px; }
  body #isabella-home-identity .ihi-timebox strong { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .isabella-ensaio-photo img { transition: none; }
  .isabella-ensaio-stage[aria-busy="true"]::after { animation: none; }
}

body #isabella-home-identity .ihi-chip { white-space: normal; overflow-wrap: anywhere; height: auto; padding-top: 8px; padding-bottom: 8px; text-align: center; max-width: 100%; }
body #isabella-home-identity h2, .ranking-page .title, .isabella-ensaio-heading { min-width: 0; overflow-wrap: anywhere; }
.ranking-page .section-title { flex-wrap: wrap; }
.isabella-hero-link, .isabella-ensaio-rsvp { max-width: 100%; overflow-wrap: anywhere; text-align: center; }
