/* Scoped cosmetic animation only. Existing FRAG ELITE website theme is unchanged. */
.febr-stage{--febr-cyan:#31e3dc;--febr-purple:#b46bf2;border:1px solid rgba(172,99,242,.48);background:linear-gradient(125deg,rgba(59,25,91,.22),rgba(11,17,29,.90) 45%,rgba(20,83,93,.15));border-radius:16px;padding:18px;margin:13px 0 18px;color:#f3effc;box-shadow:0 12px 48px #0004;overflow:hidden}
.febr-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.febr-heading strong{font-size:1.14rem;font-weight:900;letter-spacing:.05em}
.febr-heading small{display:block;color:#aeb5d0;margin-top:5px}
.febr-heading em{font-style:normal;color:var(--febr-cyan)}
.febr-skip,.febr-replay{border:1px solid rgba(167,104,228,.65);color:#eee9ff;background:#2a193d;border-radius:9px;padding:9px 13px;cursor:pointer;font:inherit}
.febr-skip:hover,.febr-replay:hover{border-color:var(--febr-cyan);color:#fff}
.febr-round-line{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:13px;color:#b8bed3;font-size:.91rem}
.febr-round-line b{color:var(--febr-cyan)}
.febr-versus{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.febr-side{border-radius:13px;background:rgba(12,17,33,.82);border:1px solid rgba(87,204,218,.38);min-width:0;padding:13px 10px 14px}
.febr-side:nth-child(2){border-color:rgba(185,113,244,.47)}
.febr-player{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-weight:800;margin-bottom:10px;padding:0 5px}
.febr-player span:last-child{font-size:.76rem;color:#a7bad2}
.febr-side:nth-child(1) .febr-player{color:var(--febr-cyan)}
.febr-side:nth-child(2) .febr-player{color:var(--febr-purple)}
.febr-viewport{position:relative;overflow:hidden;width:100%;height:157px;border-radius:10px;background:#0a1020;box-shadow:inset 0 0 20px #0008;border:1px solid #3a3154}
.febr-viewport::before,.febr-viewport::after{content:'';position:absolute;z-index:2;pointer-events:none;top:0;bottom:0;width:11%;background:linear-gradient(90deg,#0a1020,transparent)}
.febr-viewport::after{right:0;transform:scaleX(-1)}
.febr-viewport::before{left:0}
.febr-marker{position:absolute;z-index:5;left:50%;top:0;bottom:0;width:2px;transform:translateX(-50%);background:linear-gradient(180deg,transparent,#30eae0 22%,#9cfaf7 50%,#30eae0 78%,transparent);box-shadow:0 0 9px #24f7db,0 0 19px #24e1cb}
.febr-track{display:flex;align-items:stretch;gap:6px;position:absolute;left:0;top:7px;height:141px;will-change:transform;transform:translate3d(0,0,0)}
.febr-card{flex:0 0 118px;width:118px;box-sizing:border-box;display:flex;flex-direction:column;gap:3px;text-align:center;align-items:center;justify-content:flex-start;background:linear-gradient(160deg,#18182a,#111729);border:1px solid #39364b;border-bottom:3px solid #4b69ff;border-radius:8px;padding:6px 5px 7px;overflow:hidden}
.febr-card[data-rarity="Restricted"]{border-bottom-color:#8847ff}.febr-card[data-rarity="Classified"]{border-bottom-color:#d32ce6}.febr-card[data-rarity="Covert"]{border-bottom-color:#eb4b4b}.febr-card[data-rarity="Rare Special"]{border-bottom-color:#f3c04f;background:linear-gradient(140deg,#352416,#131727)}
.febr-card img{width:102px;height:70px;object-fit:contain;flex-shrink:0}.febr-card strong{font-size:10px;line-height:1.2;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.febr-card span{font-size:9px;color:#aeb3c8;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.febr-card.febr-landed{border-color:var(--febr-cyan);box-shadow:0 0 13px #2de2d66b;transform:translateY(-2px)}
.febr-card.febr-landed[data-rarity="Rare Special"]{border-color:#e6b64e;box-shadow:0 0 17px #edb956a1}
.febr-drop{min-height:68px;display:flex;align-items:center;gap:10px;margin:10px 5px 0;border:1px solid #342b4c;border-radius:10px;padding:7px 9px;background:#161427;opacity:.65}
.febr-drop.febr-visible{opacity:1;border-color:rgba(57,229,218,.5)}
.febr-drop img{width:67px;height:49px;object-fit:contain;flex-shrink:0}
.febr-drop div{min-width:0}.febr-drop strong{display:block;font-size:.84rem;overflow-wrap:anywhere}.febr-drop small{display:block;font-size:.72rem;color:#b5a9cb;margin-top:3px}
.febr-score{font-weight:800;color:var(--febr-cyan);font-size:.78rem;margin-top:10px;padding-left:6px}
.febr-finale{display:none;text-align:center;margin-top:15px;padding:15px;background:linear-gradient(100deg,#29133c,#101a28);border:1px solid rgba(74,224,215,.5);border-radius:11px}
.febr-finale.is-visible{display:block}.febr-finale h3{margin:4px 0;color:#3de4d7}.febr-finale p{margin:5px 0;color:#e8e4f9}
.febr-replay{display:block;margin:13px 0 9px}
.febr-running .feb-results,.febr-running>.feb-note,.febr-running>.febr-replay{display:none}
@media(max-width:700px){.febr-versus{grid-template-columns:1fr}.febr-stage{padding:10px}.febr-viewport{height:140px}.febr-track{height:125px}.febr-card{flex-basis:106px;width:106px}.febr-card img{width:88px;height:62px}}
@media(prefers-reduced-motion:reduce){.febr-track{transition:none!important}}

.febr-v21-badge{display:inline-flex;margin:12px 0 0;padding:6px 11px;border:1px solid #22bfb4;border-radius:8px;color:#42ebe1;background:#071f27;font:700 11px Arial,sans-serif;letter-spacing:.07em}

/* V21: Vertical reel, in-place inside original FRAG ELITE Case Battles page. */
.febr-viewport{height:425px;min-height:425px;position:relative;overflow:hidden}
.febr-viewport::before,.febr-viewport::after{left:0;right:0;width:auto;height:13%;top:0;bottom:auto;background:linear-gradient(180deg,#0a1020,transparent);transform:none}
.febr-viewport::after{top:auto;bottom:0;background:linear-gradient(0deg,#0a1020,transparent)}
.febr-marker{left:0;right:0;top:50%;bottom:auto;width:100%;height:3px;transform:translateY(-50%);background:linear-gradient(90deg,transparent,#27e9e1 12%,#a9fff9 50%,#27e9e1 88%,transparent);box-shadow:0 0 10px #21e4d8,0 0 25px #24d2e4}
.febr-track{position:absolute;top:0;left:0;right:0;width:100%;height:auto;display:flex;flex-direction:column;align-items:center;gap:9px;will-change:transform;transform:translate3d(0,0,0)}
.febr-card{flex:0 0 150px;height:150px;width:calc(100% - 24px);max-width:430px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:9px;padding:7px;box-shadow:inset 0 0 12px #0006}
.febr-card img{width:min(92%,240px);height:103px;object-fit:contain;flex-shrink:0}
.febr-card strong{font-size:12px;max-width:95%;line-height:1.2}
.febr-card span{font-size:11px;max-width:95%;line-height:1.2}
.febr-card.febr-landed{transform:none;border-color:#27e8df;box-shadow:inset 0 0 11px #21e4d630,0 0 16px #32f7e87a}
.febr-round-result{font-size:.82rem;font-weight:900;text-align:center;margin:10px 0 0;color:#a9c7d1;letter-spacing:.12em}
.febr-side-win{border-color:#20d9c0;box-shadow:0 0 22px #22e5bb33}
.febr-side-win .febr-round-result{color:#33f5bb}
.febr-side-lose .febr-round-result{color:#fb8498}
.febr-side-tie .febr-round-result{color:#ecbdff}
.febr-v21-badge{display:inline-flex;margin:12px 0 0;padding:6px 11px;border:1px solid #22bfb4;border-radius:8px;color:#42ebe1;background:#071f27;font:700 11px Arial,sans-serif;letter-spacing:.07em}
@media(max-width:700px){.febr-viewport{height:350px;min-height:350px}.febr-card{width:calc(100% - 14px);height:126px;flex-basis:126px}.febr-card img{height:83px;width:93%}.febr-card strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){.febr-track{transition:none!important}}
