/* 별의 계승자 — UI 스타일 (v4: 메이플식 HUD 개편 · 로비 · 레벨업 · 채팅 로그) */
/* 디자인 토큰 정본 — impl/00 §4.6 · impl/04 §1.1~§1.5.
   아래 마커 구간은 rpg/admin/admin.css 가 값까지 그대로 복사하고 test/admin-tokens.mjs 가 동일성을 검사한다(H-A4).
   토큰을 추가·수정할 때는 두 파일을 함께 고친다. 헥스 리터럴은 여기서만 새로 도입한다.
   마커 문자열은 이 파일 안에서 각각 한 번씩만 나타나야 한다(파서가 구간을 잘못 잡는다). */
/* @tokens:start */
:root {
  /* ── 기본 색 ── */
  --ink: #0b1020; --panel: rgba(12, 16, 32, .92); --panel-2: rgba(22, 28, 50, .96); --line: rgba(255,255,255,.12); --cream: #f4efe6; --dim: #b9c0d2;
  --gold: #f5c451; --dia: #7fd8ff; --hp: #e5484d; --mp: #4f8cff; --exp: #8be07a; --rare: #4f8cff; --epic: #b48cf0; --legend: #f5a623; --myth: #ff5c8a;
  /* ── 등급 별칭(.rar1~5 · .item-cell.r1~5 · .medal.r2~4) ── */
  --r1: #d8d8d8; --r2: var(--rare); --r3: var(--epic); --r4: var(--legend); --r5: var(--myth); --r1-line: #5a5a66;
  /* ── 잠재 등급(레어/에픽/유니크/레전드리) — data/probability.js POTENTIAL.grades[].color 와 같은 값 ── */
  --pot1: var(--rare); --pot2: var(--epic); --pot3: var(--legend); --pot4: var(--myth);
  /* ── 의미색 ── */
  --coral: #ff8a8d;        /* 하락·실패·오류·만원 */
  --ok: #c6f5b9;           /* 상승·성공·여유 */
  --warn: #ffb08a;         /* 경고 알림 */
  --gold-2: #ffd976;       /* 골드 그라디언트 상단 */
  --gold-soft: #ffe59a;    /* 지역명·칭호 텍스트 */
  --on-gold: #3a2a05; --on-dia: #06304a;              /* 골드/다이아 버튼 위 글자 */
  --paper: rgba(247,238,220,.96); --on-paper: #2a2418; /* 토스트·튜토리얼 팁·말풍선 */
  --cell-bg: #1b1a2e; --portrait-bg: #1c2a5a;          /* 아이템 셀·초상 배경(부트 그라디언트 상단도 같은 색) */
  /* ── 혼잡도 4단계(여유/보통/혼잡/만원) + 접속 상태 별칭 3종 ── */
  --load-0: var(--exp); --load-1: var(--ok); --load-2: var(--gold-2); --load-3: var(--coral);
  --net-ok: var(--load-0); --net-busy: var(--load-2); --net-bad: var(--load-3);
  /* ── 원격 플레이어·채팅(§9 D-9: 뒤 3종은 기존 색 재사용) ── */
  --remote: #cfe8ff; --remote-bubble: #dfeeff; --remote-nm: var(--remote);
  --chat-zone: var(--dim); --chat-who: var(--gold-soft);
  /* ── 타이포 ── */
  --font: 'Noto Sans KR', system-ui, sans-serif; --display: 'Gowun Batang', serif;
  --fs-xs: 10px; --fs-sm: 11px; --fs-base: 12px; --fs-md: 13px; --fs-lg: 14px; --fs-xl: 15px; --fs-h2: 18px; --fs-modal: 22px; --fs-hero: 26px;
  /* ── 모션 ── */
  --ease: cubic-bezier(.2,.8,.2,1); --ease-in: cubic-bezier(.4,0,1,1);
  --t-fast: .12s; --t-base: .2s; --t-panel: .25s; --t-slow: .4s;
  /* ── 그림자·블러 ── */
  --sh-card: 0 6px 20px rgba(0,0,0,.35);
  --sh-sheet: 0 20px 60px rgba(0,0,0,.6);
  --sh-tip: 0 14px 40px rgba(0,0,0,.6);
  --sh-gold: 0 6px 20px rgba(245,196,81,.35);
  --sh-bubble: 0 4px 14px rgba(0,0,0,.35);
  --blur: blur(6px);
  /* ── 안전 영역 ── */
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px); --sal: env(safe-area-inset-left, 0px); --sar: env(safe-area-inset-right, 0px);
  /* ── 반경·터치·간격·폭 ── */
  --r-ctl: 10px; --r-card: 14px; --r-sheet: 20px; --tap: 44px; --bar-h: 104px;
  --sp-1: 4px; --sp-2: 6px; --sp-3: 8px; --sp-4: 12px; --sp-5: 16px; --sp-6: 24px;
  --w-panel: 560px; --w-panel-lg: 600px; --w-sheet: 760px; --w-modal: 400px; --w-modal-lg: 560px;
  /* ── 소프트 키보드 높이(uxfix.js 가 visualViewport 로 갱신) ── */
  --kb: 0px;
}
/* @tokens:end */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--ink); color: var(--cream); font-family: var(--font); -webkit-user-select: none; user-select: none; touch-action: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
#app { position: fixed; inset: 0; }
#game-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.display { font-family: var(--display); }
.muted { color: var(--dim); }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 15px; background: rgba(255,255,255,.1); border: 1px solid var(--line); transition: transform .15s var(--ease), background .2s; }
.btn:active { transform: scale(.97); } .btn.block { width: 100%; } .btn.small { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn.primary { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--on-gold); border-color: transparent; box-shadow: 0 6px 20px rgba(245,196,81,.35); }
.btn.ghost { background: transparent; } .btn.danger { background: rgba(229,72,77,.2); border-color: rgba(229,72,77,.5); } .btn.dia { background: linear-gradient(180deg, #a8e6ff, var(--dia)); color: var(--on-dia); border-color: transparent; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ─────────────── 오버레이 / 부트 ─────────────── */
.overlay { position: absolute; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 80% at 50% 0%, var(--portrait-bg) 0%, var(--ink) 60%, #05070f 100%); }
.boot-inner { text-align: center; padding: 24px; width: min(420px, 92vw); position: relative; z-index: 2; }
.boot-inner h1 { font-size: 52px; margin: 6px 0; letter-spacing: -.02em; text-shadow: 0 8px 40px rgba(127,216,255,.35); }
.boot-inner .sub { color: var(--dim); margin: 0 0 22px; }

/* ─────────────── HUD 공통 ─────────────── */
#hud { position: absolute; inset: 0; pointer-events: none; z-index: 10; }
#hud > * { pointer-events: auto; }
/* 이름표(.bars)·데미지 숫자(.floaters)는 z-index 1 — HUD 위젯은 그 위(3) */
#hud > .statusbar, #hud > .minimap-wrap, #hud > .quest-helper, #hud > .menu-btns, #hud > .hud-btn, #hud > .party-bar, #hud > .target-frame, #hud > .boss-bar, #hud > .chatlog, #hud > .notices, #hud > .tutorial-tip, #hud > .joystick { z-index: 3; }
#hud > .floaters, #hud > .hp-vignette { z-index: 1; pointer-events: none; }   /* #hud > * 의 auto 를 같은 특이도로 되돌린다 — 전체화면 오버레이가 캔버스 탭을 삼켰다 */                 /* 04 §1.6 — 선언이 없어 auto 였다. 이름표(.bars)와 같은 층 */
#hud > .tutorial-tip { z-index: 20; }            /* 04 §1.6 — .tutorial-tip{z-index:20} 이 위 그룹(특이도 1,1,0)에 져서 실효 3 이었다 */
.hud-btn { display: grid; place-items: center; border-radius: var(--r-ctl); background: var(--panel); border: 1px solid var(--line); color: var(--cream); transition: transform .1s var(--ease), background .15s; position: relative; }
.hud-btn:active, .hud-btn.down { transform: scale(.93); background: rgba(255,255,255,.2); }
.hud-btn.icon { width: 46px; height: 46px; } .hud-btn.icon svg { width: 22px; height: 22px; } .hud-btn.icon.shop { color: var(--gold); border-color: rgba(245,196,81,.4); }
.hud-btn.icon .lbl { display: none; }
.hud-btn .key { position: absolute; top: 2px; left: 5px; font-size: 9px; color: var(--dim); font-weight: 800; letter-spacing: 0; pointer-events: none; }
.tut-hl { outline: 2px solid var(--gold); outline-offset: 2px; box-shadow: 0 0 0 6px rgba(245,196,81,.25); }

/* 미니맵 (좌상단: 지역명 · 채널) */
.minimap-wrap { position: absolute; left: calc(8px + var(--sal)); top: calc(8px + var(--sat)); width: 168px; border-radius: var(--r-card); overflow: visible; border: 1px solid var(--line); background: rgba(12,16,32,.78); backdrop-filter: blur(6px); }   /* overflow 는 .minimap 안쪽으로 — hidden 이면 .mm-head 의 44px ::before 히트영역이 잘린다 */
.mm-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: var(--tap); padding: 0 6px 0 10px; background: rgba(255,255,255,.06); border-bottom: 1px solid var(--line); border-radius: var(--r-card) var(--r-card) 0 0; cursor: pointer; }
.mm-zone { font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--display); color: var(--gold-soft); }
.mm-ch { position: relative; flex: none; min-width: 40px; height: 24px; padding: 0 6px; border-radius: 6px; font-size: 10px; font-weight: 900; background: rgba(127,216,255,.18); color: var(--dia); border: 1px solid rgba(127,216,255,.35); }
.mm-ch::before { content: ''; position: absolute; left: 50%; top: 50%; width: var(--tap); height: var(--tap); transform: translate(-50%, -50%); }   /* 04 §7 44px 히트 영역 */
.minimap { position: relative; width: 100%; aspect-ratio: 4 / 3; cursor: pointer; overflow: hidden; border-radius: 0 0 var(--r-card) var(--r-card); }
.minimap canvas { width: 100%; height: 100%; display: block; }
.zone-name { display: none; }

/* 퀘스트 헬퍼 (우상단) */
.quest-helper { position: absolute; right: calc(8px + var(--sar)); top: calc(8px + var(--sat)); width: 260px; border-radius: var(--r-card); background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(6px); overflow: hidden; font-size: 12px; }
.quest-helper.done { border-color: rgba(245,196,81,.6); box-shadow: 0 0 0 1px rgba(245,196,81,.35), 0 6px 20px rgba(245,196,81,.15); }
.qh-head { display: flex; align-items: center; justify-content: space-between; height: 28px; padding: 0 4px 0 10px; background: rgba(255,255,255,.06); border-bottom: 1px solid var(--line); }
.qh-title { font-weight: 800; color: var(--gold); font-size: 12px; }
.qh-fold { width: var(--tap); height: var(--tap); border-radius: 6px; color: var(--dim); font-size: 12px; }
.quest-helper.folded .qh-body { display: none; } .quest-helper.folded .qh-fold { transform: rotate(180deg); }
.qh-body { padding: 8px 10px 8px; display: flex; flex-direction: column; gap: 8px; }
.qh-item .qt { font-weight: 800; font-size: 12.5px; display: flex; gap: 6px; align-items: center; }
.qh-item .qt .tag { font-size: 10px; padding: 1px 6px; }
.qh-item .qo { color: var(--dim); margin-top: 2px; display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; }
.qh-item .qo b { color: var(--cream); font-variant-numeric: tabular-nums; white-space: nowrap; }
.qh-item .qp { height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); margin-top: 4px; overflow: hidden; }
.qh-item .qp i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform-origin: left; transition: transform .3s var(--ease); }
.qh-item.done .qp i { background: linear-gradient(90deg, var(--ok), var(--exp)); }
.qh-item .qa { display: flex; gap: 6px; margin-top: 6px; }
.qh-item .qa button { flex: 1; min-height: var(--tap); border-radius: 8px; font-size: 11.5px; font-weight: 800; background: rgba(255,255,255,.1); border: 1px solid var(--line); }
.qh-item .qa button.nav { background: rgba(245,196,81,.2); color: var(--gold); border-color: rgba(245,196,81,.4); }

