
#notify-root{
    position:fixed;
    right:20px;
    bottom:20px;
    z-index: 30;
    pointer-events:none;
}

#notify-root > *{
    pointer-events:auto;
}

#update-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    max-width: 880px;
    max-height: 500px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
    z-index: 30;
    font-family: Arial;
}

.toast-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 15px;
    border-bottom:1px solid #eee;
    font-weight:bold;
}

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

.toast-toggle {
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    font-size: 12px;
}

.toast-btn {
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 4px;
}
.toast-btn:hover {
    color: #000;
}

.toast-icon-btn{
    width:24px;
    height:24px;
    border:none;
    border-radius:50%;
    background:transparent;
    cursor:pointer;
    font-size:16px;
    color:#666;
    display:flex;
    align-items:center;
    justify-content:center;
}
.toast-icon-btn:hover{
    background:#f2f2f2;
    color:#000;
}

#toast-body {
    transition: all .2s ease;
}

.badge{
    background: #d1d5db;
    color: #000;
    border-radius:999px;
    min-width:24px;
    height:24px;
    line-height:24px;
    text-align:center;
    font-size:12px;
    padding:0 8px;
}
.badge.zero {
    background: #d1d5db;
    color: #000;
}
.badge.active {
    background:#e53935;
    color:#fff;
	animation: badge_blink2 1s infinite;
}
@keyframes badge_blink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.15);
    }
}
@keyframes badge_blink2 {
    0%, 50% {
        opacity: 1;
    }
    50.01%, 100% {
        opacity: 0;
    }
}

.update-title{
    padding:12px 15px;
    cursor:pointer;
    font-weight:bold;
	border-bottom: 1px dashed #c1c1c1;
	font-size: 12px;
	display:flex;
    align-items:center;
}

.update-title.read {
    font-weight: normal;
    color: #666;
}

.update-title:hover{
    background:#f5f5f5;
}

.update-title.active {
    background-color: #f1f1f1;
	font-weight: bold;
	font-size: 14px;
}

.update-title-text{
    flex:1;
}

.update-content{
    display:none;
    padding:20px 15px 15px 20px;
    color:#555;
    line-height:1.6;
    white-space:pre-wrap;
	font-size: 12px;
	color: #000;
}
.update-content input[type=checkbox],
.update-content input[type=radio] {
    pointer-events: none;
}


.update-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #e53935;
    display: inline-block;
    flex-shrink: 0;
	margin-right: 8px;
	vertical-align: middle;
}

.update-dot.read {
     background: #c1c1c1;
}

.update-time{
    margin-left:auto;
    font-size:11px;
    color:#9ca3af;
    font-weight:normal;
}

.update-empty {
    padding: 5px 5px;
    text-align: center;
    color: #6b7280;
    font-size: 12px;
    user-select: none;
}

#update-list.one-line > :not(:first-child) {
    display: none;
}