.dsbs-studio,
.dsbs-standalone,
.dsbs-live-experience {
    --dsbs-border: #e2e5ec;
    --dsbs-surface: #ffffff;
    --dsbs-surface-soft: #f8f7ff;
    --dsbs-muted: #667085;
    --dsbs-text: #101828;
    --dsbs-accent: #6d28d9;
    --dsbs-accent-2: #8b5cf6;
    --dsbs-accent-soft: #f1eafe;
    --dsbs-danger: #b42318;
    --dsbs-success: #067647;
    --dsbs-warning: #b54708;
    max-width: 1120px;
    margin: 24px auto;
    color: var(--dsbs-text);
    font-family: inherit;
}

.dsbs-studio *,
.dsbs-standalone *,
.dsbs-live-experience * {
    box-sizing: border-box;
}

.dsbs-studio-heading,
.dsbs-form-title,
.dsbs-console-header,
.dsbs-viewer-top,
.dsbs-library-meta,
.dsbs-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dsbs-studio-heading {
    margin-bottom: 18px;
}

.dsbs-studio-heading h2,
.dsbs-form-title h3,
.dsbs-console-header h3 {
    margin: 2px 0 0;
    line-height: 1.2;
}

.dsbs-eyebrow {
    display: block;
    color: var(--dsbs-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dsbs-provider-pill,
.dsbs-secure-label,
.dsbs-live-dot,
.dsbs-live-status-badge,
.dsbs-status-mini {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 11px;
    background: var(--dsbs-accent-soft);
    color: var(--dsbs-accent);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.dsbs-live-dot {
    background: #fff1f1;
    color: #d92d20;
}

.dsbs-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.dsbs-tab {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--dsbs-border);
    border-radius: 14px;
    background: var(--dsbs-surface);
    color: var(--dsbs-text);
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dsbs-tab > span {
    grid-row: 1 / span 2;
    font-size: 22px;
}

.dsbs-tab strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
}

.dsbs-tab small {
    overflow: hidden;
    color: var(--dsbs-muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dsbs-tab:hover {
    transform: translateY(-1px);
}

.dsbs-tab:focus-visible {
    outline: 3px solid var(--dsbs-accent-soft);
    outline-offset: 2px;
}

.dsbs-tab.is-active {
    border-color: var(--dsbs-accent);
    box-shadow: 0 0 0 3px var(--dsbs-accent-soft);
}

.dsbs-panel {
    display: none;
}

.dsbs-panel.is-active {
    display: block;
}

.dsbs-upload-form,
.dsbs-live-form,
.dsbs-live-console,
.dsbs-library {
    padding: 24px;
    border: 1px solid var(--dsbs-border);
    border-radius: 18px;
    background: var(--dsbs-surface);
    box-shadow: 0 12px 34px rgba(16, 24, 40, .07);
}

.dsbs-live-console {
    margin-top: 18px;
    border-color: #cfc0f8;
    background: linear-gradient(180deg, #fff 0%, #fbf9ff 100%);
}

.dsbs-form-title,
.dsbs-console-header {
    margin-bottom: 22px;
}

.dsbs-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dsbs-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    font-weight: 650;
}

.dsbs-field small {
    color: var(--dsbs-muted);
    font-weight: 400;
}

.dsbs-field-wide {
    grid-column: 1 / -1;
}

.dsbs-field input[type="text"],
.dsbs-field input[type="password"],
.dsbs-field input[type="datetime-local"],
.dsbs-field select,
.dsbs-field textarea,
.dsbs-chat-form input {
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid var(--dsbs-border);
    border-radius: 10px;
    background: #fff;
    color: var(--dsbs-text);
    font: inherit;
    font-weight: 400;
}

.dsbs-field textarea {
    min-height: 108px;
    resize: vertical;
}

.dsbs-field input:focus,
.dsbs-field select:focus,
.dsbs-field textarea:focus,
.dsbs-chat-form input:focus {
    outline: none;
    border-color: var(--dsbs-accent);
    box-shadow: 0 0 0 3px var(--dsbs-accent-soft);
}

.dsbs-checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--dsbs-border);
    border-radius: 11px;
    background: #fafafa;
}

.dsbs-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--dsbs-accent);
}

.dsbs-tip {
    padding: 12px 14px;
    border: 1px solid #d8ccf9;
    border-radius: 11px;
    background: var(--dsbs-accent-soft);
    color: #4c1d95;
    font-size: 14px;
    font-weight: 600;
}

.dsbs-dropzone {
    position: relative;
    min-height: 176px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 24px;
    border: 2px dashed #b8bfcc;
    border-radius: 16px;
    background: #fafbfc;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.dsbs-dropzone:hover,
.dsbs-dropzone.is-dragging {
    border-color: var(--dsbs-accent);
    background: var(--dsbs-accent-soft);
}

.dsbs-dropzone input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.dsbs-dropzone-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--dsbs-accent-soft);
    color: var(--dsbs-accent);
    font-size: 23px;
}

.dsbs-dropzone small,
.dsbs-file-name {
    color: var(--dsbs-muted);
    font-weight: 400;
}

.dsbs-file-name {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.dsbs-progress-wrap {
    margin-top: 20px;
    padding: 14px;
    border-radius: 12px;
    background: #f8f9fb;
}

.dsbs-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.dsbs-progress {
    width: 100%;
    height: 12px;
    accent-color: var(--dsbs-accent);
}

.dsbs-actions-row,
.dsbs-live-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.dsbs-button,
.dsbs-submit,
.dsbs-copy,
.dsbs-reveal-key,
.dsbs-chat-form button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    padding: 10px 15px;
    font: inherit;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
}

