[data-theme="light"] #globalConfirmOverlay {
    background: rgba(17,24,39,0.34) !important;
}
[data-theme="light"] #globalConfirmPanel {
    background: #ffffff !important;
    border-color: rgba(15,23,42,0.12) !important;
    box-shadow: 0 22px 54px rgba(15,23,42,0.18) !important;
}
#globalConfirmCancel:hover {
    background: var(--surface-hover) !important;
    color: var(--text-primary) !important;
    border-color: var(--text-faint) !important;
}
#globalConfirmOk:hover {
    filter: brightness(0.96);
}

.pagination-shell,
.ip-pagination-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.pagination-shell .pagination,
.ip-pagination-shell .ip-pagination {
    margin-top: 0 !important;
}

.pagination-extra {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    color: var(--text-faint);
    font-size: 0.76rem;
    white-space: nowrap;
}

.pagination-jump {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--text-faint);
}

.pagination-jump-input {
    width: 38px;
    height: 26px;
    padding: 0 6px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.76rem;
    text-align: center;
    outline: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.pagination-jump-input:focus {
    border-color: var(--text-faint);
    background: var(--surface-hover);
    color: var(--text-primary);
}

.pagination-jump-submit {
    width: 0;
    height: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--text-faint);
    cursor: default;
    font: inherit;
    line-height: 1;
    overflow: hidden;
}

@media (max-width: 760px) {
    .pagination-extra {
        width: 100%;
        justify-content: center;
        font-size: 0.74rem;
    }

    .pagination-range {
        display: none;
    }
}

.personal-notice-prompt {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99980;
    width: min(360px, calc(100vw - 32px));
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--text-primary);
}

.personal-notice-prompt-mark {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.10);
    color: var(--red);
    font-weight: 800;
    line-height: 1;
}

.personal-notice-prompt-body {
    min-width: 0;
}

.personal-notice-prompt-title {
    font-size: 0.88rem;
    font-weight: 750;
    color: var(--text-primary);
}

.personal-notice-prompt-text {
    margin-top: 4px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.personal-notice-prompt-actions {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 2px;
}

.personal-notice-prompt-btn {
    height: 28px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--text-primary);
    color: var(--bg);
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.personal-notice-prompt-btn.is-muted {
    background: transparent;
    color: var(--text-secondary);
}

.personal-notice-prompt-close {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-faint);
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
}

.personal-notice-prompt-close:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}
