/* =========================================
   BASE CSS — Naomi4uWeb
   Solo lo que Tailwind no puede hacer:
   - CSS Variables (compatibilidad JS)
   - @keyframes
   - Clases manejadas por JS (.reveal, .skeleton, etc.)
   - Componentes creados por JS (chat bubbles, gallery)
   - Scrollbar personalizado
   ========================================= */

/* ── CSS Custom Properties (para inline styles del JS) ── */
:root {
    --bg-color:           #050505;
    --surface-color:      #0f0f12;
    --surface-light:      #1a1a20;
    --accent-gradient:    linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --accent-color:       #8b5cf6;
    --accent-hover:       #7c3aed;
    --text-primary:       #ffffff;
    --text-secondary:     #94a3b8;
    --text-muted:         #64748b;
    --error-color:        #ef4444;
    --success-color:      #10b981;
    --glass-bg:           rgba(15, 15, 18, 0.6);
    --glass-border:       rgba(255, 255, 255, 0.05);
    --glass-blur:         blur(12px);
    --glass-shadow:       0 20px 40px -10px rgba(0, 0, 0, 0.5);
    --radius-sm:          8px;
    --radius-md:          14px;
    --radius-lg:          24px;
    --radius-full:        9999px;
    --transition-fast:    0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base:    0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:    0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* ── Scrollbar personalizado ─────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
    transition: var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }

/* ── Keyframes ───────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
@keyframes glow {
    0%   { box-shadow: 0 0 5px rgba(139, 92, 246, 0.2); }
    50%  { box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); }
    100% { box-shadow: 0 0 5px rgba(139, 92, 246, 0.2); }
}
@keyframes loading {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
/* Chat animations */
@keyframes fabPulse {
    0%   { transform: scale(1); opacity: 0.7; }
    70%  { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(2.2); opacity: 0; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0);   opacity: 0.4; }
    30%            { transform: translateY(-6px); opacity: 1; }
}
@keyframes onlinePulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70%  { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ── Scroll Reveal (JS: añade .active) ───── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Sticky header scroll state (JS: añade .scrolled) ── */
.app-bar.scrolled {
    background-color: rgba(5, 5, 5, 0.9) !important;
    height: 64px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ── Skeleton Loader (JS: quita .skeleton) ── */
.skeleton {
    background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: loading 2s infinite ease-in-out;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

/* ── Blurred content (JS: añade/quita .blurred) ── */
.blurred {
    filter: blur(40px) brightness(0.5);
    transform: scale(1.15);
}

/* ── Botones (usados por HTML estático y JS) ── */
.btn {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    transition: var(--transition-base);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px -10px rgba(139, 92, 246, 0.5);
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(139, 92, 246, 0.6);
    filter: brightness(1.1);
}
.btn:active { transform: translateY(0); }

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(4px);
    box-shadow: none;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5);
}

/* ── Modal (JS: toggle display + .show) ── */
.modal {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-base);
}
.modal.show { opacity: 1; }

.modal-content {
    transform: scale(0.9);
    transition: transform var(--transition-base);
}
.modal.show .modal-content { transform: scale(1); }

/* Post modal layout */
#post-modal .modal-content {
    max-width: 1200px;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 90vh;
    overflow: hidden;
    background: #000;
}
@media (min-width: 992px) {
    #post-modal .modal-content { flex-direction: row; }
}
#modal-carousel-container {
    flex: 2;
    background: #000;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.modal-post-info {
    flex: 1;
    padding: 40px;
    background: var(--surface-color);
    border-left: 1px solid var(--glass-border);
    overflow-y: auto;
}
.modal-post-info h2 {
    margin-top: 0;
    font-size: 1.8rem;
    margin-bottom: 16px;
}

/* ── JS-created: Gallery Items ─────────── */
.post-grid-item {
    position: relative;
    aspect-ratio: 1 / 1.25;
    overflow: hidden;
    border-radius: var(--radius-md);
    background-color: var(--surface-color);
    cursor: pointer;
    transition: var(--transition-base);
    border: 1px solid var(--glass-border);
}
.post-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.post-grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(139, 92, 246, 0.3);
}
.post-grid-item:hover img { transform: scale(1.1); }

