.collector-hunt-mirage-layout {
    display: grid;
    grid-template-areas: "controls selector";
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.5fr);
    align-items: stretch;
    gap: 14px;
}

.collector-hunt-mirage-controls {
    grid-area: controls;
    min-width: 0;
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.collector-hunt-mirage-controls .collector-hunt-switch {
    min-width: 0;
    height: 100%;
    align-items: flex-start;
    box-sizing: border-box;
}

.collector-hunt-mirage-controls .collector-hunt-switch input {
    margin-top: 2px;
}

.collector-hunt-monster-choice {
    grid-area: selector;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(83, 125, 159, 0.28);
    border-radius: 14px;
    background: rgba(5, 18, 31, 0.68);
}

@media (max-width: 900px) {
    .collector-hunt-mirage-layout {
        grid-template-areas:
            "controls"
            "selector";
        grid-template-columns: 1fr;
    }

    .collector-hunt-mirage-controls {
        grid-template-rows: none;
    }

    .collector-hunt-mirage-controls .collector-hunt-switch {
        height: auto;
    }
}

.collector-hunt-monster-choice-head strong,
.collector-hunt-monster-choice-head small {
    display: block;
}

.collector-hunt-monster-choice-head strong {
    color: #eff7ff;
    font-size: 0.84rem;
}

.collector-hunt-monster-choice-head small {
    margin-top: 4px;
    color: #8fa6bf;
    font-size: 0.7rem;
    line-height: 1.42;
}

.collector-hunt-monster-wheel-frame {
    position: relative;
    height: 214px;
    overflow: hidden;
    border: 1px solid rgba(100, 137, 166, 0.3);
    border-radius: 13px;
    background:
        radial-gradient(ellipse at center, rgba(245, 185, 54, 0.09), transparent 56%),
        rgba(3, 13, 24, 0.72);
}

.collector-hunt-monster-wheel-frame::before,
.collector-hunt-monster-wheel-frame::after {
    content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    height: 64px;
    pointer-events: none;
}

.collector-hunt-monster-wheel-frame::before {
    top: 0;
    background: linear-gradient(180deg, rgba(3, 13, 24, 0.98), rgba(3, 13, 24, 0));
}

.collector-hunt-monster-wheel-frame::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(3, 13, 24, 0.98), rgba(3, 13, 24, 0));
}

.collector-hunt-monster-wheel {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
    padding: 82px 12px;
    box-sizing: border-box;
    outline: none;
    touch-action: pan-x;
}

.collector-hunt-monster-wheel:focus-visible {
    box-shadow: inset 0 0 0 2px var(--hunt-amber);
}

.collector-hunt-monster-option {
    flex: 0 0 44px;
    min-width: 0;
    cursor: pointer;
    opacity: 0.18;
    transform: scale(0.88);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.collector-hunt-monster-option[data-distance="1"] {
    opacity: 0.55;
    transform: scale(0.95);
}

.collector-hunt-monster-option[data-distance="0"] {
    opacity: 1;
    transform: scale(1);
}

.collector-hunt-monster-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.collector-hunt-monster-option-content {
    position: relative;
    min-height: 44px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 7px 10px 7px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #8fa6bf;
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
}

.collector-hunt-monster-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collector-hunt-monster-selected-badge {
    min-width: 104px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #2b1b00;
    background: linear-gradient(145deg, #fff0a8, #f1b51f);
    box-shadow: 0 0 18px rgba(245, 185, 54, 0.38);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0;
}

.collector-hunt-monster-option input:checked + .collector-hunt-monster-option-content {
    color: #fff6d2;
    border-color: rgba(245, 185, 54, 0.34);
    background: linear-gradient(90deg, transparent 0%, rgba(245, 185, 54, 0.2) 48%, transparent 100%);
    box-shadow: inset 0 0 22px rgba(245, 185, 54, 0.12), 0 0 18px rgba(245, 185, 54, 0.08);
    font-size: 1rem;
    text-shadow: 0 0 12px rgba(255, 220, 112, 0.58);
}

.collector-hunt-monster-option input:checked + .collector-hunt-monster-option-content .collector-hunt-monster-selected-badge {
    opacity: 1;
}

.collector-hunt-monster-option input:focus-visible + .collector-hunt-monster-option-content {
    outline: 2px solid var(--hunt-amber);
    outline-offset: 2px;
}

.collector-hunt-monster-wheel-empty {
    margin: auto;
    color: #8fa6bf;
    font-size: 0.76rem;
    text-align: center;
}

@media (max-width: 520px) {
    .collector-hunt-monster-wheel {
        padding-inline: 8px;
    }

    .collector-hunt-monster-option-content {
        gap: 7px;
        padding-left: 10px;
    }

    .collector-hunt-monster-selected-badge {
        min-width: 88px;
        padding-inline: 8px;
        font-size: 0.58rem;
    }
}
