*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #202124;
    --text: #e8eaed;
    --text-soft: #9aa0a6;
    --line: rgba(255, 255, 255, 0.08);
    --link: #8ab4f8;
    --link-hover: #aecbfa;
    --surface: #303134;
    --surface-hover: #3c4043;
    --dropdown-bg: rgba(48, 49, 52, 0.85);
    --dropdown-shadow: 0 4px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --avatar-size: 32px;
    --avatar-size-lg: 80px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 100px;
    --fast: 150ms ease;
    --normal: 200ms ease;
    --spring: cubic-bezier(0.16, 1, 0.3, 1);
    --apple-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg);
}

body {
    font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body.modal-open {
    overflow: hidden;
}

.hidden {
    display: none !important;
}

/* =============================================
   CURSOR GLOW (desktop only, created by JS)
   ============================================= */
.cursor-glow {
    position: fixed;
    top: -175px;
    left: -175px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 180, 248, 0.04), transparent 70%);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* =============================================
   ENTRANCE ANIMATIONS
   ============================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* === Auth loading — prevent flash === */
.auth-loading .login-btn,
.auth-loading .avatar-btn {
    opacity: 0;
    pointer-events: none;
}

.login-btn,
.avatar-btn {
    transition: opacity var(--normal);
}

/* =============================================
   HEADER
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 60px;
    animation: fadeIn 0.4s ease both;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-link {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-soft);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: background var(--fast), color var(--fast);
}

.header-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* =============================================
   LOGIN BUTTON (logged-out)
   ============================================= */
.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 22px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #202124;
    background: #8ab4f8;
    border-radius: var(--radius-pill);
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: background var(--fast), box-shadow var(--fast);
}

.login-btn:hover {
    background: #aecbfa;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
                0 2px 8px rgba(138, 180, 248, 0.25);
}

/* =============================================
   AVATAR BUTTON (logged-in)
   ============================================= */
.avatar-btn {
    position: relative;
    width: var(--avatar-size);
    height: var(--avatar-size);
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}

.avatar-btn::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: opacity var(--fast);
}

.avatar-btn:hover::before,
.avatar-btn:focus-visible::before {
    opacity: 1;
}

.avatar-btn:focus-visible {
    outline: 2px solid var(--link);
    outline-offset: 4px;
}

.avatar-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #5e35b1;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    overflow: hidden;
    user-select: none;
    line-height: 1;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* =============================================
   CENTER CONTENT
   ============================================= */
.center-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 100px;
}

.logo-area {
    margin-bottom: 44px;
    user-select: none;
    animation: fadeUp 0.6s var(--spring) 0.12s both;
}

.logo-text {
    font-size: clamp(3.2rem, 10vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--text);
}

.birthday-subtitle {
    margin-top: 14px;
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    font-weight: 500;
    color: var(--text-soft);
    text-align: center;
    animation: fadeUp 0.5s var(--spring) 0.6s both;
}

.services {
    display: flex;
    gap: 12px;
    animation: fadeUp 0.6s var(--spring) 0.3s both;
}

/* Liquid Glass service button */
.service-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 22px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    background: rgba(48, 49, 52, 0.5);
    border: none;
    border-radius: var(--radius-md);
    text-decoration: none;
    backdrop-filter: blur(40px) saturate(180%) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(180%) brightness(1.1);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.25),
        0 1px 6px rgba(0, 0, 0, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        inset 0 -0.5px 0 rgba(255, 255, 255, 0.03),
        inset 1px 0 0 rgba(255, 255, 255, 0.04),
        inset -1px 0 0 rgba(255, 255, 255, 0.04);
    transition: transform 300ms var(--apple-ease),
                background 300ms var(--apple-ease),
                box-shadow 300ms var(--apple-ease);
}

/* Top highlight line */
.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 15%,
        rgba(255, 255, 255, 0.14) 50%,
        rgba(255, 255, 255, 0.06) 85%,
        transparent 100%);
    border-radius: 1px;
    pointer-events: none;
}

.service-btn:hover {
    background: rgba(48, 49, 52, 0.35);
    transform: translateY(-1px);
    box-shadow:
        0 6px 28px rgba(0, 0, 0, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.13),
        inset 0 -0.5px 0 rgba(255, 255, 255, 0.04),
        inset 1px 0 0 rgba(255, 255, 255, 0.05),
        inset -1px 0 0 rgba(255, 255, 255, 0.05);
}

.service-btn svg {
    flex-shrink: 0;
    opacity: 0.8;
}

/* =============================================
   PROFILE DROPDOWN (Liquid Glass)
   ============================================= */
