/* Convite e confirmação: experiência mobile 10/09/2026 */
@media (max-width:900px){
  html[data-product-ux="public-event"] .public35-lock-page{min-height:100dvh!important;background:linear-gradient(180deg,#f3ecff 0%,#fbf9ff 60%,#fff 100%)!important}
  html[data-product-ux="public-event"] .public35-lock-page .public32-topbar{min-height:58px!important}
  html[data-product-ux="public-event"] .public35-lock-shell{display:flex!important;flex-direction:column!important;width:100%!important;max-width:560px!important;margin:0 auto!important;padding:0 14px 38px!important;gap:0!important}
  html[data-product-ux="public-event"] .public35-lock-cover{width:100%!important;min-height:390px!important;padding:28px 24px 72px!important;border-radius:28px!important;background-position:center!important;box-shadow:0 20px 50px rgba(35,18,65,.18)!important}
  html[data-product-ux="public-event"] .public35-lock-cover:after{background:linear-gradient(180deg,rgba(8,6,14,.12),rgba(8,6,14,.86))!important}
  html[data-product-ux="public-event"] .public35-lock-cover h1{font-size:clamp(2.45rem,12vw,3.6rem)!important;line-height:.96!important;letter-spacing:-.045em!important;margin:10px 0 14px!important;max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important}
  html[data-product-ux="public-event"] .public35-lock-cover p{font-size:1rem!important;line-height:1.5!important;margin:0!important;max-width:30ch!important}
  html[data-product-ux="public-event"] .public35-lock-card{position:relative!important;z-index:2!important;width:calc(100% - 20px)!important;margin:-44px auto 0!important;padding:25px 22px 23px!important;border-radius:26px!important;align-items:center!important;text-align:center!important;box-shadow:0 22px 50px rgba(49,29,82,.15)!important}
  html[data-product-ux="public-event"] .public35-lock-icon{display:grid!important;place-items:center!important;width:54px!important;height:54px!important;margin-top:-4px!important;border-radius:18px!important;background:#f2e8ff!important;font-size:1.65rem!important}
  html[data-product-ux="public-event"] .public35-lock-card h2{font-size:1.7rem!important;line-height:1.08!important;margin:15px 0 9px!important;overflow-wrap:normal!important;word-break:normal!important}
  html[data-product-ux="public-event"] .public35-lock-card p{font-size:1rem!important;line-height:1.45!important;margin:0!important;max-width:32ch!important}
  html[data-product-ux="public-event"] .public35-lock-card .btn{min-height:54px!important;margin:20px 0 10px!important;border-radius:16px!important;font-size:1rem!important}
  html[data-product-ux="public-event"] .public35-lock-card>small{font-size:.82rem!important}

  .modal.open:has(.guest-cf8-access),.guest34-hub-overlay.modal.open{display:flex!important;align-items:flex-end!important;justify-content:center!important;width:100vw!important;height:100dvh!important;padding:max(12px,env(safe-area-inset-top)) 0 0!important;background:rgba(15,10,25,.68)!important;backdrop-filter:blur(8px)}
  .guest-cf8-access,.guest34-hub{position:relative!important;width:100%!important;max-width:560px!important;max-height:calc(100dvh - max(12px,env(safe-area-inset-top)))!important;margin:0!important;padding:28px 20px calc(22px + env(safe-area-inset-bottom))!important;border-radius:30px 30px 0 0!important;overflow-x:hidden!important;overflow-y:auto!important;box-shadow:0 -20px 55px rgba(20,10,38,.22)!important}
  .guest-cf8-access>.close,.guest34-hub>.close{position:absolute!important;top:16px!important;right:16px!important;float:none!important;width:46px!important;height:46px!important;margin:0!important;border:0!important;background:#f4effa!important;box-shadow:none!important;color:#2b145d!important}
  .guest-cf8-access>.kicker{display:block!important;padding-right:58px!important;font-size:.76rem!important}
  .guest-cf8-access>h2{padding-right:58px!important;font-size:clamp(1.75rem,8vw,2.15rem)!important;line-height:1.06!important;letter-spacing:-.035em!important;margin:12px 0 9px!important;overflow-wrap:normal!important;word-break:normal!important}
  .guest-cf8-access>p{font-size:.98rem!important;line-height:1.45!important;margin:0 0 14px!important;max-width:34ch!important}
  .guest-cf8-access .guest-access-method{margin:14px 0 18px!important;padding:11px 12px!important;border-radius:15px!important}
  .guest-cf8-access .guest-access-method>span{width:36px!important;height:36px!important}
  .guest-cf8-access>label:not(.consent-check){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;width:100%!important;margin:0 0 14px!important;font-size:.9rem!important;font-weight:750!important;color:#35264f!important}
  .guest-cf8-access>label:not(.consent-check)>input{display:block!important;width:100%!important;min-width:0!important;height:54px!important;margin:0!important;padding:0 15px!important;border-radius:15px!important;font-size:1rem!important}
  .guest-cf8-access .guest-open-consent{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;align-items:start!important;gap:11px!important;margin:3px 0 18px!important;font-size:.9rem!important;line-height:1.38!important}
  .guest-cf8-access .guest-open-consent input{width:25px!important;height:25px!important;min-height:25px!important;margin:2px 0 0!important}
  .guest-cf8-access button[type="submit"]{width:100%!important;min-height:56px!important;border-radius:17px!important;font-size:1.05rem!important}
  .guest-cf8-access .guest35-access-note{font-size:.78rem!important;text-align:center!important;margin:11px auto 0!important}

  .guest34-hub>header{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:13px!important;align-items:start!important;padding:2px 58px 20px 0!important}
  .guest34-hub .rsvp32-avatar{width:52px!important;height:52px!important;font-size:1.35rem!important}
  .guest34-hub>header h2{font-size:clamp(1.65rem,7.5vw,2.05rem)!important;line-height:1.07!important;letter-spacing:-.035em!important;margin:5px 0 8px!important;overflow-wrap:normal!important;word-break:normal!important}
  .guest34-hub>header p{font-size:.94rem!important;line-height:1.4!important;margin:0!important}
  .guest34-hub.is-confirmed>header{border-bottom-color:#dac8f5!important}
  .guest34-hub.is-confirmed>header .rsvp32-avatar{background:linear-gradient(145deg,#6f2bd8,#a855f7)!important;color:#fff!important;box-shadow:0 10px 24px rgba(111,43,216,.25)!important}
  .guest34-hub .guest34-status{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:16px 0!important}
  .guest34-hub .guest34-status>div{min-width:0!important;padding:12px 13px!important;border-radius:15px!important;background:#faf8fd!important}
  .guest34-hub .guest34-status>div:last-child{grid-column:1/-1!important}
  .guest34-hub .guest34-status b{font-size:.98rem!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
  .guest34-hub.is-confirmed .guest34-status>div:first-child{background:#f0e8ff!important;border-color:#d8c2fa!important}
  .guest34-hub.is-confirmed .guest34-status>div:first-child b{color:#6f2bd8!important}
  .guest34-hub .guest34-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .guest34-hub .guest34-action{min-height:76px!important;padding:13px 14px!important;border-radius:18px!important;gap:12px!important;box-shadow:none!important}
  .guest34-hub .guest34-action>span{display:grid!important;place-items:center!important;flex:0 0 43px!important;width:43px!important;height:43px!important;border-radius:14px!important;background:#f4eefc!important;color:#5e2ca5!important;font-size:1.25rem!important}
  .guest34-hub .guest34-action b{font-size:1rem!important;line-height:1.2!important}
  .guest34-hub .guest34-action small{font-size:.82rem!important;line-height:1.35!important}
  .guest34-hub .guest34-action.primary{background:linear-gradient(135deg,#6f2bd8,#9b43e5)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 12px 26px rgba(111,43,216,.22)!important}
  .guest34-hub .guest34-action.primary>span{background:rgba(255,255,255,.18)!important;color:#fff!important}
  .guest34-hub .guest34-action.primary small{color:#f3eaff!important}
  .guest34-hub .guest34-privacy{font-size:.76rem!important;line-height:1.4!important;text-align:center!important;margin:14px 8px 0!important}
}
@media (max-width:390px){
  html[data-product-ux="public-event"] .public35-lock-cover{min-height:350px!important;padding-inline:21px!important}
  .guest-cf8-access,.guest34-hub{padding-inline:17px!important}
  .guest34-hub>header{grid-template-columns:44px minmax(0,1fr)!important;gap:11px!important}
  .guest34-hub .rsvp32-avatar{width:44px!important;height:44px!important}
}

/* Dashboard: um único endereço público, sem duplicação */
.nova36-dashboard-top-single{grid-template-columns:minmax(0,1fr)!important}
.nova36-publication-unified{grid-template-columns:minmax(0,1fr) minmax(320px,.95fr)!important}
.nova36-publication-link{display:grid;gap:12px;min-width:0}
.nova36-publication-link code{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.nova36-publication-actions{display:flex;flex-wrap:wrap;gap:9px}
.nova36-publication-actions .btn{margin:0!important;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
@media (max-width:900px){
  .nova36-publication-unified{grid-template-columns:minmax(0,1fr)!important}
  .nova36-publication-actions{display:grid;grid-template-columns:1fr 1fr}
  .nova36-publication-actions>*:last-child{grid-column:1/-1}
}
@media (max-width:390px){
  .nova36-publication-actions{grid-template-columns:1fr}
  .nova36-publication-actions>*:last-child{grid-column:auto}
}

/* Ajuste iPhone: formulário visível desde o topo e rolagem interna funcional */
body.has-open-modal{touch-action:pan-y!important}
@media (max-width:900px){
  .modal.open:has(.guest-cf8-access){align-items:flex-start!important;padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))!important;background:rgba(15,10,25,.72)!important}
  .guest-cf8-access{width:100%!important;height:auto!important;max-height:calc(100dvh - max(16px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important;margin:0 auto!important;padding:22px 18px calc(18px + env(safe-area-inset-bottom))!important;border-radius:24px!important;touch-action:pan-y!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
  .guest-cf8-access.is-link-access .guest-access-method{display:none!important}
  .guest-cf8-access>.kicker{font-size:.7rem!important;letter-spacing:.16em!important}
  .guest-cf8-access>h2{font-size:28px!important;line-height:1.08!important;letter-spacing:-.03em!important;margin:10px 0 7px!important;padding-right:54px!important}
  .guest-cf8-access>p{font-size:.92rem!important;line-height:1.4!important;margin:0 0 15px!important}
  .guest-cf8-access>label:not(.consent-check){margin-bottom:11px!important;gap:5px!important;font-size:.84rem!important}
  .guest-cf8-access>label:not(.consent-check)>input{height:50px!important;font-size:.95rem!important}
  .guest-cf8-access .guest-open-consent{margin:2px 0 13px!important;font-size:.84rem!important}
  .guest-cf8-access button[type="submit"]{position:sticky!important;bottom:0!important;z-index:5!important;min-height:52px!important;box-shadow:0 -8px 22px rgba(255,255,255,.95),0 10px 22px rgba(111,43,216,.2)!important}
  .guest-cf8-access .guest35-access-note{margin-top:9px!important}
}
