:root {
    --su-orange: #ff7045;
    --su-gold: #ffc45d;
    --su-cyan: #6ee7ff;
    --su-ink: #07080c;
    --su-panel: #0d1016;
}

/* Acquisition dialog: full artwork stays visible on narrow and short screens. */
.su-fusion-modal.is-acquired .su-fusion-dialog {
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
}
.su-acquired-content {
    display: grid; justify-items: center; gap: clamp(10px, 2vh, 20px);
    padding: clamp(48px, 6vh, 64px) clamp(16px, 4vw, 36px) clamp(20px, 3vh, 32px);
    text-align: center; background: radial-gradient(ellipse at 50% 38%, #a054ce30, transparent 70%);
}
.su-acquired-badge { color: #a4fff0; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.su-acquired-badge span { margin-right: 6px; }
.su-acquired-content h2 { margin: 0; font-size: clamp(1.4rem, 4vw, 2.2rem); line-height: 1.15; overflow-wrap: anywhere; }
.su-acquired-art { width: 100%; min-width: 0; margin: 0; }
.su-acquired-art img {
    display: block; width: 100%; height: auto; max-height: min(42vh, 420px); max-height: min(42dvh, 420px);
    object-fit: contain; border-radius: 12px; background: #080611;
    filter: drop-shadow(0 0 18px #ae6cff45);
}
.su-acquired-art figcaption { margin-top: 14px; color: #e7c8ff; font-size: clamp(1rem, 3vw, 1.3rem); font-weight: 700; overflow-wrap: anywhere; }
.su-acquired-content p { margin: 0; max-width: 48ch; color: #bfb5cf; font-size: .9rem; line-height: 1.5; }
.su-acquired-content .su-upgrade-btn { width: min(100%, 320px); min-height: 44px; }

body.skin-upgrade-page {
    min-height: 100vh;
    color: #f7f3ed;
    background: radial-gradient(circle at 84% 4%, rgba(216, 67, 31, .3), transparent 28rem), radial-gradient(circle at 10% 42%, rgba(35, 104, 134, .13), transparent 32rem), #07090d;
    font-family: "Outfit", sans-serif;
}

.skin-upgrade-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .3;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.su-shell { width: min(1480px, calc(100% - 48px)); margin: 0 auto; padding: 112px 0 78px; }
.su-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: center;
    gap: 42px;
    min-height: 290px;
    padding: 38px 42px;
    overflow: hidden;
    border: 1px solid rgba(255, 139, 86, .38);
    border-top-color: rgba(255, 196, 93, .65);
    background: linear-gradient(108deg, rgba(27, 16, 16, .98) 0%, rgba(11, 13, 19, .96) 61%, rgba(22, 11, 12, .94) 100%);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .06);
    isolation: isolate;
}
.su-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .26; background: repeating-linear-gradient(115deg, transparent 0 48px, rgba(255, 112, 69, .13) 49px 50px); }
.su-hero::after { content: "EVOLUTION"; position: absolute; right: -2rem; bottom: -2.1rem; z-index: -1; font: 800 clamp(5rem, 10vw, 10rem)/1 "Montserrat"; color: rgba(255, 109, 66, .048); letter-spacing: -.09em; }
.su-hero-copy { position: relative; z-index: 2; max-width: 760px; }
.su-kicker, .su-list-head span { color: var(--su-orange); font-size: .78rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.su-kicker i { display: inline-block; width: 30px; height: 1px; margin: 0 11px 4px 0; background: var(--su-orange); box-shadow: 0 0 12px var(--su-orange); }
.su-hero h1 { margin: 10px 0; font: 700 clamp(2.8rem, 5vw, 5.6rem)/.91 "Montserrat"; text-transform: uppercase; letter-spacing: -.06em; }
.su-hero p { max-width: 650px; margin: 0; color: #bbc0ca; font-size: 1.04rem; line-height: 1.58; }
.su-rule { display: inline-flex; align-items: center; gap: 13px; margin-top: 24px; padding: 10px 15px; border-left: 2px solid var(--su-orange); background: rgba(255, 116, 72, .08); }
.su-rule b { color: var(--su-orange); font-size: 1.65rem; }
.su-rule span { font-size: .9rem; }
.su-rule small { color: #9297a1; }

.su-hero-energy { position: absolute; right: 185px; top: 50%; width: 210px; height: 210px; transform: translateY(-50%); border: 1px solid rgba(255, 151, 86, .24); border-radius: 50%; box-shadow: inset 0 0 38px rgba(255, 83, 38, .12), 0 0 55px rgba(255, 83, 38, .08); }
.su-hero-energy::before, .su-hero-energy::after { content: ""; position: absolute; border-radius: 50%; }
.su-hero-energy::before { inset: 25px; border: 1px dashed rgba(255, 196, 93, .3); animation: su-spin 24s linear infinite; }
.su-hero-energy::after { inset: 72px; background: radial-gradient(circle, rgba(255, 229, 160, .9) 0 5%, #ff7a3c 18%, rgba(255, 77, 34, .08) 58%, transparent 67%); filter: blur(1px); animation: su-pulse 2.8s ease-in-out infinite; }
.su-hero-energy i { position: absolute; inset: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--su-gold); box-shadow: 0 0 16px var(--su-gold); }
.su-hero-energy i:nth-child(1) { transform: rotate(20deg) translateX(88px); }
.su-hero-energy i:nth-child(2) { transform: rotate(145deg) translateX(94px); }
.su-hero-energy i:nth-child(3) { transform: rotate(260deg) translateX(82px); }

.su-resource-panel { position: relative; z-index: 3; align-self: center; padding: 15px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(5, 7, 11, .72); box-shadow: 0 14px 35px rgba(0, 0, 0, .35); backdrop-filter: blur(14px); }
.su-resource-panel > div { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; min-height: 50px; padding: 0 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.su-resource-panel > div:last-child { border: 0; }
.su-resource-panel img { width: 31px; height: 31px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(255, 150, 84, .35)); }
.su-resource-panel span { color: #abb0ba; font-size: .8rem; }
.su-resource-panel strong { color: #fff; font-size: 1.18rem; }
.su-resource-panel > div:last-child span { grid-column: 1 / 3; }

.su-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 18px 0 44px; background: rgba(255, 255, 255, .09); border-inline: 1px solid rgba(255, 255, 255, .04); }
.su-intro > div { display: flex; align-items: center; gap: 15px; padding: 17px 20px; background: rgba(12, 14, 19, .97); }
.su-intro span { color: var(--su-orange); font: 700 .76rem "Montserrat"; }
.su-intro p { margin: 0; color: #b3b7c0; font-size: .87rem; }
.su-list-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 19px; }
.su-list-head h2 { margin: 5px 0 0; font: 600 1.8rem "Montserrat"; }
.su-list-head p { margin: 7px 0 0; color: #888e99; font-size: .86rem; }
.su-list-head small { padding: 8px 11px; color: #d4d6dc; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .035); }

.su-filters { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.su-filters label { display: grid; gap: 7px; flex: 1 1 220px; max-width: 360px; min-width: 0; color: #cbbbdc; font-size: .85rem; }
.su-filters select { box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #a773d05c; border-radius: 8px; background: #130d20; color: #f7f3ed; font: inherit; color-scheme: dark; }
.su-filters select:focus-visible { outline: 2px solid #a1fff0; outline-offset: 3px; }
.su-filter-empty { grid-column: 1 / -1; padding: 28px 16px; text-align: center; color: #bfb5cf; }
.su-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.su-card { position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, .11); background: var(--su-panel); cursor: pointer; transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.su-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid transparent; transition: border-color .25s; }
.su-card:hover, .su-card:focus-visible { outline: none; transform: translateY(-5px); border-color: rgba(255, 122, 73, .58); box-shadow: 0 23px 55px rgba(0, 0, 0, .46), 0 0 28px rgba(255, 94, 43, .09); }
.su-card:hover::after, .su-card:focus-visible::after { border-color: rgba(255, 196, 93, .13); }
.su-card.is-upgraded { border-color: rgba(255, 199, 97, .58); }
.su-card-visual { position: relative; height: 310px; overflow: hidden; background: #12151c; }
.su-card-visual::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 42%, rgba(8, 10, 14, .24) 66%, #0d1016 100%); }
.su-card-visual::after { content: ""; position: absolute; left: -50%; bottom: -35%; z-index: 2; width: 200%; height: 54%; transform: rotate(-7deg); background: linear-gradient(90deg, transparent 25%, rgba(255, 103, 55, .15), transparent 75%); filter: blur(16px); transition: transform .55s ease; }
.su-card:hover .su-card-visual::after { transform: rotate(-7deg) translateX(12%); }
.su-card-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(1.005); transition: transform .65s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.su-card:hover .su-card-visual > img { transform: scale(1.055); filter: saturate(1.08) contrast(1.03); }
.su-card-rank { position: absolute; top: 15px; left: 15px; z-index: 3; padding: 6px 9px; color: #ffe1c7; border: 1px solid rgba(255, 135, 76, .5); background: rgba(9, 9, 13, .72); font: 700 .66rem "Montserrat"; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(8px); }
.su-card-reveal { position: absolute; right: 15px; bottom: 15px; z-index: 3; display: flex; align-items: center; gap: 8px; color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .78; transition: opacity .2s, transform .2s; }
.su-card-reveal i { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(255, 150, 90, .7); border-radius: 50%; color: var(--su-orange); font-style: normal; }
.su-card:hover .su-card-reveal { opacity: 1; transform: translateX(3px); }
.su-card-body { padding: 17px 19px 19px; }
.su-card-title { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.su-card-title h3 { margin: 0; font: 600 1.08rem "Montserrat"; }
.su-card-title p { margin: 6px 0 0; color: #8e949f; font-size: .8rem; }
.su-card-tier { padding: 5px 8px; color: #ffbd9c; border: 1px solid rgba(255, 116, 72, .45); font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }
.su-costs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.su-costs span { display: flex; align-items: center; gap: 7px; padding: 8px 10px; background: rgba(255, 255, 255, .045); color: #d3d5da; font-size: .79rem; }
.su-costs img { width: 21px; height: 21px; object-fit: contain; }
.su-costs b { color: #fff; }
.su-upgrade-btn { position: relative; z-index: 4; width: 100%; min-height: 43px; border: 1px solid #e7653d; color: #fff; background: linear-gradient(135deg, #a9341c, #e4663e); box-shadow: inset 0 1px rgba(255, 255, 255, .14); font: 700 .74rem "Montserrat"; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.su-upgrade-btn:hover:not(:disabled) { filter: brightness(1.14); }
.su-upgrade-btn:disabled { cursor: not-allowed; color: #777d87; border-color: #343943; background: #181c23; box-shadow: none; }
.su-card-state { min-height: 18px; margin-top: 9px; color: #9297a1; font-size: .74rem; }
.su-card-state.is-ready { color: #ff9b72; }
.su-card.is-upgraded .su-card-state { color: #ffd580; }

.su-fusion-modal[hidden] { display: none; }
.su-fusion-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 24px; }
.su-fusion-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(2, 3, 6, .88); backdrop-filter: blur(12px); cursor: default; }
.su-fusion-dialog { position: relative; width: min(1080px, 96vw); max-height: min(820px, 92vh); overflow: auto; border: 1px solid rgba(255, 129, 68, .48); background: #0a0c11; box-shadow: 0 35px 120px rgba(0, 0, 0, .78), 0 0 70px rgba(255, 79, 31, .09); animation: su-dialog-in .28s ease-out; }
.su-fusion-dialog::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(130deg, rgba(255, 122, 59, .06), transparent 38%); }
.su-fusion-close { position: absolute; top: 13px; right: 13px; z-index: 10; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .15); color: #fff; background: rgba(5, 6, 9, .68); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.su-fusion-close:hover { border-color: var(--su-orange); color: var(--su-orange); }
.su-fusion-stage { position: relative; display: grid; grid-template-columns: 1fr 128px 1fr; height: 410px; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(255, 96, 40, .2), transparent 31%), #080a0e; }
.su-fusion-form { position: relative; margin: 0; overflow: hidden; }
.su-fusion-form::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0a0c11 0, transparent 38%), linear-gradient(90deg, transparent 75%, #0a0c11 100%); }
.su-fusion-form:last-child::after { background: linear-gradient(0deg, #0a0c11 0, transparent 38%), linear-gradient(270deg, transparent 75%, #0a0c11 100%); }
.su-fusion-form img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.su-fusion-form figcaption { position: absolute; left: 22px; bottom: 24px; z-index: 2; }
.su-fusion-form:last-child figcaption { left: auto; right: 22px; text-align: right; }
.su-fusion-form figcaption span { display: block; margin-bottom: 5px; color: #9ba0aa; font-size: .69rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.su-fusion-form figcaption strong { font: 600 1.08rem "Montserrat"; }
.su-fusion-core { position: relative; z-index: 4; display: grid; place-items: center; }
.su-fusion-core::before, .su-fusion-core::after { content: ""; position: absolute; border-radius: 50%; }
.su-fusion-core::before { width: 92px; height: 92px; border: 1px dashed rgba(255, 196, 93, .6); animation: su-spin 8s linear infinite; }
.su-fusion-core::after { width: 54px; height: 54px; border: 1px solid rgba(255, 111, 60, .75); box-shadow: 0 0 26px rgba(255, 82, 35, .45), inset 0 0 18px rgba(255, 160, 70, .3); animation: su-pulse 1.8s ease-in-out infinite; }
.su-fusion-core img { position: relative; z-index: 2; width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 9px #ff8b52); }
.su-fusion-line { position: absolute; left: 50%; top: 50%; width: 184px; height: 1px; transform: translate(-50%, -50%); background: linear-gradient(90deg, transparent, var(--su-orange), transparent); box-shadow: 0 0 12px var(--su-orange); }
.su-fusion-modal.is-forging .su-fusion-core { animation: su-core-forge .65s ease-in-out infinite; }
.su-fusion-modal.is-forging .su-fusion-stage { animation: su-stage-flash .7s ease-in-out infinite; }
.su-fusion-modal.is-complete .su-fusion-form:last-child img { animation: su-upgraded-reveal .75s ease-out; }
.su-fusion-info { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; padding: 27px 30px 30px; }
.su-fusion-copy .su-kicker { display: block; margin-bottom: 7px; }
.su-fusion-copy h2 { margin: 0; font: 650 clamp(1.55rem, 3vw, 2.25rem) "Montserrat"; }
.su-fusion-copy > p { margin: 9px 0 20px; color: #969ca7; font-size: .9rem; line-height: 1.5; }
.su-change-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.su-change-item { min-height: 104px; padding: 13px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .028); }
.su-change-item i { display: grid; place-items: center; width: 27px; height: 27px; margin-bottom: 10px; border: 1px solid rgba(255, 120, 65, .38); color: var(--su-orange); font-style: normal; font-size: .77rem; }
.su-change-item strong { display: block; font-size: .8rem; }
.su-change-item span { display: block; margin-top: 5px; color: #858b96; font-size: .72rem; line-height: 1.35; }
.su-fusion-action { align-self: end; padding: 17px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(255, 255, 255, .025); }
.su-fusion-action-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; color: #a3a8b2; font-size: .77rem; }
.su-fusion-action-label strong { color: #fff; font-size: .82rem; }
.su-fusion-action .su-costs { margin: 0 0 13px; }
.su-fusion-action .su-costs span { flex: 1; justify-content: center; }
.su-fusion-note { margin: 10px 0 0; color: #777e89; font-size: .69rem; text-align: center; }
.su-toast { position: fixed; left: 50%; bottom: 28px; z-index: 11000; transform: translate(-50%, 20px); padding: 12px 18px; opacity: 0; pointer-events: none; border: 1px solid rgba(255, 124, 75, .5); background: #151015; color: #fff; transition: .25s; }
.su-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
body.su-modal-open { overflow: hidden; }

@keyframes su-spin { to { transform: rotate(360deg); } }
@keyframes su-pulse { 50% { transform: scale(1.16); opacity: .72; } }
@keyframes su-dialog-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes su-core-forge { 50% { transform: scale(1.18); filter: brightness(1.4); } }
@keyframes su-stage-flash { 50% { filter: brightness(1.25) saturate(1.2); } }
@keyframes su-upgraded-reveal { from { filter: brightness(2) saturate(1.5); transform: scale(1.08); } }

@media (max-width: 900px) {
    .su-hero { grid-template-columns: 1fr; }
    .su-resource-panel { width: 100%; box-sizing: border-box; }
    .su-hero-energy { right: 8%; opacity: .45; }
    .su-fusion-stage { grid-template-columns: 1fr 80px 1fr; height: 340px; }
    .su-fusion-info { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .su-shell { width: min(100% - 24px, 1480px); padding-top: 90px; }
    .su-hero { min-height: 0; padding: 25px 21px; }
    .su-hero h1 { font-size: clamp(2.35rem, 13vw, 3.4rem); }
    .su-intro { grid-template-columns: 1fr; }
    .su-list-head { align-items: start; gap: 14px; }
    .su-list-head small { white-space: normal; max-width: 100%; line-height: 1.5; }
    .su-grid { grid-template-columns: 1fr; }
    .su-card-visual { height: 290px; }
    .su-fusion-modal { padding: 0; }
    .su-fusion-dialog { width: 100vw; max-height: 100vh; min-height: 100vh; border-inline: 0; }
    .su-fusion-stage { grid-template-columns: 1fr 54px 1fr; height: 330px; }
    .su-fusion-core::before { width: 62px; height: 62px; }
    .su-fusion-core::after { width: 42px; height: 42px; }
    .su-fusion-core img { width: 26px; height: 26px; }
    .su-fusion-form figcaption { left: 12px; bottom: 15px; }
    .su-fusion-form:last-child figcaption { right: 12px; }
    .su-fusion-form figcaption strong { font-size: .78rem; }
    .su-fusion-info { padding: 22px 18px 26px; }
    .su-change-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .su-hero-energy::before, .su-hero-energy::after, .su-fusion-core::before, .su-fusion-core::after, .su-fusion-modal.is-forging .su-fusion-core, .su-fusion-modal.is-forging .su-fusion-stage { animation: none; }
    .su-card, .su-card-visual > img { transition: none; }
}

/* ================================================================
   HOLOGRAFIKUS FÚZIÓS LABOR
   Mélylila · magenta · neonlila · türkiz · irizáló fénytörés
   ================================================================ */
:root {
    --su-orange: #ff2bd6;
    --su-gold: #b85cff;
    --su-cyan: #4ef5ed;
    --su-ink: #05020d;
    --su-panel: #0d061a;
    --su-holo: linear-gradient(115deg, #ff2bd6 0%, #9a55ff 31%, #43e8f2 59%, #d9ffff 73%, #ff49ce 100%);
}

body.skin-upgrade-page {
    position: relative;
    background:
        radial-gradient(circle at 82% 5%, rgba(210, 38, 255, .28), transparent 31rem),
        radial-gradient(circle at 10% 43%, rgba(45, 222, 241, .13), transparent 34rem),
        radial-gradient(circle at 55% 92%, rgba(255, 32, 202, .11), transparent 33rem),
        #05020d;
}

.skin-upgrade-page::before {
    opacity: .34;
    background-image:
        linear-gradient(rgba(168, 79, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71, 229, 242, .05) 1px, transparent 1px);
    animation: su-holo-grid 22s linear infinite;
}

.skin-upgrade-page::after {
    content: "";
    position: fixed;
    inset: -20%;
    z-index: -2;
    pointer-events: none;
    opacity: .28;
    background: conic-gradient(from 150deg at 35% 38%, transparent, rgba(196, 38, 255, .28), transparent 24%, rgba(41, 229, 242, .23), transparent 53%, rgba(255, 35, 202, .22), transparent);
    filter: blur(70px);
    animation: su-aurora-drift 18s ease-in-out infinite alternate;
}

.su-hero {
    border-image: var(--su-holo) 1;
    background:
        radial-gradient(circle at 72% 48%, rgba(56, 226, 241, .11), transparent 23%),
        linear-gradient(112deg, rgba(24, 5, 44, .98), rgba(8, 4, 20, .96) 58%, rgba(35, 5, 48, .94));
    box-shadow: 0 28px 90px rgba(0, 0, 0, .56), 0 0 50px rgba(189, 39, 255, .13), inset 0 1px rgba(255, 255, 255, .08);
}
.su-hero::before {
    opacity: .42;
    background: repeating-linear-gradient(115deg, transparent 0 48px, rgba(200, 63, 255, .09) 49px 50px);
    animation: su-prism-lines 13s linear infinite;
}
.su-hero::after {
    background: var(--su-holo);
    background-size: 230% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: .1;
    animation: su-holo-flow 7s linear infinite;
}
.su-kicker, .su-list-head span { color: #58f6ef; text-shadow: 0 0 15px rgba(63, 238, 242, .35); }
.su-kicker i { background: linear-gradient(90deg, #4ef5ed, #cf41ff); box-shadow: 0 0 14px #65e8ff; }
.su-hero h1 {
    background: var(--su-holo);
    background-size: 230% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 8px 28px rgba(187, 44, 255, .2));
    animation: su-holo-flow 8s linear infinite;
}
.su-rule { border-color: #51f5ed; background: linear-gradient(90deg, rgba(54, 229, 242, .11), rgba(206, 48, 255, .06)); }
.su-rule b { color: #ff58df; text-shadow: 0 0 15px rgba(255, 45, 214, .4); }
.su-hero-energy { border-color: rgba(80, 245, 237, .35); box-shadow: inset 0 0 40px rgba(64, 222, 244, .1), 0 0 60px rgba(195, 38, 255, .2); }
.su-hero-energy::before { border-color: rgba(255, 69, 220, .48); }
.su-hero-energy::after { background: radial-gradient(circle, #eaffff 0 5%, #4ef5ed 16%, #b633ff 35%, rgba(255, 36, 204, .08) 61%, transparent 69%); box-shadow: 0 0 24px rgba(204, 47, 255, .45); }
.su-hero-energy i { background: #55f6ef; box-shadow: 0 0 17px #4ef5ed; }
.su-resource-panel { border-color: rgba(202, 83, 255, .3); background: linear-gradient(145deg, rgba(18, 5, 35, .82), rgba(4, 20, 29, .74)); box-shadow: 0 16px 42px rgba(0, 0, 0, .45), 0 0 35px rgba(190, 35, 255, .12); }
.su-resource-panel img { filter: hue-rotate(55deg) saturate(1.25) drop-shadow(0 0 10px rgba(209, 57, 255, .45)); }
.su-resource-panel strong { color: #79fff8; }

.su-intro { background: linear-gradient(90deg, rgba(255, 42, 214, .22), rgba(142, 79, 255, .27), rgba(69, 232, 244, .22)); }
.su-intro > div { background: linear-gradient(145deg, rgba(17, 6, 30, .98), rgba(5, 18, 26, .96)); }
.su-intro span { color: #ff55dd; text-shadow: 0 0 12px rgba(255, 39, 207, .4); }
.su-list-head small { border-color: rgba(80, 240, 239, .22); background: linear-gradient(110deg, rgba(204, 49, 255, .09), rgba(57, 220, 242, .07)); color: #75fff8; }

.su-card { border-color: rgba(190, 78, 255, .23); background: linear-gradient(155deg, #110621, #07131d); box-shadow: inset 0 1px rgba(255, 255, 255, .04); }
.su-card::before {
    content: "";
    position: absolute;
    inset: -110% -35%;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 43%, rgba(255, 255, 255, .12) 49%, rgba(76, 243, 239, .17) 51%, transparent 58%);
    transform: translateX(-38%);
    transition: transform .9s ease;
}
.su-card:hover::before { transform: translateX(40%); }
.su-card:hover, .su-card:focus-visible { border-color: #dc4fff; box-shadow: 0 24px 58px rgba(0, 0, 0, .5), 0 0 34px rgba(203, 38, 255, .2); }
.su-card.is-upgraded { border-image: var(--su-holo) 1; }
.su-card-visual { background: #10051d; }
.su-card-visual::before { background: linear-gradient(180deg, transparent 40%, rgba(12, 2, 24, .25) 65%, #0d061a 100%); }
.su-card-visual::after { background: linear-gradient(90deg, transparent 24%, rgba(229, 43, 255, .19), rgba(61, 230, 242, .13), transparent 76%); }
.su-card-rank { color: #87fff9; border-color: rgba(87, 246, 239, .58); background: rgba(15, 3, 28, .75); box-shadow: 0 0 19px rgba(48, 223, 240, .1); }
.su-card-reveal { color: #f8eaff; }
.su-card-reveal i { border-color: #53f5ed; color: #ff55df; box-shadow: 0 0 14px rgba(196, 44, 255, .22); }
.su-card-tier { color: #74fff8; border-color: rgba(218, 75, 255, .5); background: rgba(199, 45, 255, .06); }
.su-costs span { background: linear-gradient(110deg, rgba(194, 53, 255, .08), rgba(55, 220, 240, .06)); border: 1px solid rgba(176, 82, 255, .12); }
.su-costs img { filter: hue-rotate(52deg) saturate(1.25) drop-shadow(0 0 8px rgba(197, 50, 255, .42)); }
.su-upgrade-btn { border-color: #e64bff; background: linear-gradient(115deg, #8a26d1, #ef28c8 48%, #5e54f4); box-shadow: 0 10px 28px rgba(191, 37, 255, .22), inset 0 1px rgba(255, 255, 255, .2); }
.su-upgrade-btn:hover:not(:disabled) { filter: brightness(1.18) saturate(1.08); box-shadow: 0 13px 34px rgba(220, 40, 255, .32), 0 0 20px rgba(53, 225, 241, .14); }
.su-upgrade-btn:disabled { color: #716b7c; border-color: #322642; background: #160f20; box-shadow: none; }
.su-card-state.is-ready { color: #58f6ef; }
.su-card.is-upgraded .su-card-state { color: #ff72e4; }

.su-fusion-backdrop { background: rgba(3, 0, 10, .9); }
.su-fusion-dialog { border-image: var(--su-holo) 1; background: #080311; box-shadow: 0 38px 130px rgba(0, 0, 0, .82), 0 0 85px rgba(190, 37, 255, .2); }
.su-fusion-dialog::before { background: linear-gradient(130deg, rgba(232, 42, 255, .1), transparent 36%, rgba(59, 227, 244, .07)); }
.su-fusion-close { border-color: rgba(216, 93, 255, .35); background: rgba(12, 2, 25, .76); }
.su-fusion-close:hover { border-color: #52f5ed; color: #ff52dc; box-shadow: 0 0 18px rgba(194, 44, 255, .22); }
.su-fusion-stage { background: radial-gradient(circle at 50% 50%, rgba(226, 35, 255, .25), transparent 29%), radial-gradient(circle at 50% 50%, rgba(57, 230, 243, .12), transparent 43%), #07020f; }
.su-fusion-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: .45;
    background: linear-gradient(110deg, transparent 32%, rgba(246, 60, 255, .11), rgba(70, 239, 242, .09), transparent 68%);
    background-size: 240% 100%;
    mix-blend-mode: screen;
    animation: su-holo-flow 5s linear infinite;
}
.su-fusion-form::after { background: linear-gradient(0deg, #080311 0, transparent 39%), linear-gradient(90deg, transparent 73%, #080311 100%); }
.su-fusion-form:last-child::after { background: linear-gradient(0deg, #080311 0, transparent 39%), linear-gradient(270deg, transparent 73%, #080311 100%); }
.su-fusion-core::before { border-color: rgba(77, 246, 238, .72); box-shadow: 0 0 28px rgba(66, 231, 244, .22); }
.su-fusion-core::after { border-color: rgba(255, 61, 219, .85); background: radial-gradient(circle, rgba(211, 255, 255, .7), rgba(164, 52, 255, .12) 48%, transparent 70%); box-shadow: 0 0 34px rgba(216, 43, 255, .55), inset 0 0 19px rgba(71, 229, 245, .34); }
.su-fusion-core img { filter: hue-rotate(55deg) saturate(1.35) drop-shadow(0 0 12px #dc4cff); }
.su-fusion-line { background: linear-gradient(90deg, transparent, #ff3bd8, #9a55ff, #4ef5ed, transparent); box-shadow: 0 0 17px #c83eff; }
.su-fusion-info { background: linear-gradient(145deg, rgba(21, 6, 38, .48), rgba(4, 18, 27, .28)); }
.su-change-item { border-color: rgba(193, 80, 255, .2); background: linear-gradient(145deg, rgba(183, 48, 255, .055), rgba(50, 219, 239, .035)); }
.su-change-item i { border-color: rgba(73, 242, 237, .48); color: #ff55df; box-shadow: inset 0 0 13px rgba(193, 44, 255, .1); }
.su-fusion-action { border-color: rgba(208, 75, 255, .24); background: linear-gradient(145deg, rgba(49, 8, 72, .28), rgba(4, 24, 31, .22)); }
.su-toast { border-image: var(--su-holo) 1; background: linear-gradient(115deg, #180726, #071c25); box-shadow: 0 14px 42px rgba(0, 0, 0, .55), 0 0 26px rgba(202, 43, 255, .18); }

@keyframes su-aurora-drift { from { transform: translate3d(-5%, -4%, 0) scale(1); } to { transform: translate3d(6%, 5%, 0) scale(1.18) rotate(9deg); } }
@keyframes su-holo-flow { to { background-position: 230% 0; } }
@keyframes su-holo-grid { to { background-position: 104px 52px; } }
@keyframes su-prism-lines { to { background-position: 100px 0; } }

@media (prefers-reduced-motion: reduce) {
    .skin-upgrade-page::before, .skin-upgrade-page::after, .su-hero::before, .su-hero::after, .su-hero h1, .su-fusion-stage::after { animation: none !important; }
}

/* Az assetikonok megtartják az eredeti színeiket; csak külső fényárnyékot kapnak. */
.su-resource-panel img { filter: none; }
.su-costs img { filter: none; }
.su-fusion-core img { filter: none; }

/* Crystal chamber: portraits remain real artwork, framed with CSS light and depth. */
.su-hero { border-radius: 18px; border-image: none; border-color: #8749ad66; }
.su-hero h1 { line-height: 1.06; }
.su-resource-panel, .su-rule { border-radius: 10px; }
.su-card { border-radius: 14px; }
.su-card.is-upgraded { border-image: none; border-color: #70e9df88; }
.su-card-visual { height: 335px; perspective: 850px; background: radial-gradient(ellipse at 50% 50%, #632c7255, transparent 70%), #090713; }
.su-card-visual > img { position: absolute; width: 76%; height: 92%; left: 12%; top: 5%; object-position: center 20%; border-radius: 46% 46% 8px 8px; mask-image: linear-gradient(#000 70%, transparent 100%); transform: rotateY(-9deg) rotateZ(-3deg) scale(.96); }
.su-card:hover .su-card-visual > img, .su-card:focus-visible .su-card-visual > img { transform: rotateY(0) rotateZ(0) scale(1.02); }
.su-card-orbit { position: absolute; inset: 13% 7% 15%; border: 1px solid #b885ff4d; border-radius: 50%; transform: rotate(-28deg); box-shadow: 0 0 24px #b643ff14, inset 0 0 30px #6a39fa14; }
.su-card-orbit::before { content: ""; position: absolute; inset: 12px -13px; border: 1px solid #53dce52b; border-radius: 50%; transform: rotate(54deg); }
.su-card-rank { border-radius: 5px; font-size: .6rem; }
.su-card-reveal { left: 20px; right: 20px; justify-content: center; bottom: 12px; padding: 12px; border: 1px solid #a573d03b; border-radius: 8px; background: #100b20c9; opacity: 1; backdrop-filter: blur(8px); }
.su-card-body { padding: 20px; }
.su-upgrade-btn { border-radius: 7px; }
.su-upgrade-btn:disabled { color: #ada4bd; }
.su-fusion-modal *, .su-fusion-modal *::before, .su-fusion-modal *::after { box-sizing: border-box; }
.su-fusion-backdrop { background: #03010bdb; backdrop-filter: blur(16px); }
.su-fusion-dialog { width: min(1160px, calc(100vw - 40px)); max-height: calc(100dvh - 40px); min-height: 0; border: 1px solid #a773d05c; border-image: none; border-radius: 20px; background: #090713; scrollbar-width: thin; scrollbar-color: #6d4988 #0c0816; box-shadow: 0 38px 130px #000c, 0 0 90px #782fff24, inset 0 1px #ead6ff24; }
.su-fusion-dialog::before { display: none; }
.su-fusion-close { position: sticky; float: right; top: 20px; margin: 20px 20px -58px 0; border-radius: 50%; width: 38px; height: 38px; background: #100b20ed; }
.su-fusion-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 27px 80px 22px 36px; border-bottom: 1px solid #a581cd1c; background: linear-gradient(100deg, #25113899, #090713); }
.su-fusion-heading .su-kicker { font-size: .65rem; letter-spacing: .23em; color: #b9a1d3; }
.su-fusion-heading h2 { margin: 7px 0 0; font: 600 clamp(1.6rem, 3vw, 2.3rem)/1.15 "Montserrat", sans-serif; letter-spacing: -.04em; }
.su-fusion-heading h2 em { font-style: normal; color: #c19af7; }
.su-preview-tag { display: flex; gap: 9px; align-items: center; flex-shrink: 0; color: #c4b7d6; font-size: .69rem; letter-spacing: .12em; text-transform: uppercase; }
.su-preview-tag i { width: 5px; height: 5px; border-radius: 50%; background: #68f6dd; box-shadow: 0 0 12px #68f6dd; }
.su-fusion-stage { isolation: isolate; grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr); gap: 10px; height: 430px; padding: 22px 60px 0; background: radial-gradient(ellipse at 76% 55%, #23656b29, transparent 40%), radial-gradient(ellipse at 24% 55%, #6e32943d, transparent 45%), #090713; perspective: 1100px; }
.su-fusion-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .3; background: radial-gradient(circle at 50% 38%, #c791ff 0 1px, transparent 2px); background-size: 54px 54px; mask-image: radial-gradient(ellipse, #000, transparent 70%); }
.su-fusion-stage::after { z-index: 5; opacity: .18; }
.su-stage-runes { position: absolute; width: 590px; height: 590px; left: calc(50% - 295px); top: -90px; z-index: -1; border: 1px solid #9e6bcb23; border-radius: 50%; box-shadow: 0 0 0 24px #9067bf06, 0 0 0 25px #9167bf13, inset 0 0 90px #58288817; }
.su-stage-runes::before { content: ""; position: absolute; inset: 48px; border: 1px dashed #aa74d12b; border-radius: 50%; animation: su-spin 90s linear infinite; }
.su-fusion-form { overflow: visible; display: flex; flex-direction: column; align-items: center; min-width: 0; z-index: 2; }
.su-fusion-form::after, .su-fusion-form:last-child::after { inset: auto 8% 52px; height: 35px; border: 1px solid #aa65fa73; border-radius: 50%; background: #ac4aff18; box-shadow: 0 0 22px #a441ff33, inset 0 0 18px #a441ff33; transform: rotateX(58deg); z-index: -1; }
.su-fusion-form:last-child::after { border-color: #69f3e585; background: #39d9ca12; box-shadow: 0 0 26px #39d9ca33, inset 0 0 20px #39d9ca33; }
.su-portrait { position: relative; width: min(100%, 258px); height: 310px; flex-shrink: 0; padding: 2px; border-radius: 90px 90px 18px 18px; background: linear-gradient(145deg, #f2caffb3, #b168ff66 25%, #441d6833 60%, #c189ed); box-shadow: -10px 14px 40px #0008, 0 0 35px #a54dff24; transform: perspective(850px) rotateY(12deg) rotateZ(-4deg); animation: su-portrait-float 6s ease-in-out infinite; }
.su-form-upgraded .su-portrait { background: linear-gradient(145deg, #eaffff, #73ebdf88 25%, #48507b44 60%, #c785ff); transform: perspective(850px) rotateY(-12deg) rotateZ(4deg); box-shadow: 10px 14px 40px #0008, 0 0 40px #57e0d529; animation-delay: -3s; }
.su-portrait-window { position: relative; height: 100%; overflow: hidden; border-radius: inherit; background: #151021; }
.su-fusion-form .su-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .6s; }
.su-portrait-window::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 20px #04010c6b; background: linear-gradient(0deg, #11081ae6, transparent 28%, transparent 85%, #efd6ff1a); }
.su-portrait:hover img { transform: scale(1.045); }
.su-portrait-sheen { position: absolute; z-index: 2; inset: -50%; background: linear-gradient(115deg, transparent 42%, #e8dcff06 46%, #d9f8ff30 50%, transparent 55%); transform: translateX(-50%); animation: su-crystal-sheen 8s ease-in-out infinite; pointer-events: none; }
.su-form-upgraded .su-portrait-sheen { animation-delay: -4s; }
.su-portrait-corner { position: absolute; bottom: -10px; left: calc(50% - 17px); width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #b68ce1; border-radius: 9px; background: #1f1030; color: #e4c9ff; font: 500 .8rem "Montserrat", sans-serif; box-shadow: 0 0 20px #b749ff33; }
.su-form-upgraded .su-portrait-corner { border-color: #8be4da; background: #0d292d; color: #b1fff4; }
.su-fusion-form figcaption, .su-fusion-form:last-child figcaption { position: relative; left: auto; right: auto; bottom: auto; margin-top: 23px; text-align: center; width: 100%; }
.su-fusion-form figcaption span { font-size: .6rem; color: #c2a1de; letter-spacing: .17em; margin-bottom: 7px; }
.su-fusion-form:last-child figcaption span { color: #88e5db; }
.su-fusion-form figcaption strong { display: block; font: 500 .86rem/1.4 "Outfit", sans-serif; color: #ede4f5; }
.su-core-column { display: flex; align-items: center; flex-direction: column; justify-content: center; padding-bottom: 46px; z-index: 3; }
.su-core-caption { font-size: .58rem; text-transform: uppercase; letter-spacing: .22em; color: #a690c4; margin-bottom: 28px; text-align: center; }
.su-fusion-core { width: 148px; height: 148px; flex-shrink: 0; border-radius: 50%; background: radial-gradient(circle, #b147ff26, transparent 65%); }
.su-fusion-core::before { width: 138px; height: 138px; border: 1px dashed #b881df66; box-shadow: none; animation-duration: 35s; }
.su-fusion-core::after { width: 90px; height: 90px; border-color: #d38cff9c; background: radial-gradient(circle, #ceafff33, #7520b017 60%, transparent 70%); box-shadow: 0 0 40px #af43f633, inset 0 0 26px #b47aea26; animation-duration: 3s; }
.su-fusion-core img { width: 55px; height: 55px; filter: drop-shadow(0 0 12px #bc73e799); }
.su-core-orbit { position: absolute; inset: 15px; border: 1px solid #ffffff0f; border-top-color: #9ceeea; border-bottom-color: #c087f7; border-radius: 50%; animation: su-spin 12s linear infinite reverse; }
.su-core-orbit::after { content: ""; position: absolute; width: 5px; height: 5px; background: #cafdf3; border-radius: 50%; left: 14px; top: 12px; box-shadow: 0 0 14px #a2ffed; }
.su-fusion-line { width: 310px; z-index: -1; opacity: .6; }
.su-core-equation { text-align: center; font-size: .55rem; letter-spacing: .18em; color: #a08ab8; margin-top: 24px; }
.su-core-equation span { display: block; margin-top: 8px; font-size: .68rem; color: #e9d7ff; letter-spacing: .26em; }
.su-stage-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.su-stage-particles i { position: absolute; bottom: 12%; left: var(--x); width: 2px; height: 2px; border-radius: 50%; background: #c3b1f2; box-shadow: 0 0 8px #c78bff; opacity: 0; animation: su-ember-rise calc(5s + var(--i) * .27s) linear infinite; animation-delay: calc(var(--i) * -.7s); }
.su-stage-particles i:nth-child(even) { background: #a4fff0; width: 3px; height: 3px; }
.su-preview-controls { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 36px; background: #160e2499; border-block: 1px solid #a37fca22; }
.su-preview-controls > span { font-size: .85rem; color: #c7b6dc; }
.su-preview-controls > span i { color: #bb92ef; margin-right: 9px; font-style: normal; }
.su-preview-controls > div { display: flex; align-items: center; gap: 16px; }
.su-preview-controls small { font-size: .68rem; color: #a89ab9; }
.su-preview-controls button { border: 1px solid #a977d780; border-radius: 7px; padding: 10px 16px; background: linear-gradient(115deg, #50227680, #251637); color: #ead7ff; font: 500 .77rem "Outfit", sans-serif; cursor: pointer; min-width: 167px; }
.su-preview-controls button:hover:not(:disabled) { border-color: #cdb0ed; background: #46235e; box-shadow: 0 0 20px #ac58ea26; }
.su-preview-controls button:disabled { opacity: .6; cursor: default; }
.su-preview-controls button span { margin-right: 7px; }
.su-fusion-info { grid-template-columns: minmax(0, 1fr) 300px; padding: 24px 36px 28px; gap: 30px; background: linear-gradient(140deg, #140b20, #090c16); }
.su-fusion-copy h3 { margin: 0 0 15px; font-size: .96rem; font-weight: 500; color: #e0d3ef; }
.su-change-list { gap: 18px; }
.su-change-item { min-height: 0; border: 0; padding: 0; background: none; }
.su-change-item i { width: 25px; height: 25px; font-size: 1.3rem; margin-bottom: 9px; border: 0; box-shadow: none; color: #b696df; }
.su-change-item strong { font-weight: 500; font-size: .78rem; }
.su-change-item span { color: #a89ab8; font-size: .73rem; line-height: 1.55; }
.su-fusion-action { align-self: stretch; padding: 16px; border-radius: 10px; border-color: #9370b038; background: #20142d66; }
.su-fusion-action-label { margin-bottom: 10px; }
.su-fusion-action .su-costs { gap: 6px; margin-bottom: 10px; }
.su-fusion-action .su-costs span { padding: 6px; font-size: .71rem; border-radius: 5px; white-space: nowrap; }
.su-fusion-note { color: #b4a5c1; line-height: 1.45; }
.su-fusion-modal button:focus-visible { outline: 2px solid #a1fff0; outline-offset: 4px; }
.su-fusion-burst { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at 68% 48%, #d6fff85c, #bf76f726 25%, transparent 65%); }
.su-fusion-modal.is-complete .su-form-upgraded .su-portrait { animation: su-upgraded-reveal .9s ease-out; }
.su-fusion-modal.is-forging .su-fusion-stage { animation: none; }
.su-fusion-modal.is-forging .su-core-orbit { animation-duration: 1.8s; }
@keyframes su-portrait-float { 50% { translate: 0 -8px; } }
@keyframes su-crystal-sheen { 0%, 20% { transform: translateX(-50%); } 55%, 100% { transform: translateX(50%); } }
@keyframes su-ember-rise { 10% { opacity: .6; } 85% { opacity: .4; } 100% { transform: translate(var(--drift), -300px); opacity: 0; } }
@media (max-width: 900px) {
    .su-fusion-stage { padding-inline: 28px; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); height: 420px; }
    .su-fusion-core { scale: .8; }
    .su-fusion-info { grid-template-columns: 1fr; gap: 22px; }
    .su-fusion-action { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; align-items: center; }
    .su-fusion-action-label, .su-fusion-action .su-costs { margin: 0; }
    .su-fusion-action-label { grid-column: 1; }
    .su-fusion-action .su-costs { grid-column: 1; grid-row: 2; }
    .su-fusion-action .su-upgrade-btn { grid-column: 2; grid-row: 1 / 3; }
    .su-fusion-note { grid-column: 1 / -1; }
    .su-preview-tag { display: none; }
}
@media (max-width: 640px) {
    .su-fusion-modal { padding: 10px; }
    .su-fusion-dialog { width: 100%; max-height: calc(100dvh - 20px); min-height: 0; border: 1px solid #a773d05c; border-radius: 14px; }
    .su-fusion-heading { padding: 22px 60px 18px 20px; }
    .su-fusion-heading .su-kicker { font-size: .52rem; letter-spacing: .14em; }
    .su-fusion-close { top: 15px; margin-top: 15px; margin-right: 12px; }
    .su-fusion-stage { height: 325px; padding: 25px 16px 0; gap: 0; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); }
    .su-portrait { height: 215px; width: 100%; border-radius: 60px 60px 12px 12px; }
    .su-fusion-form::after, .su-fusion-form:last-child::after { bottom: 62px; inset-inline: -4px; }
    .su-fusion-form figcaption, .su-fusion-form:last-child figcaption { margin-top: 22px; }
    .su-fusion-form figcaption span { font-size: .46rem; letter-spacing: .07em; }
    .su-fusion-form figcaption strong { font-size: .7rem; }
    .su-core-column { padding-bottom: 65px; }
    .su-core-caption, .su-core-equation { display: none; }
    .su-fusion-core { scale: .46; }
    .su-fusion-core::before { width: 138px; height: 138px; }
    .su-fusion-core::after { width: 90px; height: 90px; }
    .su-fusion-core img { width: 55px; height: 55px; }
    .su-fusion-line { width: 180px; }
    .su-preview-controls { padding: 12px 18px; }
    .su-preview-controls > span { display: none; }
    .su-preview-controls > div { width: 100%; justify-content: space-between; gap: 10px; }
    .su-preview-controls small { font-size: .61rem; max-width: 90px; }
    .su-preview-controls button { padding: 10px; min-width: 154px; }
    .su-fusion-info { padding: 20px 18px; }
    .su-change-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .su-change-item strong { font-size: .7rem; }
    .su-change-item span { font-size: .67rem; }
    .su-fusion-action { display: block; }
    .su-fusion-action-label, .su-fusion-action .su-costs { margin-bottom: 12px; }
    .su-list-head { flex-wrap: wrap; }
}
/* Cinematic fracture -> prism fusion -> reconstructed portrait. */
.su-fusion-stage { --su-fusion-duration: 6400ms; }
.su-fragment-layer { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.su-skin-fragment { position: absolute; will-change: transform, opacity; filter: drop-shadow(0 0 7px var(--facet-color)) drop-shadow(0 0 18px #aa66ff80); }
.su-fragment-facet { position: absolute; inset: 0; }
.su-fragment-facet::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; background: linear-gradient(135deg, #8affff40, transparent 35%, #d793ff2e 65%, #fff4b838); }
.su-fragment-facet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; border-radius: 88px 88px 16px 16px; }
.su-fragment-facet img:last-child { opacity: 0; }
.su-fracture-lines { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); border-radius: inherit; pointer-events: none; opacity: 0; overflow: hidden; z-index: 4; filter: drop-shadow(0 0 5px #6cffff) drop-shadow(0 0 12px #db72ff); }
.su-fracture-lines path { fill: none; stroke: #edffff; stroke-width: .45; stroke-dasharray: 200; stroke-dashoffset: 200; }
.su-prism-rays { position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0; overflow: hidden; }
.su-prism-rays i { position: absolute; left: 50%; top: 48%; width: 70%; height: 36px; transform-origin: left center; transform: rotate(var(--angle)); background: linear-gradient(90deg, #eaffffb3, #72f5f966 20%, #b17cff38 50%, transparent 80%); clip-path: polygon(0 48%, 100% 0, 100% 100%, 0 52%); }
.su-prism-rays i:nth-child(3n) { background: linear-gradient(90deg, #fff6c9cc, #ff68d766, transparent 80%); }
.su-shockwave { position: absolute; z-index: 8; pointer-events: none; left: 50%; top: 48%; width: 150px; height: 150px; margin: -75px; border: 2px solid #b3fff2; border-radius: 50%; opacity: 0; box-shadow: 0 0 25px #65ecff99, inset 0 0 30px #ca65ff66; }
.su-sequence-status { position: absolute; bottom: 13px; left: 10px; right: 10px; text-align: center; z-index: 9; color: #cbbae5; font: 600 .58rem "Montserrat", sans-serif; letter-spacing: .22em; pointer-events: none; }
.su-result-aura { position: absolute; top: -16%; left: -35%; width: 170%; height: 120%; z-index: -1; opacity: .15; pointer-events: none; background: conic-gradient(from 40deg, transparent, #54fff55c, transparent 20%, #a15aff80, transparent 45%, #ff5bd569, transparent 70%, #fff0a64d, transparent); mask-image: radial-gradient(ellipse, #000 18%, transparent 65%); }
.su-prism-frame { position: absolute; inset: -5px; border-radius: inherit; pointer-events: none; opacity: 0; background: conic-gradient(from 0deg, #a3fff4, #50dfff, #a46cff, #ff69db, #fff0ba, #a3fff4); padding: 2px; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; z-index: 5; }
.su-result-crown { position: absolute; top: -24px; left: calc(50% - 20px); width: 40px; text-align: center; font-size: 30px; color: #e8fffc; text-shadow: 0 0 12px #a7ffef, 0 0 30px #b377ff; opacity: 0; }
.su-prism-veil { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; mix-blend-mode: screen; background: linear-gradient(115deg, transparent 20%, #63ffff36 35%, #c079ff26 45%, #ff85d92e 52%, #fff9c947 57%, transparent 70%); background-size: 250% 100%; }
.su-fusion-modal.is-previewing .su-portrait { transform: none; translate: none; scale: 1; }
.su-fusion-modal.is-previewing .su-portrait img { transform: none; transition: none; }
.su-fusion-modal.is-previewing .su-form-base .su-portrait { animation: su-fracture-source var(--su-fusion-duration) linear both; }
.su-fusion-modal.is-previewing .su-form-upgraded .su-portrait { animation: su-prism-reveal var(--su-fusion-duration) linear both; }
.su-fusion-modal.is-previewing .su-form-upgraded .su-portrait-window { animation: su-assemble-window var(--su-fusion-duration) linear both; }
.su-fusion-modal.is-previewing .su-fracture-lines { animation: su-cracks-visible var(--su-fusion-duration) linear both; }
.su-fusion-modal.is-previewing .su-fracture-lines path { animation: su-cracks-draw var(--su-fusion-duration) linear both; }
.su-fusion-modal.is-previewing .su-fusion-core { animation: su-prism-core var(--su-fusion-duration) ease-in-out both; }
.su-fusion-modal.is-previewing .su-core-orbit { animation-duration: 1.1s; }
.su-fusion-modal.is-previewing .su-prism-rays { animation: su-prism-rays var(--su-fusion-duration) ease-in-out both; }
.su-fusion-modal.is-previewing .su-shockwave { animation: su-prism-shockwave var(--su-fusion-duration) ease-out both; }
.su-fusion-modal.is-previewing .su-fusion-burst { animation: su-prism-bloom var(--su-fusion-duration) ease-in-out both; background: radial-gradient(ellipse at 50% 48%, #ecffff99, #a782ff55 18%, #f26de633 34%, transparent 68%); }
.su-fusion-modal.is-previewing .su-prism-frame, .su-fusion-modal.is-previewing .su-result-crown { animation: su-frame-ignite var(--su-fusion-duration) ease-in-out both; }
.su-fusion-modal.is-previewing .su-result-aura { animation: su-aura-ignite var(--su-fusion-duration) ease-in-out both; }
.su-fusion-modal.is-preview-complete .su-form-base .su-portrait { opacity: .45; filter: saturate(.65); }
.su-fusion-modal.is-preview-complete .su-form-upgraded .su-portrait { background: var(--su-holo); background-size: 250% 100%; box-shadow: 0 0 25px #76fff477, 0 0 65px #b964ff66, 0 0 110px #e358dd33; animation: su-holo-flow 6s linear infinite; }
.su-fusion-modal.is-preview-complete .su-prism-frame { opacity: 1; animation: su-prism-border 5s ease-in-out infinite; }
.su-fusion-modal.is-preview-complete .su-result-crown { opacity: 1; }
.su-fusion-modal.is-preview-complete .su-result-aura { opacity: .85; animation: su-spin 22s linear infinite; }
.su-fusion-modal.is-preview-complete .su-prism-veil { opacity: .7; animation: su-holo-flow 7s ease-in-out infinite; }
.su-fusion-modal.is-preview-complete .su-sequence-status { color: #a4fff0; text-shadow: 0 0 15px #66e9ee88; }
@keyframes su-fracture-source { 0%, 14% { opacity: 1; filter: brightness(1); } 19% { opacity: 1; filter: brightness(1.6) drop-shadow(0 0 15px #a2ffff); } 21%, 100% { opacity: 0; } }
@keyframes su-cracks-visible { 0%, 9% { opacity: 0; } 17%, 20% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes su-cracks-draw { 0%, 10% { stroke-dashoffset: 200; } 20%, 100% { stroke-dashoffset: 0; } }
@keyframes su-assemble-window { 0%, 78% { opacity: 0; } 86%, 100% { opacity: 1; } }
@keyframes su-prism-reveal { 0%, 55% { background: transparent; box-shadow: none; filter: none; } 76% { background: #86fff633; box-shadow: 0 0 55px #6ffff599; filter: brightness(1.15); } 88%, 100% { background: #a9fff4; box-shadow: 0 0 25px #76fff477, 0 0 65px #b964ff66, 0 0 110px #e358dd33; filter: none; } }
@keyframes su-prism-core { 0%, 100% { transform: scale(1); filter: none; } 18% { transform: scale(1.12); filter: brightness(1.3); } 42% { transform: scale(.85); filter: brightness(1.8); } 52% { transform: scale(1.55); filter: brightness(2) drop-shadow(0 0 28px #88ffef); } 70% { transform: scale(1.1); filter: brightness(1.3); } }
@keyframes su-prism-rays { 0%, 22%, 100% { opacity: 0; transform: rotate(-12deg) scale(.7); } 46% { opacity: .6; } 56% { opacity: .9; transform: rotate(12deg) scale(1.2); } 83% { opacity: .3; transform: rotate(22deg) scale(1.4); } }
@keyframes su-prism-shockwave { 0%, 47% { opacity: 0; transform: scale(.2); } 51% { opacity: .8; } 72%, 100% { opacity: 0; transform: scale(6); } }
@keyframes su-prism-bloom { 0%, 40%, 100% { opacity: 0; } 52% { opacity: .8; } 64% { opacity: .12; } 82% { opacity: .25; } }
@keyframes su-frame-ignite { 0%, 73% { opacity: 0; } 87%, 100% { opacity: 1; } }
@keyframes su-aura-ignite { 0%, 58% { opacity: 0; transform: rotate(-20deg) scale(.6); } 87%, 100% { opacity: .85; transform: rotate(12deg) scale(1); } }
@keyframes su-prism-border { 50% { filter: hue-rotate(45deg) brightness(1.5); } }
@media (max-width: 600px) {
    .su-sequence-status { font-size: .46rem; letter-spacing: .12em; bottom: 9px; }
    .su-fragment-facet img { border-radius: 58px 58px 10px 10px; }
    .su-result-crown { top: -22px; font-size: 26px; }
    .su-prism-rays i { height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .skin-upgrade-page *, .skin-upgrade-page *::before, .skin-upgrade-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
