:root {
  --bg: #0f1826;
  --panel: rgba(16, 26, 40, 0.86);
  --line: #2f4660;
  --text: #eef4f8;
  --muted: #9fb3c4;
  --green: #69f0ae;
  --yellow: #ffd740;
  --red: #ff5252;
  --pink: #ff6fa8;
  --blue: #40c4ff;
  --r: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: var(--bg); color: var(--text); font-family: 'Noto Sans KR', sans-serif; user-select: none; -webkit-user-select: none; }
canvas { display: block; }
#app { position: fixed; inset: 0; }
.hidden { display: none !important; }
button {
  font-family: 'Jua', sans-serif; font-size: 16px; color: var(--text); cursor: pointer;
  background: #243a52; border: 2px solid #3d5a7a; border-radius: 10px; padding: 7px 14px;
  transition: transform .08s, background .15s, border-color .15s;
}
button:hover { background: #2e4a68; border-color: var(--green); }
button:active { transform: scale(.95); }
button:disabled { opacity: .45; cursor: not-allowed; }
button.big { font-size: 22px; padding: 12px 28px; border-radius: 14px; background: #2b7a55; border-color: var(--green); }
button.big:hover { background: #33936a; }
button.small { font-size: 13px; padding: 4px 10px; }
kbd { display: inline-block; font-family: 'Jua', sans-serif; background: #33495f; border: 1px solid #5a7896; border-bottom-width: 3px; border-radius: 6px; padding: 0 6px; font-size: .9em; }
.panel { background: var(--panel); border: 2px solid var(--line); border-radius: var(--r); }
.modal { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(5, 10, 18, .6); z-index: 50; }

#boot { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Jua'; font-size: 26px; background: var(--bg); z-index: 100; }
#fx-layer { position: fixed; inset: 0; pointer-events: none; z-index: 20; overflow: hidden; }
.ftext { position: absolute; left: 0; top: 0; font-family: 'Jua', sans-serif; font-weight: bold; white-space: nowrap; text-shadow: 0 2px 0 #000, 0 0 6px rgba(0,0,0,.7); will-change: transform; }
.ftext.crit { text-shadow: 0 2px 0 #7a2b00, 0 0 12px #ff9100; }

/* ---------- 타이틀 ---------- */
#title { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 8vh 16px 5vh; z-index: 30; pointer-events: none; }
#title > * { pointer-events: auto; }
.logo { text-align: center; animation: bob 3s ease-in-out infinite; }
.logo-main { font-family: 'Jua'; font-size: clamp(64px, 12vw, 132px); line-height: 1; color: #fff; text-shadow: 0 6px 0 #1b5e40, 0 10px 24px rgba(0,0,0,.5); letter-spacing: -2px; }
.logo-main span { color: var(--green); }
.logo-sub { font-family: 'Jua'; font-size: clamp(14px, 2vw, 20px); color: #cde; letter-spacing: 6px; margin-top: 6px; }
.title-menu { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.title-menu button { min-width: 240px; }
.title-foot { font-family: 'Jua'; color: #bcd; font-size: 16px; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1deg); } }

#loading { position: fixed; inset: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; background: var(--bg); z-index: 60; font-family: 'Jua'; font-size: 22px; }
.spinner { font-size: 64px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.help-panel { max-width: 720px; width: calc(100% - 32px); padding: 24px; max-height: 90vh; overflow: auto; }
.help-panel h2, .help-panel h3 { font-family: 'Jua'; margin-bottom: 10px; }
.help-panel h3 { margin-top: 16px; }
.help-grid { display: grid; gap: 8px; font-size: 15px; }
.help-panel ul { padding-left: 20px; line-height: 1.8; font-size: 15px; }
.help-panel button { margin-top: 18px; width: 100%; }

/* ---------- HUD ---------- */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 10; font-family: 'Jua', sans-serif; }
#hud button, #abilities, #abilities * { pointer-events: auto; }
.hud-tl { position: absolute; left: 14px; top: 14px; width: 270px; padding: 10px 12px; }
.sp-name { font-size: 20px; margin-bottom: 6px; }
.bar { position: relative; height: 14px; background: #0a121c; border-radius: 8px; overflow: hidden; border: 1px solid #000; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; transition: width .15s; }
.bar.hp { height: 20px; } .bar.hp i { background: linear-gradient(#ff8a80, #e53935); }
.bar.hp span { position: absolute; inset: 0; text-align: center; font-size: 13px; line-height: 20px; text-shadow: 0 1px 2px #000; }
.bar.st { height: 7px; margin-top: 4px; } .bar.st i { background: #ffe57f; transition: none; }
.hud-tl .row { display: flex; gap: 10px; margin-top: 8px; align-items: center; }
.evo-box { flex: 1; display: flex; gap: 6px; align-items: center; position: relative; font-size: 18px; }
.evo-box .bar { flex: 1; height: 10px; } .bar.evo i { background: linear-gradient(90deg, #f48fb1, #ce93d8); }
.dna-box { position: relative; font-size: 20px; color: var(--green); min-width: 80px; text-align: right; }
.dna-box.pop, .evo-box.pop { animation: pop .3s; }
@keyframes pop { 40% { transform: scale(1.25); } }
.dna-float, .evo-float { position: absolute; right: 0; top: -4px; color: var(--green); font-size: 18px; animation: floatUp 1s forwards; white-space: nowrap; text-shadow: 0 1px 2px #000; }
.evo-float { color: #f8bbd0; left: 0; right: auto; font-size: 15px; animation-duration: 1.4s; }
@keyframes floatUp { to { transform: translateY(-30px); opacity: 0; } }

#pack { position: absolute; left: 14px; top: 150px; width: 200px; font-size: 14px; }
.pack-hint { color: var(--muted); margin-bottom: 4px; text-shadow: 0 1px 2px #000; }
.pk { background: var(--panel); border-radius: 8px; padding: 3px 8px; margin-bottom: 3px; display: flex; align-items: center; gap: 6px; }
.pk .dot { width: 10px; height: 10px; border-radius: 50%; }
.pk-bar { flex: 1; height: 5px; background: #000; border-radius: 3px; overflow: hidden; } .pk-bar i { display: block; height: 100%; background: var(--green); }

#objectives { position: absolute; left: 14px; bottom: 16px; width: 340px; padding: 10px 12px; font-family: 'Noto Sans KR'; font-size: 13px; line-height: 1.5; }
.obj-title { font-family: 'Jua'; font-size: 16px; margin-bottom: 4px; color: var(--yellow); }
.obj { padding: 3px 0; border-top: 1px dashed #2a3e55; }
.obj:first-of-type { border-top: 0; }
.obj-dir { font-family: 'Jua'; color: var(--blue); white-space: nowrap; }
.hl { color: var(--yellow); }

#target-frame { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); width: 320px; padding: 8px 14px; text-align: center; }
#tg-name { font-size: 20px; } .tier { color: var(--yellow); font-size: 14px; }
#tg-att, #tg-rel { font-size: 13px; color: var(--muted); margin: 2px 0; font-family: 'Noto Sans KR'; }
.bar.tg i { background: linear-gradient(#ff8a80, #d32f2f); }
#boss-bar { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); width: min(620px, 80vw); text-align: center; }
#boss-name { font-size: 24px; color: #ea80fc; text-shadow: 0 2px 0 #000; margin-bottom: 4px; }
.bar.boss { height: 18px; border: 2px solid #6a1b9a; } .bar.boss i { background: linear-gradient(#ea80fc, #8e24aa); }

#combo { position: absolute; right: 230px; top: 40%; font-size: 26px; color: hsl(var(--hue, 40), 100%, 65%); text-shadow: 0 3px 0 #000; opacity: 0; transition: opacity .3s; }
#combo b { font-size: 52px; }
#combo.show { opacity: 1; }
#combo.bump { animation: bump .2s; }
@keyframes bump { 40% { transform: scale(1.3) rotate(-4deg); } }

#prompt { position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%); background: var(--panel); border: 2px solid var(--green); border-radius: 12px; padding: 6px 16px; font-size: 18px; white-space: nowrap; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { border-color: #fff; } }

#abilities { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 6px; align-items: flex-end; }
.ab-sep { width: 10px; }
.ab { position: relative; width: 62px; height: 72px; background: var(--panel); border: 2px solid #3a5470; border-radius: 12px; text-align: center; cursor: pointer; overflow: hidden; }
.ab.combat { border-color: #7a3a3a; } .ab.social { border-color: #3a5f7a; }
.ab-icon { font-size: 26px; margin-top: 4px; }
.ab-key { position: absolute; left: 4px; top: 2px; font-size: 12px; color: var(--muted); }
.ab-name { font-size: 11px; color: var(--muted); }
.ab-pips { display: flex; justify-content: center; gap: 2px; margin: 2px 0; }
.ab-pips i, .ab-pips b { width: 7px; height: 5px; border-radius: 2px; background: var(--yellow); }
.ab-pips b { background: #2a3a4a; }
.ab-cd { position: absolute; inset: 0; border-radius: 10px; pointer-events: none; }
.ab.locked { opacity: .35; filter: grayscale(1); }
.ab.pending { border-color: var(--yellow); }
.ab.cue { border-color: #fff; animation: cueGlow .5s infinite alternate; }
@keyframes cueGlow { to { box-shadow: 0 0 16px var(--green); transform: translateY(-4px); } }

#minimap { position: absolute; right: 14px; bottom: 14px; width: 190px; height: 190px; border-radius: 50%; border: 3px solid var(--line); background: #0c1a2a; }
#toasts { position: absolute; right: 14px; top: 14px; width: 320px; display: flex; flex-direction: column; gap: 6px; }
.toast { background: var(--panel); border: 2px solid var(--line); border-left-width: 2px; border-radius: 12px; padding: 8px 12px; font-size: 16px; animation: slideIn .3s; transition: opacity .4s, transform .4s; }
.toast small { display: block; font-family: 'Noto Sans KR'; font-size: 12px; color: var(--muted); margin-top: 2px; }
.toast.good { border-color: #2e7d57; } .toast.bad { border-color: #8a3030; } .toast.ach { border-color: #b8952a; background: rgba(50, 40, 10, .9); }
.toast.epic { border-color: #7b3a8f; } .toast.social { border-color: #2f6f96; }
.toast.out { opacity: 0; transform: translateX(40px); }
@keyframes slideIn { from { transform: translateX(60px); opacity: 0; } }
#fps { position: absolute; right: 16px; bottom: 212px; font-size: 11px; color: #789; font-family: monospace; }

.banner { position: fixed; left: 50%; top: 26%; transform: translate(-50%, -50%) scale(.6); opacity: 0; text-align: center; pointer-events: none; z-index: 40; font-family: 'Jua'; transition: opacity .3s, transform .35s cubic-bezier(.2, 1.6, .4, 1); }
.banner.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.b-title { font-size: clamp(34px, 5.5vw, 64px); text-shadow: 0 4px 0 #000, 0 0 30px currentColor; white-space: nowrap; }
.b-sub { font-size: 20px; color: #fff; text-shadow: 0 2px 3px #000; margin-top: 4px; }
.banner.gold .b-title { color: #ffd740; } .banner.red .b-title { color: #ff5252; } .banner.green .b-title { color: #69f0ae; }
.banner.purple .b-title { color: #ea80fc; } .banner.blue .b-title { color: #80d8ff; } .banner.orange .b-title { color: #ffab40; }

#hurt { position: fixed; inset: 0; pointer-events: none; z-index: 15; box-shadow: inset 0 0 120px 30px rgba(255, 0, 0, .55); opacity: 0; }
#hurt.on { animation: hurt .5s; }
@keyframes hurt { 0% { opacity: 1; } 100% { opacity: 0; } }

#social-cue { position: fixed; left: 0; top: 0; z-index: 25; pointer-events: none; text-align: center; font-family: 'Jua'; }
.sc-bubble { position: relative; width: 84px; height: 84px; margin: 0 auto; background: #fff; border-radius: 50%; border: 4px solid #1e88e5; box-shadow: 0 4px 0 rgba(0,0,0,.4); }
#sc-icon { font-size: 44px; line-height: 76px; }
#sc-key { position: absolute; right: -6px; bottom: -6px; background: #1e88e5; color: #fff; border-radius: 50%; width: 30px; height: 30px; line-height: 30px; font-size: 18px; }
#sc-ring { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; border: 5px solid #ffd740; border-radius: 50%; transform: translate(-50%, -50%); }
#sc-ring.hot { border-color: #69f0ae; box-shadow: 0 0 14px #69f0ae; }
#social-cue.locked .sc-bubble { border-color: #888; filter: grayscale(.8); }
.sc-meter { width: 130px; height: 12px; margin: 10px auto 4px; background: #111; border: 2px solid #fff; border-radius: 8px; overflow: hidden; }
.sc-meter i { display: block; height: 100%; background: linear-gradient(90deg, #ff80ab, #ff4081); transition: width .3s; }
#sc-rounds { display: flex; justify-content: center; gap: 4px; }
#sc-rounds i { width: 12px; height: 12px; border-radius: 50%; background: #333; border: 2px solid #fff; }
#sc-rounds i.perfect { background: #ffd740; } #sc-rounds i.good { background: #69f0ae; } #sc-rounds i.miss { background: #ff5252; }

#bigmap-wrap .panel { padding: 14px; }
#bigmap-wrap h3 { font-family: 'Jua'; margin-bottom: 8px; }
#bigmap { width: min(620px, 80vh); height: min(620px, 80vh); border-radius: 10px; }

/* ---------- 카드 ---------- */
.card-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; perspective: 900px; }
.card-from { font-family: 'Jua'; font-size: 30px; color: var(--yellow); text-shadow: 0 3px 0 #000; animation: bob 2s infinite; }
.card { position: relative; width: 250px; height: 340px; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3, 1.4, .5, 1); animation: cardIn .6s; }
.card.flip { transform: rotateY(180deg); }
@keyframes cardIn { from { transform: translateY(80px) scale(.5) rotate(-10deg); opacity: 0; } }
.card-back, .card-front { position: absolute; inset: 0; border-radius: 18px; backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.card-back { background: repeating-linear-gradient(45deg, #1e3a52 0 12px, #244460 12px 24px); border: 4px solid #3d6a8f; font-size: 90px; animation: shakeCard .15s infinite; }
@keyframes shakeCard { 50% { transform: rotate(2deg); } }
.card-front { transform: rotateY(180deg); background: #16263a; border: 4px solid var(--rc); box-shadow: 0 0 40px var(--rc); padding: 18px; gap: 8px; text-align: center; }
.card.r3 .card-front { background: radial-gradient(circle at 50% 30%, #4a3a10, #16263a 70%); }
.card.r2 .card-front { background: radial-gradient(circle at 50% 30%, #3a1f4a, #16263a 70%); }
.card-rarity { font-family: 'Jua'; color: var(--rc); font-size: 18px; letter-spacing: 4px; }
.card-icon { font-size: 70px; }
.card-icon img { width: 130px; height: 130px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); animation: bob 2s ease-in-out infinite; }
.card-cat { color: var(--muted); font-size: 14px; }
.card-name { font-family: 'Jua'; font-size: 30px; }
.card-stats { font-size: 16px; color: var(--yellow); }
.card-desc { font-size: 14px; color: #cde; }
#card-ok small { font-size: 13px; opacity: .8; }

/* ---------- 일시정지 ---------- */
.pause-panel { display: flex; gap: 20px; padding: 22px; max-width: 900px; width: calc(100% - 32px); max-height: 88vh; }
.pause-menu { display: flex; flex-direction: column; gap: 8px; min-width: 210px; }
.pause-menu h2 { font-family: 'Jua'; margin-bottom: 6px; }
.pause-sp { flex: 1; overflow: auto; font-size: 14px; }
.pause-sp h3 { font-family: 'Jua'; margin: 8px 0 6px; }
.sp-row { padding: 5px 8px; border-radius: 8px; background: #1a2a3e; margin-bottom: 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sp-row small { color: var(--muted); margin-left: auto; }
.sp-row .dot { width: 14px; height: 14px; border-radius: 50%; background: #444; }
.sp-row.extinct { opacity: .5; } .sp-row.allied { background: #173a2c; } .sp-row.unknown { color: #678; }
.achs { display: flex; flex-wrap: wrap; gap: 6px; }
.ach { font-size: 26px; filter: grayscale(1) opacity(.3); cursor: help; }
.ach.got { filter: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stats-grid span { background: #1a2a3e; border-radius: 6px; padding: 4px 8px; }

.ending-panel { padding: 30px; text-align: center; max-width: 560px; width: calc(100% - 32px); display: flex; flex-direction: column; gap: 12px; align-items: center; }
.end-title { font-family: 'Jua'; font-size: 44px; color: #ffab40; text-shadow: 0 4px 0 #000; }
.end-sub, .end-note { color: #cde; }
.end-path { font-family: 'Jua'; font-size: 28px; color: var(--yellow); }
.end-stats { line-height: 1.8; }

/* ---------- 에디터 ---------- */
#editor-ui { position: fixed; inset: 0; pointer-events: none; z-index: 10; font-family: 'Jua', sans-serif; }
#editor-ui > * { pointer-events: auto; }
body.placing canvas { cursor: copy; }
.ed-top { position: absolute; left: 0; right: 0; top: 0; display: flex; gap: 14px; align-items: center; padding: 10px 14px; background: rgba(12, 20, 32, .85); border-bottom: 2px solid var(--line); flex-wrap: wrap; }
#ed-title { font-size: 22px; }
#ed-name { font-family: 'Jua'; font-size: 18px; padding: 6px 10px; border-radius: 10px; border: 2px solid #3d5a7a; background: #0c1624; color: #fff; width: 170px; }
#ed-name:focus { outline: none; border-color: var(--green); }
#ed-budget, #ed-cx { font-size: 16px; }
#ed-budget .bad, #ed-cx .bad { color: var(--red); }
.cx-bar { width: 120px; height: 7px; background: #000; border-radius: 4px; overflow: hidden; margin-top: 3px; } .cx-bar i { display: block; height: 100%; }
.ed-top-btns { margin-left: auto; display: flex; gap: 8px; }
button.go { background: #2b7a55; border-color: var(--green); font-size: 19px; padding: 7px 20px; }
.ed-left { position: absolute; left: 12px; top: 70px; bottom: 150px; width: 290px; display: flex; flex-direction: column; padding: 8px; }
#ed-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 8px; }
#ed-tabs button { padding: 4px 0; font-size: 20px; display: flex; flex-direction: column; align-items: center; position: relative; }
#ed-tabs button span { font-size: 11px; }
#ed-tabs button.on { background: #2b7a55; border-color: var(--green); }
#ed-tabs button.has-new::after { content: ''; position: absolute; right: 3px; top: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
#ed-parts { flex: 1; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; padding-right: 2px; }
.pcard { position: relative; background: #1a2a3e; border: 2px solid var(--rc); border-radius: 12px; padding: 5px; text-align: center; cursor: grab; transition: transform .1s; }
.pcard:hover { transform: translateY(-2px); background: #22384f; }
.pcard.on { background: #245a43; }
.pcard.locked { cursor: not-allowed; opacity: .5; border-style: dashed; }
.pthumb { width: 100%; aspect-ratio: 1; object-fit: contain; display: flex; align-items: center; justify-content: center; font-size: 34px; pointer-events: none; }
.pname { font-size: 14px; }
.pstat { font-family: 'Noto Sans KR'; font-size: 10px; color: var(--yellow); min-height: 14px; }
.pcost { font-size: 12px; color: var(--green); }
.pnew { position: absolute; left: 4px; top: 4px; background: var(--red); font-size: 10px; padding: 1px 5px; border-radius: 6px; animation: pulse 1s infinite; }
.ed-right { position: absolute; right: 12px; top: 70px; width: 220px; padding: 10px 14px; max-height: calc(100vh - 230px); overflow: auto; }
#ed-stats h4 { margin: 6px 0 4px; font-size: 15px; color: var(--yellow); }
.st-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 2px 0; }
.st-pips { display: flex; gap: 3px; }
.st-pips i, .st-pips b { width: 12px; height: 8px; border-radius: 3px; background: var(--green); }
.st-pips b { background: #263648; }
.warns { font-family: 'Noto Sans KR'; font-size: 12px; color: #ffb4a8; margin-top: 8px; line-height: 1.6; }
.ed-bottom { position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 126px; padding: 10px; display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.ed-group { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; max-width: 360px; }
.ed-group.paint { max-width: none; flex: 1; }
.ed-label { width: 100%; font-size: 14px; color: var(--muted); }
.ed-group button { padding: 5px 10px; font-size: 15px; }
#ed-walk.on { background: #2b7a55; }
#ed-paint { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.paint-row { display: flex; gap: 6px; align-items: center; }
.paint-row label { font-size: 13px; color: var(--muted); min-width: 34px; }
.paint-row input[type=color] { width: 30px; height: 26px; border: 2px solid #3d5a7a; border-radius: 6px; background: none; cursor: pointer; padding: 0; }
.swatches { display: grid; grid-template-columns: repeat(8, 12px); gap: 2px; }
.swatches i { width: 12px; height: 12px; border-radius: 3px; cursor: pointer; border: 1px solid rgba(0,0,0,.4); }
.swatches i:hover { transform: scale(1.3); }
.patterns { display: flex; gap: 4px; }
.patterns button { font-size: 12px; padding: 3px 8px; }
.patterns button.on { background: #2b7a55; border-color: var(--green); }
#ed-sel { position: absolute; left: 50%; bottom: 152px; transform: translateX(-50%); display: flex; gap: 6px; align-items: center; padding: 6px 10px; }
#sel-name { font-size: 15px; margin-right: 6px; }
#ed-sel button { padding: 3px 10px; font-size: 15px; }
.ed-hint { position: absolute; left: 50%; top: 66px; transform: translateX(-50%); font-family: 'Noto Sans KR'; font-size: 12px; color: #bcd; background: rgba(0,0,0,.35); padding: 4px 12px; border-radius: 10px; pointer-events: none !important; white-space: nowrap; }
#ed-tip { position: fixed; z-index: 30; width: 220px; background: #0e1a2a; border: 2px solid var(--line); border-radius: 10px; padding: 8px 10px; font-family: 'Noto Sans KR'; font-size: 12px; line-height: 1.5; pointer-events: none !important; }
#ed-tip b { font-family: 'Jua'; font-size: 16px; }
.tip-stats { color: var(--yellow); margin: 3px 0; }

/* ---------- 임베드(iframe) ---------- */
body.embed #fps { display: none; }
#btn-fullscreen { position: fixed; right: 14px; bottom: 214px; z-index: 45; width: 38px; height: 38px; padding: 0; font-size: 20px; line-height: 1; }
#focus-veil { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; background: rgba(8, 14, 24, .55); cursor: pointer; font-family: 'Jua', sans-serif; }
#focus-veil > div { background: var(--panel); border: 2px solid var(--green); border-radius: 16px; padding: 16px 28px; font-size: 26px; text-align: center; }
#focus-veil small { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; }

@media (max-width: 900px) {
  #objectives { display: none; }
  .hud-tl { width: 220px; }
  .ab { width: 46px; height: 60px; } .ab-icon { font-size: 20px; } .ab-name { display: none; }
  #minimap { width: 130px; height: 130px; }
  .ed-left { width: 200px; top: 130px; bottom: 260px; } .ed-right { display: none; }
  .ed-bottom { max-height: 240px; overflow-y: auto; }
  #ed-sel { bottom: 262px; }
  .ed-hint { display: none; }
}
