/* ============================================================
   KELASTOTO — Design System (tema merah premium ala mawartoto)
   Update v9 (2026-09-29): palet emas -> merah (#ec1d23), latar
   gelap merah, toast lebih kecil. Muat SETELAH style-main.css.
   ============================================================ */

:root {
    --kt-gold-1: #ff5f66;
    --kt-gold-2: #ec1d23;
    --kt-gold-3: #b30f1a;
    --kt-gold-grad: linear-gradient(135deg, #ff6b6b 0%, #ec1d23 45%, #b30f1a 100%);
    --kt-glass: rgba(255, 255, 255, .05);
    --kt-glass-brd: rgba(255, 255, 255, .12);
    --kt-ink: #160304;
    --kt-radius: 16px;
}

/* ---------- latar dasar gelap merah ---------- */
body {
    background: linear-gradient(180deg, #2b0507 0%, #1c0304 45%, #120203 100%) !important;
    background-attachment: fixed;
}
.bg-custom {
    background: linear-gradient(180deg, rgba(43, 5, 7, .92), rgba(28, 3, 4, .94)) !important;
}
header,
section.site-header {
    background: #1c0304 !important;
}
.bg-footer {
    background: linear-gradient(180deg, #160304 0%, #0d0102 100%) !important;
}

body,
h1, h2, h3, h4, h5, h6,
.btn,
.nav-link {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #1c0304; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ff6b6b, #b30f1a); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #ff8a8f, #e01a20); }

/* ---------- reveal on scroll ---------- */
.kt-js .kt-reveal {
    opacity: 0;
    transform: translateY(26px) scale(.985);
    transition: opacity .7s ease var(--kt-d, 0s),
        transform .7s cubic-bezier(.16, .84, .3, 1) var(--kt-d, 0s);
    will-change: opacity, transform;
}
.kt-js .kt-reveal.kt-in { opacity: 1; transform: none; }

/* ---------- judul section (legend fieldset & heading) ---------- */
fieldset legend h2,
fieldset legend h3,
.kt-sec-title {
    background: var(--kt-gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    font-size: 1.05rem;
    display: inline-block;
}
fieldset legend a:hover h2,
fieldset legend a:hover h3 { text-decoration: none; }

/* panel fieldset jadi glass */
fieldset.type-container,
.group-container,
.provider-container {
    background: rgba(41, 0, 0, .55) !important;
    border: 1px solid rgba(236, 29, 35, .22) !important;
    border-radius: var(--kt-radius) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .38), 0 0 24px rgba(236, 29, 35, .05);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ---------- jackpot counter ---------- */
.jackpot-wrapper > span.count-jack,
#counter1 {
    background: linear-gradient(180deg, #ffe9e9 0%, #ff6b6b 38%, #ec1d23 62%, #8f0d14 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: kt-jackglow 2.6s ease-in-out infinite;
}
@keyframes kt-jackglow {
    0%, 100% { filter: drop-shadow(0 2px 8px rgba(255, 80, 86, .35)); }
    50% { filter: drop-shadow(0 2px 24px rgba(255, 107, 107, .8)); }
}
.progressive-jackpot { transition: transform .35s ease, filter .35s ease; }
.progressive-jackpot:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .5));
    box-shadow: none;
}

/* ---------- kartu login (home mobile) ---------- */
.kt-login-card {
    position: relative;
    overflow: hidden;
    background: var(--kt-glass);
    border: 1px solid var(--kt-glass-brd);
    border-radius: var(--kt-radius);
    padding: 20px 14px 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.kt-login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    background: var(--kt-gold-grad);
    border-radius: 2px;
}
.kt-login-card .form-control {
    background: rgba(0, 0, 0, .38) !important;
    border: 1px solid var(--kt-glass-brd) !important;
    color: #fff !important;
    border-radius: 10px !important;
    height: 44px;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.kt-login-card .form-control:focus {
    border-color: var(--kt-gold-1) !important;
    box-shadow: 0 0 0 3px rgba(236, 29, 35, .2) !important;
    background: rgba(0, 0, 0, .55) !important;
    color: #fff !important;
}
.kt-login-card ::placeholder { color: rgba(255, 255, 255, .55) !important; opacity: 1 !important; }
.kt-login-card .btn {
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: .4px;
    border: 0 !important;
    height: 44px;
    transition: transform .18s, box-shadow .25s, filter .25s, background .25s;
}
.kt-login-card .btn-success {
    background: var(--kt-gold-grad) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(236, 29, 35, .4);
}
.kt-login-card .btn-success:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(236, 29, 35, .5);
}
.kt-login-card .btn-primary {
    background: rgba(255, 95, 102, .08) !important;
    color: var(--kt-gold-1) !important;
    border: 1px solid rgba(236, 29, 35, .55) !important;
}
.kt-login-card .btn-primary:hover {
    background: rgba(255, 95, 102, .16) !important;
    transform: translateY(-2px);
}

/* ---------- tombol global: gradasi merah + glow ---------- */
.btn-success {
    background: var(--kt-gold-grad) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(236, 29, 35, .35);
    transition: transform .18s, box-shadow .25s, filter .25s;
}
.btn-success:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(236, 29, 35, .5);
}
.btn-primary {
    background: linear-gradient(135deg, #3b0709, #5c0d10) !important;
    border: 1px solid rgba(236, 29, 35, .5) !important;
    color: #ffd7d9 !important;
    font-weight: 600;
    transition: transform .18s, box-shadow .25s, filter .25s;
}
.btn-primary:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 29, 35, .35);
}

