/* Local offer presentation. All selectors are scoped; no payment/form styles. */
.iphone-promo-launcher {
    position: fixed;
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(max(22px, env(safe-area-inset-bottom)) + 150px);
    z-index: 25;
    isolation: isolate;
    width: 88px;
    height: 100px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.iphone-promo-launcher__glow {
    position: absolute;
    inset: 6px -10px 10px;
    z-index: -1;
    background: radial-gradient(ellipse, #ffe18b45, transparent 68%);
    pointer-events: none;
}
.iphone-promo-launcher img {
    display: block;
    position: absolute;
    top: 0;
    left: -10px;
    width: 108px;
    max-width: none;
    height: 76px;
    object-fit: contain;
    filter: drop-shadow(0 5px 3px #0009);
    animation: iphone-promo-float 3.6s ease-in-out infinite;
    pointer-events: none;
}
.iphone-promo-launcher__label {
    position: absolute;
    inset: auto 0 2px;
    padding: 6px 3px;
    border: 1px solid #fff2a9;
    border-radius: 9px;
    color: #26301b;
    background: linear-gradient(#fff1a5, #ffd447);
    box-shadow: 0 3px 0 #9b741b, 0 5px 15px #0005;
    font: 16px/1 "Lilita One Local", sans-serif;
    white-space: nowrap;
}
body.modal-open .iphone-promo-launcher,
body.account-menu-open .iphone-promo-launcher { visibility: hidden; }
body.modal-open .iphone-promo-launcher img,
body.account-menu-open .iphone-promo-launcher img { animation-play-state: paused; }

.iphone-promo-shell {
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
}
.iphone-promo-backdrop { position: fixed; background: #030a0de0; }
.iphone-promo-card {
    isolation: isolate;
    width: min(100%, 430px);
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 36px 24px 26px;
    border: 1px solid #c9d68b77;
    border-radius: 30px;
    color: #f5faf7;
    background: radial-gradient(ellipse at 50% 26%, #234335 0%, transparent 58%), linear-gradient(160deg, #152622, #111b1c 54%, #0b1417);
    box-shadow: 0 28px 80px #0009, inset 0 1px 0 #fff3c524;
    text-align: center;
    overscroll-behavior: contain;
}
.iphone-promo-card::before {
    content: "";
    position: absolute;
    inset: 8px;
    z-index: -1;
    border: 1px solid #ffefae0e;
    border-radius: 23px;
    background: url("branding/nossa-arena-doodles.svg") center top / 288px 192px repeat;
    opacity: .045;
    pointer-events: none;
}
.iphone-promo-card:focus { outline: none; }
.iphone-promo-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 1px solid #ffffff26;
    border-radius: 50%;
    background: #ffffff06;
    color: #ebf4eb;
    cursor: pointer;
}
.iphone-promo-close svg { width: 20px; height: 20px; }
.iphone-promo-eyebrow {
    margin: 0 20px 9px;
    color: #cfdbc1;
    font: 700 10px/1.4 "Trebuchet MS", sans-serif;
    letter-spacing: 1.8px;
}
.iphone-promo-heading h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0;
    color: #ffdc55;
    font: 400 45px/1.08 "Lilita One Local", sans-serif;
    letter-spacing: -.6px;
    text-shadow: 0 3px 0 #7c5e2266;
}
.iphone-promo-model {
    padding: 5px 7px;
    border: 1px solid #ffeb9d77;
    border-radius: 7px;
    color: #f9e7a7;
    background: #ffe1810c;
    font: 700 12px/1.1 "Trebuchet MS", sans-serif;
    letter-spacing: .2px;
    text-shadow: none;
    white-space: nowrap;
}
.iphone-promo-art {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    height: 210px;
    margin: 9px -8px 8px;
}
.iphone-promo-art::before {
    content: "";
    position: absolute;
    inset: 6% 5%;
    z-index: -1;
    background: radial-gradient(ellipse, #e6e5b133, #75b68615 42%, transparent 70%);
    pointer-events: none;
}
.iphone-promo-art img {
    width: 100%;
    height: 100%;
    max-height: 210px;
    object-fit: contain;
    filter: drop-shadow(0 12px 9px #0007);
}
.iphone-promo-orbit {
    position: absolute;
    inset: 36% 8% 10%;
    z-index: -1;
    border: 1px solid #efdd9433;
    border-radius: 50%;
    transform: rotate(-14deg);
}
.iphone-promo-spark { position: absolute; color: #ffe497; font-size: 24px; }
.iphone-promo-spark--left { top: 28%; left: 0; }
.iphone-promo-spark--right { top: 11%; right: 4px; font-size: 20px; }
.iphone-promo-promise {
    margin: 0;
    font: 400 27px/1.15 "Lilita One Local", sans-serif;
    text-wrap: balance;
}
.iphone-promo-promise strong { color: #ffdd61; font-weight: 400; }
.iphone-promo-description { margin: 7px 0 0; color: #c3d0c9; font-size: 15px; line-height: 1.3; }
.iphone-promo-timebox {
    margin: 18px 0;
    padding: 12px 10px;
    border: 1px solid #e5d38b30;
    border-radius: 16px;
    background: #e7f4d804;
}
.iphone-promo-timebox > p { margin: 0 0 10px; color: #ffe18a; font-size: 14px; font-weight: 700; line-height: 1.2; }
.iphone-promo-timing { display: flex; align-items: center; justify-content: center; gap: 14px; }
.iphone-promo-clock { display: flex; align-items: flex-start; justify-content: center; gap: 6px; }
.iphone-promo-clock > span { display: grid; gap: 4px; min-width: 42px; }
.iphone-promo-clock b { font: 700 30px/1 "Trebuchet MS", sans-serif; font-variant-numeric: tabular-nums; color: #f9fbf6; }
.iphone-promo-clock small { color: #a6b9ad; font: 700 8px/1.2 "Trebuchet MS", sans-serif; letter-spacing: 1px; }
.iphone-promo-clock i { padding-top: 1px; color: #d7bd69; font: 400 24px/1 "Trebuchet MS", sans-serif; }
.iphone-promo-timezone { display: grid; gap: 3px; padding-left: 14px; border-left: 1px solid #ffffff21; color: #f3e6ba; font-size: 14px; line-height: 1.15; }
.iphone-promo-timezone > span { color: #b0bdb8; font-size: 11px; }
.iphone-promo-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 55px;
    padding: 13px 12px;
    overflow: hidden;
    border: 1px solid #fff2aa;
    border-radius: 15px;
    color: #163c25;
    background: linear-gradient(#ffea77, #ffd43c 58%, #ffcb27);
    box-shadow: inset 0 1px 0 #fff8ca, 0 5px 0 #92701d, 0 8px 24px #ffcd311b;
    font: 400 22px/1.1 "Lilita One Local", sans-serif;
    cursor: pointer;
    touch-action: manipulation;
}
.iphone-promo-cta svg { width: 22px; height: 22px; flex-shrink: 0; }
.iphone-promo-cta::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -50%;
    width: 28%;
    background: linear-gradient(100deg, transparent, #fff8, transparent);
    transform: translateX(0) skewX(-20deg);
    pointer-events: none;
}
.iphone-promo-shell:not([hidden]) .iphone-promo-cta:not(:disabled)::after { animation: iphone-promo-shine 4.6s ease-in-out infinite; }
.iphone-promo-shell:not([hidden]) .iphone-promo-card { animation: iphone-promo-enter 380ms cubic-bezier(.2,.8,.2,1) both; }
.iphone-promo-cta:hover { filter: brightness(1.05); }
.iphone-promo-cta:active { transform: translateY(3px); box-shadow: 0 2px 0 #92701d; }
.iphone-promo-cta:disabled { cursor: default; opacity: .65; }
.iphone-promo-launcher:focus-visible,
.iphone-promo-close:focus-visible,
.iphone-promo-cta:focus-visible { outline: 3px solid #a4eaff; outline-offset: 3px; }
@keyframes iphone-promo-float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-7px) rotate(3deg); }
}
@keyframes iphone-promo-shine {
    0%, 68% { transform: translateX(0) skewX(-20deg); }
    90%, 100% { transform: translateX(650%) skewX(-20deg); }
}
@keyframes iphone-promo-enter {
    from { opacity: 0; transform: translateY(22px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 359px) {
    .iphone-promo-card { padding-inline: 16px; }
    .iphone-promo-eyebrow { font-size: 8px; letter-spacing: 1.3px; }
    .iphone-promo-heading h2 { font-size: 37px; gap: 6px; }
    .iphone-promo-model { font-size: 10px; padding: 4px; }
    .iphone-promo-promise { font-size: 23px; }
    .iphone-promo-cta { font-size: 20px; gap: 9px; }
    .iphone-promo-timing { gap: 9px; }
    .iphone-promo-timezone { padding-left: 9px; }
    .iphone-promo-clock { gap: 4px; }
    .iphone-promo-clock > span { min-width: 34px; }
    .iphone-promo-clock b { font-size: 27px; }
}
@media (max-height: 700px) {
    .iphone-promo-card { padding-top: 33px; padding-bottom: 20px; }
    .iphone-promo-art { height: 160px; margin-block: 5px; }
    .iphone-promo-art img { max-height: 160px; }
    .iphone-promo-timebox { margin-block: 13px; padding-block: 10px; }
}
@media (max-height: 570px) {
    .iphone-promo-art { height: 125px; }
    .iphone-promo-art img { max-height: 125px; }
    .iphone-promo-heading h2 { font-size: 36px; }
    .iphone-promo-promise { font-size: 23px; }
    .iphone-promo-description { margin-top: 4px; font-size: 14px; }
    .iphone-promo-timebox { margin-block: 10px; padding-block: 9px; }
    .iphone-promo-cta { min-height: 48px; padding-block: 10px; }
}
@media (min-width: 600px) and (max-height: 560px) {
    .iphone-promo-card { display: grid; grid-template-columns: 44% minmax(0, 1fr); column-gap: 18px; width: min(100%, 650px); padding: 30px 24px 24px; }
    .iphone-promo-heading { grid-column: 1; align-self: end; }
    .iphone-promo-heading h2 { font-size: 35px; }
    .iphone-promo-eyebrow { margin-inline: 0; font-size: 9px; letter-spacing: 1.3px; }
    .iphone-promo-art { grid-column: 1; height: 160px; margin-block: 0; }
    .iphone-promo-art img { max-height: 160px; }
    .iphone-promo-details { grid-column: 2; grid-row: 1 / 3; align-self: center; padding-top: 15px; }
    .iphone-promo-promise { font-size: 25px; }
    .iphone-promo-cta { font-size: 20px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .iphone-promo-launcher img,
    .iphone-promo-shell:not([hidden]) .iphone-promo-card,
    .iphone-promo-shell:not([hidden]) .iphone-promo-cta:not(:disabled)::after { animation: none; }
}
