/* DUO 증강 알까기 (2026-11-17) — fl-* */
:root { --fl-bg: #11131c; --fl-panel: #1b1e2c; --fl-line: #2f3450; --fl-text: #eef1fb; --fl-muted: #9aa3c4; --fl-gold: #ffd36a; --fl-red: #ff5b5b; }
body.fl-body { background: radial-gradient(ellipse at top, #22263a, var(--fl-bg) 60%) fixed; color: var(--fl-text); font-family: "Gowun Dodum", "Jua", system-ui, sans-serif; min-height: 100vh; }
#flApp { max-width: 1380px; margin: 0 auto; padding: 0 12px 24px; box-sizing: border-box; }
.fl-scr { display: none; } .fl-scr.active { display: block; }
.fl-muted { color: var(--fl-muted); font-size: .92em; }
.fl-err { color: #ff8a8a; min-height: 1.2em; text-align: center; font-weight: 700; }
.fl-solo-opts .px-seg { flex-wrap: wrap; }
[hidden] { display: none !important; }
.fl-btn { appearance: none; border: 0; border-radius: 12px; padding: 10px 16px; font: inherit; font-weight: 900; color: #fff; background: linear-gradient(#34395e, #262a46); box-shadow: inset 0 0 0 1.5px #4a5180, 0 3px 0 #0d0f1c; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: transform .1s, filter .1s; }
.fl-btn:hover:not(:disabled) { filter: brightness(1.15); transform: translateY(-1px); }
.fl-btn:disabled { opacity: .45; cursor: default; }
.fl-btn.sm { padding: 6px 11px; font-size: 13px; border-radius: 10px; } .fl-btn.lg { padding: 13px 26px; font-size: 17px; }
.fl-btn.gold { background: linear-gradient(#ffd36a, #e0a020); color: #2b1a00; box-shadow: inset 0 0 0 1.5px #fff2c0, 0 3px 0 #7a5200; }
.fl-btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px #4a5180; }
.fl-icon { width: 38px; height: 38px; border-radius: 11px; border: 0; background: #262a46; color: #fff; font-size: 18px; cursor: pointer; box-shadow: inset 0 0 0 1.5px #4a5180; }
.fl-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; padding: 5px 0; line-height: 1.4; cursor: pointer; }
.fl-check input { margin-top: 2px; accent-color: #ffd36a; width: 16px; height: 16px; flex: none; }
.fl-in { background: #1e2236; color: #fff; border: 1px solid #4a5180; border-radius: 8px; padding: 6px 8px; font: inherit; min-width: 0; flex: 1; }

/* 대기실 */
.fl-lobby { padding: 18px 0; }
.fl-lobby-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.fl-lobby-head h2 { margin: 0; font-family: "Black Han Sans", sans-serif; font-size: 28px; }
.fl-code-card { display: flex; align-items: center; gap: 8px; background: var(--fl-panel); padding: 10px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--fl-line); flex-wrap: wrap; }
.fl-code-label { font-size: 12px; color: var(--fl-muted); font-weight: 800; }
.fl-code { font: 900 24px/1 "Black Han Sans", monospace; letter-spacing: 4px; color: var(--fl-gold); background: transparent; border: 0; cursor: pointer; min-width: 120px; }
.fl-lobby-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
.fl-panel { background: var(--fl-panel); border-radius: 16px; padding: 14px 16px; box-shadow: inset 0 0 0 1.5px var(--fl-line); }
.fl-panel h3 { margin: 0 0 10px; font-size: 16px; display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.fl-sub { margin: 12px 0 6px; font-size: 14px; color: var(--fl-gold); }
.fl-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.fl-mode { text-align: left; border: 0; border-radius: 12px; padding: 10px 12px; background: #23273f; color: #fff; font: inherit; cursor: pointer; box-shadow: inset 0 0 0 1.5px #383e66; display: flex; flex-direction: column; gap: 3px; }
.fl-mode b { font-size: 15px; } .fl-mode span { font-size: 12px; color: var(--fl-muted); }
.fl-mode.on { box-shadow: inset 0 0 0 2.5px var(--fl-gold), 0 0 16px rgba(255, 211, 106, .25); background: #2a2f50; }
.fl-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 14px; }
.fl-opt select, .fl-bdiff { background: #23273f; color: #fff; border: 1px solid #4a5180; border-radius: 8px; padding: 5px 8px; font: inherit; }
.fl-maps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fl-maps.big { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fl-map { border: 0; border-radius: 10px; padding: 0; overflow: hidden; background: #23273f; color: #fff; font: inherit; font-size: 11.5px; font-weight: 800; cursor: pointer; box-shadow: inset 0 0 0 1.5px #383e66; display: flex; flex-direction: column; }
.fl-map i { display: block; height: 38px; }
.fl-map span { padding: 4px 2px; text-align: center; }
.fl-map.on { box-shadow: inset 0 0 0 2.5px var(--fl-gold); } .fl-map:disabled { cursor: default; }
.m-classic i { background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(60,30,10,.6) 7px 8px), repeating-linear-gradient(90deg, transparent 0 7px, rgba(60,30,10,.6) 7px 8px), linear-gradient(135deg, #e8b86a, #c48a3c); }
.m-neon i { background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(80,220,255,.5) 9px 10px), repeating-linear-gradient(90deg, transparent 0 9px, rgba(80,220,255,.5) 9px 10px), #0b0820; box-shadow: inset 0 0 0 2px #ff3df0; }
.m-ice i { background: linear-gradient(135deg, #e9f7ff, #a9d8f2); }
.m-space i { background: radial-gradient(circle at 30% 30%, rgba(160,80,240,.6), transparent 50%), radial-gradient(circle at 70% 70%, rgba(40,120,220,.6), transparent 50%), #0a0a22; }
.m-volcano i { background: linear-gradient(120deg, transparent 40%, #ff7a1a 42%, transparent 46%), linear-gradient(60deg, transparent 55%, #ff5a00 57%, transparent 60%), #2a1410; }
.m-toy i { background: repeating-conic-gradient(#ffd9e8 0 25%, #d9f0ff 0 50%) 0 0 / 16px 16px; }
.m-cloud i { background: radial-gradient(circle at 30% 60%, #fff 18%, transparent 20%), radial-gradient(circle at 60% 40%, #fff 22%, transparent 24%), linear-gradient(#f5fbff, #cfe2ff); }
.m-ruins i { background: repeating-linear-gradient(0deg, transparent 0 11px, rgba(50,40,30,.6) 11px 12px), repeating-linear-gradient(90deg, transparent 0 11px, rgba(50,40,30,.6) 11px 12px), #968c74; }
.fl-skins { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.fl-skin { border: 0; border-radius: 10px; padding: 4px 2px; background: #23273f; color: #fff; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; box-shadow: inset 0 0 0 1.5px #383e66; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fl-skin canvas { width: 36px; height: 36px; }
.fl-skin.on { box-shadow: inset 0 0 0 2.5px var(--fl-gold); }
.fl-roster { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fl-roster li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: #20243b; }
.fl-roster li.empty { opacity: .45; } .fl-roster li.dc { opacity: .6; }
.fl-roster .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.fl-roster .nm small { font-size: 11px; color: var(--fl-muted); margin-left: 4px; } .fl-roster .nm em { color: var(--fl-gold); font-style: normal; font-size: 12px; }
.fl-team { border: 0; border-radius: 99px; padding: 3px 10px; font: inherit; font-size: 12px; font-weight: 900; color: #fff; cursor: pointer; }
.fl-team:disabled { cursor: default; opacity: .85; }
.fl-team.t0 { background: #2a5bd0; } .fl-team.t1 { background: #c43a3a; } .fl-team.t2 { background: #2b9a52; } .fl-team.t3 { background: #c79a17; }
.fl-crown { font-size: 14px; }
.fl-kick { border: 0; background: #3a2140; color: #ff9a9a; border-radius: 8px; width: 28px; height: 28px; cursor: pointer; }
.fl-bot-row { display: flex; gap: 8px; margin-top: 10px; }
.fl-spect { font-size: 13px; color: var(--fl-muted); margin-top: 10px; }
.fl-rule-box { margin-top: 12px; font-size: 13px; background: #161a2b; border-radius: 12px; padding: 10px 12px; }
.fl-rule-box ul { margin: 6px 0 0; padding-left: 18px; line-height: 1.55; color: #d6dbf0; }
.fl-stream { margin-top: 12px; background: #1e1830; border-radius: 12px; padding: 10px 12px; box-shadow: inset 0 0 0 1.5px #5a3f8a; }
.fl-note { font-size: 12.5px; line-height: 1.5; }
.fl-st-plat { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 6px 0; }
.fl-seg { display: inline-flex; background: #262a46; border-radius: 10px; padding: 2px; } .fl-seg button { border: 0; background: none; color: #fff; font: inherit; font-weight: 800; padding: 5px 10px; border-radius: 8px; cursor: pointer; } .fl-seg button.on { background: var(--fl-gold); color: #2b1a00; }
.fl-link-st { font-size: 12px; color: var(--fl-muted); width: 100%; } .fl-link-st.connected { color: #7dff8a; } .fl-link-st.error { color: #ff9a9a; }
.fl-st-rules .row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 3px 0; font-size: 13px; }
.fl-st-rules input { width: 86px; background: #262a46; color: #fff; border: 1px solid #4a5180; border-radius: 8px; padding: 4px 6px; font: inherit; }
.fl-st-rules select { background: #262a46; color: #fff; border: 1px solid #4a5180; border-radius: 8px; padding: 4px; font: inherit; font-size: 12px; }
.fl-donlog { margin-top: 8px; font-size: 12px; display: flex; flex-direction: column; gap: 3px; } .fl-donlog small { color: var(--fl-muted); }
.fl-lobby-actions { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.fl-av { border-radius: 50%; border: 2px solid; object-fit: cover; flex: none; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.fl-av.txt { border: 2px solid rgba(255, 255, 255, .7); color: #fff; font-weight: 900; }
.fl-av.empty { width: 34px; height: 34px; border: 2px dashed #555d88; }

/* 게임 */
body.fl-in-game { overscroll-behavior: none; }
.fl-game { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.fl-hud { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.fl-hud-l { display: flex; gap: 6px; flex-wrap: wrap; } .fl-hud-r { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.fl-chip { font-size: 12.5px; font-weight: 900; padding: 5px 10px; border-radius: 99px; background: #262a46; box-shadow: inset 0 0 0 1.5px #4a5180; }
.fl-spect-chip { background: #3a2a10; box-shadow: inset 0 0 0 1.5px #8a6a20; color: var(--fl-gold); }
.fl-turnbox { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: #20243b; box-shadow: inset 0 0 0 1.5px var(--fl-line); min-width: 170px; }
.fl-turnbox b { display: block; font-size: 14px; } .fl-turnbox small { font-size: 11px; color: var(--fl-muted); }
.fl-turnbox.mine { box-shadow: inset 0 0 0 2px var(--fl-gold), 0 0 18px rgba(255, 211, 106, .35); }
.fl-timer { position: relative; width: 40px; height: 40px; } .fl-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fl-timer .bg { fill: none; stroke: #262a46; stroke-width: 4; } .fl-timer .fg { fill: none; stroke: var(--fl-gold); stroke-width: 4; stroke-linecap: round; }
.fl-timer span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; }
.fl-timer.urgent .fg { stroke: var(--fl-red); } .fl-timer.urgent span { color: var(--fl-red); }
.fl-main { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 10px; align-items: stretch; }
.fl-arena { min-width: 0; position: relative; height: clamp(360px, calc(100vh - 290px), 760px); border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); touch-action: none; user-select: none; -webkit-user-select: none; }
.fl-arena canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }
.fl-arena.shake { animation: flShake .35s; }
@keyframes flShake { 25% { transform: translate(calc(var(--sh) * -1), calc(var(--sh) * .5)); } 50% { transform: translate(var(--sh), calc(var(--sh) * -.5)); } 75% { transform: translate(calc(var(--sh) * -.5), 0); } }
.fl-cast-banner { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; padding: 22px 40px; border-radius: 22px; background: rgba(20, 16, 4, .88); box-shadow: 0 0 0 3px var(--fl-gold), 0 0 60px rgba(255, 211, 106, .6); animation: flPop .6s ease both; }
.fl-cast-banner b { font: 900 40px/1.1 "Black Han Sans", sans-serif; color: var(--fl-gold); } .fl-cast-banner span { font-size: 20px; font-weight: 900; }
@keyframes flPop { from { transform: translate(-50%, -50%) scale(.6); opacity: 0; } }
.fl-side { min-width: 0; display: flex; flex-direction: column; gap: 10px; height: clamp(360px, calc(100vh - 290px), 760px); min-height: 0; }
.fl-players-panel { flex: 1 1 auto; overflow: auto; min-height: 0; }
.fl-log-panel { flex: 0 1 34%; min-height: 0; display: flex; flex-direction: column; }
.fl-log { list-style: none; margin: 0; padding: 0; overflow: auto; font-size: 12.5px; line-height: 1.45; flex: 1; }
.fl-log li { padding: 4px 6px 4px 9px; border-left: 3px solid var(--pc); margin-bottom: 3px; background: rgba(255, 255, 255, .03); border-radius: 0 6px 6px 0; }
.fl-pl { padding: 7px 8px; border-radius: 12px; background: #20243b; margin-bottom: 6px; box-shadow: inset 3px 0 0 var(--pc); }
.fl-pl.cur { box-shadow: inset 3px 0 0 var(--pc), inset 0 0 0 2px var(--pc), 0 0 16px color-mix(in srgb, var(--pc) 45%, transparent); }
.fl-pl.out { opacity: .5; filter: grayscale(.6); } .fl-pl.me { background: #262a1c; }
.fl-pl .top { display: flex; align-items: center; gap: 6px; font-size: 13.5px; } .fl-pl .top b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-pl .tm { font-size: 10.5px; font-weight: 900; padding: 1px 6px; border-radius: 99px; background: var(--tc); }
.fl-pl .dead { font-size: 11px; font-weight: 900; color: #ff9a9a; } .fl-pl .pk { font-size: 12px; }
.fl-pl .st { display: flex; align-items: center; gap: 3px; margin-top: 5px; }
.fl-pl .st i { width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 15%, var(--c) 50%, color-mix(in srgb, var(--c) 60%, #000)); box-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.fl-pl .st i.gone { background: none; box-shadow: inset 0 0 0 1.5px #555d88; }
.fl-pl .st .n { font-weight: 900; margin-left: 4px; }
.fl-pl .last { font-size: 11px; font-weight: 900; color: #2b1a00; background: var(--fl-gold); border-radius: 99px; padding: 1px 7px; animation: flBlink 1s infinite; }
.fl-pl .cb { font-size: 11px; font-weight: 900; color: #ff9a5a; }
@keyframes flBlink { 50% { opacity: .55; } }
.fl-pl .ag { display: flex; gap: 3px; flex-wrap: wrap; margin-top: 5px; }
.fl-aico { display: inline-block; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1.5px var(--rc); flex: none; } .fl-aico svg { width: 100%; height: 100%; display: block; } .fl-aico.spent { opacity: .4; }
.fl-castaug { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; padding: 2px 7px 2px 2px; border-radius: 99px; background: #262a46; box-shadow: inset 0 0 0 1.5px var(--rc); }
.fl-pl .ch { position: relative; height: 16px; border-radius: 8px; background: #161a2b; margin-top: 5px; overflow: hidden; } .fl-pl .ch span { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #ff6fb1, #ffd36a); } .fl-pl .ch em { position: relative; font-size: 10.5px; font-style: normal; font-weight: 900; padding-left: 6px; line-height: 16px; }
.fl-stream-panel h3 { font-size: 14px; } .fl-st-btns { display: flex; gap: 4px; flex-wrap: wrap; }
.fl-bottom { display: flex; flex-direction: column; gap: 6px; }
.fl-status { text-align: center; font-weight: 800; font-size: 14px; padding: 6px 12px; border-radius: 12px; background: #191c2d; color: #d6dbf0; min-height: 1.4em; }
.fl-status.mine { background: #2a2610; color: var(--fl-gold); box-shadow: inset 0 0 0 1.5px #6a5410; }
.fl-target { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; background: #2a2546; border-radius: 12px; padding: 8px; font-weight: 900; color: var(--fl-gold); }
.fl-controls { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.fl-power { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 13px; }
.fl-power .bar { width: 220px; height: 14px; border-radius: 7px; background: #20243b; box-shadow: inset 0 0 0 1.5px #4a5180; overflow: hidden; }
.fl-power .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7dff8a, #ffb23c 60%, #ff5a3c); transition: width .05s; }
.fl-power .bar.hot { box-shadow: inset 0 0 0 1.5px #ff5a3c, 0 0 12px rgba(255, 90, 60, .6); }
.fl-power b { min-width: 40px; }
.fl-curve { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; } .fl-curve button { border: 0; border-radius: 8px; padding: 5px 9px; font: inherit; font-weight: 900; background: #262a46; color: #fff; cursor: pointer; } .fl-curve button.on { background: #6edcff; color: #04232e; }
.fl-aug-bar { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.fl-augchip { position: relative; display: flex; align-items: center; gap: 7px; text-align: left; border: 0; padding: 4px 9px 4px 4px; border-radius: 12px; background: #20243b; color: #fff; font: inherit; box-shadow: inset 0 0 0 1.5px var(--rc); cursor: pointer; }
.fl-augchip .art { width: 34px; height: 34px; border-radius: 8px; overflow: hidden; flex: none; } .fl-augchip .art svg { width: 100%; height: 100%; display: block; }
.fl-augchip .tx { display: flex; flex-direction: column; min-width: 0; } .fl-augchip .tx b { font-size: 12.5px; white-space: nowrap; } .fl-augchip .tx small { font-size: 10.5px; color: var(--fl-muted); }
.fl-augchip .ch { position: absolute; top: -5px; right: -4px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--rc); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 900; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.fl-augchip .cd { position: absolute; bottom: -5px; right: -4px; min-width: 17px; height: 17px; border-radius: 9px; background: #555d88; color: #fff; font-size: 10px; font-style: normal; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.fl-augchip:not(.usable):not(.armed) { opacity: .62; }
.fl-augchip.usable { background: #2a2f4e; box-shadow: inset 0 0 0 2px var(--rc), 0 0 12px color-mix(in srgb, var(--rc) 50%, transparent); } .fl-augchip.usable .tx small { color: var(--fl-gold); font-weight: 900; }
.fl-augchip.armed { box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px var(--rc), 0 0 18px var(--rc); animation: akPulse 1s infinite; }
/* 방송 화면: 조작 줄 숨기고 플레이어 칸 크게 */
body.fl-cast .fl-main { grid-template-columns: minmax(0, 1fr) 360px; }
body.fl-cast .fl-pl { padding: 10px; } body.fl-cast .fl-pl .top { font-size: 17px; } body.fl-cast .fl-pl .st i { width: 18px; height: 18px; }
body.fl-cast .fl-log-panel { display: none; } body.fl-cast .fl-turnbox b { font-size: 18px; }
body.fl-cast:not(.fl-spectating) .fl-bottom .fl-status { font-size: 16px; }
body.fl-cast #btnCast { background: var(--fl-gold); }
/* 알림 */
.fl-toasts { position: fixed; left: 50%; top: 70px; transform: translateX(-50%); z-index: 2600; display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none; width: min(92vw, 460px); }
.fl-toast { background: rgba(24, 27, 44, .95); color: #fff; padding: 9px 16px; border-radius: 12px; font-weight: 800; font-size: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .5), inset 0 0 0 1.5px #4a5180; transition: opacity .35s, transform .35s; text-align: center; }
.fl-toast.out { opacity: 0; transform: translateY(-8px); } .fl-toast.warn { box-shadow: 0 6px 18px rgba(0, 0, 0, .5), inset 0 0 0 1.5px #a0302a; }
.fl-toast.ak-rare, .fl-toast.ak-epic, .fl-toast.ak-legend { box-shadow: 0 6px 18px rgba(0, 0, 0, .5), inset 0 0 0 2px var(--rc); }
.fl-banner { position: fixed; left: 50%; top: 36%; transform: translate(-50%, -50%); z-index: 2500; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 28px; border-radius: 18px; background: rgba(18, 20, 34, .9); box-shadow: 0 0 0 2px #4a5180, 0 20px 50px rgba(0, 0, 0, .6); text-align: center; }
.fl-banner.show { animation: flBan 1.5s ease both; }
.fl-banner b { font: 900 24px/1.15 "Black Han Sans", sans-serif; } .fl-banner span { font-size: 14px; color: #d6dbf0; font-weight: 800; }
.fl-banner .bi { width: 60px; height: 60px; border-radius: 12px; overflow: hidden; } .fl-banner .bi svg { width: 100%; height: 100%; }
.fl-banner.me { box-shadow: 0 0 0 2.5px var(--fl-gold), 0 0 40px rgba(255, 211, 106, .5); } .fl-banner.me b { color: var(--fl-gold); }
.fl-banner.don { box-shadow: 0 0 0 2.5px #ff6fb1, 0 0 40px rgba(255, 111, 177, .5); } .fl-banner.don b { color: #ffb3d6; }
.fl-banner.ak-rare, .fl-banner.ak-epic, .fl-banner.ak-legend { box-shadow: 0 0 0 2.5px var(--rc), 0 0 40px var(--rc); }
@keyframes flBan { 0% { opacity: 0; transform: translate(-50%, -40%) scale(.8); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } 22% { transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -60%); } }
/* 창 */
.fl-modal { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(6, 8, 16, .72); backdrop-filter: blur(2px); }
.fl-dialog { width: min(100%, 460px); max-height: calc(100vh - 32px); overflow: auto; background: var(--fl-panel); border-radius: 18px; padding: 18px; box-shadow: 0 0 0 2px var(--fl-line), 0 24px 60px rgba(0, 0, 0, .6); box-sizing: border-box; }
.fl-dialog.wide { width: min(100%, 880px); } .fl-dialog h3 { margin: 0 0 12px; } .fl-dialog h4 { margin: 14px 0 8px; color: var(--fl-gold); }
.fl-dialog-btns { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.fl-set-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; } .fl-set-row input { width: 52%; accent-color: #ffd36a; }
.fl-tabs { display: flex; gap: 6px; margin-bottom: 10px; } .fl-tabs button { border: 0; border-radius: 99px; padding: 6px 14px; font: inherit; font-weight: 900; background: #23273f; color: #fff; cursor: pointer; } .fl-tabs button.on { background: var(--fl-gold); color: #2b1a00; }
.fl-help-body { font-size: 14px; line-height: 1.6; } .fl-rules { padding-left: 18px; margin: 6px 0; }
.fl-dex-h { margin: 14px 0 6px; color: var(--rc); }
.fl-dex { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fl-dex-item { display: flex; gap: 10px; padding: 8px; border-radius: 12px; background: #1f2338; box-shadow: inset 0 0 0 1.5px var(--rc); }
.fl-dex-item .art { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; flex: none; } .fl-dex-item .art svg { width: 100%; height: 100%; }
.fl-dex-item small { color: var(--fl-muted); font-size: 11px; } .fl-dex-item p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.45; }
.fl-result { position: relative; width: min(100%, 780px); max-height: calc(100vh - 32px); overflow: auto; background: radial-gradient(ellipse at top, #2a2f50, #161a2b); border-radius: 22px; padding: 22px 18px; box-shadow: 0 0 0 2px var(--fl-gold), 0 30px 70px rgba(0, 0, 0, .7); text-align: center; box-sizing: border-box; }
.fl-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fl-result-title { font: 900 36px/1.1 "Black Han Sans", sans-serif; color: var(--fl-gold); margin-bottom: 10px; }
.fl-podium { display: flex; justify-content: center; align-items: flex-end; gap: 10px; margin: 8px 0 14px; }
.pd { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 120px; } .pd-av { position: relative; } .pd-crown { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 22px; }
.pd-nm { font-weight: 900; font-size: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pd-sc { font-size: 12px; color: var(--fl-muted); }
.pd-base { width: 100%; border-radius: 10px 10px 0 0; background: linear-gradient(#4a5180, #262a46); font: 900 22px/1 "Black Han Sans", sans-serif; padding-top: 10px; }
.pd-1 .pd-base { height: 70px; background: linear-gradient(#ffd36a, #b07a10); color: #2b1a00; } .pd-2 .pd-base { height: 50px; } .pd-3 .pd-base { height: 36px; }
.fl-res-wrap { overflow-x: auto; } .fl-res-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fl-res-table th, .fl-res-table td { padding: 6px; border-bottom: 1px solid #353b60; white-space: nowrap; } .fl-res-table td.nm { text-align: left; display: flex; align-items: center; gap: 6px; } .fl-res-table tr.me { background: rgba(255, 211, 106, .1); } .fl-res-table td.augs { display: flex; gap: 2px; }
.fl-result-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.fl-seo { max-width: 980px; margin: 20px auto 40px; padding: 18px 20px; background: var(--fl-panel); border-radius: 16px; font-size: 14px; line-height: 1.7; color: #d6dbf0; box-shadow: inset 0 0 0 1.5px var(--fl-line); }
.fl-seo h2 { margin: 0 0 8px; font-size: 18px; color: #fff; } .fl-seo a { color: var(--fl-gold); }
@media (max-width: 1100px) {
  .fl-main { grid-template-columns: minmax(0, 1fr); }
  .fl-side { height: auto; } .fl-log-panel { display: none; }
  .fl-players-panel #gPlayers { display: flex; gap: 6px; overflow-x: auto; } .fl-players-panel .fl-pl { flex: 0 0 auto; min-width: 140px; margin: 0; }
  body.fl-cast .fl-main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) { .fl-lobby-grid { grid-template-columns: 1fr; } .fl-skins { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  #flApp { padding: 0 6px 12px; }
  .fl-hud { grid-template-columns: auto 1fr auto; gap: 6px; } .fl-hud-l .fl-chip:not(#gAlive) { display: none; }
  .fl-turnbox { min-width: 0; padding: 4px 10px 4px 4px; } .fl-turnbox small { display: none; }
  .fl-icon { width: 34px; height: 34px; font-size: 16px; }
  .fl-arena { height: min(100vw, calc(100vh - 300px)); min-height: 300px; border-radius: 12px; }
  .fl-players-panel { padding: 8px; } .fl-players-panel h3 { display: none; } .fl-players-panel .fl-pl { min-width: 118px; padding: 5px 6px; }
  .fl-pl .top { font-size: 12px; } .fl-pl .ag { display: none; }
  .fl-power .bar { width: 130px; }
  .fl-augchip .tx b { font-size: 11.5px; } .fl-augchip .art { width: 28px; height: 28px; }
  .fl-maps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fl-modes { grid-template-columns: 1fr; } .fl-dex { grid-template-columns: 1fr; }
  .fl-banner b { font-size: 20px; } .pd { width: 92px; }
}
@media (prefers-reduced-motion: reduce) { .fl-pl .last, .fl-augchip.armed { animation: none; } .fl-arena.shake { animation: none; } }
