/* v87: quick quiz card below formal lottery, appended only. */
.hunter-explore-game-entry--quiz {
    border-color: rgba(146, 64, 14, 0.22);
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.94), rgba(254, 243, 199, 0.84));
}

.hunter-quiz-card {
    border: 1px solid rgba(146, 64, 14, 0.18);
    border-radius: 22px;
    padding: 18px;
    background: linear-gradient(145deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.9));
    box-shadow: 0 18px 45px rgba(120, 53, 15, 0.16);
    color: #78350f;
}

.hunter-quiz-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.hunter-quiz-kicker {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: rgba(146, 64, 14, 0.68);
}

.hunter-quiz-header h3 {
    margin: 4px 0 6px;
    font-size: 22px;
    color: #7c2d12;
}

.hunter-quiz-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(120, 53, 15, 0.78);
}

.hunter-quiz-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.2);
    color: #92400e;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.hunter-quiz-badge[data-state="available"] {
    background: rgba(34, 197, 94, 0.16);
    color: #166534;
}

.hunter-quiz-badge[data-state="answered"] {
    background: rgba(59, 130, 246, 0.14);
    color: #1d4ed8;
}

.hunter-quiz-badge[data-state="locked"],
.hunter-quiz-badge[data-state="error"] {
    background: rgba(148, 163, 184, 0.18);
    color: #475569;
}

.hunter-quiz-status,
.hunter-quiz-result,
.hunter-quiz-question-box {
    border-radius: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(146, 64, 14, 0.12);
}

.hunter-quiz-status {
    display: grid;
    gap: 3px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.6;
}

.hunter-quiz-status strong {
    color: #7c2d12;
}

.hunter-quiz-status span {
    color: rgba(120, 53, 15, 0.76);
}

