* {
    box-sizing: border-box;
}

:root {
    --ink: #071b3a;
    --line: #050505;
    --p1: #ff3e63;
    --p1-soft: #fff0f3;
    --p2: #08a5e6;
    --p2-soft: #effaff;
    --yellow: #ffe13f;
    --green: #53d769;
    --muted: #6c7b91;
}

html, body {
    margin: 0;
    min-height: 100%;
    font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
    color: var(--ink);
    background: #f7f9fc;
}

body {
    overflow-x: hidden;
}

button, input, textarea, select {
    font: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

.app {
    min-height: 100vh;
}

.topbar {
    height: 102px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 32px;
    border-bottom: 4px solid var(--line);
    background: #fff;
}

.brand {
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 900;
}

.brand-icon {
    font-size: 30px;
}

.timer-pill {
    background: var(--yellow);
    border: 5px solid #000;
    border-radius: 50px;
    padding: 10px 32px;
    min-width: 178px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 900;
    font-size: 30px;
    box-shadow: 0 4px 0 #000;
}

.countdown-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}

.countdown-overlay.hidden {
    display: none;
}

.countdown-number {
    font-size: 150px;
    line-height: 1;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 8px 25px rgba(0,0,0,.4);
    animation: countdownPop .8s ease;
}

.countdown-text {
    margin-top: 20px;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 4px;
}

.player-name-input {
    width: 100%;
    max-width: 180px;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 18px;
    font-weight: 700;
    background: #fff;
    color: #222;
    box-sizing: border-box;
}

.player-name-input:focus {
    outline: none;
    border-color: #4f7cff;
    box-shadow: 0 0 0 3px rgba(79, 124, 255, .15);
}

@keyframes countdownPop {
    0% {
        transform: scale(1.6);
        opacity: 0;
    }
    60% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.timer-icon {
    font-size: 27px;
}

.timer-pill.danger {
    animation: timerPulse .45s infinite alternate;
    background: #ff6b6b;
}

.top-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.ghost-btn {
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 12px;
}

.ghost-btn:hover {
    background: #f0f4f8;
}

.game-layout {
    min-height: calc(100vh - 102px);
    display: grid;
    grid-template-columns: minmax(340px, 29.5%) minmax(500px, 1fr) minmax(340px, 29.5%);
}

.player-panel {
    padding: 32px 30px;
}

.p1-panel {
    background: var(--p1-soft);
    border-right: 4px solid var(--line);
}

.p2-panel {
    background: var(--p2-soft);
    border-left: 4px solid var(--line);
}

.player-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.player-title {
    display: flex;
    gap: 12px;
    align-items: center;
}

.avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 5px solid #000;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 900;
    font-size: 20px;
    box-shadow: 0 3px 0 #000;
}

.p1-avatar {
    background: var(--p1);
}

.p2-avatar {
    background: var(--p2);
}

.player-title h2 {
    margin: 0 0 5px;
    font-size: 20px;
}

.keys {
    color: #58708e;
    font-size: 14px;
}

.score-box {
    text-align: right;
}

.score-box span {
    display: block;
    font-size: 13px;
    color: #52708f;
}

.score-box strong {
    display: block;
    font-size: 38px;
    line-height: 1;
}

.p1-panel .score-box strong {
    color: #e51f46;
}

.p2-panel .score-box strong {
    color: #008fd2;
}

.progress-wrap {
    margin: 16px 0 20px;
}

.progress {
    height: 20px;
    background: #fff;
    border: 4px solid #000;
    border-radius: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0;
    transition: width .35s ease;
}

.p1-panel .progress-fill {
    background: var(--p1);
}

.p2-panel .progress-fill {
    background: var(--p2);
}

.progress-wrap small {
    display: block;
    text-align: right;
    margin-top: 5px;
    color: #5e7791;
}

.question-card {
    background: #fff;
    border: 5px solid #000;
    border-radius: 22px;
    min-height: 160px;
    padding: 27px 25px;
    box-shadow: 7px 7px 0 #000;
    margin-bottom: 25px;
}

.question-label {
    color: #52718e;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 700;
}

