.magic-enchant-theme {
    background: radial-gradient(circle at 18% 28%, #48dfe52d, transparent 28%), radial-gradient(circle at 84% 18%, #945cff42, transparent 34%), linear-gradient(135deg, #090d17, #17132a 62%, #0a0d15);
}

.magic-enchant-resources {
    justify-content: center;
    color: #8cecff;
}

.magic-enchant-unavailable {
    opacity: 0.42;
    filter: grayscale(0.65);
    cursor: not-allowed;
}

.magic-enchant-locked {
    grid-column: 1 / -1;
    min-height: 180px;
}

.magic-enchant-reset-button {
    width: 100%;
    min-height: 48px;
    border: 1px solid #9c76d864;
    border-radius: 13px;
    background: linear-gradient(135deg, #24203a, #182435);
    color: #ddd4ff;
    font-size: 15px;
    font-weight: 800;
}

.magic-enchant-card-header {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 13px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #ffffff14;
}

.magic-enchant-card-header > span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid #73e9ff66;
    border-radius: 15px;
    background: #152239;
    font-size: 34px;
}

.magic-enchant-card-header small {
    color: #8edeea;
}

.magic-enchant-card-header h2 {
    margin: 5px 0;
}

.magic-enchant-card-header p {
    margin: 0;
    color: #aeb8c8;
}

.magic-enchant-preview {
    display: grid;
    gap: 8px;
    padding: 14px 0;
}

.magic-enchant-preview > small {
    color: #8e9cac;
    letter-spacing: 0.08em;
}

.magic-enchant-preview > b {
    margin-top: 4px;
    color: #83efff;
}

.magic-enchant-stat-row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #ffffff12;
    border-radius: 10px;
    background: #0b111b;
}

.magic-enchant-reset-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.magic-enchant-reset-list button {
    display: grid;
    place-items: center;
    min-height: 112px;
    padding: 10px 6px;
    border: 1px solid var(--rarity-color, #66717e);
    border-radius: 11px;
    background: radial-gradient(circle, var(--rarity-glow, #ffffff0a), transparent 65%), #111720;
    color: #e5e9ef;
}

.magic-enchant-reset-list button > span {
    font-size: 28px;
}

.magic-enchant-reset-list button strong {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.magic-enchant-reset-list button small {
    color: #8fdff0;
}

.magic-enchant-empty {
    grid-column: 1 / -1;
    padding: 30px;
    text-align: center;
    color: #8f9aa8;
}