.hunter-quiz-question-box {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.hunter-quiz-question-label {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: rgba(146, 64, 14, 0.6);
}

.hunter-quiz-question-box strong {
    font-size: 18px;
    color: #7c2d12;
}

.hunter-quiz-question-box span,
.hunter-quiz-form small {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(120, 53, 15, 0.72);
}

.hunter-quiz-form {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.hunter-quiz-form label {
    font-size: 13px;
    font-weight: 900;
    color: #7c2d12;
}

.hunter-quiz-answer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.hunter-quiz-answer-row input {
    width: 100%;
    border: 1px solid rgba(146, 64, 14, 0.2);
    border-radius: 14px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.86);
    color: #7c2d12;
    font-size: 15px;
    outline: none;
}

.hunter-quiz-answer-row input:focus {
    border-color: rgba(245, 158, 11, 0.72);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.hunter-quiz-answer-row button {
    border: 0;
    border-radius: 14px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #fff7ed;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(234, 88, 12, 0.22);
}

.hunter-quiz-answer-row button:disabled,
.hunter-quiz-answer-row input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.hunter-quiz-result {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(120, 53, 15, 0.82);
}

.hunter-quiz-result.is-correct {
    border-color: rgba(34, 197, 94, 0.22);
    background: rgba(240, 253, 244, 0.82);
    color: #166534;
}

.hunter-quiz-result.is-winner {
    border-color: rgba(245, 158, 11, 0.28);
    background: rgba(255, 251, 235, 0.92);
    color: #92400e;
    font-weight: 900;
}

@media (max-width: 640px) {
    .hunter-quiz-card {
        padding: 14px;
        border-radius: 18px;
    }

    .hunter-quiz-header {
        display: grid;
        gap: 8px;
    }

    .hunter-quiz-header h3 {
        font-size: 19px;
    }

    .hunter-quiz-badge {
        justify-self: start;
    }

    .hunter-quiz-answer-row {
        grid-template-columns: 1fr;
    }

    .hunter-quiz-answer-row button {
        width: 100%;
    }
}


/* v94: make open formal lottery entry feel more special and clearly drawable. */
.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-internal-open,
.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-public-open,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-internal-open,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-public-open {
    position: relative !important;
    border: 2px solid rgba(255, 244, 180, 0.98) !important;
    outline: 3px solid rgba(251, 191, 36, 0.38) !important;
    outline-offset: 0 !important;
    box-shadow:
        0 0 0 2px rgba(153, 27, 27, 0.28),
        0 0 0 6px rgba(251, 191, 36, 0.18),
        0 18px 34px rgba(185, 28, 28, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.30) !important;
}

.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-internal-open::after,
.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-public-open::after,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-internal-open::after,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-public-open::after {
    content: '可抽獎';
    position: absolute;
    top: 10px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 248, 220, 0.62);
    background: rgba(124, 45, 18, 0.24);
    color: #fff7d6;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    pointer-events: none;
}

.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-internal-open:hover,
.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-public-open:hover,
.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-internal-open:focus-visible,
.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-public-open:focus-visible,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-internal-open:hover,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-public-open:hover,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-internal-open:focus-visible,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-public-open:focus-visible {
    box-shadow:
        0 0 0 2px rgba(153, 27, 27, 0.32),
        0 0 0 7px rgba(251, 191, 36, 0.22),
        0 22px 40px rgba(185, 28, 28, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.34) !important;
}

@media (max-width: 640px) {
    .hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-internal-open::after,
    .hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-public-open::after,
    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-internal-open::after,
    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-public-open::after {
        top: 8px;
        right: 10px;
        padding: 3px 8px;
        font-size: 10px;
    }
}


/* v95: quiz question pre-open mask, input overflow fix, and submitted answer display. */
.hunter-quiz-question-box strong {
    display: block;
    min-width: 0;
    transition: filter 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
}

.hunter-quiz-question-box.is-masked {
    position: relative;
    overflow: hidden;
}

.hunter-quiz-question-box.is-masked strong {
    color: rgba(124, 45, 18, 0.45);
    filter: blur(6px);
    text-shadow: 0 0 10px rgba(124, 45, 18, 0.35);
    user-select: none;
}

.hunter-quiz-question-box.is-masked::after {
    content: '開放後顯示題目';
    position: absolute;
    right: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(120, 53, 15, 0.08);
    color: rgba(120, 53, 15, 0.78);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.hunter-quiz-form,
.hunter-quiz-answer-row,
.hunter-quiz-answer-row > *,
.hunter-quiz-answer-row input,
.hunter-quiz-answer-row button {
    box-sizing: border-box !important;
}

.hunter-quiz-form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.hunter-quiz-answer-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-items: stretch !important;
}

.hunter-quiz-answer-row input {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.hunter-quiz-submitted-answer {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(34, 197, 94, 0.18);
    color: rgba(22, 101, 52, 0.92);
}

.hunter-quiz-submitted-answer strong {
    color: #166534;
    font-weight: 900;
}

@media (max-width: 768px) {
    .hunter-quiz-answer-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
    }

    .hunter-quiz-answer-row button {
        width: 100% !important;
        min-width: 0 !important;
    }
}


/* v97: formal quick quiz entry */
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz {
    position: relative !important;
    min-height: 84px !important;
    overflow: hidden !important;
    border-color: rgba(180, 83, 9, .68) !important;
    background:
        radial-gradient(circle at 96% 12%, rgba(251, 191, 36, .32), transparent 30%),
        linear-gradient(135deg, rgba(255, 251, 235, .98), rgba(254, 243, 199, .94) 48%, rgba(255, 237, 213, .96)) !important;
    box-shadow:
        0 10px 22px rgba(120, 53, 15, .14),
        inset 0 1px 0 rgba(255, 255, 255, .94) !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz::before,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz::before {
    content: "QUICK QUIZ";
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 0;
    border: 1px solid rgba(180, 83, 9, .22);
    border-radius: 999px;
    padding: 4px 8px;
    color: rgba(124, 45, 18, .62);
    background: rgba(255, 251, 235, .72);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .1em;
    line-height: 1;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz::after,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz::after {
    content: "";
    position: absolute;
    inset: auto 12px 10px auto;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 38% 34%, rgba(255, 255, 255, .78), transparent 23%),
        radial-gradient(circle, rgba(251, 191, 36, .26), transparent 68%);
    pointer-events: none;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz > span,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz > small,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz > span,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz > small {
    position: relative;
    z-index: 1;
    padding-right: 96px;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz > span,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz > span {
    color: #7c2d12 !important;
    letter-spacing: .01em;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz > small,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz > small {
    color: rgba(124, 45, 18, .78) !important;
    font-weight: 800 !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="available"],
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="available"] {
    border-color: rgba(34, 197, 94, .66) !important;
    background:
        radial-gradient(circle at 96% 12%, rgba(34, 197, 94, .22), transparent 30%),
        linear-gradient(135deg, rgba(240, 253, 244, .98), rgba(220, 252, 231, .94) 46%, rgba(255, 251, 235, .96)) !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="available"]::before,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="available"]::before {
    content: "OPEN";
    border-color: rgba(22, 101, 52, .24);
    color: #166534;
    background: rgba(240, 253, 244, .84);
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="answered"],
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="ended"],
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="answered"],
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="ended"] {
    border-color: rgba(148, 163, 184, .5) !important;
    background:
        radial-gradient(circle at 96% 12%, rgba(148, 163, 184, .18), transparent 30%),
        linear-gradient(135deg, rgba(248, 250, 252, .98), rgba(241, 245, 249, .94)) !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="answered"]::before,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="ended"]::before,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="answered"]::before,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="ended"]::before {
    content: "ENDED";
    border-color: rgba(71, 85, 105, .22);
    color: #475569;
    background: rgba(248, 250, 252, .82);
}

