:root {
    color-scheme: dark;
    --ks-bg: #06070d;
    --ks-surface: #0d1019;
    --ks-surface-2: #141824;
    --ks-surface-3: #1a2030;
    --ks-line: rgba(255, 255, 255, .09);
    --ks-line-strong: rgba(255, 255, 255, .16);
    --ks-text: #f8f9ff;
    --ks-muted: #929bad;
    --ks-purple: #8b5cf6;
    --ks-blue: #3b82f6;
    --ks-pink: #e879f9;
    --ks-green: #34d399;
    --ks-gold: #fbbf24;
    --ks-danger: #fb7185;
    --ks-shadow: 0 26px 80px rgba(0, 0, 0, .34);
}

html {
    scroll-behavior: smooth;
    background: var(--ks-bg);
}

.gdt-stream-body,
.gdt-stream-body * {
    box-sizing: border-box;
}

.gdt-stream-body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ks-text);
    background: var(--ks-bg);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gdt-stream-body a {
    color: inherit;
    text-decoration: none;
}

.gdt-stream-body button,
.gdt-stream-body input,
.gdt-stream-body select {
    font: inherit;
}

.gdt-stream-body select,
.gdt-stream-body input {
    color-scheme: dark;
}

.gdt-stream-body select option {
    color: #f8f9ff;
    background: #111521;
}

.gdt-stream-body svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

[hidden] {
    display: none !important;
}

.kstream-wrap {
    width: min(1220px, calc(100% - 32px));
    margin-inline: auto;
}

.kstream-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c4b5fd;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .18em;
}

.kstream-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.kstream-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid rgba(196, 181, 253, .2);
    border-radius: 999px;
    color: #e8e0ff;
    background: rgba(124, 58, 237, .13);
    font-size: 10px;
    font-weight: 850;
}

/* Header dan empat menu tetap. */
.gdt-stream-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid var(--ks-line);
    background: rgba(6, 7, 13, .86);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.gdt-stream-header__inner {
    display: flex;
    width: min(1220px, calc(100% - 32px));
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-inline: auto;
}

.gdt-stream-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}

.gdt-stream-brand__logo {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    color: #fff;
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .25), transparent 34%),
        linear-gradient(135deg, #7c3aed, #4f46e5 54%, #2563eb);
    box-shadow: 0 12px 30px rgba(89, 54, 216, .28);
    font-size: 22px;
    font-weight: 1000;
}

.gdt-stream-brand strong,
.gdt-stream-brand small {
    display: block;
}

.gdt-stream-brand strong {
    font-size: 17px;
    letter-spacing: -.04em;
    line-height: 1;
}

.gdt-stream-brand small {
    margin-top: 5px;
    color: rgba(255, 255, 255, .46);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
}

.gdt-stream-nav {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, .065);
    border-radius: 999px;
    background: rgba(255, 255, 255, .035);
}

.gdt-stream-nav a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    font-weight: 900;
    transition: .2s ease;
}

.gdt-stream-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.gdt-stream-nav a.is-active {
    border-color: rgba(255, 255, 255, .1);
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    box-shadow: 0 9px 24px rgba(75, 57, 210, .22);
}

.gdt-stream-nav svg {
    width: 17px;
    height: 17px;
}

.gdt-stream-mobile {
    display: none;
}

/* Hero mengikuti pola full-width Home Game. */
.kstream-home,
.kstream-catalog,
.kstream-library,
.kstream-detail {
    min-height: 100vh;
    background:
        radial-gradient(circle at 86% -5%, rgba(124, 58, 237, .16), transparent 33rem),
        radial-gradient(circle at 5% 26%, rgba(37, 99, 235, .08), transparent 29rem),
        var(--ks-bg);
}

.kstream-game-hero {
    position: relative;
    left: 50%;
    width: 100vw;
    min-height: clamp(430px, 58vw, 650px);
    margin-left: -50vw;
    overflow: hidden;
    background: #03050a;
}

.kstream-game-hero__slides,
.kstream-game-hero__slide {
    position: absolute;
    inset: 0;
}

.kstream-game-hero__slide {
    display: flex;
    align-items: flex-end;
    visibility: hidden;
    opacity: 0;
    background-color: #05070d;
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    transition: opacity .55s ease, visibility .55s ease;
}

.kstream-game-hero__slide.is-active {
    visibility: visible;
    opacity: 1;
}

.kstream-game-hero__backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 5, 10, .97) 0, rgba(3, 5, 10, .82) 42%, rgba(3, 5, 10, .22) 100%),
        linear-gradient(0deg, rgba(3, 5, 10, .98), transparent 68%),
        radial-gradient(circle at 15% 18%, rgba(139, 92, 246, .22), transparent 30%);
}

.kstream-game-hero__content {
    position: relative;
    z-index: 2;
    width: min(1220px, calc(100% - 32px));
    margin-inline: auto;
    padding: 54px 0 74px;
}

.kstream-game-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 9px 13px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    box-shadow: 0 14px 35px rgba(76, 52, 205, .24);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.kstream-game-hero__kicker svg {
    width: 15px;
    height: 15px;
}

.kstream-game-hero h1 {
    max-width: 850px;
    margin: 0 0 15px;
    color: #fff;
    font-size: clamp(42px, 7.2vw, 82px);
    font-weight: 950;
    letter-spacing: -.065em;
    line-height: .94;
    text-wrap: balance;
}

.kstream-game-hero__content > p {
    max-width: 680px;
    margin: 18px 0 23px;
    color: #d4d8e3;
    font-size: 14px;
    line-height: 1.7;
}

