html[data-ui-mode="mobile"] body {
    letter-spacing: 0;
    line-height: 1.6;
}

html[data-ui-mode="mobile"] main > section:not(#hero) {
    padding-top: clamp(42px, 10.8vw, 54px);
    padding-bottom: clamp(38px, 9.8vw, 48px);
}

html[data-ui-mode="mobile"] .container {
    padding-left: var(--layout-inline-padding);
    padding-right: var(--layout-inline-padding);
}

html[data-ui-mode="mobile"] .section-title {
    max-width: min(16ch, 100%);
    margin-inline: auto;
    text-wrap: pretty;
    line-height: 1.06;
}

html[data-ui-mode="mobile"] .section-subtitle {
    max-width: min(36ch, 100%);
    font-size: clamp(0.94rem, 3.5vw, 1.02rem);
    line-height: 1.62;
    text-wrap: pretty;
}

html[data-ui-mode="mobile"] #hero .hero-gold-subtitle {
    max-width: fit-content;
    margin-inline: 0;
    color: rgba(248, 244, 236, 0.98);
    letter-spacing: 0.1em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.62), 0 4px 10px rgba(0, 0, 0, 0.34), 0 0 1px rgba(0, 0, 0, 0.8);
    -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.62);
}

html[data-ui-mode="mobile"] #hero .hero-main-title {
    max-width: min(12ch, 100%);
    background: none;
    color: rgba(248, 244, 236, 0.99);
    -webkit-text-fill-color: rgba(248, 244, 236, 0.99);
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-stroke: 0.7px rgba(0, 0, 0, 0.76);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.68), 0 5px 14px rgba(0, 0, 0, 0.44), 0 0 1px rgba(0, 0, 0, 0.86);
    animation: slideUpHero 0.7s forwards 0.25s;
}

html[data-ui-mode="mobile"] #hero .hero-desc-text {
    max-width: min(30ch, 100%);
    font-size: clamp(0.94rem, 3.55vw, 1.04rem);
    color: rgba(255, 255, 255, 0.995);
    line-height: 1.42;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.56), 0 3px 9px rgba(0, 0, 0, 0.32);
    -webkit-text-stroke: 0;
}

html[data-ui-mode="mobile"] #hero .hero-footer-text {
    max-width: min(36ch, 100%);
    font-size: clamp(1.02rem, 3.9vw, 1.14rem);
    color: rgba(255, 255, 255, 0.995);
    line-height: 1.52;
    font-weight: 600;
    display: block;
    padding: 0;
    border-radius: 0;
    background: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.56), 0 3px 9px rgba(0, 0, 0, 0.32);
    -webkit-text-stroke: 0;
}

html[data-ui-mode="mobile"] #hero .hero-desc-line {
    display: inline;
    white-space: normal;
}

html[data-ui-mode="mobile"] #hero .hero-desc-line + .hero-desc-line::before {
    content: ' ';
}

html[data-ui-mode="mobile"] #hero .mobile-break {
    display: block;
}

html[data-ui-mode="mobile"] #hero .hero-content {
    max-width: 100%;
    position: relative;
    z-index: 1;
}

/* Локальне затемнення зони тексту без квадратних плашок */
html[data-ui-mode="mobile"] #hero .hero-content::before {
    content: '';
    position: absolute;
    left: -28px;
    top: -34px;
    width: min(124vw, 720px);
    height: min(64vh, 440px);
    background:
        radial-gradient(ellipse at 24% 42%, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.24) 48%, rgba(0, 0, 0, 0.08) 72%, transparent 100%),
        radial-gradient(ellipse at 34% 65%, rgba(0, 0, 0, 0.24) 0%, transparent 72%);
    filter: blur(10px);
    pointer-events: none;
    z-index: -1;
    border-radius: 50%;
}

html[data-ui-mode="mobile"] #hero .hero-desc-text,
html[data-ui-mode="mobile"] #hero .hero-footer-text,
html[data-ui-mode="mobile"] .story-text,
html[data-ui-mode="mobile"] .modal-bio-text,
html[data-ui-mode="mobile"] .event-modal-text,
html[data-ui-mode="mobile"] .contact-value,
html[data-ui-mode="mobile"] .stat-label,
html[data-ui-mode="mobile"] #activities .activity-card p,
html[data-ui-mode="mobile"] #events .event-card p,
html[data-ui-mode="mobile"] #team .team-role,
html[data-ui-mode="mobile"] #founders .founder-role {
    text-wrap: pretty;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