@media (max-width: 768px) {
    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz,
    .hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz {
        min-height: 78px !important;
        padding: 13px 14px !important;
    }

    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz::before,
    .hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz::before {
        top: 9px;
        right: 10px;
        padding: 4px 7px;
        font-size: 9px;
    }

    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz > span,
    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz > small,
    .hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz > span,
    .hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz > small {
        padding-right: 74px;
    }
}


/* v98: reward activity entries should look more distinct from regular minigames */
.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal,
.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--quiz,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--quiz {
    outline: 3px solid rgba(251, 191, 36, .22);
    outline-offset: 4px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .38),
        0 14px 28px rgba(120, 53, 15, .14),
        inset 0 1px 0 rgba(255, 255, 255, .92) !important;
}

.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal small,
.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--quiz small,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal small,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--quiz small {
    font-weight: 900 !important;
    letter-spacing: .01em;
}

.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal {
    border-width: 2px !important;
    box-shadow:
        0 0 0 1px rgba(255, 245, 212, .40),
        0 14px 28px rgba(153, 27, 27, .18),
        inset 0 1px 0 rgba(255, 255, 255, .28) !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz {
    border-width: 2px !important;
    background:
        radial-gradient(circle at 92% 14%, rgba(251, 191, 36, .42), transparent 26%),
        linear-gradient(135deg, rgba(255, 250, 240, .99), rgba(255, 243, 214, .97) 52%, rgba(255, 236, 210, .96)) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .42),
        0 14px 30px rgba(120, 53, 15, .14),
        inset 0 1px 0 rgba(255, 255, 255, .94) !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz::before,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz::before {
    content: "獎勵活動";
    border-color: rgba(180, 83, 9, .20);
    color: rgba(124, 45, 18, .72);
    background: rgba(255, 251, 235, .82);
    box-shadow: 0 4px 10px rgba(120, 53, 15, .08);
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz::after,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz::after {
    inset: auto 16px 12px auto;
    width: 54px;
    height: 54px;
    background:
        radial-gradient(circle at 38% 34%, rgba(255, 255, 255, .82), transparent 22%),
        radial-gradient(circle at 50% 50%, rgba(251, 191, 36, .34), transparent 68%);
    opacity: .9;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz > span,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz > span {
    font-size: 18px !important;
    font-weight: 950 !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz > small,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz > small {
    color: rgba(124, 45, 18, .82) !important;
    line-height: 1.35;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="available"],
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="available"] {
    outline-color: rgba(34, 197, 94, .24);
    border-color: rgba(22, 163, 74, .62) !important;
    background:
        radial-gradient(circle at 92% 14%, rgba(34, 197, 94, .22), transparent 28%),
        linear-gradient(135deg, rgba(240, 253, 244, .99), rgba(220, 252, 231, .95) 48%, rgba(255, 251, 235, .96)) !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="available"]::before,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="available"]::before {
    content: "開放中";
    border-color: rgba(22, 101, 52, .22);
    color: #166534;
    background: rgba(240, 253, 244, .88);
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="answered"],
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="ended"],
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="answered"],
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="ended"] {
    outline-color: rgba(148, 163, 184, .22);
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="answered"]::before,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="ended"]::before,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="answered"]::before,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="ended"]::before {
    content: "已結束";
    border-color: rgba(71, 85, 105, .18);
    color: #475569;
    background: rgba(248, 250, 252, .88);
}

