@font-face {
    font-family: "NYK Ngayogyan";
    src: url("/static/fonts/nyk-ngayogyan.ttf") format("truetype");
    font-display: swap;
}
:root {    --latar: #edf0f4;
    --panel: #ffffff;
    --panel2: #ffffff;
    --krem: #faf7ee;
    --garis: #dde4ec;
    --teks: #1e3a5f;
    --redup: #5f6878;
    --aksen: #ffc93c;
    --aksenKontras: #1e3a5f;
    --biru: #2f7fd1;
    --hijau: #1e9e64;
    --oranye: #e06c2b;
    --teal: #0f8b8d;
    --merah: #cf4f38;
    --abuGagang: #8a8fa0;
    --bayang: 0 10px 28px rgba(30, 30, 30, 0.12);
    --bayangKecil: 0 4px 14px rgba(30, 30, 30, 0.08);
    --inputBg: #eef1f5;
    --navy: #24304d;
    --navy2: #2f3c60;
}
[data-tema="gelap"] {
    --latar: #16130e;
    --panel: #221d15;
    --panel2: #2b2419;
    --krem: #2b2419;
    --garis: #3a3226;
    --teks: #efe6d4;
    --redup: #a89a7d;
    --aksen: #ffc93c;
    --aksenKontras: #1e3a5f;
    --biru: #6aa9d6;
    --hijau: #7fb069;
    --oranye: #e07a5f;
    --teal: #4db6ac;
    --merah: #c96a5a;
    --abuGagang: #6f6350;
    --bayang: 0 14px 34px rgba(0, 0, 0, 0.5);
    --bayangKecil: 0 6px 16px rgba(0, 0, 0, 0.4);
    --inputBg: #171410;
    --navy: #1b1712;
    --navy2: #2b2419;
}
html {
    scrollbar-color: var(--garis) var(--latar);
}
body.latarArsip {
    background-color: var(--latar);
    color: var(--teks);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    min-height: 100vh;
}
body.latarArsip ::selection {
    background: var(--aksen);
    color: var(--aksenKontras);
}
body.latarArsip :focus-visible {
    outline: 2px solid var(--aksen);
    outline-offset: 2px;
}
body.latarArsip ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
body.latarArsip ::-webkit-scrollbar-thumb {
    background: var(--garis);
    border-radius: 8px;
}
.langitAwan {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 210px;
    background: url("/static/img/game-background.webp") top center / cover no-repeat;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    filter: saturate(0.45) brightness(1.15);
    -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent);
    mask-image: linear-gradient(to bottom, black 55%, transparent);
}
.candiBawah {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: url("/static/img/game-background.webp") bottom center / cover no-repeat;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    filter: saturate(0.45) brightness(1.12);
    -webkit-mask-image: linear-gradient(to top, black 60%, transparent);
    mask-image: linear-gradient(to top, black 60%, transparent);
}
.wadahUtama {
    position: relative;
    z-index: 1;
}
[data-tema="gelap"] .langitAwan,
[data-tema="gelap"] .candiBawah {
    opacity: 0.32;
    filter: brightness(0.7) saturate(0.85);
}
.aksara {
    font-family: "NYK Ngayogyan", "Noto Sans Javanese", ui-sans-serif, system-ui, sans-serif;
}
.bilahSitus {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 12px 26px;
    background: #22364e;
    color: #f2ede0;
    position: sticky;
    top: 0;
    z-index: 40;
}
.merek {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f2ede0;
    text-decoration: none;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: 0.01em;
}
.logoBrand {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
}
.navigasi {
    display: flex;
    gap: 4px;
    margin-left: auto;
    align-items: center;
}
.tautSitus {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b9c4d4;
    text-decoration: none;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 3px solid transparent;
}
.tautSitus .ti {
    font-size: 18px;
}
.tautSitus:hover {
    color: #ffffff;
}
.tautSitus.aktif {
    color: #ffffff;
    border-bottom-color: var(--aksen);
}
.saklarTema {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #f2ede0;
    cursor: pointer;
}
.saklarTema:hover {
    border-color: var(--aksen);
    color: var(--aksen);
}
.saklarTema .ti {
    font-size: 18px;
}
.wadahUtama {
    max-width: 1240px;
    margin: 0 auto;
    padding: 22px 20px 70px;
}
.panel {
    background: var(--panel);
    border: 1px solid var(--garis);
    border-radius: 12px;
    box-shadow: var(--bayangKecil);
}
.judulPanel {
    font-size: 16px;
    font-weight: 800;
    color: var(--teks);
}
.teksRedup {
    color: var(--redup);
}
.tombol {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--garis);
    background: var(--panel2);
    color: var(--teks);
    border-radius: 10px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.tombolPil {
    border-radius: 999px;
}
.tombol:hover {
    border-color: var(--aksen);
}
.tombolAksen {
    background: var(--aksen);
    border-color: var(--aksen);
    color: var(--aksenKontras);
}
.tombolAksen:hover {
    filter: brightness(1.06);
}
.tombolBahaya {
    color: var(--merah);
}
.masukan {
    width: 100%;
    background: var(--inputBg);
    border: 1px solid transparent;
    color: var(--teks);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
}
.lebarMisi {
    max-width: 250px;
}
.lebarNama {
    max-width: 180px;
}
select.masukan {
    border-radius: 14px;
}
.masukan::placeholder {
    color: var(--redup);
}
.panggung {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--garis);
    background: #0e0c09;
    touch-action: none;
}
.panggung img.fotoMisi {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}
.kanvasTutup {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}
.tombolZoom {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--panel);
    border: 1px solid var(--garis);
    color: var(--teks);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--bayangKecil);
}
.tombolZoom:hover {
    border-color: var(--aksen);
}
#tombolZoom {
    display: none;
}
.hanyaSeluler {
    display: none;
}
@media (pointer: coarse) {
    #tombolZoom {
        display: flex;
    }
    .hanyaSeluler {
        display: inline;
    }
}
.tombolZoom .ti {
    font-size: 20px;
}
.tombolZoom.nyala {
    background: var(--aksen);
    border-color: var(--aksen);
    color: var(--aksenKontras);
}
.tombolAlat {
    top: 62px;
}
.tombolAlat[hidden] {
    display: none;
}
.panggung.mengezoom {
    height: 62vh;
    min-height: 340px;
}
.panggung.mengezoom img.fotoMisi {
    position: absolute;
    max-width: none;
}
.jalurZoom {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--garis);
    margin-top: 10px;
    touch-action: none;
    cursor: grab;
}
.jalurZoom[hidden] {
    display: none;
}
.jalurZoom img.fotoMini {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}
.bingkaiLihat {
    position: absolute;
    border: 2px solid var(--aksen);
    background: rgba(217, 164, 65, 0.18);
    border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}
