html, body { margin: 0; height: 100%; overflow: hidden; background: #0c1016; font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; color: #fff; user-select: none; }
#c { position: fixed; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }
#hud { position: fixed; inset: 0; pointer-events: none; text-shadow: 0 1px 3px rgba(0, 0, 0, .75); }
#hud[hidden], #bigmap[hidden], #help[hidden], #start[hidden], #garage[hidden], .modal[hidden], #chatbar[hidden], #fps[hidden], #nMake[hidden] { display: none; }
#tl { position: absolute; left: 18px; top: 14px; }
#money { font-size: 28px; font-weight: 700; color: #a8f0a0; letter-spacing: 1px; }
#stars { font-size: 24px; height: 30px; color: #ffd23a; letter-spacing: 3px; }
#stars i { font-style: normal; color: rgba(255, 255, 255, .22); }
#loc { font-size: 16px; margin-top: 2px; }
#mission { font-size: 15px; color: #ffe08a; margin-top: 6px; max-width: 420px; }
#toasts { position: absolute; left: 50%; top: 13%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
#toasts div { background: rgba(14, 20, 28, .72); padding: 7px 16px; border-radius: 8px; font-size: 16px; text-shadow: none; transition: opacity .5s; white-space: nowrap; }
#cross { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; transform: translate(-50%, -50%); border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%; box-sizing: border-box; }
#cross::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; margin: -1.5px; background: #fff; border-radius: 50%; }
#mini { position: absolute; left: 18px; bottom: 18px; width: 210px; height: 210px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .7); box-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
#br { position: absolute; right: 22px; bottom: 18px; text-align: right; min-width: 220px; }
#vname { font-size: 16px; opacity: .9; }
#speed b { font-size: 46px; font-weight: 700; }
#speed span { font-size: 15px; margin-left: 6px; opacity: .8; }
#alt { font-size: 15px; min-height: 20px; }
.bar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 5px; font-size: 13px; }
.bar span { width: 190px; height: 9px; background: rgba(0, 0, 0, .5); border-radius: 5px; overflow: hidden; display: block; }
.bar i { display: block; height: 100%; width: 100%; background: #6fdc6f; border-radius: 5px; }
#hpV { background: #6ab8ff; }
#hint { font-size: 13px; opacity: .85; margin-top: 8px; max-width: 330px; margin-left: auto; }
#banner { position: absolute; left: 0; right: 0; top: 34%; text-align: center; }
#banner h1 { font-size: 64px; margin: 0; color: #ff5a4a; letter-spacing: 8px; }
#banner p { font-size: 18px; margin: 6px 0 0; }
#hurt { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0) 45%, rgba(220, 20, 10, .55) 100%); opacity: 0; transition: opacity .25s; }
#keys { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: 13px; opacity: .7; white-space: nowrap; }
#bigmap { position: fixed; inset: 0; background: rgba(8, 12, 18, .82); }
#bigmap canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
#bigmap .tip { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: rgba(14, 20, 28, .8); padding: 8px 18px; border-radius: 8px; font-size: 15px; pointer-events: none; }
#help { position: fixed; inset: 0; background: rgba(8, 12, 18, .78); display: flex; align-items: center; justify-content: center; }
#help .panel { background: rgba(20, 27, 36, .96); border-radius: 14px; padding: 22px 30px; max-width: 1060px; width: 92%; }
#help h2 { margin: 0 0 8px; font-size: 24px; }
#help h3 { margin: 12px 0 4px; font-size: 16px; color: #ffd23a; }
#help p { margin: 0; line-height: 1.75; font-size: 14.5px; }
#help b { background: rgba(255, 255, 255, .14); padding: 1px 7px; border-radius: 4px; font-weight: 600; }
#help .cols { display: grid; grid-template-columns: 1.15fr 1fr 1.15fr; gap: 26px; }
#help .foot { margin-top: 16px; opacity: .85; }
#loading { position: fixed; inset: 0; background: linear-gradient(160deg, #101a26, #1d2c3a 55%, #3a3a44); display: flex; align-items: center; justify-content: center; }
#loading .box { text-align: center; width: min(560px, 88%); }
#loading h1 { font-size: 68px; margin: 0; letter-spacing: 12px; }
#loading .sub { opacity: .85; font-size: 17px; margin: 8px 0 30px; }
.track { height: 8px; background: rgba(255, 255, 255, .14); border-radius: 4px; overflow: hidden; }
.track i { display: block; height: 100%; width: 0; background: #ffd23a; transition: width .2s; }
#ltext { font-size: 15px; opacity: .85; min-height: 22px; }
#start { display: flex; gap: 14px; justify-content: center; margin-top: 8px; }
#start button { font: inherit; flex: 1; padding: 14px 10px; border: 0; border-radius: 10px; background: #ffd23a; color: #1a1a1a; cursor: pointer; }
#start button:hover { background: #ffe06a; }
#start button b { display: block; font-size: 21px; } #start button span { display: block; font-size: 12.5px; opacity: .8; margin-top: 4px; }
#start #mFree { background: #8fe0a0; } #start #mNet { background: #8fc4ff; }
#loading .mini { font-size: 13.5px; opacity: .65; margin-top: 22px; }
#hit { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 26px; color: #ff4a3a; opacity: 0; text-shadow: none; font-weight: 700; }
#scope { position: absolute; inset: 0; display: none; background: radial-gradient(circle at center, rgba(0,0,0,0) 0, rgba(0,0,0,0) 32vh, rgba(0,0,0,.98) 32.6vh); }
#scope::before, #scope::after { content: ""; position: absolute; background: rgba(0, 0, 0, .85); }
#scope::before { left: 50%; top: calc(50% - 32vh); width: 1.5px; height: 64vh; }
#scope::after { top: 50%; left: calc(50% - 32vh); height: 1.5px; width: 64vh; }
#scope.sight { background: radial-gradient(ellipse at center, rgba(0,0,0,0) 55%, rgba(0,0,0,.85) 100%); }
#scope.sight::before, #scope.sight::after { background: rgba(120, 255, 160, .5); }
#weapon { font-size: 17px; font-weight: 700; color: #ffe08a; }
#hpA { background: #b9c4d0; }
#garage { position: fixed; inset: 0; background: rgba(8, 12, 18, .72); display: flex; align-items: center; justify-content: center; }
#garage .panel { background: rgba(20, 27, 36, .96); border-radius: 14px; padding: 16px 24px; width: min(980px, 94%); max-height: 94vh; overflow-y: auto; box-sizing: border-box; }
#garage h2 { margin: 0 0 14px; font-size: 22px; } #garage small { font-size: 13px; opacity: .7; font-weight: 400; margin-left: 10px; }
.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
#garage h3 { margin: 12px 0 6px; font-size: 15px; color: #ffd23a; }
.grid button { font: inherit; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 9px; padding: 7px 4px; cursor: pointer; font-size: 14px; }
.grid button:hover { background: rgba(255, 210, 58, .25); border-color: #ffd23a; }
.grid button b { display: block; font-size: 12px; color: #ffd23a; margin-bottom: 4px; }
.grid button.alien { border-color: rgba(64, 240, 192, .6); }

.grid button i { display: block; font-style: normal; font-size: 12px; color: #a8f0a0; margin-top: 2px; }
.grid button.lock { opacity: .78; border-style: dashed; } .grid button.on { border-color: #ffd23a; background: rgba(255, 210, 58, .18); }
.modal { position: fixed; inset: 0; background: rgba(8, 12, 18, .74); display: flex; align-items: center; justify-content: center; z-index: 5; }
.modal .panel { background: rgba(20, 27, 36, .97); border-radius: 14px; padding: 20px 28px; width: min(760px, 92%); max-height: 92vh; overflow-y: auto; box-sizing: border-box; }
.modal .panel.small { width: min(520px, 92%); }
.modal h2 { margin: 0 0 12px; font-size: 22px; } .modal h2 small { font-size: 13px; opacity: .7; font-weight: 400; margin-left: 10px; }
.modal h3 { margin: 16px 0 8px; font-size: 15px; color: #ffd23a; }
.set label { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 15px; }
.set label span { width: 118px; flex: none; } .set label em { width: 52px; flex: none; font-style: normal; opacity: .8; text-align: right; }
.set input[type=range], .set input[type=text], .set select { flex: 1; min-width: 0; }
.set input[type=text], .set select { font: inherit; padding: 6px 8px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; user-select: text; }
.set select option { color: #111; }
.set input[type=checkbox] { width: 18px; height: 18px; margin-right: auto; }
.btns { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.btns button, .mini2, #nRooms button, #rList button { font: inherit; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; padding: 9px 16px; cursor: pointer; font-size: 15px; }
.btns button:hover, #nRooms button:hover, #rList button:hover { background: rgba(255, 255, 255, .2); }
.btns button.main { background: #ffd23a; color: #1a1a1a; border-color: #ffd23a; font-weight: 700; }
.mini2 { padding: 2px 10px; font-size: 12.5px; margin-left: 8px; }
.tip2 { font-size: 13px; opacity: .75; margin: 12px 0 0; line-height: 1.6; }
#jlist button { display: grid; grid-template-columns: 150px 1fr auto; gap: 12px; align-items: center; width: 100%; text-align: left; font: inherit; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 9px; padding: 10px 14px; margin-bottom: 7px; cursor: pointer; }
#jlist button:hover { background: rgba(255, 210, 58, .22); border-color: #ffd23a; }
#jlist button b { color: #ffd23a; } #jlist button span { font-size: 13.5px; opacity: .88; } #jlist button i { font-style: normal; font-size: 13px; color: #a8f0a0; }
#nRooms > div, #rList > div { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15px; }
#nRooms > div span, #rList > div span { flex: 1; } #nRooms button, #rList button { padding: 4px 14px; }
#chatbar { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); width: min(520px, 80%); z-index: 6; }
#chatbar input { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 9px 12px; border-radius: 8px; border: 1px solid #ffd23a; background: rgba(10, 14, 20, .88); color: #fff; user-select: text; }
#fps { position: fixed; right: 10px; top: 8px; font-size: 13px; color: #b8ffb8; text-shadow: 0 1px 2px #000; pointer-events: none; z-index: 4; }
