/* Album di figurine — fase 2: libro da sfogliare, figurine, busta. Ripreso dai prototipi del 26/11. */
.album-acc--largo { max-width: 860px; }
.fig-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.fig-top .album-lead { margin: 0; }
.fig-wallet { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.fig-mini { width: 16px; height: 22px; border-radius: 3px; background: linear-gradient(160deg, #ff3030, #8a0000); }
.fig-wallet .btn[disabled] { opacity: .4; cursor: default; filter: none; }
.fig-attesa { flex-basis: 100%; order: 5; margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 2px dashed var(--accent); font-size: .95rem; }
.fig-fondo { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- libro ---------- */
.fig-libro { --pw: 390px; --ph: 560px; --gvf-ink: #14100e; --gvf-muted: #6b615b; --gvf-red: #e60000;
  display: flex; flex-direction: column; align-items: center; color: var(--gvf-ink); }
.fig-stage { position: relative; width: calc(var(--pw) * 2); height: var(--ph); margin: 8px 0 18px; }
.fig-book { position: absolute; inset: 0; perspective: 2400px; transition: transform .8s cubic-bezier(.3,.7,.3,1); }
.fig-book.closed-front { transform: translateX(calc(var(--pw) / -2)); }
.fig-book.closed-back { transform: translateX(calc(var(--pw) / 2)); }
.fig-leaf { position: absolute; top: 0; left: 50%; width: var(--pw); height: 100%; transform-origin: left center; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3,.7,.3,1); }
.fig-leaf.flipped { transform: rotateY(-180deg); }
.fig-leaf > .pg { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fig-leaf > .pg.back { transform: rotateY(180deg); }
.fig-leaf > .pg.front::after, .fig-leaf > .pg.back::after { content: ""; position: absolute; top: 0; bottom: 0; width: 34px; pointer-events: none; }
.fig-leaf > .pg.front::after { left: 0; background: linear-gradient(90deg, rgba(0,0,0,.18), transparent); }
.fig-leaf > .pg.back::after { right: 0; background: linear-gradient(-90deg, rgba(0,0,0,.18), transparent); }
.fig-leaf > .pg.cover::after, .fig-leaf > .pg.backcover::after { display: none; }

.fig-libro .pg { background: #fffdf8; border-radius: 4px 12px 12px 4px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.25), 0 2px 6px rgba(0,0,0,.12); }
.fig-leaf > .pg.back, .fig-single .pg.left { border-radius: 12px 4px 4px 12px; }
.fig-libro .paper { background: linear-gradient(rgba(0,0,0,.025) 1px, transparent 1px) 0 0/100% 22px, #fffdf8; padding: 22px 22px 16px; display: flex; flex-direction: column; line-height: 1.45; }
.fig-libro .pg > .paper { height: 100%; }
.pg-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--gvf-ink); padding-bottom: 6px; margin-bottom: 14px; }
.pg-head b { font-family: var(--font-display); font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.pg-head span { font-size: 11px; color: var(--gvf-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.pg-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px 18px; align-items: center; justify-items: center; }
.pg-grid > * { height: 100%; max-height: 100%; aspect-ratio: 5/7; width: auto; max-width: 100%; }
.pg-foot { text-align: center; font-size: 11px; color: var(--gvf-muted); margin-top: 10px; font-weight: 700; }

.fig-libro .cover, .fig-libro .backcover { background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.07), transparent 60%), repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 6px), #16110f; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 34px 28px 26px; text-align: center; }
.fig-libro .cover { border-left: 10px solid #0b0807; }
.cover .kicker { font-size: 11px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: #ff4d4d; }
.cover h2 { font-family: var(--font-display); font-size: 40px; line-height: .95; margin: 8px 0 0; color: #fff; }
.cover h2 span { display: block; color: var(--gvf-red); }
.cover .serie { margin-top: 10px; font-size: 13px; opacity: .8; }
.cover .logo { width: 62%; aspect-ratio: 1; background: #fff; border-radius: 10px; padding: 10px; box-shadow: 0 0 0 4px var(--gvf-red), 0 18px 40px rgba(0,0,0,.6); transform: rotate(-3deg); }
.cover .logo img { width: 100%; height: 100%; }
.cover .label { background: #fffdf8; color: var(--gvf-ink); border-radius: 6px; padding: 10px 16px; width: 82%; box-shadow: inset 0 0 0 2px #d8cfc6; text-align: left; }
.cover .label small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--gvf-muted); font-weight: 700; }
.cover .label b { font-family: var(--font-display); font-size: 18px; overflow-wrap: anywhere; }
.cover .label .cnt { float: right; font-family: var(--font-display); color: var(--gvf-red); font-size: 18px; }
.fig-libro .backcover { justify-content: center; gap: 18px; border-right: 10px solid #0b0807; }
.backcover .faces { display: flex; gap: 14px; }
.backcover .faces img { width: 84px; background: #fff; border-radius: 8px; padding: 6px; }
.backcover p { margin: 0; opacity: .75; font-size: 13px; max-width: 26ch; }
.backcover b { font-family: var(--font-display); font-size: 22px; letter-spacing: .02em; }

.intro h3, .rules h3 { font-family: var(--font-display); font-size: 24px; margin: 4px 0 6px; line-height: 1.05; overflow-wrap: anywhere; }
.intro p { margin: 0 0 12px; font-size: 14px; }
.intro .big { font-family: var(--font-display); font-size: 54px; line-height: 1; color: var(--gvf-red); }
.intro .big small { font-size: 20px; color: var(--gvf-ink); }
.intro .bar { height: 10px; border-radius: 99px; background: #eadfd6; overflow: hidden; margin: 6px 0 18px; }
.intro .bar span { display: block; height: 100%; background: var(--gvf-red); }
.stamp { margin-top: auto; align-self: flex-end; transform: rotate(-6deg); border: 3px solid var(--gvf-red); color: var(--gvf-red); font-family: var(--font-display); font-size: 13px; padding: 6px 10px; border-radius: 6px; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.rules ol { margin: 6px 0 0; padding-left: 20px; font-size: 13px; }
.rules li { margin: 0 0 7px; }
.rules li b { font-family: var(--font-display); font-weight: 900; }
.chip { display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 1px 6px; border-radius: 99px; color: #fff; background: var(--c, #999); vertical-align: 1px; }

/* casella vuota */
.slot { width: 100%; border-radius: 9px; border: 2px dashed var(--c); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6px; background: rgba(250,246,242,.8); position: relative; }
.slot .n { font-family: var(--font-display); font-size: 30px; color: var(--c); opacity: .5; line-height: 1; }
.slot .t { font-weight: 700; font-size: 12px; line-height: 1.15; margin-top: 4px; opacity: .65; }
.slot.pop, .gvf.pop { animation: gvf-pop .6s; }
@keyframes gvf-pop { 40% { transform: scale(1.12); } }

/* ---------- figurina ---------- */
.gvf { container-type: inline-size; --frame: #e60000; --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg; --flip: 0deg; --rot: 0deg;
  position: relative; width: 100%; aspect-ratio: 5/7; color: #14100e; line-height: 1.3;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip))) rotate(var(--rot));
  transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.7,.2,1); user-select: none; -webkit-tap-highlight-color: transparent; }
.gvf.flipped { --flip: 180deg; }
.gvf.active { transition: transform .08s linear; }
.gvf-face { position: absolute; inset: 0; border-radius: 6cqw; background: var(--frame); padding: 3.5cqw; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 8px 18px rgba(0,0,0,.16); }
.gvf-face.back { transform: rotateY(180deg); }
.gvf-face.cover { transform: rotateY(180deg); background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), transparent 60%), repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 6px, transparent 6px 12px), #1d1513; border: 4cqw solid #e60000; display: flex; align-items: center; justify-content: center; }
.gvf-face.cover span { font-family: var(--font-display); font-size: 18cqw; color: #e60000; opacity: .9; }
.gvf-inner { position: relative; height: 100%; border-radius: 3.5cqw; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.gvf-name { overflow-wrap: anywhere; font-family: var(--font-display); font-size: 8.2cqw; text-transform: uppercase; text-align: center; padding: .45em .3em 0; line-height: 1.05; min-height: 2.5em; display: flex; align-items: center; justify-content: center; }
.gvf-art { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 6% 10%; background: radial-gradient(circle at 50% 45%, #fff 0 40%, #f4eeea 100%); }
.gvf-art img { max-width: 100%; max-height: 100%; display: block; }
.gvf-foot { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: .55em .7em; background: var(--frame); color: #fff; font-size: 5.2cqw; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; position: relative; z-index: 3; white-space: nowrap; }
.gvf-foot .num { font-family: var(--font-display); letter-spacing: 0; }
.gvf-badge { position: absolute; top: 2cqw; right: 2cqw; font-size: 4.4cqw; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .25em .6em; border-radius: 99px; background: var(--frame); color: #fff; z-index: 4; box-shadow: 0 0 0 2px #fff; }
.gvf-cnt { position: absolute; top: -7px; right: -7px; z-index: 5; background: #14100e; color: #fff; font: 800 11px var(--font-body); padding: 2px 6px; border-radius: 99px; box-shadow: 0 0 0 2px #fffdf8; }
.gvf.lucida .front .gvf-inner::after, .gvf.oro .front .gvf-inner::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; mix-blend-mode: color-dodge; opacity: .3; animation: gvf-shine 6s linear infinite;
  background: repeating-linear-gradient(115deg, #ff6b6b 0%, #ffd36b 6%, #7bff9b 12%, #6bd8ff 18%, #b36bff 24%, #ff6b6b 30%); background-size: 300% 300%; background-position: var(--mx) var(--my); }
.gvf.lucida .front .gvf-inner::before, .gvf.oro .front .gvf-inner::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; mix-blend-mode: overlay; background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.75) 0, rgba(255,255,255,0) 45%); }
@keyframes gvf-shine { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.gvf.oro .gvf-face:not(.cover) { background: linear-gradient(135deg, #8a6a12, #f7e08a 25%, #b8901e 50%, #fff1b0 70%, #8a6a12); }
.gvf.oro .gvf-foot { background: linear-gradient(90deg, #6e530c, #a8831f, #6e530c); color: #fff8dd; }
.gvf.oro .front .gvf-inner::after { background: repeating-linear-gradient(115deg, #fff3c4 0%, #e0b33a 8%, #fff8dd 16%, #c99a22 24%, #fff3c4 32%); background-size: 300% 300%; opacity: .45; }
.gvf.oro .gvf-art { background: radial-gradient(circle at 50% 45%, #fffdf3 0 40%, #f3e6bf 100%); }
.gvf.oro .gvf-badge { background: #f7e08a; color: #3a2a00; }

/* retro */
.gvf-face.back .gvf-inner { background: radial-gradient(circle at 20% 15%, rgba(0,0,0,.035) 0 2px, transparent 3px) 0 0/18px 18px, #fff; padding: 5cqw 5cqw 0; gap: 3cqw; font-size: 4.4cqw; }
.b-logo { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--frame); padding-bottom: 2cqw; }
.b-logo b { font-family: var(--font-display); font-size: 5.2cqw; color: var(--frame); }
.gvf.oro .b-logo b { color: #8a6a12; }
.b-logo span { font-size: 3.4cqw; text-transform: uppercase; letter-spacing: .08em; color: #6b615b; font-weight: 700; }
.b-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.b-title b { font-family: var(--font-display); font-size: 7cqw; text-transform: uppercase; line-height: 1.05; }
.b-title span { color: #6b615b; font-weight: 700; white-space: nowrap; font-size: 4cqw; }
.b-quote { font-style: italic; font-size: 5cqw; line-height: 1.35; border-left: 3px solid var(--frame); padding: 2px 0 2px 3cqw; margin: 0; }
.b-data { display: grid; grid-template-columns: auto 1fr; gap: 1.3cqw 4cqw; margin: 0; }
.b-data dt { color: #6b615b; text-transform: uppercase; font-size: 3.4cqw; letter-spacing: .06em; font-weight: 700; align-self: center; }
.b-data dd { margin: 0; font-weight: 700; font-size: 4.5cqw; overflow-wrap: anywhere; }
.b-code { margin-top: auto; border-top: 1px dashed #ccc; padding: 3cqw 0 3.5cqw; }
.b-code code { font-family: var(--font-display); font-size: 4.6cqw; }
.b-code small { display: block; color: #6b615b; font-size: 3.4cqw; line-height: 1.3; }
.gvf-face.back .gvf-foot { justify-content: center; letter-spacing: .12em; }

.fig-libro .pg .gvf { cursor: zoom-in; height: 100%; width: auto; }
.fig-libro .pg .gvf-face { box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 4px 10px rgba(0,0,0,.15); }
.fig-libro .pg .gvf:hover { transform: translateY(-3px) rotate(-1deg); }

/* comandi */
.fig-nav { display: flex; align-items: center; gap: 14px; }
.fig-nav button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--text); color: var(--bg); font-size: 22px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.fig-nav button:disabled { opacity: .25; cursor: default; }
.fig-where { font-weight: 800; font-size: 13px; min-width: 150px; text-align: center; color: var(--text); }
.fig-hint { text-align: center; }

/* telefono: una pagina alla volta */
.fig-single { display: none; position: relative; width: min(92vw, var(--pw)); aspect-ratio: 390/560; perspective: 1800px; margin: 4px 0 16px; touch-action: pan-y; }
.fig-single .pg { position: absolute; inset: 0; transform-origin: left center; transition: transform .55s cubic-bezier(.3,.7,.3,1), opacity .55s; }
.fig-single .pg.out-next { transform: rotateY(-100deg); opacity: 0; }
.fig-single .pg.out-prev { transform: translateX(30%) rotateY(30deg); opacity: 0; }
@media (max-width: 820px) {
  .fig-stage { display: none; }
  .fig-single { display: block; }
  .fig-libro { overflow-x: clip; }   /* le pagine fuori schermo non devono allargare la pagina */
  .fig-libro .paper { padding: 16px 14px 12px; }
  .pg-grid { gap: 10px 12px; }
  .cover h2 { font-size: clamp(28px, 9vw, 40px); }
  .intro p, .rules ol { font-size: clamp(11.5px, 3.4vw, 14px); }
}

/* figurina in grande */
.fig-modal { position: fixed; inset: 0; background: rgba(20,16,14,.78); backdrop-filter: blur(4px); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; z-index: 800; padding: 16px; }
.fig-modal.open { display: flex; }
.fig-modal-card { width: min(80vw, 340px, calc((100vh - 140px) * 5 / 7)); }
.fig-modal .gvf { cursor: pointer; }
.fig-modal-hint { color: #fff; font-size: 14px; opacity: .85; text-align: center; margin: 0; }
.fig-modal-close { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #14100e; font-size: 26px; line-height: 1; cursor: pointer; }

/* ---------- busta (a tutto schermo) ---------- */
.fig-busta { position: fixed; inset: 0; z-index: 800; overflow-y: auto; background: radial-gradient(circle at 50% 20%, #2a1f1b, #0e0a09 70%); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 14px 40px; }
.fig-busta[hidden] { display: none; }
.fig-scene { position: relative; width: 100%; max-width: 820px; min-height: 470px; display: flex; align-items: center; justify-content: center; }
.fig-pack { position: relative; width: 230px; height: 330px; cursor: pointer; filter: drop-shadow(0 24px 40px rgba(0,0,0,.6)); transition: transform .5s, opacity .5s; touch-action: none; user-select: none; }
.fig-pack:hover { transform: translateY(-6px) rotate(-1deg); }
.fig-pack .body, .fig-pack .strip { position: absolute; left: 0; right: 0; overflow: hidden;
  background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.35) 45%, rgba(255,255,255,0) 60%) 0 0/250% 100% no-repeat, repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 3px, transparent 3px 7px), linear-gradient(160deg, #ff2a2a, #b30000 55%, #5c0000); }
.fig-pack .strip { top: 0; height: 44px; border-radius: 8px 8px 0 0; transition: transform .55s cubic-bezier(.3,.7,.2,1), opacity .55s; transform-origin: 85% 100%;
  -webkit-mask: radial-gradient(circle at 6px 44px, transparent 4px, #000 4.5px) -6px 0/12px 100% repeat-x; mask: radial-gradient(circle at 6px 44px, transparent 4px, #000 4.5px) -6px 0/12px 100% repeat-x; }
.fig-pack .strip::after { content: "✂ strappa qui"; position: absolute; left: 0; right: 0; top: 12px; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.fig-pack .body { top: 40px; bottom: 0; border-radius: 0 0 10px 10px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 16px 18px; text-align: center; }
.fig-pack .crimp { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-linear-gradient(90deg, rgba(0,0,0,.25) 0 2px, transparent 2px 6px); }
.fig-pack .k { font-size: 10px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; opacity: .85; }
.fig-pack h2 { font-family: var(--font-display); font-size: 34px; line-height: .92; margin: 4px 0 0; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.3); }
.fig-pack h2 i { font-style: normal; color: #14100e; }
.fig-pack .logo { width: 116px; height: 116px; background: #fff; border-radius: 50%; padding: 12px; box-shadow: 0 0 0 5px rgba(0,0,0,.25), 0 10px 20px rgba(0,0,0,.3); }
.fig-pack .logo img { width: 100%; height: 100%; object-fit: contain; }
.fig-pack .q { font-family: var(--font-display); font-size: 13px; background: #14100e; padding: 5px 12px; border-radius: 99px; }
.fig-pack .q b { color: #ff4d4d; }
.fig-pack.torn .strip { transform: translate(40px, -80px) rotate(28deg); opacity: 0; }
.fig-pack.gone { transform: translateY(120px) scale(.85); opacity: 0; pointer-events: none; }
.fig-pack.wait { animation: gvf-wait .9s infinite; }
@keyframes gvf-wait { 50% { transform: translateY(-4px) rotate(1deg); } }
.fig-pack .tap { position: absolute; bottom: -34px; left: 0; right: 0; text-align: center; font-size: 13px; opacity: .75; animation: gvf-pulse 1.6s infinite; }
@keyframes gvf-pulse { 50% { opacity: .35; } }

.fig-deal { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 170px)); gap: 16px; justify-content: center; align-content: center; pointer-events: none; }
.fig-deal.on { pointer-events: auto; }
.fig-deal .slotd { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
/* Niente opacity sulla carta: sotto 1 il browser appiattisce il 3D e per un attimo si vedrebbe il davanti. */
.fig-deal .gvf { cursor: pointer; visibility: hidden; --flip: 180deg; transform: perspective(900px) translateY(160px) rotateY(var(--flip)) rotate(var(--rot)) scale(.6); }
.fig-deal .gvf.in { visibility: visible; transform: perspective(900px) rotateY(var(--flip)) rotate(var(--rot)); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.fig-deal .gvf.open { --flip: 0deg; }
.fig-deal .gvf-face { box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.tag { height: 24px; font-family: var(--font-display); font-size: 13px; letter-spacing: .02em; padding: 3px 10px; border-radius: 99px; opacity: 0; transform: translateY(6px) scale(.9); transition: .35s; white-space: nowrap; }
.tag.show { opacity: 1; transform: none; }
.tag.new { background: #ffd400; color: #14100e; box-shadow: 0 0 18px rgba(255,212,0,.6); }
.tag.dup { background: rgba(255,255,255,.14); color: #fff; }
.tag.lucida { background: linear-gradient(90deg, #ff6b6b, #ffd36b, #7bff9b, #6bd8ff, #b36bff); color: #14100e; }
.tag.oro { background: linear-gradient(90deg, #8a6a12, #f7e08a, #8a6a12); color: #2a1f00; }
.burst { position: absolute; inset: -30%; border-radius: 50%; pointer-events: none; background: conic-gradient(from 0deg, #ff6b6b, #ffd36b, #7bff9b, #6bd8ff, #b36bff, #ff6b6b); filter: blur(18px); opacity: 0; z-index: -1; }
.burst.go { animation: gvf-burst 1.4s ease-out; }
@keyframes gvf-burst { 0% { opacity: 0; transform: scale(.4) rotate(0); } 30% { opacity: .85; } 100% { opacity: 0; transform: scale(1.25) rotate(160deg); } }
.fig-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; min-height: 52px; margin: 10px 0 0; }
.fig-actions button { font: 800 15px var(--font-body); border: 0; border-radius: 99px; padding: 13px 22px; cursor: pointer; background: #fff; color: #14100e; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.fig-actions button.primary { background: #ffd400; }
.fig-actions button[hidden] { display: none; }
.fig-errore { background: #e60000; color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; }
@media (max-width: 640px) {
  .fig-deal { grid-template-columns: repeat(3, minmax(0, 112px)); gap: 8px; }
  .fig-deal .tag { font-size: 11px; padding: 3px 7px; }
  .fig-scene { min-height: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  .gvf, .fig-leaf, .fig-book, .fig-pack, .fig-single .pg { transition: none !important; }
  .gvf-inner::after, .fig-pack .tap { animation: none !important; }
}

/* Figurina ingrandita: pagina sotto ferma, niente scorrimento o spostamento laterale col dito */
html.fig-bloccato, html.fig-bloccato body { overflow: hidden; overscroll-behavior: none; }
.fig-modal { touch-action: none; overscroll-behavior: contain; }

/* Retro: rarità e numeri bassi */
.b-rar { margin: 0; align-self: flex-start; font-size: 3.7cqw; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: .3em .75em; border-radius: 99px; background: #eee9e4; color: #4a423d; }
.b-rar.r-speciale { background: #fbefc8; color: #6a4c00; }
.b-rar.r-lucida { background: linear-gradient(110deg, #e9dcff, #d5f1ff, #ffe0f3); color: #4b2590; }
.b-rar.r-oro { background: linear-gradient(110deg, #f7e08a, #fff3c4, #e0b33a); color: #3a2a00; }
.b-primi { font-style: normal; font-size: 3.4cqw; font-weight: 800; color: #12823c; text-transform: uppercase; letter-spacing: .03em; }

/* ---------- pagina Buste ---------- */
.fig-buste-top { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: 10px; }
.fig-buste-top .fig-wallet { flex-direction: column; gap: 12px; font-size: 1.1rem; }
.fig-buste-top .fig-attesa { order: 0; max-width: 560px; text-align: left; }
.fig-pila { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 640px; min-height: 10px; }
.fig-pila button {
  position: relative; width: 74px; height: 102px; border: 0; padding: 0; cursor: pointer; border-radius: 8px;
  background: linear-gradient(160deg, #ff3030, #8a0000); color: #fff; font: 900 15px/1 system-ui, sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .25); transform: rotate(var(--r, 0deg)); transition: transform .15s;
}
.fig-pila button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px; background: rgba(255, 255, 255, .5); }
.fig-pila button small { display: block; margin-top: 6px; font: 700 9px/1.2 system-ui, sans-serif; opacity: .85; }
.fig-pila button:hover:not([disabled]), .fig-pila button:focus-visible { transform: rotate(0deg) translateY(-4px); }
.fig-pila button[disabled] { cursor: default; filter: grayscale(.35); opacity: .75; }
.fig-pila .fig-pila-piu { align-self: center; font-weight: 800; }
.fig-buste-vuoto { margin: 6px 0 0; }
