/* The Holo card material, copied from the style board (docs/style/directions/index.html:
   the .hc2 rules of "Las cartas de Holo", foil v2 to v6b, in their original cascade order).
   Only the selectors changed: .st-holo .deck2 -> .deck, .st-holo .det .stage2 -> .stage,
   .st-holo .det .hc2.big -> .hc2.big. The showcase-only rules (.fshow, .types) were left out.
   Keep this file a copy: change the foil in the style board first, then copy it here. */
.hc2{border-radius:18px;padding:6px;position:relative;overflow:hidden;box-shadow:0 14px 24px -14px rgba(40,30,90,.7);font-family:"Space Grotesk",sans-serif;color:#1b1830}
.hc2::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(115deg,rgba(255,255,255,0) 0 14px,rgba(255,255,255,.32) 16px,rgba(255,255,255,0) 20px),linear-gradient(110deg,transparent 28%,rgba(255,255,255,.8) 42%,transparent 56%);mix-blend-mode:soft-light;pointer-events:none}
.hc2 .in{background:#fff;border-radius:12px;padding:6px 6px 8px;position:relative}
.hc2 .tp{display:flex;justify-content:space-between;align-items:center;padding:1px 2px 6px;font:700 12.5px "Space Grotesk",sans-serif;letter-spacing:.02em}
.hc2 .ty{display:flex;align-items:center;gap:4px;font:700 10.5px "Space Grotesk",sans-serif;padding:3px 8px 3px 6px;border-radius:99px;background:#efeef5;color:#1b1830}
.hc2 .ty svg{width:13px;height:13px}
.hc2 .im{height:96px;border-radius:8px;overflow:hidden;position:relative}
.hc2 .im::after{content:"";position:absolute;inset:0;background:linear-gradient(125deg,rgba(255,150,230,.28),rgba(150,210,255,.08) 35%,rgba(170,255,210,.24) 60%,rgba(255,240,150,.12));mix-blend-mode:overlay}
.hc2 p{font:700 12.5px/1.2 "Space Grotesk",sans-serif;margin:7px 2px 6px;min-height:2.4em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hc2 .ft{display:flex;justify-content:space-between;align-items:center;margin:0 2px;font-size:11px;color:#4d4868}
.hc2 .emo{display:flex;align-items:center;gap:5px}
.hc2 .emo i{width:8px;height:8px;border-radius:50%;display:inline-block}
.pips{display:flex;gap:4px;padding-right:2px}
.pips i{width:7px;height:7px;transform:rotate(45deg);background:#d9d7e5;border-radius:1.5px;display:block}
.pips i.on{background:#1b1830}
.t-sueno{background:linear-gradient(135deg,#f6f6fa,#d3d2de 38%,#fafafd 58%,#cac9d8)}
.t-lucido,.t-lucido .ty{background:linear-gradient(118deg,#ff9fe0,#9fd4ff 18%,#a6ffd0 34%,#fff09a 50%,#ffb3d6 66%,#a9c1ff 82%,#9ff3ff)}
.t-recurrente{background:linear-gradient(118deg,#f5d978,#ffd3a2 22%,#fff1bd 44%,#e2bd5e 64%,#ffe6a0 84%,#eac868)}
.t-recurrente .ty{background:#fff1c7;color:#6b4e12}
.t-recurrente .in{background:repeating-linear-gradient(135deg,#fffdf6 0 10px,#fff8e6 10px 20px)}
.t-pesadilla{background:linear-gradient(118deg,#3b0f4a,#7a1f4f 22%,#123e52 45%,#4a0f2e 68%,#1d1440 88%)}
.t-pesadilla .in{background:#17121f;color:#f1ecff}
.t-pesadilla .ft{color:#b9b0d6}
.t-pesadilla .ty{background:#2b2138;color:#f3a7b8}
.t-pesadilla .pips i{background:#3a3049}
.t-pesadilla .pips i.on{background:#f3a7b8}
.t-pesadilla .im::after{background:linear-gradient(125deg,rgba(120,30,90,.35),rgba(20,60,90,.2) 50%,rgba(90,20,60,.3))}
.deck{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 16px}
.hc2.big{margin:4px 46px 0;padding:9px;border-radius:22px;box-shadow:0 2px 0 rgba(160,150,210,.7),0 4px 0 rgba(140,130,200,.5),0 22px 34px -16px rgba(40,30,90,.75)}
.hc2.big .in{border-radius:15px;padding:8px 8px 10px}
.hc2.big .tp{font-size:15px;padding-bottom:8px}
.hc2.big .ty{font-size:12px}
.hc2.big .im{height:190px;border-radius:10px}
.hc2.big p{font-size:16px;margin:10px 2px 8px}
.hc2.big .ft{font-size:12.5px}
.hc2.big .pips i{width:9px;height:9px}

.hc2 .in{background-image:radial-gradient(ellipse 90% 40% at 50% 100%,color-mix(in srgb,var(--emo,#fff) 22%,transparent),transparent 70%)}
.t-recurrente .in{background-image:radial-gradient(ellipse 90% 40% at 50% 100%,color-mix(in srgb,var(--emo,#fff) 22%,transparent),transparent 70%),repeating-linear-gradient(135deg,#fffdf6 0 10px,#fff8e6 10px 20px)}
.t-pesadilla.t2-recurrente{background:linear-gradient(118deg,#3b0f4a,#7a1f4f 16%,#e2bd5e 27%,#123e52 42%,#f5d978 55%,#4a0f2e 68%,#c9a24a 78%,#1d1440 90%)}
.t-lucido.t2-recurrente{background:linear-gradient(118deg,#ff9fe0,#f5d978 18%,#9fd4ff 32%,#ffe6a0 48%,#a6ffd0 62%,#e2bd5e 78%,#a9c1ff)}
.t-lucido.t2-pesadilla{background:linear-gradient(118deg,#ff9fe0,#3b0f4a 18%,#9fd4ff 34%,#7a1f4f 50%,#a6ffd0 64%,#1d1440 80%,#a9c1ff)}
.hc2 .tys{display:flex;gap:4px}

/* ---------- Holo foil v3 (premium) ---------- */
.hc2.hc2{background:var(--base)}
.hc2{isolation:isolate;background:var(--base);box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 1px 0 rgba(255,255,255,.4),0 16px 26px -16px rgba(30,20,70,.75),0 2px 4px rgba(30,20,70,.18)}
.hc2::after{display:none}
.hc2 .fx{position:absolute;inset:0;border-radius:inherit;pointer-events:none;display:block}
.hc2 .fx-foil{z-index:0;background:var(--film);background-size:300% 300%;background-position:var(--pos,32% 38%);mix-blend-mode:var(--blend,color-dodge);opacity:var(--fo,0)}
.hc2 .fx-grain{z-index:0;background-image:var(--grain-img);background-size:150px 150px;mix-blend-mode:overlay;opacity:var(--go,0)}
.hc2 .fx-etch{z-index:0;background:repeating-linear-gradient(60deg,rgba(255,255,255,.55) 0 .7px,transparent .7px 7px),repeating-linear-gradient(-60deg,rgba(255,255,255,.55) 0 .7px,transparent .7px 7px);mix-blend-mode:overlay;opacity:var(--eo,0)}
.hc2 .fx-glare{z-index:4;background:radial-gradient(farthest-corner circle at var(--mx,28%) var(--my,18%),rgba(255,255,255,.75) 0%,rgba(255,255,255,.18) 22%,rgba(255,255,255,0) 52%);mix-blend-mode:soft-light;opacity:var(--glo,.7)}
.hc2 .in{z-index:1;box-shadow:0 0 0 1px rgba(20,10,40,.28),inset 0 1px 0 rgba(255,255,255,.9)}
.hc2 .im{box-shadow:0 0 0 1px rgba(20,10,40,.18)}
.hc2 .im::after{display:none}
.hc2 .im::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:var(--film);background-size:300% 300%;background-position:var(--pos,32% 38%);mix-blend-mode:color-dodge;opacity:var(--ao,0)}
.hc2 .im .glit{position:absolute;inset:0;z-index:2;pointer-events:none;background-image:var(--glitter-img);background-size:120px 120px;mix-blend-mode:screen;opacity:var(--gli,0)}
/* rarity: how much of the card is foil */
.hc2.r-1{padding:5px;--fo:.18;--go:0;--eo:0;--ao:0;--gli:0;--glo:.55}
.hc2.r-2{padding:6px;--fo:.8;--go:.32;--eo:0;--ao:0;--gli:0}
.hc2.r-3{padding:7px;--fo:.95;--go:.42;--eo:.5;--ao:0;--gli:0}
.hc2.r-3 .in,.hc2.r-4 .in{background-color:rgba(255,255,255,.62);backdrop-filter:none}
.hc2.r-3 .in .tp,.hc2.r-3 .in p,.hc2.r-4 .in .tp,.hc2.r-4 .in p{text-shadow:0 1px 0 rgba(255,255,255,.7)}
.t-pesadilla.r-3 .in,.t-pesadilla.r-4 .in{background-color:rgba(20,14,30,.7)}
.t-pesadilla.r-3 .in .tp,.t-pesadilla.r-3 .in p,.t-pesadilla.r-4 .in .tp,.t-pesadilla.r-4 .in p{text-shadow:0 1px 0 rgba(0,0,0,.6)}
.t-recurrente.r-3 .in,.t-recurrente.r-4 .in{background-color:rgba(255,250,235,.6);background-image:none}
.hc2.r-4{padding:8px;--fo:1;--go:.5;--eo:.6;--ao:.32;--gli:.55;--glo:.85}
.hc2.r-4 .in{box-shadow:0 0 0 1px rgba(20,10,40,.3),0 0 0 2.5px rgba(255,236,170,.75),inset 0 1px 0 rgba(255,255,255,.9)}
/* type: the metal and the film */
.t-sueno{--base:linear-gradient(135deg,#c9c6d6 0%,#f7f6fb 30%,#cfccdc 52%,#ffffff 72%,#c2bfd0 100%);--film:repeating-linear-gradient(112deg,#ffc2e0 0%,#c2dcff 8%,#c6ffe4 16%,#ffe9b8 24%,#ffc2e0 32%);--blend:overlay}
.t-lucido{--base:linear-gradient(135deg,#8f8aa6 0%,#dedbe9 20%,#9c97b2 38%,#efedf6 56%,#8b86a2 76%,#d4d1e1 100%);--film:repeating-linear-gradient(112deg,#ff4f86 0%,#ffb02e 6%,#3fdc72 12%,#1fb8ec 18%,#5c5cff 24%,#e04fdc 30%,#ff4f86 36%);--blend:hard-light}
.t-pesadilla{--base:linear-gradient(135deg,#1b1127 0%,#33183f 40%,#140d1d 65%,#2a1533 100%);--film:repeating-linear-gradient(112deg,#ff2f86 0%,#8a2bff 7%,#00b8c4 14%,#3a148a 21%,#ff2f86 28%);--blend:screen}
.t-pesadilla.r-2{--fo:.55}.t-pesadilla.r-3{--fo:.68}.t-pesadilla.r-4{--fo:.78}
.t-recurrente{--base:linear-gradient(135deg,#a8771f 0%,#f6d987 26%,#b5852c 48%,#fbe7a6 70%,#9c6c1c 100%);--film:repeating-linear-gradient(112deg,#fff7d6 0%,#ffcf73 7%,#fff0b3 14%,#e8a94a 21%,#fff7d6 28%);--blend:overlay}
.t-pesadilla.t2-recurrente{--base:linear-gradient(135deg,#1b1127 0%,#3a2014 22%,#c99a3e 34%,#2a1533 50%,#e9c56a 64%,#1a0f22 80%,#a87a2a 100%);--film:repeating-linear-gradient(112deg,#ff2f86 0%,#ffcf73 7%,#00b8c4 14%,#fff0b3 21%,#8a2bff 28%,#ff2f86 35%)}
.t-lucido.t2-recurrente{--base:linear-gradient(135deg,#d7d3e6,#f6d987 35%,#f7f5fd 55%,#e2bd5e 80%,#efecf8)}
.t-lucido.t2-pesadilla{--base:linear-gradient(135deg,#d7d3e6,#33183f 30%,#f7f5fd 55%,#1b1127 80%,#efecf8)}

/* ---------- Holo foil v4: material ---------- */
.hc2.hc2{--bevel:inset 1.5px 1.5px 0 rgba(255,255,255,.85),inset -1.5px -1.5px 0 rgba(0,0,0,.38);--drop:0 18px 30px -16px rgba(20,12,45,.8),0 2px 5px rgba(20,12,45,.25);box-shadow:var(--bevel),var(--drop),var(--rglow,0 0 0 transparent)}
.hc2::before{content:"";position:absolute;inset:3px;border-radius:15px;border:1px solid var(--lip,rgba(255,255,255,.4));pointer-events:none;z-index:3;box-shadow:inset 0 0 0 .5px rgba(0,0,0,.12)}
.hc2 .fx-grain{background-image:var(--grain-img),repeating-linear-gradient(20deg,rgba(255,255,255,.12) 0 1px,rgba(0,0,0,.07) 1px 2px,transparent 2px 4px);background-size:150px 150px,auto}
.hc2 .fx-etch{background:repeating-linear-gradient(60deg,rgba(255,255,255,.75) 0 1px,rgba(0,0,0,.18) 1px 2px,transparent 2px 8px),repeating-linear-gradient(-60deg,rgba(255,255,255,.75) 0 1px,rgba(0,0,0,.18) 1px 2px,transparent 2px 8px)}
.hc2 .fx-glare{background:radial-gradient(farthest-corner circle at var(--mx,26%) var(--my,16%),rgba(255,255,255,.8) 0%,rgba(255,255,255,.2) 20%,rgba(255,255,255,0) 46%),radial-gradient(farthest-corner circle at calc(100% - var(--mx,26%)) calc(100% - var(--my,16%)),rgba(0,0,0,.28) 0%,rgba(0,0,0,0) 45%)}
.hc2 .in{background-color:#fff;background-image:radial-gradient(ellipse 90% 40% at 50% 100%,color-mix(in srgb,var(--emo,#fff) 22%,transparent),transparent 70%),linear-gradient(160deg,#ffffff 0%,#f3f2f8 60%,#e9e8f1 100%)}
.hc2 .im{box-shadow:0 0 0 2px var(--bezel,#c4c1d3),0 0 0 3px rgba(0,0,0,.28)}
.hc2 .im::after{display:block;content:"";position:absolute;inset:0;z-index:2;pointer-events:none;mix-blend-mode:normal;background:radial-gradient(ellipse 85% 85% at 50% 45%,transparent 60%,rgba(10,5,25,.32) 100%)}
.hc2 .im::before{mix-blend-mode:screen}
/* metals */
.t-sueno{--base:linear-gradient(125deg,#c9c6d6 0%,#f8f3ff 14%,#e3f3ee 28%,#fcefe7 42%,#d5d2e3 56%,#f2f7ff 70%,#e6e1f1 84%,#c7c4d4 100%);--film:repeating-linear-gradient(112deg,#f3c9dd 0 5%,#cfe0f6 5% 10%,#d2f2e4 10% 15%,#f6e6c8 15% 20%);--blend:soft-light;--bezel:#d6d3e2;--glow:rgba(235,230,255,.55)}
.t-lucido{--base:linear-gradient(125deg,#5f5a78 0%,#c9c6d8 13%,#716c8a 25%,#ebe9f4 37%,#625d7b 50%,#bcb8cd 63%,#77728f 76%,#dedbe9 88%,#66617f 100%);--film:repeating-linear-gradient(112deg,#e58aa6 0 4%,#e8c27c 4% 8%,#8ccf98 8% 12%,#7cc0e0 12% 16%,#9893e0 16% 20%,#d48ed8 20% 24%);--blend:color-dodge;--bezel:#bfbbd0;--glow:rgba(150,190,255,.6)}
.t-pesadilla{--base:linear-gradient(125deg,#120a1c 0%,#3b1f5c 16%,#170e26 30%,#5a2a5e 46%,#140c20 60%,#2c1a46 76%,#4a1f4a 88%,#100818 100%);--film:repeating-linear-gradient(112deg,#c2306e 0 5%,#5b2bb0 5% 10%,#0f8f9c 10% 15%,#2a1470 15% 20%);--blend:screen;--bezel:#3a2a52;--lip:rgba(243,167,184,.35);--glow:rgba(255,60,140,.5)}
.t-recurrente{--base:linear-gradient(125deg,#8a6410 0%,#fff3b0 11%,#d4a017 24%,#8a5a12 38%,#f5d56a 52%,#b07d18 66%,#fff1b0 80%,#9c6c12 100%);--film:repeating-linear-gradient(112deg,#fff4cc 0 5%,#f0c060 5% 10%,#fff0b8 10% 15%,#d49a3a 15% 20%);--blend:soft-light;--bezel:#c99a3a;--lip:rgba(255,244,200,.6);--glow:rgba(255,196,80,.55)}
.t-pesadilla.t2-recurrente{--base:linear-gradient(125deg,#120a1c 0%,#3b1f5c 18%,#170e26 34%,#5a2a5e 50%,#140c20 66%,#2c1a46 82%,#100818 100%);--lip:#e2b84a;--bezel:#d4a017}
.t-pesadilla.t2-recurrente .in{box-shadow:0 0 0 1px rgba(0,0,0,.4),0 0 0 2.5px #e9c35a,0 0 0 3.5px #8a5a12}
.t2-recurrente::after{display:block!important;content:"";position:absolute;inset:0;z-index:3;pointer-events:none;border-radius:inherit;background:radial-gradient(circle at 9px 9px,#fff1b0 0 2px,#d4a017 2.5px 4px,transparent 4.5px),radial-gradient(circle at calc(100% - 9px) 9px,#fff1b0 0 2px,#d4a017 2.5px 4px,transparent 4.5px),radial-gradient(circle at 9px calc(100% - 9px),#fff1b0 0 2px,#d4a017 2.5px 4px,transparent 4.5px),radial-gradient(circle at calc(100% - 9px) calc(100% - 9px),#fff1b0 0 2px,#d4a017 2.5px 4px,transparent 4.5px);mix-blend-mode:normal}
/* rarity: coverage and glow */
.hc2.r-1{--fo:.12;--rglow:0 0 0 transparent}
.hc2.r-2{--fo:.7;--go:.35;--rglow:0 0 10px -2px var(--glow)}
.hc2.r-3{--fo:.85;--go:.45;--eo:.55;--rglow:0 0 18px -2px var(--glow)}
.hc2.r-4{--fo:.95;--go:.5;--eo:.65;--ao:.3;--gli:.75;--rglow:0 0 28px 0 var(--glow),0 0 2px 1px rgba(255,241,176,.7)}
.hc2.r-4 .in{box-shadow:0 0 0 1px rgba(0,0,0,.3),0 0 0 2.5px #fff1b0,0 0 0 4px #c9962e,0 0 0 5px #8a5a12,inset 0 1px 0 rgba(255,255,255,.9)}
.hc2.r-4 .fx-glare{background:linear-gradient(115deg,rgba(255,255,255,0) 36%,rgba(255,255,255,.6) 46%,rgba(255,255,255,0) 56%) var(--pos,30% 30%)/260% 260% no-repeat,radial-gradient(farthest-corner circle at var(--mx,26%) var(--my,16%),rgba(255,255,255,.8) 0%,rgba(255,255,255,.2) 20%,rgba(255,255,255,0) 46%),radial-gradient(farthest-corner circle at calc(100% - var(--mx,26%)) calc(100% - var(--my,16%)),rgba(0,0,0,.28) 0%,rgba(0,0,0,0) 45%);mix-blend-mode:overlay}
.hc2.r-4 .in::before{content:"";position:absolute;inset:-1px;pointer-events:none;z-index:3;background:radial-gradient(circle at 0 0,#fff1b0 0 2.5px,#c9962e 3px 4.5px,transparent 5px),radial-gradient(circle at 100% 0,#fff1b0 0 2.5px,#c9962e 3px 4.5px,transparent 5px),radial-gradient(circle at 0 100%,#fff1b0 0 2.5px,#c9962e 3px 4.5px,transparent 5px),radial-gradient(circle at 100% 100%,#fff1b0 0 2.5px,#c9962e 3px 4.5px,transparent 5px)}
.hc2.r-3 .in,.hc2.r-4 .in{background-color:rgba(255,255,255,.66)}
.t-pesadilla .in,.t-pesadilla.r-3 .in,.t-pesadilla.r-4 .in{background-color:rgba(20,14,30,.78);background-image:radial-gradient(ellipse 90% 40% at 50% 100%,color-mix(in srgb,var(--emo,#fff) 22%,transparent),transparent 70%),linear-gradient(160deg,rgba(40,26,58,.6),rgba(14,10,22,.6))}
.t-recurrente.r-3 .in,.t-recurrente.r-4 .in{background-color:rgba(255,250,232,.64)}
/* the gallery keeps one frame width; the detail gets a dark stage */
.deck .hc2{padding:6px}
.stage{margin:2px 16px 0;padding:16px 0 18px;border-radius:24px;background:radial-gradient(ellipse 70% 60% at 50% 42%,#2c2450,#0d0b16 78%)}
.stage .hc2.big{margin:0 40px}
.stage .hc2.big .im{height:170px}

/* ---------- Holo foil v4b: critic G ---------- */
/* a glare band on every foil card, tied to the tilt */
.hc2.r-2 .fx-glare,.hc2.r-3 .fx-glare{background:linear-gradient(115deg,rgba(255,255,255,0) 38%,rgba(255,255,255,.55) 47%,rgba(255,255,255,0) 56%) var(--pos,30% 30%)/260% 260% no-repeat,radial-gradient(farthest-corner circle at var(--mx,26%) var(--my,16%),rgba(255,255,255,.7) 0%,rgba(255,255,255,.16) 22%,rgba(255,255,255,0) 46%),radial-gradient(farthest-corner circle at calc(100% - var(--mx,26%)) calc(100% - var(--my,16%)),rgba(0,0,0,.26) 0%,rgba(0,0,0,0) 45%);mix-blend-mode:overlay}
/* épica: foil on the frame, calm pearl face; only legendaria washes the whole card */
.hc2.r-3 .in{background-color:#fff;background-image:radial-gradient(ellipse 90% 40% at 50% 100%,color-mix(in srgb,var(--emo,#fff) 22%,transparent),transparent 70%),linear-gradient(160deg,#ffffff 0%,#f2f0f8 55%,#e7e4f0 100%)}
.hc2.r-4 .in{background-color:rgba(255,255,255,.6)}
/* glow only for legendaria, tight neutral contact shadow otherwise */
.hc2.r-2,.hc2.r-3{--rglow:0 0 0 transparent}
.hc2.r-4{--rglow:0 0 22px -4px var(--glow)}
/* gold with real value contrast */
.t-recurrente{--base:linear-gradient(125deg,#5a3d0e 0%,#b8862b 12%,#f8e39a 24%,#9a6b1f 38%,#e9c66a 52%,#6e4a12 64%,#f6dc8c 78%,#a87822 90%,#5a3d0e 100%)}
.t-recurrente .in,.t-recurrente.r-3 .in{background-color:#fbf6ea;background-image:radial-gradient(ellipse 90% 40% at 50% 100%,color-mix(in srgb,var(--emo,#fff) 20%,transparent),transparent 70%),repeating-linear-gradient(135deg,rgba(255,255,255,0) 0 10px,rgba(200,160,70,.07) 10px 20px)}
.t-recurrente .ty{background:rgba(42,29,8,.88);color:#f4d77e}
/* night body, explicit gold frame */
.t-pesadilla.t2-recurrente{--base:linear-gradient(125deg,#5a3d0e 0%,#b8862b 12%,#f8e39a 24%,#9a6b1f 38%,#e9c66a 52%,#6e4a12 64%,#f6dc8c 78%,#a87822 90%,#5a3d0e 100%);--film:repeating-linear-gradient(112deg,#fff4cc 0 5%,#f0c060 5% 10%,#fff0b8 10% 15%,#d49a3a 15% 20%);--blend:soft-light}
.t-pesadilla.t2-recurrente .pips i.on{background:#f0cf73}
.t-pesadilla.t2-recurrente .ty{background:rgba(42,29,8,.9);color:#f4d77e}
/* pearl with value contrast */
.t-sueno{--base:linear-gradient(125deg,#b9b2c9 0%,#ffffff 14%,#d6d0e2 28%,#f4f1fa 42%,#c4bdd4 56%,#fbf9ff 70%,#d0cadd 84%,#b4adc4 100%)}
/* legibility */
.hc2 .ft{color:#3f3a55}
.t-pesadilla .ft{color:#cfc6e8}
.t-pesadilla .pips i{background:transparent;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}
.t-pesadilla .pips i.on{box-shadow:none}
/* gallery thumbnails: quieter foil, neutral chips, no glow */
.deck .hc2{--rglow:0 0 0 transparent}
.deck .hc2 .fx-foil{opacity:calc(var(--fo,0) * .6)}
.deck .hc2 .fx-etch{opacity:calc(var(--eo,0) * .6)}
.deck .t-lucido .ty{background:#efeef5}

/* ---------- Holo foil v4c: fixes ---------- */
.hc2.t-pesadilla .in,.hc2.t-pesadilla.r-3 .in,.hc2.t-pesadilla.r-4 .in{background-color:rgba(20,14,30,.86);background-image:radial-gradient(ellipse 90% 40% at 50% 100%,color-mix(in srgb,var(--emo,#fff) 22%,transparent),transparent 70%),linear-gradient(160deg,rgba(44,28,64,.7),rgba(14,10,22,.7))}
.hc2.t-lucido{--blend:hard-light}
.hc2.t-lucido.r-2{--fo:.95}.hc2.t-lucido.r-3{--fo:1}
.stage{padding:12px 0 14px}
.stage .hc2.big .im{height:146px}
.stage .hc2.big p{font-size:15px;margin:8px 2px 6px}

/* ---------- Holo foil v5: critic J ---------- */
.hc2 .fx-grain{background-image:var(--grain-img),var(--brushed-img);background-size:150px 150px,220px 220px;background-repeat:repeat;transform:rotate(0deg)}
/* a specular streak that crosses the whole card, body included */
.hc2 .fx-glare{z-index:5}
.hc2.r-2 .fx-glare,.hc2.r-3 .fx-glare,.hc2.r-4 .fx-glare{background:linear-gradient(118deg,rgba(255,255,255,0) 40%,rgba(255,255,255,.7) 47%,rgba(255,255,255,.18) 50%,rgba(255,255,255,0) 57%) var(--pos,34% 30%)/240% 240% no-repeat,radial-gradient(farthest-corner circle at var(--mx,24%) var(--my,14%),rgba(255,255,255,.75) 0%,rgba(255,255,255,.18) 20%,rgba(255,255,255,0) 44%),radial-gradient(farthest-corner circle at calc(100% - var(--mx,24%)) calc(100% - var(--my,14%)),rgba(0,0,0,.3) 0%,rgba(0,0,0,0) 45%);mix-blend-mode:overlay;opacity:1}
/* body: a faint pearl sheen instead of flat white */
.hc2 .in{background-image:radial-gradient(ellipse 90% 40% at 50% 100%,color-mix(in srgb,var(--emo,#fff) 22%,transparent),transparent 70%),linear-gradient(118deg,rgba(255,215,235,.0) 30%,rgba(214,228,255,.35) 45%,rgba(220,255,236,.3) 55%,rgba(255,255,255,0) 70%),linear-gradient(160deg,#ffffff 0%,#f2f0f8 60%,#e8e5f1 100%)}
/* one obvious addition per rarity */
.hc2.r-2{--fo:1;--go:.38}
.hc2.r-2::after{display:block;content:"";position:absolute;inset:0;z-index:6;pointer-events:none;border-radius:inherit;background:radial-gradient(circle at 14px 14px,rgba(255,255,255,.95) 0 1.5px,rgba(255,255,255,.35) 3px,transparent 9px),linear-gradient(90deg,transparent 6px,rgba(255,255,255,.8) 6px 22px,transparent 22px) 0 13.5px/100% 1px no-repeat,linear-gradient(0deg,transparent 6px,rgba(255,255,255,.8) 6px 22px,transparent 22px) 13.5px 0/1px 100% no-repeat}
.hc2.r-3{--eo:1}
.hc2.r-3 .fx-etch,.hc2.r-4 .fx-etch{background:repeating-linear-gradient(60deg,rgba(255,255,255,.9) 0 1.2px,rgba(0,0,0,.3) 1.2px 2.4px,transparent 2.4px 9px),repeating-linear-gradient(-60deg,rgba(255,255,255,.9) 0 1.2px,rgba(0,0,0,.3) 1.2px 2.4px,transparent 2.4px 9px),repeating-radial-gradient(circle at 50% 50%,rgba(255,255,255,.35) 0 1px,transparent 1px 6px)}
.hc2.r-3 .im,.hc2.r-4 .im{box-shadow:0 0 0 2px var(--bezel,#c4c1d3),0 0 0 3px rgba(0,0,0,.28),0 0 10px 2px color-mix(in srgb,var(--glow,#fff) 70%,transparent)}
.hc2.r-3 .im::before{opacity:.18;mask-image:radial-gradient(ellipse 70% 70% at 50% 50%,transparent 55%,#000 100%);-webkit-mask-image:radial-gradient(ellipse 70% 70% at 50% 50%,transparent 55%,#000 100%)}
.hc2.r-4{--ao:.38;--gli:.9}
.hc2.r-4 .in{box-shadow:0 0 0 1px rgba(0,0,0,.35),0 0 0 2px #fff6c8,0 0 0 4px #d8a838,0 0 0 5.5px #f8e39a,0 0 0 7px #7a5212,inset 0 1px 0 rgba(255,255,255,.9)}
/* sueño: opal / moonstone */
.t-sueno{--base:conic-gradient(from 200deg at 30% 30%,#c9c3dc,#f6fbff,#d9f3ec,#fbeee6,#e6dcf7,#f9f7ff,#cfe6f5,#c9c3dc);--film:repeating-linear-gradient(112deg,#f0b8d6 0 5%,#bcd6f6 5% 10%,#bff0da 10% 15%,#f6e1b8 15% 20%);--blend:soft-light;--lip:rgba(190,220,255,.8)}
.t-sueno.r-2,.t-sueno.r-3,.t-sueno.r-4{--blend:hard-light}
/* recurrente: gold leaf, no paper stripes */
.t-recurrente .in,.t-recurrente.r-3 .in,.hc2.t-recurrente.r-4 .in{background-color:#fbf6ea;background-image:radial-gradient(ellipse 90% 40% at 50% 100%,color-mix(in srgb,var(--emo,#fff) 20%,transparent),transparent 70%),linear-gradient(118deg,rgba(255,236,170,0) 25%,rgba(255,226,140,.45) 42%,rgba(255,250,225,.6) 50%,rgba(240,200,110,.35) 58%,rgba(255,236,170,0) 75%),linear-gradient(160deg,#fffaf0,#f7ecd2)}
.t-recurrente{--film:repeating-linear-gradient(112deg,#fff7d8 0 4%,#f2c45c 4% 8%,#fff2c0 8% 12%,#c98d2c 12% 16%);--blend:overlay}
/* pesadilla recurrente: cracked dark gold */
.t-pesadilla.t2-recurrente{--base:linear-gradient(125deg,#3a2508 0%,#8a6418 14%,#e9c66a 22%,#4a300a 34%,#c99a3e 48%,#2e1d06 60%,#f0d27c 72%,#6e4a12 86%,#2a1a05 100%)}
.t-pesadilla.t2-recurrente .fx-etch{opacity:.9;background:linear-gradient(28deg,transparent 48.5%,rgba(20,10,2,.75) 49%,rgba(255,230,160,.5) 49.6%,transparent 50.2%),linear-gradient(-34deg,transparent 61.5%,rgba(20,10,2,.75) 62%,rgba(255,230,160,.45) 62.6%,transparent 63.2%),linear-gradient(74deg,transparent 30.5%,rgba(20,10,2,.7) 31%,rgba(255,230,160,.4) 31.5%,transparent 32%),linear-gradient(-70deg,transparent 80.5%,rgba(20,10,2,.7) 81%,transparent 81.6%);mix-blend-mode:normal}
/* legibility: bigger outlined diamonds, embossed pills, plate behind night titles */
.pips i{width:9px;height:9px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)}
.hc2 .ty{background:linear-gradient(180deg,#ffffff,#e6e4ef);box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(0,0,0,.12),0 1px 2px rgba(20,10,40,.22)}
.t-lucido .ty{background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,0) 60%),linear-gradient(118deg,#ff9fe0,#9fd4ff 25%,#a6ffd0 50%,#fff09a 75%,#ffb3d6)}
.t-pesadilla .ty{background:linear-gradient(180deg,#3a2c4a,#221a30);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.4)}
.t-recurrente .ty,.t-pesadilla.t2-recurrente .ty{background:linear-gradient(180deg,#3a2a0c,#1f1505);box-shadow:inset 0 1px 0 rgba(255,230,160,.35),0 1px 2px rgba(0,0,0,.4)}
.hc2 .tp b{text-shadow:0 1px 0 rgba(255,255,255,.8)}
.t-pesadilla .tp b{text-shadow:0 1px 2px rgba(0,0,0,.6)}
.t-pesadilla .in p{background:linear-gradient(90deg,rgba(0,0,0,.35),rgba(0,0,0,0));border-radius:6px;padding:2px 6px;margin-left:-2px}
/* detail: soft lavender light instead of a black stage */
.stage{background:radial-gradient(ellipse 60% 70% at 50% 40%,#ffffff 0%,#ece8fa 45%,#dcd6f0 100%);box-shadow:inset 0 0 0 1px #e3e1ee}
.stage .hc2.big .im{height:150px}
/* gallery: room above the dock */
.deck{padding-bottom:110px}

/* ---------- Holo foil v6: critic I ---------- */
/* the film lives in the light: mostly metal at rest, one prismatic band that moves with the tilt */
.hc2 .fx-foil{-webkit-mask-image:linear-gradient(118deg,rgba(0,0,0,var(--fm,.16)) 0%,rgba(0,0,0,var(--fm,.16)) 32%,#000 45%,#000 55%,rgba(0,0,0,var(--fm,.16)) 68%,rgba(0,0,0,var(--fm,.16)) 100%);mask-image:linear-gradient(118deg,rgba(0,0,0,var(--fm,.16)) 0%,rgba(0,0,0,var(--fm,.16)) 32%,#000 45%,#000 55%,rgba(0,0,0,var(--fm,.16)) 68%,rgba(0,0,0,var(--fm,.16)) 100%);-webkit-mask-size:250% 250%;mask-size:250% 250%;-webkit-mask-position:var(--pos,34% 30%);mask-position:var(--pos,34% 30%)}
.hc2.r-3{--fm:.28}.hc2.r-4{--fm:.5}
/* común: matte stock, no holo anywhere */
.hc2.r-1{--base:linear-gradient(160deg,#dedce6 0%,#c9c6d4 100%);--fo:0;--go:.15;--glo:.4}
.hc2.r-1 .ty,.hc2.r-1.t-lucido .ty{background:linear-gradient(180deg,#ffffff,#e6e4ef);color:#1b1830}
.hc2.r-1::before{border-color:rgba(255,255,255,.25)}
/* recurring is antique brass; bright polished gold is reserved for the legendary rule */
.t-recurrente{--base:linear-gradient(125deg,#4a3410 0%,#8a6a2a 14%,#c9a75a 26%,#6e5320 40%,#b8964e 54%,#4f3a14 66%,#d2b46a 80%,#7a5c22 92%,#4a3410 100%);--film:repeating-linear-gradient(112deg,#f3e2b0 0 4%,#c9a050 4% 8%,#efdcaa 8% 12%,#a47a34 12% 16%);--blend:overlay;--bezel:#a8894a;--lip:rgba(240,220,170,.45);--glow:rgba(210,170,90,.45)}
.t-pesadilla.t2-recurrente{--base:linear-gradient(125deg,#2e2008 0%,#6e5320 14%,#c9a75a 22%,#3a2a0a 34%,#a8894a 48%,#241906 60%,#d2b46a 72%,#5a4416 86%,#221705 100%)}
.t-pesadilla.t2-recurrente .pips i.on{background:#d2b46a}
/* nightmare: gunmetal, the pink and teal only in the light band */
.t-pesadilla{--base:linear-gradient(125deg,#1e1a26 0%,#4d4760 16%,#25212e 30%,#5e5870 46%,#211d2a 60%,#3e3950 76%,#2a2633 88%,#1a1722 100%);--film:repeating-linear-gradient(112deg,#ff5a9a 0 4%,#7a4bff 4% 8%,#20c7cf 8% 12%,#3b2a8a 12% 16%);--blend:screen;--bezel:#4d4760}
.hc2.t-pesadilla.r-2{--fo:.8}.hc2.t-pesadilla.r-3{--fo:.9}.hc2.t-pesadilla.r-4{--fo:1}
.t-pesadilla .ty{color:#ffc4d1}
.t-pesadilla .pips i.on{background:#ffa3b8}
.t-pesadilla .ft{color:#ddd5f2}
/* legendary art: less haze */
.hc2.r-4{--ao:.2;--gli:.55}
/* detail: no slab, the card floats on the page with a tinted glow */
.stage{background:radial-gradient(ellipse 55% 55% at 50% 48%,color-mix(in srgb,var(--glow,#b8c8ff) 60%,transparent),transparent 72%);box-shadow:none;padding:14px 0 16px}
.stage .hc2{--drop:0 14px 30px -10px rgba(60,50,140,.35),0 2px 6px rgba(20,12,45,.15)}
.stage{--glow:rgba(150,190,255,.6)}
/* gallery thumbnails: light shadows, the edge carries the rarity */
.deck .hc2{--drop:0 2px 8px rgba(20,12,45,.1),0 1px 2px rgba(20,12,45,.08)}
.deck .hc2 .fx-grain{opacity:calc(var(--go,0) * .5)}

/* ---------- v6b ---------- */
.hc2.t-recurrente.r-2,.hc2.t-recurrente.r-3{--fo:.5}
.t-recurrente{--base:linear-gradient(125deg,#3e2c0e 0%,#7a5e26 14%,#b8984e 26%,#5e4619 40%,#a5874a 54%,#43310f 66%,#c2a462 80%,#6a5020 92%,#3e2c0e 100%)}
.deck .pips{gap:3px}.deck .pips i{width:7px;height:7px}
.deck .hc2 .ft{gap:6px}
/* the large card keeps the wider frames of the showcase for épica and legendaria */
.hc2.big.r-3{padding:13px}
.hc2.big.r-4{padding:14px}
