.streaming-shell,
.streaming-admin {
    display: grid;
    gap: 18px;
}

.streaming-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(13, 17, 23, 0.62);
    border-radius: 8px;
}

.streaming-header h2,
.streaming-panel h3 {
    margin: 0;
    line-height: 1.2;
}

.streaming-header p {
    max-width: 760px;
    margin: 8px 0 0;
    color: #c9d4df;
}

.streaming-reward-pill {
    min-width: 132px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #17202a;
    border: 1px solid rgba(106, 165, 255, 0.28);
    text-align: center;
}

.streaming-reward-pill span {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.streaming-reward-pill small,
.streaming-status,
.streaming-channel small,
.streaming-table small {
    color: #aeb8c2;
}

.streaming-grid {
    display: grid;
    gap: 18px;
}

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

.streaming-panel {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(10, 14, 20, 0.55);
    border-radius: 8px;
}

.streaming-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.streaming-live-list,
.streaming-channel-list {
    display: grid;
    gap: 12px;
}

.streaming-live-item,
.streaming-channel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.streaming-live-item strong,
.streaming-channel strong {
    display: block;
}

.streaming-live-item span,
.streaming-channel span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
}

.streaming-live-item p {
    margin: 8px 0 0;
    color: #d7dde4;
}

.streaming-rules {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 10px 16px;
    margin: 0;
}

.streaming-rules dt {
    color: #9fb7d5;
    font-weight: 700;
}

.streaming-rules dd {
    margin: 0;
}

.streaming-form-row {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}

.streaming-form-row label,
.streaming-toggle-group label {
    font-weight: 700;
}

.streaming-btn,
.streaming-icon-btn {
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
}

.streaming-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 13px;
    font-weight: 700;
}

.streaming-btn-primary {
    background: #3b82f6;
    color: #fff;
}

.streaming-btn-secondary {
    background: #243244;
    color: #e8eef5;
}

.streaming-icon-btn {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    background: #243244;
    color: #e8eef5;
}

.streaming-icon-danger {
    background: #5f2530;
}

.streaming-channel-main {
    min-width: 0;
}

.streaming-channel-main code {
    display: inline-block;
    margin: 7px 0 5px;
    padding: 3px 6px;
    border-radius: 5px;
    background: #101820;
    color: #f3d37a;
}

.streaming-channel-actions,
.streaming-action-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.streaming-channel-actions form,
.streaming-action-row form {
    margin: 0;
}

.streaming-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #253246;
    font-size: 12px;
    text-transform: uppercase;
}

.streaming-status-verified,
.streaming-status-paid,
.streaming-status-approved {
    background: #173f34;
    color: #b9f6d5;
}

.streaming-status-pending,
.streaming-status-manual_review {
    background: #473a18;
    color: #ffe1a1;
}

.streaming-status-failed,
.streaming-status-rejected,
.streaming-status-suspended {
    background: #512936;
    color: #ffc2cc;
}

.streaming-empty {
    padding: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: #c5ced8;
}

.streaming-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.streaming-table {
    width: 100%;
    border-collapse: collapse;
}

.streaming-table th,
.streaming-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

.streaming-table th {
    color: #9fb7d5;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
}

.streaming-table a {
    display: inline-block;
    margin-left: 8px;
}

.streaming-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.streaming-stats div {
    padding: 14px;
    border-radius: 8px;
    background: #17202a;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.streaming-stats strong {
    display: block;
    font-size: 24px;
}

.streaming-stats span {
    color: #aeb8c2;
}

.streaming-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.streaming-span-two {
    grid-column: span 2;
}

.streaming-toggle-group {
    display: grid;
    align-content: start;
    gap: 8px;
    margin-bottom: 12px;
}

.streaming-provider-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 8px 0 16px;
}

.streaming-provider-toggle {
    display: grid;
    gap: 3px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.streaming-provider-toggle input {
    width: 16px;
    height: 16px;
}

.streaming-provider-toggle span {
    font-weight: 700;
}

.streaming-provider-toggle small {
    color: #aeb8c2;
}

.streaming-mini-form {
    display: grid;
    grid-template-columns: 76px 72px minmax(120px, 1fr) auto;
    gap: 6px;
    margin-top: 8px;
}

.streaming-alert {
    margin-bottom: 14px;
}

@media (max-width: 992px) {
    .streaming-grid-two,
    .streaming-admin-grid,
    .streaming-provider-grid,
    .streaming-stats {
        grid-template-columns: 1fr;
    }

    .streaming-span-two {
        grid-column: span 1;
    }

    .streaming-header,
    .streaming-live-item,
    .streaming-channel {
        flex-direction: column;
        align-items: stretch;
    }

    .streaming-mini-form {
        grid-template-columns: 1fr;
    }

    .streaming-rules {
        grid-template-columns: 1fr;
    }
}
