/* Light-catching premium finishes. All lettering stays above the surface. */
.card.prismatic,.card.gold{border-width:3px;box-shadow:inset 0 1px 0 #fff9,0 5px 0 #64467a55,0 0 0 1px #fff6,0 12px 24px #50326236}
.card.prismatic .cardtop,.card.prismatic .card-title,.card.prismatic .finish,.card.gold .cardtop,.card.gold .card-title,.card.gold .finish{position:relative;z-index:3}
.luxury-surface{position:absolute;inset:0;border-radius:10px;z-index:2;pointer-events:none;overflow:hidden}
.luxury-surface:after{content:'';position:absolute;inset:-50%;background:linear-gradient(112deg,transparent 35%,#fff0 40%,#fff5 44%,#fffd 45%,#fff2 47%,transparent 53%);transform:translateX(-80%);animation:luxury-reflection 6.5s ease-in-out infinite;mix-blend-mode:screen}
.jewel-corners{position:absolute;inset:0;pointer-events:none;z-index:7}.jewel-corners i{position:absolute;width:8px;height:8px;transform:rotate(45deg);border:1px solid #f7f3ff;background:linear-gradient(135deg,#fff 0%,#dceaff 25%,#9867dd 48%,#e1a6dd 70%,#fff 100%);box-shadow:0 0 5px #fff8}.jewel-corners i:nth-child(1){top:1px;left:1px}.jewel-corners i:nth-child(2){top:1px;right:1px}.jewel-corners i:nth-child(3){bottom:1px;right:1px}.jewel-corners i:nth-child(4){bottom:1px;left:1px}
.prestige-seal{position:absolute;bottom:8px;left:8px;z-index:3;display:grid;place-items:center;width:22px;height:22px;border:1px solid #f9e8ffbd;border-radius:50%;font-size:13px;background:linear-gradient(145deg,#e7b8e8,#8d68a5 50%,#f8d6ed);color:#fff9ed;box-shadow:0 1px 4px #0005,inset 0 0 0 2px #43255666;text-shadow:0 1px 2px #5c3879}
/* Prismatic: cut-crystal frame, spectral rays and changing full-art foil. */
.card.prismatic{--edge:#cfb5fa;--card-ink:#fff7ff;background:radial-gradient(ellipse at 4% 6%,#92d9fb75,transparent 40%),radial-gradient(ellipse at 95% 95%,#ff9adc70,transparent 40%),linear-gradient(125deg,#39235e 10%,#70508a 25%,#262e5e 45%,#573575 70%,#282441);box-shadow:0 4px 0 #6e518c,0 0 0 1px #dfb9ff,0 0 12px #daa0fa75,0 0 28px #94dcf540,0 12px 24px #44276438}
.card.prismatic .card-ornament{inset:-4px;border-width:3px;border-radius:14px;background:conic-gradient(from 20deg,#fff1a3,#f6aeff,#b7a0ff,#a5efff,#c2ffd5,#fff8bb,#fc98cb,#b5c6ff,#fff1a3) border-box;filter:drop-shadow(0 0 2px #e4cbff);animation:prism-edge 8s linear infinite}
.card.prismatic:before{inset:3px;border:1px solid #f4e2ff9c;box-shadow:inset 0 0 0 1px #331d5780;border-radius:9px}
.card.prismatic .art{border:1px solid #e4c4ff;box-shadow:0 0 0 1px #0004,0 0 12px #c8a6ef38}
.card.prismatic .collectible-art{filter:saturate(1.35) contrast(1.07)!important}
.card.prismatic .art-sheen{opacity:.78;background:repeating-linear-gradient(133deg,transparent 0 12%,#e596f52c 13% 16%,transparent 17% 28%,#b8f6ff60 29% 30%,transparent 31% 47%),conic-gradient(from 25deg at 35% 45%,#ffb0d41a,#e3c5ff73,#8ee6ff60,#fff0a333,#b1ffe433,#ffb0d41a);background-size:240% 180%;mix-blend-mode:screen;animation:prism-drift 7s ease-in-out infinite}
.card.prismatic .art-sheen:after{content:'';position:absolute;inset:0;background:repeating-conic-gradient(from 25deg at 50% 48%,#fff0 0deg 16deg,#e8ccff2a 17deg 18deg,#fff0 19deg 30deg);opacity:.7}
.card.prismatic .card-title strong{text-shadow:0 1px 0 #120a3f,0 0 10px #f6bdff55}.card.prismatic .card-series{color:#f3daff;opacity:.83}.card.prismatic .cardnumber{background:linear-gradient(130deg,#ded2f966,#281a5970,#dfb7ee55);border-color:#f6d6ff9c;box-shadow:inset 0 1px 0 #fff5}
.card.prismatic .art-stars{font-size:30px;color:white;text-shadow:0 0 5px #fff,0 0 12px #d1afff}.card.prismatic .finish{border-top-color:#efceff66}.card.prismatic .tiermarks{filter:drop-shadow(0 0 3px #efb7e788)}
/* Gold: polished metal, dark inset art, engraved security pattern and raised seal. */
.card.gold{--edge:#e9c46b;--card-ink:#57350c;background:repeating-radial-gradient(ellipse at 90% 93%,transparent 0 3px,#96631317 3.4px 3.8px,transparent 4.2px 7px),linear-gradient(118deg,#925810 0%,#dc9d30 7%,#ffe8a0 17%,#fff8d1 22%,#dba73d 30%,#c88a22 40%,#ffdf81 51%,#fff6c1 57%,#d29b32 67%,#b47718 77%,#ffe59a 90%,#f4c45a 100%);box-shadow:inset 0 1px 0 #fff8ce,0 4px 0 #926018,0 0 0 1px #fff0b4,0 0 12px #e5b34088,0 0 32px #e7af3b55,0 14px 24px #8b601840}
.card.gold .luxury-surface:after{animation-duration:5.8s;background:linear-gradient(112deg,transparent 32%,#ffdf8900 40%,#fff5b659 44%,#ffffe0d9 45%,#fffbc833 48%,transparent 55%)}
.card.gold:before{inset:3px;border:1px solid #fff7d5;box-shadow:inset 0 0 0 1px #8e5c2266,0 0 3px #fff8b780}.card.gold .card-ornament{inset:6px;border:1px solid #a9752c99;box-shadow:inset 0 0 0 1px #ffefb166;border-radius:7px;background:linear-gradient(45deg,#6f4818 0 3px,#ffedb5 3px 5px,transparent 5px) top left/16px 16px no-repeat,linear-gradient(-45deg,#6f4818 0 3px,#ffedb5 3px 5px,transparent 5px) top right/16px 16px no-repeat,linear-gradient(135deg,#6f4818 0 3px,#ffedb5 3px 5px,transparent 5px) bottom left/16px 16px no-repeat,linear-gradient(-135deg,#6f4818 0 3px,#ffedb5 3px 5px,transparent 5px) bottom right/16px 16px no-repeat}
.card.gold .jewel-corners i{border-color:#fff2be;background:linear-gradient(135deg,#fff8d1,#efc360 27%,#9e651d 48%,#f1bf54 70%,#fff7d8);box-shadow:0 0 5px #fff0a480}
.card.gold .art{border:2px solid #a77923;box-shadow:0 0 0 1px #fff6c1,inset 0 0 0 1px #0005,0 3px 5px #83501833;background:#292110!important}.card.gold .collectible-art{filter:sepia(1) saturate(1.15) brightness(.88) contrast(1.25)!important}.card.gold .art-sheen{opacity:.7;background:linear-gradient(112deg,transparent 18%,#ffdd8b11 37%,#fff3bb88 42%,#fff7d8b3 43%,#ffd36a26 46%,transparent 55%);background-size:260% 100%;animation:card-shine 5.8s ease-in-out infinite;mix-blend-mode:screen}
.card.gold .art-sheen:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 10%,#ffe1a326,transparent 65%);box-shadow:inset 0 0 20px #2c160a55}.card.gold .cardtop{color:#66400f;text-shadow:0 1px 0 #fff0a3}.card.gold .cardnumber{color:#54320b;border:1px solid #af7729;box-shadow:inset 0 1px 0 #fff5d1,0 1px 0 #fff0b680;background:linear-gradient(135deg,#fff2bf,#cc9333 55%,#ffe19a)}.card.gold .card-title strong{color:#56340d;text-shadow:0 1px 0 #fff9c7,0 -1px 0 #a76c2422}.card.gold .card-series{color:#6a461a;opacity:.9}.card.gold .finish{border-color:#94631799;box-shadow:0 -1px 0 #fff1b580;color:#5b370e;text-shadow:0 1px 0 #ffedaf}.card.gold .prestige-seal{width:25px;height:25px;border-color:#ffebae;background:repeating-conic-gradient(#eec96d 0deg 10deg,#b58126 10deg 20deg);box-shadow:0 0 0 1px #9c7028,0 2px 5px #0008,inset 0 0 0 3px #f7d584;outline:1px solid #d9a848;outline-offset:2px;color:#62400d;font-size:15px;text-shadow:0 1px 0 #fff5bb}.card.gold .art-stars{font-size:31px;color:#fffbd6;text-shadow:0 0 3px #fff9dc,0 0 10px #ffd06c}.card.gold .art-stars:after{color:#fff3ad;text-shadow:0 0 6px #ffe29b}
@keyframes luxury-reflection{0%,15%{transform:translateX(-80%)}65%,100%{transform:translateX(80%)}}@keyframes prism-edge{0%,100%{filter:drop-shadow(0 0 2px #d5b7ff) hue-rotate(0deg)}50%{filter:drop-shadow(0 0 3px #a9edff) hue-rotate(65deg)}}
@media(max-width:650px){.bookgrid .card.prismatic,.bookgrid .card.gold{border-width:2px}.bookgrid .jewel-corners i{width:5px;height:5px}.bookgrid .prestige-seal{width:14px;height:14px;left:5px;bottom:5px;font-size:9px}.bookgrid .card.gold .prestige-seal{width:15px;height:15px;font-size:10px;outline-offset:1px;box-shadow:0 1px 3px #0006,inset 0 0 0 2px #f7d584}.bookgrid .card.prismatic .art-stars,.bookgrid .card.gold .art-stars{font-size:17px}.bookgrid .card.gold .card-ornament{inset:4px}.bookgrid .card.prismatic .card-ornament{border-width:2px;inset:-3px;border-radius:9px}}
@media(prefers-reduced-motion:reduce){.luxury-surface:after,.card.prismatic .card-ornament{animation:none!important}.luxury-surface:after{transform:none;opacity:.2}}