html[data-ui-mode="mobile"] p,
html[data-ui-mode="mobile"] li,
html[data-ui-mode="mobile"] .section-subtitle,
html[data-ui-mode="mobile"] .story-text,
html[data-ui-mode="mobile"] .modal-bio-text,
html[data-ui-mode="mobile"] .event-modal-text,
html[data-ui-mode="mobile"] #activities .activity-card p,
html[data-ui-mode="mobile"] #events .event-card p,
html[data-ui-mode="mobile"] #team .team-role,
html[data-ui-mode="mobile"] #founders .founder-role {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

html[data-ui-mode="mobile"] .modal-overlay {
    align-items: center;
    justify-content: center;
    padding: max(10px, env(safe-area-inset-top)) 6px max(10px, env(safe-area-inset-bottom));
}

html[data-ui-mode="mobile"] .modal-overlay .modal-content {
    width: min(100%, var(--modal-max-width));
    max-height: calc(100dvh - 20px);
    max-height: calc(100svh - 20px);
    border-radius: 24px;
    border-width: 1px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(252, 246, 186, 0.05) inset;
}

html[data-ui-mode="mobile"] .modal-overlay .modal-scrollable-area {
    padding: 2px 2px 4px;
}

html[data-ui-mode="mobile"] .modal-overlay .modal-scrollable-area.is-text-heavy-scroll::before,
html[data-ui-mode="mobile"] .modal-overlay .modal-scrollable-area.is-text-heavy-scroll::after {
    height: 18px;
}

html[data-ui-mode="mobile"] .modal-overlay .modal-scrollable-area.is-text-heavy-scroll::before {
    margin-bottom: -18px;
}

html[data-ui-mode="mobile"] .modal-overlay .modal-scrollable-area.is-text-heavy-scroll::after {
    margin-top: -18px;
}

html[data-ui-mode="mobile"] .modal-overlay .modal-content .modal-scroll-cue {
    min-width: 98px;
    height: 30px;
    bottom: 14px;
    font-size: 0.72rem;
    padding: 0 10px;
    gap: 6px;
}

html[data-ui-mode="mobile"] .modal-overlay .modal-close {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
}

html[data-ui-mode="mobile"] .modal-title,
html[data-ui-mode="mobile"] .activity-detail-title,
html[data-ui-mode="mobile"] #event-modal-data h3,
html[data-ui-mode="mobile"] #team-modal-data h3,
html[data-ui-mode="mobile"] #partner-card-modal-data .partner-modal-name {
    line-height: 1.24;
    letter-spacing: 0.01em;
    text-wrap: pretty;
}

html[data-ui-mode="mobile"] .modal-role-line {
    line-height: 1.34;
    letter-spacing: 0.02em;
}

html[data-ui-mode="mobile"] .modal-overlay .modal-form .btn-send-story {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    font-size: 0.86rem;
}
html[data-ui-mode="mobile"] #site-header .nav-link {
    text-wrap: balance;
}


html[data-ui-mode="mobile"] .modal-bio-text,
html[data-ui-mode="mobile"] .event-modal-text,
html[data-ui-mode="mobile"] #activity-modal .activity-detail-text {
    font-size: clamp(0.96rem, 4.2vw, 1.04rem);
    line-height: 1.62;
    color: rgba(244, 241, 234, 0.84);
    letter-spacing: 0.001em;
    max-width: 100%;
    margin-inline: auto;
    text-wrap: normal;
    overflow-wrap: normal;
    word-break: normal;
}

html[data-ui-mode="mobile"] .modal-bio-text p,
html[data-ui-mode="mobile"] .event-modal-text p,
html[data-ui-mode="mobile"] #activity-modal .activity-detail-text p {
    margin: 0 0 10px;
}

html[data-ui-mode="mobile"] .modal-bio-text p:last-child,
html[data-ui-mode="mobile"] .event-modal-text p:last-child,
html[data-ui-mode="mobile"] #activity-modal .activity-detail-text p:last-child {
    margin-bottom: 0;
}

html[data-ui-mode="mobile"] .event-modal-text p.modal-text-heading,
html[data-ui-mode="mobile"] #activity-modal .activity-detail-text p.modal-text-heading,
html[data-ui-mode="mobile"] .modal-bio-text p.modal-text-heading {
    font-size: clamp(1.02rem, 4.8vw, 1.14rem);
    margin-top: 12px;
    margin-bottom: 7px;
}

html[data-ui-mode="mobile"] .event-modal-text p.modal-text-label,
html[data-ui-mode="mobile"] #activity-modal .activity-detail-text p.modal-text-label,
html[data-ui-mode="mobile"] .modal-bio-text p.modal-text-label {
    margin-top: 6px;
    margin-bottom: 7px;
}
html[data-ui-mode="mobile"] #site-header .header-nav {
    width: min(84vw, 360px);
}

