.win {
    position: absolute;
    border: 3px solid var(--dark);
    border-radius: 14px 14px 10px 10px;
    overflow: hidden;
    box-shadow: 5px 7px 0 rgba(0, 0, 0, .28);
    display: none;
    background: white;
    min-width: 240px;
    flex-direction: column;
}

.wbar {
    background: var(--pink);
    padding: 5px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: grab;
    user-select: none;
    border-bottom: 3px solid var(--dark);
    flex-shrink: 0;
}

.wbar:active {
    cursor: grabbing;
}

.wbar.blue {
    background: var(--blue);
}

.wurl {
    flex: 1;
    background: white;
    border-radius: 16px;
    border: 2px solid var(--dark);
    padding: 2px 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 9px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
}

.wurl-h {
    color: var(--pink);
    font-size: 10px;
}

.wbtns {
    display: flex;
    gap: 4px;
}

.wb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--dark);
    cursor: pointer;
    transition: transform .1s;
    flex-shrink: 0;
}

.wb:hover {
    transform: scale(1.2);
}

.wb.y {
    background: #f5c842;
}

.wb.o {
    background: #f5a142;
}

.wb.r {
    background: var(--pink);
}

.wfoot {
    height: 15px;
    border-top: 3px solid var(--dark);
    flex-shrink: 0;
}

.wfoot.pink {
    background: var(--pink);
}

.wfoot.blue {
    background: var(--blue);
}

/* Body areas fill remaining height and scroll */
.tama-body, .aud-body, .cam-body, .files-body, .missions-body, .games-body, .shop-body, .daily-body, .about-body, .gacha-wrap, .staff-body {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.mg-body {
    flex: 1;
    overflow: hidden;
    min-height: 0;
    position: relative;
}

.prof-top {
    flex-shrink: 0;
}

.prof-bot {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.win-rz {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    cursor: se-resize;
    z-index: 50;
    opacity: 0;
    transition: opacity .2s;
}

.win:hover .win-rz {
    opacity: 1;
}

.win-rz::before {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 9px;
    height: 9px;
    border-right: 2.5px solid var(--pink);
    border-bottom: 2.5px solid var(--pink);
    border-radius: 0 0 3px 0;
}