.kstream-hero-action {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    box-shadow: 0 14px 34px rgba(69, 62, 219, .22);
    font-size: 12px;
    font-weight: 950;
}

.kstream-hero-action svg {
    width: 17px;
    height: 17px;
}

.kstream-game-hero__dots {
    position: absolute;
    z-index: 5;
    bottom: 23px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 7px;
    transform: translateX(-50%);
}

.kstream-game-hero__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .3);
    cursor: pointer;
    transition: .2s;
}

.kstream-game-hero__dots button.is-active {
    width: 30px;
    background: #a78bfa;
}

.kstream-hero-empty {
    display: flex;
    width: min(1220px, calc(100% - 32px));
    min-height: 150px;
    align-items: center;
    gap: 16px;
    margin: 26px auto 0;
    padding: 24px;
    border: 1px dashed rgba(196, 181, 253, .2);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, .1), rgba(255, 255, 255, .025));
}

.kstream-hero-empty > span {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.kstream-hero-empty strong,
.kstream-hero-empty p {
    display: block;
}

.kstream-hero-empty p {
    margin: 4px 0 0;
    color: var(--ks-muted);
    font-size: 12px;
}

.kstream-home__sections {
    padding: 24px 0 74px;
}

.gdt-stream-section {
    margin-top: 42px;
}

.gdt-stream-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.gdt-stream-section__head h2 {
    margin: 5px 0 0;
    font-size: clamp(23px, 3vw, 30px);
    letter-spacing: -.04em;
}

.gdt-stream-section__head > a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid var(--ks-line);
    border-radius: 999px;
    color: #c8cedb;
    background: rgba(255, 255, 255, .035);
    font-size: 11px;
    font-weight: 850;
}

.gdt-stream-section__head > a:hover {
    border-color: rgba(139, 92, 246, .35);
    color: #fff;
}

.gdt-stream-section__head > a svg {
    width: 15px;
    height: 15px;
}

/* Mixed poster/landscape gallery. */
.gdt-stream-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 13px;
}

.gdt-stream-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ks-line);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--ks-surface-2), var(--ks-surface));
    box-shadow: 0 12px 34px rgba(0, 0, 0, .14);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.gdt-stream-card:hover {
    border-color: rgba(139, 92, 246, .34);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
    transform: translateY(-3px);
}

.gdt-stream-card.is-landscape {
    grid-column: span 2;
}

.gdt-stream-card__cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4.15;
    overflow: hidden;
    background: #111521;
}

.gdt-stream-card.is-landscape .gdt-stream-card__cover {
    aspect-ratio: 16 / 9;
}

.gdt-stream-card__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.gdt-stream-card__cover img.is-blurred {
    filter: blur(10px) brightness(.6) saturate(.82);
    transform: scale(1.08);
}

.gdt-stream-card:hover .gdt-stream-card__cover img {
    transform: scale(1.035);
}

.gdt-stream-card:hover .gdt-stream-card__cover img.is-blurred {
    transform: scale(1.11);
}

.gdt-stream-no-cover {
    display: grid !important;
    width: 100%;
    height: 100%;
    place-items: center;
    align-content: center;
    gap: 7px;
    color: #fff;
    background:
        radial-gradient(circle at 50% 35%, rgba(139, 92, 246, .29), transparent 45%),
        linear-gradient(155deg, #181429, #090b13);
}

.gdt-stream-no-cover svg {
    width: 52%;
    max-width: 90px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(124, 58, 237, .3));
}

.gdt-stream-no-cover small {
    color: rgba(255, 255, 255, .65);
    font-size: 9px;
    font-weight: 850;
}

.gdt-stream-card__episode,
.gdt-stream-card__exclusive {
    position: absolute;
    z-index: 2;
    bottom: 9px;
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    color: #fff;
    background: rgba(5, 7, 13, .82);
    backdrop-filter: blur(8px);
    font-size: 9px;
    font-weight: 900;
}

.gdt-stream-card__episode {
    right: 9px;
}

.gdt-stream-card__exclusive {
    left: 9px;
    color: #fff3c4;
    background: rgba(120, 74, 8, .75);
}

.gdt-stream-card__body {
    padding: 11px;
}

.gdt-stream-card__title {
    display: -webkit-box;
    min-height: 40px;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.gdt-stream-card.is-landscape .gdt-stream-card__title {
    min-height: 0;
    font-size: 14px;
}

/* Pilihan bentuk kartu milik pengunjung, disimpan lokal per browser. */
.kstream-view-tools {
    display: flex;
    justify-content: flex-end;
    margin: 18px 0 -8px;
}

.kstream-page-head__tools {
    display: grid;
    justify-items: end;
    gap: 9px;
}

.kstream-view-switch {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border: 1px solid var(--ks-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .035);
}

.kstream-view-switch > span {
    padding: 0 7px;
    color: var(--ks-muted);
    font-size: 9px;
    font-weight: 850;
}

.kstream-view-switch button {
    min-height: 30px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, .58);
    background: transparent;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
}

.kstream-view-switch button.is-active {
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.gdt-stream-view--poster .gdt-stream-card {
    grid-column: span 1;
}

.gdt-stream-view--poster .gdt-stream-card .gdt-stream-card__cover {
    aspect-ratio: 3 / 4.15;
}

.gdt-stream-view--landscape .gdt-stream-card {
    grid-column: span 2;
}

.gdt-stream-view--landscape .gdt-stream-card .gdt-stream-card__cover {
    aspect-ratio: 16 / 9;
}

.gdt-stream-view--landscape .gdt-stream-card .gdt-stream-card__title {
    min-height: 0;
    font-size: 14px;
}

.gdt-stream-card__title:hover {
    color: #c4b5fd;
}

.gdt-stream-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
    color: rgba(255, 255, 255, .5);
    font-size: 10px;
    font-weight: 800;
}

