/* ═══════════════════════════════════════════════════════════
   🌸 Pétunia — Design System
   Dark mode, glassmorphism, premium feel
   ═══════════════════════════════════════════════════════════ */

/* ─── Variables ─────────────────────────────────────────── */
:root {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-card: rgba(30, 30, 55, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --bg-input: rgba(255, 255, 255, 0.06);

    --text-primary: #e8e6f0;
    --text-secondary: #9996b0;
    --text-muted: #6b6880;

    --accent: #c77dff;
    --accent-hover: #d99eff;
    --accent-glow: rgba(199, 125, 255, 0.3);
    --accent-soft: rgba(199, 125, 255, 0.12);

    --success: #4ade80;
    --warning: #fbbf24;
    --error: #f87171;
    --info: #60a5fa;

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
}

::selection {
    background: var(--accent-soft);
    color: var(--accent);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ─── Screen System ─────────────────────────────────────── */
.screen {
    display: none;
    height: 100vh;
    width: 100vw;
}

.screen.active {
    display: flex;
    flex-direction: column;
}

/* ═══════════════════════════════════════════════════════════
   LOGIN SCREEN
   ═══════════════════════════════════════════════════════════ */

#login-screen {
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(199, 125, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(120, 100, 255, 0.06) 0%, transparent 50%),
        var(--bg-primary);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.login-logo {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px var(--accent-glow));
    animation: pulse 3s ease-in-out infinite;
}

.login-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
    margin-bottom: 0.8rem;
}

.login-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent), #7c6dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.input-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-group input[type="text"],
.input-group input[type="password"] {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: var(--font);
    transition: var(--transition);
    outline: none;
}

.input-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.checkbox-group {
    flex-direction: row;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #7c6dff);
    color: white;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px var(--accent-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.btn-download {
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: var(--radius-pill);
}

.btn-download:hover {
    background: rgba(199, 125, 255, 0.2);
}

.btn-download.owned {
    background: rgba(74, 222, 128, 0.1);
    color: var(--success);
    cursor: default;
}

.error-message {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--error);
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   APP SCREEN
   ═══════════════════════════════════════════════════════════ */

/* ─── Header ────────────────────────────────────────────── */
.app-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    z-index: 100;
    flex-shrink: 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.home-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem !important;
    border-radius: var(--radius-sm) !important;
    cursor: pointer;
}

.home-btn:hover {
    background: var(--bg-glass-hover);
}

.header-logo {
    font-size: 1.4rem;
}

.header-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 1.5px solid var(--accent);
}

.header-title {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #7c6dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-center {
    flex: 1;
    max-width: 500px;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 0 1rem;
    transition: var(--transition);
}

.search-bar:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
}

#search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-family: var(--font);
    outline: none;
}

#search-input::placeholder {
    color: var(--text-muted);
}

.search-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.2rem;
    transition: var(--transition);
}

