/* Streamcio 1.7.4 · stage 13 · czytelniejsze treści i przełącznik serwera */

.user-dropdown-v103 .user-dropdown-community-v174 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0;
    border: 1px solid rgba(99, 102, 241, .52);
    background: linear-gradient(135deg, rgba(88, 101, 242, .28), rgba(124, 58, 237, .18));
    color: #f5f3ff;
    font-weight: 850;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.user-dropdown-v103 .user-dropdown-community-v174:hover {
    border-color: rgba(129, 140, 248, .86);
    background: linear-gradient(135deg, rgba(88, 101, 242, .42), rgba(124, 58, 237, .28));
}

.user-dropdown-community-v174 > span:last-child {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, .1);
    color: #c4b5fd;
}

.server-switcher-v174 {
    position: relative;
    display: block;
    margin: 6px 0 16px;
}

.server-switcher-v174 > summary {
    list-style: none;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.server-switcher-v174 > summary::-webkit-details-marker {
    display: none;
}

.server-switcher-v174 > summary:hover,
.server-switcher-v174[open] > summary {
    border-color: rgba(168, 85, 247, .58);
    background: linear-gradient(135deg, rgba(124, 58, 237, .25), rgba(34, 211, 238, .08));
}

.server-switcher-current-copy-v174 {
    min-width: 0;
    flex: 1 1 auto;
}

.server-switcher-chevron-v174 {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 9px;
    color: #c4b5fd;
    background: rgba(124, 58, 237, .13);
    transition: transform .18s ease, background .18s ease;
}

.server-switcher-chevron-v174 .ui-icon {
    width: 15px;
    height: 15px;
}

.server-switcher-v174[open] .server-switcher-chevron-v174 {
    transform: rotate(180deg);
    background: rgba(124, 58, 237, .24);
}

.server-switcher-menu-v174 {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    padding: 10px;
    border: 1px solid rgba(124, 58, 237, .3);
    border-radius: 15px;
    background: linear-gradient(155deg, rgba(11, 17, 34, .99), rgba(16, 22, 42, .99));
    box-shadow: 0 20px 45px rgba(0, 0, 0, .34);
}

.server-switcher-heading-v174 {
    display: grid;
    gap: 2px;
    padding: 3px 4px 7px;
}

.server-switcher-heading-v174 strong {
    color: #fff;
    font-size: 13px;
}

.server-switcher-heading-v174 small {
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.35;
}

.server-switcher-list-v174 {
    display: grid;
    gap: 5px;
    max-height: 286px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.server-switcher-option-v174 {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 50px;
    padding: 7px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #e8edff;
    text-decoration: none;
}

.server-switcher-option-v174:hover {
    border-color: rgba(124, 58, 237, .35);
    background: rgba(124, 58, 237, .13);
}

.server-switcher-option-v174.is-current {
    border-color: rgba(168, 85, 247, .48);
    background: linear-gradient(135deg, rgba(124, 58, 237, .22), rgba(59, 130, 246, .09));
}

.server-switcher-option-avatar-v174 {
    display: grid;
    width: 36px;
    height: 36px;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
}

.server-switcher-option-avatar-v174 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.server-switcher-option-v174 > span:nth-child(2) {
    min-width: 0;
}

.server-switcher-option-v174 strong,
.server-switcher-option-v174 small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.server-switcher-option-v174 strong {
    color: #f8fafc;
    font-size: 12px;
}

.server-switcher-option-v174 small {
    margin-top: 2px;
    color: #8fa0bd;
    font-size: 10px;
}

.server-switcher-option-v174 em {
    padding: 3px 6px;
    border: 1px solid rgba(251, 191, 36, .35);
    border-radius: 999px;
    color: #fde68a;
    background: rgba(120, 74, 16, .18);
    font-size: 8px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.server-switcher-all-v174 {
    display: block;
    padding: 8px 7px 3px;
    border-top: 1px solid rgba(148, 163, 184, .12);
    color: #c4b5fd;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.owner-embed-form-v153 .field-builder {
    padding: 16px;
    border-color: rgba(124, 58, 237, .28);
    background: linear-gradient(145deg, rgba(9, 15, 32, .84), rgba(15, 23, 42, .72));
}

.owner-embed-form-v153 .field-builder-head {
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
}

.owner-embed-form-v153 .field-builder > .muted {
    max-width: 720px;
    margin: 0 0 14px;
    line-height: 1.5;
}

.owner-embed-form-v153 [data-field-list] {
    display: grid;
    gap: 12px;
    counter-reset: streamcio-embed-section;
}

.owner-embed-form-v153 .dynamic-field-row {
    position: relative;
    grid-template-columns: minmax(150px, .82fr) minmax(230px, 1.3fr) minmax(172px, .72fr) minmax(112px, auto);
    align-items: start !important;
    gap: 10px;
    padding: 43px 13px 13px;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 14px;
    background: rgba(4, 10, 24, .54);
    counter-increment: streamcio-embed-section;
}

.owner-embed-form-v153 .dynamic-field-row::before {
    content: "Sekcja " counter(streamcio-embed-section);
    position: absolute;
    top: 13px;
    left: 14px;
    color: #a5b4fc;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.owner-embed-form-v153 .dynamic-field-row > *,
.owner-embed-form-v153 .dynamic-field-row .smart-input-wrap,
.owner-embed-form-v153 .dynamic-field-row .rich-command-editor-v66 {
    min-width: 0;
    width: 100%;
}

/* v1.9.0: w wąskich kolumnach sekcji przybornik ma własny wiersz i nie zasłania treści. */
.owner-embed-form-v153 .dynamic-field-row .smart-input-wrap {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.owner-embed-form-v153 .dynamic-field-row .smart-input-actions {
    position: static !important;
    inset: auto !important;
    align-self: flex-end;
    max-width: 100%;
}

.owner-embed-form-v153 .dynamic-field-row .rich-command-editor-v66 {
    padding-right: 14px;
}

.owner-embed-form-v153 .dynamic-field-row select,
.owner-embed-form-v153 .dynamic-field-row [data-remove-field] {
    min-height: 44px;
    align-self: start;
}

.owner-embed-form-v153 .dynamic-field-row [data-remove-field] {
    white-space: normal;
    line-height: 1.2;
}

@container (max-width: 900px) {
    .owner-embed-form-v153 .dynamic-field-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    }
}

@container (max-width: 590px) {
    .owner-embed-form-v153 .field-builder {
        padding: 13px;
    }

    .owner-embed-form-v153 .dynamic-field-row {
        grid-template-columns: minmax(0, 1fr);
        padding: 41px 11px 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .server-switcher-chevron-v174 {
        transition: none;
    }
}