.keteranganJalur {
    font-size: 12px;
    margin: 6px 2px 0;
}
.keteranganJalur[hidden] {
    display: none;
}
.tombolIkon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid var(--garis);
    background: transparent;
    color: var(--redup);
    cursor: pointer;
}
.tombolIkon:hover {
    color: var(--merah);
    border-color: var(--merah);
}
.tombolIkon .ti {
    font-size: 15px;
}
.paletAksara {
    position: absolute;
    display: none;
    background: var(--panel);
    border: 2px solid var(--aksen);
    border-radius: 14px;
    padding: 10px;
    z-index: 30;
    box-shadow: var(--bayang);
    max-width: 300px;
}
.tombolGlyph {
    background: var(--panel);
    color: var(--teks);
    border: 1px solid var(--garis);
    border-radius: 12px;
    min-width: 56px;
    padding: 12px 10px;
    font-size: 27px;
    cursor: pointer;
    line-height: 1.3;
    white-space: nowrap;
}
.tombolGlyph:hover {
    border-color: var(--aksen);
    background: var(--aksen);
    color: var(--aksenKontras);
}
.pitaPetunjuk {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--krem);
    border: 1px solid var(--garis);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--teks);
}
.titikKemajuan {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    flex-shrink: 0;
}
.titikKemajuan .titik {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--garis);
}
.titikKemajuan .titik.penuh {
    background: var(--aksen);
}
.titikKemajuan .angka {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    margin-left: 6px;
    font-size: 14px;
}
.kepalaLaga {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.kepalaPita {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 6px;
    padding: 2px 0 2px 8px;
}
.kepalaPita::before {
    content: "";
    position: absolute;
    left: -17px;
    top: -17px;
    width: 88px;
    height: 62px;
    background: linear-gradient(135deg, var(--aksen), #ffd262);
    clip-path: polygon(0 0, 100% 0, 62% 100%, 0 100%);
    border-bottom-right-radius: 12px;
}
.kepalaPita > .ti {
    position: relative;
    z-index: 1;
    font-size: 24px;
    color: #1c1508;
    margin-left: 7px;
}
.kepalaPita .judulPanel {
    margin-left: 14px;
}
.ikonMisi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--aksen);
    color: var(--aksenKontras);
}
.ikonMisi .ti {
    font-size: 24px;
}
.lencanaMiring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 68px;
    flex-shrink: 0;
    background: #fdeec2;
    color: #1e3a5f;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}