/* ---------- kartu game ---------- */
.game-item {
    position: relative;
    overflow: hidden;
    background: var(--kt-glass);
    border: 1px solid var(--kt-glass-brd);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.game-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 95, 102, .5);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .5), 0 0 0 1px rgba(236, 29, 35, .25), 0 0 26px rgba(236, 29, 35, .3);
}
.game-item img.gamertpimg,
.game-item img.gamenormalimg {
    opacity: 1;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.game-item:hover img.gamertpimg,
.game-item:hover img.gamenormalimg { transform: scale(1.07); }
.game-item img.gamertpimg { border-radius: 12px 12px 0 0 !important; }
.game-item img.gamenormalimg { border-radius: 12px !important; }

/* matikan glow biru lama */
.hoverimg:hover { box-shadow: none; }

/* bar RTP jadi glass dengan glow warna */
.gamertpimgtitle {
    background: transparent !important;
    border-radius: 0 !important;
    height: 22px;
}
.gamertpimgtitle .progress-bar { border-radius: 99px; }
.progress-bar.bg-success { box-shadow: 0 0 12px rgba(40, 167, 69, .85); }
.progress-bar.bg-warning { box-shadow: 0 0 12px rgba(255, 193, 7, .85); }
.progress-bar.bg-danger { box-shadow: 0 0 12px rgba(220, 53, 69, .85); }

/* overlay Play/Demo */
.game-btn,
.game-btn-sm { background-color: rgba(20, 2, 3, .72) !important; }
.game-btn .btn-beginplay,
.game-btn-sm .btn-beginplay {
    background-image: var(--kt-gold-grad) !important;
    background-color: transparent !important;
    color: #fff !important;
    font-weight: 800;
    opacity: 1;
    border-radius: 99px !important;
    box-shadow: 0 6px 16px rgba(236, 29, 35, .45);
}
.game-btn .btn-beginplay:hover,
.game-btn-sm .btn-beginplay:hover,
.game-btn .btn-beginplay.active,
.game-btn-sm .btn-beginplay.active {
    color: #fff !important;
    opacity: 1;
    filter: brightness(1.1);
}
.game-btn .btn-freeplay,
.game-btn-sm .btn-freeplay {
    background-image: none !important;
    background: rgba(255, 255, 255, .1) !important;
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff !important;
    border-radius: 99px !important;
    opacity: 1;
}
.game-btn .btn-freeplay:hover,
.game-btn-sm .btn-freeplay:hover,
.game-btn .btn-freeplay.active,
.game-btn-sm .btn-freeplay.active {
    background: rgba(255, 255, 255, .22) !important;
    color: #fff !important;
    opacity: 1;
}
/* dengan anchor yang benar (kartu), tombol cukup di tengah */
.game-btn-sm .btn-beginplay,
.game-btn-sm .btn-freeplay { margin-top: 0 !important; }

/* ripple */
.btn-beginplay, .btn-freeplay, .kt-login-card .btn { position: relative; overflow: hidden; }
.kt-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    transform: scale(0);
    animation: kt-ripple .6s ease-out forwards;
    pointer-events: none;
}
@keyframes kt-ripple { to { transform: scale(3); opacity: 0; } }