.gdt-stream-card__meta span + span::before {
    content: "•";
    margin-right: 6px;
    color: rgba(255, 255, 255, .24);
}

.gdt-stream-card__note {
    margin: 8px 0 0;
    padding-top: 8px;
    border-top: 1px solid var(--ks-line);
    color: #aeb5c4;
    font-size: 9px;
    line-height: 1.5;
}

.kstream-empty {
    grid-column: 1 / -1;
    display: grid;
    min-height: 170px;
    place-items: center;
    align-content: center;
    gap: 5px;
    padding: 30px;
    border: 1px dashed var(--ks-line-strong);
    border-radius: 18px;
    color: var(--ks-muted);
    text-align: center;
    background: rgba(255, 255, 255, .018);
}

.kstream-empty strong {
    color: #fff;
}

.kstream-empty span {
    font-size: 12px;
}

.kstream-empty a {
    margin-top: 10px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    font-size: 11px;
    font-weight: 850;
}

/* All Stream dan filter. */
.kstream-catalog,
.kstream-library {
    padding: 34px 0 88px;
}

.kstream-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    padding: 25px;
    border: 1px solid var(--ks-line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 0, rgba(124, 58, 237, .22), transparent 30%),
        linear-gradient(135deg, #10131f, #0c0e17);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .18);
}

.kstream-page-head h1 {
    margin: 5px 0 4px;
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: -.05em;
}

.kstream-page-head p {
    max-width: 650px;
    margin: 0;
    color: var(--ks-muted);
    font-size: 12px;
    line-height: 1.6;
}

.kstream-result-count {
    flex: 0 0 auto;
    padding: 8px 11px;
    border: 1px solid rgba(196, 181, 253, .18);
    border-radius: 999px;
    color: #e4ddff;
    background: rgba(124, 58, 237, .11);
    font-size: 10px;
    font-weight: 850;
}

.kstream-filter {
    margin-bottom: 20px;
}

.kstream-search {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) auto;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--ks-line-strong);
    border-radius: 15px;
    background: var(--ks-surface);
}

.kstream-search > span {
    display: grid;
    place-items: center;
    color: var(--ks-muted);
}

.kstream-search input {
    min-width: 0;
    height: 52px;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}

.kstream-search input::placeholder {
    color: #6f7788;
}

.kstream-search button,
.kstream-filter__actions button {
    min-height: 40px;
    margin-right: 6px;
    padding: 0 16px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.kstream-filter__panel {
    margin-top: 9px;
    border: 1px solid var(--ks-line);
    border-radius: 15px;
    background: var(--ks-surface);
}

.kstream-filter__panel summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    color: #d7dbe5;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.kstream-filter__panel summary::-webkit-details-marker {
    display: none;
}

.kstream-filter__panel summary svg:last-child {
    width: 17px;
    height: 17px;
    margin-left: auto;
    transition: transform .2s;
}

.kstream-filter__panel[open] summary svg:last-child {
    transform: rotate(180deg);
}

.kstream-filter__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    border-top: 1px solid var(--ks-line);
}

.kstream-filter__grid label {
    min-width: 0;
}

.kstream-filter__grid label > span {
    display: block;
    margin-bottom: 6px;
    color: var(--ks-muted);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.kstream-filter__grid select {
    width: 100%;
    height: 42px;
    border: 1px solid var(--ks-line);
    border-radius: 10px;
    outline: 0;
    color: #fff;
    background: #111521;
    font-size: 11px;
}

.kstream-filter__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 14px 14px;
}

.kstream-filter__actions a {
    color: var(--ks-muted);
    font-size: 11px;
    font-weight: 800;
}

.gdt-stream-row--catalog {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gdt-stream-pagination {
    margin-top: 28px;
}

.gdt-stream-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0;
}

.gdt-stream-pagination a,
.gdt-stream-pagination span {
    display: grid;
    min-width: 40px;
    min-height: 40px;
    place-items: center;
    padding: 0 10px;
    border: 1px solid var(--ks-line);
    border-radius: 11px;
    color: #fff;
    background: var(--ks-surface);
}

.gdt-stream-pagination .current {
    border-color: transparent;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
}

/* Library. */
.kstream-login-gate {
    display: grid;
    min-height: 360px;
    place-items: center;
    align-content: center;
    padding: 28px;
    border: 1px solid var(--ks-line);
    border-radius: 22px;
    background: var(--ks-surface);
    text-align: center;
}

