/* Shared illustration layout for skin wishes and single hero rewards. */
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) {
    --sw-accent: #db9dff; --sw-gold: #d8c5a4;
    padding: 30px 0; overflow-x: hidden; overflow-y: auto; isolation: isolate;
    background: radial-gradient(ellipse at 50% 85%, #60227528, transparent 60%), radial-gradient(ellipse at 25% 25%, #291b382e, transparent 55%), #070910;
}
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .wish-reveal-content { width: min(1320px, 92vw); max-width: none; padding: 0; zoom: 1; }
.wish-anim-overlay[data-skin-view="collection"] .wish-reveal-content { width: min(1950px, 96vw); }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .wish-anim-rays { opacity: .04; inset: 0; animation: none; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .wish-anim-bg { opacity: .12; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) :focus-visible { outline: 1px solid #dba9f5; outline-offset: 6px; }
.sw-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sw-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .07; filter: blur(16px) saturate(.55); mask-image: linear-gradient(90deg, #000, transparent 85%); pointer-events: none; }
.sw-backdrop[hidden], .sw-back[hidden] { display: none; }
.sw-header { display: flex; align-items: center; justify-content: center; position: relative; width: 100%; min-height: 28px; margin-bottom: 24px; color: #bcb0c9; font: 9px/1.5 'Outfit', 'Segoe UI', sans-serif; letter-spacing: .36em; }
.sw-back { position: absolute; left: 0; padding: 10px 0; background: none; border: 0; color: #d4c3e3; cursor: pointer; font: 11px 'Outfit', 'Segoe UI', sans-serif; letter-spacing: .05em; }
[data-skin-view="detail"] .sw-header-label { opacity: 0; }
.sw-essence-scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sw-essence-pool { position: absolute; left: -10%; right: -10%; bottom: -24%; height: 65%; border-radius: 50%; background: radial-gradient(ellipse, #b65fea1c, #6c459914 35%, transparent 68%); }
.sw-essence-pool::before, .sw-essence-pool::after { content: ''; position: absolute; inset: 12% 22%; border: 1px solid #c785e514; border-radius: 50%; transform: rotate(-7deg); box-shadow: 0 0 40px #b65fea0a, inset 0 0 50px #c785e50b; }
.sw-essence-pool::after { inset: 17% 17%; transform: rotate(8deg); }
.sw-essence-currents { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #d07aff; stroke-width: .7; opacity: .09; }
.sw-essence-currents path { stroke-dasharray: 70 45 9 60; animation: swCurrent 30s linear infinite; }
.sw-essence-currents path:nth-child(2) { stroke: #ffc1e5; animation-direction: reverse; }
.sw-ambient-bubble { position: absolute; bottom: -30px; left: var(--bubble-x); width: var(--bubble-size); height: var(--bubble-size); border: 1px solid #d9a5ff33; border-radius: 50%; box-shadow: inset 1px 1px 3px #fff1; opacity: 0; animation: swAmbientRise var(--bubble-time) var(--bubble-delay) linear infinite; }
.sw-essence-source { position: relative; display: grid; place-items: center; width: 90px; height: 94px; margin-top: 18px; pointer-events: none; }
.sw-essence-source img { width: 72px; height: 80px; object-fit: contain; position: relative; filter: drop-shadow(0 0 18px #bb54e64d); animation: swSourceFloat 5s ease-in-out infinite; }
.sw-essence-source > span { position: absolute; width: 260px; height: 40px; bottom: 0; border-radius: 50%; background: radial-gradient(ellipse, #d569ef33, #8d45bd0c 55%, transparent 72%); border-bottom: 1px solid #e99aff1f; }
.wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"], [data-skin-view="detail"]) .sw-essence-source { display: none; }
.wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"]) .sw-essence-currents { opacity: .035; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .wish-cards-grid { max-width: none; margin: 0; padding: 0; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .wc-card { --sw-accent: var(--rc); background: none; border: 0; box-shadow: none !important; padding: 0; border-radius: 0; min-height: 0; overflow: visible; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .wc-card::before { display: none; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .wc-card.in { transform: none; animation: none; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .wc-card:not(.revealed):hover { transform: none !important; box-shadow: none !important; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .wc-card .wc-inner { width: 100%; border-radius: 0; overflow: visible; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .wc-card .wc-shimmer { display: none; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .wc-card .wc-caption { box-sizing: border-box; padding: 0; gap: 0; min-width: 0; font-family: 'Outfit', 'Segoe UI', sans-serif; text-shadow: none; color: #f5eef7; }
/* The liquid seal is decorative, not an opaque cover: keep the actual reward unpainted until reveal. */
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .wc-card:not(.revealed) > :is(.wc-inner, .wc-caption) { visibility: hidden; }
.sw-art-stage { position: relative; width: 100%; height: 100%; isolation: isolate; }
.sw-art-halo { position: absolute; inset: 7% 0; background: radial-gradient(ellipse, color-mix(in srgb, var(--sw-accent) 18%, transparent), transparent 68%); pointer-events: none; }
.sw-art-orbit { position: absolute; left: 50%; top: 10%; height: 80%; width: auto; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; border: 1px solid #d0a0f51a; box-shadow: inset 0 0 50px #a567ca08, 0 0 0 22px #bb91dc03; }
.sw-character { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; z-index: 1; }
.sw-character--portrait { object-fit: cover; object-position: center 18%; mask-image: linear-gradient(#000 75%, transparent); }
.sw-art-baseline { position: absolute; bottom: 0; left: 18%; width: 64%; height: 1px; background: linear-gradient(90deg, transparent, #d5a6ed42, transparent); z-index: 2; }
.sw-art-spark { position: absolute; color: #e8d6b470; z-index: 2; font-size: 11px; }
.sw-spark-a { left: 15%; top: 27%; }
.sw-spark-b { right: 15%; top: 62%; font-size: 17px; }
.sw-rarity { display: flex; align-items: center; gap: 9px; color: var(--rc); font-size: 9px; text-transform: uppercase; letter-spacing: .26em; }
.sw-rarity > span:first-child { font-size: 13px; }
.sw-rarity-line { width: 40px; height: 1px; background: linear-gradient(90deg, var(--rc), transparent); opacity: .35; }
.sw-title { display: block; margin-top: 18px; font-family: 'AOW', Georgia, serif; font-weight: 400; line-height: 1.14; letter-spacing: -.025em; overflow-wrap: anywhere; }
.sw-eyebrow { margin-top: 12px; color: #e0c58e; font-size: 9px; letter-spacing: .18em; }
.sw-reward { display: flex; align-items: center; gap: 12px; margin-top: 27px; }
.sw-reward-symbol { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; color: #e5c989; font: 30px Georgia, serif; }
.sw-reward-symbol img { width: 27px; height: 27px; object-fit: contain; }
.sw-reward-amount { color: #dfc3f8; font-size: 32px; font-weight: 300; }
.sw-reward--unlock .sw-reward-amount { color: #e4ca91; }
.sw-progress { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.sw-progress-track { display: flex; flex-wrap: wrap; gap: 7px; max-width: 240px; padding: 4px 2px; }
.sw-bead { width: 6px; height: 8px; border: 1px solid #d5b6ee35; border-radius: 65% 35% 60% 40%; transform: rotate(-25deg); background: #ffffff04; }
.sw-bead.is-filled { background: var(--rc); border-color: var(--rc); box-shadow: 0 0 8px color-mix(in srgb, var(--rc) 30%, transparent); }
.sw-progress-count { color: #b09cbf; font-size: 10px; white-space: nowrap; }
.sw-progress-count > span { color: #73677e; }
/* Solo keeps the full sprite illustration; an inspected multi-pull keeps its hero-card art. */
.wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"], [data-skin-view="detail"]) .sw-card { display: grid; grid-template-columns: 55% 45%; width: 100%; }
.wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"], [data-skin-view="detail"]) .sw-card .wc-inner { height: clamp(330px, 59vh, 680px); }
.wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"], [data-skin-view="detail"]) .sw-card .wc-caption { align-self: center; align-items: flex-start; text-align: left; padding: 24px 20px 24px 35px; }
.wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"], [data-skin-view="detail"]) .sw-title { font-size: clamp(36px, 3.7vw, 64px); }
.wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"]) .sw-card.revealed .wc-inner { animation: none; }
.wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"]) .sw-card.revealed .sw-character { transform-origin: 50% 50%; animation: swSoloArtEmerge 1.35s cubic-bezier(.33,0,.2,1) both; }
.wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"]) .sw-card.revealed .wc-caption { animation: swCaptionIn .7s .55s ease both; }
/* Liquid glass droplets: no rectangular card, label stack, or progress panel in the gallery. */
.wish-anim-overlay[data-skin-view="collection"] .wish-cards-grid.visible { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 24px; align-items: center; }
.wish-anim-overlay[data-skin-view="collection"] .wc-card { position: relative; width: 100%; min-width: 0; cursor: pointer; }
.wish-anim-overlay[data-skin-view="collection"] .wc-card .wc-inner { height: auto; aspect-ratio: 1.05; }
.sw-float { width: 100%; height: 100%; padding: 3%; box-sizing: border-box; animation: swDropFloat calc(5.7s + var(--card-order) * .23s) calc(var(--card-order) * -.87s) ease-in-out infinite; }
.sw-drop { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 48% 52% 46% 54% / 54% 46% 54% 46%; border: 1px solid color-mix(in srgb, var(--rc) 55%, #ffffff22); box-sizing: border-box; background: #1c102e; box-shadow: inset 0 0 18px #fff2, 0 0 32px color-mix(in srgb, var(--rc) 13%, transparent), 0 18px 35px #0005; }
.sw-drop .sw-character { object-fit: cover; object-position: 50% 43%; opacity: .92; mask-image: none; }
.sw-drop::after { content: ''; position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse at 25% 12%, #fff4, transparent 32%), radial-gradient(ellipse at 55% 110%, color-mix(in srgb, var(--rc) 70%, transparent), transparent 58%); box-shadow: inset 0 2px 4px #fffd, inset 3px 0 7px #f7baff4a, inset -3px -5px 10px #070314a6; }
.sw-liquid { position: absolute; z-index: 2; bottom: -1px; left: -2%; right: -2%; height: 45%; pointer-events: none; }
.sw-liquid-wave { width: 200%; height: 100%; fill: var(--rc); opacity: .3; animation: swLiquidWave 6s calc(var(--card-order) * -.6s) ease-in-out infinite alternate; }
.sw-drop-caustic { position: absolute; z-index: 5; left: 15%; bottom: 8%; width: 66%; height: 21%; border-radius: 50%; border-bottom: 2px solid #ffdaffa1; transform: rotate(-12deg); filter: blur(1px); opacity: .75; pointer-events: none; }
.sw-drop-glint { position: absolute; z-index: 5; left: 17%; top: 8%; width: 21%; height: 9%; border-radius: 50%; border-top: 3px solid #fff9; transform: rotate(-29deg); pointer-events: none; }
.sw-drop-count { position: absolute; z-index: 6; right: 21%; bottom: 11%; color: #fff3ff; text-shadow: 0 1px 8px #14051d; font: 500 14px 'Outfit', 'Segoe UI', sans-serif; }
.sw-microbubble { position: absolute; z-index: 5; width: 5px; height: 5px; border: 1px solid #ffffff70; border-radius: 50%; box-shadow: inset 1px 1px 2px #fffa; animation: swMicroRise 4s ease-in-out infinite; pointer-events: none; }
.sw-microbubble-a { bottom: 12%; left: 22%; }
.sw-microbubble-b { bottom: 18%; left: 33%; width: 3px; height: 3px; animation-delay: -1.8s; }
.sw-microbubble-c { bottom: 9%; left: 65%; width: 4px; height: 4px; animation-delay: -2.8s; }
.wish-anim-overlay[data-skin-view="collection"] .wc-card.revealed .sw-drop { animation: swDropRelease .9s cubic-bezier(.16,1,.3,1) both, swSurface 9s 1s ease-in-out infinite alternate; }
.wish-anim-overlay[data-skin-view="collection"] .wc-card.revealed .wc-inner { animation: none; }
.wish-anim-overlay[data-skin-view="collection"] .wc-card .wc-caption { position: absolute; left: 0; right: 0; top: calc(100% - 3px); padding: 0 4px; opacity: 0; transition: opacity .25s; pointer-events: none; }
.wish-anim-overlay[data-skin-view="collection"] .sw-card :is(.sw-rarity, .sw-eyebrow, .sw-progress, .sw-reward) { display: none; }
.wish-anim-overlay[data-skin-view="collection"] .sw-title { margin: 0; font-size: 13px; text-align: center; color: #d5c6e1; }
.wish-anim-overlay[data-skin-view="collection"] .wc-card.revealed:is(:hover, :focus-visible) .wc-caption { opacity: 1; }
.wish-anim-overlay[data-skin-view="collection"] .wc-card.revealed:is(:hover, :focus-visible) .sw-drop { filter: brightness(1.12); }
/* Upgrade materials use the same liquid silhouette, with their existing item icon. */
.wish-anim-overlay[data-skin-view="collection"] .wc-card:not(.sw-card) .wc-inner { width: 94%; margin: 3%; aspect-ratio: 1.05; height: auto; overflow: hidden; border-radius: 48% 52% 46% 54% / 54% 46% 54% 46%; border: 1px solid #d9aaee55; background: radial-gradient(ellipse at 35% 25%, #a66bd52b, transparent), #180d27; box-shadow: inset 0 2px 4px #ffffff80, inset -3px -5px 12px #0008, 0 0 25px #d0a0f515; }
.wish-anim-overlay[data-skin-view="collection"] .wc-card:not(.sw-card) .wc-icon { width: 56%; height: 56%; filter: drop-shadow(0 0 16px #a982ce55); }
.wish-anim-overlay[data-skin-view="collection"] .wc-card[data-tier="upgradeShard"] .wc-inner::after { content: '+1'; position: absolute; bottom: 11%; right: 21%; color: #f3dfff; font: 500 14px 'Outfit', 'Segoe UI', sans-serif; }
.wish-anim-overlay[data-skin-view="collection"] .wc-card:not(.sw-card) :is(.wc-name, .wc-rarity) { text-shadow: none; font-size: 11px; }
.wish-anim-overlay[data-skin-view="detail"] .wc-card:not(.sw-focused) { display: none; }
.wish-anim-overlay[data-skin-view="detail"] .sw-focused { cursor: default; }
.wish-anim-overlay[data-skin-view="detail"] .sw-float { animation: none; padding: 8%; }
.wish-anim-overlay[data-skin-view="detail"] .sw-drop { max-width: 540px; margin: auto; }
.wish-anim-overlay[data-skin-view="detail"] .sw-drop-count { display: none; }
/* Ultra is opalescent/prismatic; the sealed essence remains neutral until opened. */
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .sw-card[data-tier="ultra"] {
    --sw-prism: linear-gradient(115deg,#ff83bf,#ffad81,#fff09e,#8aefbc,#7de8ff,#9ba5ff,#d7a1ff);
    --sw-prism-rim: conic-gradient(from 35deg,#ff83bf,#ffad81,#fff09e,#8aefbc,#7de8ff,#9ba5ff,#d7a1ff,#ff83bf);
}
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .sw-card[data-tier="ultra"] .sw-drop { border-color:transparent; box-shadow:inset 0 0 18px #fff2, -8px 0 28px #ff83bf14, 8px 0 28px #7de8ff16, 0 18px 35px #0005; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .sw-card[data-tier="ultra"] :is(.sw-drop,.sw-art-orbit)::before {
    content:''; position:absolute; inset:0; padding:2px; border-radius:inherit; z-index:7; pointer-events:none;
    background:var(--sw-prism-rim);
    -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
    mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    mask-composite:exclude;
}
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .sw-card[data-tier="ultra"] .sw-drop::after {
    background:radial-gradient(ellipse at 25% 12%,#fff4,transparent 32%),radial-gradient(ellipse at 10% 110%,#ff83bf66,transparent 50%),radial-gradient(ellipse at 55% 110%,#8aefbc55,transparent 48%),radial-gradient(ellipse at 95% 110%,#9ba5ff66,transparent 50%);
}
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .sw-card[data-tier="ultra"] .sw-liquid-wave { opacity:.48; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .sw-card[data-tier="ultra"] .sw-drop-caustic { height:3px; border:0; background:var(--sw-prism); filter:blur(2px); }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .sw-card[data-tier="ultra"] :is(.sw-rarity,.sw-reward-amount,.sw-eyebrow) { background:var(--sw-prism); background-clip:text; -webkit-background-clip:text; color:transparent; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .sw-card[data-tier="ultra"] .sw-rarity > span:first-child { color:#e3dbff; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .sw-card[data-tier="ultra"] .sw-rarity-line { background:var(--sw-prism); opacity:.75; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .sw-card[data-tier="ultra"] .sw-bead.is-filled { background:var(--sw-prism); border-color:#e3dbff99; box-shadow:0 0 8px #d3c7ff33; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .sw-card[data-tier="ultra"] .sw-art-halo { background:radial-gradient(ellipse at 20% 35%,#ff83bf2b,transparent 57%),radial-gradient(ellipse at 75% 30%,#7de8ff29,transparent 55%),radial-gradient(ellipse at 50% 80%,#b4a2ff30,transparent 60%); mask-image:radial-gradient(ellipse,#000 20%,transparent 70%); }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .sw-card[data-tier="ultra"] .sw-art-orbit { border-color:transparent; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .sw-card[data-tier="ultra"] .sw-reward-symbol { color:#e3dbff; }
/* Sealed droplets are already made of essence; tapping reveals the art inside. */
.wish-anim-overlay[data-skin-view="collection"] .wc-orb { inset: 3%; border-radius: 48% 52% 46% 54% / 54% 46% 54% 46%; background: radial-gradient(ellipse at 30% 25%, #e2b8f544, transparent 40%), radial-gradient(ellipse at 65% 80%, #ba3dd77a, #1a0b32 65%); border: 1px solid #e3b6f58c; box-shadow: inset 0 2px 5px #fff7, inset -5px -12px 25px #4e125d99, 0 0 22px #c477e51a; }
.wish-anim-overlay[data-skin-view="collection"] .wc-seal { width: 62%; height: 62%; background: url('../image/wish/wish_currency_img/Item_Esszencia.webp') center / contain no-repeat; filter: none; opacity: .75; }
.wish-anim-overlay[data-skin-view="collection"] .wc-seal svg { display: none; }
.wish-anim-overlay[data-skin-view="collection"] :is(.wc-seal-caption, .wc-seal-star, .wc-orb-ring, .wc-orb::before) { display: none; }
.wish-anim-overlay[data-skin-view="collection"] .wc-card.revealed .wc-orb { opacity: 0; transform: scale(1.16); pointer-events: none; }
.wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"]) .wc-orb {
    --sw-solo-drop-size: min(92vw, clamp(218px, 26vw, 340px), max(250px, 62svh));
    inset: auto; left: 50%; top: 50%; width: var(--sw-solo-drop-size); height: var(--sw-solo-drop-size);
    transform: translate(-50%, -50%); border-radius: 48% 52% 46% 54% / 54% 46% 54% 46%;
    border: 1px solid #e3b6f58c;
    background: radial-gradient(ellipse at 30% 25%, #e2b8f544, transparent 40%), radial-gradient(ellipse at 65% 80%, #9a3acb, #1a0b32 70%);
    box-shadow: inset 0 2px 5px #fff8, inset -5px -12px 25px #4e125d99, 0 0 45px #b765e52a;
    transition: none; animation: swSoloDropFloat 5s ease-in-out infinite;
}
.wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"]) .wc-seal { width: 62%; height: 62%; background: url('../image/wish/wish_currency_img/Item_Esszencia.webp') center / contain no-repeat; filter: drop-shadow(0 0 12px #ebadff30); }
.wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"]) :is(.wc-seal svg, .wc-seal-caption, .wc-seal-star, .wc-orb-ring, .wc-orb::before) { display: none; }
.wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"]) .wc-card:not(.revealed):focus-visible { outline: none; }
.wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"]) .wc-card:not(.revealed):focus-visible .wc-orb { outline: 1px solid #dba9f5; outline-offset: 7px; }
.wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"]) .wc-card.revealed .wc-orb { opacity: 0; transform: translate(-50%, -50%) scale(1.5); pointer-events: none; animation: swSoloDropBurst .85s ease-out both; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .wish-reveal-hint { display: none; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) .wish-anim-revealall:not(.visible), .wish-anim-overlay:is([data-skin-view], [data-hero-view]) .wish-anim-ok:not(.visible) { display: none; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) :is(.wish-anim-revealall, .wish-anim-ok) { min-width: 180px; min-height: 44px; margin: 15px 0 0; padding: 12px 24px; border: 0; border-radius: 0; background: none; color: #dfcaeb; box-shadow: none; font: 12px 'Outfit', 'Segoe UI', sans-serif; letter-spacing: .16em; }
.wish-anim-overlay:is([data-skin-view], [data-hero-view]) :is(.wish-anim-revealall, .wish-anim-ok):hover { background: none; color: #fff2ff; box-shadow: none; }
@keyframes swDropFloat { 0%,100% { transform: translateY(4px) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1deg); } }
@keyframes swSurface { from { border-radius: 48% 52% 46% 54% / 54% 46% 54% 46%; } to { border-radius: 53% 47% 52% 48% / 48% 54% 46% 52%; } }
@keyframes swLiquidWave { from { transform: translateX(-28%) translateY(2px) rotate(-4deg); } to { transform: translateX(-8%) translateY(-2px) rotate(4deg); } }
@keyframes swDropRelease { from { opacity: .15; transform: scale(.78); filter: brightness(1.9); } to { opacity: 1; transform: scale(1); filter: brightness(1); } }
@keyframes swMicroRise { 0% { opacity: 0; transform: translate(0,0); } 30% { opacity: .7; } 100% { opacity: 0; transform: translate(6px,-40px); } }
@keyframes swAmbientRise { 0% { opacity: 0; transform: translate(0,0); } 15% { opacity: .45; } 85% { opacity: .25; } 100% { opacity: 0; transform: translate(28px,-95vh); } }
@keyframes swCurrent { to { stroke-dashoffset: -920; } }
@keyframes swSourceFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes swCharacterIn { from { opacity: 0; transform: translateY(15px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes swSoloDropFloat { 0%,100% { transform: translate(-50%, calc(-50% + 5px)); } 50% { transform: translate(-50%, calc(-50% - 5px)); } }
@keyframes swSoloDropBurst {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: brightness(1); }
    24% { opacity: 1; transform: translate(-50%, -50%) scale(.92); filter: brightness(1.4); }
    65% { opacity: .4; transform: translate(-50%, -50%) scale(1.3); filter: brightness(1.4) blur(3px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); filter: blur(10px); }
}
@keyframes swSoloArtEmerge {
    0% { opacity: 0; transform: translate(var(--sw-emerge-x, 0px), var(--sw-emerge-y, 0px)) scale(.12); filter: blur(12px); }
    18% { opacity: .45; transform: translate(var(--sw-emerge-x, 0px), var(--sw-emerge-y, 0px)) scale(.25); filter: blur(8px); }
    68% { opacity: 1; filter: blur(0); }
    100% { opacity: 1; transform: translate(0,0) scale(1); filter: none; }
}
@keyframes swCaptionIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@media (min-width: 2000px) { .wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"], [data-skin-view="detail"]) .wish-reveal-content { width: min(1700px, 88vw); } }
@media (max-width: 980px) {
    .wish-anim-overlay:is([data-skin-view], [data-hero-view]) { padding: 24px 0; }
    .wish-anim-overlay[data-skin-view="collection"] .wish-cards-grid.visible { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 10px; }
    .sw-progress-track { gap: 5px; max-width: 210px; }
}
@media (max-width: 600px) {
    .wish-anim-overlay:is([data-skin-view], [data-hero-view]) { padding: 22px 0; }
    .sw-header { font-size: 8px; min-height: 24px; margin-bottom: 18px; }
    .wish-anim-overlay[data-skin-view="collection"] .wish-cards-grid.visible { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
    .wish-anim-overlay[data-skin-view="collection"] .wc-card .wc-caption { top: calc(100% - 4px); }
    .wish-anim-overlay[data-skin-view="collection"] .sw-title { font-size: 11px; }
    .sw-drop-count { font-size: 12px; }
    .sw-essence-source { margin-top: 16px; height: 72px; }
    .sw-essence-source img { height: 64px; width: 60px; }
    .wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"], [data-skin-view="detail"]) .sw-card { grid-template-columns: 100%; }
    .wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"], [data-skin-view="detail"]) .sw-card .wc-inner { height: clamp(220px, 40svh, 370px); }
    .wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"], [data-skin-view="detail"]) .sw-card .wc-caption { align-items: center; text-align: center; padding: 20px 10px 0; }
    .wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"], [data-skin-view="detail"]) .sw-title { font-size: 34px; margin-top: 12px; }
    .sw-reward { margin-top: 16px; }
    .sw-reward-amount { font-size: 28px; }
    .sw-progress { margin-top: 16px; }
    .sw-rarity { font-size: 8px; }
    .sw-backdrop { filter: none; opacity: .05; }
    .sw-essence-currents { opacity: .045; }
}
@media (max-height: 520px) and (min-width: 601px) {
    .wish-anim-overlay:is([data-skin-view], [data-hero-view]) { padding: 16px 0; }
    .sw-header { margin-bottom: 8px; min-height: 20px; }
    .wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"], [data-skin-view="detail"]) .sw-card .wc-inner { height: 230px; }
    .wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"], [data-skin-view="detail"]) .sw-card .wc-caption { padding: 10px 22px; }
    .wish-anim-overlay:is([data-skin-view="single"], [data-hero-view="single"], [data-skin-view="detail"]) .sw-title { font-size: 32px; margin-top: 12px; }
    .sw-reward { margin-top: 12px; }
    .sw-progress { margin-top: 14px; }
    .wish-anim-overlay:is([data-skin-view], [data-hero-view]) :is(.wish-anim-revealall, .wish-anim-ok) { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .wish-anim-overlay:is([data-skin-view], [data-hero-view]) *, .wish-anim-overlay:is([data-skin-view], [data-hero-view]) *::before, .wish-anim-overlay:is([data-skin-view], [data-hero-view]) *::after { animation: none !important; transition: none !important; }
    .sw-ambient-bubble { opacity: .2; bottom: calc(8% + var(--bubble-size) * 9); }
}

/* Hero seals keep their banner emblem and colour in the shared solo layout. */
.wish-anim-overlay[data-hero-view="single"] .wc-orb {
    border-color: rgba(var(--wish-rgb), .55);
    background: radial-gradient(ellipse at 30% 25%, rgba(var(--wish-rgb), .3), transparent 40%), radial-gradient(ellipse at 65% 80%, rgba(var(--wish-rgb), .4), #071326 70%);
}
.wish-anim-overlay[data-hero-view="single"] .wc-seal { background: none; color: var(--wish-accent); }
.wish-anim-overlay[data-hero-view="single"] .wc-seal svg { display: block; }