.dsbs-button,
.dsbs-copy,
.dsbs-reveal-key {
    background: #eaecf0;
    color: var(--dsbs-text);
}

.dsbs-submit,
.dsbs-chat-form button {
    background: linear-gradient(135deg, var(--dsbs-accent), var(--dsbs-accent-2));
    color: #fff;
    box-shadow: 0 8px 18px rgba(109, 40, 217, .2);
}

.dsbs-submit {
    width: 100%;
    margin-top: 18px;
}

.dsbs-button:hover,
.dsbs-submit:hover,
.dsbs-copy:hover,
.dsbs-reveal-key:hover,
.dsbs-chat-form button:hover {
    transform: translateY(-1px);
}

.dsbs-submit:disabled,
.dsbs-button:disabled,
.dsbs-chat-form button:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.dsbs-result-link {
    margin-left: auto;
    color: var(--dsbs-accent);
    font-weight: 750;
}

.dsbs-message,
.dsbs-console-message {
    min-height: 24px;
    margin-top: 12px;
    font-weight: 600;
}

.dsbs-message.is-error,
.dsbs-console-message.is-error {
    color: var(--dsbs-danger);
}

.dsbs-message.is-success,
.dsbs-console-message.is-success {
    color: var(--dsbs-success);
}

.dsbs-message.is-info,
.dsbs-console-message.is-info {
    color: #344054;
}

.dsbs-notice,
.dsbs-player-placeholder {
    padding: 16px;
    border-radius: 12px;
    background: #f2f4f7;
}

.dsbs-notice-error {
    background: #fef3f2;
    color: var(--dsbs-danger);
}

.dsbs-credentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dsbs-copy-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.dsbs-copy-field:has(.dsbs-reveal-key) {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.dsbs-copy,
.dsbs-reveal-key {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 13px;
}

.dsbs-secret-warning {
    margin: 14px 0 0;
    padding: 11px 13px;
    border-radius: 10px;
    background: #fff6ed;
    color: #9a3412;
    font-size: 13px;
    font-weight: 650;
}

.dsbs-live-status-badge {
    background: #f2f4f7;
    color: #344054;
}

.dsbs-live-status-badge.is-live {
    background: #fee4e2;
    color: #b42318;
    box-shadow: 0 0 0 4px rgba(217, 45, 32, .08);
}

.dsbs-live-status-badge.is-warning {
    background: #fffaeb;
    color: var(--dsbs-warning);
}

.dsbs-live-status-badge.is-ended {
    background: #f2f4f7;
    color: var(--dsbs-muted);
}

.dsbs-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 0;
    border-radius: 14px;
    background: #000;
}

.dsbs-player-short {
    max-width: 460px;
    aspect-ratio: 9 / 16;
    margin: 0 auto 18px;
}

.dsbs-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.dsbs-remote-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

.dsbs-live-experience {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 18px;
    align-items: stretch;
}

.dsbs-live-viewer,
.dsbs-live-chat {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--dsbs-border);
    border-radius: 16px;
    background: var(--dsbs-surface);
    box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
}

.dsbs-viewer-top,
.dsbs-chat-header {
    min-height: 54px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--dsbs-border);
}

.dsbs-live-countdown {
    color: var(--dsbs-muted);
    font-size: 13px;
    font-weight: 650;
    text-align: right;
}

.dsbs-live-player-slot {
    padding: 14px;
}

.dsbs-live-player-slot .dsbs-player-placeholder {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.dsbs-live-player-slot .dsbs-player-placeholder strong {
    font-size: 18px;
}

.dsbs-live-player-slot .dsbs-player-placeholder span {
    max-width: 430px;
    color: var(--dsbs-muted);
}

.dsbs-live-chat {
    display: grid;
    grid-template-rows: auto minmax(300px, 1fr) auto;
    min-height: 430px;
}

.dsbs-chat-header span {
    color: #d92d20;
}

.dsbs-chat-messages {
    max-height: 520px;
    overflow-y: auto;
    padding: 14px;
    background: #fbfbfc;
}

.dsbs-chat-empty,
.dsbs-chat-login {
    color: var(--dsbs-muted);
    font-size: 13px;
    text-align: center;
}

.dsbs-chat-message {
    margin-bottom: 12px;
    padding: 10px 11px;
    border: 1px solid #eceef2;
    border-radius: 11px;
    background: #fff;
}

.dsbs-chat-message > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dsbs-chat-message strong {
    color: var(--dsbs-accent);
    font-size: 13px;
}

.dsbs-chat-message time {
    color: var(--dsbs-muted);
    font-size: 11px;
}

.dsbs-chat-message p {
    margin: 5px 0 0;
    overflow-wrap: anywhere;
    font-size: 14px;
}

.dsbs-chat-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--dsbs-border);
}

.dsbs-chat-form button {
    min-height: 44px;
}

.dsbs-chat-login {
    margin: 0;
    padding: 15px;
    border-top: 1px solid var(--dsbs-border);
}

.dsbs-library-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.dsbs-library-card {
    overflow: hidden;
    border: 1px solid var(--dsbs-border);
    border-radius: 14px;
    background: #fff;
}

.dsbs-library-thumb {
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f3efff, #ece9fe);
    font-size: 34px;
}

.dsbs-library-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dsbs-library-body {
    padding: 14px;
}