.kstream-login-gate > span {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 19px;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.kstream-login-gate h2 {
    margin: 18px 0 5px;
}

.kstream-login-gate p {
    margin: 0;
    color: var(--ks-muted);
    font-size: 12px;
}

.kstream-login-gate a {
    margin-top: 18px;
    padding: 10px 15px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    font-size: 11px;
    font-weight: 900;
}

.kstream-library-tabs {
    display: inline-flex;
    gap: 5px;
    margin-bottom: 17px;
    padding: 5px;
    border: 1px solid var(--ks-line);
    border-radius: 999px;
    background: var(--ks-surface);
}

.kstream-library-tabs button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border: 0;
    border-radius: 999px;
    color: var(--ks-muted);
    background: transparent;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.kstream-library-tabs button.is-active {
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.kstream-library-tabs svg {
    width: 16px;
    height: 16px;
}

.kstream-library-tabs b {
    display: grid;
    min-width: 19px;
    height: 19px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 9px;
}

.kstream-library-panel {
    display: none;
}

.kstream-library-panel.is-active {
    display: block;
}

/* Detail. */
.kstream-detail {
    padding: 24px 0 88px;
}

.kstream-detail-hero {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border: 1px solid var(--ks-line);
    border-radius: 24px;
    background: var(--ks-surface);
    box-shadow: var(--ks-shadow);
}

.kstream-detail-hero__background {
    position: absolute;
    inset: 0;
    background-image: var(--detail-bg-image);
    background-position: center;
    background-size: cover;
    opacity: .65;
    transform: scale(1.035);
}

.kstream-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 22%, rgba(139, 92, 246, .26), transparent 34%),
        linear-gradient(90deg, rgba(4, 6, 11, .99), rgba(4, 6, 11, .84) 55%, rgba(4, 6, 11, .38)),
        linear-gradient(0deg, rgba(4, 6, 11, .98), transparent 62%);
}

.kstream-detail-hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    right: -90px;
    bottom: -130px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(196, 181, 253, .12);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, .18), transparent 68%);
    pointer-events: none;
}

.kstream-detail-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    min-height: 390px;
    padding: 34px;
}

.kstream-detail__poster {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4.15;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: #111521;
    box-shadow: 0 24px 65px rgba(0, 0, 0, .48), 0 0 0 5px rgba(124, 58, 237, .06);
}

.kstream-detail__poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kstream-detail__info {
    min-width: 0;
}

.kstream-detail__info h1 {
    max-width: 820px;
    margin: 7px 0 5px;
    font-size: clamp(34px, 5.3vw, 60px);
    font-weight: 950;
    letter-spacing: -.055em;
    line-height: 1;
    text-wrap: balance;
}

.kstream-alt {
    margin: 0 0 13px;
    color: #a9b0bf;
    font-size: 12px;
}

.kstream-detail__summary {
    display: -webkit-box;
    max-width: 760px;
    margin: 17px 0 0;
    overflow: hidden;
    color: #d2d6df;
    font-size: 13px;
    line-height: 1.72;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.kstream-detail__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 19px;
}

.kstream-detail__watch,
.kstream-detail__more {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border-radius: 11px;
    font-size: 10px;
    font-weight: 900;
    transition: transform .2s, border-color .2s, filter .2s;
}

.kstream-detail__watch {
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    box-shadow: 0 12px 28px rgba(79, 70, 229, .26);
}

.kstream-detail__watch svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.kstream-detail__more {
    border: 1px solid rgba(255, 255, 255, .15);
    color: #e9e7ff;
    background: rgba(10, 14, 24, .55);
    backdrop-filter: blur(8px);
}

