#win-imgviewer {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1e1e1e;
    overflow: hidden;
    height: 100%;
    position: relative;
}
#win-imgviewer>.preview-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.15s ease;
    cursor: grab;
}
.imgviewer-toolbar {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.imgviewer-toolbar>.a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.15s;
}
.imgviewer-toolbar>.a:hover {
    background: rgba(255, 255, 255, 0.15);
}
