:root{
  --fc-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='n' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42  0 0 0 0 .34  0 0 0 0 .2  0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='90' height='90' filter='url(%23n)'/%3E%3C/svg%3E");
  --fc-medal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140'%3E%3Cg fill='%23000' fill-rule='evenodd'%3E%3Cpath d='M50 46a24 24 0 1 0 .01 0ZM50 48.2a21.8 21.8 0 1 1-.01 0Z'/%3E%3Cpath opacity='.55' d='M50 51.6a18.4 18.4 0 1 0 .01 0ZM50 52.6a17.4 17.4 0 1 1-.01 0Z'/%3E%3Cpath d='M38.2 76C38.2 67.6 42.8 64 50 64C57.2 64 61.8 67.6 61.8 76C61.8 81.6 56.8 84.2 50 84.2C43.2 84.2 38.2 81.6 38.2 76ZM41.4 76.4Q50 83.2 58.6 76.4Q50 79.8 41.4 76.4Z'/%3E%3Cpath d='M43 53.4a4.6 4.6 0 1 0 .01 0ZM43 56.2a1.9 1.9 0 1 1-.01 0Z'/%3E%3Cpath d='M57 53.4a4.6 4.6 0 1 0 .01 0ZM57 56.2a1.9 1.9 0 1 1-.01 0Z'/%3E%3Cpath d='M17 14L20.2 18L17 22L13.8 18Z'/%3E%3Cpath d='M83 14L86.2 18L83 22L79.8 18Z'/%3E%3Cpath d='M17 118L20.2 122L17 126L13.8 122Z'/%3E%3Cpath d='M83 118L86.2 122L83 126L79.8 122Z'/%3E%3Cpath d='M50 24L52.4 28L50 32L47.6 28Z'/%3E%3Cpath d='M50 108L52.4 112L50 116L47.6 112Z'/%3E%3C/g%3E%3C/svg%3E");
  --fc-medal-lotus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140'%3E%3Cg fill='%23000'%3E%3Cpath fill-rule='evenodd' d='M50 46a24 24 0 1 0 .01 0ZM50 48.2a21.8 21.8 0 1 1-.01 0Z'/%3E%3Cpath opacity='.55' fill-rule='evenodd' d='M50 51.6a18.4 18.4 0 1 0 .01 0ZM50 52.6a17.4 17.4 0 1 1-.01 0Z'/%3E%3Cpath d='M17 14L20.2 18L17 22L13.8 18Z'/%3E%3Cpath d='M83 14L86.2 18L83 22L79.8 18Z'/%3E%3Cpath d='M17 118L20.2 122L17 126L13.8 122Z'/%3E%3Cpath d='M83 118L86.2 122L83 126L79.8 122Z'/%3E%3Cellipse cx='50' cy='59' rx='4.6' ry='9.5' transform='rotate(0 50 70)'/%3E%3Cellipse cx='50' cy='59' rx='4.6' ry='9.5' transform='rotate(45 50 70)'/%3E%3Cellipse cx='50' cy='59' rx='4.6' ry='9.5' transform='rotate(90 50 70)'/%3E%3Cellipse cx='50' cy='59' rx='4.6' ry='9.5' transform='rotate(135 50 70)'/%3E%3Cellipse cx='50' cy='59' rx='4.6' ry='9.5' transform='rotate(180 50 70)'/%3E%3Cellipse cx='50' cy='59' rx='4.6' ry='9.5' transform='rotate(225 50 70)'/%3E%3Cellipse cx='50' cy='59' rx='4.6' ry='9.5' transform='rotate(270 50 70)'/%3E%3Cellipse cx='50' cy='59' rx='4.6' ry='9.5' transform='rotate(315 50 70)'/%3E%3Ccircle cx='50' cy='70' r='4.4'/%3E%3C/g%3E%3C/svg%3E");
  --fc-medal-neon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140'%3E%3Cg fill='%23000'%3E%3Cpath fill-rule='evenodd' d='M50 46a24 24 0 1 0 .01 0ZM50 48.2a21.8 21.8 0 1 1-.01 0Z'/%3E%3Cpath opacity='.55' fill-rule='evenodd' d='M50 51.6a18.4 18.4 0 1 0 .01 0ZM50 52.6a17.4 17.4 0 1 1-.01 0Z'/%3E%3Cpath d='M17 14L20.2 18L17 22L13.8 18Z'/%3E%3Cpath d='M83 14L86.2 18L83 22L79.8 18Z'/%3E%3Cpath d='M17 118L20.2 122L17 126L13.8 122Z'/%3E%3Cpath d='M83 118L86.2 122L83 126L79.8 122Z'/%3E%3Cg transform='translate(50 70) scale(1.55)'%3E%3Ccircle cx='0' cy='-5.6' r='5.5'/%3E%3Ccircle cx='-6.3' cy='2.6' r='5.5'/%3E%3Ccircle cx='6.3' cy='2.6' r='5.5'/%3E%3Ccircle cx='0' cy='1' r='4.2'/%3E%3Cpath d='M0 0C.3 5.5 -.6 9.4 -4.6 12.8L4.6 12.8C.6 9.4 -.3 5.5 0 0Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --fc-paper: linear-gradient(158deg, #fffefa 0%, #f9f4e6 46%, #eee5cf 100%);
  --fc-edge: inset 0 0 0 1px rgba(255, 255, 255, .85), inset 0 0 0 2px rgba(120, 95, 45, .1), inset 0 -3px 5px rgba(90, 70, 30, .1);
  --fc-drop: 0 1px 1.5px rgba(0, 0, 0, .45), 0 5px 12px rgba(0, 0, 0, .38);
}
.bj-card.bj-real{
  padding: 0; border: 0; overflow: hidden; border-radius: 7.2% / 5.2%;
  background-color: #faf6ea; background-image: var(--fc-grain), var(--fc-paper);
  box-shadow: var(--fc-edge), var(--fc-drop);
}
.bj-card.bj-real::before{
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 64%, rgba(60, 40, 10, .07) 100%);
}
.bj-card.bj-hidden{
  border: 0; overflow: hidden; border-radius: 7.2% / 5.2%;
  background-color: #f6f1e3; background-image: var(--fc-grain), var(--fc-paper); box-shadow: var(--fc-edge), var(--fc-drop);
}
.bj-card.bj-hidden::before{
  content: ""; position: absolute; inset: 6.5% 8%; z-index: 1; border-radius: 5% / 3.6%; border: 1px solid rgba(244, 226, 191, .7);
  background: radial-gradient(circle at 50% 40%, #8a2234 0%, #56131f 58%, #1a0b0e 100%);
  box-shadow: inset 0 0 9px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(0, 0, 0, .16);
}
.bj-card.bj-hidden::after{
  content: ""; position: absolute; inset: 6.5% 8%; z-index: 2; display: block; font-size: 0; color: transparent; text-shadow: none; pointer-events: none; opacity: .92;
  background: rgba(244, 226, 191, .85); -webkit-mask: var(--fc-medal) center / 100% 100% no-repeat; mask: var(--fc-medal) center / 100% 100% no-repeat;
}
html body .cg .cg-card.is-real,html body .cg button.cg-card.is-real{
  padding: 0 !important; border: 0 !important; overflow: hidden !important; border-radius: 7.2% / 5.2% !important;
  background-color: #faf6ea !important; background-image: var(--fc-grain), var(--fc-paper) !important;
}
html body .cg div.cg-card.is-real,html body .cg button.cg-card.is-real:not(.is-sel){ box-shadow: var(--fc-edge), 0 2px 3px rgba(0, 0, 0, .45), 0 6px 12px rgba(0, 0, 0, .32) !important; }
.cg-card.is-real::before{
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 64%, rgba(60, 40, 10, .07) 100%);
}
html body .cg .cg-card.is-back{
  border: 0 !important; overflow: hidden !important; border-radius: 7.2% / 5.2% !important; position: relative;
  background-color: #f6f1e3 !important; background-image: var(--fc-grain), var(--fc-paper) !important;
  box-shadow: var(--fc-edge), 0 2px 3px rgba(0, 0, 0, .45), 0 6px 12px rgba(0, 0, 0, .32) !important;
}
html body .cg .cg-card.is-back span{ display: none !important; }
html body .cg .cg-card.is-back::before{
  content: ""; position: absolute; inset: 6.5% 8%; z-index: 1; border-radius: 5% / 3.6%; border: 1px solid rgba(217, 178, 106, .6);
  background: radial-gradient(circle at 50% 40%, #1a5e42 0%, #0e3526 58%, #05170f 100%);
  box-shadow: inset 0 0 9px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(0, 0, 0, .16);
}
html body .cg .cg-card.is-back::after{
  content: ""; position: absolute; inset: 6.5% 8%; z-index: 2; pointer-events: none; opacity: .92; background: rgba(232, 207, 138, .9);
  -webkit-mask: var(--fc-medal) center / 100% 100% no-repeat; mask: var(--fc-medal) center / 100% 100% no-repeat;
}
html body .bj-card.bj-real[data-su="H"],html body .bj-card.bj-real[data-su="D"],html body .cg-card.is-real[data-su="H"],html body .cg-card.is-real[data-su="D"]{ color: #7a1226 !important; }
html body .bj-card.bj-real[data-su="S"],html body .bj-card.bj-real[data-su="C"],html body .cg-card.is-real[data-su="S"],html body .cg-card.is-real[data-su="C"]{ color: #14110e !important; }
[data-fc4]::after{ content: " · OFF"; opacity: .7; font-weight: 700; }
@keyframes fcWinGlow {
  from { filter: drop-shadow(0 0 4px rgba(255, 214, 102, .75)) drop-shadow(0 6px 8px rgba(0, 0, 0, .4)); }
  to { filter: drop-shadow(0 0 11px rgba(255, 200, 70, 1)) drop-shadow(0 0 22px rgba(255, 170, 40, .6)) drop-shadow(0 8px 10px rgba(0, 0, 0, .4)); }
}