.kstream-detail__watch:hover,
.kstream-detail__more:hover {
    color: #fff;
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.kstream-detail__poster {
    position: relative;
}

.kstream-detail__poster.is-blurred img {
    filter: blur(16px) brightness(.58) saturate(.82);
    transform: scale(1.06);
}

.kstream-detail__quick {
    display: grid;
    max-width: 710px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 13px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(9px);
}

.kstream-detail__quick > span {
    min-width: 0;
    padding: 10px 12px;
    background: rgba(7, 10, 18, .66);
}

.kstream-detail__quick small,
.kstream-detail__quick strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kstream-detail__quick small {
    color: #8f9aae;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.kstream-detail__quick strong {
    margin-top: 3px;
    color: #fff;
    font-size: 10px;
}

.kstream-detail-actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.kstream-detail-actions__save button,
.kstream-detail-actions__save > a {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    gap: 11px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(180deg, rgba(17, 21, 33, .98), rgba(11, 14, 24, .98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    font-size: 12px;
    cursor: pointer;
    transition: .2s;
}

.kstream-detail-actions__save button:hover,
.kstream-detail-actions__save > a:hover {
    border-color: rgba(139, 92, 246, .45);
    transform: translateY(-1px);
}

.kstream-detail-actions__save button.is-saved {
    border-color: rgba(124, 58, 237, .45);
    background: linear-gradient(180deg, rgba(38, 22, 73, .96), rgba(14, 17, 31, .98));
}

.kstream-detail-actions__save button:disabled {
    opacity: .65;
    cursor: wait;
}

.kstream-save-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    color: #d8d2ff;
    background: rgba(124, 58, 237, .16);
}

.kstream-detail-actions__save button.is-saved .kstream-save-icon {
    color: #fff;
    background: linear-gradient(135deg, rgba(124, 58, 237, .88), rgba(37, 99, 235, .7));
}

.kstream-save-icon svg {
    width: 19px;
    height: 19px;
}

.kstream-save-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
    text-align: left;
}

.kstream-save-copy strong,
.kstream-save-copy small {
    display: block;
}

.kstream-save-copy strong {
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.kstream-save-copy small {
    color: var(--ks-muted);
    font-size: 9px;
    font-weight: 800;
    line-height: 1.4;
}

.kstream-last-watch {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 11px;
    padding: 10px 15px;
    border: 1px solid var(--ks-line);
    border-radius: 15px;
    background: var(--ks-surface);
}

.kstream-last-watch > span {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 11px;
    color: #c4b5fd;
    background: rgba(124, 58, 237, .12);
}

.kstream-last-watch small,
.kstream-last-watch strong,
.kstream-last-watch a {
    display: block;
}

.kstream-last-watch small {
    margin-bottom: 3px;
    color: var(--ks-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.kstream-last-watch strong,
.kstream-last-watch a {
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.kstream-last-watch a:hover {
    color: #c4b5fd;
}

.kstream-gate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 13px;
    padding: 14px 16px;
    border: 1px solid rgba(251, 191, 36, .25);
    border-radius: 15px;
    background: rgba(120, 74, 8, .11);
}

.kstream-gate strong {
    display: block;
    color: #ffefbb;
}

.kstream-gate p {
    margin: 3px 0 0;
    color: #c5bda8;
    font-size: 11px;
}

.kstream-gate > a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border-radius: 999px;
    color: #161006;
    background: #fbbf24;
    font-size: 10px;
    font-weight: 950;
}

.kstream-detail-tabs {
    display: inline-flex;
    gap: 5px;
    margin: 22px 0 17px;
    padding: 5px;
    border: 1px solid var(--ks-line);
    border-radius: 14px;
    background: var(--ks-surface);
}

.kstream-detail-tabs button {
    display: inline-flex;
    min-height: 41px;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
    border: 0;
    border-radius: 10px;
    color: var(--ks-muted);
    background: transparent;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.kstream-detail-tabs button.is-active {
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.kstream-detail-tabs b {
    display: grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
    font-size: 9px;
}

.kstream-tab {
    display: none;
}

.kstream-tab.is-active {
    display: block;
}

.kstream-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 13px;
}

.kstream-section-head h2 {
    margin: 4px 0 0;
    font-size: 25px;
    letter-spacing: -.04em;
}

.kstream-section-head > span {
    color: var(--ks-muted);
    font-size: 10px;
}

.kstream-episode-list {
    display: grid;
    gap: 9px;
}

.kstream-episode {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ks-line);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(18, 24, 38, .96), rgba(9, 13, 23, .98));
    box-shadow: 0 9px 28px rgba(0, 0, 0, .12);
    scroll-margin-top: 92px;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}

.kstream-episode::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(#7c3aed, #2563eb);
    opacity: 0;
    transition: opacity .2s;
}

.kstream-episode:hover {
    border-color: rgba(139, 92, 246, .24);
    transform: translateY(-1px);
    box-shadow: 0 13px 34px rgba(0, 0, 0, .18);
}

.kstream-episode.is-open,
.kstream-episode.is-last-watched {
    border-color: rgba(139, 92, 246, .38);
}

.kstream-episode.is-open::before,
.kstream-episode.is-last-watched::before {
    opacity: 1;
}

.kstream-episode__toggle {
    display: grid;
    width: 100%;
    grid-template-columns: 48px minmax(0, 1fr) auto 26px;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 0;
    color: #fff;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.kstream-episode__toggle:hover {
    background: rgba(255, 255, 255, .025);
}

.kstream-episode__number {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(139, 92, 246, .25);
    border-radius: 13px;
    color: #ddd6fe;
    background: linear-gradient(145deg, rgba(124, 58, 237, .2), rgba(37, 99, 235, .1));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    font-size: 11px;
    font-weight: 950;
}

.kstream-episode__copy {
    min-width: 0;
}

.kstream-episode__copy strong,
.kstream-episode__copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kstream-episode__copy strong {
    font-size: 13px;
}

.kstream-episode__copy small {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    margin-top: 5px;
    padding: 3px 7px;
    border-radius: 999px;
    color: #aeb8c9;
    background: rgba(255, 255, 255, .045);
    font-size: 8px;
}

.kstream-episode__status {
    padding: 6px 9px;
    border: 1px solid rgba(139, 92, 246, .16);
    border-radius: 999px;
    color: #d9d0ff;
    background: rgba(124, 58, 237, .1);
    font-size: 9px;
    font-weight: 850;
}

.kstream-episode.is-last-watched .kstream-episode__status {
    border-color: rgba(52, 211, 153, .2);
    color: #9ff2d2;
    background: rgba(16, 185, 129, .1);
}

.kstream-episode__chevron {
    color: var(--ks-muted);
    transition: transform .2s;
}

.kstream-episode.is-open .kstream-episode__chevron {
    color: #c4b5fd;
    transform: rotate(180deg);
}

.kstream-episode__chevron svg {
    width: 18px;
    height: 18px;
}

.kstream-episode__body {
    padding: 3px 14px 14px 74px;
    border-top: 1px solid var(--ks-line);
    background: linear-gradient(180deg, rgba(124, 58, 237, .035), rgba(255, 255, 255, .012));
}

.kstream-link-group {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding-top: 12px;
}

.kstream-link-group > strong {
    padding-top: 8px;
    color: var(--ks-muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.kstream-link-group > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.kstream-link-group--servers > div {
    max-height: 160px;
    overflow: auto;
}

.kstream-link-group button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(139, 92, 246, .23);
    border-radius: 9px;
    color: #fff;
    background: var(--ks-surface-3);
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.kstream-link-group button:hover:not(:disabled) {
    border-color: #8b5cf6;
    background: #251c3d;
}

.kstream-link-group button:disabled {
    opacity: .42;
    cursor: not-allowed;
}

.kstream-none {
    padding: 8px 0;
    color: var(--ks-muted);
    font-size: 10px;
}

.kstream-info-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 13px;
}

.kstream-info-description,
.kstream-info-list {
    border: 1px solid var(--ks-line);
    border-radius: 17px;
    background: var(--ks-surface);
}

.kstream-info-description {
    padding: 21px;
}

.kstream-info-description h2 {
    margin: 5px 0 15px;
    font-size: 24px;
    letter-spacing: -.035em;
}

.kstream-info-description > div {
    color: #c8ced9;
    font-size: 13px;
    line-height: 1.8;
}

.kstream-info-description > div > :first-child {
    margin-top: 0;
}

.kstream-info-list {
    overflow: hidden;
}

.kstream-info-list > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--ks-line);
}

.kstream-info-list > div:last-child {
    border-bottom: 0;
}

.kstream-info-list span {
    color: var(--ks-muted);
    font-size: 10px;
}

.kstream-info-list strong {
    max-width: 60%;
    color: #fff;
    font-size: 10px;
    text-align: right;
}

.kstream-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.kstream-genres a {
    padding: 7px 10px;
    border: 1px solid var(--ks-line);
    border-radius: 999px;
    color: #ddd6fe;
    background: rgba(124, 58, 237, .07);
    font-size: 9px;
    font-weight: 850;
}

.kstream-recommendations {
    margin-top: 10px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.kstream-toast {
    position: fixed;
    z-index: 1500;
    right: 18px;
    bottom: 18px;
    max-width: min(420px, calc(100% - 36px));
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 12px;
    color: #fff;
    background: #1c1730;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .42);
    font-size: 11px;
    font-weight: 750;
}

/* Taxonomy tetap konsisten dengan All Stream. */
.gdt-stream-tax-head {
    margin-bottom: 20px;
    padding: 24px;
    border: 1px solid var(--ks-line);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, .14), var(--ks-surface));
}