.question-text {
    font-size: 20px;
    line-height: 1.65;
    font-weight: 900;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.answer-btn {
    min-height: 74px;
    background: #fff;
    border: 5px solid #000;
    border-radius: 17px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    cursor: pointer;
    color: var(--ink);
    font-weight: 800;
    box-shadow: 4px 4px 0 #000;
    transition: transform .08s ease, box-shadow .08s ease, background .12s;
}

.answer-btn:hover:not(:disabled) {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000;
    background: #fffdf1;
}

.answer-btn:active:not(:disabled) {
    transform: translate(4px, 4px);
    box-shadow: 0 0 0 #000;
}

.answer-btn:disabled {
    cursor: default;
    opacity: .55;
}

.answer-letter {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 900;
}

.p1-panel .answer-letter {
    background: var(--p1);
}

.p2-panel .answer-letter {
    background: var(--p2);
}

.answer-status {
    min-height: 25px;
    margin-top: 12px;
    color: #55718c;
    font-weight: 800;
    text-align: center;
}

.center-panel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(#bcecff 0%, #e8f8cf 55%, #fff08b 55%, #fff08b 100%);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.match-score {
    position: absolute;
    z-index: 5;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 255px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 14px 22px;
    border: 5px solid #000;
    border-radius: 22px;
    background: #fff;
    box-shadow: 7px 7px 0 #000;
    text-align: center;
}

.match-score > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.match-score span {
    font-size: 12px;
    font-weight: 900;
}

.match-score strong {
    font-size: 28px;
}

.red-text { color: #ed244d; }
.blue-text { color: #058fce; }
.vs { color: #8591a2; font-size: 20px; }

.arena {
    position: relative;
    flex: 1;
    min-height: 470px;
    overflow: hidden;
}

.cloud {
    position: absolute;
    font-size: 58px;
    opacity: .5;
    animation: floatCloud 6s ease-in-out infinite;
}

.cloud-1 { top: 95px; left: 12%; }
.cloud-2 { top: 145px; right: 9%; animation-delay: -2.5s; }

.rope {
    position: absolute;
    left: 13%;
    right: 13%;
    top: 65%;
    height: 70px;
    z-index: 3;
}

.rope-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 26px;
    height: 14px;
    background: #9b5a16;
    border: 4px solid #000;
    border-radius: 15px;
    box-shadow: 0 3px 0 rgba(0,0,0,.25);
}

.flag {
    position: absolute;
    left: 50%;
    top: -23px;
    width: 46px;
    height: 27px;
    border: 5px solid #000;
    background: #ff475e;
    transform-origin: center bottom;
    transition: transform .35s ease;
}

.flag::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 22px;
    width: 5px;
    height: 57px;
    background: #000;
}

.ground {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: #ffeb72;
    border-top: 4px solid rgba(0,0,0,.08);
}

.cartoon {
    position: absolute;
    z-index: 4;
    bottom: 18%;
    width: 82px;
    height: 150px;
    transition: transform .35s ease;
}

.cartoon-p1 { left: 8%; }
.cartoon-p2 { right: 8%; transform: scaleX(-1); }

.cartoon .head {
    position: absolute;
    top: 0;
    left: 7px;
    width: 58px;
    height: 58px;
    border: 4px solid #000;
    border-radius: 50%;
    background: #ffd59b;
    z-index: 2;
}
/* =========================================================
   PLAYER PHOTO
   ========================================================= */

.player-photo-wrap {
    position: relative;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
}

.player-photo-wrap .avatar {
    width: 58px;
    height: 58px;
    overflow: hidden;
    position: relative;
}

.player-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.player-photo-wrap.has-photo .player-photo {
    display: block;
}

.player-photo-wrap.has-photo .avatar > span {
    display: none;
}

.camera-btn {
    position: absolute;
    right: -8px;
    bottom: -7px;

    width: 28px;
    height: 28px;

    border: 3px solid white;
    border-radius: 50%;

    background: #222;
    color: white;

    font-size: 13px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 3px 8px rgba(0,0,0,.25);

    z-index: 5;
}

.camera-btn:hover {
    transform: scale(1.1);
}


/* =========================================================
   CAMERA MODAL
   ========================================================= */

.camera-modal {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,.82);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    z-index: 10000;
}

.camera-modal.hidden {
    display: none;
}

.camera-card {
    width: min(500px, 100%);

    background: white;
    border-radius: 22px;

    padding: 18px;

    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.camera-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 14px;
}

.camera-header h3 {
    margin: 0;
    font-size: 20px;
}

.camera-close {
    border: 0;
    background: #eee;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.camera-preview {
    width: 100%;
    aspect-ratio: 4 / 3;

    background: #111;

    border-radius: 16px;

    overflow: hidden;

    position: relative;
}

.camera-preview video {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.photo-preview-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;

    margin-top: 12px;

    border-radius: 16px;

    overflow: hidden;

    background: #111;
}

.photo-preview-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 15px;
}

.camera-control-btn,
.take-photo-btn,
.use-photo-btn {
    border: 0;
    border-radius: 12px;

    padding: 12px 15px;

    font-weight: 700;

    cursor: pointer;
}

.camera-control-btn {
    background: #e9ecef;
    color: #333;
}

.take-photo-btn {
    flex: 1;

    background: #ef233c;
    color: white;

    font-size: 15px;
}

.use-photo-btn {
    flex: 1;

    background: #16a34a;
    color: white;

    font-size: 15px;
}

.hidden {
    display: none !important;
}

@media (max-width: 600px) {

    .camera-card {
        padding: 14px;
        border-radius: 18px;
    }

    .camera-controls {
        flex-direction: column;
    }

    .camera-control-btn,
    .take-photo-btn,
    .use-photo-btn {
        width: 100%;
    }
}


.eye {
    position: absolute;
    width: 8px;
    height: 12px;
    background: #1e293b;
    border-radius: 50%;
    top: 19px;
}

.eye.e1 { left: 16px; }
.eye.e2 { right: 16px; }

.smile {
    position: absolute;
    width: 22px;
    height: 10px;
    border-bottom: 3px solid #000;
    border-radius: 50%;
    left: 17px;
    top: 34px;
}

.cartoon .body {
    position: absolute;
    top: 53px;
    left: 10px;
    width: 58px;
    height: 82px;
    border: 5px solid #000;
    border-radius: 30px 30px 10px 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    background: var(--p1);
}