[data-tema="gelap"] .lencanaMiring {
    background: #54431c;
    color: #ffd97a;
}
.lencanaMiring .ti {
    font-size: 24px;
    margin-right: 8px;
}
.lencanaEmas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--aksen);
    color: var(--aksenKontras);
}
.lencanaEmas .ti {
    font-size: 23px;
}
.subMisi {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--redup);
}
.pemisahTegak {
    width: 1px;
    align-self: stretch;
    background: var(--garis);
    flex-shrink: 0;
}
.hiasAwan {
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(color-mix(in srgb, var(--panel) 38%, transparent), color-mix(in srgb, var(--panel) 38%, transparent)), url("/static/img/game-background.webp");
    background-size: cover;
    background-repeat: no-repeat;
}
.kosongSkor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 10px 14px;
    text-align: center;
    color: var(--redup);
    font-size: 13px;
}
.kosongSkor .ti {
    font-size: 30px;
    color: var(--redup);
}
.barisStat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 4px;
    font-size: 14px;
    font-weight: 600;
}
.barisStat + .barisStat {
    border-top: 1px solid var(--garis);
}
.barisStat .ti {
    font-size: 19px;
}
.nilaiStat {
    margin-left: auto;
    font-size: 21px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.barisSkor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid var(--garis);
    border-radius: 14px;
    background: var(--panel);
}
.barisSkor + .barisSkor {
    margin-top: 8px;
}
.poinPlus {
    font-weight: 800;
    font-size: 14px;
    color: var(--teal);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.tabelSkor {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.tabelSkor th {
    text-align: left;
    color: var(--redup);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 14px;
}
.tabelSkor tbody tr {
    background: var(--panel);
}
.tabelSkor tbody tr + tr td {
    border-top: 1px solid var(--garis);
}
.tabelSkor td {
    padding: 11px 14px;
    font-variant-numeric: tabular-nums;
}
.tabelSkor tbody tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}
.tabelSkor tbody tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.medali {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    background: var(--panel2);
    border: 1px solid var(--garis);
}
.medali.emas {
    background: var(--aksen);
    border-color: var(--aksen);
    color: var(--aksenKontras);
}
.demoPanggung {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #8f96a1;
    background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.09) 0 2px, transparent 2px 6px);
    border: 1px solid #6b7280;
    height: 200px;
    margin-bottom: 6px;
}
.demoFoto {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 66px;
    line-height: 1;
    color: #2e3642;
}
.demoKotak {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 110px;
    height: 98px;
    opacity: 0;
}
.demoTarget {
    position: relative;
    display: inline-block;
    line-height: 1.6;
}
.demoDasar {
    border: 3px dashed #ffc93c;
    border-radius: 6px;
    animation: demoTumbuh 10s ease-in-out infinite;
}
.demoSolid {
    border: 4px solid #ffc93c;
    border-radius: 6px;
    box-shadow: 0 0 0 2px rgba(20, 16, 8, 0.85);
    animation: demoMuncul 10s ease-in-out infinite;
}
.demoLencana {
    position: absolute;
    top: -26px;
    left: -4px;
    min-width: 32px;
    height: 24px;
    padding: 0 6px;
    background: #ffc93c;
    color: #1c1508;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    border-radius: 6px 6px 6px 0;
}
.demoPalet {
    position: absolute;
    right: 12px;
    top: 50%;
    margin-top: -48px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    background: #f4f0e4;
    border: 2px solid #ffc93c;
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    animation: demoPaletMasuk 10s ease-in-out infinite;
}
.demoTile {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: #ffffff;
    color: #22364e;
    border: 1px solid #d8d2c2;
    border-radius: 8px;
}
.demoTile.pilih {
    animation: demoPilih 10s ease-in-out infinite;
}
.demoSkor {
    position: absolute;
    left: 70%;
    top: 50%;
    font-size: 27px;
    font-weight: 900;
    font-style: normal;
    color: #8a5f10;
    text-shadow: 0 1px 0 #fff8e6;
    white-space: nowrap;
    opacity: 0;
    animation: demoSkorTerbang 10s ease-in-out infinite;
}
@keyframes demoTumbuh {
    0%, 44% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.15);
    }
    54%, 62% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    68%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}
