.bottom-nav {
    height: 56px;
    border-top: 1px solid var(--app-nav-border);
    background: var(--app-nav-bg);
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 540px;
    max-width: 100vw;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    place-items: center;
}

.bottom-nav .item {
    color: var(--app-nav-text);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.bottom-nav .item.active {
    color: var(--app-nav-active);
}

.global-notice-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .48);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.global-notice-mask.show {
    display: flex;
}

.global-notice-dialog {
    width: min(360px, calc(100vw - 30px));
    background: #fff;
    border-radius: 14px;
    padding: 18px 14px 12px;
    position: relative;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

.global-notice-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #b3b3b3;
    font-size: 18px;
    cursor: pointer;
}

.global-notice-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 10px;
}

.global-notice-title i {
    color: #ff4b93;
    margin-right: 4px;
}

.global-notice-line {
    text-align: center;
    line-height: 1.6;
}

.global-notice-main {
    color: #ff645f;
    font-size: 18px;
    font-weight: 700;
}

.global-notice-main span {
    margin-left: 4px;
}

.global-notice-app {
    margin-top: 8px;
    color: #3ac46b;
    font-size: 17px;
    font-weight: 700;
}

.global-notice-work {
    margin-top: 4px;
    color: #7f86ff;
    font-size: 16px;
}

.global-notice-actions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.global-notice-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9ca3af;
    font-size: 13px;
    user-select: none;
}

.global-notice-ok {
    min-width: 100px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: #ff4b93;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

html[data-theme="dark"] .global-notice-dialog {
    background: #1f2430;
}

html[data-theme="dark"] .global-notice-title {
    color: #f3f4f6;
}

html[data-theme="dark"] .global-notice-checkbox {
    color: #9ca3af;
}

@media (max-width:900px) {
    .bottom-nav {
        left: 0;
        transform: none;
        width: 100%;
        max-width: none;
    }
}