.dropdown-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 199;
}

.dropdown-backdrop.is-open {
    display: block;
}

.profile-dropdown {
    display: none;
    position: fixed;
    top: 56px;
    right: 16px;
    z-index: 200;
    width: 360px;
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    background: var(--dropdown-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--dropdown-shadow);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    transform-origin: top right;
}

.profile-dropdown.is-open {
    display: block;
    animation: dropdownIn 150ms ease forwards;
}

@keyframes dropdownIn {
    from { opacity: 0; transform: scale(0.96) translateY(-6px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.dropdown-header {
    padding: 16px 20px 4px;
    text-align: center;
}

.dropdown-email {
    font-size: 0.8rem;
    color: var(--text-soft);
    word-break: break-all;
}

.dropdown-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px 20px;
}

.dropdown-avatar {
    width: var(--avatar-size-lg);
    height: var(--avatar-size-lg);
    border-radius: 50%;
    background: #5e35b1;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 14px;
    user-select: none;
    line-height: 1;
}

.dropdown-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.dropdown-greeting {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text);
}

.manage-btn {
    display: block;
    width: fit-content;
    margin: 10px auto 18px;
    padding: 8px 22px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--link);
    background: transparent;
    border: 1px solid rgba(138, 180, 248, 0.28);
    border-radius: var(--radius-pill);
    text-decoration: none;
    text-align: center;
    transition: background var(--fast);
}

.manage-btn:hover {
    background: rgba(138, 180, 248, 0.08);
}

.dropdown-divider {
    height: 1px;
    background: var(--line);
    margin: 0 16px;
}

.dropdown-settings {
    padding: 10px 16px 0;
}

.dropdown-setting-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    color: var(--text);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: background var(--fast), border-color var(--fast), transform var(--fast);
}

.dropdown-setting-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.dropdown-setting-btn:focus-visible {
    outline: 2px solid var(--link);
    outline-offset: 2px;
}

.dropdown-setting-main,
.dropdown-setting-side {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dropdown-setting-side {
    gap: 6px;
    color: var(--text-soft);
    flex-shrink: 0;
}

.dropdown-setting-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(138, 180, 248, 0.08);
    color: #c7dafc;
    flex-shrink: 0;
}

.dropdown-setting-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dropdown-setting-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text);
}

.dropdown-setting-value {
    font-size: 0.82rem;
    color: var(--text-soft);
}

.dropdown-setting-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.signout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 32px);
    margin: 12px 16px;
    padding: 10px 16px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    transition: background var(--fast);
}

.signout-btn:hover {
    background: rgba(255, 255, 255, 0.06);
}

.signout-btn:focus-visible {
    outline: 2px solid var(--link);
    outline-offset: 2px;
}

/* Account Switcher */
.dropdown-accounts {
    padding: 4px 16px 0;
}

.dropdown-accounts-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-account-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background var(--fast);
}

.dropdown-account-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.dropdown-account-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #5e35b1;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    user-select: none;
    line-height: 1;
}

.dropdown-account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.dropdown-account-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.dropdown-account-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-account-email {
    font-size: 0.72rem;
    color: var(--text-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-add-account {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--link);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background var(--fast);
}

.dropdown-add-account:hover {
    background: rgba(138, 180, 248, 0.08);
}

.dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px 16px;
}

.dropdown-footer a {
    font-size: 0.72rem;
    color: #5f6368;
    text-decoration: none;
    transition: color var(--fast);
}

.dropdown-footer a:hover {
    color: #9aa0a6;
}

.dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #5f6368;
    flex-shrink: 0;
}

.language-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 399;
    background: rgba(0, 0, 0, 0.56);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.language-modal-backdrop.is-open {
    display: block;
}

.language-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 400;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.language-modal.is-open {
    display: flex;
}

.language-modal-card {
    width: min(520px, 100%);
    max-height: min(78dvh, 720px);
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(40, 42, 45, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(30px) saturate(1.4);
    -webkit-backdrop-filter: blur(30px) saturate(1.4);
}

.language-modal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.language-modal-icon,
.language-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.language-modal-icon {
    background: rgba(138, 180, 248, 0.08);
    color: #c7dafc;
}

.language-modal-close {
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-soft);
    cursor: pointer;
    transition: background var(--fast), color var(--fast);
}

.language-modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.language-modal-close:focus-visible {
    outline: 2px solid var(--link);
    outline-offset: 2px;
}