html[data-ui-mode="mobile"] #site-header .logo-text {
    white-space: normal;
    text-wrap: balance;
}


html[data-ui-mode="mobile"] .modal-overlay .modal-form .btn-send-story,
html[data-ui-mode="mobile"] #event-modal-data .btn-modal-open-gal,
html[data-ui-mode="mobile"] #activity-modal .btn-modal-open-gal {
    min-height: 50px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}
html[data-ui-mode="mobile"] #activities .activities-header,
html[data-ui-mode="mobile"] #stories .stories-header,
html[data-ui-mode="mobile"] #team .team-header,
html[data-ui-mode="mobile"] #events .events-header-box,
html[data-ui-mode="mobile"] #founders .founders-header {
    margin-bottom: 26px;
}

html[data-ui-mode="mobile"] #stats .stats-header-main {
    margin-bottom: 22px;
}

html[data-ui-mode="mobile"] #stats .stats-dashboard {
    border-radius: 16px;
    padding: 14px 10px;
}

html[data-ui-mode="mobile"] #stats .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}

html[data-ui-mode="mobile"] #stats .stat-item {
    padding: 10px 6px 14px;
    min-height: 0;
    border-bottom: 1px solid rgba(179, 135, 40, 0.12);
}

html[data-ui-mode="mobile"] #stats .stat-item:last-child {
    border-bottom: none;
}

html[data-ui-mode="mobile"] #stats .stat-number {
    font-size: clamp(1.9rem, 8.2vw, 2.5rem);
    margin-bottom: 8px;
}

html[data-ui-mode="mobile"] #stats .stat-label {
    max-width: min(100%, 28ch);
    margin-inline: auto;
    line-height: 1.42;
    font-size: clamp(0.8rem, 3.7vw, 0.92rem);
    letter-spacing: 0.018em;
}

html[data-ui-mode="mobile"] #stats .stats-caption {
    display: block;
    width: 100%;
    max-width: min(34ch, 100%);
    margin: 16px auto 0;
    text-align: center;
    font-family: var(--font-family-ui);
    font-size: 0.72rem;
    letter-spacing: 0.085em;
    text-transform: uppercase;
    color: rgba(244, 241, 234, 0.42);
    line-height: 1.34;
}

html[data-ui-mode="mobile"] #activities .activities-grid,
html[data-ui-mode="mobile"] #stories .stories-container,
html[data-ui-mode="mobile"] #events .events-grid {
    gap: 16px;
}

html[data-ui-mode="mobile"] #events .events-grid {
    padding-left: 8px;
    padding-right: 8px;
}

html[data-ui-mode="mobile"] #activities .activity-card,
html[data-ui-mode="mobile"] #events .event-card {
    border-radius: 18px;
}

html[data-ui-mode="mobile"] #activities .activity-card {
    padding: 22px 16px;
}

html[data-ui-mode="mobile"] #activities .activity-card h3,
html[data-ui-mode="mobile"] #events .event-card h3,
html[data-ui-mode="mobile"] #team .team-name,
html[data-ui-mode="mobile"] #founders .founder-name {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: pretty;
}

html[data-ui-mode="mobile"] #activities .activity-card h3,
html[data-ui-mode="mobile"] #activities .activity-card p,
html[data-ui-mode="mobile"] #team .team-name,
html[data-ui-mode="mobile"] #team .team-role,
html[data-ui-mode="mobile"] #founders .founder-name,
html[data-ui-mode="mobile"] #founders .founder-role {
    width: 100%;
    max-inline-size: none;
}

html[data-ui-mode="mobile"] #activities .activity-card h3 {
    line-height: 1.18;
}

html[data-ui-mode="mobile"] #activities .activity-card p {
    line-height: 1.68;
}

html[data-ui-mode="mobile"] #events .events-main-title {
    max-width: min(15ch, 100%);
    margin-inline: auto;
}

html[data-ui-mode="mobile"] #activities .activities-title,
html[data-ui-mode="mobile"] #stories .stories-title,
html[data-ui-mode="mobile"] #team .team-title,
html[data-ui-mode="mobile"] #founders .founders-title {
    max-width: min(16ch, 100%);
    margin-inline: auto;
}

html[data-ui-mode="mobile"] #events .event-card h3 {
    width: 100%;
    max-inline-size: none;
    margin-inline: auto;
    font-size: clamp(1.14rem, 4.9vw, 1.34rem);
    line-height: 1.18;
    text-wrap: pretty;
}

