body.activeplayer-twitch-single { max-width: 100%; overflow-x: hidden; background: #0e0e10 !important; }
.activeplayer-twitch-single .jeg_header_wrapper { position: relative !important; z-index: 1000 !important; }
.activeplayer-twitch-single .jeg_header_sticky,
.activeplayer-twitch-single .jeg_navbar_mobile_wrapper { z-index: 1000 !important; }

.twitch-single {
    --tw-purple: #9146ff;
    --tw-purple-soft: #bf94ff;
    --tw-pink: #e91989;
    --tw-ink: #0e0e10;
    --tw-panel: #18181b;
    --tw-panel-2: #1f1f23;
    --tw-line: #303038;
    min-height: 100vh;
    overflow: hidden;
    background: var(--tw-ink);
    color: #dedee3;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.twitch-single-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.twitch-single-hero { position: relative; isolation: isolate; overflow: hidden; padding: 32px 0 64px; border-bottom: 1px solid #33254a; background: radial-gradient(circle at 82% 16%, rgba(233,25,137,.2), transparent 29%), linear-gradient(120deg, #15111f, #251345 52%, #5c16c5); }
.twitch-single-hero::before { position: absolute; z-index: -1; top: -260px; right: -90px; width: 650px; height: 650px; border: 95px solid rgba(255,255,255,.045); border-radius: 50%; content: ""; }
.twitch-single-hero__pixels { position: absolute; z-index: -1; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent 10%, #000 70%); }
.twitch-single-breadcrumb { display: flex; gap: 9px; margin-bottom: 45px; overflow: hidden; color: #aca1bd; font-size: 12px; white-space: nowrap; }
.twitch-single-breadcrumb a { color: #e9e4ef !important; text-decoration: none !important; }
.twitch-single-breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; }
.twitch-single-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: end; gap: 64px; }
.twitch-single-hero__copy { min-width: 0; }
.twitch-single-eyebrow { margin: 0 0 9px !important; color: var(--tw-purple-soft) !important; font-size: 11px !important; font-weight: 900 !important; letter-spacing: .17em !important; text-transform: uppercase; }
.twitch-single-eyebrow i { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 2px; background: #eb2f96; box-shadow: 0 0 14px rgba(235,47,150,.8); }
.twitch-single-hero h1 { max-width: 860px; margin: 0 !important; color: #fff !important; font-size: clamp(40px, 5.8vw, 70px) !important; font-weight: 950 !important; letter-spacing: -.05em !important; line-height: .98 !important; }
.twitch-single-hero__intro { max-width: 780px; margin: 23px 0 0 !important; color: #d0c8dd !important; font-size: clamp(16px, 2vw, 19px) !important; line-height: 1.7 !important; }
.twitch-single-hero__intro { overflow-wrap: anywhere; }
.twitch-single-hero__signals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.twitch-single-hero__signals span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; background: rgba(14,14,16,.28); color: #eee9f5; font-size: 10px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.twitch-single-monitor { overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(14,14,16,.84); box-shadow: 18px 18px 0 rgba(14,14,16,.34); }
.twitch-single-monitor__top { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-bottom: 1px solid #3b3148; background: #21172f; color: #cfc4da; font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.twitch-single-monitor__top i { width: 8px; height: 8px; border-radius: 50%; background: #eb2f96; }
.twitch-single-monitor__top b { margin-left: auto; color: #675d71; font-size: 8px; letter-spacing: 4px; }
.twitch-single-monitor dl { display: grid; gap: 1px; margin: 0; background: #332a3c; }
.twitch-single-monitor dl div { padding: 15px 18px; background: #151218; }
.twitch-single-monitor dt { color: #8f8499; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.twitch-single-monitor dd { margin: 5px 0 0; overflow-wrap: anywhere; color: #fff; font-size: 17px; font-weight: 900; }
.twitch-single-monitor dl div:first-child dd { color: var(--tw-purple-soft); font-size: 23px; }

.twitch-single-nav { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid #2c2c31; background: rgba(14,14,16,.97); backdrop-filter: blur(14px); }
.admin-bar .twitch-single-nav { top: 32px; }
.twitch-single-nav .twitch-single-shell { display: flex; min-height: 56px; overflow-x: auto; }
.twitch-single-nav a { position: relative; padding: 20px 20px 15px; color: #adadb8 !important; font-size: 12px; font-weight: 800; text-decoration: none !important; white-space: nowrap; }
.twitch-single-nav a:first-child { padding-left: 0; color: #fff !important; }
.twitch-single-nav a::after { position: absolute; right: 20px; bottom: 0; left: 20px; height: 3px; background: transparent; content: ""; }
.twitch-single-nav a:first-child::after { left: 0; background: var(--tw-purple); }
.twitch-single-nav a:hover { color: #fff !important; }

.twitch-single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 42px; max-width: 100%; padding-block: 56px 82px; }
.twitch-single-layout > * { min-width: 0; }
.twitch-single-content { width: 100%; min-width: 0; max-width: 100%; overflow: hidden; }
.twitch-single-content__header { margin-bottom: 25px; padding-bottom: 23px; border-bottom: 1px solid var(--tw-line); }
.twitch-single-content__header h2 { margin: 0 !important; color: #fff !important; font-size: clamp(28px, 4vw, 42px) !important; font-weight: 900 !important; letter-spacing: -.04em !important; line-height: 1.08 !important; }
.twitch-single-content__header > p:last-child { max-width: 720px; margin: 14px 0 0 !important; color: #9f9faa !important; font-size: 14px !important; line-height: 1.7 !important; }
.twitch-single-entry > p:first-child { margin-top: 0 !important; padding: 13px 15px; border-left: 3px solid var(--tw-purple); background: #18181b; color: #b6b6c0 !important; font-size: 13px !important; line-height: 1.65 !important; }
.twitch-single-entry,
.twitch-single-entry .activeplayer-stats-container,
.twitch-single-entry .ap-twitch-statistics-ultimate,
.twitch-single-entry .ap-twitch-statistics-ultimate > section { min-width: 0 !important; max-width: 100% !important; }
.twitch-single-entry { width: 100%; overflow: hidden; }
.twitch-single-entry .activeplayer-stats-container { width: 100%; margin: 0; }
.twitch-single-entry .ap-twitch-statistics-ultimate,
.twitch-single-entry .ap-twitch-statistics-ultimate > section,
.twitch-single-entry .ap-twitch-hero-content { width: 100% !important; }
.twitch-single-entry .ap-twitch-statistics-ultimate h2,
.twitch-single-entry .ap-twitch-statistics-ultimate h3,
.twitch-single-entry .ap-twitch-statistics-ultimate p { overflow-wrap: anywhere; white-space: normal; }

.twitch-single-sidebar { position: sticky; top: 78px; overflow: hidden; border: 1px solid var(--tw-line); border-radius: 9px; background: var(--tw-panel); box-shadow: 0 16px 45px rgba(0,0,0,.25); }
.admin-bar .twitch-single-sidebar { top: 110px; }
.twitch-single-sidebar__heading { padding: 22px 20px 18px; border-bottom: 1px solid var(--tw-line); background: linear-gradient(135deg, #21172f, #18181b); }
.twitch-single-sidebar__heading h2 { margin: 0 !important; color: #fff !important; font-size: 24px !important; font-weight: 900 !important; letter-spacing: -.03em !important; line-height: 1.1 !important; }
.twitch-single-sidebar__heading > p:last-child { margin: 10px 0 0 !important; color: #a5a0ad !important; font-size: 12px !important; line-height: 1.6 !important; }
.twitch-single-related { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.twitch-single-related li { margin: 0 !important; border-bottom: 1px solid var(--tw-line); }
.twitch-single-related a { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; gap: 12px; padding: 13px 15px; color: inherit !important; text-decoration: none !important; transition: background .16s ease; }
.twitch-single-related a:hover { background: var(--tw-panel-2); }
.twitch-single-related__media { display: block; width: 62px; height: 62px; overflow: hidden; border-radius: 5px; background: linear-gradient(135deg, #2d1550, var(--tw-purple)); }
.twitch-single-related__media img { width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: cover; }
.twitch-single-related__media b { display: grid; height: 100%; place-items: center; color: rgba(255,255,255,.8); font-size: 24px; }
.twitch-single-related__copy { min-width: 0; }
.twitch-single-related__copy small,
.twitch-single-related__copy strong,
.twitch-single-related__copy em { display: block; }
.twitch-single-related__copy small { margin-bottom: 3px; color: var(--tw-purple-soft); font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.twitch-single-related__copy strong { overflow: hidden; color: #eeeef1; font-size: 12px; font-weight: 800; line-height: 1.35; text-overflow: ellipsis; }
.twitch-single-related__copy em { margin-top: 5px; color: #8f8f99; font-size: 9px; font-style: normal; font-weight: 750; }
.twitch-single-related a:hover strong,
.twitch-single-related a:hover em { color: var(--tw-purple-soft); }
.twitch-single-directory-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 20px; background: #21152f; color: #fff !important; text-decoration: none !important; }
.twitch-single-directory-link small,
.twitch-single-directory-link strong { display: block; }
.twitch-single-directory-link small { margin-bottom: 4px; color: var(--tw-purple-soft); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.twitch-single-directory-link strong { font-size: 12px; line-height: 1.4; }
.twitch-single-directory-link > b { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border-radius: 5px; background: var(--tw-purple); }

@media (max-width: 1020px) {
    .twitch-single-hero__grid { grid-template-columns: 1fr; gap: 36px; }
    .twitch-single-monitor { max-width: 560px; }
    .twitch-single-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 25px; }
}
@media (max-width: 820px) {
    .twitch-single-layout { grid-template-columns: 1fr; }
    .twitch-single-sidebar { position: static; }
    .twitch-single-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .twitch-single-related li:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 680px) {
    .twitch-single-shell { width: min(calc(100% - 28px), 1240px); }
    .twitch-single-hero { padding: 25px 0 48px; }
    .twitch-single-breadcrumb { margin-bottom: 34px; }
    .twitch-single-hero h1 { font-size: 41px !important; }
    .twitch-single-nav .twitch-single-shell { width: 100%; padding-inline: 14px; }
    .twitch-single-nav a { padding-right: 13px; padding-left: 13px; }
    .twitch-single-nav a:first-child { padding-left: 0; }
    .twitch-single-layout { padding-block: 42px 60px; }
    .twitch-single-entry .ap-twitch-hero-content { width: 100%; min-width: 0; max-width: 100%; }
    .twitch-single-entry .ap-twitch-stat-card { grid-template-columns: 1fr; width: 100%; min-width: 0; }
    .twitch-single-entry .ap-twitch-stat-label { text-align: left; }
    .twitch-single-entry .ap-twitch-stats-table { max-width: 100%; overflow-x: auto; }
    .twitch-single-related { grid-template-columns: 1fr; }
    .twitch-single-related li:nth-last-child(2) { border-bottom: 1px solid var(--tw-line); }
}
@media (max-width: 782px) { .admin-bar .twitch-single-nav { top: 46px; } }
@media (prefers-reduced-motion: reduce) { .twitch-single-related a { transition: none; } }