.dsbs-library-meta {
    align-items: flex-start;
    color: var(--dsbs-muted);
    font-size: 12px;
}

.dsbs-status-mini {
    padding: 4px 8px;
    font-size: 10px;
}

.dsbs-library-body h4 {
    margin: 10px 0 6px;
    font-size: 16px;
}

.dsbs-library-body p {
    margin: 0 0 10px;
    color: var(--dsbs-muted);
    font-size: 12px;
}

.dsbs-library-body a {
    color: var(--dsbs-accent);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

@media (max-width: 980px) {
    .dsbs-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dsbs-live-experience {
        grid-template-columns: 1fr;
    }

    .dsbs-live-chat {
        min-height: 380px;
    }

    .dsbs-library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .dsbs-studio,
    .dsbs-standalone,
    .dsbs-live-experience {
        margin: 16px auto;
    }

    .dsbs-studio-heading,
    .dsbs-form-title,
    .dsbs-console-header,
    .dsbs-viewer-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .dsbs-tabs {
        grid-template-columns: 1fr 1fr;
    }

    .dsbs-form-grid,
    .dsbs-credentials-grid,
    .dsbs-library-grid {
        grid-template-columns: 1fr;
    }

    .dsbs-upload-form,
    .dsbs-live-form,
    .dsbs-live-console,
    .dsbs-library {
        padding: 18px;
    }

    .dsbs-field-wide {
        grid-column: auto;
    }

    .dsbs-copy-field,
    .dsbs-copy-field:has(.dsbs-reveal-key) {
        grid-template-columns: 1fr 1fr;
    }

    .dsbs-copy-field input {
        grid-column: 1 / -1;
    }

    .dsbs-live-actions > * {
        flex: 1 1 100%;
    }

    .dsbs-chat-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .dsbs-tabs {
        grid-template-columns: 1fr;
    }
}


/* ================================================================
   DaAr Stream Studio 0.3.1 — integración visual con el theme
   ================================================================ */
.dsbs-direct-storage-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
    align-items: center;
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid #b7ead4;
    border-radius: 12px;
    background: #eefbf5;
    color: #075b3c;
}

.dsbs-direct-storage-note strong {
    font-size: 13px;
}

.dsbs-direct-storage-note span {
    font-size: 12px;
    line-height: 1.45;
}

.dsbs-live-workspace {
    display: grid;
    gap: 18px;
}

.dsbs-live-intro {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
    overflow: hidden;
    border: 1px solid #d9ccfb;
    border-radius: 18px;
    background:
        radial-gradient(circle at 90% 10%, rgba(109,40,217,.15), transparent 36%),
        linear-gradient(135deg, #171125, #241447 58%, #102c37);
    color: #fff;
    box-shadow: 0 16px 42px rgba(35, 18, 73, .18);
}

.dsbs-live-intro h3 {
    margin: 4px 0 8px;
    color: #fff;
    font-size: clamp(22px, 3vw, 32px);
}

.dsbs-live-intro p {
    max-width: 650px;
    margin: 0;
    color: #d9d6e5;
    line-height: 1.6;
}

.dsbs-live-intro .dsbs-eyebrow {
    color: #cab9ff;
}

.dsbs-live-capabilities {
    min-width: 210px;
    display: grid;
    align-content: center;
    gap: 8px;
}

.dsbs-live-capabilities span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: #f4f2fa;
    font-size: 12px;
    font-weight: 750;
}

.dsbs-live-capabilities span::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #17b26a;
    color: #fff;
    font-size: 11px;
}

.dsbs-obs-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 16px;
}

.dsbs-obs-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--dsbs-border);
    border-radius: 15px;
    background: #fff;
}

.dsbs-obs-card-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 17px;
}

.dsbs-obs-card-heading h4 {
    margin: 0 0 4px;
    font-size: 17px;
}

.dsbs-obs-card-heading p {
    margin: 0;
    color: var(--dsbs-muted);
    font-size: 12px;
    line-height: 1.45;
}

.dsbs-obs-step {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 10px;
    color: #fff;
    background: var(--dsbs-accent);
    font-size: 13px;
    font-weight: 850;
}

.dsbs-obs-settings {
    display: grid;
    gap: 0;
    margin: 0;
    border: 1px solid var(--dsbs-border);
    border-radius: 12px;
    overflow: hidden;
}

.dsbs-obs-settings > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 12px;
    border-bottom: 1px solid var(--dsbs-border);
}

.dsbs-obs-settings > div:last-child {
    border-bottom: 0;
}

.dsbs-obs-settings dt {
    color: var(--dsbs-muted);
    font-size: 12px;
}

.dsbs-obs-settings dd {
    margin: 0;
    text-align: right;
    font-size: 12px;
    font-weight: 800;
}

.dsbs-obs-presets {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.dsbs-obs-presets article {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    background: var(--dsbs-surface-soft);
    font-size: 12px;
}

.dsbs-obs-presets article span {
    color: var(--dsbs-accent);
    font-weight: 850;
}

.dsbs-live-history {
    padding: 24px;
    border: 1px solid var(--dsbs-border);
    border-radius: 18px;
    background: var(--dsbs-surface);
    box-shadow: 0 12px 34px rgba(16, 24, 40, .05);
}

.dsbs-my-live-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.dsbs-my-live-card {
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--dsbs-border);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #fbfaff);
}

.dsbs-my-live-card-top,
.dsbs-my-live-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
}

.dsbs-my-live-card time {
    color: var(--dsbs-muted);
    font-size: 10px;
}

