/* assets/css/gacha.css — Machine gashapon (gashapon.html, comportement : assets/js/gacha.js)
   Inspirée des bornes à capsules modernes des salles d'arcade : coque blanche laquée,
   enseigne rouge lumineuse, vitrine des lots sur socles éclairés, cuve à capsules,
   pupitre à molette cerclée d'un anneau LED arc-en-ciel, bouton PUSH, néon cyan au sol.
   Le tout encré façon manga (contours noirs, ombres franches) aux couleurs du site. */
.gacha-page { background: var(--night-2, #0A0F1E); border-top: 3px solid var(--blue); background-image: radial-gradient(rgba(110,155,255,.12) 1px, transparent 1.4px); background-size: 9px 9px; }
.gc-jp { margin-left: 8px; font-size: .55em; color: var(--yellow); vertical-align: middle; letter-spacing: .1em; }
.gc-grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 36px; align-items: start; }
.gc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ borne */
.gc-machine { --ink: #0A0E1A; --shell: #F7F9FD; --shell-2: #DCE3EF; --red: #E2402F; --cyan: #38E1FF;
  position: relative; padding: 0 22px 26px; border: 3px solid var(--ink); border-radius: 26px 26px 18px 18px;
  background: linear-gradient(90deg, var(--shell-2) 0%, var(--shell) 14%, #fff 48%, var(--shell) 84%, var(--shell-2) 100%);
  box-shadow: 10px 10px 0 var(--ink), 0 40px 70px rgba(0,0,0,.5), 0 0 70px rgba(56,225,255,.18); }
.gc-machine::before { content: ""; position: absolute; left: 12px; top: 110px; bottom: 110px; width: 10px; border-radius: 5px; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.9) 30%, rgba(255,255,255,0)); pointer-events: none; }

