/* ===== CARA BERMAIN V4: clean manual, bukan template AI ===== */
    :root {
        --cb-red: #dc0000;
        --cb-red-dark: #7f0000;
        --cb-bg: #050b14;
        --cb-panel: #0b1421;
        --cb-panel-2: #0f1a29;
        --cb-line: rgba(255, 255, 255, .10);
        --cb-line-red: rgba(220, 0, 0, .38);
        --cb-text: #f5f7fb;
        --cb-muted: #aeb7c6;
        --cb-soft: #d7dde8;
        --cb-radius: 5px;
    }

    html body .pageheader.blues {
        background: linear-gradient(90deg, var(--cb-red-dark), var(--cb-red)) !important;
        border: 0 !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .32) !important;
    }

    html body .pageheader.blues h2 {
        color: #fff !important;
        font-weight: 800 !important;
        letter-spacing: .2px !important;
        text-transform: none !important;
    }

    html body .pageheader.blues h2 i {
        color: #7f0000 !important;
    }

    html body .section.margin-top {
        margin-top: 0 !important;
        padding-top: 24px !important;
        padding-bottom: 38px !important;
    }

    html body .section.margin-top>.container {
        width: min(1220px, calc(100% - 28px)) !important;
        max-width: 1220px !important;
    }

    html body .blog-posts,
    html body .blog-posts .row,
    html body .blog-posts .col-md-12 {
        color: var(--cb-text) !important;
    }

    /* hide template lama ketika V4 aktif */
    html body.cb-manual-ready .tabdrop,
    html body.cb-manual-ready .blog-posts>.row>.col-md-12>.row:first-child,
    html body.cb-manual-ready .blog-posts>.row>.col-md-12>hr.blog-divider:first-child,
    html body.cb-manual-ready .blog-posts>.row>.col-md-12>hr.blog-divider:nth-of-type(2) {
        display: none !important;
    }

    .cb-manual-shell {
        position: relative;
        isolation: isolate;
        font-family: inherit;
        color: var(--cb-text);
    }

    .cb-manual-shell * {
        box-sizing: border-box;
    }

    .cb-manual-head {
        position: relative;
        overflow: hidden;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 18px;
        align-items: end;
        padding: 24px;
        margin: 0 0 16px;
        border: 1px solid var(--cb-line-red);
        border-radius: var(--cb-radius);
        background:
            radial-gradient(circle at 10% 0%, rgb(183 0 0), transparent 30%), linear-gradient(135deg, rgb(127 0 0), rgb(81 0 0 / 96%) 52%, rgb(65 0 0 / 96%));
        box-shadow: 0 18px 48px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
    }

    .cb-manual-head:after {
        content: "";
        position: absolute;
        inset: auto 24px 0;
        height: 2px;
        background: linear-gradient(90deg, var(--cb-red), transparent);
        opacity: .75;
    }

    .cb-kicker {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
        color: #ffcccc;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    .cb-kicker:before {
        content: "";
        width: 34px;
        height: 2px;
        border-radius: 99px;
        background: gold;
    }

    .cb-manual-title {
        margin: 0 !important;
        color: #fff !important;
        font-size: clamp(24px, 3.2vw, 42px) !important;
        line-height: 1.05 !important;
        font-weight: 900 !important;
        letter-spacing: -.03em !important;
        text-transform: none !important;
    }

    .cb-manual-desc {
        max-width: 720px;
        margin: 10px 0 0 !important;
        color: var(--cb-soft) !important;
        font-size: 15px !important;
        line-height: 1.7 !important;
    }

    .cb-head-stats {
        display: grid;
        grid-template-columns: repeat(2, 108px);
        gap: 10px;
    }

    .cb-stat {
        min-height: 82px;
        padding: 14px 12px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .055);
        border: 1px solid rgba(255, 255, 255, .10);
        text-align: left;
    }

    .cb-stat strong {
        display: block;
        color: #fff;
        font-size: 28px;
        line-height: 1;
        font-weight: 900;
    }

    .cb-stat span {
        display: block;
        margin-top: 8px;
        color: var(--cb-muted);
        font-size: 12px;
        font-weight: 700;
    }

    .cb-manual-grid {
        display: grid;
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 16px;
        align-items: start;
    }

    .cb-manual-sidebar {
        position: sticky;
        top: 82px;
        display: grid;
        gap: 12px;
    }

    .cb-search-box,
    .cb-category-box {
        background: rgb(147 0 0);
        border: 1px solid var(--cb-line);
        border-radius: var(--cb-radius);
        box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
    }

    .cb-search-box {
        padding: 14px;
    }

    .cb-search-label {
        display: block;
        margin-bottom: 8px;
        color: var(--cb-muted);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .cb-search-wrap {
        position: relative;
    }

    .cb-search-wrap:before {
        content: "";
        position: absolute;
        left: 13px;
        top: 50%;
        width: 13px;
        height: 13px;
        transform: translateY(-50%);
        border: 2px solid rgba(255, 255, 255, .52);
        border-radius: 50%;
    }

    .cb-search-wrap:after {
        content: "";
        position: absolute;
        left: 25px;
        top: 57%;
        width: 7px;
        height: 2px;
        transform: rotate(45deg);
        background: rgba(255, 255, 255, .52);
        border-radius: 99px;
    }

    .cb-search-input {
        width: 100% !important;
        height: 44px !important;
        padding: 0 14px 0 42px !important;
        border: 1px solid gold !important;
        border-radius: 5px !important;
        background: #5b0000 !important;
        color: #fff !important;
        outline: none !important;
        box-shadow: none !important;
        font-size: 14px !important;
    }

    .cb-search-input:focus {
        border-color: rgba(220, 0, 0, .72) !important;
        box-shadow: 0 0 0 3px rgba(220, 0, 0, .14) !important;
    }

    .cb-category-box {
        padding: 8px;
    }

    .cb-cat-btn {
        width: 100%;
        appearance: none;
        border: 0;
        background: transparent;
        color: var(--cb-muted);
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px;
        align-items: center;
        padding: 13px 13px;
        border-radius: 5px;
        text-align: left;
        cursor: pointer;
        font: inherit;
        font-size: 14px;
        font-weight: 800;
        transition: background .2s ease, color .2s ease, transform .2s ease;
    }

    .cb-cat-btn+.cb-cat-btn {
        margin-top: 4px;
    }

    .cb-cat-btn:hover {
        background: var(--cb-red-dark);
        color: #fff;
    }

    .cb-cat-btn.is-active {
        color: #fff;
        background: linear-gradient(90deg, var(--cb-red-dark), var(--cb-red));
        box-shadow: 0 8px 22px rgba(220, 0, 0, .24);
        border: 1px solid gold;
    }

    .cb-cat-btn span:last-child {
        min-width: 30px;
        padding: 3px 8px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .10);
        text-align: center;
        font-size: 12px;
    }

    .cb-manual-main {
        min-width: 0;
    }

    .cb-index-card {
        padding: 16px;
        margin-bottom: 16px;
        border-radius: var(--cb-radius);
        border: 1px solid var(--cb-line);
        background: rgb(105 0 0);
        box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
    }

    .cb-section-title-row {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 12px;
    }

    .cb-section-title-row h3 {
        margin: 0 !important;
        color: #fff !important;
        font-size: 18px !important;
        line-height: 1.2 !important;
        font-weight: 900 !important;
        letter-spacing: -.01em !important;
        text-transform: none !important;
    }

    .cb-section-title-row p {
        margin: 4px 0 0 !important;
        color: var(--cb-muted) !important;
        font-size: 13px !important;
    }

    .cb-total-count {
        white-space: nowrap;
        color: #ffcccc;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .cb-game-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
    }

    .cb-game-link {
        position: relative;
        min-height: 48px;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 13px;
        border: 1px solid gold;
        border-radius: 5px;
        color: var(--cb-soft) !important;
        background: linear-gradient(180deg, #7f0000, #dc0000);
        text-decoration: none !important;
        font-size: 14px;
        font-weight: 800;
        cursor: pointer;
        overflow: hidden;
        transition: border-color .2s ease, background .2s ease, color .2s ease, transform .18s ease;
    }

    .cb-game-link:before {
        content: "";
        flex: 0 0 auto;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .30);
        box-shadow: 0 0 0 4px rgba(255, 255, 255, .045);
    }

    .cb-game-link:hover {
        color: #fff !important;
        border-color: gold;
        background: linear-gradient(180deg, #dc0000, #7f0000);
        transform: translateY(-1px);
    }

    .cb-game-link.is-active {
        color: #fff !important;
        border-color: gold;
        background: linear-gradient(90deg, #dc0000, #7f0000);
    }

    .cb-game-link.is-active:before {
        background: #fff;
        box-shadow: 0 0 0 4px rgba(220, 0, 0, .28);
    }

    .cb-game-link.is-hidden {
        display: none !important;
    }

    .cb-empty-state {
        display: none;
        padding: 18px;
        border: 1px dashed rgba(255, 255, 255, .16);
        border-radius: 12px;
        color: var(--cb-muted);
        text-align: center;
    }

    .cb-empty-state.is-show {
        display: block;
    }

    .cb-content-card {
        border: 1px solid var(--cb-line);
        border-radius: var(--cb-radius);
        overflow: hidden;
        background: #080808;
        box-shadow: 0 18px 46px rgba(0, 0, 0, .32);
    }

    .cb-content-topbar {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        align-items: center;
        min-height: 58px;
        padding: 14px 18px;
        border-bottom: 1px solid var(--cb-line);
        background: linear-gradient(90deg, rgb(207 0 0), rgb(95 0 0 / 96%));
    }

    .cb-current-label {
        color: #ffcccc;
        font-size: 11px;
        font-weight: 900;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .cb-current-title {
        margin-top: 2px;
        color: #fff;
        font-size: 18px;
        font-weight: 900;
        line-height: 1.2;
    }

    .cb-topbar-note {
        color: var(--cb-muted);
        font-size: 12px;
        font-weight: 700;
        text-align: right;
    }

    html body.cb-manual-ready .tab-content {
        width: 100% !important;
        float: none !important;
        padding: 22px !important;
        margin: 0 !important;
        color: var(--cb-text) !important;
        background: transparent !important;
    }

    html body.cb-manual-ready .tab-content .tab-pane {
        color: var(--cb-text) !important;
        background: transparent !important;
        padding: 0 !important;
        border: 0 !important;
    }

    html body.cb-manual-ready .tab-content .tab-pane:not(.active) {
        display: none !important;
    }

    html body.cb-manual-ready .tab-content h1,
    html body.cb-manual-ready .tab-content h2,
    html body.cb-manual-ready .tab-content h3,
    html body.cb-manual-ready .tab-content h4,
    html body.cb-manual-ready .tab-content h5 {
        color: #fff !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        line-height: 1.25 !important;
    }

    html body.cb-manual-ready .tab-content h4.uppercase.no-top-margin {
        display: block !important;
        margin: 0 0 14px !important;
        padding: 0 0 12px !important;
        border-bottom: 1px solid rgba(220, 0, 0, .42) !important;
        color: #fff !important;
        font-size: 22px !important;
        font-weight: 900 !important;
    }

    html body.cb-manual-ready .tab-content h4.uppercase.no-top-margin strong,
    html body.cb-manual-ready .tab-content h4.uppercase.no-top-margin font {
        color: #ff0707 !important;
    }

    html body.cb-manual-ready .tab-content p,
    html body.cb-manual-ready .tab-content li,
    html body.cb-manual-ready .tab-content span,
    html body.cb-manual-ready .tab-content div {
        color: #edf2fb !important;
        font-size: 15px !important;
        line-height: 1.75 !important;
    }

    html body.cb-manual-ready .tab-content a {
        color: #ff0707 !important;
        font-weight: 800 !important;
    }

    html body.cb-manual-ready .tab-content ol,
    html body.cb-manual-ready .tab-content ul {
        padding-left: 21px !important;
        margin: 12px 0 16px !important;
    }

    html body.cb-manual-ready .tab-content li {
        margin-bottom: 6px !important;
    }

    html body.cb-manual-ready .tab-content hr.blog-divider,
    html body.cb-manual-ready .tab-content hr {
        border-color: rgba(255, 255, 255, .13) !important;
    }

    html body.cb-manual-ready .tab-content img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, .10) !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, .24) !important;
    }

    html body.cb-manual-ready .tab-content table {
        width: 100% !important;
        max-width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        overflow: hidden !important;
        border: 1px solid rgba(255, 255, 255, .14) !important;
        border-radius: 12px !important;
        background: #fff !important;
        color: #111 !important;
    }

    html body.cb-manual-ready .tab-content table th,
    html body.cb-manual-ready .tab-content table td {
        border: 1px solid rgba(0, 0, 0, .16) !important;
        color: #111 !important;
        padding: 10px !important;
    }

    html body.cb-manual-ready .tab-content table p,
    html body.cb-manual-ready .tab-content table li,
    html body.cb-manual-ready .tab-content table span,
    html body.cb-manual-ready .tab-content table div {
        color: #111 !important;
    }

    .cb-float-tools {
        position: fixed;
        right: 18px;
        bottom: 18px;
        z-index: 999;
        display: flex;
        gap: 8px;
    }

    .cb-tool-btn {
        width: 42px;
        height: 42px;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 50%;
        background: linear-gradient(180deg, var(--cb-red), var(--cb-red-dark));
        color: #fff;
        font-weight: 900;
        cursor: pointer;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
    }

    @media (max-width:991px) {
        html body .section.margin-top>.container {
            width: min(100% - 18px, 760px) !important;
        }

        .cb-manual-head {
            grid-template-columns: 1fr;
            padding: 18px;
        }

        .cb-head-stats {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .cb-manual-grid {
            grid-template-columns: 1fr;
        }

        .cb-manual-sidebar {
            position: relative;
            top: auto;
        }

        .cb-category-box {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .cb-cat-btn+.cb-cat-btn {
            margin-top: 0;
        }

        .cb-game-list {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .cb-content-topbar {
            align-items: flex-start;
            flex-direction: column;
        }

        .cb-topbar-note {
            text-align: left;
        }
    }

    @media (max-width:560px) {
        .cb-manual-head {
            border-radius: 13px;
        }

        .cb-manual-desc {
            font-size: 13px !important;
        }

        .cb-game-list {
            grid-template-columns: 1fr;
        }

        .cb-category-box {
            grid-template-columns: 1fr;
        }

        html body.cb-manual-ready .tab-content {
            padding: 16px !important;
        }

        html body.cb-manual-ready .tab-content p,
        html body.cb-manual-ready .tab-content li,
        html body.cb-manual-ready .tab-content span,
        html body.cb-manual-ready .tab-content div {
            font-size: 14px !important;
        }

        .cb-float-tools {
            right: 12px;
            bottom: 12px;
        }
    }