html[data-ui-mode="mobile"] #events .event-card h3.event-title--date-range {
    max-inline-size: none;
    font-size: clamp(1rem, 4.9vw, 1.18rem);
}

html[data-ui-mode="mobile"] #events .event-card p {
    width: 100%;
    max-inline-size: none;
    margin-inline: auto;
    line-height: 1.58;
    text-wrap: pretty;
}

html[data-ui-mode="mobile"] #activities .activity-card-more {
    margin-top: 14px;
    padding-top: 12px;
    font-size: 0.8rem;
}

html[data-ui-mode="mobile"] #stories .story-bubble {
    width: 100%;
    padding: 0;
    border-radius: 0;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(179, 135, 40, 0.14);
}

html[data-ui-mode="mobile"] #stories .story-bubble:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

html[data-ui-mode="mobile"] #stories .story-text {
    font-size: clamp(1.35rem, 7.4vw, 1.7rem);
    line-height: 1.42;
    max-width: min(25ch, 100%);
    margin-inline: auto;
    text-align: left;
    text-wrap: pretty;
}

html[data-ui-mode="mobile"] #stories .story-author {
    font-size: clamp(1.08rem, 5.2vw, 1.26rem);
    color: rgba(252, 246, 186, 0.9);
}

html[data-ui-mode="mobile"] #stories .story-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 8px;
}

html[data-ui-mode="mobile"] #stories .story-footer::before {
    content: '';
    width: 22px;
    height: 1px;
    background: rgba(179, 135, 40, 0.5);
    flex: 0 0 auto;
}

html[data-ui-mode="mobile"] #stories .stories-action-area {
    gap: 12px;
    margin-top: 28px;
    max-width: min(100%, 320px);
    margin-inline: auto;
}

html[data-ui-mode="mobile"] #stories .btn-primary-gold,
html[data-ui-mode="mobile"] #stories .btn-archive,
html[data-ui-mode="mobile"] #activities .consult-banner {
    width: 100%;
    max-width: none;
}

html[data-ui-mode="mobile"] #activities .consult-banner {
    margin-top: 26px;
    padding: 14px 16px;
    gap: 10px;
}

html[data-ui-mode="mobile"] #events .event-card {
    padding: 14px 10px 14px;
    gap: 8px;
    align-items: stretch;
    border-radius: 14px;
}

html[data-ui-mode="mobile"] #events .event-card-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center 42%;
    border-radius: 10px;
}

html[data-ui-mode="mobile"] #events .event-date-tag {
    margin-top: 2px;
    font-size: 0.76rem;
    line-height: 1.24;
}

html[data-ui-mode="mobile"] #events .event-card h3 {
    font-size: clamp(1.08rem, 4.6vw, 1.28rem);
    line-height: 1.14;
    letter-spacing: 0.005em;
}

html[data-ui-mode="mobile"] #events .event-card p {
    font-size: 0.92rem;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html[data-ui-mode="mobile"] #events .archive-list-link {
    min-height: 62px;
}

html[data-ui-mode="mobile"] #team .team-grid,
html[data-ui-mode="mobile"] #founders .founders-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

html[data-ui-mode="mobile"] #team .team-card {
    max-width: min(100%, 320px);
    margin-inline: auto;
}

html[data-ui-mode="mobile"] #team .team-photo-wrap {
    width: 168px;
    height: 168px;
    margin-bottom: 16px;
}

html[data-ui-mode="mobile"] #founders .founders-grid {
    max-width: min(100%, 560px);
    margin-inline: auto;
    gap: 12px;
}

html[data-ui-mode="mobile"] #founders .founder-card {
    width: 100%;
    max-width: none;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(179, 135, 40, 0.18);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    display: grid;
    grid-template-columns: 102px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
    text-align: left;
}

html[data-ui-mode="mobile"] #founders .founder-photo-wrap {
    width: 102px;
    height: 126px;
    max-width: 102px;
    margin: 0;
    border-radius: 10px;
    border: 1px solid rgba(179, 135, 40, 0.28);
    overflow: hidden;
    grid-column: 1;
    grid-row: 1 / 4;
}

html[data-ui-mode="mobile"] #founders .founder-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(0.08);
}

html[data-ui-mode="mobile"] #founders .founder-name {
    grid-column: 2;
    font-size: 0.98rem;
    line-height: 1.22;
    margin: 0;
    text-align: left;
}

html[data-ui-mode="mobile"] #founders .founder-role {
    grid-column: 2;
    font-size: 0.74rem;
    letter-spacing: 0.045em;
    line-height: 1.32;
    margin: 0;
    text-align: left;
}