.cartoon-p2 .body {
    background: var(--p2);
	transform: scaleX(-1);
}

.shoe {
    position: absolute;
    left: 10px;
    bottom: 0;
    width: 58px;
    height: 18px;
    border: 4px solid #000;
    border-radius: 18px;
    background: #fff;
}

.cartoon-p2 .shoe {
    left: 10px;
}

.game-message {
    position: absolute;
    left: 50%;
    top: 84%;
    transform: translate(-50%, -50%);
    z-index: 6;
    text-align: center;
    min-width: 260px;
    max-width: 90%;
    pointer-events: none;
}

.game-message b {
    display: block;
    font-size: 22px;
}

.game-message span {
    display: block;
    margin-top: 5px;
    color: #405d78;
    font-size: 13px;
}

.center-controls {
    position: relative;
    z-index: 10;
    padding: 12px 20px 18px;
    background: rgba(255,255,255,.8);
    border-top: 3px solid rgba(0,0,0,.12);
}

.join-box {
    display: inline-flex;
    gap: 7px;
    width: calc(50% - 5px);
}

.join-box input {
    min-width: 0;
    flex: 1;
    border: 3px solid #000;
    border-radius: 11px;
    padding: 10px 12px;
    background: #fff;
}

.btn, .start-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #000;
    border-radius: 12px;
    padding: 9px 14px;
    background: #fff;
    color: var(--ink);
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 3px 3px 0 #000;
}

.btn:active, .start-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #000;
}

.btn.selected {
    outline: 4px solid var(--yellow);
}

.red-btn {
    background: var(--p1);
    color: #fff;
}

.blue-btn {
    background: var(--p2);
    color: #fff;
}

.start-btn {
    width: 100%;
    margin-top: 10px;
    min-height: 48px;
    background: var(--yellow);
    font-size: 17px;
}

.start-btn:disabled {
    cursor: not-allowed;
    opacity: .45;
    box-shadow: none;
}

.danger-btn {
    background: #ff7474;
    color: #fff;
}

.toast {
    position: fixed;
    z-index: 100;
    left: 50%;
    bottom: 20px;
    transform: translate(-50%, 100px);
    opacity: 0;
    background: #071b3a;
    color: #fff;
    border: 3px solid #000;
    border-radius: 14px;
    padding: 12px 20px;
    font-weight: 900;
    box-shadow: 4px 4px 0 #000;
    transition: .2s ease;
}

.toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

.toast.success { background: #1f9d55; }
.toast.error { background: #e63950; }

.modal {
    position: fixed;
    z-index: 200;
    inset: 0;
    background: rgba(6, 20, 43, .65);
    display: grid;
    place-items: center;
    padding: 20px;
}

.hidden {
    display: none !important;
}

.modal-card {
    width: min(470px, 95vw);
    background: #fff;
    border: 6px solid #000;
    border-radius: 26px;
    box-shadow: 10px 10px 0 #000;
    padding: 35px;
    text-align: center;
    animation: pop .25s ease;
}

.confetti {
    font-size: 38px;
    letter-spacing: 14px;
}

.modal-card h2 {
    margin: 8px 0;
    font-size: 30px;
}

.result-scores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 25px 0;
}

.result-scores div {
    border: 4px solid #000;
    border-radius: 14px;
    padding: 12px;
}

.result-scores span, .result-scores b {
    display: block;
}

.result-scores b {
    font-size: 30px;
    margin-top: 4px;
}

/* ADMIN */
.admin-page {
    background: #f3f6fb;
}

.login-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.login-card {
    width: min(420px, 95vw);
    background: #fff;
    border: 5px solid #000;
    border-radius: 24px;
    box-shadow: 8px 8px 0 #000;
    padding: 35px;
}

.big-logo {
    font-size: 55px;
    text-align: center;
}

.login-card h1 {
    text-align: center;
    margin: 0;
}

.login-card p {
    text-align: center;
    color: var(--muted);
}

.login-card label,
.admin-card label {
    display: block;
    font-weight: 900;
    margin-bottom: 7px;
}

.login-card input,
.admin-card input,
.admin-card textarea,
.admin-card select {
    width: 100%;
    border: 3px solid #000;
    border-radius: 10px;
    padding: 11px 12px;
    background: #fff;
    margin-bottom: 15px;
}

.login-card .start-btn {
    margin-top: 8px;
}

.back-link {
    display: block;
    margin-top: 20px;
    text-align: center;
    color: var(--ink);
    font-weight: 900;
}

.admin-topbar {
    min-height: 70px;
    padding: 14px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 4px solid #000;
}

.admin-topbar a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 900;
    margin-left: 18px;
}

.admin-container {
    width: min(1200px, 94vw);
    margin: 30px auto 60px;
}

.admin-heading,
.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.admin-heading h1 {
    margin: 0;
    font-size: 34px;
}

.admin-heading p,
.section-title-row p {
    color: var(--muted);
}

/* =========================================================
   WAJAH PEMAIN DI KARAKTER
   ========================================================= */
.winner-photo-wrap {
    width: 150px;
    height: 150px;
    margin: 15px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #ffd700;
    background: #eee;
    box-shadow:
        0 0 0 4px rgba(255,255,255,.8),
        0 8px 25px rgba(0,0,0,.25);
}

.winner-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}


