    #quiz-container {
        display: none;
        padding: 20px;
        text-align: center;
        background: #fcfcfc;
        border: 2px solid #f0f0f0;
        border-radius: 15px;
    }
    .quiz-top-ctrl {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 5px;
    }
    .time-quiz-field { position: relative; isolation: isolate; }
    .time-quiz-content { transition: filter 0.18s ease; }
    .time-quiz-field.is-game-over .time-quiz-content { filter: blur(5px); pointer-events: none; }
    .time-quiz-game-over {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
        padding: 20px;
        border-radius: 8px;
        background: rgba(12, 17, 25, 0.55);
        color: #fff;
        text-align: center;
    }
    .time-quiz-game-over[hidden] { display: none; }
    .time-quiz-game-over h3 { margin: 0; font-size: 25px; }
    .time-quiz-final-score { color: #ffe19b; font-size: 18px; font-weight: 900; }
    .time-quiz-game-over-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
    .time-quiz-game-over-actions .btn { min-width: 100px; margin: 0; }
    #quiz-score {
        flex: 1 1 auto;
        color: #555;
        font-size: 9px;
        font-weight: 500;
        font-family: 'Pretendard', sans-serif;
    }
    #quiz-score b {
        font-size: 9px;
    }
    #quiz-score span {
        display: block;
        margin-top: 2px;
    }
    .quiz-life-bar {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
        padding: 6px 10px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid #ffd4df;
        border-radius: 999px;
        box-shadow: 0 4px 12px rgba(255, 107, 129, 0.12);
    }
    .quiz-life-label {
        color: #c45a74;
        font-size: 9px;
        font-family: 'Pretendard', sans-serif;
        font-weight: 700;
        white-space: nowrap;
    }
    .quiz-lives {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    .quiz-life {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        color: #ff5f87;
        font-size: 22px;
        line-height: 1;
        text-shadow: 0 3px 8px rgba(255, 95, 135, 0.35);
        transform-origin: center;
        transition: transform 0.2s ease, opacity 0.25s ease, filter 0.25s ease;
    }
    .quiz-life.lost {
        opacity: 0.2;
        filter: grayscale(1);
        text-shadow: none;
        transform: scale(0.88);
    }
    .quiz-life.bursting {
        animation: quiz-life-burst 0.42s ease-out forwards;
    }
    .quiz-flex {
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 38px;
        margin: 30px 0;
    }
    .quiz-card {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        min-height: 200px;
        padding: 25px;
        cursor: pointer;
        background: white;
        border: 2px solid #eee;
        border-radius: 15px;
        transition: all 0.3s;
    }
    .quiz-card:hover {
        border-color: #007bff;
        box-shadow: 0 10px 20px rgba(0, 123, 255, 0.1);
        transform: translateY(-8px);
    }
    .quiz-card img {
        display: block;
        width: 100%;
        max-width: 120px;
        height: 120px;
        margin: 0;
        background-color: #f9f9f9;
        border-radius: 8px;
        object-fit: contain;
    }
    .quiz-card strong {
        color: #222;
        font-size: 16px;
    }
    #quiz-msg {
        min-height: 120px;
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 20px;
        font-weight: bold;
        transition: all 0.3s ease;
    }
    .score-board {
        display: inline-block;
        margin-top: 40px;
        padding: 20px;
        color: #555;
        font-size: 16px;
        text-align: center;
        background-color: #f8f9fa;
        border: 1px solid #eee;
        border-radius: 15px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        transition: transform 0.2s ease;
    }
    .timer-wrapper {
        width: 100%;
        height: 10px;
        margin-top: 15px;
        position: relative;
        overflow: hidden;
        background: #eee;
        border-radius: 5px;
    }
    #timer-bar,
    #classic-timer-bar,
    #stamp-quiz-timer-bar {
        width: 100%;
        height: 100%;
        display: block;
        background: linear-gradient(to right, #4caf50, #f4c542 55%, #f44336);
        transition: width 0.1s linear;
        transform-origin: left center;
    }
    #timer-text,
    #stamp-quiz-timer-text {
        margin-top: 5px;
        color: #ff4d4d;
        font-size: 9px;
        font-weight: bold;
    }
    .quiz-status-box {
        position: absolute;
        top: 15px;
        left: 15px;
        display: none;
        flex-direction: column;
        gap: 2px;
        padding: 8px 12px;
        background: rgba(255, 255, 255, 0.98);
        border: 1.5px solid #007bff;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        pointer-events: none;
    }
    #quiz-container[style*="display: block"] .quiz-status-box {
        display: flex !important;
    }
