/* Beta card geometry isolated from legacy card rules. */
.event-card76{padding:0!important;background:transparent!important;border:0!important;min-width:0;overflow:visible;color:#fff;box-shadow:none!important}.event-turn76{position:relative;aspect-ratio:2/3;width:100%;container-type:inline-size;perspective:1100px}.event-front76,.event-back76{position:absolute;inset:0;backface-visibility:hidden;transition:transform .55s ease;transform-style:preserve-3d}.event-front76{transform:rotateY(0deg)}.event-back76{transform:rotateY(180deg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4cqw;padding:15% 18%;text-align:center;background:linear-gradient(#081321aa,#081321ee),var(--frame) center/100% 100%;border:1px solid var(--color);border-radius:12%;overflow:hidden}.event-back76>b{font:800 10cqw/1.2 sans-serif}.event-back76>img{width:78%;max-height:42%;object-fit:contain}.event-back76>strong{font:700 7cqw/1.1 sans-serif;overflow-wrap:anywhere}.event-back76>small{font:400 4cqw/1.5 sans-serif}.event-flipped76 .event-front76{transform:rotateY(-180deg)}.event-flipped76 .event-back76{transform:rotateY(0)}.event-face76{position:relative;width:100%;height:100%;isolation:isolate;background:var(--frame) center/100% 100% no-repeat;overflow:hidden;container-type:inline-size;color:white;--name-y:60%;--stats-y:71%;--portrait-top:17%;--portrait-height:43%;--rating-x:12%;--rating-y:19%;--position-y:29%;--badge-y:35%;--stats-inset:18%}.event-scene76{position:absolute;z-index:0;left:12%;right:12%;top:13%;height:76%;background:linear-gradient(transparent 40%,#07101b99 75%),var(--scene) center/cover;mask-image:linear-gradient(transparent,#000 12%,#000 88%,transparent);clip-path:polygon(12% 0,88% 0,100% 12%,97% 100%,3% 100%,0 12%)}.event-portrait76{position:absolute!important;z-index:1;left:50%!important;transform:translateX(-50%)!important;top:var(--portrait-top)!important;width:60%!important;height:var(--portrait-height)!important;object-fit:contain;object-position:center bottom;mask-image:linear-gradient(#000 88%,transparent)}.event-rating76,.event-position76{position:absolute;z-index:3;left:var(--rating-x);width:18%;text-align:center;color:#fff!important;text-shadow:0 1px 3px #000,0 0 8px #000}.event-rating76{top:var(--rating-y);font:700 13cqw/1 sans-serif}.event-position76{top:var(--position-y);font:600 5.4cqw/1.1 sans-serif}.event-name76{position:absolute;top:var(--name-y);left:17%;right:17%;height:8%;font:700 var(--name-size,5.5cqw)/1.05 sans-serif;text-transform:uppercase;overflow:hidden;text-wrap:balance;text-align:center;z-index:3;text-shadow:0 1px 3px #000,0 0 6px #000;display:flex;align-items:center;justify-content:center;color:#fff!important}.event-badges76{position:absolute;left:var(--rating-x);top:var(--badge-y);width:18%;display:flex;align-items:center;flex-direction:column;gap:2cqw;z-index:3}.event-badges76>img{width:8cqw!important;height:6cqw!important;object-fit:contain}.event-badges76>img+img{width:9cqw!important;height:9cqw!important}.event-stats76{position:absolute;top:var(--stats-y);left:var(--stats-inset);right:var(--stats-inset);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2cqw 1cqw;z-index:3}.event-stats76>span{position:relative;display:flex;justify-content:center;align-items:center;gap:.8cqw;min-width:0;min-height:7cqw;padding:0 1.6cqw;color:#fff!important;text-shadow:0 1px 3px #000,0 0 5px #000}.event-stats76 b{font:700 6.1cqw/1 sans-serif}.event-stats76 small{font:600 3.3cqw/1 sans-serif}.event-stats76>span:before,.event-stats76>span:after{position:absolute;top:50%;transform:translateY(-50%);font:400 7.2cqw/1 sans-serif;color:var(--color)}.event-stats76>span:before{content:'[';left:0}.event-stats76>span:after{content:']';right:0}.event-flip76{font-size:11px;padding:7px 12px;margin-top:8px}.event-mini76{width:100%;max-width:130px;margin:auto}.event-mini76 .event-flip76{display:none}@media(prefers-reduced-motion:reduce){.event-front76,.event-back76{transition:none}}
.event-face76[data-theme="revenants"]{--name-y:61%;--stats-y:73%;--portrait-top:18%;--portrait-height:42%;--rating-y:20%;--position-y:30%;--badge-y:36%}
.event-face76[data-theme="foudre"]{--name-y:58%;--stats-y:69%;--portrait-height:41%;--scene-bottom:59%}
.event-face76[data-theme="givre"]{--name-y:62%;--stats-y:73%;--portrait-height:45%;--scene-bottom:63%}
.event-face76[data-theme="trone"]{--name-y:61%;--stats-y:73%;--portrait-top:20%;--portrait-height:40%;--scene-bottom:62%}
.event-face76[data-theme="prodige"]{--name-y:63%;--stats-y:74%;--portrait-height:45%;--scene-bottom:64%}
.event-face76[data-theme="laboratoire"]{--name-y:59%;--stats-y:70%;--portrait-height:41%;--stats-inset:22%;--scene-bottom:60%}
.event-face76[data-theme="derbys"]{--name-y:61%;--stats-y:73%;--portrait-height:43%;--rating-x:10%;--rating-y:17%;--position-y:27%;--badge-y:33%;--scene-bottom:62%}
.event-face76[data-theme="etoiles"]{--name-y:63%;--stats-y:74%;--portrait-height:45%;--rating-x:10%;--scene-bottom:64%}
.event-face76[data-theme="nations"]{--name-y:59%;--stats-y:70%;--portrait-height:41%;--scene-bottom:60%}
.event-face76[data-theme="libre"]{--name-y:62%;--stats-y:72%;--portrait-height:44%;--stats-inset:21%;--scene-bottom:63%}
.event-face76[data-theme="favoris"]{--name-y:60%;--stats-y:73%;--portrait-height:42%;--scene-bottom:61%}
.event-face76[data-theme="heritage"]{--name-y:63%;--stats-y:75%;--portrait-height:45%;--scene-bottom:64%}
.event-face76[data-theme=revenants]{--name-y:59%;--stats-y:72%;--portrait-top:16%;--portrait-height:43%}