html[data-ui-mode="mobile"] #founders .founder-principle {
    grid-column: 2;
    margin: 2px 0 0;
    font-size: 0.77rem;
    line-height: 1.34;
    color: rgba(244, 241, 234, 0.58);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-align: left;
}

html[data-ui-mode="mobile"] #site-footer.site-footer {
    padding-top: 56px;
    padding-bottom: 72px;
}

html[data-ui-mode="mobile"] #site-footer .footer-wrapper {
    gap: 18px;
    margin-bottom: 26px;
}

html[data-ui-mode="mobile"] #site-footer .footer-col {
    padding: 18px 14px;
    background: linear-gradient(180deg, rgba(24, 29, 22, 0.64), rgba(17, 21, 16, 0.64));
    border: 1px solid rgba(179, 135, 40, 0.12);
    border-radius: 16px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(252, 246, 186, 0.03);
}

html[data-ui-mode="mobile"] #site-footer .footer-col-title {
    margin-bottom: 14px;
    font-size: clamp(1.42rem, 6.3vw, 1.66rem);
    line-height: 1.03;
    letter-spacing: 0.035em;
}

html[data-ui-mode="mobile"] #site-footer .footer-col-title::after {
    width: 32px;
    margin-top: 10px;
}

html[data-ui-mode="mobile"] #site-footer .contact-cards {
    gap: 10px;
}

html[data-ui-mode="mobile"] #site-footer .contact-card {
    padding-bottom: 10px;
    gap: 5px;
    border-bottom-color: rgba(179, 135, 40, 0.14);
}

html[data-ui-mode="mobile"] #site-footer .contact-label {
    font-size: 0.74rem;
    letter-spacing: 0.075em;
}

html[data-ui-mode="mobile"] #site-footer .contact-value {
    font-size: clamp(1.03rem, 4.4vw, 1.13rem);
    line-height: 1.42;
}

html[data-ui-mode="mobile"] #site-footer .footer-socials {
    margin-top: 14px;
    gap: 10px;
}

html[data-ui-mode="mobile"] #site-footer .social-icon {
    width: 38px;
    height: 38px;
}

html[data-ui-mode="mobile"] #site-footer .footer-links {
    gap: 8px;
}

html[data-ui-mode="mobile"] #site-footer .footer-links a {
    min-height: 46px;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid rgba(179, 135, 40, 0.1);
    background: rgba(255, 255, 255, 0.008);
    font-size: clamp(1.04rem, 4.2vw, 1.14rem);
}

html[data-ui-mode="mobile"] #site-footer .footer-cta-copy {
    font-size: clamp(1rem, 4vw, 1.08rem);
    line-height: 1.5;
    color: rgba(244, 241, 234, 0.74);
}

html[data-ui-mode="mobile"] #site-footer .footer-contact-cta {
    gap: 14px;
}

html[data-ui-mode="mobile"] #site-footer .btn-footer-send {
    min-height: 52px;
}

html[data-ui-mode="mobile"] #site-footer .footer-qr-trigger {
    align-self: center;
}

html[data-ui-mode="mobile"] #site-footer .footer-qr-image {
    width: min(58vw, 228px);
    border-color: rgba(179, 135, 40, 0.34);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

html[data-ui-mode="mobile"] #site-footer .footer-bottom {
    margin-top: 4px;
    padding-top: 14px;
}

html[data-ui-mode="mobile"] #site-footer .copyright-text {
    letter-spacing: 0.06em;
    line-height: 1.44;
    text-wrap: pretty;
    font-size: 0.76rem;
}

html[data-ui-mode="mobile"] .global-ticker {
    height: 30px;
    font-size: 13px;
    padding-right: 44px;
}

html[data-ui-mode="mobile"] #toast-container {
    left: 12px;
    right: 12px;
    bottom: 72px;
}

html[data-ui-mode="mobile"] #toast-container .toast-item {
    padding: 12px 14px;
    font-size: 0.9rem;
}

html[data-ui-mode="mobile"] #gallery-modal .gal-count-tag {
    min-width: 84px;
    text-align: center;
}

@media (max-width: 380px) {
    html[data-ui-mode="mobile"] .section-title {
        max-width: min(15ch, 100%);
    }

    html[data-ui-mode="mobile"] #team .team-photo-wrap,
    html[data-ui-mode="mobile"] #founders .founder-photo-wrap {
        width: 156px;
        height: 156px;
    }

    html[data-ui-mode="mobile"] #founders .founder-photo-wrap {
        width: 100%;
        height: auto;
    }

    html[data-ui-mode="mobile"] .modal-overlay {
        padding-left: 8px;
        padding-right: 8px;
    }
}