/* 登入過期一次性橫幅 */
.session-expired-banner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 99998;
    display: flex;
    align-items: center;
    gap: .75rem;
    max-width: min(560px, calc(100vw - 32px));
    padding: .8rem 1rem;
    border-radius: 16px;
    background: #fffbf2;
    border: 2px solid #d9b38c;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
    color: #4a3728;
    font-size: .92rem;
    line-height: 1.5;
    animation: seb-rise .4s ease;
}
@keyframes seb-rise {
    from { transform: translate(-50%, 20px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}
.session-expired-banner .seb-qbei {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}
.session-expired-banner .seb-text { flex: 1; }
.session-expired-banner .seb-login {
    flex-shrink: 0;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: #b91c1c;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.session-expired-banner .seb-login:hover { background: #991b1b; color: #fff; }
.session-expired-banner .seb-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #a1887f;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 .2rem;
    line-height: 1;
}
[data-theme="dark"] .session-expired-banner {
    background: #2b2118;
    border-color: #8a6a4f;
    color: #f3e8d8;
}
[data-theme="dark"] .session-expired-banner .seb-close { color: #bfae9f; }
@media (max-width: 520px) {
    .session-expired-banner { flex-wrap: wrap; }
    .session-expired-banner .seb-login { margin-left: auto; }
}