@keyframes demoMuncul {
    0%, 64% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    70%, 88% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    94%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}
@keyframes demoPaletMasuk {
    0%, 50% {
        opacity: 0;
        transform: translateY(8px) scale(0.9);
    }
    56%, 90% {
        opacity: 1;
        transform: none;
    }
    96%, 100% {
        opacity: 0;
        transform: translateY(8px) scale(0.9);
    }
}
@keyframes demoPilih {
    0%, 60% {
        background: #ffffff;
        transform: none;
    }
    66%, 90% {
        background: #ffc93c;
        transform: none;
    }
    72%, 78%, 84% {
        background: #ffc93c;
        transform: scale(1.14);
    }
    96%, 100% {
        background: #ffffff;
        transform: none;
    }
}
@keyframes demoSkorTerbang {
    0%, 70% {
        opacity: 0;
        transform: translate(-50%, -30%);
    }
    76% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    92%, 100% {
        opacity: 0;
        transform: translate(-50%, -110%);
    }
}
.demoSalah {
    width: 150px;
    height: 108px;
    border: 3px dashed #cf4f38;
    border-radius: 6px;
    animation: demoSalahTumbuh 10s ease-in-out infinite;
}
.demoSilang,
.demoCentang {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
}
.demoSilang {
    background: #cf4f38;
    animation: demoSilangPop 10s ease-in-out infinite;
}
.demoCentang {
    background: #1e9e64;
    animation: demoCentangPop 10s ease-in-out infinite;
}
.demoSilang .ti,
.demoCentang .ti {
    font-size: 34px;
}
.demoPeringat {
    position: absolute;
    left: 50%;
    top: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #cf4f38;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    animation: demoPeringatMasuk 10s ease-in-out infinite;
}
.demoPeringat .ti {
    font-size: 16px;
}
@keyframes demoSalahTumbuh {
    0%, 6% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.15);
    }
    16%, 34% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    40%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}
@keyframes demoSilangPop {
    0%, 18% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    22% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.35);
    }
    26% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(-12deg);
    }
    30% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(10deg);
    }
    34%, 38% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    42%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}