/* 상태바 (데스크톱: 하단 긴 바 / 모바일: 좌상단 카드 — 미디어 쿼리에서 분기) */
.statusbar { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 10px calc(6px + var(--sab)); background: linear-gradient(180deg, rgba(12,16,32,.9), rgba(8,10,22,.96)); border-top: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "card card card" "sys quick right"; gap: 4px 12px; align-items: center; }
.status-card { grid-area: card; display: flex; align-items: center; gap: 10px; min-width: 0; }
.status-card .portrait { width: 44px; height: 44px; border-radius: 12px; background: var(--portrait-bg); overflow: hidden; border: 2px solid rgba(245,196,81,.6); flex: none; cursor: pointer; }
.status-card .portrait svg { width: 100%; height: 100%; }
.status-card .bars { flex: 1; display: flex; align-items: center; gap: 14px; min-width: 0; }
.name-row { display: flex; align-items: center; gap: 6px; flex: none; }
.lv-badge { padding: 2px 8px; border-radius: 8px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--on-gold); font-weight: 900; font-size: 12px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.name-row .class { color: var(--gold); font-size: 12px; font-weight: 700; }
.name-row b { font-size: 14px; font-weight: 900; }
.gauges { display: flex; gap: 10px; flex: 1; min-width: 0; }
.gauge { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; max-width: 260px; }
.gauge label { font-size: 10px; font-weight: 900; color: var(--dim); width: 26px; text-align: right; flex: none; }
.gauge .bar { flex: 1; height: 16px; border-radius: 8px; }
.gauge.exp .bar { height: 14px; }
.bar { position: relative; height: 10px; border-radius: 5px; background: rgba(255,255,255,.1); overflow: hidden; }
.bar i { position: absolute; inset: 0; width: 100%; transform-origin: left; transform: scaleX(1); transition: transform .25s var(--ease); border-radius: inherit; }
.bar.hp i { background: linear-gradient(180deg, var(--coral), var(--hp)); } .bar.mp i { background: linear-gradient(180deg, #8fb4ff, var(--mp)); } .bar.exp i { background: linear-gradient(180deg, var(--ok), var(--exp)); } .bar.boss i { background: linear-gradient(180deg, #ff9a6b, #c92a2a); }
.bar span { position: absolute; inset: 0; font-size: 11px; font-weight: 800; text-align: center; line-height: 16px; text-shadow: 0 1px 2px rgba(0,0,0,.8); letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gauge.exp .bar span { line-height: 14px; font-size: 10.5px; }
.bar.shake { animation: barShake .3s; }
@keyframes barShake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

.sysbtns { grid-area: sys; display: flex; gap: 6px; }
.sys-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 58px; height: 50px; border-radius: var(--r-ctl); background: rgba(255,255,255,.07); border: 1px solid var(--line); font-size: 11px; font-weight: 800; color: var(--cream); }
.sys-btn i { font-style: normal; font-size: 15px; line-height: 1; color: var(--dim); font-weight: 900; }
.sys-btn:active { background: rgba(255,255,255,.18); transform: scale(.95); }
.sys-btn.shop { color: var(--gold); border-color: rgba(245,196,81,.4); } .sys-btn.shop i { color: var(--gold); }
.sys-btn.ch i { font-size: 10px; letter-spacing: .05em; color: var(--dia); } .sys-btn.ch span { color: var(--dia); }

.hud-bottom { grid-area: quick; display: flex; align-items: center; gap: 8px; justify-content: center; }
.skill-cluster { display: flex; gap: 6px; align-items: center; }
.left-cluster { display: flex; gap: 6px; align-items: center; padding-left: 8px; border-left: 1px solid var(--line); }
.hud-btn.skill { width: 50px; height: 50px; border-radius: 12px; overflow: hidden; background: var(--panel-2); }
.hud-btn.skill .ic { width: 26px; height: 26px; }
.hud-btn.skill .cd { position: absolute; inset: 0; background: rgba(0,0,0,.68); transform-origin: bottom; transform: scaleY(var(--cd, 0)); pointer-events: none; transition: transform .1s linear; }
.hud-btn.skill .cd-txt { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 900; color: #fff; text-shadow: 0 1px 3px #000; pointer-events: none; }
.hud-btn.skill .cd-txt:empty { display: none; }
.hud-btn.skill.ready { animation: readyFlash .18s var(--ease); }
@keyframes readyFlash { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.9); } 100% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } }
.hud-btn.skill.nomp { border-color: rgba(79,140,255,.7); } .hud-btn.skill.nomp .ic { opacity: .4; }
.hud-btn.skill.nomp.deny { animation: deny .3s; }
@keyframes deny { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.hud-btn.skill.empty { opacity: .55; } .hud-btn.skill.empty::after { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 300; color: rgba(255,255,255,.45); pointer-events: none; }
.hud-btn.attack { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(180deg, #ff9a6b, #d94a3d); border-color: transparent; box-shadow: 0 6px 18px rgba(217,74,61,.4); }
.hud-btn.attack svg { width: 26px; height: 26px; color: #fff; } .hud-btn.attack .key { color: rgba(255,255,255,.75); }
.hud-btn.round { width: 50px; height: 50px; border-radius: 50%; font-size: 12px; font-weight: 800; }
.hud-btn.round .ic { width: 24px; height: 24px; }
.hud-btn.round.auto.on { background: rgba(139,224,122,.3); border-color: var(--exp); color: #d9ffd0; }
.hud-btn.round.potion { background: rgba(229,72,77,.22); border-color: rgba(229,72,77,.5); }
.hud-btn.round.potion .qty { position: absolute; right: 3px; bottom: 2px; font-size: 11px; font-weight: 900; text-shadow: 0 1px 2px #000; }
.hud-btn.round.potion.none { filter: grayscale(1); opacity: .6; }
.hud-btn.round.home { background: rgba(127,216,255,.15); border-color: rgba(127,216,255,.4); color: var(--dia); }

.hud-right { grid-area: right; display: flex; align-items: center; gap: 8px; justify-self: end; }
.currency { display: flex; gap: 6px; }
.currency span { padding: 5px 10px 5px 26px; border-radius: var(--r-ctl); background: rgba(255,255,255,.07); border: 1px solid var(--line); font-size: 13px; font-weight: 800; position: relative; font-variant-numeric: tabular-nums; min-width: 78px; text-align: right; transition: transform .2s var(--ease); }
.currency span::before { content: ''; position: absolute; left: 8px; top: 50%; width: 12px; height: 12px; border-radius: 50%; transform: translateY(-50%); background: radial-gradient(circle at 35% 30%, #fff2b0, var(--gold) 55%, #b8862a); box-shadow: 0 1px 2px rgba(0,0,0,.5); }
.currency .dia::before { border-radius: 2px; transform: translateY(-50%) rotate(45deg); background: linear-gradient(135deg, #e6f8ff, var(--dia) 50%, #2f8bc0); }
.currency span.bump { transform: scale(1.15); }
.fatigue { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--cream); font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(12,16,32,.78); border: 1px solid var(--line); text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.fatigue em { font-style: normal; font-size: 10px; }
.fatigue i { display: block; width: 56px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; position: relative; }
.fatigue i::after { content: ''; position: absolute; inset: 0; background: var(--legend); transform-origin: left; transform: scaleX(var(--f, 1)); }
.fatigue.low i::after { background: #ff5c5c; animation: blink 1s infinite; }

/* 메뉴 아이콘 (데스크톱 좌측 세로열) / 더보기 버튼(모바일 전용) */
/* 좌측 세로 메뉴열 — 하단 상태바(--bar-h) 위에서 멈추고, 넘치면 오른쪽으로 한 열 더 접는다.
   버튼이 늘어나면 마지막 버튼이 상태 카드의 초상 위로 내려오던 겹침(UI-리서치 #1)을 막는다. */
.menu-btns { position: absolute; left: calc(8px + var(--sal)); top: calc(170px + var(--sat)); display: flex; flex-direction: column; flex-wrap: nowrap; gap: 3px;
  max-height: calc(100% - 170px - var(--bar-h) - 20px - var(--sat) - var(--sab)); overflow-y: auto; scrollbar-width: none; }
.menu-btns::-webkit-scrollbar { width: 0; }
.menu-btns .hud-btn.icon { width: var(--tap); height: var(--tap); flex: none; display: flex; flex-direction: column; gap: 1px; padding-top: 2px; }
.menu-btns .hud-btn.icon svg { width: 20px; height: 20px; } .menu-btns .hud-btn.icon .lbl { display: block; font-size: 9px; font-weight: 800; color: var(--dim); }
.hud-btn.icon.more { display: none; }

/* 파티 바 / 타겟 / 보스 */
.party-bar { position: absolute; right: calc(8px + var(--sar)); top: calc(190px + var(--sat)); display: flex; flex-direction: column; gap: 4px; }
.party-bar .member { display: flex; align-items: center; gap: 6px; padding: 4px 8px 4px 4px; border-radius: var(--r-ctl); background: var(--panel); border: 1px solid var(--line); font-size: 12px; min-width: 130px; }
.party-bar .member .pp { width: 28px; height: 28px; border-radius: 8px; background: var(--portrait-bg); overflow: hidden; flex: none; } .party-bar .member .pp svg { width: 100%; height: 100%; }
.party-bar .member .bar { height: 5px; margin-top: 3px; } .party-bar .member .bar span { display: none; } .party-bar .member > div { flex: 1; }
.target-frame { position: absolute; left: 50%; top: calc(12px + var(--sat)); transform: translateX(-50%); width: 220px; padding: 6px 10px; border-radius: var(--r-ctl); background: var(--panel); border: 1px solid var(--line); font-size: 12px; }
.target-frame .bar { height: 8px; margin-top: 4px; } .target-frame .bar span { display: none; }
.boss-bar { position: absolute; left: 50%; top: calc(12px + var(--sat)); transform: translateX(-50%); width: min(460px, 80vw); padding: 8px 12px; border-radius: 12px; background: rgba(60,10,10,.8); border: 1px solid rgba(255,120,120,.4); text-align: center; font-family: var(--display); }
.boss-bar .bar { height: 10px; margin-top: 6px; }
/* 보스 페이즈: 33%/66% 눈금 + '페이즈 n/3' (hud.js 가 data-phase 갱신, monster.js phase 1~3) */
.boss-bar .bar::before, .boss-bar .bar::after { content: ''; position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.55); z-index: 2; pointer-events: none; }
.boss-bar .bar::before { left: 33.33%; } .boss-bar .bar::after { left: 66.66%; }
.boss-bar .phase { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .06em; color: #ffb3b3; }
.boss-bar[data-phase="1"] .phase::after { content: '페이즈 1/3'; } .boss-bar[data-phase="2"] .phase::after { content: '페이즈 2/3'; color: #ffd27a; } .boss-bar[data-phase="3"] .phase::after { content: '페이즈 3/3'; color: #ff8a8a; }
.boss-bar[data-phase="3"] { animation: bossPulse 1.2s ease-in-out infinite; }
@keyframes bossPulse { 0%, 100% { box-shadow: 0 0 0 rgba(255,80,80,0); } 50% { box-shadow: 0 0 14px rgba(255,80,80,.55); } }

/* 상호작용 / 조이스틱 / 알림 / 플로터 / 팁 */
.hud-btn.interact { position: absolute; left: 50%; bottom: calc(var(--bar-h) + 24px + var(--sab)); transform: translateX(-50%); padding: 10px 22px; border-radius: 22px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--on-gold); font-weight: 800; border-color: transparent; box-shadow: 0 6px 20px rgba(245,196,81,.4); animation: bounce 1.4s ease-in-out infinite; min-height: var(--tap); }
@keyframes bounce { 50% { transform: translateX(-50%) translateY(-4px); } }
.joystick { position: absolute; display: none; width: 0; height: 0; pointer-events: none; z-index: 5; }
.joy-base { position: absolute; left: 0; top: 0; width: 120px; height: 120px; border-radius: 50%; transform: translate(-50%,-50%); background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.25); }
.joy-knob { position: absolute; left: 0; top: 0; width: 54px; height: 54px; border-radius: 50%; transform: translate(-50%,-50%); background: rgba(255,255,255,.55); box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.notices { position: absolute; left: 50%; top: 30%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; width: 90%; }
.notice { padding: 8px 16px; border-radius: 12px; background: rgba(12,16,32,.8); border: 1px solid var(--line); font-weight: 700; font-size: 14px; animation: noticeIn 3s var(--ease) forwards; text-align: center; }
.notice.big { font-family: var(--display); font-size: 26px; color: var(--gold); background: none; border: 0; text-shadow: 0 4px 20px rgba(0,0,0,.8); }
.notice.levelup { font-size: 30px; color: var(--ok); }
.notice.warn { color: var(--warn); border-color: rgba(255,176,138,.4); }
@keyframes noticeIn { 0% { opacity: 0; transform: translateY(10px); } 10%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-14px); } }
.floaters { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.floater { position: absolute; font-weight: 900; font-size: 16px; text-shadow: 0 2px 4px rgba(0,0,0,.8); transform: translate(-50%, -50%); animation: floatUp .9s ease-out forwards; white-space: nowrap; }
.floater.dmg { color: #fff; } .floater.crit { color: var(--gold); font-size: 22px; } .floater.heal { color: var(--exp); } .floater.player { color: var(--coral); } .floater.exp { color: var(--ok); font-size: 13px; } .floater.gold { color: var(--gold); font-size: 13px; } .floater.miss { color: var(--dim); font-size: 13px; }
@keyframes floatUp { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.6); } 15% { opacity: 1; transform: translate(-50%, -60%) scale(1.15); } 100% { opacity: 0; transform: translate(-50%, -160%) scale(1); } }
.tutorial-tip { position: absolute; left: 50%; bottom: calc(var(--bar-h) + 16px + var(--sab)); transform: translateX(-50%); width: min(360px, 90vw); padding: 12px 16px; border-radius: var(--r-card); background: var(--paper); color: var(--on-paper); box-shadow: 0 10px 30px rgba(0,0,0,.4); font-size: 13px; line-height: 1.5; z-index: 20; }
.tutorial-tip b { display: block; font-size: 14px; margin-bottom: 2px; color: #7a5a0e; }
.tutorial-tip .step { font-size: 11px; color: #8a7a5a; float: right; }
.hp-vignette { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(ellipse at center, transparent 55%, rgba(229,72,77,.55) 100%); }
.hp-vignette.on { opacity: 1; animation: vignettePulse 1.2s ease-in-out infinite; }
@keyframes vignettePulse { 50% { opacity: .45; } }

/* 대화 */
.dialog { position: absolute; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: flex-end; padding: 0 12px calc(12px + var(--sab)); gap: 8px; pointer-events: auto; }
.dialog-portrait { width: 120px; height: 140px; flex: none; margin-bottom: -6px; } .dialog-portrait svg { width: 100%; height: 100%; }
.dialog-box { flex: 1; min-height: 130px; padding: 14px 16px; border-radius: 18px; background: var(--panel-2); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 12px 40px rgba(0,0,0,.5); position: relative; }
.dialog-name { color: var(--gold); font-weight: 800; font-size: 13px; margin-bottom: 6px; }
.dialog-text { font-size: 15px; line-height: 1.6; min-height: 48px; word-break: keep-all; }
.dialog-choices { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.dialog-choices button { text-align: left; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.dialog-choices button:active { background: rgba(245,196,81,.2); }
.dialog-hint { position: absolute; right: 14px; bottom: 8px; font-size: 11px; color: var(--dim); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* 패널 */
.panel-backdrop { position: absolute; inset: 0; z-index: 40; background: rgba(4,7,15,.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 12px; }
.panel { width: min(560px, 100%); max-height: min(92vh, 720px); display: flex; flex-direction: column; border-radius: 20px; background: var(--panel-2); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.6); overflow: hidden; animation: panelIn .25s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 10px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: 18px; font-family: var(--display); } .panel-head .x { width: var(--tap); height: var(--tap); border-radius: var(--r-ctl); background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 18px; }
.panel-tabs { display: flex; gap: 4px; padding: 8px 10px 0; } .panel-tabs button { flex: 1; padding: 8px 4px; border-radius: 9px; font-size: 12px; font-weight: 700; color: var(--dim); background: rgba(255,255,255,.04); } .panel-tabs button.on { background: rgba(255,255,255,.14); color: var(--cream); }
.panel-body { flex: 1; overflow-y: auto; padding: 12px 14px 16px; -webkit-overflow-scrolling: touch; }
.panel-body::-webkit-scrollbar { width: 0; }
.panel-foot { padding: 10px 14px calc(12px + var(--sab)); border-top: 1px solid var(--line); display: flex; gap: 8px; }
.panel-foot .btn { flex: 1; }
.grid-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.item-cell { position: relative; aspect-ratio: 1; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.item-cell.sel { outline: 2px solid var(--gold); } .item-cell .ic { width: 60%; height: 60%; } .item-cell .qty { position: absolute; right: 4px; bottom: 2px; font-size: 10px; font-weight: 800; } .item-cell .lvl { position: absolute; left: 4px; top: 2px; font-size: 10px; font-weight: 800; color: var(--gold); }
.item-cell.r1 { border-color: rgba(255,255,255,.2); } .item-cell.r2 { border-color: var(--r2); } .item-cell.r3 { border-color: var(--r3); } .item-cell.r4 { border-color: var(--r4); box-shadow: inset 0 0 12px rgba(245,166,35,.25); } .item-cell.r5 { border-color: var(--r5); box-shadow: inset 0 0 14px rgba(255,92,138,.3); }
.rar1 { color: var(--r1); } .rar2 { color: var(--r2); } .rar3 { color: var(--r3); } .rar4 { color: var(--r4); } .rar5 { color: var(--r5); }
.item-detail { margin-top: 10px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 13px; }
.item-detail h3 { margin: 0 0 4px; font-size: 15px; } .item-detail .stat { color: var(--dim); } .item-detail .row { display: flex; gap: 8px; margin-top: 10px; } .item-detail .row .btn { flex: 1; }
.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.equip-slot { aspect-ratio: 1.2; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px dashed var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10px; color: var(--dim); gap: 2px; }
.equip-slot.filled { border-style: solid; color: var(--cream); } .equip-slot .ic { width: 34%; }
.stat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 13px; } .stat-list div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); } .stat-list span:last-child { font-weight: 800; }
.list { display: flex; flex-direction: column; gap: 8px; }
.card { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.card h3 { margin: 0 0 4px; font-size: 15px; } .card p { margin: 0; color: var(--dim); font-size: 13px; line-height: 1.5; }
.card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12px; }
.card.active { border-color: rgba(245,196,81,.5); } .card.done { opacity: .55; }
.card .ic.item, .card > div > .ic { width: 44px; height: 44px; flex: none; }   /* 카드 안 아이템 아이콘이 카드를 채우지 않도록 (제작/보상 행 공용) */
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; background: rgba(255,255,255,.1); } .tag.main { background: rgba(245,196,81,.2); color: var(--gold); } .tag.daily { background: rgba(127,216,255,.2); color: var(--dia); } .tag.side { background: rgba(139,224,122,.2); color: var(--exp); }
.shop-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.shop-row .ic { width: 40px; height: 40px; flex: none; } .shop-row .info { flex: 1; } .shop-row .info b { font-size: 14px; display: block; } .shop-row .info span { font-size: 12px; color: var(--dim); }
.shop-row .price { font-weight: 800; font-size: 13px; white-space: nowrap; }
.shop-row .price.gold { color: var(--gold); } .shop-row .price.dia { color: var(--dia); } .shop-row .price.krw { color: var(--ok); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .product { display: flex; flex-direction: column; align-items: center; padding: 12px 6px 10px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--line); gap: 2px; position: relative; overflow: hidden; }
.product b { font-size: 16px; color: var(--dia); } .product .bonus { font-size: 11px; color: var(--exp); font-weight: 700; } .product .price { margin-top: 6px; padding: 5px 10px; border-radius: 9px; background: var(--gold); color: var(--on-gold); font-weight: 800; font-size: 12px; }
.product .first { font-size: 10px; color: var(--coral); font-weight: 800; } .product .tagline { position: absolute; top: 0; left: 0; right: 0; font-size: 10px; background: rgba(127,216,255,.25); padding: 2px; text-align: center; font-weight: 800; }
.gacha-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px; }
.gacha-result { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; width: 100%; }
.pity { font-size: 12px; color: var(--dim); } .rates { font-size: 11px; color: var(--dim); margin-top: 8px; line-height: 1.6; }
.pass-track { display: flex; gap: 6px; overflow-x: auto; padding: 6px 0; } .pass-track::-webkit-scrollbar { height: 0; }
.pass-tier { flex: none; width: 72px; padding: 8px 4px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); text-align: center; font-size: 11px; }
.pass-tier .n { font-weight: 900; color: var(--dim); } .pass-tier .rw { margin: 6px 0; min-height: 30px; } .pass-tier.done { border-color: var(--exp); } .pass-tier.locked { opacity: .5; }
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; } .cal-day { padding: 8px 2px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line); text-align: center; font-size: 10px; } .cal-day.done { background: rgba(139,224,122,.15); border-color: var(--exp); } .cal-day.today { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.toast { position: absolute; left: 50%; bottom: calc(160px + var(--sab)); transform: translate(-50%, 10px); padding: 10px 16px; border-radius: 12px; background: var(--paper); color: var(--on-paper); font-weight: 700; font-size: 14px; opacity: 0; transition: all .25s var(--ease); pointer-events: none; z-index: 60; white-space: nowrap; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.modal { position: absolute; inset: 0; z-index: 45; display: flex; align-items: center; justify-content: center; background: rgba(4,7,15,.7); padding: 16px; }
.modal .box { width: min(400px, 100%); padding: 20px; border-radius: 18px; background: var(--panel-2); border: 1px solid var(--line); text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.modal h2 { margin: 0 0 6px; font-family: var(--display); font-size: 22px; } .modal p { color: var(--dim); font-size: 14px; line-height: 1.6; margin: 0; }
.modal .row { display: flex; gap: 8px; margin-top: 16px; } .modal .row .btn { flex: 1; }
.offer { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--line); text-align: left; width: 100%; margin-top: 8px; }
.offer.gold { border-color: rgba(245,196,81,.5); background: linear-gradient(90deg, rgba(245,196,81,.15), rgba(255,255,255,.05)); }
.offer .ic { width: 30px; height: 30px; flex: none; } .offer > div { flex: 1; } .offer b { font-size: 14px; display: block; } .offer span { font-size: 12px; color: var(--dim); } .offer em { font-style: normal; font-weight: 800; color: var(--gold); white-space: nowrap; }
.sandbox-ad { position: absolute; inset: 0; z-index: 80; background: rgba(4,9,26,.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.sandbox-inner { width: 100%; max-width: 340px; padding: 22px 20px; border-radius: 20px; background: #f7eedc; color: var(--on-paper); text-align: center; }
.sandbox-tag { font-size: 11px; letter-spacing: .12em; font-weight: 800; color: #b9453d; } .sandbox-title { font-size: 22px; font-weight: 800; margin: 6px 0; } .sandbox-body { font-size: 13px; line-height: 1.6; color: #5a5040; } .sandbox-count { font-size: 40px; font-weight: 900; margin: 12px 0; color: #b9453d; }
.sandbox-inner .btn { color: var(--on-paper); border-color: rgba(0,0,0,.15); } .sandbox-inner .btn.primary { color: var(--on-gold); } .sandbox-inner .row { display: flex; gap: 8px; margin-top: 12px; } .sandbox-inner .row .btn { flex: 1; }
.char-select { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.char-card { padding: 10px 6px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--line); text-align: center; font-size: 12px; }
.char-card.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); } .char-card b { display: block; font-size: 14px; margin-bottom: 2px; } .char-card span { color: var(--dim); font-size: 11px; }
input.name { width: 100%; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--cream); font: inherit; font-size: 16px; text-align: center; margin-top: 12px; }
input.name:focus { outline: 2px solid var(--gold); }

/* 토스트는 상단 중앙 (대상 프레임 아래) */
.toast { bottom: auto; top: calc(64px + var(--sat)); transform: translate(-50%, -10px); max-width: 90vw; white-space: normal; text-align: center; }
.toast.on { transform: translate(-50%, 0); }

/* ─────────────── 엔티티 바 / 페이드 ─────────────── */
#hud > .bars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }   /* 엔티티 이름표 컨테이너(hud.js) — .status-card .bars 와 구분 */
.ent-bar { position: absolute; left: 0; top: 0; width: 90px; text-align: center; will-change: transform; }
.ent-bar .nm { font-size: 10px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.9); white-space: nowrap; }
.ent-bar .hb { height: 4px; border-radius: 2px; background: rgba(0,0,0,.5); margin: 2px 14px 0; overflow: hidden; }
.ent-bar .hb i { display: block; height: 100%; background: var(--hp); transform-origin: left; }
.ent-bar.ally .hb i { background: var(--exp); } .ent-bar.boss .nm { color: var(--warn); font-size: 11px; } .ent-bar.npc .nm { color: var(--gold-soft); }
.ent-bar.targeted .nm { color: var(--gold); }
.ent-bar.npc .hb { display: none; }
.fade { position: absolute; inset: 0; background: #05070f; opacity: 0; pointer-events: none; z-index: 70; }
.warn { color: var(--warn); }

/* ─────────────── 채팅 로그 (js/ui/chatlog.js) ─────────────── */
.chatlog { position: absolute; left: calc(64px + var(--sal)); bottom: calc(var(--bar-h) + 8px + var(--sab)); width: 330px; height: 180px; display: flex; flex-direction: column; border-radius: var(--r-card); background: rgba(12,16,32,.82); border: 1px solid var(--line); backdrop-filter: blur(6px); overflow: hidden; font-size: 12px; transition: height .2s var(--ease); }
.chatlog.folded { height: var(--tap); }
.cl-head { display: flex; align-items: center; gap: 2px; min-height: var(--tap); padding: 0 4px 0 6px; background: rgba(255,255,255,.05); border-bottom: 1px solid var(--line); flex: none; }
/* 04 §7 — 탭·접기 버튼은 실제로 44×44 다. ::before 확장은 서로 겹쳐 무효가 되므로 실물 크기로 준다 */
.cl-head button { min-width: var(--tap); min-height: var(--tap); padding: 0 6px; border-radius: 6px; font-size: 11px; font-weight: 800; color: var(--dim); flex: none; }
.cl-head button.on { background: rgba(255,255,255,.14); color: var(--cream); }
.cl-head .cl-fold { margin-left: auto; width: var(--tap); font-size: 12px; }
.cl-last { display: none; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--dim); padding: 0 6px; font-size: 11.5px; }
.chatlog.folded .cl-tabs { display: none; } .chatlog.folded .cl-last { display: block; }
.cl-body { flex: 1; overflow-y: auto; padding: 4px 8px; display: flex; flex-direction: column; gap: 2px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.cl-body::-webkit-scrollbar { width: 4px; } .cl-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 2px; }
.cl-line { line-height: 1.45; word-break: keep-all; color: var(--dim); }
.cl-line.gain { color: #b9f0a8; } .cl-line.quest { color: #ffe08a; } .cl-line.npc { color: var(--cream); } .cl-line.guild { color: #d7bfff; } .cl-line.warn { color: var(--warn); } .cl-line.system { color: #c5cad8; }
.cl-line.new { animation: clNew 3s var(--ease); }
@keyframes clNew { 0% { background: rgba(245,196,81,.25); } 100% { background: transparent; } }
.cl-line time { font-size: 10px; color: rgba(255,255,255,.35); margin-right: 5px; font-variant-numeric: tabular-nums; }
.chatlog.folded .cl-body { display: none; }

/* ─────────────── 레벨업 연출 (js/ui/celebrate.js) ─────────────── */
.levelup-ov { position: absolute; inset: 0; z-index: 55; display: flex; align-items: center; justify-content: center; background: radial-gradient(80% 80% at 50% 40%, rgba(20,24,50,.82), rgba(4,6,14,.92)); animation: lvDim .25s ease-out; cursor: pointer; overflow: hidden; }
.levelup-ov.out { animation: lvOut .3s ease-in forwards; }
@keyframes lvDim { from { opacity: 0; } } @keyframes lvOut { to { opacity: 0; } }
.lv-inner { text-align: center; width: min(560px, 94vw); position: relative; z-index: 2; }
.lv-emblem { width: 150px; height: 150px; margin: 0 auto 4px; animation: lvPop .5s var(--ease) both; filter: drop-shadow(0 8px 30px rgba(245,196,81,.45)); }
.lv-emblem svg { width: 100%; height: 100%; }
@keyframes lvPop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); } }
.lv-title { font-family: var(--display); font-size: clamp(38px, 9vw, 56px); font-weight: 900; letter-spacing: .06em; color: #ffe06a; text-shadow: 0 2px 0 #b8862a, 0 6px 24px rgba(245,196,81,.5); animation: lvSlide .4s .25s var(--ease) both; line-height: 1; }
.lv-sub { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--dim); letter-spacing: .1em; animation: lvSlide .4s .35s var(--ease) both; }
.lv-num { font-family: var(--display); font-size: clamp(80px, 22vw, 128px); font-weight: 900; color: #fff; text-shadow: 0 4px 0 #b8862a, 0 10px 40px rgba(245,196,81,.5); line-height: 1; margin: 6px 0 14px; animation: lvSlide .4s .45s var(--ease) both; font-variant-numeric: tabular-nums; }
@keyframes lvSlide { from { opacity: 0; transform: translateY(14px); } }
.lv-rewards { border-radius: var(--r-card); background: rgba(255,255,255,.06); border: 1px solid rgba(245,196,81,.35); padding: 10px 12px 12px; animation: lvSlide .4s .6s var(--ease) both; }
.lv-rewards .lbl { font-size: 12px; font-weight: 800; color: var(--gold); letter-spacing: .1em; margin-bottom: 8px; }
.lv-cards { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.lv-card { width: 84px; padding: 8px 4px 6px; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; align-items: center; gap: 4px; animation: lvCard .35s var(--ease) both; }
.lv-card .ic { width: 40px; height: 40px; } .lv-card .ic svg { width: 100%; height: 100%; }
.lv-card b { font-size: 12px; font-weight: 900; } .lv-card span { font-size: 10.5px; color: var(--dim); white-space: nowrap; }
@keyframes lvCard { from { opacity: 0; transform: translateY(10px) scale(.9); } }
.lv-unlock { margin-top: 10px; font-size: 13px; color: var(--ok); font-weight: 700; animation: lvSlide .4s 1s var(--ease) both; }
.lv-hint { margin-top: 14px; font-size: 12px; color: var(--dim); animation: blink 1.4s 1.2s infinite; opacity: 0; }
.levelup-ov.ready .lv-hint { opacity: 1; }
.lv-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.lv-particles i { position: absolute; left: 50%; top: 45%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: lvBurst 1.1s ease-out both; opacity: 0; }
@keyframes lvBurst { 0% { transform: translate(0,0) scale(1); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }

/* ─────────────── 로비 (js/ui/lobby.js) ─────────────── */
.lobby { background: radial-gradient(120% 70% at 50% -10%, #223a7a 0%, #0f1735 45%, #070a18 100%); align-items: stretch; justify-content: stretch; overflow: hidden; }
.lobby::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1.4px 1.4px at 12% 18%, #fff 60%, transparent), radial-gradient(1px 1px at 32% 8%, var(--remote) 60%, transparent), radial-gradient(1.6px 1.6px at 55% 22%, #fff 60%, transparent), radial-gradient(1px 1px at 70% 12%, #fff 60%, transparent), radial-gradient(1.8px 1.8px at 85% 30%, var(--gold-soft) 60%, transparent), radial-gradient(1px 1px at 20% 40%, #fff 60%, transparent), radial-gradient(1.2px 1.2px at 42% 34%, #fff 60%, transparent), radial-gradient(1px 1px at 92% 6%, #fff 60%, transparent), radial-gradient(1.4px 1.4px at 6% 60%, var(--remote) 60%, transparent), radial-gradient(1px 1px at 64% 44%, #fff 60%, transparent), radial-gradient(1.2px 1.2px at 78% 52%, #fff 60%, transparent), radial-gradient(1px 1px at 48% 5%, #fff 60%, transparent); animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .7; } to { opacity: 1; } }
.lobby-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.lobby-bg svg { width: 100%; height: 100%; display: block; }
.lobby-gl { position: absolute; inset: 0; z-index: 2; pointer-events: none; width: 100%; height: 100%; display: block; }
.lobby.sheet-open .lobby-gl { z-index: 7; }   /* 생성 시트의 직업 프리뷰가 시트 위에 그려지도록 */
#lobby-root { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; padding: calc(10px + var(--sat)) calc(12px + var(--sar)) calc(10px + var(--sab)) calc(12px + var(--sal)); pointer-events: none; }
#lobby-root > * { pointer-events: auto; }
.lobby-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; }
.lobby-head .world-btn { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 14px; border-radius: var(--r-ctl); background: rgba(12,16,32,.7); border: 1px solid var(--line); font-weight: 800; font-size: 13px; }
.lobby-head .world-btn b { color: var(--dia); } .lobby-head .world-btn i { font-style: normal; color: var(--dim); font-size: 11px; }
.lobby-head .title { font-family: var(--display); font-size: 20px; color: var(--gold-soft); text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.lobby-head .page { font-size: 12px; color: var(--dim); font-weight: 800; letter-spacing: .1em; }
.lobby-main { flex: 1; display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 0; }
.slots { display: flex; gap: 18px; align-items: flex-end; position: relative; padding: 30px 24px 26px; }
.slots::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; border-radius: 6px; background: linear-gradient(180deg, #8a5a32, #5a3a1e 60%, #3a2412); box-shadow: 0 8px 20px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.15); z-index: 0; }
.slot { position: relative; width: 172px; height: 250px; border-radius: 16px; border: 2px solid rgba(255,255,255,.14); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 10px; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; z-index: 1; cursor: pointer; }
.slot:hover { transform: translateY(-4px); }
.slot.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 12px 40px rgba(245,196,81,.25); transform: translateY(-6px); }
.slot .badge { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 60px; height: 34px; }
.slot .badge svg { width: 100%; height: 100%; }
.slot .view { flex: 1; width: 100%; }
.slot .plate { width: 130px; padding: 5px 8px; border-radius: 8px; background: linear-gradient(180deg, #6b4a2a, #3e2a15); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 3px 8px rgba(0,0,0,.5); text-align: center; font-weight: 900; font-size: 13px; color: #ffe8b5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot.on .plate { background: linear-gradient(180deg, var(--gold-2), #d9a52a); color: var(--on-gold); }
.slot .meta { margin-top: 5px; font-size: 11.5px; color: var(--dim); font-weight: 700; }
.slot.empty .view { display: grid; place-items: center; }
.slot.empty .plus { width: 56px; height: 56px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.35); display: grid; place-items: center; font-size: 30px; color: rgba(255,255,255,.55); }
.slot.empty .plate { background: rgba(255,255,255,.08); color: var(--dim); }
.info-card { width: 260px; padding: 16px; border-radius: var(--r-sheet); background: rgba(12,16,32,.86); border: 1px solid rgba(245,196,81,.35); backdrop-filter: blur(8px); box-shadow: 0 20px 50px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 8px; }
.info-card .lv { font-size: 12px; font-weight: 900; color: var(--gold); letter-spacing: .1em; }
.info-card .nm { font-family: var(--display); font-size: 24px; line-height: 1.1; }
.info-card .job { font-size: 13px; color: var(--dim); font-weight: 700; }
.info-card .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin-top: 4px; font-size: 13px; }
.info-card .stats div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--line); }
.info-card .stats span:last-child { font-weight: 900; font-variant-numeric: tabular-nums; }
.info-card .row2 { font-size: 12px; color: var(--dim); display: flex; justify-content: space-between; }
.info-card .btn.start { margin-top: 8px; min-height: 52px; font-size: 17px; }
.info-card .empty-msg { color: var(--dim); font-size: 13px; line-height: 1.6; text-align: center; padding: 10px 0; }
.lobby-foot { flex: none; display: flex; justify-content: center; gap: 10px; }
.lobby-foot .btn { min-width: 150px; }
.lobby-status { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); font-size: 11px; color: rgba(255,255,255,.35); }
/* 로비 시트 (월드/채널 · 생성 · 삭제) */
.lobby-sheet { position: absolute; inset: 0; z-index: 6; background: rgba(4,7,15,.72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 12px; }
.lobby-sheet .box { width: min(760px, 100%); max-height: min(92vh, 640px); display: flex; flex-direction: column; border-radius: var(--r-sheet); background: var(--panel-2); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.6); overflow: hidden; animation: panelIn .25s var(--ease); }
.lobby-sheet .box.narrow { width: min(460px, 100%); }
.lobby-sheet .sh-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 10px; border-bottom: 1px solid var(--line); }
.lobby-sheet .sh-head h2 { margin: 0; font-size: 18px; font-family: var(--display); }
.lobby-sheet .sh-head .x { width: var(--tap); height: var(--tap); border-radius: var(--r-ctl); background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 18px; }   /* 04 §2.5 — 36 → 44 */
.lobby-sheet .sh-body { flex: 1; overflow-y: auto; padding: 12px 14px; }
.lobby-sheet .sh-foot { padding: 10px 14px calc(12px + var(--sab)); border-top: 1px solid var(--line); display: flex; gap: 8px; } .lobby-sheet .sh-foot .btn { flex: 1; }
.wc-grid { display: grid; grid-template-columns: 200px 1fr; gap: 14px; }
.world-list { display: flex; flex-direction: column; gap: 6px; }
.world-card { text-align: left; padding: 10px 12px; border-radius: var(--r-card); background: rgba(255,255,255,.05); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-height: 56px; }
.world-card.on { border-color: var(--dia); box-shadow: 0 0 0 1px var(--dia); background: rgba(127,216,255,.1); }
.world-card b { font-size: 14px; display: flex; align-items: center; gap: 6px; } .world-card span { font-size: 11px; color: var(--dim); }
.world-card .tag { font-size: 10px; padding: 1px 6px; }
.ch-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
.ch-head .legend { display: flex; gap: 8px; font-size: 10px; color: var(--dim); font-weight: 700; }
.ch-head .legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 3px; vertical-align: middle; }
.ch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ch-cell { padding: 8px 6px 7px; border-radius: var(--r-ctl); background: rgba(255,255,255,.05); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-height: 52px; }
.ch-cell.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); background: rgba(245,196,81,.1); }
.ch-cell b { font-size: 12px; display: flex; justify-content: space-between; } .ch-cell b em { font-style: normal; font-size: 10px; font-weight: 800; }
.ch-cell .load { height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; } .ch-cell .load i { display: block; height: 100%; transform-origin: left; }
/* 혼잡도 4단계 — 여유/보통/혼잡/만원 (04 §1.1 · 01 §2.2). 텍스트와 게이지가 같은 토큰을 쓴다 */
.l0 { color: var(--load-0); } .l1 { color: var(--load-1); } .l2 { color: var(--load-2); } .l3 { color: var(--load-3); }
.ch-head .legend i.l0, .ch-cell .load i.l0 { background: var(--load-0); } .ch-head .legend i.l1, .ch-cell .load i.l1 { background: var(--load-1); }
.ch-head .legend i.l2, .ch-cell .load i.l2 { background: var(--load-2); } .ch-head .legend i.l3, .ch-cell .load i.l3 { background: var(--load-3); }
/* 캐릭터 생성 시트 */
.cc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cc-card { position: relative; padding: 10px 8px 10px; border-radius: var(--r-card); background: rgba(255,255,255,.05); border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; gap: 4px; min-height: 250px; transition: border-color .2s, box-shadow .2s; }
.cc-card.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); background: rgba(245,196,81,.08); }
.cc-card .view { height: 130px; width: 100%; }
.cc-card b { font-size: 15px; } .cc-card p { margin: 0; font-size: 11.5px; color: var(--dim); line-height: 1.45; word-break: keep-all; }
.cc-card .sk { display: flex; justify-content: center; gap: 4px; margin-top: 4px; } .cc-card .sk span { width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,.08); display: grid; place-items: center; } .cc-card .sk svg { width: 16px; height: 16px; }
.cc-name { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.cc-name .hint { font-size: 12px; color: var(--dim); min-height: 18px; } .cc-name .hint.err { color: var(--coral); }
.cc-name input.name { margin-top: 0; }

/* ─────────────── 모바일 (< 900px): 상단 컴팩트 카드 + 하단 조이스틱/버튼 ─────────────── */
@media (max-width: 899px) {
  :root { --bar-h: 0px; }
  #hud > .statusbar { inset: 0; padding: 0; background: none; border: 0; backdrop-filter: none; display: block; pointer-events: none; }   /* #hud > * 특이도 대응 */
  .statusbar > * { pointer-events: auto; }
  .status-card { position: absolute; left: calc(8px + var(--sal)); top: calc(8px + var(--sat)); width: min(260px, calc(100% - 178px)); padding: 6px 8px 6px 6px; border-radius: var(--r-card); background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(8px); gap: 8px; align-items: flex-start; }
  .status-card .portrait { width: 44px; height: 44px; }
  .status-card .bars { flex-direction: column; align-items: stretch; gap: 3px; }
  .name-row { gap: 5px; min-width: 0; } .name-row b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 90px; min-width: 0; flex: 0 1 auto; } .lv-badge { font-size: 11px; padding: 1px 6px; flex: none; } .name-row .class { font-size: 10px; white-space: nowrap; flex: none; } #hud-title { flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 76px; }
  .gauges { flex-direction: column; gap: 3px; }
  .gauge { gap: 4px; max-width: none; } .gauge label { width: 22px; font-size: 9px; }
  .gauge .bar, .gauge.exp .bar { height: 12px; border-radius: 6px; } .bar span, .gauge.exp .bar span { font-size: 9.5px; line-height: 12px; }
  .sysbtns { display: none; }
  .hud-bottom { position: absolute; right: calc(12px + var(--sar)); bottom: calc(14px + var(--sab)); flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
  .hud-bottom > * { pointer-events: auto; }
  .skill-cluster { display: grid; grid-template-columns: repeat(4, 56px); grid-template-rows: repeat(2, 56px); gap: 8px; align-items: end; justify-items: end; }
  .hud-btn.skill { width: 54px; height: 54px; border-radius: 14px; }
  .hud-btn.skill:nth-child(1) { grid-column: 1; grid-row: 2; } .hud-btn.skill:nth-child(2) { grid-column: 2; grid-row: 2; } .hud-btn.skill:nth-child(3) { grid-column: 3; grid-row: 2; } .hud-btn.skill:nth-child(4) { grid-column: 2; grid-row: 1; } .hud-btn.skill:nth-child(5) { grid-column: 3; grid-row: 1; } .hud-btn.skill:nth-child(6) { grid-column: 4; grid-row: 1; }
  .hud-btn.attack { grid-column: 4; grid-row: 2; width: 74px; height: 74px; margin: -10px -6px 0 0; box-shadow: 0 8px 24px rgba(217,74,61,.45); } .hud-btn.attack svg { width: 34px; height: 34px; } .hud-btn.attack .key { display: none; }
  .left-cluster { padding: 0; border: 0; gap: 8px; }
  .hud-btn.round { width: 48px; height: 48px; } .hud-btn .key { display: none; }
  /* 통화·피로도 열은 퀘스트 헬퍼(우상단, min(230px,56vw)) 왼쪽에서 멈춘다 — 겹치면 이벤트 버튼이 헬퍼 아래로 숨는다(UI-리서치 #1) */
  .hud-right { position: absolute; left: calc(8px + var(--sal)); top: calc(108px + var(--sat)); gap: 6px; justify-self: auto; flex-wrap: wrap; max-width: calc(100% - 20px - min(230px, 56vw) - var(--sal) - var(--sar)); }
  .currency span { font-size: 12px; padding: 4px 8px 4px 24px; min-width: 58px; }
  .fatigue { padding: 3px 6px; } .fatigue i { width: 34px; }
  .minimap-wrap { left: auto; right: calc(60px + var(--sar)); width: 100px; }
  .mm-head { min-height: var(--tap); padding: 0 4px 0 6px; } .mm-zone { font-size: 10.5px; } .mm-ch { min-width: 36px; height: 24px; font-size: 9px; padding: 0 4px; }
  .quest-helper { right: calc(8px + var(--sar)); top: calc(136px + var(--sat)); width: min(230px, 56vw); font-size: 11px; }   /* .mm-head 가 44px 이 되어 미니맵이 128px 까지 내려온다 */
  .qh-head { min-height: var(--tap); } .qh-body { padding: 6px 8px; gap: 6px; }
  .quest-helper .qh-item:nth-child(n+2) { display: none; }
  .hud-btn.icon.more { display: grid; position: absolute; right: calc(8px + var(--sar)); top: calc(8px + var(--sat)); width: 44px; height: 44px; z-index: 12; }
  .hud-btn.icon.more.open { background: rgba(245,196,81,.25); border-color: var(--gold); }
  .menu-btns { left: auto; right: calc(8px + var(--sar)); top: calc(58px + var(--sat)); display: none; flex-direction: column; flex-wrap: nowrap; gap: 6px; padding: 6px; border-radius: var(--r-card); background: rgba(8,10,22,.9); border: 1px solid var(--line); z-index: 12; max-height: calc(100% - 80px); overflow-y: auto; }
  #hud.more-open .menu-btns { display: flex; animation: panelIn .18s var(--ease); }
  .menu-btns .hud-btn.icon { width: 44px; height: 44px; padding-top: 0; } .menu-btns .hud-btn.icon .lbl { display: none; }
  .party-bar { left: calc(8px + var(--sal)); right: auto; top: calc(250px + var(--sat)); }   /* 좁아진 .hud-right 가 세 줄까지 늘어나도 겹치지 않는 높이 */
  .target-frame, .boss-bar { top: calc(150px + var(--sat)); } .target-frame { width: 180px; }
  .hud-btn.interact { bottom: calc(210px + var(--sab)); }
  .tutorial-tip { left: calc(8px + var(--sal)); transform: none; bottom: calc(120px + var(--sab)); width: min(320px, calc(100% - 230px)); }
  .chatlog { left: calc(8px + var(--sal)); bottom: calc(224px + var(--sab)); width: min(300px, calc(100% - 226px)); height: var(--tap); }
  .chatlog.open { height: 148px; } .chatlog.folded { height: var(--tap); }
  .chatlog:not(.open) .cl-tabs { display: none; } .chatlog:not(.open) .cl-last { display: block; } .chatlog:not(.open) .cl-body { display: none; }
  /* 접힌 상태에서 탭이 숨으므로 헤더 폭은 남는다 — 44px 은 그대로 유지한다(04 §7) */
  .cl-tabs { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .cl-tabs::-webkit-scrollbar { display: none; }
  .notices { top: 38%; }   /* 퀘스트 헬퍼(우상단, 110~282px) 아래로 — 중앙 알림이 헬퍼 하단과 겹치던 것을 띄운다 */
  .toast { top: auto; bottom: calc(290px + var(--sab)); }
  .dialog-portrait { width: 84px; height: 100px; }
  .lobby-main { flex-direction: column; gap: 10px; justify-content: flex-start; padding-top: 16px; overflow: hidden; }
  .slots { gap: 10px; padding: 24px 12px 20px; max-width: 100%; }
  .slot { width: min(150px, 30vw); height: 200px; }
  .slot .plate { width: 90%; font-size: 12px; }
  .info-card { width: 100%; max-width: 420px; padding: 12px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
  .info-card .head { display: flex; flex-direction: column; flex: 1; min-width: 120px; }
  .info-card .stats { flex: 1; min-width: 150px; margin: 0; font-size: 12px; } .info-card .stats div { padding: 3px 0; }
  .info-card .row2 { width: 100%; }
  .info-card .btn.start { width: 100%; margin-top: 4px; min-height: 48px; }
  .info-card .nm { font-size: 20px; }
  .lobby-foot .btn { min-width: 0; flex: 1; }
  .wc-grid { grid-template-columns: 1fr; }
  .world-list { flex-direction: row; overflow-x: auto; padding-bottom: 4px; } .world-card { flex: none; width: 150px; }
  .ch-grid { grid-template-columns: repeat(4, 1fr); }
  .cc-grid { gap: 6px; } .cc-card { min-height: 0; padding: 8px 4px; } .cc-card .view { height: 96px; } .cc-card p { display: none; } .cc-card .sk { gap: 3px; } .cc-card .sk span { width: 22px; height: 22px; border-radius: 6px; } .cc-card .sk svg { width: 14px; height: 14px; }
}
@media (max-width: 899px) and (max-height: 430px) {
  /* 모바일 가로: 하단 요소 축소 */
  .skill-cluster { grid-template-columns: repeat(4, 48px); grid-template-rows: repeat(2, 48px); gap: 6px; } .hud-btn.skill { width: 46px; height: 46px; } .hud-btn.attack { width: 62px; height: 62px; }
  .chatlog { bottom: calc(150px + var(--sab)); } .party-bar { top: calc(150px + var(--sat)); } .hud-right { top: calc(96px + var(--sat)); }
  /* 가로 모드는 세로 공간이 없다 — 퀘스트 헬퍼는 미니맵 아래 · 스킬 묶음 위 띠(약 70px)에 가두고 본문만 스크롤시킨다.
   * 좌측은 상태 카드와 통화·피로 열이 이미 쓰고 있어 옮길 수 없다 (04 §7 겹침 0). */
  .quest-helper { top: calc(132px + var(--sat)); max-height: calc(100vh - 305px); max-height: calc(100dvh - 305px); }
  .qh-body { overflow-y: auto; overscroll-behavior: contain; }
  .slot { height: 150px; } .slots { padding: 20px 12px 16px; }
}
/* 이모트 버튼·마을 채팅의 데스크톱 위치는 css/social.css 가 --bar-h 기준으로 담당 */
@media (min-width: 900px) and (max-width: 1180px) {
  .gauge { max-width: 200px; } .sys-btn { width: 52px; } .hud-btn.skill, .hud-btn.attack, .hud-btn.round { width: 46px; height: 46px; }
  .chatlog { width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  /* 장식 애니메이션만 끄고 상태 변화 트랜지션(게이지·쿨다운)은 유지 */
  .hud-btn.interact, .lobby::before, .lv-emblem, .lv-title, .lv-sub, .lv-num, .lv-rewards, .lv-card, .lv-unlock, .lv-hint, .lv-particles i, .notice, .floater, .cl-line.new, .hud-btn.skill.ready, .hp-vignette.on, .dialog-hint, .fatigue.low i::after, .panel, .modal .box, .lobby-sheet .box, .levelup-ov { animation: none !important; }
  .notice, .floater, .lv-hint { opacity: 1; }
  .slot, .btn, .hud-btn { transition: none; }
}