/* ---------- strip provider (slot/casino/dll) ---------- */
.mobileprovider {
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    padding: 4px 2px;
}
.mobileprovider::-webkit-scrollbar { display: none; }
.menuprovider {
    scroll-snap-align: start;
    border: 1px solid var(--kt-glass-brd) !important;
    background: var(--kt-glass);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.menuprovider:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 95, 102, .5) !important;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .45), 0 0 16px rgba(236, 29, 35, .3);
}
.styleimgprovider { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); }

/* ---------- game terakhir dimainkan ---------- */
.imgnavitemlastgameplay,
.lastgameimg { transition: transform .3s ease, box-shadow .3s ease; }
.navitemlastgameplay a:hover img,
.lastgameitem a:hover img {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .5), 0 0 14px rgba(236, 29, 35, .3);
}

/* ---------- togel ---------- */
.type-container table tbody tr { transition: background .25s ease; }
.type-container table tbody tr:hover { background: rgba(255, 95, 102, .08); }
.blink_me {
    animation: kt-blink 1.2s ease-in-out infinite;
    color: #2eff8a !important;
    text-shadow: 0 0 10px rgba(46, 255, 138, .8), 0 0 24px rgba(46, 255, 138, .4);
}
@keyframes kt-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.togelheader {
    background: var(--kt-glass) !important;
    border: 1px solid rgba(236, 29, 35, .25) !important;
    border-radius: 14px !important;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.togelheader:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 95, 102, .45) !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .45), 0 0 18px rgba(236, 29, 35, .25);
}
.togeltitle {
    background: rgba(0, 0, 0, .3) !important;
    border-top: 1px solid var(--kt-glass-brd) !important;
    color: rgba(255, 255, 255, .75);
}

/* ---------- marquee info ---------- */
.notificationtext {
    background: linear-gradient(90deg, #1c0304, #3b0709, #1c0304) !important;
    border-bottom: 1px solid rgba(236, 29, 35, .3);
}
.notificationmarquee {
    color: var(--kt-gold-1) !important;
    font-weight: 600;
    letter-spacing: .3px;
}

/* ---------- menu navigasi desktop ---------- */
section.site-header ul.navbar-nav li.nav-item a.nav-link {
    position: relative;
    font-weight: 600;
    letter-spacing: .4px;
    transition: color .25s ease;
}
section.site-header ul.navbar-nav li.nav-item a.nav-link::after {
    content: "";
    position: absolute;
    left: 16%;
    right: 16%;
    bottom: 0;
    height: 2px;
    background: var(--kt-gold-grad);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform .3s ease;
}
section.site-header ul.navbar-nav li.nav-item a.nav-link:hover { color: var(--kt-gold-1) !important; }
section.site-header ul.navbar-nav li.nav-item a.nav-link:hover::after { transform: scaleX(1); }

/* ---------- slider beranda (ken burns) ---------- */
#carouselExampleIndicators .carousel-item { overflow: hidden; }
#carouselExampleIndicators .carousel-item img {
    animation: kt-kenburns 14s ease-in-out infinite alternate;
}
@keyframes kt-kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }

/* ---------- navigasi bawah (mobile) ---------- */
.footerfixedcontent .footercontentdesktop {
    border-top: 1px solid rgba(236, 29, 35, .4) !important;
    border-top-left-radius: 18px !important;
    border-top-right-radius: 18px !important;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, .5);
}
.footercontentdesktop a small {
    color: rgba(255, 255, 255, .85);
    font-weight: 600;
    letter-spacing: .2px;
    transition: color .25s ease;
}
.footercontenttext {
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(236, 29, 35, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.footercontenttext i { color: var(--kt-gold-1); font-size: 18px; }
.footerfixedcontent a:hover .footercontenttext {
    transform: translateY(-3px);
    background: rgba(255, 95, 102, .18) !important;
    box-shadow: 0 6px 14px rgba(236, 29, 35, .4);
}
.footerfixedcontent a:hover small { color: var(--kt-gold-1); }

/* ---------- tombol umum & utilitas ---------- */
.btn { border-radius: 10px; }
.backtotop {
    background: var(--kt-gold-grad) !important;
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(236, 29, 35, .45);
    line-height: 40px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.backtotop:hover { transform: translateY(-3px); background: var(--kt-gold-grad) !important; }
#progressbarcustom {
    background: var(--kt-gold-grad) !important;
    box-shadow: 0 0 12px rgba(236, 29, 35, .6);
}

/* ---------- aksesibilitas: kurangi gerak ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .kt-js .kt-reveal { opacity: 1; transform: none; }
}

/* ---------- v8: logo provider proporsional (tidak gepeng / terlalu kecil) ---------- */
.styleimgprovider {
    width: 112px;
    height: 54px;
    max-height: none;
    object-fit: contain;
    padding: 5px 8px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--kt-glass-brd);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.menuprovider:hover .styleimgprovider {
    transform: translateY(-3px) scale(1.04);
    border-color: rgba(236, 29, 35, .7);
    box-shadow: 0 6px 18px rgba(236, 29, 35, .3);
}
.menuprovider small {
    display: inline-block;
    margin-top: 5px;
    color: #e3c9ca;
    letter-spacing: .3px;
}
@media (max-width: 575.98px) {
    .styleimgprovider { width: 96px; height: 48px; }
}

/* ---------- v8: kolom pencarian kekinian ---------- */
#keyword {
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--kt-glass-brd);
    border-right: 0;
    color: #f2f5fb;
    border-radius: 12px 0 0 12px;
    height: 44px;
}
#keyword::placeholder { color: #a78d8e; }
#keyword:focus {
    background: rgba(255, 255, 255, .09);
    border-color: var(--kt-gold-2);
    box-shadow: 0 0 0 3px rgba(236, 29, 35, .2);
}
#button-addon2 {
    background: var(--kt-gold-grad) !important;
    border: 0 !important;
    color: #fff;
    border-radius: 0 12px 12px 0;
    width: 52px;
}

