/* Funnel paywall design, isolated to blocking Premium dialogs. */
.app-modal--premium-funnel {
    background: #42bdea url('/assets/img/bg-luveng-pattern.jpg') repeat;
    background-attachment: fixed;
    background-position: center top;
    background-size: 520px auto;
    padding: 8px;
}

.app-modal--premium-funnel .app-modal__overlay {
    display: none;
}

.app-modal--screen.app-modal--premium-funnel .app-modal__box {
    background: rgb(220 244 255 / 94%);
    border: 1px solid rgb(255 255 255 / 72%);
    border-radius: 10px;
    box-shadow: 0 0 22px rgb(0 54 93 / 18%);
    gap: 0;
    height: calc(100vh - 16px);
    height: calc(100svh - 16px);
    max-height: calc(100vh - 16px);
    max-height: calc(100svh - 16px);
    min-height: calc(100vh - 16px);
    min-height: calc(100svh - 16px);
    overflow: hidden;
    padding: 0;
}

.premium-access-funnel,
.premium-access-funnel * {
    box-sizing: border-box;
}

.premium-access-funnel {
    color: #111;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    width: 100%;
}

.premium-access-funnel__toolbar {
    align-items: center;
    background: linear-gradient(90deg, #f3fbff 0%, #6fd0fc 100%);
    border-bottom: 1px solid #c5dfff;
    display: grid;
    flex: 0 0 64px;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 42px;
    height: 64px;
    padding: 7px 9px;
}

.premium-access-funnel__brand {
    align-items: center;
    display: inline-flex;
    height: 47px;
    justify-content: center;
    justify-self: start;
    width: 47px;
}

.premium-access-funnel__brand img {
    display: block;
    height: 47px;
    object-fit: contain;
    width: 47px;
}

.premium-access-funnel__back {
    -webkit-tap-highlight-color: transparent;
    align-items: center;
    background: rgb(255 255 255 / 58%);
    border: 2px solid rgb(255 255 255 / 82%);
    border-radius: 8px;
    color: #174ea6;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    transition: filter 0.1s ease, transform 0.1s ease;
    width: 40px;
}

.premium-access-funnel__back img {
    display: block;
    height: 25px;
    width: 25px;
}

.premium-access-funnel__back:active {
    filter: brightness(0.96);
    transform: translateY(1px) scale(0.97);
}

.premium-access-funnel__progress {
    background: #fff4c9;
    border-bottom: 1px solid #fde48d;
    flex: 0 0 10px;
    height: 10px;
    overflow: hidden;
}

.premium-access-funnel__progress span {
    background: #20c91c;
    display: block;
    height: 100%;
    width: 100%;
}

.premium-access-funnel__card {
    background: rgb(220 244 255 / 88%);
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 12px;
}

.premium-access-funnel__main {
    align-items: flex-start;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    justify-content: flex-start;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 4px;
    width: 100%;
}

.premium-access-funnel__heading {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: center;
    width: 100%;
}

.premium-access-funnel__heading h1 {
    color: #174ea6;
    font-size: clamp(22px, 6vw, 31px);
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    text-align: center;
    width: 100%;
}

.premium-access-funnel__heading p {
    color: #009688;
    font-size: clamp(13px, 3.8vw, 16px);
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
}

.premium-access-funnel__plans {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.premium-access-plan {
    -webkit-tap-highlight-color: transparent;
    align-items: center;
    background: rgb(255 255 255 / 78%);
    border: 2px solid rgb(203 212 220 / 86%);
    border-radius: 15px;
    color: #111;
    cursor: pointer;
    display: grid;
    font: inherit;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 104px;
    overflow: hidden;
    padding: 14px;
    position: relative;
    text-align: left;
    transition: border-color 0.08s ease, transform 0.08s ease, filter 0.08s ease;
    width: 100%;
}

.premium-access-plan:active {
    filter: brightness(0.98);
    transform: translateY(1px) scale(0.99);
}

.premium-access-plan--selected {
    background: #f0faff;
    border-color: #1198ec;
    box-shadow: 0 0 0 2px rgb(17 152 236 / 18%), 0 6px 14px rgb(24 116 169 / 13%);
}

.premium-access-plan--best {
    padding-top: 36px;
}

.premium-access-plan__best {
    align-items: center;
    background: #aab7c2;
    color: #fff;
    display: flex;
    font-size: 13px;
    font-weight: 900;
    height: 26px;
    justify-content: center;
    left: 0;
    letter-spacing: 0.3px;
    line-height: 1;
    position: absolute;
    right: 0;
    text-transform: uppercase;
    top: 0;
}

.premium-access-plan--best.premium-access-plan--selected .premium-access-plan__best {
    background: #1198ec;
}

.premium-access-plan__left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.premium-access-plan__left b {
    color: #111;
    font-size: clamp(15px, 4.3vw, 19px);
    font-weight: 900;
    line-height: 1.05;
}

.premium-access-plan__left small {
    align-self: flex-start;
    color: #009688;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.premium-access-plan__left > span {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.premium-access-plan__left s {
    color: #8b95a4;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration-color: tomato;
    text-decoration-thickness: 2px;
}

.premium-access-plan__left strong {
    color: #111;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.premium-access-plan__right {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
    min-width: 122px;
}

.premium-access-plan__right strong {
    color: #000;
    font-family: "Nunito", Arial, sans-serif;
    font-size: clamp(29px, 8vw, 40px);
    font-weight: 900;
    line-height: 1;
}

.premium-access-plan__right small {
    color: #647089;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
}

.premium-access-funnel__form {
    width: 100%;
}

.premium-access-funnel__submit {
    -webkit-tap-highlight-color: transparent;
    align-items: center;
    background: #1198ec;
    border: 2px solid #fff;
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 32%);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    justify-content: center;
    letter-spacing: 1px;
    min-height: 53px;
    padding: 11px 16px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

.premium-access-funnel__submit:disabled,
.premium-access-plan:disabled {
    cursor: default;
    opacity: 0.68;
}

.premium-access-funnel__secure {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.premium-access-funnel__secure p {
    color: #7c8497;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    text-align: center;
}

.premium-access-funnel__secure > b {
    color: #1198ec;
    font-size: clamp(18px, 5vw, 24px);
    font-weight: 900;
    line-height: 1;
}

.premium-access-funnel__secure > span {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-inline: auto;
    width: 90%;
}

.premium-access-payment {
    align-items: center;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgb(34 111 151 / 7%);
    display: flex;
    font-style: normal;
    justify-content: center;
    min-height: 41px;
    padding: 4px 6px;
}

.premium-access-payment img {
    display: block;
    height: auto;
    max-height: 34px;
    max-width: 68px;
    object-fit: contain;
    width: auto;
}

.premium-access-payment--paypal img { height: 16px; }
.premium-access-payment--apple img,
.premium-access-payment--google img { height: 18px; }
.premium-access-payment--visa img { height: 14px; }
.premium-access-payment--mastercard img { height: 26px; }

.premium-access-payment--amex span {
    color: #236fc2;
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
    line-height: 0.92;
    text-align: center;
}

.premium-access-funnel__guarantee {
    align-items: center;
    background: rgb(255 255 255 / 62%);
    border-radius: 16px;
    display: grid;
    gap: 12px;
    grid-template-columns: 92px minmax(0, 1fr);
    margin-top: 8px;
    padding: 10px;
    width: 100%;
}

.premium-access-funnel__guarantee > strong {
    align-items: center;
    background: #ffcb05;
    border-radius: 5px 5px 35px 35px;
    color: #111;
    display: flex;
    font-family: "Nunito", Arial, sans-serif;
    font-size: clamp(20px, 6vw, 29px);
    font-weight: 900;
    justify-content: center;
    line-height: 1.05;
    min-height: 110px;
    padding: 8px;
    text-align: center;
}

.premium-access-funnel__guarantee > span {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.premium-access-funnel__guarantee b {
    color: #111;
    font-size: clamp(17px, 4.8vw, 23px);
    font-weight: 900;
    line-height: 1.12;
}

.premium-access-funnel__guarantee small {
    color: #7c8497;
    font-size: clamp(12px, 3.6vw, 15px);
    font-weight: 700;
    line-height: 1.22;
}

.premium-access-funnel :focus-visible {
    outline: 3px solid rgb(23 78 166 / 24%);
    outline-offset: 2px;
}

@media (max-width: 360px) {
    .premium-access-funnel__toolbar { padding-inline: 9px; }
    .premium-access-funnel__card { padding: 10px; }
    .premium-access-plan { gap: 7px; padding-inline: 11px; }
    .premium-access-plan--best { padding-top: 36px; }
    .premium-access-plan__right { min-width: 105px; }
    .premium-access-plan__right strong { font-size: 29px; }
    .premium-access-plan__right small { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .premium-access-funnel * { transition: none !important; }
}
