/* Beveled game controls; the surrounding illustration stays visible. */
.lobby-page{min-height:100dvh;background:#0d1220;color:#f2f4fc;isolation:isolate}
.lobby-page::before{content:'';position:fixed;inset:0;z-index:-2;background-image:url('/vanguard/assets/lobby/v-aichi.webp'),url('/vanguard/assets/lobby/v-kai.webp'),url('/vanguard/assets/lobby/v-ren.webp'),url('/vanguard/assets/lobby/v-space.webp');background-size:auto min(84dvh,839px),auto min(90dvh,974px),auto min(90dvh,1021px),cover;background-position:left 14% bottom,left 1% bottom,right 1% bottom,center;background-repeat:no-repeat;pointer-events:none}
.lobby-page::after{content:'';position:fixed;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 48%,#0d142bd9 0,#0b11264a 70%),linear-gradient(0deg,#090e20ed,transparent 85%);pointer-events:none}
.lobby-page:not([data-page=lobby])::after{background:linear-gradient(0deg,#0d1220e8,#101322ad)}
.lobby-page .topbar{background:#0c142866;border-bottom-color:#ffffff14;backdrop-filter:blur(8px)}
.lobby-page .topbar button{border-radius:4px;font-size:12px;background:#0e1736b0;border-color:#bed0f044}
.lobby-page .topbar .language button[aria-pressed=true]{background:#ef8272;color:#171a2b}
.lobby-page[data-page=lobby] .tabs{display:none}
.lobby-page[data-page=lobby] #content{display:grid;place-items:center;min-height:calc(100dvh - 70px);max-width:none;padding:28px 20px}
.game-hub{width:min(540px,100%);padding:0 12px;background:none;border:0;box-shadow:none}
.hub-title{display:flex;align-items:center;gap:14px;padding:0 4px 19px;border-bottom:1px solid #c0d2ef47;margin-bottom:19px}
.hub-title .eyebrow{font-size:10px;font-weight:600;letter-spacing:1.5px;color:#c1cee9}.hub-title h1{font-size:30px;font-weight:700;line-height:1.15;letter-spacing:0;margin:5px 0 0;color:#fff;text-shadow:0 2px 5px #0008}
.hub-mark{font-size:48px;line-height:1;font-weight:700;color:#ff8d7b;font-style:italic;text-shadow:3px 2px #301529}
.hub-series{font-size:9px;letter-spacing:1.5px;color:#a6b6d3;margin-left:auto;border-left:2px solid #ee8a7855;padding-left:10px;white-space:nowrap}
.hub-group{margin-top:17px}.hub-group h2{font-size:11px;font-weight:600;letter-spacing:.5px;margin:0 4px 7px;color:#aabbd6;display:flex;align-items:center;gap:12px}.hub-group h2::after{content:'';height:1px;background:#c3d6ff26;flex:1}
.hub-grid,.hub-play{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hub-play{grid-template-columns:1.35fr 1fr}
.hub-button{--bevel:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px));position:relative;isolation:isolate;display:flex;align-items:center;gap:12px;min-width:0;min-height:77px;width:100%;border:0;border-radius:0;background:none!important;padding:13px 16px;color:#f4f7ff;text-align:left;transition:transform .14s,color .14s;filter:drop-shadow(0 3px 2px #0004)}
.hub-button::before,.hub-button::after{content:'';position:absolute;clip-path:var(--bevel);pointer-events:none;z-index:-1;transition:background .14s}
.hub-button::before{inset:0;background:linear-gradient(120deg,#bbd0f575,#52698a55)}
.hub-button::after{inset:1px;background:linear-gradient(115deg,#233753f2,#141e36ee);border-left:3px solid #90a7cb55}
.hub-button:hover{transform:translateX(3px)}.hub-button:hover::before{background:#d2e5ff}.hub-button:hover::after{background:linear-gradient(115deg,#344d6bf5,#1d2b4bee)}.hub-button:active{transform:translateY(2px) scale(.98)}.hub-button:focus-visible,.deck-pick:focus-visible{outline:3px solid #ffb19f;outline-offset:4px}
.hub-button span{display:flex;flex-direction:column;gap:4px;min-width:0}.hub-button b{font-size:17px;line-height:1.35;font-weight:700}.hub-button small{font-size:10px;font-weight:400;color:#aebfd9;line-height:1.4}
.hub-icon{width:30px;height:38px;display:grid;place-items:center;flex:none;font-style:normal;color:#adc5e8}.hub-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.hub-icon img{height:40px;width:29px;object-fit:contain;transform:rotate(-9deg);filter:drop-shadow(2px 2px 1px #0006)}.hub-cards{position:relative}.hub-cards::before{content:'';position:absolute;width:23px;height:33px;background:#457196;border:1px solid #9fbcdf;transform:translate(-3px,-2px) rotate(-20deg);z-index:-1}
.hub-button>svg{width:12px;height:18px;margin-left:auto;opacity:.55;flex:none}
.hub-primary{color:#fff}.hub-primary::before{background:linear-gradient(110deg,#ffd8a1,#fb8373)}.hub-primary::after{border-left-color:#ffd2ae;background:linear-gradient(120deg,#c24e3bf5,#85273ff5)}.hub-primary b{font-size:20px}.hub-primary small,.hub-primary .hub-icon{color:#ffe2d3}.hub-primary:hover::after{background:linear-gradient(120deg,#df6247,#a63749)}
.hub-booster::after{border-left-color:#ffc39977}.hub-booster .hub-icon img{width:24px;height:43px}
.hub-active{margin-top:22px;display:flex;align-items:center;gap:12px;border-top:1px solid #d3e1ff26;padding:15px 4px 0}.hub-active>img{width:41px;height:58px;object-fit:contain;transform:rotate(-6deg);filter:drop-shadow(0 3px 3px #0006)}.hub-active>div{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.hub-active small{font-size:10px;color:#acbdd9}.hub-active b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hub-active span{font-size:11px;color:#b2bdd2}.hub-active button{font-size:12px;min-height:44px;padding:8px 13px;border-radius:3px;background:#182840a8;border-color:#96b3d450;flex:none}
#deck-picker{width:min(640px,calc(100vw - 24px))}.deck-picker-grid{padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.deck-pick{display:flex;align-items:center;gap:12px;text-align:left;background:#ffffff0c;border:1px solid #ffffff20;border-radius:10px;padding:12px;min-width:0}.deck-pick img{height:85px;width:58px;object-fit:contain;flex:none}.deck-pick span{display:flex;flex-direction:column;gap:6px;min-width:0}.deck-pick b{font-size:13px;overflow-wrap:anywhere}.deck-pick small{font-size:10px;color:#c2c7d3}.deck-pick.selected{border-color:#ffb19f;background:#ec968317}
.lobby-page[data-page=shop] #content{max-width:1000px}.lobby-page[data-page=shop] .pack-page{background:#111b3266;backdrop-filter:blur(10px);border-radius:12px;padding:25px 20px}
.pack-actions{flex-wrap:wrap}.pack-actions button{border-radius:4px;font-weight:600;background:#243b58;border-color:#6b88ab;padding:10px 24px}.pack-actions .primary{background:#c95043;border-color:#ffad87;color:#fff}.pack-actions #open-ten-packs{position:relative;min-width:185px}.pack-actions button small{display:block;font-size:10px;font-weight:400;opacity:.85}.pack-progress{display:flex;align-items:center;justify-content:center;gap:10px;color:#c6d5ee;font-size:12px;margin:0 0 15px}.pack-progress strong{color:#ffbaa6}.pack-progress progress{width:110px;height:4px;accent-color:#ffad87}.pack-batch-badge{position:absolute;bottom:12%;right:-14px;padding:6px 14px;font-weight:700;font-size:20px;background:#bf4f40;color:#fff;transform:rotate(-7deg);box-shadow:0 2px 6px #0005}.pack-results{width:100%}.pack-results h2{margin-bottom:4px}.pack-results>p{font-size:12px;color:#adbedb;margin-bottom:24px}.pack-results .result-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:16px 10px}.pack-results .result-card{position:relative;font-size:10px}.pack-results .result-card>span{line-height:1.35}.result-card .rarity-label{position:absolute;top:2px;right:2px;padding:2px 6px;font-size:9px;background:#152744e8;border-radius:2px;color:#c7d8ef}.result-card.rarity-RRR .rarity-label,.result-card.rarity-VR .rarity-label{background:#985631e8;color:#fff0cd}
@media(max-width:600px){.lobby-page::before{background-size:auto 83dvh,auto 90dvh,auto 90dvh,cover;background-position:left 4% bottom 80px,left -110px bottom,right -145px bottom,center}.lobby-page[data-page=lobby] #content{min-height:calc(100dvh - 54px);padding:28px 10px}.game-hub{padding:0 3px;max-width:440px}.hub-title{gap:10px;padding-bottom:16px;margin-bottom:18px}.hub-title h1{font-size:27px}.hub-mark{font-size:43px}.hub-title .eyebrow{font-size:9px;letter-spacing:1px}.hub-series{font-size:8px;letter-spacing:.5px}.hub-button{min-height:76px;padding:12px 11px;gap:9px}.hub-button b{font-size:15px}.hub-primary b{font-size:18px}.hub-button small{font-size:10px}.hub-button>svg{display:none}.hub-icon{width:26px}.hub-icon svg{width:25px;height:25px}.hub-play{grid-template-columns:1.2fr 1fr}.hub-group{margin-top:18px}.hub-active{gap:10px}.hub-active b{font-size:12px}.hub-active span{font-size:10px}.deck-picker-grid{padding:15px;grid-template-columns:1fr}.lobby-page[data-page=shop] .pack-page{padding:22px 8px;border-radius:10px}.pack-page h1{font-size:27px}.pack-actions{gap:8px}.pack-actions button{min-width:110px;padding:10px 16px}.pack-actions #open-ten-packs{min-width:155px}.pack-results .result-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px}.pack-results h2{font-size:22px}}
@media(max-width:350px){.hub-title h1{font-size:23px}.hub-series{display:none}.hub-button b{font-size:14px}.hub-primary b{font-size:16px}.hub-button small{font-size:9px}.hub-active button{padding:8px}.hub-active b{font-size:11px}}
@media(max-height:550px) and (orientation:landscape){.lobby-page[data-page=lobby] #content{padding:15px 20px;min-height:calc(100dvh - 54px)}.game-hub{width:min(850px,100%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0}.hub-title{grid-column:1/-1;margin:0;padding:0 4px 10px;gap:10px}.hub-title h1{font-size:23px;margin-top:3px}.hub-mark{font-size:37px}.hub-series{font-size:9px}.hub-group{margin-top:0}.hub-grid,.hub-play{grid-template-columns:1fr;gap:7px}.hub-button{min-height:55px;padding:9px 12px}.hub-button b,.hub-primary b{font-size:15px}.hub-button small{font-size:9px}.hub-button>svg{display:none}.hub-icon,.hub-icon img{height:31px}.hub-active{grid-column:1/-1;margin:0;padding-top:10px}.hub-active>img{height:44px;width:30px}.pack-results .result-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.hub-button,.hub-button::before,.hub-button::after{transition:none}.hub-button:hover,.hub-button:active{transform:none}}
.hub-watch{grid-column:1/-1;min-height:58px}.hub-watch::after{background:linear-gradient(115deg,#254557c4,#142237bb);border-left-color:#92dcc1}
.watch-page{max-width:900px;margin:20px auto;padding:20px;background:#14203370;border:1px solid #ffffff25;border-radius:12px;backdrop-filter:blur(8px)}
.watch-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.watch-heading h1{margin:5px 0;font-size:28px}.watch-heading button{min-height:44px}.watch-note,#watch-status{font-size:13px;color:#d6e1ef}.watch-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.watch-match{padding:18px;background:#e3efff09;border:1px solid #ffffff30;border-radius:8px}.watch-match-meta{display:flex;align-items:center;gap:10px;font-size:10px;color:#b8c9e0;flex-wrap:wrap}.live-badge{color:#a6f1cf;letter-spacing:1px;font-weight:700}.live-badge::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:5px}
.watch-mode{padding:4px 8px;border:1px solid currentColor;border-radius:6px;font-size:12px;font-weight:700}.watch-mode.ranked{color:#edcf83;background:#edcf8310}.watch-mode.training{color:#d0acff;background:#d0acff10}.watch-mode.casual{color:#83caff;background:#83caff10}
.daily-login-reward{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0;padding:14px 18px;border:1px solid #e6c47777;border-radius:12px;background:linear-gradient(110deg,#e6c47718,#5898ff0d)}.daily-login-reward b{color:#ffe1a0}.daily-login-reward small{display:block;margin-top:4px;color:#b8c9e0;font-size:12px}.daily-login-reward>span{color:#ffe1a0;font-weight:700;white-space:nowrap}
.watch-versus{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;margin:20px 0}.watch-player{min-width:0;display:flex;flex-direction:column;gap:5px}.watch-player strong{font-size:17px;overflow-wrap:anywhere}.watch-player small{font-size:11px;color:#c6d2e6;line-height:1.6}.watch-vs{color:#ffb8a7;font-size:12px;font-style:italic;font-weight:700}
.watch-enter{display:flex;align-items:center;gap:10px;min-height:46px;padding:8px 14px;background:#b5dcff13;border:1px solid #ffffff30;border-radius:4px;color:#fff;text-decoration:none;font-size:14px}.watch-enter svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}.watch-enter svg:last-child{margin-left:auto;width:12px}.watch-enter:hover{background:#b5dcff28}.watch-enter:focus-visible{outline:2px solid #ffb19f;outline-offset:3px}
@media(max-width:600px){.watch-page{margin:10px auto;padding:16px 12px}.watch-list{grid-template-columns:1fr;gap:12px}.watch-heading h1{font-size:25px}.watch-player strong{font-size:16px}.watch-note{line-height:1.7}}

.ranked-lineup{display:grid;gap:12px;width:min(100%,530px);margin:18px auto;text-align:left}.ranked-lineup label{display:grid;gap:5px;font-size:12px;color:#a4e9f1}.ranked-lineup select{width:100%;margin:0}.ranked-lineup p,.ranked-lineup>small{font-size:12px;text-align:center}
.watch-search-label{display:block;margin:18px 0 8px;color:#c6d2e6;font-size:14px}.watch-page #watch-search{box-sizing:border-box;width:100%;min-height:46px}.watch-pages{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:20px}.watch-pages button{min-height:44px}.room-form .room-watch-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px;border:1px solid #ffffff30;border-radius:8px}.room-form .room-watch-toggle[hidden]{display:none}.room-watch-toggle small{display:block;color:#b8c9e0;font-size:12px;margin-top:5px}.room-watch-toggle input{width:22px;height:22px;flex:0 0 22px;accent-color:#ff8d7c}

.room-watch-toggle input[role="switch"]{appearance:none;-webkit-appearance:none;position:relative;width:44px;height:26px;flex-basis:44px;min-height:26px;padding:0;border:1px solid #748099;border-radius:20px;background:#344058;cursor:pointer}.room-watch-toggle input[role="switch"]::before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;transition:transform .15s}.room-watch-toggle input[role="switch"]:checked{background:#c9584a;border-color:#ffb19f}.room-watch-toggle input[role="switch"]:checked::before{transform:translateX(18px)}.room-watch-toggle input[role="switch"]:focus-visible{outline:2px solid #ffb19f;outline-offset:3px}
/* Normal-mode matchmaking dialog (normal-lobby.js). */
.normal-mode-dialog{width:min(460px,calc(100vw - 20px))}.normal-mode h2{margin:0}.normal-mode .normal-note{color:var(--ui-muted)}.normal-mode select{width:100%}.normal-mode .actions{gap:8px}
.normal-rewards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0;padding:0;list-style:none}.normal-rewards li{display:flex;flex-direction:column;align-items:center;padding:10px 6px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-raised)}.normal-rewards b{font-size:20px;line-height:1.2;color:var(--ui-accent)}.normal-rewards span{font-size:11px;color:var(--ui-muted)}
.normal-status{display:flex;align-items:center;gap:8px;min-height:1.5em}.normal-mode-dialog.searching .normal-status::before{content:"";flex:none;width:14px;height:14px;border:2px solid var(--ui-border);border-top-color:var(--ui-accent);border-radius:50%;animation:normal-spin .8s linear infinite}
@keyframes normal-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.normal-mode-dialog.searching .normal-status::before{animation:none}}
/* Fan-made ranked event (owner 2026-11-14) */
.fan-ranked-dialog{width:min(560px,calc(100vw - 20px))}.fan-ranked h2,.fan-ranked h3{margin:0}.fan-ranked .fan-note{color:var(--ui-muted)}.fan-ranked select{width:100%}.fan-ranked .actions{gap:8px}
.fan-board{width:100%;border-collapse:collapse;font-size:.92em}.fan-board th,.fan-board td{padding:5px 6px;text-align:left;border-bottom:1px solid var(--ui-border)}.fan-board td:nth-child(n+3),.fan-board th:nth-child(n+3){text-align:right}.fan-board tr.me td{color:var(--ui-accent);font-weight:700}
.fan-me li span{white-space:nowrap}
.fan-rewards{list-style:none;margin:0;padding:0;display:grid;gap:4px}.fan-rewards li{display:grid;grid-template-columns:minmax(90px,auto) 1fr auto;gap:8px;align-items:center;padding:4px 6px;border-bottom:1px solid var(--ui-border)}.fan-rewards em{font-style:normal;color:var(--ui-accent);white-space:nowrap}.fan-claim{border:1px solid var(--ui-accent);border-radius:8px;padding:8px 10px;display:grid;gap:6px}
/* Fan-made ranked, game style (owner 14 Nov 2026): cartoon ink outline, rainbow bands, HUD, podium */
.hub-fight .fm-lobby-entry{position:relative;overflow:hidden;border:2px solid #07080b!important;border-radius:10px;background:linear-gradient(105deg,#0c0f15,#141a24)!important;box-shadow:3px 3px 0 #07080b,inset 0 0 0 1px #ffffff14!important;padding:15px 12px 15px 16px!important;gap:12px!important;margin:6px 0}
.hub-fight .fm-lobby-entry::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#07080b;box-shadow:inset -2px 0 0 #2ff3ff,0 0 10px #2ff3ffaa}
.hub-fight .fm-lobby-entry b{color:#fff4c2!important;letter-spacing:.03em}.hub-fight .fm-lobby-entry small{color:#c8d3e6!important}
.fm-entry-icon{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border:2px solid #07080b;border-radius:9px;background:#ffd23f;box-shadow:2px 2px 0 #07080b}
.fm-entry-icon svg{width:24px;height:24px;fill:#fff8e8;stroke:#07080b;stroke-width:1.6;stroke-linejoin:round}
.fm-entry-tag{position:relative;z-index:2;font:800 10px/1 system-ui,sans-serif;letter-spacing:.08em;color:#07080b;background:#fff8e8;border:2px solid #07080b;border-radius:4px;padding:4px 6px;transform:rotate(-4deg);box-shadow:2px 2px 0 #07080b;margin-left:auto}
.fm-entry-art{position:absolute;right:34px;top:-14px;width:74px;height:108px;transform:rotate(12deg);border:2px solid #07080b;border-radius:6px;background:url(/vanguard/assets/cards-thumb/FM-SL01-001.webp) center/cover;opacity:.55;pointer-events:none}
.fm-lobby-entry>svg:last-child,.fm-lobby-entry>span:last-child{position:relative;z-index:2}
.hub-fight .fm-lobby-entry .fm-entry-icon{flex:0 0 40px!important;width:40px!important;min-width:0!important;padding:0!important}.hub-fight .fm-lobby-entry .fm-entry-tag{flex:0 0 auto}
/* Phone (owner 16 Nov): half-width tile like Event VS; tag as a sticker on the icon corner, art behind, text kept to two lines. */
@media(max-width:600px){.hub-fight .fm-lobby-entry{height:74px;min-height:74px;box-sizing:border-box;margin:0!important;padding:10px 8px 10px 11px!important;gap:8px!important}.hub-fight .fm-lobby-entry .fm-entry-icon{flex:0 0 32px!important;width:32px!important;height:32px;border-radius:7px}.hub-fight .fm-lobby-entry .fm-entry-icon svg{width:19px;height:19px}.hub-fight .fm-lobby-entry>span:not(.fm-entry-icon){position:relative;z-index:2;min-width:0;flex:1}.hub-fight .fm-lobby-entry b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hub-fight .fm-lobby-entry small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:9px;line-height:1.35}.hub-fight .fm-lobby-entry .fm-entry-tag{position:absolute;top:3px;left:4px;margin:0;font-size:7px;padding:2px 3px;border-width:1.5px;box-shadow:1px 1px 0 #07080b}.hub-fight .fm-lobby-entry .fm-entry-art{right:-8px;top:-10px;width:52px;height:76px;opacity:.28}}
/* Fan-made ranked v2 (owner 14 Nov 2026): black neon game window with tabs */
.fm-v2{width:min(640px,calc(100vw - 16px));max-height:calc(100vh - 24px);padding:0!important;overflow:auto;border:2px solid #07080b!important;background:#0b0d12!important;box-shadow:0 0 0 1px #2ff3ff55,0 0 28px #2ff3ff33,6px 6px 0 #07080b!important;color:#e8eef8}
.fm-top{position:relative;padding:18px 16px 14px;background:linear-gradient(90deg,#07080bf2 35%,#07080b99),url(/vanguard/assets/cards/FM-SL01-001.webp) right 18%/58% auto no-repeat,#0b0d12;border-bottom:2px solid #2ff3ff;box-shadow:0 6px 18px -8px #2ff3ff88}
.fm-top h2{margin:8px 0 6px;font-size:28px;color:#fff;letter-spacing:.02em;text-shadow:0 0 12px #2ff3ff88,2px 2px 0 #07080b}
.fm-tag{display:inline-block;font:800 10px/1 system-ui,sans-serif;letter-spacing:.14em;color:#2ff3ff;border:1px solid #2ff3ff;border-radius:4px;padding:4px 7px;box-shadow:0 0 8px #2ff3ff66,inset 0 0 6px #2ff3ff33;background:#07080b}
.fm-status{display:inline-block;color:#dff;font-size:13px;background:#07080bcc;border:1px solid #2ff3ff66;border-radius:999px;padding:3px 10px}
.fm-close{position:absolute;right:10px;top:10px}
.fm-hud{display:grid;grid-template-columns:1.1fr .8fr 1.2fr 1.2fr;gap:8px;padding:12px 14px 6px}
.fm-stat{display:grid;gap:4px;align-content:start;background:#11141b;border:1px solid #ffffff14;border-radius:8px;padding:8px 10px;min-width:0}
.fm-stat small{color:#8fa2bd;font-size:11px}.fm-stat b{font-size:20px;color:#fff}.fm-stat.big b{font-size:28px;color:#2ff3ff;text-shadow:0 0 10px #2ff3ffaa}
.fm-pips{display:grid;grid-template-columns:repeat(10,1fr);gap:3px}.fm-pips i{height:10px;border-radius:2px;background:#232a36}.fm-pips i.on{background:#2ff3ff;box-shadow:0 0 6px #2ff3ff}
.fm-bar{height:10px;border-radius:5px;background:#232a36;overflow:hidden}.fm-bar i{display:block;height:100%;background:#2ff3ff;box-shadow:0 0 8px #2ff3ff}
.fm-tabs{display:flex;gap:6px;padding:8px 14px 0;border-bottom:1px solid #ffffff14}
.fm-tabs button{flex:1;border:0!important;border-radius:8px 8px 0 0!important;background:transparent!important;color:#8fa2bd!important;font:700 14px/1 system-ui,sans-serif;padding:11px 8px!important;border-bottom:3px solid transparent!important}
.fm-tabs button.on{color:#fff!important;border-bottom-color:#2ff3ff!important;text-shadow:0 0 8px #2ff3ff88;background:linear-gradient(180deg,transparent,#2ff3ff12)!important}
.fm-pane{display:none;padding:14px;gap:12px}.fm-pane.on{display:grid}
.fm-stage{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:16px 10px;border-radius:12px;background:radial-gradient(circle at 50% 50%,#2ff3ff14,transparent 60%),repeating-linear-gradient(115deg,#ffffff05 0 2px,transparent 2px 14px),#0e1118;border:1px solid #ffffff12;overflow:hidden}
.fm-side{display:grid;justify-items:center;gap:8px}.fm-side span{font-size:13px;color:#c9d6ea}
.fm-card{width:min(132px,28vw);aspect-ratio:683/1000;border-radius:8px;border:2px solid #07080b;outline:1px solid #2ff3ff88;box-shadow:0 0 16px #2ff3ff44;overflow:hidden;background:#141922;position:relative}
.fm-card img{width:100%;height:100%;object-fit:cover;display:block}
.fm-card.back{display:grid;place-items:center;background:repeating-linear-gradient(45deg,#121722 0 8px,#0d1119 8px 16px)}.fm-card.back b{font:900 48px/1 system-ui,sans-serif;color:#2b3443}
.fm-scan{position:absolute;left:0;right:0;height:30%;top:-30%;background:linear-gradient(180deg,transparent,#2ff3ff55,transparent);opacity:0}
.fm-vs{display:grid;justify-items:center;gap:6px}.fm-vs b{font:900 italic 34px/1 system-ui,sans-serif;color:#fff;text-shadow:0 0 14px #2ff3ff,2px 2px 0 #07080b}
.fm-timer{font:700 13px/1 ui-monospace,Consolas,monospace;color:#2ff3ff;opacity:0}
.fm-v2.searching .fm-scan{opacity:1;animation:fmScan 1.6s linear infinite}.fm-v2.searching .fm-card.back{animation:fmPulse 1.6s ease-in-out infinite}.fm-v2.searching .fm-timer{opacity:1}.fm-v2.searching .fm-card.back b{color:#2ff3ff;text-shadow:0 0 12px #2ff3ff}
.fm-v2.found .fm-card.back{outline-color:#ffd23f;box-shadow:0 0 22px #ffd23f}.fm-v2.found .fm-card.back b{color:#ffd23f}
@keyframes fmScan{to{top:100%}}@keyframes fmPulse{50%{box-shadow:0 0 26px #2ff3ffaa}}
.fm-fight{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:end}.fm-deck{display:grid;gap:4px}.fm-deck small{color:#8fa2bd;font-size:11px}.fm-deck select{min-width:0}
.fm-go{font:800 16px/1 system-ui,sans-serif;letter-spacing:.06em;color:#07080b!important;background:#2ff3ff!important;border:2px solid #07080b!important;border-radius:8px!important;box-shadow:0 0 14px #2ff3ff99,3px 3px 0 #07080b;padding:13px 20px!important;cursor:pointer;transition:transform .08s}
.fm-go:hover{transform:translate(-1px,-1px)}.fm-go:active{transform:translate(2px,2px);box-shadow:0 0 8px #2ff3ff88,1px 1px 0 #07080b}.fm-go:disabled{filter:grayscale(1);opacity:.5}
.fm-cancel{border:1px solid #ffffff33!important;border-radius:8px!important;padding:13px 16px!important}
.fm-msg{margin:0;color:#c9d6ea;font-size:13px;min-height:1.4em}.fm-note{margin:0;color:#8fa2bd;font-size:12px}.fm-empty{color:#8fa2bd;text-align:center}
.fm-rules summary{cursor:pointer;color:#c9d6ea;font-size:13px}.fm-rules p{color:#8fa2bd;font-size:12px;line-height:1.6}
.fm-claim{display:grid;gap:6px;justify-items:start;border:1px solid #ffd23f;border-radius:10px;padding:10px 12px;background:#1d1a0d;box-shadow:0 0 14px #ffd23f44}.fm-claim small{color:#ffe9a3}.fm-claim b{color:#ffd23f}
.fm-tiers{display:grid;gap:10px}
.fm-tier{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center;background:#11141b;border:1px solid #ffffff14;border-radius:12px;padding:14px 14px 18px}
.fm-tier.mine{border-color:#2ff3ff;box-shadow:0 0 16px #2ff3ff55}
.fm-show{position:static!important;display:block!important;background:none!important;padding:8px 6px 8px!important;inset:auto!important;width:auto!important;height:auto!important;min-height:0!important}
.fm-v2 .fm-show.match-versus .vs-frame.fighter-card{width:92px!important;max-width:92px!important;height:auto!important;flex:none!important}
.fm-tier-info{display:grid;gap:6px;justify-items:start}.fm-tier-info small{color:#8fa2bd;font-size:12px}.fm-tier-info span{color:#c9d6ea;font-size:12px}.fm-tier-info b{color:#2ff3ff;font-size:18px;text-shadow:0 0 8px #2ff3ff88}
.fm-tier-info .season-title-chip{font-size:12px;padding:3px 9px;border-radius:5px;font-style:normal}
.fm-you{color:#07080b!important;background:#2ff3ff;border-radius:4px;padding:1px 6px;font-size:11px!important;text-shadow:none!important}
.fm-guest-badge{width:92px;aspect-ratio:683/1000;display:grid;place-content:center;justify-items:center;border-radius:8px;border:1px dashed #ffffff33;background:#0e1118}.fm-guest-badge b{font:900 30px/1 system-ui,sans-serif;color:#fff}.fm-guest-badge small{color:#8fa2bd}
.fm-h{margin:0;font-size:14px;color:#c9d6ea}
.fm-podium{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:8px;align-items:end}
.fm-pod{display:grid;justify-items:center;gap:2px;background:#11141b;border:1px solid #ffffff14;border-radius:10px 10px 4px 4px;padding:10px 6px 8px;min-width:0}
.fm-pod.p1{padding-top:20px;border-color:#2ff3ff;box-shadow:0 0 16px #2ff3ff44;background:linear-gradient(180deg,#0c1d22,#11141b)}.fm-pod.p2{padding-top:13px}.fm-pod.empty{visibility:hidden}
.fm-pod i{font:900 15px/1 system-ui,sans-serif;font-style:normal;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:#07080b;background:#c9d2e3}
.fm-pod.p1 i{background:#07080b;color:#2ff3ff;border:2px solid #2ff3ff;box-shadow:0 0 10px #2ff3ffaa;text-shadow:0 0 6px #2ff3ff}.fm-pod.p3 i{background:#e3a36b}
.fm-pod span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:13px}.fm-pod b{color:#2ff3ff;font-size:19px}.fm-pod small{color:#8fa2bd;font-size:10px}
.fm-pod.me,.fm-board li.me{outline:2px solid #ffd23f}
.fm-board{list-style:none;margin:0;padding:0;display:grid;gap:4px}.fm-board li{display:grid;grid-template-columns:34px 1fr auto auto;gap:8px;align-items:center;background:#11141b;border:1px solid #ffffff10;border-radius:6px;padding:7px 9px;font-size:13px}
.fm-board b{color:#8fa2bd}.fm-board em{font-style:normal;color:#2ff3ff}.fm-board small{color:#8fa2bd}
@media(max-width:520px){.fm-hud{grid-template-columns:1fr 1fr}.fm-fight{grid-template-columns:1fr 1fr}.fm-deck{grid-column:1/-1}.fm-top h2{font-size:23px}.fm-vs b{font-size:26px}}