.post-status-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 5;
    color: #fff;
    transition: var(--transition-base);
}
.post-grid-item:hover .post-status-icon {
    background: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* ── Gallery Grid ─────────────────────── */
#content-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 768px) {
    #content-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

/* ── JS-created: Social Links ─────────── */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 1.3rem;
    text-decoration: none;
    transition: var(--transition-base);
    backdrop-filter: blur(8px);
}
.social-btn:hover {
    background: var(--accent-color);
    color: #000;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(187, 134, 252, 0.4);
    border-color: var(--accent-color);
}

/* ── JS-created: Carousel ────────────── */
.carousel-wrapper {
    width: 100%;
    height: 100%;
    overflow-x: auto;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.carousel-wrapper::-webkit-scrollbar { display: none; }

.carousel-item {
    width: 100%;
    height: 100%;
    display: inline-block;
    scroll-snap-align: start;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: var(--transition-base);
}
.carousel-nav:hover { background: var(--accent-color); color: #000; }
.carousel-nav.prev { left: 20px; }
.carousel-nav.next { right: 20px; }

.carousel-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    z-index: 15;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition-base);
    backdrop-filter: blur(4px);
}
.close-btn:hover { background: var(--accent-color); color: #000; }

/* ── JS-created: Purchase Overlay ────── */
.purchase-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20;
    text-align: center;
    padding: 40px;
}
.purchase-overlay h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.purchase-overlay p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* =========================================
   CHAT CON NAOMI
   ========================================= */

/* ── FAB (Floating Action Button) ─────── */
#chat-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    padding: 14px 22px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    box-shadow:
        0 8px 32px rgba(139, 92, 246, 0.45),
        0 2px 8px rgba(0, 0, 0, 0.3);
    transition:
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s ease,
        gap 0.3s ease;
    overflow: hidden;
}
#chat-fab .chat-fab-icon { font-size: 1.15rem; line-height: 1; flex-shrink: 0; }
#chat-fab .chat-fab-label {
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    transition: max-width 0.3s ease, opacity 0.3s ease;
}
#chat-fab .chat-fab-pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--accent-gradient);
    opacity: 0.6;
    animation: fabPulse 2.5s ease-out infinite;
    pointer-events: none;
}
#chat-fab:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 16px 48px rgba(139, 92, 246, 0.55),
        0 4px 12px rgba(0, 0, 0, 0.4);
}
#chat-fab:active { transform: scale(0.97); }
#chat-fab.active {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0.8) translateY(20px) !important;
}

@media (max-width: 480px) {
    #chat-fab {
        bottom: 20px;
        right: 20px;
        padding: 16px;
        border-radius: 50%;
        width: 58px;
        height: 58px;
        justify-content: center;
    }
    #chat-fab .chat-fab-label { display: none; }
}

/* ── Chat Panel (JS: añade .open) ─────── */
#chat-panel {
    position: fixed;
    bottom: 110px;
    right: 28px;
    z-index: 1499;
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 560px;
    max-height: calc(100dvh - 140px);
    display: flex;
    flex-direction: column;
    background: var(--surface-color);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 60px rgba(139, 92, 246, 0.08);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    pointer-events: none;
    transition:
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#chat-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}
@media (max-width: 480px) {
    #chat-panel {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: 92dvh;
        max-height: 92dvh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        border-bottom: none;
    }
    .chat-input {
        font-size: 16px !important;
    }
    .chat-footer {
        padding-bottom: calc(16px + env(safe-area-inset-bottom)) !important;
    }
}