.gdt-stream-tax-head h1 {
    margin: 5px 0;
    font-size: clamp(31px, 5vw, 48px);
    letter-spacing: -.05em;
}

.gdt-stream-tax-head div {
    color: var(--ks-muted);
}

/* Footer. */
.gdt-stream-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px max(16px, calc((100vw - 1220px) / 2)) 104px;
    border-top: 1px solid var(--ks-line);
    color: var(--ks-muted);
    background: #05060b;
}

.gdt-stream-footer strong,
.gdt-stream-footer span {
    display: block;
}

.gdt-stream-footer strong {
    margin-bottom: 4px;
    color: #fff;
    font-size: 13px;
}

.gdt-stream-footer span {
    font-size: 10px;
}

.gdt-stream-footer > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #c4b5fd;
    font-size: 10px;
    font-weight: 850;
}

.gdt-stream-footer > a svg {
    width: 15px;
    height: 15px;
}


/* Stream privacy settings: no public explanatory badge is drawn over the artwork. */
body.gdt-stream-blur-cover .gdt-stream-card__cover img,
body.gdt-stream-blur-cover .kstream-detail__poster img {
    filter: blur(12px) brightness(.68) saturate(.82) !important;
    transform: scale(1.06);
}
body.gdt-stream-blur-background .kstream-game-hero__slide,
body.gdt-stream-blur-background .kstream-detail-hero__background {
    filter: blur(16px) brightness(.65) saturate(.82) !important;
    transform: scale(1.055);
}
body.gdt-stream-blur-title .gdt-stream-card__title,
body.gdt-stream-blur-title .kstream-detail__info h1,
body.gdt-stream-blur-title .kstream-game-hero h1 {
    filter: blur(7px) !important;
    user-select: none;
}
.gdt-stream-card__title.is-blurred,
.kstream-detail__info h1.is-blurred {
    filter: blur(7px);
    user-select: none;
}