@media (max-width: 768px) {
    .hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal,
    .hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--quiz,
    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal,
    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--quiz {
        outline-offset: 3px;
    }

    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz > span,
    .hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz > span {
        font-size: 17px !important;
    }

    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz::after,
    .hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz::after {
        width: 48px;
        height: 48px;
        inset: auto 12px 12px auto;
    }
}


/* v99: clearer separator between normal minigames and reward activities */
.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal {
    position: relative !important;
    margin-top: 42px !important;
    overflow: visible !important;
    isolation: isolate;
}

.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal::before,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: -18px;
    height: 1px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0), rgba(245, 158, 11, .48) 12%, rgba(217, 119, 6, .85) 50%, rgba(245, 158, 11, .48) 88%, rgba(245, 158, 11, 0));
    pointer-events: none;
    z-index: 0;
}

.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal::after,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal::after {
    content: "獎勵活動專區";
    position: absolute;
    top: -33px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(217, 119, 6, .24);
    background: linear-gradient(180deg, rgba(255, 251, 235, .98), rgba(254, 243, 199, .96));
    color: rgba(146, 64, 14, .86);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .12em;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(120, 53, 15, .08);
    pointer-events: none;
    z-index: 1;
}

.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal + .hunter-explore-game-entry--quiz,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal + .hunter-explore-game-entry--quiz {
    margin-top: 22px !important;
}

@media (max-width: 768px) {
    .hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal,
    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal {
        margin-top: 38px !important;
    }

    .hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal::before,
    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal::before {
        left: 6px;
        right: 6px;
        top: -16px;
    }

    .hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal::after,
    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal::after {
        top: -30px;
        font-size: 10px;
        padding: 5px 10px;
        letter-spacing: .10em;
    }
}


/* v100: cleaner reward section divider + teal quick quiz entry */
.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal {
    margin-top: 34px !important;
    outline: none !important;
    overflow: visible !important;
}

.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal::before,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal::before {
    content: "" !important;
    position: absolute !important;
    left: 18px !important;
    right: 18px !important;
    top: -18px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0), rgba(245, 158, 11, .50) 18%, rgba(180, 83, 9, .72) 50%, rgba(245, 158, 11, .50) 82%, rgba(245, 158, 11, 0)) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* Remove the previous centered reward-zone label. It conflicted with the lottery badge. */
.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal::after,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal::after {
    content: none !important;
    display: none !important;
}

