/* Стеклянные выпадающие списки */
.gselect { position: relative; margin-top: 0.4rem; }

.gselect-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.gselect-btn:hover { background: rgba(255, 255, 255, 0.7); }

.gselect-btn svg {
    width: 16px; height: 16px;
    color: var(--text-2);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.gselect.open .gselect-btn svg { transform: rotate(180deg); }

.gselect-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.65);
    max-height: 240px;
    overflow-y: auto;
    z-index: 300;
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.18s, transform 0.18s;
}

.gselect.open .gselect-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.gselect-option {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s;
}

.gselect-option:hover { background: rgba(10, 132, 255, 0.1); }

.gselect-option.selected {
    color: #0a84ff;
    font-weight: 700;
    background: rgba(10, 132, 255, 0.12);
}

.my-post-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    margin-bottom: 0.6rem;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    font-size: 0.95rem !important;
    color: var(--text) !important;
}

@media (prefers-color-scheme: dark) {
    .gselect-btn { background: rgba(255, 255, 255, 0.1); color: #f2f2f7; }
    .gselect-menu { background: rgba(28, 28, 30, 0.82); }
    .my-post-item { background: rgba(255, 255, 255, 0.07); }
}