/* ---------- v9: toast notifikasi pemenang (kecil, melayang, home-only) ---------- */
.kt-win-toast {
    position: fixed;
    right: 14px;
    bottom: 20px;
    z-index: 10050;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 280px;
    padding: 9px 11px;
    background: rgba(26, 3, 5, .94);
    border: 1px solid rgba(236, 29, 35, .4);
    border-left: 3px solid var(--kt-gold-2);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transform: translateX(120%);
    opacity: 0;
    transition: transform .55s cubic-bezier(.16, .84, .3, 1), opacity .45s ease;
    pointer-events: none;
}
.kt-win-toast.kt-win-show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
.kt-win-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--kt-gold-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 0 12px rgba(236, 29, 35, .5);
}
.kt-win-body { min-width: 0; }
.kt-win-title {
    font-weight: 800;
    font-size: 11.5px;
    letter-spacing: .5px;
    background: var(--kt-gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.kt-win-text {
    font-size: 11.5px;
    color: #f0e2e3;
    line-height: 1.4;
}
.kt-win-close {
    background: none;
    border: 0;
    color: #b08e90;
    font-size: 15px;
    line-height: 1;
    padding: 2px 3px;
    margin-left: auto;
    cursor: pointer;
}
.kt-win-close:hover { color: #fff; }
@media (max-width: 575.98px) {
    .kt-win-toast {
        left: 12px;
        right: 12px;
        bottom: 108px;
        max-width: none;
    }
}

/* ---------- v10: livechat auto-balas ---------- */
.kt-chat {
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 10060;
    width: 360px;
    max-width: calc(100vw - 32px);
    display: flex;
    flex-direction: column;
    background: rgba(22, 3, 5, .97);
    border: 1px solid rgba(236, 29, 35, .4);
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .55), 0 0 30px rgba(236, 29, 35, .12);
    overflow: hidden;
    opacity: 0;
    transform: translateY(18px) scale(.97);
    pointer-events: none;
    transition: opacity .3s ease, transform .35s cubic-bezier(.16, .84, .3, 1);
}
.kt-chat.kt-chat-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.kt-chat-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--kt-gold-grad);
}
.kt-chat-ava {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    border: 2px solid rgba(255, 255, 255, .35);
}
.kt-chat-meta { min-width: 0; }
.kt-chat-meta b {
    color: #fff;
    font-size: 13.5px;
    display: block;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kt-chat-meta small { color: rgba(255, 255, 255, .9); font-size: 11px; }
.kt-chat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2eff8a;
    display: inline-block;
    margin-right: 4px;
    animation: kt-chatpulse 1.6s ease-out infinite;
}
@keyframes kt-chatpulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 255, 138, .55); }
    70% { box-shadow: 0 0 0 6px rgba(46, 255, 138, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 255, 138, 0); }
}
.kt-chat-close {
    margin-left: auto;
    background: none;
    border: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    opacity: .85;
    cursor: pointer;
    padding: 2px 4px;
}
.kt-chat-close:hover { opacity: 1; }
.kt-chat-log {
    height: 330px;
    max-height: 50vh;
    overflow-y: auto;
    padding: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent 120px);
}
.kt-msg {
    max-width: 84%;
    padding: 8px 11px;
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 8px;
    word-wrap: break-word;
}
.kt-msg-bot {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    border-bottom-left-radius: 4px;
    color: #f0e2e3;
}
.kt-msg-me {
    margin-left: auto;
    background: linear-gradient(135deg, #ff6b6b, #ec1d23);
    border-bottom-right-radius: 4px;
    color: #fff;
}
.kt-msg a.kt-chat-link {
    display: inline-block;
    margin-top: 6px;
    margin-right: 4px;
    padding: 5px 11px;
    background: rgba(236, 29, 35, .16);
    border: 1px solid rgba(255, 95, 102, .55);
    border-radius: 99px;
    color: #ff9a9e !important;
    font-weight: 700;
    font-size: 11.5px;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease;
}
.kt-msg a.kt-chat-link:hover {
    background: rgba(236, 29, 35, .32);
    color: #fff !important;
}
.kt-msg-time {
    display: block;
    font-size: 9.5px;
    opacity: .55;
    margin-top: 3px;
    text-align: right;
}
.kt-typing {
    display: flex;
    gap: 4px;
    padding: 11px 13px;
    width: -moz-fit-content;
    width: fit-content;
    background: rgba(255, 255, 255, .07);
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    margin-bottom: 8px;
}
.kt-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
    animation: kt-typingdot 1s ease-in-out infinite;
}
.kt-typing span:nth-child(2) { animation-delay: .15s; }
.kt-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes kt-typingdot {
    0%, 60%, 100% { transform: translateY(0); opacity: .4; }
    30% { transform: translateY(-4px); opacity: 1; }
}
.kt-chat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 12px 10px;
}
.kt-chip {
    border: 1px solid rgba(255, 95, 102, .5);
    background: rgba(236, 29, 35, .1);
    color: #ffb3b6;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 99px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.kt-chip:hover {
    background: rgba(236, 29, 35, .28);
    color: #fff;
}
.kt-chat-form {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid rgba(236, 29, 35, .25);
    background: rgba(0, 0, 0, .32);
}
.kt-chat-form input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    color: #fff;
    font-size: 12.5px;
    height: 38px;
    padding: 0 12px;
    outline: none;
    transition: border-color .25s ease;
}
.kt-chat-form input:focus { border-color: var(--kt-gold-1); }
.kt-chat-form input::placeholder { color: rgba(255, 255, 255, .45); }
.kt-chat-form button {
    flex: 0 0 42px;
    width: 42px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: var(--kt-gold-grad);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: filter .2s ease;
}
.kt-chat-form button:hover { filter: brightness(1.12); }
@media (max-width: 575.98px) {
    .kt-chat {
        left: 12px;
        right: 12px;
        bottom: 76px;
        width: auto;
    }
    .kt-chat-log { height: 300px; }
    .kt-chat-form input { font-size: 16px; height: 42px; }
    .kt-chat-form button { height: 42px; }
}

/* ---------- v11: livechat 2 arah (balasan CS admin) ---------- */
.kt-msg-admin {
    background: #fff;
    color: #45040a;
    border: 1px solid rgba(236, 29, 35, .28);
}
.kt-msg-admin .kt-msg-time { color: rgba(69, 4, 10, .5); }
.kt-msg-cs {
    display: inline-block;
    background: var(--kt-gold-2);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .4px;
    padding: 1px 8px;
    border-radius: 20px;
    margin-bottom: 4px;
}
.kt-msg-admin a.kt-chat-link { color: #b30f1a; }