/* Enseigne rouge, lettres néon blanches */
.gc-sign { position: relative; margin: 14px -6px 0; padding: 14px 16px 12px; border: 3px solid var(--ink); border-radius: 16px; text-align: center; overflow: hidden;
  background: radial-gradient(120% 140% at 50% 0%, #FF6B5B 0%, var(--red) 55%, #A8231A 100%); box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--ink), 0 0 28px rgba(226,64,47,.55); }
.gc-sign::after { content: ""; position: absolute; inset: 0; background: linear-gradient(170deg, rgba(255,255,255,.35), rgba(255,255,255,0) 40%); pointer-events: none; }
.gc-sign-jp { display: block; font: 700 12px/1 var(--sans); letter-spacing: .5em; color: #FFE3DE; }
.gc-sign b { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 4px; padding: 4px 16px 2px; border: 3px solid var(--ink); border-radius: 30px; background: #1B1F2B;
  font: 400 clamp(1.8rem, 5vw, 2.5rem)/1 var(--comic, Bangers), Impact, sans-serif; letter-spacing: .06em; color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.9), 0 0 18px rgba(255,120,100,.8); }
.gc-sign b em { font-style: normal; color: var(--yellow); }
.gc-sign b span { color: var(--yellow); text-shadow: 0 0 8px rgba(255,225,77,.95); }
.gc-sign-dots { position: absolute; left: 10px; right: 10px; bottom: 5px; display: flex; justify-content: space-between; }
.gc-sign-dots i { width: 6px; height: 6px; border-radius: 50%; background: #FFF4C2; box-shadow: 0 0 6px #FFE14D; animation: gc-blink 1.2s steps(1) infinite; }
.gc-sign-dots i:nth-child(even) { animation-delay: -.6s; }
@keyframes gc-blink { 50% { opacity: .25; box-shadow: none; } }

/* Vitrine des lots : trois socles éclairés */
.gc-shelf { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; padding: 16px 14px 10px; border: 3px solid var(--ink); border-radius: 8px;
  background: linear-gradient(180deg, #FFD9EC 0%, #E6E1FF 55%, #CDEBFF 100%); box-shadow: inset 0 0 0 3px rgba(255,255,255,.7), inset 0 -18px 30px rgba(255,255,255,.6); }
.gc-shelf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.55), rgba(255,255,255,0) 22%, rgba(255,255,255,0) 64%, rgba(255,255,255,.3) 68%, rgba(255,255,255,0) 74%); pointer-events: none; }
.gc-ped { display: grid; justify-items: center; gap: 4px; }
.gc-ped small { padding: 1px 8px; border: 2px solid var(--ink); background: #fff; font: 700 11px var(--mono); color: var(--ink); }
.gc-fig { position: relative; display: grid; place-items: center; width: 64px; height: 64px; animation: gc-float 3s ease-in-out infinite; }
.gc-ped:nth-child(2) .gc-fig { animation-delay: -1s; } .gc-ped:nth-child(3) .gc-fig { animation-delay: -2s; }
.gc-fig::after { content: ""; position: absolute; bottom: -12px; left: 50%; width: 58px; height: 16px; margin-left: -29px; border: 2px solid var(--ink); border-radius: 50%; background: radial-gradient(ellipse, #fff 0 30%, #C9D1DC 70%); box-shadow: 0 0 14px rgba(255,255,255,.9); z-index: -1; }
@keyframes gc-float { 50% { transform: translateY(-5px); } }
.gc-fig-xp b { display: grid; place-items: center; width: 54px; height: 54px; border: 3px solid var(--ink); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 12%, #6FB0FF 35%, #2F6BFF 70%, #12379E); color: #fff; font: 400 1.4rem/1 var(--comic, Bangers), sans-serif; text-shadow: 2px 2px 0 var(--ink); box-shadow: 0 0 16px rgba(47,107,255,.6); }
.gc-fig-paper i { display: block; width: 44px; height: 52px; border: 3px solid var(--ink); border-radius: 3px; background: repeating-linear-gradient(0deg, #fff 0 8px, #E6EBF5 8px 9px); transform: rotate(-8deg); box-shadow: 3px 3px 0 var(--ink); }
.gc-fig-paper i::after { content: "?"; display: grid; place-items: center; height: 100%; font: 400 1.6rem var(--comic, Bangers), sans-serif; color: var(--red); }

/* Cuve à capsules */
.gc-tank { position: relative; height: 230px; margin-top: 16px; border: 3px solid var(--ink); border-radius: 8px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 10%, #FFF4FA 0%, #FFC7E2 45%, #B8C8FF 100%); box-shadow: inset 0 0 0 3px rgba(255,255,255,.7); }
.gc-caps { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; }
.gc-cap { position: absolute; width: 11%; aspect-ratio: 1; border: 2.5px solid var(--ink); border-radius: 50%; transform: rotate(var(--r, 0deg));
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.95) 0 10%, rgba(255,255,255,0) 22%), linear-gradient(180deg, rgba(255,255,255,.72) 0 47%, var(--ink) 47% 53%, var(--c) 53% 100%);
  box-shadow: inset -3px -4px 0 rgba(0,0,0,.15); }
.gc-machine.shake .gc-cap { animation: gc-jiggle .25s ease-in-out; animation-delay: var(--d, 0s); }
@keyframes gc-jiggle { 50% { transform: rotate(calc(var(--r) + 14deg)) translateY(-6px); } }
.gc-chute { position: absolute; right: 8%; top: 0; bottom: 0; width: 15%; border-left: 2px dashed rgba(10,14,26,.25); border-right: 2px dashed rgba(10,14,26,.25); background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.1)); }
.gc-drop { position: absolute; left: 50%; top: -40px; width: 44px; height: 44px; margin-left: -22px; border: 2.5px solid var(--ink); border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.95) 0 10%, rgba(255,255,255,0) 22%), linear-gradient(180deg, rgba(255,255,255,.72) 0 47%, var(--ink) 47% 53%, var(--c, #E2402F) 53% 100%); }
.gc-machine.dropping .gc-drop { animation: gc-fall 1.25s cubic-bezier(.45,.05,.7,1) forwards; }
@keyframes gc-fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 70% { opacity: 1; transform: translateY(230px) rotate(320deg); } 82% { transform: translateY(205px) rotate(360deg); } 100% { opacity: 0; transform: translateY(260px) rotate(400deg); } }
.gc-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 60%, rgba(255,255,255,.25) 63%, rgba(255,255,255,0) 70%); }

/* Pupitre : bandeau gris clair, liseré cyan */
.gc-panel { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin: 18px -8px 0; padding: 16px 18px; border: 3px solid var(--ink); border-radius: 18px;
  background: linear-gradient(180deg, #EEF2F8, #C9D1DC); box-shadow: inset 0 3px 0 #fff, 0 6px 0 var(--ink), 0 10px 0 -2px var(--cyan), 0 14px 26px rgba(56,225,255,.45); }
.gc-left { display: grid; gap: 8px; }
.gc-screen { display: grid; gap: 2px; min-width: 150px; padding: 7px 10px; border: 3px solid var(--ink); border-radius: 6px; background: radial-gradient(rgba(70,255,220,.08) 1px, transparent 1.2px) 0 0/3px 3px, linear-gradient(180deg, #06231F, #031512); box-shadow: inset 0 2px 8px rgba(0,0,0,.8); }
.gc-screen b, .gc-screen span { font: 700 11.5px/1.25 var(--mono); letter-spacing: .06em; color: #7DFFE4; text-shadow: 0 0 6px rgba(80,255,215,.9); white-space: nowrap; }
.gc-screen b { color: #FFE14D; text-shadow: 0 0 6px rgba(255,225,77,.9); }
.gc-slot { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 3px solid var(--ink); border-radius: 10px; background: linear-gradient(90deg, #8E99A8, #F4F7FB 25%, #B7C1CE 50%, #DCE2EA 80%); color: var(--ink); cursor: pointer; box-shadow: 0 4px 0 var(--ink); }
.gc-slot b { font: 400 15px/1 var(--comic, Bangers), sans-serif; letter-spacing: .05em; }
.gc-slot [data-slot-label] { display: inline-flex; align-items: center; gap: 4px; }
.gc-slot-hole { width: 9px; height: 28px; border: 2px solid var(--ink); border-radius: 5px; background: linear-gradient(90deg, #3A2A00, #FFE14D 50%, #3A2A00); }
.gc-slot:not(:disabled) .gc-slot-hole { animation: gc-pulse 1.3s ease-in-out infinite; }
@keyframes gc-pulse { 50% { box-shadow: 0 0 12px #FFE14D, 0 0 22px rgba(255,200,40,.8); } }
.gc-slot:not(:disabled):hover { filter: brightness(1.07); }
.gc-slot:not(:disabled):active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.gc-slot:disabled { cursor: not-allowed; opacity: .6; }
.gc-coin-fx { position: absolute; left: 4px; top: -40px; pointer-events: none; animation: gc-coin .6s ease-in forwards; }
@keyframes gc-coin { 0% { transform: translateY(-10px) rotateY(0); } 80% { transform: translateY(36px) rotateY(540deg) scaleX(.2); opacity: 1; } 100% { transform: translateY(40px) scaleX(.1); opacity: 0; } }

/* Molette : anneau LED arc-en-ciel, bouton blanc à poignée */
.gc-crank { position: relative; justify-self: center; width: 116px; height: 116px; padding: 0; border: 3px solid var(--ink); border-radius: 50%; background: #E9EEF5; cursor: grab; touch-action: none; box-shadow: 0 5px 0 var(--ink); }
.gc-crank:disabled { cursor: not-allowed; }
.gc-ring { position: absolute; inset: 7px; border-radius: 50%; background: conic-gradient(#FF4D6D, #FFB03B, #FFE14D, #4ADE80, #38E1FF, #6F7BFF, #D16BFF, #FF4D6D); filter: saturate(.25) brightness(.9); transition: filter .3s; }
.gc-ring::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #E9EEF5; border: 2px solid var(--ink); }
.gc-crank.on .gc-ring { filter: none; box-shadow: 0 0 18px rgba(255,255,255,.9), 0 0 28px rgba(160,120,255,.7); animation: gc-spin 2.4s linear infinite; }
@keyframes gc-spin { to { transform: rotate(360deg); } }
.gc-knob { position: absolute; inset: 24px; border: 3px solid var(--ink); border-radius: 50%; background: radial-gradient(circle at 38% 30%, #fff 0 30%, #DCE3EF 80%); transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.gc-knob i { position: absolute; left: 50%; top: 6px; bottom: 6px; width: 18px; margin-left: -9px; border: 3px solid var(--ink); border-radius: 9px; background: linear-gradient(90deg, #C9D1DC, #fff 45%, #AAB4C3); }
.gc-knob i::after { content: ""; position: absolute; left: 50%; top: 4px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--red); }
.gc-crank:focus-visible, .gc-slot:focus-visible, .gc-push:focus-visible, .gc-capsule:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

/* Bouton PUSH : ouvre la trappe */
.gc-push { display: grid; place-items: center; align-content: center; gap: 0; width: 84px; height: 84px; padding: 0; border: 3px solid var(--ink); border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 40% 30%, #fff 0 40%, #E6EBF2 75%); color: var(--ink); font: 400 1.05rem/1 var(--comic, Bangers), sans-serif; letter-spacing: .06em; box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 8px var(--red), 0 5px 0 var(--ink); }
.gc-push-cap { font-size: .8rem; color: var(--red); }
.gc-push:disabled { cursor: not-allowed; opacity: .55; }
.gc-push.on { animation: gc-push 1s ease-in-out infinite; }
@keyframes gc-push { 50% { box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 8px var(--red), 0 5px 0 var(--ink), 0 0 24px rgba(226,64,47,.8); } }
.gc-push.pressed { transform: translateY(4px); box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 8px var(--red), 0 1px 0 var(--ink); }

/* Façade : trappe à capsule, macaron */
.gc-front { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 0 6px; }
.gc-door { position: relative; width: 138px; height: 88px; border: 3px solid var(--ink); border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #161B26, #03050A); box-shadow: 0 0 0 5px #C9D1DC, 0 0 0 8px var(--ink), inset 0 12px 20px rgba(0,0,0,.9); }
.gc-flap { position: absolute; left: 6px; right: 6px; top: 6px; height: 40px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 9px 9px 3px 3px; background: linear-gradient(180deg, rgba(160,190,255,.32), rgba(160,190,255,.06)); }
.gc-peek { position: absolute; left: 50%; bottom: -46px; width: 48px; height: 48px; margin-left: -24px; border: 2.5px solid var(--ink); border-radius: 50%; transition: bottom .4s cubic-bezier(.3,1.5,.5,1);
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.95) 0 10%, rgba(255,255,255,0) 22%), linear-gradient(180deg, rgba(255,255,255,.72) 0 47%, var(--ink) 47% 53%, var(--c, #E2402F) 53% 100%); }
.gc-door.full { box-shadow: 0 0 0 5px #FFE14D, 0 0 0 8px var(--ink), inset 0 10px 20px rgba(0,0,0,.6), 0 0 28px rgba(255,225,77,.8); }
.gc-door.full .gc-peek { bottom: 6px; animation: gc-bob 1.2s ease-in-out infinite; }
@keyframes gc-bob { 50% { transform: translateY(-4px) rotate(-8deg); } }
.gc-badge { display: grid; justify-items: center; align-content: center; width: 84px; height: 84px; border: 3px solid var(--ink); border-radius: 50%; background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.4), rgba(255,255,255,0) 45%), #0A0E1A; color: #fff; box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--ink); transform: rotate(-8deg); }
.gc-badge b { font: 800 26px/1 var(--mono); color: #22C55E; text-shadow: 0 0 10px rgba(34,197,94,.8); }
.gc-badge span { margin-top: 2px; padding: 1px 6px; background: var(--blue); font: 700 8px var(--mono); letter-spacing: .1em; }
.gc-glow { position: absolute; left: 22px; right: 22px; bottom: -6px; height: 10px; border-radius: 10px; background: var(--cyan); box-shadow: 0 0 18px var(--cyan), 0 0 40px rgba(56,225,255,.8); }
.gc-machine.is-done .gc-crank, .gc-machine.is-done .gc-slot { filter: grayscale(.4); }

.gc-sticker { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border: 3px solid var(--ink); border-radius: 10px; background: var(--yellow); color: var(--ink); transform: rotate(3deg); box-shadow: 3px 3px 0 var(--ink); }
.gc-sticker b { font: 400 1.5rem/1 var(--comic, Bangers), sans-serif; }
.gc-sticker em { font-style: normal; font-weight: 800; }
.gc-mini-cap { display: inline-block; width: 24px; height: 24px; border: 2.5px solid var(--ink); border-radius: 50%; background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.95) 0 10%, rgba(255,255,255,0) 22%), linear-gradient(180deg, rgba(255,255,255,.8) 0 47%, var(--ink) 47% 53%, #E2402F 53% 100%); }
@media (max-width: 520px) { .gc-sticker { display: none; } }

/* ------------------------------------------------------------ panneau latéral */
.gc-side { display: grid; gap: 16px; }
.gc-card { padding: 16px 18px; border: 3px solid var(--ink, #0A0E1A); background: var(--paper, #F3F6FF); color: #0A0E1A; box-shadow: 6px 6px 0 var(--blue); }
.gc-card h2 { margin: 0 0 10px; font: 400 1.5rem/1.05 var(--comic, Bangers), sans-serif; letter-spacing: .04em; color: #0A0E1A; }
.gc-wallet { display: flex; align-items: center; gap: 8px; }
.gc-wallet b { font: 400 2.2rem/1 var(--comic, Bangers), sans-serif; }
.gc-wallet small { font-weight: 700; color: #3A4670; }
.gc-state { margin: 8px 0; color: #2B3655; }
.gc-odds { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gc-odd { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 6px 10px; border: 2px solid #0A0E1A; background: #fff; }
.gc-odd small { font: 700 12px var(--mono); color: #3A4670; }
.gc-odd.big { background: linear-gradient(90deg, #FFF6C9, #fff 70%); }
.gc-odd-ic { display: grid; place-items: center; }
.gc-mini { display: inline-grid; place-items: center; }
.gc-mini.xp b { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid #0A0E1A; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 10%, #6FB0FF 35%, #2F6BFF 70%); color: #fff; font: 400 .85rem var(--comic, Bangers), sans-serif; }
.gc-mini.paper i { display: block; width: 22px; height: 28px; border: 2px solid #0A0E1A; background: repeating-linear-gradient(0deg, #fff 0 5px, #E6EBF5 5px 6px); transform: rotate(-8deg); }
.gc-how ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: #2B3655; }

/* ------------------------------------------------------------ ouverture de la capsule */
.gc-reveal[hidden] { display: none; }
.gc-reveal { position: fixed; inset: 0; z-index: 1004; display: grid; place-items: center; padding: 16px; background: rgba(5,8,11,.82); }
.gc-reveal-box { position: relative; width: min(400px, 100%); padding: 24px 22px 22px; display: grid; justify-items: center; gap: 12px; overflow: hidden; text-align: center;
  border: 3px solid #0A0E1A; background: #F3F6FF; color: #0A0E1A; box-shadow: 8px 8px 0 var(--blue); }
.gc-reveal-box h2 { position: relative; margin: 0; font: 400 2rem/1 var(--comic, Bangers), sans-serif; letter-spacing: .05em; }
.gc-rays { position: absolute; left: 50%; top: 44%; width: 560px; height: 560px; margin: -280px 0 0 -280px; opacity: 0; pointer-events: none;
  background: repeating-conic-gradient(var(--rc, #FFE14D) 0 8deg, transparent 8deg 22deg); -webkit-mask: radial-gradient(circle, #000 0, transparent 62%); mask: radial-gradient(circle, #000 0, transparent 62%); transition: opacity .4s; animation: gc-spin 14s linear infinite; }
.gc-reveal.xp { --rc: #6FB0FF; } .gc-reveal.coins { --rc: #FFD95C; } .gc-reveal.paper { --rc: #E6EBF5; }
.gc-reveal.opened .gc-rays { opacity: .45; }
.gc-capsule { position: relative; width: 170px; height: 170px; padding: 0; border: 0; background: none; cursor: pointer; }
.gc-capsule:disabled { cursor: default; }
.gc-cap-top, .gc-cap-bottom { position: absolute; left: 0; right: 0; height: 50%; border: 3px solid #0A0E1A; z-index: 2; transition: transform .6s cubic-bezier(.3,1.3,.5,1), opacity .6s; }
.gc-cap-top { top: 0; border-radius: 85px 85px 0 0; border-bottom-width: 4px; background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.95) 0 9%, rgba(255,255,255,0) 20%), rgba(255,255,255,.75); }
.gc-cap-bottom { bottom: 0; border-radius: 0 0 85px 85px; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.45) 0 8%, rgba(255,255,255,0) 20%), var(--c, #E2402F); }
.gc-cap-prize { position: absolute; inset: 22%; z-index: 1; display: grid; place-items: center; opacity: 0; transform: scale(.4); transition: transform .6s cubic-bezier(.2,1.5,.4,1) .15s, opacity .4s .15s; }
.gc-capsule:not(:disabled) { animation: gc-wobble 1.4s ease-in-out infinite; }
@keyframes gc-wobble { 0%, 60%, 100% { transform: none; } 70% { transform: rotate(-8deg); } 80% { transform: rotate(7deg); } 90% { transform: rotate(-4deg); } }
.gc-reveal.opened .gc-cap-top { transform: translate(-70px, -60px) rotate(-38deg); opacity: 0; }
.gc-reveal.opened .gc-cap-bottom { transform: translate(60px, 70px) rotate(28deg); opacity: 0; }
.gc-reveal.opened .gc-cap-prize { opacity: 1; transform: scale(1.25); }
.gc-cap-prize .gc-mini { position: relative; }
.gc-cap-prize .gc-mini.xp b { width: 96px; height: 96px; border-width: 3px; font-size: 2.2rem; text-shadow: 2px 2px 0 #0A0E1A; box-shadow: 0 0 24px rgba(47,107,255,.7); }
.gc-cap-prize .gc-mini.paper i { width: 64px; height: 80px; border-width: 3px; box-shadow: 4px 4px 0 #0A0E1A; }
.gc-mini-n { position: absolute; right: -26px; bottom: -8px; padding: 2px 8px; border: 2.5px solid #0A0E1A; background: var(--yellow, #FFE14D); color: #0A0E1A; font: 400 1.2rem/1 var(--comic, Bangers), sans-serif; transform: rotate(-6deg); box-shadow: 2px 2px 0 #0A0E1A; }
.gc-reveal-msg { position: relative; margin: 0; color: #2B3655; font-weight: 600; }
.gc-paper { position: relative; max-width: 300px; padding: 14px 16px; border: 2.5px solid #0A0E1A; background: repeating-linear-gradient(0deg, #fff 0 22px, #E6EBF5 22px 23px); font: 600 .95rem/1.5 var(--sans); color: #0A0E1A; transform: rotate(-1.5deg); box-shadow: 4px 4px 0 #0A0E1A; animation: gc-unfold .5s ease-out .35s both; }
@keyframes gc-unfold { from { transform: rotate(-1.5deg) scaleY(.1); opacity: 0; } to { transform: rotate(-1.5deg) scaleY(1); opacity: 1; } }

/* ------------------------------------------------------------ petits écrans, mouvements réduits */
@media (max-width: 1000px) { .gc-grid { grid-template-columns: 1fr; justify-items: center; } .gc-machine { width: min(520px, 100%); } .gc-side { width: 100%; } }
@media (max-width: 520px) {
  .gc-machine { padding: 0 12px 22px; box-shadow: 6px 6px 0 #0A0E1A, 0 30px 50px rgba(0,0,0,.5); }
  .gc-shelf { gap: 4px; padding: 12px 6px 8px; } .gc-fig { width: 52px; height: 52px; } .gc-fig-xp b { width: 46px; height: 46px; }
  .gc-tank { height: 190px; }
  .gc-panel { grid-template-columns: 1fr auto; grid-template-areas: "left left" "crank push"; margin: 16px -4px 0; padding: 12px; }
  .gc-left { grid-area: left; grid-template-columns: 1fr auto; align-items: center; } .gc-crank { grid-area: crank; width: 104px; height: 104px; } .gc-push { grid-area: push; }
  .gc-screen { min-width: 0; } .gc-door { width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .gc-sign-dots i, .gc-fig, .gc-slot .gc-slot-hole, .gc-crank.on .gc-ring, .gc-push.on, .gc-door.full .gc-peek, .gc-capsule, .gc-rays, .gc-paper, .gc-machine.shake .gc-cap { animation: none !important; }
  .gc-machine.dropping .gc-drop { animation: none; }
}