/* ── Chat Header ─────────────────────── */
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.15) 0%,
        rgba(168, 85, 247, 0.1) 100%);
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-header-avatar { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.chat-header-avatar img,
.chat-header-avatar-fallback {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(139, 92, 246, 0.4);
}
.chat-header-avatar-fallback {
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
}
.chat-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    background: var(--success-color);
    border-radius: 50%;
    border: 2px solid var(--surface-color);
    animation: onlinePulse 2s ease infinite;
}
.chat-header-name { margin: 0; font-size: 1rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.chat-header-status { margin: 0; font-size: 0.75rem; color: var(--success-color); font-weight: 500; }
.chat-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-fast);
    flex-shrink: 0;
}
.chat-close-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 10px; }
.chat-messages::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }

/* ── Chat Bubbles (JS-created) ───────── */
.chat-bubble-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: 88%;
}
.chat-bubble-wrapper.from-user { align-self: flex-end; flex-direction: row-reverse; }
.chat-bubble-wrapper.from-naomi { align-self: flex-start; }

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }

.chat-bubble {
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 0.92rem;
    line-height: 1.5;
    word-break: break-word;
    position: relative;
}
.from-user .chat-bubble {
    background: var(--accent-gradient);
    color: #fff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}
.from-naomi .chat-bubble {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    backdrop-filter: blur(8px);
}
.chat-text { margin: 0 0 4px; }
.chat-time { display: block; font-size: 0.68rem; opacity: 0.5; text-align: right; margin-top: 2px; }
.from-naomi .chat-time { text-align: left; }

/* ── Typing Indicator (JS-created) ───── */
.typing-bubble { display: flex; align-items: center; gap: 8px; padding: 12px 16px; min-width: 90px; }
.typing-label { font-size: 0.78rem; color: var(--text-muted); font-style: italic; }
.typing-dots { display: flex; gap: 4px; align-items: center; }
.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    animation: typingDot 1.2s ease infinite;
}
.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

/* ── Chat Footer ─────────────────────── */
.chat-footer {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--glass-border);
    background: rgba(5, 5, 5, 0.4);
    flex-shrink: 0;
}
.chat-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.chat-input-wrapper:focus-within {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.chat-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    line-height: 1.5;
    resize: none;
    outline: none;
    max-height: 120px;
    min-height: 24px;
    padding: 0;
    margin: 0;
    overflow-y: hidden;
    -webkit-appearance: none;
}
.chat-input::placeholder { color: var(--text-muted); }
.chat-input::-webkit-scrollbar { width: 3px; }
.chat-input::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }

.chat-send-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--accent-gradient);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
.chat-send-btn:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45); }
.chat-send-btn:active { transform: scale(0.95); }
.chat-send-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.chat-footer-note { margin: 8px 0 0; font-size: 0.68rem; color: var(--text-muted); text-align: center; opacity: 0.7; }

/* =========================================
   RESPONSIVE (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    .modal-content {
        padding: 32px 24px !important;
        border-radius: var(--radius-md);
        overflow: visible !important;
    }
    #post-modal .modal-content {
        height: 100%;
        max-height: 100svh;
        border-radius: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    #modal-carousel-container {
        overflow: visible !important;
        flex: none;
        height: auto;
        min-height: 300px;
    }
    .modal-post-info { padding: 24px; flex: none; }
    .purchase-overlay {
        position: absolute;
        inset: 0;
        z-index: 100;
        padding: 80px 20px 40px;
        overflow-y: auto;
        justify-content: flex-start;
        align-items: center;
        background: rgba(0, 0, 0, 0.95);
        -webkit-overflow-scrolling: touch;
    }
    .purchase-overlay h3 { font-size: 1.6rem; }
    .purchase-overlay p  { font-size: 0.95rem; margin-bottom: 24px; }
    .close-btn { top: 15px; right: 15px; width: 36px; height: 36px; font-size: 18px; z-index: 200; }
}

/* ── iPhone Safe Areas ────────────────── */
@supports (padding: env(safe-area-inset-bottom)) {
    #post-modal .modal-content {
        padding-bottom: env(safe-area-inset-bottom);
    }
    .modal-post-info {
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }
}
