@charset "UTF-8";
/* assets/css/card-page.css */
.card-page .cp-wrap { padding-top: var(--sp-2); padding-bottom: var(--sp-6); }
.card-page .card-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-bottom: var(--sp-3); font-size: var(--fs-small); color: #a9a4c4; }
.card-page .card-crumbs a { color: #cfc9e6; text-decoration: none; }
.card-page .card-crumbs a:hover, .card-page .card-crumbs a:focus-visible { color: #f3dc8f; text-decoration: underline; text-underline-offset: 3px; }
.card-page .card-crumbs i { font-size: .7em; color: #6f6a8f; }
.card-page .card-crumbs [aria-current] { color: #fefee2; font-weight: 700; }
.card-page .cp-grid { display: grid; grid-template-columns: minmax(280px, 5fr) 7fr; gap: var(--sp-6); align-items: start; }
.card-page .cp-visual { position: sticky; top: 96px; }
.card-page .cp-visual .detail-card { max-width: 400px; margin: 0 auto; filter: drop-shadow(0 0 40px color-mix(in srgb, var(--fc) 28%, transparent)); }
.card-page .cp-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.card-page .cp-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px; border-radius: 999px; font-size: var(--fs-caption); font-weight: 700; color: #ddd8f0;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); }
.card-page .cp-chip-fac { color: color-mix(in srgb, var(--fc) 70%, #fff); border-color: color-mix(in srgb, var(--fc) 55%, transparent); background: color-mix(in srgb, var(--fc) 10%, transparent); }
.card-page .cp-chip-own { color: #ffd6ec; border-color: rgba(255,79,168,.5); background: rgba(255,79,168,.12); }
html body.card-page .cp-name { margin: 0; font-size: clamp(var(--fs-h2), 4vw, var(--fs-h1)); font-weight: 900; line-height: 1.05; color: #fefee2; overflow-wrap: anywhere; }
.card-page .cp-name::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 14px; border-radius: 3px; background: var(--rc, #e9bf55); box-shadow: 0 0 14px var(--rc, #e9bf55); }
.card-page .cp-r-common    { --rc: #c9cbe0; }
.card-page .cp-r-rare      { --rc: #3f9bff; }
.card-page .cp-r-epic      { --rc: #b46dff; }
.card-page .cp-r-legendary { --rc: #e9bf55; }
.card-page .cp-r-mythic    { --rc: linear-gradient(90deg, #ff9ad5, #ffe08a, #9dffc9, #8fd8ff); }
.card-page .cp-ticker { margin-top: 10px; font-size: var(--fs-lead); font-weight: 800; letter-spacing: .04em; color: #f3dc8f; }
.card-page .cp-motto { margin: var(--sp-2) 0 0; padding-left: 14px; border-left: 2px solid color-mix(in srgb, var(--fc) 60%, transparent); font-size: var(--fs-lead); font-style: italic; color: #d8c8ff; }
.card-page .cp-finder { display: inline-flex; align-items: center; gap: 10px; margin: var(--sp-2) 0 0; padding: 10px 16px; border-radius: 14px; font-size: var(--fs-small); color: #f2e6c4;
  background: linear-gradient(180deg, rgba(249,231,161,.14), rgba(233,191,85,.06)); border: 1px solid rgba(233,191,85,.45); }
.card-page .cp-finder > i { font-size: 1.1rem; color: #e9bf55; }
.card-page .cp-finder strong { color: #fff4c2; }
.card-page .cp-finder small { color: rgba(242,230,196,.7); font-size: var(--fs-caption); }
.card-page .cp-desc { margin: var(--sp-2) 0 0; font-size: var(--fs-body); color: #cfc9e6; }
.card-page .cp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-1); margin-top: var(--sp-3); }
.card-page .cp-stat { display: grid; align-content: start; gap: 4px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.card-page .cp-stat > span { font-size: var(--fs-caption); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #a9a4c4; }
.card-page .cp-stat b { font-size: var(--fs-h3); font-weight: 900; line-height: 1; color: #fefee2; }
.card-page .cp-atk b { color: #ff7b8a; }
.card-page .cp-def b { color: #7db8ff; }
.card-page .cp-sum b { font-size: var(--fs-small); line-height: 1.3; padding-top: 6px; }
.card-page .cp-stars { display: flex; gap: 1px; font-style: normal; font-size: .62rem; color: #e9bf55; }
.card-page .cp-stars .bi-star { color: rgba(233,191,85,.35); }
.card-page .cp-panel { margin-top: var(--sp-3); padding: var(--sp-3); border-radius: 20px;
  background: linear-gradient(180deg, rgba(30,24,66,.7), rgba(10,10,30,.85)); border: 1px solid rgba(217,179,90,.2); box-shadow: 0 16px 36px rgba(0,0,0,.35); }
html body.card-page .cp-panel h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: var(--fs-caption); font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: #e9c46a; }
.card-page .cp-panel .effect-item { margin: 0; font-size: var(--fs-body); line-height: 1.55; color: #e6e1f5; }
.card-page .cp-panel .effect-item + .effect-item { margin-top: 10px; }
.card-page .cp-none { margin: 0; color: #a9a4c4; font-size: var(--fs-small); }
.card-page .cp-noeffect { margin: var(--sp-2) 0 0; color: #a9a4c4; font-size: var(--fs-small); }
.card-page .cp-cronos .token-contract { margin: 0; }
.card-page .cp-cronos .tc-moc { margin: 12px 0 0; font-size: var(--fs-small); }
.card-page .cp-cronos .tc-moc a { color: #9dffc9; font-weight: 700; text-decoration: none; }
.card-page .cp-cronos .tc-moc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-page .cp-nft { margin: 12px 0 0; font-size: var(--fs-small); color: #b9b3d6; }
.card-page .cp-nft a { color: #f3dc8f; }
.card-page .cp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: var(--sp-3); }
.card-page .cp-share { display: inline-flex; align-items: center; gap: 8px; min-height: var(--btn-md); padding: 0 20px; border-radius: 999px; font-size: var(--fs-body); font-weight: 700;
  color: #d8d3ea; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.18); }
.card-page .cp-share:hover, .card-page .cp-share:focus-visible { color: #fefee2; border-color: rgba(233,191,85,.6); }
.card-page .cp-share:focus-visible { outline: 2px solid #e9bf55; outline-offset: 2px; }
.card-page .card-prevnext { margin-top: var(--sp-6) !important; }
.card-page .cp-more-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin: var(--sp-6) 0 var(--sp-3); }
html body.card-page .cp-more-head h2 { margin: 0; font-size: var(--fs-h3); font-weight: 900; }
.card-page .cp-more-head a { font-size: var(--fs-small); font-weight: 700; color: #e9bf55; text-decoration: none; }
.card-page .cp-more-head a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 991.98px) {
  .card-page .cp-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .card-page .cp-visual { position: static; }
  .card-page .cp-visual .detail-card { max-width: 300px; }
}
@media (max-width: 575.98px) {
  .card-page .cp-wrap { padding-top: 0; }
  .card-page .cp-visual .detail-card { max-width: 240px; }
  .card-page .cp-grid { gap: var(--sp-3); }
  .card-page .cp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-page .cp-panel { padding: 18px; }
  .card-page .cp-actions .btn, .card-page .cp-share { flex: 1 1 100%; justify-content: center; }
}
.card-page .cp-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: calc(100vh - 260px); justify-content: center; text-align: center; }
.card-page .cp-empty-back { width: 150px; height: auto; border-radius: 6% / 4%; box-shadow: 0 20px 50px rgba(0,0,0,.6); transform: rotate(-6deg); margin-bottom: var(--sp-2); }
.card-page .cp-kick { margin: 0; font-size: var(--fs-caption); font-weight: 900; letter-spacing: .3em; text-transform: uppercase; color: #e9bf55; }
.card-page .cp-empty .cp-name::after { margin-left: auto; margin-right: auto; }
.card-page .cp-empty .cp-actions { justify-content: center; }
.card-page .cp-mystery { max-width: 300px; margin: 0 auto; }
@media (max-width: 991.98px) { .card-page .cp-mystery { max-width: 240px; } }
.card-page .cp-sealed { margin-top: var(--sp-4); }
.card-page .cp-more-head a { display: inline-flex; align-items: center; min-height: 44px; }
/* assets/css/holo.css */
.holo {
    --rx: 0deg;            
    --ry: 0deg;            
    --mx: 0;               
    --my: 0;
    --hyp: 0;              
    --on: 0;               
    --hue: 0deg;           
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 400 / 556;           
    touch-action: none;                
    -webkit-tap-highlight-color: transparent;
    outline: none;
    filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .55)) drop-shadow(0 4px 8px rgba(0, 0, 0, .35));
    cursor: grab;
}
.holo:active { cursor: grabbing; }
.holo__card {
    position: absolute;
    inset: 0;
    transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)) scale(calc(1 + var(--on) * .03));
    transform-origin: 50% 50%;
    will-change: transform;
}
.holo__img {
    display: block;
    width: 100%;
    height: 100%;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}
.holo__fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    -webkit-mask-image: var(--holo-mask);
    mask-image: var(--holo-mask);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    opacity: 0;
    contain: strict;
}
.holo__fx > i {
    position: absolute;
    inset: -50%;
    display: block;
    will-change: transform;
}
.holo__fx--foil > i, .holo__fx--glitter > i {
    -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 0%, rgba(0, 0, 0, .8) 40%, transparent 100%);
    mask-image: radial-gradient(closest-side at 50% 50%, #000 0%, rgba(0, 0, 0, .8) 40%, transparent 100%);
}
.holo__fx--glare { mix-blend-mode: soft-light; opacity: calc(var(--on) * (.55 + var(--hyp) * .35)); }
.holo__fx--glare > i {
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 240, .95) 0%, rgba(255, 255, 240, .45) 12%, rgba(255, 255, 255, 0) 32%);
    transform: translate(calc(var(--mx) * 33%), calc(var(--my) * 33%));
}
.holo[data-rarity="common"] .holo__fx--foil,
.holo[data-rarity="common"] .holo__fx--glitter { display: none; }
.holo[data-rarity="rare"] .holo__fx--glitter { display: none; }
.holo[data-rarity="rare"] .holo__fx--foil { mix-blend-mode: overlay; opacity: calc(.08 + var(--on) * .42); }
.holo[data-rarity="rare"] .holo__fx--foil > i {
    background: linear-gradient(115deg, rgba(255, 255, 255, 0) 38%, rgba(235, 240, 255, .55) 47%, rgba(255, 255, 255, .85) 50%, rgba(235, 240, 255, .55) 53%, rgba(255, 255, 255, 0) 62%);
    transform: translate(calc(var(--mx) * 24%), calc(var(--my) * 14%));
}
.holo[data-rarity="epic"] .holo__fx--glitter { display: none; }
.holo[data-rarity="epic"] .holo__fx--foil { mix-blend-mode: color-dodge; opacity: calc(.04 + var(--on) * (.2 + var(--hyp) * .12)); }
.holo[data-rarity="epic"] .holo__fx--foil > i {
    background: repeating-linear-gradient(118deg,
        hsl(0 95% 62%) 0%, hsl(45 95% 60%) 3.5%, hsl(110 85% 55%) 7%, hsl(185 90% 55%) 10.5%, hsl(250 90% 66%) 14%, hsl(310 90% 62%) 17.5%, hsl(360 95% 62%) 21%);
    transform: translate(calc(var(--mx) * 22%), calc(var(--my) * 22%));
    filter: hue-rotate(var(--hue)) saturate(1.2);
}
.holo[data-rarity="legendary"] .holo__fx--foil { mix-blend-mode: overlay; opacity: calc(.05 + var(--on) * .4); }
.holo[data-rarity="legendary"] .holo__fx--foil > i {
    background: linear-gradient(120deg, rgba(255, 214, 120, 0) 30%, rgba(255, 220, 140, .85) 46%, rgba(255, 248, 220, 1) 50%, rgba(255, 200, 90, .85) 54%, rgba(255, 214, 120, 0) 70%);
    transform: translate(calc(var(--mx) * 24%), calc(var(--my) * 18%));
}
.holo[data-rarity="legendary"] .holo__fx--glitter { mix-blend-mode: color-dodge; opacity: calc(.04 + var(--on) * (.34 + var(--hyp) * .2)); }
.holo[data-rarity="legendary"] .holo__fx--glitter > i {
    background-image: var(--holo-glitter);
    background-size: 120px 120px;
    transform: translate(calc(var(--mx) * 20%), calc(var(--my) * 20%));
    filter: sepia(1) saturate(4) hue-rotate(-12deg) brightness(1.15);
}
.holo[data-rarity="mythic"] .holo__fx--foil { mix-blend-mode: color-dodge; opacity: calc(.06 + var(--on) * (.3 + var(--hyp) * .16)); }
.holo[data-rarity="mythic"] .holo__fx--foil > i {
    background:
        repeating-linear-gradient(62deg, transparent 0%, hsl(0 100% 62% / .8) 2%, hsl(55 100% 60% / .8) 4%, hsl(130 90% 55% / .8) 6%, hsl(200 100% 60% / .8) 8%, hsl(275 95% 66% / .8) 10%, transparent 12%, transparent 18%),
        repeating-linear-gradient(-28deg, rgba(255, 255, 255, .0) 0%, rgba(255, 255, 255, .55) 1.5%, rgba(255, 255, 255, 0) 3%);
    background-blend-mode: screen;
    transform: translate(calc(var(--mx) * 26%), calc(var(--my) * 26%)) rotate(calc(var(--mx) * 4deg));
    filter: hue-rotate(var(--hue)) saturate(1.35);
}
.holo[data-rarity="mythic"] .holo__fx--glitter { mix-blend-mode: color-dodge; opacity: calc(.04 + var(--on) * (.3 + var(--hyp) * .2)); }
.holo[data-rarity="mythic"] .holo__fx--glitter > i {
    background-image: var(--holo-glitter);
    background-size: 110px 110px;
    transform: translate(calc(var(--mx) * 22%), calc(var(--my) * 22%));
    filter: hue-rotate(var(--hue)) saturate(2.2) brightness(1.2);
}
.holo[data-rarity="mythic"] .holo__fx--glare { mix-blend-mode: overlay; opacity: calc(var(--on) * (.65 + var(--hyp) * .35)); }
.holo:focus-visible {
    filter: drop-shadow(0 0 1.5px #e9bf55) drop-shadow(0 0 1.5px #e9bf55) drop-shadow(0 0 7px rgba(233, 191, 85, .65)) drop-shadow(0 18px 26px rgba(0, 0, 0, .55));
}
@media (prefers-reduced-motion: reduce) {
    .holo { --rx: 0deg !important; --ry: 0deg !important; cursor: default; }
    .holo .holo__card { transform: none; }
    .holo .holo__fx--glare { opacity: 0 !important; }
    .holo:not([data-rarity="common"]) .holo__fx--foil { opacity: .22 !important; }
    .holo .holo__fx--foil > i, .holo .holo__fx--glitter > i { transform: translate(-8%, -6%); }
    .holo .holo__fx--glitter { opacity: .2 !important; }
}
.holo.holo--still { --rx: 0deg !important; --ry: 0deg !important; cursor: default; }
.holo.holo--still .holo__card { transform: none; }
.holo.holo--still .holo__fx--glare { opacity: 0 !important; }
.holo.holo--still:not([data-rarity="common"]) .holo__fx--foil { opacity: .22 !important; }
.holo.holo--still .holo__fx--foil > i, .holo.holo--still .holo__fx--glitter > i { transform: translate(-8%, -6%); }
.holo.holo--still .holo__fx--glitter { opacity: .2 !important; }
.holo:not(.holo--ready) .holo__fx { display: none; }
.holo[data-rarity="epic"] .holo__fx--foil,
.holo[data-rarity="mythic"] .holo__fx--foil,
.holo[data-rarity="mythic"] .holo__fx--glitter {
    -webkit-mask-image: var(--holo-mask),
        linear-gradient(to bottom, #000 0%, #000 54%, rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, .25) 95%, #000 96.5%, #000 100%),
        linear-gradient(to right, #000 0%, #000 6.5%, transparent 7.5%, transparent 92.5%, #000 93.5%, #000 100%);
    mask-image: var(--holo-mask),
        linear-gradient(to bottom, #000 0%, #000 54%, rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, .25) 95%, #000 96.5%, #000 100%),
        linear-gradient(to right, #000 0%, #000 6.5%, transparent 7.5%, transparent 92.5%, #000 93.5%, #000 100%);
    -webkit-mask-composite: source-in, source-over, source-over;
    mask-composite: intersect, add, add;
}
.holo[data-rarity="legendary"] .holo__fx--glitter {
    -webkit-mask-image: var(--holo-mask),
        linear-gradient(to bottom, #000 0%, #000 4.5%, rgba(0, 0, 0, .35) 5.5%, rgba(0, 0, 0, .35) 94.5%, #000 95.5%, #000 100%),
        linear-gradient(to right, #000 0%, #000 6.5%, transparent 7.5%, transparent 92.5%, #000 93.5%, #000 100%);
    mask-image: var(--holo-mask),
        linear-gradient(to bottom, #000 0%, #000 4.5%, rgba(0, 0, 0, .35) 5.5%, rgba(0, 0, 0, .35) 94.5%, #000 95.5%, #000 100%),
        linear-gradient(to right, #000 0%, #000 6.5%, transparent 7.5%, transparent 92.5%, #000 93.5%, #000 100%);
    -webkit-mask-composite: source-in, source-over, source-over;
    mask-composite: intersect, add, add;
    opacity: calc(.08 + var(--on) * (.72 + var(--hyp) * .25));
}
.holo[data-rarity="legendary"] .holo__fx--glitter > i {
    filter: sepia(1) saturate(5) hue-rotate(-14deg) brightness(1.35);
}
.holo:not([data-rarity="common"]):not([data-rarity="rare"]) .holo__fx--glare {
    -webkit-mask-image: var(--holo-mask),
        linear-gradient(to bottom, #000 0%, #000 54%, rgba(0, 0, 0, .3) 60%, rgba(0, 0, 0, .3) 95%, #000 96.5%, #000 100%),
        linear-gradient(to right, #000 0%, #000 6.5%, transparent 7.5%, transparent 92.5%, #000 93.5%, #000 100%);
    mask-image: var(--holo-mask),
        linear-gradient(to bottom, #000 0%, #000 54%, rgba(0, 0, 0, .3) 60%, rgba(0, 0, 0, .3) 95%, #000 96.5%, #000 100%),
        linear-gradient(to right, #000 0%, #000 6.5%, transparent 7.5%, transparent 92.5%, #000 93.5%, #000 100%);
    -webkit-mask-composite: source-in, source-over, source-over;
    mask-composite: intersect, add, add;
}
.holo[data-rarity="legendary"] .holo__fx--foil {
    -webkit-mask-image: var(--holo-mask),
        linear-gradient(to bottom, #000 0%, #000 54%, rgba(0, 0, 0, .3) 60%, rgba(0, 0, 0, .3) 95%, #000 96.5%, #000 100%),
        linear-gradient(to right, #000 0%, #000 6.5%, transparent 7.5%, transparent 92.5%, #000 93.5%, #000 100%);
    mask-image: var(--holo-mask),
        linear-gradient(to bottom, #000 0%, #000 54%, rgba(0, 0, 0, .3) 60%, rgba(0, 0, 0, .3) 95%, #000 96.5%, #000 100%),
        linear-gradient(to right, #000 0%, #000 6.5%, transparent 7.5%, transparent 92.5%, #000 93.5%, #000 100%);
    -webkit-mask-composite: source-in, source-over, source-over;
    mask-composite: intersect, add, add;
}