@keyframes demoPeringatMasuk {
    0%, 18% {
        opacity: 0;
        transform: translate(-50%, 8px);
    }
    22%, 38% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    42%, 100% {
        opacity: 0;
        transform: translate(-50%, 8px);
    }
}
@keyframes demoCentangPop {
    0%, 66% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    70% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.35);
    }
    74%, 88% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    92%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}
.demoLangkah {
    margin: 12px 0 0;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--redup);
}
.demoLangkah strong {
    color: var(--teks);
}
.demoSubjudul {
    margin: 16px 0 8px;
    font-size: 14px;
    font-weight: 800;
    color: var(--teks);
}
.demoTombol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.demoTombol li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.55;
    color: var(--redup);
}
.demoTombol strong {
    color: var(--teks);
}
.demoIkon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--panel2);
    border: 1px solid var(--garis);
    color: var(--teks);
}
.demoIkon .ti {
    font-size: 17px;
}
.isiDialog {
    max-height: 68vh;
    overflow-y: auto;
}
.demoFotoM {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    font-size: 66px;
    line-height: 1;
    color: #2e3642;
    transform-origin: 42% 46%;
    animation: demoFotoMZoom 20s ease-in-out infinite;
}
.demoZoomBtnM {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #d8d2c2;
    border-radius: 999px;
    color: #22364e;
    animation: demoKetukM 20s ease-in-out infinite;
}
.demoZoomBtnM .ti {
    font-size: 17px;
}
.demoAlatM {
    position: absolute;
    top: 48px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d8d2c2;
    color: #22364e;
    animation: demoAlatKetuk 20s ease-in-out infinite;
}
.demoAlatM .ti {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.demoAlatM .ikonGerakM {
    opacity: 1;
    animation: demoIkonGerak 20s ease-in-out infinite;
}
.demoAlatM .ikonGeserM {
    opacity: 0;
    animation: demoIkonGeser 20s ease-in-out infinite;
}
.demoJariM {
    position: absolute;
    left: 50%;
    top: 55%;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(20, 16, 8, 0.5);
    border: 2px solid #ffffff;
    opacity: 0;
    animation: demoJariMGeser 20s ease-in-out infinite;
}
.demoKotakM {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 92px;
    height: 78px;
    opacity: 0;
}
.demoTargetM {
    position: relative;
    display: inline-block;
}
.boxSatuM {
    border: 3px dashed #ffc93c;
    border-radius: 6px;
    animation: demoTumbuhSatu 20s ease-in-out infinite;
}
.boxDuaM {
    border: 3px dashed #ffc93c;
    border-radius: 6px;
    animation: demoTumbuhDua 20s ease-in-out infinite;
}
.demoSolidM {
    border: 4px solid #ffc93c;
    border-radius: 6px;
    box-shadow: 0 0 0 2px rgba(20, 16, 8, 0.85);
}
.padatSatuM {
    animation: demoMunculSatu 20s ease-in-out infinite;
}
.padatDuaM {
    animation: demoMunculDua 20s ease-in-out infinite;
}
.demoLencanaM {
    position: absolute;
    top: -26px;
    left: -4px;
    min-width: 32px;
    height: 24px;
    padding: 0 6px;
    background: #ffc93c;
    color: #1c1508;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    border-radius: 6px 6px 6px 0;
}
.demoPaletM {
    position: absolute;
    right: 12px;
    top: 50%;
    margin-top: -48px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    background: #f4f0e4;
    border: 2px solid #ffc93c;
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    animation: demoPaletMMasuk 20s ease-in-out infinite;
}
.demoTileM {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: #ffffff;
    color: #22364e;
    border: 1px solid #d8d2c2;
    border-radius: 8px;
}
.demoTileM.pilihM {
    animation: demoPilihM 20s ease-in-out infinite;
}
.demoSkorM {
    position: absolute;
    left: 50%;
    top: 46%;
    font-size: 27px;
    font-weight: 900;
    color: #8a5f10;
    text-shadow: 0 1px 0 #fff8e6;
    white-space: nowrap;
    opacity: 0;
    animation: demoSkorMTerbang 20s ease-in-out infinite;
}
@keyframes demoFotoMZoom {
    0%, 4% {
        transform: scale(1);
    }
    10%, 20% {
        transform: scale(1.9);
    }
    30%, 56% {
        transform: scale(1.9) translate(-12%, 0);
    }
    66%, 88% {
        transform: scale(1.9);
    }
    94%, 100% {
        transform: scale(1);
    }
}
@keyframes demoKetukM {
    0%, 2% {
        transform: none;
    }
    3%, 4.5% {
        transform: scale(1.25);
    }
    5.5%, 100% {
        transform: none;
    }
}
@keyframes demoAlatKetuk {
    0%, 10% {
        transform: none;
    }
    11%, 13% {
        transform: scale(1.25);
    }
    14%, 24% {
        transform: none;
    }
    25%, 27% {
        transform: scale(1.25);
    }
    28%, 54% {
        transform: none;
    }
    55%, 57% {
        transform: scale(1.25);
    }
    58%, 67% {
        transform: none;
    }
    68%, 70% {
        transform: scale(1.25);
    }
    71%, 100% {
        transform: none;
    }
}
@keyframes demoIkonGerak {
    0%, 12% {
        opacity: 1;
    }
    13%, 25% {
        opacity: 0;
    }
    26%, 56% {
        opacity: 1;
    }
    57%, 68% {
        opacity: 0;
    }
    69%, 100% {
        opacity: 1;
    }
}
@keyframes demoIkonGeser {
    0%, 12% {
        opacity: 0;
    }
    13%, 25% {
        opacity: 1;
    }
    26%, 56% {
        opacity: 0;
    }
    57%, 68% {
        opacity: 1;
    }
    69%, 100% {
        opacity: 0;
    }
}
@keyframes demoJariMGeser {
    0%, 12% {
        opacity: 0;
        transform: translate(50px, 0) scale(0.6);
    }
    14% {
        opacity: 1;
        transform: translate(50px, 0) scale(1);
    }
    22% {
        opacity: 1;
        transform: translate(-70px, 0) scale(1);
    }
    24%, 56% {
        opacity: 0;
        transform: translate(-70px, 0) scale(0.6);
    }
    58% {
        opacity: 1;
        transform: translate(-50px, 0) scale(1);
    }
    66% {
        opacity: 1;
        transform: translate(60px, 0) scale(1);
    }
    68%, 100% {
        opacity: 0;
        transform: translate(60px, 0) scale(0.6);
    }
}
@keyframes demoTumbuhSatu {
    0%, 28% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.15);
    }
    33%, 52% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    55%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}
