* { box-sizing: border-box; margin: 0; padding: 0; }
:root { --acc: #2ee6a8; --bg: #0d1114; --panel: rgba(22, 28, 33, 0.92); --line: rgba(255,255,255,0.09); --txt: #d8dde2; --dim: #8a949c; }
html, body { width: 100%; height: 100%; overflow: hidden; background: var(--bg); color: var(--txt);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; user-select: none; }
button { font-family: inherit; }
kbd { display: inline-block; min-width: 22px; padding: 1px 6px; margin-right: 6px; border: 1px solid #ccc; border-radius: 3px; background: rgba(255,255,255,0.12); font-family: inherit; font-weight: bold; text-align: center; }

/* ---------- 大厅 ---------- */
#lobby { position: fixed; inset: 0; display: flex; flex-direction: column;
  background: radial-gradient(ellipse at 70% 0%, #23313a 0%, #0d1114 60%), #0d1114; }
.topbar { display: flex; align-items: center; height: 58px; padding: 0 24px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,0.35); flex-shrink: 0; }
.logo { font-size: 20px; font-weight: bold; letter-spacing: 2px; display: flex; align-items: center; gap: 8px; margin-right: 36px; }
.logo .tri { color: var(--acc); font-size: 22px; }
.logo small { font-size: 11px; color: #111; background: var(--acc); padding: 1px 6px; border-radius: 2px; letter-spacing: 0; }
#tabs { display: flex; gap: 4px; flex: 1; }
#tabs button { background: none; border: 0; color: var(--dim); font-size: 15px; padding: 18px 20px; cursor: pointer; border-bottom: 3px solid transparent; }
#tabs button:hover { color: #fff; }
#tabs button.on { color: #fff; border-bottom-color: var(--acc); background: linear-gradient(0deg, rgba(46,230,168,0.12), transparent); }
.home { color: var(--dim); text-decoration: none; font-size: 13px; margin-right: 22px; }
.home:hover { color: #fff; }
.money { display: flex; align-items: center; gap: 6px; font-size: 18px; }
.money .coin { color: #f2c94c; }
.money small { color: var(--dim); font-size: 12px; }
#page { flex: 1; overflow: auto; padding: 22px 28px; }

.btn { border: 0; padding: 10px 22px; font-size: 15px; cursor: pointer; border-radius: 2px; background: #2c353d; color: #fff; }
.btn:hover { background: #38434c; }
.btn.primary { background: var(--acc); color: #0b1a14; font-weight: bold; }
.btn.primary:hover { background: #5cf0bf; }
.btn.danger { background: #a3352b; }
.btn.danger:hover { background: #c0453a; }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* 开始行动 */
.play { display: grid; grid-template-columns: 1fr 360px; gap: 24px; max-width: 1300px; margin: 0 auto; }
.h2 { font-size: 22px; margin-bottom: 14px; letter-spacing: 1px; }
.h2 small { font-size: 13px; color: var(--dim); margin-left: 10px; font-weight: normal; }
.maps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mapcard { position: relative; height: 270px; border: 2px solid var(--line); cursor: pointer; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; transition: border-color .15s; }
.mapcard:hover { border-color: rgba(46,230,168,0.5); }
.mapcard.sel { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc), 0 0 30px rgba(46,230,168,0.2); }
.mapcard.desert { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85)), linear-gradient(160deg, #e9c98f, #b88452 50%, #6d4a2c); }
.mapcard.dusk { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85)), linear-gradient(160deg, #f0a070, #8a4a5a 50%, #2a2a48); }
.mapcard .art { position: absolute; inset: 0; opacity: 0.35; font-size: 140px; display: flex; align-items: center; justify-content: center; top: -40px; }
.mapcard .mn { font-size: 26px; font-weight: bold; position: relative; }
.mapcard .tag { position: absolute; top: 14px; left: 14px; font-size: 12px; padding: 3px 10px; background: rgba(0,0,0,0.5); border-left: 3px solid var(--acc); }
.mapcard .tag.hard { border-color: #e04a3a; }
.mapcard .md { color: #ddd; margin-top: 6px; position: relative; line-height: 1.6; }
.mapcard .mi { color: var(--dim); font-size: 12px; margin-top: 8px; position: relative; }
.how { margin-top: 20px; background: var(--panel); border: 1px solid var(--line); padding: 16px 20px; line-height: 1.9; color: #c5ccd2; }
.how b { color: var(--acc); }
.loadout { background: var(--panel); border: 1px solid var(--line); padding: 18px; }
.lo-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }
.lo-row span { color: var(--dim); }
.lo-row b.none { color: #6a7278; font-weight: normal; }
.lo-total { font-size: 16px; margin: 14px 0; }
.lo-total b { color: #f2c94c; font-size: 20px; }
.warn { color: #ffb24a; font-size: 13px; margin: 8px 0; line-height: 1.6; }
.deploy { width: 100%; padding: 16px; font-size: 20px; letter-spacing: 4px; margin-top: 8px; }

/* 交易行 */
.shop-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.shop-tabs button { background: #1d252b; border: 1px solid var(--line); color: var(--dim); padding: 8px 18px; cursor: pointer; font-size: 14px; }
.shop-tabs button.on { color: #0b1a14; background: var(--acc); }
.goods { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.good { background: var(--panel); border: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 6px; border-top: 3px solid; }
.good .gi { font-size: 34px; }
.good .gn { font-size: 16px; font-weight: bold; }
.good .gs { color: var(--dim); font-size: 12px; line-height: 1.6; min-height: 38px; }
.good .gp { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.good .gp b { color: #f2c94c; font-size: 16px; }

/* 战绩 */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--panel); border: 1px solid var(--line); padding: 16px; }
.stat b { display: block; font-size: 26px; margin-top: 6px; color: #fff; }
.stat span { color: var(--dim); font-size: 13px; }
table.hist { width: 100%; border-collapse: collapse; background: var(--panel); }
table.hist td, table.hist th { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
table.hist th { color: var(--dim); font-weight: normal; }
.ok { color: #4dff88; } .bad { color: #ff6a5a; }

/* 设置 */
.settings { max-width: 640px; background: var(--panel); border: 1px solid var(--line); padding: 24px; }
.settings label { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.settings input[type=range] { width: 260px; }
.settings .help { margin-top: 18px; line-height: 2; color: #c5ccd2; }

/* ---------- 背包界面 ---------- */
.inv { display: flex; gap: 18px; align-items: flex-start; }
.inv-col { background: var(--panel); border: 1px solid var(--line); padding: 12px; }
.inv-equip { width: 230px; flex-shrink: 0; }
.inv-mine { flex-shrink: 0; max-height: calc(100vh - 140px); overflow-y: auto; }
.inv-other { flex: 1; min-width: 0; display: flex; flex-direction: column; max-height: calc(100vh - 140px); }
.inv-scroll { overflow-y: auto; flex: 1; padding-right: 4px; }
.inv-title { font-size: 13px; color: var(--dim); margin: 2px 0 8px; display: flex; justify-content: space-between; gap: 12px; letter-spacing: 1px; }
.inv-title span { color: #f2c94c; letter-spacing: 0; }
.inv-sec { margin-bottom: 12px; }
.inv-none { color: #555e65; font-size: 13px; padding: 10px; border: 1px dashed #333b42; }
.inv-sum { margin-top: 10px; font-size: 13px; color: var(--dim); }
.inv-sum b { color: #f2c94c; font-size: 16px; }
.inv-tools { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.slot { position: relative; height: 66px; margin-bottom: 7px; border: 1px solid #333b42; background: rgba(0,0,0,0.3); padding: 6px 8px 6px 56px; cursor: pointer; }
.slot:hover { border-color: #5a656e; }
.slot-label { position: absolute; top: 3px; right: 6px; font-size: 11px; color: var(--dim); }
.slot-icon { position: absolute; left: 8px; top: 12px; font-size: 32px; width: 42px; display: flex; justify-content: center; }
.slot-name { font-size: 13px; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 30px; }
.slot-info { font-size: 11px; color: var(--dim); margin-top: 3px; }
.slot-empty { color: #4a535a; position: absolute; left: 12px; top: 22px; }
.durbar { position: absolute; left: 0; bottom: 0; right: 0; height: 3px; background: #222; }
.durbar i { display: block; height: 100%; background: var(--acc); }
.grid { position: relative; background-color: rgba(0,0,0,0.35);
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  border: 1px solid #333b42; }
.item { position: absolute; margin: 1px; border: 1px solid; cursor: grab; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.item .ic { font-size: 22px; line-height: 1; pointer-events: none; width: 100%; display: flex; justify-content: center; }
svg.gun { width: 86%; max-height: 70%; filter: drop-shadow(0 1px 1px #000); }
.slot-icon svg.gun { width: 42px; }
.good .gi svg.gun { width: 130px; height: 40px; }
.item .nm { position: absolute; top: 1px; left: 3px; right: 3px; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,0.85); pointer-events: none; }
.item .bd { position: absolute; bottom: 1px; right: 3px; font-size: 10px; color: #fff; pointer-events: none; }
.item .bd.v { color: #f2c94c; }
.item.ghost { position: fixed; pointer-events: none; z-index: 1000; opacity: 0.85; }
.item.hidden { background: #1a1f23; border-color: #2c3339; cursor: default; }
.item.hidden .q { color: #4a545b; font-size: 18px; font-weight: bold; }
.item.searching { background: #20282d; }
.item.searching .spin { width: 18px; height: 18px; border: 2px solid #6b7780; border-top-color: transparent; border-radius: 50%; animation: spin 0.6s linear infinite; }
.item.searching .prog { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--acc); }
@keyframes spin { to { transform: rotate(360deg); } }
.item.fresh { animation: fresh 0.6s ease-out; }
@keyframes fresh { from { filter: brightness(2.2); transform: scale(1.08); } to { filter: none; transform: none; } }
.slot.r1, .item.r1 { background: linear-gradient(160deg, rgba(125,131,140,0.35), rgba(60,65,70,0.5)); border-color: #7d838c; }
.slot.r2, .item.r2 { background: linear-gradient(160deg, rgba(63,154,76,0.4), rgba(30,60,35,0.6)); border-color: #3f9a4c; }
.slot.r3, .item.r3 { background: linear-gradient(160deg, rgba(58,123,213,0.4), rgba(25,45,80,0.6)); border-color: #3a7bd5; }
.slot.r4, .item.r4 { background: linear-gradient(160deg, rgba(142,68,201,0.45), rgba(55,25,80,0.6)); border-color: #8e44c9; }
.slot.r5, .item.r5 { background: linear-gradient(160deg, rgba(212,160,23,0.5), rgba(90,65,10,0.6)); border-color: #d4a017; }
.slot.r6, .item.r6 { background: linear-gradient(160deg, rgba(208,54,47,0.55), rgba(90,20,18,0.6)); border-color: #ff5446; box-shadow: inset 0 0 12px rgba(255,80,60,0.5); }
#tooltip { position: fixed; display: none; z-index: 2000; max-width: 320px; background: rgba(10,13,16,0.97); border: 1px solid #3a444c; padding: 10px 12px; pointer-events: none; }
.tt-name { font-size: 15px; font-weight: bold; margin-bottom: 6px; }
.tt-row { font-size: 12px; color: #c0c8ce; margin: 3px 0; }
.tt-row b { color: #f2c94c; }
.tt-hint { font-size: 11px; color: #6b757d; margin-top: 8px; border-top: 1px solid #2a3238; padding-top: 6px; }
#ctxmenu { position: fixed; display: none; z-index: 2001; background: #151b20; border: 1px solid #3a444c; min-width: 150px; }
#ctxmenu .mi { padding: 8px 14px; cursor: pointer; font-size: 13px; }
#ctxmenu .mi:hover { background: var(--acc); color: #0b1a14; }
#ctxmenu .mi.sell { color: #f2c94c; }
#ctxmenu .mi.sell:hover { color: #0b1a14; }
#lobbyToast { position: fixed; left: 50%; top: 80px; transform: translateX(-50%); background: rgba(0,0,0,0.85); border-left: 3px solid var(--acc); padding: 10px 22px; font-size: 15px; opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 3000; }

/* ---------- 加载 ---------- */
#loading { position: fixed; inset: 0; background: #000; display: none; align-items: center; justify-content: center; z-index: 50; }
.ld-box { text-align: center; }
.ld-tri { font-size: 80px; color: var(--acc); animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: 0.4; } to { opacity: 1; } }
#ldText { font-size: 20px; letter-spacing: 3px; margin-top: 10px; }
.ld-tip { color: var(--dim); margin-top: 16px; max-width: 520px; line-height: 1.7; }

/* ---------- 游戏 HUD ---------- */
#game { position: fixed; inset: 0; display: none; }
#game canvas { display: block; }
#hud { position: fixed; inset: 0; pointer-events: none; display: none; z-index: 10; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
#compass { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(0,0,0,0.35) 20%, rgba(0,0,0,0.35) 80%, transparent); }
#mmWrap { position: absolute; top: 14px; left: 14px; text-align: center; }
#minimap { display: block; opacity: 0.92; }
#timer { margin-top: 6px; font-size: 22px; font-weight: bold; letter-spacing: 2px; background: rgba(0,0,0,0.45); display: inline-block; padding: 2px 14px; }
#timer.warn { color: #ff5a4a; animation: pulse 0.5s infinite alternate; }
.mm-hint { font-size: 11px; color: #aaa; margin-top: 3px; }
#killfeed { position: absolute; top: 70px; right: 18px; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
#killfeed div { background: rgba(0,0,0,0.5); padding: 5px 12px; border-right: 3px solid #ff5a4a; font-size: 14px; }
#killfeed span { color: #aaa; font-size: 12px; margin-left: 6px; }
#crosshair { --gap: 8px; position: absolute; left: 50%; top: 50%; width: 0; height: 0; transition: opacity .1s; }
#crosshair i { position: absolute; background: rgba(255,255,255,0.9); box-shadow: 0 0 2px #000; }
#crosshair .t { width: 2px; height: 9px; left: -1px; bottom: var(--gap); }
#crosshair .b { width: 2px; height: 9px; left: -1px; top: var(--gap); }
#crosshair .l { width: 9px; height: 2px; top: -1px; right: var(--gap); }
#crosshair .r { width: 9px; height: 2px; top: -1px; left: var(--gap); }
#crosshair em { position: absolute; width: 2px; height: 2px; left: -1px; top: -1px; background: #fff; }
#hitmark { position: absolute; left: 50%; top: 50%; opacity: 0; }
#hitmark i { position: absolute; width: 10px; height: 2px; background: #fff; }
#hitmark i:nth-child(1) { transform: translate(-16px, -12px) rotate(45deg); }
#hitmark i:nth-child(2) { transform: translate(6px, -12px) rotate(-45deg); }
#hitmark i:nth-child(3) { transform: translate(-16px, 10px) rotate(-45deg); }
#hitmark i:nth-child(4) { transform: translate(6px, 10px) rotate(45deg); }
#hitmark.head i { background: #ffcf40; }
#hitmark.kill i { background: #ff3b30; width: 14px; height: 3px; }
.dmgdir { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.dmgdir::before { content: ''; position: absolute; left: -40px; top: -150px; width: 80px; height: 22px; border-radius: 50% 50% 0 0; border-top: 6px solid rgba(255,40,30,0.85); }
#prompt { position: absolute; left: 50%; top: 58%; transform: translateX(-50%); font-size: 16px; display: none; background: rgba(0,0,0,0.4); padding: 6px 14px; }
#actionBar, #extractBar { position: absolute; left: 50%; top: 64%; transform: translateX(-50%); width: 260px; display: none; text-align: center; }
#actionBar div, #extractBar div { font-size: 14px; margin-bottom: 4px; }
#actionBar i, #extractBar i { display: block; height: 4px; background: var(--acc); }
#extractBar { top: 30%; width: 320px; }
#extractBar b { font-size: 34px; color: #4dff88; display: block; }
#extractBar i { background: #4dff88; }
#toast { position: absolute; left: 50%; top: 20%; transform: translateX(-50%); font-size: 17px; background: rgba(0,0,0,0.55); padding: 8px 20px; opacity: 0; transition: opacity .3s; white-space: nowrap; }
#status { position: absolute; left: 18px; bottom: 18px; width: 270px; background: rgba(0,0,0,0.35); padding: 10px 12px; }
.st-row { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
.st-l { font-size: 12px; color: #bbb; width: 28px; }
.bar { flex: 1; height: 6px; background: rgba(255,255,255,0.15); }
.bar i { display: block; height: 100%; background: #e8e8e8; transition: width .15s; }
.bar.hp { height: 10px; }
.bar.ar i { background: #5aa9ff; }
.bar.st i { background: #e8d070; }
#hpText { font-size: 20px; width: 38px; text-align: right; }
.stance { font-size: 12px; border: 1px solid #888; padding: 0 4px; }
#weapon { position: absolute; right: 22px; bottom: 18px; text-align: right; }
#wName { font-size: 14px; color: #ccc; }
.ammo b { font-size: 46px; font-weight: bold; }
.ammo b.low { color: #ff6a4a; }
.ammo span { font-size: 20px; color: #aaa; margin-left: 4px; }
.keys { font-size: 11px; color: #999; margin-top: 2px; }
#scope { position: absolute; inset: 0; display: none; background: radial-gradient(circle at center, transparent 0, transparent 33vh, #000 33.3vh); }
#scope .sc-h { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #000; }
#scope .sc-v { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #000; }
#hurt { position: absolute; inset: 0; opacity: 0; background: radial-gradient(ellipse at center, transparent 45%, rgba(170,0,0,0.75)); }
#deathFlash { position: absolute; inset: 0; opacity: 0; background: rgba(90,0,0,0.75); transition: opacity 1.5s; }

#bigMap { position: fixed; inset: 0; z-index: 20; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.6); pointer-events: none; }
.bm-box { background: rgba(15,18,22,0.95); border: 1px solid #3a444c; padding: 12px; }
.bm-title { margin-bottom: 8px; font-size: 16px; }
.bm-title small { color: var(--dim); margin-left: 8px; }
#bigMapCanvas { width: min(80vh, 720px); height: min(80vh, 720px); display: block; }

#invOverlay { position: fixed; inset: 0; z-index: 30; display: none; flex-direction: column; padding: 20px 28px; background: rgba(8,10,12,0.78); backdrop-filter: blur(3px); }
.inv-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 14px; }
.inv-head b { font-size: 20px; }
.inv-head span { color: var(--dim); }

#clickToPlay { position: fixed; inset: 0; z-index: 25; display: none; align-items: center; justify-content: center; cursor: pointer; }
#clickToPlay div { background: rgba(0,0,0,0.7); padding: 16px 40px; font-size: 20px; border: 1px solid var(--acc); }

#pauseMenu { position: fixed; inset: 0; z-index: 40; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.6); }
.pm-box { width: 460px; background: #12171b; border: 1px solid #3a444c; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.pm-box h2 { letter-spacing: 4px; }
.pm-box label { display: flex; justify-content: space-between; align-items: center; color: #bbb; }
.pm-box .help { font-size: 13px; line-height: 1.9; color: #aab; background: rgba(255,255,255,0.04); padding: 10px 12px; }
.pm-box .help b { color: #fff; display: block; }

/* ---------- 结算 ---------- */
#result { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, #1c252b, #070a0c); }
.rs-box { width: 640px; text-align: center; }
.rs-title { font-size: 54px; font-weight: bold; letter-spacing: 10px; }
.rs-title.ok { color: #4dff88; text-shadow: 0 0 30px rgba(77,255,136,0.4); }
.rs-title.bad { color: #ff5a4a; text-shadow: 0 0 30px rgba(255,90,74,0.4); }
.rs-sub { color: var(--dim); margin: 8px 0 26px; font-size: 15px; }
.rs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.rs-grid div { background: rgba(255,255,255,0.05); border: 1px solid var(--line); padding: 14px; }
.rs-grid span { color: var(--dim); font-size: 13px; }
.rs-grid b { display: block; font-size: 24px; margin-top: 6px; }
.rs-kills { color: #bbb; margin-bottom: 24px; line-height: 1.8; }

/* 改枪台 */
.gsmith { display: grid; grid-template-columns: 240px 1fr 300px; gap: 16px; align-items: start; }
.gs-list { display: flex; flex-direction: column; gap: 8px; }
.gs-gun { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid; cursor: pointer; opacity: 0.75; }
.gs-gun:hover, .gs-gun.on { opacity: 1; }
.gs-gun.on { outline: 2px solid var(--acc); }
.gs-gun .gs-ic { width: 70px; flex-shrink: 0; display: flex; justify-content: center; }
.gs-gun .gs-ic svg.gun { width: 70px; }
.gs-gun b { display: block; font-size: 14px; }
.gs-gun span { font-size: 12px; color: #c0c8ce; }
.gs-main { background: var(--panel); border: 1px solid var(--line); padding: 16px; }
.gs-head { display: flex; align-items: center; gap: 20px; margin-bottom: 14px; }
.gs-big svg.gun { width: 220px; max-height: 80px; }
.gs-name { font-size: 22px; font-weight: bold; }
.gs-sub { color: var(--dim); margin-top: 4px; }
.gs-slot { border-top: 1px solid var(--line); padding: 12px 0; }
.gs-sh { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.gs-sh span { color: var(--dim); width: 40px; }
.gs-sh b { flex: 1; }
.gs-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.gs-opt { border: 1px solid; padding: 8px 10px; display: flex; flex-direction: column; gap: 3px; }
.gs-opt.on { outline: 2px solid var(--acc); }
.gs-oi { font-size: 20px; }
.gs-on { font-weight: bold; }
.gs-od { font-size: 12px; color: #c8d0d6; line-height: 1.5; flex: 1; }
.gs-of { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; font-size: 12px; }
.gs-of .price { color: #f2c94c; font-size: 13px; }
.gs-stats { background: var(--panel); border: 1px solid var(--line); padding: 14px; position: sticky; top: 0; }
.gs-row { margin: 9px 0; }
.gs-l { display: flex; justify-content: space-between; font-size: 13px; color: #c0c8ce; margin-bottom: 4px; }
.gs-l b { color: #fff; }
.gs-l em { font-style: normal; margin-left: 4px; }
.gs-bar { position: relative; height: 6px; background: rgba(255,255,255,0.1); }
.gs-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: #dfe4e8; }
.gs-bar u { position: absolute; top: 0; bottom: 0; }
.up { color: #4dff88; } .down { color: #ff6a5a; }
.gs-bar u.up { background: #4dff88; } .gs-bar u.down { background: #ff6a5a; }

.safe-types { display: flex; gap: 4px; margin-bottom: 8px; }
.safe-types .btn { padding: 4px 10px; font-size: 12px; }

.lo-total .luck { color: #ff7a4a; font-size: 15px; font-weight: bold; }
.luck-tip { color: #8a949c; font-size: 12px; margin: -8px 0 10px; }