.kstream-settings-page{min-height:100vh;padding:34px 0 94px;background:var(--ks-bg)}
.kstream-settings-wrap{width:min(980px,calc(100% - 28px));margin:auto}
.kstream-settings-hero{margin-bottom:18px;padding:27px 28px;border:1px solid var(--ks-line);border-radius:24px;background:linear-gradient(135deg,#111728,#17233a)}
.kstream-settings-hero h1{display:flex;align-items:center;gap:12px;margin:0;color:#fff;font-size:clamp(30px,5vw,46px);letter-spacing:-.045em}
.kstream-settings-hero h1 svg{width:32px;height:32px;fill:#ffd66b}
.kstream-settings-hero p{max-width:760px;margin:11px 0 0;color:#c6cbd7;font-size:13px;line-height:1.7}
.kstream-settings-panel{padding:20px;border:1px solid var(--ks-line);border-radius:24px;background:#101421}
.kstream-settings-grid{display:grid;gap:14px}
.kstream-settings-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:rgba(255,255,255,.04)}
.kstream-settings-item h3{display:flex;align-items:center;gap:9px;margin:0 0 6px;color:#fff;font-size:17px}
.kstream-settings-item h3 svg{width:18px;height:18px;fill:currentColor}
.kstream-settings-item p{margin:0;color:rgba(255,255,255,.58);font-size:13px;line-height:1.6}
.kstream-settings-switch{position:relative;display:inline-flex;width:68px;height:38px;flex:0 0 auto}
.kstream-settings-switch input{position:absolute;opacity:0;pointer-events:none}
.kstream-settings-switch i{position:absolute;inset:0;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.14);cursor:pointer;transition:.22s}
.kstream-settings-switch i::before{content:"";position:absolute;top:3px;left:3px;width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.25);transition:.22s}
.kstream-settings-switch input:checked+i{border-color:rgba(255,214,107,.5);background:#ffd66b}
.kstream-settings-switch input:checked+i::before{transform:translateX(30px);background:#15110a}
.kstream-settings-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px}
.kstream-settings-footer button,.kstream-settings-notice a{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:8px;padding:0 16px;border:0;border-radius:999px;color:#15110a;background:#ffd66b;font-size:12px;font-weight:950;text-decoration:none;cursor:pointer}
.kstream-settings-footer button svg{width:18px;height:18px;fill:currentColor}
.kstream-settings-footer button:disabled{opacity:.65;cursor:wait}
.kstream-settings-message{display:none;padding:11px 13px;border-left:3px solid #8b5cf6;border-radius:14px;color:#d8d2ff;background:rgba(139,92,246,.12);font-size:12px;font-weight:800}
.kstream-settings-message.is-show{display:block}.kstream-settings-message.is-error{border-left-color:#ef4444;color:#fecaca;background:rgba(239,68,68,.12)}
.kstream-settings-notice{display:grid;justify-items:center;gap:7px;padding:30px;border:1px solid rgba(255,255,255,.08);border-radius:20px;color:rgba(255,255,255,.7);background:rgba(255,255,255,.04);text-align:center}
.kstream-settings-notice strong{color:#fff;font-size:18px}.kstream-settings-notice span{font-size:13px}.kstream-settings-notice a{margin-top:8px}

@media (max-width: 1080px) {
    .gdt-stream-row,
    .gdt-stream-row--catalog {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .kstream-filter__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .gdt-stream-nav {
        display: none;
    }

    .gdt-stream-mobile {
        position: fixed;
        z-index: 1300;
        right: 12px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        left: 12px;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 3px;
        padding: 6px;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 23px;
        background: rgba(7, 9, 16, .93);
        box-shadow: 0 20px 55px rgba(0, 0, 0, .5);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .gdt-stream-mobile a {
        display: grid;
        min-width: 0;
        min-height: 49px;
        place-items: center;
        align-content: center;
        gap: 4px;
        border-radius: 17px;
        color: rgba(255, 255, 255, .55);
        font-size: 9px;
        font-weight: 900;
    }

    .gdt-stream-mobile a.is-active {
        color: #fff;
        background: linear-gradient(135deg, rgba(124, 58, 237, .95), rgba(37, 99, 235, .95));
    }

    .gdt-stream-mobile svg {
        width: 18px;
        height: 18px;
    }

    .gdt-stream-row,
    .gdt-stream-row--catalog {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .kstream-detail-hero__grid {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .kstream-info-layout {
        grid-template-columns: 1fr;
    }

    .gdt-stream-footer {
        padding-bottom: 112px;
    }
}

@media (max-width: 640px) {
    .kstream-wrap,
    .gdt-stream-header__inner {
        width: min(100% - 20px, 1220px);
    }

    .gdt-stream-header__inner {
        min-height: 60px;
    }

    .gdt-stream-brand__logo {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        font-size: 19px;
    }

    .gdt-stream-brand strong {
        font-size: 15px;
    }

    .gdt-stream-brand small {
        display: none;
    }

    .kstream-game-hero {
        min-height: 430px;
    }

    .kstream-game-hero__backdrop {
        background:
            linear-gradient(90deg, rgba(3, 5, 10, .94), rgba(3, 5, 10, .56)),
            linear-gradient(0deg, rgba(3, 5, 10, .98), rgba(3, 5, 10, .2) 72%);
    }

    .kstream-game-hero__content {
        width: calc(100% - 26px);
        padding: 42px 0 58px;
    }

    .kstream-game-hero h1 {
        max-width: 94%;
        font-size: clamp(35px, 12vw, 53px);
    }

    .kstream-game-hero__content > p {
        display: -webkit-box;
        max-width: 94%;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.55;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .kstream-home__sections {
        padding-top: 9px;
        padding-bottom: 104px;
    }

    .gdt-stream-section {
        margin-top: 31px;
    }

    .gdt-stream-section__head {
        align-items: center;
    }

    .gdt-stream-section__head h2 {
        font-size: 21px;
    }

    .gdt-stream-section__head > a {
        min-height: 34px;
        padding: 0 10px;
        font-size: 9px;
    }

    .gdt-stream-row {
        display: flex;
        gap: 9px;
        margin-right: -10px;
        padding-right: 10px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .gdt-stream-row::-webkit-scrollbar {
        display: none;
    }

    .gdt-stream-card {
        width: 145px;
        min-width: 145px;
        flex: 0 0 145px;
        border-radius: 15px;
        scroll-snap-align: start;
    }

    .gdt-stream-card.is-landscape {
        width: 264px;
        min-width: 264px;
        flex-basis: 264px;
    }

    .gdt-stream-view--poster .gdt-stream-row:not(.gdt-stream-row--catalog) .gdt-stream-card {
        width: 145px;
        min-width: 145px;
        flex-basis: 145px;
    }

    .gdt-stream-view--landscape .gdt-stream-row:not(.gdt-stream-row--catalog) .gdt-stream-card {
        width: 264px;
        min-width: 264px;
        flex-basis: 264px;
    }

    .gdt-stream-card__body {
        padding: 9px;
    }

    .gdt-stream-card__title {
        min-height: 37px;
        font-size: 12px;
    }

    .gdt-stream-card.is-landscape .gdt-stream-card__title {
        font-size: 13px;
    }

    .gdt-stream-card__exclusive {
        display: none;
    }

    .kstream-catalog,
    .kstream-library,
    .kstream-detail {
        padding: 14px 0 112px;
    }

    .kstream-page-head {
        display: block;
        margin-bottom: 14px;
        padding: 18px;
        border-radius: 17px;
    }

    .kstream-page-head h1 {
        font-size: 34px;
    }

    .kstream-result-count {
        display: inline-flex;
        margin-top: 12px;
    }

    .kstream-search {
        grid-template-columns: 40px minmax(0, 1fr) auto;
    }

    .kstream-search input {
        height: 48px;
        font-size: 12px;
    }

    .kstream-search button {
        min-height: 36px;
        padding: 0 12px;
    }

    .kstream-filter__grid {
        grid-template-columns: 1fr 1fr;
    }

    .gdt-stream-row--catalog {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    .gdt-stream-row--catalog .gdt-stream-card {
        width: auto;
        min-width: 0;
        flex: initial;
    }

    .gdt-stream-row--catalog .gdt-stream-card.is-landscape {
        grid-column: 1 / -1;
        width: auto;
        min-width: 0;
    }

    .gdt-stream-view--poster .gdt-stream-row--catalog .gdt-stream-card {
        grid-column: auto;
    }

    .gdt-stream-view--landscape .gdt-stream-row--catalog .gdt-stream-card {
        grid-column: 1 / -1;
    }

    .kstream-page-head__tools {
        justify-items: start;
        margin-top: 12px;
    }

    .kstream-page-head__tools .kstream-result-count {
        margin-top: 0;
    }

    .kstream-view-tools {
        justify-content: flex-start;
        margin-top: 14px;
    }

    .kstream-library-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        border-radius: 14px;
    }

    .kstream-library-tabs button {
        justify-content: center;
        border-radius: 10px;
    }

    .kstream-detail-hero {
        min-height: 0;
        border-radius: 18px;
    }

    .kstream-detail-hero__grid {
        grid-template-columns: 105px minmax(0, 1fr);
        align-items: start;
        gap: 13px;
        min-height: 0;
        padding: 16px;
    }

    .kstream-detail__poster {
        border-radius: 13px;
    }

    .kstream-detail__info h1 {
        margin-top: 5px;
        font-size: 23px;
        line-height: 1.05;
    }

    .kstream-alt {
        margin-bottom: 8px;
        font-size: 10px;
    }

    .kstream-badges {
        gap: 4px;
    }

    .kstream-badges span {
        min-height: 22px;
        padding: 0 7px;
        font-size: 8px;
    }

    .kstream-detail__summary {
        grid-column: 1 / -1;
        margin-top: 11px;
        font-size: 11px;
        line-height: 1.55;
        -webkit-line-clamp: 3;
    }

    .kstream-detail__cta,
    .kstream-detail__quick {
        grid-column: 1 / -1;
    }

    .kstream-detail__cta {
        display: grid;
        grid-template-columns: 1.25fr .75fr;
        width: 100%;
        margin-top: 12px;
    }

    .kstream-detail__watch,
    .kstream-detail__more {
        min-height: 39px;
        padding: 0 10px;
        font-size: 9px;
    }

    .kstream-detail__quick {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 10px;
    }

    .kstream-detail__quick > span {
        padding: 8px 10px;
    }

    .kstream-detail-actions {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 9px;
    }

    .kstream-detail-actions__save button,
    .kstream-detail-actions__save > a {
        width: 100%;
        min-height: 50px;
    }

    .kstream-last-watch {
        min-height: 50px;
    }

    .kstream-gate {
        display: block;
    }

    .kstream-gate > a {
        display: inline-flex;
        margin-top: 10px;
    }

    .kstream-detail-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        margin: 15px 0 13px;
    }

    .kstream-detail-tabs button {
        justify-content: center;
    }

    .kstream-section-head h2 {
        font-size: 21px;
    }

    .kstream-section-head > span {
        display: none;
    }

    .kstream-episode__toggle {
        grid-template-columns: 42px minmax(0, 1fr) 20px;
        gap: 9px;
        padding: 10px;
    }

    .kstream-episode__number {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .kstream-episode__status {
        display: none;
    }

    .kstream-episode__copy small {
        max-width: 100%;
    }

    .kstream-episode__body {
        padding: 3px 11px 12px;
    }

    .kstream-link-group {
        grid-template-columns: 1fr;
        gap: 5px;
        padding-top: 11px;
    }

    .kstream-link-group > strong {
        padding-top: 0;
    }

    .kstream-info-description {
        padding: 16px;
    }

    .kstream-info-description h2 {
        font-size: 20px;
    }

    .kstream-info-description > div {
        font-size: 12px;
    }

    .kstream-info-list strong {
        max-width: 58%;
    }

    .kstream-recommendations .gdt-stream-row {
        display: flex;
    }

    .kstream-toast {
        right: 12px;
        bottom: 86px;
        left: 12px;
        max-width: none;
    }

    .gdt-stream-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px 14px 108px;
    }
}

@media (max-width: 380px) {
    .kstream-filter__grid {
        grid-template-columns: 1fr;
    }

    .gdt-stream-card {
        width: 137px;
        min-width: 137px;
        flex-basis: 137px;
    }

    .gdt-stream-card.is-landscape {
        width: 248px;
        min-width: 248px;
        flex-basis: 248px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .kstream-game-hero__slide,
    .gdt-stream-card,
    .gdt-stream-card__cover img {
        transition: none !important;
    }
}

@media(max-width:640px){.kstream-settings-page{padding:22px 0 88px}.kstream-settings-wrap{width:min(100% - 18px,980px)}.kstream-settings-hero{padding:20px;border-radius:20px}.kstream-settings-panel{padding:13px;border-radius:20px}.kstream-settings-item{grid-template-columns:1fr;padding:16px}.kstream-settings-footer{align-items:stretch;flex-direction:column}.kstream-settings-footer button{width:100%}}