/* Restore the public lottery badge to the top-right corner. */
.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-internal-open::after,
.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-public-open::after,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-internal-open::after,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-public-open::after {
    content: "可抽獎" !important;
    position: absolute !important;
    top: 12px !important;
    right: 14px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 248, 220, .62) !important;
    background: rgba(124, 45, 18, .24) !important;
    color: #fff7d6 !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    letter-spacing: .04em !important;
    line-height: 1.1 !important;
    box-shadow: none !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal + .hunter-explore-game-entry--quiz,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal + .hunter-explore-game-entry--quiz {
    margin-top: 18px !important;
}

/* Quick quiz uses a teal reward-card theme so it does not look like the red lottery card or the normal minigames. */
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz {
    outline: none !important;
    border: 2px solid rgba(13, 148, 136, .58) !important;
    background:
        radial-gradient(circle at 92% 14%, rgba(45, 212, 191, .28), transparent 28%),
        radial-gradient(circle at 18% 100%, rgba(167, 243, 208, .26), transparent 30%),
        linear-gradient(135deg, rgba(240, 253, 250, .99), rgba(204, 251, 241, .95) 48%, rgba(255, 251, 235, .96)) !important;
    box-shadow:
        0 10px 22px rgba(15, 118, 110, .12),
        inset 0 1px 0 rgba(255, 255, 255, .92) !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz::before,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz::before {
    content: "快問快答" !important;
    border-color: rgba(15, 118, 110, .22) !important;
    color: #0f766e !important;
    background: rgba(240, 253, 250, .88) !important;
    box-shadow: 0 4px 10px rgba(15, 118, 110, .08) !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz::after,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz::after {
    width: 50px !important;
    height: 50px !important;
    background:
        radial-gradient(circle at 38% 34%, rgba(255, 255, 255, .84), transparent 22%),
        radial-gradient(circle at 50% 50%, rgba(20, 184, 166, .24), transparent 68%) !important;
    opacity: .82 !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz > span,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz > span {
    color: #134e4a !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz > small,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz > small {
    color: rgba(15, 118, 110, .82) !important;
    font-weight: 900 !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="available"],
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="available"] {
    border-color: rgba(22, 163, 74, .66) !important;
    background:
        radial-gradient(circle at 92% 14%, rgba(34, 197, 94, .26), transparent 28%),
        linear-gradient(135deg, rgba(240, 253, 244, .99), rgba(220, 252, 231, .95) 48%, rgba(236, 253, 245, .96)) !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="available"]::before,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="available"]::before {
    content: "開放中" !important;
    border-color: rgba(22, 101, 52, .22) !important;
    color: #166534 !important;
    background: rgba(240, 253, 244, .90) !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="answered"],
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="ended"],
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="answered"],
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="ended"] {
    border-color: rgba(148, 163, 184, .46) !important;
    background:
        radial-gradient(circle at 92% 14%, rgba(148, 163, 184, .18), transparent 28%),
        linear-gradient(135deg, rgba(248, 250, 252, .99), rgba(241, 245, 249, .95)) !important;
}

.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="answered"]::before,
.hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry--quiz[data-quiz-status="ended"]::before,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="answered"]::before,
.hunter-page .hunter-explore-room:not(.is-playing-explore-game) .hunter-explore-game-entry--quiz[data-quiz-status="ended"]::before {
    content: "已結束" !important;
    border-color: rgba(71, 85, 105, .18) !important;
    color: #475569 !important;
    background: rgba(248, 250, 252, .88) !important;
}

@media (max-width: 768px) {
    .hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal,
    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal {
        margin-top: 30px !important;
    }

    .hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal::before,
    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal::before {
        left: 12px !important;
        right: 12px !important;
        top: -15px !important;
    }

    .hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-internal-open::after,
    .hunter-page .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-public-open::after,
    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-internal-open::after,
    .hunter-page .hunter-game-card.hunter-explore-list-mode .hunter-explore-room .hunter-explore-game-entry.hunter-explore-game-entry--lottery-formal.is-public-open::after {
        top: 10px !important;
        right: 12px !important;
        padding: 3px 9px !important;
        font-size: 10px !important;
    }
}