@keyframes demoTumbuhDua {
    0%, 71% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.15);
    }
    76%, 92% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    95%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}
@keyframes demoMunculSatu {
    0%, 46% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    50%, 54% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    56%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}
@keyframes demoMunculDua {
    0%, 86% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    89%, 92% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    95%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}
@keyframes demoPaletMMasuk {
    0%, 35% {
        opacity: 0;
        transform: translateY(8px) scale(0.9);
    }
    39%, 53% {
        opacity: 1;
        transform: none;
    }
    54%, 78% {
        opacity: 0;
        transform: translateY(8px) scale(0.9);
    }
    79%, 81% {
        opacity: 1;
        transform: none;
    }
    82%, 92% {
        opacity: 1;
        transform: none;
    }
    93%, 100% {
        opacity: 0;
        transform: translateY(8px) scale(0.9);
    }
}
@keyframes demoPilihM {
    0%, 41% {
        background: #ffffff;
        transform: none;
    }
    43%, 53% {
        background: #ffc93c;
        transform: none;
    }
    45%, 48%, 51% {
        background: #ffc93c;
        transform: scale(1.14);
    }
    54%, 82% {
        background: #ffffff;
        transform: none;
    }
    83%, 87% {
        background: #ffc93c;
        transform: none;
    }
    84%, 86% {
        background: #ffc93c;
        transform: scale(1.14);
    }
    88%, 100% {
        background: #ffffff;
        transform: none;
    }
}
@keyframes demoSkorMTerbang {
    0%, 49% {
        opacity: 0;
        transform: translate(-50%, -30%);
    }
    52% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    56%, 87% {
        opacity: 0;
        transform: translate(-50%, -50%);
    }
    89% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    93%, 100% {
        opacity: 0;
        transform: translate(-50%, -110%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .demoDasar,
    .demoSkor,
    .demoSalah,
    .demoSilang,
    .demoPeringat,
    .demoCentang {
        display: none;
    }
    .demoSolid,
    .demoPalet {
        opacity: 1;
        animation: none;
        transform: translate(-50%, -50%);
    }
    .demoPalet {
        transform: none;
    }
    .demoTile.pilih {
        background: #ffc93c;
        animation: none;
    }
    .demoDasarM,
    .demoSkorM,
    .demoJariM {
        display: none;
    }
    .demoFotoM,
    .demoZoomBtnM,
    .demoAlatM {
        animation: none;
    }
    .demoSolidM,
    .demoPaletM {
        opacity: 1;
        animation: none;
    }
    .demoTileM.pilihM {
        background: #ffc93c;
        animation: none;
    }
}
.lencana {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid var(--garis);
    color: var(--redup);
}
.lencanaAktif {
    color: var(--hijau);
    border-color: var(--hijau);
}
.lencanaLevel {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 11px;
    border-radius: 999px;
    background: var(--aksen);
    color: var(--aksenKontras);
}
.popupKotak {
    position: absolute;
    z-index: 35;
    background: var(--panel);
    border: 2px solid var(--aksen);
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: var(--bayang);
    min-width: 140px;
}
.popupKotak[hidden] {
    display: none;
}
@keyframes denyutKirim {
    0%, 100% {
        border-color: var(--aksen);
    }
    50% {
        border-color: var(--teks);
    }
}
.tombol.berdenyut {
    animation: denyutKirim 1.2s ease-in-out infinite;
}
.daftarPesan {
    display: flex;
    flex-direction: column;
}
.barisPesan {
    padding: 16px 2px;
}
.barisPesan + .barisPesan {
    border-top: 1px solid var(--garis);
}
.barisPesan .masukan {
    border-radius: 12px;
}
.lapisToast {
    position: fixed;
    bottom: 22px;
    right: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
    max-width: min(360px, 90vw);
}
.notif {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    background: var(--panel);
    border: 1px solid var(--garis);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: var(--bayang);
    animation: notifMasuk 0.22s ease-out;
}
.notif .ti {
    font-size: 21px;
    margin-top: 1px;
}
.notifSelaras .ti {
    color: var(--hijau);
}
.notifPerintis .ti {
    color: var(--biru);
}
.notifKosong .ti {
    color: var(--redup);
}
.notifMelenceng .ti {
    color: var(--aksen);
}
.notifKeliru .ti {
    color: var(--merah);
}
@keyframes notifMasuk {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: none;
        opacity: 1;
    }
}
.lapisDialog {
    position: fixed;
    inset: 0;
    background: rgba(20, 16, 10, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    padding: 18px;
}
.lapisDialog[hidden] {
    display: none;
}
.kotakDialog {
    width: min(460px, 94vw);
    background: var(--panel);
    border: 1px solid var(--garis);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--bayang);
    color: var(--teks);
}
.judulDialog {
    font-size: 21px;
    font-weight: 800;
    margin: 0 0 8px;
}
.isiDialog {
    max-height: 68vh;
    overflow-y: auto;
    color: var(--redup);
    font-size: 14px;
    line-height: 1.6;
}
.aksiDialog {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}
.umpanBalik {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    font-weight: 900;
    pointer-events: none;
    opacity: 0;
    z-index: 25;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
    white-space: nowrap;
}
.umpanBalik.tampil {
    animation: umpanNaik 0.8s ease-out;
}
@keyframes umpanNaik {
    0% {
        opacity: 0;
        transform: translate(-50%, -30%);
    }
    18% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -90%);
    }
}
.kerangkaAdmin {
    display: flex;
    min-height: 100vh;
}
.laciAdmin {
    width: 248px;
    flex-shrink: 0;
    background: var(--panel);
    border-right: 1px solid var(--garis);
    display: flex;
    flex-direction: column;
    padding: 20px 14px;
    position: sticky;
    top: 0;
    height: 100vh;
}
.merekLaci {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--teks);
    text-decoration: none;
    font-weight: 800;
    font-size: 17px;
    padding: 4px 10px 18px;
}
.merekLaci .ti {
    color: var(--aksen);
    font-size: 24px;
}
.menuLaci {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tautLaci {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--redup);
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}
.tautLaci .ti {
    font-size: 19px;
}
.tautLaci:hover {
    color: var(--teks);
    background: var(--panel2);
}
.tautLaci.aktif {
    color: var(--teks);
    background: var(--panel2);
    box-shadow: inset 0 0 0 1px var(--garis);
}
.tautLaci.aktif .ti {
    color: var(--aksen);
}
.kakiLaci {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--garis);
    padding-top: 14px;
}
.profilLaci {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--redup);
    font-size: 13px;
    padding: 2px 12px;
}
.profilLaci .ti {
    font-size: 19px;
}
.laciKeluar {
    width: 100%;
    justify-content: center;
}
.saklarLaci {
    width: 100%;
    height: auto;
    justify-content: center;
    border-color: var(--garis);
    color: var(--teks);
}
.saklarLaci:hover {
    color: var(--teks);
}
.badanAdmin {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.bilahJudul {
    padding: 24px 28px 0;
}
.bilahJudul h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
}
.bilahJudul p {
    margin: 4px 0 0;
    color: var(--redup);
    font-size: 13px;
}
.bilahJudul p:empty {
    display: none;
}
.isiAdmin {
    padding: 20px 28px 70px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.tumpukMain {
    align-items: start;
}
@media (max-width: 1020px) {
    .tumpukMain {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 860px) {
    .kerangkaAdmin {
        flex-direction: column;
    }
    .laciAdmin {
        width: 100%;
        height: auto;
        position: static;
        padding: 12px;
    }
    .menuLaci {
        flex-direction: row;
        overflow-x: auto;
    }
    .tautLaci span {
        white-space: nowrap;
    }
    .kakiLaci {
        border-top: none;
        padding-top: 8px;
    }
    .isiAdmin {
        padding: 14px 14px 60px;
    }
    .bilahJudul {
        padding: 18px 14px 0;
    }
    .bilahSitus {
        padding: 10px 14px;
        gap: 12px;
    }
    .tautSitus span {
        display: none;
    }
    .wadahUtama {
        padding: 14px 12px 60px;
    }
    .langitAwan {
        height: 130px;
    }
    .candiBawah {
        height: 150px;
    }
    .pitaPetunjuk {
        flex-wrap: wrap;
    }
    .titikKemajuan {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .paletAksara {
        max-width: 250px;
    }
    .tombolGlyph {
        min-width: 48px;
        font-size: 23px;
        padding: 9px 8px;
    }
    .kepalaLaga {
        flex-wrap: wrap;
    }
    .barisKepalaMisi #tombolBermain {
        order: 1;
        margin-left: auto;
    }
    .barisKepalaMisi .grupMisi {
        order: 2;
        margin-left: 0;
        width: 100%;
    }
    .barisKepalaMisi .grupMisi .tombol {
        flex: 1;
        justify-content: center;
    }
}