.dsbs-my-live-card h4 {
    min-height: 44px;
    margin: 14px 0;
    font-size: 15px;
    line-height: 1.4;
}

.dsbs-my-live-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.dsbs-my-live-actions .dsbs-button {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 11px;
}

.dsbs-copy-obs-profile {
    margin-top: 14px;
    color: #fff;
    background: var(--dsbs-accent);
}

@media (max-width: 900px) {
    .dsbs-obs-layout {
        grid-template-columns: 1fr;
    }

    .dsbs-my-live-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .dsbs-live-intro {
        flex-direction: column;
        padding: 20px;
    }

    .dsbs-live-capabilities {
        min-width: 0;
    }

    .dsbs-my-live-grid {
        grid-template-columns: 1fr;
    }

    .dsbs-direct-storage-note {
        grid-template-columns: 1fr;
    }
}


/* ================================================================
   DaAr Stream Studio 0.3.1 — integración con la página /crear/
   Mantiene la estructura del estudio y adopta la identidad del theme.
   ================================================================ */
.daar-stream-studio-page {
    background: var(--daar-home-bg, #08090d);
}

.daar-stream-studio-shell {
    --dsbs-border: var(--daar-home-line, rgba(255,255,255,.10));
    --dsbs-surface: var(--daar-home-surface, #11131a);
    --dsbs-surface-soft: var(--daar-home-surface-2, #171a23);
    --dsbs-muted: var(--daar-home-muted, #a9adba);
    --dsbs-text: var(--daar-home-text, #f7f7fb);
    --dsbs-accent: var(--daar-home-accent, #8b5cf6);
    --dsbs-accent-2: var(--daar-home-accent-2, #22d3ee);
    --dsbs-accent-soft: rgba(139,92,246,.15);
    --dsbs-danger: #fb7185;
    --dsbs-success: #34d399;
    --dsbs-warning: #fbbf24;
    width: min(calc(100% - 28px), 1500px);
    max-width: 1500px;
    margin: clamp(22px, 4vw, 56px) auto;
    color: var(--dsbs-text);
}

.dsbs-studio-heading--hero {
    position: relative;
    min-height: 210px;
    align-items: flex-end;
    overflow: hidden;
    margin-bottom: 20px;
    padding: clamp(26px, 5vw, 54px);
    border: 1px solid var(--dsbs-border);
    border-radius: 30px;
    background:
        radial-gradient(circle at 86% 10%, rgba(34,211,238,.17), transparent 34%),
        radial-gradient(circle at 10% 10%, rgba(139,92,246,.28), transparent 38%),
        linear-gradient(135deg, #13101e, #11131a 58%, #0b2229);
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
    isolation: isolate;
}

.dsbs-studio-heading--hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .25;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, #000, transparent 82%);
}

.dsbs-studio-heading__copy { max-width: 840px; }
.dsbs-studio-heading--hero h1 {
    margin: 4px 0 10px;
    color: #fff;
    font-size: clamp(36px, 6vw, 66px);
    letter-spacing: -.045em;
}
.dsbs-studio-heading--hero p {
    max-width: 760px;
    margin: 0;
    color: #c8c9d4;
    font-size: clamp(15px, 2vw, 19px);
    line-height: 1.65;
}
.dsbs-studio-heading--hero .dsbs-provider-pill {
    align-self: flex-start;
    border: 1px solid rgba(255,255,255,.13);
    color: #e7ddff;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(14px);
}

.daar-stream-studio-shell .dsbs-tab,
.daar-stream-studio-shell .dsbs-upload-form,
.daar-stream-studio-shell .dsbs-library,
.daar-stream-studio-shell .dsbs-library-panel,
.daar-stream-studio-shell .dsbs-notice {
    border-color: var(--dsbs-border);
    color: var(--dsbs-text);
    background: var(--dsbs-surface);
    box-shadow: 0 18px 46px rgba(0,0,0,.22);
}

.daar-stream-studio-shell .dsbs-tab small,
.daar-stream-studio-shell .dsbs-library-body p,
.daar-stream-studio-shell .dsbs-field small { color: var(--dsbs-muted); }

.daar-stream-studio-shell .dsbs-tab:hover {
    border-color: rgba(139,92,246,.65);
    background: var(--dsbs-surface-soft);
}
.daar-stream-studio-shell .dsbs-tab.is-active {
    border-color: var(--dsbs-accent);
    background: linear-gradient(180deg, rgba(139,92,246,.16), var(--dsbs-surface));
    box-shadow: 0 0 0 3px rgba(139,92,246,.14), 0 18px 44px rgba(0,0,0,.24);
}

.daar-stream-studio-shell .dsbs-field input[type="text"],
.daar-stream-studio-shell .dsbs-field input[type="password"],
.daar-stream-studio-shell .dsbs-field input[type="datetime-local"],
.daar-stream-studio-shell .dsbs-field select,
.daar-stream-studio-shell .dsbs-field textarea {
    border-color: var(--dsbs-border);
    color: var(--dsbs-text);
    background: #0d0f16;
    color-scheme: dark;
}
.daar-stream-studio-shell .dsbs-field input::placeholder,
.daar-stream-studio-shell .dsbs-field textarea::placeholder { color: #777b88; }

.daar-stream-studio-shell .dsbs-checkbox,
.daar-stream-studio-shell .dsbs-dropzone {
    border-color: var(--dsbs-border);
    color: var(--dsbs-text);
    background: #0d0f16;
}
.daar-stream-studio-shell .dsbs-dropzone:hover,
.daar-stream-studio-shell .dsbs-dropzone.is-dragging {
    border-color: var(--dsbs-accent-2);
    background: rgba(34,211,238,.07);
}
.daar-stream-studio-shell .dsbs-direct-storage-note {
    border-color: rgba(52,211,153,.3);
    color: #bbf7d0;
    background: rgba(6,95,70,.18);
}
.daar-stream-studio-shell .dsbs-tip {
    border-color: rgba(139,92,246,.28);
    color: #ddd6fe;
    background: rgba(139,92,246,.12);
}
.daar-stream-studio-shell .dsbs-submit {
    background: linear-gradient(90deg, var(--dsbs-accent), #7c3aed 55%, var(--dsbs-accent-2));
    box-shadow: 0 14px 34px rgba(109,40,217,.28);
}
.daar-stream-studio-shell .dsbs-library-card {
    overflow: hidden;
    border-color: var(--dsbs-border);
    background: var(--dsbs-surface-soft);
}
.daar-stream-studio-shell .dsbs-library-body h4,
.daar-stream-studio-shell .dsbs-form-title h3 { color: var(--dsbs-text); }
.daar-stream-studio-shell .dsbs-library-body a { color: #c4b5fd; }

.daar-stream-studio-auth { padding-top: 30px; padding-bottom: 30px; }

@media (max-width: 760px) {
    .daar-stream-studio-shell { width: min(calc(100% - 18px), 1500px); }
    .dsbs-studio-heading--hero { min-height: 0; align-items: flex-start; flex-direction: column; padding: 26px 20px; border-radius: 24px; }
    .dsbs-studio-heading--hero h1 { font-size: clamp(34px, 12vw, 50px); }
}


/* DaAr Stream Studio 0.3.3 — diagnóstico privado para administradores */
.dsbs-admin-diagnostic-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 1100px;
    margin: 18px 0;
}

.dsbs-admin-diagnostic-summary article {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid #dcdcE8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(20, 24, 40, .04);
}

.dsbs-admin-diagnostic-summary strong {
    color: #505366;
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.dsbs-admin-diagnostic-summary span {
    color: #151724;
    font-size: 15px;
    font-weight: 750;
}

@media (max-width: 900px) {
    .dsbs-admin-diagnostic-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .dsbs-admin-diagnostic-summary {
        grid-template-columns: 1fr;
    }
}


/* DaAr Stream Studio 0.3.4 — solo el uploader directo puede operar en /crear/ */
.daar-stream-studio-page [data-dsbs-local-uploader-blocked="true"],
.daar-stream-studio-page form:has(input[type="file"][accept*="video" i]):not(.dsbs-upload-form),
.daar-stream-studio-page form:has(input[type="file"][accept*=".mp4" i]):not(.dsbs-upload-form) {
    display: none !important;
}

.daar-stream-studio-page [data-daar-stream-studio] {
    position: relative;
    z-index: 2;
}


/* DaAr Stream Studio 0.3.5 — integración con el Creator Studio del theme */
.daar-stream-studio-page [data-dsbs-mounted-by-compat="true"] {
    width: 100%;
    max-width: none;
    margin: 18px 0 0;
}

.daar-stream-studio-page [data-dsbs-mounted-by-compat="true"] .dsbs-tabs {
    margin-top: 0;
}

.daar-stream-studio-page [data-dsbs-mounted-by-compat="true"] .dsbs-panel.is-active {
    display: block;
}

#dsbs-creator-studio-fallback-template {
    display: none !important;
}


/* ================================================================
   DaAr Stream Studio 0.3.6 — flujo minimalista del creador
   ================================================================ */
.dsbs-progress-wrap--minimal {
    margin-top: 18px;
    padding: 15px 16px;
    border: 1px solid rgba(154, 92, 255, .42);
    border-radius: 14px;
    background: #050506;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 14px 34px rgba(5,5,8,.22);
}

.dsbs-progress-wrap--minimal .dsbs-progress-meta {
    color: #f8f5ff;
}

.dsbs-progress-wrap--minimal .dsbs-status-text {
    color: #d8ccf8;
    font-size: 12px;
    font-weight: 760;
    letter-spacing: .03em;
}

.dsbs-progress-wrap--minimal .dsbs-progress-number {
    color: #ffffff;
}

.dsbs-progress-wrap--minimal progress.dsbs-progress {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: #151319;
    appearance: none;
    -webkit-appearance: none;
}

.dsbs-progress-wrap--minimal progress.dsbs-progress::-webkit-progress-bar {
    border-radius: 999px;
    background: #151319;
}

.dsbs-progress-wrap--minimal progress.dsbs-progress::-webkit-progress-value {
    border-radius: 999px;
    background: linear-gradient(90deg, #7c3aed, #a855f7, #c084fc);
    box-shadow: 0 0 18px rgba(168,85,247,.65);
}

.dsbs-progress-wrap--minimal progress.dsbs-progress::-moz-progress-bar {
    border-radius: 999px;
    background: linear-gradient(90deg, #7c3aed, #a855f7, #c084fc);
    box-shadow: 0 0 18px rgba(168,85,247,.65);
}

.dsbs-minimal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    margin: 10px 0 2px;
}

.dsbs-delete-upload {
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(239,68,68,.36);
    border-radius: 10px;
    color: #fecaca;
    background: #1b0b0d;
    font: inherit;
    font-size: 12px;
    font-weight: 780;
    cursor: pointer;
}

.dsbs-delete-upload:hover,
.dsbs-delete-upload:focus-visible {
    border-color: #ef4444;
    color: #fff;
    background: #7f1d1d;
}

.dsbs-message--screen-reader {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.dsbs-upload-form .dsbs-submit[data-mode="publish"] {
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    box-shadow: 0 12px 28px rgba(124,58,237,.28);
}

.dsbs-upload-form .dsbs-submit[data-mode="published"] {
    color: #d1fae5;
    background: #064e3b;
}

.dsbs-content-panel .dsbs-library-meta {
    flex-wrap: wrap;
}

.dsbs-content-panel .dsbs-library-meta span:nth-child(2) {
    color: #d8b4fe;
}

@media (max-width: 560px) {
    .dsbs-minimal-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .dsbs-delete-upload,
    .dsbs-minimal-actions .dsbs-result-link {
        width: 100%;
        text-align: center;
    }
}


/* DaAr Stream Studio 0.4.0 */
.dsbs-format-warning {
    padding: 11px 13px;
    border: 1px solid rgba(168, 85, 247, .5);
    border-radius: 10px;
    background: rgba(168, 85, 247, .10);
    color: #f1e8ff;
    font-size: 13px;
    font-weight: 700;
}

.dsbs-content-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
}

.dsbs-content-actions a,
.dsbs-content-actions button {
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(168, 85, 247, .32);
    border-radius: 9px;
    background: rgba(168, 85, 247, .08);
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.dsbs-content-actions .dsbs-delete-content {
    border-color: rgba(239, 68, 68, .32);
    background: rgba(239, 68, 68, .08);
}

.dsbs-inline-editor {
    display: grid;
    gap: 11px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(148, 163, 184, .18);
}

.dsbs-inline-editor label {
    display: grid;
    gap: 6px;
}

.dsbs-inline-editor label > span {
    font-size: 11px;
    font-weight: 800;
}

.dsbs-inline-editor input,
.dsbs-inline-editor textarea,
.dsbs-inline-editor select {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 9px;
    background: rgba(5, 5, 6, .75);
    color: inherit;
    box-sizing: border-box;
}

.dsbs-inline-editor-actions {
    display: flex;
    gap: 9px;
}

.dsbs-inline-editor-actions button {
    padding: 9px 13px;
    border: 0;
    border-radius: 9px;
    background: #a855f7;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}

.dsbs-inline-editor-actions .dsbs-cancel-edit {
    background: rgba(148, 163, 184, .18);
}

.dsbs-inline-editor-status {
    min-height: 18px;
    font-size: 12px;
}

.dsbs-player,
.dsbs-player iframe {
    user-select: none;
    -webkit-user-select: none;
}

.dsbs-player [data-action*="theater" i],
.dsbs-player [data-action*="cinema" i],
.dsbs-player .theater-mode,
.dsbs-player .cinema-mode,
.dsbs-player .modo-cine,
.dsbs-player .quality-selector,
.dsbs-player .quality-menu,
.dsbs-player [data-quality],
.dsbs-player a[download],
.dsbs-player .download-video,
.dsbs-player [data-action*="download" i] {
    display: none !important;
}

.daar-short-video-page {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 56px;
}

.daar-short-video-header h1 {
    margin-bottom: 18px;
}


/* DaAr Stream Studio 0.5.0 — visual evolution */
.dsbs-studio{
    max-width:1280px;
}
.dsbs-studio-heading--hero{
    padding:28px;
    border:1px solid var(--dsbs-border);
    border-radius:24px;
    background:
        radial-gradient(circle at 88% 0,rgba(56,189,248,.12),transparent 18rem),
        linear-gradient(135deg,var(--dsbs-accent-soft),var(--dsbs-surface));
}
.dsbs-studio-heading--hero h2{font-size:clamp(1.75rem,3vw,2.8rem);letter-spacing:-.045em}
.dsbs-tabs{grid-template-columns:repeat(4,minmax(0,1fr));}
.dsbs-tab{border-radius:16px;min-height:78px}
.dsbs-panel{animation:dsbsPanelIn .24s ease}
@keyframes dsbsPanelIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.dsbs-upload-form,.dsbs-library-panel{padding:clamp(20px,3vw,34px);border-radius:24px}
.dsbs-form-title{padding-bottom:18px;border-bottom:1px solid var(--dsbs-border)}
.dsbs-dropzone{min-height:190px;border-radius:20px;background:linear-gradient(145deg,var(--dsbs-accent-soft),var(--dsbs-surface-soft))}
.dsbs-submit[data-mode="review"]{background:#164e63!important;color:#cffafe!important;cursor:default!important}
.dsbs-status-mini{letter-spacing:.01em}
.dsbs-library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.dsbs-library-card{overflow:hidden;border-radius:18px;box-shadow:0 12px 30px rgba(16,24,40,.06)}
.dsbs-library-thumb{aspect-ratio:16/9;background:linear-gradient(145deg,#161827,#0c0d14)}
.dsbs-content-actions{display:flex;flex-wrap:wrap;gap:8px}
.dsbs-content-actions a,.dsbs-content-actions button{border-radius:10px}
@media(max-width:900px){
    .dsbs-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
    .dsbs-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
    .dsbs-studio{margin:12px auto}
    .dsbs-studio-heading--hero{padding:20px;border-radius:20px}
    .dsbs-tabs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}
    .dsbs-tab{min-width:190px;scroll-snap-align:start}
    .dsbs-upload-form,.dsbs-library-panel{padding:18px;border-radius:20px}
    .dsbs-form-grid{grid-template-columns:1fr}
    .dsbs-library-grid{grid-template-columns:1fr}
}


/* ================================================================
   DaAr Stream Studio 0.5.2 — identidad visual propia
   Evita distintivos de terceros en la interfaz pública y mantiene
   las integraciones técnicas sin exponer sus marcas al creador.
   ================================================================ */
.dsbs-platform-identity {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 7px 13px 7px 8px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: #f3edff;
    background: rgba(255,255,255,.07);
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .01em;
    backdrop-filter: blur(14px);
}
.dsbs-platform-mark {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139,92,246,.28), rgba(34,211,238,.15));
}
.dsbs-platform-mark svg { width: 19px; height: 19px; fill: var(--dsbs-accent, #8b5cf6); }

.dsbs-player { position: relative; }
.dsbs-player-own-brand {
    position: absolute;
    z-index: 8;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 5px 9px 5px 6px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    color: #fff;
    background: rgba(4,5,10,.78);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    font-size: 12px;
    line-height: 1;
    pointer-events: none;
    backdrop-filter: blur(12px);
}
.dsbs-player-own-brand svg { width: 21px; height: 21px; fill: var(--dsbs-accent, #8b5cf6); }
.dsbs-player-own-brand b { font-weight: 800; white-space: nowrap; }

/* Escudo preventivo para logos inyectados por extensiones sociales dentro del Studio. */
.daar-stream-studio-shell .google-logo,
.daar-stream-studio-shell .youtube-logo,
.daar-stream-studio-shell .vimeo-logo,
.daar-stream-studio-shell .tiktok-logo,
.daar-stream-studio-shell .facebook-logo,
.daar-stream-studio-shell .instagram-logo,
.daar-stream-studio-shell .twitter-logo,
.daar-stream-studio-shell .x-logo,
.daar-stream-studio-shell .paypal-logo,
.daar-stream-studio-shell .stripe-logo,
.daar-stream-studio-shell .bunny-logo,
.daar-stream-studio-shell .external-provider-logo,
.daar-stream-studio-shell [data-provider-logo] {
    display: none !important;
}

@media (max-width: 640px) {
    .dsbs-platform-identity { min-height: 36px; padding: 6px 10px 6px 7px; font-size: 12px; }
    .dsbs-platform-mark { width: 24px; height: 24px; }
    .dsbs-platform-mark svg { width: 17px; height: 17px; }
    .dsbs-player-own-brand { top: 8px; left: 8px; padding-right: 7px; font-size: 10px; }
    .dsbs-player-own-brand svg { width: 18px; height: 18px; }
}

/* ================================================================
   DaAr Stream Studio 0.6.0 — publicación unificada y contenido editable
   ================================================================ */
.dsbs-publish-command{margin:18px 0 12px}
.dsbs-publish-command__button{
    width:100%;display:flex;align-items:center;gap:14px;min-height:72px;padding:14px 18px;
    border:1px solid color-mix(in srgb,var(--dsbs-accent) 44%,var(--dsbs-border));
    border-radius:18px;background:linear-gradient(135deg,var(--dsbs-accent-soft),var(--dsbs-surface));
    color:var(--dsbs-text);text-align:left;cursor:pointer;box-shadow:0 10px 28px rgba(16,24,40,.06)
}
.dsbs-publish-command__button:hover{transform:translateY(-1px)}
.dsbs-publish-command__button:focus-visible{outline:3px solid var(--dsbs-accent-soft);outline-offset:2px}
.dsbs-publish-command__icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:15px;background:linear-gradient(135deg,var(--dsbs-accent),var(--dsbs-accent-2));color:#fff;font-size:21px;font-weight:900}
.dsbs-publish-command__button>span:last-child{display:grid;gap:4px}
.dsbs-publish-command__button strong{font-size:17px}
.dsbs-publish-command__button small{color:var(--dsbs-muted);font-size:12px}
.dsbs-workspace-tabs{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:0}

.dsbs-writing-assistant{display:flex;align-items:center;gap:12px;padding:11px 13px;border:1px solid var(--dsbs-border);border-radius:12px;background:var(--dsbs-surface-soft)}
.dsbs-writing-review{flex:0 0 auto;min-height:38px;padding:8px 13px;border:0;border-radius:9px;background:var(--dsbs-accent-soft);color:var(--dsbs-accent);font:inherit;font-weight:800;cursor:pointer}
.dsbs-writing-status{color:var(--dsbs-muted);font-size:12px;line-height:1.45}

.dsbs-thumbnail-picker{padding:15px;border:1px solid var(--dsbs-border);border-radius:16px;background:var(--dsbs-surface-soft)}
.dsbs-thumbnail-picker__layout{display:grid;grid-template-columns:180px 1fr;gap:16px;align-items:center}
.dsbs-thumbnail-preview-shell{position:relative;display:grid;place-items:center;aspect-ratio:16/9;overflow:hidden;border:1px dashed color-mix(in srgb,var(--dsbs-accent) 42%,var(--dsbs-border));border-radius:12px;background:linear-gradient(145deg,var(--dsbs-accent-soft),var(--dsbs-surface))}
.dsbs-thumbnail-preview{width:100%;height:100%;object-fit:cover}
.dsbs-thumbnail-placeholder{font-size:30px;color:var(--dsbs-accent)}
.dsbs-thumbnail-picker__copy{display:grid;gap:7px}
.dsbs-thumbnail-picker__copy small{line-height:1.45}
.dsbs-thumbnail-picker__copy input[type=file]{width:100%;padding:8px;border:1px solid var(--dsbs-border);border-radius:10px;background:var(--dsbs-surface);color:var(--dsbs-text)}

.dsbs-library-heading{align-items:flex-start}
.dsbs-library-heading p{max-width:680px;margin:7px 0 0;color:var(--dsbs-muted);font-size:13px;line-height:1.5}
.dsbs-library-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.dsbs-view-switch{display:inline-flex;padding:3px;border:1px solid var(--dsbs-border);border-radius:11px;background:var(--dsbs-surface-soft)}
.dsbs-view-switch button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:7px 10px;border:0;border-radius:8px;background:transparent;color:var(--dsbs-muted);font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.dsbs-view-switch button.is-active{background:var(--dsbs-surface);color:var(--dsbs-accent);box-shadow:0 4px 12px rgba(16,24,40,.08)}

.dsbs-library-thumb-wrap{position:relative}
.dsbs-library-thumb{display:grid;place-items:center;width:100%;overflow:hidden;text-decoration:none}
.dsbs-library-thumb img{width:100%;height:100%;object-fit:cover}
.dsbs-card-menu-wrap{position:absolute;z-index:6;top:9px;right:9px}
.dsbs-card-menu-toggle{display:grid;place-items:center;width:38px;height:34px;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(5,7,12,.78);color:#fff;font:inherit;font-size:16px;font-weight:900;letter-spacing:1px;cursor:pointer;backdrop-filter:blur(10px);box-shadow:0 7px 20px rgba(0,0,0,.24)}
.dsbs-card-menu{position:absolute;top:40px;right:0;display:grid;min-width:150px;padding:6px;border:1px solid var(--dsbs-border);border-radius:12px;background:var(--dsbs-surface);box-shadow:0 18px 44px rgba(16,24,40,.18)}
.dsbs-card-menu[hidden]{display:none!important}
.dsbs-card-menu button{width:100%;padding:10px 11px;border:0;border-radius:8px;background:transparent;color:var(--dsbs-text);font:inherit;font-size:13px;font-weight:750;text-align:left;cursor:pointer}
.dsbs-card-menu button:hover,.dsbs-card-menu button:focus-visible{background:var(--dsbs-accent-soft);color:var(--dsbs-accent);outline:0}
.dsbs-card-menu .dsbs-delete-content{color:var(--dsbs-danger)}
.dsbs-card-title a{color:inherit;text-decoration:none}
.dsbs-card-title a:hover{text-decoration:underline}
.dsbs-card-date{margin-top:auto!important}

.dsbs-content-panel[data-dsbs-library-view="list"] .dsbs-content-grid{display:grid;grid-template-columns:1fr;gap:9px}
.dsbs-content-panel[data-dsbs-library-view="list"] .dsbs-library-card{display:grid;grid-template-columns:minmax(150px,220px) 1fr;min-height:124px}
.dsbs-content-panel[data-dsbs-library-view="list"] .dsbs-library-thumb-wrap{height:100%}
.dsbs-content-panel[data-dsbs-library-view="list"] .dsbs-library-thumb{height:100%;aspect-ratio:auto}
.dsbs-content-panel[data-dsbs-library-view="list"] .dsbs-library-body{display:flex;flex-direction:column;padding:15px 18px}
.dsbs-content-panel[data-dsbs-library-view="list"] .dsbs-library-meta{justify-content:flex-start;flex-wrap:wrap}
.dsbs-content-panel[data-dsbs-library-view="list"] .dsbs-card-title{margin:8px 0 5px;font-size:17px}

.dsbs-inline-editor input[type=file]{padding:8px}

@media(max-width:760px){
    .dsbs-workspace-tabs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:5px}
    .dsbs-workspace-tabs .dsbs-tab{min-width:155px;scroll-snap-align:start}
    .dsbs-library-heading{display:grid;gap:14px}
    .dsbs-library-toolbar{justify-content:space-between}
    .dsbs-thumbnail-picker__layout{grid-template-columns:1fr}
    .dsbs-thumbnail-preview-shell{max-width:280px}
    .dsbs-content-panel[data-dsbs-library-view="list"] .dsbs-library-card{grid-template-columns:118px 1fr;min-height:105px}
    .dsbs-content-panel[data-dsbs-library-view="list"] .dsbs-view-switch span{display:none}
}
@media(max-width:520px){
    .dsbs-publish-command__button{min-height:64px;padding:11px 13px}
    .dsbs-publish-command__icon{flex-basis:40px;width:40px;height:40px;border-radius:12px;font-size:18px}
    .dsbs-writing-assistant{align-items:flex-start;flex-direction:column}
    .dsbs-library-toolbar{align-items:stretch;flex-direction:column}
    .dsbs-view-switch{align-self:flex-start}
    .dsbs-content-panel[data-dsbs-library-view="list"] .dsbs-library-card{grid-template-columns:102px 1fr}
    .dsbs-content-panel[data-dsbs-library-view="list"] .dsbs-library-meta .dsbs-card-category{display:none}
}

/* Compatibilidad con el menú vertical del Creator Studio del theme. */
.daar-stream-studio-page [data-studio-tab="premieres"][hidden],
.daar-stream-studio-page [data-studio-tab="content"][hidden]{display:none!important}
.daar-stream-studio-page .dsbs-theme-upload-icon{display:inline-grid;place-items:center;min-width:22px;font-size:17px;font-weight:900}