.search-clear:hover {
    color: var(--text-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.header-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.header-btn:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
}

.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── Mobile Tabs ───────────────────────────────────────── */
.mobile-tabs {
    display: none;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 0 0.5rem;
    flex-shrink: 0;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font);
    padding: 0.7rem 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ─── Dual-Panel Layout ─────────────────────────────────── */
.app-content.dual-panel {
    flex: 1;
    display: grid;
    grid-template-columns: 380px 1fr;
    overflow: hidden;
}

.chat-sidebar {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
    background: var(--bg-secondary);
    overflow: hidden;
}

.panel-main {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease-out;
}

.panel-overlay {
    display: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease-out;
    grid-column: 2;
}

.panel-overlay.active {
    display: block;
}

.panel-main:not(.active) {
    display: none;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.suggestions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.suggestions-header .section-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.suggestions-header + .albums-grid {
    margin-top: 1rem;
}

.state-container {
    animation: fadeIn 0.3s ease-out;
}

/* ─── Welcome Hero ──────────────────────────────────────── */
.welcome-hero {
    text-align: center;
    padding: 4rem 1rem;
}

.welcome-hero h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.welcome-hero p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ─── Artists Grid ──────────────────────────────────────── */
.artists-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.artist-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.artist-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.artist-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-soft), rgba(124, 109, 255, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.artist-info {
    flex: 1;
    min-width: 0;
}

.artist-name {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.artist-arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ─── Artist Header ─────────────────────────────────────── */
.artist-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.artist-header-name {
    font-size: 1.4rem;
    font-weight: 700;
}

.artist-header-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ─── Albums Grid ───────────────────────────────────────── */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
}

.album-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: default;
}

.album-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.album-cover {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.album-cover .cover-placeholder {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
}

.album-info {
    padding: 0.8rem;
}

.album-title {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

.album-year {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.album-actions {
    display: flex;
    gap: 0.5rem;
}

/* ─── Queue & History ───────────────────────────────────── */
.queue-list, .history-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.queue-item, .history-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.queue-item-info {
    flex: 1;
    min-width: 0;
}

.queue-item-title {
    font-size: 0.9rem;
    font-weight: 500;
}

.queue-item-artist {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.queue-item-status {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

.status-pending {
    background: rgba(251, 191, 36, 0.1);
    color: var(--warning);
}

.status-downloading {
    background: rgba(96, 165, 250, 0.1);
    color: var(--info);
}

.status-complete {
    background: rgba(74, 222, 128, 0.1);
    color: var(--success);
}

.status-failed {
    background: rgba(248, 113, 113, 0.1);
    color: var(--error);
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ─── Loading Spinner ───────────────────────────────────── */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem;
    color: var(--text-secondary);
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ─── Toast Notifications ───────────────────────────────── */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1000;
    pointer-events: none;
}

.toast {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease-out;
    pointer-events: auto;
    max-width: 350px;
}

.toast.success {
    border-color: rgba(74, 222, 128, 0.3);
}

.toast.error {
    border-color: rgba(248, 113, 113, 0.3);
}

/* ═══════════════════════════════════════════════════════════
   CHAT PANEL
   ═══════════════════════════════════════════════════════════ */

.chat-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-welcome {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.chat-welcome-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    margin-bottom: 1rem;
}

.chat-welcome h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.chat-welcome p {
    font-size: 0.9rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
}

.chat-msg {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    animation: fadeInUp 0.3s ease-out;
}

.chat-msg.chat-user {
    justify-content: flex-end;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 1px solid var(--accent);
    flex-shrink: 0;
}

.chat-bubble {
    max-width: 70%;
    padding: 0.7rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
}

.chat-bot .chat-bubble {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}

.chat-user .chat-bubble {
    background: linear-gradient(135deg, var(--accent), #7c6dff);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-bubble code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-size: 0.85em;
}

.chat-typing {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
}

.chat-typing[hidden] {
    display: none !important;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.chat-form {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border);
}

#chat-input {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-family: var(--font);
    outline: none;
    transition: var(--transition);
}

#chat-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

#chat-input::placeholder {
    color: var(--text-muted);
}

.chat-form .btn {
    padding: 0.7rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 1.1rem;
    min-width: 44px;
}

/* ─── Animations ────────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { filter: drop-shadow(0 0 20px var(--accent-glow)); }
    50% { filter: drop-shadow(0 0 30px rgba(199, 125, 255, 0.5)); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .app-header {
        padding: 0.6rem 0.8rem;
    }

    .header-left .header-title {
        display: none;
    }

    .header-center {
        max-width: none;
    }

    .mobile-tabs {
        display: flex;
    }

    .header-right .header-btn:not(#btn-logout) {
        display: none;
    }

    /* Dual-panel → single column on mobile */
    .app-content.dual-panel {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .chat-sidebar {
        display: none;
        border-right: none;
        height: calc(100vh - 120px);
    }

    .chat-sidebar.mobile-active {
        display: flex;
    }

    .panel-main.mobile-hidden,
    .panel-overlay.mobile-hidden {
        display: none;
    }

    .panel-main {
        padding: 1rem;
    }

    .panel-overlay {
        grid-column: 1;
    }

    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.8rem;
    }

    .welcome-hero {
        padding: 2rem 1rem;
    }

    .toast-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .toast {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .album-info {
        padding: 0.5rem;
    }

    .album-title {
        font-size: 0.8rem;
    }
}

/* ─── PWA Standalone Mode ───────────────────────────────── */
@media (display-mode: standalone) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .app-header {
        padding-top: calc(0.75rem + env(safe-area-inset-top));
    }
}