.cartoon .head {
    position: relative;
    overflow: hidden;
}

.cartoon-face {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    display: none;

    z-index: 5;
}

.cartoon-face.active {
    display: block;
}

.default-face {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.admin-card {
    background: #fff;
    border: 4px solid #000;
    border-radius: 18px;
    box-shadow: 5px 5px 0 #000;
    padding: 24px;
    margin-top: 22px;
}

.admin-card h2 {
    margin-top: 0;
}

.alert {
    border: 3px solid #000;
    border-radius: 12px;
    padding: 12px 15px;
    margin-top: 20px;
    font-weight: 900;
}

.alert.success {
    background: #c9f7d2;
}

.alert.error {
    background: #ffd2d7;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.form-submit {
    grid-column: 1 / -1;
}

.question-form > label {
    margin-bottom: 5px;
}

.options-admin {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.correct-select {
    max-width: 220px;
    margin-top: 8px;
}

  ```css
/* =========================================================
   DAFTAR SOAL - CARD GRID
   ========================================================= */

.questions-card {
    overflow: hidden;
}

.questions-header {
    margin-bottom: 20px;
}

.questions-header h2 {
    margin-bottom: 6px;
}

.questions-header p {
    margin: 0;
}


/* ---------------------------------------------------------
   GRID
   --------------------------------------------------------- */

.questions-grid {
    display: grid;

    /* Desktop = 3 kolom */
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
}


/* ---------------------------------------------------------
   CARD SOAL
   --------------------------------------------------------- */

.question-item {
    min-width: 0;

    display: flex;
    flex-direction: column;

    background: #fff;

    border: 3px solid #000;
    border-radius: 18px;

    padding: 17px;

    box-shadow: 4px 4px 0 #000;

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

.question-item:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 #000;
}


/* ---------------------------------------------------------
   HEADER CARD
   --------------------------------------------------------- */

.question-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 13px;
}

.question-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 44px;
    height: 34px;

    padding: 0 10px;

    border-radius: 10px;

    background: var(--yellow);

    border: 3px solid #000;

    font-size: 14px;
    font-weight: 900;
}

.question-id {
    color: var(--muted);

    font-size: 12px;
    font-weight: 700;
}


/* ---------------------------------------------------------
   PERTANYAAN
   --------------------------------------------------------- */

.question-item-text {
    min-height: 70px;

    margin-bottom: 15px;

    font-size: 16px;
    line-height: 1.45;

    font-weight: 900;

    overflow-wrap: anywhere;
    word-break: break-word;
}


/* ---------------------------------------------------------
   PILIHAN JAWABAN
   --------------------------------------------------------- */

.question-options {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-bottom: 17px;
}

.question-option {
    display: flex;
    align-items: center;

    min-width: 0;

    gap: 9px;

    padding: 9px 10px;

    background: #f7f9fc;

    border: 2px solid #d6dee8;
    border-radius: 10px;

    font-size: 13px;
    font-weight: 700;

    transition:
        background .15s ease,
        border-color .15s ease;
}


/* Jawaban yang benar */

.question-option.is-correct {
    background: #e9fbe9;

    border-color: #35b853;

    box-shadow: inset 0 0 0 1px rgba(53,184,83,.15);
}


/* Huruf A B C D */

.option-letter {
    flex: 0 0 27px;

    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #dfe7ef;

    color: var(--ink);

    font-size: 12px;
    font-weight: 900;
}

.question-option.is-correct .option-letter {
    background: var(--green);

    border: 2px solid #000;
}


/* Text jawaban */

.option-text {
    min-width: 0;

    flex: 1;

    overflow-wrap: anywhere;
    word-break: break-word;

    line-height: 1.35;
}


/* Icon check */

.correct-icon {
    flex: 0 0 auto;

    width: 24px;
    height: 24px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--green);

    border: 2px solid #000;

    font-size: 13px;
    font-weight: 900;
}


/* ---------------------------------------------------------
   FOOTER CARD
   --------------------------------------------------------- */

.question-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: auto;

    padding-top: 13px;

    border-top: 2px dashed #d6dee8;
}


/* Jawaban benar */

.correct-info {
    display: flex;
    align-items: center;

    gap: 7px;

    min-width: 0;
}

.correct-label {
    color: var(--muted);

    font-size: 11px;
    font-weight: 800;
}

.correct-badge {
    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--green);

    border: 3px solid #000;

    font-size: 13px;
    font-weight: 900;
}


/* ---------------------------------------------------------
   BUTTON ACTION
   --------------------------------------------------------- */

.question-actions {
    display: flex;
    align-items: center;

    gap: 7px;

    flex-shrink: 0;
}

.question-actions form {
    margin: 0;
    padding: 0;
}

.question-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 35px;

    padding: 6px 10px;

    border: 3px solid #000;
    border-radius: 9px;

    background: #fff;

    color: var(--ink);

    font-size: 12px;
    font-weight: 900;

    text-decoration: none;

    cursor: pointer;

    box-shadow: 2px 2px 0 #000;

    transition:
        transform .08s ease,
        box-shadow .08s ease,
        background .12s ease;
}

.question-action:hover {
    background: #f4f7fa;
}

.question-action:active {
    transform: translate(2px, 2px);

    box-shadow: 0 0 0 #000;
}


/* Edit */

.edit-action {
    background: #fff;
}


/* Hapus */

.delete-action {
    background: #ff7474;

    color: #fff;
}

.delete-action:hover {
    background: #ff5d5d;
}


/* ---------------------------------------------------------
   EMPTY STATE
   --------------------------------------------------------- */

.questions-empty {
    grid-column: 1 / -1;

    min-height: 180px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    border: 3px dashed #b8c4d2;
    border-radius: 16px;

    color: var(--muted);

    text-align: center;
}

.questions-empty .empty-icon {
    font-size: 42px;

    margin-bottom: 5px;
}

.questions-empty strong {
    color: var(--ink);

    font-size: 17px;
}

.questions-empty span {
    font-size: 13px;
}


/* =========================================================
   RESPONSIVE DAFTAR SOAL
   ========================================================= */


/* ---------------------------------------------------------
   Laptop / layar sedang
   1001 - 1199 px
   --------------------------------------------------------- */

@media (max-width: 1199px) {

    .questions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 16px;
    }

}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 800px) {

    .admin-container {
        width: min(94vw, 700px);

        margin-top: 22px;
    }

    .admin-card {
        padding: 18px;

        border-width: 3px;

        box-shadow: 4px 4px 0 #000;
    }

    .questions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

    .question-item {
        padding: 14px;

        border-radius: 15px;
    }

    .question-item-text {
        font-size: 15px;
    }

    .question-option {
        font-size: 12px;

        padding: 8px;
    }

    .question-item-footer {
        align-items: flex-start;

        flex-direction: column;
    }

    .question-actions {
        width: 100%;
    }

    .question-action {
        flex: 1;

        min-height: 38px;
    }

}


/* ---------------------------------------------------------
   HP
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .admin-container {
        width: calc(100% - 20px);

        margin: 15px auto 35px;
    }

    .admin-topbar {
        min-height: 60px;

        padding: 10px 12px;

        flex-wrap: wrap;

        gap: 8px;
    }

    .admin-topbar > div:first-child {
        min-width: 0;

        flex: 1;
    }

    .admin-topbar strong {
        font-size: 14px;
    }

    .admin-topbar span {
        font-size: 13px;
    }

    .admin-topbar > div:last-child {
        display: flex;

        gap: 8px;
    }

    .admin-topbar a {
        margin-left: 0;

        font-size: 13px;
    }

    .admin-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }

    .admin-heading h1 {
        font-size: 27px;
    }

    .admin-heading p {
        font-size: 13px;

        margin-bottom: 0;
    }

    .admin-heading .btn {
        width: 100%;
    }

    .admin-card {
        margin-top: 16px;

        padding: 15px;

        border-radius: 15px;
    }

    .questions-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .questions-header {
        align-items: flex-start;
    }

    .questions-header h2 {
        font-size: 20px;
    }

    .questions-header p {
        font-size: 12px;

        line-height: 1.4;
    }

    .question-item {
        padding: 14px;

        box-shadow: 3px 3px 0 #000;
    }

    .question-item:hover {
        transform: none;

        box-shadow: 3px 3px 0 #000;
    }

    .question-item-text {
        min-height: 0;

        font-size: 15px;

        line-height: 1.5;
    }

    .question-option {
        padding: 9px;

        font-size: 13px;
    }

    .question-item-footer {
        gap: 10px;
    }

    .correct-info {
        width: 100%;

        justify-content: space-between;
    }

    .question-actions {
        width: 100%;

        gap: 8px;
    }

    .question-action {
        min-height: 40px;

        font-size: 12px;
    }

}


/* ---------------------------------------------------------
   HP sangat kecil
   --------------------------------------------------------- */

@media (max-width: 380px) {

    .admin-container {
        width: calc(100% - 14px);
    }

    .admin-card {
        padding: 12px;
    }

    .question-item {
        padding: 12px;
    }

    .question-item-header {
        margin-bottom: 10px;
    }

    .question-number {
        min-width: 40px;

        height: 31px;

        font-size: 12px;
    }

    .question-id {
        font-size: 10px;
    }

    .question-item-text {
        font-size: 14px;
    }

    .question-option {
        gap: 7px;

        padding: 8px;

        font-size: 12px;
    }

    .option-letter {
        flex-basis: 25px;

        width: 25px;
        height: 25px;
    }

    .correct-icon {
        width: 22px;
        height: 22px;
    }

}
```


.actions {
    white-space: nowrap;
}

.actions form {
    display: inline;
}

.correct-badge {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--green);
    border: 3px solid #000;
    font-weight: 900;
}

.muted {
    color: var(--muted);
}

pre {
    background: #0c1830;
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    overflow: auto;
}

/* Animations */
@keyframes pop {
    from { transform: scale(.8) rotate(-2deg); opacity: 0; }
    to { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes floatCloud {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@keyframes timerPulse {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

/* =========================================================
   RESPONSIVE LAYOUT
   ========================================================= */

/* Laptop kecil / tablet landscape */
@media (max-width: 1200px) {

    .topbar {
        padding-left: 20px;
        padding-right: 20px;
    }

    .game-layout {
        grid-template-columns: minmax(280px, 1fr) minmax(420px, 1.4fr) minmax(280px, 1fr);
    }

    .player-panel {
        padding: 24px 20px;
    }

    .question-card {
        padding: 22px 20px;
    }

    .question-text {
        font-size: clamp(17px, 1.8vw, 20px);
    }

    .answer-btn {
        min-height: 68px;
        padding: 10px 12px;
    }

    .avatar {
        width: 58px;
        height: 58px;
    }

    .score-box strong {
        font-size: 32px;
    }

    .settings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1000px) {

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

    .center-panel {
        grid-column: 1 / -1;
        grid-row: 1;
        min-height: 520px;
    }

    .p1-panel {
        grid-column: 1;
        grid-row: 2;
        border-right: 2px solid #000;
    }

    .p2-panel {
        grid-column: 2;
        grid-row: 2;
        border-left: 2px solid #000;
    }

    .player-panel {
        padding: 22px 18px;
    }

    .player-head {
        gap: 8px;
    }

    .player-title {
        gap: 8px;
    }

    .player-title h2 {
        font-size: 18px;
    }

    .keys {
        font-size: 12px;
    }

    .score-box strong {
        font-size: 30px;
    }

    .options-grid {
        gap: 10px;
    }

    .answer-btn {
        min-height: 64px;
        border-width: 4px;
        box-shadow: 3px 3px 0 #000;
    }

    .answer-letter {
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
    }

    .match-score {
        top: 14px;
        min-width: 220px;
        padding: 10px 16px;
    }

    .match-score strong {
        font-size: 24px;
    }

    .rope {
        left: 10%;
        right: 10%;
    }

    .cartoon-p1 {
        left: 5%;
    }

    .cartoon-p2 {
        right: 5%;
    }
}


/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 700px) {

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    /* ---------- TOPBAR ---------- */

    .topbar {
        min-height: 70px;
        height: auto;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px;
        padding: 10px 12px;
    }

    .brand {
        min-width: 0;
        font-size: 16px;
        gap: 7px;
    }

    .brand-icon {
        font-size: 24px;
    }

    .timer-pill {
        min-width: 0;
        padding: 7px 12px;
        border-width: 4px;
        font-size: 20px;
        gap: 7px;
    }

    .timer-icon {
        font-size: 20px;
    }

    .top-actions {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: space-between;
        gap: 5px;
    }

    .ghost-btn {
        padding: 8px 9px;
        font-size: 13px;
    }


    /* ---------- GAME ---------- */

    .game-layout {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    /*
       Urutan:
       1. Arena
       2. Player 1
       3. Player 2
    */

    .center-panel {
        order: 1;
        width: 100%;
        min-height: 480px;
    }

    .p1-panel {
        order: 2;
        width: 100%;
        border: 0;
        border-top: 4px solid #000;
    }

    .p2-panel {
        order: 3;
        width: 100%;
        border: 0;
        border-top: 4px solid #000;
    }

    .player-panel {
        padding: 18px 14px;
    }


    /* ---------- PLAYER ---------- */

    .player-head {
        align-items: center;
    }

    .player-title {
        min-width: 0;
    }

    .player-title > div {
        min-width: 0;
    }

    .player-title h2 {
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .keys {
        font-size: 11px;
    }

    .avatar {
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
        border-width: 4px;
        font-size: 17px;
    }

    .score-box span {
        font-size: 11px;
    }

    .score-box strong {
        font-size: 28px;
    }


    /* ---------- QUESTION ---------- */

    .question-card {
        min-height: 0;
        margin-bottom: 16px;
        padding: 18px 15px;
        border-width: 4px;
        border-radius: 16px;
        box-shadow: 5px 5px 0 #000;
    }

    .question-label {
        font-size: 12px;
        margin-bottom: 7px;
    }

    .question-text {
        font-size: clamp(16px, 4.5vw, 20px);
        line-height: 1.45;
    }


    /* ---------- ANSWERS ---------- */

    .options-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .answer-btn {
        width: 100%;
        min-height: 58px;
        border-width: 4px;
        border-radius: 13px;
        padding: 9px 11px;
        gap: 9px;
        font-size: 14px;
        box-shadow: 3px 3px 0 #000;
    }

    .answer-letter {
        flex: 0 0 30px;
        width: 30px;
        height: 30px;
        font-size: 13px;
    }


    /* ---------- ARENA ---------- */

    .arena {
        min-height: 390px;
    }

    .cloud {
        font-size: 42px;
    }

    .cloud-1 {
        top: 75px;
        left: 7%;
    }

    .cloud-2 {
        top: 105px;
        right: 5%;
    }

    .rope {
        left: 8%;
        right: 8%;
        top: 63%;
    }

    .cartoon {
        transform: scale(.78);
        transform-origin: bottom center;
    }

    .cartoon-p1 {
        left: 1%;
    }

    .cartoon-p2 {
        right: 1%;
        transform: scaleX(-1) scale(.78);
    }

    .ground {
        height: 27%;
    }


    /* ---------- MATCH SCORE ---------- */

    .match-score {
        top: 10px;
        min-width: 0;
        width: auto;
        max-width: calc(100% - 30px);
        padding: 8px 12px;
        gap: 12px;
        border-width: 4px;
        border-radius: 16px;
        box-shadow: 5px 5px 0 #000;
    }

    .match-score span {
        font-size: 10px;
    }

    .match-score strong {
        font-size: 21px;
    }

    .vs {
        font-size: 16px;
    }


    /* ---------- CONTROLS ---------- */

    .center-controls {
        padding: 10px 12px 14px;
    }

    .join-box {
        width: 100%;
        margin-bottom: 7px;
    }

    .join-box input {
        padding: 9px 10px;
        font-size: 14px;
    }

    .btn,
    .start-btn {
        border-width: 3px;
        padding: 8px 11px;
    }

    .start-btn {
        min-height: 45px;
        font-size: 15px;
    }


    /* ---------- KEYBOARD HINT ---------- */

    .keyboard-hint {
        flex-direction: column;
        gap: 7px;
    }

    .keyboard-hint .hint {
        padding: 7px 8px;
        font-size: 11px;
    }


    /* ---------- COUNTDOWN ---------- */

    .countdown-number {
        font-size: clamp(90px, 25vw, 150px);
    }

    .countdown-text {
        font-size: clamp(18px, 5vw, 28px);
        letter-spacing: 2px;
        text-align: center;
    }


    /* ---------- MODAL ---------- */

    .modal {
        padding: 12px;
    }

    .modal-card {
        width: min(470px, calc(100vw - 24px));
        padding: 22px 16px;
        border-width: 4px;
        border-radius: 20px;
        box-shadow: 6px 6px 0 #000;
    }

    .modal-card h2 {
        font-size: 24px;
    }

    .confetti {
        font-size: 28px;
        letter-spacing: 7px;
    }

    .result-scores {
        gap: 8px;
        margin: 18px 0;
    }

    .result-scores div {
        border-width: 3px;
        padding: 9px;
    }

    .result-scores b {
        font-size: 25px;
    }
}
.confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}

.confetti {
    position: absolute;
    top: -30px;
    width: 10px;
    height: 18px;
    opacity: 0.9;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% {
        transform:
            translate3d(0, -30px, 0)
            rotate(0deg);
        opacity: 1;
    }

    25% {
        transform:
            translate3d(40px, 25vh, 0)
            rotate(180deg);
    }

    50% {
        transform:
            translate3d(-50px, 50vh, 0)
            rotate(360deg);
    }

    75% {
        transform:
            translate3d(60px, 75vh, 0)
            rotate(540deg);
    }

    100% {
        transform:
            translate3d(-40px, 110vh, 0)
            rotate(720deg);
        opacity: 0;
    }
}


/* =========================================================
   HP SANGAT KECIL
   ========================================================= */
@media (max-width: 380px) {

    .topbar {
        padding: 8px 9px;
    }

    .brand {
        font-size: 14px;
    }

    .brand-icon {
        font-size: 21px;
    }

    .timer-pill {
        font-size: 17px;
        padding: 6px 9px;
    }

    .player-panel {
        padding: 15px 10px;
    }

    .avatar {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .player-title h2 {
        font-size: 16px;
    }

    .score-box strong {
        font-size: 25px;
    }

    .question-card {
        padding: 15px 12px;
    }

    .answer-btn {
        font-size: 13px;
        min-height: 54px;
    }

    .answer-letter {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }

    .center-panel {
        min-height: 430px;
    }

    .arena {
        min-height: 350px;
    }

    .cartoon {
        transform: scale(.65);
    }

    .cartoon-p2 {
        transform: scaleX(-1) scale(.65);
    }
}


/* =========================================================
   LANDSCAPE HP
   ========================================================= */
@media (max-width: 900px) and (orientation: landscape) {

    .topbar {
        min-height: 58px;
        padding: 7px 12px;
    }

    .top-actions {
        display: none;
    }

    .center-panel {
        min-height: 430px;
    }

    .arena {
        min-height: 330px;
    }

    .game-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .center-panel {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .p1-panel {
        grid-column: 1;
        grid-row: 2;
    }

    .p2-panel {
        grid-column: 2;
        grid-row: 2;
    }

    .options-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   FULL SCREEN GAME - TIDAK SCROLL
   ========================================================= */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.app {
    width: 100%;
    height: 100vh;
    min-height: 0;
    overflow: hidden;
}


/* TOPBAR */
.topbar {
    height: 102px;
    min-height: 102px;
}


/* AREA GAME */
.game-layout {
    height: calc(100vh - 102px);
    min-height: 0;
    max-height: calc(100vh - 102px);
    overflow: hidden;
}


/* PANEL PEMAIN */
.player-panel {
    min-height: 0;
    height: 100%;
    overflow: hidden;
}


/* PANEL TENGAH */
.center-panel {
    min-height: 0;
    height: 100%;
    overflow: hidden;
}


/* ARENA */
.arena {
    min-height: 0;
    height: auto;
    overflow: hidden;
}


/* QUESTION */
.question-card {
    min-height: 0;
}


/* =========================================================
   SUPAYA ISI PANEL TIDAK MENDORONG LAYOUT KE BAWAH
   ========================================================= */

.player-panel {
    display: flex;
    flex-direction: column;
}

.player-panel .progress-wrap {
    flex-shrink: 0;
}

.player-panel .question-card {
    flex-shrink: 1;
    overflow: hidden;
}

.player-panel .keyboard-hint {
    flex-shrink: 0;
}


/* =========================================================
   LAPTOP / LAYAR PENDEK
   ========================================================= */

@media (max-height: 800px) and (min-width: 701px) {

    .topbar {
        height: 82px;
        min-height: 82px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .game-layout {
        height: calc(100vh - 82px);
        max-height: calc(100vh - 82px);
    }

    .player-panel {
        padding: 18px 20px;
    }

    .avatar {
        width: 55px;
        height: 55px;
    }

    .player-title h2 {
        font-size: 18px;
    }

    .score-box strong {
        font-size: 32px;
    }

    .progress-wrap {
        margin: 10px 0 12px;
    }

    .question-card {
        padding: 18px 18px;
        margin-bottom: 12px;
    }

    .question-text {
        font-size: 18px;
        line-height: 1.4;
    }

    .answer-btn {
        min-height: 58px;
    }

    .answer-letter {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .center-panel .arena {
        min-height: 0;
    }

    .match-score {
        top: 12px;
        padding: 10px 18px;
    }

    .rope {
        top: 62%;
    }

    .cartoon {
        bottom: 12%;
        transform: scale(.78);
        transform-origin: bottom center;
    }

    .cartoon-p2 {
        transform: scaleX(-1) scale(.78);
    }

    .center-controls {
        padding: 8px 16px 10px;
    }
}


/* =========================================================
   LAYAR SANGAT PENDEK
   Misalnya laptop 1366x768 / 1280x720
   ========================================================= */

@media (max-height: 720px) and (min-width: 701px) {

    .topbar {
        height: 70px;
        min-height: 70px;
        padding: 6px 16px;
    }

    .brand {
        font-size: 17px;
    }

    .brand-icon {
        font-size: 24px;
    }

    .timer-pill {
        padding: 6px 20px;
        font-size: 22px;
        border-width: 4px;
    }

    .game-layout {
        height: calc(100vh - 70px);
        max-height: calc(100vh - 70px);
    }

    .player-panel {
        padding: 12px 16px;
    }

    .avatar {
        width: 48px;
        height: 48px;
        border-width: 4px;
        font-size: 16px;
    }

    .player-title {
        gap: 8px;
    }

    .player-title h2 {
        font-size: 16px;
        margin-bottom: 2px;
    }

    .keys {
        font-size: 11px;
    }

    .score-box span {
        font-size: 11px;
    }

    .score-box strong {
        font-size: 27px;
    }

    .progress-wrap {
        margin: 7px 0 9px;
    }

    .progress {
        height: 15px;
        border-width: 3px;
    }

    .progress-wrap small {
        font-size: 11px;
        margin-top: 3px;
    }

    .question-card {
        padding: 14px;
        margin-bottom: 9px;
        border-width: 4px;
        border-radius: 16px;
        box-shadow: 5px 5px 0 #000;
    }

    .question-label {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .question-text {
        font-size: 16px;
        line-height: 1.35;
    }

    .options-grid {
        gap: 7px;
    }

    .answer-btn {
        min-height: 50px;
        padding: 7px 9px;
        border-width: 3px;
        border-radius: 12px;
        box-shadow: 2px 2px 0 #000;
        font-size: 13px;
    }

    .answer-letter {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
        font-size: 12px;
    }

    .answer-status {
        min-height: 18px;
        margin-top: 5px;
        font-size: 11px;
    }

    .center-panel {
        min-height: 0;
    }

    .match-score {
        top: 8px;
        padding: 7px 14px;
        border-width: 4px;
        box-shadow: 5px 5px 0 #000;
    }

    .match-score strong {
        font-size: 22px;
    }

    .match-score span {
        font-size: 10px;
    }

    .vs {
        font-size: 16px;
    }

    .cloud {
        font-size: 42px;
    }

    .rope {
        top: 62%;
        height: 55px;
    }

    .rope-line {
        top: 20px;
        height: 12px;
        border-width: 3px;
    }

    .flag {
        width: 40px;
        height: 23px;
        border-width: 4px;
    }

    .ground {
        height: 23%;
    }

    .cartoon {
        width: 70px;
        height: 128px;
        bottom: 9%;
        transform: scale(.72);
        transform-origin: bottom center;
    }

    .cartoon-p2 {
        transform: scaleX(-1) scale(.72);
    }

    .game-message {
        top: 86%;
    }

    .game-message b {
        font-size: 18px;
    }

    .game-message span {
        font-size: 11px;
    }

    .center-controls {
        padding: 6px 12px 8px;
    }

    .join-box input {
        padding: 7px 9px;
    }

    .btn,
    .start-btn {
        padding: 7px 10px;
    }

    .start-btn {
        min-height: 40px;
        margin-top: 6px;
        font-size: 14px;
    }
}


html {
    min-height: 100%;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
}

body.admin-page {
    min-height: 100vh;
    height: auto;

    overflow-x: hidden;
    overflow-y: auto;

    -webkit-overflow-scrolling: touch;
}

/* Pastikan container admin tidak mengunci tinggi */
.admin-page .admin-container {
    height: auto;
    min-height: 0;
    overflow: visible;
}

/* Card tidak memotong isi */
.admin-page .admin-card {
    height: auto;
    overflow: visible;
}

/* Grid daftar soal boleh memanjang ke bawah */
.admin-page .questions-grid {
    height: auto;
    overflow: visible;
}