/* 新版 myW */
.myw-window {
    position: fixed;
    background: #c0c0c0;
    border: 2px solid #000080;
    box-shadow: 4px 4px #404040;
    z-index: 9999;
}

.myw-titlebar {
    background: linear-gradient(to right, #000080, #0000cd);
    color: white;
    padding: 4px 6px;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.myw-title {
    font-weight: bold;
    font-size: 13px;
}

.myw-btns {
    display: flex;
    gap: 4px;
}

.myw-btn {
    background: #c0c0c0;
    color: #000;
    border: 1px solid #404040;
    width: 18px;
    height: 18px;
    font-family: monospace;
    font-weight: bold;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 1;
    line-height: 18px;
}

.myw-body {
    background: #fff;
    height: calc(100% - 26px);
    overflow: auto;
    padding: 6px;
    color: #009;
}

.myw-maximized {
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

.myw-noselect {
    user-select: none;
}

.myw-window.myw-active {
    box-shadow: 6px 6px #202020;
    border-color: #0000cd;
}

.ui-resizable-handle {
    background: transparent;
}

.ui-resizable-se {
    width: 14px;
    height: 14px;
    right: 1px;
    bottom: 1px;
    background: repeating-linear-gradient(
        135deg,
        #808080 0,
        #808080 2px,
        #c0c0c0 2px,
        #c0c0c0 4px
    );
    border: 1px solid #404040;
}
