/* Casca de aplicativo do /festa: barra superior fixa, abas inferiores, indicador de envio. (Claude, 15/10) */
body.fx > .fx-top { display: none !important; }
.fx-pill, .fx-launch-summary { display: none !important; }
:root { --fxa-top: 58px; --fxa-bottom: 62px; }
body.fx { padding-top: calc(var(--fxa-top) + env(safe-area-inset-top)); padding-bottom: calc(var(--fxa-bottom) + env(safe-area-inset-bottom)); }
body.fx.fx-onboarding, body.fx.fx-cam-live { padding-top: 0; padding-bottom: 0; }
.fx-appbar, .fx-tabbar { position: fixed; left: 0; right: 0; z-index: 40; box-sizing: border-box; background: rgba(247, 242, 234, .97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
body.fx-onboarding .fx-appbar, body.fx-onboarding .fx-tabbar, body.fx-cam-live .fx-appbar, body.fx-cam-live .fx-tabbar { display: none; }
.fx-appbar { top: 0; display: flex; align-items: center; gap: 8px; height: calc(var(--fxa-top) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 10px 0 10px; border-bottom: 1px solid #e6dccd; }
.fx-appbar-brand { flex: none; display: grid; place-items: center; width: 40px; height: 44px; }
.fx-appbar-brand img { height: 26px; width: auto; display: block; }
.fx-appbar-btn { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: #2f3b2b; color: #fbf7f0; cursor: pointer; }
.fx-appbar-camera { width: 48px; height: 48px; margin-left: auto; box-shadow: inset 0 0 0 1px #b8955a, 0 2px 7px rgba(47, 59, 43, .16); }
.fx-appbar-btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fx-appbar-btn:active { transform: scale(.97); }
.fx-appbar-camera:focus-visible { outline: 3px solid #b8955a; outline-offset: 3px; }
.fx-appbar-status { flex: none; position: relative; display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; border: 0; border-radius: 22px; background: #fffdf9; box-shadow: inset 0 0 0 1.5px #d9cdb8; font: 700 12px/1 Inter, system-ui, sans-serif; color: #2f3b2b; cursor: pointer; }
.fx-appbar-status[hidden] { display: none; }
.fx-appbar-status .fxa-ring { position: absolute; inset: 3px; border-radius: 50%; background: conic-gradient(#b8955a calc(var(--fxa-p, 0) * 1%), #e6dccd 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); }
.fx-appbar-status .fxa-txt { position: relative; }
.fx-appbar-status.is-done { background: #2f6b3a; color: #fff; box-shadow: none; padding: 0 12px; }
.fx-appbar-status.is-done .fxa-ring { display: none; }
.fx-appbar-status.is-warn { background: #fff3d6; color: #8a5a00; box-shadow: inset 0 0 0 2px #e0a526; animation: fxa-pulse 1.6s ease-in-out infinite; }
.fx-appbar-status.is-warn .fxa-ring { display: none; }
@keyframes fxa-pulse { 50% { box-shadow: inset 0 0 0 2px #e0a526, 0 0 0 5px #e0a52633; } }
@media (prefers-reduced-motion: reduce) { .fx-appbar-status.is-warn { animation: none; } }
.fx-tabbar { bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: calc(var(--fxa-bottom) + env(safe-area-inset-bottom)); padding: 0 4px env(safe-area-inset-bottom); border-top: 1px solid #e6dccd; }
.fx-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; color: #6b6a5f; text-decoration: none; font: 600 11.5px/1.1 Inter, system-ui, sans-serif; border-radius: 14px; margin: 5px 2px; position: relative; }
.fx-tab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body[data-view="inicio"] .fx-tab[data-nav="inicio"],
body[data-view="meus-envios"] .fx-tab[data-nav="meus-envios"],
body[data-view="cardapio"] .fx-tab[data-nav="cardapio"],
body[data-view="mural"] .fx-tab[data-nav="mural"],
body[data-view="depoimento"] .fx-tab[data-nav="depoimento"] { background: #2f3b2b; color: #fff; }
.fx-tab .fx-badge { position: absolute; top: 2px; right: calc(50% - 22px); }

/* ---------- Cardápio integrado à central da festa ---------- */
.fx-menu { display: grid; gap: 16px; margin-top: 18px; text-align: left; }
.fx-menu-intro { margin: 0; color: #45483e; font-size: 1.06rem; line-height: 1.55; }
.fx-menu-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.fx-menu-card { min-width: 0; padding: 19px 17px; border: 1px solid #e0d6c7; border-radius: 18px; background: #fffdf9; box-shadow: 0 7px 20px rgba(47, 59, 43, .06); }
.fx-menu-card-heading { display: flex; align-items: center; gap: 11px; min-height: 38px; }
.fx-menu-card-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid #e8dfcf; border-radius: 50%; background: #f6f1e8; color: #8c764e; }
.fx-menu-card-icon svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.fx-menu-card-title { margin: 0; color: #2f3b2b; font: 600 1.55rem/1.15 var(--fx-serif, Georgia, serif); }
.fx-menu-note { display: inline-flex; margin: 9px 0 0; padding: 5px 10px; border-radius: 999px; background: #f3ead9; color: #55452c; font-size: .83rem; font-weight: 650; line-height: 1.35; }
.fx-menu-subtitle { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid #ece5d9; color: #6c7156; font: 700 1.02rem/1.3 Inter, system-ui, sans-serif; letter-spacing: .025em; }
.fx-menu-subtitle:first-of-type { margin-top: 14px; }
.fx-menu-items { display: grid; gap: 10px; margin: 12px 0 0; padding-left: 1.2rem; color: #30342d; font-size: 1.075rem; line-height: 1.55; }
.fx-menu-item { padding-left: 3px; overflow-wrap: anywhere; }
.fx-menu-item::marker { color: #b8955a; }
.fx-menu-pair strong, .fx-menu-pair span { display: block; }
.fx-menu-pair span { color: #5b5d52; font-size: .92rem; }
.fx-menu-chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.fx-menu-chip { max-width: 100%; padding: 7px 11px; border: 1px solid #e4d7bf; border-radius: 999px; background: #f8f2e7; color: #3b3d34; font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere; }
@media (min-width: 700px) {
  .fx-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-menu-card { padding: 22px 20px; }
}
@media (max-width: 380px) {
  .fx-tab { gap: 2px; margin-left: 1px; margin-right: 1px; font-size: 10px; }
  .fx-tab svg { width: 22px; height: 22px; }
  .fx-menu-card { padding: 17px 14px; }
  .fx-menu-card-heading { gap: 9px; }
  .fx-menu-card-icon { width: 34px; height: 34px; }
  .fx-menu-card-icon svg { width: 20px; height: 20px; }
  .fx-menu-card-title { font-size: 1.45rem; }
  .fx-menu-items { font-size: 1.04rem; line-height: 1.52; }
  .fx-menu-chip { font-size: .96rem; padding: 7px 9px; }
}
.fx-pill { display: none !important; }
.fx-fail-sheet .fx-dialog-card { display: grid; gap: 12px; }
.fx-fail-sheet h2 { margin: 0; font: 600 26px/1.1 "Cormorant Garamond", Georgia, serif; color: #2f3b2b; }
.fx-fail-sheet p { margin: 0; color: #45453c; font-size: 16px; line-height: 1.4; }
.fx-fail-sheet .fx-btn { min-height: 54px; }

/* ---------- "Meus envios" como galeria de celular ---------- */
#meus-envios .fx-back, #meus-envios .fx-eyebrow, #meus-envios .fx-lede, #meus-envios > .fx-wrap > .fx-btn,
#meus-envios .upload-online-gallery > h2, #meus-envios .upload-online-gallery > .upload-help { display: none; }
#meus-envios .fx-wrap { padding-left: 0; padding-right: 0; }
#meus-envios .fx-h1 { padding: 4px 16px 10px; margin: 0; font-size: 28px; }
#meus-envios .upload-history, #meus-envios .upload-online-gallery { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
#upload-history-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
#upload-history-list > .upload-help { grid-column: 1 / -1; padding: 24px 16px; text-align: center; }
#upload-history-list .upload-history-item { position: relative; aspect-ratio: 1 / 1; margin: 0; padding: 0; border: 0; border-radius: 0; background: #1d1f1a; box-shadow: none; overflow: hidden; display: block; }
#upload-history-list .upload-history-info, #upload-history-list .upload-history-actions { display: none; }
#upload-history-list .upload-history-preview { position: absolute; inset: 0; margin: 0; padding: 0; border: 0; }
#upload-history-list .upload-history-preview-trigger { position: absolute; inset: 0; display: block; padding: 0; margin: 0; list-style: none; cursor: pointer; }
#upload-history-list .upload-history-preview-trigger::-webkit-details-marker { display: none; }
#upload-history-list .upload-history-thumbnail { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; border-radius: 0; object-fit: cover; display: block; }
#upload-history-list .upload-history-placeholder { display: grid; place-items: center; color: #8d8a7c; font-size: 28px; background: #272a23; }
#upload-history-list .upload-history-open-hint { display: none; }
#upload-history-list .upload-history-item[data-media-type="video"]::after { content: "▶"; position: absolute; right: 6px; bottom: 6px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #000a; color: #fff; font-size: 11px; pointer-events: none; }
#meus-envios .upload-local-gallery { margin: 0 0 8px; padding: 10px 16px; }

.fx-viewer { position: fixed; inset: 0; z-index: 100; background: #000; color: #fff; display: flex; flex-direction: column; overscroll-behavior: contain; }
.fx-viewer[hidden] { display: none; }
.fx-viewer-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; gap: 4px; padding: calc(8px + env(safe-area-inset-top)) 8px 28px; background: linear-gradient(#000c, #0000); }
.fx-viewer-bar .sp { flex: 1; }
.fx-viewer-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.fx-viewer-btn:active { background: #fff3; }
.fx-viewer-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fx-viewer-track { flex: 1; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.fx-viewer-track::-webkit-scrollbar { display: none; }
.fx-viewer-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; display: grid; place-items: center; touch-action: pan-x pinch-zoom; }
.fx-viewer-slide img, .fx-viewer-slide video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.fx-viewer-count { position: absolute; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom)); text-align: center; font: 600 13px Inter, sans-serif; color: #fffc; pointer-events: none; text-shadow: 0 1px 4px #000; }
.upload-hide-dialog p[hidden] { display: none; }

#meus-envios #upload-history-list,
#meus-envios #upload-local-gallery-list { display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 2px !important; }
#meus-envios #upload-history-list .upload-history-item,
#meus-envios #upload-local-gallery-list .upload-history-item { display: block !important; position: relative !important; aspect-ratio: 1/1 !important; padding: 0 !important; gap: 0 !important; border: 0 !important; border-radius: 0 !important; background: #1d1f1a !important; overflow: hidden !important; grid-column: auto !important; container-type: normal !important; }
#meus-envios #upload-history-list .upload-history-info,
#meus-envios #upload-local-gallery-list .upload-history-info,
#meus-envios #upload-history-list .upload-history-actions,
#meus-envios #upload-local-gallery-list .upload-history-actions,
#meus-envios #upload-history-list .upload-history-open-hint,
#meus-envios #upload-local-gallery-list .upload-history-open-hint,
#meus-envios #upload-history-list .upload-history-media,
#meus-envios #upload-local-gallery-list .upload-history-media { display: none !important; }
#meus-envios #upload-history-list .upload-history-preview,
#meus-envios #upload-local-gallery-list .upload-history-preview { position: absolute !important; inset: 0 !important; margin: 0 !important; padding: 0 !important; }
#meus-envios #upload-history-list .upload-history-preview-trigger,
#meus-envios #upload-local-gallery-list .upload-history-preview-trigger { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; border-radius: 0 !important; background: transparent !important; }
#meus-envios #upload-history-list .upload-history-thumbnail,
#meus-envios #upload-local-gallery-list .upload-history-thumbnail { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover !important; border-radius: 0 !important; }
#meus-envios #upload-history-list .upload-history-placeholder,
#meus-envios #upload-local-gallery-list .upload-history-placeholder { position: absolute !important; inset: 0 !important; min-height: 0 !important; aspect-ratio: auto !important; }

/* ===== Foto dos noivos: grande só na 1ª abertura; depois some e dá lugar aos botões ===== */
body[data-view="inicio"] .fx-home-hero { max-height: 30dvh; overflow: hidden; }
body[data-view="inicio"] .fx-home-hero .fx-home-photo { width: 100%; height: 30dvh; object-fit: cover; object-position: center 35%; }
body.fx-hero-compact .fx-home-hero { display: none !important; }
body.fx-hero-compact .fx-home-content { padding-top: 12px; }
body.fx-hero-compact .fx-home-slogan { font-size: clamp(24px, 7vw, 30px); margin-top: 4px; }

/* ---------- iPhone: área segura (notch e barra inferior) ---------- */
.fx-appbar {
  padding-top: max(0px, env(safe-area-inset-top, 0px)) !important;
  height: calc(var(--fxa-top, 58px) + max(0px, env(safe-area-inset-top, 0px))) !important;
  box-sizing: border-box !important;
}
.fx-tabbar {
  padding-bottom: max(0px, env(safe-area-inset-bottom, 0px)) !important;
  height: calc(var(--fxa-bottom, 62px) + max(0px, env(safe-area-inset-bottom, 0px))) !important;
  box-sizing: border-box !important;
}
body.fx {
  padding-top: calc(var(--fxa-top, 58px) + max(0px, env(safe-area-inset-top, 0px))) !important;
  padding-bottom: calc(var(--fxa-bottom, 62px) + max(0px, env(safe-area-inset-bottom, 0px))) !important;
  box-sizing: border-box !important;
}
body.fx.fx-onboarding,
body.fx.fx-cam-live {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.fx-view {
  padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
}
.fx-viewer {
  padding-top: max(0px, env(safe-area-inset-top, 0px)) !important;
  padding-bottom: max(0px, env(safe-area-inset-bottom, 0px)) !important;
}
.fx-viewer-bar {
  padding-top: calc(8px + max(0px, env(safe-area-inset-top, 0px))) !important;
}
.fx-viewer-count {
  bottom: calc(14px + max(0px, env(safe-area-inset-bottom, 0px))) !important;
}
.fx-sheet,
.fx-fail-sheet,
.fx-bottom-sheet {
  padding-bottom: max(0px, env(safe-area-inset-bottom, 0px));
}
.fx-fail-sheet .fx-dialog-card,
.fx-bottom-sheet .fx-dialog-card,
.fx-sheet .fx-dialog-card {
  padding-bottom: max(26px, calc(16px + env(safe-area-inset-bottom, 0px))) !important;
}
@supports (padding: max(0px)) {
  body.fx {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
}


/* ---------- Indicador de envio fora da barra superior ---------- */
.fx-appbar-status {
  position: absolute !important; top: calc(100% + 8px); right: 10px; z-index: 41;
  height: 36px !important; min-width: 36px !important; padding: 0 12px !important;
  box-shadow: 0 6px 18px rgba(31, 35, 29, .22), inset 0 0 0 1.5px #d9cdb8 !important;
}
.fx-appbar-status.is-done { box-shadow: 0 6px 18px rgba(31, 35, 29, .22) !important; }
.fx-appbar-status .fxa-ring { inset: 2px; }

/* Keep the direct Cardápio view focused on the menu; camera actions live on Início. */
body[data-view="cardapio"] .fx-appbar > [data-open-camera] { display: none; }
body[data-view="cardapio"] #cardapio > .fx-wrap > .fx-back { display: none; }

/* ---------- Tutorial: controles só com ícone (15/10 10h, configuração do evento) ---------- */
.fx-player-tools { display: flex !important; justify-content: space-between; align-items: center; height: 44px !important; gap: 0 !important; }
.fx-player-action { width: 44px !important; height: 44px !important; padding: 0 !important; gap: 0 !important; border-radius: 50% !important;
  background: rgba(255, 255, 255, .12) !important; border: 1px solid rgba(255, 255, 255, .22) !important; animation: none !important; }
.fx-player-action .fx-player-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fx-player-action .fx-player-icon { width: 44px !important; height: 44px !important; font-size: 17px !important; font-family: system-ui, sans-serif; font-variant-emoji: text; }
.fx-player-action .fx-player-icon svg { width: 21px !important; height: 21px !important; }
.fx-player-sound.is-muted { background: rgba(255, 255, 255, .12) !important; position: relative; }
.fx-player-sound.is-muted::after { content: ""; position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: #e0a526; box-shadow: 0 0 0 2px #14170f; }
.fx-player-action:active, .fx-player-jump:active { transform: scale(.94); }
.fx-player-jump { width: 44px !important; min-width: 44px !important; border-radius: 50% !important; background: rgba(255, 255, 255, .12) !important;
  border: 1px solid rgba(255, 255, 255, .22) !important; font: 600 12px/1 Inter, system-ui, sans-serif !important; padding: 0 !important; }
body.fx-player-oneline .fx-player-tools { display: none !important; }
body.fx-player-oneline .fx-player-seek { grid-template-columns: 44px 44px minmax(0, 1fr) 44px 44px !important; gap: 6px !important; }

/* ---------- Cardápio v2 (layout definido para o evento, 15/10) ---------- */
#cardapio .fx-eyebrow, #cardapio .fx-h1, #cardapio .fx-back { display: none !important; }
#cardapio .fx-wrap { padding-left: 14px; padding-right: 14px; }
#cardapio .fx-menu-v2 { display: block; margin-top: 4px; font-family: Inter, system-ui, sans-serif; color: #20251d; }
#cardapio .fx-menu-v2 svg { display: block; }
.mn-hero { position: relative; overflow: hidden; border-radius: 26px; padding: 24px 22px 22px; color: #f7f2ea; background: radial-gradient(120% 90% at 85% 0%, #4b5c44 0%, #2f3b2b 55%, #232c20 100%); }
.mn-hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(233, 211, 166, .25); }
.mn-ey { margin: 0; font: 700 12px/1.3 Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #e9d3a6; }
.mn-title { margin: 8px 0 6px; font: 700 50px/1 'Cormorant Garamond', Georgia, serif; color: #f7f2ea; }
.mn-lede { margin: 0; max-width: 250px; font: 500 16px/1.45 Inter, sans-serif; color: #e6dfd1; }
.mn-hero-ico { position: absolute; right: 22px; top: 46px; width: 60px; height: 60px; color: #e9d3a6; }
.mn-hero-ico svg { width: 60px; height: 60px; }
.mn-moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.mn-moment { border: 0; background: #fffdf9; border-radius: 16px; padding: 10px 4px 9px; box-shadow: 0 6px 16px rgba(47, 59, 43, .07); font: 700 12px/1.2 Inter, sans-serif; color: #20251d; cursor: pointer; }
.mn-moment:active { transform: scale(.97); }
.mn-mi { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto 6px; border-radius: 12px; background: #f1e7d3; color: #2f3b2b; }
.mn-mi svg { width: 22px; height: 22px; }
.mn-group { margin-top: 22px; scroll-margin-top: 80px; }
.mn-gh { display: flex; align-items: center; gap: 10px; margin: 0 4px 10px; }
.mn-gh h2 { margin: 0; font: 700 26px/1 'Cormorant Garamond', Georgia, serif; color: #2f3b2b; }
.mn-ln { flex: 1; height: 1px; background: linear-gradient(90deg, #b8955a, transparent); }
.mn-card { background: #fffdf9; border-radius: 22px; padding: 16px 16px 6px; margin-bottom: 12px; box-shadow: 0 10px 26px rgba(47, 59, 43, .08); }
.mn-ch { display: flex; align-items: center; gap: 13px; }
.mn-ci { flex: none; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: #2f3b2b; color: #e9d3a6; }
.mn-ci svg { width: 27px; height: 27px; }
.mn-ch h3 { margin: 0; font: 800 20px/1.15 Inter, sans-serif; letter-spacing: -.015em; color: inherit; }
.mn-ch small { display: block; margin-top: 3px; font: 600 13px/1.3 Inter, sans-serif; color: #5b5d52; }
.mn-items { list-style: none; margin: 8px 0 0; padding: 0; }
.mn-items li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid #ece2d0; font: 600 17px/1.4 Inter, sans-serif; color: #262a22; }
.mn-items li:first-child { border-top: 0; }
.mn-items li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 7px; height: 7px; border-radius: 50%; background: #b8955a; }
.mn-pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 10px; }
.mn-pair { border-radius: 18px; padding: 14px; background: #f6efe2; }
.mn-pair b { display: block; font: 800 19px/1.2 Inter, sans-serif; }
.mn-pair span { display: block; margin-top: 6px; font: 600 14.5px/1.35 Inter, sans-serif; color: #6b4b12; }
.mn-pair i { display: block; margin-top: 10px; width: 26px; height: 4px; border-radius: 2px; background: #b8955a; }
.mn-sweet { display: flex; gap: 14px; align-items: center; border-radius: 22px; padding: 18px; margin-bottom: 12px; background: linear-gradient(135deg, #f3e3c4, #f9f1e1); box-shadow: 0 10px 26px rgba(47, 59, 43, .08); }
.mn-sweet .mn-ci { width: 58px; height: 58px; border-radius: 18px; background: #fff; color: #2f3b2b; }
.mn-sweet h3 { margin: 0; font: 800 13px/1.2 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #7a5a1e; }
.mn-sweet p { margin: 5px 0 0; font: 700 19px/1.3 Inter, sans-serif; color: #20251d; }
.mn-card.is-dark { background: #2f3b2b; color: #f7f2ea; }
.mn-card.is-dark .mn-ci { background: rgba(233, 211, 166, .15); }
.mn-card.is-dark small { color: #cfc6b3; }
.mn-card.is-dark li { color: #f3ede2; border-color: rgba(255, 255, 255, .12); }
.mn-foot { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 8px; padding: 16px; border-radius: 18px; border: 1.5px dashed #d9c9a8; font: 500 14.5px/1.45 Inter, sans-serif; color: #4a4b43; }
.mn-foot svg { flex: none; width: 24px; height: 24px; color: #b8955a; }
@media (min-width: 760px) { .mn-group .mn-card, .mn-group .mn-sweet { max-width: 640px; } }
.mn-sweet > div { min-width: 0; }
.mn-chips-label { margin: 10px 0 6px !important; font: 800 12px/1.2 Inter, sans-serif !important; letter-spacing: .12em; text-transform: uppercase; color: #7a5a1e !important; }
.mn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mn-chips span { padding: 7px 11px; border-radius: 999px; background: #fffdf9; font: 700 14.5px/1.2 Inter, sans-serif; color: #2f3b2b; box-shadow: inset 0 0 0 1px #e6d4b0; }

/* =====================================================================
   Modo Festa · Casco Público v4-icones-verdes (P01, P02/N14, P03-P05,
   P11, P14, P21/P22, P23, P24/P25)
   ===================================================================== */
:root {
  --v4-cream: #f7f2e9;
  --v4-paper: #fbf7ef;
  --v4-paper-card: #fffaf4;
  --v4-ink: #3a342b;
  --v4-ink-soft: #6d665b;
  --v4-green: #2f3b2b;
  --v4-icon-green: #173b32;
  --v4-olive: #566349;
  --v4-gold: #b6915c;
  --v4-champagne: #e6d3b3;
  --v4-gold-text: #80623a;
  --v4-line: rgba(58, 52, 43, .13);
  --v4-danger: #9a3e35;
}

body.fx {
  background: var(--v4-paper);
  color: var(--v4-ink);
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
}
body.fx.fx-has-queue {
  padding-bottom: calc(144px + env(safe-area-inset-bottom, 0px)) !important;
}
body.fx.fx-menu-open {
  overflow: hidden;
}

/* ---------- Barra superior (P01) ---------- */
.fx-appbar {
  background: rgba(251, 247, 239, .95) !important;
  border-bottom: 1px solid var(--v4-line) !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  justify-content: space-between;
}
.fx-appbar-brand {
  width: auto !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
}
.fx-appbar-brand img {
  width: 68px !important;
  height: 36px !important;
  object-fit: contain;
}
.fx-appbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.fx-appbar-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--v4-line);
  background: var(--v4-paper-card);
  color: var(--v4-green);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  flex: none;
}
.fx-appbar-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fx-appbar-icon:active {
  transform: scale(.96);
}
.couple-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(182, 145, 92, .16);
  border: 1px solid rgba(182, 145, 92, .42);
  font-size: 9.5px;
  line-height: 1.15;
  color: var(--v4-gold-text);
  text-decoration: none;
}
.couple-badge[hidden] {
  display: none !important;
}
.couple-badge strong {
  color: var(--v4-green);
  font-size: 10.5px;
  font-weight: 600;
}

/* ---------- P01: Início · Painéis Foto e Vídeo + Enviar + 4 Atalhos ---------- */
.fx-p01-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 6px 18px 20px !important;
}
.fx-p01-hero {
  position: relative;
  text-align: center;
  padding: 6px 0 12px;
  overflow: hidden;
}
.fx-p01-hero .foliage {
  position: absolute;
  width: 136px;
  height: 136px;
  pointer-events: none;
  opacity: .52;
  z-index: 0;
}
.fx-p01-hero .foliage.tl {
  top: -18px;
  left: -26px;
}
.fx-p01-hero .foliage.tr {
  top: -18px;
  right: -26px;
  transform: scaleX(-1);
}
.fx-p01-hero .eyebrow {
  position: relative;
  z-index: 1;
  color: var(--v4-gold-text);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.fx-p01-title {
  position: relative;
  z-index: 1;
  font: 600 clamp(32px, 8.8vw, 36px)/.98 "Cormorant Garamond", Georgia, serif !important;
  color: var(--v4-green) !important;
  letter-spacing: -.01em;
  margin: 2px 0 6px !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}
.fx-p01-lede {
  position: relative;
  z-index: 1;
  margin: 0 auto !important;
  max-width: 34ch;
  color: var(--v4-ink-soft) !important;
  font-size: 13px !important;
  line-height: 1.42 !important;
}

.panel-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.panel {
  border-radius: 18px;
  padding: 11px 12px 12px;
  background: linear-gradient(145deg, #fffdf8, #f3eadb);
  border: 1px solid rgba(182, 145, 92, .38);
  box-shadow: 0 8px 20px rgba(47, 59, 43, .06);
}
.panel .p-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  padding: 0 2px;
}
.panel .p-head .disc {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--v4-icon-green);
  color: #f3dfbb;
  display: grid;
  place-items: center;
  flex: none;
}
.panel .p-head .disc svg {
  width: 17px;
  height: 17px;
  color: #f3dfbb;
}
.panel .p-head h2 {
  margin: 0;
  font: 600 21px/1 "Cormorant Garamond", Georgia, serif;
  color: var(--v4-green);
}
.panel .p-head small {
  display: block;
  color: var(--v4-ink-soft);
  font-size: 11px;
  margin-top: 2px;
}
.panel .p-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.panel .p-act {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 11px;
  border-radius: 13px;
  background: var(--v4-paper-card);
  color: var(--v4-ink);
  border: 1px solid var(--v4-line);
  font: 600 12.5px/1.22 Inter, system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}
.panel .p-act:active {
  transform: scale(.99);
}
.panel .p-act svg:first-child {
  width: 21px;
  height: 21px;
  color: var(--v4-icon-green);
  flex: none;
}
.panel .p-act span {
  flex: 1;
  min-width: 0;
}
.panel .p-act strong {
  display: block;
  font-size: 12.5px;
  color: var(--v4-green);
}
.panel .p-act small {
  display: block;
  color: var(--v4-ink-soft);
  font-weight: 400;
  font-size: 10.5px;
  margin-top: 1px;
}
.panel .p-act .chev {
  width: 16px;
  height: 16px;
  color: var(--v4-gold-text);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  flex: none;
}

.btn {
  width: 100%;
  min-height: 48px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--v4-green);
  color: var(--v4-paper);
  font: 600 13.5px/1.15 Inter, system-ui, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  cursor: pointer;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn.gold {
  background: var(--v4-gold);
  color: #231b10;
}
.btn.outline {
  background: var(--v4-paper-card);
  color: var(--v4-green);
  border-color: rgba(58, 52, 43, .22);
}
.btn.soft {
  background: #ede4d3;
  color: var(--v4-green);
  border-color: rgba(182, 145, 92, .35);
}
.btn.soft svg {
  color: var(--v4-icon-green);
}
.fx-p01-pick {
  margin-top: 10px;
}

.shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}
.shortcut {
  border-radius: 13px;
  background: var(--v4-paper-card);
  border: 1px solid var(--v4-line);
  padding: 9px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font: 600 11px/1.15 Inter, system-ui, sans-serif;
  color: var(--v4-green);
  text-decoration: none;
  cursor: pointer;
}
.shortcut svg {
  width: 21px;
  height: 21px;
  color: var(--v4-icon-green);
}
.shortcut .fx-badge {
  margin-left: 2px;
}

/* ---------- P21 / P22: Barra inferior compacta flutuante e recolhível ---------- */
.fx-tabbar {
  position: fixed !important;
  left: 12px !important;
  right: 12px !important;
  bottom: max(10px, env(safe-area-inset-bottom, 10px)) !important;
  max-width: 456px;
  margin: 0 auto;
  height: 58px !important;
  padding: 5px 6px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(230, 211, 179, .24) !important;
  background: rgba(47, 59, 43, .96) !important;
  color: var(--v4-paper) !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  align-items: center;
  box-shadow: 0 12px 28px rgba(24, 30, 22, .26);
  z-index: 42 !important;
  transition: width .18s ease, padding .18s ease, transform .18s ease;
}
.fx-tab {
  height: 46px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px !important;
  color: rgba(251, 247, 239, .78) !important;
  font: 500 10px/1 Inter, system-ui, sans-serif !important;
  background: transparent !important;
  text-decoration: none;
}
.fx-tab svg {
  width: 19px !important;
  height: 19px !important;
  color: currentColor;
}
.fx-tab.gallery-tab {
  color: #f6e3be !important;
  background: rgba(182, 145, 92, .22) !important;
  box-shadow: inset 0 0 0 1px rgba(230, 211, 179, .38);
}
.fx-tab.active,
body[data-view="inicio"] .fx-tab[data-nav="inicio"],
body[data-view="meus-envios"] .fx-tab[data-nav="meus-envios"],
body[data-view="cardapio"] .fx-tab[data-nav="cardapio"],
body[data-view="mural"] .fx-tab[data-nav="mural"],
body[data-view="depoimento"] .fx-tab[data-nav="depoimento"] {
  background: var(--v4-champagne) !important;
  color: #1f271c !important;
  font-weight: 600 !important;
}
.fx-tab.gallery-tab.active,
body[data-view="meus-envios"] .fx-tab.gallery-tab[data-nav="meus-envios"] {
  background: var(--v4-gold) !important;
  color: #1f170d !important;
  box-shadow: none !important;
}
.bar-handle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(230, 211, 179, .35);
  background: rgba(251, 247, 239, .12);
  color: var(--v4-champagne);
  place-items: center;
  padding: 0;
  cursor: pointer;
}
.bar-handle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.fx-tabbar.collapsed {
  left: auto !important;
  right: 14px !important;
  width: auto !important;
  height: 46px !important;
  padding: 4px 6px !important;
  display: inline-flex !important;
  gap: 6px;
}
.fx-tabbar.collapsed .fx-tab {
  display: none !important;
}
.fx-tabbar.collapsed .fx-tab.active {
  display: inline-flex !important;
  flex-direction: row !important;
  gap: 6px !important;
  height: 36px !important;
  padding: 0 12px !important;
  font-size: 11px !important;
}
.fx-tabbar.collapsed .bar-handle {
  display: grid !important;
}

/* ---------- P03 / P04 / P05: Fila flutuante independente ---------- */
.fx-queue-float {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  max-width: 452px;
  margin: 0 auto;
  z-index: 41;
  border: 1px solid rgba(230, 211, 179, .28);
  border-radius: 16px;
  padding: 10px 13px;
  background: var(--v4-green);
  color: var(--v4-paper);
  box-shadow: 0 10px 26px rgba(28, 35, 25, .24);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  cursor: pointer;
}
.fx-queue-float[hidden],
body.fx-onboarding .fx-queue-float,
body.fx-cam-live .fx-queue-float {
  display: none !important;
}
.fx-queue-float.danger {
  background: #7d231d;
  border-color: rgba(255, 220, 212, .35);
}
.fx-qf-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  width: 100%;
}
.fx-qf-row svg {
  width: 18px;
  height: 18px;
  color: var(--v4-champagne);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  flex: none;
}
.fx-qf-text {
  font-weight: 600;
  flex: 1;
  min-width: 0;
}
.fx-qf-action {
  color: var(--v4-champagne);
  font-weight: 600;
  font-size: 11px;
}
.fx-qf-meter {
  height: 5px;
  width: 100%;
  border-radius: 999px;
  background: rgba(251, 247, 239, .18);
  overflow: hidden;
}
.fx-Queue-float.danger .fx-qf-meter,
.fx-queue-float.danger .fx-qf-meter {
  display: none;
}
.fx-qf-bar {
  display: block;
  height: 100%;
  background: var(--v4-champagne);
  border-radius: inherit;
  transition: width 180ms linear;
}

/* ---------- P24 / P25: Câmera flutuante opcional na borda direita ---------- */
.camera-float {
  position: fixed;
  right: 0;
  bottom: calc(146px + env(safe-area-inset-bottom, 0px));
  z-index: 39;
  width: 54px;
  min-height: 62px;
  padding: 8px 6px 8px 9px;
  border-radius: 18px 0 0 18px;
  border: 1px solid var(--v4-gold);
  border-right: 0;
  background: linear-gradient(145deg, #173b32, #2f3b2b);
  color: #f3dfbb;
  box-shadow: -6px 10px 22px rgba(23, 35, 28, .24);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font: 600 9.5px/1 Inter, system-ui, sans-serif;
  letter-spacing: .02em;
  cursor: pointer;
  touch-action: none;
  user-select: none;
}
.camera-float[hidden],
body.fx-onboarding .camera-float,
body.fx-cam-live .camera-float,
body.fx-menu-open .camera-float {
  display: none !important;
}
.camera-float svg {
  width: 22px;
  height: 22px;
  color: #f3dfbb;
}
.camera-float::before {
  content: "";
  width: 3px;
  height: 16px;
  border-radius: 99px;
  background: rgba(243, 223, 187, .42);
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
}
.camera-float-options {
  position: fixed;
  right: 60px;
  bottom: calc(136px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  width: 178px;
  padding: 7px;
  border-radius: 16px;
  background: var(--v4-paper-card);
  border: 1px solid rgba(182, 145, 92, .48);
  box-shadow: 0 14px 30px rgba(24, 30, 22, .22);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.camera-float-options[hidden],
body.fx-onboarding .camera-float-options,
body.fx-cam-live .camera-float-options,
body.fx-menu-open .camera-float-options {
  display: none !important;
}
.camera-float-options button {
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 11px;
  border: 1px solid var(--v4-line);
  background: #fffdf9;
  color: var(--v4-green);
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 12px/1.15 Inter, system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}
.camera-float-options button svg {
  width: 19px;
  height: 19px;
  color: var(--v4-icon-green);
  flex: none;
}

/* ---------- P02 / N14: Menu suspenso público completo ---------- */
.fx-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--v4-paper);
  color: var(--v4-ink);
  display: flex;
  flex-direction: column;
}
.fx-menu-overlay[hidden] {
  display: none !important;
}
.fx-menu-shell {
  width: 100%;
  max-width: 520px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.fx-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(var(--fxa-top, 58px) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 16px 0;
  border-bottom: 1px solid var(--v4-line);
  background: rgba(251, 247, 239, .96);
}
.fx-menu-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 18px calc(36px + env(safe-area-inset-bottom, 0px));
}
.toggle-festa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: #ede4d3;
  border: 1px solid var(--v4-line);
  margin: 4px 0 14px;
}
.toggle-festa button {
  height: 36px;
  border: 0;
  border-radius: 999px;
  font: 600 12.5px/1 Inter, system-ui, sans-serif;
  color: var(--v4-ink-soft);
  background: transparent;
  cursor: pointer;
}
.toggle-festa button.active {
  background: var(--v4-green);
  color: var(--v4-paper);
}
.section-label {
  color: var(--v4-gold-text);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 16px 2px 6px;
}
.menu-list {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: var(--v4-paper-card);
  border: 1px solid var(--v4-line);
  overflow: hidden;
}
.menu-row {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  padding: 10px 13px;
  border: 0;
  border-bottom: 1px solid var(--v4-line);
  background: transparent;
  color: var(--v4-ink);
  font: 500 13.5px/1.25 Inter, system-ui, sans-serif;
  text-align: left;
  text-decoration: none;
  width: 100%;
  cursor: pointer;
}
.menu-row:last-child {
  border-bottom: 0;
}
.menu-row svg:first-child {
  width: 20px;
  height: 20px;
  color: var(--v4-icon-green);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  flex: none;
}
.menu-row span {
  flex: 1;
  min-width: 0;
}
.menu-row strong {
  display: block;
  font-weight: 600;
  color: var(--v4-green);
}
.menu-row small {
  display: block;
  color: var(--v4-ink-soft);
  font-size: 11px;
  margin-top: 2px;
}
.menu-row .chev {
  width: 16px;
  height: 16px;
  color: var(--v4-gold-text);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  flex: none;
}

/* ---------- P23: Alerta ao sair da Festa para o Site com envios pendentes ---------- */
.fx-exit-dialog {
  max-width: min(400px, calc(100vw - 32px));
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}
.fx-exit-dialog::backdrop {
  background: rgba(24, 28, 22, .52);
}
.exit-card {
  width: 100%;
  background: var(--v4-paper);
  border: 1px solid rgba(182, 145, 92, .45);
  border-radius: 24px;
  padding: 22px 18px 18px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .28);
  text-align: center;
}
.exit-card h2 {
  margin: 0;
  font: 600 25px/1.1 "Cormorant Garamond", Georgia, serif;
  color: var(--v4-green);
}
.exit-card h2 strong {
  display: block;
  margin-top: 2px;
  font: 600 40px/1 "Cormorant Garamond", Georgia, serif;
  color: var(--v4-gold-text);
}
.attention {
  border-radius: 16px;
  padding: 13px 14px;
  background: #fdf2f0;
  border: 1px solid rgba(154, 62, 53, .32);
  color: #6e261f;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
  text-align: left;
}
.attention svg {
  width: 20px;
  height: 20px;
  color: var(--v4-danger);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  flex: none;
  margin-top: 2px;
}
.attention strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}
.attention small {
  display: block;
  color: #7d3a33;
  font-size: 11.5px;
  line-height: 1.38;
}
.exit-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

/* ---------- P14: Anexo discreto de foto no recado do Mural ---------- */
.attach-photo {
  margin-top: 8px;
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 13px;
  border: 1px dashed rgba(182, 145, 92, .55);
  background: #fbf5ea;
  color: var(--v4-green);
  display: flex;
  align-items: center;
  gap: 9px;
  font: 600 12.5px/1.2 Inter, system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}
.attach-photo svg {
  width: 19px;
  height: 19px;
  color: var(--v4-icon-green);
  flex: none;
}
.attach-photo small {
  color: var(--v4-ink-soft);
  font-weight: 400;
  font-size: 11px;
  margin-left: auto;
}