.language-modal-title {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.language-modal-description {
    font-size: 0.92rem;
    color: var(--text-soft);
    line-height: 1.6;
}

.language-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 18px;
    background: rgba(62, 64, 70, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.language-search:focus-within {
    border-color: rgba(138, 180, 248, 0.5);
}

.language-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    flex-shrink: 0;
}

.language-search input {
    width: 100%;
    height: 48px;
    border: none;
    background: transparent;
    color: var(--text);
    font: inherit;
    outline: none;
}

.language-search input::placeholder {
    color: #7f8489;
}

.language-option-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: background var(--fast), border-color var(--fast), transform var(--fast);
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.language-option.is-selected {
    background: rgba(75, 89, 132, 0.34);
    border-color: rgba(138, 180, 248, 0.3);
}

.language-option:focus-visible {
    outline: 2px solid var(--link);
    outline-offset: 2px;
}

.language-option-main {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.language-option-native {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.language-option-english {
    font-size: 0.82rem;
    color: var(--text-soft);
}

.language-option-check {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c7dafc;
    opacity: 0;
    transition: opacity var(--fast);
}

.language-option.is-selected .language-option-check {
    opacity: 1;
}

.language-empty {
    padding: 20px 16px;
    text-align: center;
    font-size: 0.86rem;
    color: var(--text-soft);
}

.language-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.language-modal-btn {
    min-width: 88px;
    height: 40px;
    padding: 0 18px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: background var(--fast), color var(--fast), border-color var(--fast);
}

.language-modal-btn.is-secondary {
    color: var(--text-soft);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.language-modal-btn.is-secondary:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.language-modal-btn.is-primary {
    color: #202124;
    background: #8ab4f8;
}

.language-modal-btn.is-primary:hover {
    background: #aecbfa;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background: #171717;
    border-top: 1px solid var(--line);
    animation: fadeIn 0.5s ease 0.5s both;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.footer-region {
    font-size: 0.78rem;
    color: var(--text-soft);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    font-size: 0.78rem;
    color: var(--text-soft);
    text-decoration: none;
    transition: color var(--fast);
}

.footer-links a:hover {
    color: var(--text);
}

.footer-link-btn {
    border: none;
    background: transparent;
    color: var(--text-soft);
    font: inherit;
    font-size: 0.78rem;
    cursor: pointer;
    transition: color var(--fast);
}

.footer-link-btn:hover,
.footer-link-btn:focus-visible {
    color: var(--text);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 480px) {
    .header {
        padding: 0 12px;
        height: 52px;
    }

    .header-link {
        font-size: 0.78rem;
        padding: 6px 8px;
    }

    .login-btn {
        height: 32px;
        padding: 0 16px;
        font-size: 0.8rem;
    }

    .center-content {
        padding: 52px 16px 90px;
    }

    .logo-text {
        font-size: clamp(2.6rem, 14vw, 3.8rem);
    }

    .service-btn {
        height: 38px;
        padding: 0 18px;
        font-size: 0.84rem;
    }

    /* Dropdown → bottom sheet on mobile */
    .profile-dropdown.is-open {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        max-height: 85dvh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        animation-name: sheetSlideUp;
    }

    @keyframes sheetSlideUp {
        from { opacity: 0; transform: translateY(100%); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .dropdown-backdrop {
        background: rgba(0, 0, 0, 0.45);
    }

    .language-modal {
        align-items: flex-end;
        padding: 0;
    }

    .language-modal-card {
        width: 100%;
        max-height: 86dvh;
        border-radius: 28px 28px 0 0;
        padding: 20px 18px 18px;
    }

    .language-modal-title {
        font-size: 1.45rem;
    }

    .language-modal-actions {
        justify-content: stretch;
    }

    .language-modal-btn {
        flex: 1;
    }

    .footer-inner {
        flex-direction: column;
        gap: 6px;
        padding: 12px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header, .logo-area, .services, .footer {
        animation: none;
    }

    .profile-dropdown {
        animation: none;
    }

    .cursor-glow {
        display: none;
    }
}

/* =============================================
   BIRTHDAY CONFETTI
   ============================================= */
.confetti-container {
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    top: -20px;
    opacity: 0;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0%   { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
    80%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(100vh) rotate(720deg) scale(0.4); }
}

/* =============================================
   MAINTENANCE OVERLAY (preserved as-is)
   ============================================= */
.maintenance-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px 24px;
    text-align: center;
}

.maintenance-overlay.active {
    display: flex;
}

.maintenance-inner {
    max-width: 480px;
}

.maintenance-inner svg {
    margin-bottom: 24px;
}

.maintenance-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 16px;
}

.maintenance-msg {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 32px;
}

.maintenance-copy {
    font-size: 0.8rem;
    color: #5f6368;
}
