/* ./styles/style_wish_selection_modal.css */
/* 职责：定义“许愿”技能浮层界面的专属样式。 */

#wish-selection-modal {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    align-items: initial;
    justify-content: initial;
    pointer-events: none;
}

.wish-overlay-content {
    backdrop-filter: blur(4px);
    background-color: rgba(10, 10, 20, 0.6);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.wish-wheel-mirror {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(7, 1fr);
    width: 100%;
    height: 100%;
    position: relative;
    display: grid;
}

.wish-center-panel {
    grid-column: 2 / span 7;
    grid-row: 2 / span 5;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    pointer-events: none;
}

.wish-center-panel > * {
    pointer-events: all;
}


.wish-header {
    text-align: center;
}

.wish-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-purple);
    text-shadow: 0 0 10px var(--color-purple), 0 0 2px black;
}

.wish-header .wish-cost {
    font-size: 1rem;
    color: #ef4444;
    font-weight: bold;
    text-shadow: 0 0 2px black;
}

.wish-header .wish-spin-note {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.35;
    color: #93c5fd;
    font-weight: normal;
    text-shadow: 0 0 2px black;
    max-width: 22rem;
}


.wish-icon-button {
    aspect-ratio: 1 / 1;
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0.2rem;
    z-index: 5;
}

.wish-icon-button:hover {
    background-color: rgba(139, 92, 246, 0.3);
    border-color: var(--color-purple);
    transform: scale(1.05);
}

.wish-icon-button.selected {
    background-color: rgba(251, 191, 36, 0.3);
    border-color: #FBBF24;
    box-shadow: 0 0 15px #FBBF24;
    transform: scale(1.05);
}

.wish-icon-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
    pointer-events: none;
    opacity: 0.8;
}

.wish-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 60%;
}