.ddt-twitch-status {
    --ddt-bg: #0c1118;
    --ddt-panel: #121a24;
    --ddt-border: rgba(255,255,255,.10);
    --ddt-text: #f3f6f9;
    --ddt-muted: #8e9baa;
    --ddt-twitch: #9146ff;
    --ddt-green: #3ddc84;
    --ddt-red: #ff5d6c;
    width: 100%;
    color: var(--ddt-text);
    font-family: inherit;
}

.ddt-twitch-card {
    overflow: hidden;
    background: linear-gradient(145deg, #111925 0%, var(--ddt-bg) 100%);
    border: 1px solid var(--ddt-border);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(0,0,0,.22);
}

.ddt-twitch-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 26px;
    border-bottom: 1px solid var(--ddt-border);
}

.ddt-twitch-eyebrow {
    margin-bottom: 4px;
    color: var(--ddt-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.ddt-twitch-title {
    margin: 0;
    color: var(--ddt-text);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.05;
}

.ddt-twitch-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--ddt-border);
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ddt-twitch-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ddt-muted); }
.ddt-twitch-live-badge.is-online .ddt-twitch-dot { background: var(--ddt-green); box-shadow: 0 0 0 4px rgba(61,220,132,.12); }
.ddt-twitch-live-badge.is-idle .ddt-twitch-dot { background: var(--ddt-muted); }
.ddt-twitch-live-badge.is-offline .ddt-twitch-dot { background: var(--ddt-red); box-shadow: 0 0 0 4px rgba(255,93,108,.12); }

.ddt-twitch-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid var(--ddt-border);
}

.ddt-twitch-stat { padding: 20px 24px; border-right: 1px solid var(--ddt-border); }
.ddt-twitch-stat:last-child { border-right: 0; }
.ddt-twitch-stat-label { display: block; margin-bottom: 7px; color: var(--ddt-muted); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.ddt-twitch-stat strong { display: block; color: var(--ddt-text); font-size: 21px; }

.ddt-twitch-meta { padding: 11px 24px; border-bottom: 1px solid var(--ddt-border); color: var(--ddt-muted); font-size: 12px; }
.ddt-twitch-streams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 22px 24px 24px; }

.ddt-twitch-streamer {
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--ddt-border);
    border-radius: 12px;
    background: rgba(0,0,0,.12);
}

.ddt-twitch-streamer.is-live { border-color: rgba(145,70,255,.42); }
.ddt-twitch-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #090d13; }
.ddt-twitch-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .2s ease; }
.ddt-twitch-thumb:hover img { transform: scale(1.02); }
.ddt-twitch-preview-live { position: absolute; top: 10px; left: 10px; padding: 4px 7px; border-radius: 4px; background: #e91916; color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.ddt-twitch-thumb-offline { display: grid; place-items: center; }
.ddt-twitch-offline-art { color: var(--ddt-muted); font-size: 12px; font-weight: 900; letter-spacing: .16em; }

.ddt-twitch-stream-body { padding: 15px; }
.ddt-twitch-user-row { display: flex; align-items: center; gap: 10px; }
.ddt-twitch-avatar { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; background: var(--ddt-panel); }
.ddt-twitch-user-copy { min-width: 0; flex: 1; }
.ddt-twitch-user-copy strong, .ddt-twitch-user-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ddt-twitch-user-copy strong { color: var(--ddt-text); font-size: 14px; }
.ddt-twitch-user-copy span { margin-top: 2px; color: var(--ddt-muted); font-size: 11px; }
.ddt-twitch-state { flex: 0 0 auto; padding: 4px 7px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--ddt-muted); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.ddt-twitch-state.is-live { background: rgba(145,70,255,.16); color: #b991ff; }

.ddt-twitch-stream-title { margin-top: 13px; overflow: hidden; color: var(--ddt-text); font-size: 14px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ddt-twitch-stream-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; color: var(--ddt-muted); font-size: 11px; }
.ddt-twitch-watch { display: inline-flex; align-items: center; justify-content: center; margin-top: 14px; padding: 9px 12px; border-radius: 8px; background: var(--ddt-twitch); color: #fff !important; text-decoration: none !important; font-size: 11px; font-weight: 900; letter-spacing: .06em; transition: filter .15s ease, transform .15s ease; }
.ddt-twitch-watch:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ddt-twitch-empty { grid-column: 1 / -1; padding: 28px 20px; border: 1px solid var(--ddt-border); border-radius: 10px; color: var(--ddt-muted); text-align: center; }

@media (max-width: 760px) {
    .ddt-twitch-header { align-items: flex-start; padding: 20px; }
    .ddt-twitch-stat { padding: 17px 18px; }
    .ddt-twitch-meta { padding-left: 18px; padding-right: 18px; }
    .ddt-twitch-streams { grid-template-columns: 1fr; padding: 18px; }
}

@media (max-width: 460px) {
    .ddt-twitch-header { flex-direction: column; }
    .ddt-twitch-live-badge { align-self: flex-start; }
    .ddt-twitch-summary { grid-template-columns: 1fr; }
    .ddt-twitch-stat { border-right: 0; border-bottom: 1px solid var(--ddt-border); }
    .ddt-twitch-stat:last-child { border-bottom: 0; }
}
