/* gf:js-pack prototype/Spikes/rt-battle/ui/windows.css */
/* 분신 용사 창 층 — 키트 목업 규약(RT-WINDOWS). 전 ui_windows.css(RB-22 · 마이 티니 창 키트 · EFZ 구조)와 battle.js drawTalk(캔버스 대화 창)을 옮긴 것.
   목업 페이지(ui/mockup.html) · 게임(index.html #ui) · Unity(목업 엔진)가 같은 이 파일을 쓴다. 모양은 전 창 그대로이고 목업 엔진이 그릴 수 있게 바꾼 곳만 있다:
   - 무대 = HUD 와 같은 GUI(화면 높이 450, 목업 800x450). 게임은 .win-in 을 zoom(--u = 캔버스 높이/450)으로만 키운다(폰 가로 375 에서 창이 HUD 와 같이 .83 배).
     창 크기는 무대 800x450 에서의 전 값(min(…, 100%) · 높이 − 20)을 px 로 적었다: 더 넓은 화면에서도 창은 가운데 같은 크기, 어두운 막만 가로 전체(.shade = edge-fill).
   - JS 가 재던 물품 창 폭(--eq · --dt · --cell)도 800 무대 값 px(218 · 247.5 · 40).
   - aria 상태 → 키트 상태 클래스: 고름·켬 = .on, 못 누름 = .off, 만료 = .bad. 숨김은 [hidden] 한 줄.
   - 아이콘 색(흰 메뉴 아이콘 · 빈 칸 그림)은 가짜 요소 ::after/::before mask(엔진이 가짜 요소 mask 를 그린다), 그림 = 칸 클래스마다 url.
   - 글꼴 = 공장 UI 글꼴(GFUIFont = NotoSansKR-SemiBold, hud.css · Unity 와 같은 파일). 닫기 ✕ 는 글자 대신 두 막대.
   - 대화 창(전 drawTalk): 캔버스 식의 GUI 값(판 높이 clamp(450 × .34, 144, 198) × .78 등)을 풀어 px 로. 초상은 게임이 그리는 칸(그림 키 talk-portrait = 토순이 층 리그). */
#ui { position: fixed; z-index: 5; pointer-events: none; overflow: hidden; user-select: none; -webkit-user-select: none;
  --ink: #5e3d22; --ink-soft: #8d6c47; --ui-font: "GFUIFont"; --title-font: var(--ui-font); font-family: var(--ui-font); color: var(--ink); }
/* 창이 열린 동안(#ui.ui-dimmed — windows-js 04 깊이 onChange) 자르기 = 뷰포트 전체(uifit-1110, 11-10 사용자 "뒤에 백그라운드로 어두운 창이 화면을 다 덮지 못하는 경우"):
   창 층 상자 = 게임 판 상자라 16:9 보다 좁은 화면(태블릿 4:3 · 16:10 · 세로로 긴 PC 창)은 위아래 띠가, 기기 배율 2.625 · 3 은 상자 내림으로 변마다 0.3~0.4px 이 막 밖이었다.
   --ubx · --uby = 상자 밖 화면 px + 1(windows-js layout). 창이 없을 때는 그대로 상자에서 자른다(띠로 새는 칸 없음).
   대화 중(#ui.talking — 대화 막 .talk-dim 도 화면 전체, 대화 밖 층은 숨는다)도 같다(uifit2-1110) */
#ui.ui-dimmed, #ui.talking { overflow: visible; clip-path: inset(calc(-1 * var(--uby, 0px)) calc(-1 * var(--ubx, 0px))); }
/* 연결 대기 막(.nw-dim — #ui 에 바로 붙는 층, netwait.js)이 떠 있는 동안도 같다(4:3 · 16:10 위아래 띠까지 막). 따로 한 줄 — :has 를 모르는 브라우저는 이 줄만 버린다 */
#ui:has(> .nw-dim.on) { overflow: visible; clip-path: inset(calc(-1 * var(--uby, 0px)) calc(-1 * var(--ubx, 0px))); }
#ui * { box-sizing: border-box; margin: 0; scrollbar-width: none; }   /* 스크롤 막대 없음(Unity 목업 엔진과 같다 — 손가락 끌기 · 휠로 스크롤) */
#ui *::-webkit-scrollbar { display: none; }
#ui [hidden] { display: none !important; }
#ui .win-in { position: absolute; left: 0; top: 0; width: var(--hw, 800px); height: var(--hh, 450px); zoom: var(--u, 1); }
/* #ui 에 바로 붙는 층(연결 대기 .nw-dim · 점검 띠 .mt-band · 해금 띠 .ul-card · 누적 결제 .cp-dl/.cp-band/.cp-toast · 판매 알림 .au-sold — 값은 GUI 450 기준)도 무대 배율(uifit2-1110,
   11-10 사용자 "웹 해상도적용안되네 … 전부 찾아서"): .win-in 밖이라 배율 없이 화면 px 로 그려 PC 1080p 에서 2.4배 작았다(townshop 이 #win-screen 으로 옮긴 것과 같은 까닭).
   층마다 붙일 곳을 고치지 않고 여기 한 줄 — 뒤에 붙는 층도 따른다. #gf-toast 는 안에 제 .win-in 이 있다(ui_fx.js) */
#ui > :not(.win-in):not(#gf-toast) { zoom: var(--u, 1); }
#ui button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* 팝업(마이 티니 .dim/.popup) — 어두운 막(.shade)은 형제로 두어 넓은 화면에서만 가로로 늘인다 */
#ui .dim { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; padding: 10px; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
#ui .dim.open { opacity: 1; pointer-events: auto; }
/* 닫힌 창(opacity 0) 안은 누름도 받지 않는다 — 자식이 pointer-events: auto 를 따로 주면(지도 .ct-spot · .ct-foot) 닫힌 뒤에도 안 보이는 칸이 판 누름을 가로챈다 */
#ui .dim:not(.open) * { pointer-events: none !important; }
/* 닫힌 창 렌더 쉬기(Note20 실측): 닫힌 창(.dim 투명 0)도 화면 밖에서 무한 연출(꾸밈 칸 cos-breathe box-shadow · inv-sheen left ·
   순위 rk-glow text-shadow · 변신 mf-go-glow …)을 매 프레임 스타일 계산 · 칠하기 해 주 스레드 (program) 이 약 320 → 210 ms/s. 닫힘 페이드(.18s)가 끝난 뒤에만
   content-visibility: hidden(안 보이는 판의 속만 건너뜀 — 연출 시계 · 스크롤 · 측정은 그대로). 열 때는 바로 visible(전환은 열린 뒤 스타일 기준).
   allow-discrete 를 모르는 브라우저는 규칙 전체를 뺀다(@supports) · ?dimrest=0 = 끔(windows-js 01-store 가 html.dimrest-off) */
@supports (transition-behavior: allow-discrete) {
  html:not(.dimrest-off) #ui .dim:not(.open) { content-visibility: hidden; transition: opacity .18s ease, content-visibility 0s linear .18s allow-discrete; }
}
#ui .shade { position: absolute; inset: -100vmax; background: #1e2a1266; }   /* 막 = 상자 밖까지(띠 · 0.4px 틈 — 00-head #ui.ui-dimmed 가 뷰포트에서 자른다, uifit-1110) */
#ui .popup {
  position: relative; border: 24px solid transparent; border-image: url(assets/ui/panel.webp) 72 fill / 24px stretch;   /* EFZ 창 테가 얇다 */
  filter: drop-shadow(0 10px 18px #0006);   /* 여는 연출(팝)은 ui_fx.css */
}
#ui .popup-head { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 8px; border-bottom: 2px solid #d6bd92; margin-bottom: 10px; }
#ui .popup-head h2 { font-size: 17px; font-weight: 800; }   /* EFZ 창 제목 font_big 21(장체) ≈ 이 글꼴 17 */
#ui .close {
  position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%;   /* EFZ 닫기 32 */
  background: radial-gradient(circle at 35% 30%, #e59a7a, #c0603f 70%); border: 3px solid #8e3f25; box-shadow: inset 0 2px #f6c3ad, 0 2px 0 #6f2f1b;
}
#ui .close::before, #ui .close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 3px; margin: -1.5px 0 0 -6.5px; border-radius: 2px; background: #fff7ea; transform: rotate(45deg); }
#ui .close::after { transform: rotate(-45deg); }
/* 전체화면 창:
   EFZ scr_ui_window_fit_screen(창 = GUI 화면 전체) + scr_ui_title(맨 위 줄 왼쪽 ‹ 다음 제목, 그 자리를 누르면 닫힘). 판이 무대 전체(폭 --hw × 450)를 덮는다.
   판 = 도깨비의 세계 전체화면 창(설정 · 도술 · 멤버십) 결 — 뒤 장면이 비치는 어두운 반투명 판 + 맨 위 어두운 머리 띠(‹ · 아이콘 · 흰 제목 · 재화).
   탭 = 어두운 알약 줄 + 고른 탭만 베이지 알약 · 단추 = 짧은 둥근 알약(기본 베이지 · gold = 청록 결정 · danger = 적갈 · plain = 회색 반투명), 폭은 글자만큼 — 칸 폭으로 늘이지 않는다.
   글자색은 --ink 를 밝게 바꿔 창 안 모든 조각이 따라온다. 닫기 = 머리 띠 맨 왼쪽 ‹(.close.back — 바인딩 node "close" · [data-close] 그대로, 상자 없는 흰 꺾쇠) · Esc. */
/* 전체화면 창 높이 = 무대 450(폴드 펼침처럼 무대가 세로로 길면(--hh, 11-06) 세로 가운데 — 창 안 칸은 450 기준 고정 높이라 늘리지 않는다. 어둠(.shade)은 무대 전체) */
#ui .popup.full { --ink: #f2f0e7; --ink-soft: #9a9d98; position: absolute; left: 0; top: calc((100% - min(100%, 450px)) / 2); width: 100%; height: min(100%, 450px); padding: 0 calc(18px + var(--sr)) 22px calc(18px + var(--sl)); border: 0; border-image: none;
  --full-a: rgba(20, 22, 24, .72); --full-b: rgba(12, 13, 15, .82); background: linear-gradient(var(--full-a), var(--full-b)); color: var(--ink); filter: none; display: flex; flex-direction: column;
  box-shadow: 0 -100vmax 0 100vmax var(--full-a), 0 100vmax 0 100vmax var(--full-b); }   /* 판 위 · 아래(폴드 · 4:3 · 16:10 의 450 밖 띠)도 판과 같은 어둠 — 막(.shade)만이면 가운데 450 만 어둡고 위아래는 옅었다(uifit-1110). 판 색을 바꾸는 창은 --full-a · --full-b 로 */
/* 폰 가로 노치(앱 shortEdges = 판이 카메라 구멍 밑까지): 판 · 어둠은 화면 끝까지, 칸 · 단추만 안전 영역 안으로(uifit-1110). env = 화면 px 라 무대 배율(--u, .win-in zoom)로 나눈다 · PC · 노치 없는 폰은 0 */
#ui .popup.full { --sl: calc(env(safe-area-inset-left, 0px) / var(--u, 1)); --sr: calc(env(safe-area-inset-right, 0px) / var(--u, 1)); }
#ui .dim.open .popup.full { animation: fx-fade .2s ease-out both; }   /* 판이 화면 전체라 튀어 오르는 팝(ui_fx fx-pop) 대신 스며들기 */
/* 전체화면 창이 깔려 있는 동안 HUD(조이스틱 · 미니맵 · 도구 줄 · 경험치 줄) 숨김 — 반투명 판 뒤로 비치지 않게(도깨비의 세계 전체화면 창 = 뒤 장면만, HUD 없음).
   body.gf-fullwin = windows-js 04 UiDepth onChange. 판이 다 스며든 뒤(.2s) 숨기고, 닫으면 바로 돌아온다 */
body.gf-fullwin #hud { visibility: hidden; transition: visibility 0s .2s; }
/* 머리 띠 46 + 아래 12 → 본문 높이 450 − 58 − 22 = 370(물품 본문 368) */
#ui .popup.full > :is(.popup-head, .au-head, .sk-head) { flex: none; height: 46px; margin: 0 calc(-18px - var(--sr)) 12px calc(-18px - var(--sl)); padding: 0 calc(18px + var(--sr)) 0 calc(8px + var(--sl)); display: flex; align-items: center; justify-content: flex-start; gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .25)); }
#ui .popup.full > :is(.popup-head, .sk-head) > h2 { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
#ui .popup.full > :is(.popup-head, .sk-head) > h2::before { content: ""; flex: none; width: 24px; height: 24px; background: var(--ink); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }   /* 제목 앞 메뉴 아이콘(경매장 au-mark 와 같은 결) */
#ui .popup.full.inv > .popup-head > h2::before { -webkit-mask-image: url(assets/icons/menu-inventory.png); mask-image: url(assets/icons/menu-inventory.png); }
#ui .popup.full.shop > .popup-head > h2::before { -webkit-mask-image: url(assets/icons/menu-shop.png); mask-image: url(assets/icons/menu-shop.png); }
#ui .popup.full.sk > .sk-head > h2::before { -webkit-mask-image: url(assets/icons/menu-skills.png); mask-image: url(assets/icons/menu-skills.png); }
#ui .popup.full .win-wallet { margin-right: 0; }
#ui .popup.full .win-wallet .w-gold { color: #e8c979; } #ui .popup.full .win-wallet .w-diamond { color: #8fc6ff; }
#ui .close.back { width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; box-shadow: none; }
#ui .close.back:active { background: rgba(255, 255, 255, .12); }
#ui .close.back::before { width: 12px; height: 12px; margin: -6px 0 0 -3px; border-radius: 1px; background: none; border: solid var(--ink); border-width: 0 0 3px 3px; transform: rotate(45deg); }
#ui .close.back::after { display: none; }
/* 탭 줄 = 어두운 알약 줄, 고른 탭 = 베이지 알약(도깨비의 세계 설정 · 보스 토벌 탭). 줄 높이는 창마다(물품 29 · 상점 34) — 탭은 줄 높이만 채우고 폭은 글자만큼(왼쪽 정렬, 판 폭으로 늘이지 않는다).
   고르지 않은 탭도 옅은 판 + 1px 테 알약 — 글자만 떠 있으면 누르는 곳으로 안 읽힌다. 글자 14 = 메이플 키우기 탭 라벨보다 크게(maple-idle-ui-size.md). */
#ui .popup.full .tabs { display: flex; width: fit-content; max-width: 100%; align-self: flex-start; gap: 4px; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .popup.full .tab { flex: none; min-width: 72px; height: auto; padding: 0 16px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 800; background: rgba(255, 255, 255, .08); color: #e2dbcc; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 1px 2px rgba(0, 0, 0, .35); transition: background .15s, color .15s; }
#ui .popup.full .tab.on { background: linear-gradient(#e6decd, #c7bba3); color: #26221c; box-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 240, 210, .55); }
#ui .popup.full .tab:not(.on):active { background: rgba(255, 255, 255, .16); }
#ui .popup.full .btn { min-height: 28px; padding: 0 14px; border: 0; border-image: none; border-radius: 999px; background: linear-gradient(#ece4d3, #c9bda6); color: #2b261e; text-shadow: none; filter: none;
  font-size: 12.5px; font-weight: 800; white-space: nowrap; box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .35); }
#ui .popup.full .btn.gold { background: linear-gradient(#83c3bf, #548f8c); color: #fff; }
#ui .popup.full .btn.danger { background: linear-gradient(#a64646, #742c2c); color: #fff; }
#ui .popup.full .btn.plain { background: rgba(255, 255, 255, .12); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .popup.full .btn.off { filter: grayscale(1); opacity: .45; }
#ui .btn {
  min-height: 32px; padding: 4px 18px; border: 10px solid transparent; border-image: url(assets/ui/button-green.webp) 22 72 fill / 10px 24px stretch;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fffce7; font-size: 13px; font-weight: 800; text-shadow: 0 1px 2px #435022; transition: transform .1s ease, filter .1s ease;
}
#ui .btn.gold { border-image-source: url(assets/ui/button-gold.webp); text-shadow: 0 1px 2px #876025; }
#ui .btn.danger { border-image-source: url(assets/ui/button-gold.webp); filter: hue-rotate(-38deg) saturate(1.5) brightness(.92); text-shadow: 0 1px 2px #6a1c10; }
#ui .btn:not(.off):active { transform: scale(.95); }
#ui .btn.off { filter: grayscale(1) brightness(1.05); opacity: .6; cursor: default; }
#ui .btn.danger.off { filter: hue-rotate(-38deg) saturate(1.5) brightness(.92) grayscale(1) brightness(1.05); }
#ui .btn.plain { border-image: none; border: 2px solid #c9ac77; border-bottom-width: 4px; border-radius: 10px; background: #fbf1da; color: var(--ink); text-shadow: none; }

/* 우편·설정(마이 티니 .sheet — EFZ 우편 560x430, 설정 380x430) */
#ui .popup.sheet { display: flex; flex-direction: column; }
#ui .popup.mail { width: 560px; height: 430px; }
#ui .popup.settings { width: 380px; height: 430px; }
#ui .popup-head .count { margin-left: auto; margin-right: 12px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
#ui .sheet-body { flex: 1; min-height: 0; overflow: auto; border: 2px solid #d6bd92; border-radius: 10px; background: #efe0c0; padding: 8px; box-shadow: inset 0 2px 4px #a17c4a40; }
#ui .sheet-foot { flex: none; display: flex; justify-content: center; padding-top: 10px; }
#ui .mail-list { display: flex; flex-direction: column; gap: 8px; }
#ui .mail-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; min-height: 74px; padding: 0 2px; border: 14px solid transparent; border-image: url(assets/hud/slot.webp) 72 fill / 14px stretch; }
#ui .mail-icon { position: relative; width: 52px; height: 52px; border-radius: 10px; background: #e3cfa4; border: 2px solid #c9ac77; box-shadow: inset 0 2px #f7ecd2; }
#ui .mail-icon img { position: absolute; left: 4px; top: 4px; width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; }
#ui .mail-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#ui .mail-text b { font-size: 15px; font-weight: 800; }
#ui .mail-text span { font-size: 12px; color: var(--ink-soft); font-weight: 700; }
#ui .mail-text .bad { color: #b0492f; }
#ui .mail-row .btn { width: 72px; min-height: 30px; padding: 2px 0; font-size: 13px; }
#ui .empty { height: 100%; min-height: 100px; display: grid; place-items: center; color: var(--ink-soft); font-weight: 700; text-align: center; }
#ui .tabs { flex: none; display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 6px; margin-bottom: 10px; }
#ui .tab { height: 34px; border-radius: 9px; font-size: 14px; font-weight: 800; border: 2px solid #c9ac77; background: #f3e6c8; color: var(--ink-soft); }
#ui .tab.on { background: #fff8e6; color: var(--ink); border-color: #a9793e; box-shadow: inset 0 -3px #e5c98e; }
/* 설정 창 = 스크롤 없이 한 화면: EFZ obj_setting_window 380x430 고정 · 탭 높이 34 · 버튼 높이 clamp(24~34) ·
   글 = EFZ font_little 9pt(=12px, 탭·버튼·계정 줄) · font_basic 12pt 장체(=16px) 는 이 게임 글꼴(Noto SemiBold, 더 넓음)로 같은 폭인 14px(줄 이름).
   유저 탭 = 버튼 2열 + 아이콘(Codex 그림 ui/art/set-*.png), 위험(로그아웃 · 계정 삭제)은 아래 따로 한 줄 · 붉은 판(EFZ 로그아웃 #4b1515/#8b2a2a 의 구분 — 색은 창 키트 닫기 단추 계열) */
#ui .user-panel { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 4px 0 0; }
#ui .set-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 6px; }
#ui .btn.set-btn { min-width: 0; min-height: 0; height: 32px; padding: 0 6px 0 4px; justify-content: flex-start; gap: 5px; border-radius: 8px; border-bottom-width: 3px; font-size: 12px; font-weight: 800; }
#ui .btn.set-btn img { flex: none; width: 22px; height: 22px; }
#ui .btn.set-btn span { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 13px; text-align: left; overflow-wrap: anywhere; }   /* 긴 말(Link Google Account)은 32 높이 안 두 줄 */
#ui .btn.set-btn.risk { border-color: #b4664d; background: #f8e3d8; color: #8e3f25; }
#ui .account-box { width: 100%; padding: 6px 10px; border: 2px solid #d6bd92; border-radius: 8px; background: #f8eed8; font-size: 12px; line-height: 14px; font-weight: 700; color: var(--ink-soft); display: flex; flex-direction: column; gap: 3px; }
#ui .account-box div { display: flex; justify-content: space-between; gap: 8px; }
#ui .account-box span { min-width: 0; overflow-wrap: anywhere; }   /* 긴 계정 아이디가 Version 을 칸 밖으로 밀지 않게 줄바꿈 */
#ui .toggle-row { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 10px; margin-bottom: 10px; border: 2px solid #d6bd92; border-radius: 8px; background: #f8eed8; font-size: 15px; font-weight: 800; }
/* 켬 · 끔은 모양만 바꾼다(키트 상태): 글자 둘 · 손잡이 둘을 제자리에 두고 불투명도로 갈음 */
#ui .toggle { position: relative; flex: none; width: 76px; height: 28px; border-radius: 14px; background: #cdbb98; border: 2px solid #a8916a; box-shadow: inset 0 2px 3px #0002; font-size: 12px; font-weight: 900; }
#ui .toggle::before, #ui .toggle::after { content: ""; position: absolute; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fffaf0; box-shadow: 0 1px 2px #0004; }
#ui .toggle::before { left: 50px; opacity: 0; }
#ui .toggle::after { left: 2px; }
#ui .toggle.on { background: #8fae4c; border-color: #5f7d2c; }
#ui .toggle.on::before { opacity: 1; }
#ui .toggle.on::after { opacity: 0; }
#ui .toggle span { position: absolute; top: 5px; line-height: 14px; }
#ui .toggle .t-on { left: 12px; color: #fff; opacity: 0; }
#ui .toggle .t-off { right: 10px; color: #7a6a52; }
#ui .toggle.on .t-on { opacity: 1; }
#ui .toggle.on .t-off { opacity: 0; }
#ui .version { text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-top: 14px; }
#ui .settings .toggle-row { font-size: 14px; margin-bottom: 8px; }
#ui .settings .version { margin-top: 10px; }
/* 볼륨 바: 마일드티니 SettingWindow 게이지(빈 홈 + 채움 % + 손잡이 32x34 끌기, 기본 60) 를 이 창 크기로.
   줄 = EFZ 설정 줄 높이 44 · 왼쪽 아이콘(소리 · 음악) 24 + 이름 + 홈(높이 14, 마일드티니 게이지 높이) + 숫자. 그림 = Codex 한 벌(ui/art/vol-track · vol-fill · vol-knob, 가로 9-slice).
   채움 폭 = 바인딩 fill(prefs.*Ratio), 손잡이 = 채움 끝 가운데. 끌기 = windows.js volWire(0 = 음소거 → 아이콘 흐림) */
#ui .vol-row { justify-content: flex-start; gap: 8px; }
#ui .vol-ico { flex: none; width: 24px; height: 24px; transition: filter .15s, opacity .15s; }
#ui .vol-row:has(.vol-bar:not(.on)) .vol-ico { filter: grayscale(1); opacity: .55; }
#ui .vol-name { flex: none; width: 40px; }
#ui .popup.settings .p-game > .vol-row .vol-name { width: 48px; }   /* uifix-1122: [게임] 탭 "Sound"(46) 가 이름 칸 40 을 넘쳤다 — 두 줄(Sound · BGM) 이름 칸만 48 */
#ui .vol-bar { position: relative; flex: 1; min-width: 0; height: 30px; margin: 0 10px; touch-action: none; cursor: pointer; }
#ui .vol-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 14px; margin-top: -7px; border-image: url(ui/art/vol-track.png) 0 24 fill / 0 7px stretch; }
#ui .vol-in { position: absolute; left: 3px; right: 3px; top: 50%; height: 8px; margin-top: -4px; }
#ui .vol-fill { position: absolute; left: 0; top: 0; bottom: 0; display: block; border-image: url(ui/art/vol-fill.png) 0 18 fill / 0 4px stretch; }
#ui .vol-knob { position: absolute; right: -13px; top: 50%; width: 26px; height: 26px; margin-top: -13px; background: url(ui/art/vol-knob.png) center / 100% 100% no-repeat;
  filter: drop-shadow(0 1px 1px #0005); transition: transform .1s ease; }
#ui .vol-bar.drag .vol-knob { transform: scale(1.12); }
#ui .vol-num { flex: none; width: 26px; text-align: right; font-size: 12px; font-weight: 800; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
/* 언어 줄(release-red22 I18N): 설정 게임 탭 한 줄 = 이름(위) + 자기 이름 칩 5개(아래 한 줄 — 가장 긴 简体中文 · English 가 380 창 안에). 목록 locale.list · 행동 locale.set */
#ui .toggle-row.lang-row { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px; }
#ui .lang-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }   /* 칩 5개 = 한 줄 고르게(가장 긴 简体中文 · English 도 11px 로 칸 안) */
#ui .lang-chip { min-width: 0; height: 24px; padding: 0 2px; border-radius: 7px; border: 2px solid #c9ac77; background: #f3e6c8; color: var(--ink-soft); font-size: 11px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .lang-chip.on { background: #8fae4c; border-color: #5f7d2c; color: #fff; }
/* 설정 > 문의 창: 설정 창 스킨(양피지 판 · 갈색 테 · .btn) 그대로, 크기 = EFZ 우편 창 560x430, 스크롤 없음.
   안 = 제목 한 줄(높이 32 · ≤ 80) · 내용 칸(남는 높이 · 5~2000 · 오른쪽 아래 글자 수, 5자 못 되면 붉게) · 스크린샷 줄(칸 46 × 최대 6 + 사진 추가 칸, 빼기 = 창 닫기 단추 작은 판) · 취소/보내기(34).
   보내는 동안 보내기 단추 = 진행 막대(.inq-send-fill 폭) + "사진 올리는 중 i/n". 키보드가 덮으면 .kb(windows.js inqFit): 제목줄 · 사진 줄을 숨기고 보이는 곳 크기로 */
#ui .popup.inquiry { width: 560px; height: 430px; }
#ui .inquiry .popup-head h2 { display: flex; align-items: center; gap: 6px; }
#ui .inquiry .inq-ico { width: 26px; height: 26px; }
#ui .inq-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
#ui .inq-line, #ui .inq-area { position: relative; display: block; }
#ui .inq-area { flex: 1; min-height: 0; }
#ui .inq-subject, #ui .inq-text { width: 100%; border: 2px solid #c9ac77; border-radius: 8px; background: #fffaf0; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink);
  user-select: text; -webkit-user-select: text; outline: none; box-shadow: inset 0 2px 4px #a17c4a30; }
#ui .inq-subject { height: 32px; padding: 0 56px 0 10px; }
#ui .inq-text { height: 100%; resize: none; padding: 8px 10px 20px; line-height: 18px; }
#ui .inq-subject:focus, #ui .inq-text:focus { border-color: #a9793e; }
#ui .inq-subject::placeholder, #ui .inq-text::placeholder { color: var(--ink-soft); opacity: .75; }
#ui .inq-sub-count, #ui .inq-count { position: absolute; right: 10px; font-size: 11px; font-weight: 700; color: var(--ink-soft); pointer-events: none; font-variant-numeric: tabular-nums; }
#ui .inq-sub-count { top: 50%; transform: translateY(-50%); }
#ui .inq-count { bottom: 6px; }
#ui .inq-count.bad { color: #b0492f; }
#ui .inq-shots-row { flex: none; display: flex; align-items: center; gap: 6px; height: 60px; padding: 0 8px; border: 2px solid #d6bd92; border-radius: 8px; background: #efe0c0; box-shadow: inset 0 2px 4px #a17c4a40; }
#ui .inq-shots-name { flex: none; width: 66px; display: flex; flex-direction: column; gap: 2px; }
#ui .inq-shots-name b { font-size: 12px; font-weight: 800; }
#ui .inq-n { font-size: 11px; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
#ui .inq-shots { display: flex; gap: 8px; }
#ui .inq-shot { position: relative; flex: none; width: 46px; height: 46px; border: 2px solid #c9ac77; border-radius: 6px; background: #fffaf0; }
#ui .inq-thumb { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
#ui .inq-del { position: absolute; right: -7px; top: -7px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e59a7a, #c0603f 70%); border: 2px solid #8e3f25; box-shadow: 0 1px 0 #6f2f1b; }   /* 창 닫기 단추(.close) 작은 판 */
#ui .inq-del::before, #ui .inq-del::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 2px; margin: -1px 0 0 -4px; border-radius: 1px; background: #fff7ea; transform: rotate(45deg); }
#ui .inq-del::after { transform: rotate(-45deg); }
#ui .inq-del.off { opacity: .4; }
#ui .inq-add { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: 2px dashed #b99a66; border-radius: 6px; background: #f8eed8; transition: transform .1s ease; }
#ui .inq-add img { width: 32px; height: 32px; }
#ui .inq-add:not(.off):active { transform: scale(.94); }
#ui .inq-add.off { opacity: .4; cursor: default; }
#ui .inq-foot { gap: 10px; padding-top: 8px; }
#ui .inq-foot .btn { width: 150px; min-height: 34px; padding: 2px 10px; font-size: 13px; }
#ui .btn.inq-send { position: relative; overflow: hidden; gap: 6px; }
#ui .inq-send-ico { position: relative; width: 20px; height: 20px; }
#ui .inq-send-label { position: relative; white-space: nowrap; }
#ui .inq-send-fill { position: absolute; left: -10px; top: -10px; bottom: -10px; width: 0; background: #fff6d266; transition: width .2s ease; }
#ui .btn.inq-send.busy.off { filter: none; opacity: 1; cursor: progress; }
#ui .inquiry-dim.kb .popup { border-width: 14px; border-image-width: 14px; transform: none; transition: none; }
#ui .inquiry-dim.kb .popup-head, #ui .inquiry-dim.kb .inq-shots-row { display: none; }
#ui .inquiry-dim.kb .inq-body { gap: 6px; }
#ui .inquiry-dim.kb .inq-foot { padding-top: 6px; }
#ui .inquiry-dim.kb .inq-foot .btn { min-height: 30px; }
/* [Google 계정 연동] 오른쪽 위 모서리 다이아 알약(연동 보상 — 아직 받지 않았을 때만). 글자 줄을 밀지 않게 단추 밖 모서리에 띄운다(sandbox 실측: 안쪽에 두면 "Google 계정 연동"이 잘림).
   메뉴 [디스코드] 알약(.m-pz)과 같은 어두운 판 + 금 테 · 높이 16 · 글자 10. */
#ui #set-google { position: relative; overflow: visible; }
#ui .btn.set-btn .set-pz { position: absolute; top: -8px; right: -4px; height: 16px; display: inline-flex; align-items: center; gap: 2px; padding: 0 5px 0 2px; border-radius: 8px; background: rgba(14, 16, 22, .9); box-shadow: inset 0 0 0 1px #c8aa6e; font-size: 10px; line-height: 16px; font-weight: 800; font-style: normal; color: #fff; pointer-events: none; animation: m-pz-bob 1.6s ease-in-out infinite; }
#ui .btn.set-btn .set-pz img { width: 12px; height: 12px; }
#ui .btn.set-btn .set-pz b { font-weight: 800; }
/* linkgem-1111 우편함 아래줄 [쿠폰] — 받은 쿠폰 보상이 오는 곳에서 바로 번호 입력(설정 [쿠폰]과 같은 길). 글자 폭 단추 + 틈 8 */
#ui .mail .sheet-foot { gap: 8px; }
#ui .mail .sheet-foot .mail-coupon { flex: none; width: auto; padding: 0 14px; }
#ui .btn.set-btn .set-sub { display: block; font-size: 9px; line-height: 11px; font-weight: 700; color: #b0623a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* linksplit-1121 [Google 계정 연동] 아래 '웹 · 모바일은 따로' */
/* 확인·입력(마이 티니 .ask) — 물품 창 위에 뜬다 */
#ui .dim.ask-dim { z-index: 20; }
#ui .popup.ask { width: 300px; text-align: center; }
#ui .ask p { font-size: 14px; font-weight: 800; line-height: 20px; padding: 4px 0 12px; white-space: pre-line; word-break: keep-all; overflow-wrap: anywhere; }   /* 어절 줄바꿈(petsellfx-1120 주호님: 펫 판매 결과가 '나/오지 않았습니다' 로 끊김 — bf-need juho4fix-1115 와 같은 처리) */
#ui .ask input { display: block; width: 100%; height: 34px; margin-bottom: 14px; padding: 0 10px; border: 2px solid #c9ac77; border-radius: 8px; background: #fffaf0; font: inherit; font-weight: 700; color: var(--ink); user-select: text; }
#ui .ask-buttons { display: flex; justify-content: center; gap: 10px; }
#ui .ask-buttons .btn { min-width: 92px; }

/* 메뉴(EFZ obj_ingame_system Draw_64 메뉴 줄: 판·칸 배경 없음 — 아이콘 뒤 어두운 빛번짐 + 테두리 있는 흰 글자, 5칸씩 두 줄 오른쪽 정렬)
   머리줄 top 14.4 + 36 + 6 바로 아래. 둘째 줄은 남는 칸만큼 오른쪽에 붙는다.
   칸 간격 = EFZ(같은 GUI 높이 450): 세로 56 · 아이콘 28(scr_ingame_top_menu_icon_center). 가로는 EFZ 40 → 44(menudot-1119 — 형창님 11-19 "좀 정렬좀 해두자":
     네 글자 이름 디스코드 38.7 · 절전 모드 41.6 이 40 칸에서 옆 칸 이름과 붙었다 → 44 = 이웃 이름 틈 10 이상). */
#ui .menu-pop {
  position: absolute; z-index: 9; top: 56.4px; right: 12px; pointer-events: auto;
  width: 236px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 0;
  padding: 6px 8px; border-radius: 12px; background: rgba(12, 13, 15, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 4px 12px rgba(0, 0, 0, .35);   /* 뒤 스킬 단추와 겹쳐도 읽히게 깐 판: 칸 5 × 44 + 좌우 8 */
}
#ui .menu-item { position: relative; isolation: isolate; width: 44px; height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 10.5px; font-weight: 800; white-space: nowrap; color: #fff; paint-order: stroke; -webkit-text-stroke: 3px rgba(14,16,22,.85); text-shadow: 0 1px 2px #000a; transition: transform .1s ease; }
#ui .menu-item::before { content: ""; position: absolute; left: 50%; top: 18px; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(8,10,16,.62) 0, rgba(8,10,16,.4) 42%, rgba(8,10,16,0) 70%); }
#ui .menu-item:active { transform: scale(.94); }
#ui .white-icon { position: relative; flex: none; width: 28px; height: 28px; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(22,26,32,.45)) drop-shadow(0 0 1px rgba(22,26,32,.55)); }
#ui .white-icon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#fff 12%, #f7f7f7 44%, #c7c9cc);
  -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
#ui .m-inventory .white-icon::after { -webkit-mask-image: url(assets/icons/menu-inventory.png); mask-image: url(assets/icons/menu-inventory.png); }
#ui .m-skills .white-icon::after { -webkit-mask-image: url(assets/icons/menu-skills.png); mask-image: url(assets/icons/menu-skills.png); inset: -4px; }   /* 그림이 판의 58 %(다른 메뉴 그림 70~82 %) — 36/28 배로 키워 다른 아이콘과 같은 크기로(menudot-1119) */
#ui .m-ranking .white-icon::after { -webkit-mask-image: url(assets/icons/menu-ranking.png); mask-image: url(assets/icons/menu-ranking.png); }
#ui .m-notice .white-icon::after { -webkit-mask-image: url(assets/icons/menu-notice.png); mask-image: url(assets/icons/menu-notice.png); }
#ui .m-attendance .white-icon::after { -webkit-mask-image: url(assets/icons/menu-event.png); mask-image: url(assets/icons/menu-event.png); }   /* 이벤트 아이콘 = Codex 이미지 생성(assets/icons/menu-event.prompt.txt) */
#ui .m-pass .white-icon::after { -webkit-mask-image: url(assets/icons/menu-pass.png); mask-image: url(assets/icons/menu-pass.png); }
#ui .m-shop { position: relative; }
#ui .m-shop .white-icon::after { -webkit-mask-image: url(assets/icons/menu-shop.png); mask-image: url(assets/icons/menu-shop.png); }
#ui .m-friends .white-icon::after { -webkit-mask-image: url(assets/icons/menu-friends.png); mask-image: url(assets/icons/menu-friends.png); }
#ui .m-guild .white-icon::after { -webkit-mask-image: url(assets/icons/menu-guild.png); mask-image: url(assets/icons/menu-guild.png); }
#ui .m-auction { position: relative; }   /* 끝난 거래 점(au-dot) · Lv 잠금 자물쇠(features/auction/auction_gate.css) — 11-04 W13 메뉴 칸 복구 */
#ui .m-auction .white-icon::after { -webkit-mask-image: url(assets/icons/menu-auction.png); mask-image: url(assets/icons/menu-auction.png); }
#ui .m-profile .white-icon::after { -webkit-mask-image: url(assets/icons/menu-profile.png); mask-image: url(assets/icons/menu-profile.png); }   /* Codex 이미지 생성(menu-profile.prompt.txt) */

/* 메뉴 [디스코드] 칸: 흰 글리프(assets/icons/menu-discord.svg — 다른 메뉴 글리프와 같은 64 판 흰 실루엣 + 눈 구멍). 받을 보상이 남았으면 아이콘 위 가운데 작은 다이아 알약(menudot-1119: 예전 왼쪽 위는 옆 칸 [프로필] 빨간 점과 겹쳤다 — 가운데면 양옆 점과 10 이상 떨어짐).
   알약 = 높이 13 · 글자 8.5 · 어두운 판 + 금선(작은 팝업 금선 #c8aa6e 와 같은 색), 숫자 = 다이아 값 강조색 없이 흰 글자. */
#ui .m-discord .white-icon::after { -webkit-mask-image: url(assets/icons/menu-discord.svg); mask-image: url(assets/icons/menu-discord.svg); }
#ui .m-pz { position: absolute; top: -4px; left: 50%; height: 13px; display: inline-flex; align-items: center; gap: 1px; padding: 0 3px 0 1px; border-radius: 7px;
  background: rgba(14, 16, 22, .88); box-shadow: inset 0 0 0 1px #c8aa6e; font-size: 8.5px; line-height: 13px; -webkit-text-stroke: 0; pointer-events: none; transform: translateX(-50%); animation: m-pz-bob-c 1.6s ease-in-out infinite; }
#ui .m-pz img { width: 10px; height: 10px; }
#ui .m-pz b { font-weight: 800; color: #fff; }
@keyframes m-pz-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
@keyframes m-pz-bob-c { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -1.5px); } }   /* 가운데 맞춘 [디스코드] 알약용 */
/* 입력 확인 창 [붙여넣기]: 입력 칸 오른쪽 안 글자 폭 알약(높이 24) — 읽을 수 있는 화면에서만 보인다 */
#ui .ask .ask-field { position: relative; display: block; }
#ui .ask .ask-field:has(.ask-paste:not([hidden])) input { padding-right: 78px; }
#ui .ask .btn.ask-paste { position: absolute; right: 5px; top: 5px; flex: none; min-width: 0; min-height: 0; height: 24px; padding: 0 10px; border-radius: 12px; border-bottom-width: 2px; font-size: 11px; font-weight: 800; }
/* 물품(인벤토리): EFZ obj_inventory_window 가로 배치 — 장비창 218 | 물품 칸(auto-fill, 남는 폭을 받음) | 아이템 정보 247.5. 본문 368 = 전체화면 창(01-popup) 머리 띠 아래.
   물품 창(#inv-dim) 칸만 39 로 줄였다 — 같은 .item-cell 을 쓰는 다른 창은 52 그대로. 움직임은 features/bag/inv_fx.css · inv_fx.js, 참고 화면은 dokkaebi-world.md §11.9. */
#ui .inv-body { flex: none; height: 368px; display: grid; grid-template-columns: 218px 1fr 247.5px; gap: 8px; }
#ui .inv-pane { position: relative; height: 368px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; background: rgba(10, 12, 13, .45); }
/* 판 안 칸은 절대 배치(800 무대 값): 목록 · 숨김이 바뀌어도 Unity 엔진이 판을 다시 재지 않게 */
#ui .inv-pane > * { position: absolute; left: 8px; right: 8px; }
#ui .inv-pane > .inv-label { top: 6px; height: 19px; }
#ui .inv-pane > .tabs { top: 28px; height: 29px; margin: 0; }
#ui .inv-label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: #d6d0ba; }
#ui .inv-label::before { content: ""; flex: none; width: 3px; height: 12px; border-radius: 2px; background: #e6decd; }   /* 판 이름 앞 세로 막대 */
#ui .inv .tabs { margin-bottom: 6px; gap: 3px; }
#ui .inv .tabs .tab { min-width: 0; padding: 0 10px; font-size: 13px; }   /* 가운데 판 ≈ 265 에 탭 5개가 들어가게 01-popup 최소 폭 72 를 끔 */
#ui .eq-box { top: 61px; height: 297px; }
#ui .eq-box > .tab-panel { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }   /* 탭 판은 같은 자리에 겹침 — 바인딩이 하나만 보인다 */
#ui .inv-empty.off { opacity: 0; pointer-events: none; }
#ui .inv-preview { display: block; }
/* 정보 판(202 × 297) = 캐릭터 무대 172(tickPreview 가 그림) → 이름 줄 20(Lv · 이름) → 길드 | 칭호 줄 16 → 맨 아래 전투력 띠 50. 공격력 등 세부 값은 능력치 탭.
   장비 판 = 머리 글 16 · 장비 8칸(2열 × 4줄, 칸 42) | 치장 4칸(1열, EFZ 장비창 외형 칸 자리). 능력치 판 = features/stats/stats.js. */
#ui .hero-stage { position: absolute; left: 0; top: 4px; width: 100%; height: 172px; }
#ui .hero-tag { position: absolute; left: 0; top: 168px; width: 100%; height: 20px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; white-space: nowrap; }
#ui .hero-tag b { min-width: 0; font-size: 13px; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px #000; }
#ui .hero-tag span { flex: none; height: 15px; padding: 0 6px; border-radius: 999px; font-size: 10px; font-weight: 900; line-height: 15px; color: #26221c; background: linear-gradient(#e6decd, #c7bba3); }
#ui .hero-sub { position: absolute; left: 0; top: 190px; width: 100%; height: 16px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 0 8px; font-size: 9.5px; font-weight: 700; line-height: 16px; white-space: nowrap; }
#ui .hero-sub > span { min-width: 0; display: inline-flex; align-items: center; gap: 3px; overflow: hidden; }
#ui .hero-sub > span + span::before { content: ""; flex: none; width: 1px; height: 9px; margin-right: 2px; background: rgba(255, 255, 255, .18); }   /* 길드 | 칭호 */
#ui .hero-guild { color: #b9d6d3; }   /* 01-popup .btn.gold 색 */
#ui .hero-guild svg, #ui .hero-guild img { flex: none; width: 13px; height: 13px; }
#ui .hero-title { color: #e8c979; }   /* 01-popup 지갑 금 */
#ui .hero-sub .none { font-style: normal; color: var(--ink-soft); opacity: .7; }
#ui .hero-floor { position: absolute; left: 50%; top: 136px; width: 104px; height: 24px; margin-left: -52px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230, 222, 205, .22), rgba(230, 222, 205, .06) 62%, transparent); box-shadow: 0 0 0 1px rgba(230, 222, 205, .07); }   /* 발밑 빛 */
#ui .hero-box { position: absolute; left: 0; top: 30px; width: 100%; height: 160px; }   /* 발 = 칸 아래에서 약 42 위(서기 그림 아래 여백) → 발밑 빛 136 에 닿게 */
#ui .inv-hero { position: absolute; left: 0; top: 0; width: 100%; height: 160px; }   /* 게임이 그리는 칸(그림 키 hero: 서기 클립 숨쉬기, 정수 배 · 발 = 아래 가운데) */
/* 전투력 띠(정보 판 맨 아래) */
#ui .inv-cp { position: absolute; left: -8px; right: -8px; width: auto; top: auto; bottom: 4px; height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .5) 22%, rgba(0, 0, 0, .5) 78%, transparent); }
#ui .inv-cp::before, #ui .inv-cp::after { content: ""; position: absolute; left: 14%; right: 14%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 228, 160, .55), transparent); }
#ui .inv-cp::before { top: 0; } #ui .inv-cp::after { bottom: 0; }
#ui .inv-cp span { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; color: #d9c9a0; line-height: 13px; }
#ui .inv-cp b { font-size: 24px; font-weight: 900; line-height: 28px; color: #fff4dc; font-variant-numeric: tabular-nums; text-shadow: 0 0 10px rgba(255, 210, 120, .55), 0 1px 0 rgba(0, 0, 0, .6); }
/* 장비 판: 장비 2열 + 치장 1열, 칸 42 */
#ui .eq-head { position: absolute; left: 0; top: 2px; width: 100%; height: 14px; }
#ui .eq-head span { position: absolute; top: 0; font-size: 10.5px; font-weight: 800; line-height: 14px; color: var(--ink-soft); }
#ui .eq-head span:first-child { left: 14px; width: 94px; text-align: center; }
#ui .eq-head span.cos { left: 138px; width: 42px; text-align: center; color: #e8cf8a; }
#ui .eq-slots { position: absolute; left: 14px; top: 20px; width: 94px; display: grid; grid-template-columns: repeat(2, 42px); grid-auto-rows: 42px; gap: 10px; }
#ui .cos-slots { position: absolute; left: 138px; top: 20px; width: 42px; display: grid; grid-template-columns: 42px; grid-auto-rows: 42px; gap: 10px; }
#ui .cos-slots::before { content: ""; position: absolute; left: -15px; top: 2px; bottom: 2px; width: 1px; background: linear-gradient(transparent, rgba(232, 207, 138, .35), transparent); }   /* 장비 | 치장 나눔 선 */
#ui .p-equip .equip-cell { width: 42px; height: 42px; }
#ui .p-equip .empty-slot-icon { left: 7.5px; top: 7.5px; width: 24px; height: 24px; }
#ui .eq-slots .equip-cell { cursor: pointer; transition: transform .06s ease-out; }
#ui .eq-slots .equip-cell.on:active { transform: scale(.92); }   /* 누르면 물품 칸에서 그 장비를 고른다(inv_fx.js) */
/* 장비 칸 아래(약 60)는 펫 등 다음 칸 자리로 비워 둔다 */
/* 세부 능력치 12칸(능력치 판 안) */
#ui .eq-sum { flex: none; padding: 6px 4px; border-radius: 8px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 28px; gap: 0 4px; align-content: start; }
#ui .equip-cell { --gc: #6b7073; position: relative; width: 36px; height: 36px; border-radius: 8px; background: rgba(0, 0, 0, .34); border: 1.5px solid rgba(255, 255, 255, .1); box-shadow: inset 0 1px rgba(255, 255, 255, .05); }
#ui .equip-cell.on { background: radial-gradient(120% 80% at 30% 15%, rgba(255, 255, 255, .22), transparent 55%), linear-gradient(160deg, color-mix(in srgb, var(--gc) 60%, #1d2124), color-mix(in srgb, var(--gc) 20%, #121517));
  border-color: color-mix(in srgb, var(--gc) 75%, #fff); box-shadow: 0 0 8px color-mix(in srgb, var(--gc) 40%, transparent); }   /* --gc 는 inv_fx.js 가 착용 물품 등급색으로 넣는다 */
#ui .equip-cell .icon { position: absolute; left: 0; top: 0; right: 0; bottom: 0; margin: auto; width: 84%; height: 84%; object-fit: contain; image-rendering: pixelated; }   /* 칸 가운데 · 칸 크기 비율(칸마다 px 자리 값 없음) */
#ui .empty-slot-icon.off { opacity: 0; }
#ui .empty-slot-icon { position: absolute; left: 7.5px; top: 7.5px; width: 18px; height: 18px; opacity: .32; }
#ui .empty-slot-icon::before { content: ""; position: absolute; inset: 0; background: #c9ccc6;
  -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
/* 빈 칸 부위 그림: assets/ui/eqslot = Codex 이미지 생성(receipt.json), assets/icons = 코드 SVG */
#ui .s-head .empty-slot-icon::before { -webkit-mask-image: url(assets/icons/slot-head.png); mask-image: url(assets/icons/slot-head.png); }
#ui .s-face .empty-slot-icon::before { -webkit-mask-image: url(assets/icons/slot-face.png); mask-image: url(assets/icons/slot-face.png); }
#ui .s-melee_look .empty-slot-icon::before { -webkit-mask-image: url(assets/ui/eqslot/melee-look.png); mask-image: url(assets/ui/eqslot/melee-look.png); }
#ui .s-weapon .empty-slot-icon::before { -webkit-mask-image: url(assets/ui/eqslot/weapon.png); mask-image: url(assets/ui/eqslot/weapon.png); }
#ui .s-cos_hat .empty-slot-icon::before { -webkit-mask-image: url(assets/ui/eqslot/cos-hat.png); mask-image: url(assets/ui/eqslot/cos-hat.png); }
#ui .s-helmet .empty-slot-icon::before { -webkit-mask-image: url(assets/ui/eqslot/helmet.png); mask-image: url(assets/ui/eqslot/helmet.png); }
#ui .s-cos_outfit .empty-slot-icon::before { -webkit-mask-image: url(assets/ui/eqslot/cos-outfit.png); mask-image: url(assets/ui/eqslot/cos-outfit.png); }
#ui .s-armor .empty-slot-icon::before { -webkit-mask-image: url(assets/ui/eqslot/armor.png); mask-image: url(assets/ui/eqslot/armor.png); }
#ui .s-cos_bag .empty-slot-icon::before { -webkit-mask-image: url(assets/ui/eqslot/cos-bag.png); mask-image: url(assets/ui/eqslot/cos-bag.png); }
#ui .s-bag .empty-slot-icon::before { -webkit-mask-image: url(assets/icons/slot-bag.png); mask-image: url(assets/icons/slot-bag.png); }
#ui .s-shoes .empty-slot-icon::before { -webkit-mask-image: url(assets/ui/eqslot/shoes.png); mask-image: url(assets/ui/eqslot/shoes.png); }
#ui .s-gloves .empty-slot-icon::before { -webkit-mask-image: url(assets/ui/eqslot/gloves.png); mask-image: url(assets/ui/eqslot/gloves.png); }
#ui .s-cape .empty-slot-icon::before { -webkit-mask-image: url(assets/ui/eqslot/cape.png); mask-image: url(assets/ui/eqslot/cape.png); }
#ui .s-ring .empty-slot-icon::before { -webkit-mask-image: url(assets/ui/eqslot/ring.png); mask-image: url(assets/ui/eqslot/ring.png); }
#ui .s-necklace .empty-slot-icon::before { -webkit-mask-image: url(assets/ui/eqslot/necklace.png); mask-image: url(assets/ui/eqslot/necklace.png); }
#ui .grid-box { top: 61px; height: 251px; }
#ui .item-grid { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, 39px); gap: 4px; align-content: start; justify-content: center; padding: 4px; border-radius: 8px; background: rgba(0, 0, 0, .22); }
/* 칸 상태: 기본 = 물품 칸(등급 바탕 g-*), .off = 빈 칸, .on = 고른 칸 */
#ui .item-cell { --gc: #6b7073; position: relative; width: 52px; height: 52px; border-radius: 8px; cursor: pointer; transition: transform .06s ease-out;
  background: radial-gradient(120% 80% at 30% 12%, rgba(255, 255, 255, .2), transparent 55%), linear-gradient(160deg, color-mix(in srgb, var(--gc) 58%, #1d2124), color-mix(in srgb, var(--gc) 16%, #121517));
  border: 1.5px solid color-mix(in srgb, var(--gc) 78%, #fff); box-shadow: inset 0 -12px 14px -10px color-mix(in srgb, var(--gc) 85%, #fff), inset 0 1px rgba(255, 255, 255, .22); }
#ui .item-cell:not(.off):active { transform: scale(.92); }   /* 뗄 때 튕김은 inv_fx.css */
#ui .item-cell.g-rare { --gc: var(--gr-rare); } #ui .item-cell.g-epic { --gc: var(--gr-hero); } #ui .item-cell.g-unique { --gc: var(--gr-legend); } #ui .item-cell.g-legendary { --gc: color-mix(in srgb, var(--gr-myth) 75%, #000); }
#ui .item-cell.off { background: rgba(0, 0, 0, .26); border-color: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); cursor: default; }
#ui .item-cell.on { outline: 2px solid #f2f0e7; outline-offset: 2px; box-shadow: inset 0 -12px 14px -10px color-mix(in srgb, var(--gc) 85%, #fff), inset 0 1px rgba(255, 255, 255, .22), 0 0 12px rgba(255, 255, 255, .35); }
#ui .item-cell .icon { position: absolute; left: 0; top: 0; right: 0; bottom: 0; margin: auto; width: 86%; height: 86%; object-fit: contain; image-rendering: pixelated; }   /* 칸 가운데 · 칸을 거의 채움(참고작 칸 = 그림이 칸을 채움). 수량 · 착용 꼬리표는 외곽선 글자로 그림 위에 겹친다 */
#ui #inv-dim .item-cell { width: 39px; height: 39px; border-radius: 7px; box-shadow: inset 0 -9px 11px -8px color-mix(in srgb, var(--gc) 85%, #fff), inset 0 1px rgba(255, 255, 255, .22); }   /* 52 × 0.75 — 아래 등급 빛도 같은 비율 */
#ui #inv-dim .item-cell.off { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); }
#ui #inv-dim .item-cell.on { box-shadow: inset 0 -9px 11px -8px color-mix(in srgb, var(--gc) 85%, #fff), inset 0 1px rgba(255, 255, 255, .22), 0 0 10px rgba(255, 255, 255, .35); }
#ui #inv-dim .item-cell .cnt { font-size: 9px; line-height: 10px; }
#ui #inv-dim .item-cell .worn { font-size: 9px; line-height: 11px; left: 1px; top: 1px; }
#ui .item-cell .cnt { position: absolute; left: 0; right: 4px; bottom: 1px; text-align: right; font-size: 10px; font-weight: 900; line-height: 12px; color: #fff;
  text-shadow: 1.5px 0 #111, -1.5px 0 #111, 0 1.5px #111, 0 -1.5px #111, 1.1px 1.1px #111, -1.1px 1.1px #111, 1.1px -1.1px #111, -1.1px -1.1px #111; }
#ui .item-cell .worn { position: absolute; left: 2px; top: 2px; font-size: 8px; font-weight: 900; line-height: 11px; color: #fff; background: #c8701e; border-radius: 4px; padding: 0 2px; }   /* 착용 배지 */
#ui .inv-empty { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--ink-soft); pointer-events: none; }
#ui .inv-foot { top: 312px; height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; }
#ui .inv .inv-foot .btn { flex: none; min-width: 76px; padding: 0 12px; font-size: 12px; }   /* 폭 = 글자만큼 — 칸 폭으로 늘이지 않는다 */
#ui .inv-foot .inv-sell.on { filter: brightness(1.18) saturate(1.25); box-shadow: 0 0 0 2px #ffd36b, 0 0 10px 2px rgba(255, 211, 107, .6); }   /* 일괄 판매 모드 */
#ui .detail { top: 29px; height: 292px; overflow: auto; display: flex; flex-direction: column; gap: 6px; }
#ui .detail-none { position: absolute; left: 0; top: 0; width: 100%; height: 100%; min-height: 0; }   /* 고른 것 없음 글(겹침) */
#ui .detail-top { display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: center; }
#ui .detail-top .item-cell { width: 58px; height: 58px; }
#ui .detail-name { font-size: 14px; font-weight: 800; }
#ui .detail-sub { font-size: 12px; font-weight: 700; color: var(--ink-soft); }
#ui .detail-rows > div { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; padding: 3px 6px; border-radius: 5px; }
#ui .detail-rows > .odd { background: rgba(255, 255, 255, .05); }
#ui .inv-actions { top: 321px; height: 37px; display: flex; justify-content: center; gap: 6px; padding-top: 6px; }
#ui .inv .inv-actions .btn { min-width: 84px; min-height: 30px; }

/* 장비 아이콘(features/gear 01-gear load) = 도트 8배 데이터 주소(끝 #gfhq) — 부드럽게 줄여 칸 크기와 상관없이 도트 굵기가 고르다(샤프 바이리니어). pixelated 로 두면 칸마다 2 · 3 px 로 들쭉날쭉 */
img[src$="#gfhq"] { image-rendering: auto !important; }
/* 소비 · 재화 아이콘(주문서 · 버프 쿠폰 · 확정 별똥별 등, assets/growth/icons/hq) = 128 매끈한 그림 — 칸마다 붙은 pixelated 를 끊고 부드럽게 줄인다(최근접으로 줄이면 깨져 보임) */
img[src*="/icons/hq/"], [style*="/icons/hq/"] { image-rendering: auto !important; }
/* 대화 창(전 battle.js drawTalk, VN 식): 어두운 막 · 초상(리그 · NPC 일러스트) · 아래 판 · 이름 · 선 · 대사 · 다음 표시.
   값 = 전 식을 GUI 로: 판 높이 clamp(153, 144, 198) × .78 = 119.34, 여백 12 → 판 위 py = 318.66, 초상 = 판 윗선(285) 위로 높이 × .86, 높이 = (285 − 12)/.86 = 317.44 × 1.2.
   2026-10-18 사용자 "NPC 크기 줄이지 말고 대화창 밑으로 내리지 마" → 초상 자리 · 크기 그대로(28,18 · 253.93x380.9), 판도 전 판 위(318)보다 내리지 않는다 · 어두운 색 그대로.
   2026-10-20 사용자 "지금처럼 캐릭터 일러스트에 대화창 ui 레이아웃은 맞는데 글자간격이라던지 배치 크기등을 참고해서 구현해줘 지금은 너무 글자도 크고 배치도 어색함"
   → 도깨비의 세계 NPC 대화(docs/one-click-game-factory/analysis/dokkaebi-world.md §4, 게임메카1 · 2): 화면 아래 화면 폭 약 85 % 의 살짝 둥근 상자 ·
     반신 초상이 상자 왼쪽 가장자리에 걸침(초상이 상자 앞, 아래는 상자 속으로 스며듦) · 글은 초상 오른쪽부터 · 이름 굵게 + 아래 얇은 구분선 · 오른쪽 아래 작은 다음 표시.
     글자 = 이름 14 굵게 · 대사 13.5 / 자간 −0.2 / 줄 1.55(3줄) — 전 16px · 줄 24 · 화면 가로 전체 글 줄이 크고 어색하던 것. */
/* 화면 맞춤(uifit2-1110, 11-10 사용자 "대화스크립트 웹 해상도적용안되네"): 판 = 무대 전체(.win-in = --hw × --hh). 막 = 화면 끝까지(띠 · 소수 px 틈 — 00-head #ui.talking 이 뷰포트에서 자른다).
   아래 값(위 316 · 330 …)은 450 판 기준이라, 무대가 450 보다 긴 화면(채움 모드 — 세로로 긴 PC 창 · 폴드)은 초상 · 상자 · 글을 --dy(windows-js layout)만큼 내려 화면 아래에 붙인다.
   전에는 판 · 막이 450 높이라 1354×1102 PC 창에서 막이 위 2/3 에서 끊기고 상자가 화면 가운데 떠 있었다. [넘기기]는 위 그대로 */
#ui .talk { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
/* 대화 중(#ui.talking — 12-talk-frame) = 대화 판 밖 창 층을 숨긴다(11-04 W17 사용자 "대화 스크립트 떠 있을 때 UI 같은 게 떠 있을 때가 자주 있음").
   visibility = 자리 · 상태(스크롤 · 입력)는 그대로 · 누름도 안 받는다 — 대화가 끝나면 그대로 다시 보인다. 자식까지 거는 것은 자식의 visibility: visible 이 뚫고 나오지 않게.
   .talk-ok = 대화가 연 창(이름 짓기 확인 — ask { talk: true })은 대화 위에 그대로 */
#ui.talking > :not(#win-screen), #ui.talking > :not(#win-screen) *,
#ui.talking #win-screen > :not(#talk-screen):not(.talk-ok), #ui.talking #win-screen > :not(#talk-screen):not(.talk-ok) * { visibility: hidden !important; }
#ui .talk > * { position: absolute; }
#ui .talk > :not(.talk-dim):not(.talk-skip) { margin-top: var(--dy, 0px); }
#ui .talk-dim { inset: -100vmax; background: rgba(0,0,0,.48); }
/* 초상 = 상자 앞(z 1) · 아래 20 % 는 상자 속으로 흐려진다(잘린 아래 끝 398.9 가 보이지 않게) */
#ui .talk-portrait { z-index: 1; left: 28px; top: 18px; width: 253.93px; height: 380.9px;
  -webkit-mask-image: linear-gradient(#000 78%, transparent 99%); mask-image: linear-gradient(#000 78%, transparent 99%); }
/* 최저(lowend3-1124 min3 talk — html.m3-talk = 저사양 판정 최저에서만, 62-gfx-quality): 흐리는 mask(초상 캔버스를 따로 한 장 더 그려 합치는 몫) 대신 초상을 상자 뒤로 —
   아래 끝이 상자 판(.93 ~ .97 짙은 남색)에 덮인다. 초상 · 대사 · 이름 자리 · 크기는 그대로 */
html.m3-talk #ui .talk-portrait { -webkit-mask-image: none; mask-image: none; z-index: auto; }
/* 상자 = 화면 폭 85 % 가운데 · 위 316(전 판 윗선 318.66 보다 살짝 위) · 아래 442(전 판 끝 450 보다 위) · 둥근 12 · 전 판 어두운 남색 그대로 */
#ui .talk-shade { left: 7.5%; top: 316px; width: 85%; height: 126px; border-radius: 12px;
  background: linear-gradient(rgba(20,24,35,.93), rgba(12,16,24,.97)); box-shadow: 0 6px 18px rgba(0,0,0,.45), inset 0 0 0 1px rgba(222,226,237,.10); }
/* 글 = 초상 오른쪽 끝(282) + 14 부터 상자 오른쪽 안쪽 22 까지 */
#ui .talk-mark { left: 296px; top: 333px; width: 3px; height: 12px; border-radius: 1.5px; background: #f0aaa4; }
#ui .talk-name { left: 305px; top: 330px; font-size: 14px; font-weight: 700; line-height: 18px; letter-spacing: -.2px; color: #fff1ed; white-space: nowrap; }
#ui .talk-rule { left: 296px; right: calc(7.5% + 22px); top: 354px; height: 1px; background: rgba(222,226,237,.14); }
#ui .talk-line { left: 296px; right: calc(7.5% + 22px); top: 361px; height: 63px; overflow: hidden; font-size: 13.5px; font-weight: 500; line-height: 1.55; letter-spacing: -.2px; color: #eef0f4; white-space: pre-line; word-break: keep-all; overflow-wrap: anywhere; }
#ui .talk-next { right: calc(7.5% + 16px); top: 425px; height: 12px; display: flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 500; line-height: 12px; color: #aeb9c9; white-space: nowrap; }
#ui .talk-next i { flex: none; width: 8px; height: 6px; background: #f0aaa4; clip-path: polygon(0 0, 100% 0, 50% 100%); }
/* 저절로 넘김 남은 시간(31-talk talkAutoStep · 12-talk-frame --talk-auto 0..1): [다음 ▼] 밑 1px 선이 왼쪽부터 찬다 — 화살표와 같은 색 · 세지 않을 때 0(안 보임). 새 글자 없음 */
#ui .talk-next::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: #f0aaa4; opacity: .7; transform-origin: 0 50%; transform: scaleX(var(--talk-auto, 0)); }
/* [넘기기](onboard-1108 — 한 번 누르면 그 대화 끝까지): 첫 시네마틱 [건너뛰기]와 같은 결 — 오른쪽 위 어두운 반투명 알약(글자 폭) · 흰 글 · ▶▶ 두 삼각.
   고품질UI §모바일 크기: 높이 34(talkdone-1112 — GUI 450 기준 누름 칸 34 이상, 옛 28) · 폭 72 이상 · 글 12 · 가장자리 7.5 %(대화 판 오른쪽 끝과 맞춤). 누름 = 살짝 눌림 */
#ui .talk-skip { right: 7.5%; top: 10px; height: 34px; min-width: 72px; justify-content: center; padding: 0 13px 0 15px; display: flex; align-items: center; gap: 2px; border: 0; border-radius: 17px; pointer-events: auto; z-index: 5;
  font-family: inherit; font-size: 12px; font-weight: 600; line-height: 34px; letter-spacing: -.1px; color: #eef0f4; white-space: nowrap; cursor: pointer;
  background: rgba(12, 16, 24, .62); box-shadow: inset 0 0 0 1px rgba(222, 226, 237, .22), 0 2px 8px rgba(0, 0, 0, .35); transition: transform .08s, background .12s; }
#ui .talk-skip i { flex: none; width: 7px; height: 9px; background: #eef0f4; clip-path: polygon(0 0, 100% 50%, 0 100%); }
#ui .talk-skip i:first-of-type { margin-left: 6px; }
#ui .talk-skip:active { transform: scale(.94); background: rgba(12, 16, 24, .8); }
#ui .talk-skip[hidden] { display: none; }
/* 상점 — 공용 호스트 web_ui/shop_ui.js(GfShopUi). 카드 크기 · 배치 근거 = docs/one-click-game-factory/execution/F00/rt-battle-shop-1018/REFERENCES.md
   (메이플 키우기 상점 한 줄 4장 · 둘째 줄이 보여 스크롤을 알림 / 버섯커 키우기 카드 = 가운데 아이템 칸 + 아래 가격 버튼).
   전체화면 창(.popup.full, 01-popup): 5열 × 높이 160 — 폰 가로에서 넓어진 폭은 카드 폭이 받는다. 목록 = 어두운 반투명 판, 카드 = 어두운 남색 둥근 판 + 얇은 밝은 테,
     가격 = 카드 폭으로 늘이지 않는 짧은 알약 104(골드 가격 = 청록 결정색 · 현금/다이아 = 금색), 보상 · 장비 칸 = 등급색 그라데이션 칸.
   카드(투명 테 7, 안 121x146): 제한 글자 좌상단 · 그림 58 · 이름 13 · 보상 칸 29 · 간격 4(최대 4) · 가격 알약 104 × 22.
   카드 색 = 상품마다 accent 하나(--ac) · 흰 사선 반짝임(transform 만 움직임 — 칸 수십 개가 스크롤 중 다시 칠해지지 않게, 장비 탭은 끔).
   빨간 점(.dot) = 받을 것(VIP 칸) · 볼 수 있는 광고(재화 옆 AD) — 키트 red-dots claim. 못 삼 = .off(불투명도만). 끄는 중(host[data-gf-dragging])에는 눌림 모양을 끈다. */
#ui .dot { position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; border-radius: 50%; background: #e2412f; border: 2px solid #fff4e0; box-shadow: 0 1px 2px #0005; pointer-events: none; }
#ui .shop-tabs { height: 34px; margin-bottom: 10px; }
#ui .popup.full .shop-tabs .tab { position: relative; font-size: 15px; }
#ui .shop .sheet-body { overflow: hidden; padding: 0; border: 0; background: rgba(0, 0, 0, .22); box-shadow: none; }   /* 틀 안쪽 전체 = 목록(스크롤 영역): 여백도 목록이라 어디를 끌어도 넘어간다 · 둥근 테가 넘친 줄을 자른다 */
#ui .shop-grid { box-sizing: border-box; height: 100%; padding: 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 8px; align-content: start; }
#ui .shop-grid::-webkit-scrollbar { display: none; }

/* ---- 카드 공통: 판 = 어두운 둥근 판(투명 테 7 = 안쪽 여백), 안 요소는 고정 자리(절대 배치 — 목록이 다시 그려져도 칸마다 같은 상자) */
#ui .shop-card { --ac: #c9a25c; position: relative; display: block; min-width: 0; text-align: left; border: 7px solid transparent; border-radius: 10px;
  background: linear-gradient(#272c33, #181b20) border-box; outline: 1px solid rgba(255, 255, 255, .12); outline-offset: -1px; transition: transform .12s ease; }
#ui .shop-card:not(.off):active { transform: scale(.96); }
#ui[data-gf-dragging] .shop-card:not(.off):active { transform: none; }
#ui .shop-card.off { opacity: .55; cursor: default; }
#ui .shop-card > * { position: absolute; }
#ui :is(.shop-card, .buy-art, .got-cell).g-rare { --ac: var(--gr-rare); } #ui :is(.shop-card, .buy-art, .got-cell).g-epic { --ac: var(--gr-hero); }
#ui :is(.shop-card, .buy-art, .got-cell).g-unique { --ac: var(--gr-legend); } #ui :is(.shop-card, .buy-art, .got-cell).g-legendary { --ac: color-mix(in srgb, var(--gr-myth) 75%, #000); }
#ui .shop-card.t-gold { --ac: #e0a020; } #ui .shop-card.t-green { --ac: #4fa63a; } #ui .shop-card.t-red { --ac: #d64a3a; }
#ui .shop-card.t-purple { --ac: #9a5cd0; } #ui .shop-card.t-blue { --ac: #3f8fe0; } #ui .shop-card.t-teal { --ac: #26a08f; } /* 등급색 아님: 상점 판 보라 테마 */
/* 색 판(EFZ accent 대각 그라데이션) · 사선 반짝임 — 구매 판 · 받음 칸(창 07 조각)이 쓰는 공통 모양. 상점 카드 안은 아래에서 판 안쪽 둥근 상자로 바꾼다 */
#ui :is(.card-tint, .card-sheen) { left: -10px; top: -10px; right: -10px; bottom: -10px; pointer-events: none; -webkit-mask-box-image: url(assets/hud/slot.webp) 72 fill / 10px stretch; }
#ui .card-tint { background: linear-gradient(135deg, color-mix(in srgb, var(--ac) 30%, transparent), color-mix(in srgb, var(--ac) 8%, transparent) 55%, transparent 80%); }
#ui .card-sheen { background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .7) 47%, rgba(255, 255, 255, .15) 52%, transparent 58%) no-repeat; background-size: 300% 100%; animation: shop-sheen 4.2s ease-in-out infinite; }
#ui .shop-card :is(.card-tint, .card-sheen) { left: -3px; top: -3px; right: -3px; bottom: -3px; border-radius: 6px; -webkit-mask-box-image: none; }
#ui .shop-card .card-sheen { overflow: hidden; background: none; animation: none; }
#ui .shop-card .card-sheen::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; background: linear-gradient(105deg, transparent 15%, rgba(255, 255, 255, .22) 50%, transparent 85%); transform: translateX(-120%); animation: shop-card-sheen 4.2s ease-in-out infinite; }
#ui .shop-card:nth-child(3n+2) .card-sheen::before { animation-delay: -1.4s; } #ui .shop-card:nth-child(3n) .card-sheen::before { animation-delay: -2.8s; }
#ui .card-limit { left: -2px; top: -3px; z-index: 1; font-size: 10.5px; font-weight: 800; line-height: 13px; color: color-mix(in srgb, var(--ac) 45%, #fff); white-space: nowrap; text-shadow: 0 1px 2px #000; }   /* EFZ 제한 배지 = 박스 없이 글자만, 좌상단 */
#ui .card-name { left: -3px; right: -3px; top: 62px; text-align: center; font-size: 13px; font-weight: 900; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #f2f0e7; }
#ui .card-rule { display: none; }
#ui .card-art { left: calc(50% - 29px); top: 2px; width: 58px; height: 58px; }
#ui .card-halo { position: absolute; inset: -8px; border-radius: 50%; pointer-events: none;   /* EFZ 후광 원 3겹(반지름 .46/.38/.30) */
  background: radial-gradient(circle, color-mix(in srgb, var(--ac) 34%, transparent) 0 30%, color-mix(in srgb, var(--ac) 22%, transparent) 30% 38%, color-mix(in srgb, var(--ac) 12%, transparent) 38% 46%, transparent 47%);
  animation: shop-halo 2.2s ease-in-out infinite; }
#ui .card-icon { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .45)); }
#ui .card-sub { font-size: 10px; font-weight: 700; line-height: 12.5px; color: var(--ink-soft); overflow: hidden; }
#ui .card-rw { display: flex; justify-content: center; gap: 8px; }
/* 보상 칸(구매 판 · 받음 창과 같은 칸 — 상점 카드 안은 29) */
#ui .rw { position: relative; flex: none; width: 40px; height: 40px; border-radius: 7px; background: #fbf3df; border: 2px solid color-mix(in srgb, var(--gc, var(--ac, #c9ac77)) 55%, #c9ac77); box-shadow: inset 0 2px #fffaf0; }
#ui .rw-icon { position: absolute; left: 3px; top: 2px; width: 30px; height: 30px; object-fit: contain; }
#ui .rw-icon[src^="data:"] { image-rendering: pixelated; }   /* 장비 칩셋 아이콘 = 도트 그대로 */
#ui .rw-n { position: absolute; right: 2px; bottom: 0; font-size: 10px; font-weight: 900; line-height: 12px; color: #fff; white-space: nowrap;
  text-shadow: 1.2px 0 #3b2412, -1.2px 0 #3b2412, 0 1.2px #3b2412, 0 -1.2px #3b2412, 1px 1px #3b2412, -1px 1px #3b2412, 1px -1px #3b2412, -1px -1px #3b2412; }
#ui .rw-c { position: absolute; left: -8px; right: -8px; top: 39px; text-align: center; font-size: 9.5px; font-style: normal; font-weight: 900; line-height: 12px; color: #b0662a; white-space: nowrap; }
#ui .shop-card .card-rw { left: -4px; right: -4px; top: 80px; gap: 4px; }
#ui .shop-card .rw { width: 29px; height: 29px; border-radius: 6px; border-width: 1.5px; border-color: color-mix(in srgb, var(--gc, var(--ac)) 75%, #fff);   /* --gc = 보상 등급색(data-it-g, gradeCss) — 없으면 카드 색 */
  background: linear-gradient(150deg, color-mix(in srgb, var(--gc, var(--ac)) 45%, #1d2124), color-mix(in srgb, var(--gc, var(--ac)) 15%, #121517)); box-shadow: none; }
#ui .shop-card .rw-icon { left: 2px; top: 1px; width: 22px; height: 22px; }
#ui .shop-card .rw-n { left: -4px; right: -4px; bottom: -2px; text-align: center; font-size: 8.5px; line-height: 10px; letter-spacing: -.3px; text-shadow: 1px 0 #111, -1px 0 #111, 0 1px #111, 0 -1px #111, .8px .8px #111, -.8px .8px #111, .8px -.8px #111, -.8px -.8px #111; }
#ui .shop-card .rw-c { left: -6px; right: -6px; top: 28px; font-size: 8.5px; line-height: 10px; color: #e8c979; }
#ui .card-bonus { left: -3px; right: -3px; top: 80px; text-align: center; font-size: 11.5px; font-weight: 900; line-height: 14px; color: #ffd384; white-space: nowrap; }   /* EFZ "+N% 추가" 색 그대로 */
#ui .card-extra { left: -3px; right: -3px; top: 96px; text-align: center; font-size: 10.5px; font-weight: 900; line-height: 13px; color: #ffb6a6; white-space: nowrap; }   /* EFZ 첫 구매 보너스 수 #ffb6a6 */
#ui .card-badge { right: -5px; top: -5px; z-index: 1; height: 16px; padding: 0 5px; border: 1px solid #ffd384; border-radius: 4px; background: #6b2831;   /* EFZ 1+1 배지(카드 크기에 맞춰 작게) */
  color: #fff; font-size: 9.5px; font-style: normal; font-weight: 900; line-height: 14px; text-align: center; white-space: nowrap; box-shadow: 0 1px 2px #0004; animation: shop-badge 1.6s ease-in-out infinite; }
#ui .card-price { left: 50%; bottom: 1px; width: 104px; height: 22px; margin-left: -52px; display: flex; align-items: center; justify-content: center; gap: 3px; border-radius: 999px;   /* 짧은 알약 — 카드 폭으로 늘이지 않는다 */
  background: linear-gradient(#83c3bf, #548f8c); color: #fff; font-size: 12px; font-weight: 900; box-shadow: inset 0 1px rgba(255, 255, 255, .3), 0 2px 4px rgba(0, 0, 0, .4); }
#ui .shop-card:is(.pack, .dia) .card-price { background: linear-gradient(#f0d58a, #c99a3c); color: #2b2012; }
#ui .price-v { flex: 1; text-align: center; white-space: nowrap; }
#ui .buy-ok { position: relative; gap: 4px; }
#ui .price-cur, #ui .buy-cost-cur { position: absolute; left: 3px; top: 50%; margin-top: -9px; width: 18px; height: 18px; object-fit: contain; }   /* 흐름 밖: 숨겨도(현금 가격) 글자 자리가 그대로 — Unity 는 숨긴 요소 자리를 가로로 되돌려 주지 않는다 */
#ui .shop-card .price-cur { left: 6px; margin-top: -8px; width: 16px; height: 16px; }

/* ---- 패키지(.pack): 그림 · 이름 · 보상 칸 · 가격 */
#ui .pack :is(.card-sub, .card-bonus, .card-extra) { display: none; }
/* ---- 다이아(.dia): 단계 더미 그림 · 이름 · "+N% 추가" · 첫 구매 보너스 · 첫 구매 배지(우상단) */
#ui .dia :is(.card-rule, .card-rw, .card-sub) { display: none; }
/* 다이아 · 골드 · 무료 · 가방 칸: 그림 · 이름 · "+N% 추가" · 보너스 줄 = 한 묶음으로 가격 알약 위 칸의 세로 가운데(줄 수가 칸마다 달라 고정 자리면 아래가 비었다).
   가격 = 알약 28 · 글자 15(hq-ui 알약 26~28) · 글자 폭(최소 112, 카드 폭으로 늘이지 않는다). 긴 혜택 글은 두 줄까지 */
#ui .shop-card.dia { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 0 28px; }   /* 아래 28 = 가격 알약 — 묶음 위 여백 = 알약 위 여백 */
#ui .shop-card.dia > :is(.card-art, .card-name, .card-bonus, .card-extra) { position: relative; left: auto; right: auto; top: auto; flex: none; }
#ui .shop-card.dia > :is(.card-name, .card-bonus, .card-extra) { align-self: stretch; margin: 0 -3px; }
#ui .shop-card.dia .card-art { order: -1; }   /* 마크업은 이름이 그림 앞 — 묶음 안에서는 그림이 맨 위 */
#ui .shop-card.dia .card-name { font-size: 14px; line-height: 18px; }
#ui .shop-card.dia .card-bonus { margin-top: 1px; }
#ui .shop-card.dia .card-extra { margin-top: 1px; white-space: normal; word-break: keep-all; text-wrap: balance; max-height: 26px; overflow: hidden; }
#ui .shop-card.dia .card-price { left: 0; right: 0; bottom: 0; width: fit-content; min-width: 112px; max-width: 100%; height: 28px; margin: 0 auto; padding: 0 14px; box-sizing: border-box; font-size: 15px; }
#ui .shop-card.dia .price-cur { left: 7px; margin-top: -9px; width: 18px; height: 18px; }
#ui .shop-card.dia:has(.price-cur:not([hidden])) .card-price { padding-left: 28px; }
/* ---- 장비(.gear): 등급 칸(바탕 = 물품 창 등급색) · 이름 등급색 · 능력치 줄 · 초록 가격 */
#ui .gear .card-art { left: calc(50% - 31px); top: 6px; width: 62px; height: 62px; box-sizing: border-box; border-radius: 8px; border: 2px solid color-mix(in srgb, var(--ac) 80%, #fff);
  background: linear-gradient(150deg, color-mix(in srgb, var(--ac) 55%, #1d2124), color-mix(in srgb, var(--ac) 18%, #121517)); box-shadow: 0 0 6px color-mix(in srgb, var(--ac) 45%, transparent); }
#ui .gear.g-common { --ac: #6b7073; }   /* 일반 = 회색 칸(물품 창 칸과 같은 색) */
#ui .gear :is(.card-halo, .card-sheen) { display: none; }
#ui .gear .card-icon { left: 5px; top: 5px; width: 48px; height: 48px; image-rendering: pixelated; filter: none; }
#ui .gear .card-name { top: 74px; font-size: 12.5px; color: color-mix(in srgb, var(--ac) 45%, #fff); }
#ui .gear.g-common .card-name { color: #f2f0e7; }
#ui .gear .card-sub { left: -3px; right: -3px; top: 92px; height: 26px; text-align: center; }
#ui .gear :is(.card-rule, .card-rw, .card-bonus, .card-extra, .card-limit, .card-tint) { display: none; }

#ui .vip-panel { display: flex; flex-direction: column; gap: 8px; height: 100%; }   /* 안 = features/firstpay(결제 최초 보상) */

@keyframes shop-sheen { 0%, 55% { background-position: 120% 0; } 100% { background-position: -20% 0; } }
@keyframes shop-halo { 0%, 100% { transform: scale(.94); opacity: .8; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes shop-card-sheen { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(260%); } }
@keyframes shop-badge { 0%, 100% { transform: none; } 50% { transform: scale(1.06); } }
/* [골드] 탭(11-04 PLAN 2-3): 다이아 바로 뒤(탭 줄 순서 = features/costume costume_shop CSS order — 다이아 4 · VIP 5, 같은 order 는 마크업 순서).
   [무료] 탭은 없앴다(11-04 S 레인) — 무료 칸은 [다이아] · [골드] 맨 앞, 볼 수 있는 광고가 있으면 그 탭에 빨간 점 */
#ui .shop-tabs .tab.s-gold { order: 4; } #ui .shop-tabs .tab:is(.s-diamond, .s-gold) { position: relative; }

/* ---- [패키지] · [한정] 배너 카드(목록 판 .pk = 2열 × 높이 150). 흥행작 패키지 카드 공통 구조(세븐나이츠 키우기 스페셜 패키지 · 버섯커 키우기 패키지 줄 · 메이플 키우기 패키지 상세):
   왼쪽 = 상품색 판 + 큰 그림(후광) + 위 왼쪽 꼬리표, 오른쪽 = 이름 15 · 구성품 칸 40(아이콘 규격) 줄 · 아래 왼쪽 남은 횟수/기간 · 아래 오른쪽 가격 알약 112 × 28(글자 폭 알약 — 판 폭으로 늘이지 않는다).
   카드 밖 튐 없음: 스크롤 칸 안이라 등장 = fx-card-in(아래 6px · .97 → 1), 누름 = .97. */
#ui .card-meta { display: none; }
#ui .shop-grid.pk { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
#ui .shop-grid.pk .pack:not(.off):active { transform: scale(.97); }
#ui .shop-grid.pk .pack .card-tint { right: auto; width: 150px; border-radius: 6px 0 0 6px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--ac) 52%, #1d2124), color-mix(in srgb, var(--ac) 14%, #15181c) 70%); box-shadow: inset -1px 0 color-mix(in srgb, var(--ac) 45%, transparent); }
#ui .shop-grid.pk .pack .card-art { left: 17px; top: 14px; width: 110px; height: 110px; }
#ui .shop-grid.pk .pack .card-limit { left: -3px; top: -3px; height: 18px; padding: 0 8px; border-radius: 6px 0 6px 0; background: rgba(0, 0, 0, .55); font-size: 10.5px; line-height: 18px; }
#ui .shop-grid.pk .pack .card-name { left: 158px; right: 4px; top: 0; text-align: left; font-size: 15px; line-height: 20px; }
#ui .shop-grid.pk .pack .card-rule { display: block; left: 158px; right: 0; top: 24px; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--ac) 70%, #fff), transparent); opacity: .7; }
#ui .shop-grid.pk .pack .card-rw { left: 158px; right: 0; top: 32px; justify-content: flex-start; gap: 6px; }
#ui .shop-grid.pk .pack .rw { width: 40px; height: 40px; border-radius: 7px; border-width: 2px; }
#ui .shop-grid.pk .pack .rw-icon { left: 3px; top: 3px; width: 30px; height: 30px; }
#ui .shop-grid.pk .pack .rw-n { bottom: -1px; font-size: 10px; line-height: 12px; }
#ui .shop-grid.pk .pack .rw-c { left: -8px; right: -8px; top: 41px; font-size: 9.5px; line-height: 12px; }
#ui .shop-grid.pk .pack .card-meta { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; left: 158px; right: 120px; bottom: 1px; height: 30px; white-space: nowrap; }
#ui .shop-grid.pk .pack .card-left { font-size: 11px; font-weight: 700; line-height: 13px; color: #c9d0d6; }
#ui .shop-grid.pk .pack .card-time { font-size: 11px; font-weight: 900; line-height: 13px; color: #ff8a6a; }   /* 남은 기간 = 붉은 값(버섯커 키우기 "… 후 패키지 소멸" 붉은 시간) */
#ui .shop-grid.pk:not(.pkg) .pack .card-extra:not([hidden]) { display: block; left: 158px; right: 4px; top: 88px; text-align: left; white-space: normal; font-size: 11px; line-height: 13px; color: #a8ec7e; }   /* [한정] 광고 제거 혜택 줄(adfree-tag-1107) = 구성품 칸 아래 · 남은 횟수 위, 두 줄까지 */
#ui .shop-grid.pk .pack .card-price { left: auto; right: 0; bottom: 0; width: 112px; height: 28px; margin-left: 0; font-size: 13px; }
#ui .dim.fx-intro .shop-grid.pk .shop-card { animation-name: fx-card-in; animation-duration: .3s; animation-timing-function: cubic-bezier(.2, .8, .3, 1); }   /* 처음 열 때 순서 지연은 ui_fx 그대로 */
#ui .shop-grid.pk.pk-swap .shop-card { animation: fx-card-in .3s cubic-bezier(.2, .8, .3, 1) both; }
#ui .shop-grid.pk.pk-swap .shop-card:nth-child(2) { animation-delay: .04s; } #ui .shop-grid.pk.pk-swap .shop-card:nth-child(3) { animation-delay: .08s; }
#ui .shop-grid.pk.pk-swap .shop-card:nth-child(4) { animation-delay: .12s; } #ui .shop-grid.pk.pk-swap .shop-card:nth-child(n+5) { animation-delay: .16s; }
/* ---- [패키지] 탭(.pkg) = 물품 현금 묶음: 왼쪽 세로 세부 탭(.pk-subs — 성장 재화 · 잠재 주문서 · 기타 주문서) + 오른쪽 세로 타일 5열.
   참고(shoppack-1105 REFERENCE.md에서 직접 연 화면): 메이플 키우기 상점 = 왼쪽 세로 분류 탭 · 상세 = 큰 그림 + 구성 + 가격 단추, 세븐나이츠 키우기 = 큰 그림 · 수량 ×N · 금색 가격,
   버섯커 키우기 = 큰 그림 · 가치 띠 · 가격 단추. 하이랜드 = 무대(물품 색 후광 + 천천히 도는 빛살) 위 큰 그림 80 · 받는 수 ×N(오른쪽 아래) · 효율 "+N% 추가"(초록 = 좋아짐) ·
   [X1|X10|X30] 한 알약 줄(고른 것 = 탭 베이지, X30 = BEST) · 글자 폭 금색 가격 알약 28. 한 줄 5장 · 둘째 줄이 보여 스크롤을 알린다(06 머리 주석 — 메이플 키우기). */
#ui .shop .sheet-body { position: relative; }
#ui .pk-subs { position: absolute; left: 8px; top: 8px; z-index: 1; width: 100px; display: none; flex-direction: column; gap: 6px; }
#ui .pk-subs.show { display: flex; }
#ui .pk-sub { position: relative; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 8px; border: 0; border-radius: 8px; text-align: left; white-space: nowrap;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); color: var(--ink-soft); font-size: 12px; font-weight: 800; transition: background .15s, color .15s, transform .08s; }
#ui .pk-sub img { flex: none; width: 24px; height: 24px; object-fit: contain; filter: grayscale(.7) brightness(.75); transition: filter .15s; }
#ui .pk-sub b { min-width: 0; white-space: normal; word-break: keep-all; overflow-wrap: anywhere; line-height: 13px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }   /* 영어 · 일본어 이름이 열 폭 100 을 넘으면 두 줄(한 줄 고정이면 오른쪽 카드 밑으로 들어가 가려졌다) */
#ui .pk-sub.on { background: linear-gradient(#e6decd, #c7bba3); color: #26221c; box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }   /* 01-popup 탭 고른 알약과 같은 베이지 */
#ui .pk-sub.on img { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
#ui .pk-sub:active { transform: scale(.94); }
/* [패키지 | 다이아] 스위치 = 세부 탭 열 왼쪽 아래 · 수량 줄(.pk-qty)과 같은 어두운 알약 줄 28 + 고른 쪽 베이지 */
#ui .pk-pay { position: absolute; left: 8px; bottom: 8px; z-index: 1; width: 100px; height: 28px; padding: 2px; gap: 2px; border-radius: 999px; display: none;
  background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .pk-pay.show { display: flex; }
#ui .pk-pay .pp { flex: 1; min-width: 0; height: 24px; padding: 0 4px; border: 0; border-radius: 999px; background: none; color: var(--ink-soft, #9a9d98);
  font-size: 11.5px; font-weight: 900; line-height: 24px; white-space: nowrap; overflow: hidden; transition: background .15s, color .15s, transform .08s ease; }
#ui .pk-pay .pp.on { color: #26221c; background: linear-gradient(#e6decd, #c7bba3); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
#ui .pk-pay .pp:active { transform: scale(.9); }
#ui .pk-pay.col { flex-direction: column; height: auto; border-radius: 14px; } #ui .pk-pay.col .pp { flex: none; }   /* 두 이름 중 하나라도 반 칸(48)을 넘는 언어 = 위아래로(17q-shop-pack 이 재서 붙임) */
/* [한정] 세로 탭(.lm-subs — 한정 · 패스, shoppass-1117) = 같은 .pk-sub 칸 40, 틈 8(hq-ui 이웃 누름 칸 틈 8 이상). 배너 2열은 그대로, 왼쪽만 탭 열만큼 비운다 */
#ui .lm-subs { gap: 8px; }
#ui .shop-grid.pk.lm { padding-left: 118px; }
#ui .shop-grid.pk.pkg { padding-left: 118px; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 228px; }
/* 타일(카드 투명 테 7 안쪽 기준): 이름 13 · 무대 0~132 · 수량 줄 138 · 가격 알약 아래 */
#ui .shop-grid.pk.pkg .shop-card.pack { background: linear-gradient(#232831, #15181d) border-box; }
#ui .shop-grid.pk.pkg .shop-card.pack .card-tint { left: -6px; right: -6px; top: -6px; bottom: auto; width: auto; height: 138px; border-radius: 6px 6px 0 0;
  background: radial-gradient(circle at 50% 52%, color-mix(in srgb, var(--ac) 46%, transparent) 0, color-mix(in srgb, var(--ac) 16%, transparent) 40%, transparent 68%),
    linear-gradient(180deg, color-mix(in srgb, var(--ac) 20%, #1b1f26), rgba(21, 24, 29, 0)); }
#ui .shop-grid.pk.pkg .shop-card.pack .card-name { left: -2px; right: -2px; top: 0; text-align: center; font-size: 13px; line-height: 18px; text-shadow: 0 1px 2px #000; }
#ui .shop-grid.pk.pkg .shop-card.pack .card-rule { display: none; }
#ui .shop-grid.pk.pkg .shop-card.pack .card-art { left: calc(50% - 40px); top: 28px; width: 80px; height: 80px; }
#ui .shop-grid.pk.pkg .shop-card.pack .card-art::before { content: ""; position: absolute; inset: -30px; border-radius: 50%; pointer-events: none; will-change: transform;   /* 빛살 = 회전만(다시 칠하지 않음) */
  background: repeating-conic-gradient(color-mix(in srgb, var(--ac) 34%, transparent) 0 7deg, transparent 7deg 30deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 66%); mask: radial-gradient(circle, #000 18%, transparent 66%); animation: pk-rays 16s linear infinite; }
#ui .shop-grid.pk.pkg .shop-card.pack .card-halo { inset: -10px; }
#ui .shop-grid.pk.pkg .shop-card.pack .card-icon { filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .6)); }
#ui .shop-grid.pk.pkg .shop-card.pack:not(.off):active .card-icon { transform: scale(1.06); transition: transform .06s; }
/* 받는 수 ×N = 무대 오른쪽 아래(메인) · 효율 = 무대 왼쪽 아래 초록 알약 */
#ui .shop-grid.pk.pkg .shop-card.pk-main .card-sub { display: block; left: auto; right: 0; top: 108px; font-size: 16px; font-weight: 900; line-height: 20px; color: #fff; overflow: visible;
  text-shadow: 1.4px 0 #111, -1.4px 0 #111, 0 1.4px #111, 0 -1.4px #111, 1px 1px #111, -1px 1px #111, 1px -1px #111, -1px -1px #111; }
#ui .shop-grid.pk.pkg .shop-card.pk-main .card-bonus { display: block; left: 0; right: auto; top: 110px; height: 16px; padding: 0 6px; border-radius: 8px; font-size: 10px; line-height: 16px;
  color: #c6f59a; background: rgba(46, 96, 30, .72); box-shadow: inset 0 0 0 1px rgba(160, 230, 110, .35); }
#ui .shop-grid.pk.pkg .shop-card.pack .card-rw { display: none; }
#ui .pk-qty { display: none; }
#ui .shop-grid.pk.pkg .shop-card.pk-main .pk-qty { display: flex; left: 0; right: 0; top: 138px; height: 28px; padding: 2px; gap: 2px; border-radius: 999px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .pk-qty .q { position: relative; flex: 1; min-width: 0; height: 24px; border-radius: 999px; text-align: center; font-size: 11.5px; font-style: normal; font-weight: 900; line-height: 24px;
  color: var(--ink-soft, #9a9d98); transition: background .15s, color .15s, transform .08s ease; }
#ui .pk-qty .q.on { color: #26221c; background: linear-gradient(#e6decd, #c7bba3); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }   /* 01-popup 탭 고른 알약 */
#ui .pk-qty .q:active { transform: scale(.9); }
#ui .pk-qty .q2::after { content: "BEST"; position: absolute; right: -3px; top: -11px; height: 13px; padding: 0 4px; border-radius: 4px; background: #d64a3a; color: #fff;   /* 빨간 점과 같은 붉은 강조 */
  font-size: 8.5px; font-weight: 900; line-height: 13px; letter-spacing: .2px; box-shadow: 0 1px 2px #0006; animation: shop-badge 1.6s ease-in-out infinite; }
/* 작은 타일 = 수량 고르기 없음: 받는 수를 같은 자리 알약으로 */
#ui .shop-grid.pk.pkg .shop-card.pk-small .card-sub { display: block; left: 0; right: 0; top: 138px; width: fit-content; height: 28px; margin: 0 auto; padding: 0 16px; border-radius: 999px;
  font-size: 13px; font-weight: 900; line-height: 28px; color: #f2f0e7; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .shop-grid.pk.pkg .shop-card:is(.pk-small, .pk-main) :is(.card-rw, .card-limit, .card-meta) { display: none; }
/* 잠재 · 기타 주문서: 현금 칸 수량 줄 아래 "다이아보다 N% 이득"(초록 = 좋아짐, 효율 알약과 같은 색) · 다이아 칸 값 알약 = 다이아 아이콘 + 하늘색 */
#ui .shop-grid.pk.pkg .shop-card:is(.pk-small, .pk-main) .card-extra:not([hidden]) { display: block; left: -4px; right: -4px; top: 168px; text-align: center; font-size: 10.5px; font-weight: 900; line-height: 14px; color: #a8ec7e; text-shadow: 0 1px 2px #000; }
#ui .shop-grid.pk.pkg .shop-card.pk-small:has(.price-cur:not([hidden])) .card-price { background: linear-gradient(#d6f0ff, #6fb4ea); color: #0f2740; box-shadow: 0 2px 4px rgba(0, 0, 0, .45), inset 0 1px rgba(255, 255, 255, .7); }
/* 묶음 상품(성장 패키지 · 월정액) = 구성품 칸 줄을 같은 자리에 */
/* 11-05 pkrw: 칸 줄 = 무대(0~132) 아래 · 남은 횟수 위(136~166), 칸 수가 많으면 타일 폭 안에서 줄어든다(월정액 4칸 · PC 타일 폭 ~120). "매일" = 칸 위 꼬리표(칸 밖 글 없음) */
#ui .shop-grid.pk.pkg .shop-card.pack:not(.pk-main, .pk-small) .card-rw { display: flex; left: 0; right: 0; top: 136px; justify-content: center; gap: 3px; }
#ui .shop-grid.pk.pkg .shop-card.pack:not(.pk-main, .pk-small) .rw { flex: 0 1 30px; min-width: 0; width: auto; height: auto; aspect-ratio: 1; }
#ui .shop-grid.pk.pkg .shop-card.pack:not(.pk-main, .pk-small) .rw-icon { left: 1px; top: 1px; width: calc(100% - 2px); height: calc(100% - 2px); }
#ui .shop-grid.pk.pkg .shop-card.pack:not(.pk-main, .pk-small) .rw-c:not(:empty) { left: 50%; right: auto; top: -7px; transform: translateX(-50%); height: 11px; padding: 0 3px; border-radius: 3px;
  font-size: 8px; line-height: 11px; color: #fff; background: #c4572e; box-shadow: 0 1px 2px #0008; }
#ui .shop-grid.pk.pkg .shop-card.pack:not(.pk-main, .pk-small) .card-meta { left: -2px; right: -2px; bottom: 32px; height: 13px; align-items: center; }
#ui .shop-grid.pk.pkg .shop-card.pack:not(.pk-main, .pk-small) .card-limit { left: -4px; top: 20px; }
/* 가격 = 글자 폭 금색 알약(카드 폭으로 늘이지 않음) */
#ui .shop-grid.pk.pkg .shop-card.pack .card-price { left: 0; right: 0; bottom: 0; width: fit-content; min-width: 96px; height: 28px; margin: 0 auto; padding: 0 14px; font-size: 13px; box-shadow: 0 2px 4px rgba(0, 0, 0, .45), inset 0 1px rgba(255, 246, 214, .6); }
@keyframes pk-rays { to { transform: rotate(360deg); } }
/* 목록 칸 글자 = 칸 너비에 고정된 상자(Unity 목록은 견본 칸의 요소 상자를 그대로 쓰고 글자만 맞춘다 — 글자 길이로 줄고 느는 상자는 칸마다 어긋난다) */
#ui .vip-amt, #ui .vip-lines { align-self: stretch; text-align: center; overflow: hidden; }
#ui .vip-claim { min-width: 80px; margin-top: auto; }
#ui .vip-done { margin-top: auto; font-size: 12px; font-weight: 800; color: #5f7d2c; }

/* 구매 판(EFZ: 장비 = 아이템 정보 판 scr_item_info_popup — 등급 칸 · 이름 등급색 · 칸 이름 · 능력치 줄, 패키지·다이아 = 원화 결제 확인 — 그림 + 보상 칸).
   EFZ 다이아·골드 상품은 확인 없이 바로 보내지만 이 게임 장비는 되돌릴 수 없는 재화 사용이라 정보 판을 한 번 보인다. 원화는 결제 시트 전 확인. */
#ui .popup.buy { width: 380px; border-width: 22px; border-image: url(assets/ui/panel.webp) 72 fill / 22px stretch; }
#ui .buy .popup-head { padding-bottom: 6px; margin-bottom: 10px; }
#ui .buy .popup-head h2 { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .buy.gear .buy-name.g-rare { color: var(--gr-rare); } #ui .buy.gear .buy-name.g-epic { color: color-mix(in srgb, var(--gr-hero) 85%, #000); } #ui .buy.gear .buy-name.g-unique { color: color-mix(in srgb, var(--gr-legend) 85%, #000); } #ui .buy.gear .buy-name.g-legendary { color: color-mix(in srgb, var(--gr-myth) 65%, #000); }
#ui .buy-card { display: flex; align-items: center; gap: 14px; min-height: 104px; padding: 0 4px 14px; }   /* 창 높이 짝수(가운데 놓일 때 반 px 위치 → Unity 와 가장자리가 갈린다) */
#ui .buy-art { --ac: #e0a020; position: relative; flex: none; width: 96px; height: 96px; }
#ui .buy-rays, #ui .buy-halo { position: absolute; left: 50%; top: 50%; pointer-events: none; border-radius: 50%; }
#ui .buy-halo { width: 128px; height: 128px; margin: -64px 0 0 -64px; background: radial-gradient(circle, color-mix(in srgb, var(--ac) 38%, transparent) 0 30%, color-mix(in srgb, var(--ac) 22%, transparent) 30% 40%, transparent 52%); animation: shop-halo 2.2s ease-in-out infinite; }
#ui .buy-rays { width: 170px; height: 170px; margin: -85px 0 0 -85px; opacity: 0; background: repeating-conic-gradient(color-mix(in srgb, var(--ac) 55%, #fff) 0 6deg, transparent 6deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 26%, #000 34%, transparent 70%); mask: radial-gradient(circle, transparent 26%, #000 34%, transparent 70%); animation: fx-spin 16s linear infinite; }
#ui .buy-art:is(.g-epic, .g-unique, .g-legendary) .buy-rays, #ui .buy:is(.pack, .dia) .buy-rays { opacity: .55; }
#ui .buy-cell { position: absolute; inset: 0; }
#ui .buy-icon { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 2px rgba(60, 36, 14, .35)); }
#ui .buy-cell .card-sheen { display: none; }
#ui .buy.gear .buy-cell { left: 10px; top: 10px; right: 10px; bottom: 10px; border-radius: 10px; background: #f4e8cc; border: 2px solid color-mix(in srgb, var(--ac) 60%, #a9793e); box-shadow: inset 0 2px #ecdcb8, 0 0 10px color-mix(in srgb, var(--ac) 55%, transparent); }
#ui .buy.gear .g-rare .buy-cell { background: color-mix(in srgb, var(--gr-rare) 25%, #fff); } #ui .buy.gear .g-epic .buy-cell { background: color-mix(in srgb, var(--gr-hero) 25%, #fff); } #ui .buy.gear .g-unique .buy-cell { background: color-mix(in srgb, var(--gr-legend) 35%, #fff); } #ui .buy.gear .g-legendary .buy-cell { background: color-mix(in srgb, var(--gr-myth) 35%, #fff); }
#ui .buy.gear .buy-cell .card-sheen { display: block; position: absolute; left: -2px; top: -2px; right: -2px; bottom: -2px; -webkit-mask-box-image: none; border-radius: 10px; }
#ui .buy.gear .buy-icon { left: 8px; top: 6px; width: 56px; height: 56px; image-rendering: pixelated; filter: none; }
#ui .buy.gear .buy-art.g-common .buy-halo { opacity: .45; }
#ui .buy-info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
#ui .buy-sub { font-size: 12px; font-weight: 800; color: var(--ink-soft); }
#ui .buy-stats { display: flex; flex-direction: column; }
#ui .buy-stat { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; line-height: 16px; padding: 3px 6px; border-radius: 5px; }
#ui .buy-stat.odd { background: #f8eed8; }
#ui .buy-stat b { color: #3f7d2c; }
#ui .buy:not(.gear) .buy-stats { display: none; }
#ui .buy-lines { font-size: 12px; font-weight: 900; line-height: 16px; color: #c2412f; }
#ui .buy-rw { display: flex; gap: 6px; padding-bottom: 12px; }
#ui .buy.gear .buy-rw, #ui .buy.dia .buy-rw { display: none; }
#ui .buy-bonus { font-size: 14px; font-weight: 900; color: #e07a10; }
#ui .buy-note { font-size: 11px; font-style: normal; font-weight: 800; color: #b0492f; }
#ui .buy-ok { min-width: 150px; }

/* 받음 창(EFZ obj_item_get_direction + 광마 이름 창): 판 없이 어두운 막 α.74 위에 띠 · 제목 · 칸.
   칸 크기는 아래(40 · 하나면 56) · 최대 5열 · 가로 간격 30 · 세로 48 · 칸마다 70ms 시차 420ms 팝인(obj_reward_window) · 등급 빛(scr_reward_flair: 맥동 1047ms · 유니크↑ 광선 10줄/전설 18 · 고리 2400/1500ms) · 확인 132x38.
   움직임은 ui/ui_fx.css(fx-got-*), 여기는 자리 · 크기. */
#ui #got-dim .shade { background: rgba(6, 8, 10, .74); }
#ui .popup.got { width: 560px; min-height: 250px; padding: 22px 0 6px; border: 0; border-image: none; filter: none; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
#ui .got-band, #ui .got-line { position: absolute; left: 50%; width: var(--hw, 800px); margin-left: calc(var(--hw, 800px) / -2); pointer-events: none; }
#ui .got-band { top: 0; bottom: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .42) 22%, rgba(0, 0, 0, .42) 78%, rgba(0, 0, 0, 0)); }
#ui .got-line { height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .22) 30%, rgba(255, 255, 255, .22) 70%, rgba(255, 255, 255, 0)); overflow: hidden; }
#ui .got-line.top { top: 0; } #ui .got-line.bottom { bottom: 0; }
#ui .got-line::after { content: ""; position: absolute; top: 0; left: 0; width: 34%; height: 100%; background: linear-gradient(90deg, rgba(255, 236, 170, 0), #ffe9a8, rgba(255, 236, 170, 0)); }
#ui .got-spark { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; opacity: 0; pointer-events: none; background: #fff6cf;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
#ui .got-title { position: relative; font-size: 21px; font-weight: 900; line-height: 26px; color: #fff4d6; letter-spacing: 1px;
  text-shadow: 1.5px 0 #2a1a0c, -1.5px 0 #2a1a0c, 0 1.5px #2a1a0c, 0 -1.5px #2a1a0c, 1.1px 1.1px #2a1a0c, -1.1px 1.1px #2a1a0c, 1.1px -1.1px #2a1a0c, -1.1px -1.1px #2a1a0c, 0 0 12px rgba(255, 210, 110, .55); }
#ui .got-title::before, #ui .got-title::after { content: ""; position: absolute; top: 12px; width: 70px; height: 2px; background: linear-gradient(90deg, rgba(255, 219, 130, 0), #ffdb82); }
#ui .got-title::before { right: calc(100% + 12px); } #ui .got-title::after { left: calc(100% + 12px); transform: scaleX(-1); }
/* 칸 목록은 자르지 않는다: overflow 상자는 원형 빛살(230px)을 네모로 자른다. 네 줄(28칸)까지는 넘쳐 그린다. 29칸부터만 스크롤 — 그때는 위아래를 부드럽게 흐리고(직선 경계 없음) 빛살은 끈다(맥동 빛·고리만). */
#ui .got-grid { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 22px; max-width: 340px; overflow: visible; padding: 18px 10px 4px; }
#ui .got-grid:has(> .got-cell:nth-child(29)) { max-height: 196px; overflow-y: auto;
  -webkit-mask: linear-gradient(transparent, #000 16px, #000 calc(100% - 16px), transparent); mask: linear-gradient(transparent, #000 16px, #000 calc(100% - 16px), transparent); }
#ui .got-grid:has(> .got-cell:nth-child(29)) .got-rays { display: none; }
/* 칸 40(하나면 56) = 경매장 au-tile 결 어두운 등급색 네모(테 = 등급색) · 빛 · 빛살 · 고리도 같은 비율.
   확인 = 띠 아래 바깥(아래 빛선 + 14)의 글자 폭 베이지 알약(01-popup 전체화면 단추 값), 창은 그만큼 위로(margin-bottom). */
#ui .popup.got { margin-bottom: 58px; gap: 14px; }
/* 칸 목록 아래 안내 한 줄(rlauto-1120 — 한 번에 받기가 룰렛을 자동으로 돌렸다고 따로 알림). 빈 글자면 숨김 */
#ui .got-note { position: relative; margin: 0; padding: 4px 14px; border-radius: 13px; background: rgba(0, 0, 0, .38); font-size: 13px; font-weight: 800; line-height: 18px; color: #ffe39a; text-align: center; }
#ui .got-note:empty { display: none; }
#ui .got-cell { --ac: #ffe08a; position: relative; flex: none; width: 40px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
#ui .got-slot { position: relative; width: 40px; height: 40px; border: 0; border-image: none; border-radius: 8px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--ac) 50%, #1d2124), color-mix(in srgb, var(--ac) 16%, #121517)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ac) 75%, #fff); }
#ui .got-slot::before { display: none; }
#ui .got-slot .card-sheen { position: absolute; left: 0; top: 0; right: 0; bottom: 0; border-radius: 8px; -webkit-mask-box-image: none; overflow: hidden; background: none; animation: none; }
/* 칸 반짝임 = ::before 의 transform(상점 카드 shop-card-sheen 식). 공용 .card-sheen 의 background-position 애니는 매 프레임 칸을 다시 칠해(래스터) 창이 열린 내내 프레임을 깎았다
   (bosslag-1109 — 자동 토벌 받음 창, Note20 사냥 중 33ms 넘는 프레임 14→2/6초 · PC CPU×4 프레임 25.8→20ms). transform 은 합성만이라 칠하지 않는다 */
#ui .got-slot .card-sheen::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, .15) 62%, transparent 80%);
  transform: translateX(-120%); will-change: transform; animation: shop-card-sheen 2.6s ease-in-out infinite; }
#ui .got-icon { position: absolute; left: 4px; top: 4px; width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .45)); }
#ui .got-icon[src^="data:"] { left: 4px; top: 4px; width: 32px; height: 32px; image-rendering: pixelated; filter: none; }
#ui .got-n { position: absolute; right: -3px; bottom: -4px; font-size: 10px; font-weight: 900; line-height: 12px; color: #fff; white-space: nowrap;
  text-shadow: 1.2px 0 #000, -1.2px 0 #000, 0 1.2px #000, 0 -1.2px #000, 1px 1px #000, -1px 1px #000, 1px -1px #000, -1px -1px #000; }
#ui .got-name { width: 62px; max-height: 28px; font-size: 11px; font-weight: 800; line-height: 14px; color: #f2f0e7; overflow: hidden; word-break: keep-all;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;   /* 폭 = 칸 간격(40 + 22) — 이웃 이름과 겹치지 않게, 두 줄 넘으면 … */
  text-shadow: 1.2px 0 #000, -1.2px 0 #000, 0 1.2px #000, 0 -1.2px #000; }
#ui .got-cell.g-rare .got-name { color: color-mix(in srgb, var(--gr-rare) 45%, #fff); } #ui .got-cell.g-epic .got-name { color: color-mix(in srgb, var(--gr-hero) 40%, #fff); } #ui .got-cell.g-unique .got-name { color: color-mix(in srgb, var(--gr-legend) 40%, #fff); } #ui .got-cell.g-legendary .got-name { color: color-mix(in srgb, var(--gr-myth) 60%, #fff); }
#ui .got-glow, #ui .got-rays, #ui .got-ring { position: absolute; left: 50%; top: 20px; pointer-events: none; border-radius: 50%; }
#ui .got-glow { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: radial-gradient(circle, color-mix(in srgb, var(--ac) 55%, transparent) 0 22%, color-mix(in srgb, var(--ac) 22%, transparent) 40%, transparent 66%); mix-blend-mode: screen; }
#ui .got-rays { width: 108px; height: 108px; margin: -54px 0 0 -54px; display: none; mix-blend-mode: screen;
  background: repeating-conic-gradient(color-mix(in srgb, var(--ac) 80%, #fff) 0 5deg, transparent 5deg 36deg);
  -webkit-mask: radial-gradient(circle, transparent 30%, #000 36%, rgba(0, 0, 0, .5) 52%, transparent 70%); mask: radial-gradient(circle, transparent 30%, #000 36%, rgba(0, 0, 0, .5) 52%, transparent 70%); }
#ui .got-cell:is(.g-unique, .g-legendary, .g-epic) .got-rays, #ui .got.one .got-rays { display: block; }
#ui .got.one .got-cell:is(.g-common, .g-uncommon, .g-rare) .got-rays { opacity: .5; }   /* 하나만 받으면 낮은 등급도 옅은 빛살 — 그림이 주인공 */
#ui .got-cell.g-legendary .got-rays { background: repeating-conic-gradient(color-mix(in srgb, var(--ac) 60%, color-mix(in srgb, var(--gr-myth) 85%, #fff)) 0 4deg, transparent 4deg 20deg); }
#ui .got-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 2px solid #fff; opacity: 0; }
/* 칸 수 단계(보상 판 quest.css .qr-grid 와 같은 단계): 6칸까지 그림 + 이름, 7칸부터 그림 + 수량만(누르면 아이템 정보), 19칸부터 칸 34 */
#ui .got-grid:has(> .got-cell:nth-child(7)) { gap: 10px; }
#ui .got-grid:has(> .got-cell:nth-child(7)) .got-name { display: none; }
#ui .got-grid:has(> .got-cell:nth-child(19)) { gap: 8px; max-width: 320px; }
#ui .got-grid:has(> .got-cell:nth-child(19)) :is(.got-cell, .got-slot) { width: 34px; }
#ui .got-grid:has(> .got-cell:nth-child(19)) .got-slot { height: 34px; border-radius: 7px; }
#ui .got-grid:has(> .got-cell:nth-child(19)) :is(.got-icon, .got-icon[src^="data:"]) { left: 4px; top: 4px; width: 26px; height: 26px; }
#ui .got-grid:has(> .got-cell:nth-child(19)) :is(.got-glow, .got-rays, .got-ring) { top: 17px; scale: .85; }
/* 하나만 받으면 한 단 크게(56) */
#ui .got.one .got-grid { padding-top: 20px; }
#ui .got.one .got-cell { width: 56px; }
#ui .got.one .got-slot { width: 56px; height: 56px; border-radius: 10px; }
#ui .got.one .got-slot .card-sheen { border-radius: 10px; }
#ui .got.one .got-icon, #ui .got.one .got-icon[src^="data:"] { left: 6px; top: 6px; width: 44px; height: 44px; }
#ui .got.one :is(.got-glow, .got-rays, .got-ring) { top: 28px; }
#ui .got.one .got-glow { width: 100px; height: 100px; margin: -50px 0 0 -50px; }
#ui .got.one .got-rays { width: 154px; height: 154px; margin: -77px 0 0 -77px; }
#ui .got.one .got-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
#ui .got.one .got-name { width: 180px; max-height: 17px; font-size: 13px; line-height: 17px; }
#ui .got.one .got-n { font-size: 11px; }
#ui .got .ask-buttons { position: absolute; left: 0; right: 0; top: calc(100% + 14px); display: flex; justify-content: center; }
#ui .btn.got-ok { flex: none; min-width: 108px; min-height: 30px; padding: 0 18px; border: 0; border-image: none; border-radius: 999px; background: linear-gradient(#ece4d3, #c9bda6); color: #2b261e;
  text-shadow: none; filter: none; font-size: 13px; font-weight: 800; box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 2px 6px rgba(0, 0, 0, .5); }

#ui .popup.adp { width: 300px; text-align: center; }
#ui .ad-body { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 2px 0 12px; }
#ui .ad-icon { width: 44px; height: 44px; object-fit: contain; }
#ui .ad-reward { font-size: 15px; font-weight: 900; }
#ui .ad-left, #ui .ad-wait { font-size: 12px; font-weight: 700; color: var(--ink-soft); }
#ui .ad-watch { min-width: 132px; }
/* 큰 지도 창(features/worldmap — 미니맵 누름), 칸 = 손그림 지도 두 겹 캔버스(바탕 · 표시).
   칸은 넘치지 않고(캔버스 = 칸 크기) 끌기 = 옮기기 · 핀치 · 휠 = 확대·축소(host RtBattleWorldMap 카메라).
   전체화면 창(01-popup .popup.full —
   머리 띠 46 = ‹ + 흰 선 지도 아이콘 + 지금 필드 이름 · HUD 숨김 · 상자 X 없음). 지도 칸은 머리 띠 아래 판 전체(좌우 · 아래 여백 없이 끝까지) — 도깨비의 세계 지도 화면처럼
   지도가 화면을 채우고 창 장식은 머리 띠뿐. 넓은 화면은 지도 칸이 넓어져 섬이 더 크게 들어온다(배율은 host RtBattleWorldMap.layout 이 칸 크기로 다시 잡음) */
#ui .popup.full.map { padding-bottom: 0; }
#ui .popup.full.map > .popup-head { margin-bottom: 0; position: relative; z-index: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }   /* 띠 아래 그림자 = 지도 위에 얹힌 띠 */
#ui .popup.full.map > .popup-head > h2::before { -webkit-mask-image: url(assets/icons/menu-map.png); mask-image: url(assets/icons/menu-map.png); }
#ui .map-body { flex: 1; min-height: 0; margin: 0 -18px; padding: 0; overflow: hidden; touch-action: none; cursor: grab; background: #1f3235; }   /* 바탕색 = 미니맵 MM.sea 와 같은 먹빛 바다(굽기 전 · 바탕 밖) */
#ui .map-body:active { cursor: grabbing; }
#ui .map-pan { position: relative; width: 100%; height: 100%; }
#ui .map-pan canvas { position: absolute; left: 0; top: 0; display: block; }
/* 설정 조작 탭(EFZ 조작 탭): 탭 셋 · [전체 버튼 조정] · 공격 방식 두 칸 · 켬/끔 — 둘레·색은 켬/끔 줄(.toggle-row · .toggle)과 같은 톤.
   연출(탭 판 등장은 ui_fx.css): 탭을 열면 줄이 차례로 떠오름 · 켬/끔 손잡이·색이 미끄러지듯 · 고른 칸이 살짝 튐 · 누르면 눌림 */
#ui .popup.settings .stabs { --n: 4; }   /* 유저 · 게임 · 조작 · 그래픽 — 그래픽 판(.p-gfx)도 ctl-panel 모양(카메라 막대 + 켬/끔 두 칸씩) */
#ui .popup.settings .stabs .tab { padding: 0 4px; font-size: 12px; line-height: 13px; white-space: normal; overflow: hidden; overflow-wrap: anywhere; }   /* 셋이라 칸이 좁다: 긴 말은 두 줄(34 높이 안). 글 12px = EFZ 탭 font_little(9pt) */
#ui .ctl-panel:not([hidden]) > * { animation: ctl-row .3s ease-out both; }
#ui .ctl-panel > :nth-child(2) { animation-delay: .05s; }
#ui .ctl-panel > :nth-child(3) { animation-delay: .1s; }
#ui .ctl-panel > :nth-child(4) { animation-delay: .15s; }
#ui .ctl-panel > :nth-child(5) { animation-delay: .2s; }
#ui .ctl-panel > :nth-child(6) { animation-delay: .2s; }
@keyframes ctl-row { from { opacity: 0; transform: translateY(10px); } }
#ui .ctl-panel .toggle-row { margin-bottom: 8px; }
/* 켬/끔 넷(스킬 연출 · 타격감 효과 · 화면 흔들림 · 피해 화면 효과)은 두 칸씩 — 한 줄씩이면 폰 가로(412 높이)에서 설정 창 밑으로 잘린다 */
#ui .popup.settings .ctl-panel:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 5px; align-content: start; }
#ui .popup.settings .ctl-panel > .ctl-edit-all, #ui .popup.settings .ctl-panel > .ctl-mode, #ui .popup.settings .ctl-panel > .sl-pot, #ui .popup.settings .ctl-panel > .ctl-psave-row, #ui .popup.settings :is(.ctl-panel, .gfx-grp) > .ctl-cam { grid-column: 1 / -1; }
/* 그래픽 탭 [전투 | 배경]: 위 두 칸(조이스틱 방식 줄과 같은 칸 모양) + 고른 묶음 하나 — 묶음도 두 칸씩, 바꾸면 묶음이 다시 떠오른다 */
#ui .popup.settings .gfx-seg { grid-column: 1 / -1; margin-bottom: 8px; }
/* 그래픽 품질 줄([자동 | 낮음 | 중간 | 높음]): 날씨 줄과 같은 이름 | 칸 모양, 탭 맨 위 한 줄(어느 묶음에서나 보인다) */
#ui .popup.settings .gfx-q { grid-column: 1 / -1; margin-bottom: 8px; white-space: nowrap; padding-right: 4px; }
#ui .popup.settings .gfx-q .vol-name { width: 62px; white-space: normal; line-height: 1.1; }
#ui .popup.settings .sl-pot > .toggle { flex: none; margin-left: 2px; }   /* 11-10 자동 물약 켬/끔 = 그래픽 막대 줄(.gfx-sl)과 같은 한 줄 — 줄을 늘리면 [자동 절전]이 창 밖으로 밀렸다 */
#ui .popup.settings .sl-pot .vol-num { width: 38px; }
#ui .popup.settings .sl-pot.off .vol-num { width: auto; min-width: 38px; white-space: nowrap; overflow: visible; }   /* 11-10 uiverify: 끔 글자 "사용 안 함"이 38px 칸에서 앞 글자가 잘렸다(sandbox 915×412 캡처 "용 안 함") — 끈 줄만 글자 폭, 막대(flex 1)가 그만큼 줄어든다 */
#ui .popup.settings .sl-pot .vol-name { width: 62px; white-space: normal; line-height: 1.1; }   /* 11-04 W23 R23 물약 자동 사용 % — 그래픽 막대와 같은 이름 칸 */
#ui .popup.settings .q-seg { flex: 1; grid-template-columns: repeat(4, 1fr); margin: 0 2px 0 8px; }
/* 최저 강제 안내(lowfield-1125 — 저사양 판정 기기가 단계를 골라 둔 경우만 보임, perf 62-gfx-quality gfxForce): 품질 줄 바로 밑 한 줄 · 작은 흐린 글자(라벨 9 이상) */
#ui .popup.settings .q-forced { grid-column: 1 / -1; margin: -1px 4px 6px 9px; font-size: 10px; font-weight: 700; line-height: 1.25; color: var(--ink-soft); white-space: normal; }   /* 색 = 버전 줄(.version)과 같은 판 위 글자 */
#ui .popup.settings .q-forced[hidden] { display: none; }
#ui .popup.settings .gfx-grp { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 5px; animation: ctl-row .3s ease-out both; }
#ui .popup.settings .gfx-grp[hidden] { display: none; }
/* 배경 묶음: 그림자 · 시간 흐름 = 이름 | 켬/끔 | 막대 | 값, 날씨 = 이름 | 켬/끔 | [자동 · 비 · 눈] — 한 줄씩(스위치 왼쪽 · 막대나 선택지 오른쪽). 잠긴 막대 · 칸(그림자 끔 · 시간 흐름 켬 · 날씨 끔)은 흐리게 · 안 눌림. */
#ui .popup.sheet.settings .sheet-body { height: 228px; }   /* 그래픽 품질 줄(31 + 8) + 배경 묶음 넷이 안 잘리는 높이 · 설정 창 높이 ≈ 317 이 폰 가로 412 안 */
#ui .popup.settings .gfx-grp > :is(.gfx-sl, .gfx-wx) { grid-column: 1 / -1; white-space: nowrap; padding-right: 4px; }
#ui .popup.settings .gfx-grp .gfx-sl .vol-name, #ui .popup.settings .gfx-wx .vol-name { width: 62px; white-space: normal; line-height: 1.1; }
#ui .popup.settings .gfx-grp :is(.gfx-sl, .gfx-wx) > .toggle { flex: none; margin-left: 2px; }
#ui .popup.settings .gfx-sl .vol-num { width: 38px; }
#ui .popup.settings .gfx-sl .vol-bar, #ui .popup.settings .gfx-wx .wx-seg { transition: opacity .2s, filter .2s; }
#ui .popup.settings :is(.gfx-sl, .sl-pot).off .vol-bar, #ui .popup.settings :is(.gfx-sl, .sl-pot).off .vol-num { opacity: .35; filter: grayscale(1); pointer-events: none; }
#ui .popup.settings .gfx-wx .wx-seg { flex: 1; grid-template-columns: repeat(3, 1fr); margin: 0 2px 0 8px; }
#ui .popup.settings .gfx-wx .wx-seg button.off { opacity: .35; filter: grayscale(1); pointer-events: none; }
/* 카메라 세로 각도 막대: 볼륨 바(account 02-sheet-settings .vol-*) 그대로 · 아이콘 없음 · 이름은 글자 폭 · 숫자 = "30°" */
#ui .popup.settings :is(.ctl-panel, .gfx-grp) > .ctl-cam { white-space: nowrap; }
#ui .popup.settings .ctl-cam .vol-name { width: auto; }
#ui .popup.settings .ctl-cam .vol-num { width: 28px; }
#ui .popup.settings :is(.ctl-panel, .gfx-grp) > .toggle-row:not(.ctl-mode) { min-width: 0; gap: 3px; padding: 0 4px 0 7px; font-size: 11.5px; line-height: 1.15; }   /* 긴 말(영어 · 일본어)은 두 줄로 접힘 */
:is(html:lang(ko), html:lang(zh)) #ui .popup.settings :is(.ctl-panel, .gfx-grp) > .toggle-row:not(.ctl-mode) { white-space: nowrap; }   /* 짧은 말은 한 줄("피해 화면 효/과"처럼 접히지 않게) */
#ui .ctl-edit-all { display: block; width: 100%; margin-bottom: 8px; min-height: 32px; padding: 2px 10px; font-size: 12px; }   /* EFZ 조작 탭 [전체 버튼 조정] 높이 30 · font_little */
#ui .ctl-mode { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px; }
#ui .ctl-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
#ui .ctl-seg button { height: 30px; border-radius: 8px; border: 2px solid #c9ac77; background: #f3e6c8; color: var(--ink-soft); font-size: 12px; font-weight: 800; transition: background .2s, color .2s, border-color .2s, transform .08s; }
#ui .ctl-seg button.on { background: #8fae4c; border-color: #5f7d2c; color: #fff; animation: ctl-pop .25s ease-out; }
#ui .ctl-seg button:active, #ui .ctl-edit-all:active { transform: scale(.96); }
/* 대기 중 화면 60 / 30(11-08 lagfeel-1108 A): 한 줄 칸(이름 왼쪽 · 두 칸 단추 오른쪽) — 두 줄 칸이면 가로 폰(412 높이)에서 아래 [자동 절전] 단추가 창 테두리에 가린다 */
#ui .popup.settings .ctl-panel > .ctl-idle-row { grid-column: 1 / -1; }
#ui .ctl-idle-seg { flex: none; width: 112px; gap: 4px; }
#ui .ctl-idle-seg button { height: 24px; }
@keyframes ctl-pop { 40% { transform: scale(1.06); } }
#ui .ctl-panel .toggle { transition: background .2s, border-color .2s; }
#ui .ctl-panel .toggle::before, #ui .ctl-panel .toggle::after, #ui .ctl-panel .toggle span { transition: opacity .18s; }

/* 채팅 · 친구 · 파티(party 레인 2026-10-18 — 채팅 창은 10-20 전체화면, 아래 '채팅 창 = 전체화면' 묶음). 틀 = 이 창 층 그대로(.popup.sheet 나인패치 판 · .tabs · .sheet-body · .btn / .btn.plain · 닫기), 새 그림 없음.
   수치 = EFZ: 채팅 창 560x360(obj_chat_window Create_0.gml:9) · 탭 4개 · 말 줄 최대폭 66% · 최소 96(Draw_64.gml:83-87) · 입력 100자 + [보내기](548-577) ·
   HUD 미리보기 = 반투명 검정 .55 · 작은 흰 글자 · 이름 = 범위 색(obj_chat_direction Draw_64.gml:76-97, 색 표 198-222) ·
   파티 칸 92x34 · 간격 7 · GUI 높이 − 108(=342) 가운데 · 체력 막대 6 · 파티장 별 · ✕(scr_unit_manager.gml:6346-6459) · 친구 줄 = 이름 Lv · 온라인 · 장소(obj_profile_window 735-773).
   범위 색: 어두운 HUD 위는 EFZ 값 그대로, 밝은 양피지 창 안은 같은 색상의 진한 톤(글자만 — 띠 · 배경색 칠 없음). */
/* 2026-10-18 사용자 "우측 상단 골드·다이아 빼고 그 자리에 채팅창" → "채팅아이콘 왜 왼쪽이고 왜 저렇게 크기가 크냐" · "편지, 설정 아이콘 크기로" · "EFZ 좀 참고 좀 제대로":
   EFZ obj_chat_direction/Draw_64.gml 그대로(GUI px = 이 HUD 무대 px — 미니맵 (62,64) r50 이 같은 값): 오른쪽 끝 x2 = W − (108 + 40) · 폭 = min(280 − 40, max(180, W − 220 − 40)) ·
   y1 = 34 · 높이 30 · 검정 .55 둥근 판 · 최근 한 줄 "이름 : 말"(이름 = 순위 색, 없으면 흰색) · 글 칸 = 폭 − 50 · font_little 9pt · 말이 없으면 입력 안내 ·
   채팅 아이콘 = 판 안 오른쪽 끝, 가운데 x2 − 17 — 크기만 사용자 지시대로 머리줄 편지 · 설정과 같은 크기(칠해진 그림 긴 변이 설정 톱니와 같게) ·
   누름: 판 왼쪽(x1 ~ x2 − 36) = 채팅 창, 아이콘 칸(x2 − 36 ~ x2) = 바로 입력. 창이 떠 있거나 대화 중이면 숨김(17b chatHudShow).
   레벨 10 미만 숨김은 따르지 않는다(sandbox 게스트가 Lv1 이라 요청한 미리보기 자체가 안 보인다). 판은 HUD 층 .hud-in(머리줄과 같은 배율)에 둔다 */
#hud .chat-hud { right: 148px; top: 34px; width: clamp(180px, calc(var(--hw, 800px) - 260px), 240px); height: 30px; box-sizing: border-box; padding: 0 0 0 8px; border-radius: 6px; background: rgba(59, 36, 18, .62); box-shadow: inset 0 0 0 1px rgba(201, 172, 119, .32);
  display: flex; align-items: center; color: #f4e8d1; font-size: 10.5px; font-weight: 600; line-height: 30px; pointer-events: auto; cursor: pointer; }
#hud .chat-hud p b { font-weight: 700; color: #f3d998; }
#hud .chat-hud-text { flex: 1; min-width: 0; margin-right: 6px; }
#hud .chat-hud p, #hud .chat-hud-hint { display: block; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#hud .chat-hud-hint { display: none; }
#hud .chat-hud.empty .chat-hud-hint { display: block; }
#hud .chat-hud-icon { position: relative; flex: none; width: 36px; height: 30px; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; }
#hud .chat-hud-icon img { left: 2.43px; top: -1.58px; width: 33.15px; height: 33.15px; }   /* 가운데 = 칸 오른쪽에서 17(EFZ _icon_x). 33.15 = 머리줄 설정 톱니와 같은 크기(39)의 85 %(10-18 사용자 "채팅 말풍선 아이콘 좀 더 작게 85% 정도로") — 가운데 · 누름 칸 36 그대로 */
#hud .chat-hud-icon:active img { transform: scale(.92); }
#hud .chat-hud:active { background: rgba(59, 36, 18, .76); }

#ui .party-hud { position: absolute; left: 50%; top: 342px; transform: translateX(-50%); display: flex; gap: 7px; pointer-events: auto; touch-action: none; }
#hud[data-field="isle"] ~ #ui .party-hud { top: 290px; }   /* 섬 판 기본 자리 = [건설] · [모두 수확] · 방문 단추 줄(360)과 알림 알약(326) 위(11-08 partywin — 342 면 위 층 #ui 의 파티 칸이 [건설] 을 다 덮어 누르면 파티 창이 열렸다) */
#ui .party-hud.moved { transform: none; }   /* 유저가 끌어 놓은 자리(17b-social partyHudAt — left · top 이 왼쪽 위) */
#ui .party-hud.drag { cursor: grabbing; }
#ui .party-hud.drag .pslot { box-shadow: inset 0 0 0 1px rgba(201, 172, 119, .55), 0 3px 8px rgba(0, 0, 0, .45); }   /* 끄는 중 = 살짝 떠 보임 */
#ui .party-hud.under-sheet { visibility: hidden; }   /* 건설 시트가 열린 동안(HUD 를 숨기는 시트 규칙과 같게) */
#ui .pslot { position: relative; width: 128px; height: 34px; padding: 3px 5px 0 33px; border-radius: 6px; background: rgba(59, 36, 18, .6); box-shadow: inset 0 0 0 1px rgba(201, 172, 119, .3); color: #f4e8d1; text-shadow: 0 1px 1px rgba(42, 26, 12, .85); cursor: pointer; }   /* 폭 92 → 128: 닉네임 7글자 + 파티장 별을 자르지 않고 다 보인다(10-25 사용자 "닉네임은 전광판효과없이 길어도 그냥 다 보여줘야") */
#ui .pslot .p-face { position: absolute; left: 3px; top: 3px; width: 28px; height: 28px; }
#ui .pslot b { display: block; font-size: 11px; font-weight: 800; line-height: 14px; white-space: nowrap; overflow: hidden; }
#ui .pslot .pbar { position: absolute; left: 33px; right: 5px; bottom: 7px; height: 6px; border-radius: 3px; background: rgba(42, 26, 12, .6); overflow: hidden; }
#ui .pslot .pbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: linear-gradient(rgba(255, 90, 74, .9), rgba(224, 31, 22, .9)); transition: width .25s ease; }
#ui .pslot .pwhere { display: block; font-size: 9.5px; font-weight: 700; line-height: 13px; color: #d6bd92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .pslot.away { background: rgba(59, 36, 18, .42); }
#ui .party-hud .pbonus { position: absolute; left: 50%; bottom: calc(100% + 5px); transform: translateX(-50%); height: 22px; padding: 0 10px; border-radius: 11px; background: rgba(20, 14, 8, .62); box-shadow: inset 0 0 0 1px rgba(201, 172, 119, .3); color: #b9ab94; font-size: 12px; font-weight: 800; line-height: 22px; white-space: nowrap; pointer-events: none; }   /* 파티 경험치 알약(partybonus-1107): 글자 폭 · 파티 칸 위 가운데 */
#ui .party-hud .pbonus.on { color: #8fe3ff; box-shadow: inset 0 0 0 1px rgba(143, 227, 255, .45); }   /* 받는 중 = 하늘색(파티 몫 +EXP 글자와 같은 색) */
#ui .pkick { position: absolute; right: -5px; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: #c0603f; border: 2px solid #8e3f25; }
#ui .pkick::before, #ui .pkick::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 2px; margin: -1px 0 0 -4px; background: #fff7ea; transform: rotate(45deg); }
#ui .pkick::after { transform: rotate(-45deg); }
#ui i.star { display: inline-block; width: 10px; height: 10px; margin: 0 2px -1px 0; background: #e6b43a; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

#ui .party-invite { position: absolute; z-index: 30; left: 50%; top: 58px; width: 300px; transform: translateX(-50%) scale(.9); opacity: 0; pointer-events: auto; text-align: center;
  border: 22px solid transparent; border-image: url(assets/ui/panel.webp) 72 fill / 22px stretch; filter: drop-shadow(0 8px 14px #0006); transition: opacity .18s ease, transform .18s cubic-bezier(.3, 1.5, .6, 1); }
#ui .party-invite.show { opacity: 1; transform: translateX(-50%) scale(1); }
#ui .party-invite p { display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: #2f6f91; padding-bottom: 10px; }
#ui .party-invite-buttons { display: flex; justify-content: center; gap: 10px; }
#ui .party-invite-buttons .btn { min-width: 96px; }
#ui .social-toast { position: absolute; z-index: 31; left: 50%; top: 96px; max-width: 420px; padding: 7px 16px; border-radius: 14px; background: rgba(59, 36, 18, .9); color: #f4e8d1;
  font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translate(-50%, -6px); opacity: 0; transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
#ui .social-toast.show { opacity: 1; transform: translate(-50%, 0); }

#ui .social-tabs { --n: 4; }   /* 친구 · 받은 신청 · 파티 · 차단(chatblock-1107) */
#ui .social-tabs .tab { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
/* 친구 창 입력 줄(양피지 창 결 그대로 — 채팅 입력 줄은 아래 전체화면 묶음) */
#ui .social-add-row { flex: none; display: flex; gap: 8px; padding-top: 8px; }
#ui .social-add-input { flex: 1; min-width: 0; height: 32px; padding: 0 10px; border: 2px solid #c9ac77; border-radius: 8px; background: #fffaf0; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); user-select: text; -webkit-user-select: text; outline: none; }
#ui .social-add-input::placeholder { color: #a8916a; }
#ui .social-add-btn { flex: none; min-width: 86px; white-space: nowrap; }
/* 얼굴 칸(features/looks faceHtml — 채팅 줄 · 친구 · 파티 · 초대): 바탕 = 말 칸과 같은 양피지(10-18 사용자 "뒷배경은 왜 검은색"), 테 = 그 줄 범위 색(말 칸과 같다).
   내 얼굴 = 좌우 반전(왼쪽, 곧 말 칸 쪽을 본다 — EFZ 와 같다) */
#ui .look-face { position: relative; flex: none; width: 42px; height: 42px; padding: 0; border: 0; background: #efe0c0; overflow: hidden; }
#ui .look-face.mine { background: #f3e1b8; }
#ui .look-face::after { content: ""; position: absolute; inset: 0; box-sizing: border-box; border: 4px solid transparent; border-image: url(ui/art/face-frame.png) 14 / 4px stretch; pointer-events: none; }   /* 얼굴 액자(나무 테 · 금빛 립 · 모서리 징) */
#ui .pslot .look-face::after, #ui .pi-face::after { border-width: 3px; border-image-width: 3px; }
#ui .look-face img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
#ui .look-face.mine img { transform: scaleX(-1); }
#ui .chat-face.mine { cursor: default; }
#ui .f-face { width: 34px; height: 34px; }
#ui .pi-face { width: 30px; height: 30px; margin-right: 8px; }
/* ── 채팅 창 = 전체화면(2026-10-20 사용자 "고품질 UI 문서 참고해서 채팅 UI 전체화면으로 문서에 맞게 수정해줘") ──
   틀 = 공용 .popup.full(01-popup: 어두운 반투명 판 · 머리 띠 ‹ + 흰 선 아이콘 + 흰 굵은 제목 · HUD 숨김 · 스며들기) — 근거 .claude/skills/hq-ui(도깨비의 세계 전체화면 창 결).
   줄 순서 · 수치는 EFZ obj_chat_window 그대로(탭 4 · 남 = 왼쪽 얼굴 · 나 = 오른쪽 · 말 칸 최대 66 % · 줄 간격 10 · 입력 100자 + [보내기], Draw_64.gml:83-87 · 298-316 · 548-577),
   양피지 나인패치 말 칸 · 꼬리만 걷어 낸다(고품질 문서: 색은 거의 무채색, 강조색만 — 범위 꼬리표는 도깨비 채팅 색 꼬리표 결, dokkaebi-world.md §5 왼쪽 아래 채팅). */
#ui .popup.full.chat > .popup-head > h2::before { -webkit-mask-image: url(assets/icons/menu-friends.png); mask-image: url(assets/icons/menu-friends.png); }   /* 채팅 흰 선 아이콘이 없어 메뉴 친구 아이콘(사람 둘) — 소셜 묶음 같은 그림 */
/* 소환 공지 [ON/OFF](annoff-1109): 머리 띠 오른쪽 위 글자 폭 알약 28 — 채널 알약(features/channel .ch-pill)과 같은 어두운 판 · 금빛 테.
   ON = HUD AUTO 켜짐 금(#ffd36b, autoskill-1108 과 같은 값) · OFF = 회색. 누름 .92 → 1.06(pc-press). 채널 알약이 붙으면 그 왼쪽에 6 간격 */
#ui .popup.full.chat .chat-ann { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; box-sizing: border-box; margin: 0 0 0 auto; padding: 0 11px 0 12px; border: 0; border-radius: 14px;
  font: inherit; white-space: nowrap; color: #f2f0e7; cursor: pointer; background: linear-gradient(90deg, rgba(13, 16, 17, .72), rgba(13, 16, 17, .5)); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .38);
  transition: transform .18s cubic-bezier(.3, 1.8, .5, 1), background .15s; touch-action: manipulation; }
#ui .popup.full.chat .chat-ann:active { transform: scale(.92); transition-duration: .06s; }
#ui .popup.full.chat .chat-ann.press { animation: pc-press .22s ease-out both; }
#ui .popup.full.chat .chat-ann .ca-l { font-size: 12px; font-weight: 800; text-shadow: 0 1px 2px #000; }
#ui .popup.full.chat .chat-ann .ca-v { min-width: 26px; padding: 2px 6px; border-radius: 9px; font-size: 10.5px; font-weight: 900; line-height: 12px; text-align: center; color: #8a8d86; background: rgba(255, 255, 255, .07); transition: color .15s, background .15s; }
#ui .popup.full.chat .chat-ann.on .ca-v { color: #241c08; background: #ffd36b; }
#ui .popup.full.chat .chat-ann ~ .ch-pill.ch-chat { margin-left: 6px; }
/* 탭 = 공용 어두운 알약 줄(높이 30 · 글자 폭) — 바탕 .tabs 의 1fr 격자 · 양피지 탭을 덮는다 */
#ui .popup.full.chat .chat-tabs { flex: none; height: 30px; margin-bottom: 8px; }
#ui .popup.full.chat .chat-tabs .tab { font-size: 13.5px; font-weight: 800; white-space: nowrap; }
/* 기록 칸 = 어두운 반투명 판(판 안 판 — 물품 · 랭킹 목록 칸과 같은 결). 넓은 화면은 칸 폭만 넓어지고 말 칸 · 얼굴은 그대로 */
#ui .popup.full.chat .chat-log { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border: 0; border-radius: 10px;
  background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }   /* EFZ _row_gap 10 · 얼굴 = 영역 끝에서 14 */
#ui .popup.full.chat .chat-log .empty { min-height: 0; color: var(--ink-soft); font-size: 12.5px; font-weight: 700; }
#ui .popup.full.chat .chat-row { flex: none; display: flex; align-items: flex-start; gap: 8px; }
#ui .popup.full.chat .chat-row.mine { justify-content: flex-end; }
/* 얼굴 36(어두운 판 위라 양피지 바탕 · 나무 테 대신 옅은 회색 바탕 + 가는 흰 테 — 검정 칸으로 보이지 않게) */
#ui .popup.full.chat .look-face { width: 36px; height: 36px; border-radius: 10px; background: #5a5750; }
#ui .popup.full.chat .look-face.mine { background: #6a6457; }
#ui .popup.full.chat .look-face::after { border: 1px solid rgba(255, 255, 255, .16); border-image: none; border-radius: 10px; }
/* 말 칸: 남 = 어두운 반투명 둥근 칸(얼굴 쪽 위 모서리만 덜 둥글게 — 꼬리 대신), 나 = 살짝 밝은 베이지 기운. 최대 66 %(EFZ) · 넓은 화면도 480 까지만 */
#ui .popup.full.chat .chat-bub { position: relative; display: flex; flex-direction: column; max-width: min(66%, 480px); min-width: 96px; min-height: 0; padding: 6px 12px 7px;
  border: 0; border-image: none; border-radius: 4px 12px 12px 12px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
#ui .popup.full.chat .chat-row.mine .chat-bub { border-radius: 12px 4px 12px 12px; background: rgba(230, 220, 198, .16); box-shadow: inset 0 0 0 1px rgba(236, 226, 205, .12); }
#ui .popup.full.chat .chat-bub::before, #ui .popup.full.chat .chat-bub::after { display: none; }
#ui .popup.full.chat .chat-row.failed .chat-bub { opacity: .55; }
/* 머리줄 = [범위] 이름 — 작은 회백 굵은 글자, 범위만 어두운 판 위 밝은 톤(시스템 = 주황, 도깨비 채팅 색 꼬리표) */
#ui .popup.full.chat .chat-head { display: flex; align-items: center; gap: 4px; padding-right: 0; font-size: 11px; font-weight: 700; line-height: 15px; color: #c9cbc6; white-space: nowrap; }
#ui .popup.full.chat .chat-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
#ui .popup.full.chat .chat-row.mine .chat-name { cursor: default; }
/* 칭호 · 길드 = 이름 뒤, 머리 위 이름표 순서 · 색(hud 03-world-text .w-title #e8c979 · .w-guild #ffe08a + 문장 15 = 머리줄 줄 높이 15). 이름보다 먼저 줄고(shrink 4) 각 96 에서 말줄임 */
#ui .popup.full.chat :is(.chat-tt, .chat-gd) { flex: 0 4 auto; min-width: 0; max-width: 96px; overflow: hidden; text-overflow: ellipsis; font-size: 10px; font-style: normal; font-weight: 800; line-height: 15px; }
#ui .popup.full.chat .chat-tt { color: #e8c979; }
#ui .popup.full.chat .chat-gd { display: inline-flex; align-items: center; gap: 2px; color: #ffe08a; }
#ui .popup.full.chat .chat-gd > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#ui .popup.full.chat .chat-gd > canvas { flex: none; }
/* 전체 채팅 머리(17b chatWorldHeadHtml) = (문장)[길드] Lv.n 닉네임: 길드가 맨 앞이고 줄어도 [ ] 는 남는다 · 레벨 = 이름과 같은 글자, 줄지 않음 */
#ui .popup.full.chat .chat-gd.lead { gap: 0; }
#ui .popup.full.chat .chat-gd.lead > canvas { margin-right: 2px; }
#ui .popup.full.chat .chat-gd.lead > b { flex: none; font-weight: 800; }
#ui .popup.full.chat .chat-lv { flex: none; }
#ui .popup.full.chat :is(.s-world, .s-system) .chat-scope { color: #d8c9a8; }
#ui .popup.full.chat .s-channel .chat-scope { color: #9fd0a6; }
#ui .popup.full.chat .s-party .chat-scope { color: #8fc6ff; }
#ui .popup.full.chat .s-guild .chat-scope { color: #c6a8ff; }
#ui .popup.full.chat .s-whisper .chat-scope { color: #f0a6c0; }
/* 신고 = 머리줄 오른쪽 끝 작은 회색 테 글자(EFZ 오른쪽 위 자리 그대로, 상자 색은 빼고) */
#ui .popup.full.chat .chat-report { position: static; flex: none; width: auto; height: 15px; margin-left: auto; padding: 0 6px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: none;
  color: #a7aaa5; font-size: 9.5px; font-weight: 700; line-height: 13px; transition: transform .16s cubic-bezier(.3, 1.8, .5, 1); }
#ui .popup.full.chat .chat-report:active { transform: scale(.92); transition-duration: .06s; background: rgba(255, 255, 255, .1); }
#ui .popup.full.chat .chat-head > :has(+ .chat-report) { margin-right: 12px; }   /* 신고 앞 마지막 칸(이름 · 칭호 · 길드) */
#ui .popup.full.chat .chat-text { margin-top: 2px; font-size: 13px; font-weight: 500; line-height: 1.45; letter-spacing: -.1px; color: #eceae2; overflow-wrap: anywhere; white-space: pre-wrap; user-select: text; }
#ui .popup.full.chat .chat-time { position: static; align-self: flex-end; margin-top: 2px; font-size: 9.5px; font-weight: 600; line-height: 11px; color: #8d908b; }   /* EFZ 시각 = 오른쪽 아래 */
/* VIP 반지 꾸밈(vipname-1122 — 17b renderChat data-vip): 머리 위와 같은 그림. 이름 = 명찰 판 — vipname2-1122 부터 도트 시안(hud.css --vn-*-chat: 같은 그림을 판 몸 18 로,
   머리줄 15 에서 3 만 커짐 · 글자 11 이 바탕 칸에 들어감 · 끝 장식은 판 안이라 옆 칸과 겹치지 않음). 위 가운데 장식(crest)은 줄 높이가 낮아 채팅에서는 쓰지 않는다.
   말 칸 = VIP 말풍선 판 — 아래 vipfinal-1122(도트 판, 꼬리 없음 · 말 칸 모양 그대로) */
#ui .popup.full.chat .chat-name[data-vip] { flex: 0 1 auto; margin: 0 2px; padding: var(--vn-n1-chat-pad); border: 1px solid transparent; line-height: var(--vn-n1-chat-lh); font-weight: 800;
  color: var(--vn-n1-c); text-shadow: var(--vn-ts); border-image: var(--vn-n1-chat); }
#ui .popup.full.chat .chat-name[data-vip="n2"] { padding: var(--vn-n2-chat-pad); line-height: var(--vn-n2-chat-lh); color: var(--vn-n2-c); border-image: var(--vn-n2-chat); }
/* 말 칸 = VIP 말풍선 도트 판(vipfinal-1122 — 명찰 시안 1 과 한 세트: b1 짙은 남색 + 금 테 · 모서리 에메랄드 / b2 짙은 자두색 + 금 덩굴 · 루비, ui/art/vip/bubble,
   features/vip/vipbubble_plate.py · 칸 = 1.5 px(채팅 명찰과 같은 크기). 판이 짙어서 머리줄 · 칭호 · 길드 · 시각은 기본 줄 색 그대로, 글 = 밝은 색(--vb-fill 대비 측정 — check_vipfinal_1122).
   옛 매끈한 판(bubble-vip1 · 2)은 지우지 않고 둔다(쓰지 않음). 모서리 장식 안쪽까지 글이 닿지 않게 안쪽 여백을 조금 넓힌다 */
#ui .popup.full.chat .chat-bub[data-vip] { --vb-fill: #1f283c; padding: 7px 12px 8px; border: 1px solid transparent; border-radius: 0; background: none; box-shadow: none;
  border-image: url(ui/art/vip/bubble/b1.png) 48 40 48 40 fill / 9px 7.5px 9px 7.5px stretch; }
#ui .popup.full.chat .chat-bub[data-vip="b2"] { --vb-fill: #29133c; padding: 9px 13px 9px; border-image: url(ui/art/vip/bubble/b2.png) 72 56 56 56 fill / 13.5px 10.5px 10.5px 10.5px stretch;
  filter: drop-shadow(0 0 4px rgba(255, 206, 110, .38)); }
#ui .popup.full.chat .chat-bub[data-vip="b1"] .chat-text { color: #eef3ff; }
#ui .popup.full.chat .chat-bub[data-vip="b2"] .chat-text { color: #fff0c8; }
#ui .popup.full.chat .chat-bub[data-vip] .chat-time { color: #a9aebb; }
#ui .popup.full.chat .chat-sys { flex: none; align-self: center; max-width: min(80%, 560px); padding: 4px 14px; border-radius: 12px; background: rgba(0, 0, 0, .32); color: #e3a35c; font-size: 11.5px; font-weight: 700; line-height: 16px; text-align: center; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }   /* 운영 공지 줄바꿈(chatwrap-1115) = 어절 단위(keep-all, 긴 주소만 anywhere) · 줄 길이 고르게(balance) · 두 줄이면 알약 대신 둥근 판 */
/* 새 말 = 아래에서 살짝 밀려 들어옴(.2s) — 처음 연 기록은 그대로(17b renderChat 이 새 줄에만 .fresh) */
#ui .popup.full.chat .chat-log > .fresh { animation: chat-in .2s cubic-bezier(.2, .8, .3, 1.1) both; }
#ui .popup.full.chat .chat-log > .chat-row.fresh:not(.mine) { animation-name: chat-in-l; }
#ui .popup.full.chat .chat-log > .chat-row.fresh.mine { animation-name: chat-in-r; }
@keyframes chat-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes chat-in-l { from { opacity: 0; transform: translate(-14px, 4px); } }
@keyframes chat-in-r { from { opacity: 0; transform: translate(14px, 4px); } }
/* 입력 줄 = 어두운 입력 칸 + 가는 밝은 테 · [보내기] = 청록 결정 알약(글자 폭) */
#ui .popup.full.chat .chat-input-row { flex: none; display: flex; align-items: center; gap: 8px; padding-top: 10px; }
#ui .popup.full.chat .chat-input { flex: 1; min-width: 0; height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; background: rgba(0, 0, 0, .4);
  font: inherit; font-size: 13px; font-weight: 500; color: #f2f0e7; user-select: text; -webkit-user-select: text; outline: none; transition: border-color .15s; }
#ui .popup.full.chat .chat-input:focus { border-color: rgba(131, 195, 191, .7); }
#ui .popup.full.chat .chat-input:disabled { background: rgba(0, 0, 0, .25); }
#ui .popup.full.chat .chat-input::placeholder { color: #80837e; }
#ui .popup.full.chat .chat-send { flex: none; width: auto; min-width: 0; height: 32px; padding: 0 18px; }
/* 누름 = 60ms .92 로 눌렸다가 놓으면 살짝 튀어 돌아옴(고품질 문서 손맛) — 탭 · 단추 · ‹ */
#ui .popup.full.chat :is(.tab, .btn, .close.back) { transition: transform .18s cubic-bezier(.3, 1.8, .5, 1), background .15s, color .15s; }
#ui .popup.full.chat :is(.tab, .btn:not(.off), .close.back):active { transform: scale(.92); transition-duration: .06s; }

#ui .social-add { flex: none; display: flex; flex-direction: column; margin-bottom: 8px; }
#ui .social-add-row { padding-top: 4px; }
#ui .social-code { font-size: 12px; font-weight: 800; color: var(--ink-soft); user-select: text; -webkit-user-select: text; }
#ui .social-list { display: flex; flex-direction: column; gap: 6px; }
#ui .friend-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 54px; padding: 0 2px; border: 12px solid transparent; border-image: url(assets/hud/slot.webp) 72 fill / 12px stretch; }
#ui .f-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#ui .f-text b { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .f-text b i { font-style: normal; font-size: 11px; color: var(--ink-soft); }
#ui .f-where { font-size: 11.5px; font-weight: 700; color: #8d7a5c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .f-where.on { color: #3f7a4c; }
#ui .f-hp { position: relative; height: 6px; border-radius: 3px; background: #cdbb98; overflow: hidden; }
#ui .f-hp i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(#ff5a4a, #e01f16); }
#ui .f-acts { display: flex; gap: 4px; }
#ui .btn.plain.sm { min-height: 26px; padding: 0 8px; border-width: 2px 2px 3px; border-radius: 8px; font-size: 12px; white-space: nowrap; }
#ui .btn.plain.sm[data-danger] { color: #b0492f; }

/* ── 친구 = 내 프로필 [친구] 탭(.mp-fr — 11-04 W15 사용자 "우측 상단 메뉴에 친구 있는데, 이거 내 프로필 세부 탭에 … 넣자"). 아래 줄 · 단추 결은 옛 친구 전체화면 창 그대로 ──
   옛 창: 전체화면(2026-10-20 사용자 "샌드박스에 고품질 UI 문서 참고해서 친구랑 공지탭도 퀄리티높게, 전체화면으로 바꿔봐")
   틀 = 공용 .popup.full(01-popup: 어두운 반투명 판 · 머리 띠 46 ‹ + 흰 선 아이콘 + 흰 굵은 제목 · HUD 숨김 · 스며들기). 근거 .claude/skills/hq-ui · dokkaebi-world.md §8~§10
   (친구 화면은 도깨비 그림이 없어 §14 #10 "못 봄" — 같은 게임 랭킹 창 줄 결(11-ranking rk-row 50 · 얼굴 40)과 채팅 전체화면 입력 줄을 그대로 쓴다).
   줄 내용 · 순서는 EFZ obj_profile_window 735-773(얼굴 · 이름 Lv · 온라인 · 장소 · 단추) 그대로. 넓은 화면은 칸을 키우지 않고 목록 열을 가운데 760(EFZ 창 폭)까지만. */
#ui .mp-fr { display: flex; flex-direction: column; }
/* 머리 줄 = 목록 · 요청 · 파티 작은 알약(세부 탭 아래 둘째 줄이라 높이 26 · 글자 12) + 바로 옆 회색 숫자(친구 수 · 파티 인원 — 옛 창 제목 옆 숫자 자리) */
#ui .mp-fr-head { flex: none; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
#ui .popup.full .mp-fr .social-tabs { flex: none; height: 26px; margin: 0; }
#ui .popup.full .mp-fr .social-tabs .tab { min-width: 0; padding: 0 14px; font-size: 13px; font-weight: 800; }
#ui .mp-fr-head .count { margin-left: 2px; font-size: 12px; font-weight: 800; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
#ui .mp-tab-fr { position: relative; }
/* 추가 줄 = 어두운 입력 칸(채팅 입력과 같은 값) + 청록 결정 알약 [추가](글자 폭) · 내 친구 코드 = 오른쪽 끝 회색 작은 글자 */
#ui .popup.full .mp-fr .social-add { flex-direction: row; align-items: center; gap: 12px; margin-bottom: 10px; }
#ui .popup.full .mp-fr .social-add[hidden] { display: none; }
#ui .popup.full .mp-fr .social-add-row { order: -1; flex: 1; max-width: 420px; padding: 0; }
#ui .popup.full .mp-fr .social-add-input { height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; background: rgba(0, 0, 0, .4); font-size: 13px; font-weight: 500; color: #f2f0e7; transition: border-color .15s; }
#ui .popup.full .mp-fr .social-add-input:focus { border-color: rgba(131, 195, 191, .7); }
#ui .popup.full .mp-fr .social-add-input::placeholder { color: #80837e; }
#ui .popup.full .mp-fr .social-add-btn { min-width: 0; height: 32px; padding: 0 18px; background: linear-gradient(#83c3bf, #548f8c); color: #fff; }
#ui .popup.full .mp-fr .social-code { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
/* 목록 = 판 위에 바로 줄(랭킹과 같다 — 판 안 판 없음). 빈 목록 = 가운데 무채색 사람 글리프 + 회색 글자 */
#ui .popup.full .mp-fr .social-list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 2px 2px 4px; border: 0; border-radius: 0; background: none; box-shadow: none; }
#ui .popup.full .mp-fr .social-list .empty { flex: 1; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 13px; color: var(--ink-soft); animation: fx-fade .2s ease-out both; }
#ui .popup.full .mp-fr .social-list .empty::before { content: ""; width: 44px; height: 44px; background: rgba(255, 255, 255, .22); -webkit-mask: url(assets/icons/menu-friends.png) center / contain no-repeat; mask: url(assets/icons/menu-friends.png) center / contain no-repeat; }
#ui .popup.full .mp-fr .social-list .block-hint { flex: none; padding: 10px 0 2px; text-align: center; font-size: 11px; color: var(--ink-soft); }   /* 차단 탭 한도 안내(chatblock-1107) */
/* 줄 54 = 랭킹 rk-row 결(어두운 반투명 둥근 네모 · 얇은 밝은 테). 접속 중 = 줄 왼쪽 3px 초록 막대(랭킹 메달 막대 자리) · 끊김 = 얼굴 흐리게 */
#ui .popup.full .mp-fr .friend-row { position: relative; flex: none; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 6px 12px 6px 10px; border: 0; border-image: none; border-radius: 9px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .popup.full .mp-fr .friend-row:has(.f-where.on)::before { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 0 2px 2px 0; background: #7fcf8e; box-shadow: 0 0 6px rgba(127, 207, 142, .7); }
#ui .popup.full .mp-fr .friend-row.invite { background: rgba(131, 195, 191, .12); box-shadow: inset 0 0 0 1px rgba(131, 195, 191, .32); }   /* 받은 파티 초대 = 청록 기운(결정할 것) */
#ui .popup.full .mp-fr .look-face { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); transition: transform .08s ease-out, filter .2s, opacity .2s; }
#ui .popup.full .mp-fr .look-face::after { border: 0; border-image: none; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .popup.full .mp-fr button.look-face:active { transform: scale(.92); }
#ui .popup.full .mp-fr .friend-row:not(:has(.f-where.on)):not(.invite) .look-face { filter: grayscale(.85); opacity: .6; }
#ui .popup.full .mp-fr .f-text { flex: 1; gap: 3px; }
#ui .popup.full .mp-fr .f-text b { font-size: 14px; color: var(--ink); }
#ui .popup.full .mp-fr .f-text b i { margin-left: 2px; font-size: 11px; font-weight: 700; color: var(--ink-soft); }
#ui .popup.full .mp-fr .f-where { font-size: 11px; font-weight: 600; color: #8d908b; }
#ui .popup.full .mp-fr .f-where.on { color: #9fd0a6; }   /* 채팅 창 채널 범위 초록과 같은 값 */
#ui .popup.full .mp-fr .f-hp { width: min(100%, 180px); height: 5px; margin-top: 1px; background: rgba(0, 0, 0, .45); }
#ui .popup.full .mp-fr .f-hp i { border-radius: 3px; }
/* 단추 = 글자 폭 작은 알약(높이 26) — 귓속말 · 초대 = 보조 반투명, 수락 = 청록 결정, 삭제 · 내보내기 · 나가기 = 적갈 위험 글자 */
#ui .popup.full .mp-fr .f-acts { flex: none; gap: 6px; }
#ui .popup.full .mp-fr .btn.plain.sm { min-height: 26px; padding: 0 12px; border-radius: 999px; font-size: 12px; }   /* 바탕 .btn.plain.sm 둥근 8 을 알약으로 */
#ui .popup.full .mp-fr .btn.plain.sm:is([data-act="accept"], [data-act="p-accept"]) { background: linear-gradient(#83c3bf, #548f8c); color: #fff; box-shadow: inset 0 1px rgba(255, 255, 255, .3), 0 2px 4px rgba(0, 0, 0, .35); }
#ui .popup.full .mp-fr .btn.plain.sm[data-danger] { background: rgba(166, 70, 70, .2); color: #eba79c; box-shadow: inset 0 0 0 1px rgba(196, 96, 86, .45); }
/* 연출(hq-ui 기본 탑재): 처음 열 때(ui_fx .fx-intro 800ms) · 탭을 바꿀 때(17b .fx-swap 600ms) 줄이 30ms 간격으로 떠오름 — 접속 상태가 바뀌어 다시 그려도 다시 튀지 않는다.
   누름 = 60ms .92 → 놓으면 살짝 튀어 돌아옴(채팅 창과 같은 값) */
#ui :is(.dim.fx-intro .popup.full .mp-fr, .popup.full .mp-fr .social-list.fx-swap) .friend-row { animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both; animation-delay: calc(var(--i, 0) * .03s + .12s); }
#ui .popup.full .mp-fr .social-list.fx-swap .friend-row { animation-delay: calc(var(--i, 0) * .03s); }
#ui .popup.full .mp-fr .friend-row:nth-child(2) { --i: 1; } #ui .popup.full .mp-fr .friend-row:nth-child(3) { --i: 2; } #ui .popup.full .mp-fr .friend-row:nth-child(4) { --i: 3; }
#ui .popup.full .mp-fr .friend-row:nth-child(5) { --i: 4; } #ui .popup.full .mp-fr .friend-row:nth-child(6) { --i: 5; } #ui .popup.full .mp-fr .friend-row:nth-child(n+7) { --i: 6; }
#ui .popup.full .mp-fr :is(.tab, .btn) { transition: transform .18s cubic-bezier(.3, 1.8, .5, 1), background .15s, color .15s; }
#ui .popup.full .mp-fr :is(.tab, .btn:not(.off)):active { transform: scale(.92); transition-duration: .06s; }

/* 머리 위 이름 · 말풍선 누름 칸(투명 — 다른 유저 프로필) */
#ui .who-hits { position: absolute; left: 0; top: 0; width: 0; height: 0; }
#ui .who-hit { position: absolute; left: 0; top: 0; width: 96px; height: 20px; pointer-events: auto; background: none; }

/* 재화(물품 · 상점 창 머리줄 — 머리줄 HUD 에서 옮김, 아이콘 = 같은 assets/hud 그림) */
#ui .win-wallet { margin-left: auto; margin-right: 12px; display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 900; white-space: nowrap; }
#ui .win-wallet .ww { position: relative; display: flex; align-items: center; gap: 3px; padding: 0 4px; font-weight: 900; }
#ui .win-wallet img { width: 22px; height: 22px; filter: drop-shadow(0 1px .5px #0004); }
#ui .win-wallet b { min-width: 24px; margin-right: 8px; }
#ui .win-wallet .add-mark { position: absolute; right: -3px; bottom: -5px; width: 12px; height: 12px; border-radius: 50%; background: #3f7d2c; box-shadow: 0 0 0 1.5px #fffce7; color: #fffce7; font-size: 11px; font-style: normal; font-weight: 900; line-height: 12px; text-align: center; }   /* 재화 칸 누름 = 상점(11-04 PLAN 2-3 — 광고 AD 딱지 대신 + 딱지) */
body.gf-no-paid #ui .win-wallet .add-mark { display: none; }
#ui .win-wallet .w-gold { color: #c0640c; } #ui .win-wallet .w-diamond { color: #2f6fb8; }

/* 프로필(EFZ obj_profile_window 300x450 → 이 창 층 판 · 장비 칸 = 물품 창 칸 그림 slot.webp · 등급 바탕 g-*) */
#ui .popup.profile { width: 384px; height: 326px; }   /* 10-24 사용자 "창도 크고 요소들도 큰데 1.25배 줄여" = 480 × 372 의 0.8 — 글자 · 칸 · 단추도 0.8. 10-25 전투력 · 인기도 줄(26 + 틈) 만큼 300 → 326(폰 가로 412 안) */
#ui .popup.sheet.profile { padding: 16px 18px 16px; }   /* 18-popup-dark 작은 팝업 여백 20 · 22 의 0.8(같은 무게 선택자보다 하나 무겁게) */
#ui .popup.profile .popup-head { padding: 0 2px 6px; margin-bottom: 8px; }
#ui .popup.profile .popup-head h2 { font-size: 14px; }
#ui .popup.profile .close { width: 24px; height: 24px; }
#ui .popup.profile .close::before, #ui .popup.profile .close::after { width: 11px; height: 2.5px; margin: -1.25px 0 0 -5.5px; }
#ui .pf-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 8px; }   /* 행 = 남은 높이(내용이 길면 자기소개 칸이 스크롤 — 아래 단추 줄을 덮지 않게, 10-25 sandbox 실측) */
/* 외형 칸 = 캐릭터(10-24 사용자 "캐릭터 미리보기 2배 작게" — 옛 182 × 213 칸 → 높이 92) + 밑에 Lv · 이름 줄 · 길드 줄 · 접속/친구 코드(물품 창 정보 판 hero-tag · hero-sub 결) */
#ui .pf-look { position: relative; border: 2px solid #d6bd92; border-radius: 10px; background: #efe0c0; box-shadow: inset 0 2px 4px #a17c4a40; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px; overflow: hidden; }
#ui .pf-hero { flex: none; width: auto; max-width: none; height: 92px; margin-bottom: 4px; image-rendering: pixelated; }   /* features/looks lookFigure 한 장 — 그림 가운데 = 발(footCrop)이라 높이로 맞추고 가운데에 둔다. 긴 무기는 칸 테에서 잘림(.pf-look overflow) */
#ui .pf-id { max-width: 100%; display: flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }
#ui .pf-id b { min-width: 0; font-size: 11.5px; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
#ui .pf-level { flex: none; height: 14px; padding: 0 5px; border-radius: 999px; font-size: 9px; font-weight: 900; line-height: 14px; color: #26221c; background: linear-gradient(#e6decd, #c7bba3); }   /* Lv = 이름 앞 베이지 알약(04-inventory .hero-tag span) */
#ui .pf-level:empty { display: none; }
#ui .pf-guild { max-width: 100%; display: inline-flex; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; line-height: 14px; color: #b9d6d3; white-space: nowrap; overflow: hidden; }   /* 길드 = 04-inventory .hero-guild */
#ui .pf-guild b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#ui .pf-guild :is(svg, img) { flex: none; width: 12px; height: 12px; }
#ui .pf-guild:empty { display: none; }
#ui .pf-where { max-width: 100%; font-size: 9px; font-weight: 800; color: #3f7a4c; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .pf-side { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
/* 탭 줄 = 작은 팝업 공용 .tabs/.tab(18-popup-dark 어두운 알약 줄 · 고른 탭 베이지, 2개라 글자 폭) 을 이 창 비율 0.8 로: 알약 28 · 13 → 22 · 10.5, 최소 폭 72 → 56 */
#ui .popup.profile .pf-tabs { flex: none; align-self: flex-start; margin-bottom: 2px; }
#ui .popup.profile .pf-tabs .tab { min-width: 56px; height: 22px; padding: 0 12px; font-size: 10.5px; line-height: 22px; white-space: nowrap; }
#ui .pf-side > .tab-panel { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 5px; }
#ui .pf-side > .tab-panel[hidden], #ui .pf-item[hidden] { display: none; }
#ui .pf-sub { font-size: 10.5px; font-weight: 800; color: var(--ink-soft); }
#ui .pf-gear { display: grid; grid-template-columns: repeat(5, 38px); gap: 4px; }   /* 5열 = 장신구 열(망토 · 목걸이 · 반지)까지 — 38 × 5 + 틈 4 × 4 = 206 ≤ 오른쪽 열 208(창 384 − 여백 36 − 외형 132 − 틈 8), 줄 수 3 그대로 */
#ui .pf-cell { position: relative; width: 38px; height: 38px; border: 8px solid transparent; border-image: url(assets/hud/slot.webp) 72 fill / 8px stretch; padding: 0; display: grid; place-items: center; }
#ui .pf-cell img { width: 30px; height: 30px; object-fit: contain; image-rendering: pixelated; }
#ui .pf-cell:disabled { cursor: default; }
#ui .pf-cell .empty-slot-icon { inset: 0; margin: auto; width: 24px; height: 24px; }   /* 10-24 사용자 "슬롯 아이콘 중앙 · 크기 작음": 왼쪽 위 18 → 칸 가운데 24 */
#ui .pf-cell.has:active { transform: scale(.94); }
/* 장착 펫 줄(격자 아래 빈자리) = 장비 칸과 같은 38 칸 + 이름 · 등급 · 기간 한 줄씩. 칸 바탕 = 펫 표 등급색(data/pets.json grades[].color — 펫 창 칸과 같은 값),
   신화 = 등급 빛 맥동(ui-juice 등급 빛 1047 ms). 칸 누름 = 공용 아이템 정보 카드(itemtip 'pf' · 칸 data-it-s="pet") */
#ui .pf-pet { flex: none; display: flex; align-items: center; gap: 8px; }
#ui .pf-pet[hidden] { display: none; }
#ui .pf-pet-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
#ui .pf-pet-txt b { overflow: hidden; text-overflow: ellipsis; font-size: 11px; font-weight: 800; color: color-mix(in srgb, var(--gc) 55%, #fff); }
#ui .pf-pet-txt small { overflow: hidden; text-overflow: ellipsis; font-size: 9.5px; font-weight: 700; color: var(--ink-soft); }
#ui .popup.profile .pf-cell.pf-pet-cell.has { border-color: color-mix(in srgb, var(--gc) 80%, #fff); background: linear-gradient(150deg, color-mix(in srgb, var(--gc) 55%, #1d2124), color-mix(in srgb, var(--gc) 18%, #121517)); }
#ui .popup.profile .pf-cell.pf-pet-cell.my { animation: pf-pet-glow 1.047s ease-in-out infinite alternate; }
@keyframes pf-pet-glow { from { box-shadow: 0 0 2px color-mix(in srgb, var(--gc) 40%, transparent); } to { box-shadow: 0 0 9px color-mix(in srgb, var(--gc) 85%, transparent); } }
#ui .pf-mates { margin-left: auto; flex: none; display: flex; gap: 8px; }   /* 동행 2칸(petcompanion-1116) = 장착 펫과 같은 38 칸 · 이웃 틈 8 */
#ui .popup.profile .pf-cell.pf-mate { position: relative; }
#ui .pf-mate-tag { position: absolute; left: 1px; top: 1px; padding: 0 3px; border-radius: 3px; font-size: 9px; line-height: 11px; font-style: normal; font-weight: 900; color: #1d2a1f; background: #e8c979; pointer-events: none; }
#ui .pf-mate:not(.has) .pf-mate-tag { color: #c9c6bb; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
#ui .scr-sec.pf-mate-note { color: #e8c979; }
#ui .pf-pet-cell .empty-slot-icon::before { -webkit-mask-image: url(assets/pets/menu-pet.png); mask-image: url(assets/pets/menu-pet.png); }   /* 빈 펫 칸 = 메뉴 [펫] 흰 선 아이콘 */
#ui .pf-slot { font-style: normal; font-size: 9px; font-weight: 800; color: #a8916a; line-height: 10px; text-align: center; }
#ui .pf-item { flex: 1; min-height: 0; overflow: auto; padding: 5px 7px; border: 2px solid #d6bd92; border-radius: 8px; background: #f8eed8; font-size: 10px; font-weight: 700; display: flex; flex-direction: column; gap: 2px; }
#ui .pf-item b { font-size: 10.5px; font-weight: 900; }
#ui .pf-item span { display: flex; justify-content: space-between; gap: 8px; color: var(--ink); }
#ui .pf-item span i { font-style: normal; color: var(--ink-soft); }
#ui .pf-item .item-hint { color: #a8916a; }
#ui .pf-acts { flex: none; display: flex; justify-content: center; gap: 4px; padding-top: 8px; }
#ui .popup.profile .pf-acts .btn { min-width: 0; min-height: 22px; padding: 0 7px; font-size: 10px; }   /* 18-popup-dark 알약 28 · 12.5 의 0.8, 폭 = 글자 폭(Invite to Guild 가 잘리지 않게) */
#ui .pf-cell.g-rare { background: color-mix(in srgb, var(--gr-rare) 25%, #fff); } #ui .pf-cell.g-epic { background: color-mix(in srgb, var(--gr-hero) 25%, #fff); } #ui .pf-cell.g-unique { background: color-mix(in srgb, var(--gr-legend) 35%, #fff); } #ui .pf-cell.g-legendary { background: color-mix(in srgb, var(--gr-myth) 35%, #fff); }
#ui .pf-item b.g-rare { color: color-mix(in srgb, var(--gr-rare) 60%, #000); } #ui .pf-item b.g-epic { color: color-mix(in srgb, var(--gr-hero) 80%, #000); } #ui .pf-item b.g-unique { color: color-mix(in srgb, var(--gr-legend) 85%, #000); } #ui .pf-item b.g-legendary { color: color-mix(in srgb, var(--gr-myth) 65%, #000); }
/* 유저 정보(남) 칭호 · 전투력 · 인기도 · 자기소개(2026-10-25 사용자 "상대방 유저정보에서 인기도 올리고 내리기 · 상대방 전투력 · 장비칸을 누르면 … 부분을 자기소개란으로").
   칭호 = 이름 위 금색 한 줄(빛 번짐) · 오른쪽 열 맨 위 한 줄 판 = 전투력(금 숫자) | ▼ 인기도 N ▲(둥근 18 단추, 오늘 누른 쪽 = 초록 · 빨강, 다른 쪽 흐림) ·
   장비 칸 아래 판 = 자기소개(칸을 누르면 그 아이템 상세, 같은 칸을 다시 누르면 자기소개로 — 고른 칸 = 금 테). 누르면 숫자가 튀고 그 쪽 색으로 번쩍(UI 연출 기본). */
#ui .pf-title { max-width: 100%; font-size: 10px; font-weight: 900; line-height: 13px; color: #e8c979; text-shadow: 0 0 6px rgba(232, 201, 121, .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .pf-title:empty { display: none; }
/* [정보] 숫자 = 한 줄에 하나(이름 왼쪽 · 값 오른쪽) — 한 줄에 셋을 늘어놓으면 영어 · 큰 수에서 판 폭을 넘는다. 줄 높이 26 = 예전 숫자 띠 */
#ui .pf-nums { flex: none; display: flex; flex-direction: column; gap: 3px; }
#ui .pf-num { height: 26px; display: flex; align-items: center; gap: 4px; padding: 0 3px 0 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); font-size: 10.5px; white-space: nowrap; }
#ui .pf-num i { order: -1; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-style: normal; font-weight: 700; color: var(--ink-soft); }
#ui .pf-num:not(.pf-fame) b { padding-right: 5px; }
#ui .pf-num b { display: inline-block; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
#ui .pf-power b { color: #e8c979; }
#ui .pf-fame b { min-width: 14px; text-align: center; }
#ui .pf-vote { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; font-size: 9px; line-height: 1; color: var(--ink); background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: transform .08s ease-out, background .15s; }
#ui .pf-vote:not(.off):active { transform: scale(.86); }
#ui .pf-vote.up.on { color: #fff; background: #3f8f5a; box-shadow: 0 0 6px rgba(127, 216, 138, .6); }
#ui .pf-vote.down.on { color: #fff; background: #8f3f3f; box-shadow: 0 0 6px rgba(255, 138, 122, .55); }
#ui .pf-vote.off { opacity: .3; }
/* fame-1107: Lv30 미만 = ▲▼ 흐림 + 아래 "Lv30부터"(줄 밖 오른쪽 아래 작은 글) */
#ui .pf-fame { position: relative; }
#ui .pf-fame.lock .pf-vote { opacity: .3; filter: grayscale(1); }
#ui .pf-fame-lock { order: -1; margin-right: 2px; font-size: 8.5px; font-weight: 800; line-height: 1; color: #e8c979; white-space: nowrap; pointer-events: none; }
#ui .pf-fame-lock:empty { display: none; }
/* popbuff-1125: 랭커 인기도 안내(▲▼ 줄 바로 아래 — 올리면 +30%) — 작은 두 줄까지(9.5px), 앞 "레벨 랭킹 n위" 금색. 오늘 이미 눌렀으면 비어 감춤 */
#ui .pf-fame-buff { margin: 0; padding: 3px 6px; border-radius: 6px; background: rgba(232, 201, 121, .08); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .18); font-size: 9.5px; font-weight: 700; line-height: 13px; color: var(--ink-soft); word-break: keep-all; overflow-wrap: anywhere; animation: mp-in .22s ease-out both; }
#ui .pf-fame-buff b { color: #e8c979; font-weight: 900; }
#ui .pf-fame-buff:empty { display: none; }
/* popbuff2-1125: 랭커 ▼ 경고(.fbw) — 화면 전체 "큰일 날 것 같은" 경고. 크기 = GUI 450 기준(메이플 키우기 실측 maple-idle-ui-size.md: 제목 14~17 · 누름 칸 34 이상 · 라벨 9 이상).
   색 = 보스 경고와 같은 붉은 계열(#ff2a2a · 판 #2a0c0b) + 줄무늬 띠 노랑 #f5c400 / 검정(산업 경고 띠 관례) · 결정 단추 = 공용 결정 청록(01-popup .btn.gold #83c3bf → #548f8c) · 보조 = 반투명 알약. */
#ui .fbw { position: absolute; inset: 0; z-index: 45; display: grid; place-items: center; overflow: hidden; background: rgba(20, 0, 0, .58); opacity: 0; transition: opacity .14s ease-out; pointer-events: auto; }   /* #ui 는 pointer-events none — 창(.dim.open)처럼 이 판만 누름을 받는다(아래 프로필로 새지 않게) */
#ui .fbw.on { opacity: 1; } #ui .fbw.out { opacity: 0; transition-duration: .18s; pointer-events: none; }
#ui .fbw-vig { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, rgba(255, 0, 0, 0) 38%, rgba(200, 0, 0, .55) 78%, rgba(120, 0, 0, .9) 100%); animation: fbw-vig 1.1s ease-in-out infinite; }
#ui .fbw-edge { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 3px rgba(255, 42, 42, .95), inset 0 0 38px 10px rgba(255, 30, 30, .8); animation: fbw-flash .42s steps(2, jump-none) 4, fbw-edge 1.1s ease-in-out 1.7s infinite; }
#ui .fbw-tape { position: absolute; left: -4%; width: 108%; height: 22px; overflow: hidden; pointer-events: none; background: repeating-linear-gradient(-45deg, #f5c400 0 11px, #161010 11px 22px); box-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
#ui .fbw-tape.top { top: calc(var(--fbw-top, 12%)); transform: rotate(-2.2deg); animation: fbw-tape-in .3s cubic-bezier(.2, .9, .3, 1) both; }
#ui .fbw-tape.bot { bottom: 12%; transform: rotate(1.8deg); animation: fbw-tape-in .3s .06s cubic-bezier(.2, .9, .3, 1) both; }
#ui .fbw-run { display: flex; width: max-content; height: 100%; align-items: center; animation: fbw-run 7s linear infinite; }
#ui .fbw-tape.bot .fbw-run { animation-direction: reverse; }
#ui .fbw-run span { display: inline-flex; align-items: center; gap: 4px; margin: 0 6px; padding: 0 8px; height: 16px; border-radius: 3px; background: #161010; color: #f5c400; font-size: 10.5px; font-weight: 900; letter-spacing: .12em; white-space: nowrap; }
#ui .fbw-run svg { width: 12px; height: 12px; color: #f5c400; }
#ui .fbw-card { position: relative; width: min(340px, calc(100% - 40px - var(--sl, 0px) - var(--sr, 0px))); padding: 14px 18px 14px; border-radius: 12px; text-align: center; color: #f6ece6;
  background: linear-gradient(#3a0f0d, #22090a); box-shadow: 0 0 0 1px rgba(255, 80, 70, .7), 0 0 28px rgba(255, 30, 30, .55), 0 12px 30px rgba(0, 0, 0, .6); animation: fbw-shake .48s cubic-bezier(.36, .07, .19, .97) both; }
#ui .fbw-sign { width: 34px; height: 34px; margin: -32px auto 4px; padding: 6px; border-radius: 50%; color: #ff3b30; background: #1b0c08; box-shadow: 0 0 0 2px #ff3b30, 0 0 18px rgba(255, 40, 30, .9); animation: fbw-sign .55s ease-in-out infinite alternate; }
#ui .fbw-sign svg { display: block; width: 100%; height: 100%; }
#ui .fbw-title { margin: 0 0 3px; font-size: 15px; font-weight: 900; line-height: 19px; color: #ff6a5c; text-shadow: 0 0 8px rgba(255, 40, 30, .7); word-break: keep-all; }
#ui .fbw-who { margin: 0 0 9px; font-size: 10px; font-weight: 700; line-height: 13px; color: #d8b9b2; }
#ui .fbw-who b { color: #e8c979; font-weight: 900; }
#ui .fbw-lead { margin: 0; font-size: 12px; font-weight: 800; line-height: 16px; color: #f6ece6; word-break: keep-all; }
#ui .fbw-gain { margin: 2px 0 12px; font-size: 21px; font-weight: 900; line-height: 26px; color: #ffd75e; text-shadow: 0 0 10px rgba(255, 200, 60, .65), 0 2px 0 #6b3d00; animation: fbw-gain .9s ease-in-out infinite alternate; }
#ui .fbw-btns { display: flex; flex-direction: column; align-items: center; gap: 8px; }
#ui .fbw-btns button { flex: none; border: 0; border-radius: 999px; font-family: inherit; cursor: pointer; white-space: nowrap; }
#ui .fbw-up { min-height: 34px; padding: 0 18px; font-size: 12.5px; font-weight: 900; color: #fff; background: linear-gradient(#83c3bf, #548f8c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 0 14px rgba(131, 195, 191, .75); animation: fbw-up 1s ease-in-out infinite; }
#ui .fbw-down { min-height: 26px; padding: 0 12px; font-size: 10px; font-weight: 700; color: #c9aaa4; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
#ui .fbw-btns button:active { transform: scale(.92); transition: transform 60ms; }
@keyframes fbw-vig { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes fbw-flash { 0% { opacity: 1; } 100% { opacity: .15; } }
@keyframes fbw-edge { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes fbw-tape-in { from { opacity: 0; translate: -30% 0; } to { opacity: 1; translate: 0 0; } }
@keyframes fbw-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fbw-shake { 0% { transform: scale(1.18); opacity: 0; } 18% { transform: scale(1) translateX(-9px); opacity: 1; } 32% { transform: translateX(8px) rotate(.6deg); } 46% { transform: translateX(-6px) rotate(-.5deg); } 60% { transform: translateX(4px); } 74% { transform: translateX(-2px); } 100% { transform: none; } }
@keyframes fbw-sign { from { transform: scale(1); box-shadow: 0 0 0 2px #ff3b30, 0 0 10px rgba(255, 40, 30, .6); } to { transform: scale(1.08); box-shadow: 0 0 0 2px #ff3b30, 0 0 22px rgba(255, 40, 30, 1); } }
@keyframes fbw-gain { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes fbw-up { 0%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 0 8px rgba(131, 195, 191, .5); } 50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 0 18px rgba(131, 195, 191, 1); } }
/* popbuff2-1125: ▲ 버프 받는 연출(.fbg) — 금빛 기둥 + 오르는 티끌 + 배너 팝(.6 → 1.08 → 1, 420 ms — ui-juice 보상 팝 결) · 금빛 훑음. 1.9 초, 누름 막지 않음. 금 = 등급 금(#ffd75e · #e8c979 랭커 안내와 같은 금). */
#ui .fbg { position: absolute; inset: 0; z-index: 44; pointer-events: none; display: grid; place-items: center; overflow: hidden; }
#ui .fbg-pillar { position: absolute; left: 50%; bottom: 0; width: 160px; height: 100%; translate: -50% 0; background: linear-gradient(to top, rgba(255, 215, 94, .55), rgba(255, 215, 94, .18) 55%, rgba(255, 215, 94, 0)); filter: blur(6px); transform-origin: 50% 100%; opacity: 0; }
#ui .fbg.on .fbg-pillar { animation: fbg-pillar 1.5s ease-out both; }
#ui .fbg-mote { position: absolute; left: calc(50% + var(--x)); top: 62%; width: var(--s); height: var(--s); border-radius: 50%; background: #fff1b8; box-shadow: 0 0 6px 2px rgba(255, 205, 70, .9); opacity: 0; }
#ui .fbg.on .fbg-mote { animation: fbg-mote 1.1s var(--d) ease-out both; }
#ui .fbg-banner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 26px 7px; overflow: hidden; border-radius: 8px;
  background: linear-gradient(90deg, rgba(60, 36, 4, 0), rgba(60, 36, 4, .92) 18%, rgba(60, 36, 4, .92) 82%, rgba(60, 36, 4, 0)); box-shadow: 0 -1px 0 rgba(255, 215, 94, .6) inset, 0 1px 0 rgba(255, 215, 94, .6) inset; opacity: 0; }
#ui .fbg.on .fbg-banner { animation: fbg-pop .42s cubic-bezier(.2, 1.4, .4, 1) .08s both, fbg-out .3s ease-in 1.6s forwards; }
#ui .fbg-name { font-size: 10px; font-weight: 800; line-height: 13px; color: #e8c979; letter-spacing: .04em; }
#ui .fbg-val { font-size: 17px; font-weight: 900; line-height: 22px; color: #ffd75e; text-shadow: 0 0 8px rgba(255, 200, 60, .8), 0 2px 0 #6b3d00; white-space: nowrap; }
#ui .fbg-sheen { position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 250, 220, .55), rgba(255, 255, 255, 0)); }
#ui .fbg.on .fbg-sheen { animation: fbg-sheen .7s .35s ease-out both; }
@keyframes fbg-pillar { 0% { opacity: 0; transform: scaleY(.2); } 25% { opacity: 1; transform: scaleY(1); } 100% { opacity: 0; transform: scaleY(1.05); } }
@keyframes fbg-mote { 0% { opacity: 0; transform: translateY(0) scale(.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(calc(-1 * var(--h) - 60px)) scale(1); } }
@keyframes fbg-pop { 0% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes fbg-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes fbg-sheen { from { left: -40%; } to { left: 120%; } }
#ui .pf-fame b.bump.up { animation: pf-bump-up .5s ease-out; } #ui .pf-fame b.bump.down { animation: pf-bump-down .5s ease-out; }
@keyframes pf-bump-up { 35% { transform: scale(1.7); color: #7fd88a; text-shadow: 0 0 8px #7fd88a; } }
@keyframes pf-bump-down { 35% { transform: scale(1.7); color: #ff8a7a; text-shadow: 0 0 8px #ff8a7a; } }
#ui .pf-item.intro { gap: 3px; }
#ui .pf-item .pf-intro-label { font-size: 9.5px; font-weight: 800; color: var(--ink-soft); }
#ui .pf-intro { font-size: 10.5px; font-weight: 700; line-height: 15px; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; user-select: text; animation: mp-in .22s ease-out both; }
#ui .pf-intro.none { color: var(--ink-soft); font-weight: 600; }
#ui .popup.profile .pf-cell.on { box-shadow: 0 0 0 2px #e8c979, 0 0 8px rgba(232, 201, 121, .5); }

/* 내 프로필 창(2026-10-25 사용자 "유저프로필 UI · 칭호 · 자기소개 수정 · 신고 · 건의에 운영자 답장") — 01-popup 전체화면 판(어두운 반투명 · 머리 띠 46 · ‹ · 열린 동안 HUD 숨김).
   머리 아래 가운데 탭 알약 줄 [프로필 | 문의 · 신고(안 읽은 답 = 빨간 점)]. 본문 열 = 가운데 760(랭킹 창과 같은 폭).
   프로필 = 왼쪽 210 내 모습 판(그림 120 · 금 칭호 · Lv 알약 + 이름 · 길드 · 전투력 | 인기도 두 칸) + 오른쪽 지금 칭호 한 줄(누르면 칭호 팝업) · 자기소개 두 줄 칸 + [저장].
   문의 · 신고 = 안내 한 줄 + [건의하기] [문의하기] · 줄 44(종류 알약 색 = 신고 적갈 · 건의 청록 · 버그 호박 · 나머지 회색 | 제목 | 시각 | 상태 알약 — 답 · 처리 완료 = 초록) →
   누르면 글타래(내 말 = 오른쪽 청록 · 운영자 = 왼쪽 금 테 · 접수 안내 = 가운데 작은 회색) + 아래 답장 줄. 새 줄 · 새 말 = 아래서 스며 오름, 칭호 고름 = 알약 튐. */
#ui .popup.full.mp > .popup-head > h2::before { -webkit-mask-image: url(assets/icons/menu-profile.png); mask-image: url(assets/icons/menu-profile.png); }
#ui .mp .mp-tabs { flex: none; height: 30px; margin-bottom: 10px; align-self: center; }
#ui .mp-tab-tk { position: relative; }
#ui .mp-dot { position: absolute; top: 4px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: #ff5a4a; box-shadow: 0 0 5px #ff5a4a; animation: mp-dot 1.4s ease-in-out infinite; pointer-events: none; }
@keyframes mp-dot { 50% { transform: scale(1.35); } }
#ui .mp-state, #ui .mp-tk-state, #ui .mp-th-msg { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 12px; color: var(--ink-soft); }
#ui .mp-card, #ui .mp-fr, #ui .mp-tk { flex: 1; min-height: 0; width: 100%; max-width: 760px; align-self: center; }
/* 칭호 팝업(11-02 사용자 "자기소개랑 세부 탭을 나눠 칭호가 나중에 많아지면 자기소개 밑으로 내려갈것도아니고" → 칭호 탭 → 같은 날 "칭호는 팝업으로 그린다거나"):
   프로필 쪽 지금 칭호 한 줄을 누르면 창 위에 작은 팝업(18-popup-dark 어두운 둥근 판 + 모서리 문양 — 설정 창 330 결, 줄 카드가 들어가 380) · 머리 = 제목 15 + 가진 수 / 전체 + ✕.
   줄 카드가 늘면 목록만 스크롤(높이 상한 = 창의 78%) · 뒤 판을 눌러도 닫힌다. 열 때 판 fx-pop(최대 1.025) · 줄 70 ms 간격 fx-card-in(스크롤 칸 안 덩어리라 1 을 넘지 않는다). */
#ui .mp-tdim { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; }
#ui .mp-tshade { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); animation: fx-fade .18s ease-out both; }
#ui .popup.mp-tpop { position: relative; width: min(380px, 92%); max-height: 78%; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; animation: fx-pop .24s cubic-bezier(.2, .9, .3, 1.15) both; }
#ui .mp-thead { flex: none; display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
#ui .mp-thead h2 { margin: 0; font-size: 15px; font-weight: 900; }
#ui .mp-thead small { font-size: 11px; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
#ui .mp-thead .mp-tx { position: relative; margin-left: auto; flex: none; }
#ui .mp-tpop .mp-titles { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 2px; }
#ui .mp-tpop .mp-trow { flex: none; animation: fx-card-in .26s cubic-bezier(.2, .8, .3, 1) both; }
#ui .mp-tpop .mp-trow.on { animation: fx-card-in .26s cubic-bezier(.2, .8, .3, 1) both, mp-on 1.6s ease-in-out .3s infinite; }
#ui .mp-tpop .mp-trow:nth-child(2) { animation-delay: 70ms; }
#ui .mp-tpop .mp-trow:nth-child(3) { animation-delay: 140ms; }
#ui .mp-tpop .mp-trow:nth-child(4) { animation-delay: 210ms; }
#ui .mp-tpop .mp-trow:nth-child(n+5) { animation-delay: 280ms; }
/* 프로필 쪽 지금 칭호 한 줄 = 줄 카드와 같은 판(높이 36) · 금빛 이름(mp-title 과 같은 #e8c979) · 오른쪽 › — 누르면 칭호 팝업. 칭호 없음 = 흐린 글자 */
#ui .mp-tnow { flex: none; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 0; border-radius: 10px; text-align: left; font: inherit; color: var(--ink);
  background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .35); transition: transform .06s; }
#ui .mp-tnow b { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 900; color: #e8c979; text-shadow: 0 0 8px rgba(232, 201, 121, .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .mp-tnow.none { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .mp-tnow.none b { font-weight: 700; color: var(--ink-soft); text-shadow: none; }
#ui .mp-tnow i { flex: none; font-style: normal; font-size: 16px; color: var(--ink-soft); }
#ui .mp-tnow:active { transform: scale(.98); }
#ui .mp-card { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 12px; }
#ui .mp-look { min-height: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 10px; border-radius: 12px;
  background: radial-gradient(circle at 50% 36%, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .mp-hero { flex: none; width: auto; max-width: none; height: 120px; margin-bottom: 4px; image-rendering: pixelated; }   /* .pf-hero 와 같다: 높이로 맞춤 · 긴 무기는 칸 테에서 잘림 */
/* 내 모습 위 칭호 = 이름 띠(11-02): 지역 칭호 말씨(짙은 반투명 띠 양 끝 흐림 + 위아래 1px 금빛 선) — 칭호 없음이면 띠 없이 흐린 글자 */
#ui .mp-title { max-width: 100%; padding: 3px 18px; font-size: 12px; font-weight: 900; color: #e8c979; text-shadow: 0 0 8px rgba(232, 201, 121, .5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(90deg, transparent, rgba(232, 201, 121, .55), transparent) top / 100% 1px no-repeat, linear-gradient(90deg, transparent, rgba(232, 201, 121, .55), transparent) bottom / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(0, 0, 0, .5) 18%, rgba(0, 0, 0, .5) 82%, transparent); }
#ui .mp-title.none { padding: 0; font-weight: 700; color: var(--ink-soft); text-shadow: none; background: none; }
#ui .mp-id { max-width: 100%; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
#ui .mp-lv { flex: none; height: 16px; padding: 0 6px; border-radius: 999px; font-size: 10px; font-weight: 900; line-height: 16px; color: #26221c; background: linear-gradient(#e6decd, #c7bba3); }
#ui .mp-name { min-width: 0; font-size: 15px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; }
#ui .mp-guild { max-width: 100%; font-size: 11px; font-weight: 700; color: #b9d6d3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .mp-guild.none { color: var(--ink-soft); }
/* 숫자 칸(pfnums-1115 주호님 "전투력과 꾸미기 점수 정렬이 이상함" — 전투력 '182만 9997' 이 좁은 칸에서 두 줄 · 왼쪽으로 쏠림):
   전투력 = 윗줄 한 칸 전체(이름 · 값 한 줄 가운데), 나머지(꾸미기 점수 · 인기도 · 퍼즐) = 아랫줄 같은 폭 칸. 값은 한 줄 · 가운데 · 넘치면 말줄임 */
#ui .mp-nums { width: 100%; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
#ui .mp-num { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 6px 4px 5px; border-radius: 8px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); text-align: center; }
#ui .mp-num i { max-width: 100%; font-style: normal; font-size: 10px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .mp-num b { max-width: 100%; font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .mp-num.mp-power { flex: 1 1 100%; flex-direction: row; align-items: baseline; gap: 8px; padding: 6px 10px; }
#ui .mp-num.mp-power b { font-size: 16px; }
/* 아랫줄 칸(꾸미기 점수 · 인기도 · 퍼즐 — 폭 54) 이름 = 9px · 좌우 틈 2px(juho4fix-1115: en 'Decor score' 가 10px 에서 앞뒤가 잘림 — sandbox 실측 scrollWidth 56 > 51) */
#ui .mp-num:not(.mp-power) { padding-left: 2px; padding-right: 2px; }
#ui .mp-num:not(.mp-power) i { font-size: 9px; letter-spacing: -.2px; }
/* fame-1107: 인기도 칸 = 누르면 받은 기록(오른쪽 › = 칭호 줄 mp-tnow 와 같은 표시) */
#ui .mp-fame { position: relative; border: 0; color: inherit; font: inherit; cursor: pointer; transition: transform .08s ease-out, background .15s; }
#ui .mp-fame:active { transform: scale(.95); background: rgba(255, 255, 255, .1); }
#ui .mp-fame-go { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 15px; font-weight: 700; color: var(--ink-soft); }
/* 받은 인기도 기록 = 작은 팝업(판 · 모서리 = 18-popup-dark) · 줄 = 얼굴 칸 + 이름 + ▲ +1(초록)/▼ −1(빨강) 알약 + 시각 */
#ui .popup.famelog { width: 300px; height: 300px; }
#ui .popup.famelog .popup-head { padding: 0 2px 6px; margin-bottom: 4px; }
#ui .popup.famelog .popup-head h2 { font-size: 14px; }
#ui .popup.famelog .close { width: 24px; height: 24px; }
#ui .popup.famelog .close::before, #ui .popup.famelog .close::after { width: 11px; height: 2.5px; margin: -1.25px 0 0 -5.5px; }
#ui .fl-note { margin: 0 0 6px; font-size: 10px; color: var(--ink-soft); text-align: right; }
#ui .fl-note:empty { display: none; }
#ui .fl-list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
#ui .fl-list .rk-spin { margin: auto; }
#ui .fl-row { flex: none; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 4px; border: 0; border-radius: 8px; color: var(--ink); text-align: left; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); transition: background .15s; }
#ui .fl-row:active { background: rgba(255, 255, 255, .12); }
#ui .fl-face { width: 32px; height: 32px; }
#ui .fl-face::after { border-width: 3px; border-image-width: 3px; }
#ui .fl-name { flex: 1; min-width: 0; font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .fl-vote { flex: none; height: 18px; padding: 0 7px; border-radius: 999px; display: inline-flex; align-items: center; font-style: normal; font-size: 10px; font-weight: 900; font-variant-numeric: tabular-nums; }
#ui .fl-row.up .fl-vote { color: #7fd88a; background: rgba(63, 143, 90, .28); box-shadow: inset 0 0 0 1px rgba(127, 216, 138, .35); }
#ui .fl-row.down .fl-vote { color: #ff8a7a; background: rgba(143, 63, 63, .3); box-shadow: inset 0 0 0 1px rgba(255, 138, 122, .35); }
#ui .fl-when { flex: none; min-width: 52px; text-align: right; font-size: 10px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
#ui .fl-empty { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-soft); text-align: center; }
#ui .fl-glyph { font-style: normal; font-size: 16px; letter-spacing: 2px; opacity: .45; }
#ui .fl-list.fresh .fl-row { animation: fx-card-in .28s ease-out both; animation-delay: calc(var(--i, 0) * 30ms); }
#ui .mp-power b { color: #e8c979; }
#ui .mp-side { min-height: 0; display: flex; flex-direction: column; gap: 7px; padding: 2px 2px 4px; overflow-y: auto; }
#ui .mp-sub { flex: none; display: flex; align-items: baseline; gap: 8px; font-size: 12px; font-weight: 800; }
#ui .mp-sub small { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
/* 칭호 목록(2026-11-02 사용자 "칭호 그리고 저런식으로 허접하게 선택할수있게하지말고 UI 퀄리티좀 높여주면안됨?"): 알약 칩 줄 → 칭호 한 줄씩 카드.
   참고 = 메이플스토리M 칭호 목록(엠블럼 칸 + 칭호 이름 줄) · 로드나인 이름 위 칭호(등급색 글자) 실제 화면(11-02 열어 봄). 못 얻은 칭호도 보여서 목표가 된다(조건 = 그 보스 처치).
   줄 46 · 엠블럼 36(보스 초상 — 못 얻으면 검은 실루엣) · 이름 12.5 금빛(mp-title 과 같은 #e8c979) · 조건 10 · 알약 28 글자 폭(장착 = 청록 결정 · 해제 = 보조 반투명) · 장착 중 = 금 1px 테 + 맥박.
   연출: 처음 열 때 줄 70 ms 간격 fx-card-in(스크롤 칸 안 덩어리라 1 을 넘지 않는다) · 장착하면 엠블럼 튐(줄 여백 안) · 누름 0.92. */
#ui .mp-titles { flex: none; display: flex; flex-direction: column; gap: 6px; }
#ui .mp-trow { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 46px; padding: 0 10px 0 6px; border-radius: 10px;
  background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); transition: background .2s, box-shadow .2s; }
#ui .mp-trow.on { background: linear-gradient(90deg, rgba(232, 201, 121, .17), rgba(232, 201, 121, .04) 70%); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .6); animation: mp-on 1.6s ease-in-out infinite; }
#ui .mp-temb { width: 36px; height: 36px; border-radius: 50%; image-rendering: pixelated; background: radial-gradient(circle at 50% 40%, #3a3f4c, #15171d 75%); box-shadow: 0 0 0 1px rgba(232, 201, 121, .55), 0 0 6px rgba(232, 201, 121, .25); }
#ui .mp-trow.on .mp-temb { box-shadow: 0 0 0 1.5px #e8c979, 0 0 9px rgba(232, 201, 121, .55); animation: mp-emb .42s cubic-bezier(.3, 1.6, .5, 1); }
#ui .mp-trow.lock .mp-temb { filter: brightness(0) opacity(.55); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); background: #2a2d34; }
#ui .mp-tinfo { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#ui .mp-tline { min-width: 0; display: flex; align-items: center; gap: 6px; }
#ui .mp-tname { min-width: 0; font-size: 12.5px; font-weight: 900; color: #e8c979; text-shadow: 0 0 8px rgba(232, 201, 121, .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .mp-trow.lock .mp-tname { color: var(--ink-soft); text-shadow: none; }
#ui .mp-ttag { flex: none; height: 15px; padding: 0 6px; border-radius: 999px; font-style: normal; font-size: 9.5px; font-weight: 900; line-height: 15px; color: #26221c; background: linear-gradient(#f2dc9c, #d9b25c); }
#ui .mp-tcond { font-size: 10px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .popup.full .mp-tbtn { flex: none; justify-self: end; min-width: 56px; height: 28px; padding: 0 14px; font-size: 11.5px; }
#ui .popup.full .mp-trow.lock .mp-tbtn { min-width: 0; padding: 0 2px; background: none; box-shadow: none; color: var(--ink-soft); font-size: 10.5px; font-weight: 700; opacity: 1; filter: none; pointer-events: none; }
#ui .mp-tbtn:not(.off):active { transform: scale(.92); }
/* 장인 칭호(artisanC2-1113): need = 가졌지만 그 단계 장인 무기를 안 낌 — 알약 [착용 필요] 은 금 테 없이 옅게(누르면 안내만) · idle = 고른 칭호인데 조건이 안 됨 — 줄 금빛 숨쉬기 멈춤 · 머리표 회색 "효과 꺼짐" */
#ui .popup.full .mp-trow.need .mp-tbtn { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); color: var(--ink-soft); font-size: 10.5px; }
#ui .mp-trow.need .mp-temb { filter: saturate(.3) brightness(.8); }
#ui .mp-trow.on.idle { animation: none; background: linear-gradient(90deg, rgba(160, 160, 170, .14), rgba(160, 160, 170, .03) 70%); box-shadow: inset 0 0 0 1px rgba(200, 200, 210, .35); }
#ui .mp-tpop .mp-trow.on.idle { animation: fx-card-in .26s cubic-bezier(.2, .8, .3, 1) both; }
#ui .mp-trow.idle .mp-ttag { color: #e9e6df; background: linear-gradient(#6c6f78, #50535b); }
#ui .dim.fx-intro .mp-trow { animation: fx-card-in .26s cubic-bezier(.2, .8, .3, 1) both; }
#ui .dim.fx-intro .mp-trow:nth-child(2) { animation-delay: 70ms; }
#ui .dim.fx-intro .mp-trow:nth-child(3) { animation-delay: 140ms; }
#ui .dim.fx-intro .mp-trow:nth-child(4) { animation-delay: 210ms; }
@keyframes mp-on { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .6), 0 0 0 rgba(232, 201, 121, 0); } 50% { box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .85), 0 0 10px rgba(232, 201, 121, .22); } }
@keyframes mp-emb { 45% { transform: scale(1.14); } }
#ui .mp-none { flex: none; font-size: 11px; color: var(--ink-soft); }
#ui .mp-intro-row { flex: none; display: flex; align-items: center; gap: 8px; }
/* hidepot-1117(형창님 11-17 "다른사람들이 내 정보창에서 내 아이템 잠재 옵션 보는거 가리기 기능"): 내 프로필 [프로필] 탭 자기소개 아래 = 잠재옵션 비공개 켜고 끄기(누름 칸 높이 40) */
#ui .mp-hidepot { flex: none; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 5px 12px; border: 0; border-radius: 10px; text-align: left; font: inherit; color: var(--ink); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); cursor: pointer; }
#ui .mp-hidepot:active { transform: scale(.98); }
#ui .mp-hidepot.wait { opacity: .6; pointer-events: none; }
#ui .mp-hidepot .mp-box { flex: none; position: relative; width: 18px; height: 18px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); background: rgba(0, 0, 0, .3); }
#ui .mp-hidepot.on .mp-box { box-shadow: none; background: #e8c979; }
#ui .mp-hidepot.on .mp-box::after { content: ''; position: absolute; left: 6px; top: 2px; width: 4px; height: 9px; border: solid #2a2010; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
#ui .mp-hp-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#ui .mp-hp-text b { font-size: 12.5px; font-weight: 900; }
#ui .mp-hidepot.on .mp-hp-text b { color: #e8c979; }
#ui .mp-hp-text small { font-size: 10px; font-weight: 700; line-height: 13px; color: var(--ink-soft); }
#ui .mp-intro { flex: 1; min-width: 0; height: 52px; padding: 7px 10px; border: 0; border-radius: 10px; resize: none; font: inherit; font-size: 12px; font-weight: 700; line-height: 18px; color: var(--ink);
  background: rgba(0, 0, 0, .32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); user-select: text; }
#ui .mp-reply { flex: 1; min-width: 0; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; font: inherit; font-size: 12px; font-weight: 700; color: var(--ink); background: rgba(0, 0, 0, .32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); user-select: text; }
#ui :is(.mp-intro, .mp-reply)::placeholder { color: var(--ink-soft); }
#ui :is(.mp-intro, .mp-reply):focus { outline: none; box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .65); }
#ui .mp-tk { display: flex; flex-direction: column; gap: 8px; }
#ui .mp-tk-head { flex: none; display: flex; align-items: center; gap: 6px; }
#ui .mp-tk-head p { flex: 1; min-width: 0; font-size: 11px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .mp-tk-list { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 4px; padding: 2px; overflow-y: auto; }
#ui .mp-tk-row { position: relative; flex: none; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 10px; border: 0; border-radius: 9px; text-align: left; color: var(--ink);
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); transition: transform .08s ease-out, background .15s; animation: mp-in .24s ease-out both; }
#ui .mp-tk-row.odd { background: rgba(255, 255, 255, .045); }
#ui .mp-tk-row:active { transform: scale(.985); background: rgba(255, 255, 255, .11); }
#ui .mp-kind { flex: none; min-width: 34px; height: 18px; padding: 0 7px; border-radius: 999px; font-size: 10px; font-weight: 900; line-height: 18px; text-align: center; color: #fff; background: #5d6265; }
#ui .mp-kind[data-kind="player_report"] { background: #a64646; } #ui .mp-kind[data-kind="suggestion"] { background: #548f8c; } #ui .mp-kind[data-kind="bug"] { background: #a8761a; }
#ui .mp-tk-subj { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .mp-tk-at { flex: none; font-size: 10.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
#ui .mp-st { flex: none; height: 20px; padding: 0 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; line-height: 20px; white-space: nowrap; color: #f3d28a; background: rgba(232, 201, 121, .14); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .35); }
#ui :is(.mp-tk-row.done .mp-st, .mp-st[data-st="answered"], .mp-st[data-st="resolved"]) { color: #8fe0a0; background: rgba(127, 216, 138, .12); box-shadow: inset 0 0 0 1px rgba(127, 216, 138, .35); }
#ui .mp-tk-row .mp-dot { top: 5px; right: 5px; }
#ui .mp-th { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
#ui .mp-th-head { flex: none; display: flex; align-items: center; gap: 8px; }
#ui .mp-th-subj { flex: 1; min-width: 0; font-size: 13px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .mp-msgs { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 8px 6px; border-radius: 10px; background: rgba(0, 0, 0, .22); overflow-y: auto; }
#ui .mp-say { flex: none; display: flex; animation: mp-in .24s ease-out both; }
#ui .mp-say.me { justify-content: flex-end; } #ui .mp-say.sys { justify-content: center; }
#ui .mp-bub { max-width: 78%; display: flex; flex-direction: column; gap: 2px; padding: 6px 10px 5px; border-radius: 12px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .mp-say.me .mp-bub { border-bottom-right-radius: 4px; background: rgba(84, 143, 140, .38); }
#ui .mp-say.op .mp-bub { border-bottom-left-radius: 4px; background: rgba(232, 201, 121, .13); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .32); }
#ui .mp-bub small { font-size: 10px; font-weight: 900; color: #e8c979; }
#ui .mp-bub p { font-size: 12px; font-weight: 700; line-height: 17px; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; }
#ui .mp-bub i { align-self: flex-end; font-style: normal; font-size: 9.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
#ui :is(.mp-say.me, .mp-say.sys) .mp-bub small { display: none; }
#ui .mp-say.sys .mp-bub { max-width: 90%; align-items: center; padding: 2px 10px; background: none; box-shadow: none; }
#ui .mp-say.sys .mp-bub p { font-size: 10.5px; color: var(--ink-soft); text-align: center; }
#ui .mp-reply-row { flex: none; display: flex; align-items: center; gap: 8px; }
@keyframes mp-in { from { opacity: 0; transform: translateY(6px); } }
/* 레벨 랭킹 창 — 배치 = EFZ obj_exercise_ranking_window(줄 56 · 얼굴 40 · 내 순위 54 아래 고정, GUI 높이 450 은 EFZ 와 같다).
   2026-10-20 사용자 "랭킹이랑 길드ui도 경매장 구현했던것처럼 전체화면으로 변경해줘 고품질 ui 에 맞게 퀄리티 높여줘":
   창 = 01-popup 전체화면 판(.popup.full — 어두운 반투명 판 · 머리 띠 46 · 맨 왼쪽 ‹ · 열린 동안 HUD 숨김). 머리 = ‹ + 메뉴 랭킹 흰 선 아이콘 + 흰 굵은 제목 + 회색 기준 한 줄
   (도깨비의 세계 §11.6 문파 제목 줄 = 흰 굵은 제목 + 회색 시즌 글자). 줄 = 도술 목록 줄 결(§8 — 어두운 반투명 둥근 네모 · 간격 좁게, 경매장 au-row 와 같은 값) 50 · 얼굴 40.
   1~3위 = 큰 메달 그림 대신 메달색 숫자 + 얇은 빛 + 줄 왼쪽 옅은 메달색 번짐(hq-ui "만화풍 · 광택 버블 금지"). 내 순위 = 조금 밝은 띠 + 얇은 밝은 테(§8 고른 줄 = 흰 빛 테).
   넓은 화면은 칸을 키우지 않고 목록 열을 가운데 760(EFZ 창 폭)까지만 — 폰 가로(무대 ≈ 1000)에서 줄이 화면 끝까지 늘어나 점수가 멀어지지 않게. */
#ui .popup.full.rk > .popup-head > h2::before { -webkit-mask-image: url(assets/icons/menu-ranking.png); mask-image: url(assets/icons/menu-ranking.png); }   /* 제목 앞 흰 선 아이콘(01-popup 물품 · 상점 · 스킬과 같은 자리) */
#ui .rk-sub { flex: 1; min-width: 0; margin: 3px 0 0 6px; font-size: 11px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   /* 문파 제목 줄 회색 시즌 글자 자리 */
/* 탭 4개(전투력 · 레벨 · 섬 꾸미기 · 월드 보스) = 공지 · 이벤트 창 머리 탭과 같은 자리 · 크기(16d an-tabs: 제목 옆 글자 폭 알약 28 · 글자 13, 01-popup 탭 줄) */
#ui .popup.full .rk-tabs { margin: 0 0 0 14px; align-self: center; }   /* 공용 .tabs 아래 여백 10 을 지워야 머리 띠 가운데 */
#ui .popup.full.rk .rk-tabs .tab { min-width: 0; height: 32px; padding: 0 15px; font-size: 15px; font-weight: 800; }   /* 이벤트 창 머리 탭과 같은 크기(17-events) */
/* 월드 보스 탭 '전날 랭킹 11.12' = 탭 줄 오른쪽 회색 시즌 글자(위 rk-sub, 도깨비 §11.6 문파 시즌 글자) — 글자 폭 어두운 알약 하나로만 띄운다 */
#ui .rk-prev { flex: none; height: 22px; margin: 0 0 0 10px; padding: 0 10px; border-radius: 11px; font-size: 12px; font-weight: 700; line-height: 22px; color: #c9ccc6; background: rgba(0, 0, 0, .32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); animation: fx-fade .2s ease-out both; }
#ui .rk-list, #ui .rk-me, #ui .rk .rk-state { width: 100%; max-width: 760px; align-self: center; }
#ui .rk-list { flex: 1; min-height: 0; overflow-y: auto; padding: 2px 2px 4px; }
#ui .rk-row { --mc: transparent; position: relative; display: flex; align-items: center; gap: 10px; height: 50px; margin-bottom: 4px; padding: 0 16px 0 0; border-radius: 9px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--mc) 16%, transparent), transparent 42%), rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .rk-row.mine { background-color: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
/* 순위 숫자: 4위부터 회색, 1~3위 = 금 · 은 · 동 숫자 + 같은 색 얇은 빛(금 #e8c979 = 01-popup 재화 금색 · 은 · 동은 같은 명도로 맞춤) + 줄 왼쪽 3px 막대 */
#ui .rk-rank { flex: none; width: 50px; text-align: center; font-size: 15px; font-weight: 800; color: #a3a6a0; font-variant-numeric: tabular-nums; }
#ui .rk-row:has(.rk-rank.top1) { --mc: #e8c979; } #ui .rk-row:has(.rk-rank.top2) { --mc: #c9d3d8; } #ui .rk-row:has(.rk-rank.top3) { --mc: #d39a6a; }
#ui .rk-row:has(.rk-rank:is(.top1, .top2, .top3))::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 0 2px 2px 0; background: var(--mc); box-shadow: 0 0 6px var(--mc); }
#ui .rk-rank:is(.top1, .top2, .top3) { font-size: 18px; font-weight: 900; }
#ui .rk-rank.top1 { color: #e8c979; text-shadow: 0 0 8px rgba(232, 201, 121, .55); }
#ui .rk-rank.top2 { color: #d5dde2; text-shadow: 0 0 8px rgba(201, 211, 216, .45); }
#ui .rk-rank.top3 { color: #d9a477; text-shadow: 0 0 8px rgba(211, 154, 106, .45); }
/* 얼굴 40: 나무 액자(social face-frame) 대신 어두운 둥근 칸 + 얇은 밝은 테(물품 빈 칸 결). 누르면 프로필(EFZ — 얼굴만) → 누름 반응 */
#ui .rk .rk-face { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); transition: transform .08s ease-out; }
#ui .rk .rk-face::after { border: 0; border-image: none; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .rk button.rk-face:active { transform: scale(.92); }
#ui .rk-who { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px; }
#ui .rk-who b { min-width: 0; font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ui .rk-who small { flex: none; font-size: 11px; color: var(--ink-soft); }
/* 이름 앞 길드(rankguild-1114 형창님 "랭킹 앞에 길드도") = 전체 채팅 줄 머리(10-social .chat-gd.lead)와 같은 꼴 "(문장 15)[길드] 닉네임" · 길드 색(#ffe08a).
   길드 없으면 칸 없음(hidden). 길면 길드 이름만 줄고 [ ] 는 남는다 — 이름 칸을 다 먹지 않게 길드는 줄 폭의 반까지 */
#ui .rk .rk-gd { flex: 0 1 auto; min-width: 0; max-width: 50%; display: inline-flex; align-items: center; align-self: center; font-size: 14px; font-style: normal; font-weight: 800; color: #ffe08a; white-space: nowrap; }
#ui .rk .rk-gd > em { flex: none; font-style: normal; }
#ui .rk .rk-gd > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#ui .rk .rk-emb { flex: none; display: inline-flex; } #ui .rk .rk-emb:not(:empty) { margin-right: 2px; }
/* 퍼즐 탭(rankpuz-1114 형창님 "랭킹에 퍼즐은 뭐지 왜 들어간거임"): 퍼즐 기능이 닫힌 환경(data/unlocks.json puzzle closedIn production) · 숨김이면 탭을 그리지 않는다 —
   판정 = 기능 해금 표 그대로(features/unlock paint 가 <html> 에 ul-hide-puzzle). 열린 환경(sandbox)은 그대로 5개 */
html.ul-hide-puzzle #ranking-dim .rk-t-puzzle { display: none !important; }
#ui .rk-me-who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
#ui :is(.rk-score, .rk-txt) { flex: none; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }   /* rk-txt = 글자 점수(레벨 'Lv.N' · 꾸미기 점수 소수) */
/* 내 순위(아래 고정 52): 목록보다 한 단 밝은 띠 + 얇은 밝은 테 */
#ui .rk-me { flex: none; display: flex; align-items: center; gap: 10px; height: 52px; margin-top: 8px; padding: 0 16px 0 14px; border-radius: 10px;
  background: linear-gradient(rgba(255, 255, 255, .15), rgba(255, 255, 255, .09)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26), 0 4px 12px rgba(0, 0, 0, .35); }
#ui .rk-me-label { flex: none; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 11px; font-weight: 800; line-height: 20px; color: var(--ink-soft); background: rgba(0, 0, 0, .3); }
#ui .rk-me-rank { flex: none; min-width: 36px; font-size: 15px; font-weight: 900; } #ui .rk-me-rank.off { font-weight: 800; color: var(--ink-soft); }
#ui .rk-me-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 불러오는 중 · 실패 · 빈 목록 = 목록 자리 가운데. 다시 시도 = 글자 폭 알약(01-popup .btn.plain) */
#ui .rk-state { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding-bottom: 16px; font-size: 13px; color: var(--ink-soft); animation: fx-fade .2s ease-out both; }
#ui .rk-msg { font-size: 14px; font-weight: 700; color: #c9ccc6; }
#ui .rk-retry { flex: none; }
#ui .rk-spin { position: relative; width: 36px; height: 36px; animation: rk-spin 1.05s steps(8) infinite; }
#ui .rk-spin b { position: absolute; left: 15px; top: 1px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); transform-origin: 3px 17px; }
#ui .rk-spin b:nth-child(1) { transform: rotate(0deg); opacity: .18; } #ui .rk-spin b:nth-child(2) { transform: rotate(45deg); opacity: .28; }
#ui .rk-spin b:nth-child(3) { transform: rotate(90deg); opacity: .38; } #ui .rk-spin b:nth-child(4) { transform: rotate(135deg); opacity: .48; }
#ui .rk-spin b:nth-child(5) { transform: rotate(180deg); opacity: .58; } #ui .rk-spin b:nth-child(6) { transform: rotate(225deg); opacity: .68; }
#ui .rk-spin b:nth-child(7) { transform: rotate(270deg); opacity: .78; } #ui .rk-spin b:nth-child(8) { transform: rotate(315deg); opacity: .88; }
@keyframes rk-spin { to { transform: rotate(360deg); } }
/* 연출(hq-ui 기본 탑재): 목록이 처음 들어올 때(불러오는 중 → 순위) 줄이 30ms 간격으로 떠오름 — 17c 가 .rk-fresh 를 900ms 만 붙인다(30초 다시 읽기 · 얼굴 그림 도착으로 다시 그려도 다시 튀지 않게).
   1위 숫자 빛은 등급 빛 주기(1047ms, ui-juice)로 숨쉰다 · 내 순위 띠는 목록 뒤에 올라온다 */
#ui .rk-list.rk-fresh .rk-row { animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both; animation-delay: calc(var(--i, 0) * .03s + .04s); }
#ui .rk-list.rk-fresh + .rk-me { animation: fx-rise .32s .22s cubic-bezier(.2, .8, .3, 1.1) both; }
#ui .rk-rank.top1 { animation: rk-glow 1.047s ease-in-out infinite alternate; }
@keyframes rk-glow { from { text-shadow: 0 0 5px rgba(232, 201, 121, .35); } to { text-shadow: 0 0 10px rgba(232, 201, 121, .75); } }
/* 단상 · 순위 소식 · 판 점. 배치 = 왼쪽 1~3위 단상 · 오른쪽 4위부터 목록(메이플 키우기 성장 챌린지 랭킹 틀 — 빛기둥 위 숫자 메달 + 받침대 위 캐릭터).
   그림 = features/ranking/art(이미지 생성 — 메달 · 받침대 · 빛기둥 · 왕관 · 소식 나팔 · 상승 화살). 메달색 = 위 rk-rank top1~3 숫자색 */
#ui .popup.full.rk > .popup-head { margin-bottom: 0; }
#ui .rk .rk-tabs .tab { position: relative; }
#ui .rk .rk-tabs .tab > .rk-tdot { position: absolute; top: 1px; right: 3px; }
/* 순위 소식 = 제목 띠 말씨(짙은 반투명 띠 · 양 끝 흐림 · 위아래 1px 금빛선) — 머리 띠 바로 아래 전체 폭 한 줄 */
#ui .rkp-tick { position: relative; flex: none; height: 28px; margin: 0 calc(-18px - var(--sr)) 8px calc(-18px - var(--sl)); display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .5) 12%, rgba(0, 0, 0, .5) 88%, transparent); }
#ui .rkp-tick[hidden] { display: none; }
#ui .rkp-tick::before, #ui .rkp-tick::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 201, 121, .5) 20%, rgba(232, 201, 121, .5) 80%, transparent); }
#ui .rkp-tick::before { top: 0; } #ui .rkp-tick::after { bottom: 0; }
#ui .rkp-lbl { position: relative; z-index: 2; flex: none; display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 16px 0 calc(26px + var(--sl)); font-size: 12px; font-weight: 800; color: #e8c979; white-space: nowrap;
  background: linear-gradient(90deg, rgba(12, 13, 15, .96) 78%, transparent); }
#ui .rkp-lbl img { width: 22px; height: auto; }
#ui .rkp-lane { position: relative; flex: 1; min-width: 0; height: 26px; overflow: hidden; }
#ui .rkp-run { position: absolute; left: 0; top: 0; height: 26px; display: flex; align-items: center; gap: 48px; padding-left: 100%; white-space: nowrap; font-size: 12.5px; color: #e9e7df;
  animation: rkp-tick var(--dur, 40s) linear infinite; will-change: transform; }
#ui .rkp-run > span { display: inline-flex; align-items: center; gap: 5px; }   /* 그림 | 글 한 덩어리(글 안 숫자 · 이름 사이에는 틈 없음) */
#ui .rkp-run b { color: #fff; } #ui .rkp-run i.gd { font-style: normal; font-weight: 800; color: #ffe08a; } #ui .rkp-run em { font-style: normal; font-weight: 800; color: #7fe08a; }
#ui .rkp-run .me, #ui .rkp-run .me b { color: #f3d998; }
#ui .rkp-run img { width: 13px; height: 13px; object-fit: contain; }
@keyframes rkp-tick { to { transform: translateX(-100%); } }
/* 본문: 왼쪽 단상(창 폭 46% · 최대 450) · 오른쪽 상태 · 목록 · 내 순위 */
#ui .rkp-body { flex: 1; min-height: 0; display: flex; gap: 12px; }
#ui .rkp-pod { position: relative; flex: none; width: min(46%, 450px); container-type: size; }
#ui .rkp-side { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#ui .rkp-side :is(.rk-list, .rk-me, .rk-state) { max-width: none; }
/* 단상 한 칸(단상 폭 = 100cqw 기준 크기): 빛기둥(뒤) · 숫자 메달 · 받침대 위 캐릭터와 펫 · 아래 이름 · 길드 칭호 · 점수. 1위 가운데 · 가장 높게 */
#ui .pd { --pt: 0px; --mw: 10.2cqw; --dw: 31cqw; --fh: 26cqw; --info: 62px; position: absolute; top: 0; bottom: 0; width: 33.333%; display: flex; flex-direction: column; align-items: center; padding-top: var(--pt); }
#ui .pd.p1 { left: 33.333%; --mc: #e8c979; }
#ui .pd.p2 { left: 0; --pt: 7.5cqh; --mw: 9cqw; --dw: 27.3cqw; --fh: 22.9cqw; --mc: #c9d3d8; }
#ui .pd.p3 { left: 66.667%; --pt: 11cqh; --mw: 9cqw; --dw: 27.3cqw; --fh: 22.9cqw; --mc: #d39a6a; }
#ui .pd .pillar { position: absolute; left: 50%; top: calc(var(--pt) + 14px); bottom: calc(var(--info) + var(--dw) * .22); width: 76%; transform: translateX(-50%); pointer-events: none;
  background: url(features/ranking/art/light-pillar.png) center top / 100% 100% no-repeat; opacity: .85; animation: rkp-pillar 2.2s ease-in-out infinite alternate; }
#ui .pd.p2 .pillar { filter: saturate(0) brightness(1.05); } #ui .pd.p3 .pillar { filter: sepia(.6) saturate(1.3) hue-rotate(-12deg) brightness(.9); }
@keyframes rkp-pillar { from { opacity: .62; } to { opacity: .92; } }
#ui .pd .medal { position: relative; z-index: 3; flex: none; width: var(--mw); }
#ui .pd .medal img { width: 100%; height: auto; display: block; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .55)); }
#ui .pd .medal b { position: absolute; left: 0; right: 0; top: 55%; transform: translateY(-50%); text-align: center; font-size: calc(var(--mw) * .45); font-weight: 900; line-height: 1; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .85); }
#ui .pd .fig { position: relative; z-index: 2; flex: 1; min-height: 0; width: 100%; display: flex; align-items: flex-end; justify-content: center; margin-bottom: calc(var(--dw) * -.137);
  padding: 0; border: 0; background: none; cursor: pointer; transition: transform .08s ease-out; }
#ui .pd .fig:disabled { cursor: default; }
#ui .pd .fig:not(:disabled):active { transform: scale(.96); }
#ui .pd .fig img.body { display: block; height: var(--fh); max-height: 100%; width: auto; image-rendering: pixelated; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); }
#ui .pd .fig img.body:not([src]) { visibility: hidden; }
/* 발 맞춤(rank_podium rkStand): 그림 안 발 자리 → 칸 가운데 아래(= 받침대 윗면), 몸 키 = --fh × .68 — 칸 밖으로 나간 무기 끝은 옆 칸 위로 그대로(필드와 같은 모습) */
#ui .pd .fig img.body.ft { position: absolute; left: 50%; bottom: 0; max-height: none; height: calc(var(--fh) * var(--fk, 1)); transform: translate(calc(var(--fx) * -100%), calc((1 - var(--fy)) * 100%)); }
#ui .pd .fig img.pet { position: absolute; bottom: 4px; left: calc(50% + var(--fh) * .3); height: calc(var(--fh) * .29); width: auto; image-rendering: pixelated; animation: rkp-hop 1.3s ease-in-out infinite; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); }
#ui .pd .fig img.pet[hidden] { display: none; }
/* 누름 = 칸(단추) 기준(popbuff3-1125): 전신 · 펫 그림은 발 기준 좌우 같은 폭으로 잘려 무기 · 날개가 길면 투명 상자가 옆 칸 위로 넘어간다 — 그림이 누름을 받으면 옆 칸 단추로 들어가 다른 사람 프로필이 열렸다(문서 순서 2 · 1 · 3 이라 1위 그림이 2위를, 3위 그림이 1위를 덮음). 그림은 누름을 받지 않고 그 자리 칸 단추가 받는다 */
#ui .pd .fig img { pointer-events: none; }
@keyframes rkp-hop { 50% { transform: translateY(-3px); } }
#ui .pd .dais { position: relative; z-index: 1; flex: none; width: var(--dw); height: calc(var(--dw) * .49); display: block; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
#ui .pd .info { flex: none; height: var(--info); width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1px; padding: 3px 4px 0; box-sizing: border-box; text-align: center; }
#ui .pd .info > * { flex: none; }   /* 이름 · 칭호 · 점수 줄이 칸 높이에 눌려 줄지 않게(칭호 글자 아래가 잘렸다) */
#ui .pd .nm { max-width: 100%; font-size: 15px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
#ui .pd .sub { max-width: 100%; font-size: 11.5px; line-height: 16px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .pd .sub i { font-style: normal; font-weight: 800; color: #ffe08a; }   /* 길드 = 채팅 · 목록과 같은 노랑 */
#ui .pd .sub .ttl { display: inline-block; max-width: 100%; vertical-align: top; overflow: hidden; text-overflow: ellipsis; }   /* 칭호가 길면 이 칸 안에서 … (줄 상자를 넘지 않게 inline-block) */
#ui .pd .sc { font-size: 15px; font-weight: 900; color: var(--mc); font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
#ui .pd.empty .pillar, #ui .pd.empty .medal { opacity: .35; animation: none; }
/* 처음 열 때: 2위 → 3위 → 1위 순서로 떠오름(fx-card-in = 아래 6px · .97 → 1, 넘치는 튐 없음) */
#ui .ranking-dim.fx-intro .pd { animation: fx-card-in .34s cubic-bezier(.2, .8, .3, 1) both; }
#ui .ranking-dim.fx-intro .pd.p2 { animation-delay: .05s; } #ui .ranking-dim.fx-intro .pd.p3 { animation-delay: .14s; } #ui .ranking-dim.fx-intro .pd.p1 { animation-delay: .26s; }
/* 목록 줄 크기: 줄 56 · 얼굴 44 · 이름 15 · 점수 16 · 순위 17 · 내 순위 56 금빛 얇은 테 */
#ui .rk .rk-row { height: 56px; margin-bottom: 5px; }
#ui .rk .rk-rank { width: 46px; font-size: 17px; }
#ui .rk .rk-face { width: 44px; height: 44px; flex: none; }
#ui .rk .rk-who b, #ui .rk .rk-me-name { font-size: 15px; }
#ui .rk :is(.rk-score, .rk-txt) { font-size: 16px; font-weight: 900; color: #f2f0e7; }
#ui .rk .rk-me { height: 56px; margin-top: 6px; box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .55), 0 4px 12px rgba(0, 0, 0, .35); }
/* 업데이트 노트 창 — 배치 = EFZ obj_update_note_window(머리 46 · 왼쪽 목록 182 · 줄 48 + 간격 5 · 오른쪽 본문).
   2026-10-20 사용자 "샌드박스에 고품질 UI 문서 참고해서 친구랑 공지탭도 퀄리티높게, 전체화면으로 바꿔봐":
   창 = 01-popup 전체화면 판(.popup.full — 어두운 반투명 판 · 머리 띠 46 · 맨 왼쪽 ‹ + 메뉴 공지 흰 선 아이콘 + 흰 굵은 제목 · 열린 동안 HUD 숨김). 근거 .claude/skills/hq-ui · dokkaebi-world.md §8
   (왼쪽 목록 + 오른쪽 상세 = 도깨비 설정 · 도술 창의 목록/상세 두 칸 결). 줄 = 랭킹 rk-row 결(어두운 반투명 둥근 네모 · 얇은 밝은 테), 고른 줄 = 흰 빛 테 + 왼쪽 베이지 막대(고른 탭 베이지),
   안 읽은 글 = 빨간 점(ui-juice 628ms 맥동). 줄 높이 48 + 간격 5 는 17d ROW(넘침 "a-b / N" 셈)와 같아야 한다. 넓은 화면은 두 칸 합이 가운데 960 까지만(본문 줄 길이). */
#ui .popup.full.an > .popup-head > h2::before { -webkit-mask-image: url(assets/icons/menu-notice.png); mask-image: url(assets/icons/menu-notice.png); }
/* 종류 탭(전체 공지 | 이벤트 | 업데이트 노트) = 이벤트 창 머리 탭과 같은 자리 · 크기(17-events .ev-tabs: 제목 옆 글자 폭 알약 28, 01-popup 탭 줄). 붉은 점 = 그 탭에 새 글 · 받을 보상 */
#ui .popup.full .an-tabs { margin: 0 0 0 14px; align-self: center; }   /* 01-popup .popup.full .tabs(flex-start)보다 앞서야 제목과 한 줄 가운데 */
#ui .popup.full.an .tab { position: relative; min-width: 0; height: 32px; padding: 0 15px; font-size: 15px; font-weight: 800; }
#ui .an .tab > .dot { position: absolute; right: 5px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: #e5534b; box-shadow: 0 0 4px rgba(229, 83, 75, .8); display: none; }
#ui .an .tab.ready > .dot { display: block; }
#ui .an-body { flex: 1; min-height: 0; width: 100%; max-width: 960px; align-self: center; display: flex; gap: 12px; }
#ui .an-list { position: relative; flex: none; width: clamp(160px, 30%, 240px); overflow-y: auto; padding: 2px 2px 4px; }
#ui .an-list.more { padding-bottom: 24px; }
#ui .an-row { position: relative; display: flex; flex-direction: column; justify-content: flex-start; width: 100%; height: 48px; margin-bottom: 5px; padding: 6px 22px 6px 12px; text-align: left; border: 0; border-radius: 8px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); color: #d9dbd5; transition: background .15s, box-shadow .15s, transform .18s cubic-bezier(.3, 1.8, .5, 1); }
#ui .an-row:active { transform: scale(.96); transition-duration: .06s; }
#ui .an-row.on { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 2px 8px rgba(0, 0, 0, .3); color: var(--ink); }
#ui .an-row.on::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 2px 2px 0; background: #e6decd; box-shadow: 0 0 6px rgba(230, 222, 205, .6); }   /* 01-popup 고른 탭 베이지 */
#ui .an-row b { display: block; font-size: 12.5px; font-weight: 800; line-height: 17px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }   /* 줄 48 고정 = 제목 한 줄 + 날짜(두 줄이면 날짜와 겹침), 전체 제목은 오른쪽 본문 */
#ui .an-row small { margin-top: auto; font-size: 10.5px; font-weight: 600; color: #8d908b; font-variant-numeric: tabular-nums; }
/* 기한 지난 글(noticeexp-1109): 같은 줄 판 그대로 회색 · 흐림 · 눌림 연출 없음(17d 가 disabled · 안 열림). 날짜 옆 "종료" */
#ui .an-row.end { cursor: default; color: #8d908b; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); opacity: .55; filter: grayscale(1); }
#ui .an-row.end:active { transform: none; }
#ui .an-row.end b { font-weight: 700; }
#ui .an-row.new:not(.on)::after { content: ""; position: absolute; right: 9px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #ff4b3e; box-shadow: 0 0 0 1.5px rgba(20, 22, 24, .8); animation: an-dot .628s ease-in-out infinite alternate; }   /* 빨간 점 = 새것(ui-juice 628ms) */
@keyframes an-dot { to { transform: scale(1.25); box-shadow: 0 0 0 1.5px rgba(20, 22, 24, .8), 0 0 6px rgba(255, 75, 62, .8); } }
#ui .an-count { display: none; position: sticky; bottom: -18px; text-align: center; font-size: 11px; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
#ui .an-list.more .an-count { display: block; }
/* 상세 = 판 안 어두운 반투명 칸(채팅 기록 칸과 같은 값). 분류 · 날짜 회색 한 줄 → 흰 굵은 제목 17 → 옅은 구분선 → 본문 13 */
#ui .an-detail { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 14px 18px; border-radius: 10px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .an-detail:empty { align-items: center; justify-content: center; }
#ui .an-detail:empty::before { content: ""; width: 44px; height: 44px; background: rgba(255, 255, 255, .18); -webkit-mask: url(assets/icons/menu-notice.png) center / contain no-repeat; mask: url(assets/icons/menu-notice.png) center / contain no-repeat; }   /* 공지 없음 = 무채색 글리프만(EFZ 도 빈 칸) */
#ui .an-meta { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: #8d908b; font-variant-numeric: tabular-nums; }
#ui .an-detail h3 { margin-top: 6px; font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--ink); }
#ui .an-detail hr { margin: 10px 0 12px; border: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
#ui .an-text { flex: 1; min-height: 0; overflow-y: auto; font-size: 13px; line-height: 1.6; color: #d9dbd5; user-select: text; -webkit-user-select: text; }
#ui .an-text h3, #ui .an-text h4 { margin: 10px 0 4px; font-size: 14px; font-weight: 800; color: var(--ink); }
#ui .an-text p { margin: 0 0 8px; } #ui .an-text ul { margin: 0 0 8px 18px; } #ui .an-text li::marker { color: #8d908b; }
#ui .an-text a { color: #8fc6ff; text-decoration: underline; } #ui .an-text strong, #ui .an-text b { color: var(--ink); }
/* 연출(hq-ui 기본 탑재): 처음 열 때(ui_fx .fx-intro 800ms) · 탭을 바꿀 때(17d .fx-swap 600ms) 목록 줄이 30ms 간격으로 떠오름 · 글을 고를 때마다 상세가 살짝 밀려 들어옴(17d 가 상세를 새로 그린다) · ‹ 누름 */
#ui :is(.dim.fx-intro, .an-list.fx-swap) .an-row { animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both; animation-delay: calc(var(--i, 0) * .03s + .12s); }
#ui .an-row:nth-child(2) { --i: 1; } #ui .an-row:nth-child(3) { --i: 2; } #ui .an-row:nth-child(4) { --i: 3; } #ui .an-row:nth-child(5) { --i: 4; } #ui .an-row:nth-child(n+6) { --i: 5; }
#ui .an-detail > * { animation: an-in .22s cubic-bezier(.2, .8, .3, 1.1) both; }
#ui .an-detail > h3 { animation-delay: .03s; } #ui .an-detail > .an-text { animation-delay: .06s; }
@keyframes an-in { from { opacity: 0; transform: translateX(8px); } }
#ui .popup.full.an .close.back { transition: transform .18s cubic-bezier(.3, 1.8, .5, 1), background .15s; }
#ui .popup.full.an .close.back:active { transform: scale(.92); transition-duration: .06s; }
/* 읽기 보상 띠(noteprize-1105): 본문 맨 아래 — 왼쪽 회색 "공지 보상" · 재화 아이콘 22 + 굵은 수 · 오른쪽 글자 폭 청록 알약 28(판 폭으로 늘이지 않는다, hq-ui).
   받기 전 = 띠 테가 금빛으로 숨 쉬고(ui-juice 1.2s) 알약이 살짝 맥동 · 받은 뒤 = 흐린 띠 + "받음" 도장 · 막 받은 순간(.just) = 도장이 튀어 들어옴. 목록 줄 .pz = 보상 남은 공지(다이아 점 대신 금빛 점). */
#ui .an-prize { flex: none; display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 10px 8px 12px; border-radius: 10px; background: linear-gradient(90deg, rgba(232, 201, 121, .14), rgba(232, 201, 121, .04));
  box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .35); animation: an-pz-glow 1.2s ease-in-out infinite alternate; }
@keyframes an-pz-glow { to { box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .7), 0 0 10px rgba(232, 201, 121, .22); } }
#ui .an-pz-l { flex: none; font-size: 11px; font-weight: 700; color: #c9b98f; }
#ui .an-pz-r { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
#ui .an-pz { display: inline-flex; align-items: center; gap: 3px; font-size: 14px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
#ui .an-pz img { width: 22px; height: 22px; filter: drop-shadow(0 1px .5px #0006); }
#ui .an-prize .an-claim { flex: none; animation: an-pz-beat 1.2s ease-in-out infinite; }
#ui .an-prize .an-claim.off { animation: none; pointer-events: none; }
@keyframes an-pz-beat { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.07); } 90% { transform: scale(.98); } }
#ui .an-prize.got { animation: none; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .an-prize.got .an-pz { opacity: .5; }
#ui .an-got { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: #9fd8a8; background: rgba(120, 200, 140, .12); box-shadow: inset 0 0 0 1px rgba(159, 216, 168, .35); }
#ui .an-got::before { content: ""; width: 9px; height: 5px; margin-top: -3px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg); }   /* 흰 선 체크 */
#ui .an-prize.just .an-got { animation: an-stamp .42s cubic-bezier(.3, 1.8, .5, 1) both; }
@keyframes an-stamp { from { opacity: 0; transform: scale(1.8) rotate(-8deg); } }
#ui .an-row.pz.new:not(.on)::after { background: #f2c14e; animation-name: an-dot-pz; }
@keyframes an-dot-pz { to { transform: scale(1.25); box-shadow: 0 0 0 1.5px rgba(20, 22, 24, .8), 0 0 6px rgba(242, 193, 78, .9); } }
#ui .m-notice { position: relative; }   /* 메뉴 [공지] 점(nt-dot) = 받을 읽기 보상이 남은 공지가 있을 때 */
/* 쿠폰 글 [쿠폰 사용] 띠: 보상 띠(.an-prize)와 같은 판 · 여백, 번호 = 고정폭 굵은 글자, 단추 = 글자 폭 청록(결정) 알약. 누르면 번호를 채운 입력 창. */
#ui .an-coupon { flex: none; display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 10px 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .35); }
#ui .an-cp-code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 900; letter-spacing: .06em; color: var(--ink); font-variant-numeric: tabular-nums; user-select: text; }
#ui .an-coupon .an-cp-use { flex: none; }
/* 길드 창 — EFZ obj_guild_window + scr_guild_ui.gml 수치(660×430 · 머리 52 · 위 탭 112×30 · 레일 104×34 · 줄 48/44/40/38/34/72 · 상점 5×2 + 세금 34)
   딸린 창 = obj_guild_joinreq(520×400) · info(520×430) · post(520×400) · create(620×430) · rank_reward(480×400). 틀 · 칸 · 버튼 = 분신 용사 나인패치(panel · slot · button) */
#ui .popup.gd { width: 660px; height: 430px; display: flex; flex-direction: column; }
#ui .gd-head { flex: none; display: flex; align-items: center; gap: 8px; height: 30px; padding-bottom: 6px; border-bottom: 2px solid #d6bd92; }
#ui .gd-head h2 { flex: 1; min-width: 0; font-size: 17px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ui .gd-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin: -6px 0; border-radius: 6px; background: #00000022; }
#ui .gd-icon[hidden] { display: none; }
#ui .gd-chips { flex: none; display: flex; gap: 6px; }
#ui .gd-chip { display: inline-flex; align-items: center; gap: 3px; height: 18px; padding: 0 7px; border-radius: 9px; font-size: 11px; font-weight: 800; white-space: nowrap;
  background: #fff6e1; box-shadow: inset 0 0 0 1px currentColor; }
#ui .gd-chip.gold { color: #a87b15; } #ui .gd-chip.accent { color: #6f6146; } #ui .gd-chip.muted { color: #8b8274; }
#ui .gd-chip-ico { height: 13px; image-rendering: pixelated; }
#ui .gd-coin { height: 15px; margin-right: 2px; vertical-align: -3px; image-rendering: pixelated; }
#ui .gd-tabs { flex: none; display: flex; gap: 6px; margin: 8px 0 10px; }
#ui .gd-tab { position: relative; width: 112px; height: 30px; border-radius: 5px; font-size: 13px; font-weight: 800; color: #8b7a62; background: #00000010; box-shadow: inset 0 0 0 1px #0000001c; }
#ui .gd-tab.on { color: var(--ink, #3b2f22); background: #fff6e1; box-shadow: inset 0 0 0 1px #c9961e; }
#ui .gd-tab.on::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 1px; height: 3px; border-radius: 2px; background: #c9961e; }
#ui .gd-main { flex: 1; min-height: 0; display: flex; gap: 14px; }
#ui .gd-rail { flex: none; display: flex; flex-direction: column; gap: 6px; width: 104px; padding: 4px; margin: -4px; border-radius: 6px; background: #00000012; }
#ui .gd-side { position: relative; height: 34px; border-radius: 5px; font-size: 12px; font-weight: 800; color: #8b7a62; background: #fff6e133; box-shadow: inset 0 0 0 1px #0000001c; }
#ui .gd-side.on { color: var(--ink, #3b2f22); background: #fff6e1; box-shadow: inset 0 0 0 1px #c9961e; }
#ui .gd-side.on::before { content: ""; position: absolute; left: 1px; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: #c9961e; }
#ui .gd-body { position: relative; flex: 1; min-width: 0; overflow-y: auto; padding: 6px; border-radius: 6px; background: #00000010; box-shadow: inset 0 0 0 1px #00000022; }
#ui .gd-body.busy .gd-btn { pointer-events: none; }
#ui .gd-msg { flex: none; margin-top: 6px; text-align: center; font-size: 12px; font-weight: 800; color: #c0503a; }
#ui .gd-msg[hidden] { display: none; }
#ui .gd-empty { height: 100%; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 0 18px; }
#ui .gd-empty b { font-size: 14px; color: #8b7a62; } #ui .gd-empty small { font-size: 11px; color: #a59a88; line-height: 1.5; }
#ui .gd-empty-acts { display: flex; gap: 8px; margin-top: 8px; }
#ui .gd-row { position: relative; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; padding: 0 8px 0 12px; border: 6px solid transparent; border-image: url(assets/hud/slot.webp) 72 fill / 6px stretch; }
#ui .gd-row.r48 { height: 42px; } #ui .gd-row.r44 { height: 38px; } #ui .gd-row.r40 { height: 34px; } #ui .gd-row.r38 { height: 32px; } #ui .gd-row.r34 { height: 28px; } #ui .gd-row.r72 { height: 64px; align-items: stretch; } #ui .gd-row.r54 { height: 52px; }
#ui .gd-row.self { box-shadow: inset 4px 0 #c9961e; } #ui .gd-row.notice, #ui .gd-row.lit { box-shadow: inset 4px 0 #c9961e; }
#ui .gd-row.medal1 { box-shadow: inset 4px 0 #c9961e; } #ui .gd-row.medal2 { box-shadow: inset 4px 0 #8a979e; } #ui .gd-row.medal3 { box-shadow: inset 4px 0 #b0703a; }
#ui .gd-row[data-row-profile], #ui .gd-row[data-row-guild], #ui .gd-row[data-row-post] { cursor: pointer; }
#ui .gd-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; font-size: 12px; }
#ui .gd-row-main b { font-size: 12px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ui .gd-row-main small { font-size: 11px; color: #8b7a62; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ui .gd-line1, #ui .gd-line2 { display: flex; align-items: center; gap: 6px; min-width: 0; }
#ui .gd-row-main > .gd-chip, #ui .gd-line1 .gd-chip { flex: none; align-self: center; }
#ui .gd-line1 b { flex: 1; } #ui .gd-line1 em { font-style: normal; font-size: 11px; color: #a59a88; } #ui .gd-line1 em.good { color: #3d9c4c; }
#ui .gd-row-acts { flex: none; display: flex; gap: 6px; } #ui .gd-row-acts.top { align-self: flex-start; margin-top: 2px; }
#ui .gd-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #a3a49e; align-self: flex-start; margin-top: 7px; } #ui .gd-dot.on { background: #4fbf5e; }
/* 글자색 도우미는 길드 창 안에서만(10-18 sandbox: '#ui .dim' 이 창 바탕 .dim 에, '#ui .gold' 가 .btn.gold 에 걸려 게임 모든 창 글자가 회색 · 금색이 됐다) */
#ui .gd .muted, #ui .gd-sub .muted { color: #8b8274; } #ui .gd .gold, #ui .gd-sub .gold { color: #a87b15; } #ui .gd .good, #ui .gd-sub .good { color: #3d9c4c; }
#ui .gd-dim { color: #a59a88; font-size: 11px; } #ui .gd-warn { color: #c0503a; font-size: 11px; } #ui .gd .dim, #ui .gd-sub .dim { color: #a59a88; }
/* 버튼: 창 층 .btn 은 테두리 그림이 위아래 10 · 좌우 24px 라 줄(34~42) 안에서 46px 로 커져 넘치고 글자가 꺾였다(sandbox 사진 10-18) →
   줄 · 칸 · 띠의 버튼은 창 층 평면 버튼(.btn.plain · .set-btn.risk 와 같은 색)으로, 큰 [설립](gc-go)만 장식 버튼 */
#ui .btn.gd-btn { min-height: 26px; padding: 0 10px; border: 2px solid #c9ac77; border-bottom-width: 3px; border-image: none; border-radius: 8px;
  background: #fbf1da; color: var(--ink); text-shadow: none; filter: none; font-size: 12px; font-weight: 800; white-space: nowrap; gap: 3px; }
#ui .btn.gd-btn.gold { border-color: #c9961e; background: #fff3cf; color: #8a5a10; }
#ui .btn.gd-btn.danger { border-color: #b4664d; background: #f8e3d8; color: #8e3f25; }
#ui .btn.gd-btn.off { filter: grayscale(.7); opacity: .6; }
#ui .btn.gd-btn.gc-go { min-height: 40px; padding: 4px 18px; border: 10px solid transparent; border-image: url(assets/ui/button-gold.webp) 22 72 fill / 10px 24px stretch;
  background: none; color: #fffce7; text-shadow: 0 1px 2px #876025; font-size: 14px; }
#ui .gd-manage .btn.gd-btn.gd-wide, #ui .gd-manage .btn.gd-btn.gd-toggle { min-height: 24px; }
#ui .gd-manage .gd-headline { margin: 2px 0 3px; }
#ui .btn.gd-btn.gc-go.off { filter: grayscale(1) brightness(1.05); opacity: .6; }
#ui .gd-btn.w30 { width: 30px; min-height: 22px; padding: 0; } #ui .gd-btn.w52 { width: 52px; } #ui .gd-btn.w54 { width: 54px; } #ui .gd-btn.w56 { width: 56px; } #ui .gd-btn.w64 { width: 64px; } #ui .gd-btn.w72 { width: 72px; }
#ui .gd-btn.w78 { width: 78px; } #ui .gd-btn.w82 { width: 82px; } #ui .gd-btn.w86 { width: 86px; } #ui .gd-btn.w96 { width: 96px; } #ui .gd-btn.w98 { width: 98px; } #ui .gd-btn.w108 { width: 108px; } #ui .gd-btn.w110 { width: 110px; }
#ui .gd-btn.w120 { width: 120px; } #ui .gd-btn.w128 { width: 128px; } #ui .gd-btn.w140 { width: 140px; } #ui .gd-btn.gd-wide { width: 100%; min-height: 28px; }
#ui .gd-btn.ghost { opacity: .9; }
#ui .gd-headline { position: relative; margin: 4px 0 6px; padding-left: 9px; font-size: 11px; font-weight: 800; color: #6f6146; }
#ui .gd-headline::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 3px; border-radius: 1px; background: #c9961e; }
#ui .gd-subbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; margin-bottom: 8px; }
#ui .gd-subtabs { display: flex; gap: 6px; }
#ui .gd-subtab { width: 70px; height: 26px; border-radius: 5px; font-size: 12px; font-weight: 800; color: #8b7a62; background: #00000010; box-shadow: inset 0 0 0 1px #0000001c; }
#ui .gd-subtab.on { color: var(--ink, #3b2f22); background: #fff6e1; box-shadow: inset 0 0 0 1px #c9961e; }
#ui .gd-points { font-size: 13px; font-weight: 800; }
/* 관리 */
#ui .gd-manage { display: flex; gap: 12px; min-height: 100%; }
#ui .gd-col-left { flex: none; width: 274px; display: flex; flex-direction: column; gap: 6px; }
#ui .gd-col-right { flex: none; width: 132px; margin-left: auto; display: flex; flex-direction: column; gap: 4px; }
#ui .gd-card { padding: 8px 12px; border: 6px solid transparent; border-image: url(assets/hud/slot.webp) 72 fill / 6px stretch; }
#ui .gd-card.me { padding-top: 4px; padding-bottom: 4px; }   /* EFZ 관리 탭은 창 안에 다 들어간다(sandbox 비교판 10-18: 아래가 잘려 스크롤) */
#ui .gd-stat { display: flex; align-items: center; height: 18px; font-size: 11px; } #ui .gd-stat span { width: 112px; color: #8b7a62; } #ui .gd-stat b { font-weight: 800; }
#ui .gd-lv-top { display: flex; justify-content: space-between; align-items: center; } #ui .gd-lv-top b { color: #a87b15; font-size: 13px; } #ui .gd-lv-top small, #ui .gd-lv-left { font-size: 11px; color: #8b7a62; }
#ui .gd-meter { display: block; height: 10px; margin: 4px 0 2px; border-radius: 4px; background: #00000022; overflow: hidden; } #ui .gd-meter > i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(#e6c062, #b98d2a); }
#ui .gd-toggle { width: 100%; min-height: 28px; border-image-source: url(assets/ui/button-gold.webp); filter: grayscale(.85) brightness(1.08); } #ui .gd-toggle.on { filter: none; }
#ui .gd-right-label { text-align: right; font-size: 11px; color: #8b7a62; } #ui .gd-push { flex: 1; }
/* 아이콘 편집 */
#ui .gcreate-body { display: flex; gap: 12px; height: 100%; }
/* 게시판 */
#ui .gd-row.post .gd-row-main { justify-content: flex-start; padding: 4px 0; } #ui .gd-preview { margin-top: 3px; } #ui .gd-by { position: absolute; right: 8px; bottom: 2px; font-size: 10px !important; color: #a59a88 !important; }
#ui .gd-pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 4px; font-size: 12px; color: #8b7a62; }
#ui .gd-compose-cat { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #8b7a62; } #ui .gd-compose-cat span { width: 70px; }
#ui .gd-field { width: 100%; min-width: 0; flex: none; height: 30px; padding: 0 10px; border-radius: 5px; font-size: 12px; background: #fffaf0; box-shadow: inset 0 0 0 1px #c9ac77; }
#ui .gd-area { height: 130px; padding: 8px 10px; resize: none; line-height: 1.45; }
/* 글쓰기 창(10-19): 칸 크기는 글자와 무관하게 고정 — 본문은 칸 안에서 스크롤 */
#ui .popup.gwrite { width: 520px; height: 400px; }
#ui .gwrite-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
#ui .gwrite-body .gd-field { flex: none; } #ui .gwrite-body .gd-area { flex: 1; min-height: 0; height: auto; overflow-y: auto; }
#ui .gwrite-foot { flex: none; display: flex; align-items: center; gap: 10px; } #ui .gwrite-msg { flex: 1; min-width: 0; margin: 0; font-size: 11px; color: #b0503a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ui .gwrite-count { flex: none; font-size: 11px; color: #a59a88; }
/* 스킬(guildskill-1125): 줄 = flex 차례 [이름][Lv a/b][눈금][지금 → 다음][+] — 칸마다 flex none 폭, absolute 자리 없음(옛 값 right:70px 이 ＋ 없는 줄에서 눈금 위에 겹쳤다).
   맨 위 = 남은 포인트(큰 숫자) + 한 줄 설명 · 오른쪽 [초기화](길드장) 또는 작은 안내(일반원). 색 = 크림 판 기본, 어두운 전체화면 판 색은 13e-guild-polish */
#ui .gd-skpts { min-height: 40px; }
#ui .gd-skpts-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
#ui .gd-skpts-line { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
#ui .gd-skpts-line small { font-size: 12px; } #ui .gd-skpts-line b { font-size: 18px; font-weight: 800; line-height: 1.1; } #ui .gd-skpts-line i { font-style: normal; font-size: 13px; }
#ui .gd-skpts-hint { font-size: 10.5px; color: #8b7a62; white-space: nowrap; }
#ui .gd-skpts-note { flex: 0 1 auto; min-width: 0; max-width: 52%; font-size: 10.5px; line-height: 1.3; text-align: right; color: #8b7a62; }
#ui .gd-headline.gd-sk-axis { margin: 10px 0 6px; padding-left: 10px; font-size: 14px; }
#ui .gd-row.gd-skrow { height: 44px; gap: 12px; }
#ui .gd-sk-name { flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ui .gd-sk-lv { flex: none; width: 54px; font-size: 11px; white-space: nowrap; color: #8b7a62; }
#ui .gd-sk-pips { flex: none; display: flex; gap: 3px; width: 128px; }
#ui .gd-sk-pips i { flex: 1; height: 12px; border-radius: 2px; background: #0000000d; box-shadow: inset 0 0 0 1px #00000040; } #ui .gd-sk-pips i.on { background: #c9961e; box-shadow: none; }
#ui .gd-sk-val { flex: none; display: flex; align-items: baseline; justify-content: flex-end; gap: 5px; min-width: 116px; font-size: 13px; white-space: nowrap; }
#ui .gd-sk-val b { font-weight: 800; } #ui .gd-sk-arrow { font-style: normal; font-size: 11px; color: #8b7a62; } #ui .gd-sk-next { color: #3f8a3a; } #ui .gd-sk-max { color: #a87b15; letter-spacing: .5px; }
#ui .btn.gd-btn.gd-sk-up { flex: none; min-width: 44px; height: 34px; min-height: 34px; padding: 0 12px; font-size: 18px; line-height: 1; }
/* 상점 */
#ui .gd-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
#ui .gd-cell { position: relative; display: flex; flex-direction: column; align-items: center; height: 104px; padding: 4px; border: 6px solid transparent; border-image: url(assets/hud/slot.webp) 72 fill / 6px stretch; }
#ui .gd-cell.sold { opacity: .45; } #ui .gd-cell-chips { display: flex; justify-content: space-between; width: 100%; height: 18px; }
#ui .gd-cell-ico { width: 34px; height: 34px; object-fit: contain; image-rendering: pixelated; } #ui .gd-cell-ico.sm { width: 30px; height: 30px; }
#ui .gd-cell-name { flex: 1; width: 100%; text-align: center; font-size: 10px; line-height: 12px; overflow: hidden; }
#ui .btn.gd-btn.gd-cell-buy { width: 100%; min-height: 24px; padding: 0; } #ui .btn.gd-btn.gd-cell-buy.off { filter: none; opacity: 1; border-color: #d9c4a3; background: #f1e6d2; color: #b0492f; }
#ui .gd-cell-sold { font-size: 11px; color: #8b7a62; line-height: 24px; }
#ui .gd-taxbar { display: flex; align-items: center; gap: 10px; height: 34px; margin-top: 6px; padding: 0 4px 0 12px; border-radius: 6px; background: #00000012; font-size: 11px; color: #6f6146; }
#ui .gd-taxbar b { margin-left: auto; font-size: 12px; } #ui .gd-taxbar .btn.gd-btn { min-height: 26px; }
/* 랭킹 · 찾기 */
#ui .gd-rank-no { flex: none; width: 24px; text-align: center; font-size: 14px; font-weight: 800; color: #8b7a62; }
#ui .gd-row.medal1 .gd-rank-no { color: #c9961e; } #ui .gd-row.medal2 .gd-rank-no { color: #7f8c94; } #ui .gd-row.medal3 .gd-rank-no { color: #b0703a; }
#ui .gd-rank-icon { flex: none; display: grid; place-items: center; width: 30px; }
#ui .gd-rank-pts { flex: none; display: flex; flex-direction: column; align-items: flex-end; font-size: 11px; } #ui .gd-rank-pts small { color: #a59a88; font-size: 10px; }
#ui .gd-search { display: flex; gap: 6px; margin: 4px 0 8px; } #ui .gd-search .gd-field { flex: 1; min-width: 0; }   /* 입력칸 = 남은 폭 고정(글자 길이와 무관, 10-19) */ #ui .gd-find-right { flex: none; font-size: 11px; color: #8b7a62; }
/* 딸린 창 */
#ui .popup.gd-sub { display: flex; flex-direction: column; } #ui .gd-panel { flex: 1; min-height: 0; overflow-y: auto; margin-top: 10px; padding: 6px; border-radius: 6px; background: #00000010; box-shadow: inset 0 0 0 1px #00000022; }
#ui .popup.gjr { width: 520px; height: 400px; } #ui .popup.ginfo { width: 520px; height: 430px; } #ui .popup.gpost { width: 520px; height: 400px; } #ui .popup.gcreate { width: 620px; height: 430px; } #ui .popup.greward { width: 480px; height: 400px; }
#ui .ginfo-body { flex: 1; min-height: 0; display: flex; flex-direction: column; } #ui .ginfo-sum { display: flex; gap: 10px; margin-top: 8px; height: 34px; } #ui .ginfo-sum .gd-btn { height: 34px; }
#ui .ginfo-pts { flex: 1; display: flex; align-items: center; gap: 18px; padding: 0 12px; } #ui .ginfo-pts .gd-stat span { width: 68px; } #ui .ginfo-list { margin-top: 8px; }
/* guild-1118 길드 소개: 정보 창 = 요약 아래 카드(줄바꿈 그대로 · 4줄 넘으면 칸 안 스크롤) · 찾기 줄 = 이름 옆 칩 + 둘째 줄 한 줄 미리보기 · 글쓰기 창 소개 모드 = 낮은 창 */
#ui .ginfo-desc { flex: none; margin-top: 8px; padding: 7px 12px; font-size: 12px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; max-height: 84px; overflow-y: auto; }
#ui .gd-find-line b { flex: 0 1 auto; } #ui .gd-find-desc { max-width: 100%; }
#ui .gd-card.desc .gd-desc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; } #ui .gd-card.desc .gd-desc-top .gd-headline { margin: 0; }
#ui .gd-desc-text { margin: 4px 0 0; font-size: 12px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
#ui .popup.gwrite.desc { width: 420px; height: auto; } #ui .popup.gwrite.desc .gwrite-body .gd-area { flex: none; height: 96px; }
#ui .gpost-head { height: auto; min-height: 30px; } #ui .gpost-title { font-size: 15px !important; line-height: 18px; max-height: 36px; white-space: normal !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#ui .gpost-by { margin-top: 6px; font-size: 11px; color: #a59a88; } #ui .gpost-text { white-space: pre-wrap; font-size: 12px; line-height: 15px; padding: 10px 12px; } #ui .gpost-foot { display: flex; justify-content: flex-end; margin-top: 8px; } #ui .gpost-foot:empty { display: none; }
#ui .gcreate-body { flex: 1; min-height: 0; margin-top: 8px; } #ui .gc-left { flex: none; width: 196px; display: flex; flex-direction: column; } #ui .gc-right { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#ui .gc-preview { height: 148px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; } #ui .gc-preview b { max-width: 100%; font-size: 14px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* 이름이 길어도 한 줄(문장 자리가 흔들리지 않게) */
#ui .gc-label { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 4px; font-size: 11px; color: #8b7a62; } #ui .gc-label b { font-size: 12px; }
#ui .gc-name { height: 34px; text-align: center; } #ui .gc-have { text-align: right; font-size: 11px; color: #a59a88; }
#ui .gc-notice { flex: 1; display: flex; align-items: flex-end; justify-content: center; text-align: center; font-size: 11px; color: #8b7a62; padding-bottom: 6px; } #ui .gc-notice.warn { color: #c0503a; }
#ui .gc-go { width: 100%; min-height: 40px; font-size: 14px; }
#ui .greward-hint { margin-top: 8px; font-size: 11px; color: #a59a88; } #ui .gr-range { flex: none; width: 88px; font-size: 14px; font-weight: 800; }
#ui .guild-invite.second { top: 150px; }
#ui .gd-find-sub { margin: 2px 2px 6px; font-size: 15px; font-weight: 800; color: var(--ink, #f2f0e7); text-shadow: 0 1px 2px #000a; }   /* guildrec-1120/2: "추천 길드" 소제목 = 창 글자색(--ink) · 제목 15 (형창님 "너무 흐리다") */
/* 길드 대항전(community-1018) — EFZ scr_guild_view_war(탭: 오늘 도전 · [방 만들기 88][방목록 78] · 출전 파티 4칸 · 인원 · n vs n · [빠른 매칭 180×34]) · scr_guild_view_war_rooms(줄 58)
   · scr_guild_war_matching_hud_draw(파티 칸 위 숨쉬는 띠) · scr_guild_war_draw_hud(위 가운데 두 줄) · scr_guild_war_result_banner_draw(암전 .55 + 띠 148 이 0.35초에 열림 · 글자 2.6→1.8배 · 마지막 0.9초 사라짐) */
#ui .gw { display: flex; flex-direction: column; height: 100%; min-height: 0; }
#ui .gw-top { flex: none; display: flex; align-items: center; gap: 6px; height: 28px; }
#ui .gw-daily { display: inline-flex; align-items: baseline; gap: 12px; padding-left: 4px; font-size: 12px; font-weight: 800; color: #8b7a62; }
#ui .gw-daily b { font-size: 13px; color: var(--ink, #3b2f22); } #ui .gw-daily b.warn { color: #c0503a; }
#ui .gw .gd-headline { margin: 6px 0 4px; }
#ui .gw-slots { flex: 1; min-height: 96px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
#ui .gw-slot { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 1px; padding-bottom: 2px;
  border: 6px solid transparent; border-image: url(assets/hud/slot.webp) 72 fill / 6px stretch; }
#ui .gw-slot .gw-pv { position: absolute; left: 2px; top: 2px; width: calc(100% - 4px); height: calc(100% - 36px); }   /* 캐릭터 칸(그림 자리 img 위에 같은 상자 canvas.live — 가방 미리보기와 같은 식) */
#ui .gw-slot.ghost::before { content: ""; position: absolute; left: 50%; bottom: 40px; width: 30px; height: 46px; transform: translateX(-50%); opacity: .22;
  background: radial-gradient(circle at 50% 9px, #6f7371 8px, transparent 9px), linear-gradient(#6f7371, #6f7371) 50% 100% / 26px 30px no-repeat; border-radius: 8px 8px 4px 4px; }
#ui .gw-slot b { max-width: 100%; font-size: 12px; font-weight: 800; color: var(--ink, #3b2f22); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ui .gw-slot b.blocked { color: #d0463a; }
#ui .gw-slot small { font-size: 11px; font-weight: 800; } #ui .gw-slot small.good { color: #3d9c4c; } #ui .gw-slot small.warn { color: #c0503a; }
#ui .gw-slot.empty { justify-content: center; } #ui .gw-slot.empty span { font-size: 11px; color: #a59a88; opacity: .7; }
#ui .gw-bottom { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; padding-top: 2px; }
#ui .gw-msg { min-height: 14px; margin: 0; font-size: 11px; font-weight: 800; color: #c0503a; }
#ui .gw-count { font-size: 11px; color: #8b7a62; }
#ui .gw-vs { font-size: 16px; font-weight: 900; color: #a87b15; }
#ui .gw-go { position: relative; width: 100%; display: flex; justify-content: center; margin-top: 3px; }
#ui .btn.gd-btn.gw-quick { width: 180px; min-height: 34px; font-size: 13px; }
#ui .gw-go .gw-cancel { position: absolute; right: 0; top: 4px; }
#ui .gd-row.gw-room .gd-row-main { gap: 1px; }
#ui .gw-mismatch { flex: none; padding-right: 6px; font-weight: 800; }

#hud.gw-arena .respawn { display: none !important; }
/* 길드 마크(문장 v2, 17h-guild-emblem) — 그림은 canvas(래스터 합성), 여기는 칸 배치만. 편집기 = 왼쪽 미리보기 112 + 44 · 24 + [무작위] / 오른쪽 탭 · 칸 · 색 그래프(채도 · 명도 판 + 색상 띠, 10-19 "팔레트 말고 그래프") */
#ui .gd-emb { display: block; flex: none; }
#ui .gd-icon .gd-emb { margin: -2px; }
#ui .gd-iconedit { display: flex; flex-direction: column; gap: 6px; height: 100%; }
#ui .gd-icon-foot { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
#ui .gd-icon-foot p { margin: 0 auto 0 4px; font-size: 12px; font-weight: 800; } #ui .gd-icon-foot small { font-size: 11px; color: #8b7a62; }
#ui .em-editor { flex: 1; min-height: 0; display: flex; gap: 10px; }
#ui .em-left { flex: none; width: 124px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 4px; border-radius: 6px;
  background: radial-gradient(circle at 50% 38%, #fffaf0, #f1e4c8 70%); box-shadow: inset 0 0 0 1px #0000001c; }
#ui .em-big { filter: drop-shadow(0 2px 2px #0003); animation: em-pop .28s cubic-bezier(.2, 1.4, .4, 1) both; }
#ui .em-mini { display: flex; align-items: flex-end; gap: 8px; }
#ui .btn.gd-btn.em-rand { width: 100%; }
#ui .em-right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
#ui .em-tabs { flex: none; display: flex; gap: 4px; }
#ui .em-tab { flex: 1; height: 26px; border-radius: 5px; font-size: 12px; font-weight: 800; color: #8b7a62; background: #00000010; box-shadow: inset 0 0 0 1px #0000001c; }
#ui .em-tab.on { color: var(--ink, #3b2f22); background: #fff6e1; box-shadow: inset 0 0 0 1px #c9961e; }
#ui .em-grid { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 5px; align-content: start; padding: 2px; }
#ui .em-grid.symbol { grid-template-columns: repeat(9, 1fr); }   /* 상징 36 = 9 x 4(동물 · 무기 · 자연 · 단순 도형) */
#ui .em-editor.compact .em-tabs .em-rand { flex: none; width: 64px; }
#ui .em-cell { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 6px; background: #00000010; box-shadow: inset 0 0 0 1px #00000024; transition: transform .08s; }
#ui .em-cell:active { transform: scale(.92); }
#ui .em-cell.on { background: #fff6e1; box-shadow: inset 0 0 0 2px #c9961e; }
#ui .em-cell.locked .gd-emb { filter: grayscale(1) brightness(.85); opacity: .55; }
#ui .em-cell.locked i { position: absolute; left: 0; right: 0; bottom: 2px; font-style: normal; font-size: 10px; font-weight: 800; color: #8b4a3a; text-align: center; }
#ui .em-hsv { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) 30px; grid-template-rows: 50px 14px; gap: 6px 8px; padding: 0 2px 2px; }
#ui .em-sv { position: relative; border-radius: 5px; background: linear-gradient(to top, #000, #0000), linear-gradient(to right, #fff, var(--hue)); box-shadow: inset 0 0 0 1px #0000004d; touch-action: none; cursor: crosshair; }
#ui .em-hue { position: relative; grid-row: 2; border-radius: 7px; background: linear-gradient(to right, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); box-shadow: inset 0 0 0 1px #0000004d; touch-action: none; cursor: ew-resize; }
#ui .em-sv i, #ui .em-hue i { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #0009, inset 0 0 0 1px #0006; pointer-events: none; }
#ui .em-hue i { top: 50%; }
#ui .em-cur { grid-row: 1 / 3; grid-column: 2; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px #0000004d, inset 0 -4px 0 #0000002a; }
#ui .em-note { flex: none; margin: 0; padding: 4px 0; font-size: 11px; color: #8b7a62; text-align: center; }
#ui .gc-right .em-editor { height: 100%; }
@keyframes em-pop { from { transform: scale(.82); } }
/* 길드 대항전 연출 v5(17i-guild-war-fx) — 참고작 도깨비의세계(사용자 10-19 선택: 2026-10 구글 인기 1위 · 매출 2위, 2D 도트 + 3D 배경) 문법:
   짙은 반투명 띠(양 끝 흐림) · 위아래 얇은 금선 · 제목 양옆 장식선 · 명조 제목(GwTitle = Noto Serif KR Black 부분집합, canvas) · 얇은 금 고리 안 마크 · 크림 판 + ◆.
   장식 문양은 중세 문장(백합 문장 · 아칸서스 덩굴 · 마름모 — 사용자 10-19 "구름은 너무 무협지, 중세느낌의 패턴문양으로"): 띠 안 옅은 다마스크 · 결과 띠 아랫선 메달.
   그림 = Codex v5(pips · petals · search) · v6(orn-line · emb-ring · damask · medal) + 빛(ring · flare · sunburst). 움직임 = 레퍼런스 실측(Clash Royale · Fall Guys · Wild Rift) 시각.
   무대: .gwfx = 화면 전체(폭 --hw) · .gwfx-c = 가운데 800×450 상자 — 폰 가로(--hw ≈ 1000)에서도 가운데. transform · opacity 만 움직인다.
   이징: 팝 cubic-bezier(.34,1.56,.64,1) · 미끄러짐 (.16,1,.3,1) · 퇴장 (.36,0,.66,-.56). */
@font-face { font-family: "GwTitle"; src: url("ui/fonts/GwTitle.woff2") format("woff2"); font-display: block; }
#ui .gwfx { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; --gold: #e9c47c; --cream: #f6ead2; }
#ui .gwfx [hidden] { display: none !important; }
#ui .gwfx-c { position: absolute; left: 50%; top: 0; width: 800px; height: 450px; margin-left: -400px; }
/* 화면 맞춤(uifit2-1110): .gwfx = 무대 전체(막 · 비네트가 450 에서 끊기지 않게). 450 판에 그린 띠 · 가운데 상자는 무대가 450 보다 긴 화면(채움 모드)에서 가운데로(+ --dy/2, windows-js layout). 위 시계 막대(.gwfx-hud)는 위 그대로 */
#ui .gwfx-c, #ui .gwfx-band, #ui .gwfx-sband, #ui .gwfx-gband, #ui .gwfx-rband { margin-top: calc(var(--dy, 0px) / 2); }
#ui .gwfx canvas { display: block; }
#ui .gwfx b, #ui .gwfx small, #ui .gwfx p { font-style: normal; }
/* 띠: 짙은 반투명(양 끝 흐림) + 위아래 금선(가운데 진함) */
#ui .gwfx-sband, #ui .gwfx-gband, #ui .gwfx-rband, #ui .gwfx-sd { position: absolute; left: 0; right: 0; background: linear-gradient(90deg, transparent, rgba(20, 15, 11, .9) 22%, rgba(20, 15, 11, .9) 78%, transparent); }
#ui .gwfx-gl { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 6%, rgba(233, 196, 124, .25) 22%, var(--gold) 50%, rgba(233, 196, 124, .25) 78%, transparent 94%); }
#ui .gwfx-gl.t { top: 0; } #ui .gwfx-gl.b { bottom: 0; }
#ui .gwfx-sband::before, #ui .gwfx-gband::before, #ui .gwfx-rband::before { content: ''; position: absolute; left: 0; right: 0; top: 12px; bottom: 12px; opacity: .13;   /* 옅은 다마스크(가로로 이어짐) */
  background: url(ui/art/gw/damask.webp) center / auto 100% repeat-x; -webkit-mask: linear-gradient(90deg, transparent 12%, #000 34%, #000 66%, transparent 88%); mask: linear-gradient(90deg, transparent 12%, #000 34%, #000 66%, transparent 88%); }
#ui .gwfx-result.lose .gwfx-rband::before, #ui .gwfx-result.cancel .gwfx-rband::before { filter: grayscale(1); opacity: .09; }
/* 제목 줄: 장식선 · 글자(canvas) · 장식선 — 오른쪽은 안쪽 그림만 뒤집는다(상자째 뒤집으면 글자 쪽으로 넘어가 가려졌다). 펼침은 글자 쪽 끝에서 바깥으로 */
#ui .gwfx-title { position: absolute; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 6px; }
#ui .gwfx-orn { position: relative; width: 150px; height: 26px; flex: none; }
#ui .gwfx-orn::before { content: ''; position: absolute; inset: 0; background: url(ui/art/gw/orn-line.webp) center / contain no-repeat; }
#ui .gwfx-orn.r::before { transform: scaleX(-1); }
#ui .gwfx-orn.l { transform-origin: 100% 50%; } #ui .gwfx-orn.r { transform-origin: 0 50%; }
#ui .gwfx-ch { margin: 0 calc(2px - var(--pad, 0px)); }   /* 글자 canvas 마다 빛 여백(pad)이 있어 낱자 사이가 벌어졌다 — 여백만큼 겹친다 */
/* 마크 고리: 금 고리 안에 길드 마크(canvas.gd-emb) */
#ui .gwfx-emb { position: relative; display: grid; place-items: center; }

/* ---- 매칭 알약(아래 가운데, 파티 칸 위) */
#ui .gwfx-band { position: absolute; left: 50%; top: 306px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 16px 0 6px;
  border-radius: 15px; background: rgba(20, 15, 11, .88); box-shadow: inset 0 0 0 1px rgba(233, 196, 124, .55), 0 3px 10px #0007; white-space: nowrap; animation: gwfx-up .32s cubic-bezier(.34, 1.56, .64, 1) both; }
#ui .gwfx-ring { width: 24px; height: 24px; background: url(ui/art/gw/search.webp) center / contain no-repeat; animation: gwfx-spin 1.6s linear infinite; }
#ui .gwfx-band b { font-size: 12px; font-weight: 800; color: var(--cream); } #ui .gwfx-band small { font-size: 11px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
/* gwcancel-1125(주호님 "저 팝업의 취소 버튼도 있어야 하지 않음?"): 기다리는 동안 팀 대표에게 띠 오른쪽 [취소] — 길드 창 [취소]와 같은 명령.
   띠 34(알약 26 + 위아래 4) · 단추 알약 26 · 누름 칸 = ::before 로 34 높이(hq-ui 누름 34) · 빨강 낮은 톤 = 채팅 창 거절 알약(.mp-fr [data-danger]) 결 */
#ui .gwfx-band.can { height: 34px; padding-right: 4px; border-radius: 17px; }
#ui .gwfx-cancel { position: relative; flex: none; min-width: 52px; height: 26px; margin-left: 4px; padding: 0 12px; border: 0; border-radius: 13px; background: rgba(166, 70, 70, .32); pointer-events: auto;
  box-shadow: inset 0 0 0 1px rgba(214, 112, 98, .62); color: #f2b4a8; font-family: inherit; font-size: 12px; font-weight: 800; line-height: 26px; cursor: pointer; transition: transform .08s, background .12s; }
#ui .gwfx-cancel::before { content: ""; position: absolute; inset: -4px; }
#ui .gwfx-cancel:active { transform: scale(.93); background: rgba(166, 70, 70, .5); }
#ui .gwfx-cancel.off { opacity: .5; pointer-events: none; }

/* ---- 상대 찾음: 띠 + 두 길드 + VS + 3 · 2 · 1 */
#ui .gwfx-splash { position: absolute; inset: 0; }
#ui .gwfx-flash { position: absolute; inset: 0; background: #fff6e0; opacity: 0; }
#ui .gwfx-dim { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 46%, rgba(8, 6, 5, .45), rgba(8, 6, 5, .78) 75%); opacity: 0; }
#ui .gwfx-sband { top: 118px; height: 176px; opacity: 0; }
#ui .gwfx-team { position: absolute; top: 118px; width: 330px; height: 176px; display: flex; align-items: center; gap: 14px; opacity: 0; }
#ui .gwfx-team.l { left: 34px; } #ui .gwfx-team.r { right: 34px; flex-direction: row-reverse; text-align: right; }
#ui .gwfx-team .gwfx-emb { width: 70px; height: 70px; flex: none; }
#ui .gwfx-team .gwfx-emb::before { content: ''; position: absolute; inset: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(92, 146, 255, .38), transparent 68%); }
#ui .gwfx-team.r .gwfx-emb::before { background: radial-gradient(circle, rgba(255, 108, 88, .38), transparent 68%); }
#ui .gwfx-tx { position: relative; min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; padding-bottom: 8px; }
#ui .gwfx-tx::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 1px; background: linear-gradient(90deg, #6f9dff, rgba(111, 157, 255, 0)); }
#ui .gwfx-team.r .gwfx-tx::after { background: linear-gradient(270deg, #ff8068, rgba(255, 128, 104, 0)); }
#ui .gwfx-tx b { font-size: 19px; font-weight: 900; color: var(--cream); text-shadow: 0 1px 0 #000, 0 0 8px #000c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ui .gwfx-tx small { font-size: 11px; font-weight: 700; color: #cbbfa6; text-shadow: 0 1px 0 #000; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ui .gwfx-shock { position: absolute; left: 245px; top: 51px; width: 310px; height: 310px; background: url(ui/art/gw/ring.webp) center / contain no-repeat; opacity: 0; }   /* 가운데 (400, 206) */
#ui .gwfx-vswrap { position: absolute; left: 300px; top: 156px; width: 200px; height: 100px; display: grid; place-items: center; opacity: 0; }
#ui .gwfx-dwrap { position: absolute; left: 330px; top: 306px; width: 140px; height: 120px; display: grid; place-items: center; opacity: 0; }
#ui .gwfx-dring { position: absolute; left: -10px; top: -20px; width: 160px; height: 160px; background: url(ui/art/gw/ring.webp) center / contain no-repeat; opacity: 0; }
#ui .gwfx-sparks { position: absolute; left: 400px; top: 206px; width: 0; height: 0; }
#ui .gwfx-splash.play .gwfx-flash { animation: gwfx-flash .12s ease-out both; }
#ui .gwfx-splash.play .gwfx-dim { animation: gwfx-in .2s .04s ease-out both; }
#ui .gwfx-splash.play .gwfx-sband { animation: gwfx-bandin .26s .06s cubic-bezier(.16, 1, .3, 1) both; }
#ui .gwfx-splash.play .gwfx-gl { animation: gwfx-line .42s .1s cubic-bezier(.16, 1, .3, 1) both; }
#ui .gwfx-splash.play .gwfx-team.l { animation: gwfx-from-l .3s .12s cubic-bezier(.16, 1, .3, 1) both; }
#ui .gwfx-splash.play .gwfx-team.r { animation: gwfx-from-r .3s .18s cubic-bezier(.16, 1, .3, 1) both; }
#ui .gwfx-splash.play .gwfx-tx small { animation: gwfx-in .3s .6s ease-out both; }
#ui .gwfx-splash.play .gwfx-vswrap { animation: gwfx-slam .32s .38s cubic-bezier(.34, 1.56, .64, 1) both; }
#ui .gwfx-splash.play .gwfx-shock { animation: gwfx-shock .55s .4s ease-out both; }
#ui .gwfx-splash.play .gwfx-p.sparks { animation: gwfx-spark .6s calc(.4s + var(--d) * .3) cubic-bezier(.16, 1, .3, 1) both; }
#ui .gwfx-dwrap.pop { animation: gwfx-digit 1s cubic-bezier(.34, 1.56, .64, 1) both; } #ui .gwfx-dwrap.pop .gwfx-dring { animation: gwfx-shock .5s ease-out both; }
#ui .gwfx-splash.out { animation: gwfx-out .18s ease-in forwards; }

/* ---- 전투 시작 */
#ui .gwfx-go { position: absolute; inset: 0; }
#ui .gwfx-gband { top: 132px; height: 104px; }
#ui .gwfx-flare { position: absolute; left: -60px; top: 134px; width: 920px; height: 100px; background: url(ui/art/gw/flare.webp) center / 100% 100% no-repeat; opacity: 0; }
#ui .gwfx-go .gwfx-shock { left: 255px; top: 39px; width: 290px; height: 290px; }
#ui .gwfx-go .gwfx-title { top: 132px; height: 104px; }
#ui .gwfx-go.play .gwfx-gband { animation: gwfx-bandin .22s cubic-bezier(.16, 1, .3, 1) both, gwfx-out .25s .85s ease-in forwards; }
#ui .gwfx-go.play .gwfx-gl { animation: gwfx-line .36s .04s cubic-bezier(.16, 1, .3, 1) both; }
#ui .gwfx-go.play .gwfx-flare { animation: gwfx-flare .7s .05s cubic-bezier(.16, 1, .3, 1) both; }
#ui .gwfx-go.play .gwfx-shock { animation: gwfx-shock .5s .05s ease-out both; }
#ui .gwfx-go.play .gwfx-gotext { animation: gwfx-go 1.05s cubic-bezier(.34, 1.56, .64, 1) both; }
#ui .gwfx-go.play .gwfx-orn { animation: gwfx-orn .4s .12s cubic-bezier(.16, 1, .3, 1) both, gwfx-out .25s .85s ease-in forwards; }

/* ---- 아레나 HUD(위 가운데 반투명 알약) */
#ui .gwfx-hud { position: absolute; left: 50%; top: 86px; width: 340px; height: 44px; margin-left: -170px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px;
  border-radius: 22px; background: rgba(20, 15, 11, .86); box-shadow: inset 0 0 0 1px rgba(233, 196, 124, .5), 0 3px 10px #0007; }
#ui .gwfx-hud::before, #ui .gwfx-hud::after { content: ''; position: absolute; bottom: 5px; width: 104px; height: 2px; border-radius: 1px; }
#ui .gwfx-hud::before { left: 52px; background: linear-gradient(90deg, rgba(111, 157, 255, 0), #6f9dff); } #ui .gwfx-hud::after { right: 52px; background: linear-gradient(270deg, rgba(255, 128, 104, 0), #ff8068); }
#ui .gwfx-hud.enter { animation: gwfx-drop .45s cubic-bezier(.34, 1.56, .64, 1) both; }
#ui .gwfx-hud.gone { animation: gwfx-out .25s ease-in forwards; }   /* 결과가 뜨면 막대는 빠진다 */
#ui .gwfx-side { display: flex; align-items: center; gap: 8px; } #ui .gwfx-side.r { flex-direction: row; }
#ui .gwfx-hud .gwfx-emb { width: 30px; height: 30px; }
#ui .gwfx-marks { width: 92px; display: flex; justify-content: center; gap: 3px; }
#ui .gwfx-mark { width: 18px; height: 18px; background: url(ui/art/gw/pips.webp) 0 0 / 300% 100% no-repeat; }
#ui .gwfx-mark.red { background-position: 50% 0; } #ui .gwfx-mark.ko { background-position: 100% 0; }
#ui .gwfx-mark.pop { animation: gwfx-ko .35s cubic-bezier(.34, 1.56, .64, 1) both; }
#ui .gwfx-time { min-width: 52px; text-align: center; font-size: 16px; font-weight: 900; color: var(--cream); letter-spacing: .5px; font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 #000, 0 0 8px rgba(233, 196, 124, .45); }
#ui .gwfx-time.sudden { color: #ff9a80; animation: gwfx-pulse .5s ease-in-out infinite; }
#ui .gwfx-popwrap { position: absolute; left: -120px; right: -120px; top: 48px; display: flex; justify-content: center; opacity: 0; }
#ui .gwfx-popwrap.play { animation: gwfx-call 1.4s cubic-bezier(.34, 1.56, .64, 1) both; }
#ui .gwfx-sd { left: -280px; right: -280px; top: 58px; height: 58px; display: flex; justify-content: center; align-items: center; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(46, 10, 6, .9) 22%, rgba(46, 10, 6, .9) 78%, transparent); box-shadow: inset 0 1px 0 rgba(255, 128, 104, .55), inset 0 -1px 0 rgba(255, 128, 104, .55); }
#ui .gwfx-sd.play { animation: gwfx-sd 1.6s cubic-bezier(.16, 1, .3, 1) both; }
#ui .gwfx-vignette { position: absolute; inset: 0; box-shadow: inset 0 0 90px 30px rgba(196, 52, 34, .9); animation: gwfx-vig 1s ease-in-out infinite; }

/* ---- 결과: 띠 + 마크 고리 + 명조 제목(◇◆ 선) + 대진 + 크림 판(◆ 길드 포인트 ◆) + 금빛 티끌 · 매화 꽃잎 / 재 */
#ui .gwfx-result { position: absolute; inset: 0; }
#ui .gwfx-rdim { position: absolute; inset: 0; background: rgba(8, 6, 5, .62); opacity: 0; }
#ui .gwfx-result.lose .gwfx-rdim, #ui .gwfx-result.cancel .gwfx-rdim { background: rgba(6, 8, 12, .7); }
#ui .gwfx-rband { top: 148px; height: 186px; opacity: 0; }
#ui .gwfx-result.lose .gwfx-rband, #ui .gwfx-result.cancel .gwfx-rband { background: linear-gradient(90deg, transparent, rgba(12, 14, 20, .92) 22%, rgba(12, 14, 20, .92) 78%, transparent); }
#ui .gwfx-result.lose .gwfx-gl, #ui .gwfx-result.cancel .gwfx-gl { background: linear-gradient(90deg, transparent 6%, rgba(176, 186, 206, .2) 22%, #b0bace 50%, rgba(176, 186, 206, .2) 78%, transparent 94%); }
#ui .gwfx-sun { position: absolute; left: 160px; top: -20px; width: 480px; height: 480px; background: url(ui/art/gw/sunburst.webp) center / contain no-repeat; opacity: 0; }   /* 가운데 (400, 220) */
#ui .gwfx-remb { position: absolute; left: 358px; top: 106px; width: 84px; height: 84px; display: grid; place-items: center; opacity: 0; }   /* 띠 윗선에 걸침 */
#ui .gwfx-result .gwfx-title { top: 196px; height: 70px; }
#ui .gwfx-medal { position: absolute; left: 320px; top: 319px; width: 160px; height: 30px; background: url(ui/art/gw/medal.webp) center / contain no-repeat; opacity: 0; }   /* 띠 아랫선 가운데 */
#ui .gwfx-result.lose .gwfx-medal, #ui .gwfx-result.cancel .gwfx-medal { filter: grayscale(1) brightness(1.1); }
#ui .gwfx-word { display: flex; align-items: center; gap: 2px; }
#ui .gwfx-sp { width: 16px; }
#ui .gwfx-result.lose .gwfx-orn, #ui .gwfx-result.cancel .gwfx-orn { filter: grayscale(1) brightness(1.15); }
#ui .gwfx-rvs { position: absolute; left: 0; right: 0; top: 266px; margin: 0; text-align: center; white-space: pre; font-size: 13px; font-weight: 800; color: #d9cdb4; text-shadow: 0 1px 0 #000; opacity: 0; }
#ui .gwfx-rpts { position: absolute; left: 50%; top: 292px; height: 28px; transform: translateX(-50%); margin: 0; padding: 0 14px; display: flex; align-items: center; white-space: nowrap; border-radius: 4px;
  font-size: 14px; font-weight: 900; color: #3a2614; background: linear-gradient(#f8eedb, #e6d3ae); box-shadow: inset 0 0 0 1px #6b4a26, inset 0 0 0 3px rgba(248, 238, 219, .9), inset 0 0 0 4px rgba(184, 135, 59, .7), 0 2px 8px #0008; }
#ui .gwfx-rpts:empty { display: none; }
#ui .gwfx-rpts.done { animation: gwfx-bump .25s cubic-bezier(.34, 1.56, .64, 1) both; }
#ui .gwfx-parts { position: absolute; left: 400px; top: 200px; width: 0; height: 0; }
#ui .gwfx-p { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; background: url(ui/art/gw/petals.webp) calc(var(--k) * 100% / 7) 0 / 800% 100% no-repeat; opacity: 0; }
#ui .gwfx-result.play .gwfx-rdim { animation: gwfx-in .3s ease-out both; }
#ui .gwfx-result.play .gwfx-rband { animation: gwfx-bandin .3s .08s cubic-bezier(.16, 1, .3, 1) both; }
#ui .gwfx-result.play .gwfx-gl { animation: gwfx-line .5s .12s cubic-bezier(.16, 1, .3, 1) both; }
#ui .gwfx-result.win.play .gwfx-sun { animation: gwfx-sun .6s .25s ease-out both, gwfx-spin 30s linear infinite; }
#ui .gwfx-result.play .gwfx-remb { animation: gwfx-land .45s .3s cubic-bezier(.34, 1.56, .64, 1) both; }
#ui .gwfx-result.lose.play .gwfx-remb, #ui .gwfx-result.cancel.play .gwfx-remb { animation: gwfx-thud .5s .3s cubic-bezier(.36, 0, .66, -.3) both; filter: grayscale(.7) brightness(.8); }
#ui .gwfx-result.play .gwfx-ch { animation: gwfx-letter .42s calc(.48s + var(--i) * .07s) cubic-bezier(.16, 1, .3, 1) both; }
#ui .gwfx-result.play .gwfx-orn { animation: gwfx-orn .5s .62s cubic-bezier(.16, 1, .3, 1) both; }
#ui .gwfx-result.play .gwfx-medal { animation: gwfx-land .4s .55s cubic-bezier(.34, 1.56, .64, 1) both; }
#ui .gwfx-result.play .gwfx-rvs { animation: gwfx-in .3s 1s ease-out both; }
#ui .gwfx-result.play .gwfx-rpts { animation: gwfx-plate .35s 1.3s cubic-bezier(.34, 1.56, .64, 1) both; }
#ui .gwfx-result.win.play .gwfx-p { animation: gwfx-petal 3.2s calc(.45s + var(--d) * 1.6) linear both; }
#ui .gwfx-result.lose.play .gwfx-p, #ui .gwfx-result.cancel.play .gwfx-p { animation: gwfx-ash 3.4s calc(.5s + var(--d) * 1.6) linear both; }
#ui .gwfx-result.out { animation: gwfx-out .9s ease-in forwards; }

@keyframes gwfx-spin { to { transform: rotate(360deg); } }
@keyframes gwfx-up { from { transform: translateX(-50%) translateY(14px) scale(.9); opacity: 0; } }
@keyframes gwfx-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes gwfx-out { to { opacity: 0; } }
@keyframes gwfx-flash { 0% { opacity: 0; } 35% { opacity: .55; } 100% { opacity: 0; } }
@keyframes gwfx-bandin { from { transform: scaleY(.15); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes gwfx-line { from { transform: scaleX(0); } to { transform: none; } }
@keyframes gwfx-from-l { from { transform: translateX(-70px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes gwfx-from-r { from { transform: translateX(70px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes gwfx-slam { 0% { transform: scale(1.8); opacity: 0; } 55% { transform: scale(.92); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes gwfx-shock { 0% { transform: scale(.35); opacity: 0; } 20% { opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes gwfx-digit { 0% { transform: scale(.4); opacity: 0; } 10% { transform: scale(1.15); opacity: 1; } 20% { transform: scale(1); } 75% { transform: scale(1) rotate(0); opacity: 1; } 90% { transform: scale(.6) rotate(20deg); opacity: 0; } 100% { opacity: 0; } }
@keyframes gwfx-flare { 0% { transform: scaleX(.15); opacity: 0; } 25% { opacity: 1; } 100% { transform: scaleX(1.1); opacity: 0; } }
@keyframes gwfx-go { 0% { transform: scale(1.7); opacity: 0; } 18% { transform: scale(.96); opacity: 1; } 30% { transform: scale(1); } 78% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.12); opacity: 0; } }
@keyframes gwfx-orn { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes gwfx-drop { from { transform: translateY(-30px); opacity: 0; } }
@keyframes gwfx-ko { 0% { transform: scale(1.7); } 100% { transform: scale(1); } }
@keyframes gwfx-pulse { 50% { transform: scale(1.08); } }
@keyframes gwfx-call { 0% { transform: scale(1.3); opacity: 0; } 15% { transform: scale(1); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(-8px); opacity: 0; } }
@keyframes gwfx-sd { 0% { transform: scaleY(.1); opacity: 0; } 14% { transform: none; opacity: 1; } 80% { opacity: 1; } 100% { transform: scaleY(.6); opacity: 0; } }
@keyframes gwfx-vig { 0%, 100% { opacity: .15; } 50% { opacity: .35; } }
@keyframes gwfx-sun { from { opacity: 0; } to { opacity: .55; } }
@keyframes gwfx-land { 0% { transform: translateY(-36px) scale(1.25); opacity: 0; } 60% { transform: translateY(0) scale(.96); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes gwfx-thud { 0% { transform: translateY(-60px); opacity: 0; } 70% { transform: translateY(0) scale(1.06, .9); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes gwfx-letter { 0% { transform: translateY(14px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes gwfx-plate { 0% { transform: translateX(-50%) scale(.6); opacity: 0; } 100% { transform: translateX(-50%); opacity: 1; } }
@keyframes gwfx-bump { 50% { transform: translateX(-50%) scale(1.12); } 100% { transform: translateX(-50%); } }
@keyframes gwfx-spark { 0% { transform: translate(0, 0) scale(.4); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(calc(var(--x) * 170px), calc((var(--y) - .5) * 150px)) scale(var(--s)) rotate(var(--r)); opacity: 0; } }
@keyframes gwfx-petal { 0% { transform: translate(calc(var(--x) * 420px), -240px) rotate(0) scale(var(--s)); opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; }
  100% { transform: translate(calc(var(--x) * 420px + var(--y) * 90px - 45px), 260px) rotate(var(--r)) scale(var(--s)); opacity: 0; } }
@keyframes gwfx-ash { 0% { transform: translate(calc(var(--x) * 400px), -220px) rotate(0) scale(var(--s)); opacity: 0; } 15% { opacity: .85; } 85% { opacity: .85; }
  100% { transform: translate(calc(var(--x) * 400px + var(--y) * 40px - 20px), 250px) rotate(var(--r)) scale(var(--s)); opacity: 0; } }
/* 길드 창 다듬기(community-1018, 10-19 사용자 "길드마크가 다 깨져보임 · 지금 만든것처럼(대항전 연출 v6) 좀 퀄리티높게 UI 품질도좀 높여봐").
   나인패치 창 그림(panel · slot · button)은 그대로(10-17 "나인패치 디자인은 유지") — 대항전 연출과 같은 중세 금장식(ui/art/gw: emb-ring · medal)과 움직임만 더한다.
   마크 선명도 = 17h guildEmblem(canvas 해상도 = 크기 × UI 배율 × dpr — 전에는 UI 배율이 빠져 PC 1080p 에서 2.4배로 늘어나 깨졌다). */
/* 머리 마크: 어두운 네모 없이 문장만(밖 고리 없음 — 17h 공용 렌더러) */
#ui .gd-icon { position: relative; background: none; border-radius: 0; }
/* 머리 밑줄 가운데 메달(백합 문장 · 네잎 테) */
#ui .gd-head { position: relative; }
#ui .gd-head::after { content: ''; position: absolute; left: 50%; bottom: -10px; width: 104px; height: 18px; margin-left: -52px; background: url(ui/art/gw/medal.webp) center / contain no-repeat; pointer-events: none; filter: brightness(.8) saturate(1.3); }
/* 랭킹 1 · 2 · 3위 = 순위 숫자 색(13-guild). 마크 밖 고리는 뺐다 — 테두리는 문장 자신의 테(10-19 "테두리가 길드마크랑 상관없이 삐져나와있네") */
/* 창 만들기 미리보기: 큰 마크에 금 고리 */
#ui .gc-preview .gd-emb { filter: drop-shadow(0 2px 3px #0003); }
/* 움직임: 창이 처음 열릴 때(ui_fx .fx-intro 800ms) 줄이 차례로 · 마크가 살짝 튀며 · 탭을 바꾸면 내용이 살짝 떠오름 · 누름 */
#ui .dim.fx-intro .gd-row { animation: fx-cell .28s cubic-bezier(.2, .9, .3, 1.3) both; }
#ui .dim.fx-intro .gd-row:nth-child(1) { animation-delay: .12s; } #ui .dim.fx-intro .gd-row:nth-child(2) { animation-delay: .15s; } #ui .dim.fx-intro .gd-row:nth-child(3) { animation-delay: .18s; }
#ui .dim.fx-intro .gd-row:nth-child(4) { animation-delay: .21s; } #ui .dim.fx-intro .gd-row:nth-child(5) { animation-delay: .24s; } #ui .dim.fx-intro .gd-row:nth-child(6) { animation-delay: .27s; }
#ui .dim.fx-intro .gd-row:nth-child(7) { animation-delay: .3s; } #ui .dim.fx-intro .gd-row:nth-child(n+8) { animation-delay: .33s; }
#ui .dim.fx-intro .gd-emb.painted { animation: gd-emb-in .32s cubic-bezier(.34, 1.56, .64, 1) both; }
#ui .gd-body.gd-swap > * { animation: gd-swap .22s cubic-bezier(.2, .8, .3, 1) both; }
#ui .gd-row[data-row-guild] { transition: transform .08s ease-out, filter .12s; }
#ui .gd-row[data-row-guild]:active { transform: scale(.985); }
@media (hover: hover) { #ui .gd-row[data-row-guild]:hover { filter: brightness(1.04); } }
@keyframes gd-emb-in { from { transform: scale(.6); opacity: 0; } }
@keyframes gd-swap { from { transform: translateY(6px); opacity: 0; } }
/* ===== 길드 창 전체화면(2026-10-20 사용자 "랭킹이랑 길드ui도 경매장 구현했던것처럼 전체화면으로 변경해줘 고품질 ui 에 맞게 퀄리티 높여줘") =====
   본 창(guild-dim .popup.full.gd)만 — 딸린 창(가입 신청함 · 정보 · 게시물 · 글쓰기 · 창설 · 보상 = .gd-sub)은 작은 나인패치 창 그대로라 모든 줄을 .popup.full.gd 아래로 묶는다.
   판 · 머리 띠 · ‹ · 탭 알약 줄 · 단추 색 = 01-popup 전체화면 판(경매장 · 물품과 같은 값). 배치 = 도깨비의 세계 §11.6 문파 창(머리 = ‹ + 문장 + 흰 굵은 이름 + 칩 → 위 탭 알약 →
   왼쪽 세로 탭: 고른 탭 = 흰 베이지 둥근 네모 + 어두운 글자, 나머지 = 어두운 회색 반투명) · §8 목록 줄(어두운 반투명 둥근 줄 + 얇은 밝은 테) · §9 단추(글자 폭 알약 — 칸 · 판 폭으로 늘이지 않는다).
   글자색: 크림 판용 갈색(#8b7a62 · #a59a88 · #6f6146 · #8b8274)은 밝은 회색(--ink-soft), 금색 #a87b15 → #e8c979(01-popup 재화 금), 좋음 → 경매장 초록 #7fd88a, 경고 → 경매장 #ff9b85. 대항전 연출(13d · 17i)은 손대지 않는다. */
#ui .popup.full.gd { width: 100%; height: min(100%, 450px); }   /* 13-guild 의 660×430 고정 크기를 푼다 — 판 = 무대 전체 */
#ui .popup.full.gd > .popup-head > h2::before { -webkit-mask-image: url(assets/icons/menu-guild.png); mask-image: url(assets/icons/menu-guild.png); }   /* 비소속 = 메뉴 길드 흰 선 아이콘 */
#ui .popup.full.gd > .popup-head > .gd-icon:not([hidden]) + h2::before { display: none; }   /* 소속 = 길드 문장이 그 자리 */
#ui .popup.full.gd > .gd-head::after { display: none; }   /* 크림 판 밑줄 금 메달 — 어두운 머리 띠에는 없다 */
#ui .popup.full.gd > .gd-head h2 { flex: 1; font-size: 17px; }
#ui .popup.full.gd .gd-icon { width: 34px; height: 34px; margin: 0 2px 0 0; }
#ui .popup.full.gd .gd-chip { height: 20px; padding: 0 8px; border-radius: 10px; color: var(--ink-soft); background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .popup.full.gd .gd-chip.gold { color: #e8c979; box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .35); } #ui .popup.full.gd .gd-chip.accent { color: #d4d6d0; }
/* 위 탭 = 공용 알약 줄(.tabs/.tab, 01-popup) — 3개라 글자 폭 */
#ui .popup.full.gd .gd-tabs { height: 32px; margin: 0 0 10px; }
#ui .popup.full.gd .gd-tab { width: auto; min-width: 84px; font-size: 14px; font-weight: 800; }
#ui .popup.full.gd .gd-tab.on::after { display: none; }
/* 본문 = 왼쪽 세로 탭 + 내용 */
#ui .popup.full.gd .gd-main { gap: 12px; }
#ui .popup.full.gd .gd-rail { width: 124px; gap: 4px; margin: 0; padding: 6px; border-radius: 10px; background: rgba(0, 0, 0, .3); }
#ui .popup.full.gd .gd-side { flex: none; height: 36px; padding: 0 12px; border-radius: 8px; text-align: left; font-size: 12.5px; color: #a3a6a0; background: rgba(255, 255, 255, .06); box-shadow: none;
  transition: background .15s, color .15s, transform .08s ease-out; }
#ui .popup.full.gd .gd-side.on { color: #26221c; background: linear-gradient(#ece4d3, #c9bda6); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
#ui .popup.full.gd .gd-side.on::before { display: none; }
#ui .popup.full.gd :is(.gd-tab, .gd-side, .gd-subtab, .em-tab):not(.on):active { transform: scale(.95); }   /* 누름 반응 */
#ui .popup.full.gd .gd-body { padding: 0 4px 0 0; border-radius: 0; background: none; box-shadow: none; }
/* 거절 사유 = 아래 여백에 뜨는 알약(경매장 au-msg 와 같은 결 — 배치가 밀리지 않는다) */
#ui .popup.full.gd .gd-msg { position: absolute; left: 0; right: 0; bottom: 2px; z-index: 6; width: fit-content; max-width: 86%; margin: 0 auto; padding: 3px 14px; border-radius: 12px; color: #ff9b85;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: rgba(60, 20, 16, .92); box-shadow: inset 0 0 0 1.5px #b4664d, 0 3px 8px #0006; animation: fx-fade .2s ease-out both; }
#ui .popup.full.gd .gd-msg[hidden] { display: none; }
/* 글자색 */
#ui .popup.full.gd .muted, #ui .popup.full.gd .dim, #ui .popup.full.gd .gd-dim { color: var(--ink-soft); }
#ui .popup.full.gd .gold { color: #e8c979; } #ui .popup.full.gd .good { color: #7fd88a; } #ui .popup.full.gd .gd-warn { color: #ff9b85; }
#ui .popup.full.gd .gd-empty b { color: #c9ccc6; } #ui .popup.full.gd .gd-empty small { color: #7d817c; }
#ui .popup.full.gd .gd-empty-acts { margin-top: 12px; }
/* 단추 = 글자 폭 알약(w30 ~ w140 · gd-wide · gd-toggle · gw-quick · gd-cell-buy 고정 폭을 모두 푼다 — 10-20 "버튼 가로 크기가 길어지지 않게") */
#ui .popup.full.gd .btn.gd-btn { width: auto; min-width: 0; min-height: 28px; padding: 0 14px; border: 0; border-radius: 999px; background: linear-gradient(#ece4d3, #c9bda6); color: #2b261e;
  text-shadow: none; filter: none; opacity: 1; font-size: 12.5px; box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .35); }
#ui .popup.full.gd .btn.gd-btn.gold { background: linear-gradient(#83c3bf, #548f8c); color: #fff; }
#ui .popup.full.gd .btn.gd-btn.danger { background: linear-gradient(#a64646, #742c2c); color: #fff; }
#ui .popup.full.gd .btn.gd-btn:is(.plain, .ghost) { background: rgba(255, 255, 255, .12); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .popup.full.gd .btn.gd-btn.off { filter: grayscale(1); opacity: .45; }
#ui .popup.full.gd .btn.gd-btn.w30 { min-width: 30px; padding: 0 10px; }
#ui .popup.full.gd .gd-row .btn.gd-btn { min-height: 26px; padding: 0 12px; font-size: 12px; }
/* 길드 스킬 줄(guildskill-1125) — 어두운 판 색: 빈 눈금 = 밝은 테 칸(옛 #0000002a 는 어두운 판에서 안 보였다) · 찬 눈금 = 재화 금 · 0단계 값도 읽히는 밝은 회색 · 다음 = 경매장 초록 */
#ui .popup.full.gd .gd-row .btn.gd-btn.gd-sk-up { min-width: 44px; height: 34px; min-height: 34px; padding: 0 12px; font-size: 18px; } /* 누름 칸 34 = height(min-height 는 #ui .dim .btn 누름 칸 공통 규칙 min-height 30 !important 에 눌려 30 이 됐다 — sandbox 재기 11-25) */
#ui .popup.full.gd .gd-headline.gd-sk-axis { color: #f2f0e7; }
#ui .popup.full.gd .gd-row.gd-skrow { padding-right: 24px; }   /* [+] 오른쪽 끝 = 화면 끝에서 44 밖(카메라 구멍 구간 hq-ui §1 — ui-audit cutout 경고, 판 여백 18 + 줄 여백 12 로는 34) */
#ui .popup.full.gd :is(.gd-skpts-hint, .gd-skpts-note, .gd-sk-arrow) { color: var(--ink-soft); } #ui .popup.full.gd .gd-skpts-line small { color: #c9ccc6; } #ui .popup.full.gd .gd-sk-lv { color: #b9bcb6; }
#ui .popup.full.gd .gd-sk-pips i { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); }
#ui .popup.full.gd .gd-sk-pips i.on { background: linear-gradient(#f3d98c, #c9a24a); box-shadow: 0 0 4px rgba(232, 201, 121, .45); }
#ui .popup.full.gd .gd-sk-now { color: #e6e7e2; } #ui .popup.full.gd .gd-sk-now.gold, #ui .popup.full.gd .gd-sk-max { color: #e8c979; } #ui .popup.full.gd .gd-sk-next { color: #7fd88a; }
/* 목록 줄 = 경매장 au-row 결(밝은 반투명 둥근 줄 + 얇은 밝은 테, 나인패치 slot 걷어냄). 높이 = EFZ 줄 값 + 2~8 */
#ui .popup.full.gd .gd-row { margin-bottom: 4px; padding: 0 12px 0 14px; border: 0; border-image: none; border-radius: 9px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  transition: transform .08s ease-out, background .12s; }
#ui .popup.full.gd .gd-row.r48 { height: 50px; } #ui .popup.full.gd .gd-row.r44 { height: 46px; } #ui .popup.full.gd .gd-row.r40 { height: 48px; } #ui .popup.full.gd .gd-row.r38 { height: 44px; }
#ui .popup.full.gd .gd-row.r34 { height: 38px; } #ui .popup.full.gd .gd-row.r72 { height: 72px; } #ui .popup.full.gd .gd-row.r54 { height: 58px; }
#ui .popup.full.gd .gd-row.self { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }   /* 나 = 한 단 밝은 줄 + 얇은 밝은 테(랭킹 내 줄과 같은 값) */
#ui .popup.full.gd .gd-row:is(.notice, .lit, .medal1, .medal2, .medal3) { --mc: #e8c979; background: linear-gradient(90deg, color-mix(in srgb, var(--mc) 14%, transparent), transparent 40%), rgba(255, 255, 255, .06); }
#ui .popup.full.gd .gd-row.medal2 { --mc: #c9d3d8; } #ui .popup.full.gd .gd-row.medal3 { --mc: #d39a6a; }
#ui .popup.full.gd .gd-row:is(.notice, .lit, .medal1, .medal2, .medal3)::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 0 2px 2px 0; background: var(--mc); box-shadow: 0 0 6px var(--mc); }
#ui .popup.full.gd .gd-row:is([data-row-profile], [data-row-post], [data-row-guild]):active { transform: scale(.985); background-color: rgba(255, 255, 255, .1); }
#ui .popup.full.gd .gd-row-main b { font-size: 13px; } #ui .popup.full.gd .gd-row-main small { color: var(--ink-soft); }
#ui .popup.full.gd .gd-line1 em { color: var(--ink-soft); } #ui .popup.full.gd .gd-line1 em.good { color: #7fd88a; }
#ui .popup.full.gd .gd-dot { margin-top: 9px; background: #5d615e; } #ui .popup.full.gd .gd-dot.on { background: #6ad67a; box-shadow: 0 0 6px rgba(106, 214, 122, .7); }
#ui .popup.full.gd .gd-by { right: 12px; bottom: 6px; color: var(--ink-soft) !important; }
#ui .popup.full.gd .gd-headline { color: #c9ccc6; } #ui .popup.full.gd .gd-headline::before { background: #e8c979; }
/* 게시판 분류 = 작은 알약 줄(위 탭과 같은 결, 한 단 작게) */
#ui .popup.full.gd .gd-subtabs { gap: 2px; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .popup.full.gd .gd-subtab { width: auto; min-width: 60px; height: 26px; padding: 0 14px; border-radius: 999px; color: var(--ink-soft); background: none; box-shadow: none; transition: background .15s, color .15s, transform .08s ease-out; }
#ui .popup.full.gd .gd-subtab.on { color: #26221c; background: linear-gradient(#e6decd, #c7bba3); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
#ui .popup.full.gd .gd-pager { gap: 14px; margin-top: 8px; color: var(--ink-soft); }
#ui .popup.full.gd .gd-field { height: 32px; padding: 0 12px; border: 0; border-radius: 8px; color: var(--ink); background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
#ui .popup.full.gd .gd-field::placeholder { color: #7d817c; }
#ui .popup.full.gd .gd-field:focus { outline: none; box-shadow: inset 0 0 0 1px #e6decd, 0 0 0 3px rgba(230, 222, 205, .15); }
#ui .popup.full.gd .gd-search { align-items: center; gap: 8px; margin: 0 0 10px; }
/* 관리: 넓어진 폭 = 왼쪽 카드 열이 늘고(최대 440) 오른쪽 조작은 어두운 칸 하나에 글자 폭 알약 */
#ui .popup.full.gd .gd-col-left { flex: 1 1 0; max-width: 440px; width: auto; gap: 8px; }
#ui .popup.full.gd .gd-col-right { flex: 0 0 auto; min-width: 168px; margin-left: auto; align-items: flex-start; gap: 6px; padding: 8px 10px 10px; border-radius: 10px; background: rgba(0, 0, 0, .3); }
#ui .popup.full.gd .gd-col-left > .btn.gd-btn { align-self: flex-start; }   /* [가입 신청함] 도 카드 폭으로 늘이지 않는다 */
#ui .popup.full.gd .gd-col-right .gd-headline { margin-top: 0; }
#ui .popup.full.gd .gd-right-label { margin-top: 4px; text-align: left; color: var(--ink-soft); }
#ui .popup.full.gd .gd-manage .btn.gd-btn { min-height: 28px; }
/* [정원 확장 💎n]: 알약 28 그대로, 누름 칸만 위아래 4씩 투명하게 넓혀 36(메이플 키우기 기준 누름 칸 34 이상 · 이웃 누름 칸 틈 8 이상 = 아래 margin 8 + 칸 사이 6 − 4) */
#ui .popup.full.gd .gd-manage .btn.gd-btn.gd-cap { position: relative; margin: 3px 0 8px; }
#ui .popup.full.gd .gd-manage .btn.gd-btn.gd-cap::after { content: ""; position: absolute; left: 0; right: 0; top: -4px; bottom: -4px; }
#ui .popup.full.gd .gd-card { padding: 8px 14px; border: 0; border-image: none; border-radius: 10px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .popup.full.gd .gd-card.me { padding-top: 6px; padding-bottom: 6px; }
#ui .popup.full.gd .gd-stat { height: 19px; } #ui .popup.full.gd .gd-stat span { color: var(--ink-soft); }
#ui .popup.full.gd .gd-lv-top b { color: #e8c979; } #ui .popup.full.gd :is(.gd-lv-top small, .gd-lv-left) { color: var(--ink-soft); }
#ui .popup.full.gd .gd-meter { height: 8px; margin: 6px 0 4px; background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .popup.full.gd .gd-meter > i { background: linear-gradient(90deg, #b98d2a, #e8c979); box-shadow: 0 0 6px rgba(232, 201, 121, .5); }
/* 가입 받기 ON/OFF = 켜면 청록 결정 알약 · 끄면 회색 알약(글자 폭) */
#ui .popup.full.gd .btn.gd-btn.gd-toggle { background: rgba(255, 255, 255, .12); color: var(--ink-soft); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .popup.full.gd .btn.gd-btn.gd-toggle.on { background: linear-gradient(#83c3bf, #548f8c); color: #fff; box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .35); }
/* 상점(지금은 미룬 탭 — 켜면 이 결): 칸 = 어두운 둥근 칸 + 아이콘 바탕 등급색 네모(물품 · 경매장 au-tile 과 같은 식) */
#ui .popup.full.gd .gd-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
#ui .popup.full.gd .gd-cell { height: 118px; gap: 3px; padding: 6px; border: 0; border-image: none; border-radius: 10px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .popup.full.gd .gd-cell-tile { --gc: #6b7073; flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px;
  border: 2px solid color-mix(in srgb, var(--gc) 80%, #fff); background: linear-gradient(150deg, color-mix(in srgb, var(--gc) 55%, #1d2124), color-mix(in srgb, var(--gc) 18%, #121517)); }
#ui .popup.full.gd .gd-cell-tile.gr-rare { --gc: var(--gr-rare); } #ui .popup.full.gd .gd-cell-tile.gr-epic { --gc: var(--gr-hero); } #ui .popup.full.gd .gd-cell-tile.gr-unique { --gc: #e0a020; } #ui .popup.full.gd .gd-cell-tile.gr-legendary { --gc: var(--gr-legend); }
#ui .popup.full.gd .gd-cell-name { color: #d4d6d0; }
#ui .popup.full.gd .btn.gd-btn.gd-cell-buy { min-height: 24px; padding: 0 10px; } #ui .popup.full.gd .btn.gd-btn.gd-cell-buy.off { filter: none; opacity: 1; background: rgba(255, 255, 255, .1); color: #ff9b85; box-shadow: none; }
#ui .popup.full.gd .gd-cell-sold { color: var(--ink-soft); }
/* guildrel-1114 고정 10칸: 길드 레벨이 모자란 칸 = 흐린 칸 + 아이콘 위 흰 자물쇠(unlock.css 메뉴 칸과 같은 그림) · 아래 "길드 Lv.N" · 한도 배지는 칸 위 칩 */
#ui .popup.full.gd .gd-cell.locked .gd-cell-tile img, #ui .popup.full.gd .gd-cell.locked .gd-cell-name { opacity: .38; }
#ui .popup.full.gd .gd-cell-tile { position: relative; }
#ui .popup.full.gd .gd-cell-lockico { position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; background: #fff;
  -webkit-mask: url(features/morph/lock.svg) center / contain no-repeat; mask: url(features/morph/lock.svg) center / contain no-repeat; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .8)); }
#ui .popup.full.gd .gd-cell-sold.gd-cell-lock { color: #c9cbc6; font-size: 10px; }
#ui .popup.full.gd .gd-shop-note { color: var(--ink-soft); font-size: 10px; white-space: nowrap; }
#ui .popup.full.gd .gd-taxbar { height: 38px; margin-top: 8px; padding: 0 6px 0 14px; border-radius: 10px; color: var(--ink-soft); background: rgba(0, 0, 0, .3); }
/* 길드 랭킹 · 찾기 — 1~3위 = 레벨 랭킹(11-ranking)과 같은 메달색 숫자 + 얇은 빛 + 왼쪽 막대 */
#ui .popup.full.gd .gd-rank-no { width: 30px; font-size: 15px; color: #a3a6a0; font-variant-numeric: tabular-nums; }
#ui .popup.full.gd .gd-row.medal1 .gd-rank-no { color: #e8c979; text-shadow: 0 0 8px rgba(232, 201, 121, .55); } #ui .popup.full.gd .gd-row.medal2 .gd-rank-no { color: #d5dde2; text-shadow: 0 0 8px rgba(201, 211, 216, .45); }
#ui .popup.full.gd .gd-row.medal3 .gd-rank-no { color: #d9a477; text-shadow: 0 0 8px rgba(211, 154, 106, .45); }
#ui .popup.full.gd .gd-row:is(.medal1, .medal2, .medal3) .gd-rank-no { font-size: 17px; font-weight: 900; }
#ui .popup.full.gd .gd-rank-icon { width: 34px; }
#ui .popup.full.gd .gd-rank-pts { gap: 1px; font-size: 12px; font-variant-numeric: tabular-nums; } #ui .popup.full.gd .gd-rank-pts small { color: var(--ink-soft); }
#ui .popup.full.gd .gd-find-right { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
/* 마크 편집기(관리 > 마크 바꾸기): 크림 미리보기 판 → 어두운 판 + 위 은은한 빛, 칸 · 탭 = 어두운 칸 · 고른 칸 베이지 테 */
#ui .popup.full.gd .em-left { width: 132px; border-radius: 10px; background: radial-gradient(circle at 50% 36%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .popup.full.gd .em-big { filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); }
#ui .popup.full.gd .em-tabs { width: fit-content; max-width: 100%; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .popup.full.gd .em-tab { flex: none; min-width: 64px; padding: 0 16px; height: 26px; border-radius: 999px; color: var(--ink-soft); background: none; box-shadow: none; transition: background .15s, color .15s, transform .08s ease-out; }
#ui .popup.full.gd .em-tab.on { color: #26221c; background: linear-gradient(#e6decd, #c7bba3); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
#ui .popup.full.gd .em-cell { border-radius: 8px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .popup.full.gd .em-cell.on { background: rgba(230, 222, 205, .16); box-shadow: inset 0 0 0 2px #e6decd, 0 0 8px rgba(230, 222, 205, .25); }
#ui .popup.full.gd .em-cell.locked i { color: #ff9b85; }
#ui .popup.full.gd .em-note, #ui .popup.full.gd .gd-icon-foot small { color: var(--ink-soft); }
#ui .popup.full.gd :is(.em-sv, .em-hue, .em-cur) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
/* 길드 대항전 탭(13b 배치 그대로 · 칸 = 어두운 둥근 칸, 큰 [빠른 매칭] 도 글자 폭 — 연출 13d 는 그대로) */
#ui .popup.full.gd .gw-daily { color: var(--ink-soft); } #ui .popup.full.gd .gw-daily b.warn { color: #ff9b85; }
#ui .popup.full.gd .gw-top { gap: 8px; height: 30px; }
#ui .popup.full.gd .gw-slots { gap: 8px; }
#ui .popup.full.gd .gw-slot { border: 0; border-image: none; border-radius: 10px; background: linear-gradient(rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .popup.full.gd .gw-slot.empty { background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .popup.full.gd .gw-slot.empty span { color: var(--ink-soft); }
#ui .popup.full.gd .gw-slot.ghost::before { background: radial-gradient(circle at 50% 9px, #b9bdb8 8px, transparent 9px), linear-gradient(#b9bdb8, #b9bdb8) 50% 100% / 26px 30px no-repeat; opacity: .14; }
#ui .popup.full.gd .gw-slot b.blocked { color: #ff7a6a; } #ui .popup.full.gd .gw-slot small.good { color: #7fd88a; } #ui .popup.full.gd .gw-slot small.warn, #ui .popup.full.gd .gw-msg { color: #ff9b85; }
#ui .popup.full.gd .gw-count { color: var(--ink-soft); } #ui .popup.full.gd .gw-vs { color: #e8c979; text-shadow: 0 0 10px rgba(232, 201, 121, .35); }
#ui .popup.full.gd .btn.gd-btn.gw-quick { min-height: 34px; padding: 0 28px; font-size: 13.5px; }
#ui .popup.full.gd .gw-go .gw-cancel { top: 3px; }
/* 길드 보스 탭 · 출석/기부 띠(guildext-1105 — 17gb). 줄 · 알약 · 칩 = 전체화면 길드 창(13e) 값, 금 #e8c979 = 01-popup 재화 금, 단계 마디 빛 1047 ms · 빨간 점 628 ms = ui-juice 수치.
   배치 = 흥행작 길드 보스 공통(메이플M 길드 보스 · 버섯커 키우기 길드 토벌): 누적 피해 → 단계 마디 줄(마디마다 보상 · [받기]) → [길드 보스 전투 입장] + 오늘 남은 횟수(gbossgo-1125) → 내 피해 기록 → 기여 순위. */
#ui .popup.full.gd .gb-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
#ui .popup.full.gd .gb-act { flex: 1 1 250px; display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 10px 0 14px; border-radius: 9px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .popup.full.gd .gb-act > b { margin-right: 2px; font-size: 13px; font-weight: 800; }
#ui .popup.full.gd .gb-act > .btn.gd-btn, #ui .popup.full.gd .gb-act > .gb-done, #ui .popup.full.gd .gb-left { margin-left: auto; }
#ui .popup.full.gd .gb-left + .btn.gd-btn { margin-left: 6px; }
#ui .popup.full.gd .gb-act .btn.gd-btn { min-height: 26px; padding: 0 12px; font-size: 12px; }
#ui .popup.full.gd .gb-left { font-size: 11px; color: var(--ink-soft); }
#ui .popup.full.gd .gb-done { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
#ui .popup.full.gd .btn.gd-btn .gd-coin { height: 14px; margin-right: 4px; vertical-align: -2px; }
/* 누적 피해 */
/* gbossgo-1125: 머리 = gbs-head(옛 gb-head 는 성장 띠 growbar.js 의 #ui .gb-head { height: 20px } 와 이름이 겹쳐 이름표가 스크롤 칸 위로 밀려 잘렸다) */
#ui .popup.full.gd .gbs-head { align-items: flex-end; }
#ui .popup.full.gd .gb-total { display: flex; flex-direction: column; gap: 1px; } #ui .popup.full.gd .gb-total small { font-size: 11px; color: var(--ink-soft); }
#ui .popup.full.gd .gb-total b { font-size: 20px; font-weight: 900; letter-spacing: .3px; text-shadow: 0 0 10px rgba(232, 201, 121, .35); }
/* 단계 마디 줄: 줄 = 첫 마디까지 반 칸 + 마디 사이 한 칸씩(--f = 그 구간 채움) */
#ui .popup.full.gd .gb-track { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); padding: 6px 0 4px; margin-bottom: 8px; border-radius: 9px; background: rgba(0, 0, 0, .22); }
#ui .popup.full.gd .gb-rail { position: absolute; left: 0; right: calc(50% / var(--n)); top: 17px; height: 4px; display: flex; pointer-events: none; }
#ui .popup.full.gd .gb-rail > i { flex: 1; background: linear-gradient(90deg, #e8c979 calc(var(--f) * 100%), rgba(255, 255, 255, .12) 0); transition: background .4s; }
#ui .popup.full.gd .gb-rail > i:first-child { flex: .5; }
#ui .popup.full.gd .gb-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
#ui .popup.full.gd .gb-gem { width: 12px; height: 12px; margin: 3px 0 5px; transform: rotate(45deg); border-radius: 2px; background: #2a2b2c; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
#ui .popup.full.gd .gb-node.on .gb-gem { background: #e8c979; animation: gb-gem 1.047s ease-in-out infinite alternate; }
#ui .popup.full.gd .gb-node.got .gb-gem { background: #8c7a4c; box-shadow: none; }
#ui .popup.full.gd .gb-node > b { font-size: 12px; font-weight: 800; } #ui .popup.full.gd .gb-node:not(.on, .got) > b { color: var(--ink-soft); }
#ui .popup.full.gd .gb-node > small { font-size: 11px; color: var(--ink-soft); }
#ui .popup.full.gd .gb-reward { margin: 1px 0 3px; }
#ui .popup.full.gd .gb-node .btn.gd-btn.gb-claim { position: relative; min-height: 24px; padding: 0 12px; font-size: 11px; }
#ui .popup.full.gd .gb-node.on .btn.gd-btn.gb-claim:not(.off)::after { content: ""; position: absolute; top: -2px; right: -2px; width: 7px; height: 7px; border-radius: 50%; background: #ff4d3d; animation: gb-dot .628s ease-in-out infinite alternate; }
#ui .popup.full.gd .gb-node .gb-done { line-height: 24px; font-size: 11px; }
/* 전투 입장(gbossgo-1125 — 주호님 11-25): '내 피해' 줄에서 뗀 큰 알약 + 옆 오늘 남은 횟수. 글자 폭(판 폭으로 안 늘림 — hq-ui) · 높이 34(누름 칸 34 이상) · 대항전 [빠른 매칭] gw-quick 값.
   칼 = 흰 선 아이콘(HUD 공격 단추 그림 assets/icons/hud-attack.svg 마스크). 횟수 0 = 같은 자리 [n 다이아 초기화] / 꺼진 [오늘 도전 완료]. */
#ui .popup.full.gd .gbs-go { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 10px; }
#ui .popup.full.gd .btn.gd-btn.gbs-enter { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 34px !important; padding: 0 22px; font-size: 13.5px; }   /* touch_min.css 의 30 !important 보다 무겁게(누름 칸 34) */
#ui .popup.full.gd .gbs-sw { flex: none; width: 16px; height: 16px; margin-right: 6px; background: currentColor;
  -webkit-mask: url(assets/icons/hud-attack.svg) center / contain no-repeat; mask: url(assets/icons/hud-attack.svg) center / contain no-repeat; }
#ui .popup.full.gd .gbs-go > .gd-chip { flex: none; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12px; }
#ui .popup.full.gd .btn.gd-btn.gbs-enter:not(.off) { animation: gbs-go 1.2s ease-in-out infinite alternate; }   /* 누를 수 있을 때 숨쉬는 빛(ui-juice — 대항전 [빠른 매칭] 결) */
@keyframes gbs-go { from { box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .35), 0 0 0 rgba(131, 195, 191, 0); } to { box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .35), 0 0 12px rgba(131, 195, 191, .6); } }
#ui .popup.full.gd .gb-me { margin-top: 2px; } #ui .popup.full.gd .gb-me .gd-line1 em { font-style: normal; font-size: 14px; font-weight: 900; }
#ui .popup.full.gd .gb-top .gd-rank-no { width: 22px; text-align: center; }
#ui .popup.full.gd .gb-top > b.gold { flex: none; font-size: 13px; }
/* 움직임: 탭을 열 때 마디가 차례로(덩어리 = fx-card-in) */
#ui .popup.full.gd .gd-body.gd-swap .gb-node, #ui .dim.fx-intro .gb-node { animation: fx-card-in .28s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes gb-gem { from { box-shadow: 0 0 4px rgba(232, 201, 121, .5); } to { box-shadow: 0 0 11px rgba(232, 201, 121, .95); } }
@keyframes gb-dot { from { transform: scale(.85); } to { transform: scale(1.1); } }
/* 경매장 창(auction-1019) — EFZ obj_auction_window 기능 + 길드 창 결(납작한 단추 · 등급색 네모 칸 · fx-cell 차례 등장).
   10-19 사용자 "너무 고딕하고 레트로틱 … 한국 인기 도트 모바일 게임 참고" = 장식 없는 얇은 선 · 크림 바탕 · 등급색으로만 강조(도깨비의세계 · 메이플 키우기 결).
   10-19 사용자 둘째 "유아틱 · 레트로 그림" + 거래소 레퍼런스(메이플옥션 · 로스트아크 · 바람의나라: 연 · 리니지W · 나이트 크로우): 컬러 그림 없음 — 머리 = 메뉴 경매장 흰 아이콘을 글자색으로,
   빈 목록 = 무채색 상자 글리프. 탭 = 글자 + 금 밑줄, 레일 · 등급 = 테 없는 줄(색은 등급 점에만), 정렬 · 쪽 넘김 · 숫자판 = 1px 테 납작한 결(3D 턱 · 사탕 알약 걷어냄).
   창 = 전체화면(2026-10-19 .popup.full, 01-popup: 무대 폭 --hw × 450) → 머리 띠 46(+ 아래 12) · 본문 370(구매 = 레일 132 + 목록 · 판매 = 236 + 나머지 + 204 · 내 경매 = 목록) — 넓어진 폭은 목록 · 가운데 칸이 받는다.
   2026-10-20 사용자 "나인패치 쓰지 말고 반투명 판 … 버튼 가로 크기가 길어지지 않게 … 도깨비의 세계 참고": 판 = 01-popup 어두운 반투명 판(상세 · 확인 작은 창 au-subw 도 어두운 둥근 판),
   탭 = 어두운 알약 줄 + 고른 탭만 베이지 알약 · 단추 = 짧은 둥근 알약(01-popup 전체화면 단추와 같은 색 — 큰 결정 단추도 칸 폭으로 늘이지 않는다) · 줄 = 밝은 반투명 둥근 줄(slot 그림 걷어냄) · 칸 = 등급색 그라데이션(물품 창 칸과 같은 색). */
#ui .popup.au-w { --ink: #f2f0e7; --ink-soft: #9a9d98; color: var(--ink); display: flex; flex-direction: column; }
#ui .popup.au-subw { padding: 14px 16px 16px; }   /* 판 · 모서리 문양 = 공용 작은 팝업 판(18-popup-dark)을 그대로 받는다 — 여기 판 값을 적지 않는다(10-24 공용 판 통일) */
#ui .au-subw .close { border: 0; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
#ui .popup.au-detail { width: 560px; height: 380px; }
#ui .popup.au-confirm { width: 440px; }
#ui .au-head { flex: none; display: flex; align-items: center; gap: 8px; height: 38px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
#ui .au-mark { flex: none; width: 26px; height: 26px; margin-left: 2px; background: var(--ink); -webkit-mask: url(assets/icons/menu-auction.png) center / contain no-repeat; mask: url(assets/icons/menu-auction.png) center / contain no-repeat; }   /* 메뉴 경매장 아이콘(흰 마스크)을 제목 글자색으로 */
#ui .au-title { flex: none; margin-right: 4px; font-size: 17px; font-weight: 800; white-space: nowrap; }
#ui .au-subw .au-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* 탭 = 어두운 알약 줄 + 고른 탭만 베이지 알약(10-20 — 01-popup 전체화면 탭과 같은 결. 10-19 "유아틱" 때의 금 밑줄 글자 탭 대신) */
#ui .au-tabs { flex: none; display: flex; gap: 4px; height: 30px; margin-left: 8px; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .au-tab { position: relative; min-width: 76px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 800; background: rgba(255, 255, 255, .08); color: #e2dbcc; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 1px 2px rgba(0, 0, 0, .35); transition: background .15s, color .15s; }
#ui .au-tab.on { color: #26221c; background: linear-gradient(#e6decd, #c7bba3); box-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 240, 210, .55); }
#ui .au-tdot { position: absolute; right: 4px; top: 3px; width: 7px; height: 7px; border-radius: 50%; background: #e0533a; box-shadow: 0 0 0 2px #1b1e20; animation: fx-bump .9s ease-in-out infinite; }
#ui .au-purse { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 24px; margin-left: auto; padding: 0 10px 0 5px; border-radius: 12px; font-size: 13px; font-weight: 800; color: #e8c979; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .35); }
#ui .au-coin { width: 16px; height: 16px; flex: none; object-fit: contain; vertical-align: -3px; }
#ui .au-main { position: relative; flex: 1; min-height: 0; margin-top: 0; }
#ui .au-main > * { height: 100%; }
#ui .au-main.busy .au-btn, #ui .au-detail-body.busy .au-btn { pointer-events: none; }
/* 거절 사유 = 창 아래 테에 걸친 알약(배치가 밀리지 않는다 · 길드 gd-msg 와 같은 경고색) */
#ui .au-msg { position: absolute; left: 0; right: 0; bottom: -13px; z-index: 6; width: fit-content; max-width: 86%; margin: 0 auto; padding: 3px 14px; border-radius: 12px; font-size: 12px; font-weight: 800; color: #ff9b85;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: rgba(60, 20, 16, .92); box-shadow: inset 0 0 0 1.5px #b4664d, 0 3px 8px #0006; animation: au-msg-in .2s ease-out both; }
#ui .popup.full .au-msg { bottom: 2px; }   /* 테 없는 전체화면 창(10-20) — 아래 여백 22 안에 띄운다(-13 이면 화면 밖) */
#ui .au-msg[hidden] { display: none; }
#ui .au-empty { height: 100%; min-height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0 16px 16px; text-align: center; }   /* 아래 16 = 눈으로 보는 가운데(8px 위) */
#ui .au-empty b { font-size: 14px; color: #c9ccc6; } #ui .au-empty small { font-size: 11px; line-height: 1.5; color: #7d817c; }
/* 빈 목록 그림 = 무채색 상자(흰 아이콘 empty-box) 64px: 옅은 흰색 + 아래 1.5px 검은 그림자 = 어두운 판에 찍힌 결(10-19 사용자 "흰색 검은색, 색 없이" · 10-20 어두운 판) */
#ui .au-empty-art { position: relative; flex: none; width: 64px; height: 64px; margin-bottom: 5px; animation: fx-drop .36s cubic-bezier(.2, .9, .3, 1.2) both; }
#ui .au-empty-art::before, #ui .au-empty-art::after { content: ""; position: absolute; inset: 0;
  -webkit-mask: url(assets/icons/empty-box.png) center / contain no-repeat; mask: url(assets/icons/empty-box.png) center / contain no-repeat; }
#ui .au-empty-art::before { transform: translateY(1.5px); background: #000; opacity: .5; }
#ui .au-empty-art::after { background: #fff; opacity: .2; }
#ui .au-empty-acts { display: flex; gap: 8px; margin-top: 6px; }
/* 단추 = 짧은 둥근 알약(10-20 — 01-popup 전체화면 단추와 같은 색: 기본 베이지 · gold 청록 · danger 적갈 · plain 회색 반투명). 작은 창(au-subw)은 .full 이 아니라 여기서 같은 색을 준다.
   큰 결정 단추(구매 · 입찰 · 등록)도 조금 클 뿐 칸 폭으로 늘이지 않는다(10-20 사용자 "버튼 가로 크기가 길어지지 않게") */
#ui .btn.au-btn { min-height: 28px; padding: 0 14px; border: 0; border-image: none; border-radius: 999px; background: linear-gradient(#ece4d3, #c9bda6); color: #2b261e; text-shadow: none; filter: none;
  font-size: 12px; font-weight: 800; white-space: nowrap; gap: 4px; box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .35); }
#ui .btn.au-btn.plain { background: rgba(255, 255, 255, .12); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .btn.au-btn.gold { background: linear-gradient(#83c3bf, #548f8c); color: #fff; }
#ui .btn.au-btn.danger { background: linear-gradient(#a64646, #742c2c); color: #fff; }
#ui .btn.au-btn.off { filter: grayscale(1); opacity: .45; }
#ui .btn.au-btn:is(.w128, .w160, .au-wide) { min-height: 32px; padding: 0 18px; font-size: 13px; }
#ui .au-btn.w96 { min-width: 96px; } #ui .au-btn.w128 { min-width: 128px; } #ui .au-btn.w160 { min-width: 160px; } #ui .au-btn.au-wide { flex: none; align-self: center; min-width: 160px; margin-top: auto; }
#ui .btn.au-btn.au-mini { min-height: 24px; padding: 0 10px; font-size: 11px; }
#ui .au-btn-coin { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; padding: 0 7px 0 3px; height: 20px; border-radius: 10px; font-size: 12px; background: rgba(0, 0, 0, .22); }
#ui .au-btn-coin .au-coin { width: 14px; height: 14px; }
/* 물품 칸 = 가방 item-cell 결(등급색 --gc 그라데이션 + 밝은 등급 테 — 10-20 어두운 판, 색 = 물품 창 · 상점 등급색) + 티어 글자, 유일 · 전설은 빛이 한 번씩 스친다 */
#ui .au-tile { position: relative; flex: none; display: grid; place-items: center; width: 36px; height: 36px; overflow: hidden; border-radius: 7px; --gc: #6b7073;
  border: 2px solid color-mix(in srgb, var(--gc) 80%, #fff); background: linear-gradient(150deg, color-mix(in srgb, var(--gc) 55%, #1d2124), color-mix(in srgb, var(--gc) 18%, #121517)); }
/* 장비 등급색(칸 · 카드 · 거르기 점 · 이름) = 등급 등록부 색을 gf-grade-css(02-tabs-items)가 얹는다 — 여기에는 등록부 밖 코스튬 유일만 */
#ui .au-tile.gr-unique { --gc: #e0a020; }
#ui .au-tile img { width: 74%; height: 74%; margin-top: -10%; object-fit: contain; image-rendering: pixelated; }
#ui .au-tier { position: absolute; right: 2px; bottom: 0; font-size: 9px; font-weight: 900; font-style: normal; line-height: 11px; color: #fff;
  text-shadow: 1.2px 0 #111, -1.2px 0 #111, 0 1.2px #111, 0 -1.2px #111, 1px 1px #111, -1px 1px #111, 1px -1px #111, -1px -1px #111; }
#ui .au-tile.gr-unique::after, #ui .au-tile.gr-legendary::after, #ui .au-tile.gr-legend::after, #ui .au-tile.gr-myth::after { content: ""; position: absolute; top: -30%; bottom: -30%; left: 0; width: 34%; pointer-events: none;
  background: linear-gradient(90deg, #fff0, #fffc, #fff0); animation: au-shine 3.6s ease-in-out infinite; }
#ui .au-tile.gr-legendary::after, #ui .au-tile.gr-myth::after { animation-duration: 2.8s; }
#ui .au-tile.big { width: 72px; height: 72px; border-width: 3px; border-radius: 10px; }
#ui .au-tile.big .au-tier { right: 4px; bottom: 2px; font-size: 11px; line-height: 14px; }
#ui .au-tile.ghost { border-style: dashed; border-color: rgba(255, 255, 255, .25); background: transparent; box-shadow: none; }
#ui .au-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 800; color: var(--ink); }
#ui .au-name.gr-unique { color: #ffe08a; }
#ui .au-tag { flex: none; height: 16px; padding: 0 5px; border-radius: 4px; font-size: 10px; font-weight: 800; font-style: normal; line-height: 16px; color: #a3a6a0; background: rgba(255, 255, 255, .08); }
#ui .au-tag.bid { color: #ffb86b; background: rgba(255, 184, 107, .14); } #ui .au-tag.mine { color: #8cc4ff; background: rgba(140, 196, 255, .14); } #ui .au-tag.top, #ui .au-tag.st-top { color: #7fd88a; background: rgba(127, 216, 138, .14); }
#ui .au-tag.st-outbid { color: #ff8f7a; background: rgba(255, 143, 122, .14); } #ui .au-tag.st-holding { color: #a3a6a0; background: rgba(255, 255, 255, .08); }
#ui .au-tag.k-sold, #ui .au-tag.k-bought, #ui .au-tag.k-won { color: #7fd88a; background: rgba(127, 216, 138, .14); } #ui .au-tag.k-outbid, #ui .au-tag.k-refunded { color: #ff8f7a; background: rgba(255, 143, 122, .14); }
#ui .au-faint { font-style: normal; font-size: 11px; font-weight: 700; color: #7d817c; }
/* 구매 탭: 레일(분류 · 세부 분류 · 등급) + 목록판 */
#ui .au-buy { display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 10px; }
#ui .au-rail { min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 10px; background: rgba(0, 0, 0, .3); }
#ui .au-rail-h { margin: 2px 2px 0; font-size: 10px; font-weight: 800; color: #8a8e89; }
#ui .au-rail-h + .au-cat, #ui .au-rail-h + .au-grades { margin-top: -1px; }
/* 레일 줄 = 테 없는 납작한 줄, 고른 줄만 밝은 반투명 바탕 + 베이지 왼쪽 막대(10-20 어두운 판) */
#ui .au-cat { position: relative; flex: none; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 11px; border-radius: 5px; text-align: left; font-size: 12px; font-weight: 800; color: #a3a6a0; transition: background .12s, color .12s; }
#ui .au-cat.on { color: var(--ink); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
#ui .au-cat.on::before { content: ""; position: absolute; left: 1px; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: #e6decd; }
#ui .au-ico { flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: url(assets/icons/menu-auction.png) center / contain no-repeat; mask: url(assets/icons/menu-auction.png) center / contain no-repeat; }
#ui .au-ico.i-weapon { -webkit-mask-image: url(assets/icons/slot-weapon.png); mask-image: url(assets/icons/slot-weapon.png); }
#ui .au-ico.i-armor { -webkit-mask-image: url(assets/icons/slot-outfit.png); mask-image: url(assets/icons/slot-outfit.png); }
#ui .au-ico.i-accessory { -webkit-mask-image: url(assets/icons/slot-necklace.png); mask-image: url(assets/icons/slot-necklace.png); }   /* 11-07 acctrade 장신구 5칸 */
#ui .au-cat.on .au-ico { color: #e8c979; }
#ui .au-subs { flex: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 1px 0 3px 12px; }
#ui .au-sub { height: 22px; padding: 0 9px; border-radius: 11px; font-size: 11px; font-weight: 800; color: #a3a6a0; background: rgba(255, 255, 255, .07); }
#ui .au-sub.on { color: #26221c; background: linear-gradient(#e6decd, #c7bba3); }
#ui .au-grades { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
/* 등급 = 납작한 글자 + 작은 둥근 점(전체 = 빈 고리 — 여러 색 네모 걷어냄) */
#ui .au-grade { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px; border-radius: 5px; font-size: 11px; font-weight: 800; color: #a3a6a0; transition: background .12s, color .12s; }
#ui .au-grade.on { color: var(--ink); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
#ui .au-grade i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #8a8e89; }
#ui .au-grade.gr-unique i { background: #e0a020; }
#ui .au-grade.gr-all i { background: none; box-shadow: inset 0 0 0 1.5px #8a8e89; }
#ui .au-board { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
#ui .au-bar { flex: none; display: flex; align-items: center; gap: 6px; height: 30px; }
#ui .au-path { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 800; color: var(--ink); }
#ui .au-path::before { content: ""; flex: none; width: 3px; height: 14px; border-radius: 2px; background: #e6decd; }
#ui .au-sort { position: relative; flex: none; }
/* 정렬 · 새로고침 = 회색 반투명 알약 도구 단추(10-20 — 01-popup .btn.plain 과 같은 색), 펼침 표시 = 가는 꺾쇠 */
#ui .au-sortbtn { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px 0 14px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--ink); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .au-sortbtn.on { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .55); }
#ui .au-caret { width: 6px; height: 6px; border: solid #c9ccc6; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
#ui .au-sortbtn.on .au-caret { transform: translateY(1px) rotate(-135deg); }
#ui .btn.au-btn.au-refresh { min-height: 28px; padding: 0 12px; color: var(--ink); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .au-sortpop { position: absolute; right: 0; top: 32px; z-index: 5; display: flex; flex-direction: column; min-width: 132px; padding: 4px; border-radius: 10px; background: #26292b;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 8px 18px #0008; transform-origin: top right; animation: au-pop .14s ease-out both; }
#ui .au-sortopt { position: relative; height: 28px; padding: 0 26px 0 10px; border-radius: 6px; text-align: left; white-space: nowrap; font-size: 12px; font-weight: 800; color: #a3a6a0; }
#ui .au-sortopt.on { color: #e8c979; background: rgba(232, 201, 121, .12); }
#ui .au-sortopt.on::after { content: ""; position: absolute; right: 10px; top: 8px; width: 4px; height: 8px; border: solid #e8c979; border-width: 0 2px 2px 0; transform: rotate(45deg); }
#ui .au-refresh { position: relative; }
/* 이름 검색 칸(aucsearch-1110) = 정렬 알약과 같은 높이 28 · 어두운 반투명 알약(길드 창 .gd-field 와 같은 색) · 왼쪽 흰 선 돋보기 · 글자가 있으면 오른쪽 × */
#ui .au-find { position: relative; flex: none; display: flex; align-items: center; width: 150px; height: 28px; }
#ui .au-field { width: 100%; height: 28px; padding: 0 24px 0 27px; border: 0; border-radius: 999px; font-family: inherit; font-size: 12px; font-weight: 700; color: var(--ink); background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
#ui .au-field::placeholder { color: #7d817c; font-weight: 700; }
#ui .au-field:focus { outline: none; box-shadow: inset 0 0 0 1px #e6decd, 0 0 0 3px rgba(230, 222, 205, .15); }
#ui .au-lens { position: absolute; left: 10px; top: 8px; width: 8px; height: 8px; border: 1.5px solid #c9ccc6; border-radius: 50%; pointer-events: none; }
#ui .au-lens::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 1.5px; background: #c9ccc6; transform: rotate(45deg); transform-origin: 0 50%; }
#ui .au-qx { position: absolute; right: 4px; top: 4px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); }
#ui .au-qx::before, #ui .au-qx::after { content: ""; position: absolute; left: 5px; top: 9px; width: 10px; height: 1.5px; background: #c9ccc6; transform: rotate(45deg); }
#ui .au-qx::after { transform: rotate(-45deg); }
/* 거래 방식 토글 [전체] [즉시 구매] [경매](aucsearch-1110) = 탭 줄과 같은 결(어두운 알약 줄 + 고른 것만 베이지 알약) · 글자 폭 */
#ui .au-modes { flex: none; display: flex; gap: 2px; height: 28px; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .au-mode { flex: none; padding: 0 10px; border: 0; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; color: var(--ink-soft); background: none; transition: background .15s, color .15s; }
#ui .au-mode.on { color: #26221c; background: linear-gradient(#e6decd, #c7bba3); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
#ui .au-refresh.spin::before { content: ""; width: 10px; height: 10px; margin-right: 2px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); border-top-color: #e8c979; animation: fx-spin .7s linear infinite; }
#ui .au-cols { flex: none; display: grid; grid-template-columns: 1fr 84px 108px 60px; gap: 8px; height: 14px; padding: 0 16px 0 14px; font-size: 10px; font-weight: 800; line-height: 14px; color: #8a8e89; }
#ui .au-cols span:nth-child(2) { text-align: center; } #ui .au-cols span:nth-child(3) { text-align: right; }
#ui .au-list { flex: 1; min-height: 0; overflow-y: auto; padding: 2px; transition: opacity .15s; }
#ui .au-list.busy { opacity: .55; }
#ui .au-row { position: relative; display: grid; grid-template-columns: 36px 1fr 84px 108px 60px; align-items: center; gap: 8px; height: 46px; margin-bottom: 4px; padding: 0 8px 0 6px;
  border: 6px solid transparent; border-radius: 8px; background: rgba(255, 255, 255, .06) border-box; outline: 1px solid rgba(255, 255, 255, .07); outline-offset: -1px;   /* 10-20 slot 그림 → 밝은 반투명 둥근 줄 */
  cursor: pointer; transition: transform .08s ease-out, background-color .12s; }
#ui .au-row:active { transform: scale(.985); }
@media (hover: hover) { #ui .au-row:hover { background-color: rgba(255, 255, 255, .1); } }
#ui .au-row.mine { box-shadow: inset 3px 0 #e8c979; }
#ui .au-info { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
#ui .au-l1 { display: flex; align-items: center; gap: 4px; min-width: 0; }
#ui .au-l2 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; color: #a3a6a0; }
#ui .au-left, #ui .au-price { display: flex; flex-direction: column; justify-content: center; gap: 1px; min-width: 0; line-height: 1.15; }
#ui .au-left { align-items: center; text-align: center; } #ui .au-left b { font-size: 12px; font-weight: 800; color: var(--ink); } #ui .au-left small { font-size: 10px; color: #8a8e89; }
#ui .au-price { align-items: flex-end; text-align: right; } #ui .au-price small { font-size: 10px; color: #8a8e89; }
#ui .au-price b { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 800; color: #e8c979; }
#ui .au-price.bump b { animation: au-bump .6s cubic-bezier(.2, .9, .3, 1.3); }
#ui .au-sub2 { white-space: nowrap; font-size: 9.5px; color: #a3a6a0; } #ui .au-sub2 .au-coin { width: 11px; height: 11px; vertical-align: -2px; }
#ui .au-go { display: flex; justify-content: flex-end; }
/* 줄 끝 [구매] · [입찰] = 테만 있는 작은 알약 꼬리표(초록 · 주황 사탕 알약 걷어냄 · 10-20 어두운 판 = 옅은 색 바탕 + 색 테) */
#ui .au-pill { display: inline-grid; place-items: center; width: 50px; height: 24px; border-radius: 999px; font-size: 11px; font-weight: 800; font-style: normal; color: #e8c979; background: rgba(232, 201, 121, .12); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .45); }
#ui .au-pill.bid { color: #ffb86b; background: rgba(255, 184, 107, .12); box-shadow: inset 0 0 0 1px rgba(255, 184, 107, .45); }
#ui .au-pager { position: relative; flex: none; display: flex; align-items: center; justify-content: center; gap: 10px; height: 28px; }
#ui .au-pager b { min-width: 26px; text-align: center; font-size: 12px; font-weight: 800; line-height: 22px; color: var(--ink); }
#ui .au-pager small { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 10px; color: #7d817c; }
#ui .btn.au-btn.au-pg { width: 28px; min-height: 24px; padding: 0; color: var(--ink); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .au-pg::before { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(135deg); margin-left: 3px; }
#ui .au-pg.next::before { transform: rotate(-45deg); margin: 0 3px 0 0; }
/* 상세 창: 왼쪽 카드(큰 칸 · 이름 · 등급 · 능력치) + 오른쪽 값 줄 · 입찰 상자 · 결제 뒤 골드 + 아래 단추 */
#ui .au-detail-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
#ui .au-dgrid { flex: 1; min-height: 0; display: grid; grid-template-columns: 208px 1fr; gap: 12px; }
#ui .au-icard { min-height: 0; overflow-y: auto; align-self: start; max-height: 100%; }   /* 메이플식 아이템 정보 카드(inv_fx.css .icard) — 길면 카드 안에서 스크롤 */
#ui .au-card { --gc: #6b7073; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 10px; border-radius: 10px; text-align: center;
  background: radial-gradient(130px 90px at 50% 22%, color-mix(in srgb, var(--gc) 35%, transparent), transparent 72%), rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .au-card.gr-unique { --gc: #e0a020; }
#ui .au-card .au-tile { margin-bottom: 4px; } #ui .dim.fx-intro .au-card .au-tile { animation: fx-cell .32s cubic-bezier(.2, .9, .3, 1.3) .1s both; }
#ui .au-card .au-name { max-width: 100%; font-size: 14px; } #ui .au-card > small { font-size: 10.5px; color: #a3a6a0; }
#ui .au-stats { width: 100%; margin-top: 6px; display: flex; flex-direction: column; gap: 3px; }
#ui .au-stats li { display: flex; justify-content: space-between; padding: 3px 8px; border-radius: 4px; font-size: 11px; color: #a3a6a0; background: rgba(255, 255, 255, .06); }
#ui .au-stats li b { color: #7fd88a; font-weight: 800; }
#ui .au-dinfo { min-width: 0; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
#ui .au-kv { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; padding: 0 10px; border-radius: 5px; font-size: 12px; background: rgba(255, 255, 255, .06); }
#ui .au-kv > span { flex: none; font-weight: 800; color: #a3a6a0; }
#ui .au-kv > b { min-width: 0; display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; font-weight: 800; color: var(--ink); white-space: nowrap; }
#ui .au-kv.price { min-height: 26px; } #ui .au-kv.price > b { font-size: 15px; color: #e8c979; }
#ui .au-kv.guide > b { font-size: 12px; } #ui .au-kv.guide small { font-size: 10px; color: #7d817c; }
#ui .au-cmp { height: 16px; padding: 0 5px; border-radius: 4px; font-size: 10px; font-style: normal; line-height: 16px; }
#ui .au-cmp.up { color: #ff8f7a; background: rgba(255, 143, 122, .14); } #ui .au-cmp.down { color: #7fd88a; background: rgba(127, 216, 138, .14); } #ui .au-cmp.even { color: #a3a6a0; background: rgba(255, 255, 255, .08); }
#ui .au-bidbox { flex: none; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 6px; margin-top: 2px; padding: 6px 8px; border-radius: 8px; background: rgba(232, 201, 121, .08); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .4); }
#ui .au-bidbox-h { grid-column: 1 / -1; font-size: 11px; font-weight: 800; color: #e8c979; } #ui .au-bidbox-h small { margin-left: 6px; font-size: 10px; color: #7d817c; }
#ui .au-amount { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 4px; height: 30px; padding: 0 26px 0 10px; border-radius: 6px; font-size: 16px; font-weight: 800; color: #e8c979;
  background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .18); }
#ui .au-pen { position: absolute; right: 9px; top: 50%; width: 3px; height: 12px; margin-top: -7px; border-radius: 1px; background: #e8c979; transform: rotate(40deg); }
#ui .au-pen::after { content: ""; position: absolute; left: 0; bottom: -4px; border: 1.5px solid transparent; border-top: 4px solid #e8c979; }
#ui .au-steps { display: flex; gap: 4px; }
#ui .btn.au-btn.au-step { min-width: 44px; min-height: 26px; padding: 0 6px; font-size: 11px; }
#ui .au-wallet { flex: none; display: flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; border-radius: 5px; font-size: 12px; background: rgba(255, 255, 255, .06); }
#ui .au-wallet > span { margin-right: auto; font-weight: 800; color: #a3a6a0; }
#ui .au-wallet b { display: inline-flex; align-items: center; gap: 3px; font-weight: 800; color: var(--ink); } #ui .au-wallet b.after { color: #7fd88a; }
#ui .au-wallet.short b.after { color: #ff8f7a; } #ui .au-wallet em { font-style: normal; font-size: 10px; font-weight: 800; color: #ff8f7a; }
#ui .au-arrow { position: relative; width: 12px; height: 2px; background: #8a8e89; }
#ui .au-arrow::after { content: ""; position: absolute; right: -1px; top: -3px; width: 5px; height: 5px; border: solid #8a8e89; border-width: 2px 2px 0 0; transform: rotate(45deg); }
#ui .au-dacts { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
#ui .au-note { margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 800; color: #a3a6a0; }
/* 판매 탭: ① 가방 236 · ② 방식과 가격 260 · ③ 숫자판 204 */
#ui .au-sell { display: grid; grid-template-columns: minmax(0, 1fr) 228px 184px; grid-template-rows: minmax(0, 1fr); gap: 12px; }
#ui .au-scol { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 5px; padding: 8px; border-radius: 10px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .au-h3 { flex: none; display: flex; align-items: center; gap: 6px; height: 20px; font-size: 12px; font-weight: 800; color: var(--ink); }
#ui .au-no { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 10.5px; font-style: normal; color: #8a8e89; box-shadow: inset 0 0 0 1.5px currentColor; }
#ui .au-limit { flex: none; margin-left: auto; height: 18px; padding: 0 7px; border-radius: 9px; font-size: 10.5px; font-weight: 800; font-style: normal; line-height: 18px; color: #c9ccc6; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px currentColor; }
#ui .au-limit.full { color: #ff8f7a; }
#ui .au-bag { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, 39px); gap: 4px; align-content: start; justify-content: start; padding: 4px; }   /* 칸 39 = 물품 창 칸(04-inventory #inv-dim .item-cell, 10-24 사용자 "아이템 슬롯 왤케 크냐 · 다른 거랑 크기 맞추셈") */
#ui .au-cell { position: relative; width: 39px; height: 39px; padding: 0; border-radius: 7px; transition: transform .08s ease-out; }
#ui .au-cell:active { transform: scale(.94); }
#ui .au-cell .au-tile { width: 39px; height: 39px; border-radius: 7px; }
#ui .au-cell.on .au-tile { outline: 2px solid #f2f0e7; outline-offset: 2px; animation: fx-ring 1.2s ease-in-out infinite; }
#ui .au-cell.on::after { content: ""; position: absolute; right: -3px; top: -3px; width: 14px; height: 14px; border-radius: 50%; background: #4f9a5a; box-shadow: 0 0 0 2px #1b1e20; }
#ui .au-cell.on::before { content: ""; position: absolute; right: 2px; top: 0; z-index: 1; width: 3px; height: 6px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
#ui .au-cell.lock .au-tile { filter: grayscale(.85); opacity: .55; }
#ui .au-lock { position: absolute; left: 2px; top: 2px; padding: 0 2px; border-radius: 3px; font-size: 7px; font-weight: 900; font-style: normal; line-height: 11px; color: #fff; background: #5f7d2c; }
#ui .au-hint { flex: none; text-align: center; font-size: 10px; color: #7d817c; }
#ui .au-pick { flex: none; display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
#ui .au-pick .au-tile { width: 40px; height: 40px; }
#ui .au-pick .au-info small + small { color: #7fd88a; }
#ui .au-pick.none { color: #7d817c; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); } #ui .au-pick.none small { font-size: 11px; font-weight: 700; line-height: 1.4; }
#ui .au-seg { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px; border-radius: 8px; background: rgba(0, 0, 0, .42); }
#ui .au-segb { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; height: 28px; border-radius: 6px; color: #a3a6a0; line-height: 1.1; transition: background .12s; }
#ui .au-segb b { font-size: 12px; font-weight: 800; } #ui .au-segb small { font-size: 9.5px; font-weight: 700; }
#ui .au-segb.on { color: #26221c; background: linear-gradient(#e6decd, #c7bba3); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); } #ui .au-segb.on small { color: #7a5a1c; }
#ui .au-hours { flex: none; display: flex; gap: 4px; height: 24px; }
#ui .au-hour { flex: 1; min-width: 0; padding: 0; border-radius: 12px; font-size: 10px; white-space: nowrap; font-weight: 800; color: #a3a6a0; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .au-hour.on { color: #26221c; background: linear-gradient(#e6decd, #c7bba3); box-shadow: none; }
#ui .au-hour.fixed { display: grid; place-items: center; font-size: 10.5px; font-style: normal; color: #8a8e89; background: none; box-shadow: none; }
/* 10-24 사용자 시안: 가운데 = 메이플식 아이템 정보 카드(inv_fx .icard, 상세 창 au-icard 와 같은 폭) + 아래 [경매 등록], 오른쪽 = 등록 타입 · 기간 · 판매가 · 수수료 · 작은 키패드 */
#ui .au-form > .au-sicard { flex: 0 1 auto; align-self: stretch; }   /* 카드 = 가운데 칸 폭 그대로(시안) — au-icard 의 align-self: start 를 덮음 */
#ui .au-form > .au-pick.none { flex: 1; height: auto; max-height: 200px; flex-direction: column; justify-content: center; padding: 12px; text-align: center; }
#ui .au-padcol .au-pricebox { height: 32px; }
#ui .au-padcol .au-pricebox b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }   /* 10-24 "글자 크기 더 줄이고" — 999,999,999 · 1,000억 이 칸 안에 한 줄 */
#ui .au-padcol .au-pricebox.out { box-shadow: inset 0 0 0 1px #e0605a; }   /* 11-05 장비 값 폭 밖(서버가 AUCTION_PRICE_OUT_OF_BAND 로 거절할 값) */
#ui .au-padcol .au-pricebox em { font-size: 11px; }
#ui .au-padcol .au-kv.fee { gap: 4px; padding: 0 8px; font-size: 11px; } #ui .au-padcol .au-kv.fee > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }   /* 큰 값이면 라벨이 줄고 값(−금액)은 다 보인다 */
#ui .au-kv.fee > b { color: #ff8f7a; }
#ui .au-kv.fee.cap > b { color: #e8c979; } #ui .au-kv.fee.cap.out > b { color: #ff8f7a; }   /* auccap-1110 가격 폭 줄(상한) — 폭 밖이면 수수료와 같은 붉은색 */   /* 수수료 = 빠지는 돈(시안 붉은 −200) — au-limit.full 과 같은 붉은색 */
#ui .au-pricebox { flex: none; width: 100%; height: 38px; }
#ui .au-pricebox small { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 800; color: #a3a6a0; }
#ui .au-pricebox b { font-size: 17px; } #ui .au-pricebox em { font-style: normal; font-size: 12px; font-weight: 700; color: #7d817c; }
#ui .au-pricebox.unset { box-shadow: inset 0 0 0 2px #e8c979; animation: au-breathe 1.6s ease-in-out infinite; }   /* 'empty' 금지 — 창 층 전역 .empty(min-height 100px)가 걸려 판매가 칸이 세로로 커졌다(10-19) */
#ui .au-pad { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 28px; gap: 4px; margin-top: auto; padding-bottom: 3px; }   /* 키 28 높이(전엔 남는 높이를 다 먹어 "키패드가 저렇게까지 클 필요 없음", 10-24) */
/* 숫자판 = 1px 테 납작한 키(3D 턱 걷어냄), 누르면 바탕만 밝아진다(10-20 어두운 판 = 밝은 반투명 키) */
#ui .au-key { position: relative; border-radius: 7px; font-size: 14px; font-weight: 800; color: var(--ink); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background .06s; }
#ui .au-key:active { background: rgba(255, 255, 255, .18); }
#ui .au-key.add { font-size: 12px; color: #e8c979; background: rgba(232, 201, 121, .1); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .35); }
#ui .au-key.add:active { background: rgba(232, 201, 121, .22); }
#ui .au-key.fn { font-size: 12px; color: #c9ccc6; background: rgba(255, 255, 255, .04); }
#ui .au-key[data-v="avg"] { grid-column: span 2; color: #e8c979; }
#ui .au-key.off { opacity: .45; pointer-events: none; }
#ui .au-key.back::before { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 14px; margin: -7px 0 0 -10px; border-radius: 0 3px 3px 0; background: #c9ccc6; clip-path: polygon(32% 0, 100% 0, 100% 100%, 32% 100%, 0 50%); }
#ui .au-key.back::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -1px;
  background: linear-gradient(45deg, #0000 41%, #2b2e30 41% 59%, #0000 59%), linear-gradient(-45deg, #0000 41%, #2b2e30 41% 59%, #0000 59%); }
/* 등록 확인 창 */
#ui .au-confirm-body { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
#ui .au-cgrid { display: grid; grid-template-columns: 72px 1fr; align-items: start; gap: 12px; }
#ui .dim.fx-intro .au-cgrid > .au-tile { animation: fx-cell .3s cubic-bezier(.2, .9, .3, 1.3) .1s both; }
#ui .au-cinfo { min-width: 0; display: flex; flex-direction: column; gap: 4px; } #ui .au-cinfo > .au-name { font-size: 14px; } #ui .au-cinfo > small { margin-bottom: 2px; font-size: 10.5px; color: #a3a6a0; }
#ui .au-cnote { padding: 6px 10px; border-radius: 8px; text-align: center; font-size: 11px; line-height: 1.5; color: #a3a6a0; background: rgba(255, 255, 255, .06); }
#ui .au-cacts { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
#ui .au-skip { margin-right: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; color: #a3a6a0; }
#ui .au-skip i { position: relative; width: 16px; height: 16px; border-radius: 4px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
#ui .au-skip.on i { background: #4f9a5a; box-shadow: none; }
#ui .au-skip.on i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
/* 내 경매 탭: 작은 탭 셋(개수) · 한도 · [판매 등록] → 줄 목록 → 도움말 */
#ui .au-mine { display: flex; flex-direction: column; gap: 6px; }
#ui .au-mtabs { display: flex; gap: 2px; margin-right: auto; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .au-mtab { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #a3a6a0; }
#ui .au-mtab.on { color: #26221c; background: linear-gradient(#e6decd, #c7bba3); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
#ui .au-count { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; text-align: center; font-size: 10px; font-style: normal; line-height: 16px; color: #fff; background: #6b7073; }
#ui .au-mtab.on .au-count { background: #548f8c; }
#ui .au-mbar .au-limit { margin-left: 0; }
#ui .au-mcols { grid-template-columns: 1fr 84px 120px 76px; }
#ui .au-mrow { grid-template-columns: 36px 1fr 84px 120px 76px; }
#ui .au-foot { flex: none; text-align: center; font-size: 10px; color: #7d817c; }
/* 움직임: 창이 처음 열릴 때 · 줄이 바뀐 그림만 줄이 차례로(길드 fx-cell) · 탭을 바꾸면 내용이 살짝 떠오름 */
#ui .dim.fx-intro .au-row, #ui .au-main.au-anim .au-row { animation: fx-card-in .26s cubic-bezier(.2, .8, .3, 1) both; }   /* 줄 = 1 을 넘지 않는 등장(ui_fx.css fx-card-in) — au-list 가 스크롤 칸이라 fx-cell 1.06 튐이 양옆에서 잘렸다(10-24 사용자 "경매장 이거 짤리는데? 연출땜에") */
#ui .au-main.au-anim .au-row:nth-child(1) { animation-delay: .02s; } #ui .au-main.au-anim .au-row:nth-child(2) { animation-delay: .05s; } #ui .au-main.au-anim .au-row:nth-child(3) { animation-delay: .08s; }
#ui .au-main.au-anim .au-row:nth-child(4) { animation-delay: .11s; } #ui .au-main.au-anim .au-row:nth-child(5) { animation-delay: .14s; } #ui .au-main.au-anim .au-row:nth-child(6) { animation-delay: .17s; }
#ui .au-main.au-anim .au-row:nth-child(7) { animation-delay: .2s; } #ui .au-main.au-anim .au-row:nth-child(n+8) { animation-delay: .23s; }
#ui .dim.fx-intro .au-row:nth-child(1) { animation-delay: .12s; } #ui .dim.fx-intro .au-row:nth-child(2) { animation-delay: .15s; } #ui .dim.fx-intro .au-row:nth-child(3) { animation-delay: .18s; }
#ui .dim.fx-intro .au-row:nth-child(4) { animation-delay: .21s; } #ui .dim.fx-intro .au-row:nth-child(5) { animation-delay: .24s; } #ui .dim.fx-intro .au-row:nth-child(n+6) { animation-delay: .27s; }
#ui .dim.fx-intro .au-mark { animation: fx-title .36s cubic-bezier(.34, 1.56, .64, 1) .08s both; }
#ui .dim.fx-intro .au-cell { animation: fx-card-in .24s cubic-bezier(.2, .8, .3, 1) .12s both; }   /* 칸 = 스크롤 칸(au-bag) 안이라 1 을 넘지 않는 등장(hq-ui 함정) */
#ui .au-main.au-swap > * { animation: au-swap .22s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes au-swap { from { transform: translateY(6px); opacity: 0; } }
@keyframes au-pop { from { transform: scale(.92); opacity: 0; } }
@keyframes au-msg-in { from { transform: translateY(6px); opacity: 0; } }
@keyframes au-shine { 0%, 62% { transform: translateX(-120%) skewX(-18deg); } 100% { transform: translateX(420%) skewX(-18deg); } }
@keyframes au-bump { 0% { transform: scale(1.22); color: #e0533a; } 100% { transform: none; } }
@keyframes au-breathe { 0%, 100% { box-shadow: inset 0 0 0 2px #e8c979; } 50% { box-shadow: inset 0 0 0 2px #e8c979, 0 0 0 3px #e8c97933; } }
/* 지갑 재화 판매(11-01 D3 — 17k curView): 칸 아래 오른쪽 개수 · 가운데 카드 = 큰 칸 · 이름 · 가진 수 · 수량 [−][n][+][최대] · 묶음 값 폭. 즉시 구매만이라 방식 띠는 한 칸 */
#ui .au-cn { position: absolute; right: 2px; bottom: 1px; font-size: 9px; font-weight: 900; font-style: normal; line-height: 11px; color: #fff; text-shadow: 0 1px 1px #000, 0 0 2px #000; }
#ui .au-curcard { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
#ui .au-curcard .au-name { font-size: 13px; } #ui .au-curcard > small { font-size: 10px; color: #a3a6a0; }
#ui .au-amt { display: flex; align-items: center; gap: 4px; height: 26px; } #ui .au-amt > small { font-size: 10px; color: #a3a6a0; margin-right: 2px; }
#ui .au-amt .au-key { width: 26px; height: 26px; padding: 0; } #ui .au-amt .au-key.fn { width: auto; padding: 0 6px; font-size: 10px; }
#ui .au-amt b { min-width: 44px; text-align: center; font-size: 13px; }
#ui .au-amt .au-key, #ui .au-amtv { flex: none; white-space: nowrap; }   /* 카드 폭 228 안에 한 줄(최소 − 수✎ + 최대) — 글이 세로로 꺾이거나 단추가 줄지 않게 */
#ui .au-amtv { position: relative; min-width: 46px; height: 26px; padding: 0 14px 0 4px; border-radius: 7px; font-size: 13px; font-weight: 800; color: var(--ink); text-align: center; font-variant-numeric: tabular-nums; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .45); }   /* 누르면 숫자 입력(11-08 aufoodname) */
#ui .au-amtv:active { background: rgba(232, 201, 121, .18); } #ui .au-amtv .au-pen { right: 5px; height: 10px; margin-top: -6px; }
#ui .au-band { font-size: 10px !important; color: #e8c979 !important; }
#ui .au-seg:has(> :only-child) { grid-template-columns: 1fr; }
/* 강화 · 잠금(enhance 17m).
   물품 창 오른쪽 판(247.5 × 368, 04-inventory 절대 배치): 판 이름 6 · 탭 줄 29(26) · 정보/강화 판 61 ~ 358. 크기 = hq-ui GUI 450 기준(칸 52~58 · 본문 11~13 · 알약 28).
   색 = 등급색(04-inventory --gc · dokkaebi-world.md §10) · 초록 #7ad26a(좋아짐 — 상점 할인 · 능력치 상승과 같은 강조) · 금 #e8c979(01-popup 지갑 골드 숫자) · 적갈 #c0573f(위험). */
@font-face { font-family: "EnhTitle"; src: url("ui/fonts/EnhTitle.woff2") format("woff2"); font-display: block; }   /* Noto Serif KR 900 부분 글꼴(ui/fonts/EnhTitle.json) */

/* 탭 둘 = 글자 폭 줄(dokkaebi §9 "탭 3개 이하는 짧은 줄") · 정보/강화 판은 같은 자리를 나눠 쓴다 */
#ui .detail-pane > .enh-tabs { top: 29px; height: 26px; left: 8px; right: auto; }
#ui .detail-pane > .enh-tabs .tab { min-width: 56px; padding: 0 14px; }
#ui .detail-pane > .detail { top: 61px; height: 260px; }
#ui .detail-pane > .enh-pane { top: 61px; height: 297px; display: none; flex-direction: column; align-items: center; gap: 5px; overflow: hidden; }
#ui .detail-pane.enh-on > .enh-pane { display: flex; animation: enh-pane-in .22s cubic-bezier(.2, .9, .3, 1.2); }
#ui .detail-pane.enh-on > :is(.detail, .inv-actions) { display: none; }
@keyframes enh-pane-in { from { opacity: 0; transform: translateY(6px); } }

/* 정보 판 머리: 큰 칸 | 별 · [등급] 이름 (+N) · 분류 | 잠금 단추. 바인딩 이름 줄(detail-name)은 등급 · 강화를 모르는 글이라 숨기고 같은 자리에 enh-title */
#ui .detail-pane .detail-top { grid-template-columns: 58px 1fr 26px; gap: 8px; }
#ui .detail-pane .detail-name { display: none; }
#ui .detail-head { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#ui .enh-stars { min-height: 10px; display: flex; gap: 1px; font-size: 9px; line-height: 10px; color: #f0c54a; text-shadow: 0 0 4px rgba(240, 197, 74, .55); letter-spacing: 0; }
#ui .enh-stars i { font-style: normal; display: inline-block; }
#ui .enh-stars i.new { animation: enh-star-new .7s cubic-bezier(.2, 1.6, .4, 1) .55s both; }
@keyframes enh-star-new { 0% { transform: scale(0) rotate(-90deg); opacity: 0; } 70% { transform: scale(1.7); opacity: 1; text-shadow: 0 0 8px #fff2b0; } 100% { transform: scale(1); } }
#ui .enh-title { font-size: 13.5px; font-weight: 800; line-height: 17px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#ui .enh-grade { font-weight: 900; }
#ui .gt-normal { color: #b9bdbf; }   /* 일반 칸색 #6b7073 은 어두운 판 위 글자로 안 읽혀 같은 회색 계열을 밝힘 */
#ui .gt-rare { color: color-mix(in srgb, var(--gr-rare) 80%, #fff); } #ui .gt-epic { color: color-mix(in srgb, var(--gr-hero) 80%, #fff); } #ui .gt-unique { color: color-mix(in srgb, var(--gr-legend) 75%, #fff); } #ui .gt-legendary { color: color-mix(in srgb, var(--gr-myth) 85%, #000); }   /* 칸 등급색(§10)을 글자 굵기만큼 한 단 밝게 */
#ui .enh-plus { font-style: normal; font-weight: 900; color: #7ad26a; }
#ui .item-cell .big-plus, #ui .item-cell .plus { position: absolute; right: 3px; top: 1px; font-size: 9.5px; font-weight: 900; line-height: 12px; color: #7ad26a;
  text-shadow: 1px 0 #111, -1px 0 #111, 0 1px #111, 0 -1px #111; }
#ui .item-cell.big .big-plus { font-size: 11px; line-height: 14px; }
#ui .item-cell .plus { right: auto; top: auto; left: 3px; bottom: 1px; }   /* 칸 +N = 왼쪽 아래 — 위 왼쪽 = 착용 배지 · 아래 오른쪽 = 수량 · 자물쇠와 겹치지 않게 */
#ui .item-cell .lock { position: absolute; right: 3px; bottom: 3px; width: 10px; height: 10px; background: #f2f0e7; filter: drop-shadow(0 0 1px #000) drop-shadow(0 0 1px #000);
  -webkit-mask: var(--enh-lock) center / contain no-repeat; mask: var(--enh-lock) center / contain no-repeat; }
#ui { --enh-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7.5a5 5 0 0 1 10 0V10' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3Crect x='4' y='10' width='16' height='12' rx='2.5'/%3E%3C/svg%3E");
  --enh-unlock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7.5a5 5 0 0 1 9.6-2' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3Crect x='4' y='10' width='16' height='12' rx='2.5'/%3E%3C/svg%3E"); }   /* 흰 선 자물쇠(메뉴 아이콘 결 — 글자색 마스크) */

/* 잠금 단추 = 둥근 어두운 칸 + 자물쇠(열림/잠김). 잠기면 금빛 */
#ui .enh-lock { position: relative; align-self: start; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 8px; cursor: pointer; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: transform .06s; }
#ui .enh-lock[hidden] { display: none; }
#ui .enh-lock i { position: absolute; inset: 5px; background: var(--ink-soft); -webkit-mask: var(--enh-unlock) center / contain no-repeat; mask: var(--enh-unlock) center / contain no-repeat; }
#ui .enh-lock.on { background: rgba(232, 201, 121, .18); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .65); }
#ui .enh-lock.on i { background: #e8c979; -webkit-mask-image: var(--enh-lock); mask-image: var(--enh-lock); }
#ui .enh-lock:active { transform: scale(.92); }
#ui .enh-lock.pop { animation: enh-press .32s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes enh-press { 0% { transform: scale(.92); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* 강화 판(§11.3): 대상 칸 · 단계 · 능력치 · 확률 · 재료 · 강화 알약 */
#ui .enh-none, #ui .enh-msg { margin: auto 0; padding: 0 10px; font-size: 12px; font-weight: 700; line-height: 1.5; color: var(--ink-soft); text-align: center; }
#ui .enh-msg { margin: 6px 0 auto; }
#ui .enh-stage { display: flex; flex-direction: column; align-items: center; gap: 3px; padding-top: 2px; }
#ui .enh-stage .enh-stars { justify-content: center; }
#ui .enh-target { width: 58px; height: 58px; cursor: default; box-shadow: 0 0 0 1px #c9a24a, 0 0 10px rgba(232, 201, 121, .28); }   /* 강화 대상 = 등급 칸 + 금 테(§10) */
#ui .enh-target .icon { left: 9.18px; top: 5.4px; width: 35.64px; height: 35.64px; }
#ui .enh-name { max-width: 231px; font-size: 12.5px; font-weight: 800; line-height: 16px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .enh-step { display: flex; align-items: center; gap: 8px; height: 22px; padding: 0 12px; border-radius: 999px; background: rgba(0, 0, 0, .3); font-size: 14px; font-weight: 900; color: var(--ink); }
#ui .enh-step i { font-style: normal; color: var(--ink-soft); font-size: 12px; }
#ui .enh-step .to { color: #7ad26a; }
#ui .enh-stats { width: 100%; display: flex; flex-direction: column; gap: 2px; }
#ui .enh-stats > div { display: grid; grid-template-columns: 1fr auto 14px auto 52px; align-items: center; gap: 3px; height: 19px; padding: 0 8px; border-radius: 5px; background: rgba(255, 255, 255, .05); font-size: 12px; font-weight: 700; }
#ui .enh-stats span { color: var(--ink-soft); }
#ui .enh-stats i { font-style: normal; text-align: center; color: var(--ink-soft); }
#ui .enh-stats .up { color: #7ad26a; }
#ui .enh-stats em { font-style: normal; font-size: 11px; color: #7ad26a; text-align: right; }
#ui .enh-rates { display: flex; gap: 12px; font-size: 11.5px; font-weight: 700; color: var(--ink-soft); }
#ui .enh-rates b { color: var(--ink); font-weight: 900; }
#ui .enh-rates .dn b { color: #e07a5f; }   /* 하락 = 적갈(위험) 계열 글자 */
#ui .enh-mat { width: 100%; display: flex; align-items: center; gap: 8px; padding: 3px 8px; border-radius: 8px; background: rgba(0, 0, 0, .22); }
#ui .enh-mat .item-cell.sm { flex: none; width: 34px; height: 34px; border-radius: 6px; cursor: default; }
#ui .enh-mat .item-cell.none { filter: grayscale(1) brightness(.6); opacity: .55; }
#ui .enh-mat-t { min-width: 0; display: flex; flex-direction: column; font-size: 12px; font-weight: 800; }
#ui .enh-mat-t small { font-size: 10.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .enh-mat-t .ok { color: #7ad26a; } #ui .enh-mat-t .no { color: #e07a5f; }
#ui .enh-go-row { margin-top: auto; padding-bottom: 2px; display: flex; justify-content: center; }
/* 강화 = 금 알약, 안 왼쪽에 비용(dokkaebi §9 표 "강화(금색 알약, 안 왼쪽에 비용 22,500)") — 폭 = 글자만큼 */
#ui .popup.full .btn.enh-go { flex: none; gap: 8px; padding: 0 16px 0 10px; background: linear-gradient(#f1d68e, #c79a3e); color: #2b210c; }
#ui .enh-cost { display: inline-flex; align-items: center; gap: 3px; padding: 0 7px 0 3px; height: 20px; border-radius: 999px; background: rgba(0, 0, 0, .22); color: #fff4d6; font-size: 11.5px; }
#ui .enh-cost.short { color: #ffb4a0; }
#ui .enh-coin { width: 14px; height: 14px; image-rendering: pixelated; }
#ui .popup.full .btn.enh-unlock { flex: none; gap: 6px; }
#ui .enh-lock-ic { width: 12px; height: 12px; background: currentColor; -webkit-mask: var(--enh-unlock) center / contain no-repeat; mask: var(--enh-unlock) center / contain no-repeat; }
#ui .popup.full .btn.enh-go:not(.off):active, #ui .popup.full .btn.enh-unlock:active { transform: scale(.92); transition-duration: .06s; }

/* 대상 칸 결과 빛(연출과 같은 때): 성공 = 금빛 맥 · 실패 = 흔들림 · 하락 = 적갈 맥 */
#ui .enh-target.hit-success { animation: enh-hit-ok 1.05s ease-out .35s; }
#ui .enh-target.hit-fail { animation: enh-hit-shake .42s ease-in-out .35s; }
#ui .enh-target.hit-down { animation: enh-hit-down 1s ease-out .35s; }
@keyframes enh-hit-ok { 0% { box-shadow: 0 0 0 1px #c9a24a, 0 0 0 rgba(255, 226, 140, 0); transform: scale(1); } 25% { box-shadow: 0 0 0 2px #ffe6a0, 0 0 26px 8px rgba(255, 220, 130, .75); transform: scale(1.12); }
  100% { box-shadow: 0 0 0 1px #c9a24a, 0 0 10px rgba(232, 201, 121, .28); transform: scale(1); } }
@keyframes enh-hit-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes enh-hit-down { 0% { filter: none; } 30% { filter: brightness(.6) sepia(1) hue-rotate(-30deg) saturate(2.4); transform: scale(.94); } 100% { filter: none; transform: scale(1); } }

/* 결과 연출(창 위 한 겹, 1.75 s — 누르면 걷힘): 띠 열림(0 ~ .22) → 빛선 퍼짐(.12 ~ .5) → 글자 모임(.18 + 글자마다 .045) → 단계 줄(.55) → 떠오르며 흐림(1.3 ~ 1.75).
   제목 결 = hq-ui · dokkaebi §12: 짙은 반투명 띠(양 끝 흐림) · 위아래 1px 빛선 · 진주빛 명조 + 부드러운 빛. 성공 = 금 티끌 · 빛 고리, 실패 = 회색 · 하락 = 적갈. */
#ui .enh-fx { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; pointer-events: auto; cursor: pointer; --tone: #f3e7c4; --glow: rgba(255, 214, 120, .55); --line: rgba(255, 233, 170, .85);
  animation: enh-fx-out .45s ease-in 1.3s forwards; }
#ui .enh-fx.k-fail { --tone: #d9dcde; --glow: rgba(200, 205, 210, .3); --line: rgba(220, 224, 228, .55); }
#ui .enh-fx.k-down { --tone: #f0c3b4; --glow: rgba(192, 87, 63, .55); --line: rgba(224, 122, 95, .75); }
#ui .enh-fx > * { grid-area: 1 / 1; }
#ui .enh-fx-band { width: 100%; height: 104px; background: linear-gradient(90deg, transparent, rgba(8, 9, 11, .78) 22%, rgba(8, 9, 11, .78) 78%, transparent); transform: scaleY(0); animation: enh-band .22s cubic-bezier(.2, .8, .3, 1) forwards; }
#ui .enh-fx-line { width: 72%; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent); transform: scaleX(0); animation: enh-line .38s ease-out .12s forwards; }
#ui .enh-fx-line.a { margin-top: -103px; } #ui .enh-fx-line.b { margin-top: 103px; }
#ui .enh-fx-ring { width: 120px; height: 120px; border-radius: 50%; border: 2px solid var(--line); opacity: 0; }
#ui .enh-fx.k-success .enh-fx-ring { animation: enh-ring .7s ease-out .3s; }
#ui .enh-fx-title { margin-top: -14px; display: flex; font-family: "EnhTitle", "GFUIFont", sans-serif; font-size: 34px; font-weight: 900; line-height: 40px; letter-spacing: 2px; white-space: nowrap;
  color: var(--tone); filter: drop-shadow(0 0 6px var(--glow)) drop-shadow(0 1px 1px rgba(0, 0, 0, .8)); }
#ui .enh-fx-title:not(.serif) { font-family: "GFUIFont", sans-serif; letter-spacing: 3px; }
#ui .enh-fx-title span { display: inline-block; background: linear-gradient(180deg, #fffaf0 0%, var(--tone) 55%, color-mix(in srgb, var(--tone) 70%, #8a7a5a) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: 0; animation: enh-letter .42s cubic-bezier(.2, .9, .3, 1) calc(.18s + var(--i) * .045s) forwards; }
#ui .enh-fx-step { margin-top: 56px; display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 900; color: var(--ink, #f2f0e7); opacity: 0; animation: enh-step .3s ease-out .55s forwards; text-shadow: 0 1px 2px #000; }
#ui .enh-fx-step i { font-style: normal; font-size: 12px; color: #9a9d98; }
#ui .enh-fx.k-success .enh-fx-step .to { color: #7ad26a; }
#ui .enh-fx.k-down .enh-fx-step .to, #ui .enh-fx.k-down .enh-fx-step i { color: #e07a5f; }
#ui .enh-fx-sparks { width: 0; height: 0; margin-top: -14px; }
#ui .enh-fx-sparks i { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: #ffe7a6; box-shadow: 0 0 6px 1px rgba(255, 210, 110, .9); opacity: 0;
  animation: enh-spark .9s cubic-bezier(.15, .8, .3, 1) calc(.3s + var(--d)) forwards; }
@keyframes enh-band { to { transform: scaleY(1); } }
@keyframes enh-line { to { transform: scaleX(1); } }
@keyframes enh-ring { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.2); } }
@keyframes enh-letter { 0% { opacity: 0; transform: translateY(8px) scale(1.5); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes enh-step { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes enh-spark { 0% { opacity: 1; transform: translate(0, 0) scale(var(--s)); } 70% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(0); } }
@keyframes enh-fx-out { to { opacity: 0; transform: translateY(-14px); } }
/* 스킬 창(skills-1019) — 6열 칸(공용 스킬 아이콘 40 · 이름 6자까지 한 줄). 지금 스킬 = 금테(제목 줄에 '사용 중 + 이름'), 맨손에 못 쓰는 스킬 = 흐리게 + 제목 줄 안내.
   크기 = GUI 450 기준(화면에선 높이/450 배로 커진다): 아이콘 40 = 물품 창 장비 칸 40 · 칸 56(물품 칸 52 + 6자 이름). 10-19 사용자 "UI 를 왜 크게 … 모바일 신경" — 전엔 600×430 · 아이콘 64 · 한자 줄.
   아이콘 = shared/skill_badges(이펙트랩 원본 — 다음 게임도 같은 아틀라스). 칸 수가 늘면 칸 영역만 끌어 스크롤.
   2026-10-19 전체화면 창(.popup.full, 01-popup): 칸 크기는 그대로, 넓어진 폭만큼 열 수가 는다(auto-fill · 칸 64 · 간격 8/6).
   2026-10-20 반투명 판(01-popup — 머리 띠 46 은 공용): 칸 = 어두운 반투명 둥근 칸 + 얇은 밝은 테(도깨비의 세계 도술 칸 결), 사용 중 = 금테 그대로. */
#ui .sk-title { flex: none; margin: 0; font-size: 17px; font-weight: 800; }
#ui .sk-now { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 800; color: #e8c979; }
#ui .sk-now em { margin-right: 5px; padding: 1px 5px; border-radius: 6px; font-size: 10px; font-style: normal; color: #26221c; background: #e8c979; }
#ui .sk-grid { flex: 1; min-height: 0; overflow-y: auto; margin-top: 0; padding: 2px; display: grid; grid-template-columns: repeat(auto-fill, 64px); justify-content: center; gap: 8px 6px; align-content: start; }
#ui .sk-cell { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 64px; padding: 3px 0 2px; border: 0; border-radius: 8px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font: inherit; color: inherit; cursor: pointer; transition: transform .1s ease; }
#ui .sk-cell:active { transform: scale(.94); }
#ui .sk-ic { display: block; width: 40px; height: 40px; border-radius: 8px; background: #1b1d24 url(shared/skill_badges/skill_badges.webp) no-repeat; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .18), 0 1px 2px #0008; }
#ui .sk-cell.on .sk-ic { box-shadow: 0 0 0 2px #ffd770, 0 0 0 3.5px #8a5a16, 0 0 8px 1px #ffcf5a99; }
#ui .sk-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9.5px; font-weight: 800; letter-spacing: -.4px; color: #d6d0ba; }
#ui .sk-cell.off .sk-ic { filter: grayscale(.85) brightness(.7); } #ui .sk-cell.off .sk-name { color: #6f726d; }   /* 맨손에 못 쓰는 무공 — 흐려도 눌러 책은 본다 */
/* 무공 등급 별: 아이콘 위 한 줄 = 아이템 정보 카드 별(inv_fx.css .icard .ic-stars)과 같은 별 · 같은 색 */
#ui .sk-cell .ic-stars { display: flex; justify-content: center; gap: 1px; height: 7px; }
#ui .sk-cell .ic-stars i { width: 7px; height: 7px; background: #4a4c4e; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
#ui .sk-cell .ic-stars i.on { background: #ffcc00; }
#ui .sk-none { grid-column: 1 / -1; margin: 40px 0; text-align: center; font-weight: 700; color: #9a9d98; }
#ui .dim.fx-intro .sk-cell { animation: fx-cell .3s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--i, 0) * .02s + .08s); }
/* 무공 책: 메이플 스킬 창 = 직업 머리 띠(큰 아이콘 + 직업 이름) + 두 줄 칸(아이콘 · 이름 · 레벨 상자).
   여기선 반투명 판 결 그대로(01-popup): 머리 띠 = 어두운 반투명 둥근 띠 + 아이콘 40 + 이름 15 + 수 줄 + 글자 폭 알약 [사용](청록 결정) / '사용 중'(금 글자 — 위 sk-now 와 같은 값).
   탭 [콤보][스킬][버프] = 공용 알약 줄(3개 = 글자 폭, hq-ui). 칸 = 두 줄 격자(넓으면 열이 는다 — 칸은 키우지 않는다), 줄 = 아이콘 40 + 번호(단 · 단축키) + 이름 · 정보. */
#ui .sk-book { flex: none; display: flex; flex-direction: column; gap: 8px; margin: 0 0 8px; }
#ui .sk-band { display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 8px; border-radius: 10px; background: rgba(0, 0, 0, .34); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); animation: fx-fade .2s ease-out both; }
#ui .sk-band .sk-ic { flex: none; box-shadow: 0 0 0 2px #ffd770, 0 0 0 3.5px #8a5a16, 0 0 8px 1px #ffcf5a66; }
#ui .sk-bt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#ui .sk-bt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 800; color: #f0e6c8; }
#ui .sk-bt small { font-size: 11px; font-weight: 700; color: #9a9d98; }
#ui .popup.full .btn.sk-use { flex: none; margin-left: auto; }
#ui .sk-using { flex: none; margin-left: auto; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; color: #26221c; background: #e8c979; }
#ui .sk-tabs { margin: 0; }
#ui .sk-grid.sk-pages { grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); justify-content: stretch; gap: 6px; padding: 2px 4px; }
#ui .sk-tier { margin-right: 5px; padding: 0 5px; border-radius: 5px; font-size: 10px; font-style: normal; font-weight: 800; color: #e8c979; box-shadow: inset 0 0 0 1px #e8c97988; vertical-align: 1px; }   /* 전직 단계(1~5단계) — 금 글자 테 */
#ui .sk-row.buff .sk-ic { box-shadow: 0 0 0 1.5px #ffd77099, 0 0 8px 1px #ffcf5a55; }   /* 버프 = HUD 버프 칸의 금빛 테(07-askill sk-buff.live) */
#ui .sk-row { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 9px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); animation: fx-cell .3s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--i, 0) * .04s); }
#ui .sk-row .sk-ic { position: relative; flex: none; }
#ui .sk-row .sk-ic b { position: absolute; right: -4px; bottom: -4px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 8px; font-size: 11px; line-height: 16px; text-align: center; color: #26221c; background: #e8c979; box-shadow: 0 1px 2px #0008; }
#ui .sk-mv { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
#ui .sk-mv b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 800; color: #f0e6c8; }
#ui .sk-mv small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 700; color: #9a9d98; }   /* 정보 한 줄 — 버프 줄이 두 줄로 꺾이지 않게 */
/* 대륙 탭(features/continent 17n): 큰 지도 창(worldmap 08 · 14 #map-dim)의 대륙 탭 판(.ct-body) — 지도 탭 판(.map-body)처럼 머리 띠 아래 판 전체.
   지도 = 하늘섬 그림 한 장(assets/skyisle/sky_world.webp 1536×1024 = 3:2 — forest_map skyAtlas), 확대 · 축소 = 17n ctSetZoom 이 폭을 바꾼다, 끌기 = touch_scroll.
   자리 = 섬 칸 + 섬 위 제목(아래 "섬 고르기"). 이동 카드 = 아래 오른쪽 먹빛 판 + 글자 폭 알약. */
#ui .ct-body { flex: 1; min-height: 0; margin: 0 -18px; position: relative; background: #a9c7e6; }   /* 바탕 = 그림 가장자리 하늘 · 구름 빛(sky_world.webp) — 지도가 화면보다 짧아도 하늘이 이어진다 */
#ui .ct-scroll { position: absolute; inset: 0; overflow: auto; display: flex; flex-direction: column; scrollbar-width: none; }
#ui .ct-scroll::-webkit-scrollbar { display: none; }
#ui .ct-map { position: relative; flex: none; width: 100%; aspect-ratio: 3 / 2; margin: auto; }   /* 처음 1 = 두 섬이 한 화면 · margin auto = 짧거나 좁으면 가운데, 넘치면 위 · 왼쪽부터 스크롤 */
#ui .ct-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
/* 하늘섬 실시간 지도(17n ctSkyGL · features/continent sky_map_gl.js): 판 = 판 크기 그대로(확대 · 스크롤 없음 — 카메라가 두 섬을 맞춤) · 그림 한 장 숨김 · 캔버스 = 판 전체.
   첫 프레임이 섬 자리를 잡기 전(.ready 전)엔 캔버스 · 자리 칸 · 내 자리를 숨겨 바탕 하늘색만(자리 칸이 그림 비율에서 섬 위로 튀지 않게), 잡으면 .35 s 에 걸쳐 나타난다 */
#ui .ct-gl { display: none; }
#ui .ct-body.gl { background: linear-gradient(180deg, #5a85b8 0%, #8cb3dc 56%, #c6daef 100%); }
#ui .ct-body.gl .ct-scroll { overflow: hidden; }
#ui .ct-body.gl .ct-map { width: 100%; height: 100%; aspect-ratio: auto; margin: 0; }
#ui .ct-body.gl .ct-art { display: none; }
#ui .ct-body.gl .ct-gl { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#ui .ct-body.gl:not(.sky-on) .ct-gl, #ui .ct-body.gl:not(.ready) .ct-spot, #ui .ct-body.gl:not(.ready) .ct-me { visibility: hidden; }
#ui .ct-body.gl.sky-on .ct-gl, #ui .ct-body.gl.ready .ct-spot { animation: ct-gl-in .35s ease-out both; }
@keyframes ct-gl-in { from { opacity: 0; } }

/* 섬 고르기(17n ctBuild): 누르는 칸 = 섬 화면 사각형(17n putBox — 투명, 고른 빛은 섬 실루엣 테 sky_map_gl). 제목 = 섬 윗면 가운데 위(내 캐릭터가 서 있으면 그 머리 위) — 지역 진입 칭호(zones 06 zone-card) 말씨:
   짙은 반투명 띠(양 끝 흐림 rgba(9,11,19,.58~.72)) · 위아래 1px 흰 빛선 · 명조 이름(ZoneTitle, 진주빛 흰 그라데이션 + 푸른 빛) · 자간 넓은 작은 설명 + 마름모 둘.
   크기(GUI 450): 고른 이름 20(칭호 26 보다 작게 — 지도 위 두 섬이 한 화면) · 설명 10.5 · 안 고른 섬 이름 14(띠 없이 먹 그림자). 띠 = 글자 폭 + 좌우 46 */
#ui .ct-spots { position: absolute; inset: 0; pointer-events: none; }
#ui .ct-spot { position: absolute; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
#ui .ct-title { position: absolute; width: 0; height: 0; pointer-events: none; }
#ui .ct-tw { position: absolute; left: 0; bottom: 10px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 3px; white-space: nowrap; isolation: isolate; }
#ui .ct-title.here .ct-tw { bottom: 40px; }   /* 내 캐릭터(17n ctHero 서기 시트 — 발에서 머리까지 ≈ 30 px) 머리 위 */
#ui .ct-tname { font-family: "ZoneTitle", GFUIFont, sans-serif; font-size: 14px; font-weight: 900; letter-spacing: 2px; line-height: 18px; color: #f4f1ea; opacity: .9;
  text-shadow: 0 0 2px rgba(9, 11, 19, .9), 0 1px 3px rgba(9, 11, 19, .85), 0 0 10px rgba(9, 11, 19, .45); }
#ui .ct-tdesc { display: none; }
/* 섬 레벨대 알약(17n lvOf): 내 레벨 < 최저 = 붉은 판 + 테(지역 칭호 .danger · 경고 알약 ct-msg 색) */
#ui .ct-tlv { padding: 1px 8px; border-radius: 9px; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .5px; line-height: 14px; color: #e8f3dc;
  background: rgba(9, 11, 19, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
#ui .ct-title.low .ct-tlv { color: #ffe0da; background: rgba(150, 30, 24, .9); box-shadow: inset 0 0 0 1px #ff8f7f, 0 0 6px rgba(255, 90, 70, .45); }
#ui .ct-title.sel .ct-tlv { animation: ct-t-desc .4s .22s ease-out both; }
/* 고른 섬: 띠 + 위아래 빛선 + 진주빛 명조 20(칭호 zc-name 그라데이션 · .zc-row 빛) + 설명 10.5(칭호 zc-lv 마름모) */
#ui .ct-title.sel .ct-tw { padding: 7px 0 6px; }
#ui .ct-title.sel .ct-tw::before { content: ""; position: absolute; inset: 0 -46px; z-index: -1;
  background:
    linear-gradient(90deg, transparent, rgba(226, 230, 255, .3) 24%, #fff 50%, rgba(226, 230, 255, .3) 76%, transparent) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(226, 230, 255, .3) 24%, #fff 50%, rgba(226, 230, 255, .3) 76%, transparent) bottom / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(9, 11, 19, .58) 22%, rgba(9, 11, 19, .72) 50%, rgba(9, 11, 19, .58) 78%, transparent);
  animation: ct-t-band .5s cubic-bezier(.25, .8, .3, 1) both; }
#ui .ct-title.sel .ct-tname { font-size: 20px; letter-spacing: 3px; line-height: 24px; opacity: 1; color: #fff; text-shadow: none;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 42%, #e6e2fa 72%, #cfe8ee 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: blur(0) drop-shadow(0 0 6px rgba(150, 165, 255, .45)) drop-shadow(0 1px 1px rgba(0, 0, 0, .75)); animation: ct-t-name .6s .08s cubic-bezier(.2, .7, .3, 1) both; }
#ui .ct-title.sel .ct-tdesc { display: flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; line-height: 13px;
  color: rgba(236, 239, 250, .92); text-shadow: 0 1px 2px rgba(0, 0, 0, .8); animation: ct-t-desc .4s .3s ease-out both; }
#ui .ct-title.sel .ct-tdesc::before, #ui .ct-title.sel .ct-tdesc::after { content: ""; flex: none; width: 4px; height: 4px; border: 1px solid currentColor; transform: rotate(45deg); opacity: .8; }
/* 연출(고를 때 .sel 이 붙으면 시작): 띠는 가운데서 양옆으로 열림 · 이름은 흐림에서 또렷해지며 자간 모임 · 설명은 아래에서 떠오름(칭호 zc-band · zc-name · zc-sub 결, 짧게) */
@keyframes ct-t-band { from { opacity: 0; clip-path: inset(0 50% 0 50%); } 30% { opacity: 1; } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes ct-t-name { from { opacity: 0; letter-spacing: 11px; filter: blur(5px) drop-shadow(0 0 6px rgba(150, 165, 255, 0)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0)); }
  60% { filter: blur(0) drop-shadow(0 0 6px rgba(150, 165, 255, .45)) drop-shadow(0 1px 1px rgba(0, 0, 0, .75)); } }
@keyframes ct-t-desc { from { opacity: 0; transform: translateY(4px); } }
/* 내 자리 핀(17n ctPlaceMe): 금빛 물방울 핀 18(세계 지도 내 이름 알약 #ffd36b · 먹 테 #24180e) + 흰 속점,
   끝 = 내 자리(그림 %) · 1.4 s 마다 3 px 뜀 · 발밑 흰 고리가 퍼짐(세계 지도 내 자리 고리 1400ms). 누르지 않는다(자리 칸 누름을 가리지 않게) */
#ui .ct-me { position: absolute; width: 0; height: 0; pointer-events: none; }
#ui .ct-me[hidden] { display: none; }
#ui .ct-me::before { content: ""; position: absolute; left: -9px; top: -22px; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: radial-gradient(circle, #fff 0 3.5px, #ffd36b 4.5px); box-shadow: 0 0 0 1.5px #24180e, 0 2px 4px rgba(0, 0, 0, .5); animation: ct-me-bob 1.4s ease-in-out infinite; }
#ui .ct-me::after { content: ""; position: absolute; left: -7px; top: -3px; width: 14px; height: 6px; border-radius: 50%; box-sizing: border-box; border: 2px solid #fff; animation: ct-me-ring 1.4s ease-out infinite; }
@keyframes ct-me-bob { 50% { transform: translateY(-3px) rotate(-45deg); } }
@keyframes ct-me-ring { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
/* 내 캐릭터(17n ctDrawHero): 캐릭터가 서면 핀 대신(발밑 고리는 그대로) */
#ui .ct-me.hero::before { display: none; }
#ui .ct-hero { position: absolute; display: block; }
#ui .ct-body.fx-in .ct-title:not(.sel) .ct-tname { animation: ct-t-desc .3s .27s ease-out both; }   /* 지도를 열 때(17n showContinent 800ms fx-in) 안 고른 섬 이름은 고른 섬 제목 뒤 70ms 에 떠오름(hq-ui 보상 칸 간격) */

/* 아래 오른쪽: 알림 한 줄 + 이동 카드(이름 · 알약) */
#ui .ct-foot { position: absolute; right: 14px; bottom: 12px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; }
#ui .ct-foot > * { pointer-events: auto; }
#ui .ct-card { display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 14px; border-radius: 12px; background: rgba(12, 13, 15, .82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 4px 12px rgba(0, 0, 0, .4); }   /* 판 = 전체화면 창 판 아래쪽 먹빛(01-popup rgba(12,13,15,.82)) — 밝은 지도 위에서도 읽히게 · 테 = 머리 띠 빛선 */
#ui .ct-where { display: flex; flex-direction: column; min-width: 56px; }
#ui .ct-sub { font-size: 10.5px; font-weight: 700; line-height: 13px; color: var(--ink-soft); }
#ui .ct-sub:empty { display: none; }
#ui .ct-name { font-size: 14px; font-weight: 800; line-height: 18px; color: var(--ink); }
/* 카드 상태 알약(17n — 이름 옆): 추천 = 좋아짐 초록 #7ad26a(inv_fx 14b-enhance) 테 + 부드러운 맥박(등급 빛 1047 ms) · 위험 · 입장 레벨 = 경고 붉은 판(특수 섬 제목 입장 알약 .low 와 같은 색) */
#ui .ct-nrow { display: flex; align-items: center; gap: 6px; }
#ui .ct-state { flex: none; padding: 0 7px; border-radius: 8px; font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .5px; line-height: 14px; white-space: nowrap; }
#ui .ct-state:empty { display: none; }
#ui .ct-state[data-k="pick"] { color: #dff7d6; background: rgba(22, 58, 30, .82); box-shadow: inset 0 0 0 1px #7ad26a, 0 0 6px rgba(122, 210, 106, .4); animation: ct-pick 1047ms ease-in-out infinite alternate; }
#ui .ct-state[data-k="risk"], #ui .ct-state[data-k="lock"] { color: #ffe0da; background: rgba(150, 30, 24, .9); box-shadow: inset 0 0 0 1px #ff8f7f; }
@keyframes ct-pick { to { box-shadow: inset 0 0 0 1px #a6e89a, 0 0 10px rgba(122, 210, 106, .7); } }
#ui .ct-clv { font-size: 10.5px; font-weight: 700; line-height: 13px; color: var(--ink-soft); }   /* 사냥섬 권장 전투력 · 그 밖 입장 레벨(17n) */
#ui .ct-clv:empty { display: none; }
#ui .ct-pow { font-size: 10.5px; font-weight: 800; line-height: 13px; color: var(--ink-soft); }   /* 내 전투력(17n ctPick): 권장 이상 = 좋아짐 초록(추천 알약 #7ad26a) · 모자람 = 경고 붉은빛(레벨 알약 #ff9b85) */
#ui .ct-pow:empty { display: none; }
#ui .ct-pow.up { color: #7ad26a; }
#ui .ct-pow.down { color: #ff9b85; }
#ui .ct-eta { font-size: 10.5px; font-weight: 700; line-height: 13px; color: #e6f4ff; }   /* 이동 예상 = 항해 막대 남은 시간(06s sb-left)과 같은 빛 */
#ui .ct-eta:empty { display: none; }
/* 섬별 "지금 n명": 섬 제목 레벨 알약 옆 작은 반투명 알약(카드에는 두지 않는다 — 카드 = 권장 전투력 · 상태) */
#ui .ct-title .ct-tpop { display: block; width: max-content; margin: 2px auto 0; padding: 1px 7px; border-radius: 8px; font-size: 9.5px; font-style: normal; font-weight: 800; line-height: 13px;
  color: #d8f7e1; background: rgba(10, 30, 20, .62); box-shadow: inset 0 0 0 1px rgba(127, 217, 154, .55); }
#ui .ct-title .ct-tpop[hidden] { display: none; }
#ui .ct-card.low { box-shadow: inset 0 0 0 1px rgba(255, 143, 127, .7), 0 4px 12px rgba(0, 0, 0, .4); }
#ui .ct-go { flex: none; min-width: 72px; }   /* 글자 폭 알약 · 최소 폭 = 탭 72(hq-ui) */
#ui .ct-card.swap .ct-where { animation: ct-swap .22s cubic-bezier(.2, .9, .3, 1.2); }   /* 고른 곳이 바뀜 = 강화 탭 판 바뀜(enhance 14b enh-pane-in)과 같은 결 */
@keyframes ct-swap { from { opacity: 0; transform: translateY(6px); } }
#ui .ct-msg { padding: 3px 14px; border-radius: 12px; font-size: 12px; font-weight: 800; color: #ff9b85; white-space: nowrap; background: rgba(60, 20, 16, .92); box-shadow: inset 0 0 0 1.5px #b4664d, 0 3px 8px #0006; }   /* 경고 알약 = 경매장 au-msg · 길드 gd-msg 색 */
#ui .ct-msg.in { animation: ct-msg-in .2s ease-out both; }
#ui .ct-msg[hidden] { display: none; }
@keyframes ct-msg-in { from { transform: translateY(6px); opacity: 0; } }   /* 경매장 au-msg-in 과 같다 */

/* 탭 · 섬 넘기기(17n ctShowTab · ctStep):
   탭 줄 = 01-popup 공용 어두운 알약 줄(3 개라 글자 폭 — 도깨비의 세계 §9) · 높이 30 · 글자 12.5(채팅 창 social-tabs 와 같은 값) · 왼쪽 = 머리 띠 ‹ 와 같은 18.
   ‹ › = 판 양옆 가운데 먹빛 반투명 원 36(아이콘 40 이하 — hq-ui) + 흰 선 꺾쇠(머리 띠 ‹ 와 같은 테두리 꺾쇠) · 끝 칸이면 엷게 · 누름 .92(hq-ui 누름).
   점 = 아래 가운데(이동 카드와 겹치지 않게 카드 높이 가운데) 6 px 흰 점 · 고른 칸 = 16 px 알약(넘김 .22 s) · DOTS 넘으면 "3 / 15" 알약.
   탭을 바꾸면 캔버스가 그 섬에 바로 서므로 판 바뀜(.tab-in) = 캔버스 · 제목 .28 s 엷게 → 또렷이(ui_fx 탭 판 바뀜 fx-fade 결) */
#ui .ct-tabs { position: absolute; left: 18px; top: 10px; height: 30px; z-index: 2; }
#ui .ct-tabs .tab { padding: 0 16px; font-size: 14px; font-weight: 800; }
/* 잠긴 [보스] 탭(17n — 11-08 월드보스 무대 열기 전): 글자 엷게 + 앞에 흰 자물쇠(패스 칸 자물쇠와 같은 그림) */
#ui .ct-tabs .tab.lock { color: rgba(255, 255, 255, .45); }
#ui .ct-tabs .tab.lock::before { content: ""; display: inline-block; width: 10px; height: 10px; margin: 0 4px -1px 0; opacity: .7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 5.2V3.8a2 2 0 0 1 4 0v1.4' fill='none' stroke='white' stroke-width='1.4'/%3E%3Crect x='2.5' y='5' width='7' height='5.5' rx='1.2' fill='white'/%3E%3C/svg%3E") center / 10px no-repeat; }
#ui .ct-arrow { position: absolute; top: 50%; z-index: 2; width: 36px; height: 36px; margin-top: -18px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(12, 13, 15, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 2px 6px rgba(0, 0, 0, .35); -webkit-tap-highlight-color: transparent;
  transition: transform .06s, opacity .15s; }
#ui .ct-arrow.prev { left: 16px; } #ui .ct-arrow.next { right: 16px; }
#ui .ct-arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -3px; border: solid #fff; border-width: 0 0 2.5px 2.5px; border-radius: 1px; transform: rotate(45deg); }
#ui .ct-arrow.next::before { margin-left: -7px; transform: rotate(-135deg); }
#ui .ct-arrow:active { transform: scale(.92); }
#ui .ct-arrow.off { opacity: .3; pointer-events: none; }
#ui .ct-arrow[hidden], #ui .ct-dots[hidden], #ui .ct-empty[hidden], #ui .ct-card[hidden], #ui .ct-spot[hidden], #ui .ct-title[hidden] { display: none; }
#ui .ct-dots { position: absolute; left: 50%; bottom: 27px; z-index: 2; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px;
  background: rgba(12, 13, 15, .38); pointer-events: none; }
#ui .ct-dots > i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .5); transition: width .22s cubic-bezier(.2, .9, .3, 1), background .22s; }
#ui .ct-dots > i.on { width: 16px; background: #fff; }
#ui .ct-dots > i.pick { background: #7ad26a; box-shadow: 0 0 5px rgba(122, 210, 106, .7); }   /* 내 전투력 추천 섬(17n ctPick) — 제목 알약과 같은 초록 */
#ui .ct-dots.num { padding: 2px 10px; font-size: 11px; font-weight: 800; line-height: 15px; color: #fff; }
#ui .ct-empty { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); padding: 6px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  color: var(--ink); white-space: nowrap; background: rgba(12, 13, 15, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); animation: ct-msg-in .2s ease-out both; }
#ui .ct-empty.load { display: flex; align-items: center; gap: 8px; pointer-events: none; }
#ui .ct-empty.load[hidden] { display: none; }
#ui .ct-empty.load::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, .22); border-top-color: #fff6e0; animation: ct-spin .75s linear infinite; }
@keyframes ct-spin { to { transform: rotate(360deg); } }
#ui .ct-body.tab-in .ct-gl, #ui .ct-body.tab-in .ct-spots { animation: ct-tab-in .28s ease-out both; }
#ui .ct-body.gl .ct-title.here .ct-tw { bottom: 10px; }   /* 실시간 지도 = 17n ctGLFrame 이 제목 자리를 캐릭터 머리 위로 잡는다 */
@keyframes ct-tab-in { from { opacity: .35; } }

/* [배] 탭(17n ctShipPane · ctTiers · ctShipCard) — 펫 창(장면 가운데 크게 · 아래 초상 줄, 도깨비의 세계 §3) · 강화 창(지금 → 다음 · 오름 초록) · 오른쪽 아래 카드 = 이동 카드 자리.
   단계색 = 하이랜드 등급색(1 일반 · 2 희귀 · 3 영웅 · 4 고유 · 5 전설 — 도깨비의 세계 §10 우리 값). 판 = 이동 카드와 같은 먹빛 판 · 테.
   크기(GUI 450): 카드 폭 220 · 이름 15 · 단계 알약 18 · 단계 칸 52(hq-ui 칸 52~64 의 작은 값 — 장면 아래 줄이라 배를 덜 가린다) · 이름 10 */
#ui .ct-body { --shp-w: 220px; }
#ui .ct-shp { position: absolute; right: 14px; bottom: 12px; z-index: 2; width: var(--shp-w); box-sizing: border-box; display: flex; flex-direction: column; gap: 8px;
  padding: 10px 12px 8px; border-radius: 12px; background: rgba(12, 13, 15, .82); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 4px 12px rgba(0, 0, 0, .4); --tc: #6b7073; }
#ui .ct-shp[hidden], #ui .ct-tiers[hidden] { display: none; }
#ui .ct-body.ship .ct-title { display: none; }   /* 이름은 오른쪽 판에 — 배 위 제목 띠는 두지 않는다 */
#ui .ct-shp.t2, #ui .ct-tier.t2 { --tc: var(--gr-rare); } #ui .ct-shp.t3, #ui .ct-tier.t3 { --tc: var(--gr-hero); } #ui .ct-shp.t4, #ui .ct-tier.t4 { --tc: var(--gr-legend); } #ui .ct-shp.t5, #ui .ct-tier.t5 { --tc: var(--gr-myth); }   /* 배 단계 = 등급 사다리(희귀 → 신화) */
#ui .ct-shp-in { display: flex; flex-direction: column; }
#ui .ct-shp-in.swap { animation: fx-card-in .24s cubic-bezier(.2, .8, .3, 1) both; }
#ui .ct-shp-head { display: flex; align-items: center; gap: 7px; min-width: 0; }
#ui .ct-shp-tier { flex: none; padding: 0 8px; border-radius: 9px; font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 18px; color: #fff; background: var(--tc); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
#ui .ct-shp-name { min-width: 0; font-size: 15px; font-weight: 800; line-height: 20px; color: #fff; white-space: nowrap; }
#ui .ct-shp-stat { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 5px 9px; border-radius: 8px; background: rgba(255, 255, 255, .06);
  font-size: 11px; font-weight: 700; line-height: 15px; color: var(--ink-soft); white-space: nowrap; }
#ui .ct-shp-stat b { display: flex; align-items: center; gap: 5px; font-weight: 800; }
#ui .ct-shp-stat em { font-style: normal; font-size: 13px; color: var(--ink); } #ui .ct-shp-stat em.up { color: #7ad26a; }   /* 좋아짐 초록 = 강화 창 */
#ui .ct-shp-stat s { color: var(--ink-soft); opacity: .7; }
#ui .ct-shp-stat small { font-size: 10px; font-weight: 700; color: var(--ink-soft); }   /* 다음 단계 미리 보기 글 */
#ui .ct-shp-stat { flex-wrap: wrap; row-gap: 2px; } #ui .ct-shp-stat b { margin-left: auto; }   /* 섬 이름 · 긴 시간이 한 줄에 안 들면 값만 아랫줄 오른쪽으로 */
#ui .ct-shp-time { margin-top: 4px; } #ui .ct-shp-time[hidden] { display: none; }
#ui .ct-shp-stat i { width: 5px; height: 5px; border: solid var(--ink-soft); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }   /* 지금 → 다음 꺾쇠(머리 띠 ‹ 와 같은 선) */
#ui .ct-shp-foot { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .08); }
#ui .ct-shp-cond { flex: 1; min-width: 0; font-size: 10.5px; font-weight: 700; line-height: 13px; color: #ff9b85; }   /* 못 사는 까닭 = 경고 붉은 글(ct-msg 색) */
#ui .ct-shp-go { flex: none; min-width: 72px; }   /* 글자 폭 알약 · 최소 폭 = 탭 72(hq-ui) */
#ui .ct-shp-go .ct-dia { width: 14px; height: 14px; margin: -2px 4px 0 0; vertical-align: middle; }
#ui .ct-shp.got { animation: fx-flash .5s ease-out; }

/* 단계 칸 줄: 남은 장면 가운데 아래 · 칸 = 등급색 세로 그라데이션 둥근 네모 + 얇은 밝은 안쪽 테(도깨비의 세계 §10) · 고른 칸 = 흰 빛 테 맥박 + 흰 굵은 이름(펫 창) ·
   타는 배 = 오른쪽 위 주황 체크 꼬리표(장착 E 색 #c8701e) · 살 수 있는 다음 배 = 빨간 점(628 ms) · 잠김 = 어두운 칸 + 흰 자물쇠(변신 잠금과 같은 그림). 탭을 열면 칸이 70 ms 간격으로 튀어 오르고, 막 산 칸은 튐 + 빛 고리 */
#ui .ct-tiers { position: absolute; left: min(50%, calc(100% - var(--shp-w) - 28px - 180px)); bottom: 12px; z-index: 2; display: flex; gap: 10px; transform: translateX(-50%); pointer-events: none; }
/* ↑ 줄 폭 360(칸 64 × 5 + 틈 10 × 4)의 가운데 = 화면 가운데, 다만 오른쪽 끝이 카드 왼쪽 14px 을 넘지 않게(창 층 px 로 재므로 #ui 확대와 상관없다) */
#ui .ct-tier { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 64px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto;
  -webkit-tap-highlight-color: transparent; transition: transform .06s; animation: fx-cell .28s calc(var(--i) * 70ms) cubic-bezier(.2, .9, .3, 1.3) both; }
#ui .ct-tier:active { transform: scale(.92); }
#ui .ct-tc { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; font-style: normal;
  background: linear-gradient(color-mix(in srgb, var(--tc) 80%, #fff 20%), color-mix(in srgb, var(--tc) 70%, #000 30%));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 3px 8px rgba(0, 0, 0, .45); }
#ui .ct-tc img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); pointer-events: none; }   /* 배 그림 = 칸을 꽉(그림이 이미 배 둘레로 잘려 있다) */
#ui .ct-tier small { max-width: 100%; font-size: 10px; font-weight: 700; line-height: 13px; color: rgba(255, 255, 255, .78); white-space: nowrap; text-shadow: 0 1px 2px #000, 0 0 4px rgba(0, 0, 0, .7); }
#ui .ct-tier.on .ct-tc { outline: 1.5px solid #fff; outline-offset: 2px; animation: fx-ring 1.047s ease-in-out infinite; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 0 12px rgba(255, 255, 255, .45); }
#ui .ct-tier.on small { color: #fff; font-weight: 900; }
#ui .ct-tt { position: absolute; left: 50%; bottom: 2px; z-index: 1; transform: translateX(-50%); padding: 0 4px; border-radius: 6px; font-style: normal; font-size: 9px; font-weight: 800; line-height: 12px;
  color: #fff; background: rgba(12, 13, 15, .72); white-space: nowrap; font-variant-numeric: tabular-nums; pointer-events: none; }   /* 칸 아래 기준 섬 항해 시간(배 카드 아래 줄과 같은 섬) */
#ui .ct-tier.lock .ct-tc { background: linear-gradient(color-mix(in srgb, var(--tc) 30%, #1a1c1f 70%), color-mix(in srgb, var(--tc) 18%, #0c0d0f 82%)); }
#ui .ct-tier.lock .ct-tc img { filter: grayscale(.85) brightness(.38); }
#ui .ct-tier.lock .ct-tc::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; background: #fff; opacity: .92;
  -webkit-mask: url(features/morph/lock.svg) center / contain no-repeat; mask: url(features/morph/lock.svg) center / contain no-repeat; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .8)); }
#ui .ct-tier.lock small { color: rgba(255, 255, 255, .5); }
#ui .ct-tier.use .ct-tc::after { content: ""; position: absolute; right: -3px; top: -3px; width: 15px; height: 15px; border-radius: 4px; background: #c8701e; box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
#ui .ct-tier.use .ct-tc::before { content: ""; position: absolute; z-index: 1; right: 2px; top: 0; width: 3px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
#ui .ct-tier.can .ct-tc::after { content: ""; position: absolute; right: -2px; top: -2px; width: 8px; height: 8px; border-radius: 50%; background: #ff4b3a; box-shadow: 0 0 0 1.5px rgba(12, 13, 15, .9); animation: fx-got-blink .628s ease-in-out infinite; }
#ui .ct-tier.got .ct-tc { animation: fx-got-in .42s cubic-bezier(.2, .9, .3, 1.3) both; }
#ui .ct-tier.got::after { content: ""; position: absolute; left: 50%; top: 26px; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 12px; box-shadow: 0 0 0 2px #fff, 0 0 14px var(--tc); pointer-events: none; animation: fx-got-ring .7s ease-out both; }

/* 사냥 구역 설정(17n ctHzPaint — 사냥터 탭만): 왼쪽 아래 빈 자리(오른쪽 아래 이동 카드와 같은 아래 12)에 보조 알약(01-popup .btn.plain · 높이 28 · 글자 폭) + 지금 구역 글자.
   누르면 바로 위 작은 판 = 이동 카드와 같은 먹빛 판 + 작은 팝업 금선 테(#c8aa6e — 18-popup-dark) · 제목 12 · [쉬움|보통|어려움] 알약 28 · 틈 8(메이플 키우기 이웃 틈) · 고른 것 = 베이지 알약(탭 줄 고른 탭 결).
   구역 글자 색 = 판정 알약(starforce) 결: 보통 = 금(#ffd36b, 이동 카드 강조) · 어려움 = 경고 붉은 글(ct-msg #ff9b85) */
#ui .ct-hz { position: absolute; left: 14px; bottom: 12px; z-index: 2; flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; }
#ui .popup.full .ct-hz { background: rgba(12, 13, 15, .82); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 4px 12px rgba(0, 0, 0, .4); }
#ui .popup.full .ct-hz.on { box-shadow: inset 0 0 0 1px #c8aa6e, 0 4px 12px rgba(0, 0, 0, .4); }
#ui .ct-hz-v { font-style: normal; color: #cfe8c8; }
#ui .ct-hz-v[data-t="1"] { color: #ffd36b; }
#ui .ct-hz-v[data-t="2"] { color: #ff9b85; }
#ui .ct-hzp { position: absolute; left: 14px; bottom: 48px; z-index: 3; display: flex; flex-direction: column; gap: 7px; padding: 8px 10px 10px; border-radius: 12px; background: rgba(12, 13, 15, .92);
  box-shadow: inset 0 0 0 1px #c8aa6e, 0 4px 14px rgba(0, 0, 0, .5); transform-origin: 0 100%; animation: ct-hzp-in .18s cubic-bezier(.2, .9, .3, 1.02) both; }   /* 작은 팝업 = fx-pop 결(최대 1.025 아래) */
#ui .ct-hzp[hidden], #ui .ct-hz[hidden] { display: none; }
#ui .ct-hzp-h { font-size: 12px; font-weight: 800; color: var(--ink); }
#ui .ct-hzp-seg { display: flex; gap: 8px; }
#ui .popup.full .ct-hzp .btn { flex: none; min-width: 56px; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .12); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .popup.full .ct-hzp .btn.on { background: linear-gradient(#ece4d3, #c9bda6); color: #2b261e; box-shadow: none; }
@keyframes ct-hzp-in { from { transform: translateY(6px) scale(.97); opacity: 0; } }
/* 이벤트 창(G12 출석 · 신규 출석 · 룰렛 · 일일 사냥 · 패스, 2026-10-23) — 01-popup 전체화면 판(.popup.full: 어두운 반투명 판 · 머리 띠 46 · ‹ · 열린 동안 HUD 숨김).
   머리 = ‹ + 메뉴 출석 흰 선 아이콘 + 제목 + 탭 알약(글자 폭, 받을 것이 있으면 붉은 점). 크기 = GUI-450(아이콘 40 · 칸 64 · 제목 17 · 알약 28).
   10-23 다시 그림(사용자 "이벤트 UI 퀄리티가 너무 낮다 · 한국 트렌드 도트 모바일 참고 · 아이템 슬롯이 없어 유치") — 참고 = 메이플 키우기(월간 · 일일 미션),
   바람의나라: 연(7일 출석 · 돌림판), 메이플스토리M(보스 미션 패스), 도깨비의 세계 §10 칸: 보상은 늘 등급색 아이템 칸 안 · 수량 = 칸 오른쪽 아래 · 특별한 날 = 같은 크기 바탕색만.
   출석 = 7칸 한 줄(일차 모서리 꼬리표 · 칸 56 · 상태 글, 오늘 = 흰·금 빛 테 맥박, 받음 = 어둡게 + 체크), 룰렛 = 무채색 바퀴 + 칸 40, 일일 = 처치 막대 + 단계 줄 56(줄마다 진행 막대),
   패스 = 열 72 [무료 칸 · 단계 메달(진행 선 위) · 프리미엄 칸], 가로로 끌어 넘긴다(touch_scroll). 연출(hq-ui 기본 탑재): 칸 70 ms 간격 떠오름 · 받을 칸 빛 맥박 · 전설 이상 등급 빛. */
#ui .popup.full.ev > .popup-head > h2::before { -webkit-mask-image: url(assets/icons/menu-event.png); mask-image: url(assets/icons/menu-event.png); }
#ui .ev-tabs { margin-left: 14px; align-self: center; }
/* 머리 탭 = 탭마다 보이는 알약(옅은 판 + 1px 테) · 고른 탭 = 베이지 알약. 공용 .popup.full .tabs/.tab(글자만 · 위 붙음) · .tabs 아래 여백 10 보다 앞서야 해서 .popup.full.ev 로 건다.
   크기 = 탭 줄 32 · 글자 15(메이플 키우기 탭 칸 34 안팎, maple-idle-ui-size.md). 넘치면(PC 좁은 머리) 줄 안에서 가로로 끈다. */
#ui .popup.full.ev .ev-tabs { align-self: center; margin: 0 0 0 14px; flex: 0 1 auto; min-width: 0; gap: 4px; padding: 3px; overflow-x: auto; scrollbar-width: none; }
#ui .popup.full.ev .ev-tabs::-webkit-scrollbar { display: none; }
#ui .popup.full.ev .tab { position: relative; min-width: 0; height: 32px; padding: 0 15px; font-size: 15px; font-weight: 800; color: #e2dbcc; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 1px 2px rgba(0, 0, 0, .35); }
#ui .popup.full.ev .tab.on { color: #26221c; background: linear-gradient(#e6decd, #c7bba3); box-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 240, 210, .55); }
#ui .popup.full.ev .tab:not(.on):active { background: rgba(255, 255, 255, .16); }
#ui .ev .tab > .dot { position: absolute; right: 5px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: #e5534b; box-shadow: 0 0 4px rgba(229, 83, 75, .8); display: none; }
#ui .ev .tab.ready > .dot { display: block; }
#ui .ev .tab.ev-lock { opacity: .45; }   /* 11-05: Lv10 전 [출석] · [룰렛] 탭(신규 출석 · 핫타임만 열림) — 누르면 해금 조건 알림 */
#ui .ev-body { flex: 1; min-height: 0; width: 100%; max-width: 980px; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
#ui .ev-body[data-tab="roulette"] { max-width: 820px; }
#ui .ev-state { margin: auto; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
#ui .ev-sub { margin: 0; font-size: 12px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .ev-foot { display: flex; gap: 8px; justify-content: center; }
#ui .ev .btn { height: 34px; padding: 0 20px; font-size: 14px; font-weight: 800; white-space: nowrap; }
/* 아이템 칸(10-23 사용자 "아이템 슬롯이 없어서 유치한 그림 · 한국 트렌드 도트 모바일 참고"): 보상은 늘 칸 안 — 참고작(메이플 키우기 · 바람의나라: 연 · 메이플스토리M ·
   도깨비의 세계 §10) 공통. 칸 = 등급색 세로 그라데이션 + 등급 테 2px + 안쪽 얇은 빛 테(가방 04-inventory .item-cell 과 같은 식), 그림 = 칸의 72%,
   수량 = 칸 안 오른쪽 아래 흰 숫자 + 어두운 외곽(바람의나라: 연 · 메이플스토리M · 도깨비 §10). 크기 --s = 맥락마다(출석 56 · 패스 48 · 줄 42 · 룰렛 36). 색 --gc = RtGrades.color. */
#ui .ev-slot { --s: 52px; --gc: var(--gr-common); position: relative; flex: none; display: block; width: var(--s); height: var(--s); border-radius: calc(var(--s) * .16);
  background: linear-gradient(170deg, color-mix(in srgb, var(--gc) 58%, #1d2124), color-mix(in srgb, var(--gc) 16%, #111416) 78%);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--gc) 78%, #fff), inset 0 0 0 3px rgba(0, 0, 0, .35), inset 0 calc(var(--s) * .3) calc(var(--s) * .25) -8px rgba(255, 255, 255, .14), 0 2px 5px rgba(0, 0, 0, .45); }
#ui .ev-slot img { position: absolute; left: 14%; top: 12%; width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .55)); }
#ui .ev-slot .ev-n { position: absolute; right: 4px; bottom: 1px; font-size: max(10px, calc(var(--s) * .22)); font-weight: 900; line-height: 1.15; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  text-shadow: 1.4px 0 #0d0f10, -1.4px 0 #0d0f10, 0 1.4px #0d0f10, 0 -1.4px #0d0f10, 1px 1px #0d0f10, -1px 1px #0d0f10, 1px -1px #0d0f10, -1px -1px #0d0f10; }
/* 높은 등급(전설 · 신화) = 등급 빛 맥동 1047 ms(ui-juice README 등급 빛) */
#ui .ev-slot:is(.g-legend, .g-myth)::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none; box-shadow: 0 0 8px 1px color-mix(in srgb, var(--gc) 70%, transparent); animation: ev-glow 1.047s ease-in-out infinite alternate; }
@keyframes ev-glow { from { opacity: .35; } to { opacity: 1; } }
#ui .ev-slots { display: flex; justify-content: center; align-items: center; gap: 4px; }
/* 받음 = 칸 위 어두운 덮개 + 가운데 작은 체크(참고작: 받은 칸 = 어둡게 · 큰 도장 없음) */
#ui .ev-check { position: absolute; left: 50%; top: 50%; z-index: 2; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #4fae68; box-shadow: 0 0 0 2px rgba(0, 0, 0, .45), 0 2px 4px rgba(0, 0, 0, .5);
  animation: fx-pop .25s cubic-bezier(.2, .9, .3, 1.4) both; pointer-events: none; }   /* 받은 칸도 누르면 아이템 정보(체크가 누름을 가로채지 않게) */
#ui .ev-check::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
/* 판 묶음(10-23 네 번째 — 사용자 "이미지가 레트로 · 고딕 · 왼쪽 카드 형태는 어떤 게임 참고"): 옆 카드 · 꾸밈 그림 없음.
   참고 = 메이플 키우기 월간 출석(제목 줄 + 7×4 판) · 나 혼자만 레벨업: 어라이즈 출석(제목 + 칸 줄) · 원신 · 스타레일 · 명조 패스(어두운 반투명 판 + 금 강조만) */
#ui .ev-head-r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
#ui .ev-state-t { font-size: 12px; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; } #ui .ev-state-t b { font-size: 14px; color: #fff; }
/* 진행 막대(패스 머리) = 금 막대(채움 600 ms) */
#ui .ev-meter-bar { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .ev-meter-bar::before { content: ""; position: absolute; inset: 0; border-radius: inherit; transform-origin: left; transform: scaleX(var(--p)); background: linear-gradient(90deg, #c9a24f, #f6e7b8); box-shadow: 0 0 6px rgba(240, 213, 140, .5); animation: ev-fill .6s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes ev-fill { from { transform: scaleX(0); } }
#ui .ev-board { margin: auto 0; display: flex; flex-direction: column; gap: 10px; }
#ui .ev-main-head { display: flex; align-items: center; gap: 10px; padding: 0 2px; }
#ui .ev-main-head b { font-size: 14px; font-weight: 900; }
/* 출석 = 28일 판 7×4(메이플 키우기 월간 출석 7×4, 10-23 사용자 "출석체크 UI 가 전반적으로 너무 큼" — 카드 104×132 → 칸 68×60 · 아이템 칸 40) */
#ui .ev-month { display: grid; grid-template-columns: repeat(7, 88px); grid-auto-rows: 60px; gap: 6px; }
#ui .ev-day { position: relative; display: flex; align-items: center; justify-content: center; border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both; animation-delay: calc(var(--i, 0) * .035s); }
#ui .ev-day-n { position: absolute; left: 0; top: 0; z-index: 1; width: 30px; height: 30px; padding: 3px 0 0 4px; box-sizing: border-box; clip-path: polygon(0 0, 100% 0, 0 100%); background: rgba(255, 255, 255, .16); font-size: 10px; font-weight: 900; line-height: 1; color: #e9e6dc; }
#ui .ev-day-rw { --s: 40px; display: flex; justify-content: center; gap: 3px; }
#ui .ev-day-rw.n2 { --s: 30px; } #ui .ev-day-rw.n3 { --s: 22px; }
#ui .ev-day-rw .ev-slot { --s: inherit; }
#ui .ev-day .ev-check { width: 18px; height: 18px; margin: -9px 0 0 -9px; } #ui .ev-day .ev-check::after { left: 6px; top: 3px; width: 4px; height: 8px; border-width: 0 2px 2px 0; }
#ui .ev-day.got { background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .ev-day.got .ev-day-rw { filter: brightness(.45) saturate(.5); }
#ui .ev-day.today { background: linear-gradient(180deg, rgba(255, 238, 190, .2), rgba(255, 238, 190, .05)); box-shadow: inset 0 0 0 2px #f3e3b4; animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both, ev-today 1.047s ease-in-out infinite alternate; }
#ui .ev-day.today .ev-day-n { background: linear-gradient(135deg, #f6e7b8, #c9a24f); color: #2b2210; }
/* 내일 칸(d1hook-1112 — 다음 날 복귀 고리): 흰 점선 테 + 오른쪽 위 [내일] 알약(라벨 9 · 흰 글자 어두운 바탕) · 보상 칸은 밝게 둔다(등급색 테가 강조). 오늘 칸 금빛과 겹치지 않는 무채 */
#ui .ev-day.tmr { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); outline: 1px dashed rgba(255, 255, 255, .5); outline-offset: -4px; }
#ui .ev-tmr { position: absolute; right: 3px; top: 3px; z-index: 2; height: 14px; padding: 0 5px; border-radius: 7px; font-size: 9px; font-style: normal; font-weight: 900; line-height: 14px; color: #fff;
  background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); white-space: nowrap; }
#ui .ev-final.tmr .ev-final-t { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
@keyframes ev-today { from { box-shadow: inset 0 0 0 2px #f3e3b4, 0 0 4px rgba(255, 230, 160, .25); } to { box-shadow: inset 0 0 0 2px #fff6d8, 0 0 14px rgba(255, 230, 160, .6); } }
/* 신규 출석 = 1~6일 3×2(칸 92×88 · 아이템 칸 50) + 7일째 최종 카드 150(큰 칸 64 · 금 테 · 느린 빛살 12 s — 참고작 신규 7일 = 마지막 날 큰 카드) */
#ui .ev-nc { display: flex; align-items: stretch; gap: 10px; }
#ui .ev-nc-grid { display: grid; grid-template-columns: repeat(3, 120px); grid-auto-rows: 88px; gap: 8px; }
#ui .ev-nc .ev-day-rw { --s: 50px; } #ui .ev-nc .ev-day-rw.n2 { --s: 38px; }
#ui .ev-final { position: relative; flex: none; width: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; overflow: hidden;
  background: radial-gradient(circle at 50% 44%, rgba(255, 226, 150, .3), transparent 62%), linear-gradient(180deg, rgba(232, 201, 121, .26), rgba(120, 88, 36, .16));
  box-shadow: inset 0 0 0 1.5px rgba(240, 213, 140, .75), 0 0 14px rgba(240, 213, 140, .22); animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both; animation-delay: calc(var(--i, 0) * .035s); }
#ui .ev-final::before { content: ""; position: absolute; left: 50%; top: 44%; width: 240px; height: 240px; margin: -120px 0 0 -120px; pointer-events: none;
  background: repeating-conic-gradient(rgba(255, 236, 190, .15) 0 7deg, transparent 7deg 22.5deg); -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 66%); mask-image: radial-gradient(circle, #000 18%, transparent 66%); animation: ev-spin 12s linear infinite; }
@keyframes ev-spin { to { transform: rotate(360deg); } }
#ui .ev-final > * { position: relative; }
#ui .ev-final-l { font-size: 12px; font-weight: 900; letter-spacing: .3px; color: #f6e7b8; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
#ui .ev-final-rw { --s: 64px; display: flex; justify-content: center; gap: 4px; } #ui .ev-final-rw.n2 { --s: 50px; } #ui .ev-final-rw.n3 { --s: 36px; }
#ui .ev-final-rw .ev-slot { --s: inherit; }
#ui .ev-final-t { padding: 3px 10px; border-radius: 10px; font-size: 12px; font-style: normal; font-weight: 900; color: #fff; background: rgba(0, 0, 0, .42); white-space: nowrap; }
#ui .ev-final.today { animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both, ev-today 1.047s ease-in-out infinite alternate; }
#ui .ev-final.got .ev-final-rw, #ui .ev-final.lock .ev-final-rw { filter: brightness(.5) saturate(.45); }
#ui .ev-final.got::before { animation: none; opacity: .3; }
/* 핫타임(평일 20~24시 💎100 · 주말 종일 💎300) = 보상 카드(신규 7일째 최종 카드 .ev-final 그대로 — 금 테 · 느린 빛살, 켜짐 = 오늘 칸 빛 맥박 · 받음 = 어둡게 + 체크 · 꺼짐 = 흐림) + 한 주 7칸
   (출석 칸 .ev-day 와 같은 판 · 핫타임 요일 = 밝은 판 + 금 시각 · 오늘 = 빛 테). 크기 = 출석 판 칸(60) 결 · 카드 170. */
#ui .ev-hot { display: flex; align-items: stretch; gap: 12px; }
#ui .ev-hot .ev-hot-card { width: 170px; min-height: 172px; }
#ui .ev-hot .ev-hot-card .ev-check { top: 50%; }
#ui .ev-week { display: grid; grid-template-columns: repeat(7, 52px); grid-auto-rows: 76px; gap: 6px; align-content: center; }
#ui .ev-wd { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 8px;
  background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); color: var(--ink-soft); animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both; animation-delay: calc(var(--i, 0) * .035s); }
#ui .ev-wd b { font-size: 13px; font-weight: 900; line-height: 1; }
#ui .ev-wd small { font-size: 10px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
#ui .ev-wd.hot { background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #e9e6dc; }
#ui .ev-wd.hot small { color: #e8c979; }
#ui .ev-wd-n { display: flex; align-items: center; gap: 1px; font-size: 10px; font-style: normal; font-weight: 900; color: #cfe6ff; font-variant-numeric: tabular-nums; }   /* 그 요일 다이아 수(평일 100 · 주말 300) */
#ui .ev-wd-n img { width: 13px; height: 13px; object-fit: contain; }
#ui .ev-wd.today { box-shadow: inset 0 0 0 2px #f3e3b4; }
#ui .ev-wd.live { background: linear-gradient(180deg, rgba(255, 238, 190, .2), rgba(255, 238, 190, .05)); animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both, ev-today 1.047s ease-in-out infinite alternate; }
#ui .ev-body.ev-still .ev-wd { animation: none; } #ui .ev-body.ev-still .ev-wd.live { animation: ev-today 1.047s ease-in-out infinite alternate; }
.gfx-low #ui .ev-wd { animation: none; }
/* HUD 이벤트 줄(17o evEntRender): 오른쪽 위 아이콘 줄(.top-r right 16.8 · top 14.4 · 높이 36) 바로 아래 오른쪽 맞춤 = EFZ HUD 줄1 이벤트 아이콘 자리.
   칸 = 머리줄 도구(.tool 33)와 같은 폭 · 흰 실루엣 아이콘(메뉴 칸 .white-icon 과 같은 마스크) + 아래 이름(EFZ HUD 아이콘 라벨) · 받을 것 = 오른쪽 위 붉은 점(628 ms 맥박) */
#hud .ev-ent { position: absolute; right: 16.8px; top: 54px; display: flex; gap: 4.5px; pointer-events: none; }
#hud .ev-ent-b { position: relative; width: 36px; padding: 0; border: 0; background: none; pointer-events: auto; touch-action: manipulation; display: flex; flex-direction: column; align-items: center; gap: 1px;
  font: inherit; color: #fff; cursor: pointer; transition: transform 60ms ease-out; }
#hud .ev-ent-b:active { transform: scale(.92); }
#hud .ev-ent-ic { width: 26px; height: 26px; background: #fff; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;   /* 그림 주소는 칸 style(문서 기준 경로) — 사용자 속성 안 url() 은 이 CSS 파일 기준으로 풀린다 */ filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .8)); }
#hud .ev-ent-b > b { font-size: 9px; font-weight: 800; line-height: 1; white-space: nowrap; text-shadow: 0 0 2px #000, 0 1px 2px #000; }
#hud .ev-ent-b.dot::after { content: ""; position: absolute; right: 3px; top: -1px; width: 7px; height: 7px; border-radius: 50%; background: #e5534b; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 0 4px rgba(229, 83, 75, .8);
  animation: ev-dot .628s ease-in-out infinite alternate; pointer-events: none; }
#ui .m-attendance { position: relative; }
#ui .m-attendance > .ev-mdot { position: absolute; right: 6px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #e5534b; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .55); animation: ev-dot .628s ease-in-out infinite alternate; pointer-events: none; }   /* ☰ [이벤트] 받을 것 점(변신 칸 mf-mdot 과 같은 자리 · 크기) */
#hud.ev-ent-on .boss-go { top: 102px; }   /* 보스 도전 알약(boss.css top 66)은 이벤트 줄 아래로 */
@keyframes ev-dot { from { transform: scale(.85); } to { transform: scale(1.1); } }
/* 룰렛 */
#ui .ev-rl { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 40px; }
#ui .ev-wheel-box { position: relative; flex: none; width: 250px; height: 250px; }
/* 바퀴 = 무채색 판 + 칸 가르는 얇은 빛 선(바람의나라: 연 돌림판 = 회색 칸 · 등급색 없음 — 색은 칸 안 아이템 칸이 낸다) */
#ui .ev-wheel { position: absolute; inset: 10px; border-radius: 50%; box-shadow: 0 0 0 4px #2a2c2f, 0 0 0 6px #c9ac77, 0 0 0 7px rgba(0, 0, 0, .5), 0 6px 18px rgba(0, 0, 0, .55);
  background: repeating-conic-gradient(rgba(255, 255, 255, .16) 0 .8deg, transparent .8deg calc(360deg / var(--n))), radial-gradient(circle, #34383d 0 30%, #26292d 70%, #1d2023);
  will-change: transform; }
#ui .ev-seg { position: absolute; left: 50%; top: 50%; width: 0; height: 0; font-style: normal; transform: rotate(var(--a)) translateY(-76px); }
#ui .ev-seg .ev-slot { --s: 40px; position: absolute; left: -20px; top: -20px; }
#ui .ev-seg.hit .ev-slot { animation: ev-hit .45s ease-out 2 alternate; }
@keyframes ev-hit { to { transform: scale(1.3); box-shadow: inset 0 0 0 2px #fff6d8, 0 0 14px 3px rgba(255, 238, 190, .85); } }
#ui .ev-pin { position: absolute; left: 50%; top: -2px; z-index: 2; width: 22px; height: 26px; transform: translateX(-50%); background: linear-gradient(#f4e2b0, #c9a24f); clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); }
#ui .ev-hub { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f4e2b0, #a8823c); box-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
#ui .ev-rl-side { width: 280px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
#ui .ev-left { font-size: 22px; font-weight: 900; color: #b9f2c5; } #ui .ev-left.none { color: var(--ink-soft); }
#ui .ev-next { margin: 0; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
#ui .ev-plus { margin: 0; font-size: 12px; color: #e8c979; }
#ui .ev-cap { width: 100%; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-soft); }
#ui .ev-cap i { position: relative; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .45); overflow: hidden; }
#ui .ev-cap i::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p)); background: linear-gradient(90deg, #5fa8ff, #8fc6ff); }
#ui .ev-cap.full span { color: #8fc6ff; }
#ui .ev-rl-side .ev-foot { margin-top: 6px; justify-content: flex-start; flex-wrap: wrap; }   /* roulette-all-1122: [돌리기] + [모두 돌리기 ×n] — 긴 언어는 둘째 줄로 */
/* 탭을 바꾸면 판이 살짝 들어온다 */
#ui .ev-body.ev-fresh > * { animation: fx-fade .2s ease-out both; }
/* 같은 판을 새 값으로 다시 그릴 때(받기 · 서버 답) = 등장 연출(떠오름 · 판 들어옴 · 막대 채움 · 체크 팝) 없이 — 맥박 · 빛 같은 늘 도는 것만 남긴다 */
#ui .ev-body.ev-still > *, #ui .ev-body.ev-still :is(.ev-day, .ev-final, .ev-col, .ev-check), #ui .ev-body.ev-still .ev-meter-bar::before { animation: none; }
#ui .ev-body.ev-still :is(.ev-day.today, .ev-final.today) { animation: ev-today 1.047s ease-in-out infinite alternate; }
/* 보상 칸 누름 아이템 정보 판 = 공용 features/itemtip/item_tip.css(.it-tip — 판 196 · 칸 36) */
/* 낮음 그래픽(html.gfx-low — 62-gfx-quality, 11-05 amfps2-1105 · Note20 출석 창 최악 프레임 1.1 s): 28칸이 35 ms 간격으로 떠오르면 칸마다 따로 층이 돼 그림자 · 그라데이션 칸을
   28번 따로 래스터한다 + 칸 그림마다 drop-shadow 필터 + 빛 맥박. SwiftShader 같은 판 A/B(창 연 뒤 5초): 래스터 작업 378 ms · 810건 → 163 ms · 71건. 칸 · 색 · 체크는 그대로 */
.gfx-low #ui .ev-day, .gfx-low #ui .ev-final, .gfx-low #ui .ev-body.ev-fresh > *, .gfx-low #ui .ev-body :is(.ev-day.today, .ev-final.today) { animation: none; }   /* 오늘 칸 = 빛 테만(맥박 = 매 프레임 그림자 다시 그림) */
.gfx-low #ui .ev-slot img { filter: none; }
.gfx-low #ui .ev-slot:is(.g-legend, .g-myth)::after, .gfx-low #ui .ev-final::before { animation: none; }
/* 패스 창(features/pass 17o-pass) — 01-popup 전체화면 판 + 이벤트 창과 같은 칸 · 알약(.ev). 머리 = ‹ + 흰 선 패스 아이콘 + 제목 + 받는 곳 가방.
   틀(passwin-1122) = 메이플 키우기 패스 창 + 쿠키런 킹덤패스(근거 표 docs/.../rt-battle/passwin-1122/PLAN.md): 왼쪽 묶음 메뉴 | 대표 그림 띠 · 이름표 열 + 마디 선 · 단계 열 · 금빛 최종 열 | 아래 [모두 받기][프리미엄 열기].
   .ev-col · .ev-at · .ev-cell · .ev-track 기본 값은 누적 결제(cumpay) · 첫 결제(firstpay) 판도 같이 쓴다 — 패스 창만의 값은 아래 '#ui .ps' 묶음에. */
#ui .popup.full.ps > .popup-head > h2::before { -webkit-mask-image: url(assets/icons/menu-pass.png); mask-image: url(assets/icons/menu-pass.png); }
#ui .m-pass { position: relative; }   /* 받을 보상 점(pass-dot) */
/* 단계 오름 = 고리 튐 420 ms + 금빛 퍼짐(ui-juice 보상 칸 팝 420 ms), 새로 닿은 열 = 밝은 빛 한 번 */
#ui .ps-now.ps-up b { animation: ps-up .42s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes ps-up { 0% { transform: scale(.8); } 55% { transform: scale(1.15); box-shadow: inset 0 0 0 1.5px #f6e7b8, 0 0 0 4px rgba(240, 213, 140, .7), 0 0 22px rgba(240, 213, 140, .8); } 100% { transform: scale(1); } }
#ui .ev-col.ps-new .ev-cell::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 246, 216, .85), rgba(255, 246, 216, 0)); animation: ps-flash .6s ease-out both; animation-delay: calc(var(--j, 0) * .07s); }
@keyframes ps-flash { from { opacity: 1; } to { opacity: 0; } }
/* 받기 = 방금 받은 칸만, 70 ms 간격(ui-juice 보상 칸 순차): 아이템 칸 튐 420 ms(칸 안 여백 1.08 — 스크롤 판 잘림 함정) + 금빛 테 + 칸 위를 지나는 빛 훑기 500 ms
   → 수량 카운트업 420 ms → 그림 복제가 머리 띠 가방(.ps-bag)으로 포물선 560 ms → 가방 튐 → 공용 받음 창(받음 창과 같은 금빛 결 #f0d58c) */
#ui .ev-body.ev-still .ev-cell.ps-got { overflow: hidden; }
#ui .ev-body.ev-still .ev-cell.ps-got .ev-slot { animation: ps-got .42s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--j, 0) * .07s); }
#ui .ev-body.ev-still .ev-cell.ps-got .ev-check { animation: fx-pop .25s cubic-bezier(.2, .9, .3, 1.4) both; animation-delay: calc(var(--j, 0) * .07s + .9s); }
#ui .ev-body.ev-still .ev-cell.ps-got::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgba(255, 246, 216, .92) 50%, transparent 70%);
  transform: translateX(-110%); animation: ps-sweep .5s ease-out both; animation-delay: calc(var(--j, 0) * .07s + .08s); }
@keyframes ps-got { 0% { transform: scale(1); filter: brightness(1.8); } 45% { transform: scale(1.08); box-shadow: inset 0 0 0 2px #f6e7b8, 0 0 14px 2px rgba(240, 213, 140, .9); } 100% { transform: scale(1); filter: none; } }
@keyframes ps-sweep { to { transform: translateX(110%); } }
/* 날아가는 그림(body 바로 밑 고정 위치 — 창 판 · 스크롤 칸 밖) + 받는 곳 = 머리 띠 오른쪽 흰 선 가방(메뉴 물품 아이콘, 도착마다 튐) */
.ps-fly { position: fixed; z-index: 2147483000; pointer-events: none; object-fit: contain; filter: drop-shadow(0 0 6px rgba(255, 228, 160, .95)); will-change: transform; }
#ui .popup.full.ps > .popup-head > .ps-bag { flex: none; margin-left: auto; width: 24px; height: 24px; background: var(--ink); opacity: .9;
  -webkit-mask: url(assets/icons/menu-inventory.png) center / contain no-repeat; mask: url(assets/icons/menu-inventory.png) center / contain no-repeat; }
#ui .ps-bag.ps-hit { animation: ps-bag .3s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes ps-bag { 0% { transform: scale(1); } 40% { transform: scale(1.25); filter: drop-shadow(0 0 6px #f0d58c); } 100% { transform: scale(1); } }
/* 받은 칸 = 어둡게 + 가운데 어두운 원 흰 체크(스타레일 받은 칸 — 초록 도장 없음) */
#ui .ps .ev-cell.got .ev-slots, #ui .ps .ev-col.got .ev-cell .ev-slots { opacity: .42; filter: grayscale(.55); }
#ui .ps .ev-check { background: rgba(18, 20, 24, .8); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .8), 0 2px 4px rgba(0, 0, 0, .5); }
/* 프리미엄 열림(구매 직후 한 번): 유료 칸 자물쇠가 튀며 날아감(60 ms 열 차례) → 금빛 훑기 → 가운데 "프리미엄 열림" 띠(결과 글자 문법: 짙은 반투명 띠 + 위아래 금 1px 빛선 + 진주빛 명조) */
#ui .ev-track-box { position: relative; }
#ui .ps-unlock .ev-cell.prem { overflow: hidden; }
#ui .ps-unlock .ev-cell.prem::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(100deg, transparent 25%, rgba(255, 232, 160, .95) 50%, transparent 75%);
  transform: translateX(-110%); animation: ps-sweep .55s ease-out both; animation-delay: calc(.3s + var(--u, 0) * .06s); }
#ui .ps-lock-off { right: 6px; top: 6px; pointer-events: none; animation: ps-lock-off .5s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(var(--u, 0) * .06s); }
@keyframes ps-lock-off { 0% { transform: none; opacity: 1; } 40% { transform: scale(1.4) rotate(-14deg); opacity: 1; } 100% { transform: translate(8px, -16px) scale(.4) rotate(28deg); opacity: 0; } }
#ui .ps-unlock .ev-lanes b.prem .ev-lane-i { animation: ps-ring .8s ease-out .15s both; }
@keyframes ps-ring { 0% { box-shadow: inset 0 0 0 1.5px #c9a24f, 0 0 0 0 rgba(240, 213, 140, .9); } 100% { box-shadow: inset 0 0 0 1.5px #c9a24f, 0 0 0 16px rgba(240, 213, 140, 0); } }
#ui .ps-unlock-band { position: absolute; left: 0; right: 0; top: 50%; z-index: 6; height: 40px; margin-top: -20px; display: flex; align-items: center; justify-content: center; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(12, 13, 16, .85) 22%, rgba(12, 13, 16, .85) 78%, transparent); animation: ps-band 2.1s ease-out both; }
#ui .ps-unlock-band::before, #ui .ps-unlock-band::after { content: ""; position: absolute; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, #f0d58c, transparent); }
#ui .ps-unlock-band::before { top: 0; } #ui .ps-unlock-band::after { bottom: 0; }
#ui .ps-unlock-band b { font-family: "BossTitle", "QuestTitle", "GwTitle", var(--ui-font, GFUIFont), sans-serif; font-size: 17px; font-weight: 900; letter-spacing: .1em; color: #fbf6ea; text-shadow: 0 0 10px rgba(240, 213, 140, .85), 0 1px 2px #000;
  animation: ps-band-t 2.1s ease-out both; }
@keyframes ps-band { 0% { opacity: 0; clip-path: inset(48% 0 48% 0); } 14% { opacity: 1; clip-path: inset(0); } 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ps-band-t { 0% { opacity: 0; letter-spacing: .5em; } 26% { opacity: 1; letter-spacing: .1em; } 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }
/* [모두 받기](받을 것 있음) = 베이지 알약 + 2.4초마다 빛 훑기, [프리미엄 열기 | 가격] = 금 알약(원신 · 스타레일 프리미엄 단추 금) + 오른쪽 위 값 배수 꼬리표(붉은 값 강조 — 흥행작 상품 "가치 ×N") */
#ui .popup.full .btn.ps-claim { position: relative; overflow: hidden; }
#ui .popup.full .btn.ps-claim::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%); transform: translateX(-120%); animation: ps-shine 2.4s ease-in-out infinite; }
@keyframes ps-shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
#ui .popup.full .btn.ps-buy { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 16px; color: #2b2210;
  background: linear-gradient(#f8ebc2, #d9b664 58%, #bf9443); box-shadow: inset 0 1px rgba(255, 255, 255, .65), 0 0 0 1px rgba(110, 80, 20, .55), 0 2px 6px rgba(0, 0, 0, .4), 0 0 12px rgba(240, 213, 140, .35); }
#ui .ps-buy b { font-weight: 900; }
#ui .ps-buy small { padding-left: 8px; border-left: 1px solid rgba(43, 34, 16, .3); font-size: 11.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
#ui .ps-x { position: absolute; z-index: 4; right: -6px; top: -11px; height: 16px; padding: 0 6px; white-space: nowrap; border-radius: 8px; font-size: 10.5px; font-style: normal; font-weight: 900; line-height: 16px; color: #fff;
  background: linear-gradient(#e0533f, #a92d22); box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 1px 3px rgba(0, 0, 0, .5); animation: ps-x 1.047s ease-in-out infinite alternate; }
@keyframes ps-x { from { transform: translateY(0); } to { transform: translateY(-2px); } }
.gfx-low #ui .ps-x, .gfx-low #ui .btn.ps-claim::after { animation: none; }
.gfx-low .ps-fly { filter: none; }
#ui .ev-pass { flex: 1; min-height: 0; width: 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
/* 단 칩(gpass3 11-05 — 성장 패스 · 성장 패키지 I · II · III): 머리 줄 오른쪽 글자 폭 알약 28, 지금 단 = 금, 잠긴 단 = 흐림, 받을 것 = 붉은 점 */
#ui .ps-tiers { flex: none; display: flex; gap: 6px; }
#ui .ps-tier { position: relative; height: 28px; padding: 0 12px; border-radius: 14px; font-size: 12px; font-weight: 900; white-space: nowrap; color: #e8e6df; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: transform .12s; }
#ui .ps-tier:active { transform: scale(.94); }
#ui .ps-tier.on { color: #2b2210; background: linear-gradient(#f0d58c, #c9a24f); box-shadow: 0 0 10px rgba(240, 213, 140, .35); }
#ui .ps-tier.lock { opacity: .5; }
#ui .ps-tier.ready::after { content: ''; position: absolute; top: -2px; right: -2px; width: 8px; height: 8px; border-radius: 50%; background: #e5483f; box-shadow: 0 0 0 1.5px #131417; }
#ui .ev-pass-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 2px; }
#ui .ev-pass-bar em { font-style: normal; font-weight: 800; color: #f0d58c; }
#ui .ev-pass-act { flex: none; display: flex; align-items: center; gap: 8px; }
#ui .ev-badge { height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12px; font-weight: 900; font-style: normal; line-height: 24px; white-space: nowrap; color: #2b2210; background: linear-gradient(#f0d58c, #c9a24f); }
#ui .ev-badge.soft { color: #f0d58c; background: rgba(232, 201, 121, .16); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .5); }
/* 칸 줄 판 = 스타레일 짙은 테 한 판(둥근 10) — 왼쪽 짙은 줄 이름표 열 + 밝은 세로 열 띠(칸마다 상자 없음, 열 사이 얇은 선) */
#ui .ev-track-box { width: 100%; display: flex; border-radius: 10px; overflow: hidden; background: #131417; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 6px 18px rgba(0, 0, 0, .45); }
/* 줄 이름표 76 = 스타레일 무명의 선물 · 무명의 영광: 흰 선 아이콘 고리 34 + 이름, 프리미엄 = 금 고리 · 금 글, 잠기면 고리 오른쪽 아래 자물쇠 */
#ui .ev-lanes { flex: none; width: 76px; display: flex; flex-direction: column; padding-top: 26px; background: #0f1012; }
#ui .ev-lanes b { position: relative; height: 78px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center; font-size: 11px; font-weight: 900; word-break: keep-all; color: #e8e6df; }
#ui .ev-lanes b + b { border-top: 1px dashed rgba(255, 255, 255, .14); box-sizing: border-box; }
#ui .ev-lane-i { position: relative; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
#ui .ev-lane-i::after { content: ""; position: absolute; inset: 7px; background: currentColor; -webkit-mask: url(assets/icons/empty-box.png) center / contain no-repeat; mask: url(assets/icons/empty-box.png) center / contain no-repeat; }
#ui .ev-lanes b.prem { color: #f0d58c; }
#ui .ev-lanes b.prem .ev-lane-i { box-shadow: inset 0 0 0 1.5px #c9a24f, 0 0 10px rgba(240, 213, 140, .25); background: radial-gradient(circle at 50% 40%, rgba(240, 213, 140, .22), rgba(240, 213, 140, .04)); }
#ui .ev-lanes b.prem .ev-lane-i::after { -webkit-mask-image: url(assets/icons/menu-pass.png); mask-image: url(assets/icons/menu-pass.png); }
/* 자물쇠 = 스타레일 칸 오른쪽 위 짙은 작은 판 + 흰 자물쇠 */
#ui .ev-lanes b.lock .ev-lane-i::before, #ui .ev-cell.lock::before, #ui .ps-lock-off { content: ""; position: absolute; z-index: 2; width: 15px; height: 15px; border-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
  background: #2a2b2f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 5.2V3.8a2 2 0 0 1 4 0v1.4' fill='none' stroke='white' stroke-width='1.4'/%3E%3Crect x='2.5' y='5' width='7' height='5.5' rx='1.2' fill='white'/%3E%3C/svg%3E") center / 10px no-repeat; }
#ui .ev-lanes b.lock .ev-lane-i::before { right: -5px; bottom: -3px; }
#ui .ev-cell.lock::before { right: 6px; top: 6px; }
#ui .ev-track-box.pkg .ev-lanes b { height: 140px; }
#ui .ev-track { position: relative; flex: 1; min-width: 0; display: flex; overflow-x: auto; overflow-y: hidden; }
/* 열 = 최소 76 에서 남는 폭을 나눠 가진다(단계가 적어도 줄이 판 끝까지). 바탕 = 스타레일 밝은 회색 띠: 머리 #c4c2ba · 무료 #d9d8d2 · 프리미엄 #e8e7e2(무료와 프리미엄 사이 점선) */
#ui .ev-col { flex: 1 0 76px; min-width: 76px; display: flex; flex-direction: column; box-shadow: inset -1px 0 rgba(0, 0, 0, .16); animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both; animation-delay: calc(min(var(--i, 0), 10) * .05s); }
#ui .ev-at { height: 26px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; color: #5b5953; white-space: nowrap; background: #c4c2ba; }
#ui .ev-col.reach .ev-at { color: #2c2a26; }
#ui .ev-cell { position: relative; height: 78px; display: flex; align-items: center; justify-content: center; background: #d9d8d2; }
#ui .ev-cell.prem { background: linear-gradient(180deg, #f1e7cc, #e5d4a8); }
#ui .ev-cell + .ev-cell.prem { border-top: 1px dashed rgba(0, 0, 0, .2); box-sizing: border-box; }
/* 지금 단계 열 = 스타레일 Lv.31 처럼 열 전체 따뜻한 크림 */
#ui .ev-col.cur .ev-at { color: #5a3d0c; background: #e6c98f; }
#ui .ev-col.cur .ev-cell { background: #efdcb6; } #ui .ev-col.cur .ev-cell.prem { background: linear-gradient(180deg, #f8eccc, #efd9a6); }
#ui .ev-cell .ev-slots { --s: 50px; } #ui .ev-cell .ev-slots.n2 { --s: 36px; gap: 3px; } #ui .ev-cell .ev-slots.n3 { --s: 24px; gap: 2px; }
#ui .ev-cell .ev-slots .ev-slot { --s: inherit; }
#ui .ev-cell .ev-slots.n2 .ev-n, #ui .ev-cell .ev-slots.n3 .ev-n { font-size: 10px; right: 1px; }
/* 받을 칸 = 금 안 테 맥박(밝은 띠 위라 짙은 금), 받은 칸 = 옅게 + 체크, 잠긴 칸 = 그대로 보이고 자물쇠만(스타레일) */
#ui .ev-cell.can, #ui .ev-col.can .ev-cell { animation: ev-can-l 1.047s ease-in-out infinite alternate; }
@keyframes ev-can-l { from { box-shadow: inset 0 0 0 2px #d9a24a; } to { box-shadow: inset 0 0 0 2px #b97a17, inset 0 0 12px rgba(217, 154, 43, .55); } }
#ui .ev-cell.got .ev-slots, #ui .ev-col.got .ev-cell .ev-slots { opacity: .55; filter: saturate(.6); }
#ui .ev-cell.lock .ev-slots { filter: brightness(.82) saturate(.75); }
/* 최종 열 = 원신 Lv.10 · 스타레일 Lv.40: 오른쪽 끝에 붙어 있음(끌어도 늘 보인다) · 크림 금 바탕 · 왼쪽 금 선 + 그림자, 프리미엄 칸 아래 "최종 보상" 꼬리표 */
#ui .ev-col.last { position: sticky; right: 0; z-index: 3; box-shadow: inset 2px 0 #c9a24f, -6px 0 12px rgba(0, 0, 0, .35); }
#ui .ev-col.last .ev-at { color: #3a2a08; background: linear-gradient(180deg, #f6e7b8, #d9b766); }
#ui .ev-col.last .ev-cell { background: #f1e5c6; } #ui .ev-col.last .ev-cell.prem { background: #f7efda; align-items: flex-start; padding-top: 6px; }
/* 최종 열 = 보상 3칸(대형 보상)이라 다른 열보다 넓게 116 · 칸 32(24 면 그림이 안 읽힘) */
#ui .ev-col.last { flex: 0 0 116px; min-width: 116px; }
#ui .ev-col.last .ev-cell .ev-slots.n3 { --s: 32px; gap: 3px; } #ui .ev-col.last .ev-cell .ev-slots.n2 { --s: 40px; }
/* 보상 4칸(gpass3 성장 패키지 II · III Lv100 · 160 · 200): 한 줄 24 — 최종 열 116 안에 들어감 */
#ui .ev-cell .ev-slots.n4, #ui .ev-col.last .ev-cell .ev-slots.n4 { --s: 24px; gap: 2px; } #ui .ev-cell .ev-slots.n4 .ev-n { font-size: 10px; right: 1px; }
#ui .ev-col.last .ev-cell.prem .ev-slots { margin-top: 16px; }   /* 칸 위 = 자물쇠(위 6 · 15) 아래 22 부터, 칸 아래 54 < 꼬리표 61 */
#ui .ev-last-t { position: absolute; z-index: 2; left: 50%; bottom: 4px; transform: translateX(-50%); padding: 1px 7px; border-radius: 7px; font-size: 10px; font-style: normal; font-weight: 900; line-height: 13px; white-space: nowrap;
  max-width: calc(100% - 4px); overflow: hidden; color: #fbf6e8; background: #6b5320; }   /* 열 폭 안 — 넘치는 언어는 전광판(ui_fx watchMarquee) */
#ui .ev-track.pkg .ev-cell { height: 140px; }
#ui .ev-track.pkg .ev-col { flex-basis: 100px; }
/* growpk-1106: 성장 패키지 5 레벨 칸(I 8 · II 12 · III 20) — 칸이 늘어도 그림은 크게, 창 위아래 빈 띠는 칸 높이로 채운다. 1개 56 · 2개 44 나란히 · 3~4개 40 두 줄 */
#ui .ev-track.pkg .ev-col .ev-cell .ev-slots { --s: 56px; }
#ui .ev-track.pkg .ev-col .ev-cell .ev-slots.n2 { --s: 44px; gap: 4px; }
#ui .ev-track.pkg .ev-col .ev-cell .ev-slots:is(.n3, .n4) { --s: 40px; gap: 3px; flex-wrap: wrap; width: 83px; }

/* ---------- passwin-1122 메이플 틀(GUI 450 — maple-idle-ui-size.md). 판 = 왼쪽 메뉴 128 | 오른쪽 [그림 띠 88][칸 줄 = 남는 높이][아래 띠 34] */
#ui .ps-wrap { flex: 1; min-height: 0; width: 100%; display: flex; gap: 10px; }
#ui .ps .ps-main { flex: 1; min-width: 0; max-width: none; align-self: stretch; }
/* 왼쪽 메뉴(M1 125/800): 묶음 머리 = 작은 흐린 글 띠(가운데), 줄 34 = 패스 이름, 고른 줄 = 청록 채움(공용 결정 단추 #83c3bf → #548f8c) + 흰 글,
   받을 것 = 줄 안 오른쪽 위 붉은 점(REFERENCES §5.2 T4 — 모서리에 걸치지 않음), 잠긴 단 = 흐린 글 + 자물쇠 */
#ui .ps-menu { position: relative; flex: none; width: 128px; display: flex; flex-direction: column; padding: 4px 0 6px; overflow-x: hidden; overflow-y: auto; scrollbar-width: none;
  border-radius: 10px; background: rgba(10, 11, 13, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .ps-menu::-webkit-scrollbar { display: none; }
#ui .ps-grp { flex: none; height: 20px; margin: 8px 0 3px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #8f948f; white-space: nowrap;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06) 20%, rgba(255, 255, 255, .06) 80%, transparent); }
#ui .ps-grp:first-child { margin-top: 0; }
#ui .ps-mi { position: relative; flex: none; height: 34px; margin: 0 5px; padding: 0 14px 0 10px; display: flex; align-items: center; justify-content: center; border-radius: 7px;
  font-size: 12px; font-weight: 800; color: #dedbd2; background: transparent; transition: transform .06s, background-color .15s; }
#ui .ps-mi + .ps-mi { margin-top: 2px; }
#ui .ps-mi > span { min-width: 0; text-align: center; line-height: 13px; word-break: keep-all; overflow-wrap: anywhere; }   /* 긴 이름(영어 'Adventure Story Pass')은 줄 34 안 두 줄 */
#ui .ps-mi:active { transform: scale(.94); }
#ui .ps-mi:not(.on):active { background: rgba(255, 255, 255, .08); }
#ui .ps-mi.on { color: #fff; background: linear-gradient(#83c3bf, #548f8c); box-shadow: inset 0 1px rgba(255, 255, 255, .3), 0 1px 3px rgba(0, 0, 0, .45); text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
#ui .ps-mi.lock:not(.on) { color: #8f948f; }
#ui .ps-mi.lock > span::before { content: ""; display: inline-block; width: 9px; height: 10px; margin-right: 4px; vertical-align: -1px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 5.2V3.8a2 2 0 0 1 4 0v1.4' fill='none' stroke='black' stroke-width='1.4'/%3E%3Crect x='2.5' y='5' width='7' height='5.5' rx='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 5.2V3.8a2 2 0 0 1 4 0v1.4' fill='none' stroke='black' stroke-width='1.4'/%3E%3Crect x='2.5' y='5' width='7' height='5.5' rx='1.2'/%3E%3C/svg%3E") center / contain no-repeat; }
#ui .ps-mi.ready::after { content: ""; position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: #e5483f; box-shadow: 0 0 0 1.5px #131417; animation: ps-dot .628s ease-in-out infinite alternate; }
@keyframes ps-dot { from { transform: scale(1); } to { transform: scale(1.15); } }
.gfx-low #ui .ps-mi.ready::after { animation: none; }
#ui .ps .ev-pass { justify-content: flex-start; gap: 8px; }
/* 대표 그림 띠 88(M1 키 아트 띠 90): 패스 색 판(상점 패스 배너 .srp-art 결) + 오른쪽 몬스터 도트 대기 동작 · 왼쪽 위 제목 16 · #알약 18(효율 = 노랑) · 설명 11 두 줄(둘째 = 노랑 #f6d36b — M1 노랑 강조) */
#ui .ps-hero { position: relative; flex: none; height: 88px; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  background: radial-gradient(ellipse 34% 90% at 86% 92%, color-mix(in srgb, var(--ac) 55%, transparent), transparent 72%),
    linear-gradient(100deg, #121418 0%, color-mix(in srgb, var(--ac) 20%, #121418) 52%, color-mix(in srgb, var(--ac) 46%, #101215) 100%); }
#ui .ps-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; pointer-events: none; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--ac) 20%, rgba(0, 0, 0, .25))); }
#ui .ps-hero-mon { position: absolute; right: 22px; bottom: 6px; display: flex; align-items: flex-end; }
#ui .ps-hero-t { position: absolute; left: 12px; top: 8px; right: 196px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
#ui .ps-hero-t > b { max-width: 100%; font-size: 16px; font-weight: 900; line-height: 19px; color: #fff; white-space: nowrap; overflow: hidden; text-shadow: 0 1px 3px #000, 0 0 6px rgba(0, 0, 0, .6); }
#ui .ps-tags { display: flex; gap: 4px; max-width: 100%; }
#ui .ps-tags i { flex: none; height: 18px; padding: 0 7px; border-radius: 9px; font-size: 10.5px; font-style: normal; font-weight: 800; line-height: 18px; white-space: nowrap; color: #e8e6df;
  background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-variant-numeric: tabular-nums; }
#ui .ps-tags i::before { content: "#"; }
#ui .ps-tags i.x { color: #f6d36b; box-shadow: inset 0 0 0 1px rgba(246, 211, 107, .45); }
#ui .ps-desc { max-width: 100%; font-size: 11px; font-weight: 700; line-height: 13px; color: #ecebe4; white-space: nowrap; overflow: hidden; text-shadow: 0 1px 2px #000; }
#ui .ps-desc + .ps-desc { margin-top: -2px; }
#ui .ps-desc.hi { color: #f6d36b; }
#ui .ev-body.ev-fresh .ps-hero-t { animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both; }
/* 칸 줄 판 = 남는 높이. 왼쪽 고정 이름표 열 84(M1): 머리 32 = 현재 값 알약(M1 '현재 처치') · 줄 = 휘장 36 + 이름 */
#ui .ps .ev-track-box { flex: 1; min-height: 0; }
#ui .ps .ev-lanes { width: 84px; padding-top: 0; }
#ui .ps-now { flex: none; height: 32px; padding: 0 4px; display: flex; align-items: center; justify-content: center; }
#ui .ps-now b { max-width: 100%; height: 20px; padding: 0 7px; border-radius: 10px; font-size: 10.5px; font-weight: 900; line-height: 20px; white-space: nowrap; overflow: hidden; color: #fff;
  font-variant-numeric: tabular-nums; background: rgba(95, 198, 192, .16); box-shadow: inset 0 0 0 1px rgba(131, 195, 191, .6); }
#ui .ps .ev-lanes b { flex: 1; height: auto; min-height: 0; gap: 4px; }
/* 휘장(M1 무료 = 은 별 휘장 · 프리미엄 = 금 월계 휘장, K2 킹덤패스 금 문장): 은 · 금 금속 원 + 흰 별, 프리미엄 = 금 빛 테. 프리미엄 줄 이름 = 금 글 */
#ui .ps .ev-lane-i { width: 36px; height: 36px; background: radial-gradient(circle at 35% 28%, #fbfcfd, #c3c9cf 48%, #78818a); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), 0 0 0 1.5px #3a3f44, 0 2px 4px rgba(0, 0, 0, .5); }
#ui .ps .ev-lanes b .ev-lane-i::after { content: "★"; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 19px; line-height: 1; color: #fff; background: none; -webkit-mask: none; mask: none;
  text-shadow: 0 1px 1px rgba(40, 46, 52, .7); }
#ui .ps .ev-lanes b.prem .ev-lane-i { background: radial-gradient(circle at 35% 28%, #fff6d2, #e6bd5c 48%, #9a6a1c);
  box-shadow: inset 0 0 0 2px rgba(255, 246, 210, .55), 0 0 0 1.5px #5e4210, 0 0 0 4px rgba(240, 213, 140, .22), 0 0 12px rgba(240, 213, 140, .45); }
#ui .ps .ev-lanes b.prem .ev-lane-i::after { color: #fffbea; text-shadow: 0 1px 1px rgba(94, 66, 16, .8); }
/* 단계 열(M1 흰 카드 열 · 틈): 열 사이 4 · 위 10 = 마디 선(M1 청록 선 · C1 레벨 메달 — 닿은 만큼 청록, 마디 = 단계), 아래 머리 22 + 칸 둘(반씩) = 둥근 6 카드 */
#ui .ps .ev-track { gap: 4px; padding-bottom: 4px; }
#ui .ps .ev-col { box-shadow: none; }
#ui .ps-node { position: relative; flex: none; height: 10px; }
#ui .ps-node::before { content: ""; position: absolute; left: -2px; right: -2px; top: 4px; height: 2px; background: linear-gradient(90deg, #5fc6c0 calc(var(--f, 0) * 100%), rgba(255, 255, 255, .14) 0); }
#ui .ps-node::after { content: ""; position: absolute; left: 50%; top: 1px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #1b1d20; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
#ui .ps-node.on::after { background: #8fe0d9; box-shadow: 0 0 0 1.5px #2b6f6b, 0 0 6px rgba(143, 224, 217, .8); }
#ui .ps .ev-at { height: 22px; border-radius: 6px 6px 0 0; }
#ui .ps .ev-cell { flex: 1; height: auto; min-height: 0; }
#ui .ps .ev-col > .ev-cell:last-child { border-radius: 0 0 6px 6px; }
/* 프리미엄 칸 = 따뜻한 크림 + 금 안 테 1px(K2 · C1 유료 칸 금 테) */
#ui .ps .ev-cell.prem:not(.can) { box-shadow: inset 0 0 0 1px rgba(201, 162, 79, .55); }
/* 최종 열(M1 마지막 열 금빛 · 원신 · 스타레일 오른쪽 고정): 넘기는 줄 밖 오른쪽 칸 116(넘긴 열이 밑에 깔리지 않음) · 열 전체 살구 금 · 최종 칸 테 = 그 보상 등급색 2px + 등급 빛 맥동 1047 ms(ui-juice) */
#ui .ps .ev-col.last { position: relative; right: auto; z-index: 1; flex: 0 0 116px; margin-left: 4px; min-width: 116px; padding: 0 4px 4px 4px; background: #131417; box-shadow: -6px 0 10px rgba(0, 0, 0, .45); }
#ui .ps .ev-col.last .ev-at { margin-top: 0; }
/* 최종 칸 보상 3 · 4개 = 30 칸 두 줄(한 줄 4칸이면 116 을 넘어 수량 글자가 잘림) */
#ui .ps .ev-col.last .ev-cell .ev-slots:is(.n3, .n4) { --s: 30px; gap: 3px; flex-wrap: wrap; justify-content: center; width: 63px; }
#ui .ps .ev-col.last .ev-cell .ev-slots.n5 { --s: 28px; gap: 3px; flex-wrap: wrap; justify-content: center; width: 90px; }   /* 5개 = 3 + 2 두 줄 */
#ui .ps .ev-cell .ev-slots.n5 .ev-n { font-size: 10px; right: 1px; }
#ui .ps .ev-col.last .ev-cell.prem .ev-slots:is(.n3, .n4, .n5) { margin-top: 12px; }
#ui .ps .ev-col.last .ps-node::before { left: 0; right: 0; }
#ui .ps .ev-col.last .ev-at { color: #3a2a08; background: linear-gradient(180deg, #f9e2a8, #e4b25a); }
#ui .ps .ev-col.last .ev-cell { background: linear-gradient(180deg, #f9e8bf, #f0d293); }
#ui .ps .ev-col.last .ev-cell.prem { background: linear-gradient(180deg, #fcebc0, #f1c66f); }
#ui .ps .ev-col.last .ev-cell.prem.fin:not(.can) { box-shadow: inset 0 0 0 2px var(--fg, #c9a24f); animation: ps-fin 1.047s ease-in-out infinite alternate; }
@keyframes ps-fin { to { box-shadow: inset 0 0 0 2px var(--fg, #c9a24f), inset 0 0 14px color-mix(in srgb, var(--fg, #c9a24f) 65%, transparent); } }
.gfx-low #ui .ps .ev-col.last .ev-cell.prem.fin { animation: none; }
/* 성장 패키지(줄 하나): 칸 = 남는 높이 전부 */
#ui .ps .ev-track-box.pkg .ev-lanes b, #ui .ps .ev-track.pkg .ev-cell { height: auto; }
/* 아래 띠 34: 왼쪽 [단 칩] 단계 k/N · 오른쪽 [모두 받기][프리미엄 열기](M1 오른쪽 아래 [일괄 받기]) */
#ui .ps .ev-pass-bar { flex: none; min-height: 34px; }
/* passbadge-1124 주호님 "오른쪽 아래 띠가 왜 겹침": 효율 꼬리표(단추 위 11 + 흔들림 2 = 13)가 판 사이 틈 8 · 단추 위 2 를 넘어 최종 칸(z 1) 밑에 깔림 → 꼬리표 있을 때만 위 6 띄우고(꼬리표 위 끝 = 판 아래 3 떨어짐) 꼬리표 z 4 */
#ui .ps .ev-pass-bar:has(.ps-x) { padding-top: 6px; }
#ui .ps-barl { min-width: 0; display: flex; align-items: center; gap: 10px; }
#ui .ps-barl .ev-sub { min-width: 0; text-overflow: clip; }   /* 넘치면 전광판(ui_fx watchMarquee) */

/* ---------- passui-1124 메이플 키우기 배틀패스(M1) 결 — 상점 패스 배너(features/shoprev .srp-*)와 같은 모양 한 벌. 근거 = REFERENCES §5 M1 캡처(2026-01)를 다시 열어 읽음:
   대표 띠 = 그림 장면 · 이름표 = 글자 위 + 은/금 단색 금속 문장(assets/ui/pass-badge), 프리미엄 칸 = 짙은 금빛 바탕 · 단계 열 = 연회색 카드(머리 띠 단계 값) ·
   보상 = 흰 둥근 네모(테 = 등급색) + 아래 짙은 수량 알약 · 구매 = 상점과 같은 연두 단추 + 빨간 가치 딱지(.sr-cta · .sr-flag 결) */
#ui .ps-hero[style*="--sr-scene"] { background: var(--sr-scene) center 58% / cover no-repeat, #131417; }
#ui .ps-hero[style*="--sr-scene"]::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8, 10, 14, .78) 0%, rgba(8, 10, 14, .5) 45%, rgba(8, 10, 14, 0) 75%); }
#ui .ps-hero[style*="--sr-scene"] .ps-hero-mon { z-index: 1; }
#ui .ps-hero-t { z-index: 2; }
/* 이름표: 글자 위 · 문장 아래(M1 "무료 보상" · "프리미엄 보상"), 프리미엄 줄 = 짙은 금빛 바탕 */
#ui .ps .ev-lanes b { flex-direction: column-reverse; gap: 3px; }
#ui .ps .ev-lane-i { width: 40px; height: 40px; border-radius: 0; box-shadow: none; background: url(assets/ui/pass-badge/free.png) center / contain no-repeat; filter: drop-shadow(0 1px 2px #000c); }
#ui .ps .ev-lanes b .ev-lane-i::after { content: none; }
#ui .ps .ev-lanes b.prem { background: linear-gradient(180deg, #3b2f14, #251d0e); box-shadow: inset 0 1px 0 rgba(224, 186, 96, .35); color: #f6d264; }
#ui .ps .ev-lanes b.prem .ev-lane-i { background: url(assets/ui/pass-badge/premium.png) center / contain no-repeat; box-shadow: none; }
#ui .ps-unlock .ev-lanes b.prem .ev-lane-i { animation: ps-badge .8s cubic-bezier(.2, .9, .3, 1.3) .15s both; }
@keyframes ps-badge { 0% { transform: scale(1); filter: drop-shadow(0 1px 2px #000c); } 45% { transform: scale(1.15); filter: drop-shadow(0 0 10px #f0d58c); } 100% { transform: scale(1); filter: drop-shadow(0 1px 2px #000c); } }
#ui .ps-now b { color: #9fe7ee; background: #22262b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }   /* 조건 = 마디 선 청록 글자(상점 배너 .srp-cond) */
/* 단계 열 = M1 연회색 카드: 머리 띠 #cfcfcc(짙은 글) · 몸 연회색 그러데이션, 지금 단계 머리 = 마디 선 청록 */
#ui .ps .ev-at { color: #4b4a46; background: #cfcfcc; }
#ui .ps .ev-col.reach .ev-at { color: #23221f; }
#ui .ps .ev-col.cur .ev-at { color: #0f3d3a; background: #a9e1dc; }
#ui .ps .ev-cell, #ui .ps .ev-col.cur .ev-cell { background: linear-gradient(180deg, #e3e3e0, #c6c6c2); }
#ui .ps .ev-cell.prem, #ui .ps .ev-col.cur .ev-cell.prem { background: linear-gradient(180deg, #ecebe6, #cfcdc6); }
/* 보상 칸 = 흰 둥근 네모(테 = 등급색 섞음) + 칸 아래 짙은 수량 알약(M1) */
#ui .ps .ev-cell .ev-slots { --s: 42px; margin-bottom: 12px; } #ui .ps .ev-cell .ev-slots.n2 { --s: 34px; gap: 5px; } #ui .ps .ev-cell .ev-slots.n3 { --s: 23px; gap: 2px; }
#ui .ps .ev-cell .ev-slot { border-radius: 7px; background: linear-gradient(180deg, #ffffff, #e9e9e6);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gc) 55%, #9c9c97), 0 1px 1px rgba(0, 0, 0, .25); }
#ui .ps .ev-cell .ev-slot img { filter: none; }
#ui .ps .ev-cell .ev-slot .ev-n, #ui .ps .ev-cell .ev-slots:is(.n2, .n3, .n4, .n5) .ev-n { left: 50%; right: auto; bottom: -14px; transform: translateX(-50%); min-width: 24px; height: 12px; padding: 0 3px; box-sizing: border-box;
  border-radius: 3px; font-size: 9.5px; line-height: 12px; text-align: center; white-space: nowrap; color: #fff; text-shadow: none; background: #4d4d4b; }
#ui .ps .ev-cell .ev-slots.n3 .ev-n { min-width: 0; padding: 0 2px; font-size: 9px; }
/* 최종 열(116) = 한 줄: 3개 32 · 4개 24, 수량 알약은 칸 아래(자물쇠 아래 16 ~ 꼬리표 위) */
#ui .ps .ev-col.last .ev-cell .ev-slots:is(.n1, .n2, .n3, .n4, .n5) { width: auto; flex-wrap: nowrap; justify-content: center; } #ui .ps .ev-col.last .ev-cell .ev-slots.n5 { --s: 19px; gap: 2px; } #ui .ps .ev-col.last .ev-cell .ev-slots.n3 { --s: 32px; gap: 3px; }
#ui .ps .ev-col.last .ev-cell .ev-slots.n4 { --s: 24px; gap: 3px; } #ui .ps .ev-col.last .ev-cell .ev-slots:is(.n4, .n5) .ev-n { min-width: 0; padding: 0 2px; font-size: 9px; }
/* 구매 = 상점 값 단추와 같은 연두(쿠키런 K1 · 메이플 M1 · M4 연두 막대) + 흰 굵은 글(초록 외곽선) + 빛 훑기 */
#ui .popup.full .btn.ps-buy { color: #fff; border-radius: 9px; text-shadow: 0 1px 0 #2a6413, 1px 0 0 #2a6413, -1px 0 0 #2a6413, 0 -1px 0 #2a6413;
  background: linear-gradient(110deg, transparent 40%, #ffffff66 50%, transparent 60%) no-repeat, linear-gradient(#93d83e, #54a922); background-size: 300% 100%, 100% 100%;
  box-shadow: 0 0 0 1px #d6ff9a59, 0 3px 7px #0008; animation: shop-sheen 3.2s ease-in-out infinite; }
#ui .ps-buy small { border-left-color: rgba(255, 255, 255, .45); }
/* 가치 딱지 = 상점 .sr-flag 와 같은 빨간 리본(꼬리 홈 · 4° 기울기), 수만 노랑 */
#ui .ps-x { height: 18px; padding: 0 8px 0 11px; border-radius: 0; font-size: 10.5px; line-height: 18px; transform: rotate(4deg); transform-origin: 100% 0; text-shadow: 0 1px 1px #6d130c;
  background: linear-gradient(#f0624c, #c22e21); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 5px 50%); box-shadow: none; animation: none; }
#ui .ps-x b { font-size: 12px; color: #ffe27a; }

/* 작은 팝업 판 = 어두운 둥근 판 + 네 모서리 문양. 판 결 = 경매장 물품 정보 au-subw(14-auction: #25292b → #1b1e20 · 둥근 12 · 1px 밝은 테),
   대상 = 크림 나인패치 panel.webp 를 쓰던 창(설정 · 우편 · 문의 · 프로필 · 구매 · 확인 · 광고 · 길드 딸린 창 · 파티/길드 초대).
   모서리 = Codex 벡터 문양(assets/ui/popup-corner-*.png, 흰 그림 → 마스크로 칠).
   안쪽 조각(줄 · 칸 · 입력 · 단추 · 탭 · 글자색) = 01-popup 전체화면 창과 같은 값(밝은 반투명 둥근 줄 · 글자 폭 알약 · 어두운 알약 탭 줄 · 등급색 = 경매장 값). 창 크기 · 배치는 그대로.
   마지막 조각이라 각 창 파일의 크림 값을 같은 무게 선택자로 덮는다(.popup.full · 받음 창 got · 이미 어두운 au-subw · scr · ts-buy 는 제외). */
/* 판(테 · 둥근 · 바탕 · 그림자 · 모서리 문양)은 경매장 상세 · 확인 창(au-subw)도 같이 받는다— au-subw 가 판 값을 따로 적으면 공통 판이 바뀔 때 어긋난다.
   여백 · 안쪽 조각(단추 · 탭 · 칸)은 au-subw 제외 그대로 — 경매장 창 값(14-auction). */
#ui .popup:not(.full, .got, .scr, .ts-buy), #ui .party-invite { --ink: #f2f0e7; --ink-soft: #9a9d98; --corner: #4d4944; border: 0; border-image: none; border-radius: 12px;
  background: linear-gradient(#25292b, #1b1e20); color: var(--ink); filter: none; box-shadow: 0 0 0 1.5px rgba(8, 9, 10, .85), 0 14px 32px rgba(0, 0, 0, .6); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy), #ui .party-invite { padding: 20px 22px 22px; }
/* 모서리 문양 = 르네상스 아칸서스 소용돌이 44 + 네 변 가는 띠(문양 그림 안 곧은 띠와 같은 자리 · 같은 진하기 1px 로 네 모서리를 잇는다).
   참고 = .local/tmp/ref-corner/shots/notes.md(Raid · Epic Seven · Summoners War · Wild Rift · Watcher of Realms: 어두운 판 + 1~3px 선 + 작은 모서리 장식).
   문양 층은 판 밖 inset -2.5(띠가 판 안쪽 약 1.5) · 판 모양(둥근 12)으로 자름 · 판 끝선 1.5 안쪽(inset 4 round 10.5)까지만(짧은 창은 판 높이 36%까지). 한 겹에 마스크 여덟 장 */
#ui .popup:not(.full, .got, .scr, .ts-buy)::after, #ui .party-invite::after { content: ""; position: absolute; inset: -2.5px; clip-path: inset(4px round 10.5px); z-index: 1; pointer-events: none; background: var(--corner); opacity: .7;
  -webkit-mask: url(assets/ui/popup-corner-tl.png) left top / auto min(44px, 36%) no-repeat, url(assets/ui/popup-corner-tr.png) right top / auto min(44px, 36%) no-repeat,
    url(assets/ui/popup-corner-bl.png) left bottom / auto min(44px, 36%) no-repeat, url(assets/ui/popup-corner-br.png) right bottom / auto min(44px, 36%) no-repeat,
    linear-gradient(#000 0 0) left 4px top 4px / calc(100% - 8px) 1px no-repeat, linear-gradient(#000 0 0) left 4px bottom 4px / calc(100% - 8px) 1px no-repeat,
    linear-gradient(#000 0 0) left 4px top 4px / 1px calc(100% - 8px) no-repeat, linear-gradient(#000 0 0) right 4px top 4px / 1px calc(100% - 8px) no-repeat;
  mask: url(assets/ui/popup-corner-tl.png) left top / auto min(44px, 36%) no-repeat, url(assets/ui/popup-corner-tr.png) right top / auto min(44px, 36%) no-repeat,
    url(assets/ui/popup-corner-bl.png) left bottom / auto min(44px, 36%) no-repeat, url(assets/ui/popup-corner-br.png) right bottom / auto min(44px, 36%) no-repeat,
    linear-gradient(#000 0 0) left 4px top 4px / calc(100% - 8px) 1px no-repeat, linear-gradient(#000 0 0) left 4px bottom 4px / calc(100% - 8px) 1px no-repeat,
    linear-gradient(#000 0 0) left 4px top 4px / 1px calc(100% - 8px) no-repeat, linear-gradient(#000 0 0) right 4px top 4px / 1px calc(100% - 8px) no-repeat; }
#ui .inquiry-dim.kb .popup { padding: 10px 12px 12px; }   /* 키보드가 덮을 때(전: 나인패치 테 14) */
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .popup-head { border-bottom: 1px solid rgba(255, 255, 255, .1); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .close, #ui .party-invite .close { border: 0; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .close:active { background: rgba(255, 255, 255, .18); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .win-wallet .w-gold { color: #e8c979; } #ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .win-wallet .w-diamond { color: #8fc6ff; }

/* 단추 = 01-popup 전체화면 알약(기본 베이지 · gold = 청록 결정 · danger = 적갈 · plain = 회색 반투명). 폭 고정(mail-row 72 · inq-foot 150 · min-width)은 각 창 값 그대로 */
#ui :is(.popup:not(.full, .got, .au-subw, .scr, .ts-buy), .party-invite) .btn { min-height: 28px; padding: 0 14px; border: 0; border-image: none; border-radius: 999px; background: linear-gradient(#ece4d3, #c9bda6); color: #2b261e;
  text-shadow: none; filter: none; font-size: 12.5px; font-weight: 800; white-space: nowrap; box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .35); }
#ui :is(.popup:not(.full, .got, .au-subw, .scr, .ts-buy), .party-invite) .btn.gold { background: linear-gradient(#83c3bf, #548f8c); color: #fff; }
#ui :is(.popup:not(.full, .got, .au-subw, .scr, .ts-buy), .party-invite) .btn.danger { background: linear-gradient(#a64646, #742c2c); color: #fff; }
#ui :is(.popup:not(.full, .got, .au-subw, .scr, .ts-buy), .party-invite) .btn.plain { background: rgba(255, 255, 255, .12); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui :is(.popup:not(.full, .got, .au-subw, .scr, .ts-buy), .party-invite) .btn.off { filter: grayscale(1); opacity: .45; }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .btn.inq-send.busy.off { filter: none; opacity: 1; }
/* 탭 = 어두운 알약 줄 + 탭마다 옅은 알약 · 고른 탭 베이지 알약(01-popup .popup.full .tabs — 3개 이하라 글자 폭) */
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .tabs { display: flex; width: fit-content; max-width: 100%; gap: 4px; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .tab { flex: none; min-width: 72px; height: 28px; padding: 0 16px; border: 0; border-radius: 999px; font-size: 13px; font-weight: 800; background: rgba(255, 255, 255, .08); color: #e2dbcc; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 1px 2px rgba(0, 0, 0, .35); transition: background .15s, color .15s; }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .tab.on { background: linear-gradient(#e6decd, #c7bba3); color: #26221c; box-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 240, 210, .55); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .tab:not(.on):active { background: rgba(255, 255, 255, .16); }

/* 설정 · 우편 · 문의(02-sheet-settings): 크림 칸 → 밝은 반투명 둥근 줄, 들어간 판 → 어두운 판, 입력 → 어두운 칸 */
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .sheet-body, #ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .inq-shots-row { border: 0; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) :is(.account-box, .toggle-row) { border: 0; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .btn.set-btn { min-height: 0; height: 32px; padding: 0 6px 0 4px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: var(--ink); font-size: 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .btn.set-btn.risk { background: rgba(166, 70, 70, .22); color: #ff9b85; box-shadow: inset 0 0 0 1px rgba(180, 102, 77, .45); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .mail-row { min-height: 66px; padding: 7px 12px 7px 8px; border: 0; border-image: none; border-radius: 9px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .mail-icon { border: 0; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) :is(.mail-text .bad, .inq-count.bad, .buy-lines, .buy-note) { color: #ff9b85; }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .toggle { border: 0; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .toggle.on { background: linear-gradient(#83c3bf, #548f8c); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .toggle .t-off { color: var(--ink-soft); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .lang-chip { border: 0; background: rgba(255, 255, 255, .07); color: var(--ink-soft); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .lang-chip.on { background: linear-gradient(#83c3bf, #548f8c); color: #fff; box-shadow: none; }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) :is(input, textarea, .inq-subject, .inq-text, .gd-field) { border: 0; background: rgba(0, 0, 0, .35); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) :is(input, textarea, .gd-field):focus { outline: none; box-shadow: inset 0 0 0 1px #e6decd, 0 0 0 3px rgba(230, 222, 205, .15); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) :is(input, textarea)::placeholder { color: #7d817c; opacity: 1; }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .inq-shot { border: 0; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .inq-add { border: 1px dashed rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .05); }
#ui .popup:not(.full, .got, .au-subw, .scr, .ts-buy) .inq-del { border: 0; background: linear-gradient(#a64646, #742c2c); box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }

/* 구매 판(07-list-text): 장비 칸 = 등급색 그라데이션 네모(경매장 au-tile 값), 이름 = 경매장 au-name 등급색 */
#ui .popup.buy.gear .buy-cell { border: 2px solid color-mix(in srgb, var(--ac) 80%, #fff); background: linear-gradient(150deg, color-mix(in srgb, var(--ac) 55%, #1d2124), color-mix(in srgb, var(--ac) 18%, #121517));
  box-shadow: 0 0 10px color-mix(in srgb, var(--ac) 45%, transparent); }
#ui .popup.buy.gear .buy-art.g-common { --ac: #6b7073; } #ui .popup.buy.gear .buy-art.g-rare { --ac: var(--gr-rare); } #ui .popup.buy.gear .buy-art.g-epic { --ac: var(--gr-hero); }
#ui .popup.buy.gear .buy-art.g-unique { --ac: var(--gr-legend); } #ui .popup.buy.gear .buy-art.g-legendary { --ac: color-mix(in srgb, var(--gr-myth) 75%, #000); }
#ui .popup.buy.gear .buy-name.g-rare { color: color-mix(in srgb, var(--gr-rare) 45%, #fff); } #ui .popup.buy.gear .buy-name.g-epic { color: color-mix(in srgb, var(--gr-hero) 40%, #fff); } #ui .popup.buy.gear .buy-name.g-unique { color: color-mix(in srgb, var(--gr-legend) 40%, #fff); } #ui .popup.buy.gear .buy-name.g-legendary { color: color-mix(in srgb, var(--gr-myth) 60%, #fff); }
#ui .popup.buy .buy-stat.odd { background: rgba(255, 255, 255, .06); }
#ui .popup.buy .buy-stat b { color: #7fd88a; }
#ui .popup.buy .buy-bonus { color: #f0b45a; }

/* 프로필(10-social): 외형 판 · 물품 글 = 어두운 판, 장비 칸 = 어두운 둥근 칸 + 등급색 */
#ui .popup.profile :is(.pf-look, .pf-item) { border: 0; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .popup.profile .pf-look { background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03) 70%); }
#ui .popup.profile .pf-where { color: #7fd88a; }
#ui .popup.profile .pf-cell { --gc: #6b7073; border: 2px solid rgba(255, 255, 255, .12); border-image: none; border-radius: 8px; background: rgba(0, 0, 0, .3); }
#ui .popup.profile .pf-cell:is(.g-uncommon, .g-rare, .g-epic, .g-unique, .g-legendary) { border-color: color-mix(in srgb, var(--gc) 80%, #fff); background: linear-gradient(150deg, color-mix(in srgb, var(--gc) 55%, #1d2124), color-mix(in srgb, var(--gc) 18%, #121517)); }
#ui .popup.profile .pf-cell.g-rare { --gc: var(--gr-rare); } #ui .popup.profile .pf-cell.g-epic { --gc: var(--gr-hero); } #ui .popup.profile .pf-cell.g-unique { --gc: var(--gr-legend); } #ui .popup.profile .pf-cell.g-legendary { --gc: color-mix(in srgb, var(--gr-myth) 75%, #000); }
#ui .popup.profile :is(.pf-slot, .pf-item .item-hint) { color: var(--ink-soft); }
#ui .popup.profile .pf-item b.g-rare { color: color-mix(in srgb, var(--gr-rare) 45%, #fff); } #ui .popup.profile .pf-item b.g-epic { color: color-mix(in srgb, var(--gr-hero) 40%, #fff); } #ui .popup.profile .pf-item b.g-unique { color: color-mix(in srgb, var(--gr-legend) 40%, #fff); } #ui .popup.profile .pf-item b.g-legendary { color: color-mix(in srgb, var(--gr-myth) 60%, #fff); }

/* 길드 딸린 창(13-guild .gd-sub): 본 창 13e-guild-polish 의 어두운 값과 같게 — 줄 · 카드 · 단추 · 작은 탭 · 글자색 */
#ui .popup.gd-sub .gd-panel { background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .popup.gd-sub :is(.gd-row, .gd-card, .gd-cell) { border: 0; border-image: none; border-radius: 9px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .popup.gd-sub .gd-row { margin-bottom: 4px; padding: 0 12px 0 14px; }
#ui .popup.gd-sub .btn.gd-btn { width: auto; min-width: 0; min-height: 28px; padding: 0 14px; border: 0; border-radius: 999px; background: linear-gradient(#ece4d3, #c9bda6); color: #2b261e; text-shadow: none; filter: none; opacity: 1;
  font-size: 12.5px; box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .35); }
#ui .popup.gd-sub .btn.gd-btn.gold { background: linear-gradient(#83c3bf, #548f8c); color: #fff; }
#ui .popup.gd-sub .btn.gd-btn.danger { background: linear-gradient(#a64646, #742c2c); color: #fff; }
#ui .popup.gd-sub .btn.gd-btn:is(.plain, .ghost) { background: rgba(255, 255, 255, .12); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .popup.gd-sub .btn.gd-btn.off { filter: grayscale(1); opacity: .45; }
#ui .popup.gd-sub .btn.gd-btn.gc-go { width: auto; align-self: center; min-height: 34px; padding: 0 28px; }   /* 창설 = 큰 결정 단추도 글자 폭 */
#ui .popup.gd-sub .gd-subtabs { gap: 2px; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .popup.gd-sub .gd-subtab { width: auto; min-width: 60px; padding: 0 14px; border-radius: 999px; color: var(--ink-soft); background: none; box-shadow: none; }
#ui .popup.gd-sub .gd-subtab.on { color: #26221c; background: linear-gradient(#e6decd, #c7bba3); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
#ui .popup.gd-sub :is(.muted, .dim, .gd-dim, .gd-find-right, .gpost-by, .gc-label, .gc-have, .gc-notice, .greward-hint, .gd-rank-pts small) { color: var(--ink-soft); }
#ui .popup.gd-sub .gold { color: #e8c979; } #ui .popup.gd-sub .good { color: #7fd88a; } #ui .popup.gd-sub :is(.gd-warn, .gc-notice.warn) { color: #ff9b85; }

/* 파티 · 길드 초대 알림(10-social .party-invite — 같은 판) */
#ui .party-invite p { color: var(--ink); }

/* 길드 딸린 창 머리 · 문장 편집기(13e-guild-polish 본 창 값 그대로): 크림 판 밑줄 금 메달 · 크림 탭 · 크림 고른 칸 → 어두운 결 */
#ui .popup.gd-sub > .gd-head { border-bottom: 1px solid rgba(255, 255, 255, .1); }
#ui .popup.gd-sub > .gd-head::after { display: none; }
#ui .popup.gd-sub .gd-headline { color: #c9ccc6; } #ui .popup.gd-sub .gd-headline::before { background: #e8c979; }
#ui .popup.gd-sub .em-left { border-radius: 10px; background: radial-gradient(circle at 50% 36%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .popup.gd-sub .em-tabs { width: fit-content; max-width: 100%; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .popup.gd-sub .em-tab { flex: none; min-width: 64px; padding: 0 16px; height: 26px; border-radius: 999px; color: var(--ink-soft); background: none; box-shadow: none; transition: background .15s, color .15s; }
#ui .popup.gd-sub .em-tab.on { color: #26221c; background: linear-gradient(#e6decd, #c7bba3); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
#ui .popup.gd-sub .em-cell { border-radius: 8px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .popup.gd-sub .em-cell.on { background: rgba(230, 222, 205, .16); box-shadow: inset 0 0 0 2px #e6decd, 0 0 8px rgba(230, 222, 205, .25); }
#ui .popup.gd-sub .em-cell.locked i { color: #ff9b85; }
#ui .popup.gd-sub :is(.em-note, .gd-icon-foot small) { color: var(--ink-soft); }
#ui .popup.gd-sub :is(.em-sv, .em-hue, .em-cur) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }

/* 설정 창 촘촘히: 폭 330 · 높이 = 내용(몸 높이는 가장 긴 탭 기준 고정 — 탭을 바꿔도 창이 안 뛴다).
   제목 15 · 탭 24/11.5 · 줄 34/12 · 단추 28/11.5 · 아이콘 18~20 · 계정 글 10.5 · 언어 칩 22/10.5. 들어간 판(sheet-body)은 판 없이 줄만 */
#ui .popup.settings { width: 330px; height: auto; padding: 16px 18px 18px; }
#ui .popup.settings .popup-head { padding: 0 0 6px; margin-bottom: 8px; }
#ui .popup.settings .popup-head h2 { font-size: 15px; }
#ui .popup.settings .tabs { margin-bottom: 8px; }
#ui .popup.settings .stabs .tab { min-width: 54px; height: 26px; padding: 0 11px; font-size: 13px; line-height: 26px; white-space: nowrap; }
#ui .popup.settings .sheet-body { flex: none; height: 172px; padding: 0; background: none; box-shadow: none; }
#ui .popup.settings .user-panel { gap: 5px; padding: 0; }
#ui .popup.settings .set-grid { gap: 5px; }
#ui .popup.settings .btn.set-btn { height: 28px; padding: 0 6px 0 5px; gap: 5px; font-size: 11.5px; }
#ui .popup.settings .btn.set-btn img { width: 18px; height: 18px; }
#ui .popup.settings .btn.set-btn span { line-height: 12px; }
#ui .popup.settings .account-box { padding: 5px 9px; font-size: 10.5px; line-height: 13px; gap: 1px; }
#ui .popup.settings .toggle-row { min-height: 34px; padding: 0 9px; margin-bottom: 5px; border-radius: 8px; font-size: 12px; }
#ui .popup.settings .vol-row { gap: 6px; }
#ui .popup.settings .vol-ico { width: 20px; height: 20px; }
#ui .popup.settings .vol-name { width: 34px; }
#ui .popup.settings .vol-bar { height: 26px; margin: 0 8px; }
#ui .popup.settings .vol-knob { right: -11px; width: 22px; height: 22px; margin-top: -11px; }
#ui .popup.settings .vol-num { width: 22px; font-size: 11px; }
#ui .popup.settings .toggle-row.lang-row { gap: 5px; padding: 6px 7px 7px; }
#ui .popup.settings .lang-chip { height: 22px; border-radius: 6px; font-size: 10.5px; }
#ui .popup.settings .version { margin-top: 6px; font-size: 10.5px; }
#ui .popup.settings .toggle { width: 64px; height: 24px; font-size: 10.5px; }
#ui .popup.settings .toggle::before, #ui .popup.settings .toggle::after { width: 18px; height: 18px; top: 3px; }
#ui .popup.settings .toggle::before { left: 43px; }
#ui .popup.settings .toggle::after { left: 3px; }
#ui .popup.settings .toggle span { top: 5px; }
#ui .popup.settings .toggle .t-on { left: 9px; }
#ui .popup.settings .toggle .t-off { right: 8px; }
/* 조작 탭(09-controls 크림 칸) = 위 줄과 같은 어두운 결 */
#ui .popup.settings .ctl-edit-all { min-height: 28px; margin-bottom: 5px; font-size: 11.5px; }
#ui .popup.settings .ctl-panel .toggle-row { margin-bottom: 5px; }
#ui .popup.settings .ctl-mode { gap: 5px; padding: 6px 7px 7px; }
#ui .popup.settings .ctl-seg { gap: 5px; }
#ui .popup.settings .ctl-seg button { height: 24px; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .07); color: var(--ink-soft); font-size: 11px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .popup.settings .ctl-seg button.on { background: linear-gradient(#83c3bf, #548f8c); color: #fff; box-shadow: none; }
/*@uifix-1122*/
/* uifix-1122 시안(11-22 형창님 "몇개시안 수정전후보여줘", uiaudit-1121 고칠 순서 1 · 2) — [한정] 가로 카드(.pk 기본 · 특가 .tp · 패키지 .pkg · v2s 는 그대로)
   1. "첫 구매 80%↓" 배지: 제목 줄 오른쪽 끝(-5,-5)에 얹혀 제목 끝 글자를 덮었다 → 그림 판(폭 150) 오른쪽 위, "1회 한정" 줄 아래(영어 "Limit 1" · "First buy 80% off" 가 한 줄이면 서로 닿는다).
   2. "남은 횟수 1/1": 카드 폭 315 에서 가격 단추(112) 옆에 30 밖에 안 남아 단추 밑에 깔리고 전광판으로 잘렸다 → 그림 판(폭 150) 아래 띠(그림 124 아래 126~146, 위 "1회 한정"과 짝).
      가격 단추 위 띠는 두 줄 구성품 이름("월정액 퀘스트 해금")과 7 겹쳐 버렸다(11-22 1차 시안 실측). 글자 크기 11 그대로. */
#ui .shop-grid.pk:not(.pkg, .tp, .v2s) .pack .card-badge { left: auto; right: calc(100% - 146px); top: 22px; }   /* 오른쪽 끝 = 그림 판 안 146(transform 은 shop-badge 맥박 연출이 씀) */
#ui .shop-grid.pk:not(.pkg, .tp, .v2s) .pack .card-meta { left: 0; right: auto; width: 150px; bottom: 4px; height: 22px; align-items: center; justify-content: flex-end; text-shadow: 0 1px 2px #000; }
/* uifix-1122 나머지(11-22 형창님 "나머지도 저렇게싹 고쳐보고") — 상점 다른 탭(같은 도구 전/후: docs/…/rt-battle/uifix-1122)
   4. [특가](.tp) "이번 달 0/1" · "이번 주 0/3": 가격 단추(112) 옆 칸이 좁아 단추 밑에 깔렸다 → 시안 2와 같은 자리(그림 판 118 아래 띠). timedpack.css 보다 한 단계 높여 씀 */
#ui .popup .shop-grid.pk.tp .pack .card-meta { left: 0; right: auto; width: 118px; bottom: 4px; height: 22px; align-items: center; justify-content: flex-end; text-shadow: 0 1px 2px #000; }
/* 5. [패키지] 잠재 · 기타 주문서 타일 이름("Advanced Potential Reset Scroll")이 한 줄이라 이웃 타일 이름과 겹쳤다 → 두 줄까지(짧은 말 → 두 줄 순서, 글자 13 그대로) */
#ui .shop-grid.pk.pkg .shop-card.pack .card-name { left: 2px; right: 2px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; word-break: keep-all; line-height: 16px; text-overflow: clip; z-index: 1; }   /* 2차: 둘째 줄이 그림 후광(card-art 안 .card-halo — DOM 뒤라 위에 그려짐) 아래로 가지 않게 이름을 위로. [포인트](#adp-pane = 같은 .pkg 판)도 같음 */
/* 16:9 이하(GUI 폭 ≈ 800 — 640×360 · 1280×720)만: */
@media (max-aspect-ratio: 19/10) {
  /* 6. [한정 › 패스] 카드 폭 ≈ 306 에서 오른쪽 칸 148 에 보상 칸 4개(40 × 4 + 6 × 3 = 178)가 안 들어가 오른쪽이 잘리고, 설명이 세 줄로 늘어 가격 단추 밑에 깔렸다
        → [특가]와 같은 그림 판 118(그림 90)로 오른쪽 칸 180. 칸 · 글자 크기 그대로, 1 · 2 시안 배지 · 남은 횟수 띠도 판 폭에 맞춤 */
  #ui .shop-grid.pk:not(.pkg, .tp, .v2s) .pack .card-tint { width: 118px; }
  #ui .shop-grid.pk:not(.pkg, .tp, .v2s) .pack .card-art { left: 14px; top: 22px; width: 90px; height: 90px; }
  #ui .shop-grid.pk:not(.pkg, .tp, .v2s) .pack :is(.card-name, .card-rule, .card-rw, .card-extra:not([hidden])) { left: 126px; }
  #ui .shop-grid.pk:not(.pkg, .tp, .v2s) .pack .card-meta { width: 118px; }
  #ui .shop-grid.pk:not(.pkg, .tp, .v2s) .pack .card-badge { right: calc(100% - 114px); }
  /* 7. 누적 결제 알약(탭 줄 오른쪽 끝 절대 자리)이 영어 [Gold] 탭 끝을 7.8 덮었다 → 진행 막대 70 → 40(숫자 · 다음 단계 글자 그대로) */
  #ui .popup.full.shop > .cp-chip .cbar { width: 40px; }
}
/*@end uifix-1122*/

/* gf:js-pack prototype/Spikes/rt-battle/ui/hud.css */
/* 분신 용사 HUD — 키트 목업 규약(WU-5, 2026-09-27). 전 battle.js 캔버스 HUD(drawTopBar · drawHud · drawHpHud · drawFxTab · drawRespawn · drawFlash ·
   띠 글자 · 머리 위 글자·막대·말풍선)를 옮긴 것. 목업 페이지(ui/mockup.html) · 게임(index.html) · Unity(목업 엔진)가 같은 이 파일을 쓴다.
   단위: 무대 = GUI(EFZ 화면 높이 450). 목업 무대 800x450(16:9, 이 게임이 허용하는 가장 좁은 가로). 게임은 .hud-in 을 zoom(--u = 캔버스 높이/450)으로만 키운다.
   가로가 16:9 보다 넓으면: .edge-l 은 왼쪽 끝, .edge-r 은 오른쪽 끝, .edge-fill 은 가로 전체, 나머지는 가운데 그대로(Unity 는 같은 클래스를 읽어 옮긴다: port 런타임 MockupEdges).
   값의 근거(전 battle.js): 조작 = EFZ 값(GUI 그대로), 머리줄 = 마이 티니 작은 판 × .75(z/g, 폰 높이에서 늘 같다; 바깥 여백 12·14 는 CSS px 그대로라 × 1.2), 캔버스 CSS px 상수는 기준 화면 812x375 에서 GUI(× 1.2).
   월드 글자(이름·막대·말풍선·피해 숫자 …)는 기준 화면의 EFZ px(× .9 GUI) 크기 틀(data-world). 게임이 화면 배율 차이만 scale 로 곱한다.
   색·그림자·판 그림은 이 파일과 ui/art(bake_art.mjs 가 옛 그리기 식으로 구운 PNG)에만 있다. 게임 JS 에 좌표·색 상수를 두지 않는다. */
@font-face { font-family: "GFUIFont"; src: url("ui/fonts/NotoSansKR-SemiBold.ttf"); font-weight: 100 900; ascent-override: 109.85%; descent-override: 34.95%; line-gap-override: 0%; }   /* (같은 값 = index.html GF_FONT_DESC → gf_i18n.js 부분 글꼴 면) 글자 위아래 가운데(btnfix-1118, 11-18 주호님 "버튼 정렬 안 맞는거 다"): Noto Sans KR 줄 상자 = 위 1160 · 아래 288 이라 가운데가 바닥선 위 436 인데 한글 잉크 가운데는 374.5(글꼴 실측) → 모든 글자가 0.06em(글자 14 에서 약 1px) 아래로 처졌다. 합(144.8%)은 그대로 두고 위 1098.5 · 아래 349.5 로 나눠 잉크 가운데 = 줄 상자 가운데 */
#hud { position: fixed; z-index: 4; pointer-events: none; overflow: hidden; --ui-font: "GFUIFont"; --title-font: var(--ui-font); font-family: var(--ui-font); }
#hud [hidden] { display: none !important; }
#hud .hud-in { position: absolute; left: 0; top: 0; width: var(--hw, 800px); height: var(--hh, 450px); zoom: var(--u, 1); }
#hud .hud-in > * { position: absolute; }
#hud .gf-lo { margin-top: var(--dy, 0px); }   /* 세로로 길어진 무대(폴드 펼침 11-06, hud host lowerHalf): 아래 절반 칸은 화면 아래로 */
#hud img { display: block; position: absolute; }
#hud .world, #hud .ctl { left: 0; top: 0; width: 100%; height: var(--hh, 450px); }
#hud .world > *, #hud .ctl > * { position: absolute; }
#hud .o { color: #fff; font-weight: 700; white-space: nowrap; line-height: 1;   /* 흰 글자 + 검은 테두리(캔버스 strokeText 3px 의 바깥 반) */
  text-shadow: 1.5px 0 #000, -1.5px 0 #000, 0 1.5px #000, 0 -1.5px #000, 1.1px 1.1px #000, -1.1px 1.1px #000, 1.1px -1.1px #000, -1.1px -1.1px #000; }

/* ---------------- 머리줄 왼쪽: 프로필 칸 + 지금 자리 줄(2026-10-28 사용자 "왼쪽상단에 미니맵 … 제거 · 계정 프로필정보정도만 · 내 프로필사진이랑 이름 길드 칭호 랭킹칸
   (랭킹은 지금없으니까 랭킹아이콘이랑 랭킹 정보 없음 -) · 인기 모바일게임 좌상단 프로필 … 참고 · 프로필 밑에는 … 지역위치 · 누르면 지도 UI"). 값 = features/hud/profile_card.js.
   참고(10-28 직접 본 스토어 · 기사 화면 — 버섯커 키우기 · 라이즈 오브 킹덤즈 · 리니지W 좌상단 초상 / 나이트 크로우 · 로드나인 지역 띠):
   초상 = 원 + 금 테 · 화면 짧은 변 8~11%(GUI 450 → 42) · 모서리에 붙임 · 오른쪽 글자 = 짙은 반투명 띠(오른쪽으로 흐려짐) · 지역 = 위치 핀 + 이름 띠.
   크기 = 고품질UI(GUI 450): 이름 12.5 · 칭호 · 길드 · 랭킹 9.5 · 아이콘 11 · 지역 줄 높이 20(알약 28 보다 작게 — 머리줄 한쪽 글자 줄).
   색 = 금 테 #c8aa6e(작은 팝업 금선 18-popup-dark) · 판 #0d1011(퀘스트 알리미 판) · 칭호 금 #e8c979(지갑 골드 · 퀘스트 메인) · 회 #b9bcb4(EFZ 회 글자). */
#hud .top-l { left: 8px; top: 6px; pointer-events: none; }
/* 얼굴 52(금 테 포함 ≈ 57) ≥ 띠 56 · 띠는 얼굴 가운데(-26)부터: 얼굴이 띠보다 작으면 띠 왼쪽 네모 끝이 얼굴 위아래로 보여 잘린 듯했다. 칸 폭 176 그대로(52 + 150 - 26).
   띠 높이 56 · 줄 사이 3: 46 칸에 세 줄(합 ≈ 45)을 채우면 띠와 글자가 위아래로 붙어 답답했다 — 글자 크기는 그대로, 칸만 키움(세 줄 ≈ 50 → 위아래 여유 3씩, 위 여백 8 → 6 이라 아래 칸은 8 밀림) */
#hud .pc-card { position: relative; display: flex; align-items: center; height: 56px; }
#hud .pc-face { position: relative; z-index: 1; flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #3a3f44, #121518 70%);
  box-shadow: 0 0 0 1.5px #c8aa6e, 0 0 0 2.5px rgba(0, 0, 0, .65), 0 2px 6px rgba(0, 0, 0, .55); }
#hud .pc-face img { left: 0; top: 0; width: 52px; height: 52px; object-fit: cover; image-rendering: pixelated; }
#hud .pc-txt { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 3px; width: 150px; height: 56px; margin-left: -26px; padding-left: 32px; box-sizing: border-box;
  background: linear-gradient(90deg, rgba(13, 16, 17, .78), rgba(13, 16, 17, .55) 62%, rgba(13, 16, 17, 0)); border-radius: 0 3px 3px 0; }
#hud .pc-txt::before, #hud .pc-txt::after { content: ""; position: absolute; left: 26px; right: 22%; height: 1px; background: linear-gradient(90deg, rgba(200, 170, 110, .55), rgba(200, 170, 110, 0)); }   /* 위아래 1px 금 빛선(제목 띠 말씨) */
#hud .pc-txt::before { top: 0; } #hud .pc-txt::after { bottom: 0; }
#hud .pc-ttl, #hud .pc-name, #hud .pc-sub { display: block; white-space: nowrap; overflow: hidden; line-height: 1.15; text-shadow: 0 1px 2px #000; }
/* 11-12 주호님 "칭호 · 이름 · 트로피 줄이 너무 작다": 칭호 9 → 11 · 이름 12.5 → 14 → 15.5(11-12 주호님 "용사 크기는 한 단계만 더") · 아래 줄 9.5 → 11 · 아이콘 11 → 13(칸 높이 56 — 위 .pc-card) */
#hud .pc-ttl { font-size: 11px; font-weight: 800; color: #e8c979; }
#hud .pc-ttl.none { color: #b4b7ae; font-weight: 700; }
#hud .pc-name { font-size: 15.5px; font-weight: 900; color: #f2f0e7; letter-spacing: .2px; }
#hud .pc-sub { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; color: #c9ccc4; }
#hud .pc-guild, #hud .pc-rank { display: flex; align-items: center; gap: 3px; min-width: 0; }
#hud .pc-guild b { overflow: hidden; text-overflow: ellipsis; max-width: 66px; }
#hud .pc-guild.none b { color: #b4b7ae; }
#hud .pc-emb { position: static; flex: none; width: 13px; height: 13px; }
#hud .pc-guild.none .pc-emb { display: none; }
#hud .pc-rank::before, #hud .pc-pin::before { content: ""; display: block; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
#hud .pc-rank::before { width: 13px; height: 13px; color: #e6e2d6; -webkit-mask-image: url(assets/icons/menu-ranking.png); mask-image: url(assets/icons/menu-ranking.png); }   /* 메뉴 [랭킹]과 같은 흰 선 아이콘 */
#hud .pc-rank b { color: #f2f0e7; }
/* 지금 자리 줄(로드나인 위치 핀 · 나이트 크로우 지역 띠): 지도 아이콘(메뉴 [지도]와 같은 흰 선) + 이름 + ›(누르면 지도 창 — battle topBarHit 'place') · 바뀌면 살짝 떠오름 */
#hud .pc-where { display: inline-flex; align-items: center; gap: 5px; height: 30px; min-width: 150px; box-sizing: border-box; margin-top: 8px; padding: 0 12px 0 9px; border-radius: 15px; white-space: nowrap; color: #f2f0e7;   /* 11-04 레이 R2 "[나의 하늘섬] 단추가 작아 프로필 · 퀘스트가 눌림": 20 → 알약 28(고품질UI) · 폭 132 이상, 퀘스트 알리미는 6 아래로(quest.css top 92) */
  /* 크기 = 메이플 키우기 기준(docs/one-click-game-factory/analysis/maple-idle-ui-size.md): 이웃 누름 칸 틈 8 이상 → 프로필 칸과 8 · 높이 30 · 폭 150 이상 */
  background: linear-gradient(90deg, rgba(13, 16, 17, .72), rgba(13, 16, 17, .5)); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .38); }
/* 프로필 칸 · 지금 자리 알약 = DOM 누름 칸(profile_card.js click — 11-07 유저 "나의 하늘섬이 클릭이 안 돼요, 자꾸 프로필이 클릭됩니다"): 캔버스 판정만이면 크롬 터치 보정이
   알약 아래쪽 누름을 바로 밑 퀘스트 알리미(DOM)로 끌어갔다. 알약 누름 여유 = 투명 ::before(위 8 = 프로필 칸까지 틈 전부 · 아래 4 = 알리미와 틈 8 의 반 → 누름 높이 42 ·
   옆 8 · 오른쪽 4 = 채널 알약과 틈 8 의 반). 위 틈을 다 채워야 크롬 터치 보정(손가락 반지름)이 알약 윗가장자리 누름을 프로필로 끌어가지 않는다(폰 844×390 실측).
   누름 판정은 프로필 칸 · 알리미와 맞닿기만 하고 겹치지 않는다(battle topBarHit 도 같은 여유) */
#hud .pc-card, #hud .pc-where { pointer-events: auto; cursor: pointer; touch-action: manipulation; }
#hud .pc-where { position: relative; z-index: 2; }   /* 여유 판이 프로필 사진(z 1) 위 */
#hud .pc-where::before { content: ""; position: absolute; left: -8px; right: -4px; top: -8px; bottom: -4px; }
#hud .pc-pin::before { width: 14px; height: 14px; color: #e8c979; -webkit-mask-image: url(assets/icons/menu-map.png); mask-image: url(assets/icons/menu-map.png); }
#hud .pc-place { flex: 1; font-size: 12px; font-weight: 800; text-shadow: 0 1px 2px #000; }
#hud .pc-go { font-style: normal; font-size: 12px; font-weight: 900; line-height: 1; color: #b9bcb4; margin-top: -1px; }
#hud .pc-go::before { content: "›"; }
#hud .pc-where.in .pc-place { animation: pc-where-in .32s ease-out both; }
#hud .pc-where.press { animation: pc-press .22s ease-out both; }   /* 누름 .92 → 1.06(고품질UI 연출) */
#hud .pc-card.press { animation: pc-press .22s ease-out both; }
/* 받은 친구 신청 점(11-04 W15 — 친구 칸이 메뉴에서 내 프로필 [친구] 탭으로 옮겨 감): 얼굴 칸 오른쪽 위, 내 프로필 탭 점(10-social .mp-dot)과 같은 빨강 · 숨쉬기 */
#hud .pc-dot { position: absolute; z-index: 2; left: 41px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: #ff5a4a; border: 1.5px solid #fff4e0; box-shadow: 0 0 5px #ff5a4a; animation: pc-dot 1.4s ease-in-out infinite; pointer-events: none; display: none; }
#hud .pc-card.req .pc-dot { display: block; }
@keyframes pc-dot { 50% { transform: scale(1.3); } }
@keyframes pc-where-in { from { opacity: 0; transform: translateY(-3px); } }
@keyframes pc-press { 0% { transform: scale(1); } 27% { transform: scale(.92); } 65% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* ---------------- 머리줄 오른쪽: 골드·다이아 알약(마이 티니 .coin) + 우편·설정·메뉴(.tool) + 그 아래 검법 이름 탭 */
#hud .top-r { right: 16.8px; top: 14.4px; height: 36px; display: flex; align-items: center; }
#hud .coin { position: relative; flex: none; height: 22.5px; box-sizing: border-box; padding: 0 9px 0 22.5px; display: flex; align-items: center; border-radius: 11.25px;
  border: 1.5px solid #c9ac77; background: #fffaf0; box-shadow: inset 0 -1.5px 0 #ead9b4, 0 1.5px 0 #0000004d; }
#hud .coin + .coin { margin-left: 21px; }
#hud .coin img { left: -13.5px; top: 50%; width: 31.5px; height: 31.5px; transform: translateY(-50%); filter: drop-shadow(0 1.5px .75px #0005); }
#hud .coin b { font-size: 11.25px; font-weight: 900; line-height: 1; white-space: nowrap; }
#hud .coin .gold { color: #e0780f; } #hud .coin .diamond { color: #2f7fcf; }
#hud .tools { display: flex; gap: 8px; margin-left: 9px; flex: none; }   /* 단추 간격 41 = 메이플 키우기 오른쪽 위 아이콘 간격 40.6 · 이웃 칸 틈 8(maple-idle-ui-size.md) */
#hud .tool { position: relative; width: 33px; height: 33px; }
#hud .tool img { left: -6.5px; top: -6.5px; width: 46px; height: 46px; }
#hud .tool .pr { left: -4.66px; top: -4.66px; width: 42.32px; height: 42.32px; opacity: 0; }   /* 누름 = scale(.92) 그림(상태는 모양만 바꾼다) */
#hud .tool.on .up { opacity: 0; } #hud .tool.on .pr { opacity: 1; }
  color: #fff; font-size: 10.8px; font-weight: 700; line-height: 20px; text-align: center; white-space: nowrap; }
#hud .hair-tab { right: 16.8px; top: 80.9px; width: 96px; height: 22px; box-sizing: border-box; border-radius: 11px; background: rgba(6,7,10,.45); border: 1px solid rgba(232,238,246,.345);
  color: #fff; font-size: 10.8px; font-weight: 700; line-height: 20px; text-align: center; white-space: nowrap; }   /* 검법 탭 바로 아래(4px 틈) — 개발 서버에서만 */

/* ---------------- 체력 바(EFZ 화면 아래 가운데 캡슐, 가로 = clamp(무대 가로 × .24, 192, 240) — 게임이 글루 값으로 넓힌다)
   2026-10-24 사용자 "체력이랑 경험치바 디자인이 너무 플랫하고 구리거든 인기 모바일게임 레퍼런스조사해서 퀄리티좀 상승 · 눈에 잘 안띔":
   흥행작 HUD 캡처(메이플스토리 PC · 메이플스토리M 2016 · 메이플 키우기 · 리니지W · 나이트 크로우 · 오딘 · 버섯커 키우기 — .local/tmp/hudbuff/ref, git 밖) 공통 =
   바는 두껍지 않고 테 · 홈 · 위아래 밝기 차이 · 채움 끝 빛으로 바탕과 떨어진다. 중세라 메이플M(2016) · 버섯커 결 금선 테:
   테 = 검은 1px + 금 1px(#c9a24a) + 검은 1px(바깥 상자 그림자 — 안쪽 크기 · 트레일 자리는 그대로) · 홈 = 짙은 적흑 + 위 안쪽 그림자 ·
   채움 = 불투명 붉은 세로 4단(위 1~2px 밝은 띠 · 아래 어두움, 메이플 PC #faa0da/#df3e72 · 오딘 #dc0002/#ab0500 결) + 끝 빛(리니지W) ·
   저체력(30% 아래) = 테가 붉게 맥박(1047 ms, ui-juice 등급 빛 주기). 숫자 = 가운데 흰 글자 + 검은 외곽선(공통). */
#hud .hp { left: 304px; top: 398px; width: 192px; height: 12px; }
#hud .hp-bg { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(#0d0507, #26100f 55%, #1c0b0c);
  box-shadow: inset 0 1.5px 2px #000, 0 0 0 1px #140a04, 0 0 0 2px #c9a24a, 0 0 0 3px #120a05, 0 2px 5px 3px rgba(0, 0, 0, .45); }
#hud .hp.low .hp-bg { animation: hp-low 1.05s ease-in-out infinite alternate; }
#hud .hp-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 6px; overflow: hidden; isolation: isolate;
  background: linear-gradient(#ff9a9a, #ee4152 22%, #c8213a 60%, #86101f); }   /* 가만히 있을 때(10-24 사용자 "가만이있을때도 체력바 연출"): 안쪽 옅은 빗금 빛이 오른쪽으로 흐름(물약이 차 있는 결) + 아래 빛 쓸기 */
/* 11-10 huntfix-1110: 빗금 흐름은 background-position(주 스레드 스타일 다시 계산 매 프레임) 대신 한 주기(40px) 넓은 빗금 층(.hp-flow)을 transform 으로 민다(합성 스레드).
   같은 빗금(115deg · 40px 주기 · 같은 밝기) · 같은 속도(2.6초에 40px) · 같은 겹침 차례(채움 바탕 → 빗금 → 빛 쓸기 → 윤 → 끝 빛: isolation + z-index -1) */
#hud .hp-flow { position: absolute; left: -40px; top: 0; bottom: 0; width: calc(100% + 40px); z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0) 0 14px, rgba(255, 255, 255, .09) 18px 24px, rgba(255, 255, 255, 0) 28px 40px) 0 0 / 40px 100%;
  animation: hp-flow 2.6s linear infinite; }
#hud .hp-fill::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(90deg, rgba(255, 240, 200, 0), rgba(255, 240, 200, .75)); }   /* 채움 끝 빛(리니지W HP 끝 빛 점 결) */
#hud .hp-fill::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34), transparent); animation: hp-sheen 3.6s ease-in-out 1.5s infinite; }   /* 가끔 지나가는 빛(10-24 더 밝게 .22 → .34, 4.2 → 3.6 s) */
#hud .hp-trail { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 6px; background: linear-gradient(#fff6dc, #ffd08c 60%, #e09a50); }   /* 트레일: 채움 끝(둥근 끝 6px 밑으로 들어가 틈 없이)부터 지난 체력까지 — 호스트가 left·width 를 준다 */
#hud .hp-shine { position: absolute; left: 3px; right: 3px; top: 1px; height: 3.5px; border-radius: 2px; background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .08)); }
/* 10% 눈금은 걷음(10-24 사용자 "체력바 중간에 검은색 격자 칸막이 지워줘 안이쁨"). ::after = 피격 · 회복 때 테 둘레 번쩍(아래) */
#hud .hp::after { content: ""; position: absolute; inset: -3px; border-radius: 8px; pointer-events: none; opacity: 0; }
/* 피격 · 회복(10-24 사용자 "체력피해를입는다거나 회복할떄 연출", host 01 frame 이 hit · big · heal 을 다시 건다):
   피격 = 바가 짧게 흔들림(큰 피해 = 깎인 양 8% 이상이면 더 세고 길게) + 채움 흰 번쩍 + 테 둘레 붉은 빛 — 트레일(.hp-trail)이 깎인 양을 잠깐 남김.
   회복 = 채움이 밝아졌다 돌아옴 + 빛 한 번 쓸기 + 새로 찬 칸(.hp-gain)이 연두빛으로 떴다 사라짐 + 테 둘레 연두 빛 */
#hud .hp.hit { animation: hp-shake .26s ease-out; }
#hud .hp.hit.big { animation: hp-shake-big .42s ease-out; }
#hud .hp.hit .hp-fill { animation: hp-hit-flash .24s ease-out; }
#hud .hp.hit::after { box-shadow: 0 0 0 2px rgba(255, 96, 70, .95), 0 0 10px 3px rgba(255, 50, 30, .7); animation: hp-ring .34s ease-out; }
#hud .hp.hit.big::after { animation-duration: .5s; }
#hud .hp.heal .hp-fill { animation: hp-heal-glow .6s ease-out; }
#hud .hp.heal .hp-fill::before { animation: hp-sheen-once .55s ease-out; }
#hud .hp.heal::after { box-shadow: 0 0 0 2px rgba(170, 255, 140, .9), 0 0 10px 3px rgba(120, 255, 110, .55); animation: hp-ring .6s ease-out; }
#hud .hp-gain { position: absolute; top: 0; bottom: 0; width: 0; border-radius: 6px; pointer-events: none; opacity: 0;
  background: linear-gradient(#f6ffe6, #b6ff9a 55%, #6fd85a); box-shadow: 0 0 6px 1px rgba(170, 255, 140, .8); }
#hud .hp-gain.on { animation: hp-gain .7s ease-out; }
@keyframes hp-flow { to { transform: translateX(40px); } }
@keyframes hp-shake { 0% { transform: translate(0, 0); } 20% { transform: translate(-2px, 1px); } 45% { transform: translate(2px, -1px); } 70% { transform: translate(-1px, 0); } 100% { transform: translate(0, 0); } }
@keyframes hp-shake-big { 0% { transform: translate(0, 0); } 12% { transform: translate(-4px, 1.5px); } 28% { transform: translate(4px, -1.5px); } 44% { transform: translate(-3px, 1px); } 62% { transform: translate(2px, 0); } 80% { transform: translate(-1px, 0); } 100% { transform: translate(0, 0); } }
@keyframes hp-hit-flash { 0% { filter: brightness(2.4) saturate(.25); } 100% { filter: none; } }
@keyframes hp-heal-glow { 0% { filter: brightness(1.7) saturate(1.2); } 100% { filter: none; } }
@keyframes hp-ring { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hp-gain { 0% { opacity: .95; } 100% { opacity: 0; } }
@keyframes hp-sheen-once { 0% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(320%) skewX(-20deg); } }
#hud .hp-text { position: absolute; left: 0; right: 0; top: 0; height: 12px; z-index: 1; line-height: 12.5px; text-align: center; font-size: 8.6px; font-weight: 800; color: #fff;   /* 10-24 사용자 "체력 숫자 글씨가 너무 큼 1.25배 줄여": 10.8 → 8.6 */
  text-shadow: 1.5px 0 #000c, -1.5px 0 #000c, 0 1.5px #000c, 0 -1.5px #000c, 1.1px 1.1px #000c, -1.1px 1.1px #000c, 1.1px -1.1px #000c, -1.1px -1.1px #000c; }
@keyframes hp-sheen { 0% { transform: translateX(-120%) skewX(-20deg); } 40%, 100% { transform: translateX(320%) skewX(-20deg); } }
@keyframes hp-low { to { box-shadow: inset 0 1.5px 2px #000, 0 0 0 1px #140a04, 0 0 0 2px #ff5a4a, 0 0 0 3px #120a05, 0 0 9px 4px rgba(255, 50, 40, .55); } }

/* 경험치 바 · 레벨(2026-10-18 사용자 "체력바 밑에 경험치 바, 체력바·경험치바 옆에 레벨"): 체력 바와 같은 가로·자리(호스트가 left·width 를 같이 맞춤) 바로 밑, 높이 7.
   10-24 같은 금선 테(한 단 얇게: 검은 1px + 금 1px) · 테끼리 붙지 않게 체력 바 아래 6px(옛 3px) · 채움 = 연두(메이플 PC #b0ca05 · 위 #ddf269, 오딘 #8ec301 — 흥행작 EXP 공통색) + 끝 흰 빛(눈금은 체력 바와 같이 걷음).
   레벨 = 두 바 왼쪽(바 왼끝 − 6px 에 오른쪽 맞춤) 금선 테 짙은 판(메이플M 금테 Lv 배지 · 리니지W 메달 결): 작은 금 "Lv" + 큰 흰 숫자, 두 바를 다 덮는 높이. 오르면 톡 튐 · 경험치 채움은 흰빛 번쩍 */
#hud .xp { left: 304px; top: 416px; width: 192px; height: 7px; }
#hud .xp-bg { position: absolute; inset: 0; border-radius: 3.5px; background: linear-gradient(#060904, #121a0c);
  box-shadow: inset 0 1px 1.5px #000, 0 0 0 1px #140a04, 0 0 0 2px rgba(201, 162, 74, .9), 0 2px 4px 2px rgba(0, 0, 0, .4); }
#hud .xp-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 3.5px; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) calc(100% - 5px), rgba(255, 255, 230, .7)), linear-gradient(#e6f56a, #b0ca05 45%, #6f8a02); }
#hud .xp-shine { position: absolute; left: 1px; right: 1px; top: .5px; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .35); }
#hud .xp.up .xp-fill { animation: xp-flash .5s ease-out; }
#hud .xp-text { position: absolute; left: 0; right: 0; top: -1px; height: 9px; z-index: 1; line-height: 9px; text-align: center; font-size: 7.5px; font-weight: 800; color: #fffbe6;
  text-shadow: 1px 0 #000d, -1px 0 #000d, 0 1px #000d, 0 -1px #000d; }
#hud .lvl { top: 396px; height: 28px; box-sizing: border-box; padding: 0 7px 0 6px; display: flex; align-items: center; gap: 2px; white-space: nowrap; transform-origin: 100% 50%;
  border-radius: 6px; background: linear-gradient(#3a2a18, #170e07); box-shadow: inset 0 1px 0 rgba(255, 230, 170, .25), 0 0 0 1px #120a05, 0 0 0 2px #c9a24a, 0 0 0 3px #120a05, 0 2px 5px 3px rgba(0, 0, 0, .45);
  text-shadow: 1px 0 #000, -1px 0 #000, 0 1px #000, 0 -1px #000, 0 1.5px 1px #000; }
#hud .lvl b { font-size: 9px; font-weight: 900; line-height: 1; color: #ffd76a; margin-top: 3px; }
#hud .lvl .lvl-n { font-size: 17px; font-weight: 900; line-height: 1; background: linear-gradient(#ffffff, #fff1c4 55%, #f3c867); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(1px 0 0 #000) drop-shadow(-1px 0 0 #000) drop-shadow(0 1px 0 #000) drop-shadow(0 -1px 0 #000); text-shadow: none; }
#hud .lvl.up { animation: lvl-pop .6s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes lvl-pop { 0% { transform: scale(1); } 35% { transform: scale(1.3); filter: brightness(1.6); } 100% { transform: scale(1); } }
@keyframes xp-flash { 0% { filter: brightness(2.2); } 100% { filter: none; } }

/* ---------------- 조작(EFZ scr_hud_ctrl_*, 판·아이콘·호 그림 = ui/art). 칸 = 누르는 원(지름 2r), 판 그림은 그림자만큼 10 바깥 */
#hud .pad { width: 176px; height: 176px; }
#hud .pad > img, #hud .btn > img.p { left: -10px; top: -10px; }
#hud .joy { left: 62px; top: 244px; }   /* 자리·크기는 설정 조작 탭 버튼 배치(controls applyControls)가 덮는다 — 누름 원은 화면 사각형(circle)이라 같이 움직인다 */
#hud .joy > img { width: 196px; height: 196px; }
#hud .joy .run { left: -7px; top: -7px; width: 190px; height: 190px; }
#hud .joy .p-on, #hud .btn .p-on { opacity: 0; }
#hud .joy.on .p-on, #hud .btn.on .p-on { opacity: 1; }
#hud .joy.on .p-off, #hud .btn.on .p-off { opacity: 0; }
#hud .btn { width: 130px; height: 130px; }
#hud .btn > img.p { width: 150px; height: 150px; }
#hud .btn .i { opacity: .39; }          /* 아이콘 (눌림 .96 : .78) × .5 */
#hud .btn.on .i { opacity: .48; }
#hud .b-atk { right: 45px; top: 295px; }
#hud .b-atk .i { left: 20px; top: 20px; width: 90px; height: 90px; }
#hud .b-sm { width: 65px; height: 65px; }
#hud .b-sm > img.p { width: 85px; height: 85px; }
#hud .b-sm .i { left: 5.667px; top: 5.667px; width: 53.667px; height: 53.667px; }
#hud .b-jump { right: 174.5px; top: 271.5px; }
#hud .b-roll { right: 87.5px; top: 215.5px; }
#hud .b-hand { right: 188px; top: 338px; width: 72px; height: 72px; }
#hud .b-hand > img.p { width: 92px; height: 92px; }
#hud .b-hand .i { left: 7.167px; top: 7.167px; width: 57.667px; height: 57.667px; }
#hud .b-hand .p-idle { opacity: 0; }
#hud .b-hand.off .p-idle { opacity: 1; }
#hud .b-hand.off .p-off { opacity: 0; }
#hud .b-hand.off .i { opacity: .0858; }   /* 대상이 없으면 숨기지 않고 알파 .22(EFZ UM:5799-5800) */

/* ---------------- 전체 막: 부활 기다림(검은 .65 + 남은 초) · 피격 붉은 가장자리(비네트 — 불투명도 · 안쪽 빈 원 --hv 는 게임이 준다, hud host hurtFx) */
#hud .respawn { left: 0; right: 0; top: 0; height: var(--hh, 450px); background: rgba(0,0,0,.65); }
#hud .respawn b { position: absolute; left: 0; right: 0; top: calc(200px + var(--dy, 0px) / 2); height: 50px; line-height: 50px; text-align: center; color: #fff; font-size: 40px; font-weight: 900; }   /* 남은 초 = 화면 가운데(채움 모드 무대 +dy/2, uifit2-1110) */
#hud .flash { --hv: 50%; left: 0; right: 0; top: 0; height: var(--hh, 450px); opacity: .5;
  background: radial-gradient(ellipse 72% 78% at 50% 50%, transparent var(--hv), rgba(150, 0, 0, .6) calc(var(--hv) + 20%), rgba(110, 0, 0, .95) calc(var(--hv) + 42%)); }


/* ---------------- 판별 HUD(#hud[data-field] — host fieldMode · battle.hudField, 2026-10-28 사용자 "다른사람 섬이나 내 섬에 있을때는 왼쪽하단이랑 오른쪽하단에있는 조이스틱만 있는거야
   스킬버튼 안보이고 자동사냥 버튼도없음 체력바나 레벨 이런것도 없고 / 통통초원섬같은 사냥터에 오면 기본적으로 자동사냥 활성화가 되는거고, 이동버튼이나 우측 공격 점프 상호작용 버튼 사라지고
   스킬버튼만 남는데 스킬 버튼도 공격버튼쪽에다가 잘 배치해줘 모바일게임들 액션게임들 보면 … 스킬버튼은 잘 쓰고 있는지, 쿨타임만 볼 수 있으면 되잖아 체력이랑 레벨 경험치바 이런건 남겨줘").
   isle(내 섬 · 남의 섬 · 하늘배) = 조이스틱 + 점프 · 상호작용만(같은 날 2차 "섬에서는 공격버튼 제거해주고 상호작용 버튼이랑 점프 버튼만 있으면 될거같아"):
     공격 · 스킬 · 버프 칸 · 걸린 버프 줄 · 변신 · 물약 · 자동 단추 · AUTO 띠 · 체력 · 경험치 · 레벨을 숨긴다.
     자리(같은 날 3차 "조이스틱 버튼들 … 화면크기비율에따라 이상한거같음 인기있는 모바일게임 참고해서 자연스럽게"): 옛 판은 공격 단추만 숨겨 점프 · 상호작용이 빈 모서리 옆
     가운데에 떠 있었다 → 원신 · 디아블로 이모탈 · 리니지W 공통 = 왼쪽 아래 조이스틱(화면 높이 30% 안팎, 가운데 = 왼쪽 · 아래에서 높이의 27% 안팎) +
     오른쪽 아래 모서리에 가장 자주 누르는 큰 단추 하나 + 그 왼쪽 위 호에 다음 단추:
       조이스틱 = 판 176 × .82 = 144(32%) · 가운데 왼쪽 124 · 위 328(아래 122) / 점프 = 모서리 큰 단추 65 × 1.3 = 85 · 가운데 오른쪽 88 · 위 356 /
       상호작용 72 = 점프에서 145° · 100(가운데 오른쪽 170 · 위 299). 자리는 모두 가장자리 기준이라 화면비가 바뀌어도 같은 손자리.
     조작 탭 [버튼 위치 · 크기 조정](controls 10-ctl-edit)이 이 셋을 고친다(인라인 left · top · scale 이 이 기본값을 덮는다 — 섬 판만).
   hunt(하늘섬 사냥터 — 자동사냥 늘 켬, autohunt 58k) = 조이스틱 · 점프 · 상호작용 · 자동 단추를 숨기고(자동이 늘 켜져 있어 끌 단추를 두지 않는다 — 꺼지면 걸을 조작이 없다),
   오른쪽 아래를 액션 모바일 게임 결로 모은다(디아블로 이모탈 · 와일드 리프트 · 리니지2 레볼루션 공통 = 모서리 큰 공격 단추 + 둘레 호 스킬):
     모서리 C(오른쪽 106 · 위 356) = 공격(기본 콤보) 단추 130 × .65 = 84.5(섬 판 모서리 점프 85 와 같은 크기 — 일반 판과 같은 판 그림, 무공에 스킬이 없어도 손으로 친다).
       (11-06 판은 AUTO 켬에도 보였다 → 11-21 형창님 "공격버튼도 수동전투일때만": 이 호 배치 · 공격 단추는 AUTO 끔(수동)만, AUTO 켬은 아래 두 줄 판.)
       AUTO 단추(autohunt 58k, 가운데 오른쪽 34 · 위 368) 와 7 px 띄우려고 옛 모서리(100, 358)보다 6 왼쪽 · 2 위.
     안쪽 호 반지름 78 = 스킬 52 를 220° · 175° · 130° · 85° · 40°(왼쪽 아래 → 위 → 오른쪽 위, 1단계가 엄지 왼쪽 · 칸 사이 8) — 스킬 수가 몇이든 같은 자리(공격이 모서리를 쥔다) ·
     바깥 호 반지름 136 = 물약 46(192° — 스킬 1 바로 왼쪽, 아래 여백 43) → 버프 44(168° · 146° · 124°) → 변신(65 × .8 = 52 — 마지막 버프에서 26°, 버프 0칸이면 168°)을 이어 붙인다
     (버프 수는 #hud[data-buffs], askill 10d). 각도 = 수학 각(0° 오른쪽 · 90° 위), 자리 = 가운데 − 반 폭. 겹침 검사 = features/hud/hunt_layout.test.mjs.
   숨은 칸은 누를 수 없다(host circle — 크기 0 = 먼 자리). 조작 편집 화면이 열리면 섬 판으로 보인다(조이스틱 · 점프 · 상호작용만 — 스킬 칸 GPU 캔버스를 깨우지 않는다). */
/* 섬 = 전투 HUD 를 숨기되 왼쪽 위 버프 줄(.bf-row — 음식 · 변신)은 남긴다(음식은 섬 요리솥에서 먹는다). */
#hud[data-field="isle"] .joy { left: 36px; top: 240px; transform: scale(.82); }
#hud[data-field="isle"] .b-jump { right: 55.5px; top: 323.5px; transform: scale(1.3); }
#hud[data-field="isle"] .b-hand { right: 134px; top: 263px; }
#hud[data-field="isle"] .b-atk, #hud[data-field="isle"] .hp, #hud[data-field="isle"] .xp, #hud[data-field="isle"] .lvl, #hud[data-field="isle"] .sk-bar,
#hud[data-field="isle"] .b-roll, #hud[data-field="isle"] .pq-btn, #hud[data-field="isle"] .ah-band, #hud[data-field="isle"] .gf-slot-btn.h-autohunt,
#hud[data-field="hunt"] .joy, #hud[data-field="hunt"] .ctl, #hud[data-field="hunt"] .b-jump, #hud[data-field="hunt"] .b-hand,
#hud[data-field="hunt"] .gf-slot-btn.h-autohunt { display: none; }
/* 사냥터 판 자동 끔(AUTO 단추 = autohunt 58k .ah-btn, #hud[data-ah] 도 그곳이 쓴다) = 조이스틱을 섬 판 자리로 꺼내 손으로 걷고, 공격은 모서리 공격 단추 + 스킬 칸 */
#hud[data-field="hunt"][data-ah="off"] .joy { display: block; left: 36px; top: 240px; transform: scale(.82); }
#hud[data-field="hunt"][data-ah="off"] .ctl { display: block; }   /* 조이스틱 손잡이 · 미는 호 틀 */
#hud[data-field="hunt"] .b-atk { right: 41px; top: 291px; transform: scale(.65); }   /* 가운데 C(106, 356) — 누르는 원(host circle)은 배율 뒤 사각형, 조준 호는 ctlAtk(controls applyControls) */
#hud[data-field="hunt"] .sk-btn.s0 { right: 139.8px; top: 380.1px; }   /* 220° */
#hud[data-field="hunt"] .sk-btn.s1 { right: 157.7px; top: 323.2px; }   /* 175° */
#hud[data-field="hunt"] .sk-btn.s2 { right: 130.1px; top: 270.3px; }   /* 130° */
#hud[data-field="hunt"] .sk-btn.s3 { right: 73.2px; top: 252.3px; }    /* 85° */
#hud[data-field="hunt"] .sk-btn.s4 { right: 20.3px; top: 279.9px; }    /* 40° */
#hud[data-field="hunt"] .sk-btn.sk-buff.b0 { right: 217px; top: 305.7px; }
#hud[data-field="hunt"] .sk-btn.sk-buff.b1 { right: 196.8px; top: 258px; }
#hud[data-field="hunt"] .sk-btn.sk-buff.b2 { right: 160.1px; top: 221.3px; }
#hud[data-field="hunt"] .b-roll { left: auto !important; right: 180.7px !important; top: 239.8px !important; transform: scale(.8) !important; }   /* 버프 1칸(142°) — 인라인보다 앞선다 */
#hud[data-field="hunt"][data-buffs="0"] .b-roll { right: 206.5px !important; top: 295.2px !important; }   /* 168° */
#hud[data-field="hunt"][data-buffs="2"] .b-roll { right: 141.5px !important; top: 205.7px !important; }   /* 120° */
#hud[data-field="hunt"][data-buffs="3"] .b-roll { right: 92.4px !important; top: 188.8px !important; }    /* 98° */
#hud[data-field="hunt"] .pq-btn { zoom: var(--u, 1); right: 216px; top: 361.3px; }   /* 물약 칸은 #hud 바로 아래(potion.js — 무대 배율 .hud-in 밖, 화면 px)라 무대 배율을 따로 걸어 GUI 자리에 맞춘다 */
#hud[data-field="hunt"] .sk-gl { top: 200px; width: 290px; height: 250px; }   /* 테 빛 캔버스(askill 10e — 자리 · 크기를 CSS 에서 잰다) = 묶음 + 1.5배 고리 */
/* 사냥터 판 AUTO 켬 = 두 줄(2026-11-21 형창님 "자동전투일때 우측하단에 스킬들이 … 원형을 그리면서 배치 안 되어 있잖아, 자동전투일땐 일렬로 2줄 정리 … 인기모바일게임 참고 /
   수동전투일때만 지금처럼 · 공격버튼도 수동전투일때만 필요하니까"). 예전(10-28 · 11-06)엔 AUTO 켬에도 공격 단추를 두고 스킬을 그 둘레 호에 뒀다 — 지금은 AUTO 끔(수동)만 위 호 + 공격 단추.
   참고 = 리니지M · 오딘 · 나이트 크로우 · 메이플 키우기 자동 전투 HUD 공통: 오른쪽 아래 모서리에 스킬 칸을 가로 한 줄로 모으고, 그 위 줄에 물약 · 버프 · 변신, 자동 단추는 묶음 위 모서리.
     아래 줄(위 390 · 높이 52 — 아래 여백 8) = 스킬 52 를 오른쪽 12 부터 칸 사이 6 으로 오른쪽 정렬(스킬 수 .sk-bar[data-n] 만큼, 1단계가 왼쪽 — 읽는 순서 그대로) ·
     위 줄(위 332 · 가운데 358) = 오른쪽부터 변신 52(65 × .8) → 버프 44(b0 · b1 · b2) → 물약 46(마지막 버프 왼쪽, #hud[data-buffs]) ·
     AUTO 단추 44(autohunt 58k .ah-btn) = 묶음 위 오른쪽 모서리(오른쪽 12 · 위 280 — 위 줄과 8 띄움). 공격 단추 · 조준 호는 숨긴다(자동이 친다).
   가장 왼쪽 칸 = 화면 x 504(800 기준) — 가운데 체력 · 경험치 막대(304 ~ 496)와 겹치지 않는다. 겹침 검사 = features/hud/hunt_layout.test.mjs */
#hud[data-field="hunt"][data-ah="on"] .b-atk { display: none; }
#hud[data-field="hunt"][data-ah="on"] .ah-btn { top: 280px; }
#hud[data-field="hunt"][data-ah="on"] .sk-bar[data-n="1"] .sk-btn.s0 { right: 12px; top: 390px; }
#hud[data-field="hunt"][data-ah="on"] .sk-bar[data-n="2"] .sk-btn.s0 { right: 70px; top: 390px; }
#hud[data-field="hunt"][data-ah="on"] .sk-bar[data-n="2"] .sk-btn.s1 { right: 12px; top: 390px; }
#hud[data-field="hunt"][data-ah="on"] .sk-bar[data-n="3"] .sk-btn.s0 { right: 128px; top: 390px; }
#hud[data-field="hunt"][data-ah="on"] .sk-bar[data-n="3"] .sk-btn.s1 { right: 70px; top: 390px; }
#hud[data-field="hunt"][data-ah="on"] .sk-bar[data-n="3"] .sk-btn.s2 { right: 12px; top: 390px; }
#hud[data-field="hunt"][data-ah="on"] .sk-bar[data-n="4"] .sk-btn.s0 { right: 186px; top: 390px; }
#hud[data-field="hunt"][data-ah="on"] .sk-bar[data-n="4"] .sk-btn.s1 { right: 128px; top: 390px; }
#hud[data-field="hunt"][data-ah="on"] .sk-bar[data-n="4"] .sk-btn.s2 { right: 70px; top: 390px; }
#hud[data-field="hunt"][data-ah="on"] .sk-bar[data-n="4"] .sk-btn.s3 { right: 12px; top: 390px; }
#hud[data-field="hunt"][data-ah="on"] .sk-bar[data-n="5"] .sk-btn.s0 { right: 244px; top: 390px; }
#hud[data-field="hunt"][data-ah="on"] .sk-bar[data-n="5"] .sk-btn.s1 { right: 186px; top: 390px; }
#hud[data-field="hunt"][data-ah="on"] .sk-bar[data-n="5"] .sk-btn.s2 { right: 128px; top: 390px; }
#hud[data-field="hunt"][data-ah="on"] .sk-bar[data-n="5"] .sk-btn.s3 { right: 70px; top: 390px; }
#hud[data-field="hunt"][data-ah="on"] .sk-bar[data-n="5"] .sk-btn.s4 { right: 12px; top: 390px; }
#hud[data-field="hunt"][data-ah="on"] .sk-btn.sk-buff.b0 { right: 70px; top: 336px; }
#hud[data-field="hunt"][data-ah="on"] .sk-btn.sk-buff.b1 { right: 120px; top: 336px; }
#hud[data-field="hunt"][data-ah="on"] .sk-btn.sk-buff.b2 { right: 170px; top: 336px; }
#hud[data-field="hunt"][data-ah="on"] .b-roll { right: 5.5px !important; top: 325.5px !important; }   /* 52 칸(65 × .8 — 가운데 기준 배율) = 보이는 자리 오른쪽 12 · 위 332 */
#hud[data-field="hunt"][data-ah="on"][data-buffs="0"] .pq-btn { right: 70px; top: 335px; }
#hud[data-field="hunt"][data-ah="on"] .pq-btn { right: 120px; top: 335px; }
#hud[data-field="hunt"][data-ah="on"][data-buffs="2"] .pq-btn { right: 170px; top: 335px; }
#hud[data-field="hunt"][data-ah="on"][data-buffs="3"] .pq-btn { right: 220px; top: 335px; }
#hud[data-field="hunt"][data-ah="on"] .sk-gl { top: 316px; width: 312px; height: 134px; }   /* 테 빛 캔버스 = 두 줄 묶음 + 둘레 고리 */
/* ---------------- 알림 토스트(b.banner — 조작 칸 저장 등 시스템 알림). 2026-10-18 사용자 "글자만 쓰면 어색" — 가운데 30px 흰 글자 → EFZ 알림 판.
   틀 = EFZ obj_npc_quest_toast(Draw_64): 가운데 위(중심 y 48 · GUI 높이 450 = 이 HUD 무대), 폭 ≤ min(430, 화면 폭 − 20), 왼쪽 표식 + 오른쪽 글(font_basic),
   그림자(오른쪽 2 · 아래 5 · α .28). 판 = 작은 팝업과 같은 어두운 둥근 판(windows-css 18-popup-dark: #25292b → #1b1e20 · 1px 밝은 테) + 위아래 가는 금선(#c8aa6e, 아이템 토스트 결).
   2026-10-24 사용자 "자동사냥 ON 토스트 나인패치 전에 제거해달라고 했던 건데 왜 여전히 있는지" — 10-23 크림 나인패치 교체(c7829b03d)가 창(panel.webp)만 바꾸고
   이 HUD 토스트의 양피지 칸(assets/hud/slot.webp)을 빠뜨렸다 → border-image 걷고 판 · 글자색을 어두운 판 값으로.
   한 줄 시스템 알림이라 높이는 진행 막대 줄을 뺀 40. 글 14px Noto(EFZ font_basic 12pt 장체와 같은 폭). 움직임(내려옴 · 머묾 · 사라짐 · 갱신 팝)은 host.js toast() */
#hud .banner { left: 50%; top: 48px; z-index: 6; height: 40px; box-sizing: border-box; min-width: 180px; max-width: min(430px, calc(var(--hw, 800px) - 20px));
  display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 18px 0 11px;
  border: 0; border-image: none; border-radius: 10px; background: linear-gradient(rgba(37, 41, 43, .94), rgba(27, 30, 32, .94));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 2px 5px 6px rgba(0, 0, 0, .35);
  transform: translate(-50%, -50%); transform-origin: 50% 50%; will-change: transform, opacity; }
#hud .banner img { position: static; flex: none; width: 26px; height: 26px; }
#hud .banner .banner-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #f2f0e7; font-size: 14px; font-weight: 800; line-height: 18px; }
#hud .banner::before, #hud .banner::after { content: ""; position: absolute; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, #c8aa6e, transparent); opacity: .7; pointer-events: none; }
#hud .banner::before { top: 0; } #hud .banner::after { bottom: 0; }
/* ---------------- 월드 고정 글자(기준 화면 EFZ px × .9). 기준점(data-world-pivot)이 투영한 점에 온다 */
#hud .w-name { font-size: 12px; }
/* 닉네임 변경 성공(10-20): 내 이름표 fresh(2.4초, host drawPlayerName) = 금빛 번쩍 → 식으며 흰 글자, 뒤에 빛 번쩍(::after 십자 반짝 + 둥근 빛) · 둘레로 빛 점 8개 터짐(::before).
   크기 톡 튐은 호스트 pop(기준점 아래 가운데). isolation = 빛이 글자 뒤(z-index −1)에 머문다 */
#hud .w-name.fresh { isolation: isolate; animation: nick-gold 2.4s ease-out both; }
#hud .w-name.fresh::before, #hud .w-name.fresh::after { content: ''; position: absolute; left: 50%; top: 50%; z-index: -1; pointer-events: none; }
#hud .w-name.fresh::before { width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; animation: nick-burst .9s .05s ease-out both; }
#hud .w-name.fresh::after { width: 64px; height: 64px; margin: -32px 0 0 -32px; animation: nick-flash .6s ease-out both;
  background: linear-gradient(90deg, transparent 8%, rgba(255,250,220,.95) 50%, transparent 92%) center / 100% 2px no-repeat,
    linear-gradient(0deg, transparent 20%, rgba(255,250,220,.9) 50%, transparent 80%) center / 2px 70% no-repeat,
    radial-gradient(closest-side, rgba(255,244,190,.9), rgba(255,201,60,.45) 45%, rgba(255,201,60,0)); }
@keyframes nick-gold { 0% { color: #fff; filter: brightness(2) drop-shadow(0 0 5px #fff1a8); } 12% { color: #ffe27a; filter: brightness(1.35) drop-shadow(0 0 6px #ffc93c); }
  70% { color: #ffe27a; filter: drop-shadow(0 0 3px rgba(255,201,60,.6)); } 100% { color: #fff; filter: drop-shadow(0 0 0 rgba(255,201,60,0)); } }
@keyframes nick-flash { 0% { opacity: 0; transform: scale(.3) rotate(0deg); } 18% { opacity: 1; } 100% { opacity: 0; transform: scale(1.7) rotate(25deg); } }
@keyframes nick-burst {
  0% { opacity: 1; box-shadow: 0 0 0 2px #fff6c8, 0 0 0 2px #ffd36b, 0 0 0 2px #fff6c8, 0 0 0 2px #ffd36b, 0 0 0 2px #fff6c8, 0 0 0 2px #ffd36b, 0 0 0 2px #fff6c8, 0 0 0 2px #ffd36b; }
  100% { opacity: 0; box-shadow: 48px 0 0 0 #fff6c8, 34px -14px 0 0 #ffd36b, 0 -20px 0 0 #fff6c8, -34px -14px 0 0 #ffd36b, -48px 0 0 0 #fff6c8, -34px 14px 0 0 #ffd36b, 0 20px 0 0 #fff6c8, 34px 14px 0 0 #ffd36b; } }
#hud .w-npc-title { font-size: 12px; color: #ffd36b; }
#hud .w-ebar { width: 68.4px; height: 7.2px; }
#hud .w-ebar i { position: absolute; left: 0; top: 0; bottom: 0; box-sizing: border-box; border: 1.8px solid transparent; }
#hud .w-ebar .bg { right: 0; opacity: .82; border-image: url(ui/art/ebar-bg.png) 16 fill / 1.8px stretch; }
#hud .w-ebar .fill { width: 100%; border-image: url(ui/art/ebar-fill.png) 16 fill / 1.8px stretch; }
/* 다른 유저 체력바(2026-10-24 사용자 "다른사람 체력바가 좀 촌스러운데 … 깔끔하고 이쁘게"): 몬스터 그림 막대(ebar) 대신 얇은 둥근 줄.
   결 = 내 HUD 체력 줄(01-hud .hp: 어두운 반투명 바탕 · 빨강 그라데이션 · 크림 트레일 · 위 빛)을 작게 — 도깨비의 세계 "캐릭터 위 이름판 + 작은 HP 줄"(분석 문서 §5).
   44×4(전 ebar 51×7.2) · 테 = 검은 1px 그림자(테 그림 없음) · 맞으면 채움은 바로, 크림 트레일은 .28초 뒤 따라 줄어든다(호스트 look 이 둘 다 같은 폭을 준다) */
#hud .w-pbar { width: 44px; height: 4px; border-radius: 2px; overflow: hidden; background: rgba(8,9,12,.62); box-shadow: 0 0 0 1px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.4); }
#hud .w-pbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 2px; }
#hud .w-pbar .trail { background: rgba(255,236,204,.88); transition: width .45s cubic-bezier(.3,0,.2,1) .28s; }   /* 01-hud .hp-trail 크림 */
#hud .w-pbar .fill { background: linear-gradient(#ff6a58, #d9261b); transition: width 80ms linear; }   /* 01-hud .hp-fill 빨강(불투명) */
#hud .w-pbar .fill::after { content: ''; position: absolute; left: 1px; right: 1px; top: 0; height: 1.3px; border-radius: 1px; background: rgba(255,255,255,.3); }   /* 01-hud .hp-shine 위 빛 */
#hud .w-prompt-big i { position: relative; flex: none; width: 21.6px; height: 21.6px; }
#hud .w-prompt i img { left: -7.8px; top: -7.8px; width: 37.2px; height: 37.2px; }
#hud .w-prompt-big { display: flex; align-items: center; gap: 5.4px; font-size: 19.2px; }
#hud .w-prompt-big i { width: 26.4px; height: 26.4px; }
#hud .w-prompt-big i img { left: -9.533px; top: -9.533px; width: 45.467px; height: 45.467px; }
/* 말풍선(2026-10-18 사용자 "꼬리가 끊어짐 · 말이 길면 세로로 길어져야 · 글씨가 밑으로"): 칸 + 꼬리를 세로로 쌓고(꼬리가 칸 아래 테를 덮는다) 그림자는 둘을 한 덩어리로(drop-shadow).
   글자 = 한 흐름: 찍힌 글자(.typed) 뒤에 남은 글자(.full, 투명)가 이어져 칸 크기·줄바꿈이 처음부터 끝 문장 그대로다. 가로 max-width 를 넘으면 낱말 단위로 줄을 고르게 나눈다.
   Noto Sans KR 은 글자가 줄 상자 가운데보다 조금 아래에 앉아 위 안쪽 여백을 아래보다 조금 작게 준다(실측 위·아래 같은 틈). 기준점 = 꼬리 끝(아래 가운데). */
#hud .w-bubble { display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 1.8px 2.4px rgba(40,30,20,.3)); }
/* 판 = 나인패치(10-18 사용자 "완전 흰색은 뭐고 — 말풍선 나인패치 레퍼런스 참고": ui/art/chat-bubble-box.png 양피지 크림 + 짙은 갈색 2단 테, slice 24 → 화면 9 px,
   채팅 말 칸 · 얼굴 액자와 한 세트 — ui/art/chat-ninepatch.receipt.json). NPC 말풍선 · 채팅 말풍선이 같이 쓴다. 꼬리 = 따로 그린 조각(chat-bubble-tail.png) */
/* 반투명(10-22 사용자 "말풍선 여기에 투명도 적용"): 판(::before) · 꼬리만 .8, 글자는 그대로 진하게. 판은 꼬리가 덮는 아래 테 자리(꼬리 폭 × 2.2)를 잘라 겹쳐 비치지 않게 */
#hud .w-bubble .pill { position: relative; isolation: isolate; display: block; width: max-content; max-width: 140px; box-sizing: border-box; padding: 4.1px 10.5px 4.5px; border: 1px solid transparent;
  color: #5e3d22; font-size: 13.2px; font-weight: 700; line-height: 16.2px; white-space: normal; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; text-align: center; }
#hud .w-bubble .pill::before { content: ''; position: absolute; inset: -1px; z-index: -1; box-sizing: border-box; border: 1px solid transparent; opacity: .8;
  border-image: url(ui/art/chat-bubble-box.png) 24 fill / 9px stretch;
  clip-path: polygon(0 0, 100% 0, 100% 100%, calc(50% + 7.8px) 100%, calc(50% + 7.8px) calc(100% - 2.2px), calc(50% - 7.8px) calc(100% - 2.2px), calc(50% - 7.8px) 100%, 0 100%); }
#hud .w-bubble .full { color: transparent; }
#hud .w-bubble img { position: relative; flex: none; width: 15.6px; height: 9.5px; margin: -2.2px 0 0; opacity: .8; }   /* 꼬리 조각(82x50, 위가 열린 끝) — 판 아래 테를 덮고 끝 = 요소 아래(기준점) */
/* VIP 반지 꾸밈(vipbox-1121 형창님 "반지 코스튬끼면 말풍선이나 이름 테두리 바꾸는거"): 평생 VIP 50만 원 = 명찰 반지 · 150만 원 = 말풍선 반지 · 200만 원 = 빛나는 2단계.
   host look 이 data-vip(n1 · n2 = 이름표 · b1 · b2 = 채팅 말풍선)를 단다 — 내 것은 features/vip 가 바로, 남의 것은 채널 who [7]. 그림 = ui/art/vip(나인패치 194×96 · slice 44, 꼬리 82×50 — vip-ninepatch.receipt.json).
   2단계 빛 = 뒤에 깔린 금빛 그림자의 불투명도만 맥박(합성만 — 매 프레임 다시 칠하지 않음) */
/* 명찰 판(vipname2-1122 — 형창님 11-22 1차 판(매끈한 민트 · 오팔 페인팅)에 "안이쁜데"): 도트 그림 시안 3벌, 판 몸 높이 24 = 12칸(칸 = 2 · 시안 2 의 n2 만 14칸).
   결 = 메이플 명찰 반지(UI NameTag 실제 그림 24개 확인 — 얇은 판 · 1칸 외곽선 · 끝에만 장식 · 색 2~3개), 그림 = Codex 이미지 생성 1배 → features/vip/vipname_plate.py
   (가운데 민 줄 통일 · 위 가운데 장식 떼기 · × 8 최근접 — 화면은 부드럽게 줄여 칸 굵기가 고르다, 장비 아이콘과 같은 방식). 끝 장식은 왼 · 오 조각 안이라 늘여도 안 찌그러진다.
   시안 1 = 짙은 남색 에나멜 + 금 테 · 끝 에메랄드(n1) / 짙은 자두색 + 금 덩굴 · 루비 · 위 다이아(n2), 흰 글자 + 검은 외곽선(다른 이름과 같은 글자)
   시안 2 = 청록 에나멜 + 왼 리본 · 오른 별(n1) / 보라 에나멜 + 금 별 · 위 리본(n2), 흰 글자
   시안 3 = 말풍선 반지(b1 · b2)와 같은 색 도트판: 민트 비취 + 잎 에메랄드(n1) / 연보라 오팔 + 금 날개 · 자수정(n2), 짙은 글자 + 흰 번짐
   고른 시안 = index.html <html data-vn="N"> 한 줄(번호만 바꾸면 머리 위 · 채팅 둘 다 바뀜). 판 수치(--vn-*)는 plate/plates.geo.json 에서 뽑은 값.
   --vip-in = 테 두께(검수 check_vipname_1122 가 판 안쪽을 잰다). 위 가운데 장식 = ::before 따로(늘이지 않음), 닉네임 변경 연출(fresh) 동안은 빛 점 터짐이 ::before 라 장식은 잠깐 쉰다 */
:root { --vn-o: 1.5px 0 #000, -1.5px 0 #000, 0 1.5px #000, 0 -1.5px #000, 1.1px 1.1px #000, -1.1px 1.1px #000, 1.1px -1.1px #000, -1.1px -1.1px #000;
  --vn-glow-ts: 0 0 2px rgba(255, 255, 255, .95), 0 0 1px #fff; }
:root[data-vn="1"] { --vn-n1: url(ui/art/vip/plate/vn1-n1.png) 48 64 48 64 fill / 12px 16px 12px 16px / 0 0 0 0 stretch;
  --vn-n1-pad: 1.5px 20px 0;
  --vn-n1-lh: 20.5px;
  --vn-n1-in: 4px;
  --vn-n1-crest: none; --vn-n1-cw: 0; --vn-n1-ch: 0; --vn-n1-ct: 0; --vn-n1-cx: 0;
  --vn-n1-chat: url(ui/art/vip/plate/vn1-n1.png) 48 64 48 64 fill / 9px 12px 9px 12px / 0 0 0 0 stretch;
  --vn-n1-chat-pad: 1.25px 14px 0;
  --vn-n1-chat-lh: 14.75px;
  --vn-n1-c: #fff;
  --vn-n2: url(ui/art/vip/plate/vn1-n2.png) 80 72 48 72 fill / 20px 18px 12px 18px / 8px 0 0 0 stretch;
  --vn-n2-pad: 0.5px 22px 0;
  --vn-n2-lh: 21.5px;
  --vn-n2-in: 4px;
  --vn-n2-crest: url(ui/art/vip/plate/vn1-n2-crest.png); --vn-n2-cw: 16px; --vn-n2-ch: 10px; --vn-n2-ct: -9px; --vn-n2-cx: -8px;
  --vn-n2-chat: url(ui/art/vip/plate/vn1-n2.png) 80 72 48 72 fill / 15px 13.5px 9px 13.5px / 6px 0 0 0 stretch;
  --vn-n2-chat-pad: 0.5px 15.5px 0;
  --vn-n2-chat-lh: 15.5px;
  --vn-n2-c: #ffe9a6;
  --vn-ts: var(--vn-o); --vn-glow: 0 0 6px 2px rgba(255, 214, 120, .75), 0 0 11px 3px rgba(255, 190, 90, .45); }
:root[data-vn="2"] { --vn-n1: url(ui/art/vip/plate/vn2-n1.png) 56 72 48 96 fill / 14px 18px 12px 24px / 2px 0 0 0 stretch;
  --vn-n1-pad: 0.5px 26px 0;
  --vn-n1-lh: 21.5px;
  --vn-n1-in: 4px;
  --vn-n1-crest: none; --vn-n1-cw: 0; --vn-n1-ch: 0; --vn-n1-ct: 0; --vn-n1-cx: 0;
  --vn-n1-chat: url(ui/art/vip/plate/vn2-n1.png) 56 72 48 96 fill / 10.5px 13.5px 9px 18px / 1.5px 0 0 0 stretch;
  --vn-n1-chat-pad: 0.5px 18.5px 0;
  --vn-n1-chat-lh: 15.5px;
  --vn-n1-c: #fff;
  --vn-n2: url(ui/art/vip/plate/vn2-n2.png) 72 80 56 80 fill / 15.43px 17.14px 12px 17.14px / 3.43px 0 0 0 stretch;
  --vn-n2-pad: 1.36px 19.43px 0;
  --vn-n2-lh: 20.64px;
  --vn-n2-in: 5.14px;
  --vn-n2-crest: url(ui/art/vip/plate/vn2-n2-crest.png); --vn-n2-cw: 18.86px; --vn-n2-ch: 10.29px; --vn-n2-ct: -4.43px; --vn-n2-cx: -10.29px;
  --vn-n2-chat: url(ui/art/vip/plate/vn2-n2.png) 72 80 56 80 fill / 11.57px 12.86px 9px 12.86px / 2.57px 0 0 0 stretch;
  --vn-n2-chat-pad: 1.14px 13.57px 0;
  --vn-n2-chat-lh: 14.86px;
  --vn-n2-c: #fff;
  --vn-ts: var(--vn-o); --vn-glow: 0 0 6px 2px rgba(255, 214, 120, .7), 0 0 11px 3px rgba(170, 120, 255, .6); }
:root[data-vn="3"] { --vn-n1: url(ui/art/vip/plate/vn3-n1.png) 72 64 48 64 fill / 18px 16px 12px 16px / 6px 0 0 0 stretch;
  --vn-n1-pad: 0.5px 16px 0;
  --vn-n1-lh: 21.5px;
  --vn-n1-in: 6px;
  --vn-n1-crest: url(ui/art/vip/plate/vn3-n1-crest.png); --vn-n1-cw: 14px; --vn-n1-ch: 10px; --vn-n1-ct: -7px; --vn-n1-cx: -7px;
  --vn-n1-chat: url(ui/art/vip/plate/vn3-n1.png) 72 64 48 64 fill / 13.5px 12px 9px 12px / 4.5px 0 0 0 stretch;
  --vn-n1-chat-pad: 0.5px 11px 0;
  --vn-n1-chat-lh: 15.5px;
  --vn-n1-c: #1f4d47;
  --vn-n2: url(ui/art/vip/plate/vn3-n2.png) 80 80 48 80 fill / 20px 20px 12px 20px / 8px 0 0 0 stretch;
  --vn-n2-pad: 0.5px 20px 0;
  --vn-n2-lh: 21.5px;
  --vn-n2-in: 6px;
  --vn-n2-crest: url(ui/art/vip/plate/vn3-n2-crest.png); --vn-n2-cw: 20px; --vn-n2-ch: 10px; --vn-n2-ct: -9px; --vn-n2-cx: -10px;
  --vn-n2-chat: url(ui/art/vip/plate/vn3-n2.png) 80 80 48 80 fill / 15px 15px 9px 15px / 6px 0 0 0 stretch;
  --vn-n2-chat-pad: 0.5px 14px 0;
  --vn-n2-chat-lh: 15.5px;
  --vn-n2-c: #4d2a63;
  --vn-ts: var(--vn-glow-ts); --vn-glow: 0 0 6px 2px rgba(255, 214, 120, .8), 0 0 11px 3px rgba(214, 168, 255, .6); }
#hud .w-name[data-vip], #hud .w-net[data-vip] { --vip-in: var(--vn-n1-in); isolation: isolate; padding: var(--vn-n1-pad); line-height: var(--vn-n1-lh); border: 1px solid transparent;
  border-image: var(--vn-n1); color: var(--vn-n1-c); text-shadow: var(--vn-ts); }
#hud .w-name[data-vip="n2"], #hud .w-net[data-vip="n2"] { --vip-in: var(--vn-n2-in); padding: var(--vn-n2-pad); line-height: var(--vn-n2-lh); border-image: var(--vn-n2); color: var(--vn-n2-c); }
#hud .w-name[data-vip]:not(.fresh)::before, #hud .w-net[data-vip]::before { content: ''; position: absolute; left: 50%; top: var(--vn-n1-ct); width: var(--vn-n1-cw); height: var(--vn-n1-ch); margin-left: var(--vn-n1-cx); pointer-events: none;
  background: var(--vn-n1-crest) center / 100% 100% no-repeat; }
#hud .w-name[data-vip="n2"]:not(.fresh)::before, #hud .w-net[data-vip="n2"]::before { top: var(--vn-n2-ct); width: var(--vn-n2-cw); height: var(--vn-n2-ch); margin-left: var(--vn-n2-cx); background-image: var(--vn-n2-crest); }
/* 2단계 빛 = 판 뒤 빛(시안 색)의 불투명도만 맥박 — 판이 각진 도트라 모서리만 조금 둥글게 */
#hud .w-name[data-vip="n2"]:not(.fresh)::after, #hud .w-net[data-vip="n2"]::after { content: ''; position: absolute; inset: 1px 2px; z-index: -1; border-radius: 4px; pointer-events: none;
  box-shadow: var(--vn-glow); opacity: .25; animation: vip-glow 2.2s ease-in-out infinite alternate; }
/* 닉네임 변경 연출: 글자색은 판 글자색 그대로 두고 번쩍 · 금빛만(기본 nick-gold 는 흰 글자로 끝나 밝은 판 위에서 안 읽힌다) */
#hud .w-name.fresh[data-vip] { animation-name: nick-gold-vip; }
@keyframes nick-gold-vip { 0% { filter: brightness(1.6) drop-shadow(0 0 5px #fff1a8); } 12% { filter: brightness(1.2) drop-shadow(0 0 6px #ffc93c); }
  70% { filter: drop-shadow(0 0 3px rgba(255,201,60,.6)); } 100% { filter: drop-shadow(0 0 0 rgba(255,201,60,0)); } }
/* 말풍선 반지(vipfinal-1122 — 형창님 11-22 "1시안으로하자,, 개발해바"): 명찰 시안 1 과 한 세트 도트 판(ui/art/vip/bubble — Codex 도트 1배 → features/vip/vipbubble_plate.py,
   칸 = 2 px 로 명찰과 같은 굵기). b1 = 짙은 남색 + 금 테 · 모서리 에메랄드, b2 = 짙은 자두색 + 금 덩굴 · 위 모서리 루비 + 금빛. 꼬리 = 같은 그림의 열린 끝 조각(판 아래 테를 덮는다).
   글자 = 밝은 색(판 바탕 --vb-fill 대비 측정), 안쪽 여백 = 모서리 장식 폭보다 넓게(여러 줄이어도 장식에 안 닿음). --vb-in = 테 두께(검수가 글자 넘침을 잰다).
   옛 매끈한 판(bubble-vip1 · 2 · tail-vip1 · 2)은 지우지 않고 둔다(쓰지 않음) */
#hud .w-bubble[data-vip] .pill { --vb-in: 4px; --vb-fill: #1f283c; padding: 6px 12px 6px; color: #eef3ff; }
#hud .w-bubble[data-vip] .pill::before { opacity: .96; clip-path: none; border-image: url(ui/art/vip/bubble/b1.png) 48 40 48 40 fill / 12px 10px 12px 10px stretch; }
#hud .w-bubble[data-vip="b2"] .pill { --vb-in: 6px; --vb-fill: #29133c; padding: 8px 15px 8px; color: #fff0c8; }
#hud .w-bubble[data-vip="b2"] .pill::before { border-image: url(ui/art/vip/bubble/b2.png) 72 56 56 56 fill / 18px 14px 14px 14px stretch; }
#hud .w-bubble[data-vip] img { opacity: .96; content: url(ui/art/vip/bubble/b1-tail.png); width: 28px; height: 16px; margin-top: -4px; }
#hud .w-bubble[data-vip="b2"] img { content: url(ui/art/vip/bubble/b2-tail.png); width: 24px; height: 12px; margin-top: -6px; }
#hud .w-bubble[data-vip="b2"] { filter: drop-shadow(0 1.8px 2.4px rgba(40,30,20,.3)) drop-shadow(0 0 4px rgba(255, 206, 110, .45)); }
@keyframes vip-glow { from { opacity: .25; } to { opacity: 1; } }
.gfx-low #hud [data-vip]::after { animation: none !important; opacity: .6; }
#hud .w-dmg { font-size: 14.4px; font-weight: 900; }
#hud .w-dmg.good { color: #ffd36b; }   /* 떨어뜨린 물품 이름(키트 상태 good = 모양만) */
#hud .w-dmg.hurt { color: #ff6b5a; }   /* 받은 피해(주인공이 맞음) — dungeon-idle 받은 피해 색과 같다 */
#hud .w-dmg.small { font-size: 12px; }
#hud .w-dmg.heal { color: #7dffa8; }   /* 물약 회복(features/potion 58q) = 초록 — 11-09 defk-1109 */
#hud .w-dmg.big { font-size: 20px; }   /* 회복량 덤(멤버십 · 시즌 누적 결제 potPct) = 크게 */   /* 능력 지속 피해(포자 장판 틱 등) = 작은 숫자(dungeon-idle 6 → 5) */
#hud .w-inv { font-size: 12px; color: #808080; }
#hud .w-net { font-size: 11px; font-weight: 800; color: #d7f5c8; }   /* 멀티: 다른 유저 이름(발 밑 — 내 이름표와 같은 자리, 10-20 · 옛 캔버스 netLabels 800 11px #d7f5c8) */
/* 이름표 밑 길드(10-19, EFZ 식 문장 + 길드 이름): 줄 높이 고정 13 — guild · guild-net = 내 · 다른 유저 이름(둘 다 발 밑 아래 기준, 10-20) 바로 밑 */
#hud .w-guild { display: flex; align-items: center; gap: 2px; height: 13px; font-size: 10px; font-weight: 800; color: #ffe08a; }
/* 이름표 밑 칭호(10-25, 이름 · 칭호 · 길드 순): 줄 높이 13 = 길드 줄과 같다, 색·크기 = 프로필 창 칭호(windows-css 10-social .pf-title) */
#hud .w-title { height: 13px; line-height: 13px; font-size: 10px; font-weight: 900; color: #e8c979; white-space: nowrap; }   /* 테두리 = 공용 .o 검은 외곽선(빛 그림자로 덮으면 땅 위에서 흐려진다 — sandbox 캡처 10-25) */
#hud .w-guild canvas { position: relative; flex: none; width: 13px; height: 13px; }
#hud .w-knob { width: 65.333px; height: 65.333px; }
#hud .w-knob img { left: 0; top: 0; width: 65.333px; height: 65.333px; }
#hud .w-knob .k-on { opacity: 0; }
#hud .w-knob.on .k-on { opacity: 1; } #hud .w-knob.on .k-off { opacity: 0; }
#hud .w-push { width: 185.333px; height: 185.333px; }
#hud .w-aim { width: 139.333px; height: 139.333px; }
#hud .w-push img, #hud .w-aim img { left: 0; top: 0; width: 100%; height: 100%; }
#hud .w-push img { mix-blend-mode: plus-lighter; }   /* 미는 호 = 더하기 섞기(EFZ scr_hud_ctrl_dial_draw 의 bm_add) — 판 테두리 위에서 빛이 겹쳐 밝아진다(2026-10-18 조이스틱 연출) */

/* ---------------- 첫 화면(title) — 공용 gf_onboard.js(POLISH 2026-09-30). 원작 4작 RoomTitle 구조(EFZ scr_title_screen_draw:
   살아 있는 장면 위 로고 · 시작 · 이름/접속 상태 · 왼쪽 아래 버전). 대표 캐릭터 = 스토어 아이콘·그래픽 이미지와 같은 토순이(master.png 자른 ui/art/title-cast.png).
   로고는 디자인 로고 그림(brand.logo)이 오기 전까지 글자 로고. 첫 실행 조작 안내(help) 막은 없다(2026-10-01 사용자). */
#hud .title-in { position: absolute; left: 0; top: 0; width: var(--hw, 800px); height: var(--hh, 450px); zoom: var(--u, 1); pointer-events: auto; }
#hud .title-in > * { position: absolute; }
#hud .t-shade { left: 0; right: 0; top: 0; height: var(--hh, 450px); background: rgba(8,10,14,.5); }
#hud .t-cast { right: 40px; top: 50px; width: 320px; height: 400px; }
#hud .t-logo { left: 40px; top: 110px; width: 400px; height: 60px; line-height: 60px; text-align: center; font-size: 54px; font-weight: 900; color: #ffe39a; }
#hud .t-start { left: 40px; top: 290px; width: 400px; height: 26px; line-height: 26px; text-align: center; font-size: 22px; font-weight: 800; }
#hud .t-account { left: 40px; top: 328px; width: 400px; height: 18px; line-height: 18px; text-align: center; font-size: 14px; color: #d9e2ec; }
#hud .t-ver { left: 24px; top: 420px; height: 14px; line-height: 14px; font-size: 11px; color: #c9d2dc; }

/* 재화 옆 무료 광고(release-0930 SHOP-ADS, 키트 bm.shop-paid-only: 광고 보상은 상점 밖 그 재화 옆) — 알약 오른쪽 끝 AD 딱지 + 볼 수 있으면 빨간 점. 누름 = 알약(battle.js 머리줄 wallet) */
#hud .coin .ad-mark { position: absolute; right: -8px; bottom: -7px; padding: 0 3px; border-radius: 4px; background: #3f7d2c; color: #fffce7; font-size: 7.5px; font-style: normal; font-weight: 900; line-height: 10px; }
body.gf-no-ads #hud .coin .ad-mark, body.gf-no-ads #hud .coin .dot, body.gf-no-paid #ui .menu-item.m-shop, body.gf-no-paid #ui .shop-dot { display: none; }   /* production 웹: 광고 없음(gf-no-ads → AD 딱지 · 광고 점) · 결제 닫힘(gf-no-paid → 상점 진입 · 상점 점, 서버가 엑솔라를 켜면 풀림 — windows.js adsOn · paid, xsollalive-1120) */
#hud .coin .dot { position: absolute; right: -12px; top: -11px; width: 9px; height: 9px; border-radius: 50%; background: #e2412f; border: 2px solid #fff4e0; }   /* 13 px(10 px 점은 가장자리 번짐만으로 Unity 와 갈린다) */
/* ---------------- 조작 버튼 배치 편집(2026-10-18, EFZ [전체 버튼 조정]): 화면이 어두워지고 버튼마다 금빛 점선 테가 숨쉬듯 빛남 · 이름표 · 아래 판이 미끄러져 올라옴 */
#hud.ctl-editing::before { content: ""; position: absolute; inset: 0; background: rgba(8, 12, 18, .5); pointer-events: none; animation: ctl-dim .25s ease-out both; }
@keyframes ctl-dim { from { opacity: 0; } }
#hud.ctl-editing .joy, #hud.ctl-editing .b-jump, #hud.ctl-editing .b-hand {   /* 편집 열쇠 = 섬 판 조이스틱 · 점프 · 상호작용(10-28) */
  pointer-events: auto; cursor: grab; touch-action: none; border-radius: 50%; animation: ctl-glow 1.4s ease-in-out infinite; }
#hud.ctl-editing .b-hand.off .i { opacity: .39; }
@keyframes ctl-glow { 0%, 100% { box-shadow: 0 0 0 2px rgba(255, 211, 107, .55), 0 0 10px rgba(255, 211, 107, .25); } 50% { box-shadow: 0 0 0 3px rgba(255, 224, 140, .95), 0 0 22px rgba(255, 211, 107, .6); } }
#hud.ctl-editing .ctl-sel { animation: ctl-sel 0.9s ease-in-out infinite; }
@keyframes ctl-sel { 0%, 100% { box-shadow: 0 0 0 3px #ffe08a, 0 0 22px rgba(255, 220, 120, .8); } 50% { box-shadow: 0 0 0 4px #fff3c4, 0 0 34px rgba(255, 230, 150, 1); } }
#hud.ctl-editing .ctl-drag { cursor: grabbing; }
#hud .ctl-tag { display: none; }
#hud.ctl-editing .ctl-tag { display: block; position: absolute; left: 50%; top: -24px; transform: translateX(-50%); padding: 2px 9px; border-radius: 999px; white-space: nowrap;   /* 이름표 = 어두운 알약(18-popup-dark 판 색 · 글자 --ink) — 10-28 옛 갈색 판 + 금 테 */
  background: rgba(27, 30, 32, .9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 2px 4px rgba(0, 0, 0, .4); color: #f2f0e7; font-size: 11px; font-weight: 700; pointer-events: none; animation: ctl-tag .3s ease-out both; }
@keyframes ctl-tag { from { opacity: 0; transform: translate(-50%, 6px); } }
/* 아래 판 = 작은 팝업 공용 어두운 판(windows-css 18-popup-dark — #25292b → #1b1e20 · 둥근 12 · 짙은 1.5 테 · 모서리 아칸서스 + 네 변 1px #4d4944 .7).
   10-28 사용자 "두번째사진 보면 게임에 UI 스타일이랑 달라 예전 UI스타일같아" — 옛 판 = 크림 #fbf1dc · 갈색 테 #b48a4f · 초록 저장 #8fae4c · 판 폭 3칸 단추(10-18 그대로 남아 있던 것).
   크기 = 설정 창 값(10-24 폭 330 · 글자 11~12.5 · 단추 28), 막대 = 설정 소리 막대 그림(ui/art/vol-track · vol-fill · vol-knob, 02-sheet-settings · 18-popup-dark .settings 높이 26 · 손잡이 22),
   단추 = 글자 폭 알약(기본값 = 보조 반투명 왼쪽 · 취소 = 베이지 · 저장 = 청록 결정 — 01-popup 알약 색). 연출 = 판이 미끄러져 올라옴(ctl-up) · 누름 .92 → 뗄 때 튕김 · 손잡이 잡으면 1.12 */
#hud .ctl-edit-panel { --ink: #f2f0e7; --ink-soft: #9a9d98; position: absolute; left: 50%; bottom: 10px; width: 330px; transform: translateX(-50%); z-index: 5; pointer-events: auto; padding: 11px 18px 13px; border-radius: 12px;
  background: linear-gradient(#25292b, #1b1e20); box-shadow: 0 0 0 1.5px rgba(8, 9, 10, .85), 0 14px 32px rgba(0, 0, 0, .6); color: var(--ink); font-weight: 700; }
#hud .ctl-edit-panel::after { content: ""; position: absolute; inset: -2.5px; clip-path: inset(4px round 10.5px); pointer-events: none; background: #4d4944; opacity: .7;
  -webkit-mask: url(assets/ui/popup-corner-tl.png) left top / auto min(44px, 36%) no-repeat, url(assets/ui/popup-corner-tr.png) right top / auto min(44px, 36%) no-repeat,
    url(assets/ui/popup-corner-bl.png) left bottom / auto min(44px, 36%) no-repeat, url(assets/ui/popup-corner-br.png) right bottom / auto min(44px, 36%) no-repeat,
    linear-gradient(#000 0 0) left 4px top 4px / calc(100% - 8px) 1px no-repeat, linear-gradient(#000 0 0) left 4px bottom 4px / calc(100% - 8px) 1px no-repeat,
    linear-gradient(#000 0 0) left 4px top 4px / 1px calc(100% - 8px) no-repeat, linear-gradient(#000 0 0) right 4px top 4px / 1px calc(100% - 8px) no-repeat;
  mask: url(assets/ui/popup-corner-tl.png) left top / auto min(44px, 36%) no-repeat, url(assets/ui/popup-corner-tr.png) right top / auto min(44px, 36%) no-repeat,
    url(assets/ui/popup-corner-bl.png) left bottom / auto min(44px, 36%) no-repeat, url(assets/ui/popup-corner-br.png) right bottom / auto min(44px, 36%) no-repeat,
    linear-gradient(#000 0 0) left 4px top 4px / calc(100% - 8px) 1px no-repeat, linear-gradient(#000 0 0) left 4px bottom 4px / calc(100% - 8px) 1px no-repeat,
    linear-gradient(#000 0 0) left 4px top 4px / 1px calc(100% - 8px) no-repeat, linear-gradient(#000 0 0) right 4px top 4px / 1px calc(100% - 8px) no-repeat; }
#hud .ctl-edit-panel.in { animation: ctl-up .28s cubic-bezier(.2, .9, .3, 1.2) both; }
#hud .ctl-edit-panel.out { animation: ctl-down .2s ease-in both; }
@keyframes ctl-up { from { opacity: 0; transform: translate(-50%, 46px); } }
@keyframes ctl-down { to { opacity: 0; transform: translate(-50%, 46px); } }
#hud .ctl-edit-title { display: block; padding-bottom: 7px; margin-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .1); text-align: center; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
#hud .ctl-edit-row { display: flex; align-items: center; font-size: 12px; }
#hud .ctl-edit-name { width: 56px; white-space: nowrap; }
#hud .ctl-edit-pct { width: 40px; text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
/* 막대: 보이는 홈 · 채움 · 손잡이는 설정 소리 막대 그림, 끄는 것은 그 위에 투명하게 덮은 range(손잡이 폭 22 = 그림 손잡이 — 값 자리와 그림 손잡이 가운데가 같다) */
#hud .ctl-edit-bar { position: relative; flex: 1; min-width: 0; height: 26px; margin: 0 8px; }
#hud .ctl-edit-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 14px; margin-top: -7px; border-image: url(ui/art/vol-track.png) 0 24 fill / 0 7px stretch; }
#hud .ctl-edit-in { position: absolute; left: 3px; right: 3px; top: 50%; height: 8px; margin-top: -4px; pointer-events: none; }
#hud .ctl-edit-fill { position: absolute; left: 0; top: 0; bottom: 0; display: block; border-image: url(ui/art/vol-fill.png) 0 18 fill / 0 4px stretch; }
#hud .ctl-edit-knob { position: absolute; right: -11px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: url(ui/art/vol-knob.png) center / 100% 100% no-repeat; transition: transform .12s; }
#hud .ctl-edit-bar:active .ctl-edit-knob { transform: scale(1.12); }
#hud .ctl-edit-size { position: absolute; left: -8px; top: 0; width: calc(100% + 16px); height: 100%; margin: 0; opacity: 0; cursor: pointer; touch-action: none; -webkit-appearance: none; appearance: none; background: none; }
#hud .ctl-edit-size::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 26px; }
#hud .ctl-edit-size::-moz-range-thumb { width: 22px; height: 26px; border: 0; }
#hud .ctl-edit-btns { display: flex; align-items: center; gap: 6px; margin-top: 9px; }
#hud .ctl-edit-btns button { flex: none; min-width: 60px; height: 28px; padding: 0 14px; border: 0; border-radius: 999px; background: linear-gradient(#ece4d3, #c9bda6); color: #2b261e; font-family: inherit; font-size: 12.5px; font-weight: 800;
  white-space: nowrap; box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .35); transition: transform .24s cubic-bezier(.3, 2.6, .5, 1); }
#hud .ctl-edit-btns button:active { transform: scale(.92); transition: transform .06s ease-out; }
#hud .ctl-edit-btns .ctl-reset { margin-right: auto; background: rgba(255, 255, 255, .12); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#hud .ctl-edit-btns .ctl-save { background: linear-gradient(#83c3bf, #548f8c); color: #fff; }
/* ---------------- 액티브 스킬 칸(features/askill — host 10d skillBar): 공격 버튼 위 3칸 × 2줄(칸 0~2 아래 줄 · 3~5 윗줄), 52 원 · 쿨 부채꼴 · 남은 초 · 단축키 */
#hud .sk-bar { position: absolute; right: 0; top: 0; width: 0; height: 0; }
#hud .sk-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; pointer-events: auto; touch-action: none; background: rgba(6, 7, 10, .55);
  box-shadow: 0 0 0 2px rgba(232, 201, 121, .85), 0 2px 4px #000a; transition: transform .08s ease; }
#hud .sk-btn.s0 { right: 24px; top: 170px; } #hud .sk-btn.s1 { right: 84px; top: 162px; } #hud .sk-btn.s2 { right: 144px; top: 156px; }   /* 구르기(top 215.5) · 헤어 탭(top 103 까지)과 겹치지 않게 */
#hud .sk-btn.s3 { right: 24px; top: 112px; } #hud .sk-btn.s4 { right: 84px; top: 104px; } #hud .sk-btn.s5 { right: 144px; top: 98px; }
#hud .sk-btn.sk-buff { right: 204px; top: 150px; width: 44px; height: 44px; }   /* 버프(심법) 칸 — 스킬 칸 아래 줄 왼쪽, 한 단계 작게(44) */
#hud .sk-btn.sk-buff.b1 { top: 98px; } #hud .sk-btn.sk-buff.b2 { right: 256px; top: 124px; }   /* 백팔검형 버프 3칸(10-22): 1단계 아래 · 2단계 위(스킬 윗줄 높이) · 3단계 그 둘 사이 왼쪽 — 채팅 줄(top ~55)·스킬 칸과 겹치지 않게 */
#hud .sk-btn.sk-buff .sk-sec { line-height: 44px; font-size: 15px; }
#hud .sk-btn.sk-buff::after { content: ""; position: absolute; left: 50%; top: 5px; width: 7px; height: 7px; border: solid #fff; border-width: 2px 0 0 2px; transform: translateX(-50%) rotate(45deg); filter: drop-shadow(0 0 2px #000); }   /* 버프 표시 = 흰 선 위 꺾쇠(올림) — 같은 무공 아이콘의 스킬 칸과 구분 */
#hud .sk-btn.sk-buff.live { box-shadow: 0 0 0 2px #ffd770, 0 0 10px 2px #ffcf5a99, 0 2px 4px #000a; animation: sk-buff-live 1.05s ease-in-out infinite alternate; }   /* 켜진 동안 = 고른 칸 금테 결(15-skills .sk-cell.on) + 등급 빛 맥동 1047 ms(ui-juice) */
#hud .sk-btn.sk-buff.live .sk-sec { color: #ffe39a; }
@keyframes sk-buff-live { to { box-shadow: 0 0 0 2px #ffd770, 0 0 16px 4px #ffcf5acc, 0 2px 4px #000a; } }
#hud .sk-btn.on { transform: scale(.9); }
#hud .sk-face { position: absolute; inset: 4px; border-radius: 50%; overflow: hidden; background: #1b1d24 url(shared/skill_badges/skill_badges.webp) no-repeat; opacity: .92; }
#hud .sk-cd { position: absolute; inset: 0; border-radius: 50%; --cd: 0; background: conic-gradient(rgba(0, 0, 0, .68) calc(var(--cd) * 360deg), transparent 0); }
#hud .sk-btn.cool .sk-cd { background: conic-gradient(rgba(0, 0, 0, .68) calc(var(--cd) * 360deg), rgba(255, 236, 190, .9) calc(var(--cd) * 360deg) calc(var(--cd) * 360deg + 4deg), transparent 0); }   /* 쿨 부채꼴의 밝은 앞날(도는 바늘) */
#hud .sk-btn.cool .sk-face { filter: grayscale(.6) brightness(.75); }
#hud .sk-sec { position: absolute; inset: 0; line-height: 52px; text-align: center; font-size: 18px; font-weight: 900; color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000; }
#hud .sk-btn em { position: absolute; right: -3px; bottom: -3px; min-width: 15px; height: 15px; border-radius: 8px; font-size: 10px; font-style: normal; font-weight: 900; line-height: 15px; text-align: center;
  color: #26221c; background: #e8c979; box-shadow: 0 1px 2px #0008; }
/* ---- 스킬 단추 손맛(2026-10-22 사용자 "스킬 버튼을 눌렀을때 돌아가는 연출 · 스킬 다시 사용 가능하면 활성화되는 연출 · 사용 가능할 때 희미하게 빛난다거나"
   → "오버워치 궁극기 활성화처럼? 근데 스킬 전부 다 그런게 아니라 1단계 5단계 연출도 레벨디자인" → "애니메이션을 … 파티클이라던가 쉐이더"
   → "그냥 불타는 것만 쳐넣어놨네 … 스킬칸이랑 이펙트가 맞지도 않네 … 잘나가는 모바일게임 스킬칸 이펙트 조사" → "그래 너 이야기대로 한번 만들어봐"):
   근거 = 레퍼런스 조사(docs/one-click-game-factory/analysis/skill-slot-fx-reference.md — 도깨비의세계 · 오버워치 2 · 원신 · 와일드 리프트 · 어라이즈 등 12작):
     일반 스킬은 쓸 수 있는 동안 움직이는 연출이 없다(색이 돌아온 아이콘이 말함) · 다 찬 순간만 칸 안을 0.3~0.5 초 채웠다 빼고 얇은 고리 하나(≤1.3배) ·
     계속 도는 빛은 궁극기만, 칸 모양(원 · 육각)을 따라 1.2~1.5배 안. 옛 판(모든 칸 둘레 불꽃 고리 · 숨쉬는 빛)은 걷음.
   단계(t1~t5 = 스킬 단계, 버프 = t1):
     t1 · t2 = 다 참 → 흰 채움 + 얇은 고리 · t3 = 금 테 + 금 채움 + 빛 한 번 쓸기 + 테 안쪽 정지 빛 · t4 = + 테 위 빛점 하나(6 초 한 바퀴) + 불티 몇 개 ·
     t5 = 육각 테를 따라 흐르는 에너지 + 다 참 = 오버워치식 줄었다(0.15 초) → 번쩍 → 불꽃 갈래 → 루프.
   테 그림 = Codex 이미지(assets/skillfx/skill_slot.webp). 테를 따라 움직이는 빛 · 고리 · 불티 = 칸 묶음 위 GPU 캔버스(.sk-gl, host 10e-skill-fire · skill_gl.js ButtonRim),
   여기 CSS = 튕김 · 칸 안 채움 · 빛 쓸기 · 흔들림. */
#hud .sk-btn { box-shadow: 0 2px 5px #000b; }   /* 테 = 그림(sk-frame) — 옛 금 선 테(box-shadow)는 걷음 */
#hud .sk-frame { position: absolute; inset: -4px; pointer-events: none; background: url(assets/skillfx/skill_slot.webp) 0 0 / 300% 100% no-repeat; }
#hud .sk-btn.t3 .sk-frame, #hud .sk-btn.t4 .sk-frame { background-position: 50% 0; }
#hud .sk-btn.t5 .sk-frame { inset: -8px; background-position: 100% 0; }
#hud .sk-btn.sk-buff .sk-frame { inset: -3px; }
#hud .sk-gl { position: absolute; right: 0; top: 36px; width: 340px; height: 230px; pointer-events: none; }   /* GPU 캔버스(10e CW · CH · TOP 과 같은 값) */
/* 쓸 수 있는 3~5단 = 테 안쪽 정지 빛(밝기가 오르내리지 않음 — 조사: 대기 중 숨쉬는 빛은 어느 게임에도 없음) */
#hud .sk-glow { position: absolute; inset: -3px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .25s;
  box-shadow: 0 0 8px 2px rgba(255, 222, 140, .7), inset 0 0 6px rgba(255, 236, 180, .5); }
#hud .sk-btn.t3:not(.cool) .sk-glow, #hud .sk-btn.t4:not(.cool) .sk-glow { opacity: .3; }
#hud .sk-btn.t5:not(.cool) .sk-glow { opacity: .45; }
#hud .sk-face::after { content: ""; position: absolute; inset: 0; transform: translateX(-130%) skewX(-18deg); background: linear-gradient(90deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); }
/* 누름(0.92 → 1.06 튕김 + 얼굴 섬광, GPU = 1.3배 고리) */
#hud .sk-btn.cast { animation: sk-cast .3s cubic-bezier(.2, .9, .3, 1.25); }
#hud .sk-btn.cast .sk-face { animation: sk-lit .26s ease-out; }
@keyframes sk-cast { 0% { transform: scale(.92); } 45% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes sk-lit { 0% { filter: brightness(1.9); } 100% { filter: brightness(1); } }
/* 다 차는 순간: 칸 안 채움(도깨비의세계 크림 · 금 채움 0.5 초) · 3단부터 빛 한 번 쓸기 · 궁극기 = 줄었다 튐 */
#hud .sk-btn.ready-pop { animation: sk-ready .4s cubic-bezier(.3, .7, .3, 1); }
#hud .sk-btn.ready-pop .sk-face { animation: sk-fill .42s ease-out; }
#hud .sk-btn.t3.ready-pop .sk-face, #hud .sk-btn.t4.ready-pop .sk-face { animation-name: sk-fill-gold; animation-duration: .48s; }
#hud .sk-btn.t3.ready-pop .sk-face::after, #hud .sk-btn.t4.ready-pop .sk-face::after { animation: sk-shine-once .5s ease-out .05s; }
#hud .sk-btn.t5.ready-pop { animation: sk-ready-ult .7s cubic-bezier(.3, .7, .3, 1); }
#hud .sk-btn.t5.ready-pop .sk-face { animation: sk-fill-gold .6s ease-out .12s both; }
#hud .sk-btn.t5.ready-pop .sk-face::after { animation: sk-shine-once .5s ease-out .2s; }
@keyframes sk-ready { 0% { transform: scale(1); } 35% { transform: scale(1.1); } 65% { transform: scale(.98); } 100% { transform: scale(1); } }
@keyframes sk-ready-ult { 0% { transform: scale(1); } 20% { transform: scale(.9); } 34% { transform: scale(1.14); } 60% { transform: scale(.97); } 80% { transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes sk-fill { 0% { box-shadow: inset 0 0 0 30px rgba(255, 250, 236, .85); } 100% { box-shadow: inset 0 0 0 30px rgba(255, 250, 236, 0); } }
@keyframes sk-fill-gold { 0% { box-shadow: inset 0 0 0 30px rgba(255, 214, 128, .88); } 100% { box-shadow: inset 0 0 0 30px rgba(255, 214, 128, 0); } }
@keyframes sk-shine-once { 0% { transform: translateX(-130%) skewX(-18deg); } 100% { transform: translateX(130%) skewX(-18deg); } }
#hud .sk-btn.deny { animation: sk-deny .24s linear; }
@keyframes sk-deny { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-3px); } 45% { transform: translateX(3px); } 70% { transform: translateX(-2px); } 88% { transform: translateX(1px); } }
/* ---------------- 걸린 버프 줄(features/askill — host 10f buffStatus, 2026-10-24 사용자 "미니맵 오른쪽에 버프아이콘 · 누르면 무슨 효과인지 팝업 · 메이플방식 그대로"):
   메이플 PC 버프 줄 캡처(.local/tmp/hudbuff/crop/mspc_buff.png, git 밖) 결 = 둥근 네모 아이콘이 틈 거의 없이 한 줄 · 옅은 밝은 1px 테 ·
   남은 초 = 아이콘 왼쪽 아래 작은 흰 숫자(검은 테두리). 끝나기 5 초 전 깜빡임 · 누르면 이름/효과/남은 시간 툴팁.
   자리 = 왼쪽 위 칸(.top-l) 오른쪽 위 — 10-28 미니맵 대신 프로필 칸(hud 01 .pc-card 폭 176) 오른쪽 (182, 2). 아이콘 22(GUI 450 — 메이플 PC 2.5% 보다 크게: 손가락으로 누르는 칸), 사이 2. */
#hud .bf-row { position: absolute; left: 182px; top: 2px; display: flex; gap: 2px; pointer-events: none; }
#hud .bf-ic { position: relative; width: 22px; height: 22px; flex: none; pointer-events: auto; touch-action: none; border-radius: 3px;
  background: rgba(6, 7, 10, .6); box-shadow: 0 0 0 1px rgba(225, 232, 245, .55), 0 0 0 2px rgba(0, 0, 0, .55), 0 1px 3px #000a; }
#hud .bf-ic .bf-face { position: absolute; inset: 1px; border-radius: 2px; }
#hud .bf-face { background: #1b1d24 url(shared/skill_badges/skill_badges.webp) no-repeat; }   /* 10d 스킬 칸 · 버프 칸과 같은 아이콘 장 */
#hud .bf-cd { position: absolute; inset: 1px; border-radius: 2px; --cd: 0; background: conic-gradient(rgba(0, 0, 0, .62) calc(var(--cd) * 360deg), transparent 0); }   /* 지난 시간 덮개(10-24 사용자 "남은시간에따라 어두워지는거") — 12 시부터 시계 방향, 스킬 칸 쿨 부채꼴(07-askill .sk-cd)과 같은 짙기 */
#hud .bf-sec { position: absolute; left: 1px; bottom: 0; font-size: 7.3px; font-weight: 900; line-height: 8px; color: #fff; white-space: nowrap;
  text-shadow: 1px 0 #000, -1px 0 #000, 0 1px #000, 0 -1px #000, 1px 1px #000; }   /* 메이플: 남은 초 = 왼쪽 아래 흰 숫자(10-24 사용자 "1.1배 줄여": 8 → 7.3) */
#hud .bf-ic.on { box-shadow: 0 0 0 1px #ffe39a, 0 0 0 2px rgba(0, 0, 0, .55), 0 0 7px 2px rgba(255, 214, 120, .6); }   /* 팝업이 열린 칸 = 금 테(고른 칸 빛, hq-ui §1) */
#hud .bf-ic.in { animation: bf-in .42s cubic-bezier(.2, .9, .3, 1.3) both; }   /* 걸리는 순간 톡(보상 칸 420 ms 팝 결, ui-juice) */
#hud .bf-ic.in .bf-face { animation: sk-lit .4s ease-out; }
#hud .bf-ic.end .bf-face { animation: bf-blink .5s steps(2, jump-none) infinite; }   /* 끝나기 5 초 전 깜빡임 */
@keyframes bf-in { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
@keyframes bf-blink { 0% { opacity: 1; } 100% { opacity: .35; } }
/* 휴대폰(가로 폰 = 화면 짧은 변 540 CSS px 이하 — 세로로 돌린 상자도) 버프 줄 11-14 형창님 "1.5배 크기 키워봐, 간격도 서로 겹치니까 안 겹치게"(buffrow-1114):
   780×360 실측 칸 18 · 사이 1(테 바깥 그림자 2 + 2 가 틈 2 보다 커서 이웃 테가 겹침) → 칸 22 → 33(780×360 = 26.4 px · Note20 915×412 = 30.2 px) ·
   남은 시간 글자 7.3 → 11 · 사이 2 → 8(테 그림자 둘 4 를 빼고도 틈 4 GUI = 780×360 에서 6.4 px). 줄 아래 끝 2 + 33 = 35 < 지역 알약 누름 여유 위끝 46 · 팝업은 칸 아래 6.
   PC(짧은 변 540 초과 — 1280×720 칸 35)는 위 값 그대로. */
@media (max-height: 540px), (max-width: 540px) {
  #hud .bf-row { gap: 8px; }
  #hud .bf-ic { width: 33px; height: 33px; border-radius: 4px; }
  #hud .bf-ic .bf-face, #hud .bf-cd { inset: 1.5px; border-radius: 3px; }
  #hud .bf-sec { left: 1.5px; bottom: .5px; font-size: 11px; line-height: 12px; }
  #hud .bf-tip { top: 41px; }
}
/* 팝업 = 아이템 정보 카드(.icard, features/bag/inv_fx.css) 결: 무채 검은 판 + 회색 1px 테 · 구획 점선 · 글자 10 / 8.5(10-24 정규화 값) */
#hud .bf-tip { position: absolute; top: 30px; z-index: 3; min-width: 104px; max-width: 170px; padding: 6px 8px 7px; border-radius: 6px; pointer-events: auto;
  color: #f2f0e7; background: linear-gradient(rgba(22, 23, 24, .9), rgba(12, 13, 14, .9)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 3px 8px #000a; }
#hud .bf-tip[hidden] { display: none; }
#hud .bf-tip.in { animation: fx-pop .26s cubic-bezier(.2, .9, .25, 1.15) both; transform-origin: 12px 0; }
#hud .bf-tip .bf-head { display: flex; align-items: center; gap: 6px; padding-bottom: 5px; border-bottom: 1px dashed rgba(255, 255, 255, .22); }
#hud .bf-tip .bf-head .bf-face { position: relative; width: 22px; height: 22px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
#hud .bf-tip .bf-head b { font-size: 10px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
#hud .bf-tip p { margin: 4px 0 0; font-size: 8.5px; line-height: 11.5px; white-space: nowrap; }
#hud .bf-tip .bf-eff { color: #9fe36f; }   /* 좋아짐 = 초록(hq-ui §1 강조색) */
#hud .bf-tip .bf-left { color: #9a9d98; }
/* ---------------- 지역 진입 칭호(2026-10-19 사용자 "도깨비의세계 참고해서 UI 퀄리티", zones 10-zone-card) — v2(10-19 사용자 "왜 이렇게 구리지 · 색상도 레트로하고 구식"):
   남색 벨벳 · 겨자 금 · 다마스크 무늬 · 돋을새김 금 덩굴 · 금 글자 + 남색 테두리 = 2000년대 느낌 → 도깨비의세계 제목 말씨 그대로 현대식으로:
   무늬 없는 짙은 반투명 띠(양 끝 흐림, 길드 대항전 13d 띠와 같은 방식) · 위아래 1px 흰 빛선 · 흰·은빛 가는 선 장식(중세 스크롤 · 문장 걸이, 무협 장식 아님)
   · 명조 이름(ZoneTitle = Noto Serif KR Black 부분집합, ui/fonts/ZoneTitle.json) 진주빛 흰 글자 + 부드러운 빛 · 자간 넓은 작은 레벨 줄.
   그림 = Codex(ui/art/zone-flank · zone-pennant(png) · zone-flare(webp), 영수증 zone-banner.receipt.json). 연출: 띠 열림 + 빛선 뻗음 → 빛 번쩍 → 이름이 흐림에서 또렷해지며 자간 모임
   → 장식 모임 → 걸이 흔들림 → 빛 훑음 → 떠오르며 흐려짐. 위험 = 핏빛 띠 · 붉은 빛선 · 옅은 장밋빛 글자 */
@font-face { font-family: "ZoneTitle"; src: url("ui/fonts/ZoneTitle.woff2") format("woff2"); font-display: block; }
#hud .zone-card { position: absolute; left: 50%; top: 56px; width: 520px; height: 60px; margin-left: -260px; pointer-events: none; opacity: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; }
#hud .zone-card .zc-band { position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(9, 11, 19, .62) 20%, rgba(9, 11, 19, .78) 50%, rgba(9, 11, 19, .62) 80%, transparent); }
#hud .zone-card.danger .zc-band { background: linear-gradient(90deg, transparent, rgba(34, 6, 10, .66) 20%, rgba(44, 7, 11, .82) 50%, rgba(34, 6, 10, .66) 80%, transparent); }
/* 빛 훑음: 띠 안에서만(overflow hidden) */
#hud .zone-card .zc-band::before { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; left: -100px; transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .13), transparent); }
#hud .zone-card .zc-line { position: absolute; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 230, 255, .28) 24%, #fff 50%, rgba(226, 230, 255, .28) 76%, transparent);
  filter: drop-shadow(0 0 2px rgba(205, 215, 255, .8)); }
#hud .zone-card .zc-line.t { top: 0; }
#hud .zone-card .zc-line.b { bottom: 0; }
#hud .zone-card.danger .zc-line { background: linear-gradient(90deg, transparent, rgba(255, 150, 140, .3) 24%, #ffd2cc 50%, rgba(255, 150, 140, .3) 76%, transparent);
  filter: drop-shadow(0 0 2px rgba(255, 70, 60, .85)); }
/* 위 빛선 가운데 빛(투명 바탕 그림 — screen 합성은 카드 opacity 연출이 합성을 가둬 검은 바탕이 상자로 보였다) */
#hud .zone-card .zc-flare { position: absolute; left: 50%; top: -25px; width: 460px; height: 51px; margin-left: -230px; opacity: .55;
  background: url(ui/art/zone-flare.webp) center / 100% 100% no-repeat; }
#hud .zone-card.danger .zc-flare { opacity: .3; }
#hud .zone-card .zc-pennant { position: absolute; right: 68px; top: 56px; width: 16px; height: 72px; background: url(ui/art/zone-pennant.png) top center / contain no-repeat;
  transform-origin: 50% 0; filter: drop-shadow(0 0 3px rgba(150, 170, 255, .55)) drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); }
#hud .zone-card .zc-row { position: relative; display: flex; align-items: center; gap: 12px;
  filter: drop-shadow(0 0 7px rgba(150, 165, 255, .4)) drop-shadow(0 1px 1px rgba(0, 0, 0, .7)); }
#hud .zone-card.danger .zc-row { filter: drop-shadow(0 0 7px rgba(255, 70, 60, .45)) drop-shadow(0 1px 1px rgba(0, 0, 0, .7)); }
#hud .zone-card .zc-flank { width: 104px; height: 20px; background: url(ui/art/zone-flank.png) center / contain no-repeat; }
#hud .zone-card .zc-flank.r { transform: scaleX(-1); }   /* 그림 = 왼쪽 장식(오른쪽 끝 스크롤 · 왼쪽으로 가는 선). 오른쪽은 좌우 뒤집기 */
/* 글자: 진주빛 흰 그라데이션(위 흰빛 → 아래 옅은 라일락 · 민트, 도깨비의세계 제목 글자). 테두리 없이 부드러운 빛 + 얇은 그림자(.zc-row) */
#hud .zone-card .zc-name { position: relative; font-size: 25px; font-weight: 900; letter-spacing: 3px; line-height: 30px; color: #fff;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 42%, #e6e2fa 72%, #cfe8ee 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#hud .zone-card.serif .zc-name { font-family: "ZoneTitle", GFUIFont, sans-serif; font-size: 26px; letter-spacing: 4px; }
#hud .zone-card.danger .zc-name { background-image: linear-gradient(180deg, #ffffff 0%, #fff4f2 42%, #ffd0c8 72%, #f3a397 100%); }
#hud .zone-card .zc-lv { position: relative; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; line-height: 14px;
  color: rgba(236, 239, 250, .88); text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
#hud .zone-card .zc-lv::before, #hud .zone-card .zc-lv::after { content: ""; width: 4px; height: 4px; border: 1px solid currentColor; transform: rotate(45deg); opacity: .8; }
#hud .zone-card.town .zc-lv { display: none; }   /* 마을 = 레벨대 없이 이름만(띠 가운데) */
#hud .zone-card.danger .zc-lv { color: #ffbcb2; }
#hud .zone-card.show { animation: zc-fade .2s ease-out both; }
#hud .zone-card.show .zc-band { animation: zc-band .6s cubic-bezier(.25, .8, .3, 1) both; }
#hud .zone-card.show .zc-band::before { animation: zc-shine 1s .8s ease-in-out both; }
#hud .zone-card.show .zc-line { animation: zc-line .8s .05s cubic-bezier(.2, .8, .2, 1) both; }
#hud .zone-card.show .zc-flare { animation: zc-flare 1.1s .25s ease-out both; }
#hud .zone-card.danger.show .zc-flare { animation-name: zc-flare-d; }
#hud .zone-card.show .zc-flank.l { animation: zc-flank-l .6s .3s cubic-bezier(.2, .9, .3, 1) both; }
#hud .zone-card.show .zc-flank.r { animation: zc-flank-r .6s .3s cubic-bezier(.2, .9, .3, 1) both; }
#hud .zone-card.show .zc-name { animation: zc-name .75s .2s cubic-bezier(.2, .7, .3, 1) both; }
#hud .zone-card.show .zc-lv { animation: zc-sub .45s .5s ease-out both; }
#hud .zone-card.show .zc-pennant { animation: zc-drop .35s .5s ease-out both, zc-swing 1.8s .85s ease-in-out both; }
#hud .zone-card.hide { animation: zc-close .45s ease-in both; }
/* 띠는 가운데서 양옆으로 열린다(비율 유지 — 한 축만 눌러 찌그러뜨리지 않는다) */
@keyframes zc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes zc-band { from { opacity: 0; clip-path: inset(0 50% 0 50%); } 30% { opacity: 1; } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes zc-line { from { opacity: 0; transform: scaleX(0); } 25% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes zc-flare { from { opacity: 0; transform: scaleX(.2); } 30% { opacity: 1; transform: scaleX(1.05); } to { opacity: .55; transform: none; } }
@keyframes zc-flare-d { from { opacity: 0; transform: scaleX(.2); } 30% { opacity: .7; transform: scaleX(1.05); } to { opacity: .3; transform: none; } }
@keyframes zc-flank-l { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes zc-flank-r { from { opacity: 0; transform: scaleX(-1) translateX(-24px); } to { opacity: 1; transform: scaleX(-1); } }
@keyframes zc-name { from { opacity: 0; letter-spacing: 14px; filter: blur(6px); } 60% { filter: blur(0); } to { opacity: 1; filter: blur(0); } }
@keyframes zc-sub { from { opacity: 0; transform: translateY(-5px); } }
@keyframes zc-drop { from { opacity: 0; transform: translateY(-14px); } }
@keyframes zc-swing { 0% { transform: rotate(0); } 20% { transform: rotate(9deg); } 45% { transform: rotate(-6deg); } 70% { transform: rotate(3deg); } 100% { transform: rotate(0); } }
@keyframes zc-close { from { opacity: 1; transform: none; filter: blur(0); } to { opacity: 0; transform: translateY(-12px); filter: blur(3px); } }
@keyframes zc-shine { from { left: -100px; } to { left: 110%; } }
@keyframes zc-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
/* 위험 경고 글자: 판(아래 끝 116px · 깃발 112px) 밑에 붉은 글자 + 검은 외곽선, 그것만 흔들림 → 판이 사라지면 위쪽(62px)으로 올라가 남아 맥동 */
#hud .zone-alert { position: absolute; left: 50%; top: 124px; transform: translateX(-50%); display: none; align-items: center; gap: 6px; pointer-events: none; z-index: 3; white-space: nowrap;
  transition: top .35s cubic-bezier(.3, .8, .3, 1); }
#hud .zone-alert.on { display: flex; }
#hud .zone-alert b { font-size: 16px; font-weight: 900; line-height: 20px; color: #ff3b2f; letter-spacing: .5px;
  text-shadow: 1.6px 0 #000, -1.6px 0 #000, 0 1.6px #000, 0 -1.6px #000, 1.2px 1.2px #000, -1.2px 1.2px #000, 1.2px -1.2px #000, -1.2px -1.2px #000, 0 0 10px rgba(255, 40, 20, .55); }
#hud .zone-alert .za-mark { width: 18px; height: 16px; background: #ff3b2f; clip-path: polygon(50% 0, 100% 100%, 0 100%); filter: drop-shadow(0 0 1.5px #000) drop-shadow(0 0 1px #000); position: relative; }
#hud .zone-alert .za-mark::after { content: "!"; position: absolute; left: 0; right: 0; top: 3px; text-align: center; font-size: 11px; font-weight: 900; line-height: 12px; color: #000; }
#hud .zone-alert.fresh { animation: za-in .3s .35s ease-out both, za-shake .45s .65s ease-in-out 3; }
#hud .zone-alert.docked { top: 62px; animation: za-pulse 1.4s ease-in-out infinite; }
@keyframes za-in { from { opacity: 0; transform: translateX(-50%) translateY(-6px); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes za-shake { 0%, 100% { transform: translateX(-50%); } 20% { transform: translateX(calc(-50% - 6px)); } 40% { transform: translateX(calc(-50% + 6px)); } 60% { transform: translateX(calc(-50% - 4px)); } 80% { transform: translateX(calc(-50% + 4px)); } }
@keyframes za-pulse { 0%, 100% { opacity: .75; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.06); } }
/* 필드 PvP 안내 줄(10-30, 10-zone-card zonePvp): 위험 경고 글자 결 그대로 한 단계 작게(14) · 흔들림 없이 내려앉기만 · 레벨 위험과 같이 뜨면 그 아래 줄 */
#hud .zone-pvp b { font-size: 14px; line-height: 18px; }
#hud .zone-pvp.below { top: 148px; }
#hud .zone-pvp.fresh { animation: za-in .3s .45s ease-out both; }
/* 화면 위험 표시: 위험 지역 안에 있는 동안 가장자리 붉은 기운이 맥동(들어온 순간 세 번 강하게) */
#hud.zone-danger::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 70px rgba(200, 20, 10, .55); animation: zc-pulse 1.1s ease-in-out 3, zc-hold 2.2s 3.3s ease-in-out infinite; }
@keyframes zc-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes zc-hold { 0%, 100% { opacity: .22; } 50% { opacity: .5; } }
/* ---------------- 하늘배 남은 시간 막대(features/continent 58i sailBar — 배 위에서만): 지역 칭호(zones 06 zone-card) 자리 가운데 위 · 글자 폭 먹빛 알약
   shipchat-1126(형창님 11-26 유저 채팅 "배타는동안 채팅이라도되게해주세요"): 자리 = 위 14 → 70(채팅 미리보기 줄 34~64 아래) — 위 14 에서는 가운데로 옮긴 채팅 미리보기와 겹쳐
   배 위 내내 채팅 미리보기를 숨겼다(menugroup qk-mid). 이제 둘 다 보이고 배 위에서도 채팅을 누를 수 있다.
   가는 섬 이름 12.5 굵게 + 남은 m:ss 12(고정 폭 숫자) · 아래 4 px 막대(채움 = 진주빛 흰 → 하늘빛, 칭호 이름 그라데이션 결). 나타날 때 .28 s 위에서 내려옴, 끝나면 흐려짐 */
#hud .sail-bar { left: 50%; top: 70px; transform: translate(-50%, -8px); display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 12px; row-gap: 5px;
  padding: 6px 14px 7px; border-radius: 12px; background: rgba(12, 13, 15, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 3px 10px rgba(0, 0, 0, .35);
  opacity: 0; pointer-events: none; z-index: 3; transition: opacity .28s ease-out, transform .28s cubic-bezier(.2, .9, .3, 1.2); }
#hud .sail-bar.on { opacity: 1; transform: translate(-50%, 0); }
#hud .sail-bar .sb-to { font-size: 12.5px; font-weight: 800; line-height: 16px; color: #f4f1ea; white-space: nowrap; }
#hud .sail-bar .sb-left { font-style: normal; font-size: 12px; font-weight: 800; line-height: 16px; color: #e6f4ff; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
#hud .sail-bar .sb-track { grid-column: 1 / -1; position: relative; display: block; height: 4px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .14); }
#hud .sail-bar .sb-fill { position: absolute; inset: 0; display: block; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #ffffff, #cfe8ee); transition: transform .25s linear; }
/* 낮음 단계 HUD 싼 대체(11-13 lowtier-1113 — 형창님 "HUD 그림자·외곽선 효과 줄이기 이것도 좋음, 그래픽 낮음 단계일때인거지?"). html.low-hud = 그래픽 낮음일 때만
   (perf 62-gfx-quality — 자동이 고른 낮음 + 설정 낮음 · ?lowhud=0 끔). 중간 · 높음에는 이 클래스가 없어 아래 규칙이 하나도 안 걸린다(low_tier.test.mjs 가 선택자 머리를 검사).
   근거 huntgpu-1113(Note20 낮음 사냥, 8초 창 번갈아): #hud 의 filter · mix-blend 를 끄면 프레임당 GPU 일 6.44 → 5.78(−10 %) — 필터 · 섞기는 그 요소를 따로 그려 다시 합친다.
   늘 떠 있는 것만 바꾼다(지역 이름 카드 · 번쩍임 같은 잠깐 연출은 그대로): */
html.low-hud #hud .coin img { filter: none; }   /* 재화 아이콘 밑 옅은 그림자 없음 */
html.low-hud #hud .lvl .lvl-n { filter: none; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff1c4;
  text-shadow: 1px 0 #000, -1px 0 #000, 0 1px #000, 0 -1px #000; }   /* 레벨 숫자: 그러데이션 글자 + 필터 4겹 외곽선 → 단색 글자 + 글자 그림자 외곽선 1겹(필터 없음) */
html.low-hud #hud .w-bubble { filter: none; }   /* 말풍선 밑 그림자 없음(풍선 테두리 · 글자는 그대로) */
html.low-hud #hud .w-push img { mix-blend-mode: normal; }   /* 조이스틱 미는 호: 더하기 섞기 → 보통 겹치기 */
html.low-hud #hud .sk-btn.sk-buff::after { filter: none; }   /* 버프 칸 꺾쇠 둘레 그림자 없음 */
html.low-hud #hud .sk-btn.cool .sk-face { filter: none; opacity: .5; }   /* 쿨타임 아이콘: 회색 · 어둡게 필터 → 불투명도(어두운 칸 바탕이 비쳐 어두워진다). 쿨 부채꼴 · 남은 초 글자는 그대로 */
/* 최저(minmode-1121 — 형창님 11-21 "게임플레이는 가능하지만 볼륨을 거의 못 느껴도 상관없으니 렉 안 걸리게"). html.gfx-min = 저사양 판정 폰이 자동 낮음일 때만(perf 62-gfx-quality · ?gfxmin=0 끔).
   HUD 의 그림자 · 필터 · 섞기 · 뒤 흐림을 모두 끈다(잠깐 연출의 번쩍임 필터 포함 — 글자 그림자 외곽선은 읽기 위해 둔다). 근거: 데스크톱 CPU 6배 감속 같은 판 A/X — #hud 숨김 32.6 → 40.4 rAF fps. */
html.gfx-min #hud *, html.gfx-min #hud *::before, html.gfx-min #hud *::after { box-shadow: none !important; filter: none !important; mix-blend-mode: normal !important; backdrop-filter: none !important; }

/* gf:js-pack prototype/Spikes/rt-battle/features/uilayer/ui_layer.css */
/* 화면 층 순서 정본(11-05 사용자 "보상창 뒤로 가려짐 UI 뎁스시스템이 어캐되먹었길래 이러냐").
   #ui(position fixed, z 5) 한 쌓임 맥락 안의 층 — 새 창 · 연출 · 떠 있는 판은 숫자를 새로 짓지 말고 여기 변수를 쓴다.
   | 층                | 값 | 쓰는 곳                                                                  |
   |-------------------|----|--------------------------------------------------------------------------|
   | --z-hud-menu      |  9 | ☰ 메뉴 펼침(ui/windows.css .menu-pop)                                     |
   | --z-win           | 10 | 창 .dim(물품 · 상점 · 받은 것 #got-dim · 이벤트 …)                          |
   | --z-ask           | 20 | 묻는 창 .ask-dim · 강화 연출 .enh-fx                                       |
   | --z-toast         | 30 | 알림 #gf-toast · 파티 초대 · 사교 알림(31)                                  |
   | --z-war-fx        | 40 | 길드전 연출 .gwfx · 판매 알림(45)                                           |
   | --z-banner        | 60 | 기능 열림 띠 .ul-card · 퀘스트 완료 .qclear · 뽑기 결과 .gs-root · 변신 말풍선 |
   | --z-reward        | 61 | 레벨 업 보상 카드 .lvr · 다음 보상 띠 .lvr-strip · 퀘스트 알림 .qnotice       |
   | --z-tip           | 70 | 아이템 정보 .it-tip — 누른 칸이 어느 층이든 그 위(보상 카드 칸을 눌러도 안 가림) |
   규칙: 아이템 정보는 사람이 방금 누른 칸의 설명이라 늘 맨 위. 대신 새 연출(레벨 업 카드 · 퀘스트 완료 · 기능 열림 ·
   받은 것 창 · 뽑기 결과)이 뜨면 열려 있던 아이템 정보는 닫는다(features/itemtip/item_tip.js OVERLAYS — 연출이 정보 판에 덮이지 않게). */
#ui {
  --z-hud-menu: 9;
  --z-win: 10;
  --z-ask: 20;
  --z-toast: 30;
  --z-war-fx: 40;
  --z-banner: 60;
  --z-reward: 61;
  --z-tip: 70;
}

/* gf:js-pack prototype/Spikes/rt-battle/ui/ui_fx.css */
/* 하이랜드 UI 연출(2026-10-17 사용자 "UI 연출이나 맵 이동 연출 등 같은 것도 좀 추가해봐" · 같은 날 정정 "UI 나인패치 디자인은 유지해줘").
   windows.css · hud.css 뒤에 실린다. 겉모양(나인패치 panel.webp · slot.webp · button-*.webp, 색, 상자 크기 · 여백)은 한 줄도 바꾸지 않고 움직임만 더한다:
   - 창 팝(작게 → 살짝 넘침 → 제자리) · 처음 열 때 내용 · 칸 순차 등장(.fx-intro = ui_fx.js 가 열린 뒤 800ms 만 붙인다 — 칸이 다시 그려져도 다시 튀지 않게)
   - 메뉴 펼침 · 칸 순차 · 탭 판 바뀜 · 고른 물품 칸 테 맥박 · 대화 창(초상 · 아래 판 · 이름 · 대사) 등장 · 받음 창 빛살 · 재화 숫자 튐 */

/* ---------------- 창 팝 · 처음 열 때 순차 등장 */
#ui .dim.open .popup { animation: fx-pop .34s cubic-bezier(.2, .9, .25, 1.15) both; }
#ui .dim.fx-intro .popup > * { animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both; }
#ui .dim.fx-intro .popup > :nth-child(1) { animation-delay: .05s; } #ui .dim.fx-intro .popup > :nth-child(2) { animation-delay: .1s; }
#ui .dim.fx-intro .popup > :nth-child(3) { animation-delay: .15s; } #ui .dim.fx-intro .popup > :nth-child(4) { animation-delay: .2s; }
#ui .dim.fx-intro .popup > :nth-child(n+5) { animation-delay: .24s; }
#ui .dim.fx-intro .popup-head h2 { animation: fx-title .4s .08s cubic-bezier(.2, .9, .3, 1.3) both; }
#ui .dim.fx-intro :is(.item-cell:not(.off), .shop-card, .vip-card, .equip-cell:not(.gap)) { animation: fx-cell .28s cubic-bezier(.2, .9, .3, 1.3) both; }
#ui .dim.fx-intro .mail-row { animation: fx-card-in .26s cubic-bezier(.2, .8, .3, 1) both; }   /* 우편 줄 = 스크롤 칸 안 덩어리라 1 을 넘으면 테두리에 잘린다(10-24 사용자 "우편함도 비슷하게 짤림") */
#ui .dim.fx-intro :is(.item-cell, .shop-card, .mail-row, .vip-card, .equip-cell):nth-child(1) { animation-delay: .14s; }
#ui .dim.fx-intro :is(.item-cell, .shop-card, .mail-row, .vip-card, .equip-cell):nth-child(2) { animation-delay: .17s; }
#ui .dim.fx-intro :is(.item-cell, .shop-card, .mail-row, .vip-card, .equip-cell):nth-child(3) { animation-delay: .2s; }
#ui .dim.fx-intro :is(.item-cell, .shop-card, .mail-row, .vip-card, .equip-cell):nth-child(4) { animation-delay: .23s; }
#ui .dim.fx-intro :is(.item-cell, .shop-card, .mail-row, .vip-card, .equip-cell):nth-child(5) { animation-delay: .26s; }
#ui .dim.fx-intro :is(.item-cell, .shop-card, .mail-row, .vip-card, .equip-cell):nth-child(6) { animation-delay: .29s; }
#ui .dim.fx-intro :is(.item-cell, .shop-card, .mail-row, .vip-card, .equip-cell):nth-child(n+7) { animation-delay: .32s; }
#ui .tab-panel:not([hidden]) { animation: fx-fade .22s ease-out both; }
#ui .item-cell.on { animation: fx-ring 1.1s ease-in-out infinite; }
#ui .close:active { transform: scale(.9); }

/* ---------------- 메뉴 펼침: 도구 줄(오른쪽 위)에서 떨어지듯 + 칸 순차 */
#ui .menu-pop { transform-origin: calc(100% - 22px) 0; }
#ui .menu-pop:not([hidden]) { animation: fx-drop .26s cubic-bezier(.2, .9, .3, 1.2) both; }
#ui .menu-pop:not([hidden]) .menu-item { animation: fx-rise .3s cubic-bezier(.2, .9, .3, 1.25) both; }
#ui .menu-pop:not([hidden]) .menu-item { animation-delay: calc(var(--i, 0) * .03s + .03s); }   /* --i = 칸 순서(10-menu-pop) — 칸 수 제한 없음(전엔 8칸까지만 있어 9번째 친구가 같이 튀었다) */

/* ---------------- 받음 창(2026-10-18 EFZ obj_item_get_direction · obj_reward_window · scr_reward_flair_draw_ranked, 광마 띠 빛줄기): 자리 · 크기는 windows.css
   열림: 막 → 띠 펼침(세로 비율 유지가 아닌 띠 높이만 — 판이 아니라 빛 띠) → 섬광 입자 600ms → 제목 튐 → 칸마다 70ms 시차 420ms 팝인(고르게 커짐, 한 축 찌그러짐 없음) + 등장 번쩍 고리
   계속: 등급 글로우 맥동 1047ms(sin t·.006) · 에픽↑ 광선 회전 · 유니크↑ 고리 2400ms(전설 1500ms) · 판 모양 반짝임 · 띠 위아래 선을 지나는 빛(광마 tan 흐름) */
#ui #got-dim.open .got-band { animation: fx-got-band .36s cubic-bezier(.2, .9, .3, 1) both; }
#ui #got-dim.open .got-line::after { animation: fx-got-line 2.6s linear infinite; }
#ui #got-dim.open .got-line.bottom::after { animation-delay: -1.3s; animation-direction: reverse; }
#ui #got-dim.open .got-spark { animation: fx-got-spark .6s calc(.08s + var(--d) * .05s) cubic-bezier(.15, .8, .3, 1) both; }
#ui #got-dim.open .got-title { animation: fx-title .45s .1s cubic-bezier(.2, .9, .3, 1.4) both; }
#ui #got-dim.open .got-cell { animation: fx-got-in .42s cubic-bezier(.2, .9, .3, 1.35) both; animation-delay: calc(.22s + var(--i, 0) * .07s); }
#ui #got-dim.open .got-cell:nth-child(2) { --i: 1; } #ui #got-dim.open .got-cell:nth-child(3) { --i: 2; } #ui #got-dim.open .got-cell:nth-child(4) { --i: 3; }
#ui #got-dim.open .got-cell:nth-child(5) { --i: 4; } #ui #got-dim.open .got-cell:nth-child(6) { --i: 5; } #ui #got-dim.open .got-cell:nth-child(7) { --i: 6; }
#ui #got-dim.open .got-cell:nth-child(8) { --i: 7; } #ui #got-dim.open .got-cell:nth-child(9) { --i: 8; } #ui #got-dim.open .got-cell:nth-child(n+10) { --i: 9; }
#ui #got-dim.open .got-glow { animation: fx-got-pulse 1.047s ease-in-out infinite; }
#ui #got-dim.open .got-rays { animation: fx-spin 25s linear infinite, fx-got-blink 1.047s ease-in-out infinite; }
#ui #got-dim.open .got-cell.g-legendary .got-rays { animation-duration: 18s, 1.047s; }
#ui #got-dim.open .got-ring { animation: fx-got-ring .55s calc(.3s + var(--i, 0) * .07s) ease-out both; }
#ui #got-dim.open .got-cell.g-unique .got-ring { animation: fx-got-ring .55s calc(.3s + var(--i, 0) * .07s) ease-out both, fx-got-ring 2.4s 1.2s ease-out infinite; }
#ui #got-dim.open .got-cell.g-legendary .got-ring { animation: fx-got-ring .55s calc(.3s + var(--i, 0) * .07s) ease-out both, fx-got-ring 1.5s 1s ease-out infinite; border-color: color-mix(in srgb, var(--gr-myth) 85%, #fff); }
#ui #got-dim.open .got-cell:is(.g-epic, .g-unique, .g-legendary) .got-slot { animation: fx-got-edge 1.047s ease-in-out infinite; }
#ui #got-dim.open .got .ask-buttons { animation: fx-rise .3s .5s both; }

/* ---------------- 구매 판: 그림이 튀어 오르고 후광이 번진다 */
#ui #buy-dim.open .buy-art { animation: fx-got-in .42s .08s cubic-bezier(.2, .9, .3, 1.35) both; }

/* ---------------- 필드 줍기 알림(ui_fx.js RtUiFx.itemToast — 장비를 주우면 화면 위 가운데에 칸 + 이름, 등급 빛. 창 층 #ui 안 = 캔버스와 같이 돈다) */
#ui #gf-toast { position: absolute; inset: 0; z-index: 30; pointer-events: none; }
#ui #gf-toast .toasts { position: absolute; left: 50%; top: 58px; width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
#ui .gf-item-toast { --ac: #ffe08a; position: relative; flex: none; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 8px; white-space: nowrap;
  background: linear-gradient(90deg, rgba(10, 12, 8, 0), rgba(10, 12, 8, .66) 18%, rgba(10, 12, 8, .66) 82%, rgba(10, 12, 8, 0)); animation: fx-toast 2.4s ease-out both; }
#ui .gf-item-toast.g-rare { --ac: color-mix(in srgb, var(--gr-rare) 65%, #fff); } #ui .gf-item-toast.g-epic { --ac: color-mix(in srgb, var(--gr-hero) 65%, #fff); } #ui .gf-item-toast.g-unique { --ac: color-mix(in srgb, var(--gr-legend) 65%, #fff); } #ui .gf-item-toast.g-legendary { --ac: var(--gr-myth); }
#ui .gf-item-toast::before, #ui .gf-item-toast::after { content: ""; position: absolute; left: 14%; right: 14%; height: 1px; background: linear-gradient(90deg, transparent, var(--ac), transparent); opacity: .8; }
#ui .gf-item-toast::before { top: 0; } #ui .gf-item-toast::after { bottom: 0; }
#ui .gf-item-toast .ts { position: relative; flex: none; width: 38px; height: 38px; border: 6px solid transparent; border-image: url(assets/hud/slot.webp) 72 fill / 6px stretch; animation: fx-got-in .38s .05s cubic-bezier(.2, .9, .3, 1.4) both; }
#ui .gf-item-toast .ts::before { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--ac) 60%, transparent) 0 20%, transparent 62%); animation: fx-got-pulse 1.047s ease-in-out infinite; }
#ui .gf-item-toast:is(.g-epic, .g-unique, .g-legendary) .ts::after { content: ""; position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: repeating-conic-gradient(var(--ac) 0 5deg, transparent 5deg 36deg); -webkit-mask: radial-gradient(circle, transparent 30%, #000 38%, transparent 70%); mask: radial-gradient(circle, transparent 30%, #000 38%, transparent 70%); animation: fx-spin 9s linear infinite; }
#ui .gf-item-toast img { position: absolute; left: 1px; top: 1px; width: 24px; height: 24px; object-fit: contain; image-rendering: pixelated; }
#ui .gf-item-toast b { position: relative; font-size: 14px; font-weight: 900; color: var(--ac); text-shadow: 1.3px 0 #000, -1.3px 0 #000, 0 1.3px #000, 0 -1.3px #000, 1px 1px #000, -1px -1px #000; }
#ui .gf-item-toast.g-common b { color: #fff; }
#ui .gf-item-toast span { position: relative; font-size: 12px; font-weight: 800; color: #f2f0e7; text-shadow: 1.2px 0 #000, -1.2px 0 #000, 0 1.2px #000, 0 -1.2px #000; }

/* ---------------- 대화 창 등장: 초상은 왼쪽에서 미끄러져, 아래 판은 올라오며, 이름 → 대사 순 */
#ui .talk:not([hidden]) .talk-dim { animation: fx-fade .25s ease-out both; }
#ui .talk:not([hidden]) .talk-portrait { animation: fx-slide-l .38s cubic-bezier(.2, .85, .3, 1.1) both; }
#ui .talk:not([hidden]) .talk-shade { animation: fx-up .3s ease-out both; }
#ui .talk:not([hidden]) :is(.talk-mark, .talk-name) { animation: fx-slide-l2 .3s .12s ease-out both; }
#ui .talk:not([hidden]) :is(.talk-rule, .talk-line) { animation: fx-fade .3s .2s ease-out both; }
#ui .talk-next i { animation: fx-bob .8s ease-in-out infinite alternate; }

/* ---------------- 머리줄 재화 숫자 튐(ui_fx.js 가 값이 바뀌면 .fx-bump) */
#hud .coin.fx-bump { animation: fx-bump .42s cubic-bezier(.2, .9, .3, 1.4); }
#hud .coin.fx-bump b { animation: fx-flash .42s ease-out; }

@keyframes fx-pop { 0% { transform: scale(.82) translateY(16px); opacity: 0; } 55% { transform: scale(1.025) translateY(-2px); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes fx-rise { 0% { transform: translateY(10px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes fx-cell { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes fx-title { 0% { transform: scale(.6); opacity: 0; } 65% { transform: scale(1.08); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes fx-drop { 0% { transform: scale(.7) translateY(-10px); opacity: 0; } 60% { transform: scale(1.02); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes fx-fade { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fx-up { 0% { transform: translateY(40px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes fx-slide-l { 0% { transform: translateX(-60px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes fx-slide-l2 { 0% { transform: translateX(-16px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes fx-bob { 0% { transform: translateY(-1px); } 100% { transform: translateY(3px); } }
@keyframes fx-ring { 0%, 100% { outline-offset: 2px; } 50% { outline-offset: 3.5px; } }
@keyframes fx-spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
@keyframes fx-bump { 0% { transform: scale(1); } 35% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes fx-flash { 0% { filter: brightness(2.2); } 100% { filter: none; } }
@keyframes fx-got-band { 0% { opacity: 0; clip-path: inset(48% 0 48% 0); } 100% { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes fx-got-line { 0% { transform: translateX(-110%); } 100% { transform: translateX(310%); } }
@keyframes fx-got-spark { 0% { opacity: 0; transform: rotate(var(--a)) translateY(0) scale(.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-150px) scale(1.1); } }
@keyframes fx-got-in { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
/* 큰 덩어리(카드 · 판) 등장 = 1 을 넘지 않는다 — 스크롤 칸(overflow) 안에서 1.12 튐은 테두리에 잘린다(10-24 사용자 "연출 쓸 때 왜 이렇게 잘리냐 · 한두 가지가 아님"). 커지는 튐(fx-got-in)은 칸 · 아이콘 크기만 */
@keyframes fx-card-in { 0% { transform: translateY(6px) scale(.97); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes fx-got-pulse { 0%, 100% { opacity: .62; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes fx-got-blink { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes fx-got-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes fx-got-edge { 0%, 100% { filter: drop-shadow(0 0 2px var(--ac)); } 50% { filter: drop-shadow(0 0 7px var(--ac)); } }
@keyframes fx-toast { 0% { opacity: 0; transform: translateY(10px) scale(.92); } 10% { opacity: 1; transform: none; } 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }
/* 전광판 글자(ui_fx.js watchMarquee, 10-24 사용자 "영어는 칸을 넘어가는 문제 … 넘어가면 전광판 효과"): 칸보다 긴 글만 칸 안에서 오간다.
   양 끝 1.2s 쉼 → 22px/s 로 흐름, 칸 양 끝 4px 흐림(글자가 칸 테에 칼같이 잘려 보이지 않게). 가운데 맞춘 칸도 흐를 때는 왼쪽부터 보여 준다. */
#ui .fx-mq, #hud .fx-mq { overflow: hidden !important; text-overflow: clip !important; justify-content: flex-start !important; text-align: left !important;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4px, #000 calc(100% - 4px), transparent); mask-image: linear-gradient(90deg, transparent, #000 4px, #000 calc(100% - 4px), transparent); }
#ui .fx-mq-in, #hud .fx-mq-in { display: inline-block; white-space: nowrap; will-change: transform; animation: fx-mq var(--mq-t, 4s) ease-in-out infinite alternate; }
/* 닉네임 칸(ui_fx.js MQ_NAME · nameFit, 10-25 사용자 "닉네임은 전광판효과없이 길어도 그냥 다 보여줘야할거같음"): 전광판 · 말줄임 없이 — 길면 글자 크기를 줄여 칸에 다 넣는다 */
#ui .rk-who > b, #ui .rk-me-name, #ui .f-text > b, #ui .pf-name, #ui .chat-name, #ui .inv-name, #ui .gd-row[data-row-profile] .gd-line1 > b, #ui .gd-row[data-row-profile] .gd-row-main > b,
#ui .gd-row.r44 .gd-row-main > b, #ui .gw-slot > b, #ui .pslot > b, #hud .pc-name, #ui .mp-name { text-overflow: clip !important; }
@keyframes fx-mq { 0%, 18% { transform: none; } 82%, 100% { transform: translateX(var(--mq-d, 0)); } }
@media (prefers-reduced-motion: reduce) { #ui *, #hud * { animation-duration: .01s !important; animation-iteration-count: 1 !important; } }

/* gf:js-pack prototype/Spikes/rt-battle/features/bag/inv_fx.css */
/* 물품 창 연출 · 장비 능력치 목록 · 아이템 정보 카드(2026-10-23 사용자 "인벤토리 UI/UX 가 퀄리티가 너무 낮음 · 연출도 좀 아쉽고 · 트렌드한 인기 게임 레퍼런스로").
   windows.css(04-inventory 칸 · 판 자리) · ui_fx.css 뒤에 실린다. 시점은 inv_fx.js 가 클래스로 준다. 근거:
   - 장비 8칸 격자 + 능력치 목록 = 메이플스토리 장비창 · 능력치 창(10-23 사용자 "메이플 참고") · 메이플 키우기 장비 화면(공격력 · 방어력 · 최대 HP 줄) — dokkaebi-world.md §11.9
   - 아이템 정보 = 메이플 툴팁(사용자 사진 10-23) — 착용 비교는 카드의 "증가량" 큰 숫자(옛 ▲▼ 줄 비교를 대신함)
   - 시간 값 = ui-juice README(누름 60 ms 0.92 → 뗄 때 1.06 · 칸 순차 70 ms 간격 · 420 ms 팝 · 등급 빛 1047 ms). 색 = 등급색 --gc · 초록 #7ad26a(14b-enhance 좋아짐) · 적갈 #e0705a(위험) */

/* ---------------- 장비 능력치 목록(정보 판 아래 12칸 2열 — 메이플 능력치 창 · 메이플 키우기 능력치 칸: 이름 위 작게 · 값 아래 굵게. 10-23 "정보량이 많을수록 예쁠 것") */
#ui .eq-sum .eq-row { position: relative; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 7px; border-radius: 5px; }
#ui .eq-sum .eq-row:nth-child(4n + 1), #ui .eq-sum .eq-row:nth-child(4n + 2) { background: rgba(255, 255, 255, .035); }   /* 두 칸 한 줄씩 옅은 띠(물품 상세 .odd 값의 절반) */
#ui .eq-sum .eq-row span { font-size: 10px; font-weight: 700; line-height: 12px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .eq-sum .eq-row b { font-size: 12.5px; font-weight: 800; line-height: 14px; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; transform-origin: left center; }
#ui .eq-sum .eq-row.fx-up b { animation: inv-num .5s cubic-bezier(.2, .9, .3, 1.4); color: #7ad26a; }
#ui .eq-sum .eq-row.fx-down b { animation: inv-num .5s cubic-bezier(.2, .9, .3, 1.4); color: #e0705a; }
#ui .eq-float { position: absolute; right: 6px; bottom: 2px; font-size: 11px; font-style: normal; font-weight: 900; color: #7ad26a; pointer-events: none; text-shadow: 0 0 6px rgba(122, 210, 106, .6), 1px 1px #0008;
  animation: inv-float .9s cubic-bezier(.2, .8, .3, 1) both; }
#ui .eq-float.down { color: #e0705a; text-shadow: 0 0 6px rgba(224, 112, 90, .5), 1px 1px #0008; }

/* ---------------- 장착: 칸이 쾅 들어앉고(1.3 → 0.94 → 1) 등급색 고리가 번진다 */
#ui .equip-cell::before { content: ""; position: absolute; inset: -2px; border-radius: 10px; border: 2px solid color-mix(in srgb, var(--gc) 70%, #fff); opacity: 0; pointer-events: none; }
#ui .equip-cell.fx-equip { animation: inv-slam .42s cubic-bezier(.2, .9, .3, 1.3); z-index: 1; }
#ui .equip-cell.fx-equip::before { animation: inv-ring .55s .08s ease-out both; }
#ui .equip-cell.fx-equip .icon { animation: inv-icon .42s cubic-bezier(.2, .9, .3, 1.5); }
#ui .equip-cell.on:is(.g-epic, .g-unique, .g-legendary) { animation: inv-glow 1.047s ease-in-out infinite; }

/* ---------------- 물품 칸: 뗄 때 1.06 튕김 · 탭을 바꾸면 칸이 70 ms 간격으로 팝 · 영웅↑ 광택이 지나간다 · 고유↑ 등급 빛 맥동 */
#ui .item-cell.fx-up { animation: inv-release .18s ease-out; }
#ui .item-grid.fx-tab .item-cell:not(.off) { animation: fx-cell .3s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--i, 0) * 28ms); }
#ui .item-cell:is(.g-epic, .g-unique, .g-legendary):not(.off) { overflow: hidden; }
#ui .item-cell:is(.g-epic, .g-unique, .g-legendary):not(.off)::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .32), transparent); transform: skewX(-18deg); animation: inv-sheen 3.6s ease-in-out infinite; }
#ui .item-cell.g-legendary:not(.off)::after { animation-duration: 2.4s; }
#ui .item-cell:is(.g-unique, .g-legendary):not(.off):not(.on) { animation: inv-glow 1.047s ease-in-out infinite; }

/* ---------------- 아이템 정보 = 메이플 툴팁 차례(마을 상점 구매 카드 townshop.css .ts-buy .tip-* 와 같은 색 · 줄 값, 판 폭 231 이라 한 단 작게)
   10-23 사용자 "아이템 정보 위에 써져 있는데 밑에 정보 또 버튼으로 써져 있는 이유가 뭐야 — 메이플식으로 깔끔하게"(메이플 툴팁 사진): 정보 · 강화 탭 줄 없앰 → 카드가 판 이름 바로 아래.
   바인딩 칸(detail-top · detail-rows = Unity 목업 · 검사가 읽는 자리)은 남기고 웹에서는 잠금 단추만 카드 오른쪽 위에 둔다.
   색: 이름 = 등급색 · 별 #ffcc00 · 오른 능력치 줄 #66ffff · 등급 몫 #ccff00 · 강화 몫 #ffcc00 · 주문서 #aab4ff · 교환 #e8c979 · 못 맞춤 · 내려감 #ffb3a8(townshop.css 머리 주석 근거) */
#ui #inv-dim .detail-pane > .enh-tabs { display: none; }
#ui #inv-dim .detail-pane > .detail { top: 29px; height: 286px; gap: 0; }
#ui #inv-dim .detail-top:not([hidden]) { display: block; position: absolute; right: 0; top: 0; width: 26px; height: 26px; z-index: 2; }
#ui #inv-dim .detail-top > :not(.enh-lock) { display: none; }
#ui #inv-dim .detail-rows { display: none; }
/* 아이템 정보 카드(.icard) = 디아블로 이모탈 툴팁 결(11-11 형창님 시안 2 고름): 등급색 머리 띠(이름 · 등급 · 분류 · Lv) → 큰 칸 | 대표 능력치 크게 + 전투력 변화 → 구획 제목 + 줄 → 추옵 · 잠재 상자.
   글자 크기는 여기 하나 — 물품 창 · 경매장 · 상점 · 이벤트 툴팁 · 강화 창 · 대장간이 모두 이 값을 쓴다(화면별 파일은 자리 · 너비 · 칸 크기만). 머리 띠 HTML = RtInvFx.headHtml */
#ui .icard { --ink: #f2f0e7; --ink-soft: #c8cbc6; padding: 0 8px 8px; border-radius: 7px; color: var(--ink);
  background: linear-gradient(rgba(20, 21, 23, .96), rgba(11, 12, 13, .96)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }   /* 무채 검은 판(거의 불투명 — 뒤 장면이 비치면 회색 글자가 묻힌다) + 회색 1px 테 */
#ui .icard > * + * { margin-top: 7px; }
#ui .icard .ic-head { position: relative; margin: 0 -8px; padding: 6px 24px 6px; border-radius: 7px 7px 0 0; text-align: center; line-height: 1.2;
  background: linear-gradient(color-mix(in srgb, var(--gc, #6b7073) 46%, #15161a), color-mix(in srgb, var(--gc, #6b7073) 14%, #121316));
  box-shadow: inset 0 1px rgba(255, 255, 255, .14), inset 1px 0 rgba(255, 255, 255, .1), inset -1px 0 rgba(255, 255, 255, .1); border-bottom: 1px solid color-mix(in srgb, var(--gc, #6b7073) 65%, transparent); }   /* 디아블로 이모탈: 등급색이 머리 띠를 물들인다. 양옆 24 = 물품 창 잠금 단추 자리 */
#ui .icard .ic-tag { position: absolute; left: 7px; top: 5px; font-size: 7.5px; font-weight: 900; letter-spacing: .4px; color: #ffd8a8; }   /* 이모탈 "EQUIPPED" 자리 = 착용 중 */
#ui .icard .ic-stars { display: flex; justify-content: center; gap: 1px; margin-bottom: 2px; }
#ui .icard .ic-stars i { width: 6px; height: 6px; background: rgba(0, 0, 0, .45); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
#ui .icard .ic-stars i.on { background: #ffcc00; }
/* 별 = 장비 등급 칸. 켜진 별 = 메이플 별색 #ffcc00 그대로 */
#ui .icard .ic-name { font-size: 15px; font-weight: 900; line-height: 1.25; letter-spacing: -.3px; overflow-wrap: anywhere; color: color-mix(in srgb, var(--gc, #6b7073) 28%, #fff);
  text-shadow: 1px 0 #000, -1px 0 #000, 0 1px #000, 0 -1px #000, .8px .8px #000, -.8px .8px #000, .8px -.8px #000, -.8px -.8px #000, 0 2px 3px rgba(0, 0, 0, .7); }   /* 이름 = 카드에서 가장 크고 굵게 + 검은 테두리(11-11 "크게 굵고 진하고 잘 보여야"). 색 = 띠 등급색을 흰 쪽으로 — 띠 위에서 묻히지 않게 */
#ui .icard .ic-sub { margin-top: 1px; font-size: 9px; font-weight: 700; color: rgba(255, 255, 255, .82); text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
#ui .icard .ic-req.low { color: #ffb3a8; }   /* 레벨 모자람 */
#ui .icard .ic-top { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: center; }
#ui .icard .item-cell.big { width: 46px; height: 46px; cursor: default; z-index: 1; }
#ui .icard .ic-gain { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; line-height: 1.15; }   /* 이모탈: 아이콘 오른쪽 대표 수치 크게 */
#ui .icard .ic-gain small { font-size: 8.5px; font-weight: 700; color: var(--ink-soft); }
#ui .icard .ic-gain b { font-size: 19px; font-weight: 900; line-height: 1.05; letter-spacing: -.5px; }
#ui .icard .ic-gain i { margin-top: 2px; font-style: normal; font-size: 8.5px; font-weight: 800; color: var(--ink-soft); white-space: nowrap; }
#ui .icard .ic-gain i.up { color: #7ad26a; } #ui .icard .ic-gain i.down { color: #ff8f80; }   /* 좋아짐 초록 · 나빠짐 적갈(전투력 띠 cp-float 와 같은 색) */
#ui .icard .ic-sec { margin-bottom: 2px; font-size: 7.5px; font-weight: 900; letter-spacing: .6px; color: #9a9e98; }   /* 이모탈 구획 제목(ATTRIBUTES · MAGIC) = 작은 회색 */
#ui .icard .ic-line { font-size: 9px; font-weight: 700; line-height: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* 능력치 당 1줄 "이름 : +값" */
#ui .icard .ic-line.up { color: #66ffff; }
#ui .icard .ic-parts { color: var(--ink); }
#ui .icard .ic-parts em { font-style: normal; } #ui .icard .ic-parts em.g { color: #ccff00; } #ui .icard .ic-parts em.e { color: #ffcc00; }
#ui .icard .ic-line.scr { color: #aab4ff; }
#ui .icard .ic-line.art { color: #ffcf6a; }   /* 장인 무기 고유 옵션(대장간 장인 탭 .ic-line.op 와 같은 색 — artisanA-1113) */
#ui .icard .ic-line.soft { color: var(--ink-soft); }
#ui .icard .ic-line.bound { color: #e8c979; }
/* 고르면 카드 팝 · 큰 칸 튐 + 등급 빛 · 영웅↑ 빛살 · 줄 차례로 */
#ui .icard .ic-top::before { content: ""; position: absolute; left: -16px; top: 50%; width: 76px; height: 76px; margin-top: -38px; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gc, #6b7073) 55%, transparent), transparent); opacity: .7; }
#ui .icard.g-hi .ic-top::after { content: ""; position: absolute; left: -26px; top: 50%; width: 96px; height: 96px; margin-top: -48px; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: repeating-conic-gradient(rgba(255, 255, 255, .7) 0 5deg, transparent 5deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 26%, #000 34%, transparent 68%); mask: radial-gradient(circle, transparent 26%, #000 34%, transparent 68%); opacity: .22; animation: fx-spin 14s linear infinite; }
#ui .icard.fx-sel { animation: fx-card-in .26s cubic-bezier(.2, .8, .3, 1) both; }   /* 카드 = 1 을 넘지 않는 등장(ui_fx.css fx-card-in) — 담은 칸이 스크롤 칸이라 커지면 잘린다(10-24) */
#ui .icard.fx-sel .item-cell.big { animation: fx-got-in .42s .04s ease-out both; }   /* 칸 튐 최대 1.12(곡선 넘침 없이 — 카드 안쪽 여백 8 안) */
#ui .icard.fx-sel .ic-top::before { animation: fx-got-pulse 1.047s ease-in-out 1; }
#ui .icard.fx-sel .ic-line { animation: fx-rise .26s ease-out both; }
#ui .icard.fx-sel .ic-line:nth-child(2) { animation-delay: .05s; } #ui .icard.fx-sel .ic-line:nth-child(3) { animation-delay: .1s; } #ui .icard.fx-sel .ic-line:nth-child(4) { animation-delay: .15s; }
#ui .icard.fx-sel .ic-line:nth-child(n + 5) { animation-delay: .2s; }

@keyframes inv-num { 0% { transform: scale(1); } 35% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes inv-float { 0% { opacity: 0; transform: translateY(6px) scale(.8); } 20% { opacity: 1; transform: translateY(0) scale(1.1); } 100% { opacity: 0; transform: translateY(-18px) scale(1); } }
@keyframes inv-slam { 0% { transform: scale(1.3); filter: brightness(1.8); } 55% { transform: scale(.94); filter: brightness(1.2); } 100% { transform: scale(1); filter: none; } }
@keyframes inv-ring { 0% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes inv-icon { 0% { transform: translateY(-14px) scale(1.25); opacity: 0; } 60% { transform: translateY(1px) scale(.96); opacity: 1; } 100% { transform: none; } }
@keyframes inv-glow { 0%, 100% { box-shadow: inset 0 -12px 14px -10px color-mix(in srgb, var(--gc) 85%, #fff), inset 0 1px rgba(255, 255, 255, .22), 0 0 3px color-mix(in srgb, var(--gc) 45%, transparent); }
  50% { box-shadow: inset 0 -12px 14px -10px color-mix(in srgb, var(--gc) 85%, #fff), inset 0 1px rgba(255, 255, 255, .22), 0 0 10px color-mix(in srgb, var(--gc) 75%, transparent); } }
@keyframes inv-release { 0% { transform: scale(.92); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes inv-sheen { 0%, 62% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { #ui .item-cell::after, #ui .icard .ic-top::after { animation: none !important; } }

/* ---------------- 치장 칸(10-23 사용자 "치장 아이템도 필요하니까 EFZ 처럼 그 옆에 · 치장 아이템 슬롯은 살짝 다르게 좀 더 반짝인다거나"):
   금빛 테 + 위쪽 금빛 번짐 · 테 빛이 2.4 s 로 숨쉬고 · 빛줄기가 칸마다 엇박(0.35 s)으로 지나간다 · 빈 칸 그림 = 금빛(Codex 그림의 반짝 별 포함).
   금빛 = 전투력 띠 빛선 · 남은 점수 금빛(stats.js #ffd76a)과 같은 계열 — 장비 칸(무채색)과 한눈에 갈리게 */
#ui .cos-slots .equip-cell { overflow: hidden; border-color: rgba(232, 207, 138, .5); background: radial-gradient(90% 70% at 50% 0%, rgba(232, 207, 138, .2), transparent 70%), rgba(0, 0, 0, .34);
  animation: cos-breathe 2.4s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -.6s); }
#ui .cos-slots .equip-cell:nth-child(2) { --k: 1; } #ui .cos-slots .equip-cell:nth-child(3) { --k: 2; } #ui .cos-slots .equip-cell:nth-child(4) { --k: 3; }
#ui .cos-slots .equip-cell::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 240, 200, .42), transparent); transform: skewX(-18deg); animation: inv-sheen 3.6s ease-in-out infinite; animation-delay: calc(var(--k, 0) * .35s); }
#ui .cos-slots .empty-slot-icon { opacity: .55; }
#ui .cos-slots .empty-slot-icon::before { background: #e8cf8a; }
@keyframes cos-breathe { 0%, 100% { box-shadow: inset 0 0 6px rgba(232, 207, 138, .14), 0 0 4px rgba(232, 207, 138, .12); } 50% { box-shadow: inset 0 0 10px rgba(232, 207, 138, .3), 0 0 9px rgba(232, 207, 138, .32); } }

/* ---------------- 전투력(정보 판 #inv-cp · 능력치 판 #eq-cp): 바뀌면 숫자가 굴러 가며(inv_fx.js rollCp 0.6 s) 띠가 초록 / 적갈로 번쩍 · ▲N 떠오름 */
#ui .inv-cp.fx-up b { animation: inv-num .5s cubic-bezier(.2, .9, .3, 1.4); color: #c8f5b4; }
#ui .inv-cp.fx-down b { animation: inv-num .5s cubic-bezier(.2, .9, .3, 1.4); color: #f2b3a3; }
#ui .cp-float { position: absolute; right: 18%; top: 4px; font-size: 11px; font-style: normal; font-weight: 900; color: #7ad26a; pointer-events: none; text-shadow: 0 0 6px rgba(122, 210, 106, .6), 1px 1px #0008;
  animation: inv-float 1.05s cubic-bezier(.2, .8, .3, 1) both; }
#ui .cp-float.down { color: #e0705a; text-shadow: 0 0 6px rgba(224, 112, 90, .5), 1px 1px #0008; }

/* 영혼(등급 강화 파괴 — 10-24 사용자 "파괴되면 바로 터지는 게 아니라 영혼 상태로 있고, 동일한 아이템을 재료로 부활"): 메이플 장비 파괴 흔적 결 — 그림은 빛이 빠진 회청 유령빛 + 천천히 숨 쉬는 푸른 빛.
   가방 칸(inv_fx soulCells) · 아이템 정보 큰 칸 · 강화 창 툴팁 칸이 같은 규칙. 색 #b8c8ff = 영혼 띠(scrolls.json 이 아니라 여기 하나 — 영혼은 등급색이 아니다) */
#ui .item-cell.soul .icon { filter: grayscale(1) brightness(1.25) sepia(.2) hue-rotate(180deg) opacity(.55); }
#ui .item-cell.soul::after { content: ''; position: absolute; inset: 2px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(closest-side, rgba(184, 200, 255, .32), transparent 75%); animation: soul-breath 2.2s ease-in-out infinite; }
@keyframes soul-breath { 0%, 100% { opacity: .35; transform: translateY(1px); } 50% { opacity: .9; transform: translateY(-1px); } }
#ui .icard .ic-soul { display: table; margin: 3px auto 0; padding: 1px 7px; border-radius: 8px; font-size: 8px; font-weight: 700; letter-spacing: .02em;
  color: #dfe6ff; background: rgba(120, 140, 220, .22); box-shadow: inset 0 0 0 1px rgba(184, 200, 255, .45); }
@media (prefers-reduced-motion: reduce) { #ui .item-cell.soul::after { animation: none; opacity: .6; } }
/* 판매 [자동 선택](auto_sell.js): 전부 골라진 동안 = 판매 단추 일괄 모드와 같은 금 테 */
#ui .inv-foot .inv-pickall.on { filter: brightness(1.12); box-shadow: 0 0 0 2px #ffd36b, 0 0 8px 1px rgba(255, 211, 107, .5); }
/* 자동판매(autosell_win.js): 아래 줄 단추(켜짐 = 청록 점) + 작은 팝업(18-popup-dark 판 · 설정 창 값: 폭 330 · 제목 15 · 줄 34 · 알약 24 · 단추 28 · 글자 11~12) */
/* 자동판매 설정 = [판매] 바로 오른쪽 톱니 단추(HUD 설정과 같은 흰 아이콘 · 아이콘 18 · 단추 30 원) · 켜짐 = 청록 점 */
#ui .inv-foot:has(#inv-asell) { justify-content: flex-start; }
#ui .inv-foot:has(#inv-asell) #inv-sell { margin-left: auto; }
#ui .inv-foot .inv-asell { position: relative; flex: none; width: 30px; height: 30px; margin-left: -2px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: transform 60ms, background .15s; }
#ui .inv-foot .inv-asell img { width: 18px; height: 18px; pointer-events: none; opacity: .92; }
#ui .inv-foot .inv-asell:active { transform: scale(.92); background: rgba(255, 255, 255, .16); }
#ui .inv-foot .inv-asell .as-dot { position: absolute; right: 1px; top: 1px; width: 7px; height: 7px; border-radius: 50%; background: transparent; }
#ui .inv-foot .inv-asell.on .as-dot { background: #83c3bf; box-shadow: 0 0 6px #83c3bf; }
#ui .popup.asell { width: 330px; padding: 16px 18px 16px; }
#ui .popup.asell .asell-h { margin: 0 0 8px; font-size: 15px; text-align: center; color: var(--ink); }
#ui .popup.asell .as-row { display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
#ui .popup.asell .as-k { flex: none; width: 66px; font-size: 11.5px; color: var(--ink-soft); }
#ui .popup.asell .as-pills { display: flex; flex-wrap: wrap; gap: 4px; }
#ui .popup.asell .as-pill { flex: none; height: 24px; padding: 0 9px; border: 0; border-radius: 12px; font-size: 11px; color: var(--ink); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
#ui .popup.asell .as-pill.on { background: #e9dcc0; color: #2a2620; box-shadow: none; }
#ui .popup.asell .as-g { color: var(--gc); }
#ui .popup.asell .as-g.on { background: var(--gc); color: #15171a; }
/* 켜기 = 작은 스위치(켜짐 청록 · 꺼짐 반투명) */
#ui .popup.asell .as-sw { position: relative; flex: none; width: 40px; height: 22px; margin-left: auto; border: 0; border-radius: 11px; background: rgba(255, 255, 255, .14); transition: background .18s; }
#ui .popup.asell .as-sw i { position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #f2f0e7; transition: transform .18s cubic-bezier(.3, 1.4, .6, 1); }
#ui .popup.asell .as-sw.on { background: #548f8c; }
#ui .popup.asell .as-sw.on i { transform: translateX(18px); }
/* 착용 레벨 범위 슬라이더(손잡이 둘): 회색 줄 + 고른 구간 청록(결정색) · 눈금 = 착용 레벨 표, 50 단위 · 양 끝만 숫자 · 위 오른쪽 범위 글자 */
#ui .popup.asell .as-lvh { border-bottom: 0; }
#ui .popup.asell .as-range { margin-left: auto; font-size: 13px; font-weight: 800; color: #9fd6d2; letter-spacing: .2px; }
#ui .popup.asell .as-slider { position: relative; height: 40px; margin: 0 9px 4px; touch-action: none; cursor: pointer; border-bottom: 0; }
#ui .popup.asell .as-track, #ui .popup.asell .as-fill { position: absolute; top: 9px; height: 4px; border-radius: 2px; pointer-events: none; }
#ui .popup.asell .as-track { left: 0; right: 0; background: rgba(255, 255, 255, .14); }
#ui .popup.asell .as-fill { left: var(--lo); width: calc(var(--hi) - var(--lo)); background: #548f8c; box-shadow: 0 0 6px rgba(131, 195, 191, .45); }
#ui .popup.asell .as-tick { position: absolute; top: 17px; width: 1px; height: 4px; margin-left: -.5px; background: rgba(255, 255, 255, .22); }
#ui .popup.asell .as-tick.big { height: 6px; }
#ui .popup.asell .as-tick.in { background: rgba(159, 214, 210, .7); }
#ui .popup.asell .as-tick b { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font-size: 9.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
#ui .popup.asell .as-tick.in b { color: #cfe9e6; }
#ui .popup.asell .as-tick::after { content: ''; position: absolute; left: -7px; right: -7px; top: -14px; bottom: -16px; }   /* 눈금 누르기 칸 */
#ui .popup.asell .as-knob { position: absolute; top: 2px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #f2f0e7; pointer-events: auto;
  box-shadow: 0 0 0 2px #548f8c, 0 2px 5px rgba(0, 0, 0, .45); transition: transform .12s cubic-bezier(.3, 1.4, .6, 1); }
#ui .popup.asell .as-knob[data-as-knob="0"] { left: var(--lo); }
#ui .popup.asell .as-knob[data-as-knob="1"] { left: var(--hi); }
#ui .popup.asell .as-knob::after { content: ''; position: absolute; inset: -10px; }   /* 손가락 칸 38 */
#ui .popup.asell .as-slider.drag[data-k="0"] .as-knob[data-as-knob="0"], #ui .popup.asell .as-slider.drag[data-k="1"] .as-knob[data-as-knob="1"] { transform: scale(1.18); box-shadow: 0 0 0 2px #83c3bf, 0 0 10px rgba(131, 195, 191, .7); }
#ui .popup.asell .as-btns { display: flex; justify-content: flex-end; gap: 6px; margin-top: 12px; }
#ui .popup.asell .as-btns .btn { flex: none; min-height: 0; height: 28px; padding: 0 14px; font-size: 12px; }
#ui .popup.asell .as-pill { transition: transform 60ms, background .15s; }
#ui .popup.asell .as-pill:active, #ui .popup.asell .as-sw:active { transform: scale(.92); }
/* 판매 확인 창(sell_confirm.js): 작은 팝업 어두운 판(18-popup-dark) · 폭 300 · 제목 15 · 팔 장비 칸 36(물품 창 칸 39 결 — 등급색 안쪽 테 · 아래 빛) ·
   얻는 것 = 퀘스트 · 보스 보상 칸(qr-cell big 52, 누르면 아이템 정보) · 단추 = 글자 폭 알약 28(취소 보조 · 판매 위험 적갈) · 칸은 70 ms 간격으로 팝 */
#ui .popup.sellc { width: 300px; padding: 16px 18px 16px; text-align: center; }
#ui .popup.sellc .sc-h { margin: 0 0 10px; font-size: 15px; color: var(--ink); }
#ui .popup.sellc .sc-k { font-size: 11.5px; color: var(--ink-soft); margin-bottom: 6px; }
#ui .popup.sellc .sc-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; max-width: 246px; margin: 0 auto; }
#ui .popup.sellc .sc-cell { position: relative; flex: none; width: 36px; height: 36px; border-radius: 6px; display: grid; place-items: center; cursor: pointer;
  background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px var(--gc), inset 0 -9px 11px -8px var(--gc); animation: qr-pop .42s cubic-bezier(.3, 1.4, .6, 1) both; animation-delay: calc(var(--i) * 70ms); }
#ui .popup.sellc .sc-cell img { width: 24px; height: 24px; object-fit: contain; image-rendering: pixelated; pointer-events: none; }
#ui .popup.sellc .sc-cell em { position: absolute; right: 2px; top: 0; font-style: normal; font-size: 8.5px; font-weight: 900; color: #ffd36b; text-shadow: 0 1px 2px #000; }
#ui .popup.sellc .sc-more { --gc: rgba(255, 255, 255, .25); font-size: 11px; font-weight: 800; color: var(--ink-soft); cursor: default; }
/* 위 칸 → 얻는 것 사이: 가는 빛선 + 가운데 아래 화살표(흐름 = 판다 → 얻는다) */
#ui .popup.sellc .sc-get { position: relative; margin: 14px 0 8px; padding-top: 14px; }
#ui .popup.sellc .sc-get::before { content: ''; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent); }
#ui .popup.sellc .sc-get::after { content: ''; position: absolute; left: 50%; top: -5px; width: 8px; height: 8px; margin-left: -4px; transform: rotate(45deg);
  background: #1f2325; box-shadow: 1px 1px 0 rgba(255, 255, 255, .28); }
#ui .popup.sellc .sc-gets { display: flex; justify-content: center; gap: 10px; }
#ui .popup.sellc .sc-gets .qr-cell { cursor: pointer; }
#ui .popup.sellc .sc-cap { margin-top: 8px; font-size: 11px; color: var(--ink-soft); text-align: center; }   /* 판매 시간석 하루 상한 · 오늘 남은 수 */
#ui .popup.sellc .sc-cap.out { color: #ff8a80; }
#ui .popup.sellc .sc-btns { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
#ui .popup.sellc .sc-btns .btn { flex: none; min-width: 76px; min-height: 0; height: 28px; padding: 0 16px; font-size: 12px; }
#ui .popup.sellc .sc-gets .qr-cell { animation-delay: calc(260ms + var(--i, 0) * 90ms); }   /* 팔 칸이 다 뜬 뒤 얻는 칸 */
#ui .inv-actions .inv-equip.lv-low { opacity: .45; filter: grayscale(1); }   /* 장착 레벨 부족(inv_fx drawCard) — 누르면 'Lv N 필요' 안내 */
/* 가방 칸 수 · 가방 가득 안내(bag_full.js, chestfull-1107): 칸 수 = 물품 이름 줄 오른쪽 작은 글(90% 주황 · 가득 빨강) ·
   안내 = 작은 팝업 어두운 판(판매 확인 창과 같은 틀) · 폭 280 · 제목 15 · 칸 막대 · 단추 = 글자 폭 알약 28(가방 보조 · 일괄 판매 금색) */
#ui .inv-label .inv-count { margin-left: auto; padding-right: 4px; font-size: 11.5px; font-weight: 700; color: var(--ink-soft, #a9a391); font-variant-numeric: tabular-nums; }
#ui .inv-label .inv-count.warn { color: #ffb74d; }
#ui .inv-label .inv-count.full { color: #ff8a80; }
/* 칸 늘리기 [+](11-08 bagfix-1108): 칸 수 바로 옆 작은 원 — 누름 = 다이아 확인 창(bag_full.js bagExtBuy) */
#ui .inv-label .inv-bagx { flex: none; width: 20px; height: 20px; margin: 0 2px 0 2px; padding: 0; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); color: #fff; font: 800 14px/20px sans-serif; text-align: center; cursor: pointer; }
#ui .inv-label .inv-bagx[hidden] { display: none; }
#ui .inv-label .inv-bagx:active { transform: scale(.88); }
#ui .inv-label .inv-count.full + .inv-bagx { background: #c79a3a; box-shadow: 0 0 6px rgba(255, 196, 80, .6); animation: bf-pulse 1.2s ease-in-out infinite; }
#ui .popup.bagfull { width: 280px; padding: 16px 18px 16px; text-align: center; }
#ui .popup.bagfull .bf-h { margin: 0 0 12px; font-size: 15px; color: var(--ink); }
#ui .popup.bagfull .bf-meter { position: relative; height: 18px; border-radius: 9px; background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); overflow: hidden; }
#ui .popup.bagfull .bf-meter i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); background: linear-gradient(90deg, #6f8f5a, #9cc27a); }
#ui .popup.bagfull .bf-meter.warn i { background: linear-gradient(90deg, #a4772e, #ffb74d); }
#ui .popup.bagfull .bf-meter.full i { background: linear-gradient(90deg, #8e3a32, #ff8a80); animation: bf-pulse 1.2s ease-in-out infinite; }
#ui .popup.bagfull .bf-meter b { position: relative; display: block; line-height: 18px; font-size: 11.5px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000; font-variant-numeric: tabular-nums; }
#ui .popup.bagfull .bf-need { margin: 10px 0 0; font-size: 12px; line-height: 1.45; color: var(--ink-soft); word-break: keep-all; overflow-wrap: anywhere; }   /* 어절 줄바꿈(juho4fix-1115: 방치 보상 안내가 '못합니/다' 로 끊김) */
#ui .popup.bagfull .bf-btns { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
#ui .popup.bagfull .bf-btns .btn { flex: none; min-width: 76px; min-height: 0; height: 28px; padding: 0 16px; font-size: 12px; }
#ui .popup.bagfull .bf-btns .btn:active { transform: scale(.94); }
@keyframes bf-pulse { 50% { filter: brightness(1.35); } }

/* gf:js-pack prototype/Spikes/rt-battle/features/bag/sellguard.css */
/* 일괄 판매 실수 막기 · 되사기(sellguard-1108 — auto_sell.js 보호 체크 · sell_confirm.js 경고 줄 · buyback_win.js 되사기 창).
   판 · 모서리 = 공용 작은 팝업 판(18-popup-dark) · 크기 = 판매 확인 창 값(폭 300 · 제목 15 · 칸 36 · 단추 28 · 글자 11~12).
   색 = 등급색 · 결정 청록(.btn.gold) · 위험 = 판매 확인 창 시간석 상한 줄의 붉은 #ff8a80 · 체크 켬 = 판매 모드 금 테 #ffd36b. */

/* 판매 모드 줄: [자동 선택] 오른쪽 체크 둘(희귀 이상 · 잠재) — 글자 폭 · 높이 = 단추 28 */
#ui .inv-foot .inv-pkinc { flex: none; display: flex; gap: 4px; }
#ui .inv-foot .inv-pkinc[hidden] { display: none; }
#ui .inv-foot .inv-pkchk { flex: none; display: flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px 0 6px; border: 0; border-radius: 13px; cursor: pointer;
  font: inherit; font-size: 10.5px; font-weight: 700; color: #d9d6cc; background: rgba(0, 0, 0, .38); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); white-space: nowrap; }
#ui .inv-foot .inv-pkchk i { position: relative; flex: none; width: 12px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
#ui .inv-foot .inv-pkchk.on { color: #ffe6a6; box-shadow: inset 0 0 0 1px rgba(255, 211, 107, .7); }
#ui .inv-foot .inv-pkchk.on i { background: #ffd36b; box-shadow: none; }
#ui .inv-foot .inv-pkchk.on i::after { content: ''; position: absolute; left: 4px; top: 1px; width: 3px; height: 7px; border: solid #2a2418; border-width: 0 2px 2px 0; transform: rotate(45deg); }
#ui .inv-foot .inv-pkchk:active { transform: scale(.92); }
#ui .inv-foot .inv-pkchk.on i { animation: pk-tick .26s cubic-bezier(.3, 1.6, .6, 1); }
@keyframes pk-tick { 0% { transform: scale(.6); } 100% { transform: scale(1); } }

/* [되사기] = [판매] 바로 왼쪽 보조 알약 */
#ui .inv-foot #inv-bb:not([hidden]) { margin-left: auto; }
#ui .inv-foot:has(#inv-bb:not([hidden])) #inv-sell { margin-left: 0; }
#ui .inv .inv-foot .btn.inv-bb { min-width: 0; padding: 0 12px; }
/* 좁은 판(.sell2 — buyback_win.js 가 줄이 넘칠 때 붙임): [희귀 이상][잠재] · [되사기] = 줄 위 띠(높이 26, 물품 칸 판을 32 줄임).
   아래 줄 = [자동 선택] … [판매][톱니] — 판매 모드 전 줄([자동 장착] … [판매][톱니])과 같은 폭이라 어느 언어든 판 안에 든다. */
#ui .items-pane.sell2 .grid-box { height: 219px; }
#ui .items-pane.sell2 .inv-foot .inv-pkinc { position: absolute; left: 0; top: -28px; }
#ui .inv .items-pane.sell2 .inv-foot .btn.inv-bb { position: absolute; right: 0; top: -28px; height: 26px; min-height: 0; margin: 0; }
#ui .items-pane.sell2 .inv-foot:has(#inv-bb) #inv-sell { margin-left: auto; }

/* 판매 확인 창 경고 줄: 제목 아래 붉은 글 + 경고 칸 붉은 테 */
#ui .popup.sellc .sc-alert { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; margin: -4px 0 10px; padding: 5px 10px; border-radius: 8px;
  font-size: 11.5px; font-weight: 800; color: #ff8a80; background: rgba(255, 90, 80, .1); box-shadow: inset 0 0 0 1px rgba(255, 138, 128, .35); animation: sc-warn-in .32s ease-out both; }
#ui .popup.sellc .sc-alert span::before { content: '!'; display: inline-grid; place-items: center; width: 13px; height: 13px; margin-right: 4px; border-radius: 50%; font-size: 9px; color: #2a1512; background: #ff8a80; vertical-align: 1px; }
#ui .popup.sellc .sc-cell.sc-warn { box-shadow: inset 0 0 0 1px var(--gc), inset 0 -9px 11px -8px var(--gc), 0 0 0 1.5px #ff8a80; }
@keyframes sc-warn-in { 0% { opacity: 0; transform: translateY(-3px); } 100% { opacity: 1; transform: none; } }

/* 되사기 창 */
#ui .popup.bbw { width: 300px; padding: 16px 16px 14px; text-align: center; }
#ui .popup.bbw .bb-h { margin: 0 0 4px; font-size: 15px; color: var(--ink); }
#ui .popup.bbw .bb-sub { font-size: 11px; color: var(--ink-soft); margin-bottom: 10px; }
#ui .popup.bbw .bb-list { max-height: 214px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 2px; text-align: left; overscroll-behavior: contain; }
#ui .popup.bbw .bb-row { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 8px; background: rgba(255, 255, 255, .05);
  animation: fx-card-in .28s ease-out both; animation-delay: calc(var(--i, 0) * 40ms); }
#ui .popup.bbw .bb-cell { position: relative; flex: none; width: 36px; height: 36px; border-radius: 6px; display: grid; place-items: center; cursor: pointer;
  background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px var(--gc), inset 0 -9px 11px -8px var(--gc); }
#ui .popup.bbw .bb-cell img { width: 24px; height: 24px; object-fit: contain; image-rendering: pixelated; pointer-events: none; }
#ui .popup.bbw .bb-cell em { position: absolute; right: 2px; top: 0; font-style: normal; font-size: 8.5px; font-weight: 900; color: #ffd36b; text-shadow: 0 1px 2px #000; }
#ui .popup.bbw .bb-cell .bb-pot { position: absolute; left: 3px; bottom: 3px; width: 6px; height: 6px; border-radius: 50%; background: #c99cff; box-shadow: 0 0 4px #c99cff; }   /* 잠재 = 아이템 정보 카드 잠재 상자 보라 */
#ui .popup.bbw .bb-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#ui .popup.bbw .bb-txt b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .popup.bbw .bb-txt small { font-size: 10px; color: var(--ink-soft); }
#ui .popup.bbw .bb-txt small.soon { color: #ff8a80; }
#ui .popup.bbw .bb-go { flex: none; display: flex; align-items: center; gap: 3px; min-width: 0; min-height: 0; height: 26px; padding: 0 10px; font-size: 11.5px; }
#ui .popup.bbw .bb-go img { width: 13px; height: 13px; }
#ui .popup.bbw .bb-go.off { filter: grayscale(.7) brightness(.75); }
#ui .popup.bbw .bb-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 0 18px; font-size: 11.5px; color: var(--ink-soft); }
#ui .popup.bbw .bb-empty i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); position: relative; }
#ui .popup.bbw .bb-empty i::after { content: ''; position: absolute; left: 6px; top: 5px; width: 8px; height: 8px; border: solid rgba(255, 255, 255, .4); border-width: 1.5px 0 0 1.5px; transform: rotate(-45deg); }   /* 되돌림 화살 글리프(무채색) */
#ui .popup.bbw .bb-btns { display: flex; justify-content: center; margin-top: 12px; }
#ui .popup.bbw .bb-btns .btn { flex: none; min-width: 76px; min-height: 0; height: 28px; padding: 0 16px; font-size: 12px; }

/* gf:js-pack prototype/Spikes/rt-battle/features/bag/inv_filter.css */
/* 물품 창 무기 · 방어구 탭 거르기 · 정렬 줄(invfilter-1109, features/bag/inv_filter.js).
   값 = 경매장 정렬 알약 · 펼침 판(14-auction .au-sortbtn · .au-sortpop · .au-sortopt · .au-grade 점)과 같다 — 회색 반투명 글자 폭 알약(높이 28 · 글자 12), 펼침 = 어두운 판 #26292b.
   참고 = 도깨비의 세계 물품 · 의복 창 `획득순 ⌄` 회색 알약(analysis/dokkaebi-world.md §9 작은 부품). 강조 = 거르는 중 금 글자(#e8c979 = au-sortopt.on) · 등급 점 = 등급 등록부 색뿐.
   줄이 보이면(무기 · 방어구 탭) 칸 판(04-inventory .grid-box top 61 · 높이 251)을 28 + 4 내린다. */
#ui .items-pane.ifl-on > .grid-box { top: 93px; height: 219px; }
#ui .items-pane > .ifl-bar { top: 61px; height: 28px; display: flex; align-items: center; gap: 4px; }
#ui .items-pane > .ifl-bar[hidden], #ui .items-pane > .ifl-pop[hidden] { display: none; }
#ui .ifl-gap { flex: 1; min-width: 0; }
/* 알약 = 글자 폭(flex: none) · 판 폭으로 늘이지 않는다 */
#ui .ifl-pill { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 28px; max-width: 116px; padding: 0 10px 0 9px; border-radius: 999px; white-space: nowrap;
  font-size: 12px; font-weight: 800; color: var(--ink); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: transform .06s ease-out, background-color .12s; }
#ui .ifl-pill b { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 800; }
#ui .ifl-pill.set { color: #e8c979; }
#ui .ifl-pill.open { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .55); }
#ui .ifl-pill:active { transform: scale(.92); }
#ui .ifl-pill.fx-up { animation: inv-release .18s ease-out; }   /* 뗄 때 1.06 튕김(inv_fx.css) */
#ui .ifl-caret { flex: none; width: 6px; height: 6px; margin-left: 1px; border: solid #c9ccc6; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
#ui .ifl-pill.open .ifl-caret { transform: translateY(1px) rotate(-135deg); }
/* 흰 선 글리프(글자색 마스크): 거름 = 깔때기, 정렬 = 줄 셋 + 아래 화살 */
#ui .ifl-ico { flex: none; width: 13px; height: 13px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
#ui .ifl-ico.i-kind { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M2 3h12l-4.6 5.4V13l-2.8-1.4V8.4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M2 3h12l-4.6 5.4V13l-2.8-1.4V8.4z'/%3E%3C/svg%3E"); }
#ui .ifl-ico.i-sort { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h7M2 8h5M2 12h3M12 3v10M9.5 10.5 12 13l2.5-2.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h7M2 8h5M2 12h3M12 3v10M9.5 10.5 12 13l2.5-2.5'/%3E%3C/svg%3E"); }
#ui .ifl-pill.set .ifl-ico { color: #e8c979; }
/* 등급 점 = 납작한 원(전체 = 빈 고리 — 경매장 au-grade 와 같은 결) */
#ui .ifl-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #8a8e89; }
#ui .ifl-dot.set { background: var(--dc); box-shadow: none; }
/* 펼침 판 = 누른 알약 바로 아래(정렬은 오른쪽 끝 맞춤) */
#ui .items-pane > .ifl-pop { top: 93px; right: auto; z-index: 6; display: flex; flex-direction: column; min-width: 128px; padding: 4px; border-radius: 10px; background: #26292b;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 8px 18px #0008; transform-origin: top left; animation: ifl-pop .14s ease-out both; }
#ui .items-pane > .ifl-pop.right { left: auto; right: 8px; transform-origin: top right; }
#ui .ifl-opt { position: relative; flex: none; display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 26px 0 10px; border-radius: 6px; text-align: left; white-space: nowrap;
  font-size: 12px; font-weight: 800; color: #a3a6a0; }
#ui .ifl-opt span { flex: 1; }
#ui .ifl-opt em { flex: none; min-width: 16px; font-style: normal; font-size: 10.5px; font-weight: 800; text-align: right; color: #7d817c; font-variant-numeric: tabular-nums; }
#ui .ifl-opt.none { opacity: .45; }
#ui .ifl-opt.on { color: #e8c979; background: rgba(232, 201, 121, .12); }
#ui .ifl-opt.on::after { content: ""; position: absolute; right: 10px; top: 8px; width: 4px; height: 8px; border: solid #e8c979; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (hover: hover) { #ui .ifl-opt:hover { background: rgba(255, 255, 255, .06); } #ui .ifl-opt.on:hover { background: rgba(232, 201, 121, .16); } }
@keyframes ifl-pop { from { transform: scale(.92); opacity: 0; } }

/* gf:js-pack prototype/Spikes/rt-battle/features/smithy/artisan_look.css */
/* 장인 전용 금테(artisanC2-1113 — 형창님 11-13 "장인 무기는 격이 다른 무언가" C안 ③): 장비 칸 · 가방 칸(art1~3 = features/smithy/artisan_look.js markCell · 07-binding-host inv.cells)
   · 아이템 정보 카드(.icard:has(.ic-art) — 물품 창 · 툴팁 · 경매장 · 상점이 같은 카드). 장인 무기 등급 = 신화(등급색 금 그대로 — 등급색 체계는 손대지 않는다)라
   신화와 가르는 것은 색이 아니라 모양: 등급 테 바깥에 한 겹 더 두른 "두 겹 금속 테"(어두운 홈 1px + 밝은 금 1.5px) · 네 모서리 마름모 징 · 단계 속빛(적염 불 · 천상 하늘 · 태고 보라)
   · 단계별 강도(1 = 테만 · 2 = 테 + 바깥 빛 · 3 = 테 + 숨쉬는 바깥 빛 + 보라 별 징). 금속 금(#fff1c4 · #d9a441 · #7a4d10)은 등급색이 아니다(등급색 아님).
   그래픽 낮음(html.gfx-low) · 움직임 줄이기 = 숨쉬기 끔. */
/* 무게: :is(…, #art-w) = id 하나 무게(#art-w 는 없는 id — :is 는 가장 무거운 인자 무게) → 물품 창 #ui #inv-dim .item-cell(.on) 그림자 · 배경보다 무겁다(sandbox 캡처에서 테가 덮였던 것).
   :not(.art-x) = 물품 칸 영웅↑ 맥동(inv_fx.css inv-glow) 과도 겹치지 않게 같은 꼴 유지 */
#ui :is(.item-cell, .equip-cell, #art-w):is(.art1, .art2, .art3):not(.off):not(.art-x) {
  --art-in: rgba(255, 120, 50, .42); --art-gc: rgba(255, 214, 120, .45); --art-g0: 0px; --art-g1: 5px;
  --art-ring: 0 0 0 1px #3a2306, 0 0 0 2.5px #d9a441, 0 0 0 3px rgba(122, 77, 16, .9);
  border-color: #fff1c4;   /* 등급색 아님 — 장인 금속 테 */
  box-shadow: var(--art-ring), 0 0 var(--art-g0) var(--art-gc), inset 0 0 9px var(--art-in), inset 0 1px rgba(255, 255, 255, .3);
  background-image: radial-gradient(circle at 0 0, #fff1c4 0 2px, transparent 2.5px), radial-gradient(circle at 100% 0, #fff1c4 0 2px, transparent 2.5px),
    radial-gradient(circle at 0 100%, #fff1c4 0 2px, transparent 2.5px), radial-gradient(circle at 100% 100%, #fff1c4 0 2px, transparent 2.5px),
    radial-gradient(120% 80% at 30% 12%, rgba(255, 255, 255, .2), transparent 55%), linear-gradient(160deg, color-mix(in srgb, var(--gc) 58%, #1d2124), color-mix(in srgb, var(--gc) 16%, #121517));
  animation: art-pulse 2.4s ease-in-out infinite;
}
#ui :is(.item-cell, .equip-cell, #art-w).art2:not(.off):not(.art-x) { --art-in: rgba(130, 200, 255, .5); --art-gc: rgba(255, 214, 120, .6); --art-g0: 6px; --art-g1: 11px; animation-duration: 2s; }
#ui :is(.item-cell, .equip-cell, #art-w).art3:not(.off):not(.art-x) { --art-in: rgba(176, 150, 255, .55); --art-gc: rgba(255, 220, 140, .85); --art-g0: 8px; --art-g1: 17px; border-color: #fffaf0;
  --art-ring: 0 0 0 1px #3a2306, 0 0 0 2.5px #f3cf6d, 0 0 0 3.5px rgba(122, 77, 16, .9); animation-duration: 1.6s; }
#ui :is(.item-cell, .equip-cell, #art-w).art3:not(.off) .icon { filter: drop-shadow(0 0 2px rgba(255, 236, 190, .8)); }
@keyframes art-pulse {
  0%, 100% { box-shadow: var(--art-ring), 0 0 var(--art-g0) var(--art-gc), inset 0 0 9px var(--art-in), inset 0 1px rgba(255, 255, 255, .3); }
  50% { box-shadow: var(--art-ring), 0 0 var(--art-g1) var(--art-gc), inset 0 0 13px var(--art-in), inset 0 1px rgba(255, 255, 255, .45); }
}
/* 물품 칸 고름(.on) = 흰 바깥 줄(outline)은 그대로 — 테는 box-shadow 라 겹치지 않는다 */

/* ---- 아이템 정보 카드: 분류 줄 끝 금 알약 "장인 III" · 카드 바깥 금테(단계별 강도) · 머리 띠 위 금 줄 ---- */
#ui .icard .ic-art { display: inline-block; margin-left: 5px; padding: 0 5px; height: 12px; border-radius: 999px; vertical-align: 1px; font-style: normal;
  background: linear-gradient(#fff1c4, #d9a441 60%, #a8711d); box-shadow: 0 0 0 1px #3a2306, 0 0 5px rgba(255, 214, 120, .6); }
#ui .icard .ic-art b { font-size: 8px; font-weight: 900; line-height: 12px; letter-spacing: .3px; color: #2a1a04; text-shadow: none; }
#ui .icard .ic-art[data-art="3"] { background: linear-gradient(#fffaf0, #f3cf6d 55%, #b98a2c); box-shadow: 0 0 0 1px #3a2306, 0 0 7px rgba(200, 170, 255, .8); }
#ui .icard:has(.ic-art) { box-shadow: inset 0 0 0 1px #d9a441, inset 0 0 0 2px rgba(58, 35, 6, .9), 0 0 0 1px rgba(122, 77, 16, .8); }
#ui .icard:has(.ic-art[data-art="2"]) { box-shadow: inset 0 0 0 1px #e8bb55, inset 0 0 0 2px rgba(58, 35, 6, .9), 0 0 0 1px rgba(122, 77, 16, .8), 0 0 10px rgba(255, 214, 120, .35); }
#ui .icard:has(.ic-art[data-art="3"]) { box-shadow: inset 0 0 0 1.5px #f3cf6d, inset 0 0 0 2.5px rgba(58, 35, 6, .9), 0 0 0 1px rgba(122, 77, 16, .9), 0 0 14px rgba(255, 220, 140, .5), 0 0 22px rgba(176, 150, 255, .25); }
#ui .it-tip.icard:has(.ic-art) { box-shadow: inset 0 0 0 1px #d9a441, inset 0 0 0 2px rgba(58, 35, 6, .9), 0 0 0 1px rgba(122, 77, 16, .8), 0 8px 22px rgba(0, 0, 0, .6); }
#ui .it-tip.icard:has(.ic-art[data-art="2"]) { box-shadow: inset 0 0 0 1px #e8bb55, inset 0 0 0 2px rgba(58, 35, 6, .9), 0 0 0 1px rgba(122, 77, 16, .8), 0 0 10px rgba(255, 214, 120, .35), 0 8px 22px rgba(0, 0, 0, .6); }
#ui .it-tip.icard:has(.ic-art[data-art="3"]) { box-shadow: inset 0 0 0 1.5px #f3cf6d, inset 0 0 0 2.5px rgba(58, 35, 6, .9), 0 0 0 1px rgba(122, 77, 16, .9), 0 0 14px rgba(255, 220, 140, .5), 0 0 22px rgba(176, 150, 255, .25), 0 8px 22px rgba(0, 0, 0, .6); }
#ui .icard:has(.ic-art) .ic-head { border-top: 1.5px solid #e8bb55; }
#ui .icard:has(.ic-art[data-art="3"]) .ic-head { border-top-color: #fff1c4; }

html.gfx-low #ui :is(.item-cell, .equip-cell, #art-w):is(.art1, .art2, .art3):not(.off):not(.art-x) { animation: none; }
@media (prefers-reduced-motion: reduce) { #ui :is(.item-cell, .equip-cell, #art-w):is(.art1, .art2, .art3):not(.off):not(.art-x) { animation: none; } }

/* gf:js-pack prototype/Spikes/rt-battle/features/itemtip/item_tip.css */
/* 아이템 칸 누름 정보 창(features/itemtip/item_tip.js) = 물품 창 아이템 정보 카드(.icard, features/bag/inv_fx.css) 그대로 — 폭 · 자리는 js(물품 창 #inv-detail 값).
   여기는 띄움 · 판 바탕만: 물품 창 카드는 어두운 칸 판 위라 .78, 정보 창은 장면 위에 바로 뜨므로 진하게. */
#ui .it-tip.icard { position: absolute; z-index: var(--z-tip, 70); text-align: left; background: rgba(12, 13, 14, .96);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 8px 22px rgba(0, 0, 0, .6); animation: fx-pop .18s cubic-bezier(.2, .9, .3, 1.3) both; pointer-events: none; }
/* 큰 칸 = 물품 창 카드에서 실제로 보이는 값(#ui #inv-dim .item-cell 39 · 그림 23.76 이 .icard 44 를 이김 — 04-inventory) */
#ui .it-tip.icard .item-cell.big { width: 39px; height: 39px; border-radius: 7px; box-shadow: inset 0 -9px 11px -8px color-mix(in srgb, var(--gc) 85%, #fff), inset 0 1px rgba(255, 255, 255, .22); }
/* 누를 수 있는 칸 = 손 모양 · 정보가 떠 있는 칸 = 흰 빛 테(고른 것 = 크기 대신 빛, 고품질UI §1) */
[data-it] { cursor: pointer; }
#ui [data-it].it-on { outline: 1.5px solid rgba(242, 240, 231, .85); outline-offset: 1px; }
/* [자세히 보기](상세 창이 따로 있는 물품 — 스킬북) = 카드 맨 아래 오른쪽 글자 폭 알약. 판은 누름을 통과시키므로 알약만 누름을 받는다.
   높이 26 · 좌우 14 · 기본 베이지 = 전체화면 창 알약(01-popup .popup.full .btn)과 같은 결, 글자 10 = 카드 줄(9)보다 한 단계 */
#ui .it-tip.icard .it-go { display: flex; justify-content: flex-end; margin-top: 8px; }
#ui .it-tip.icard .it-more { flex: none; min-height: 26px; padding: 0 14px; border: 0; border-radius: 999px; pointer-events: auto; cursor: pointer;
  background: linear-gradient(#ece4d3, #c9bda6); color: #2b261e; font: inherit; font-size: 10px; font-weight: 800; white-space: nowrap; }
#ui .it-tip.icard .it-more:active { transform: scale(.92); transition: transform 60ms; }

/* gf:js-pack prototype/Spikes/rt-battle/features/scroll/scroll.css */
/* 주문서 강화 창(하이랜드 P1-B · LANES G6, DESIGN §4.10). 10-23 사용자 "일러스트는 왜 … 구성 요소가 너무 부족 … 주문서도 숫자 박아두는 게 아니라 아이콘 … 변경버튼은 왜 …
   차라리 팝업식" → 팝업 560(GUI 450 기준). 판 = G7 상점 툴팁(townshop.css .popup.ts-buy, 메이플 툴팁 결)과 같은 값: 무채 검은 반투명 .95 · 1px 회색 테 · 구획 점선.
   10-23 이어서 "위에 강화할 장비 … 필요없음 … 아이템정보탭처럼 메이플스토리식 UI … 마지막 값만 … 힘|속도|마나|잠재옵션|기타"(G6-OPTIONS.md) →
   [왼쪽 메이플 툴팁(물품 창 아이템 정보 카드 .icard 그대로 — inv_fx.css) | 오른쪽 탭 5 + 주문서 줄 + 확인 줄]. 큰 칸 44 · 제목 15 · 본문 11.5~12 · 알약 28 · 단추 = 글자 폭.
   색 = 등급색(등급 등록부) · 주문서 띠 = data/scrolls.json chances[].band · 주문서 능력치 #aab4ff · 오른 값 #66ffff · 금 #e8c979 · 모자람 #ffb3a8(모두 ts-buy 와 같은 값)
   · 재생 청록 #5fc9a8(stone.regen.svg 돌 빛) · 결정 청록(.btn.gold). */
/* 10-24 사용자 "UI/UX 왤케 구리냐 … 인벤토리 아이템 정보 글자 작아졌는데 강화에서 보여 주는 아이템도 … 전반적으로 글자가 너무 큼 · ui 가 꾸며지지도 않았고" →
   판 = 하이랜드 작은 팝업 공통 판(windows-css 18-popup-dark: #25292b → #1b1e20 · 둥근 12 · 네 모서리 Codex 꽃 문양 베이지 금 #cdb98f — 이 창만 빠져 있던 것)
   · 제목 = 진주빛 명조(EnhTitle, 강화 결과 도장과 같은 글꼴) + 양 끝 흐린 빛선 · 툴팁 = 들어간 어두운 판(글자 = 아이템 정보 카드 공통 값 8.5) · 주문서 줄 = 띠 색 왼쪽 결
   · 확률 = 띠 색 막대 그래프(hq-ui "글자 대신 그래프"). 크기 560 × 403 → 440 × 326 · 탭 24/10 · 줄 32/10 · 단추 24/10.5 · 제목 14 */
#ui .popup.scr { --ink: #f2f0e7; --ink-soft: #9a9d98; position: relative; width: 440px; padding: 14px 16px 14px; border: 0; border-image: none; border-radius: 12px; color: var(--ink);
  filter: none; }   /* 폭 500 → 440 되돌림(11-18 형창님 "강화UI 팝업에서 어빌리티 탭 제거해줘 이제, 전에 가로로 일부로 늘렸는데 다시 줄여주고" — 탭 넷 = 능력치 · 추가옵션 · 잠재옵션 · 확장, 11-17 sbwide 이전 폭) · 판(불투명 — 물품 창 위에서 비치지 않음, 10-23 "비침") = 아래 장식 두 겹 */
/* 판 겉모양 = 공통 규칙을 받는 장식 두 겹(scroll.js SKIN — 10-24 사용자 "강화탭이 나인패치가 다른 거랑 다르게 … 이런 일 안 생기게 통일"). 여기에는 값을 적지 않는다:
   판 색 · 테 · 그림자 · 둥근 · 모서리 · 띠는 windows-css 18-popup-dark(#ui .popup:not(…)) 가 .gf-skin 에 그대로 칠한다. 여기서는 자리(판을 덮음) · 층(back 뒤, front 위) · 움직임 끔만.
   창 자신(.popup.scr · .scr-cube-in · .scr-odds-in)은 판을 그리지 않고 isolation 으로 층을 가둔다(back z −1 이 막 뒤로 빠지지 않게). */
#ui :is(.popup.scr, .scr .scr-cube-in, .scr .scr-odds-in) { isolation: isolate; background: none; box-shadow: none; }
#ui .dim .scr .popup.gf-skin { position: absolute; inset: 0; z-index: -1; display: block; width: auto; height: auto; min-width: 0; min-height: 0; max-width: none; max-height: none; margin: 0; pointer-events: none; animation: none; transform: none; }
#ui .dim .scr .popup.gf-skin.back::after { content: none; }
#ui .dim .scr .popup.gf-skin.front { z-index: 2; background: none; box-shadow: none; }
#ui .popup.scr > .scr-body { margin-top: 8px; }
#ui .scr .btn { flex: none; min-height: 24px; padding: 0 12px; border: 0; border-image: none; border-radius: 999px; background: linear-gradient(#ece4d3, #c9bda6); color: #2b261e; text-shadow: none; filter: none;
  font-size: 10.5px; font-weight: 800; white-space: nowrap; box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .35); }   /* = 18-popup-dark .btn 결 · 높이 24 */
#ui .scr .btn.gold { background: linear-gradient(#83c3bf, #548f8c); color: #fff; }
#ui .scr .btn.plain { background: rgba(255, 255, 255, .12); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .scr .btn.off { filter: grayscale(1); opacity: .45; }
#ui .scr .scr-empty { padding: 24px 0; text-align: center; font-size: 11px; font-weight: 800; color: var(--ink-soft); }

/* 머리: 제목(주문서 흰 선 그림 + 진주빛 명조) · 지갑 알약(금 · 다이아) · 아래 양 끝 흐린 1px 빛선(hq-ui 제목 띠) */
#ui .scr .scr-head { position: relative; display: flex; align-items: center; justify-content: space-between; height: 20px; padding: 0 18px 7px 16px; box-sizing: content-box; }   /* 양옆 = 모서리 문양 자리 */
#ui .scr .scr-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 214, 170, .55) 18%, rgba(255, 255, 255, .28) 50%, rgba(232, 214, 170, .55) 82%, transparent); }
#ui .scr .scr-head h2 { display: flex; align-items: center; gap: 5px; margin: 0; font-family: "EnhTitle", "GFUIFont", sans-serif; font-size: 14px; font-weight: 900; letter-spacing: 1px;
  color: #f4efe2; text-shadow: 0 0 6px rgba(255, 240, 210, .35), 0 1px 2px #000; }
#ui .scr .scr-head h2::before { content: ""; width: 15px; height: 15px; background: #e8d6aa; -webkit-mask: url(assets/growth/icons/items/scroll.stat-str.svg) center / contain no-repeat; mask: url(assets/growth/icons/items/scroll.stat-str.svg) center / contain no-repeat; }
#ui .scr .scr-wallet { display: flex; gap: 4px; font-size: 10px; font-weight: 800; }
#ui .scr .scr-wallet > span { display: inline-flex; align-items: center; gap: 3px; height: 18px; padding: 0 7px 0 3px; border-radius: 999px; background: rgba(0, 0, 0, .32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .scr .scr-wallet img { width: 13px; height: 13px; }
#ui .scr .scr-wallet .w-gold { color: #e8c979; } #ui .scr .scr-wallet .w-diamond { color: #8fc6ff; }   /* = 18-popup-dark win-wallet 색 */

/* 본문 [왼쪽 툴팁 판 196 | 오른쪽 탭 · 주문서 · 확인]. 툴팁이 길면 툴팁만 끌어 스크롤(touch_scroll) */
/* 본문 높이 고정(창이 탭 · 장비마다 늘었다 줄며 위아래로 움직이지 않게 — 10-23 사용자 "힘 → 잠재옵션 가면 칸이 막 움직임 · 불편"). 확인 줄은 아래 붙음(scr-foot margin-top auto). */
#ui .scr .scr-body { position: relative; display: grid; grid-template-columns: 192px 1fr; gap: 10px; height: 320px; }   /* 270 → 290(10-24 능력치 세부 탭 줄 18 + 간격) → 320(11-25 형창님 사진: 잠재옵션 탭 주문서 5줄 = 오른쪽 317 · 능력치 탭 306 이라 [닫기][사용]이 판 아래로 빠졌다 — 실측 uiaudit-scrfoot-1125b) */
#ui .scr .scr-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden auto; padding: 8px 9px; border-radius: 8px; scrollbar-width: none;   /* 판 안 여백 = 대상 칸 튐(1.18 배) · 기 모음 빛 자리 */
  background: radial-gradient(120% 60% at 50% 0, rgba(255, 255, 255, .05), transparent 70%), rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 2px 6px rgba(0, 0, 0, .35); }
#ui .scr .scr-stage::-webkit-scrollbar { display: none; }
#ui .scr .scr-ctl { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

/* 왼쪽 툴팁 = .icard(inv_fx.css 메이플 아이템 정보) + 추옵 · 잠재 구획. 판 배경은 창이 이미 깔았다 */
#ui .scr .scr-icard { padding: 0 0 2px; background: none; box-shadow: none; border: 0; }
#ui .scr .scr-icard .ic-head { margin: 0; padding: 5px 10px; border-radius: 6px; }   /* 판 없는 툴팁 = 머리 띠만 둥글게 */
#ui .scr .scr-icard .ic-gain { align-items: flex-start; gap: 1px; }   /* 별 줄(옛 +n 강화, 꺼짐)은 뺐다 — 칸 오른쪽 = 착용 Lv · 업그레이드 가능 횟수 · 복구 가능 횟수(메이플 툴팁 아래 줄을 위로 모음) */
#ui .scr .scr-icard .scr-left { font-size: 8.5px; font-weight: 800; color: var(--ink); } #ui .scr .scr-icard .scr-fails { font-size: 8px; font-weight: 700; color: var(--ink-soft); }
/* 강화 창 툴팁(10-24 사용자 "강화탭 아이템 보여 주는 게 글자들이 큼지막"): 칸 44 → 38 · 구획 간격 4. 글자 크기는 아이템 정보 카드 공통 값(inv_fx.css .icard — 같은 날 "아이템 설명 크기 정규화")을 그대로 쓴다 */
#ui .scr .scr-icard > div + div { margin-top: 5px; }
#ui .scr .scr-icard .item-cell.big { width: 38px; height: 38px; }
#ui .scr .scr-icard .ic-parts em { font-style: normal; } #ui .scr .scr-icard .ic-parts em.b { color: #ccff00; } #ui .scr .scr-icard .ic-parts em.s { color: #aab4ff; }   /* 메이플: 추옵 #ccff00 · 주문서 #aab4ff */
/* 추옵 · 잠재 글자 = 아이템 정보 카드 공통 값(inv_fx.css .icard — 줄 8.5/11.5) */
#ui :is(.scr, .icard) .scr-sec { display: flex; align-items: center; gap: 4px; margin-bottom: 1px; font-size: 8.5px; font-weight: 900; color: var(--ink, #f2f0e7); }
/* 추옵 단계 색(10-24 사용자 "1추면 붉은색 2추면 초록색 3추면 노란색 4추면 보라색 5추면 파란색 6추면 회색"): 줄마다 --cc = 숫자 칸 바탕 · 글자 = --cc 를 흰색에 섞은 밝은 색(어두운 판에서 읽힘). 7추 = 6추와 같은 회색 */
#ui :is(.scr, .icard) .scr-bonus .ic-line.b { --cc: #8d9196; color: color-mix(in srgb, var(--cc) 62%, #fff); }
#ui :is(.scr, .icard) .scr-bonus .ic-line.b.c1 { --cc: #ff5a4e; } #ui :is(.scr, .icard) .scr-bonus .ic-line.b.c2 { --cc: #56d16a; } #ui :is(.scr, .icard) .scr-bonus .ic-line.b.c3 { --cc: #ffd23f; }
#ui :is(.scr, .icard) .scr-bonus .ic-line.b.c4 { --cc: #b06cff; } #ui :is(.scr, .icard) .scr-bonus .ic-line.b.c5 { --cc: #4f9bff; } #ui :is(.scr, .icard) .scr-bonus .ic-line.b.c6 { --cc: #8d9196; }
#ui :is(.scr, .icard) .scr-bonus .chu { display: inline-block; min-width: 10px; margin-right: 4px; padding: 0 2px; border-radius: 2px; font-style: normal; font-size: 7px; line-height: 10px; text-align: center;
  color: #fff; background: var(--cc); text-shadow: 0 1px 1px rgba(0, 0, 0, .45); vertical-align: 1px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
#ui :is(.scr, .icard) .scr-bonus .ic-line.b.c1 .chu { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 0 6px color-mix(in srgb, var(--cc) 75%, transparent); }   /* 1추 = 빛 */
#ui :is(.scr, .icard) .scr-bonus .ic-line.b:is(.c2, .c3) .chu { color: #1d1f12; text-shadow: none; }   /* 밝은 바탕(초록 · 노랑)은 어두운 숫자 */
/* 잠재 상자(메이플 잠재옵션 칸: 등급색 테 + 등급 머리글자 R·E·U·L 대문자(10-23 사용자 "유 말고 U·L·R") + 3줄) */
#ui :is(.scr, .icard) .scr-pot { position: relative; padding: 3px 5px 4px; border-radius: 4px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc, #6b7073) 75%, transparent); background: color-mix(in srgb, var(--pc, #6b7073) 9%, transparent); }
#ui :is(.scr, .icard) .scr-pot .scr-sec { color: color-mix(in srgb, var(--pc) 55%, #fff); }
#ui :is(.scr, .icard) .scr-pot .pg { flex: none; width: 10px; height: 10px; border-radius: 2px; display: grid; place-items: center; font-style: normal; font-size: 7px; font-weight: 900; color: #fff; background: var(--pc); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
#ui :is(.scr, .icard) .scr-pot .ic-line.p { color: var(--ink, #f2f0e7); }
#ui :is(.scr, .icard) .scr-pot .ic-line.p::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 6px 2px 1px; border-radius: 50%; background: var(--lc); }   /* 줄 등급 점(메이플 줄마다 등급) */
#ui :is(.scr, .icard) .scr-pot.none { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); background: none; }
#ui :is(.scr, .icard) .scr-pot.none .scr-sec { color: var(--ink-soft, #9a9d98); }
#ui .icard:not(.scr-icard) > .scr-bonus, #ui .icard:not(.scr-icard) > .scr-pot { margin-top: 7px; }
#ui .icard .scr-sec { font-size: 7.5px; letter-spacing: .6px; color: #9a9e98; }   /* 카드 안 = 구획 제목(inv_fx.css .ic-sec 와 같은 작은 회색) · 잠재 상자 제목은 잠재 등급색 그대로 */   /* 물품 창 아이템 정보 카드(inv_fx.js): 능력치 줄 아래 */
#ui .scr .ic-line.fx-new { animation: scr-line-new .5s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--i, 0) * 70ms); }   /* 바뀐 줄 순차 70 ms */

/* 탭 5 = 어두운 알약 줄 + 고른 탭 베이지(01-popup .popup.full .tabs 값) — 고품질UI: 탭 4~5개는 줄 폭 균등 · 높이 24(10-24 "글자가 너무 큼") */
#ui .scr .scr-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; height: 24px; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); box-sizing: border-box; }
#ui .scr .scr-tabs .tab { display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-width: 0; height: 20px; padding: 0 3px; border: 0; border-image: none; border-radius: 999px; background: none;
  color: var(--ink-soft); font-size: 10px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
#ui .scr .scr-tabs .tab.on { background: linear-gradient(#e6decd, #c7bba3); color: #26221c; box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
#ui .scr .scr-tabs .tab i { flex: none; width: 11px; height: 11px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }

/* 주문서 줄 32: [주문서 그림 24 | 이름 · 효과 | 확률 · 보유] — 확률은 숫자 판이 아니라 줄 끝 값(메이플 "… 주문서 60%"). 줄 바탕 = 왼쪽에서 띠 색이 번지는 결(줄마다 확률 색이 한눈에) */
/* 능력치 세부 탭(10-24 사용자 "능력치에서 세부탭을 둔 다음 거기서 힘|속도|마나 로 나눠"): 위 알약 탭 아래 글자 탭 + 금 밑줄(hq-ui §3 경매장 탭 말씨) — 알약을 두 겹 쌓지 않는다 */
#ui .scr .scr-sub { display: flex; gap: 14px; height: 18px; padding: 0 6px; margin-top: -2px; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); }
#ui .scr .scr-sub button { position: relative; display: inline-flex; align-items: center; gap: 3px; flex: none; height: 18px; padding: 0 2px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 9.5px; font-weight: 800; color: var(--ink-soft, #9a9d98); }
#ui .scr .scr-sub button i { width: 10px; height: 10px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
#ui .scr .scr-sub button.on { color: #f4efe2; }
#ui .scr .scr-sub button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 1px; background: linear-gradient(90deg, #c9a75a, #f1d68e, #c9a75a); box-shadow: 0 0 6px rgba(241, 214, 142, .55); }
#ui .scr .scr-sub button:active { transform: scale(.94); }
#ui .scr .scr-cards { display: flex; flex-direction: column; gap: 4px; min-height: 140px; }
#ui .scr .scr-cards.flip > .scr-card { animation: fx-cell .36s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--i, 0) * 50ms); }   /* 탭 판 바뀜 */
#ui .scr .scr-card { position: relative; display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 9px 0 4px; border: 0; border-radius: 7px; color: var(--ink); text-align: left; cursor: pointer;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 18%, transparent), rgba(255, 255, 255, .035) 46%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); transition: transform .06s ease-out, background .15s; }
#ui .scr .scr-card .scr-ic { flex: none; position: relative; width: 24px; height: 24px; border-radius: 5px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 70%, #fff 8%), color-mix(in srgb, var(--c) 35%, #111)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, #fff), inset 0 1px rgba(255, 255, 255, .25); }
#ui .scr .scr-card .scr-ic::after { content: ""; position: absolute; inset: 4px; background: #fff; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .4)); }
#ui .scr .scr-card .scr-ic.img { background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 50%, transparent); }   /* 재화 주문서 = 그 물건 한 색 그림 그대로(물품 창 칸과 같은 그림) */
#ui .scr .scr-card .scr-ic.img::after { inset: 2px; background: var(--img) center / contain no-repeat; -webkit-mask: none; mask: none; filter: none; }
#ui .scr .scr-card .nm { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 12px; }
#ui .scr .scr-card .nm strong { font-size: 10px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .scr .scr-card .nm small { font-size: 9px; font-weight: 700; color: #aab4ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .scr .scr-card.item .nm small { color: var(--ink-soft); }
#ui .scr .scr-card b { flex: none; font-size: 12.5px; font-weight: 900; color: color-mix(in srgb, var(--c) 40%, #fff); text-shadow: 0 0 6px color-mix(in srgb, var(--c) 50%, transparent); }
#ui .scr .scr-card em { flex: none; display: inline-flex; align-items: center; gap: 2px; font-style: normal; font-size: 9.5px; font-weight: 800; color: #e8c979; }
#ui .scr .scr-card em img { width: 11px; height: 11px; }
#ui .scr .scr-card.on { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 30%, transparent), rgba(255, 255, 255, .1) 55%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 0 10px color-mix(in srgb, var(--c) 45%, transparent); }   /* 고른 줄 = 흰 빛 테 */
#ui .scr .scr-card:active { transform: scale(.97); }
#ui .scr .scr-card.off .scr-ic, #ui .scr .scr-card.off strong { filter: grayscale(1); opacity: .5; }
#ui .scr .scr-card.off .nm small { color: #ffb3a8; }
#ui .scr .scr-card.hot::after { content: ""; position: absolute; inset: 0; border-radius: 7px; pointer-events: none; box-shadow: 0 0 0 2px #5fc9a8, 0 0 12px rgba(95, 201, 168, .8); animation: scr-hot 1s ease-in-out infinite; }   /* 실패 직후 재생의 돌 맥박 = 그림자 고정 + 투명도만 */
#ui .scr .scr-card.nope { animation: scr-nope .3s ease-out; }
#ui .dim.fx-intro .scr .scr-card { animation: fx-cell .42s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--i, 0) * 70ms + .18s); }   /* 고품질UI 칸 순차 70 ms · 420 ms 팝 */

/* 확인 줄: 확률(이름 · 띠 색 막대 · 값) · 안내 · [닫기][강화 | 사용]. 막대 = 확률만큼 차는 그래프(hq-ui "글자 대신 그래프"), 바뀌면 차오름 */
#ui .scr .scr-foot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .08); }
#ui .scr .scr-rate { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; min-height: 16px; font-size: 9.5px; font-weight: 800; color: var(--ink-soft); }
#ui .scr .scr-rate b { font-size: 12.5px; font-weight: 900; color: color-mix(in srgb, var(--c) 40%, #fff); text-shadow: 0 0 6px color-mix(in srgb, var(--c) 50%, transparent); }
#ui .scr .scr-rate small { flex-basis: 100%; font-size: 9px; font-weight: 700; color: var(--ink-soft); }
#ui .scr .scr-gauge { flex: 1; min-width: 40px; height: 5px; border-radius: 999px; overflow: hidden; background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .scr .scr-gauge > i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 70%, #000), color-mix(in srgb, var(--c) 60%, #fff));
  box-shadow: 0 0 6px color-mix(in srgb, var(--c) 70%, transparent); animation: scr-gauge .45s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes scr-gauge { from { width: 0; } }
#ui .scr .scr-msg { font-size: 9px; font-weight: 700; line-height: 12px; color: var(--ink-soft); min-height: 24px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#ui .scr .scr-msg.warn { color: #ffb3a8; }
#ui .scr .scr-btns { display: flex; justify-content: flex-end; gap: 6px; padding-right: 12px; }   /* 오른쪽 = 아래 모서리 문양 자리 */
#ui .scr .scr-go:has(> .scr-cost) { gap: 5px; padding-left: 4px; }   /* 왼쪽 4 = 값 알약 자리 — 값 없는 단추(잠재옵션 [재설정])는 좌우 12 그대로(10-24 사용자 "재설정 버튼이 좀 왼쪽에 가 있다": 글자가 왼쪽 4 · 오른쪽 12 로 치우쳤다) */
#ui .scr .scr-cost { display: inline-flex; align-items: center; gap: 2px; height: 17px; padding: 0 7px 0 3px; border-radius: 999px; background: rgba(0, 0, 0, .22); font-size: 10px; }
#ui .scr .scr-cost img, #ui .scr .scr-cost .cost-ic { width: 12px; height: 12px; }
#ui .scr .scr-cost .cost-ic { background: var(--img) center / contain no-repeat; }
#ui .scr .scr-cost.short { color: #ffb3a8; }

/* 잠재옵션 재설정 창(10-23 사용자 "예 아니오 매번 … 아예 잠재옵션 창 자체를 띄워서 여러 번 누를 수 있게") — 강화 창 위에 뜨는 작은 팝업.
   10-24 사용자 "여백이 너무 많음 · 작은 팝업으로도 충분 · 고급은 위아래로 이전/이후 · 아이템 슬롯 · 등급 상승 확률 중앙 · 가로가 쓸데없이 길어" →
   강화 창을 어둡게 덮고(.scr-cube) 가운데 작은 판(.scr-cube-in): [머리: 주문서 · 이름 | 보유 · 다이아] · [가운데: 칸 · 이름 · 등급 상승 확률]
   · [일반 = 상자 하나 | 고급 = 이전 상자 위 · 이후 상자 아래, 이름표 줄 오른쪽에 유지 · 적용] · [모자람 안내(있을 때만)] · [닫기 · 재설정 가운데].
   참고: PC 메이플 큐브 결과 창(BEFORE · AFTER + [선택] + [한 번 더 재설정하기], KMST 1.2.168) */
#ui .scr .scr-cube { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; border-radius: 12px; background: rgba(0, 0, 0, .55); }
#ui .scr .scr-cube[hidden] { display: none; }
/* 10-24 이어서 "전반적으로 글자가 너무 큼 · ui 가 꾸며지지도 않았고": 폭 268 → 244 · 판 = 강화 창과 같은 작은 팝업 판(18-popup-dark) + 모서리 문양 26 · 글자 = 아이템 정보 카드 줄 8.5 */
#ui .scr :is(.scr-cube-in, .scr-odds-in) { position: relative; width: 244px; display: flex; flex-direction: column; padding: 9px 12px 10px; border-radius: 12px; }   /* 판 = 장식 두 겹(공통 규칙) */
#ui .scr .scr-cube-in.pop { animation: fx-pop .283s cubic-bezier(.2, .9, .3, 1.1) both; }   /* 열 때만(10-24 사용자 "재설정할 때마다 창 연출 그 바운드 형태가 굉장히 거슬림" — 굴릴 때마다 판을 다시 그려 팝이 되풀이됐다) · 고품질UI 창 열기 283 ms — 작은 팝업 표준(최대 1.025). 옛 fx-got-in 1.12+ 는 강화 창 판에 잘렸다(10-24) */
#ui .scr .scr-chead { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 18px; padding: 0 12px 6px 12px; box-sizing: content-box; }
#ui .scr .scr-chead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 214, 170, .5) 20%, rgba(255, 255, 255, .25) 50%, rgba(232, 214, 170, .5) 80%, transparent); }
#ui .scr .scr-chead h3 { display: flex; align-items: center; gap: 4px; min-width: 0; margin: 0; font-size: 10px; font-weight: 900; color: #f4efe2; text-shadow: 0 1px 2px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .scr .scr-chead .scr-wallet { flex: none; gap: 3px; font-size: 9px; }
#ui .scr .scr-chead .scr-wallet > span { height: 16px; padding: 0 5px 0 2px; }
#ui .scr .scr-chead .scr-wallet img { width: 11px; height: 11px; }
#ui .scr .scr-chead .cost-ic, #ui .scr .scr-chead .scr-wallet .cost-ic { flex: none; width: 12px; height: 12px; background: var(--img) center / contain no-repeat; }
#ui .scr .scr-cgear { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 0 4px; text-align: center; }
#ui .scr .scr-cgear::before { content: ""; position: absolute; left: 50%; top: 2px; width: 70px; height: 46px; margin-left: -35px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gc, #fff) 30%, transparent), transparent); }   /* 칸 뒤 등급색 빛(물품 카드 ic-top 빛과 같은 결) */
#ui .scr .scr-cgear .item-cell { width: 34px; height: 34px; }
#ui .scr .scr-cgear .nm { max-width: 100%; font-size: 10px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .scr .scr-cgear .scr-rate { justify-content: center; min-height: 0; font-size: 9px; }
#ui .scr .scr-cgear .scr-rate b { font-size: 10.5px; color: color-mix(in srgb, var(--c) 45%, #fff); }
#ui .scr .scr-cgear .scr-rate small { font-size: 8.5px; }
#ui .scr .scr-cone, #ui .scr .scr-cpair { display: flex; flex-direction: column; gap: 4px; }
#ui .scr .scr-cube .scr-pot { min-height: 44px; }
#ui .scr .scr-cube .scr-bonus { min-height: 66px; }   /* 추가옵션 재설정 창 = 줄 수(1~4, bonus.json countBp)와 상관없이 같은 높이(10-24 사용자 "옵션이 많아지면 창 자체의 크기가 세로로 길어지거나 짧아지는데 여유 공간을 미리 둬서 차이 없도록") — 머리 + 4줄 실측 66(GUI) */
#ui .scr .scr-cside { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#ui .scr .scr-clabel { display: flex; align-items: center; justify-content: space-between; height: 18px; font-size: 9.5px; font-weight: 900; color: var(--ink-soft); }
#ui .scr .scr-cside.after .scr-clabel { color: #66ffff; }
#ui .scr .scr-clabel .btn { min-height: 17px; padding: 0 9px; font-size: 9px; }
/* 잠재옵션 계승 창(10-25): 메이플 잠재능력 전승 창 배치(2026-03-19 캐시 공지 그림) — [계승 재료] + [계승할 장비] » [최종 결과물] 점선 칸 · 칸 아래 이름 알약 · ⓘ 안내 한 줄
   · 고른 위 칸의 후보 줄(칸 30) · 계승 후 잠재 상자. 10-25 사용자 "아이템슬롯이 마스킹이 잘못되어서 짤리고있음" — 공용 .item-cell.on 의 바깥 outline(+fx-ring 3.5px)이
   가로 넘김 줄(overflow-x)에 잘렸다 → 이 창 안 칸은 outline 을 끄고 안쪽 테(inset) + 줄 여백 6 안에 드는 빛으로 고른 것을 보인다. */
#ui .scr .scr-inh-slots { display: flex; align-items: flex-start; justify-content: center; gap: 2px; margin: 2px 0 3px; }
#ui .scr .scr-inh-slots .op { flex: none; width: 12px; margin-top: 17px; font-style: normal; font-size: 12px; font-weight: 900; line-height: 16px; text-align: center; color: var(--ink-soft); }
#ui .scr .scr-inh-slot { flex: none; width: 62px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 2px 3px; margin: 0; border: 1px dashed rgba(255, 255, 255, .2); border-radius: 7px; background: rgba(0, 0, 0, .22); color: inherit; font: inherit; cursor: pointer; transition: border-color .12s, background .12s; }
#ui .scr .scr-inh-slot.k-res { cursor: default; border-style: solid; border-color: rgba(255, 255, 255, .1); }
#ui .scr .scr-inh-slot.on { border-color: #ffd76a; background: rgba(255, 215, 106, .08); }   /* 지금 후보 줄을 보이는 칸 = 금 점선 */
#ui .scr .scr-inh-slot:active:not(.k-res) { transform: scale(.94); }
#ui .scr .scr-inh-slot .item-cell { width: 40px; height: 40px; border-radius: 7px; cursor: inherit; }
#ui .scr .scr-inh-slot.k-res:not(.empty) .item-cell { box-shadow: inset 0 -9px 11px -8px color-mix(in srgb, var(--gc) 85%, #fff), inset 0 1px rgba(255, 255, 255, .22), 0 0 9px color-mix(in srgb, var(--pc) 70%, transparent); }   /* 결과물 = 받을 장비 + 재료 잠재 등급 빛 */
#ui .scr .scr-inh-slot .nm { max-width: 58px; padding: 0 5px; border-radius: 7px; background: rgba(0, 0, 0, .45); font-size: 7.5px; font-weight: 700; line-height: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #f2f0e7; }
#ui .scr .scr-inh-slot.empty .nm { color: var(--ink-soft); }
#ui .scr .scr-inh-slot .cap { font-size: 8px; font-weight: 900; line-height: 10px; color: var(--ink-soft); white-space: nowrap; }
#ui .scr .scr-inh-slot.on .cap { color: #ffd76a; }
#ui .scr .scr-inh .item-cell .pg { position: absolute; left: 1px; top: 1px; width: 9px; height: 9px; border-radius: 2px; display: grid; place-items: center; font-style: normal; font-size: 6.5px; font-weight: 900; line-height: 9px; color: #fff; background: var(--pc); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
#ui .scr .scr-inh-pick { display: flex; flex-direction: column; margin-bottom: 2px; }
#ui .scr .scr-inh-cells { display: flex; gap: 5px; min-height: 30px; overflow-x: auto; padding: 6px; margin: 0 -6px; scrollbar-width: none; }   /* 여백 6 = 고른 칸 빛이 넘김 줄에 잘리지 않을 자리 */
#ui .scr .scr-inh-cells::-webkit-scrollbar { display: none; }
#ui .scr .scr-inh-nil { margin: auto; font-size: 8.5px; color: var(--ink-soft); }
#ui .scr .scr-inh-cell { position: relative; flex: 0 0 auto; width: 30px; height: 30px; padding: 0; cursor: pointer; transition: opacity .12s, transform .12s; }
#ui .scr .scr-inh .item-cell.scr-inh-cell.nofit { opacity: .5; filter: grayscale(.85); }   /* 고른 칸(#ui .scr .scr-inh .item-cell.on = opacity 1 · 같은 무게 · 뒤 줄)이어도 흐림 유지 — 클래스 하나 더 */   /* 지금 고른 다른 칸과 짝이 안 됨 — 아이콘 · 레벨 · 등급은 그대로 흐리게만. 누르면 까닭(막힌 재료) 또는 다른 칸을 맞춰 고친다.
   uxsmall-1109: 옛 이름 .dim 은 창 바탕 #ui .dim(windows.css — :not(.open) = content-visibility hidden · pointer-events none)과 겹쳐 칸 속이 사라지고 눌리지도 않았다 */
#ui .scr .scr-inh-cell .icon { left: 3px; top: 3px; width: 22px; height: 22px; }
#ui .scr .scr-inh .item-cell .lv { position: absolute; right: 1px; bottom: 0; font-style: normal; font-size: 7.5px; font-weight: 900; line-height: 9px; color: #fff; text-shadow: 0 0 2px #000, 0 0 2px #000; }
#ui .scr .scr-inh .item-cell.on { outline: none; animation: none; opacity: 1; box-shadow: inset 0 0 0 1.5px #ffd76a, inset 0 -8px 10px -8px color-mix(in srgb, var(--gc) 85%, #fff), 0 0 5px rgba(255, 215, 106, .6); }
#ui .scr .scr-inh-over { display: block; margin-top: 2px; font-size: 8px; line-height: 10.5px; color: #ff9a7a; text-align: center; }
/* 계승 값 알약(후보 칸 아래): 무료 = 초록(좋아짐 강조) · 다이아 값 = 흰 글자 + 다이아. 칸과 알약을 한 세로 묶음으로(칸 안에 두면 등급 칸 clip 에 잘림) */
#ui .scr .scr-inh-c { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; }
#ui .scr .scr-inh-c .fee { display: inline-flex; align-items: center; gap: 1px; height: 10px; padding: 0 3px; border-radius: 5px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-style: normal; font-size: 6.5px; font-weight: 900; line-height: 10px; white-space: nowrap; color: #f2f0e7; }
#ui .scr .scr-inh-c .fee img { width: 7px; height: 7px; }
#ui .scr .scr-inh-c .fee.free { color: #8fe08f; }
#ui .scr .scr-inh-c .fee.down { color: #ffc9a0; }   /* 하위 티어 = 같은 티어보다 비쌈 — 적갈 계열 글자(위험 쪽 강조) */
/* 다이아 계승 확인 창 = 확률표 층(.scr-odds)과 같은 판, 폭만 재설정 창 결(268) */
#ui .scr .scr-inhask-in { width: 268px; }
#ui .scr .scr-inhask-in > :not(.gf-skin) { position: relative; z-index: 2; }
#ui .scr .scr-inhask-in .scr-chead h3 { color: #ffd76a; }
#ui .scr .scr-inhask-who { margin: 4px 0 3px; font-size: 9px; line-height: 12px; text-align: center; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .scr .scr-inhask-in .scr-inh-over { margin-top: 4px; }
#ui .scr .scr-inhask-in .scr-cside { flex: none; }
#ui .scr .scr-inhask-in .scr-pot { flex: none; min-height: 44px; }
#ui .scr .scr-inhask-in .ic-line { font-size: 8.5px; font-weight: 700; line-height: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* = 재설정 창 줄(.scr-cube .ic-line) */
#ui .scr .scr-inhask-in > .scr-btns { justify-content: center; padding-right: 0; margin-top: 7px; }
#ui .scr .scr-inhask-in .scr-btns .btn { min-height: 22px; font-size: 10px; }
#ui .scr .scr-inhask-in .btn.gold { gap: 5px; padding-left: 4px; }
/* 잠재 등급 내림 경고(inhguard-1120 — 에픽 위에 노말을 덮어쓴 문의): 빨간 굵은 글 + 등급 이름 = 등급색 · 확인 판에선 붉은 띠 */
#ui .scr .scr-inh-drop { display: block; margin-top: 2px; font-size: 8.5px; font-weight: 900; line-height: 11px; color: #ff6b5a; text-align: center; text-shadow: 0 1px 1px rgba(0, 0, 0, .8); }
#ui .scr .scr-inh-drop b { font-weight: 900; text-shadow: 0 0 2px #000, 0 1px 1px #000; }
#ui .scr .scr-inhask-in .scr-inh-drop { margin-top: 5px; padding: 3px 6px; font-size: 9.5px; line-height: 12px; border-radius: 4px; background: rgba(150, 24, 18, .42); box-shadow: inset 0 0 0 1px rgba(255, 110, 90, .55); }
#ui .scr .scr-pot.none.inh-why .scr-sec { color: #ffb3a8; white-space: normal; line-height: 12px; }   /* 계승 막힌 까닭(uxsmall-1109) — 경고 글 색 = .scr-msg.warn */
#ui .scr .scr-cube .ic-line { font-size: 8.5px; font-weight: 700; line-height: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* = 아이템 정보 카드 줄(툴팁 밖이라 직접) */
#ui .scr .scr-pot.empty { display: grid; place-items: center; } #ui .scr .scr-pot.empty .scr-sec { margin: 0; }
#ui .scr .scr-cfoot { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 7px; }
#ui .scr .scr-cfoot .scr-msg { min-height: 0; text-align: center; }
#ui .scr .scr-cfoot .scr-btns { justify-content: center; padding-right: 0; }
#ui .scr .scr-cfoot .btn { min-height: 22px; font-size: 10px; }
#ui .scr .scr-cgo { gap: 5px; padding-left: 4px; } #ui .scr .scr-cgo.nope { animation: scr-nope .3s ease-out; }
/* 굴림(10-24 사용자 "글자가 스프링마냥 왔다 갔다 … 메이플처럼 슬롯이 반짝 · 통신값이 오기 전까지 슬롯이 흰색으로 빛나는 연출"): 글자는 움직이지 않는다.
   누르면 상자가 흰빛으로 차올라 서버 답이 올 때까지 맥박(.rolling) → 새 줄이 그려지는 순간 흰 번쩍이 빠지며 걷힌다(.flash 360 ms) */
#ui .scr .scr-cube .scr-pot::after { content: ""; position: absolute; inset: 0; border-radius: 4px; pointer-events: none; opacity: 0; background: rgba(255, 255, 255, .9); }
#ui .scr .scr-cube .scr-pot.rolling { box-shadow: inset 0 0 0 1px #fff, 0 0 14px rgba(255, 255, 255, .75); }
#ui .scr .scr-cube .scr-pot.rolling::after { animation: scr-glow .5s ease-in-out infinite alternate; }
#ui .scr .scr-cube .scr-pot.flash::after { animation: scr-unglow .36s ease-out both; }
@keyframes scr-glow { 0% { opacity: .55; } 100% { opacity: .85; } }
@keyframes scr-unglow { 0% { opacity: .85; } 100% { opacity: 0; } }
/* 등급 상승: 상자 테가 새 등급색으로 번쩍(크기는 그대로 — 움직임 없음, scroll.js scrCubeRoll .up, --rc) */
#ui .scr .scr-cube .scr-pot.up { animation: scr-potup .7s ease-out both; }
@keyframes scr-potup { 0% { box-shadow: 0 0 0 0 var(--rc), 0 0 0 var(--rc); } 30% { box-shadow: 0 0 0 2px var(--rc), 0 0 22px var(--rc); }
  100% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--rc) 70%, transparent), 0 0 8px color-mix(in srgb, var(--rc) 40%, transparent); } }

/* 불타는 주문서(scroll.js scrCast · burner): 판 아래 → 가운데로 떠오름 → WebGL 디졸브(캔버스) / CSS 대체(마스크) · 뒤에 주황 열기 */
#ui .scr .scr-burn { position: absolute; z-index: 6; pointer-events: none; }
#ui .scr .scr-ctl { transition: opacity .2s; } #ui .scr.casting .scr-ctl { opacity: .3; }   /* 타는 동안 오른쪽 목록을 물려 주문서 · 대상 칸만 또렷하게 */
#ui .scr .scr-burn > canvas, #ui .scr .scr-burn > .scr-burn-css { position: absolute; inset: 0; width: 100%; height: 100%; }
#ui .scr .scr-burn::before { content: ""; position: absolute; inset: -30%; border-radius: 50%; opacity: 0; background: radial-gradient(closest-side, rgba(255, 150, 60, .55), rgba(255, 90, 20, .18) 60%, transparent); transition: opacity .2s; }
#ui .scr .scr-burn.lit::before { opacity: 1; animation: scr-heat .32s ease-in-out infinite alternate; }
/* WebGL 없을 때: 그림 모양(마스크) 안을 크림색으로 + 아래에서 올라오는 자름 마스크와 겹침(intersect) — 한 색 SVG 를 배경으로 깔면 검은 그림이 된다 */
#ui .scr .scr-burn-css { background: #f6ecd2; filter: drop-shadow(0 0 2px var(--c, #e8c979));
  -webkit-mask: linear-gradient(to top, transparent 0 var(--cut, 0%), #000 calc(var(--cut, 0%) + 12%)), var(--img) center / 84% no-repeat; -webkit-mask-composite: source-in;
  mask: linear-gradient(to top, transparent 0 var(--cut, 0%), #000 calc(var(--cut, 0%) + 12%)), var(--img) center / 84% no-repeat; mask-composite: intersect; }
#ui .scr .scr-burn-css.go { animation: scr-burn-css var(--ms, 1s) ease-in both; }
@property --cut { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@keyframes scr-burn-css { 0% { --cut: -12%; filter: none; } 30% { filter: sepia(1) saturate(3) hue-rotate(-20deg) brightness(1.3); } 100% { --cut: 100%; filter: sepia(1) saturate(4) hue-rotate(-25deg) brightness(1.6); } }
@keyframes scr-heat { from { transform: scale(.94); } to { transform: scale(1.06); } }
@keyframes scr-line-new { 0% { transform: translateX(-8px); opacity: 0; filter: brightness(2.2); } 60% { transform: none; opacity: 1; } 100% { filter: none; } }

/* 주문서 무대(scroll.js scrCast · 10-24 사용자 "어두운 화면에 무기가 한 2배 확대된 채로 보여 주고 · 주문서가 밑에서 나와 아이템에 딱 가면서 불타는 느낌 · 무슨 능력치 올랐는지"):
   화면 전체를 어둡게(::before 가 창 둘레 1200 까지) · 장비 칸 84(툴팁 칸 38 의 2.2 배) + 뒤 등급색 빛 · 결과 글자는 장비 아래(.scr-fx.show). 겹 차례 = 무대 3 < 빛 알갱이 4 < 결과 5 < 주문서 6 */
#ui .scr .scr-show { position: absolute; inset: 0; z-index: 3; pointer-events: none; animation: scr-show-in .22s ease-out both; }
#ui .scr .scr-show::before { content: ""; position: absolute; inset: -1200px; background: rgba(3, 4, 6, .9); }
#ui .scr .scr-show.out { animation: scr-show-out .22s ease-in both; }
#ui .scr .scr-show-glow { position: absolute; width: 190px; height: 190px; margin: -95px 0 0 -95px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gc) 42%, transparent), color-mix(in srgb, var(--gc) 12%, transparent) 60%, transparent); animation: scr-show-glow 1.05s ease-in-out infinite alternate; }   /* 등급 빛 1047 ms 맥동(hq-ui) */
#ui .scr .scr-big { position: absolute; width: 84px; height: 84px; cursor: default; box-shadow: 0 0 18px color-mix(in srgb, var(--gc) 55%, transparent), 0 6px 14px rgba(0, 0, 0, .6); }
#ui .scr .scr-big .icon { left: 13px; top: 13px; width: 56px; height: 56px; }
#ui .scr .scr-big.charging { animation: scr-charge var(--charge, .5s) ease-in both; }
#ui .scr .scr-big.beat { animation: scr-beat .42s ease-in-out both; }
#ui .scr .scr-big.freeze { animation-play-state: paused !important; }
#ui .scr .scr-big.hit-success { animation: scr-hit .5s cubic-bezier(.2, .9, .3, 1.4) both; }
#ui .scr .scr-big.hit-fail { animation: scr-sink .7s ease-out both; }
#ui .scr .scr-big.hit-regen { animation: scr-hit-r .5s ease-out both; }
@keyframes scr-show-in { from { opacity: 0; } }
@keyframes scr-show-out { to { opacity: 0; } }
@keyframes scr-show-glow { from { transform: scale(.92); opacity: .8; } to { transform: scale(1.06); opacity: 1; } }
/* 무대 결과 글자: 띠 · 빛선 · 도장 · 부제 = 장비 아래(72%), 바뀐 능력치 줄 = 그 밑 "힘 : +7 → +9"(오른 값 #66ffff = 툴팁 오른 줄 색) */
#ui .scr-fx.show .scr-fx-band, #ui .scr-fx.show .scr-fx-title, #ui .scr-fx.show .scr-fx-sub { top: 72%; }
#ui .scr-fx.show .scr-fx-line.a { top: calc(72% - 40px); } #ui .scr-fx.show .scr-fx-line.b { top: calc(72% + 39px); }
#ui .scr-fx.show :is(.scr-fx-band, .scr-fx-line, .scr-fx-title, .scr-fx-sub) { animation-duration: 1.9s; }   /* 무대 = FX_MS + 500 */
#ui .scr-fx-delta { position: absolute; left: 0; right: 0; top: calc(72% + 47px); text-align: center; font-size: 11px; line-height: 16px; font-weight: 800; color: #e6e1d4; text-shadow: 0 1px 2px #000; white-space: nowrap; animation: scr-sub 1.9s ease-out both; }
#ui .scr-fx-delta i { margin: 0 3px; font-style: normal; color: var(--ink-soft, #9a9d98); }
#ui .scr-fx-delta b { font-size: 13px; color: #66ffff; text-shadow: 0 0 8px rgba(102, 255, 255, .55), 0 1px 2px #000; }

/* ---- 연출(scroll.js scrGo · scrRegen · scrFx 시간표). 빛 알갱이 = 캔버스 .scr-cv */
#ui .scr .scr-cv { position: absolute; left: -120px; top: -120px; width: calc(100% + 240px); height: calc(100% + 240px); z-index: 4; pointer-events: none; }   /* 창 둘레 120 더 — 불티가 창 테에서 잘리지 않게(scroll.js CV_PAD) */
/* 기 모음: 주문서가 타는 동안 대상 칸 떨림이 1 → 3 px 로 커지고 빛이 차오른다(길이 = --charge) · 결과 직전 멈칫(freeze) */
#ui .scr .scr-stage.charging .scr-target { animation: scr-charge var(--charge, .5s) ease-in both; }
#ui .scr .scr-target.freeze { animation-play-state: paused !important; }
/* 두근 두 번(확률 30% 이하 = +3 · +5, scroll.js BEAT 420): 결과 직전 기대 — 조사 "대성공은 판정 전 늦추고 박동 2회" */
#ui .scr .scr-stage .scr-target.beat { animation: scr-beat .42s ease-in-out both; }
@keyframes scr-beat { 0%, 50%, 100% { transform: scale(1); filter: brightness(1.3); } 22%, 72% { transform: scale(1.14); filter: brightness(1.9) drop-shadow(0 0 10px rgba(255, 236, 170, .9)); } }
#ui .scr .scr-target.hit-success { animation: scr-hit .5s cubic-bezier(.2, .9, .3, 1.4) both; }
#ui .scr .scr-target.hit-fail { animation: scr-sink .7s ease-out both; }
#ui .scr .scr-target.hit-regen { animation: scr-hit-r .5s ease-out both; }
#ui .scr .scr-body.quake { animation: scr-quake .32s linear; }
#ui .scr .scr-body.quake-s { animation: scr-quake-s .25s linear; }

/* 결과 한 겹(창 전체, 누르면 걷힘): 번쩍 · 가운데 띠 · 빛선 · 도장 글자 */
/* 창 밖으로 넘쳐도 자르지 않는다(10-23 사용자 "연출이 짤리고 있잖아" — 대상 칸이 창 왼쪽 끝이라 빛 고리 지름 208 · 빛기둥 260 이 창 테에서 잘렸다). 번쩍 · 띠는 inset 0 이라 창 안 그대로 */
#ui .scr-fx { position: absolute; inset: 0; z-index: 5; pointer-events: auto; overflow: visible; }
#ui .scr-fx .scr-flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: scr-flash .14s ease-out both; }
#ui .scr-fx.k-regen .scr-flash { background: #c9fbe9; }
#ui .scr-fx.k-fail .scr-flash { background: #000; animation: scr-dark .5s ease-out both; }
/* 대상 칸 자리: 빛기둥(성공) · 빛 고리(성공 · 재생) — 실패는 없음 */
#ui .scr-fx-at { position: absolute; width: 0; height: 0; }
#ui .scr-fx .pillar { position: absolute; left: -26px; bottom: -30px; width: 52px; height: 260px; border-radius: 26px; transform-origin: 50% 100%;
  background: linear-gradient(to top, rgba(255, 236, 170, 0), rgba(255, 236, 170, .75) 25%, rgba(255, 255, 255, 0)); filter: blur(4px); animation: scr-pillar .9s ease-out both; }
#ui .scr-fx .ring { position: absolute; left: -40px; top: -40px; width: 80px; height: 80px; border-radius: 50%; border: 3px solid rgba(255, 240, 190, .9); animation: scr-ring .55s ease-out both; }
#ui .scr-fx.k-regen .pillar { display: none; } #ui .scr-fx.k-regen .ring { border-color: rgba(160, 240, 205, .9); }
#ui .scr-fx.k-fail .scr-fx-at { display: none; }
/* 빛 그림(scroll.js scrBloom — lvup_fx 칸)이 풀렸으면 CSS 빛기둥 · 고리를 끄고, 창 전체 흰 번쩍을 약하게(조사: 화면 전체 번쩍 = 촌스러움 · 빛은 칸 자리에서) */
#ui .scr-fx.spr .scr-fx-at { display: none; }
#ui .scr-fx.spr:not(.k-fail) .scr-flash { animation-name: scr-flash-s; }
@keyframes scr-flash-s { 0% { opacity: .16; } 100% { opacity: 0; } }
#ui .scr-fx.r-potUp .pillar { background: linear-gradient(to top, transparent, color-mix(in srgb, var(--rc, #ffe7a0) 80%, transparent) 25%, transparent); }
#ui .scr-fx.r-potUp .ring { border-color: var(--rc, #ffe7a0); } #ui .scr-fx.r-potUp .scr-fx-sub { color: color-mix(in srgb, var(--rc, #7ad26a) 60%, #fff); }
/* 띠 80(빛선 ±40) 안에 제목 38(−33~+5) · 부제 18(+9~+27) — 10-24 사용자 "힘 +1 써져 있는 게 삐죽 나오고 있잖아": 띠 64 에 부제가 +14~+32 라 아래 빛선(+31)을 밟았다 */
#ui .scr-fx-band { position: absolute; left: 0; right: 0; top: 50%; height: 80px; margin-top: -40px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .62) 22%, rgba(0, 0, 0, .62) 78%, transparent); animation: scr-band 1.4s ease-out both; }
#ui .scr-fx-line { position: absolute; left: 18%; right: 18%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 238, 190, .9), transparent); animation: scr-line 1.4s ease-out both; }
#ui .scr-fx-line.a { top: calc(50% - 40px); } #ui .scr-fx-line.b { top: calc(50% + 39px); }
#ui .scr-fx.k-fail .scr-fx-line { background: linear-gradient(90deg, transparent, rgba(200, 200, 200, .55), transparent); }
#ui .scr-fx.k-regen .scr-fx-line { background: linear-gradient(90deg, transparent, rgba(170, 245, 215, .9), transparent); }
#ui .scr-fx-title { position: absolute; left: 0; right: 0; top: 50%; margin-top: -33px; text-align: center; font-family: "EnhTitle", "GFUIFont", sans-serif;
  font-size: 32px; font-weight: 900; line-height: 38px; letter-spacing: 2px; white-space: nowrap; color: #fbf3df; text-shadow: 0 0 10px rgba(255, 226, 150, .65), 0 2px 3px #000; animation: scr-stamp 1.4s ease-out both; }
#ui .scr-fx-title:not(.serif) { font-family: "GFUIFont", sans-serif; letter-spacing: 3px; }
#ui .scr-fx.k-fail .scr-fx-title { color: #d9d4ca; text-shadow: 0 2px 3px #000; animation-name: scr-stamp-f; }
#ui .scr-fx.k-regen .scr-fx-title { text-shadow: 0 0 10px rgba(140, 240, 200, .6), 0 2px 3px #000; }
#ui .scr-fx-sub { position: absolute; left: 0; right: 0; top: 50%; margin-top: 9px; text-align: center; font-size: 13px; line-height: 18px; font-weight: 800; color: #7ad26a; text-shadow: 0 1px 2px #000; animation: scr-sub 1.4s ease-out both; }
#ui .scr-fx.k-fail .scr-fx-sub { color: var(--ink-soft); }
#ui .scr-fx.k-regen .scr-fx-sub { color: #9ff0d2; }
#ui .scr-fx.r-bonus .scr-fx-line { background: linear-gradient(90deg, transparent, rgba(204, 255, 0, .8), transparent); }

@keyframes scr-charge { 0% { transform: none; filter: none; } 20% { transform: translate(-1px, 0); } 35% { transform: translate(1px, -1px); } 50% { transform: translate(-1.5px, 1px); }
  65% { transform: translate(2px, 0); } 78% { transform: translate(-2.5px, -1px); } 90% { transform: translate(3px, 1px); } 100% { transform: translate(-3px, 0); filter: brightness(1.7) drop-shadow(0 0 12px rgba(255, 236, 170, .95)); } }
@keyframes scr-hit { 0% { transform: scale(1); filter: brightness(2.2); } 35% { transform: scale(1.18); filter: brightness(1.4); } 100% { transform: scale(1); filter: none; } }
@keyframes scr-hit-r { 0% { transform: scale(1); filter: brightness(1.8); } 40% { transform: scale(1.1); } 100% { transform: scale(1); filter: none; } }
@keyframes scr-sink { 0% { filter: grayscale(.9) brightness(.6); transform: translate(-3px, 2px); } 12% { transform: translate(3px, 2px); } 24% { transform: translate(-2px, 2px); } 36% { transform: translate(1px, 1px); }
  60% { filter: grayscale(.9) brightness(.7); transform: none; } 100% { filter: none; transform: none; } }
@keyframes scr-quake { 0%, 100% { transform: none; } 15% { transform: translate(-4px, 2px); } 30% { transform: translate(4px, -2px); } 45% { transform: translate(-3px, -1px); } 60% { transform: translate(3px, 1px); } 80% { transform: translate(-1px, 0); } }
@keyframes scr-quake-s { 0%, 100% { transform: none; } 20% { transform: translateX(-3px); } 45% { transform: translateX(3px); } 70% { transform: translateX(-2px); } }
@keyframes scr-hot { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes scr-nope { 0%, 100% { transform: none; } 25% { transform: translateX(-3px); } 50% { transform: translateX(3px); } 75% { transform: translateX(-2px); } }
@keyframes scr-pillar { 0% { transform: scaleY(0); opacity: 0; } 25% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1.1); opacity: 0; } }
@keyframes scr-ring { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes scr-flash { 0% { opacity: .55; } 100% { opacity: 0; } }
@keyframes scr-dark { 0% { opacity: .35; } 100% { opacity: 0; } }
@keyframes scr-band { 0% { transform: scaleY(0); opacity: 0; } 10% { transform: scaleY(1); opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes scr-line { 0% { transform: scaleX(0); opacity: 0; } 15% { transform: scaleX(1); opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes scr-stamp { 0% { transform: scale(2.2); opacity: 0; filter: blur(6px); } 16% { transform: scale(1); opacity: 1; filter: none; } 21% { transform: scale(1.06); } 26% { transform: scale(1); } 80% { transform: none; opacity: 1; } 100% { transform: translateY(-8px); opacity: 0; } }
@keyframes scr-stamp-f { 0% { transform: scale(1.4); opacity: 0; } 13% { transform: scale(1); opacity: 1; } 18% { transform: translateX(-3px); } 23% { transform: translateX(3px); } 28% { transform: none; } 80% { opacity: 1; } 100% { transform: translateY(6px); opacity: 0; } }
@keyframes scr-sub { 0%, 18% { opacity: 0; transform: translateY(6px); } 30% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; } }

/* 물품 창 상세 [강화](scroll.js scrDetailButton): 판 247.5 안에 [사용][강화][장착] 셋 — 셋일 때만 최소 폭 84 → 70(3 × 70 + 간격 12 = 222) */
#ui .inv .inv-actions:has(.inv-scroll:not([hidden])) .btn { min-width: 70px; }

/* 옛 강화 +n 끄기(LANES G6 "새 창이 sandbox 에서 돈 뒤 마지막 커밋에서 끈다"): 상세 [정보|강화] 탭의 [강화] 를 숨기고 정보 판에 고정(scroll.js refreshed).
   잠금 단추 · enh.* 문구 · 서버 rt-battle.bag.enhance 는 그대로(옛 판 클라이언트 · 이미 붙은 +n 표시) */
#ui .detail-pane > .enh-tabs [data-enh-tab="enh"] { display: none; }

/* 복구 빠른 결과(scroll.js scrRegen · scrFx quick — 10-24 사용자 "복구 주문서는 yes no 하지 말고, 연출도 빠르게 넘겨 · 여러 개 써야 하는 거다 보니까"):
   누름 → 툴팁 칸 흰빛 맥박(서버 답까지, 재설정 창 상자와 같은 결) → 칸 위로 "복구 성공 / 실패" 한 줄이 떠올라 0.9 초에 걷힘. 띠 · 번쩍 · 흔들림 없음, 눌림을 막지 않는다 */
#ui .scr .scr-target.rolling { box-shadow: 0 0 0 1px #fff, 0 0 12px rgba(255, 255, 255, .8); animation: scr-tglow .3s ease-in-out infinite alternate; }
@keyframes scr-tglow { from { filter: brightness(1.25); } to { filter: brightness(1.8); } }
#ui .scr-fx.quick { pointer-events: none; }
#ui .scr-fx.quick :is(.scr-flash, .scr-fx-band, .scr-fx-line, .scr-fx-at) { display: none; }
#ui .scr-fx.quick :is(.scr-fx-title, .scr-fx-sub) { right: auto; width: 180px; margin-left: -90px; }   /* left · top = 오른쪽 빈 칸 가운데(scroll.js) */
#ui .scr-fx.quick .scr-fx-title { margin-top: -16px; font-size: 17px; line-height: 20px; letter-spacing: 1px; animation: scr-quick .9s cubic-bezier(.2, .9, .3, 1) both; }   /* 17 = 창 제목 최대(hq-ui) */
#ui .scr-fx.quick .scr-fx-sub { margin-top: 6px; font-size: 10px; line-height: 13px; animation: scr-quick .9s cubic-bezier(.2, .9, .3, 1) .04s both; }
#ui .scr-fx.quick.k-fail .scr-fx-title { color: #c9c4ba; }
@keyframes scr-quick { 0% { transform: translateY(8px) scale(.85); opacity: 0; } 18% { transform: none; opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }
#ui .scr .scr-left.fx-new { animation: scr-left-new .6s ease-out both; }
@keyframes scr-left-new { 0% { color: #fff; text-shadow: 0 0 8px #5fe0b4; } 100% { text-shadow: none; } }

/* 추가옵션 재설정 좋은 결과(scroll.js scrBonusGood — 10-24 사용자 "추가옵션도 좋은 거 나오면 좀 이쁜 연출"): 1추 · 2추 줄 = 단계색 빛줄이 왼쪽 → 오른쪽으로 훑고(차례 70 ms)
   글자가 단계색으로 한 번 빛남 · 숫자 칸이 1.35 배로 튐(도깨비 보상 칸 팝 420 ms 결). 상자 테 번쩍 = 잠재 등급 오름 .up(--rc = 가장 좋은 단계색) */
#ui .scr .scr-cube .scr-bonus .ic-line.b.good { overflow: visible; border-radius: 2px; background: linear-gradient(100deg, transparent 35%, color-mix(in srgb, var(--cc) 50%, transparent) 46%, rgba(255, 255, 255, .75) 50%,
  color-mix(in srgb, var(--cc) 50%, transparent) 54%, transparent 65%) no-repeat; background-size: 300% 100%; animation: scr-good-line .9s ease-out both; animation-delay: calc(var(--i, 0) * 70ms); }
#ui .scr .scr-cube .scr-bonus .ic-line.b.good .chu { animation: scr-chu-pop .42s cubic-bezier(.2, .9, .3, 1.5) both; animation-delay: calc(var(--i, 0) * 70ms + .12s); }
@keyframes scr-good-line { 0% { background-position: 100% 0; } 45% { text-shadow: 0 0 8px var(--cc), 0 0 2px #fff; } 100% { background-position: 0 0; text-shadow: none; } }
@keyframes scr-chu-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); box-shadow: 0 0 10px var(--cc), inset 0 0 0 1px #fff; } 100% { transform: scale(1); } }

/* 확률표(10-24 사용자 "추가옵션 확률표 같은 거 싹 보여 줘야 … 잠재옵션도 ? 버튼 하나 만들어서 팝업으로"): ? = 둥근 14 알약(글자색 테 — hq-ui 흰 선 아이콘 결) ·
   판 = 재설정 창과 같은 작은 팝업 판(위 공통 모서리) 폭 300 · 높이 = 강화 창 안(스크롤) · 글자 = 아이템 정보 카드 줄 8.5 · 표 = 넥슨 확률 안내 표 결(머리 줄 · 오른쪽 맞춤 숫자 · 줄무늬) */
#ui .scr .scr-q { flex: none; display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 3px; padding: 0; border: 0; border-radius: 50%; font-family: inherit; font-size: 9px; font-weight: 900; line-height: 1; color: var(--ink);
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); cursor: pointer; transition: transform .06s; }
#ui .scr .scr-q:active { transform: scale(.92); }
#ui .scr .scr-rate .scr-q { margin-left: 0; vertical-align: 1px; }   /* 확률 숫자 바로 뒤 */
#ui .scr .scr-rate.odds { justify-content: flex-end; column-gap: 4px; font-size: 8.5px; }
#ui .scr .scr-odds { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; padding: 7px 0; border-radius: 12px; background: rgba(0, 0, 0, .55); }   /* flex + 높이 정해진 층 = 판 max-height 100% 가 먹는다(grid 자동 줄에서는 안 먹어 판이 창 밖으로 622) */
#ui .scr .scr-odds[hidden] { display: none; }
#ui .scr .scr-odds-in { width: 300px; max-height: 100%; }
#ui .scr .scr-odds-in.pop { animation: fx-pop .283s cubic-bezier(.2, .9, .3, 1.1) both; }
#ui .scr .scr-odds-in .scr-chead { justify-content: center; }
#ui .scr .odds-body { position: relative; z-index: 2; min-height: 0; flex: 1 1 auto; margin: 6px -4px 0; padding: 0 7px 2px 4px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
#ui .scr .scr-odds-in > .scr-btns { position: relative; z-index: 2; justify-content: center; margin-top: 7px; }
#ui .scr .odds-sec { display: flex; align-items: center; gap: 6px; margin: 7px 0 3px; font-size: 8.5px; font-weight: 900; color: #e8d6aa; }
#ui .scr .odds-sec:first-child { margin-top: 0; }
#ui .scr .odds-sec::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(232, 214, 170, .35), transparent); }
#ui .scr .odds-row { display: grid; grid-template-columns: 34px 1fr 44px; align-items: center; gap: 6px; height: 13px; font-size: 8.5px; font-weight: 700; color: var(--ink); }
#ui .scr .odds-row b, #ui .scr .odds-grid b { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
#ui .scr .odds-bar { position: relative; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
#ui .scr .odds-bar > i { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 3px; background: linear-gradient(90deg, #548f8c, #83c3bf); }   /* 결정 청록(.btn.gold) */
#ui .scr .odds-grid { display: grid; grid-template-columns: 1fr repeat(var(--cols), 46px); column-gap: 4px; font-size: 8.5px; font-weight: 700; line-height: 13px; color: var(--ink); }
#ui .scr .odds-grid.opt { grid-template-columns: minmax(0, 1fr) repeat(var(--cols), 42px); }
#ui .scr .odds-grid > * { min-width: 0; padding: 0 2px; white-space: nowrap; overflow: hidden; text-overflow: clip; }   /* 넘치면 "…" 대신 전광판(scroll.js scrMarquee → ui_fx, 10-24 "이렇게 길면 안 됨 전광판 효과") — 1.5px 미만은 그냥 자름 */
#ui .scr .odds-grid > .h { position: sticky; top: 0; z-index: 1; padding-bottom: 1px; font-size: 8px; font-weight: 800; text-align: right; color: var(--ink-soft); background: #202426; box-shadow: 0 1px rgba(255, 255, 255, .08); }
#ui .scr .odds-grid > .l { text-align: left; }
#ui .scr .odds-grid > .me { color: #9fe3dc; } #ui .scr .odds-grid > .h.me { color: #cfeeea; }   /* 이 장비 · 고른 주문서 칸 = 청록 */
#ui .scr .odds-grid > .ic-line.b { overflow: visible; }
#ui .scr .odds-grid > .up.cur { font-weight: 900; } #ui .scr .odds-grid > .up.cur::after { content: " ◂"; color: #9fe3dc; }
#ui .scr .odds-grid > .up em { font-style: normal; }
#ui .scr .odds-chips { display: flex; flex-wrap: wrap; gap: 3px; margin: 2px 0 4px; }
#ui .scr .odds-chips button { flex: none; height: 16px; padding: 0 7px; border: 0; border-radius: 999px; font-family: inherit; font-size: 8.5px; font-weight: 800; line-height: 16px; color: var(--c, var(--ink-soft)); background: rgba(0, 0, 0, .35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); cursor: pointer; }
#ui .scr .odds-chips button.on { color: #26221c; background: linear-gradient(#e6decd, #c7bba3); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }   /* 고른 칩 = 베이지 알약(탭 줄 결) */
#ui .scr .odds-chips button.on[style] { color: #fff; background: color-mix(in srgb, var(--c) 70%, #1b1e20); text-shadow: 0 1px 1px rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 80%, #fff), 0 0 6px color-mix(in srgb, var(--c) 45%, transparent); }   /* 잠재 등급 칩 = 등급색 */
#ui .scr .odds-lg { display: flex; flex-direction: column; margin: 0 0 3px; line-height: 11px; font-size: 8px; font-weight: 700; color: var(--ink-soft); }
#ui .scr .odds-lg em { font-style: normal; font-weight: 800; }
#ui .scr .odds-grid > .z { background: rgba(255, 255, 255, .04); }   /* 줄무늬(한 줄 걸러) */
#ui .scr .odds-note { margin: 6px 0 0; font-size: 7.5px; font-weight: 600; line-height: 10.5px; color: var(--ink-soft); white-space: normal; }

/* 등급 강화 주문서 · 영혼(10-24 사용자 "추가옵션탭에서 [등급 강화 주문서] … 파괴되면 바로 터지는 게 아니라 영혼 상태로 … 강화 탭에서 영혼 복구").
   파괴 확률 글자 = 위험 적갈(고품질UI 강조 색) · 영혼 = 회청 #b8c8ff(inv_fx.css 영혼 칸과 같은 값) */
#ui .scr .scr-rate small em.brk, #ui .scr .odds-grid > b.brk { font-style: normal; color: #e8836a; }
#ui .scr .scr-soul { display: flex; flex-direction: column; gap: 6px; padding: 6px 2px 0; }
#ui .scr .scr-soul-h { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 900; color: #dfe6ff; text-shadow: 0 0 8px rgba(184, 200, 255, .55); }
#ui .scr .scr-soul-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(184, 200, 255, .45), transparent); }
#ui .scr .scr-soul p { margin: 0; font-size: 9px; font-weight: 700; line-height: 1.45; color: var(--ink-soft); }
#ui .scr .scr-soul-mat { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 6px; font-size: 9.5px; font-weight: 800; color: var(--ink);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .scr .scr-soul-mat .item-cell { position: relative; flex: none; width: 30px; height: 30px; }
#ui .scr .scr-soul-mat.none { opacity: .6; }
#ui .scr-fx.r-break .scr-fx-title { color: #dfe6ff; text-shadow: 0 0 10px rgba(140, 160, 255, .8), 0 2px 3px #000; }
#ui .scr-fx.r-break .scr-fx-line { background: linear-gradient(90deg, transparent, rgba(184, 200, 255, .8), transparent); }
#ui .scr-fx.r-revive .scr-flash { background: #dfe6ff; }
#ui .scr-fx.r-revive .scr-fx-line { background: linear-gradient(90deg, transparent, rgba(184, 200, 255, .95), transparent); }
/* 등급 상승 = 잠재 등급 상승(r-potUp)과 같은 말씨 — 새 등급색 빛기둥 · 고리 · 부제 */
#ui .scr-fx.r-gradeUp .pillar { background: linear-gradient(to top, transparent, color-mix(in srgb, var(--rc, #ffe7a0) 80%, transparent) 25%, transparent); }
#ui .scr-fx.r-gradeUp .ring { border-color: var(--rc, #ffe7a0); } #ui .scr-fx.r-gradeUp .scr-fx-sub { color: color-mix(in srgb, var(--rc, #7ad26a) 60%, #fff); }
/* 고를 잠재 확인 창(potpend-1111) = 확률표 층(.scr-odds)과 같은 판 · 폭 268(재설정 창 결) · 등급 상승 = 등급 이름을 등급색으로 크게 */
#ui .scr .scr-pendask-in { width: 268px; }
#ui .scr .scr-pendask-in > :not(.gf-skin) { position: relative; z-index: 2; }
#ui .scr .scr-pendask-in .scr-chead h3 { color: #ffd76a; }
#ui .scr .scr-pendask-who { margin: 4px 0 2px; font-size: 9px; line-height: 12px; text-align: center; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .scr .scr-pendask-up { display: flex; align-items: baseline; justify-content: center; gap: 5px; margin: 1px 0 4px; font-size: 10px; line-height: 16px; color: #f2f0e7; }
#ui .scr .scr-pendask-up span { padding: 0 6px; border-radius: 8px; font-size: 9px; font-weight: 800; color: #1a1408; background: var(--uc); }
#ui .scr .scr-pendask-up s { text-decoration: none; color: var(--ink-soft); }
#ui .scr .scr-pendask-up b { font-size: 14px; font-weight: 900; color: var(--uc); text-shadow: 0 0 6px var(--uc), 0 1px 0 #000; }
#ui .scr .scr-pendask-in .scr-cside { flex: none; }
#ui .scr .scr-pendask-in .scr-pot { flex: none; min-height: 44px; }
#ui .scr .scr-pendask-in .scr-pot.up { box-shadow: 0 0 0 1px var(--rc, #ffe7a0), 0 0 10px var(--rc, #ffe7a0); }
#ui .scr .scr-pendask-in .ic-line { font-size: 8.5px; font-weight: 700; line-height: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* = 재설정 창 줄(.scr-cube .ic-line) */
#ui .scr .scr-pendask-note { display: block; margin-top: 4px; font-size: 8.5px; line-height: 11px; text-align: center; color: var(--ink-soft); }
#ui .scr .scr-pendask-in > .scr-btns { justify-content: center; gap: 5px; padding-right: 0; margin-top: 6px; }
#ui .scr .scr-pendask-in .scr-btns .btn { min-height: 22px; font-size: 10px; }

/* gf:js-pack prototype/Spikes/rt-battle/features/townshop/townshop.css */
/* 마을 무기 · 방어구 상점 창(하이랜드 P1-C · LANES G7, DESIGN §4.9 · 2026-10-23 사용자 "메이플스토리처럼 마을 무기 상인 · 방어구 상인"). 판 · 머리 띠 · 탭 · 알약 = 공용 .popup.full(windows-css 01-popup).
   여기는 차이만(고품질UI: GUI 450 기준 아이콘 40 · 칸 52 · 제목 17 · 알약 28 · 탭 줄 30 · 단추 = 글자 폭, 고른 것은 크기 대신 베이지 알약 · 흰 빛 테).
   배치 = 메이플 NPC 상점 줄 목록(아이콘 칸 + 이름 + 값) + 도깨비의 세계 §9 탭 줄 · §10 등급색 칸. 넓은 화면은 줄을 키우지 않고 열 수를 늘린다(열 최소 232).
   색 = 등급색(키트 칸) · 금(지갑 골드 #e8c979, 01-popup) · 붉은 값(모자람 #ffb3a8, scroll.css 와 같은 값) · 결정 청록(.btn.gold) · 귀속 표시 = 적갈(위험 #a64646 계열). */
#ui .popup.full.tshop > .popup-head > h2::before { -webkit-mask-image: url(assets/icons/menu-shop.png); mask-image: url(assets/icons/menu-shop.png); }
/* 거르기 한 줄(10-23 사용자 "필터를 한 줄에 · 공간 활용"): 계열 알약(왼쪽) ↔ 레벨 알약(오른쪽). 좁으면 계열 줄만 손가락으로 옆 끌기(줄바꿈 없음).
   판매 = 머리 띠 지갑 옆 글자 폭 알약(탭 줄 없앰) — 판매 목록일 때는 청록(.gold) [구매]. */
#ui .tshop .ts-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
#ui .tshop .ts-bar .tabs { flex: none; height: 30px; }
#ui .tshop .ts-bar .ts-fams { flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
#ui .tshop .ts-bar .ts-fams::-webkit-scrollbar { display: none; }
#ui .tshop .ts-bar .ts-fams .tab { flex: none; }
#ui .popup.full.tshop > .popup-head > .ts-mode { margin-left: auto; min-height: 28px; height: 28px; padding: 0 16px; }
#ui .popup.full.tshop > .popup-head > .win-wallet { margin-left: 12px; }
#ui .tshop .ts-bands .tab, #ui .tshop .ts-fams .tab { min-width: 0; padding: 0 12px; font-size: 12px; }
#ui .tshop .ts-bands .tab.mine:not(.on) { color: var(--ink); box-shadow: inset 0 -2px 0 #d9b45a; }   /* 내 레벨이 든 칸 = 금 밑줄(경매장 탭 밑줄 결, 고품질UI §3) */
/* 줄 목록: 줄 높이 60 = 칸 52 + 위아래 4. 폰 가로 GUI 폭 ≈ 1000 → 4열, PC 16:9 ≈ 800 → 3열 */
#ui .tshop .ts-list { flex: 1; min-height: 0; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 6px; align-content: start;
  padding: 6px; border-radius: 10px; background: rgba(0, 0, 0, .22); }
#ui .tshop .ts-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 10px; height: 60px; padding: 0 12px 0 4px; border: 0; border-radius: 8px; text-align: left;
  color: var(--ink); background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); cursor: pointer; transition: transform .06s, background .15s; }
#ui .tshop .ts-row:hover { background: rgba(255, 255, 255, .08); }
#ui .tshop .ts-row:active { transform: scale(.97); }   /* 누름(ui-juice 0.92 는 칸 기준 — 넓은 줄은 .97) */
#ui .tshop .ts-row.off { opacity: .55; }
#ui .tshop .ts-row .item-cell { cursor: inherit; }
#ui .tshop .ts-txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#ui .tshop .ts-txt b { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .tshop .ts-txt small { font-size: 11px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .tshop .ts-txt em { font-style: normal; color: var(--ink); }
#ui .tshop .ts-txt em.low { color: #ffb3a8; }   /* 착용 레벨이 내 레벨보다 높음 */
#ui .tshop .ts-price { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 900; color: #e8c979; }
#ui .tshop .ts-price img { width: 16px; height: 16px; }
#ui .tshop .ts-price.short { color: #ffb3a8; }
#ui .tshop .ts-empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; font-size: 13px; font-weight: 800; color: var(--ink-soft); }
/* 연출: 처음 열 때 · 거르기를 바꿀 때 줄 순차 등장(ui_fx fx-cell · 칸 70 ms 결을 줄 30 ms 로 — 줄이 많아 전체 ≤ .5 s) · 판매 = 지갑 튐 + 떠오르는 +골드 */
#ui .tshop .ts-list[data-fresh] .ts-row { animation: ts-in .28s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i, 0) * 30ms); }
#ui .tshop .ts-list[data-fresh="1"] .ts-row { animation-name: ts-in2; }   /* 같은 이름이면 다시 안 돈다 — 거르기마다 이름을 바꿔 다시 */
#ui .tshop .ts-list.ts-still .ts-row { animation: none; }
#ui .tshop .ww { position: relative; }
#ui .tshop .ww.ts-bump b { animation: fx-bump .36s ease-out; }
#ui .tshop .ts-plus { position: absolute; right: 4px; top: -2px; font-size: 13px; font-weight: 900; color: #e8c979; text-shadow: 0 1px 2px #000c; pointer-events: none; animation: ts-plus .9s ease-out both; }
@keyframes ts-in { 0% { transform: translateY(8px) scale(.96); opacity: 0; } 70% { transform: scale(1.01); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes ts-in2 { 0% { transform: translateY(8px) scale(.96); opacity: 0; } 70% { transform: scale(1.01); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes ts-plus { 0% { transform: translateY(6px); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-22px); opacity: 0; } }

/* 구매 · 판매 팝업 = 공용 아이템 정보 카드(.icard — features/bag/inv_fx.css 한 벌: 이름 10 · 작은 줄 8 · 줄 8.5 · 증가량 15 · 아이콘 칸 · 별 · 색) + 값 · 단추 줄.
   10-24 사용자 "상점 아이템 상세설명은 인벤토리 · 경매장 · 강화창 아이템설명처럼 깔끔하게 처리 안 돼 있잖아 · 정규화하자고 했잖음 · 매번 다 다르게 그리면 어카냐"
   → 옛 .tip-* 카드(이름 14 · 줄 12 · 증가량 24 · 폭 288)를 지우고 물품 창 카드를 그대로 쓴다. 폭 = 물품 창 아이템 정보 칸(915 가로 화면 약 220).
   판 = 메이플 툴팁 무채 검은 반투명 판 + 회색 1px 테(10-23), 카드 자기 판은 겹치지 않게 끈다. 값 · 단추 = 카드 글자 결(능력치 탭 알약 22 · 10, stats.js). */
#ui .popup.ts-buy { --ink: #f2f0e7; --ink-soft: #9a9d98; width: 220px; padding: 4px 4px 8px; border: 0; border-image: none; border-radius: 6px; color: var(--ink);
  background: linear-gradient(rgba(22, 23, 24, .95), rgba(12, 13, 14, .95)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .42), inset 0 0 0 1px rgba(0, 0, 0, .8), 0 10px 22px rgba(0, 0, 0, .55); filter: none; }
#ui .ts-buy .ts-icard { background: none; box-shadow: none; }
#ui .ts-buy .tip-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin: 0 8px; padding-top: 7px; border-top: 1px dashed rgba(255, 255, 255, .22); }   /* 카드 구획과 같은 점선 */
#ui .ts-buy .tip-price { display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 900; color: #e8c979; }
#ui .ts-buy .tip-price small { margin-right: 2px; font-size: 8.5px; font-weight: 700; color: var(--ink-soft); }
#ui .ts-buy .tip-price img { width: 12px; height: 12px; }
#ui .ts-buy .tip-price b.short { color: #ffb3a8; }
#ui .ts-buy .tip-btns { display: flex; gap: 5px; }
#ui .ts-buy .btn { flex: none; min-height: 22px; height: 22px; padding: 0 10px; border: 0; border-image: none; border-radius: 999px; background: linear-gradient(#ece4d3, #c9bda6); color: #2b261e; text-shadow: none; filter: none;
  font-size: 10px; font-weight: 800; white-space: nowrap; box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .35); }
#ui .ts-buy .btn.gold { background: linear-gradient(#83c3bf, #548f8c); color: #fff; }
#ui .ts-buy .btn.plain { background: rgba(255, 255, 255, .12); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .ts-buy .btn.off { filter: grayscale(1); opacity: .45; }
#ui .ts-buy .ts-why { flex-basis: 100%; text-align: center; font-size: 8.5px; font-weight: 700; color: #ffb3a8; }

/* gf:js-pack prototype/Spikes/rt-battle/features/quest/quest.css */
/* 퀘스트(하이랜드 P2 · LANES G9, 2026-10-24 사용자 "EFZ처럼 미니맵 밑에 퀘스트창 · UI 깔끔하게 · 메인 | 서브"). 판 · 머리 띠 · 탭 · 알약 = 공용 .popup.full(windows-css 01-popup).
   여기는 차이만(고품질UI: GUI 450 기준 · 아이콘 40 · 칸 44~52 · 제목 17 · 알약 28 · 탭 줄 30 · 단추 = 글자 폭, 고른 것은 크기 대신 베이지 · 흰 빛 테).
   색 = 거의 무채 + 강조: 메인 꼬리표 금 #e8c979(지갑 골드 · 도깨비의 세계 §5 "메인 노랑") · 서브 꼬리표 파랑 #5fb6e8(grades.json 잠재 rare · 도깨비 "서브 파랑")
        · 완료 가능 초록 #68d890(EFZ 퀘스트 완료 글자) · 알리미 판 #0d1011 α.5 · 테 #43494a(EFZ obj_quest_list 판 · 테) · 글자 #f2f0e7 / #b9bcb4(EFZ 흰 · 회) · 등급색 = grades.json. */

/* ---------------- ① 알리미(왼쪽 위 칸 아래 — 10-28 미니맵 대신 프로필 칸 .top-l 8 + 46 · 지금 자리 줄 4 + 20 = 78 → 6 띄워 알리미 top 84, 옛 미니맵 · 지역 이름 아래 140).
   G9-2A(10-25 사용자 "메인|서브로 나누지 마 · 메인은 위에 노란색 배지로 눈에 띄게 · 서브는 회색 배지에 회색으로 · < 1 > 넘김 · 최대 3개"): 탭 없음 ·
   머리 = "퀘스트 ≡" 알약 하나(창 열기) · 메인 두 줄(노란 배지 · 노란 이름 · 금빛 바탕) · 서브 한 줄(회색 배지 · 회색 글) · 넘치면 밑에 [‹ 1 ›].
   높이 = 머리 28 + 메인 36 + 서브 22 × 2 + 넘김 22 + 틈 = 138 → 아래 끝 238(조이스틱 고리 위 끝 245 위).
   자리 · 크기 = 메이플 키우기 기준(docs/one-click-game-factory/analysis/maple-idle-ui-size.md): 프로필 칸 6+56 · 틈 8 · 지금 자리 알약 30 · 틈 8 → top 108,
   머리 = 노랑 굵은 제목(메이플 알리미 "가이드 퀘스트" 노랑 제목 결) · 높이 28 알약 · 누름 칸 34 이상(투명 여유) */
#hud .qtrack { left: 8px; top: 108px; width: 196px; display: flex; flex-direction: column; gap: 2px; pointer-events: auto; }
#hud .qtrack[hidden] { display: none; }
/* 보이는 알약 28 + 투명 테 위아래 3 = 누름 칸 34(maple-idle-ui-size.md 가장 작은 행동 칸) · 바깥 여백 -3 으로 자리는 28 그대로(::after 는 일일 퀘스트 점 qd-dot 이 쓴다) */
#hud .qt-head { position: relative; align-self: flex-start; display: flex; align-items: center; gap: 6px; height: 34px; min-width: 96px; box-sizing: border-box; margin: -3px 0; padding: 0 11px 0 8px;
  border: 3px solid transparent; border-left-width: 0; border-right-width: 0; border-radius: 17px / 17px; background-clip: padding-box;
  background-image: linear-gradient(90deg, rgba(74, 58, 18, .82), rgba(13, 16, 17, .66)); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .62);
  color: #ffe39a; font: inherit; cursor: pointer; transition: transform .06s; }   /* 판 · 테 = 메인 줄(.k-main)과 같은 금빛 */
#hud .qt-head::before { content: ""; flex: none; width: 15px; height: 15px; background: #ffd36b; -webkit-mask: url(features/quest/icon-quest.png) center / contain no-repeat; mask: url(features/quest/icon-quest.png) center / contain no-repeat;
  filter: drop-shadow(0 1px 1px #000); }   /* 흰 선 퀘스트 아이콘(메뉴 · 대화 [퀘스트]와 같은 그림)을 수락 가능 금으로 */
#hud .qt-head:active { transform: scale(.94); }
#hud .qt-ttl { font-size: 12px; font-weight: 900; letter-spacing: .3px; text-shadow: 0 1px 2px #000; }
/* ≡ 흰 선 세 줄(메뉴 결 — 오른쪽 위 ☰ 와 같은 뜻) */
#hud .qt-menu { position: relative; width: 11px; height: 9px; background: linear-gradient(#f2f0e7 0 0) 0 0 / 100% 1.6px no-repeat, linear-gradient(#f2f0e7 0 0) 0 50% / 100% 1.6px no-repeat, linear-gradient(#f2f0e7 0 0) 0 100% / 100% 1.6px no-repeat; filter: drop-shadow(0 1px 1px #000); }
#hud .qt-rows { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; }
#hud .qt-item { position: relative; display: flex; align-items: center; }
#hud .qt-item > .qt-row { flex: 1; min-width: 0; width: 100%; }
#hud .qt-cancel { position: absolute; left: calc(100% + 4px); top: 50%; transform: translateY(-50%); height: 22px; padding: 0 8px; border: 0; border-radius: 11px; white-space: nowrap;
  background: rgba(13, 16, 17, .82); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .48), 0 2px 6px rgba(0, 0, 0, .45); color: #f2f0e7; font: inherit; font-size: 10px; font-weight: 800;
  text-shadow: 0 1px 2px #000; cursor: pointer; pointer-events: auto; z-index: 2; transition: transform .06s, background .15s; }
#hud .qt-cancel:active { transform: translateY(-50%) scale(.94); }
/* 다른 섬 [바로 가기] 알약(onboard-1108 — features/skyisle/sky_quest.js ⑦): 알리미 밑 · 글자 폭 · 높이 28(고품질UI 알약) · 결정 베이지(대화 [수락] .qt-talk-opt.k-go 와 같은 색) ·
   왼쪽 = 앞으로 가는 화살 · 섬 이름(굵게) + "바로 가기". 나타날 때 톡 + 은은한 숨(눈에 띄게) */
#hud .qt-sail { align-self: flex-start; display: flex; align-items: center; gap: 6px; height: 28px; margin-top: 3px; padding: 0 12px 0 8px; border: 0; border-radius: 14px; white-space: nowrap;
  color: #2b261e; font: inherit; font-size: 11px; font-weight: 700; letter-spacing: -.2px; cursor: pointer; pointer-events: auto;
  background: linear-gradient(90deg, #f0e8d6, #d9cbab); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 12px rgba(240, 232, 214, .35), 0 3px 8px rgba(0, 0, 0, .4);
  animation: qt-sail-in .26s cubic-bezier(.2, 1.4, .4, 1) both, qt-sail-glow 1.6s ease-in-out .3s infinite alternate; transition: transform .06s; }
#hud .qt-sail[hidden] { display: none; }
#hud .qt-sail:active { transform: scale(.94); }
#hud .qt-sail b { font-weight: 900; }
#hud .qt-sail span { font-weight: 600; opacity: .8; }
#hud .qt-sail-ic { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; background: rgba(43, 38, 30, .14); }
#hud .qt-sail-ic::after { content: ""; position: absolute; left: 6px; top: 4px; width: 6px; height: 8px; background: #2b261e; clip-path: polygon(0 0, 100% 50%, 0 100%); }
@keyframes qt-sail-in { from { opacity: 0; transform: translateY(-4px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes qt-sail-glow { from { box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 6px rgba(240, 232, 214, .2), 0 3px 8px rgba(0, 0, 0, .4); } to { box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 0 16px rgba(240, 232, 214, .55), 0 3px 8px rgba(0, 0, 0, .4); } }
#hud .qt-rows.flip-r > * { animation: qt-flip-r .22s cubic-bezier(.2, .9, .3, 1) both; }   /* 쪽 넘김 = 줄이 그쪽에서 밀려 들어옴 */
#hud .qt-rows.flip-l > * { animation: qt-flip-l .22s cubic-bezier(.2, .9, .3, 1) both; }
#hud .qt-rows > :nth-child(2) { animation-delay: 30ms; } #hud .qt-rows > :nth-child(3) { animation-delay: 60ms; }
/* 줄: 왼쪽 3px 색 꼬리표 · 어두운 반투명(오른쪽으로 옅어짐 — 도깨비 지역 이름 띠 결) · 1px 테 */
#hud .qt-row { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 22px; padding: 3px 16px 3px 8px; border: 0; border-radius: 4px; overflow: hidden;
  background: linear-gradient(90deg, rgba(13, 16, 17, .6), rgba(13, 16, 17, .34)); box-shadow: inset 0 0 0 1px rgba(67, 73, 74, .45); color: #f2f0e7; font: inherit; text-align: left; cursor: pointer;
  transition: transform .06s, background .15s; --qc: #8d918b; }
#hud .qt-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--qc); }
/* 메인 = 노랑으로 눈에 띄게(배지 #e8c979 = 지갑 골드 · 이름 #ffe39a · 금빛 바탕 · 금 테) */
#hud .qt-row.k-main { min-height: 36px; --qc: #e8c979; background: linear-gradient(90deg, rgba(74, 58, 18, .72), rgba(13, 16, 17, .4)); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .42); }
#hud .qt-row.k-main .qt-name { color: #ffe39a; }
#hud .qt-row.k-main .qt-goal { color: #e6dcc0; }
/* 서브 = 회색으로 덜 띄게(배지 #8d918b · 글 #a7aaa3 — EFZ 회 #b9bcb4 보다 한 단 낮게) */
#hud .qt-row.k-sub .qt-goal { color: #a7aaa3; font-size: 10px; }
#hud .qt-row.k-sub .qt-n { color: #c3c6bf; font-size: 10px; }
#hud .qt-row.s-none { cursor: default; --qc: #43494a; }
#hud .qt-row.s-none.hint { cursor: pointer; }
/* 받을 수 있는 서브 줄(메인 · 진행 줄 아래): ! 표지 = 수락 가능 금 #ffd36b(.s-offer 글자와 같은 값) · 표지 맥동 628 ms(ui-juice 빨간 점 주기) */
#hud .qt-row.hint.offer { --qc: #ffd36b; }
#hud .qt-row.hint.offer .qt-goal { color: #e6dcc0; font-size: 10px; }
#hud .qt-row.hint.offer .qt-n { color: #ffd36b; font-size: 10px; }
#hud .qt-bang { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #ffd36b; color: #16130d; font-style: normal; font-size: 9px; font-weight: 900; line-height: 12px; text-align: center; animation: qt-dot .628s ease-in-out infinite alternate; }
#hud .qt-row:active, #hud .qt-row.press { transform: scale(.97); }
#hud .qt-l1, #hud .qt-l2 { display: flex; align-items: center; gap: 5px; min-width: 0; white-space: nowrap; }
#hud .qt-tag { flex: none; font-style: normal; font-size: 8.5px; font-weight: 900; line-height: 12px; padding: 0 4px; border-radius: 3px; color: #16130d; background: var(--qc); }
#hud .qt-row.k-sub .qt-tag { color: #1c1e1c; background: #8d918b; }
#hud .qt-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 900; text-shadow: 0 1px 2px #000; }
#hud .qt-goal { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; font-weight: 700; color: #b9bcb4; text-shadow: 0 1px 2px #000; }
#hud .qt-n { flex: none; font-style: normal; font-size: 10.5px; font-weight: 900; color: #f2f0e7; text-shadow: 0 1px 2px #000; }
#hud .qt-n.bump { animation: qt-bump .36s ease-out; }   /* 진행 숫자 톡(재화 숫자 튐 결) */
/* 이 줄로 걸어가는 중(10-25 사용자 "완료 가능 위에 (자동아이콘)이동중"): 메인 = 첫 줄 오른쪽(진행 글 바로 위) · 서브 = 진행 글 자리. 자동 아이콘(autohunt hud-auto.svg)이 돌고 걷는 점 셋(⑦ 이동 표시와 같은 점) */
#hud .qt-mv { flex: none; display: flex; align-items: center; gap: 3px; margin-left: auto; font-size: 10px; font-weight: 900; color: #ffe39a; text-shadow: 0 1px 2px #000; }
#hud .qt-mv .qt-auto { width: 10px; height: 10px; background: url(features/autohunt/hud-auto.svg) center / contain no-repeat; filter: drop-shadow(0 1px 1px #000); animation: qt-spin 1.6s linear infinite; }
#hud .qt-mv .qm-dots { display: flex; gap: 2px; }
#hud .qt-mv .qm-dots > i { width: 2px; height: 2px; border-radius: 50%; background: #ffe39a; animation: qm-dot .9s ease-in-out infinite; }
#hud .qt-mv .qm-dots > i:nth-child(2) { animation-delay: .15s; } #hud .qt-mv .qm-dots > i:nth-child(3) { animation-delay: .3s; }
#hud .qt-go { position: absolute; right: 6px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid rgba(242, 240, 231, .5); border-top: 1.5px solid rgba(242, 240, 231, .5); transform: rotate(45deg); }
/* 상태: 완료 가능 = 초록 꼬리표 · 글자 + 테 빛 맥동(등급 빛 1047 ms) · 받을 수 있음 = 금 글자 · 레벨 모자람 = 흐림 · 보내는 중 = 도는 고리 */
/* 11-10 huntfix-1110: 테 빛 맥동은 box-shadow 애니메이션(주 스레드 스타일 다시 계산 매 프레임) 대신 — 줄에는 맥동의 시작값(초록 테 .45)을 두고,
   끝값(초록 테 .95 + 바깥 빛 8px .35)을 그린 덮개(.qt-item::after — 줄은 overflow hidden 이라 바깥 빛은 줄 밖 .qt-item 에)를 같은 박자로 opacity 0→1(합성 스레드).
   겹친 결과 = 테 .45 → .97(옛 .45 → .95) · 바깥 빛 0 → .35(같음) */
#hud .qt-row.s-ready { --qc: #68d890; box-shadow: inset 0 0 0 1px rgba(104, 216, 144, .45); }
#hud .qt-item:has(> .qt-row.s-ready)::after { content: ""; position: absolute; inset: 0; border-radius: 4px; pointer-events: none; opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(104, 216, 144, .95), 0 0 8px rgba(104, 216, 144, .35); animation: qt-ready 1.047s ease-in-out infinite alternate; }
#hud .qt-row.s-ready .qt-n { color: #68d890; }
#hud .qt-row.s-ready .qt-go { border-color: #68d890; }
#hud .qt-row.k-main .qt-tag { background: #e8c979; }   /* 배지 = 늘 메인 노랑 · 서브 회색(완료 가능은 꼬리표 · 글 · 테만 초록 — sandbox 에서 메인 배지가 초록으로 바뀌어 보임) */
#hud .qt-row.s-offer .qt-n { color: #ffd36b; }
#hud .qt-row.s-level, #hud .qt-row.s-wait { opacity: .62; }
#hud .qt-row.s-level .qt-n { color: #9a9d98; }
#hud .qt-row.s-busy .qt-go { width: 8px; height: 8px; margin-top: -5px; border: 2px solid rgba(242, 240, 231, .25); border-top-color: #f2f0e7; border-radius: 50%; animation: qt-spin .7s linear infinite; }
/* 새 줄 = 왼쪽에서 들어오며 빛 한 번 훑기 */
#hud .qt-row.fresh { animation: qt-in .28s cubic-bezier(.2, .9, .3, 1) both; }
#hud .qt-row.fresh::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 240, 200, .28), transparent); animation: qt-sheen .9s ease-out .15s both; pointer-events: none; }
#hud .qt-row.s-ready.fresh { animation: qt-in .28s cubic-bezier(.2, .9, .3, 1) both; }
#hud .qt-item:has(> .qt-row.s-ready.fresh)::after { animation-delay: .28s; }
/* 넘김 [‹ 1 ›]: 어두운 알약 단추 28 × 22(이웃 칸 틈 8) · 쪽 번호 · 끝 쪽은 흐림 · 다른 쪽에 완료 가능 = 초록 점 */
#hud .qt-pager { display: flex; align-items: center; justify-content: center; gap: 8px; height: 22px; }
#hud .qt-pager[hidden] { display: none; }
#hud .qt-pg { position: relative; width: 28px; height: 22px; padding: 0; border: 0; border-radius: 11px; background: rgba(13, 16, 17, .58); box-shadow: inset 0 0 0 1px rgba(67, 73, 74, .7); cursor: pointer; transition: transform .06s, opacity .15s; }
#hud .qt-pg:active { transform: scale(.9); }
#hud .qt-pg:disabled { opacity: .32; cursor: default; }
#hud .qt-pg > i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -3px 0 0 -2px; border-left: 1.5px solid #f2f0e7; border-bottom: 1.5px solid #f2f0e7; transform: rotate(45deg); }
#hud .qt-pg.next > i { margin-left: -4px; transform: rotate(-135deg); }
#hud .qt-pg.dot::after { content: ""; position: absolute; right: -1px; top: -1px; width: 5px; height: 5px; border-radius: 50%; background: #68d890; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); animation: qt-dot .628s ease-in-out infinite alternate; }   /* 점 628 ms(ui-juice) */
#hud .qt-pn { min-width: 12px; font-size: 11px; font-weight: 900; text-align: center; color: #f2f0e7; text-shadow: 0 1px 2px #000; }
#ui .qwin .qw-tabs .tab.qw-dot { position: relative; }
#ui .qwin .qw-tabs .tab.qw-dot::after { content: ""; position: absolute; right: 4px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: #68d890; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); animation: qt-dot .628s ease-in-out infinite alternate; }   /* [성장] 탭 받을 보상 = 알리미 쪽 넘김과 같은 초록 점(11-03 W1) */
@keyframes qt-dot { from { transform: scale(.85); } to { transform: scale(1.15); } }
@keyframes qt-bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); color: #fff6d8; } 100% { transform: scale(1); } }
@keyframes qt-ready { from { opacity: 0; } to { opacity: 1; } }
@keyframes qt-spin { to { transform: rotate(360deg); } }
@keyframes qt-in { from { transform: translateX(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes qt-sheen { from { left: -40%; } to { left: 120%; } }
@keyframes qt-flip-r { from { transform: translateX(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes qt-flip-l { from { transform: translateX(-14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------------- ③ 대화 판 단추([수락] [다음에] · [완료]) — slots.js 선택지(.gf-talk-opt 248×38 · 둥근 19 · 아이콘 원 28)와 같은 자리 · 크기 · 색 */
#ui .qt-talk-opts { position: absolute; right: 7.5%; top: 48px; height: 250px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; pointer-events: auto; z-index: 4; }
#ui .qt-talk-opt { position: relative; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 10px; width: 220px; height: 38px; padding: 0 14px 0 5px; border: 0; border-radius: 19px;
  background: linear-gradient(90deg, rgba(14, 17, 24, .9), rgba(14, 17, 24, .68)); box-shadow: inset 0 0 0 1px rgba(222, 226, 237, .12), 0 4px 12px rgba(0, 0, 0, .35);
  color: #eef0f4; font: inherit; font-size: 13.5px; font-weight: 700; text-align: left; text-shadow: 0 1px 2px #000; cursor: pointer;
  animation: qt-opt-in .3s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i, 0) * 60ms); transition: transform .08s; }
#ui .qt-talk-opt > i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
#ui .qt-talk-opt > i::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url(features/quest/icon-quest.png) center / contain no-repeat; mask: url(features/quest/icon-quest.png) center / contain no-repeat; }
#ui .qt-talk-opt.k-go { color: #2b261e; text-shadow: none; background: linear-gradient(90deg, #f0e8d6, #d9cbab); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 14px rgba(240, 232, 214, .35), 0 4px 12px rgba(0, 0, 0, .35); }   /* 결정 = 고른 알약 베이지(slots .gf-talk-opt.on) */
#ui .qt-talk-opt.k-go > i { background: rgba(43, 38, 30, .12); }
#ui .qt-talk-opt.k-end { color: #9aa0a6; }   /* 등급색 아님: 대화 끝 회색 */
#ui .qt-talk-opt.k-end > i::after { -webkit-mask-image: url(assets/icons/talk-end.svg); mask-image: url(assets/icons/talk-end.svg); }
#ui .qt-talk-opt:active { transform: scale(.97); }
#ui .qt-talk-opt.picked { animation: qt-opt-pick .18s ease-out both; }
@keyframes qt-opt-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes qt-opt-pick { 45% { transform: scale(1.05); filter: brightness(1.15); } 100% { transform: scale(1); } }

/* ---------------- ④ 퀘스트 창(전체화면): 머리 = ‹ + 흰 퀘스트 아이콘 + 제목 + 메인 진행 · 탭 줄 · 왼쪽 목록 300 | 오른쪽 상세(도깨비 §8 B — UI 를 한쪽 열로 모음) */
#ui .popup.full.qwin > .popup-head > h2::before { -webkit-mask-image: url(features/quest/icon-quest.png); mask-image: url(features/quest/icon-quest.png); }
#ui .qwin .qw-chap { margin-left: 10px; font-size: 12px; font-weight: 800; color: var(--ink-soft); }
#ui .qwin .qw-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
#ui .qwin .qw-bar .tabs { height: 30px; }
#ui .qwin .qw-reset { font-size: 11px; font-weight: 700; color: var(--ink-soft); }
#ui .qwin .qw-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(250px, 300px) 1fr; gap: 10px; }
#ui .qwin .qw-list { min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 3px; padding: 6px; border-radius: 10px; background: rgba(0, 0, 0, .22); }
/* 목록 줄(G9-2A, 10-25 "메인 노란 배지 · 서브 회색 배지 · 지금 맡고 있는 퀘스트만 · 보여질 걸 선택할 수 있게"): [배지] 이름 · 진행 · 알리미 켬/끔 칸(16) */
#ui .qwin .qw-lhead { flex: none; display: flex; align-items: center; justify-content: space-between; height: 18px; padding: 0 8px 0 4px; font-size: 10.5px; font-weight: 800; color: var(--ink-soft); }
#ui .qwin .qw-lhead.sec { margin-top: 8px; padding-left: 8px; border-left: 2px solid var(--ink); color: var(--ink); }   /* 섹션 머리 = 흰 세로 막대 + 흰 굵은 글(도깨비 §8) */
#ui .qwin .qw-row { flex: none; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; height: 34px; padding: 0 10px 0 8px; border: 0; border-radius: 7px; text-align: left;
  color: var(--ink); font: inherit; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); cursor: pointer; transition: transform .06s, background .15s; }
#ui .qwin .qw-row.pinnable { grid-template-columns: auto 1fr auto 16px; }
#ui .qwin .qw-row:active { transform: scale(.98); }
#ui .qwin .qw-row b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 800; }
#ui .qwin .qw-row.k-main b { color: #ffe39a; }   /* 메인 = 노랑(알리미와 같은 #ffe39a) */
#ui .qwin .qw-row.k-main { background: linear-gradient(90deg, rgba(232, 201, 121, .14), rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .28); }
#ui .qwin .qw-row.k-sub b { color: #c9ccc5; }
#ui .qwin .qw-tag { font-style: normal; font-size: 9.5px; font-weight: 900; line-height: 15px; padding: 0 5px; border-radius: 3px; color: #16130d; background: #e8c979; }
#ui .qwin .k-sub .qw-tag { color: #1c1e1c; background: #8d918b; }
#ui .qwin .qw-pr { font-style: normal; font-size: 11px; font-weight: 900; color: var(--ink-soft); white-space: nowrap; }
#ui .qwin .k-main .qw-pr { color: #e8c979; }
#ui .qwin .s-ready .qw-pr { color: #68d890; }
#ui .qwin .s-offer .qw-pr { color: #ffd36b; }
#ui .qwin .s-done .qw-pr { color: #68d890; font-size: 10.5px; }
#ui .qwin .qw-row.on { background: linear-gradient(90deg, rgba(230, 222, 205, .26), rgba(199, 187, 163, .12)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 0 10px rgba(240, 232, 214, .12); }   /* 고른 줄 = 베이지 · 흰 빛 테(도깨비 §8 도술 목록) */
#ui .qwin .qw-row.s-ready { animation: qw-ready 1.047s ease-in-out infinite alternate; }   /* 완료 가능 = 초록 테 맥동(등급 빛 1047 ms) */
#ui .qwin .qw-row.s-done b { color: #9a9d98; }
#ui .qwin .qw-row.s-level, #ui .qwin .qw-row.s-wait { opacity: .55; }
/* 알리미 켬/끔 칸: 둥근 네모 테 · 켬 = 금 채움 + 검은 체크(눌러 바꾸면 톡 튐) */
#ui .qwin .qw-pin { position: relative; width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgba(242, 240, 231, .42); transition: background .15s, box-shadow .15s; }
#ui .qwin .qw-pin.on { background: #e8c979; box-shadow: inset 0 0 0 1px rgba(255, 246, 216, .7), 0 0 6px rgba(232, 201, 121, .35); }
#ui .qwin .qw-pin.on > i { position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border-right: 2px solid #16130d; border-bottom: 2px solid #16130d; transform: rotate(45deg); }
#ui .qwin .qw-pin.flick { animation: qw-flick .26s ease-out; }
@keyframes qw-flick { 45% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes qw-ready { from { box-shadow: inset 0 0 0 1px rgba(104, 216, 144, .35); } to { box-shadow: inset 0 0 0 1px rgba(104, 216, 144, .9), 0 0 8px rgba(104, 216, 144, .3); } }

#ui .qwin .qw-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; flex: 1; min-height: 160px; font-size: 12.5px; font-weight: 800; color: var(--ink-soft); }
#ui .qwin .qw-empty i { width: 40px; height: 40px; background: #6d716c; -webkit-mask: url(features/quest/icon-quest.png) center / contain no-repeat; mask: url(features/quest/icon-quest.png) center / contain no-repeat; }   /* 빈 목록 = 무채색 글리프 */
/* 완료됨 거르기 [전체 · 메인 · 서브](글자 폭 알약 22) + 아래 넘김 [‹ 1/3 ›](10-25 "필터 · 스크롤 대신 < 1 > 버튼") — 알리미 넘김(.qt-pg)과 같은 어두운 알약 */
#ui .qwin .qw-filter { flex: none; display: flex; gap: 4px; margin-bottom: 4px; }
#ui .qwin .qw-f { flex: none; height: 22px; padding: 0 9px; border: 0; border-radius: 11px; font-size: 10.5px; font-weight: 800; color: var(--ink-soft); background: rgba(13, 16, 17, .58); box-shadow: inset 0 0 0 1px rgba(67, 73, 74, .7); }
#ui .qwin .qw-f em { margin-left: 4px; font-style: normal; font-weight: 700; opacity: .75; }
#ui .qwin .qw-f.on { color: #16130d; background: #e6decd; box-shadow: none; }   /* 고른 것 = 베이지(목록 고른 줄과 같은 색) */
#ui .qwin .qw-f:active, #ui .qwin .qw-pg:active { transform: scale(.92); }
#ui .qwin .qw-pager { flex: none; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: auto; padding-top: 6px; }
#ui .qwin .qw-pager b { min-width: 30px; font-size: 12px; font-weight: 900; text-align: center; color: var(--ink); }
#ui .qwin .qw-pager small { font-size: 10px; font-weight: 700; color: var(--ink-soft); }
#ui .qwin .qw-pg { position: relative; width: 30px; height: 22px; padding: 0; border: 0; border-radius: 11px; background: rgba(13, 16, 17, .58); box-shadow: inset 0 0 0 1px rgba(67, 73, 74, .7); cursor: pointer; }
#ui .qwin .qw-pg:disabled { opacity: .32; cursor: default; }
#ui .qwin .qw-pg > i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -2px; border-left: 1.5px solid #f2f0e7; border-bottom: 1.5px solid #f2f0e7; transform: rotate(45deg); }
#ui .qwin .qw-pg.next > i { margin-left: -4px; transform: rotate(-135deg); }
/* 상세 카드 */
#ui .qwin .qw-detail { min-height: 0; overflow: auto; border-radius: 10px; background: rgba(0, 0, 0, .22); }
#ui .qwin .qw-card { display: flex; flex-direction: column; gap: 10px; min-height: 100%; padding: 12px 14px; animation: fx-card-in .22s ease-out both; }
#ui .qwin .qw-card.still, #ui .qwin .qw-card.still .qr-cell { animation: none; }   /* 같은 퀘스트 숫자만 바뀜 = 등장 연출 다시 안 함(quest.js qwDetail) */
#ui .qwin .qw-top { display: flex; align-items: center; gap: 10px; }
#ui .qwin .qw-face { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); display: grid; place-items: center; }
#ui .qwin .qw-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
#ui .qwin .qw-face.crop { position: relative; display: block; }   /* 얼굴만 확대(10-25) — 자리 · 배율은 quest.js FACE 가 인라인으로 */
#ui .qwin .qw-face.crop img { position: absolute; height: auto; max-width: none; object-fit: fill; }
#ui .qwin .qw-face.none b { font-size: 18px; font-weight: 900; color: var(--ink-soft); }
#ui .qwin .qw-name { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#ui .qwin .qw-name small { font-size: 11px; font-weight: 700; color: var(--ink-soft); }
#ui .qwin .qw-name h3 { margin: 0; font-size: 17px; font-weight: 900; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .qwin .qw-kind { align-self: flex-start; font-size: 9.5px; font-weight: 900; line-height: 15px; padding: 0 6px; border-radius: 3px; color: #16130d; background: #e8c979; }
#ui .qwin .qw-kind.k-sub { background: #8d918b; color: #1c1e1c; }   /* 서브 = 회색 배지(10-25) */
#ui .qwin .qw-goal { padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .qwin .qw-gl { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
#ui .qwin .qw-gl b { font-size: 13px; font-weight: 800; color: var(--ink); }
#ui .qwin .qw-gl em { font-style: normal; font-size: 12.5px; font-weight: 900; color: #e8c979; }
#ui .qwin .s-ready .qw-gl em, #ui .qwin .s-done .qw-gl em { color: #68d890; }
#ui .qwin .qw-bar2 { height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .45); overflow: hidden; }
#ui .qwin .qw-bar2 i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #c9a24e, #ffd36b); transition: width .4s ease-out; }
#ui .qwin .s-ready .qw-bar2 i, #ui .qwin .s-done .qw-bar2 i { background: linear-gradient(90deg, #3fae6a, #68d890); }
#ui .qwin .qw-story { display: flex; flex-direction: column; gap: 4px; }
#ui .qwin .qw-story p { margin: 0; font-size: 12px; font-weight: 600; line-height: 1.5; color: #b9bcb4; }
#ui .qwin .qw-story p::before { content: "“"; margin-right: 2px; color: #7d817c; }
#ui .qwin .qw-rw { display: flex; flex-direction: column; gap: 6px; }
#ui .qwin .qw-rwt { font-size: 11.5px; font-weight: 900; color: var(--ink); padding-left: 8px; border-left: 2px solid var(--ink); }
#ui .qwin .qw-cells { display: flex; flex-wrap: wrap; gap: 6px; }
#ui .qwin .qw-foot { margin-top: auto; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
#ui .qwin .qw-why { margin-right: auto; font-size: 11.5px; font-weight: 700; color: var(--ink-soft); }
#ui .qwin .qw-btns { display: flex; gap: 6px; }
#ui .qwin .qw-btns .btn { flex: none; }

/* 보상 칸(44 — 보상 획득 창 56 · 여럿 40 사이, 10-24 "큼지막하게 하지 마"): 등급색 1px 테 · 아래 수 · 경험치 = 그림(assets/hud/exp.png — 골드 · 다이아와 같은 결, G9-2A) · 상자 = 그 장비 그림 + 상자 꼬리표 */
.qr-cell { position: relative; flex: none; width: 44px; height: 44px; border-radius: 6px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px var(--g, var(--gr-common)), inset 0 -10px 14px -10px var(--g, var(--gr-common)); display: grid; place-items: center; animation: qr-pop .42s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--i, 0) * 70ms); }   /* 보상 칸 70 ms 순차 · 420 ms 팝(ui-juice) */
.qr-cell.g-common { --g: var(--gr-common); } .qr-cell.g-uncommon { --g: var(--gr-uncommon); } .qr-cell.g-rare { --g: var(--gr-rare); } .qr-cell.g-epic { --g: var(--gr-hero); } .qr-cell.g-unique { --g: var(--gr-legend); } .qr-cell.g-legendary { --g: var(--gr-myth); }   /* data/grades.json item 색 */
.qr-cell .qr-pic { position: relative; width: 30px; height: 30px; display: grid; place-items: center; margin-top: -6px; }
.qr-cell .qr-pic img { width: 30px; height: 30px; object-fit: contain; image-rendering: pixelated; }
.qr-cell .qr-title { width: 22px; height: 22px; background: var(--gr-myth); -webkit-mask: url(features/quest/icon-quest.png) center / contain no-repeat; mask: url(features/quest/icon-quest.png) center / contain no-repeat; }
.qr-cell .qr-box { position: absolute; right: -6px; top: -6px; width: 13px; height: 13px; border-radius: 3px; background: rgba(14, 16, 18, .9); box-shadow: inset 0 0 0 1px var(--g, var(--gr-common)); }
.qr-cell .qr-box::after { content: "?"; position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 9px; font-weight: 900; color: var(--g, var(--gr-common)); }
.qr-cell .qr-box.solo { position: static; width: 24px; height: 24px; }
.qr-cell .qr-box.solo::after { font-size: 14px; }
.qr-cell > em { position: absolute; left: -3px; right: -3px; bottom: 1px; font-style: normal; font-size: calc(9.5px * var(--k, 1)); font-weight: 900; line-height: 12px; text-align: center; color: #f2f0e7; text-shadow: 0 1px 2px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qr-cell.big { width: 52px; height: 52px; }
.qr-cell.big .qr-pic, .qr-cell.big .qr-pic img { width: 34px; height: 34px; }
@keyframes qr-pop { 0% { transform: scale(.5); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
/* 퀘스트 보상 표시(r.q — 퀘스트를 끝낼 때 받음): 칸 왼쪽 위 작은 원 + 퀘스트 아이콘(알리미 메인 금 #e2c98a) */
.qr-cell .qr-q { position: absolute; left: -5px; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: rgba(14, 16, 18, .94); box-shadow: inset 0 0 0 1px #e2c98a, 0 1px 2px rgba(0, 0, 0, .6); }
.qr-cell .qr-q::after { content: ""; position: absolute; inset: 2px; background: #e2c98a; -webkit-mask: url(features/quest/icon-quest.png) center / contain no-repeat; mask: url(features/quest/icon-quest.png) center / contain no-repeat; }
/* 보상 판(quest.js rewardGrid): 줄 바꿈 격자 · 줄마다 가운데(버섯커 보상 창) · 칸 수에 따라 48 / 40 / 32 · 열 수 = --cols(줄마다 고르게)
   폭은 작은 폰(GUI 800) 오른쪽 스킬 묶음(오른쪽 끝에서 260) 안쪽 = 7열 × 37 */
.qr-grid { --cell: 48px; --gap: 8px; display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; gap: var(--gap); padding: 4px;
  width: calc(var(--cols, 6) * (var(--cell) + var(--gap)) - var(--gap) + 8px); box-sizing: border-box; }
.qr-grid .qr-cell { width: var(--cell); height: var(--cell); animation-delay: calc(var(--d0, 0s) + var(--i, 0) * var(--st, 70ms)); }
.qr-grid.s1 .qr-pic, .qr-grid.s1 .qr-pic img { width: 32px; height: 32px; }
.qr-grid.s2 { --cell: 40px; --gap: 6px; } .qr-grid.s2 .qr-pic, .qr-grid.s2 .qr-pic img { width: 26px; height: 26px; }
.qr-grid.s3 { --cell: 32px; --gap: 5px; } .qr-grid.s3 .qr-pic, .qr-grid.s3 .qr-pic img { width: 21px; height: 21px; }
.qr-grid:is(.s2, .s3) .qr-cell > em { font-size: calc(8.5px * var(--k, 1)); line-height: 10px; }
.qr-grid.over { max-height: 188px; overflow-y: auto; pointer-events: auto; scrollbar-width: none; }   /* 35칸 넘음 = 다섯 줄까지 보이고 끌어서 넘김 */
/* 좋은 등급(영웅 이상) = 칸이 펴진 뒤 빛이 한 번 지나가고 테 빛이 숨쉼(등급 빛 1047 ms — ui-juice) */
.qr-grid .qr-cell:is(.g-epic, .g-unique, .g-legendary)::before { content: ""; position: absolute; inset: -2px; border-radius: 8px; box-shadow: 0 0 9px 1px var(--g); pointer-events: none;
  animation: qr-glow 1.047s ease-in-out calc(var(--d0, 0s) + .42s + var(--i, 0) * var(--st, 70ms)) infinite alternate both; }
.qr-grid .qr-cell:is(.g-epic, .g-unique, .g-legendary)::after { content: ""; position: absolute; inset: 0; border-radius: 6px; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%) 0 0 / 300% 100% no-repeat;
  animation: qr-sheen .55s ease-out calc(var(--d0, 0s) + .3s + var(--i, 0) * var(--st, 70ms)) both; }
@keyframes qr-glow { from { opacity: .25; } to { opacity: 1; } }
@keyframes qr-sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* 위 92 = 450 판 기준 — 무대가 450 보다 긴 화면(채움 모드)은 늘어난 반(--dy/2, windows-js layout)만큼 내려 화면 가운데와의 거리를 같게(uifit2-1110) */
/* ---------------- ⑤ 완료 연출(창 층 위 가운데 알약 띠 — qcband-1118 형창님 11-18 "퀘스트완료도 저런식으로 · 지금은 화면 너무 가림 · 레벨업보상이랑 곂치지는 않았으면"):
   옛 어두운 판 · 빛살 · 티끌 · 큰 명조 글자 · 큰 보상 판을 걷고 레벨 업 띠(features/levelreward .lvr-auto)와 같은 말씨 — 왼쪽 "퀘스트 완료" + 제목 · 오른쪽 작은 보상 칸(최대 6, 넘치면 +n).
   누름 안 받음. 레벨 업 띠가 떠 있으면 바로 아래 줄(.below — 44 + 8 틈). 받은 아이콘은 메뉴로 날아감(quest.js flyBag → .q-fly · 메뉴 튐 .q-got) */
@font-face { font-family: "QuestTitle"; src: url("features/quest/QuestTitle.woff2") format("woff2"); font-display: block; }
.qclear { position: absolute; left: 50%; top: calc(58px + var(--dy, 0px) / 2); transform: translateX(-50%); z-index: var(--z-banner, 60);
  display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px 0 18px; border-radius: 22px; white-space: nowrap; pointer-events: none;
  background: linear-gradient(rgba(24, 21, 18, .88), rgba(12, 11, 10, .88)); box-shadow: inset 0 0 0 1px rgba(214, 190, 140, .6), 0 4px 14px rgba(0, 0, 0, .45);
  animation: qc-in .32s cubic-bezier(.2, .9, .3, 1) both; }
.qclear * { pointer-events: none !important; }
.qclear.below { top: calc(110px + var(--dy, 0px) / 2); }
.qclear.boss { box-shadow: inset 0 0 0 1px rgba(255, 214, 130, .85), 0 0 14px rgba(255, 200, 110, .3), 0 4px 14px rgba(0, 0, 0, .45); }
.qclear .qc-head { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; }
.qclear .qc-big { font-family: "QuestTitle", "GwTitle", GFUIFont, sans-serif; font-size: 14px; font-weight: 900; letter-spacing: 2px; color: #fbf6ea; text-shadow: 0 0 8px rgba(255, 236, 190, .45), 0 1px 3px rgba(0, 0, 0, .8);
  animation: qc-gather .45s ease-out .06s both; }
.qclear.boss .qc-big { color: #ffe3a6; }
.qclear .qc-sub { max-width: 170px; overflow: hidden; text-overflow: ellipsis; font-size: 10px; font-weight: 800; color: #c8c3b5; animation: qc-fade .35s ease-out .2s both; }
.qclear .qc-cells { display: flex; align-items: center; gap: 6px; }
.qclear .qc-cells .qr-cell { width: 32px; height: 32px; animation-delay: calc(.3s + var(--i, 0) * 60ms); }
.qclear .qc-cells .qr-cell .qr-pic, .qclear .qc-cells .qr-cell .qr-pic img { width: 22px; height: 22px; }
.qclear .qc-cells .qr-cell .qr-pic { margin-top: -5px; }
.qclear .qc-cells .qr-cell > em { font-size: 8.5px; line-height: 10px; }
.qclear .qc-cells .qr-cell .qr-q { display: none; }
.qclear .qc-more { min-width: 26px; font-size: 11px; font-weight: 900; color: #e9dcb8; text-align: center; }
.qclear.out { animation: qc-out .45s ease-in both; }
.qclear.out.quick { animation-duration: .2s; }   /* 새 팝업이 열려 비킴(quest.js celebrateFrame) */
@keyframes qc-in { from { opacity: 0; transform: translate(-50%, -8px) scaleX(.6); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes qc-gather { from { letter-spacing: 12px; opacity: 0; filter: blur(2px); } to { letter-spacing: 2px; opacity: 1; filter: none; } }
@keyframes qc-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes qc-out { to { opacity: 0; transform: translate(-50%, -12px); } }
/* 받은 아이콘이 메뉴로 날아감(flyBag — 화면 좌표 fixed) · 도착하면 메뉴 튐 */
.q-fly { position: fixed; z-index: 9999; pointer-events: none; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 0 4px rgba(255, 226, 150, .85)); }
.tool.t-menu.q-got { animation: q-got .36s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes q-got { 45% { transform: scale(1.2); filter: brightness(1.4); } }
@keyframes qc-mote { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--mx), var(--my)) scale(1); } }

/* ---------------- ⑥ 진행 알림 · 짧은 안내(quest_notice.js — 창 층 위 가운데, 공용 위 띠 대신. G9-2A §1 #9 · 10-25 "EFZ 참고해서 퀘스트 진행상황 알림 좀 연출 퀄리티 있게").
   움직임 = EFZ obj_npc_quest_toast(들어옴 260 ms · 갱신 팝 1.05 300 ms · 티끌 6 700 ms · 4.2초 머묾 · 흐림 400 ms · 쌓임 50) 그대로.
   겉모양 = 10-25 사용자 "연출은 좋은데 이 게임 분위기랑은 안 맞는 느낌 · 이 겜이랑 맞게": EFZ 각진 갈색 판 · 채운 원 엠블럼을 걷고 이 게임 완료 연출(⑤ .qc-band ·
   지역 칭호 · 고품질UI §3 도깨비의 세계 제목 말씨)과 같은 말씨로 — 양 끝 흐린 짙은 반투명 띠(10,12,14 α.74) + 위아래 1px 빛선(금 #c8aa6e) +
   진주빛 흰 제목(#fbf6ea, 부드러운 빛) + 금빛 티끌. 엠블럼 = 얇은 고리(1.5px, 아래에서 반시계로 참) 안 마름모 표식(M · S · !).
   띠 300 × 44(불투명 칸 ≈ 180~240, 이전 판 264 와 같은 자리 · 위 끝 54). 색 = 메인 금 · 서브 회색(10-25 "서브는 회색") · 완료 가능 초록(좋아짐 색) */
.qnotice { position: absolute; left: 0; right: 0; top: 0; height: 0; z-index: var(--z-reward, 61); pointer-events: none; }
.qn-card { --ac: #e2c98a; --ring: #f0d791; --line: #c8aa6e; position: absolute; left: calc(50% - 150px); top: calc(54px + var(--qy, 0px)); width: 300px; height: 44px; box-sizing: border-box;   /* 가운데 = left 계산(창 층 #win-screen 은 margin 이 0 으로 덮여 짧은 안내만 137 px 오른쪽으로 갔다 — sandbox 10-25 실측) */
  display: flex; align-items: center; gap: 9px; padding: 0 40px 0 34px;
  background: linear-gradient(90deg, transparent 10%, var(--line) 50%, transparent 90%) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent 10%, var(--line) 50%, transparent 90%) bottom / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(10, 12, 14, 0), rgba(10, 12, 14, .74) 20%, rgba(10, 12, 14, .74) 80%, rgba(10, 12, 14, 0));
  transition: top .3s cubic-bezier(.2, .9, .3, 1); }
.qn-card.in { animation: qn-in .26s cubic-bezier(.33, 1, .68, 1) both; }
.qn-card.out { animation: qn-out .4s ease-in both; }
.qn-card.k-sub { --ac: #b9bcb4; --ring: #d9dbd5; --line: #8e8e88; }
.qn-card.done { --ac: #68d890; --ring: #8ff0ac; --line: #7cc896; }
.qn-card.info.t-plain { --ac: #b9bcb4; --ring: #d9dbd5; --line: #8e8e88; }
.qn-card.info.t-green { --ac: #68d890; --ring: #8ff0ac; --line: #7cc896; }
.qn-card.info.t-red { --ac: #ff5f52; --ring: #ff8a80; --line: #d0574a; }   /* 막힘 경고(bagwarn-1115 가방 가득 — 빨간 띠 · 빨간 글) */
.qn-card.info.t-red .qn-title { color: #ff9a8f; text-shadow: 0 0 8px rgba(255, 95, 82, .45), 0 1px 2px rgba(0, 0, 0, .9); }
.qn-emb { position: relative; flex: none; width: 30px; height: 30px; }
.qn-emb::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: radial-gradient(circle, var(--ac) 0, transparent 70%); opacity: .14; animation: qn-halo .571s ease-in-out infinite alternate; }
.qn-emb svg { position: absolute; inset: 0; width: 30px; height: 30px; }
.qn-trk { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1.5; }
.qn-arc { fill: none; stroke: var(--ring); stroke-width: 1.5; stroke-linecap: round; filter: drop-shadow(0 0 2px var(--ring)); transform-origin: 50% 50%; transform-box: fill-box; transform: rotate(90deg) scaleY(-1); transition: stroke-dashoffset .35s ease-out, stroke .2s; }
.qn-mk { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-family: "QuestTitle", GFUIFont, sans-serif; font-size: 10px; font-weight: 900; color: #fbf6ea; text-shadow: 0 0 4px var(--ac), 0 1px 1px #000; }
.qn-mk::before { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; margin: -7.5px 0 0 -7.5px; transform: rotate(45deg); border: 1px solid var(--line); background: rgba(10, 12, 14, .6); z-index: -1; }
.qn-chk { position: absolute; left: 12px; top: 8px; width: 6px; height: 11px; border-right: 2px solid var(--ring); border-bottom: 2px solid var(--ring); transform: rotate(40deg) scale(0); opacity: 0; filter: drop-shadow(0 0 2px var(--ring)); }
.qn-card.done .qn-mk { opacity: 0; }
.qn-card.done .qn-chk { opacity: 1; transform: rotate(40deg) scale(1); transition: transform .26s cubic-bezier(.2, .9, .3, 1.5), opacity .1s; }
.qn-card.info .qn-arc, .qn-card.info .qn-trk { stroke: var(--ac); stroke-dashoffset: 0; opacity: .45; }
.qn-sp { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.qn-sp > i { position: absolute; left: -1.5px; top: -1.5px; width: 3px; height: 3px; border-radius: 50%; background: #ffe7a8; box-shadow: 0 0 5px rgba(255, 220, 140, .9); opacity: 0; }   /* 금빛 티끌(⑤ .qc-motes 와 같은 알갱이) */
.qn-card.done .qn-sp > i { background: #c8ffd8; box-shadow: 0 0 5px rgba(143, 240, 172, .9); }
.qn-card.pop .qn-sp > i { animation: qn-spark .7s ease-out both; }
.qn-sp > i:nth-child(1) { --sa: 0deg; } .qn-sp > i:nth-child(2) { --sa: 60deg; } .qn-sp > i:nth-child(3) { --sa: 120deg; } .qn-sp > i:nth-child(4) { --sa: 180deg; } .qn-sp > i:nth-child(5) { --sa: 240deg; } .qn-sp > i:nth-child(6) { --sa: 300deg; }
.qn-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.qn-l1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.qn-lab { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--ac); text-shadow: 0 1px 1px #000; }
.qn-num { flex: none; font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .5px; color: #e8e2cf; text-shadow: 0 1px 1px #000; }
.qn-card.done .qn-num { color: #c8ffd8; }
.qn-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 800; letter-spacing: .5px; color: #fbf6ea; text-shadow: 0 0 8px rgba(255, 236, 190, .35), 0 1px 2px rgba(0, 0, 0, .9); }
.qn-bar { position: relative; height: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.qn-bar > i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--line), var(--ring)); box-shadow: 0 0 4px var(--ring); transform-origin: 0 50%; transform: scaleX(0); transition: transform .35s ease-out, background .2s; }
.qn-card.info .qn-bar { display: none; }
.qn-card.info { width: 440px; left: calc(50% - 220px); }   /* 짧은 안내(대사 한 줄)는 띠를 넓혀 두 줄 안에 — 긴 영어 대사가 44 높이 띠를 넘쳐 아래 장과 겹치지 않게. 양 끝이 흐려 폭은 드러나지 않는다 */
.qn-card.info .qn-title { font-size: 11.5px; white-space: normal; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.qn-card.new::after { content: ""; position: absolute; inset: 1px 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 236, 190, .14) 45%, transparent 60%) -200px 0 / 200% 100% no-repeat; animation: qn-sheen .9s ease-out .1s both; }
@keyframes qn-in { from { transform: translateY(-10px) scaleX(.6); opacity: 0; } to { transform: none; opacity: 1; } }   /* 띠 열림(⑤ 완료 띠와 같은 결) */
@keyframes qn-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes qn-halo { from { transform: scale(1); opacity: .12; } to { transform: scale(1.12); opacity: .22; } }
@keyframes qn-spark { 0% { opacity: 0; transform: rotate(var(--sa)) translateX(12px) scale(.6); } 25% { opacity: 1; } 100% { opacity: 0; transform: rotate(calc(var(--sa) + 50deg)) translateX(24px) translateY(-6px) scale(1); } }
@keyframes qn-sheen { from { background-position: -200px 0; } to { background-position: 300px 0; } }

/* ---------------- ⑦ 이동 표시(월드 틀 'quest-move' · 'quest-move-ar' — "○○ 쪽으로 이동합니다" 위 띠 대신, G9-2A §1 #10):
   머리 위 목표 이름 알약(양 끝 흐림 · 금 글 · 걷는 점 셋) + 머리 둘레 목표 쪽 맥동 화살표(EFZ scr_beginner_guide_draw_target_arrow: 크기 맥동 .46 → .52 · 942 ms) */
#hud .w-qmove { display: flex; align-items: center; gap: 4px; height: 17px; padding: 0 14px; white-space: nowrap; pointer-events: none;
  background: linear-gradient(90deg, rgba(13, 16, 17, 0), rgba(13, 16, 17, .7) 20%, rgba(13, 16, 17, .7) 80%, rgba(13, 16, 17, 0)); animation: qm-in .25s ease-out both; }
#hud .w-qmove > span { font-size: 10.5px; font-weight: 900; color: #ffe39a; text-shadow: 0 1px 2px #000; }
#hud .w-qmove .qm-dots { display: flex; gap: 2px; }
#hud .w-qmove .qm-dots > i { width: 3px; height: 3px; border-radius: 50%; background: #ffe39a; animation: qm-dot .9s ease-in-out infinite; }
#hud .w-qmove .qm-dots > i:nth-child(2) { animation-delay: .15s; } #hud .w-qmove .qm-dots > i:nth-child(3) { animation-delay: .3s; }
#hud .w-qmove-ar { width: 0; height: 0; pointer-events: none; }
#hud .w-qmove-ar .qm-ar { position: absolute; left: 0; top: 0; width: 0; height: 0; transform: rotate(var(--qa, 0deg)); transition: transform .12s linear; }
#hud .w-qmove-ar .qm-ar::before, #hud .w-qmove-ar .qm-ar::after { content: ""; position: absolute; top: -6px; width: 10px; height: 10px; border-top: 3px solid #ffd36b; border-right: 3px solid #ffd36b; border-radius: 1px;
  transform: rotate(45deg); filter: drop-shadow(0 0 2px rgba(0, 0, 0, .9)) drop-shadow(0 0 4px rgba(255, 211, 107, .5)); animation: qm-pulse .942s ease-in-out infinite; }
#hud .w-qmove-ar .qm-ar::before { left: 24px; }
#hud .w-qmove-ar .qm-ar::after { left: 31px; opacity: .55; animation-delay: .12s; }
@keyframes qm-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes qm-dot { 0%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
@keyframes qm-pulse { 0%, 100% { translate: 0 0; scale: .92; } 50% { translate: 4px 0; scale: 1.04; } }

/* 일괄 수락 · 일괄 완료(11-04 W23): 목록 맨 위 알약 줄 — 글자 폭 알약 28(고품질UI) · 완료 = 메인 금 #e8c979(꼬리표와 같은 값) · 누름 60 ms 0.92 */
#ui .qwin .qw-bulk { flex: none; display: flex; justify-content: flex-end; gap: 6px; padding: 2px 2px 6px; }
#ui .qwin .qw-bk { flex: none; height: 28px; padding: 0 14px; border: 0; border-radius: 999px; font: 800 11.5px/28px var(--ui-font); white-space: nowrap; color: #fff; cursor: pointer; touch-action: manipulation;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: transform .18s cubic-bezier(.3, 1.8, .5, 1); animation: fx-card-in .36s cubic-bezier(.2, .8, .3, 1) both; }
#ui .qwin .qw-bk.gold { background: #e8c979; color: #16130d; box-shadow: inset 0 1px rgba(255, 255, 255, .45), 0 1px 3px rgba(0, 0, 0, .4); }
#ui .qwin .qw-bk:active { transform: scale(.92); transition-duration: .06s; }
#ui .qwin .qw-bk.off { opacity: .45; pointer-events: none; }

/* gf:js-pack prototype/Spikes/rt-battle/features/quest/quest_guide.css */
/* 퀘스트 손가락 안내(quest_guide.js — G9-2B): EFZ 손 + 대상 둘레 효과. 판 상자 층(.qg-layer — --k = 판 높이/450 — GUI 450 기준 값 × k)
   손 = guide-hand.png 23×35 도트(Codex, EFZ spr_tutorial_hend 결) · 손가락 끝(8, 0)이 대상 자리 · -8° · 맥박 = EFZ sin(t/120): 크기 1.5 ± .1(= ±6.7%) · 위아래 ±4 px, 한 바퀴 754 ms
   둘레 효과 = 대상 칸 크기 층 .qg-fx(10-25 사용자 "주위 어두워지는 거 빼고 요란하고 안 누르면 손해 느낌으로 · 이펙트가 요란하게 요동치면서 반드시 눌러야 해요"):
   금빛 테 맥박 · 퍼지는 고리 둘 · 튀어 나가는 불꽃 8 · 빨간 ! 딱지 · 1.1 초마다 한 번 요동. 움직임은 transform · opacity 만(Note20 60fps). 누름은 막지 않는다 */
.qg-layer { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 9998; pointer-events: none; }   /* 판 상자(#ui)와 같은 자리 · 크기 · 회전(quest_guide.js GfOrient.follow) — 안쪽 px = 판 안쪽 px */
.qg-fx { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 9998; pointer-events: none; opacity: 0; transition: opacity .18s ease-out; }
.qg-fx.on { opacity: 1; }
.qg-fx .qg-shake { position: absolute; inset: 0; animation: qg-shake 1.1s linear infinite; }
.qg-fx .qg-glow, .qg-fx .qg-ring { position: absolute; inset: calc(-4px * var(--k, 1)); border-radius: var(--r, 8px); }
.qg-fx .qg-glow { border: calc(2px * var(--k, 1)) solid #ffe27a;
  box-shadow: 0 0 calc(10px * var(--k, 1)) calc(3px * var(--k, 1)) rgba(255, 190, 30, .9), inset 0 0 calc(8px * var(--k, 1)) rgba(255, 228, 110, .75);
  animation: qg-glow .275s ease-in-out infinite alternate; }
.qg-fx .qg-ring { border: calc(3px * var(--k, 1)) solid #fff1a8; opacity: 0; animation: qg-ring 1.1s ease-out infinite; }
.qg-fx .qg-ring + .qg-ring { animation-delay: .55s; }
.qg-fx .qg-spark { position: absolute; left: 50%; top: 50%; width: calc(4px * var(--k, 1)); height: calc(11px * var(--k, 1)); margin: calc(-5.5px * var(--k, 1)) 0 0 calc(-2px * var(--k, 1));
  border-radius: 50%; background: linear-gradient(#fff, #ffd23c 60%, rgba(255, 150, 0, 0)); opacity: 0; animation: qg-spark 1.1s cubic-bezier(.15, .7, .3, 1) infinite; }
.qg-fx .qg-bang { position: absolute; right: calc(-10px * var(--k, 1)); top: calc(-12px * var(--k, 1)); width: calc(17px * var(--k, 1)); height: calc(17px * var(--k, 1));
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a7a, #e8202a 55%, #a80d16); border: calc(1.5px * var(--k, 1)) solid #fff;
  box-shadow: 0 0 calc(6px * var(--k, 1)) rgba(255, 40, 40, .9); color: #fff; font: 900 calc(12px * var(--k, 1))/calc(14px * var(--k, 1)) sans-serif; text-align: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .5); animation: qg-bang .55s ease-in-out infinite alternate; }
@keyframes qg-glow { from { opacity: .55; transform: scale(1); } to { opacity: 1; transform: scale(1.04); } }
@keyframes qg-ring { 0% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18, 1.6); } }
/* 불꽃: 대상 가장자리(--hw · --hh = 반폭 · 반높이, quest_guide.js)에서 바깥으로 22 px 튄다 — 요동과 같은 박자 */
@keyframes qg-spark {
  0%, 52% { opacity: 0; transform: translate(calc(var(--x) * var(--hw) * .8), calc(var(--y) * var(--hh) * .8)) rotate(var(--a)) scale(.4); }
  58% { opacity: 1; transform: translate(calc(var(--x) * var(--hw)), calc(var(--y) * var(--hh))) rotate(var(--a)) scale(1.2); }
  100% { opacity: 0; transform: translate(calc(var(--x) * (var(--hw) + 22px * var(--k, 1))), calc(var(--y) * (var(--hh) + 22px * var(--k, 1)))) rotate(var(--a)) scale(.3); }
}
@keyframes qg-shake {
  0%, 52%, 90%, 100% { transform: none; }
  56% { transform: translate(calc(-3px * var(--k, 1)), 0) rotate(-2.5deg) scale(1.06); }
  62% { transform: translate(calc(3px * var(--k, 1)), calc(-1px * var(--k, 1))) rotate(2.5deg) scale(1.06); }
  68% { transform: translate(calc(-2px * var(--k, 1)), calc(1px * var(--k, 1))) rotate(-2deg) scale(1.04); }
  74% { transform: translate(calc(2px * var(--k, 1)), 0) rotate(1.5deg) scale(1.03); }
  80% { transform: translate(calc(-1px * var(--k, 1)), 0) rotate(-1deg) scale(1.01); }
}
@keyframes qg-bang { from { transform: scale(.9) rotate(-12deg); } to { transform: scale(1.18) rotate(12deg); } }
.qguide { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .18s ease-out; }
.qguide.on { opacity: 1; }
.qg-layer.cut .qguide, .qg-layer.cut .qg-fx { transition: none; }   /* 대화가 열린 프레임 = 판 밖 손가락은 흐림 없이 바로 걷힘(quest_guide.js talkOut) */
.qguide .qg-hand { position: absolute; left: calc(-8px * var(--k, 1)); top: 0; width: calc(23px * var(--k, 1)); height: calc(35px * var(--k, 1));
  background: url("features/quest/guide-hand.png") 0 0 / 100% 100% no-repeat; image-rendering: pixelated; transform-origin: calc(8px * var(--k, 1)) 0;
  filter: drop-shadow(0 calc(2px * var(--k, 1)) calc(2px * var(--k, 1)) rgba(0, 0, 0, .55)); animation: qg-pulse .377s ease-in-out infinite alternate; }
@keyframes qg-pulse { from { transform: translateY(calc(-4px * var(--k, 1))) rotate(8deg) scale(.933); } to { transform: translateY(calc(4px * var(--k, 1))) rotate(8deg) scale(1.067); } }

/* gf:js-pack prototype/Spikes/rt-battle/features/quest/quest_daily.css */
/* 일일 · 주간 퀘스트 — 퀘스트 창 [일일] · [주간] 탭(quest_daily.js). 위 = 활동 띠(점수 메달 · 게이지 · 단계 칸 = 대표 보상 그림 · 고른 단계 보상 줄) · 아래 = 줄 목록(그림 40 · 이름 / 짧은 막대 + 현재/목표 · 활동 점수 · 단추).
   틀 = 흥행작 일일 활동 화면 공통(버섯커 키우기 미션 창 · 스타레일 일일 훈련 실제 화면 — 점수 메달 · 게이지 위 단계마다 실제 보상 그림 + 수 · 줄마다 활동 점수 · [바로 가기]). 판 = 퀘스트 창 목록 판(.qw-list 어두운 반투명) 그대로 · 상세 판 없음.
   크기 = GUI 450 기준(maple-idle-ui-size): 칸 40 · 줄 52 · 알약 26~28 · 본문 11.5~12.5 · 라벨 9 이상. 색 = 무채 + 초록(받을 것 #68d890 — 목록 qw-ready 와 같은 것) · 금(상자 · 끝선 · 즉시 완료 = 퀘스트 창 금 단추) · 광고 = HUD AD 딱지 초록. */
#ui .qwin .qw-body.qw-one { grid-template-columns: 1fr; }
#ui .qwin .qw-body.qw-one > .qw-detail { display: none; }

/* 머리 줄: 제목 · 남은 시간 · 즉시 완료 남은 수 · [전체 받기](글자 폭 알약 26) */
#ui .qwin .qd-head { flex: none; display: flex; align-items: center; gap: 10px; height: 28px; padding: 0 4px 0 10px; border-left: 2px solid var(--ink); }
#ui .qwin .qd-ttl { font-size: 12.5px; font-weight: 800; color: var(--ink); white-space: nowrap; }
#ui .qwin .qd-left { min-width: 0; font-size: 10.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; overflow: hidden; }
#ui .qwin .qd-inst { flex: none; height: 20px; padding: 0 9px; border-radius: 10px; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #f1d58a; white-space: nowrap; background: rgba(200, 170, 110, .12); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .38); }
#ui .qwin .qd-all { flex: none; margin-left: auto; min-width: 0; height: 26px; padding: 0 14px; white-space: nowrap; font-size: 11.5px; font-weight: 800; transition: transform .06s; }
#ui .qwin .qd-all.off { pointer-events: none; opacity: .45; }

/* 활동 띠(흥행작 공통 — 버섯커 키우기 미션 창 · 스타레일 일일 훈련): 왼쪽 점수 메달 · 가운데 게이지 위 단계 칸 = 실제 보상 그림 + 수 · 오른쪽 멤버십 금색 칸.
   판 = 어두운 띠 + 위 1px 금선(작은 팝업 금선 #c8aa6e 과 같은 결) */
#ui .qwin .qd-board { flex: none; margin: 6px 0 8px; padding: 8px 10px 6px; border-radius: 10px; background: linear-gradient(180deg, rgba(200, 170, 110, .11), rgba(0, 0, 0, .28) 70%); box-shadow: inset 0 1px 0 rgba(200, 170, 110, .55), inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .qwin .qd-board.enter { animation: fx-card-in .26s cubic-bezier(.2, .8, .3, 1) both; }
#ui .qwin .qd-gauge { display: flex; align-items: center; gap: 12px; height: 68px; }
/* 점수 메달 54 = 채움 고리(금) 안에 점수 · 끝선, 아래 라벨 */
#ui .qwin .qd-score { flex: none; width: 60px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
#ui .qwin .qd-ring { position: relative; width: 54px; height: 54px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: conic-gradient(#f1d58a calc(var(--p, 0) * 1%), rgba(255, 255, 255, .1) 0); box-shadow: 0 0 10px rgba(241, 213, 138, .18); }
#ui .qwin .qd-ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #2d2a24, #141311 75%); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .35); }
#ui .qwin .qd-score b { position: relative; font-size: 19px; font-weight: 900; color: #f1d58a; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 0 8px rgba(241, 213, 138, .3); }
#ui .qwin .qd-score small { position: relative; margin-top: 1px; font-size: 9px; font-weight: 800; color: var(--ink-soft); line-height: 1; font-variant-numeric: tabular-nums; }
#ui .qwin .qd-score .qd-lbl { font-size: 9.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
/* 게이지 8(칸 가운데 높이 22) — 채움 = 금 그러데이션 · 단계 칸 = 그 점수 자리(--x)에 가운데 맞춤. 끝 칸이 판 밖으로 안 나가게 좌우 여백 */
#ui .qwin .qd-track { position: relative; flex: 1 1 auto; min-width: 0; height: 64px; margin: 0 24px 0 4px; }
#ui .qwin .qd-rail { position: absolute; left: 0; right: 0; top: 18px; height: 8px; border-radius: 4px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); overflow: hidden; }
#ui .qwin .qd-rail > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, #a8803c, #f1d58a); box-shadow: 0 0 8px rgba(241, 213, 138, .45); transition: width .45s cubic-bezier(.2, .8, .3, 1); }
#ui .qwin .qd-chest { position: absolute; top: 0; left: var(--x, 100%); transform: translateX(-50%); width: 48px; height: 64px; padding: 2px 0 0; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; transition: transform .06s; }
#ui .qwin .qd-chest:active { transform: translateX(-50%) scale(.92); }
#ui .qwin .qd-node { position: relative; width: 40px; height: 40px; border-radius: 9px; }
#ui .qwin .qd-node .qr-cell { width: 40px; height: 40px; margin: 0; animation: none; }
#ui .qwin .qd-node .qr-cell .qr-pic, #ui .qwin .qd-node .qr-cell .qr-pic img { width: 28px; height: 28px; }
#ui .qwin .qd-node .qr-cell em { font-size: 10px; }
/* 끝 단계 = 한 치수 큰 칸 + 금 테(최종 보상) */
#ui .qwin .qd-chest.last { padding-top: 0; }
#ui .qwin .qd-chest.last .qd-node, #ui .qwin .qd-chest.last .qd-node .qr-cell { width: 44px; height: 44px; }
#ui .qwin .qd-chest.last .qd-node .qr-cell { box-shadow: inset 0 0 0 1.5px #c8aa6e; }
#ui .qwin .qd-chest > em { height: 14px; padding: 0 6px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; background: rgba(0, 0, 0, .45); }
#ui .qwin .qd-chest.last > em { margin-top: 0; }
/* 아직 = 그림은 그대로 · 칸만 살짝 흐림 */
#ui .qwin .qd-chest.s-lock .qd-node .qr-cell { filter: brightness(.78) saturate(.85); }
/* 받을 것 = 금 테 · 빛 맥동(등급 빛 1047 ms) · 살짝 뜀 + 빨간 점(628 ms) */
#ui .qwin .qd-chest.s-ready .qd-node { animation: qd-hop 1.047s ease-in-out infinite alternate; }
#ui .qwin .qd-chest.s-ready .qd-node .qr-cell { box-shadow: inset 0 0 0 1.5px #ffe29a, 0 0 10px rgba(241, 213, 138, .7); }
#ui .qwin .qd-chest.s-ready > em { color: #1d1608; background: linear-gradient(180deg, #f6dd94, #d6b25e); }
#ui .qwin .qd-chest .qd-dot { position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%; background: #e2513f; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .55); animation: qt-dot .628s ease-in-out infinite alternate; }
/* 받은 것 = 그림 흐림 + 초록 체크 · 광고 덤이 남았으면 AD 딱지 */
#ui .qwin .qd-chest.s-got .qd-node .qr-cell { filter: brightness(.42) saturate(.4); }
#ui .qwin .qd-chest.s-got .qd-node::after { content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 8px; border-left: 3px solid #68d890; border-bottom: 3px solid #68d890; transform: translate(-50%, -70%) rotate(-45deg); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .7)); }
#ui .qwin .qd-chest.s-got > em { color: #68d890; }
#ui .qwin .qd-chest .qd-play, #ui .qwin .qd-ad-ic { flex: none; padding: 0 3px; border-radius: 4px; background: #3f7d2c; color: #fffce7; font-size: 8px; font-style: normal; font-weight: 900; line-height: 11px; }
#ui .qwin .qd-chest .qd-play { position: absolute; top: -4px; right: -6px; z-index: 1; animation: qt-dot .628s ease-in-out infinite alternate; }
#ui .qwin .qd-chest .qd-play::after, #ui .qwin .qd-ad-ic::after { content: "AD"; }
#ui .qwin .qd-chest.pick .qd-node { outline: 1.5px solid rgba(255, 255, 255, .85); outline-offset: 2px; }
#ui .qwin .qd-chest.pop .qd-node { animation: qd-pop .42s cubic-bezier(.2, .9, .3, 1.25) both; }
/* 멤버십 칸 = 끝선 옆 금색(편의 멤버십 보너스) — 판 오른쪽에 따로 */
#ui .qwin .qd-mem { position: relative; flex: none; width: 52px; height: 64px; border-left: 1px solid rgba(255, 255, 255, .08); }
#ui .qwin .qd-mem .qd-chest { left: 50%; }
#ui .qwin .qd-chest.member .qd-node .qr-cell { box-shadow: inset 0 0 0 1.5px #c8aa6e; }
#ui .qwin .qd-chest.member > em { color: #e3c477; font-size: 9px; }

/* 보상 줄: 고른 상자(없으면 다음 상자) 보상 칸 40 + 광고 덤 */
#ui .qwin .qd-peek { display: flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 4px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .07); }
#ui .qwin .qd-pk-t { flex: none; display: flex; flex-direction: column; gap: 2px; min-width: 58px; font-size: 10.5px; font-weight: 800; color: var(--ink); white-space: nowrap; }
#ui .qwin .qd-pk-t small { font-size: 9.5px; font-weight: 700; color: #68d890; }
#ui .qwin .qd-pk-cells { display: flex; gap: 6px; min-width: 0; }
#ui .qwin .qd-peek .qr-cell { width: 40px; height: 40px; }
#ui .qwin .qd-peek .qr-cell .qr-pic, #ui .qwin .qd-peek .qr-cell .qr-pic img { width: 26px; height: 26px; }
#ui .qwin .qd-peek .qr-cell em { font-size: calc(10px * var(--k, 1)); }
/* 광고 덤: 받을 수 있음 = 초록 테 알약 단추(AD · 덤 칸 · 글자) · 아직(상자 전) = 흐림 · 받음 = 흐림 + 받음 */
#ui .qwin .qd-adb, #ui .qwin .qd-adx { flex: none; margin-left: auto; display: flex; align-items: center; gap: 6px; height: 46px; padding: 0 12px 0 8px; border-radius: 10px; white-space: nowrap; font-size: 11px; font-weight: 800; }
#ui .qwin .qd-adb { min-width: 0; color: #eafbe9; background: linear-gradient(180deg, rgba(63, 125, 44, .55), rgba(30, 60, 24, .7)); box-shadow: inset 0 0 0 1px rgba(120, 210, 110, .55); animation: qd-adglow 1.047s ease-in-out infinite alternate; transition: transform .06s; }
#ui .qwin .qd-adb:active { transform: scale(.92); }
#ui .qwin .qd-adb.busy { filter: saturate(.4); animation: none; }
#ui .qwin .qd-adx { color: var(--ink-soft); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); opacity: .62; }
#ui .qwin .qd-adx.got { opacity: .45; }
#ui .qwin .qd-adb .qr-cell, #ui .qwin .qd-adx .qr-cell { width: 34px; height: 34px; animation: none; }
#ui .qwin .qd-adb .qr-cell .qr-pic, #ui .qwin .qd-adb .qr-cell .qr-pic img, #ui .qwin .qd-adx .qr-cell .qr-pic, #ui .qwin .qd-adx .qr-cell .qr-pic img { width: 22px; height: 22px; }
body.gf-no-ads #ui .qwin .qd-adb, body.gf-no-ads #ui .qwin .qd-adx, body.gf-no-ads #ui .qwin .qd-chest .qd-play { display: none; }   /* production 웹: 광고 없음(HUD AD 딱지와 같은 규칙 — 광고 깃발 gf-no-ads, xsollalive-1120) */

/* 줄 목록(버섯커 미션 줄 결): 그림 40 · [이름 / 짧은 막대 + 현재/목표] · 활동 점수(메달 + 수) · 단추 */
#ui .qwin .qd-list { display: flex; flex-direction: column; gap: 4px; }
#ui .qwin .qd-row { position: relative; flex: none; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; height: 52px; padding: 0 10px 0 6px;
  border-radius: 8px; background: linear-gradient(90deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; }
/* 처음 열 때만 줄이 차례로 들어온다(처치마다 바뀐 줄을 갈아 끼울 때는 다시 돌지 않음) — 순차 간격 40 ms */
#ui .qwin .qd-list.enter .qd-row { animation: fx-card-in .26s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 40ms + 80ms); }
#ui .qwin .qd-pic { width: 40px; height: 40px; border-radius: 9px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(0, 0, 0, .35)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
#ui .qwin .qd-pic.bld canvas { width: 44px; height: 37px; object-fit: contain; }
#ui .qwin .qd-glyph { width: 22px; height: 22px; background: #f2f0e7; -webkit-mask: url(assets/icons/hud-attack.svg) center / contain no-repeat; mask: url(assets/icons/hud-attack.svg) center / contain no-repeat; }
#ui .qwin .qd-glyph.i-attend { -webkit-mask-image: url(assets/icons/menu-attendance.svg); mask-image: url(assets/icons/menu-attendance.svg); }
#ui .qwin .qd-glyph.i-attack { -webkit-mask-image: url(assets/icons/hud-attack.svg); mask-image: url(assets/icons/hud-attack.svg); }
#ui .qwin .qd-glyph.i-helmet { -webkit-mask-image: url(assets/icons/hero-helmet.svg); mask-image: url(assets/icons/hero-helmet.svg); }
#ui .qwin .qd-glyph.i-event { -webkit-mask-image: url(assets/icons/menu-event.png); mask-image: url(assets/icons/menu-event.png); }
#ui .qwin .qd-glyph.i-friends { -webkit-mask-image: url(assets/icons/menu-friends.svg); mask-image: url(assets/icons/menu-friends.svg); }
#ui .qwin .qd-glyph.i-summon { -webkit-mask-image: url(assets/icons/menu-summon.png); mask-image: url(assets/icons/menu-summon.png); }
#ui .qwin .qd-glyph.i-weapon { -webkit-mask-image: url(assets/icons/slot-weapon.svg); mask-image: url(assets/icons/slot-weapon.svg); }
#ui .qwin .qd-glyph.i-quest { -webkit-mask-image: url(features/quest/icon-quest.png); mask-image: url(features/quest/icon-quest.png); }
#ui .qwin .qd-main { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
#ui .qwin .qd-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 800; color: var(--ink); }
/* 막대 = 이름 아래 짧게(최대 200) + 바로 옆 현재/목표 — 판 폭으로 늘이지 않는다 */
#ui .qwin .qd-prog { display: flex; align-items: center; gap: 8px; min-width: 0; }
#ui .qwin .qd-bar { position: relative; flex: 0 1 200px; min-width: 60px; height: 7px; border-radius: 4px; background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); overflow: hidden; }
#ui .qwin .qd-bar > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, #a8803c, #f1d58a); transition: width .35s cubic-bezier(.2, .8, .3, 1); }
#ui .qwin .qd-p { flex: none; font-style: normal; font-size: 11px; font-weight: 900; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
#ui .qwin .qd-p small { font-size: 9.5px; font-weight: 700; color: var(--ink-soft); }
/* 활동 점수 = 작은 금 메달(점수 메달과 같은 결) + 수 */
#ui .qwin .qd-pt { display: flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px 0 5px; border-radius: 11px; font-size: 10.5px; font-weight: 900; color: #f1d58a; white-space: nowrap; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .3); }
#ui .qwin .qd-pt-ic { flex: none; width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle, #2a251b 34%, transparent 36%), conic-gradient(#f6dd94, #b38a42, #f6dd94); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4); }
#ui .qwin .qd-btn { flex: none; justify-self: end; min-width: 0; height: 28px; padding: 0 14px; white-space: nowrap; font-size: 12px; font-weight: 800; transition: transform .06s; }
#ui .qwin .qd-btn:active { transform: scale(.92); }
#ui .qwin .qd-btn.busy { filter: saturate(.4); }
#ui .qwin .qd-end { flex: none; justify-self: end; display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 12px; border-radius: 14px; font-size: 12px; font-weight: 800; color: #68d890; white-space: nowrap; background: rgba(104, 216, 144, .1); box-shadow: inset 0 0 0 1px rgba(104, 216, 144, .3); }
#ui .qwin .qd-end > i { width: 9px; height: 5px; border-left: 2px solid #68d890; border-bottom: 2px solid #68d890; transform: translateY(-2px) rotate(-45deg); }
#ui .qwin .qd-row.s-done { opacity: .55; }
#ui .qwin .qd-row.s-done .qd-bar > i { background: linear-gradient(90deg, #3fae6a, #68d890); }
#ui .qwin .qd-row.s-done .qd-pt { color: #68d890; box-shadow: inset 0 0 0 1px rgba(104, 216, 144, .3); }
#ui .qwin .qd-all.press, #ui .qwin .qd-btn.press, #ui .qwin .qd-adb.press { animation: qd-press .2s ease-out; }

@keyframes qd-press { 0% { transform: scale(.92); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes qd-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes qd-hop { from { transform: translateY(0); } to { transform: translateY(-2px); } }
@keyframes qd-adglow { from { box-shadow: inset 0 0 0 1px rgba(120, 210, 110, .45); } to { box-shadow: inset 0 0 0 1.5px rgba(150, 235, 130, .9); } }
/* 알리미 머리(퀘스트 단추) 점 = 받을 일일 · 주간 상자(성장 탭 qw-dot 과 같은 초록 · 628 ms) */
#hud .qt-head.qd-dot { position: relative; }
#hud .qt-head.qd-dot::after { content: ""; position: absolute; right: -2px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: #68d890; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); animation: qt-dot .628s ease-in-out infinite alternate; }

/* gf:js-pack prototype/Spikes/rt-battle/features/boss/boss.css */
/* 보스 화면(하이랜드 · LANES G9 · features/boss — boss.js). 2026-10-24 사용자 "보스 UI/UX 연출도 인기있는 모바일게임 레퍼런스 잘 찾아서 구현해줘 체력바라던가 보스패턴같은거".
   틀 = 흥행작 보스전 공통(G9-PLAN §3 — 리니지W · 오딘 · 메이플M · 로스트아크 모바일 · 디아블로 이모탈 캡처): 위 가운데 이름판(초상 · Lv · 이름 · 여러 줄 체력바 xN · 늦게 따라오는 꼬리 ·
   남은 시간 · 단계 ◆ · 아래 가는 전체 막대) → 그 아래 큰 패턴 경고 띠 → 등장 레터박스 + 명조 이름 → 결과 카드. 보스방에서는 위가 보스 막대만 남는다(재화 알약 · 퀘스트 알리미 숨김).
   크기(고품질UI · GUI 450): 이름판 폭 380 · 초상 40 · 막대 12(내 체력 바 01-hud .hp 12 와 같은 금선 테 · 홈 · 위 빛 · 흰 꼬리) · 글자 9.5~13 · 알약 28 · 도전 팝업 폭 404(10-25 EFZ 보스 창 결 두 칸 — ⑦).
   색 = 거의 무채 + 강조: 줄 색 6(boss.js PAL — 어두운 판에 맞춰 채도 낮춤) · 등급색(--g, grades.json) · 경고 적갈 #d9261b/#3c0806(01-hud .w-pbar 빨강 · 위험 적갈) · 포효 금 #c8aa6e(띠 금선 공통) ·
        무력화 호박 #e8c979(지갑 골드) · 결정 청록(18-popup-dark .btn.gold). 제목 = BossTitle(Noto Serif KR Black 부분 글꼴 — make_boss_title.py) + 진주빛 흰 · 띠 양 끝 흐림 · 위아래 1px 빛선(도깨비 제목 말씨). */
@font-face { font-family: "BossTitle"; src: url("features/boss/BossTitle.woff2") format("woff2"); font-display: block; }

/* ---------------- 보스방에서 비키는 HUD: 퀘스트 알리미(그 자리 = 나가기 알약) · 지역 칭호 · 채팅 미리보기 · 재화 알약(이름판 자리 — 단추 줄은 제자리, 자리만 비움) · 알림 토스트는 경고 띠 아래로 */
#hud .hud-in.boss-on .qtrack, #hud .hud-in.boss-on .zone-card { display: none; }
#hud .hud-in.boss-on .top-r .coin { visibility: hidden; }
#hud .hud-in.boss-on .chat-hud, #hud.boss-on .chat-hud { display: none; }   /* 채팅 미리보기(social 10 — 오른쪽 위 34)는 이름판(가운데 380)과 겹친다 · 혼자 방이라 숨김(나가면 그대로) */
#hud .hud-in.boss-on .banner { top: 120px; }
#hud .hud-in.boss-res :is(.banner, .qnotice) { visibility: hidden; }   /* 결과 카드가 떠 있는 동안(퀘스트 진행 토스트가 카드와 겹치지 않게). opacity 는 토스트가 매 프레임 인라인으로 써서 못 덮는다(10-24 봇 캡처: 띠 뒤로 '퀘스트 완료 가능' 비침) */

/* ---------------- ① 이름판(위 가운데) */
#hud .boss-plate { left: 50%; top: 8px; width: 380px; height: 40px; transform: translateX(-50%); display: grid; grid-template-columns: 40px 1fr auto; align-items: center; column-gap: 7px; z-index: 5; pointer-events: none; --g: var(--gr-hero); --c: #c9483e; --u: transparent; }
#hud .boss-plate.in { animation: bp-in .36s cubic-bezier(.2, .9, .3, 1) both; }   /* 등장 카드가 걷힐 때 위에서 내려옴(막대 차오름 600 ms 는 boss.js) */
#hud .bp-face { position: relative; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 40%, #3a3f42, #121516 75%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), 0 0 0 1.5px var(--g), 0 0 9px -1px var(--g), 0 2px 5px rgba(0, 0, 0, .55); }
#hud .bp-face canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
#hud .bp-face.none canvas { display: none; }
#hud .bp-face.none::after { content: ""; position: absolute; inset: 9px; background: #cfcac0; -webkit-mask: url(features/boss/icon-boss.png) center / contain no-repeat; mask: url(features/boss/icon-boss.png) center / contain no-repeat; }   /* 그림 못 읽음 = 무채 보스 글리프 */
#hud .boss-plate.groggy .bp-face { animation: bp-ring-groggy .5s ease-in-out infinite alternate; }
#hud .boss-plate.enr .bp-face { animation: bp-ring-enr 1.047s ease-in-out infinite alternate; }
#hud .bp-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#hud .bp-top { display: flex; align-items: center; gap: 5px; height: 15px; min-width: 0; white-space: nowrap; }
#hud .bp-lv { flex: none; font-size: 10px; font-weight: 900; color: #e8c979; text-shadow: 0 1px 2px #000; }
#hud .bp-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: "BossTitle", "QuestTitle", "GwTitle", var(--ui-font), sans-serif; font-size: 13px; font-weight: 900; letter-spacing: .04em; color: #fbf6ea;
  text-shadow: 0 0 8px rgba(255, 236, 190, .35), 0 1px 2px #000, 1px 0 1px #000, -1px 0 1px #000; }
#hud .bp-tags { display: flex; gap: 3px; flex: none; }
#hud .bp-tag { display: none; font-style: normal; font-size: 9px; font-weight: 900; line-height: 13px; padding: 0 4px; border-radius: 3px; }
#hud .bp-tag.on { display: block; animation: bp-tag-in .22s cubic-bezier(.2, .9, .3, 1.3) both; }
#hud .bp-tag.t-immune { color: #e6ebef; background: rgba(91, 102, 112, .92); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }   /* 무적 = 무채(맞아도 안 깎임) */
#hud .bp-tag.t-groggy { color: #1d1608; background: #e8c979; }   /* 무력화 = 호박 — 지금 치라는 표시 */
#hud .bp-tag.t-groggy.on { animation: bp-tag-in .22s cubic-bezier(.2, .9, .3, 1.3) both, bp-blink .5s ease-in-out .22s infinite alternate; }
#hud .bp-tag.t-enr { color: #fff; background: #b8322a; }
#hud .bp-tag.t-enr.on { animation: bp-tag-in .22s cubic-bezier(.2, .9, .3, 1.3) both, bp-blink 1.047s ease-in-out .22s infinite alternate; }
#hud .bp-phase { margin-left: auto; display: flex; align-items: center; gap: 4px; flex: none; padding-right: 2px; }
#hud .bp-phase i { width: 6px; height: 6px; transform: rotate(45deg); box-shadow: inset 0 0 0 1px #6d716c; background: rgba(0, 0, 0, .45); }
#hud .bp-phase i.on { background: #8c7a52; box-shadow: inset 0 0 0 1px #c8aa6e; }
#hud .bp-phase i.now { background: #ffd36b; box-shadow: 0 0 6px rgba(255, 211, 107, .85); animation: bp-pip .36s cubic-bezier(.2, .9, .3, 1.4) both; }
#hud .bp-time { flex: none; min-width: 34px; text-align: right; font-size: 11px; font-weight: 900; font-variant-numeric: tabular-nums; color: #f2f0e7; text-shadow: 0 1px 2px #000, 1px 0 1px #000, -1px 0 1px #000; }
#hud .bp-time.hot { color: #ff6a58; animation: bp-blink .5s ease-in-out infinite alternate; }   /* 마지막 30초(광폭화) */
/* 체력 막대: 홈(짙은 적흑) · 금선 테 = 01-hud .hp 와 같은 값. 밑 = 다음 줄 색(--u, 마지막 줄이면 홈) · 꼬리 = 지금 줄 색의 옅은 색 · 채움 = 지금 줄 색(--c) + 위 밝은 띠 · 아래 어두움 */
#hud .bp-bar { position: relative; height: 12px; border-radius: 6px; background: linear-gradient(#0d0507, #26100f 55%, #1c0b0c);
  box-shadow: inset 0 1.5px 2px #000, 0 0 0 1px #140a04, 0 0 0 2px #c9a24a, 0 0 0 3px #120a05, 0 2px 5px 2px rgba(0, 0, 0, .45); }
#hud .bp-bar > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; }
#hud .bp-under { width: 100%; background: linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, .3)), var(--u); opacity: .85; }
#hud .bp-tail { width: 0; background: linear-gradient(rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .18)), color-mix(in srgb, var(--c) 45%, #fff); }   /* 지금 줄 색의 옅은 색(던파 결 — 2026-10-31 사용자, 흰 꼬리 대신) */
#hud .bp-fill { width: 100%; overflow: hidden; background: linear-gradient(rgba(255, 255, 255, .4), rgba(255, 255, 255, .06) 30%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .32)), var(--c); }
#hud .bp-fill::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(90deg, rgba(255, 240, 200, 0), rgba(255, 240, 200, .7)); }   /* 채움 끝 빛(01-hud .hp-fill::after) */
#hud .bp-bar > .bp-shine { left: 3px; right: 3px; top: 1px; bottom: auto; height: 3.5px; border-radius: 2px; background: linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .06)); }
#hud .bp-flash { width: 100%; background: #fff; opacity: 0; }
#hud .boss-plate.hit .bp-flash { animation: bp-flash .18s ease-out; }   /* 맞음 = 흰 번쩍(연타는 boss.js 가 120 ms 에 한 번) */
#hud .boss-plate.hit .bp-bar { animation: bp-hit .16s ease-out; }
#hud .boss-plate.enr .bp-bar { animation: bp-frame-enr 1.047s ease-in-out infinite alternate; }   /* 광폭화 = 테가 붉게 맥박(01-hud hp-low 와 같은 결) */
#hud .bp-pct { position: absolute; left: 0; right: 0; top: 0; height: 12px; z-index: 1; line-height: 13px; text-align: center; font-size: 9.5px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums;
  text-shadow: 1.2px 0 #000c, -1.2px 0 #000c, 0 1.2px #000c, 0 -1.2px #000c, 1px 1px #000c, -1px 1px #000c, 1px -1px #000c, -1px -1px #000c; }
/* 전체 막대(가는 금 · 단계 넘는 자리 흰 눈금) */
#hud .bp-total { position: relative; height: 3px; margin: 1px 2px 0; border-radius: 2px; background: rgba(0, 0, 0, .6); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .22); }
#hud .bp-tfill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: linear-gradient(90deg, #a8894e, #ffd36b); }
#hud .bp-tick { position: absolute; top: -1.5px; bottom: -1.5px; width: 1.5px; margin-left: -.75px; background: #fbf6ea; opacity: .85; box-shadow: 0 0 3px rgba(0, 0, 0, .8); }
/* 줄 수 xN(막대 오른쪽 — 로스트아크 · 리니지W 결): 줄이 넘어가면 톡 튐 + 금빛 */
#hud .bp-count { align-self: start; margin-top: 16px; min-width: 30px; font-size: 15px; font-weight: 900; font-style: italic; line-height: 16px; letter-spacing: .02em; color: #fbf6ea; font-variant-numeric: tabular-nums;
  text-shadow: 1.4px 0 #000, -1.4px 0 #000, 0 1.4px #000, 0 -1.4px #000, 1px 1px #000, -1px 1px #000, 0 0 8px rgba(0, 0, 0, .6); }
#hud .bp-count.tick { animation: bp-count .32s ease-out; }
@keyframes bp-in { from { transform: translate(-50%, -16px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes bp-flash { from { opacity: .55; } to { opacity: 0; } }
@keyframes bp-hit { 0% { transform: translateX(0); } 30% { transform: translateX(-1.2px); } 65% { transform: translateX(1px); } 100% { transform: none; } }
@keyframes bp-count { 0% { transform: scale(1); } 35% { transform: scale(1.35); color: #ffe3a6; } 100% { transform: scale(1); } }
@keyframes bp-tag-in { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bp-pip { from { transform: rotate(45deg) scale(1.9); } to { transform: rotate(45deg) scale(1); } }
@keyframes bp-blink { from { opacity: 1; } to { opacity: .55; } }
@keyframes bp-ring-groggy { from { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), 0 0 0 1.5px #e8c979, 0 0 6px #e8c979; } to { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), 0 0 0 2px #ffe3a6, 0 0 14px #e8c979; } }
@keyframes bp-ring-enr { from { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), 0 0 0 1.5px #c9483e, 0 0 6px #c9483e; } to { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), 0 0 0 2px #ff6a58, 0 0 14px #ff3a2a; } }
@keyframes bp-frame-enr { to { box-shadow: inset 0 1.5px 2px #000, 0 0 0 1px #140a04, 0 0 0 2px #ff5a4a, 0 0 0 3px #120a05, 0 0 9px 4px rgba(255, 50, 40, .5); } }

/* ---------------- ② 큰 패턴 경고 띠(이름판 아래 — 바닥 예고 58m 와 같은 순간): 붉은 ◆! + 패턴 이름. 짙은 띠 양 끝 흐림 + 위아래 1px 선 */
#hud .boss-warn { left: 50%; top: 62px; height: 28px; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; padding: 0 56px; z-index: 5; pointer-events: none; white-space: nowrap;
  background: linear-gradient(90deg, transparent, rgba(60, 8, 6, .84) 22%, rgba(60, 8, 6, .84) 78%, transparent); --wl: #e2583a; --wm: #d9261b; --wg: rgba(255, 60, 40, .75); }   /* 등급색 아님: 보스 경고 빨강 */
#hud .boss-warn::before, #hud .boss-warn::after { content: ""; position: absolute; left: 14%; right: 14%; height: 1px; background: linear-gradient(90deg, transparent, var(--wl), transparent); }
#hud .boss-warn::before { top: 0; } #hud .boss-warn::after { bottom: 0; }
#hud .boss-warn.k-roar { --wl: #c8aa6e; --wm: #b8892e; --wg: rgba(255, 211, 107, .7); background: linear-gradient(90deg, transparent, rgba(44, 32, 8, .86) 22%, rgba(44, 32, 8, .86) 78%, transparent); }   /* 포효 = 단계 넘어감(금) */
#hud .boss-warn.k-enr { --wg: rgba(255, 40, 20, .95); background: linear-gradient(90deg, transparent, rgba(84, 6, 4, .9) 22%, rgba(84, 6, 4, .9) 78%, transparent); }
#hud .boss-warn.k-skill .bw-mark { display: none; }   /* 패턴 = 스킬 이름만(10-28 — 느낌표 · 피하기 안내 없이) */
#hud .bw-mark { position: relative; isolation: isolate; flex: none; width: 18px; height: 18px; display: grid; place-items: center; font-style: normal; font-size: 12.5px; font-weight: 900; line-height: 1; color: #fff; }
#hud .bw-mark::before { content: ""; position: absolute; inset: 2.5px; z-index: -1; border-radius: 2px; transform: rotate(45deg); background: var(--wm); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 0 9px var(--wg); }
#hud .boss-warn.on .bw-mark { animation: bw-mark .45s ease-in-out infinite alternate; }
#hud .bw-text { font-size: 13px; font-weight: 900; letter-spacing: .06em; color: #fff1e8; text-shadow: 0 1px 3px #000, 0 0 10px var(--wg); }
#hud .boss-warn.on { animation: bw-in .26s cubic-bezier(.2, .9, .3, 1) both; }
#hud .boss-warn.on .bw-text { animation: bw-text .34s ease-out both; }
#hud .boss-warn.out { animation: bw-out .3s ease-in both; }
@keyframes bw-in { from { transform: translateX(-50%) scaleX(.3); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
@keyframes bw-out { to { transform: translate(-50%, -6px); opacity: 0; } }
@keyframes bw-text { from { letter-spacing: .5em; opacity: 0; } to { letter-spacing: .06em; opacity: 1; } }
@keyframes bw-mark { from { transform: scale(1); } to { transform: scale(1.18); } }

/* 화면 맞춤(uifit2-1110): 무대가 450 보다 긴 화면(채움 모드 — hud host layout --dy)에서 결과 막(::before)은 무대 전체 · '전투 시작'은 가운데(+dy/2). 이름 카드(.bi-card)는 hud host lowerHalf 가 아래로 */
/* ---------------- ③ 등장: 위아래 레터박스(52) + 아래쪽 이름 카드(보스가 내려앉는 가운데를 가리지 않게) → '전투 시작' */
#hud .boss-intro { left: 0; top: 0; width: 100%; height: 100%; z-index: 8; pointer-events: none; overflow: hidden; }
#hud .bi-lb { position: absolute; left: 0; right: 0; height: 52px; background: #050607; opacity: .92; transition: transform .42s cubic-bezier(.2, .9, .3, 1); }
#hud .bi-lb.top { top: 0; transform: translateY(-100%); } #hud .bi-lb.bot { bottom: 0; transform: translateY(100%); }
#hud .boss-intro.on .bi-lb { transform: none; }
#hud .boss-intro.out .bi-lb.top { transform: translateY(-100%); } #hud .boss-intro.out .bi-lb.bot { transform: translateY(100%); }
#hud .bi-card { position: absolute; left: 50%; top: 300px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 130px 9px; white-space: nowrap;
  background: linear-gradient(90deg, transparent, rgba(10, 12, 14, .74) 22%, rgba(10, 12, 14, .74) 78%, transparent); opacity: 0; }
#hud .bi-card::before, #hud .bi-card::after { content: ""; position: absolute; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, #c8aa6e, transparent); }
#hud .bi-card::before { top: 0; } #hud .bi-card::after { bottom: 0; }
#hud .boss-intro.on .bi-card { animation: bi-open .34s cubic-bezier(.2, .9, .3, 1) .25s both; }
#hud .boss-intro.out .bi-card { animation: bi-leave .4s ease-in both; }
#hud .bi-tag { font-size: 10.5px; font-weight: 900; letter-spacing: .32em; color: #ff8a72; text-shadow: 0 0 8px rgba(255, 70, 40, .6), 0 1px 2px #000; }
#hud .bi-name { font-family: "BossTitle", "QuestTitle", "GwTitle", var(--ui-font), sans-serif; font-size: 30px; font-weight: 900; line-height: 38px; letter-spacing: 8px; color: #fbf6ea;
  text-shadow: 0 0 14px rgba(255, 236, 190, .55), 0 2px 4px rgba(0, 0, 0, .85); }
#hud .boss-intro.on .bi-name { animation: bi-gather .55s ease-out .35s both; }
#hud .bi-sub { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #c8c3b5; text-shadow: 0 1px 2px #000; }
#hud .boss-intro.on .bi-sub { animation: bi-fade .4s ease-out .6s both; }
#hud .bi-go { position: absolute; left: 50%; top: calc(150px + var(--dy, 0px) / 2); transform: translate(-50%, -50%); padding: 6px 90px; white-space: nowrap; opacity: 0;
  font-family: "BossTitle", "QuestTitle", "GwTitle", var(--ui-font), sans-serif; font-size: 26px; font-weight: 900; letter-spacing: 10px; color: #ffe3a6; text-shadow: 0 0 16px rgba(255, 190, 90, .75), 0 2px 4px rgba(0, 0, 0, .9);
  background: linear-gradient(90deg, transparent, rgba(10, 12, 14, .6) 25%, rgba(10, 12, 14, .6) 75%, transparent); }
#hud .boss-intro.go .bi-go { animation: bi-go 1.05s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes bi-open { from { transform: translateX(-50%) scaleX(.2); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
@keyframes bi-leave { from { transform: translateX(-50%); opacity: 1; } to { transform: translate(-50%, -14px); opacity: 0; } }
@keyframes bi-gather { from { letter-spacing: 30px; opacity: 0; filter: blur(3px); } to { letter-spacing: 8px; opacity: 1; filter: none; } }
@keyframes bi-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes bi-go { 0% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; letter-spacing: 22px; } 22% { transform: translate(-50%, -50%) scale(1); opacity: 1; letter-spacing: 10px; }
  70% { opacity: 1; } 100% { transform: translate(-50%, -62%); opacity: 0; } }

/* ---------------- ④ 광폭화 = 화면 가장자리 붉은 맥동(등급 빛 1047 ms) */
#hud .boss-vig { left: 0; top: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 70% 62% at 50% 50%, transparent 58%, rgba(190, 18, 8, .5) 100%); opacity: 0; }
#hud .boss-vig.on { animation: bv-pulse 1.047s ease-in-out infinite alternate; }
@keyframes bv-pulse { from { opacity: .35; } to { opacity: .9; } }

/* ---------------- ⑤ 결과 카드(토벌 성공 = 금 글자 + 도는 빛살 · 실패 = 무채): 띠 열림 → 글자 모임 → 보상 판 순차 팝(quest.css .qr-grid) → 돌아가는 초 */
#hud .boss-result { left: 0; right: 0; top: 64px; display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 7; pointer-events: none; }
#hud .boss-result.on { animation: bi-fade .2s ease-out both; }
#hud .boss-result::before { content: ""; position: absolute; left: 0; right: 0; top: -64px; height: var(--hh, 450px); z-index: -2; pointer-events: none;
  background: radial-gradient(ellipse 62% 56% at 50% 46%, rgba(8, 10, 12, .66), rgba(8, 10, 12, .38) 64%, rgba(8, 10, 12, .2)); }   /* 장면 어둡게(흥행작 결과 화면 공통) — 가운데 캐릭터 · 이름표가 보상 칸 뒤로 비치지 않게(10-24 봇 캡처) */
#hud .br-rays { position: absolute; left: 50%; top: 24px; width: 340px; height: 340px; margin: -170px 0 0 -170px; z-index: -1; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 220, 150, .2) 0 5deg, transparent 5deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0 18%, transparent 66%); mask: radial-gradient(circle, #000 0 18%, transparent 66%); animation: br-rays .7s ease-out both, br-spin 16s linear infinite; }
#hud .boss-result.no .br-rays { display: none; }
#hud .br-band { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 130px 8px; white-space: nowrap;
  background: linear-gradient(90deg, transparent, rgba(10, 12, 14, .78) 22%, rgba(10, 12, 14, .78) 78%, transparent); animation: bi-open-c .32s cubic-bezier(.2, .9, .3, 1) both; }
#hud .br-band::before, #hud .br-band::after { content: ""; position: absolute; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, #c8aa6e, transparent); }
#hud .br-band::before { top: 0; } #hud .br-band::after { bottom: 0; }
#hud .boss-result.no .br-band::before, #hud .boss-result.no .br-band::after { background: linear-gradient(90deg, transparent, #8a5048, transparent); }
#hud .br-big { font-family: "BossTitle", "QuestTitle", "GwTitle", var(--ui-font), sans-serif; font-size: 28px; font-weight: 900; line-height: 36px; letter-spacing: 8px; color: #ffe3a6;
  text-shadow: 0 0 14px rgba(255, 210, 130, .6), 0 2px 4px rgba(0, 0, 0, .85); animation: bi-gather .5s ease-out .08s both; }
#hud .boss-result.no .br-big { color: #d8d2c6; text-shadow: 0 0 10px rgba(160, 60, 50, .45), 0 2px 4px rgba(0, 0, 0, .85); }
#hud .br-sub { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #c8c3b5; text-shadow: 0 1px 2px #000; animation: bi-fade .4s ease-out .3s both; }
#hud .br-tip { font-size: 11px; font-weight: 700; letter-spacing: .5px; color: #ffd98a; text-shadow: 0 1px 2px #000; animation: bi-fade .4s ease-out .6s both; }   /* 실패 다음 할 일(ratking-1112) */
#hud .br-cells-l { font-size: 11px; font-weight: 800; color: #b9bcb4; text-shadow: 0 1px 2px #000; animation: bi-fade .3s ease-out .45s both; }
#hud .boss-result .qr-grid { --d0: .4s; }
#hud .boss-result .qr-cell[data-it] { pointer-events: auto; }   /* 거둔 보상 칸 누름 → 아이템 정보(features/itemtip) — 결과 판 나머지는 그대로 누름이 지나간다 */
#hud .br-back { margin-top: 2px; padding: 2px 10px; border-radius: 9px; font-size: 11px; font-weight: 700; color: #c8c3b5; text-shadow: 0 1px 2px #000;
  background: rgba(10, 12, 14, .62); animation: bi-fade .3s ease-out .7s both; }   /* 처치 빛 고리 위에서도 읽히게 어두운 알약(10-24 캡처: 맨 글자 #9a9d98 은 빛 위에서 묻힘) */
#hud .br-back:empty { display: none; }
@keyframes bi-open-c { from { transform: scaleX(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes br-rays { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes br-spin { to { rotate: 360deg; } }

/* ---------------- ⑥ 알약: 나가기(알리미 자리 — 미니맵 아래) · 보스 도전(둥지 안 · 아래 가운데, 결정 = 청록 + 금빛 고리 맥박). 글자 폭 · 높이 28 · 누름 .92 → 1.06 */
#hud .boss-pill { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 14px 0 4px; border-radius: 14px; white-space: nowrap; pointer-events: auto; cursor: pointer; color: #f2f0e7; --tx: 0;
  background: linear-gradient(90deg, rgba(13, 16, 17, .8), rgba(13, 16, 17, .62)); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .45), 0 2px 6px rgba(0, 0, 0, .4); animation: bpl-in .28s cubic-bezier(.2, .9, .3, 1.2) both; }
#hud .boss-pill b { font-size: 12px; font-weight: 900; text-shadow: 0 1px 2px #000; }
#hud .boss-pill.press { animation: bpl-press .22s ease-out both; }
#hud .bpl-ic { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
#hud .bpl-ic::after { content: ""; width: 13px; height: 13px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
#hud .bpl-ic.exit::after { -webkit-mask-image: url(assets/icons/talk-end.svg); mask-image: url(assets/icons/talk-end.svg); }
#hud .boss-leave { left: 10px; top: 108px; }   /* 퀘스트 알리미 자리(quest.css .qtrack top) */
#hud .boss-go { right: 10px; top: 66px; padding-left: 3px; }   /* 보스 도전(11-04 레이 R15 — 보스방 밖 · 조건을 채웠을 때만): 채팅 미리보기(오른쪽 위 34, 높이 26) 아래 6 · 초상 22 + 글자 폭 */
#hud .bpl-face { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; background: #1a1513; box-shadow: 0 0 0 1px #c8aa6e; animation: bpl-ring 1.6s ease-in-out infinite; }
#hud .bpl-face canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
#hud .boss-go.wait { color: #b9b4aa; }
/* fieldboss-1110: 지금 출현한 보스 수(알약 글자 뒤 작은 원 — 초록 = 출현, 알림 빨강과 구분) */
#hud .bpl-n { display: inline-grid; place-items: center; min-width: 14px; height: 14px; margin-left: 4px; padding: 0 3px; border-radius: 7px; background: #4f9c4a; color: #fff;
  font-style: normal; font-size: 9px; font-weight: 900; line-height: 14px; font-variant-numeric: tabular-nums; vertical-align: 1px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); }
#hud .boss-go.wait .bpl-face { animation: none; box-shadow: 0 0 0 1px rgba(200, 170, 110, .45); filter: grayscale(.8); }
@keyframes bpl-ring { 50% { box-shadow: 0 0 0 1px #c8aa6e, 0 0 6px 1px rgba(200, 170, 110, .55); } }
@keyframes bpl-in { from { transform: translateX(var(--tx)) scale(.6); opacity: 0; } to { transform: translateX(var(--tx)); opacity: 1; } }
@keyframes bpl-press { 0% { transform: translateX(var(--tx)) scale(1); } 27% { transform: translateX(var(--tx)) scale(.92); } 65% { transform: translateX(var(--tx)) scale(1.06); } 100% { transform: translateX(var(--tx)) scale(1); } }

/* ---------------- ⑦ 도전 확인 팝업(공용 작은 팝업 18-popup-dark — 판 · 모서리 · 알약은 거기, 여기는 안 배치만)
   10-25 사용자 "제한 시간 3분만 보여주고 밑에 보상만 보여주자 efz 보스창 참고해서 보스도전 UI 이렇게 허접하게 짜지말고 퀄리티있게해":
   틀 = EFZ 보스 선택 창(scr_boss_victor_select_draw): 왼쪽 무대(어두운 판 · 등급색 고리 맥박 · 보스 서기 동작 · 이름) | 오른쪽(제한 시간 · 보상 칸 · 입장 단추).
   크기(GUI 450): 폭 404 · 무대 140 · 보스 칸 132 × 88 · 이름 16 · 보상 칸 52(quest.css .qr-cell.big) · 알약 28. 색 = 무채 + 등급색(--g) · 결정 청록. */
#ui .popup.bask { width: 404px; --g: var(--gr-rare); }
#ui .popup.bask .popup-head h2 { flex: none; font-size: 15px; white-space: nowrap; }   /* 제목은 줄지 않는다 — 고르기 칸 10개(fieldboss-1110)가 머리 띠를 채우면 제목이 한 글자씩 세로로 접혀 창이 GUI 450 을 넘고 [도전]이 화면 밖으로 밀렸다(relcheck-1111) */
#ui .bask-body { display: grid; grid-template-columns: 140px 1fr; gap: 14px; }
#ui .bask-stage { position: relative; height: 184px; border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 9px;
  background: radial-gradient(ellipse 80% 46% at 50% 54%, color-mix(in srgb, var(--g) 26%, transparent), transparent 72%), linear-gradient(#17191b, #0d0f10);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g) 34%, rgba(255, 255, 255, .06)), inset 0 -30px 30px -18px rgba(0, 0, 0, .7); }
/* 바닥 고리 = EFZ 무대 고리(붉은 원 4겹 맥박)를 등급색 타원 2겹으로 — 등급 빛 1047 ms(ui-juice) */
#ui .bask-ring { position: absolute; left: 50%; top: 100px; width: 112px; height: 34px; margin: -17px 0 0 -56px; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--g) 70%, transparent), 0 0 12px color-mix(in srgb, var(--g) 45%, transparent); animation: bask-ring 2.094s ease-out infinite; }
#ui .bask-ring.r2 { animation-delay: -1.047s; }
#ui .bask-boss { position: absolute; left: 50%; top: 104px; transform: translate(-50%, -100%); display: grid; place-items: end center; animation: bask-boss .42s cubic-bezier(.2, .9, .3, 1) .08s both; }
#ui .bask-boss canvas { display: block; image-rendering: pixelated; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .55)); }
#ui .bask-boss.none canvas { display: none; }
#ui .bask-boss.none::after { content: ""; width: 54px; height: 54px; margin-bottom: 10px; background: #cfcac0; -webkit-mask: url(features/boss/icon-boss.png) center / contain no-repeat; mask: url(features/boss/icon-boss.png) center / contain no-repeat; }
#ui .bask-id { position: relative; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 0 6px; text-align: center; }
#ui .bask-id small { max-width: 100%; font-size: 9.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .bask-id b { max-width: 100%; font-family: "BossTitle", "QuestTitle", "GwTitle", var(--ui-font, GFUIFont), sans-serif; font-size: 16px; font-weight: 900; line-height: 20px; letter-spacing: .08em; color: #fbf6ea;
  text-shadow: 0 0 8px rgba(255, 236, 190, .3), 0 1px 2px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .bask-id em { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--ink-soft); }
#ui .bask-g { font-style: normal; margin-right: 5px; color: var(--g); font-weight: 900; }
#ui .bask-side { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
#ui .bask-time { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 11px; border-radius: 7px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .bask-time span { font-size: 11.5px; font-weight: 700; color: #b9bcb4; }
#ui .bask-time b { font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: .03em; color: #f2f0e7; }
/* fieldboss-1110: 제한 시간 · 리젠 · 오늘 n/3 세 칸(같은 판 높이 30 — 작은 이름표 위 · 값 아래, 판 높이를 늘리지 않게) */
#ui .bask-time.tri { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 0 4px; }
#ui .bask-time.tri i { display: flex; flex-direction: column; align-items: center; justify-content: center; font-style: normal; min-width: 0; }
#ui .bask-time.tri i + i { box-shadow: -1px 0 0 rgba(255, 255, 255, .08); }
#ui .bask-time.tri span { font-size: 8.5px; line-height: 10px; color: var(--ink-soft); white-space: nowrap; }
#ui .bask-time.tri b { font-size: 12px; line-height: 15px; white-space: nowrap; }
#ui .bask-rwh { display: flex; align-items: baseline; gap: 8px; margin-bottom: 7px; }
#ui .bask-rwh b { flex: none; font-size: 12px; font-weight: 900; color: #e8c979; }   /* 보상 머리 = 지갑 골드(EFZ 보상 제목 #ffe0a1 결) */
#ui .bask-rwh span { min-width: 0; font-size: 10.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .bask-cells { display: flex; flex-wrap: wrap; gap: 6px; }
#ui .bask-cells .qr-cell { animation-delay: calc(.12s + var(--i, 0) * 70ms); }   /* 창 팝 뒤 70 ms 순차(ui-juice) */
#ui .bask-cells.off .qr-cell { filter: grayscale(.7); opacity: .5; }
#ui .bask-need { margin: 6px 0 0; font-size: 10.5px; font-weight: 700; color: #ff9a8a; }
#ui .bask-foot { margin-top: auto; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
#ui .bask-foot .btn { flex: none; min-width: 72px; }
#ui .bask-lv { margin-right: auto; font-size: 11px; font-weight: 800; color: var(--ink-soft); white-space: nowrap; }
#ui .bask-lv.low { color: #ff7a6a; }
/* 30분 대기 중(ask3-1109): [도전] 바로 위 남은 시간 — 단추는 잠그고(off) 창 안 토벌권 · 자동 토벌은 그대로 */
#ui .bask-go { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; }
#ui .bask-cd { font-size: 10px; font-weight: 800; line-height: 12px; font-variant-numeric: tabular-nums; color: #ffcf7a; white-space: nowrap; }
#ui .bask-cd[hidden] { display: none; }
#ui .popup.bask .btn.busy { opacity: .7; pointer-events: none; }
/* bossad-1125(주호님 11-25 "광고 보고 짧게" → 바로 도전 · 하루 3회): [AD 바로 도전 n/3] — 리젠 대기 중에만 [도전] 왼쪽(레벨 글자 자리 — 대기 중이면 레벨은 이미 됨).
   광고 단추 결 = 퀘스트 [광고 보고 더 받기](quest_daily.css qd-adb — 초록 판 · AD 딱지 · 1047 ms 빛), 높이 34(누름 칸 최소) · 글자 폭 · 다 씀 = 흐림 + 누르면 안내 */
#ui .popup.bask .bask-foot .btn.bask-ad { margin-right: auto; min-width: 0; height: 34px; min-height: 34px; padding: 0 8px 0 6px; display: inline-flex; align-items: center; gap: 4px; border-radius: 9px; white-space: nowrap;
  font-size: 11.5px; font-weight: 800; color: #eafbe9; background: linear-gradient(180deg, rgba(63, 125, 44, .55), rgba(30, 60, 24, .7)); box-shadow: inset 0 0 0 1px rgba(120, 210, 110, .55);
  animation: bask-adglow 1.047s ease-in-out infinite alternate; transition: transform .06s; }
#ui .popup.bask .bask-foot .btn.bask-ad[hidden], #ui .bask-lv[hidden] { display: none; }
/* [바로 도전]이 보이면(has-ad) 남은 시간 글을 [도전] 위로 띄운다 — 글 폭(약 108)이 [도전] 칸을 넓혀 오른쪽 칸(약 188)을 넘고 단추가 왼쪽 확률 드롭 칸을 덮던 것(11-25 sandbox 캡처) */
#ui .bask-foot.has-ad .bask-go { position: relative; }
#ui .bask-foot.has-ad .bask-cd { position: absolute; right: 0; bottom: 100%; margin-bottom: 3px; }
#ui .bask-ad-ic { flex: none; padding: 0 3px; border-radius: 4px; background: #3f7d2c; color: #fffce7; font-size: 8px; font-style: normal; font-weight: 900; line-height: 11px; }
#ui .bask-ad-ic::after { content: "AD"; }
#ui .bask-ad b { font-weight: 900; }
#ui .bask-adn { font-size: 10px; font-weight: 800; opacity: .85; font-variant-numeric: tabular-nums; }
#ui .popup.bask .bask-foot .btn.bask-ad.off { filter: grayscale(.85); opacity: .5; animation: none; }
#ui .popup.bask .bask-foot .btn.bask-ad:active { transform: scale(.92); }
@keyframes bask-adglow { from { box-shadow: inset 0 0 0 1px rgba(120, 210, 110, .45); } to { box-shadow: inset 0 0 0 1px rgba(150, 235, 130, .85), 0 0 10px rgba(110, 210, 90, .35); } }
@keyframes bask-ring { from { transform: scale(.55); opacity: 0; } 25% { opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
@keyframes bask-boss { from { transform: translate(-50%, calc(-100% + 8px)); opacity: 0; } to { transform: translate(-50%, -100%); opacity: 1; } }
/* 고를 보스 줄: 머리 띠 제목과 X 사이, 칸 = 초상 24 + 이름 · 보스 Lv 두 줄(아이콘 칸 + 이름 — 초상만 두면 고르는 칸인 줄 모른다) · 높이 30(알약 28 결 — 판 안에 줄을 두면
   판이 폰 가로 412 를 넘는다(실측 416)) · 고른 칸 = 등급색 테 + 빛(크기 대신 빛 — 고품질UI) · 다시 도전 대기 = 흐린 초상 · Lv 자리에 mm:ss.
   칸 수 = 조건을 채운 보스(보통 3 — 넷 이상이면 줄이 가로로 밀리고 막대는 숨긴다) · 이름은 최대 56 에 말줄임(넘치면 공용 전광판 watchMarquee) */
#ui .bask-pick { display: flex; gap: 5px; min-width: 0; margin: 0 8px 0 auto; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
#ui .bask-pick::-webkit-scrollbar { display: none; }
#ui .bpk { position: relative; flex: none; display: flex; align-items: center; gap: 4px; height: 30px; padding: 0 7px 0 3px; border: 0; border-radius: 8px; background: #141618; cursor: pointer;
  color: inherit; font: inherit; text-align: left; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: box-shadow .16s, transform .16s; }
#ui .bpk-f { position: relative; flex: none; width: 24px; height: 24px; border-radius: 6px; overflow: hidden; background: #0d0f10; }
#ui .bpk-f canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
#ui .bpk-t { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; pointer-events: none; }
#ui .bpk-n { display: block; max-width: 56px; font-size: 9.5px; font-weight: 800; line-height: 11px; color: #cfccc2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .bpk-lv { font-size: 8px; font-weight: 800; line-height: 9px; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
#ui .bpk.on { box-shadow: inset 0 0 0 1.5px var(--g), 0 0 8px color-mix(in srgb, var(--g) 60%, transparent); animation: bpk-on 1.047s ease-in-out infinite alternate; }
#ui .bpk.on .bpk-n { color: #f2f0e7; }
#ui .bpk.on .bpk-lv { color: var(--g); }
#ui .bpk:not(.on) canvas { opacity: .62; }
#ui .bpk:active { transform: scale(.92); }
#ui .bpk.wait canvas { filter: grayscale(.8); opacity: .4; }
/* fieldboss-1110 보스 현황 칸: 둘째 줄 = 상태(출현 n/3 초록 · 리젠 mm:ss 호박 · 오늘 끝 · 잠김 Lv 회색) — 보스 Lv 는 오른쪽 상세에 있어 칸에서는 뺀다 */
#ui .bpk .bpk-lv { display: none; }
#ui .bpk.ready .bpk-cd { color: #8fd98a; }
#ui .bpk.ready:not(.on) .bpk-f { box-shadow: 0 0 0 1px rgba(143, 217, 138, .7); animation: bpk-ready 1.6s ease-in-out infinite; }
#ui .bpk.day .bpk-cd, #ui .bpk.lock .bpk-cd { color: var(--ink-soft); }
#ui .bpk.day canvas, #ui .bpk.lock canvas { filter: grayscale(1); opacity: .35; }
#ui .bpk.lock .bpk-n { color: #8d8a83; }
@keyframes bpk-ready { 50% { box-shadow: 0 0 0 1px rgba(143, 217, 138, .9), 0 0 6px 1px rgba(143, 217, 138, .55); } }
#ui .bpk-cd { font-style: normal; font-size: 8px; font-weight: 900; line-height: 9px; font-variant-numeric: tabular-nums; color: #ffcf7a; white-space: nowrap; }
#ui .bpk-cd[hidden] { display: none; }
@keyframes bpk-on { to { box-shadow: inset 0 0 0 1.5px var(--g), 0 0 12px 1px color-mix(in srgb, var(--g) 75%, transparent); } }
#ui .bask-rwh.q { margin-top: 9px; }   /* 처치 보상 줄 아래 퀘스트 보상 줄(11-04 피드백 1-4) */
/* 확률 드롭(11-05 N 5): 왼쪽 무대 아래 2 × 2(오른쪽 보상 줄이 길어 판이 폰 높이를 넘지 않게) · 머리 [?] = 보스 확률표(boss-odds-dim) · 칸 아래 확률 글자 */
#ui .bask-left { min-width: 0; display: flex; flex-direction: column; gap: 9px; }
#ui .bask-rolls .bask-rwh { margin-bottom: 5px; }
#ui .bask-rolls .bask-cells { display: grid; grid-template-columns: repeat(2, 44px); justify-content: center; gap: 4px 14px; }
#ui .bask-rolls .bask-cells.c3 { grid-template-columns: repeat(3, 44px); column-gap: 4px; }   /* 드롭 5칸 이상(범수리 · 용) = 3열 2줄 — 2열 3줄이면 판이 GUI 450 을 넘어 [도전]이 화면 밖(11-07 과메기 신고) */
#ui .bask-rwh .bask-q { flex: none; align-self: center; width: 15px; height: 15px; border-radius: 50%; font-style: normal; font-size: 10px; font-weight: 900; line-height: 15px; text-align: center;
  color: #26221c; background: #e8c979; box-shadow: 0 1px 2px #000a; cursor: pointer; }
#ui .bask-roll { display: flex; flex-direction: column; align-items: center; gap: 2px; }
#ui .bask-roll small { font-size: 9.5px; font-weight: 800; font-variant-numeric: tabular-nums; color: #e8c979; }

/* gf:js-pack prototype/Spikes/rt-battle/features/trial/trial.css */
/* 코스튬 달인 시련 화면(하이랜드 · LANES G15 · features/trial — trial.js). 판 · 이름판 · 등장 · 결과 · 알약 · 도전 팝업은 보스 화면(features/boss/boss.css) 클래스를 그대로 쓰고(같은 게임의 같은 부품 — 고품질UI §4-3),
   여기는 다른 점만: ① 시련 방에서 비키는 HUD(boss.css 10~14 의 boss-on 규칙을 trial-on 으로 — boss.js 가 boss-on 을 매 프레임 끄고 켜서 같은 클래스를 못 쓴다)
   ② 초상 자리 = 그 무공 흰 선 아이콘(martial 별자리 .ma-ic 와 같은 마스크) ③ 도전 팝업 무대 = 아이콘 54 + 등급색 고리(보스 그림 자리) ④ 모자란 재료 수 = 붉은 숫자(값 강조 — 고품질UI §1 색). */

/* ---------------- ① 시련 방에서 비키는 HUD(boss.css 10~14 와 같은 값) */
#hud .hud-in.trial-on .qtrack, #hud .hud-in.trial-on .zone-card { display: none; }
#hud .hud-in.trial-on .top-r .coin { visibility: hidden; }
#hud .hud-in.trial-on .skm-bar { display: none; }   /* 하늘섬 재료 알약 줄(skyisle sky_materials — 초원섬 판이라 켜진다)이 이름판 자리(위 가운데)와 겹친다 — 혼자 결투 동안만 숨김 */
#hud .hud-in.trial-on .chat-hud { display: none; }
#hud .hud-in.trial-on .banner { top: 120px; }

/* ---------------- ② 이름판 초상 = 무공 아이콘(40 원 안 22 — 보스 글리프 .bp-face.none::after inset 9 와 같은 크기) */
#hud .trial-plate .tp-ic { position: absolute; inset: 9px; background: #f2f0e7; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; filter: drop-shadow(0 0 3px var(--g)); }

/* ---------------- ③ 도전 팝업 무대: 보스 그림 자리에 무공 아이콘 54(boss.css .bask-boss.none::after 54 와 같은 값) — 고리 위에 서고 등급색 빛 */
#ui .bask-boss.trial-ic { width: 54px; height: 54px; margin-top: -10px; }
#ui .bask-boss.trial-ic i { display: block; width: 54px; height: 54px; background: #f2f0e7; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  filter: drop-shadow(0 0 6px var(--g)) drop-shadow(0 3px 2px rgba(0, 0, 0, .55)); }

/* 이름 = 보스보다 긴 '<무공> 달인'(예: 블레이드 아츠 달인 9자) — 무대 폭 140 안에 들게 16 → 13.5 · 자간 .02em */
#ui .trial-ask .bask-id b { font-size: 13.5px; letter-spacing: .02em; }

/* ---------------- ④ 재료 칸: 모자라면 수만 붉게(보스 팝업 .bask-lv.low #ff7a6a 와 같은 색) */
#ui .trial-ask .qr-cell.lack em { color: #ff7a6a; }

/* gf:js-pack prototype/Spikes/rt-battle/features/morph/morph.css */
/* 변신(features/morph, 2026-10-26 사용자 "구르기 버튼이 사라지고 거기에 구르기 대신 변신" · 같은 날 2차 "우측 상단 메뉴버튼에서 변신 탭으로 따로 · 꾹 눌러도 변신 UI ·
   변신 UI 퀄리티 높이면서 전체화면으로 · 지역별로 몬스터도 분리해서 볼 수 있는 필터") — 고품질UI 규칙(GUI 450 · 칸 52~64 · 아이콘 40 · 제목 17 · 알약 28).
   창 = 공용 전체화면 창(.popup.full, windows-css 01-popup — 반투명 판 · 머리 띠 ‹ · 흰 아이콘 · 제목 · 베이지/청록 알약). 본문 370 = 왼쪽 지역 필터 열 132 · 가운데 몬스터 격자 · 오른쪽 상세 252.
   지역 필터 = 경매장 왼쪽 분류 열 결(대륙 머리 글자 + 지역 줄, 고른 줄 = 베이지 알약 · 다 모은 지역 = 금 글자) · 격자 칸 56 · 상세 맨 위 진열대(그 몬스터가 움직이는 받침 + 빛줄기).
   색: 판 값(--ink · --ink-soft) · Lv · 다 모음 = 금(지갑 골드 #e8c979) · 능력치 증가 = 초록(좋아짐) · 진행 막대 = 청록(결정 알약 .btn.gold #548f8c → #83c3bf) · 새 변신 = 빨간 점(#e5484d, RtSlots 배지). */

/* ---- 메뉴(☰) 변신 칸 · 새 변신 점 */
#menu-pop .m-morph { position: relative; }
#menu-pop .m-morph > .mf-mdot { position: absolute; right: 6px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .55); animation: mf-dot .628s ease-in-out infinite alternate; pointer-events: none; }
/* 해금 전: HUD 단추는 숨김(11-03) · 메뉴 칸은 자물쇠로 보인다(11-04 — features/unlock .ul-lock) */
#hud .b-roll.lock, #hud .b-roll[hidden] { display: none !important; }

/* ---- 구르기 자리 단추: 구르기 그림을 걷고 얼굴 + 쿨 부채꼴(스킬 칸 .sk-cd 와 같은 결 — 밝은 앞날) · 변신 중 = 금 고리가 줄어든다 · 꾹 누르는 동안 = 흰 고리가 찬다 */
#hud .b-roll.mf-btn > img.i { display: none; }
#hud .b-roll .mf-face { position: absolute; inset: 17% 17% 19%; background: center / contain no-repeat; image-rendering: pixelated; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); pointer-events: none; }
#hud .b-roll.none .mf-face { inset: 22%; image-rendering: auto; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); opacity: .9; }   /* 고른 것 없음 = 메뉴와 같은 흰 변신 아이콘 */
#hud .b-roll .mf-ring, #hud .b-roll .mf-hold { position: absolute; inset: 4%; border-radius: 50%; pointer-events: none; opacity: 0; }
#hud .b-roll.cd .mf-ring { opacity: 1; background: conic-gradient(rgba(0, 0, 0, .66) calc(var(--cd) * 360deg), rgba(255, 236, 190, .9) calc(var(--cd) * 360deg) calc(var(--cd) * 360deg + 4deg), transparent 0); }
#hud .b-roll.cd .mf-face { filter: grayscale(.7) brightness(.75); }
#hud .b-roll.on .mf-ring { opacity: 1; background: conic-gradient(#ffd36b calc(var(--cd) * 360deg), rgba(255, 255, 255, .14) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px));
  filter: drop-shadow(0 0 4px rgba(255, 200, 80, .7)); }
#hud .b-roll.holding .mf-hold { opacity: 1; inset: -6%; background: conic-gradient(#fff calc(var(--hold, 0) * 360deg), rgba(255, 255, 255, .16) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px));
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, .7)); }
#hud .b-roll.holding .mf-face { transform: scale(calc(1 - var(--hold, 0) * .1)); }   /* 꾹 = 얼굴이 살짝 눌린다 */
#hud .b-roll .mf-left { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px #000, 0 0 2px #000; pointer-events: none; }
#hud .b-roll.on .mf-left { place-items: end center; padding-bottom: 6%; font-size: 13px; color: #ffd36b; }
/* 해금 전(10-28 "변신 버튼도 잠금"): 흐린 흰 변신 아이콘 + 가운데 흰 자물쇠 + 아래 Lv.15 */
#hud .b-roll .mf-lock { position: absolute; inset: 31%; display: none; background: #fff; pointer-events: none;
  -webkit-mask: url(features/morph/lock.svg) center / contain no-repeat; mask: url(features/morph/lock.svg) center / contain no-repeat; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .8)); }
#hud .b-roll.lock .mf-lock { display: block; }
#hud .b-roll.lock .mf-face { inset: 22%; image-rendering: auto; opacity: .3; filter: none; }
#hud .b-roll.lock .mf-left { place-items: end center; padding-bottom: 7%; font-size: 11px; color: rgba(255, 255, 255, .85); }
#hud .b-roll .mf-rdot { position: absolute; right: 10%; top: 10%; width: 10px; height: 10px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .55); animation: mf-dot .628s ease-in-out infinite alternate; pointer-events: none; }
/* 연출: 변신한 순간 튐 · 쿨 끝 = 금빛 한 번 · 거절 = 좌우 흔들림 · 새로 얻음 · 고름 = 얼굴 튐 */
#hud .b-roll.mf-go .mf-face, #hud .b-roll.mf-got .mf-face { animation: mf-face-go .42s cubic-bezier(.2, .9, .3, 1.4); }
#hud .b-roll.mf-back .mf-ring { opacity: 1; animation: mf-back .6s ease-out; }
#hud .b-roll.mf-no { animation: mf-no .3s ease-in-out; }
@keyframes mf-face-go { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes mf-back { 0% { box-shadow: 0 0 0 0 rgba(255, 211, 107, .9), inset 0 0 0 3px rgba(255, 211, 107, .9); } 100% { box-shadow: 0 0 0 10px rgba(255, 211, 107, 0), inset 0 0 0 3px rgba(255, 211, 107, 0); } }
@keyframes mf-no { 0%, 100% { translate: 0; } 25% { translate: -4px 0; } 75% { translate: 4px 0; } }
@keyframes mf-dot { to { transform: scale(.75); } }

/* ---- 변신 창: 머리 띠 = ‹ · 흰 변신 아이콘 · 제목 · 오른쪽 수집 n / 27 + 가는 막대 */
#ui .popup.full.mf > .popup-head > h2::before { -webkit-mask-image: url(features/morph/menu-morph.png); mask-image: url(features/morph/menu-morph.png); }
#ui .mf .mf-collect { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; white-space: nowrap; }
#ui .mf .mf-collect > i:first-child { font-style: normal; color: var(--ink-soft); }
#ui .mf .mf-count { color: var(--ink); }
#ui .mf .mf-all { width: 96px; }
#ui .mf-body { flex: 1; min-height: 0; display: flex; gap: 12px; }

/* 지역 필터 열: 전체 · 대륙 머리 글자 · 사냥 지역 줄(n/m) · 기타. 줄이 많으면 손가락으로 위아래 끌기 */
#ui .mf-zones { flex: none; width: 132px; display: flex; flex-direction: column; gap: 2px; padding: 4px; border-radius: 10px; background: rgba(0, 0, 0, .28); overflow-y: auto; scrollbar-width: none; }
#ui .mf-zones::-webkit-scrollbar { display: none; }
#ui .mf-zone { position: relative; flex: none; display: flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border: 0; border-radius: 15px; background: none; color: var(--ink-soft); text-align: left; cursor: pointer;
  font-size: 12px; font-weight: 800; transition: background .15s, color .15s, transform .06s; }
#ui .mf-zone:active { transform: scale(.96); }
#ui .mf-zone .mf-zn { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .mf-zone .mf-zc { flex: none; font-size: 10.5px; font-weight: 700; opacity: .85; }
#ui .mf-zone.full:not(.on) { color: #e8c979; }   /* 그 지역 몬스터를 다 모음 = 금 글자 */
#ui .mf-zone.on { background: linear-gradient(#e6decd, #c7bba3); color: #26221c; box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }   /* 고른 줄 = 탭과 같은 베이지 알약 */
#ui .mf-zone.head { min-height: 22px; margin-top: 6px; padding: 0 8px; border-radius: 0; cursor: default; font-size: 10.5px; color: rgba(242, 240, 231, .45); letter-spacing: .02em; pointer-events: none; }
#ui .mf-zone.head::after { content: ""; flex: 1; height: 1px; margin-left: 2px; background: rgba(255, 255, 255, .08); }
#ui .mf-zone.head .mf-zn { flex: none; }
#ui .mf-zone .mf-zdot { position: absolute; right: 4px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: #e5484d; animation: mf-dot .628s ease-in-out infinite alternate; }

/* 가운데: 지역 이름 줄 + 격자(칸 56 · 간격 8 — 폰 가로 GUI 폭 ≈ 1000 → 8열) */
#ui .mf-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 8px 10px 10px; border-radius: 10px; background: rgba(0, 0, 0, .22); }
#ui .mf-lhead { flex: none; display: flex; align-items: baseline; gap: 8px; padding: 0 2px; }
#ui .mf-lhead b { font-size: 13.5px; font-weight: 800; }
#ui .mf-lhead small { font-size: 11px; font-weight: 800; color: var(--ink-soft); }
#ui .mf-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(auto-fill, 56px); grid-auto-rows: 56px; gap: 8px; align-content: start; overflow-y: auto; padding: 2px; scrollbar-width: none; }
#ui .mf-grid::-webkit-scrollbar { display: none; }
#ui .mf-cell { position: relative; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 10px; cursor: pointer; transition: transform .06s;
  background: radial-gradient(circle at 50% 78%, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .mf-cell:active { transform: scale(.92); }
#ui .mf-cell .mf-face { position: absolute; inset: 7px 7px 11px; background: center bottom / contain no-repeat; image-rendering: pixelated; filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .5)); }
#ui .mf-cell.lock { background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
#ui .mf-cell.lock .mf-face { filter: brightness(0) invert(.26); }   /* 잠김 = 회색 실루엣 */
#ui .mf-cell .mf-lv { position: absolute; left: 4px; top: 2px; font-size: 9.5px; font-weight: 800; color: var(--ink); text-shadow: 0 1px 1px #000, 0 0 2px #000; }
#ui .mf-cell.max .mf-lv { color: #e8c979; }
#ui .mf-cbar { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
#ui .mf-cfill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #548f8c, #83c3bf); transition: width .4s ease-out; }
#ui .mf-cell .mf-cbar { position: absolute; left: 7px; right: 7px; bottom: 5px; height: 3px; }
#ui .mf-cell.max .mf-cfill { background: linear-gradient(90deg, #c9a24a, #f1d58a); }
#ui .mf-cell.picked::before { content: ""; position: absolute; right: 4px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: #e8c979; box-shadow: 0 0 4px rgba(232, 201, 121, .8); }   /* 구르기 자리에 건 몬스터 */
#ui .mf-cell.act { box-shadow: inset 0 0 0 1.5px #ffd36b, 0 0 8px rgba(255, 200, 80, .45); }   /* 지금 변신 중 */
#ui .mf-cell.on { box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 10px rgba(255, 255, 255, .3); animation: mf-sel 1.047s ease-in-out infinite alternate; }   /* 고른 칸 = 흰 빛 테 맥박(ui_fx 등급 빛 1047ms) */
#ui .mf-cell .mf-dot { position: absolute; right: 3px; top: 3px; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; animation: mf-dot .628s ease-in-out infinite alternate; }
@keyframes mf-sel { to { box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 2px rgba(255, 255, 255, .1); } }
/* 처음 열 때 · 지역을 바꿀 때 칸 차례 등장(스크롤 칸 안이라 1 을 넘지 않는다 — 고품질UI §6) */
#ui .morph-dim.fx-intro .mf-cell, #ui .mf-grid.mf-refill .mf-cell { animation: mf-cell-in .3s ease-out both; animation-delay: calc(var(--i, 0) * 14ms); }
#ui .mf-grid.mf-refill .mf-cell { animation-name: mf-cell-in2; }   /* 같은 이름이면 다시 안 돈다 */
@keyframes mf-cell-in { from { opacity: 0; transform: translateY(6px) scale(.97); } }
@keyframes mf-cell-in2 { from { opacity: 0; transform: translateY(6px) scale(.97); } }

/* 오른쪽 상세: 진열대(받침 빛 + 빛줄기 + 움직이는 몬스터) · 이름 · Lv · 처치 진행 · 유지/재사용 · 능력치 · 특수 · [선택] [변신] */
#ui .mf-info { flex: none; width: 252px; display: flex; flex-direction: column; gap: 7px; min-height: 0; overflow-y: auto; scrollbar-width: none; }
#ui .mf-info::-webkit-scrollbar { display: none; }
#ui .mf-stage { position: relative; flex: none; height: 128px; border-radius: 10px; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(131, 195, 191, .22), transparent 70%), linear-gradient(rgba(255, 255, 255, .05), rgba(0, 0, 0, .25)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .mf-stage .mf-ray { position: absolute; left: 50%; bottom: 10px; width: 150px; height: 140px; margin-left: -75px; pointer-events: none;
  background: conic-gradient(from -40deg at 50% 100%, transparent 0 8deg, rgba(255, 255, 255, .07) 14deg, transparent 20deg 30deg, rgba(255, 255, 255, .09) 40deg, transparent 50deg 60deg, rgba(255, 255, 255, .07) 66deg, transparent 72deg);   /* 받침에서 위로 부채꼴(가운데 = 바로 위) */
  animation: mf-ray 3.2s ease-in-out infinite alternate; transform-origin: 50% 100%; }
#ui .mf-stage .mf-ped { position: absolute; left: 50%; bottom: 8px; width: 120px; height: 22px; margin-left: -60px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(160, 225, 220, .5), rgba(84, 143, 140, .25) 45%, transparent 72%); box-shadow: 0 0 18px rgba(131, 195, 191, .25); }
#ui .mf-stage .mf-anim { position: absolute; left: 50%; bottom: 6px; width: 160px; height: 112px; margin-left: -80px; image-rendering: pixelated; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .5)); }
#ui .mf-stage .mf-onmark { position: absolute; left: 8px; top: 8px; display: none; height: 20px; padding: 0 9px; border-radius: 10px; background: rgba(84, 62, 14, .8); box-shadow: inset 0 0 0 1px #ffd36b;
  font-size: 10.5px; font-weight: 800; line-height: 20px; color: #ffd36b; }
#ui .mf-stage.act { box-shadow: inset 0 0 0 1.5px #ffd36b, inset 0 0 22px rgba(255, 200, 80, .25); }
#ui .mf-stage.act .mf-onmark { display: block; }
#ui .mf-stage.act .mf-ped { background: radial-gradient(ellipse at 50% 50%, rgba(255, 220, 140, .6), rgba(200, 150, 60, .25) 45%, transparent 72%); }
#ui .mf-stage.lock { background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .4)); }
#ui .mf-stage.lock .mf-anim { filter: brightness(0) invert(.22); }   /* 잠김 = 어두운 실루엣 */
#ui .mf-stage.lock .mf-ray { display: none; }
#ui .mf-stage.lock .mf-ped { opacity: .25; }
#ui .mf-stage.mf-swap .mf-anim { animation: mf-swap .34s cubic-bezier(.2, .9, .3, 1.4); }
#ui .mf-stage.mf-swap .mf-ped { animation: mf-ped .5s ease-out; }
@keyframes mf-ray { from { transform: rotate(-4deg); opacity: .7; } to { transform: rotate(4deg); opacity: 1; } }
@keyframes mf-swap { 0% { transform: translateY(8px) scale(.9); opacity: .3; } 100% { transform: none; opacity: 1; } }
@keyframes mf-ped { 0% { box-shadow: 0 0 0 0 rgba(160, 225, 220, .7); } 100% { box-shadow: 0 0 26px 6px rgba(160, 225, 220, 0); } }
#ui .mf-who { display: flex; align-items: baseline; gap: 8px; min-width: 0; padding: 0 2px; }
#ui .mf-who b { min-width: 0; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .mf-who small { flex: none; font-size: 11.5px; font-weight: 800; color: #e8c979; }
#ui .mf-prog { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 0 2px; }
#ui .mf-bar { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
#ui .mf-fill { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #548f8c, #83c3bf); transition: width .4s ease-out; }
#ui .mf-kills { font-size: 10.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
#ui .mf-times { display: flex; gap: 6px; }
#ui .mf-t { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 24px; padding: 0 10px; border-radius: 12px; background: rgba(255, 255, 255, .07); font-size: 11px; white-space: nowrap; }
#ui .mf-t i { font-style: normal; color: var(--ink-soft); }
#ui .mf-t b { font-weight: 800; }
#ui .mf-stats { display: flex; flex-wrap: wrap; gap: 3px 12px; padding: 0 2px; font-size: 11.5px; }
#ui .mf-stat { white-space: nowrap; }
#ui .mf-stat i { font-style: normal; color: var(--ink-soft); margin-right: 4px; }
#ui .mf-stat b { color: #7dd88a; font-weight: 800; }
#ui .mf-sp { padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: 11px; line-height: 1.4; }
#ui .mf-spn { margin-right: 6px; font-weight: 800; color: #e8c979; }
#ui .mf-spd { color: var(--ink-soft); }
#ui .mf-lock { margin: 0; padding: 0 2px; font-size: 11.5px; font-weight: 700; color: var(--ink-soft); }
#ui .mf-btns { flex: none; display: flex; justify-content: flex-end; gap: 6px; margin-top: auto; padding-top: 2px; }
#ui .mf-btns .btn { flex: none; }
#ui .mf-btns .mf-go:not(.off) { animation: mf-go-glow 1.4s ease-in-out infinite alternate; }   /* 바로 변신할 수 있음 = 청록 빛 숨쉬기 */
@keyframes mf-go-glow { to { box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .35), 0 0 12px rgba(131, 195, 191, .55); } }

/* ---- 첫 변신 안내 글 알약(손가락 위 — 판 상자(#ui)와 같이 도는 층 .mf-tip-layer 에 붙고 GUI 배율 --k 를 따른다) */
.mf-tip-layer { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 60; pointer-events: none; }
.mf-tip { position: absolute; left: 0; top: 0; z-index: 60; transform: translate(-50%, -100%) scale(var(--k, 1)); transform-origin: 50% 100%; pointer-events: none; opacity: 0; transition: opacity .15s;
  padding: 0 14px; height: 28px; border-radius: 14px; background: rgba(18, 20, 22, .9); box-shadow: inset 0 0 0 1.5px #e8c979, 0 3px 10px rgba(0, 0, 0, .45);
  font-size: 12.5px; font-weight: 800; line-height: 28px; color: #f6e7bd; white-space: nowrap; }
.mf-tip::after { content: ""; position: absolute; left: calc(50% + var(--ax, 0px)); bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: rgba(18, 20, 22, .9); box-shadow: 1.5px 1.5px 0 #e8c979; transform: rotate(45deg); }
.mf-tip.on { opacity: 1; animation: mf-tip-bob .8s ease-in-out infinite alternate; }
.mf-tip.on.tap { pointer-events: auto; cursor: pointer; }   /* ☰ 단계 알약 = 눌러도 메뉴가 펼쳐진다(morph.js tipPress) */
.mf-tip.on.in { animation: mf-tip-in .26s cubic-bezier(.2, .9, .3, 1.4), mf-tip-bob .8s ease-in-out .26s infinite alternate; }
@keyframes mf-tip-in { from { transform: translate(-50%, -100%) scale(calc(var(--k, 1) * .6)); opacity: 0; } }
@keyframes mf-tip-bob { to { transform: translate(-50%, calc(-100% - 4px)) scale(var(--k, 1)); } }
/* 화면 위 끝 대상(메뉴 ☰ — 10-27 첫 변신 안내)은 위에 자리가 없어 대상 아래로: 꼬리는 위, 위아래 흔들림도 아래쪽 */
.mf-tip.dn { transform: translate(-50%, 0) scale(var(--k, 1)); transform-origin: 50% 0; }
.mf-tip.dn::after { bottom: auto; top: -5px; box-shadow: -1.5px -1.5px 0 #e8c979; }
.mf-tip.dn.on.in { animation: mf-tip-in-dn .26s cubic-bezier(.2, .9, .3, 1.4), mf-tip-bob-dn .8s ease-in-out .26s infinite alternate; }
.mf-tip.dn.on { animation-name: mf-tip-bob-dn; }
@keyframes mf-tip-in-dn { from { transform: translate(-50%, 0) scale(calc(var(--k, 1) * .6)); opacity: 0; } }
@keyframes mf-tip-bob-dn { to { transform: translate(-50%, 4px) scale(var(--k, 1)); } }

/* gf:js-pack prototype/Spikes/rt-battle/features/channel/channel.css */
/* 채널 1~20(features/channel, 11-04 PLAN 3) — 고품질UI: 알약 28 · 흰 선 막대 아이콘 · 작은 팝업 = 어두운 둥근 판(windows-css 18) · 누름 .92 → 1.06 */

/* 알약 "채널 3 ›": 높이 28 · 어두운 판 · 금빛 테 — HUD 지도 알약(.pc-where hud.css)과 같은 판. HUD = 지도 알약 바로 오른쪽 · 채팅 창 = 머리 띠 오른쪽 위, 둘 다 누르면 목록 */
:is(#hud, #ui) .ch-pill { display: inline-flex; align-items: center; gap: 5px; height: 28px; box-sizing: border-box; padding: 0 9px 0 8px; border-radius: 14px;
  white-space: nowrap; color: #f2f0e7; background: linear-gradient(90deg, rgba(13, 16, 17, .72), rgba(13, 16, 17, .5)); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .38); }
:is(#hud, #ui) .ch-pill[hidden] { display: none; }
:is(#hud, #ui) .ch-pill .ch-n { font-size: 12px; font-weight: 800; text-shadow: 0 1px 2px #000; }
:is(#hud, #ui) .ch-pill .ch-go { font-style: normal; font-size: 12px; font-weight: 900; line-height: 1; color: #b9bcb4; margin-top: -1px; }
:is(#hud, #ui) .ch-pill .ch-go::before { content: "›"; }
:is(#hud, #ui) .ch-bars { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 11px; }   /* 혼잡도 막대 글리프 */
:is(#hud, #ui) .ch-bars i { display: block; width: 2.5px; border-radius: 1px; background: #e8c979; transition: background .3s; }
:is(#hud, #ui) .ch-bars i:nth-child(1) { height: 5px; } :is(#hud, #ui) .ch-bars i:nth-child(2) { height: 8px; } :is(#hud, #ui) .ch-bars i:nth-child(3) { height: 11px; }
/* 막대 색 = 마지막 목록의 지금 채널 혼잡도(아래 목록 칸 색과 같은 값) · 모르면 금색 */
:is(#hud, #ui) .ch-pill[data-lv="calm"] .ch-bars i { background: #7fd99a; }
:is(#hud, #ui) .ch-pill[data-lv="normal"] .ch-bars i { background: #e8d36f; }
:is(#hud, #ui) .ch-pill[data-lv="busy"] .ch-bars i { background: #f0a050; }
:is(#hud, #ui) .ch-pill[data-lv="full"] .ch-bars i { background: #ec6a5a; }
:is(#hud, #ui) .ch-pill.in .ch-n { animation: pc-where-in .32s ease-out both; }
:is(#hud, #ui) .ch-pill:is(.ch-hud, .ch-chat) { border: 0; font: inherit; cursor: pointer; transition: transform .18s cubic-bezier(.3, 1.8, .5, 1), background .15s; }
:is(#hud, #ui) .ch-pill:is(.ch-hud, .ch-chat):active { transform: scale(.92); transition-duration: .06s; background: linear-gradient(90deg, rgba(40, 44, 46, .82), rgba(40, 44, 46, .6)); }
:is(#hud, #ui) .ch-pill:is(.ch-hud, .ch-chat).press { animation: pc-press .22s ease-out both; }
/* HUD: 지도 알약과 같은 줄 · 같은 높이 30(margin-top 8 · 사이 8 = 이웃 누름 칸 틈, maple-idle-ui-size.md) — .top-l 이 누름을 받지 않아 이 알약만 받는다 */
#hud .ch-pill.ch-hud { height: 30px; border-radius: 15px; margin: 8px 0 0 8px; vertical-align: top; padding: 0 10px 0 9px; pointer-events: auto; touch-action: manipulation; }
#hud.ctl-editing .ch-pill { opacity: .35; pointer-events: none; }
/* 피버 필드(features/fever): 알약 안 "+50%" — 글자 폭 그대로, 단계는 크기 대신 색 · 빛(10~20 연금 · 30~40 호박 + 얇은 주황 테 · 50 금주황 + 불꽃 선 아이콘 + 빛 테) */
:is(#hud, #ui) .ch-pill .ch-fv { display: inline-flex; align-items: center; gap: 2px; margin-left: 2px; font-size: 11.5px; font-weight: 900; color: #e8d36f; text-shadow: 0 1px 2px #000; }
:is(#hud, #ui) .ch-pill .ch-fv:empty { display: none; }
:is(#hud, #ui) .ch-pill .ch-fv .fv-ico { width: 11px; height: 11px; }
:is(#hud, #ui) .ch-pill .ch-fv.in { animation: pc-where-in .32s ease-out both; }
:is(#hud, #ui) .ch-pill:is([data-fv="30"], [data-fv="40"]) { box-shadow: inset 0 0 0 1px rgba(255, 170, 80, .52); }
:is(#hud, #ui) .ch-pill:is([data-fv="30"], [data-fv="40"]) .ch-fv { color: #ffad52; }
:is(#hud, #ui) .ch-pill[data-fv="50"] { box-shadow: inset 0 0 0 1px rgba(255, 200, 95, .85), 0 0 10px rgba(255, 145, 45, .42); }
:is(#hud, #ui) .ch-pill[data-fv="50"] .ch-fv { color: #ffd97d; }
#ui .ch-pill.ch-chat { flex: none; margin: 0 0 0 auto; padding: 0 11px 0 10px; }

/* 채널 목록: 2열 칸(채널 · 막대 · 혼잡도) — 지금 채널 = 금 테, 가득 · 다른 서버 = 흐림 */
#ui .popup.ch-pop { width: 400px; }   /* 380 → 400: 칸에 피버 배지 열이 들어가도 막대가 남게 */
#ui .ch-pop .ch-hint { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 8px; font-size: 11.5px; font-weight: 700; }
#ui .ch-pop .ch-hint-l { opacity: .72; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ui .ch-pop .ch-fvt { flex: none; color: #ffd97d; font-variant-numeric: tabular-nums; white-space: nowrap; }
#ui .ch-pop .ch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-height: 300px; overflow-y: auto; }
#ui .ch-pop .ch-wait { grid-column: 1 / -1; margin: 18px 0; text-align: center; font-size: 12px; opacity: .6; }
#ui .ch-row { display: grid; grid-template-columns: 54px auto 1fr auto; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 0; border-radius: 8px; text-align: left; color: inherit;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); cursor: pointer; }
#ui .dim.fx-intro .ch-row { animation: ch-in .26s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i, 0) * 18ms); }
#ui .ch-row b { font-size: 12.5px; font-weight: 800; }
#ui .ch-row em { font-size: 10.5px; font-style: normal; font-weight: 900; }
#ui .ch-bar { position: relative; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .45); overflow: hidden; }
#ui .ch-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: currentColor; transition: width .4s ease-out; }
#ui .ch-row.calm .ch-bar, #ui .ch-row.calm em { color: #7fd99a; }
#ui .ch-row.normal .ch-bar, #ui .ch-row.normal em { color: #e8d36f; }
#ui .ch-row.busy .ch-bar, #ui .ch-row.busy em { color: #f0a050; }
#ui .ch-row.full .ch-bar, #ui .ch-row.full em { color: #ec6a5a; }
#ui .ch-row.far em { color: #9a9a92; }
/* 피버 배지(칸 안 · 글자 폭) — +50 칸 = 금주황 빛 테(.fv-top), +40 = 호박 테(.fv-high). 지금 채널(.on) 금 테가 이긴다 */
#ui .ch-row .ch-fvb { font-style: normal; font-size: 10px; font-weight: 900; line-height: 16px; height: 16px; padding: 0 5px; border-radius: 8px; color: #e8d36f; background: rgba(232, 211, 111, .12); }
#ui .ch-row .ch-fvb:empty { padding: 0; background: none; }
#ui .ch-row .ch-fvb:is([data-fv="30"], [data-fv="40"]) { color: #ffad52; background: rgba(255, 173, 82, .14); }
#ui .ch-row .ch-fvb[data-fv="50"] { color: #ffd97d; background: rgba(255, 170, 70, .2); box-shadow: inset 0 0 0 1px rgba(255, 200, 95, .55); }
#ui .ch-row.fv-high { box-shadow: inset 0 0 0 1px rgba(255, 173, 82, .5); }
#ui .ch-row.fv-top { box-shadow: inset 0 0 0 1px rgba(255, 200, 95, .85), 0 0 8px rgba(255, 145, 45, .42); }
#ui .ch-row.on { box-shadow: inset 0 0 0 2px #e8c979, 0 0 8px rgba(232, 201, 121, .55); }
#ui .ch-row.on em { color: #e8c979; }
#ui .ch-row.off { opacity: .45; }
#ui .ch-row:active { transform: scale(.97); }
#ui .ch-row.press { animation: pc-press .22s ease-out both; }
#ui .ch-row.no { animation: pq-no .3s ease-in-out; }
@keyframes ch-in { from { opacity: 0; transform: translateY(6px) scale(.97); } }

/* gather-1111 한산한 채널 안내(HUD 채널 알약 오른쪽): 같은 높이 알약 · 결정 청록 테(누르면 옮김) — 글자 폭만큼(hq-ui 글자 폭 알약) */
#hud .ch-gather { display: inline-flex; align-items: center; height: 30px; box-sizing: border-box; margin: 8px 0 0 8px; vertical-align: top; padding: 0 11px; border: 0; border-radius: 15px;
  font: inherit; font-size: 11.5px; font-weight: 800; color: #eafff7; white-space: nowrap; text-shadow: 0 1px 2px #000; cursor: pointer;
  background: rgba(14, 40, 38, .78); box-shadow: inset 0 0 0 1px rgba(110, 230, 200, .75), 0 0 8px rgba(80, 220, 190, .35); pointer-events: auto; }
#hud .ch-gather[hidden] { display: none; }
#hud .ch-gather.fv { color: #fff3d6; background: rgba(44, 26, 10, .8); box-shadow: inset 0 0 0 1px rgba(255, 200, 95, .85), 0 0 8px rgba(255, 145, 45, .4); }   /* 피버 이동(30분 경계) = 금주황 빛 테 */
#hud .ch-gather.in { animation: ch-gather-in .36s cubic-bezier(.2, .9, .3, 1.25) both; }
#hud .ch-gather:active { transform: scale(.95); }
@keyframes ch-gather-in { from { opacity: 0; transform: translateX(-8px) scale(.9); } }

/* ---- 지도 알약 + 채널 = 한 알약(leftmenu-1124 — 주호님 11-24 "채널이 꼭 저기 있어야 하나?" · "왼쪽 메뉴도 너무 산만하니 개선"):
   떠 있는 알약 둘(지도 150 + 틈 8 + 채널)을 한 판으로 — 왼쪽 = 지역(누르면 지도) · 가는 금 선 · 오른쪽 = 채널 n +x%(누르면 채널 목록). 누름 칸은 둘 그대로.
   굴(.mn-cave)은 지도 알약을 숨기므로 채널만 둥근 알약 그대로. */
#hud:not(.mn-cave) .pc-where:has(+ .ch-pill.ch-hud:not([hidden])) { border-radius: 15px 0 0 15px; min-width: 0; padding-right: 9px;
  background: linear-gradient(90deg, rgba(13, 16, 17, .72), rgba(13, 16, 17, .6)); box-shadow: inset 1px 0 rgba(200, 170, 110, .38), inset 0 1px rgba(200, 170, 110, .38), inset 0 -1px rgba(200, 170, 110, .38); }
#hud:not(.mn-cave) .pc-where:has(+ .ch-pill.ch-hud:not([hidden]))::before { right: 0; }   /* 누름 여유가 채널 쪽을 덮지 않게 */
#hud:not(.mn-cave) .pc-where + .ch-pill.ch-hud { position: relative; margin-left: 0; border-radius: 0 15px 15px 0; padding-left: 9px;
  background: linear-gradient(90deg, rgba(13, 16, 17, .6), rgba(13, 16, 17, .5)); box-shadow: inset -1px 0 rgba(200, 170, 110, .38), inset 0 1px rgba(200, 170, 110, .38), inset 0 -1px rgba(200, 170, 110, .38); }
#hud:not(.mn-cave) .pc-where + .ch-pill.ch-hud::after { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 1px; background: rgba(200, 170, 110, .5); pointer-events: none; }   /* 가운데 금 선 */
#hud:not(.mn-cave) .pc-where + .ch-pill.ch-hud::before { content: ""; position: absolute; left: 0; right: -4px; top: -8px; bottom: -4px; }   /* 누름 여유(지도 알약과 같은 위 8 · 아래 4) */
#hud:not(.mn-cave) .pc-where + .ch-pill.ch-hud:is([data-fv="30"], [data-fv="40"]) { box-shadow: inset -1px 0 rgba(255, 170, 80, .52), inset 0 1px rgba(255, 170, 80, .52), inset 0 -1px rgba(255, 170, 80, .52); }
#hud:not(.mn-cave) .pc-where + .ch-pill.ch-hud[data-fv="50"] { box-shadow: inset -1px 0 rgba(255, 200, 95, .85), inset 0 1px rgba(255, 200, 95, .85), inset 0 -1px rgba(255, 200, 95, .85), 6px 0 10px -2px rgba(255, 145, 45, .42); }

/* gf:js-pack prototype/Spikes/rt-battle/features/fever/fever.css */
/* 피버 필드(features/fever) — 위 가운데 띠(메이플 버닝 필드 안내 결) · 고피버 환경.
   성능(MOBILE_PERFORMANCE_POLICY · Note20 60fps): blur · filter 없음, 애니메이션은 transform · opacity 만, 불티는 고정 노드 재사용(매 프레임 DOM 없음). 누름 없음(pointer-events none). */

/* ---- 띠(11-14 형창님 "화면 중앙위에 저런식으로" — 메이플 버닝 필드 안내 결): 위 가운데 얇은 한 줄 "피버 n단계 : 경험치 +x%" — 들어올 때 · 단계가 바뀔 때 10초 보이고 .8초 페이드(재정정)
   자리 66~94(GUI 450 — 오른쪽 위 대화 줄 아래 · 폰 780×360 높이 22 CSS px) · 폭 = 글자 + 장식, 왼쪽 HUD 줄(GUI 280)을 비우는 최대 폭(100% − 576 — PC 16:9 에서 224).
   어두운 반투명 띠(양 끝 흐림) + 위아래 가는 금선 + 양 끝 작은 마름모 장식. 10~20 = 흰 글자 · 30~40 = 연금 · 50 = 금 + 불꽃 선 아이콘 + 장식 빛. */
#hud .fever-strip { left: 0; right: 0; top: 66px; height: 28px; width: max-content; max-width: calc(100% - 576px); margin: 0 auto; box-sizing: border-box; padding: 0 22px;
  display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .8s ease-in-out;
  background: linear-gradient(90deg, transparent, rgba(14, 11, 8, .8) 16%, rgba(14, 11, 8, .8) 84%, transparent); }
#hud .fever-strip.on { opacity: 1; transition: opacity .25s ease-out .25s; }   /* 알리미 카드가 내려간 뒤(.25s) 나타남 — 사라질 때는 .8초 페이드, 카드는 그 뒤에 올라온다 */
#hud .fever-strip::before, #hud .fever-strip::after { content: ''; position: absolute; left: 4%; right: 4%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 200, 130, .8) 18%, rgba(232, 200, 130, .8) 82%, transparent); }
#hud .fever-strip::before { top: 0; } #hud .fever-strip::after { bottom: 0; }
#hud .fever-strip .fs-orn { position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: #d9b56c; transform: rotate(45deg); }
#hud .fever-strip .fs-orn.l { left: 8px; } #hud .fever-strip .fs-orn.r { right: 8px; }
#hud .fever-strip .fs-t { position: relative; display: inline-flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  font-size: 12px; font-weight: 800; letter-spacing: .3px; line-height: 16px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .9); white-space: nowrap; }
#hud .fever-strip[data-tier="2"] .fs-t { color: #ffe9bf; }
#hud .fever-strip[data-tier="3"] .fs-t { color: #ffe08f; }
#hud .fever-strip[data-tier="3"] .fs-orn { background: #ffd27a; box-shadow: 0 0 4px #ffae45; }
#hud .fever-strip .fs-t .fv-ico { width: 13px; height: 13px; }
#hud .fever-strip.pop { animation: fs-pop .55s .25s cubic-bezier(.2, .8, .3, 1.15) both; }
#hud .fever-strip.pop .fs-t { animation: fs-t-in .45s .33s ease-out both; }
@keyframes fs-pop { from { transform: scale(1.18, .6); } 60% { transform: scale(.98, 1.05); } to { transform: none; } }
@keyframes fs-t-in { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }
/* 띠가 있는 동안 퀘스트 알리미 카드(quest_notice .qnotice — 원래 위 가운데 54~)를 띠 아래(102~)로 */
.qnotice { transition: transform .25s ease-out .8s; }
html.fv-strip .qnotice { transform: translateY(48px); transition-delay: 0s; }

/* ---- 상시 환경(30~50): 가장자리 비네트 한 장 + 바닥에서 피어오르는 불티(30~40 = 8 · 50 = 16) */
#hud .fever-amb { left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; display: none; }
#hud .fever-amb:is([data-tier="2"], [data-tier="3"]) { display: block; }
#hud .fever-amb .fa-vig { position: absolute; inset: 0; background: radial-gradient(ellipse 75% 70% at 50% 50%, transparent 55%, #ffa04a 100%); opacity: .06; }
#hud .fever-amb[data-tier="3"] .fa-vig { background: radial-gradient(ellipse 75% 70% at 50% 50%, transparent 52%, #ff9a30 100%); opacity: .11; }
#hud .fever-amb .fa-em { position: absolute; left: var(--x); bottom: -6px; width: var(--z); height: var(--z); border-radius: 50%; background: #ffd889; opacity: 0;
  animation: fa-rise var(--s) linear var(--d) infinite; will-change: transform, opacity; }
#hud .fever-amb .fa-em:nth-child(even) { background: #ffb257; }
#hud .fever-amb[data-tier="2"] .fa-em:nth-child(n + 10) { display: none; }   /* 30~40 = 앞 8 개만(첫 칸은 비네트) */
#hud .fever-amb[data-tier="2"] .fa-em { animation-duration: calc(var(--s) * 1.25); }
@keyframes fa-rise { 0% { opacity: 0; transform: translate3d(0, 0, 0); } 15% { opacity: .75; } 70% { opacity: .45; }
  100% { opacity: 0; transform: translate3d(var(--w), -240px, 0); } }

/* 불꽃 선 아이콘(띠 · 채널 목록 공용) */
:is(#hud, #ui) .fv-ico { flex: none; fill: none; stroke: #fff1c7; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }

/* gf:js-pack prototype/Spikes/rt-battle/features/starforce/starforce.css */
/* 구역 난이도 판정 표시(features/starforce) — 고품질UI: 무채색 + 강조 셋(좋아짐 초록 · 모자람 빨강 · 난이도 금/적갈) · 글자 폭 띠 · 연출 기본 탑재.
   색 근거: 초록 #7ad26a = 좋아짐(inv_fx .ic-gain .up · 지도 창 내 전투력 권장 이상 .ct-pow.up) · 빨강 #ff6a58 = 체력 줄 빨강(hud 01 .hp-fill) ·
   금 #e8c979 = 채널 알약 막대 · 고른 칸 테(channel.css) · 적갈 #ff8f7f = 지도 창 위험 알약 테(16-continent .ct-state risk) · 글자 #f2f0e7 / #9a9d98 = 작은 팝업 --ink / --ink-soft(18-popup-dark) */

/* ---- 판정 표시(HUD 위 가운데): 지역 칭호 카드(zones 06 — 짙은 반투명 띠 · 양 끝 흐림 · 위아래 1px 빛선)를 작게.
   자리(GUI 450): top 102 — 위쪽 줄(지금 자리 · 채널 알약 · 한산한 채널 안내 62~92 · 위에 남는 위험 글자 62~82 · 퀘스트 진행 알림 한 장 54~98 — quest.css .qn-card) 아래로 4 띄움,
   높이 48(받는 피해 줄이 붙으면 63 — 아래 끝 165, 캐릭터 머리 위 피해 숫자 자리 170~ 위).
   퀘스트 진행 알림이 2 · 3장 쌓이면(quest_notice.js stack — 장마다 50 아래) 그만큼 내려간다: --qn-n = 지금 카드 수 → top 102 + max(0, n − 1) × 50
   (3장 = 202 · 아래 끝 265 < 폰 가로 GUI 높이 412). 움직임 = 카드 쌓임과 같은 .3s(balstar-1111 Note20 실기 — 2장째가 판정 줄을 덮음, 총괄 안 (a)).
   지역 칭호 카드(56~116)와 그 밑 안내 줄(124 · 148)은 같은 자리라 카드가 떠 있는 동안에는 띄우지 않는다(starforce.js hit).
   누름 칸 = 글자 폭 + 양옆 14(높이 48 ≥ 34 — maple-idle-ui-size.md) → 세 구역 표 팝업. 띠 · 빛선은 그 양옆으로 26 더 뻗은 장식(누름을 받지 않는다) —
   16:9 화면(GUI 폭 800)에서 흐린 띠 끝이 왼쪽 퀘스트 알리미 [가이드 취소] 누름 칸을 덮지 않게. 띠 폭(누름 칸 + 52)이 430 을 넘지 않는다 */
#hud .sf-note { position: absolute; left: 50%; top: calc(102px + max(0, var(--qn-n, 0) - 1) * 50px); z-index: 3; transition: top .3s cubic-bezier(.2, .9, .3, 1); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 1px; box-sizing: border-box;
  min-height: 48px; max-width: min(378px, calc(var(--hw, 800px) - 72px)); padding: 6px 14px 7px; border: 0; background: none; font: inherit; color: #f2f0e7; white-space: nowrap;
  pointer-events: auto; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
#hud .sf-note[hidden], #hud .sf-note [hidden] { display: none; }
#hud .sf-note > * { position: relative; }
#hud .sf-note :is(.sf-band, .sf-line) { pointer-events: none; }
#hud .sf-note .sf-band { position: absolute; inset: 0 -26px;   /* 띠 색 = 지역 칭호 카드 .zc-band */
  background: linear-gradient(90deg, transparent, rgba(9, 11, 19, .62) 18%, rgba(9, 11, 19, .78) 50%, rgba(9, 11, 19, .62) 82%, transparent); }
#hud .sf-note .sf-line { position: absolute; left: calc(8% - 22px); right: calc(8% - 22px); height: 1px;   /* 빛선 = .zc-line(띠 폭의 8% 안쪽) */
  background: linear-gradient(90deg, transparent, rgba(226, 230, 255, .28) 24%, rgba(255, 255, 255, .85) 50%, rgba(226, 230, 255, .28) 76%, transparent); }
#hud .sf-note .sf-line.t { top: 0; } #hud .sf-note .sf-line.b { bottom: 0; }
#hud .sf-note .sf-l1 { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; line-height: 15px; color: rgba(236, 239, 250, .88); text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }   /* 작은 윗줄 = .zc-lv 11px */
#hud .sf-note .sf-l2 { display: flex; align-items: baseline; gap: 5px; font-size: 13px; font-weight: 800; line-height: 18px; text-shadow: 0 1px 2px rgba(0, 0, 0, .85); }   /* 본문 10.5~14 */
#hud .sf-note .sf-l2 b { font-weight: 800; }
#hud .sf-note .sf-taken { font-size: 10.5px; font-weight: 800; line-height: 14px; text-shadow: 0 1px 2px rgba(0, 0, 0, .85); }
/* 색: 채움 = 초록 · 모자람(벌점) = 빨강 + 붉은 빛선 · 벌점 없는 모자람(이지) = 무채 그대로 */
#hud .sf-note[data-tone="good"] .sf-l2 { color: #7ad26a; }
#hud .sf-note[data-tone="bad"] .sf-l2, #hud .sf-note[data-tone="bad"] .sf-taken { color: #ff6a58; }
#hud .sf-note[data-tone="bad"] .sf-line { background: linear-gradient(90deg, transparent, rgba(255, 150, 140, .3) 24%, #ffd2cc 50%, rgba(255, 150, 140, .3) 76%, transparent);
  filter: drop-shadow(0 0 2px rgba(255, 70, 60, .85)); }   /* 위험 카드 .zone-card.danger .zc-line */
/* 난이도 조각(표시 첫 줄 앞 · 팝업 표 첫 칸): 지도 창 상태 알약(.ct-state 9.5px · 줄 14 · 둥근 8) 크기, 이지 = 무채 · 노말 = 금 · 하드 = 적갈 */
:is(#hud, #ui) .sf-tier { flex: none; padding: 0 7px; border-radius: 8px; font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .5px; line-height: 14px; white-space: nowrap;
  color: #c9ccc6; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); text-shadow: none; }
:is(#hud, #ui) [data-tier="1"] .sf-tier { color: #f3dfa6; background: rgba(70, 54, 18, .7); box-shadow: inset 0 0 0 1px #e8c979; }
:is(#hud, #ui) [data-tier="2"] .sf-tier { color: #ffe0da; background: rgba(150, 30, 24, .8); box-shadow: inset 0 0 0 1px #ff8f7f; }
/* 등장 = 띠 열림 → 빛선 뻗음 → 글자 모임(지역 칭호 zc-band · zc-line · zc-name 을 짧게) · 사라짐 = 떠오르며 흐림(zc-close) · 모자람 = 둘째 줄만 가볍게 떨림 */
#hud .sf-note.in .sf-band { animation: sf-band .32s cubic-bezier(.25, .8, .3, 1) both; }
#hud .sf-note.in .sf-line { animation: sf-line .42s .04s cubic-bezier(.2, .8, .2, 1) both; }
#hud .sf-note.in .sf-l1 { animation: sf-sub .28s .12s ease-out both; }
#hud .sf-note.in .sf-l2 { animation: sf-gather .38s .16s cubic-bezier(.2, .7, .3, 1) both; }
#hud .sf-note.in .sf-taken { animation: sf-sub .28s .3s ease-out both; }
#hud .sf-note.in[data-tone="bad"] .sf-l2 { animation: sf-gather .38s .16s cubic-bezier(.2, .7, .3, 1) both, sf-shake .36s .56s ease-in-out 2; }
#hud .sf-note.out { animation: sf-out .45s ease-in both; pointer-events: none; }
#hud .sf-note:active .sf-l2 { transform: scale(.96); }
#hud.ctl-editing .sf-note { display: none; }
@keyframes sf-band { from { opacity: 0; clip-path: inset(0 50% 0 50%); } 35% { opacity: 1; } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes sf-line { from { opacity: 0; transform: scaleX(0); } 25% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes sf-sub { from { opacity: 0; transform: translateY(-4px); } }
@keyframes sf-gather { from { opacity: 0; letter-spacing: 6px; filter: blur(4px); } 60% { filter: blur(0); } to { opacity: 1; letter-spacing: 0; filter: blur(0); } }
@keyframes sf-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@keyframes sf-out { from { opacity: 1; transform: translate(-50%, 0); filter: blur(0); } to { opacity: 0; transform: translate(-50%, -10px); filter: blur(3px); } }

/* ---- 몬스터 이름표 난이도 조각(hud 07 drawEnemyBar → look 의 data-tier): 구역이 나뉜 섬의 몬스터는 종류가 같아 이름 앞에 [이지] · [노말] · [하드].
   글자 = 이름표(.w-name 12px · 700 · 흰 글자 + 검은 테)와 같은 크기 · 굵기 — 월드 글자는 화면 배율만큼 줄어 더 작거나 굵으면 검은 테가 획을 메운다(PC 1280×720 에서 이름 9px).
   색 = 이름표 글자색 그대로, 내 등급 합이 권장 값보다 낮으면 빨강(판정 표시의 모자람 색) */
#hud .w-name[data-tier]::before { content: attr(data-tier); margin-right: 4px; }
#hud .w-name[data-tier-k="1"]::before { color: #ff6a58; }

/* ---- 세 구역 표(작은 팝업): 판 = 어두운 둥근 판(windows-css 18) · 폭 380 = 채널 목록 팝업(channel.css .ch-pop) · 줄 34 · 글자 10.5~12.5(설정 창 값) */
#ui .popup.sf-pop { width: 380px; }
#ui .sf-pop .sf-have { margin: 0 0 8px; font-size: 12.5px; font-weight: 800; color: var(--ink, #f2f0e7); }
#ui .sf-pop .sf-table { display: grid; gap: 4px; }
#ui .sf-pop .sf-row { display: grid; grid-template-columns: 56px 58px 40px 44px 1fr; align-items: center; gap: 4px; min-height: 34px; padding: 0 10px; border-radius: 8px; text-align: center;
  font-size: 12px; font-weight: 700; color: var(--ink, #f2f0e7); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }   /* 줄 판 = 채널 목록 .ch-row */
#ui .sf-pop .sf-row.head { min-height: 20px; background: none; box-shadow: none; font-size: 10.5px; font-weight: 700; color: var(--ink-soft, #9a9d98); white-space: nowrap; }
/* 칸 폭(판 안 336 − 여백 20 − 틈 16 = 300): 난이도 조각 56(일본어 조각 54) · 권장 등급 58(영어 머리 글자) · 배율 40 · 44 · 내 피해량 = 나머지 102(영어 받는 피해 줄 한 줄 폭) */
#ui .sf-pop .sf-row .sf-tier { justify-self: start; }
#ui .sf-pop .sf-row b { font-weight: 800; }
#ui .sf-pop .sf-row [hidden] { display: none; }
#ui .sf-pop .sf-mine { display: flex; flex-direction: column; align-items: center; line-height: 14px; }
#ui .sf-pop .sf-mine small { font-size: 9.5px; font-weight: 700; line-height: 12px; white-space: nowrap; }
#ui .sf-pop .sf-row[data-tone="good"] .sf-mine { color: #7ad26a; }
#ui .sf-pop .sf-row[data-tone="bad"] .sf-mine { color: #ff6a58; }
#ui .sf-pop .sf-row[data-tone="plain"] .sf-mine { color: var(--ink-soft, #9a9d98); }
#ui .sf-pop .sf-row.on { box-shadow: inset 0 0 0 2px #e8c979, 0 0 8px rgba(232, 201, 121, .45); }   /* 방금 친 구역 = 금 테(채널 목록 지금 채널 .ch-row.on) */
#ui .dim.fx-intro .sf-pop .sf-row:not(.head) { animation: sf-row-in .26s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i, 0) * 70ms + 80ms); }   /* 칸 순차 70 ms(ui-juice) */
#ui .sf-pop .sf-hint { margin: 10px 0 0; font-size: 10.5px; font-weight: 600; line-height: 15px; color: var(--ink-soft, #9a9d98); white-space: normal; }
#ui .sf-pop .sf-hint:lang(ko) { word-break: keep-all; }   /* 한국어는 낱말 가운데에서 줄을 바꾸지 않는다(띄어쓰기 없는 일본어 · 중국어는 그대로) */
#ui .sf-pop .sf-foot { display: flex; justify-content: center; margin-top: 12px; }
#ui .sf-pop .sf-foot .btn { flex: none; min-width: 72px; }   /* 글자 폭 알약(최소 72 — 탭 최소 폭과 같은 값) */
@keyframes sf-row-in { from { opacity: 0; transform: translateY(6px) scale(.97); } }

/* gf:js-pack prototype/Spikes/rt-battle/features/partytry/party_try.css */
/* 봇 파티 초대(partybot-1111 — party_try.js · partyline-1112). 판 = 진짜 파티 초대 카드 .party-invite(10-social 자리 · 18-popup-dark 어두운 둥근 판 · 알약 단추) 그대로,
   파티 칸 = 진짜 파티 칸 .pslot 그대로. 여기엔 겹침 순서 · 칸 등장 · 파티원 몫 경험치 한 줄만 둔다(형창님 11-12: 안내 말풍선 · 경험치 알약 · 끝 카드 없앰).
   크기 = 고품질UI 모바일 기준(GUI 450: 라벨 9 이상). */
#ui .party-invite.ptry-card { z-index: 62; }   /* 퀘스트 알림(.qnotice --z-reward 61 — 같은 #ui 쌓임)이 카드 글을 덮었다(sandbox 11-11 실측) → 그 위, 도움말(--z-tip 70) 아래 */
#ui .ptry-invite .party-invite-text { padding-bottom: 12px; }
#ui .party-hud.ptry.fresh .pslot { animation: ptrySlot .36s cubic-bezier(.3, 1.4, .6, 1) both; }
#ui .party-hud.ptry.fresh .pslot + .pslot { animation-delay: .07s; }
@keyframes ptrySlot { from { transform: translateY(8px) scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
#ui .pslot .plv { font-style: normal; font-size: 9.5px; font-weight: 700; color: #d6bd92; }
/* 파티원 몫 경험치(형창님 11-12 "왼쪽아래에 경험치 몇 올라가는지 정도만"): 왼쪽 아래 구석 — 조이스틱 원(hud .joy 62,244 · 196) 바깥, 누름 없음.
   글자 = 획득 글자 결(35-zones onXp "+N EXP" — 파티 몫 하늘색 #8fe3ff · 검은 테), 줄 최대 3, 아래가 최신 */
#ui .ptry-xp { position: absolute; left: 10px; bottom: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; pointer-events: none; z-index: 4; }
#ui .ptry-xp span { font-size: 11px; font-weight: 800; line-height: 14px; color: #8fe3ff; white-space: nowrap; letter-spacing: .01em;
  text-shadow: -1px 0 #0b1620, 1px 0 #0b1620, 0 -1px #0b1620, 0 1px #0b1620, 0 1px 3px rgba(0, 0, 0, .6); animation: ptryXpIn .28s cubic-bezier(.3, 1.5, .6, 1) both; transition: opacity .4s, transform .4s; }
#ui .ptry-xp span.bump { animation: ptryXpBump .26s cubic-bezier(.3, 1.6, .6, 1); }
#ui .ptry-xp span.out { opacity: 0; transform: translateY(-6px); }
@keyframes ptryXpIn { from { transform: translateX(-8px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ptryXpBump { 0% { transform: scale(1); } 45% { transform: scale(1.14); } 100% { transform: scale(1); } }

/* gf:js-pack prototype/Spikes/rt-battle/features/potion/potion.css */
/* 체력 물약(features/potion, 2026-10-27 사용자 "화면에 물약 퀵슬롯 버튼 · 1개 설정 · 빈 슬롯이면 물약 고르기") — 고품질UI 규칙(GUI 450 · 칸 52 · 아이콘 40).
   HUD 퀵슬롯 = 스킬 칸(.sk-btn)과 같은 결의 둥근 칸 46: 물약 도트 · 오른쪽 아래 개수 알약(스킬 칸 em 과 같은 금 알약) · 빈 칸 = 점선 테 + 흰 '+' · 0 병 = 흐림 + 빨간 0.
   자리 = 스킬 칸 s0(top 170~222) 아래 · 변신 단추(right 87.5) 오른쪽 · 공격 단추(top 295) 위 — 셋과 겹치지 않는다(ui/hud.css).
   체력이 자동 사용 선(rules.potion.autoBelow) 아래 = 빨간 숨쉬는 테(마셔라 신호). 연출 = 누름 눌림 · 마심 튐 · 거절 흔들림 · 등록 금빛. */
#hud .pq-btn { position: absolute; right: 26px; top: 229px; width: 46px; height: 46px; border-radius: 50%; pointer-events: auto; touch-action: none; cursor: pointer;
  background: radial-gradient(circle at 50% 38%, rgba(40, 44, 52, .62), rgba(6, 7, 10, .62)); box-shadow: 0 0 0 2px rgba(232, 201, 121, .85), 0 2px 4px #000a; transition: transform .08s ease; }
#hud .pq-btn.on { transform: scale(.9); }
#hud .pq-btn .pq-ico { position: absolute; left: 50%; top: 50%; width: 20px; height: 32px; transform: translate(-50%, -52%); image-rendering: pixelated; pointer-events: none; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .7)); }
#hud .pq-btn .pq-n { position: absolute; right: -4px; bottom: -3px; min-width: 16px; height: 15px; padding: 0 3px; border-radius: 8px; font-size: 10px; font-weight: 900; line-height: 15px; text-align: center;
  color: #26221c; background: #e8c979; box-shadow: 0 1px 2px #0008; pointer-events: none; }
#hud .pq-btn .pq-n:empty { display: none; }
#hud .pq-btn .pq-plus { position: absolute; inset: 0; display: none; pointer-events: none; }
#hud .pq-btn .pq-plus::before, #hud .pq-btn .pq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2.5px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 2px #000; }
#hud .pq-btn .pq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
#hud .pq-btn.empty { box-shadow: 0 0 0 2px rgba(232, 201, 121, .45), 0 2px 4px #000a; background: rgba(6, 7, 10, .45); }
#hud .pq-btn.empty::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .5); pointer-events: none; }
#hud .pq-btn.empty .pq-plus { display: block; }
#hud .pq-btn.zero .pq-ico { filter: grayscale(1) brightness(.6); opacity: .7; }
#hud .pq-btn.zero .pq-plus { display: block; opacity: .85; }
#hud .pq-btn.zero .pq-n { color: #fff; background: #b8433f; }
#hud .pq-btn.low { animation: pq-low .9s ease-in-out infinite alternate; }
@keyframes pq-low { from { box-shadow: 0 0 0 2px #e5484d, 0 0 4px 1px #e5484d88, 0 2px 4px #000a; } to { box-shadow: 0 0 0 2px #ff8a7a, 0 0 12px 4px #e5484dcc, 0 2px 4px #000a; } }
#hud .pq-btn .pq-hold { position: absolute; inset: -5px; border-radius: 50%; pointer-events: none; opacity: 0; background: conic-gradient(#fff calc(var(--hold, 0) * 360deg), rgba(255, 255, 255, .16) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px)); }
#hud .pq-btn.on .pq-hold { opacity: 1; }
#hud .pq-btn.pq-use .pq-ico, #hud .pq-btn.pq-got .pq-ico { animation: pq-gulp .36s cubic-bezier(.2, .9, .3, 1.4); }
#hud .pq-btn.pq-use::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; pointer-events: none; animation: pq-ring .45s ease-out forwards; }
#hud .pq-btn.pq-no { animation: pq-no .3s ease-in-out; }
#hud .pq-btn.pq-set { animation: pq-set .5s ease-out; }
@keyframes pq-gulp { 0% { transform: translate(-50%, -52%) scale(1); } 35% { transform: translate(-50%, -60%) scale(1.25) rotate(-12deg); } 100% { transform: translate(-50%, -52%) scale(1); } }
@keyframes pq-ring { from { box-shadow: 0 0 0 0 rgba(120, 255, 150, .9); } to { box-shadow: 0 0 0 12px rgba(120, 255, 150, 0); } }
@keyframes pq-no { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
@keyframes pq-set { 0% { box-shadow: 0 0 0 2px #ffd770, 0 0 16px 6px #ffcf5acc, 0 2px 4px #000a; transform: scale(1.12); } 100% { transform: scale(1); } }
#hud.ctl-editing .pq-btn { opacity: .35; pointer-events: none; }

/* ---- 퀵슬롯 고르기 창(작은 팝업 = 나인패치 그대로) — 물약 줄: 칸 52 + 이름 · 회복 두 줄(기본 / 지금), 고른 것 = 금 테 + 오른쪽 위 등록됨 표시, 0 병 = 흐림
   (11-26 주호님 "물약 유아이 삐져나옴" — 줄 높이 고정 60 · 등록됨 칸이 글자 폭을 먹어 3줄로 접혀 넘침 → 최소 높이 · 표시 겹침 · 단어 단위 줄바꿈) */
#ui .popup.pt-pick { width: 300px; }
#ui .pt-pick .pt-hint { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; color: var(--ink-soft, #6f604c); }
#ui .pt-pick .pt-rows { display: grid; gap: 6px; }
#ui .pt-pick .pt-row { position: relative; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 10px; min-height: 60px; padding: 5px 10px 5px 4px; border: 0; border-radius: 8px; text-align: left;
  background: rgba(0, 0, 0, .1); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); cursor: pointer; }
#ui .dim.fx-intro .pt-pick .pt-row { animation: pt-in .26s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i, 0) * 40ms); }
#ui .pt-pick .pt-row:active { transform: scale(.98); }
#ui .pt-pick .pt-row.on { box-shadow: inset 0 0 0 2px #e8c979, 0 0 8px rgba(232, 201, 121, .55); }
#ui .pt-pick .pt-row.off { opacity: .45; }
#ui .pt-pick .pt-row.pt-no { animation: pq-no .3s ease-in-out; }
#ui .pt-row .pt-txt { display: grid; gap: 1px; min-width: 0; word-break: keep-all; overflow-wrap: anywhere; }
#ui .pt-row .pt-txt b { font-size: 13.5px; font-weight: 800; margin-bottom: 1px; }
#ui .pt-row.on .pt-txt b { padding-right: 84px; }   /* 등록됨 표시 자리 — 이름만 비켜 가고 회복 두 줄은 줄 폭 그대로 */
#ui .pt-row .pt-txt small { font-size: 11px; font-weight: 700; line-height: 1.35; color: var(--ink-soft, #6f604c); }
#ui .pt-row .pt-txt .pt-now { color: #8fd18a; }   /* 지금 회복량 = 둘째 줄 · 밝은 초록으로 돋보이게 */
#ui .pt-row .pt-tag { position: absolute; top: 6px; right: 8px; white-space: nowrap; padding: 0 8px; height: 22px; border-radius: 11px; font-size: 10.5px; font-style: normal; font-weight: 900; line-height: 22px; color: #26221c; background: #e8c979; }
#ui .pt-cell .icon { image-rendering: pixelated; }
@keyframes pt-in { from { opacity: 0; transform: translateY(6px) scale(.97); } }


/* ---- 인벤토리 [퀵슬롯 등록](상세 단추 줄 맨 앞 — 고른 칸이 물약일 때만) */
#ui .inv-actions .inv-quick.on { opacity: .7; }

/* gf:js-pack prototype/Spikes/rt-battle/features/member/member.css */
/* 토벌권 소탕 · 자동 토벌 줄(features/member — membership-1107): 보스 도전 창 bask-side 안, 발 줄 위. 알약 28 · 글자 폭(고품질UI GUI 450). */
#ui .msw { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 2px 8px; margin-top: 6px; }   /* autoboss-1111: 시간 글이 길어져도 줄을 넘기지 않고 다음 줄로 */
#ui .msw .btn { flex: none; height: 28px; padding: 0 12px; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; }
#ui .msw .btn img { width: 18px; height: 18px; image-rendering: pixelated; }
#ui .msw small { font-size: 10px; opacity: .75; }
#ui .msw-auto { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; }
#ui .msw-auto.off { opacity: .45; }
/* autoboss-1111: 자동 시간 글 · [?] = 눌러 설명(토스트). 물음표 원 18(보스 창 qr-odds 결 — 흰 선 · 어두운 판) */
#ui .msw .msw-next { cursor: pointer; opacity: .9; font-variant-numeric: tabular-nums; white-space: nowrap; }
#ui .msw-q { flex: none; width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-style: normal; font-weight: 900; line-height: 1;
  color: var(--ink, #eee); background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); cursor: pointer; transition: transform .28s cubic-bezier(.3, 1.8, .5, 1); }
#ui .msw-q:active { transform: scale(.88); transition-duration: 60ms; }

/* 상점 [멤버십] 탭 비교 표(features/member/member_shop.js). GUI 450 기준 — 판 높이 ≈ 324, 표 높이 312(머리 44 · 혜택 11 × 17 · 보상 48 · 값 33 — 11-09 defk-1109 혜택 8 → 11 줄) + 위 여백 10(추천 띠 자리) · 아래 2.
   틀 = 시즌 누적 결제 창(cumpay)의 어두운 줄 이름 판 + 크림 열 · 통합 = 금 띠 열. 같은 줄 순서 · 비싼 열만 금 = AFK 아레나 월정액 · 디럭스,
   적용 중 D-n = 버섯커 키우기 특권 카드 "잔여 N일 · 적용됨". 시안 = docs/.../rt-battle/membership-ui-1107(B). */
#ui .mem-panel { box-sizing: border-box; height: 100%; padding: 10px 8px 2px; overflow: hidden; container-type: size; }   /* 혜택 줄 높이 = 판 높이에 맞춤(아래 .mm-rp) */
#ui .mm-tb { display: flex; justify-content: center; align-items: flex-start; gap: 8px; }
#ui .mm-lab, #ui .mm-cm { flex: none; display: flex; flex-direction: column; border-radius: 10px; }
#ui .mm-lab { flex: 0 1 216px; min-width: 150px; overflow: hidden; background: rgba(13, 14, 16, .78); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .mm-cm { position: relative; width: 200px; background: #131417; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 6px 18px rgba(0, 0, 0, .45); }
#ui .mm-cm.member-all { width: 260px; box-shadow: 0 0 0 1.5px rgba(201, 162, 79, .9), 0 0 14px rgba(240, 213, 140, .22), 0 6px 18px rgba(0, 0, 0, .45); animation: mm-rim 1047ms ease-in-out infinite alternate; }
#ui .mm-tb .mm-rh { height: 42px; flex: none; box-sizing: border-box; }
#ui .mm-tb .mm-rp { height: clamp(14px, calc((100cqh - 42px - 54px - 36px) / var(--mm-n, 12)), 18px); flex: none; box-sizing: border-box; }   /* btnfix-1118: 915×412 에서 머리 44 + 줄 12×17 + 보상 48 + 구매 33 이 판을 넘어 [구매] 단추가 반쯤 잘렸다 — 남는 높이를 줄 수(--mm-n)로 나눔(14~18) */
#ui .mm-tb .mm-rw { height: 54px; flex: none; box-sizing: border-box; }   /* 보상 묶음 44 + 딱지(매번 지급 · 첫 구매) 7 이 줄 안에 — 48 일 때 딱지가 윗줄(물약 회복량)을 덮었다 */
#ui .mm-tb .mm-rb { height: 36px; flex: none; box-sizing: border-box; }   /* [구매] 30~32(단추 최소 30, features/ui/touch_min.css) + 위아래 2 */
/* 머리 칸 = cumpay 회색 띠, 통합 = 금 띠 + 반짝임 */
#ui .mm-cm .mm-rh { position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 10px 10px 0 0; background: #c4c2ba; color: #2c2a26; }
#ui .mm-cm.member-all .mm-rh { background: linear-gradient(180deg, #f6e7b8, #d9b766); color: #3a2a08; }
#ui .mm-cm.member-all .mm-rh::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none; background: linear-gradient(105deg, transparent 15%, rgba(255, 255, 255, .45) 50%, transparent 85%); transform: translateX(-130%); animation: mm-sheen 4.2s ease-in-out infinite; }
#ui .mm-art { position: relative; flex: none; width: 52px; height: 40px; }   /* 권 그림 4:3 */
#ui .mm-art > img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
#ui .mm-tt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#ui .mm-tt > b { font-size: 14px; font-weight: 900; line-height: 17px; white-space: nowrap; }
#ui .mm-tt > span { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; line-height: 16px; color: #5b5953; white-space: nowrap; }
#ui .member-all .mm-tt > span { color: #6b5320; }
#ui .mm-tt s { color: #7d6a45; text-decoration-thickness: 1.5px; }
#ui .mm-pct { margin-left: auto; flex: none; height: 18px; padding: 0 7px; border-radius: 4px; background: #d64a3a; color: #fff; font-size: 11px; font-style: normal; font-weight: 900; line-height: 18px; box-shadow: 0 1px 2px #0006; }
#ui .mm-on { gap: 4px; }
#ui .mm-on b { height: 18px; padding: 0 7px; border-radius: 9px; font-size: 10.5px; font-weight: 900; line-height: 18px; color: #e4ffd0; background: #2e6a1e; }
#ui .mm-on i { font-style: normal; font-size: 13px; font-weight: 900; color: #b8361f; }
/* 추천 = 평평한 붉은 꼬리표(리본 그림 대신) */
#ui .mm-pick { position: absolute; left: -6px; top: -9px; z-index: 3; height: 20px; padding: 0 10px; border-radius: 6px 6px 6px 2px; background: #d64a3a; color: #fff; font-size: 11.5px; font-weight: 900; line-height: 20px;
  box-shadow: 0 0 0 1px #ffd384 inset, 0 2px 4px #0007; animation: mm-badge 1.6s ease-in-out infinite; }
/* 혜택 칸 = 크림, 통합 열은 따뜻한 크림 · 없는 혜택 = 짧은 선 */
#ui .mm-cm .mm-rp { display: flex; align-items: center; justify-content: center; gap: 4px; background: #dcdbd5; border-top: 1px dashed rgba(0, 0, 0, .14); font-size: 12px; font-weight: 900; color: #23313a; white-space: nowrap; font-variant-numeric: tabular-nums; }
#ui .mm-cm .mm-rp.g2 { background: #d3d2cb; }
#ui .mm-cm .mm-rp.sec { border-top: 1px solid rgba(0, 0, 0, .3); }
#ui .mm-cm.member-all .mm-rp { background: #f1e3c3; color: #3a2a08; }
#ui .mm-cm.member-all .mm-rp.g2 { background: #ead9b3; }
#ui .mm-cm .mm-rp.g3 { background: #e3dccb; color: #6b4a08; }
#ui .mm-cm.member-all .mm-rp.g3 { background: #f6e6bb; }
#ui .mm-was { font-size: 10.5px; font-weight: 800; color: #8a857a; }
#ui .mm-no { width: 12px; height: 2px; border-radius: 1px; background: rgba(0, 0, 0, .22); }
/* 구매 보상 줄: [구매마다] 다이아 · [첫 구매] 별똥별(통합 = 편의 · 가속 따로) — 칸 40 */
#ui .mm-cm .mm-rw { display: flex; align-items: flex-end; justify-content: center; gap: 6px; padding-bottom: 4px; background: linear-gradient(180deg, #ebe3cf, #e1d5b8); border-top: 1px solid rgba(0, 0, 0, .3); }
#ui .mm-cm.member-all .mm-rw { background: linear-gradient(180deg, #fbf0d2, #f2dfae); }
#ui .mm-grp { position: relative; flex: none; display: flex; gap: 3px; padding: 3px 4px; border-radius: 8px; background: rgba(0, 0, 0, .1); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
#ui .mm-grp.first { box-shadow: inset 0 0 0 1px rgba(196, 87, 46, .55); }
#ui .mm-grp > em { position: absolute; left: 6px; top: -7px; height: 13px; padding: 0 5px; border-radius: 3px; font-size: 8.5px; font-style: normal; font-weight: 900; line-height: 13px; color: #fff; background: #5d636b; white-space: nowrap; }
#ui .mm-grp.first > em { background: #c4572e; }
#ui .mm-got { display: none; }
#ui .mm-grp.got .mm-cell { filter: grayscale(.85) brightness(.6); }
#ui .mm-grp.got > em { background: #4b4f55; }
#ui .mm-grp.got .mm-got { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-style: normal; font-weight: 900; color: #c6f59a; text-shadow: 0 1px 2px #000, 0 0 4px #000; }
#ui .mm-cell { --c: #8a8f96; position: relative; flex: none; width: 38px; height: 38px; box-sizing: border-box; border-radius: 7px; border: 2px solid color-mix(in srgb, var(--c) 75%, #fff);
  background: linear-gradient(150deg, color-mix(in srgb, var(--c) 45%, #1d2124), color-mix(in srgb, var(--c) 15%, #121517)); }
#ui .mm-cell.hero { --c: var(--gr-hero); }
#ui .mm-cell.dia { --c: #3f8fe0; }
#ui .mm-cell.met { --c: #e0a020; }
#ui .mm-cell img { position: absolute; left: 4px; top: 3px; width: 26px; height: 26px; object-fit: contain; }
#ui .mm-cell b { position: absolute; left: -4px; right: -4px; bottom: -2px; text-align: center; font-size: 10px; font-weight: 900; line-height: 12px; color: #fff; white-space: nowrap;
  text-shadow: 1px 0 #111, -1px 0 #111, 0 1px #111, 0 -1px #111; }
#ui .mm-cm .mm-rb { display: flex; align-items: center; justify-content: center; border-radius: 0 0 10px 10px; }
/* 줄 이름 열(cumpay 어두운 판): 왼쪽 세로 띠 = 편의 · 가속 묶음 · 흰 선 아이콘 16 */
#ui .mm-lab .mm-rh { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 8px 6px 12px; font-size: 11px; font-weight: 800; color: var(--ink-soft); }
#ui .mm-help { flex: none; width: 24px; height: 24px; margin-bottom: -2px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: var(--ink); font-size: 13px; font-weight: 900; line-height: 24px; text-align: center;
  transition: transform .28s cubic-bezier(.3, 1.8, .5, 1); }
#ui .mm-help:active { transform: scale(.92); transition-duration: 60ms; }
#ui .mm-sect { display: flex; }
#ui .mm-sect > i { flex: none; width: 20px; display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: 2px; border-top: 1px solid rgba(255, 255, 255, .14); }
#ui .mm-sect.s1 > i { color: #9fd8ff; background: rgba(90, 169, 214, .14); }
#ui .mm-sect.s2 > i { color: #ffb6a6; background: rgba(214, 74, 58, .16); }
#ui .mm-sect.s3 > i { color: #f0d58c; background: rgba(240, 213, 140, .14); letter-spacing: 0; }
#ui .mm-sect > div { flex: 1; min-width: 0; }
#ui .mm-lab .mm-rp { display: flex; align-items: center; gap: 6px; padding: 0 8px; border-top: 1px dashed rgba(255, 255, 255, .1); font-size: 11.5px; font-weight: 700; color: #e8e6df; white-space: nowrap; }
#ui .mm-lab .mm-rp > span { min-width: 0; overflow: hidden; }
#ui .mm-sect > div > .mm-rp:first-child { border-top: 1px solid rgba(255, 255, 255, .14); }
#ui .mm-ico { flex: none; width: 16px; height: 16px; background: var(--ink); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
#ui .mm-ico.img { background: none; -webkit-mask: none; mask: none; object-fit: contain; }
#ui .mm-lab .mm-rw { display: flex; align-items: center; gap: 6px; padding: 0 12px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 11.5px; font-weight: 800; color: #f0d58c; }
#ui .mm-lab .mm-rw .mm-ico { background: #f0d58c; }
#ui .mm-lab .mm-rb { border-top: 1px solid rgba(255, 255, 255, .06); }
/* 값 알약(06-shop 가격 금 알약) — 글자 폭, 열 폭으로 늘이지 않는다 */
#ui .popup.full .mm-buy { flex: none; min-width: 96px; height: 28px; min-height: 28px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 0 16px; font-size: 13px; font-weight: 900;
  background: linear-gradient(#f0d58a, #c99a3c); color: #2b2012; box-shadow: 0 2px 4px rgba(0, 0, 0, .45), inset 0 1px rgba(255, 246, 214, .6); }
#ui .popup.full .member-all .mm-buy { min-width: 120px; height: 32px; padding: 0 20px; font-size: 14.5px; }
#ui .mm-buy small { font-size: 11px; font-weight: 800; opacity: .8; }
#ui .popup.full .mm-buy.off { background: rgba(255, 255, 255, .12); color: var(--ink-soft); box-shadow: none; }
/* 연출: 창을 처음 열 때 · 탭을 고를 때만 열이 70 ms 간격으로 올라온다(fx-card-in — 덩어리라 1 을 넘지 않음) · 칸은 그 뒤 팝 */
#ui :is(.dim.fx-intro, .mm-swap) :is(.mm-lab, .mm-cm) { animation: fx-card-in .3s cubic-bezier(.2, .8, .3, 1) both; }
#ui :is(.dim.fx-intro, .mm-swap) .mm-cm.member-conv { animation-delay: .07s; }
#ui :is(.dim.fx-intro, .mm-swap) .mm-cm.member-all { animation: fx-card-in .3s cubic-bezier(.2, .8, .3, 1) .14s both, mm-rim 1047ms ease-in-out .5s infinite alternate; }
#ui :is(.dim.fx-intro, .mm-swap) .mm-cm.member-accel { animation-delay: .21s; }
#ui :is(.dim.fx-intro, .mm-swap) .mm-cell { animation: fx-cell .42s cubic-bezier(.3, 1.6, .5, 1) .25s both; }
@keyframes mm-rim { to { box-shadow: 0 0 0 1.5px rgba(240, 213, 140, 1), 0 0 22px rgba(240, 213, 140, .45), 0 6px 18px rgba(0, 0, 0, .45); } }
@keyframes mm-sheen { 0%, 55% { transform: translateX(-130%); } 100% { transform: translateX(260%); } }
@keyframes mm-badge { 0%, 100% { transform: none; } 50% { transform: scale(1.06); } }
/*@uifix-1122*/
/* uifix-1122 시안(uiaudit-1121 고칠 순서 3) — 16:9 화면(640×360 · 1280×720)은 판 안쪽 폭이 약 749 인데 표가 834(항목 150 + 카드 200 · 260 · 200 + 틈 24)라
   가운데 정렬 flex 가 양쪽으로 넘쳐 왼쪽 항목 열("경매장 등록" → "ㅕ매장 등록")과 오른쪽 "가속 멤버십" 카드가 잘렸다(915 · 780 폰은 판이 넓어 안 넘침).
   판이 좁을 때만 카드 폭을 줄인다(160 · 246 · 160 + 틈 18 = 734): 보상 칸(38 × 3 + 묶음 테 = 139 · 가운데 5칸 232)은 그대로 들어가고 글자 · 단추 크기는 안 바꾼다.
   그래도 넘치면 safe center 로 왼쪽부터 보이게(양쪽이 잘리지 않게). */
#ui .mm-tb { justify-content: safe center; }
@container (max-width: 830px) {
  #ui .mm-tb { gap: 6px; }
  #ui .mm-cm { width: 160px; }
  #ui .mm-cm.member-all { width: 246px; }
  /* uifix-1122 2차: 160 카드 머리 글자 칸이 80 뿐이라 영어 이름("Convenience")이 전광판으로 돌았다 — 좁을 때만 권 그림 52×40 → 40×30 · 틈 8 → 6 으로 글자 칸 94 */
  #ui .mm-cm:not(.member-all) .mm-rh { padding: 0 8px; gap: 6px; }
  #ui .mm-cm:not(.member-all) .mm-art { width: 40px; height: 30px; }
}
/*@end uifix-1122*/

/* bossres-1125: 자동 토벌 받음 창 [확인 (n)] — 남은 초(숫자 폭 고정) + 단추 아래 안쪽 얇은 막대(5.2초 동안 왼쪽으로 줄어듦). 공용 got-ok 는 .got-auto 일 때만 바꾼다. */
#ui .btn.got-ok.got-auto { position: relative; overflow: hidden; }
#ui .btn.got-ok .got-cd { margin-left: 4px; font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; }   /* .btn = inline-flex 줄 — 글자 칸 앞 빈칸은 접히므로 틈은 margin */
#ui .btn.got-ok .got-cdbar { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 1px; background: rgba(43, 38, 30, .45);
  transform-origin: left center; transition: transform .1s linear; pointer-events: none; }

/* gf:js-pack prototype/Spikes/rt-battle/features/membercard/membercard.css */
/* 상점 멤버십: 개별 카드 비교 3열, 통합 카드는 같은 판 아래. 구 멤버십은 상점 제목 옆에서 연다. */
#ui .mem-panel:has(> .mc-row) { padding: 7px 8px; }
#ui .mc-row { height: 100%; box-sizing: border-box; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: max-content; align-content: start; gap: 8px; padding: 1px 2px 5px; overflow: hidden auto; overscroll-behavior: contain; scrollbar-width: thin; }
#ui .mc-empty { grid-column: 1 / -1; justify-self: center; padding: 20px; font-size: 12px; font-weight: 800; color: var(--ink-soft, #aab); }

#ui .mc-pill { flex: none; min-height: 28px; padding: 0 12px; border: 0; border-radius: 14px; font: inherit; font-size: 11.5px;
  font-weight: 900; white-space: nowrap; color: #e8e2d4; background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); cursor: pointer; transition: transform .28s cubic-bezier(.3, 1.8, .5, 1); }
#ui .mc-pill:active { transform: scale(.92); transition-duration: 60ms; }
#ui .shop:not(:has(.s-member.on)) .mc-archive { display: none; }
#ui .shop .mc-archive { margin-left: 8px; }
#ui .mm-lab .mm-rh .mc-pill.back { min-height: 26px; font-size: 11px; }

#ui .mc-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid color-mix(in srgb, var(--ac) 42%, #32343b);
  border-radius: 11px; background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 19%, #181a21), #15171c 55%); overflow: hidden; }
#ui .mc-card.own { border-color: #72aa5b; }
#ui .mc-hero { display: flex; flex-direction: row-reverse; align-items: center; gap: 5px; min-height: 59px; padding: 4px 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--ac) 40%, transparent);
  background: radial-gradient(ellipse at 88% 25%, color-mix(in srgb, var(--ac) 48%, transparent), transparent 65%); }
#ui .mc-heading { flex: 1; min-width: 0; display: grid; gap: 4px; }
#ui .mc-name { font-size: 16px; font-weight: 900; line-height: 18px; overflow-wrap: anywhere; word-break: keep-all; color: #fff; }
#ui .mc-state { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: 10.5px; font-weight: 800; color: #c9d0d6; }
#ui .mc-state small { font-size: inherit; }
#ui .mc-state > small, #ui .mc-state .mc-dup { color: #d2dec6; }
#ui .mc-pct { padding: 2px 7px; border-radius: 9px; background: rgba(0, 0, 0, .26); }
#ui .mc-state .mc-dup { color: #d2dec6; }
#ui .mc-pct { font-style: normal; color: #ffda83; }
#ui .mc-on { display: flex; align-items: center; gap: 5px; }
#ui .mc-on b { padding: 2px 7px; border-radius: 9px; color: #e4ffd0; background: #2e6a1e; }
#ui .mc-on i { font-style: normal; font-size: 12.5px; color: #ffd36a; }
#ui .mc-art { flex: none; width: 68px; height: 47px; object-fit: contain; filter: drop-shadow(0 3px 4px #0008); animation: mc-float 3s ease-in-out infinite alternate; }
@keyframes mc-float { to { transform: translateY(-3px); } }

#ui .mc-perks { flex: 1; display: flex; flex-direction: column; padding: 2px 9px; }
#ui .mc-perk { min-height: 29px; display: flex; align-items: center; gap: 6px; padding: 2px 1px; box-sizing: border-box; }
#ui .mc-perk + .mc-perk { border-top: 1px solid rgba(255, 255, 255, .08); }
#ui .mc-ic { flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: #0e1015; }
#ui .mc-ic img { width: 18px; height: 18px; object-fit: contain; }
#ui .mc-ic b { width: 15px; height: 15px; background: var(--ink, #eee); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
#ui .mc-pn { flex: 1; min-width: 0; display: grid; }
#ui .mc-pn span { font-size: 11.5px; font-weight: 800; line-height: 13px; color: #dce1e8; overflow-wrap: anywhere; word-break: keep-all; }
#ui .mc-pn em { font-style: normal; font-size: 9px; line-height: 11px; color: #aab4c0; }
#ui .mc-perk > b { flex: none; display: flex; align-items: baseline; gap: 2px; font-size: 13px; font-weight: 900; color: #b1e88d; white-space: nowrap; }
#ui .mc-perk > b small { font-size: 10px; color: #aab4c0; }
#ui .mc-perk.dup > b { color: #9aaf8c; }
#ui .mc-perk.dup .mc-ic { opacity: .68; }

#ui .mc-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 9px;
  background: #101217; border-top: 1px solid #ffffff15; }
#ui .mc-band { display: flex; align-items: center; gap: 3px; color: #bfddff; font-size: 11px; line-height: 13px; font-weight: 900; }
#ui .mc-band img { flex: none; width: 15px; height: 15px; object-fit: contain; }
#ui .mc-buy { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0 11px; border: 0; border-radius: 14px;
  font: inherit; font-size: 13px; font-weight: 900; white-space: nowrap; color: #2c2a26; background: linear-gradient(#f1e6c8, #d6c39a);
  box-shadow: 0 2px 0 #0006; cursor: pointer; transition: transform .28s cubic-bezier(.3, 1.8, .5, 1); }
#ui .mc-buy:active { transform: scale(.92); transition-duration: 60ms; }
#ui .mc-buy :is(s, small) { font-size: 10.5px; font-weight: 800; opacity: .75; }
#ui .mc-buy.off { cursor: default; color: var(--ink-soft, #aab); background: #ffffff1f; box-shadow: none; }

#ui .mc-card.all { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(185px, 26%) minmax(0, 1fr) auto; align-items: stretch;
  border-color: #a4864d; background: linear-gradient(100deg, #382b19, #191a20 64%); }
#ui .mc-card.all .mc-hero { position: relative; min-height: 54px; border: 0; padding-right: 53px; background: none; }
#ui .mc-stack { position: absolute; inset: 50% 5px auto auto; width: 45px; height: 32px; transform: translateY(-50%); }
#ui .mc-stack img { position: absolute; right: calc(var(--i) * 8px); top: calc(var(--i) * 3px); width: 29px; height: 25px; object-fit: contain;
  z-index: calc(3 - var(--i)); filter: drop-shadow(0 2px 3px #0008); }
#ui .mc-card.all .mc-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; align-content: center; padding: 6px 8px; }
#ui .mc-perk.inc { align-items: center; border: 0; border-radius: 7px; padding: 4px; background: color-mix(in srgb, var(--ac) 12%, #15171c); }
#ui .mc-perk.inc .mc-ic { width: 25px; background: none; }
#ui .mc-perk.inc .mc-ic img { width: 25px; }
#ui .mc-card.all .mc-foot { justify-content: center; align-items: flex-end; flex-direction: column; background: none; border: 0; }
#ui .mc-card.all .mc-buy { background: linear-gradient(#f6e7b8, #d9b766); color: #3a2a08; }

#ui .mm-swap .mc-card { animation: fx-card-in .3s cubic-bezier(.2, .8, .3, 1) both; }
#ui .mm-swap .mc-card:nth-child(2) { animation-delay: .055s; }
#ui .mm-swap .mc-card:nth-child(3) { animation-delay: .11s; }
#ui .mm-swap .mc-card:nth-child(4) { animation-delay: .165s; }
@media (prefers-reduced-motion: reduce) { #ui .mc-art, #ui .mm-swap .mc-card { animation: none; } }

#ui .mc-legacy .mm-sect > i { contain: size; overflow: hidden; letter-spacing: 0; }

/* gf:js-pack prototype/Spikes/rt-battle/features/mem3/mem3.css */
/* 상점 [멤버십] 전투 | 통합 | 편의 세 장(features/mem3 — mem3live-1126, 모양 = mem3c-1126 3차 시안 그대로). 카드 틀 = membercard.css .mc-*(같은 색 · 글자 크기), 여기에는 차이만.
   배치: 한 화면 세 장 — 전투 | 통합 | 편의. 가운데 통합이 양옆보다 넓고 위아래로 솟는다(추천 리본 · 금 테 맥동 · 빛 훑기 · 빛살 · 반짝임 · 오른쪽 위 할인 메달 · 값 단추 위 취소선 단품 합).
   혜택 줄은 판 높이에 맞춰 늘고 줄어 스크롤 없이 한 화면. 근거: 형창님 11-26 "통합 멤버쉽을 중앙에 … 추천한다! 하는느낌이 팍팍", shoprevamp-1122 REFERENCES §6.1(K4 금 테 액자 · 원형 딱지 · M1 큰 그림 가운데). */
#ui .mem-panel:has(> .m3-row) { padding: 3px 8px; }
#ui .m3-row { height: 100%; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr) minmax(0, 1fr); gap: 9px; padding: 4px 3px 4px; overflow: hidden; }
#ui .m3-row .mc-card { position: relative; min-height: 0; container-type: inline-size; }
#ui .m3-row .m3-one { margin: 11px 0 8px; }   /* 양옆은 낮게 — 가운데가 위아래로 솟아 보인다 */
#ui .m3-row .mc-hero { min-height: 50px; padding: 3px 10px; }
#ui .m3-row .mc-art { width: 60px; height: 42px; }
#ui .m3-row .mc-perks { min-height: 0; padding: 0 9px; }
#ui .m3-row .m3-one .mc-perk { flex: 1 1 auto; min-height: 0; }
#ui .m3-row .mc-foot { padding: 5px 9px; }

/* 통합 = 가운데 추천 카드: 금 테 2px 맥동(1.047 s — 인기 패스 추천 카드와 같은 박자) + 금빛 바탕 + 지나가는 빛 */
#ui .m3-row .m3-all { border: 0; background: linear-gradient(170deg, #5a4318, #2a2217 40%, #17181d 78%);
  box-shadow: 0 0 0 2px #f6d77e, inset 0 1px 0 rgba(255, 246, 214, .22), 0 0 5px rgba(246, 200, 90, .5); animation: m3-best 1.047s ease-in-out infinite alternate; }
@keyframes m3-best { from { box-shadow: 0 0 0 2px #e9c66a, inset 0 1px 0 rgba(255, 246, 214, .2), 0 0 2px rgba(246, 200, 90, .3); }
  to { box-shadow: 0 0 0 2px #ffe9a8, inset 0 1px 0 rgba(255, 246, 214, .3), 0 0 6px rgba(255, 214, 110, .95); } }
#ui .m3-all .m3-shine { position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 40%, #fff2c640 50%, transparent 60%) no-repeat; background-size: 300% 100%; animation: shop-sheen 2.6s ease-in-out infinite; }
#ui .m3-all > :not(.m3-shine, .m3-rib, .m3-x) { position: relative; z-index: 1; }
/* 추천 리본 = 카드 위 가운데에 걸린 금 깃발 */
#ui .m3-rib { position: absolute; z-index: 3; left: 50%; top: 0; translate: -50% 0; min-width: 64px; height: 22px; padding: 0 16px 3px; box-sizing: border-box; display: grid; place-items: center;
  font-size: 13px; font-weight: 900; line-height: 19px; letter-spacing: .5px; white-space: nowrap; color: #3a2400; text-shadow: 0 1px 0 #fff2c0aa;
  background: linear-gradient(#fff0b0, #f0b838 70%, #d69a22); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); filter: drop-shadow(0 2px 2px #0009); }
/* 할인 메달 = 카드 오른쪽 위 모서리 안쪽 3(인기 패스 메달과 같은 자리 · 같은 모양). 제목 · 그림과 겹쳐도 된다(형창님 11-26) */
#ui .m3-x { position: absolute; z-index: 4; right: 3px; top: 3px; width: 56px; height: 56px; box-sizing: border-box; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-style: normal;
  transform: rotate(8deg); background: radial-gradient(circle at 50% 35%, #f0624c, #b3261a 72%); box-shadow: inset 0 0 0 3px #f6d77e, inset 0 0 0 5px #8e1d13, 0 3px 8px rgba(0, 0, 0, .55);
  animation: m3-beat 1.047s ease-in-out infinite alternate; }
#ui .m3-x small { font-size: 10px; font-weight: 900; line-height: 12px; color: #fff; text-shadow: 0 1px 1px #6d130c; }
#ui .m3-x b { font-size: 19px; font-weight: 900; line-height: 22px; color: #ffe27a; letter-spacing: -.5px; text-shadow: 0 1px 0 #5a0f08, 1px 0 0 #5a0f08, -1px 0 0 #5a0f08, 0 -1px 0 #5a0f08, 0 2px 3px #000; }
@keyframes m3-beat { from { transform: rotate(8deg) scale(1); } to { transform: rotate(8deg) scale(1.06); } }
/* 머리 = 가운데 쌓기: 빛살 · 후광 · 반짝임 위에 큰 권 그림 → 이름 → 기간 */
#ui .m3-row .m3-all .mc-hero { flex-direction: column; align-items: center; justify-content: flex-start; flex: none; gap: 2px; min-height: 0; padding: 23px 10px 5px; border-bottom-color: #d9b45a55; overflow: hidden;
  background: radial-gradient(ellipse 62% 70% at 50% 44%, #f6c04a88, transparent 70%); }
#ui .m3-all .m3-rays { position: absolute; z-index: 0; left: 50%; top: 24px; width: 170px; height: 170px; margin: -56px 0 0 -85px; border-radius: 50%; pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(#ffe9a8 0 9deg, transparent 9deg 22.5deg); -webkit-mask: radial-gradient(circle, #000 18%, transparent 68%); mask: radial-gradient(circle, #000 18%, transparent 68%); animation: m3-spin 16s linear infinite; }
@keyframes m3-spin { to { transform: rotate(360deg); } }
#ui .m3-row .m3-all .mc-art { position: relative; z-index: 1; width: 84px; height: 56px; filter: drop-shadow(0 4px 5px #000a) drop-shadow(0 0 8px #ffd36a88); }
#ui .m3-all .mc-heading { position: relative; z-index: 1; flex: none; width: 100%; justify-items: center; gap: 2px; text-align: center; }
#ui .m3-all .mc-name { font-size: 18px; line-height: 21px; color: #ffe9b0; text-shadow: 0 1px 0 #3a2706, 0 0 8px #000a; }
#ui .m3-all .mc-state { justify-content: center; }
#ui .m3-all .mc-state > small { color: #f1e3bd; }
#ui .m3-spk { position: absolute; z-index: 1; width: 11px; height: 11px; background: #fff8dc; opacity: 0; pointer-events: none; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 3px #ffe9a8); animation: m3-twinkle 1.884s ease-in-out infinite; animation-delay: calc(var(--s) * .471s); }
#ui .m3-spk:nth-of-type(2) { left: 22%; top: 30px; } #ui .m3-spk:nth-of-type(3) { left: 31%; top: 70px; width: 9px; height: 9px; }
#ui .m3-spk:nth-of-type(4) { right: 30%; top: 26px; width: 13px; height: 13px; } #ui .m3-spk:nth-of-type(5) { right: 23%; top: 64px; }
@keyframes m3-twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 45% { opacity: 1; transform: scale(1) rotate(20deg); } 70% { opacity: 0; transform: scale(.6) rotate(35deg); } }

#ui .m3-incs { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 4px 9px; overflow: hidden; }
#ui .m3-inc { flex: none; min-height: 0; display: flex; align-items: center; gap: 7px; padding: 4px 8px 4px 5px; border-radius: 8px;
  background: color-mix(in srgb, var(--ac) 16%, #15171c); box-shadow: inset 3px 0 0 var(--ac); }
#ui .m3-inc .mc-ic.tk { width: 40px; height: 34px; background: none; }
#ui .m3-inc .mc-ic.tk img { width: 40px; height: 34px; filter: drop-shadow(0 2px 2px #0008); }
#ui .m3-incb { flex: 1; min-width: 0; display: grid; gap: 3px; }
#ui .m3-incn { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; min-width: 0; }
#ui .m3-incn b { font-size: 13.5px; font-weight: 900; line-height: 15px; color: #fff; word-break: keep-all; overflow-wrap: anywhere; }
#ui .m3-incn small { font-size: 10px; font-weight: 900; line-height: 12px; color: #b1e88d; white-space: nowrap; }
#ui .m3-icons { display: flex; gap: 3px; }
#ui .m3-mi { flex: none; width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; background: #0e1015; }
#ui .m3-mi img { width: 16px; height: 16px; object-fit: contain; }
#ui .m3-mi b { width: 14px; height: 14px; background: var(--ink, #eee); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }

/* 아래 = 왼쪽 즉시 다이아(+ 통합에만 더 주는 몫) · 오른쪽 [취소선 단품 합 → 값 단추] 위아래로 바로 견줌 */
#ui .m3-row .m3-all .m3-foot { flex: none; align-items: flex-end; padding: 4px 10px 7px; background: #1a160f; border-top-color: #d9b45a40; }
#ui .m3-get { min-width: 0; display: grid; gap: 2px; padding-bottom: 3px; }
#ui .m3-all .mc-band { color: #ffe4a2; font-size: 12.5px; line-height: 15px; }
#ui .m3-more { justify-self: start; padding: 0 6px; border-radius: 7px; font-size: 10px; font-weight: 900; line-height: 14px; white-space: nowrap; color: #c8f5a4; background: #2f5a2188; }
#ui .m3-pay { flex: none; display: grid; justify-items: center; gap: 2px; }
#ui .m3-was { font-size: 15px; font-weight: 900; line-height: 17px; color: #e3e7ec; text-decoration: line-through; text-decoration-color: #ff5a45; text-decoration-thickness: 2px; text-shadow: 0 1px 1px #000; }
#ui .m3-all .m3-buy { min-width: 104px; min-height: 34px; justify-content: center; padding: 0 16px; border-radius: 17px; font-size: 16px; color: #3a2a08; background: linear-gradient(#fff0c4, #e8b84e); box-shadow: 0 2px 0 #0006, 0 0 10px #ffd36a77; }

/* 좁은 가운데 카드(PC 1280×720 — 폭 276): 영어 이름이 두 줄이 되므로 포함 줄을 낮게 */
@container (max-width: 300px) {
  #ui .m3-inc { gap: 6px; padding: 3px 7px 3px 4px; }
  #ui .m3-inc .mc-ic.tk, #ui .m3-inc .mc-ic.tk img { width: 34px; height: 29px; }
  #ui .m3-incb { gap: 2px; }
  #ui .m3-mi { width: 18px; height: 18px; } #ui .m3-mi img { width: 14px; height: 14px; } #ui .m3-mi b { width: 13px; height: 13px; }
}

/* 탭을 고를 때 카드가 차례로 올라온다(member_shop.js 가 #shop-member 에 .mm-swap 을 건다) — 양옆 먼저, 가운데 추천 카드가 마지막에, 메달은 그 뒤에 톡 */
#ui .mm-swap .m3-row .mc-card { animation: fx-card-in .3s cubic-bezier(.2, .8, .3, 1) both; }
#ui .mm-swap .m3-row .mc-card:nth-child(3) { animation-delay: .06s; }
#ui .mm-swap .m3-row .m3-all { animation: fx-card-in .34s cubic-bezier(.2, .8, .3, 1) .12s both, m3-best 1.047s ease-in-out .46s infinite alternate; }
#ui .mm-swap .m3-x { animation: m3-pop .36s cubic-bezier(.3, 1.6, .5, 1) .34s both, m3-beat 1.047s ease-in-out .7s infinite alternate; }
@keyframes m3-pop { from { opacity: 0; transform: rotate(-20deg) scale(.2); } to { opacity: 1; transform: rotate(8deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { #ui .m3-row .m3-all, #ui .m3-all .m3-shine, #ui .m3-x, #ui .m3-all .m3-rays, #ui .m3-spk, #ui .mm-swap .m3-row .mc-card, #ui .mm-swap .m3-x { animation: none; } #ui .m3-spk { opacity: .8; } }

/* 옛 화면을 고르는 단추(membercard [구 멤버십] 알약)는 쓰지 않는다 — 기간이 남은 계정은 첫 화면이 그 옛 화면 */
body.gf-mem3 #ui .shop .mc-archive { display: none !important; }
body.gf-mem3 #ui .mc-card.all .mc-buy.off { cursor: default; color: var(--ink-soft, #aab); background: #ffffff1f; box-shadow: none; }   /* 구 카드 화면의 묶음 값 단추도 판매 종료 회색(금 단추 규칙이 .off 를 덮음) */
#ui .m3-row .m3-buy.off { cursor: default; color: var(--ink-soft, #aab); background: #ffffff1f; box-shadow: none; }   /* 최대 60일(결제 서버 상한) */
#ui .m3-row .m3-buy small { margin-right: 4px; font-size: 10px; }   /* 적용 중 = [연장 ₩…] */

/* gf:js-pack prototype/Spikes/rt-battle/features/firstpay/firstpay.css */
/* 결제 최초 보상(features/firstpay) — 상점 탭 판. 크기 = GUI 450 기준(고품질UI: 칸 48~56 · 단추 알약 28 · 고리 48).
   틀 = 시즌 누적 결제 판(features/cumpay)과 같은 패스 칸 줄(17-pass .ev-col · .ev-at · .ev-cell · 고정 최종 열 — 원신 기행 · 스타레일 무명의 공훈 ·
   천애명월도 M 누적 충전 보답 마디 줄, 비교판 side-session-notes cumpay-1107-compare.png). 여기는 판 배치 · 칸 크기 · 금 열 · 받기 연출만.
   색 = cumpay 와 같은 금(#c9a24f · #f0d58c · #f6e7b8) · 은(#aeb6bd · #d6dadd, 10만 원 앞 칸) · 결정 청록 알약(cp-pill 과 같은 #83c3bf → #548f8c) · 빨간 점(#e5534b). */
#ui .fp { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
#ui .popup.full .fp .btn { position: relative; flex: none; font-size: 12px; font-weight: 900; }
#ui .fp-dot { position: absolute; right: -1px; top: -2px; width: 7px; height: 7px; border-radius: 50%; background: #e5534b; box-shadow: 0 0 4px rgba(229, 83, 75, .8); animation: fp-dot .628s ease-in-out infinite alternate; }

/* 위 줄 = 단계 고리 48 + [평생 누적 꼬리표 · 따로 쌓임 · 남은 금액] + 마디 줄 + 다음 보상 미리보기 */
#ui .fp-top { flex: none; display: flex; align-items: center; gap: 12px; padding: 0 4px; }
#ui .fp-lv { position: relative; flex: none; width: 48px; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; font-size: 21px; font-weight: 900; line-height: 1; color: #fbf6e8;
  background: radial-gradient(circle at 50% 40%, #3a3d42, #1d2023); box-shadow: inset 0 0 0 1.5px #c9a24f, inset 0 0 0 4px rgba(0, 0, 0, .35), 0 0 0 3px rgba(0, 0, 0, .4), 0 0 0 4px rgba(201, 162, 79, .55), 0 0 14px rgba(240, 213, 140, .2); }
#ui .fp-lv small { font-size: 9px; font-weight: 800; color: #e8c979; margin-top: 2px; }
#ui .fp-prog { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
#ui .fp-prog-t { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
#ui .fp-keep { flex: none; height: 20px; padding: 0 9px; border-radius: 10px; font-size: 11px; font-weight: 900; line-height: 20px; color: #f0d58c; background: rgba(232, 201, 121, .16); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .5); }
#ui .fp-note { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 11px; font-weight: 700; color: #9a9d98; }
#ui .fp-more { margin-left: auto; font-size: 12.5px; font-weight: 900; color: #e8e4d8; font-variant-numeric: tabular-nums; }
#ui .fp-more b, #ui .fp-sum b { color: #f0d58c; font-weight: 900; }
/* 마디 줄 = cumpay cp-ms 와 같은 자: 막대 5 · 마디 15 · 다음 목표 마디 21 + 빛 맥박 */
#ui .fp-ms { position: relative; height: 32px; margin: 0 12px 0 8px; }
#ui .fp-ms-bar { position: absolute; left: 0; right: 0; top: 8px; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; }
#ui .fp-ms-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: linear-gradient(90deg, #aeb6bd, #d6dadd 45%, #c9a24f 70%, #f6e7b8); box-shadow: 0 0 6px rgba(240, 213, 140, .45); transition: width .6s cubic-bezier(.2, .8, .3, 1); }
#ui .fp-nd { position: absolute; top: 0; width: 0; display: flex; flex-direction: column; align-items: center; }
#ui .fp-nd i { flex: none; width: 15px; height: 15px; margin-top: 3px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 8.5px; font-weight: 900; color: #8b8f93; background: #1d2023; box-shadow: inset 0 0 0 1.5px #5a5e63; }
#ui .fp-nd.got i { color: #23272b; background: radial-gradient(circle at 50% 40%, #eef1f3, #a9b1b8); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); }
#ui .fp-nd.g.got i { color: #2b2210; background: radial-gradient(circle at 50% 40%, #f6e7b8, #c9a24f); }
#ui .fp-nd.g.lock i { box-shadow: inset 0 0 0 1.5px #8a7340; color: #c9b27a; }
#ui .fp-nd.cur i { width: 21px; height: 21px; margin-top: 0; font-size: 11px; color: #2b2210; background: radial-gradient(circle at 50% 40%, #fff6d8, #d9b766); box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 0 0 3.5px #f0d58c, 0 0 12px 2px rgba(240, 213, 140, .75); animation: fp-node 1.047s ease-in-out infinite alternate; }
#ui .fp-nd s { margin-top: 2px; text-decoration: none; font-size: 9px; font-weight: 800; color: #8b8f93; white-space: nowrap; font-variant-numeric: tabular-nums; }
#ui .fp-nd.got s { color: #cfc7b1; } #ui .fp-nd.cur s { margin-top: 1px; color: #f0d58c; font-weight: 900; } #ui .fp-nd.g.lock s { color: #b39c66; }
/* 다음 보상 미리보기 = cumpay 오늘의 매일 보상 카드 결(금 안 테 · 옅은 금 바탕) */
#ui .fp-peek { flex: none; height: 52px; padding: 0 8px 0 12px; display: flex; align-items: center; gap: 8px; border-radius: 10px; background: linear-gradient(180deg, rgba(255, 238, 190, .16), rgba(255, 238, 190, .05)); box-shadow: inset 0 0 0 1.5px rgba(240, 213, 140, .7), 0 0 12px rgba(240, 213, 140, .18); }
#ui .fp-peek-l { display: flex; flex-direction: column; gap: 3px; font-size: 11px; font-weight: 900; color: #f0d58c; white-space: nowrap; }
#ui .fp-peek-l small { font-size: 10px; font-weight: 800; color: #e8e6df; font-variant-numeric: tabular-nums; }
#ui .fp-peek-s { --s: 38px; gap: 3px; } #ui .fp-peek-s .ev-slot { --s: inherit; }

/* 칸 줄 = 짙은 테 한 판 안 밝은 세로 열(패스). 열은 남는 폭을 나눠 가져 판 끝까지 찬다 */
#ui .fp-box { flex: 1; min-height: 0; display: flex; border-radius: 10px; overflow: hidden; background: #131417; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 6px 18px rgba(0, 0, 0, .45); }
#ui .fp .ev-track { height: 100%; }
#ui .fp .ev-col { flex: 1 0 104px; min-width: 104px; animation: none; }
#ui .fp .ev-at { flex: none; height: 26px; gap: 4px; font-size: 11.5px; font-variant-numeric: tabular-nums; }
#ui .fp .ev-at i { font-style: normal; font-size: 9px; width: 15px; height: 15px; line-height: 15px; text-align: center; border-radius: 50%; color: #f2f0e7; background: #6d6a62; }
#ui .fp .ev-col.reach .ev-at i { background: #2c2a26; } #ui .fp .ev-col.cur .ev-at i { background: #5a3d0c; }
/* 10만 원부터 = 금 머리 · 크림 금 칸(고급 칸: 영웅 확정 별똥별 · 고급 재설정) */
#ui .fp .ev-col.g .ev-at { color: #4a3510; background: linear-gradient(180deg, #ecd9a6, #d4b46a); }
#ui .fp .ev-cell { flex: 1; height: auto; overflow: hidden; box-sizing: border-box; padding-bottom: 22px; }
#ui .fp .ev-cell.got, #ui .fp .ev-cell.lock { padding-bottom: 0; }
#ui .fp .ev-cell .fp-slots { --s: 56px; flex-wrap: wrap; width: 116px; gap: 4px; }
#ui .fp .ev-cell .fp-slots.n3, #ui .fp .ev-cell .fp-slots.n4 { --s: 48px; width: 100px; }
#ui .fp .ev-cell .fp-slots .ev-n { font-size: 11px; }
/* 받은 칸 = 패스와 같은 짙은 체크(가운데) · 잠긴 칸 = 그대로 보이고 오른쪽 위 자물쇠(17-pass .ev-cell.lock::before) */
#ui .fp .ev-check { background: rgba(18, 20, 24, .8); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .8), 0 2px 4px rgba(0, 0, 0, .5); }
/* 받기 알약 = 칸 아래 가운데(cumpay cp-pill 과 같은 청록) */
#ui .fp-pill { position: absolute; z-index: 3; left: 50%; bottom: 7px; transform: translateX(-50%); height: 20px; padding: 0 14px; border-radius: 10px; font-style: normal; font-size: 11px; font-weight: 900; line-height: 20px; color: #fff; white-space: nowrap;
  background: linear-gradient(#83c3bf, #548f8c); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
#ui .fp-cell.can { cursor: pointer; }
/* 받을 칸 = 17-pass 금 안 테 맥박 + 2.4 초마다 빛 한 줄이 칸을 쓸고 지나감 */
#ui .fp-cell.can::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 248, 225, .75) 50%, transparent 65%) no-repeat; background-size: 250% 100%; animation: fp-sweep 2.4s ease-in-out infinite; }

/* 최종 열(보이는 마지막 칸) = 오른쪽 끝 고정 · 넓게 124 · 보상 뒤 금빛 살이 천천히 돈다 */
#ui .fp .ev-col.last { flex: 0 0 124px; min-width: 124px; }
#ui .fp .ev-col.last .ev-cell { background: linear-gradient(180deg, #f7ecd0, #ecd7a6); }
#ui .fp .ev-col.last .ev-cell::before { content: ""; position: absolute; z-index: 0; left: 50%; top: 46%; width: 220px; height: 220px; margin: -110px 0 0 -110px; pointer-events: none; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 250, 230, .55) 0 7deg, transparent 7deg 22deg); -webkit-mask: radial-gradient(closest-side, #000 20%, transparent); mask: radial-gradient(closest-side, #000 20%, transparent); animation: fp-rays 14s linear infinite; }
/* fprays-1120(주호님 11-20 "이 빛이 아이콘 뒤로 가있어야"): 잠긴 칸 자물쇠 규칙(windows.css .ev-cell.lock::before z-index 2)을 빛이 물려받아 아이콘 위로 — 0 으로 */
#ui .fp .ev-col.last .ev-cell.lock::before { z-index: 0; right: auto; top: 46%; box-shadow: none; background: repeating-conic-gradient(rgba(255, 250, 230, .45) 0 7deg, transparent 7deg 22deg); }
#ui .fp .ev-col.last .ev-cell.lock::after { content: ""; position: absolute; z-index: 2; right: 6px; top: 6px; width: 15px; height: 15px; border-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
  background: #2a2b2f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 5.2V3.8a2 2 0 0 1 4 0v1.4' fill='none' stroke='white' stroke-width='1.4'/%3E%3Crect x='2.5' y='5' width='7' height='5.5' rx='1.2' fill='white'/%3E%3C/svg%3E") center / 10px no-repeat; }
#ui .fp .ev-col.last .ev-cell { align-items: center; padding-top: 0; }   /* 17-pass 최종 열은 칸을 위로 붙인다 — 여기는 한 줄이라 가운데 */
#ui .fp .ev-col.last .fp-slots { position: relative; margin-top: 0; }
#ui .fp .ev-col.last .ev-cell .fp-slots.n1, #ui .fp .ev-col.last .ev-cell .fp-slots.n2 { --s: 56px; }   /* 17-pass 최종 열 n2 40 을 이긴다 */
#ui .fp .ev-col.last .ev-cell .fp-slots.n3, #ui .fp .ev-col.last .ev-cell .fp-slots.n4 { --s: 48px; }

/* 아래 줄 = 평생 결제 · [모두 받기] */
#ui .fp-foot { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 2px; }
#ui .fp-sum { font-size: 12px; font-weight: 800; color: #b9b3a3; font-variant-numeric: tabular-nums; }
#ui .fp-foot .fp-all { margin-left: auto; }

/* 탭을 고를 때만(한 번용 클래스): 열이 아래 10 px 에서 50 ms 간격으로, 보상 칸은 그 뒤 70 ms 간격 팝(칸 여백 안 1.08) */
#ui .fp-swap .ev-col { animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both; animation-delay: calc(min(var(--i, 0), 10) * .05s); }
#ui .fp-swap .fp-slots .ev-slot { animation: fp-pop .42s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(min(var(--i, 0), 10) * .05s + .12s); }
#ui .fp-swap .fp-slots .ev-slot:nth-child(2) { animation-delay: calc(min(var(--i, 0), 10) * .05s + .19s); } #ui .fp-swap .fp-slots .ev-slot:nth-child(3) { animation-delay: calc(min(var(--i, 0), 10) * .05s + .26s); }
#ui .fp-swap .fp-ms-bar i { animation: fp-fill .7s cubic-bezier(.2, .8, .3, 1) .15s both; transform-origin: left; }
/* 받기 = 칸 빛(17-pass ps-got) + 칸 바탕 번쩍 */
#ui .fp-cell.fp-claimed .ev-slot { animation: ps-got .6s ease-out; }
#ui .fp-cell.fp-claimed { animation: fp-flash .6s ease-out; }
@keyframes fp-pop { 0% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes fp-node { from { box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 0 0 3.5px #f0d58c, 0 0 6px 0 rgba(240, 213, 140, .4); } to { box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 0 0 3.5px #f0d58c, 0 0 14px 3px rgba(240, 213, 140, .85); } }
@keyframes fp-dot { from { transform: scale(.85); } to { transform: scale(1.15); } }
@keyframes fp-sweep { 0%, 55% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
@keyframes fp-rays { to { transform: rotate(360deg); } }
@keyframes fp-fill { from { transform: scaleX(0); } }
@keyframes fp-flash { 0% { filter: brightness(1.5); } 100% { filter: none; } }
.gfx-low #ui :is(.fp .ev-col, .fp-cell, .fp-nd i, .fp-dot, .fp-slots .ev-slot, .fp-ms-bar i), .gfx-low #ui .fp-cell::after, .gfx-low #ui .fp .ev-col.last .ev-cell::before { animation: none !important; }

/* gf:js-pack prototype/Spikes/rt-battle/features/vip/vip.css */
/* 평생 VIP 혜택 줄(features/vip — vipbox-1121): 상점 [결제 최초 보상] 판 칸 줄 아래. 크기 = GUI 450 기준(고품질UI: 줄 46 · 아이콘 34 · 단추 알약 28 · 라벨 11/9.5).
   결 = firstpay 다음 보상 미리보기 카드(금 안 테 · 옅은 금 바탕) — 매일 상자 카드가 남는 폭을 가지고, 반지 두 칸은 글자 폭. 끼운 반지 = 금 테 + 초록 점 */
#ui .vp { flex: none; display: flex; gap: 8px; min-width: 0; }
#ui .vp .vp-ic { flex: none; width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
#ui .vp .vp-l { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 11px; font-weight: 900; color: #f0d58c; white-space: nowrap; }
#ui .vp .vp-l small { overflow: hidden; text-overflow: ellipsis; font-size: 9.5px; font-weight: 800; color: #d9d5ca; font-variant-numeric: tabular-nums; }
#ui .vp-box { flex: 1; min-width: 0; height: 46px; padding: 0 8px 0 8px; display: flex; align-items: center; gap: 8px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 238, 190, .16), rgba(255, 238, 190, .05)); box-shadow: inset 0 0 0 1.5px rgba(240, 213, 140, .55); }
#ui .vp-box .vp-s { --s: 34px; gap: 3px; margin-left: auto; } #ui .vp-box .vp-s .ev-slot { --s: inherit; }
#ui .vp-box .vp-s .ev-n { font-size: 10px; }
#ui .popup.full .vp-box .btn { position: relative; flex: none; height: 28px; min-width: 64px; padding: 0 12px; font-size: 12px; font-weight: 900; }
#ui .vp-box.off { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .25); }
#ui .vp-box.off .vp-ic, #ui .vp-box.off .vp-s { filter: grayscale(.85) brightness(.75); }
#ui .vp-box.can .vp-ic { animation: vp-bob 1.2s ease-in-out infinite alternate; }
#ui .vp-box.vp-took .vp-ic { animation: vp-take .45s cubic-bezier(.2, .9, .3, 1.3); }
#ui .vp-ring { position: relative; flex: none; height: 46px; padding: 0 12px 0 6px; display: flex; align-items: center; gap: 6px; border: 0; border-radius: 10px; cursor: pointer; font: inherit; text-align: left;
  background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
#ui .vp-ring.on { background: linear-gradient(180deg, rgba(255, 238, 190, .2), rgba(255, 238, 190, .06)); box-shadow: inset 0 0 0 1.5px #e8c979, 0 0 10px rgba(240, 213, 140, .3); }
#ui .vp-ring.lock { cursor: default; }
#ui .vp-ring.lock .vp-ic { filter: grayscale(1) brightness(.6); }
#ui .vp-ring.lock .vp-l { color: #9a9d98; }
#ui .vp-ring:not(.lock):active { transform: scale(.96); }
#ui .vp-on { position: absolute; right: 5px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: #6fd08c; box-shadow: 0 0 4px rgba(111, 208, 140, .8); }
@keyframes vp-bob { from { transform: translateY(1px) rotate(-3deg); } to { transform: translateY(-2px) rotate(3deg); } }
@keyframes vp-take { 0% { transform: scale(1); } 40% { transform: scale(1.35) rotate(-8deg); filter: brightness(1.6); } 100% { transform: scale(1); } }
.gfx-low #ui .vp-box .vp-ic { animation: none !important; }

/* gf:js-pack prototype/Spikes/rt-battle/features/puzzle/puzzle_tab.css */
/* 꾸미기 퍼즐 이벤트 탭 카드(puz-screen-1113). 고품질UI: 판 = 어두운 반투명, 단추 = 글자 폭 알약(높이 28 · 누름 칸 34), 라벨 9 이상, 등장 = 차례로 떠오름. */
#ui .pz-tab .ev-head-r { gap: 10px; }
#ui .pz-stat { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 13px; background: rgba(0, 0, 0, .4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: 12px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
#ui .pz-stat small { font-size: 11px; color: var(--ink-soft); }
#ui .pz-ic { width: 14px; height: 14px; display: inline-block; background: center / contain no-repeat; }
#ui .pz-ic.heart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 14 2.2 8.4A3.4 3.4 0 0 1 8 4.2a3.4 3.4 0 0 1 5.8 4.2Z' fill='%23ff6b88' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E"); }
#ui .pz-ic.stage { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 2v12M3 3h9l-2 3 2 3H3' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
#ui .pz-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: stretch; animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both; }
#ui .pz-hero { position: relative; min-height: 150px; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, #2c5a8c, #183456);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .pz-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#ui .pz-hero-t { position: absolute; left: 10px; bottom: 8px; font-size: 15px; font-weight: 900; text-shadow: 0 1px 3px #000, 0 0 8px rgba(0, 0, 0, .6); }
#ui .pz-side { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .pz-lines { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
#ui .pz-lines li { position: relative; padding-left: 12px; font-size: 12px; line-height: 1.35; color: #e9eef5; animation: fx-rise .3s calc(var(--i) * 60ms + 80ms) both; }
#ui .pz-lines li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: #f3e3b4; }
#ui .pz-act { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 34px; }
#ui .pz-tab .btn.pz-pill { width: auto; min-width: 0; height: 28px; padding: 0 14px; border-radius: 14px; font-size: 13px; font-weight: 800; white-space: nowrap; }
#ui .pz-tab .btn.pz-play { padding: 0 22px; animation: pz-glow 1.4s ease-in-out infinite alternate; }
@keyframes pz-glow { from { box-shadow: 0 0 0 rgba(255, 230, 160, 0); } to { box-shadow: 0 0 12px rgba(255, 230, 160, .55); } }
#ui .pz-dl { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
#ui .pz-bar { flex: 1; position: relative; height: 8px; border-radius: 4px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); overflow: hidden; }
#ui .pz-bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p)); transition: transform .25s; background: linear-gradient(90deg, #6fc3ff, #c9f0ff); }
#ui .pz-mb { font-size: 11px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
#ui .pz-note { margin: 0; font-size: 10px; color: var(--ink-soft); }
#ui .pz-note.warn { color: #ffb0a0; }
/* 프로필 숫자 줄 "퍼즐 n단계" */
#ui .mp-num.mp-puz b { font-variant-numeric: tabular-nums; }

/* gf:js-pack prototype/Spikes/rt-battle/features/cumpay/cumpay.css */
/* 시즌 누적 결제(features/cumpay) — 이벤트 창 [누적 결제] 탭 판 · 매일 수령 판 · 단계 달성 띠 · 결제 직후 진행 알림 · 상점 알약.
   틀 = 하이랜드 패스 칸 줄(17-pass .ev-col · .ev-at · .ev-cell · 고정 최종 열 — 원신 기행 · 스타레일 무명의 공훈) + 이벤트 칸(17-events .ev-slot).
   값 = 시안 docs/…/rt-battle/cumpay-1107/mock/cumpay-mock.html(GUI 450, 폭 975). 색: 금(#c9a24f · #f0d58c) = 매일 · 단계, 하늘(#5aa9d6 · #9fd8ff) = 시즌 혜택 줄, 은(#aeb6bd) = 1~4단계.
   연출(고품질UI 기본): 받을 칸 금 테 맥박(ev-can-l) · 받기 = 칸 빛 + 훑는 빛 + 지갑으로 포물선 · 달성 띠 열림 · 지금 마디 빛 · 전설 칸 등급 빛. */
#ui .ev-body[data-tab="cumpay"] { max-width: none; align-items: stretch; gap: 0; }
#ui .ev-wallet { margin-left: auto; padding-right: 4px; display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: #8fc6ff; font-variant-numeric: tabular-nums; white-space: nowrap; }
#ui .ev-wallet::before { content: ""; width: 18px; height: 18px; background: url(features/assets/hud/diamond.png) center / contain no-repeat; }
#ui .ev-wallet.cp-hit { animation: ps-bag .3s ease-out; }
#ui .cp { flex: 1; min-height: 0; display: flex; flex-direction: column; }
#ui .cp-mask { display: inline-block; flex: none; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
#ui .cp-dot { position: absolute; right: -1px; top: -2px; width: 7px; height: 7px; border-radius: 50%; background: #e5534b; box-shadow: 0 0 4px rgba(229, 83, 75, .8); }
#ui .cp .btn { position: relative; flex: none; }
/* 위 줄 = 단계 고리 52 + [시즌 꼬리표 · 남은 시간 · 다음 칸 금액] + 15칸 마디 줄 + 오늘의 매일 보상 카드 */
#ui .cp-top { display: flex; align-items: center; gap: 14px; padding: 0 4px; }
#ui .cp-lv { position: relative; flex: none; width: 52px; height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; font-size: 22px; font-weight: 900; line-height: 1; color: #fbf6e8;
  background: radial-gradient(circle at 50% 40%, #3a3d42, #1d2023); box-shadow: inset 0 0 0 1.5px #c9a24f, inset 0 0 0 4px rgba(0, 0, 0, .35), 0 0 0 3px rgba(0, 0, 0, .4), 0 0 0 4px rgba(201, 162, 79, .55), 0 0 14px rgba(240, 213, 140, .2); }
#ui .cp-lv small { font-size: 9px; font-weight: 800; color: #e8c979; margin-top: 2px; }
#ui .cp-lv.cp-lvpop { animation: ps-up .6s ease-out; }
#ui .cp-prog { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
#ui .cp-prog-t { display: flex; align-items: center; gap: 8px; min-width: 0; }
#ui .cp-keep { height: 20px; padding: 0 9px; border-radius: 10px; font-size: 11px; font-weight: 900; line-height: 20px; white-space: nowrap; color: #f0d58c; background: rgba(232, 201, 121, .16); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .5); }
#ui .cp-clock { font-size: 12px; font-weight: 800; color: #e8e6df; font-variant-numeric: tabular-nums; white-space: nowrap; }
#ui .cp-clock::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 4px; vertical-align: -2px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #e8e6df;
  background: linear-gradient(#e8e6df, #e8e6df) 5.25px 2.5px / 1.5px 4px no-repeat, linear-gradient(#e8e6df, #e8e6df) 5.25px 5.25px / 3.5px 1.5px no-repeat; }
#ui .cp-amt { margin-left: auto; font-size: 13px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
#ui .cp-amt b, #ui .cp-note b { color: #f0d58c; font-weight: 900; }
#ui .cp-ms { position: relative; height: 34px; margin: 0 10px 0 8px; }
#ui .cp-ms-bar { position: absolute; left: 0; right: 0; top: 8px; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .cp-ms-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: linear-gradient(90deg, #aeb6bd 0, #d6dadd 20%, #c9a24f 24%, #f6e7b8); box-shadow: 0 0 6px rgba(240, 213, 140, .45); transition: width .6s cubic-bezier(.2, .8, .3, 1); }
#ui .cp-ms-bar u { position: absolute; left: 0; top: -4px; height: 13px; border-right: 1px dashed rgba(255, 255, 255, .35); }
#ui .cp-nd { position: absolute; top: 0; width: 0; display: flex; flex-direction: column; align-items: center; }
#ui .cp-nd i { flex: none; width: 15px; height: 15px; margin-top: 3px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 8.5px; font-weight: 900; color: #8b8f93; background: #1d2023; box-shadow: inset 0 0 0 1.5px #5a5e63; }
#ui .cp-nd.got i { color: #2b2210; background: radial-gradient(circle at 50% 40%, #f6e7b8, #c9a24f); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); }
#ui .cp-nd.s1.got i { background: radial-gradient(circle at 50% 40%, #eef1f3, #a9b1b8); color: #23272b; }
#ui .cp-nd.cur i { width: 21px; height: 21px; margin-top: 0; font-size: 11px; color: #2b2210; background: radial-gradient(circle at 50% 40%, #fff6d8, #d9b766); box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 0 0 3.5px #f0d58c, 0 0 12px 2px rgba(240, 213, 140, .75); animation: cp-node 1.047s ease-in-out infinite alternate; }
@keyframes cp-node { from { box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 0 0 3.5px #f0d58c, 0 0 6px 0 rgba(240, 213, 140, .4); } to { box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 0 0 3.5px #f0d58c, 0 0 14px 3px rgba(240, 213, 140, .85); } }
#ui .cp-nd.fin i { width: 19px; height: 19px; margin-top: 1px; color: #f6e7b8; box-shadow: inset 0 0 0 1.5px #c9a24f, 0 0 8px rgba(226, 88, 58, .55); background: radial-gradient(circle at 50% 40%, #5a2a1e, #24130f); }
#ui .cp-nd s { margin-top: 2px; text-decoration: none; font-size: 9px; font-weight: 800; color: #8b8f93; white-space: nowrap; font-variant-numeric: tabular-nums; }
#ui .cp-nd.got s { color: #cfc7b1; } #ui .cp-nd.cur s { margin-top: 1px; color: #f0d58c; font-weight: 900; } #ui .cp-nd.fin s { color: #f0b49a; }
#ui .cp-today { position: relative; flex: none; height: 56px; padding: 0 8px 0 12px; display: flex; align-items: center; gap: 8px; border-radius: 10px; background: linear-gradient(180deg, rgba(255, 238, 190, .16), rgba(255, 238, 190, .05)); box-shadow: inset 0 0 0 1.5px rgba(240, 213, 140, .7), 0 0 12px rgba(240, 213, 140, .18); }
#ui .cp-today.off { opacity: .6; filter: saturate(.6); }
#ui .cp-today-l { display: flex; flex-direction: column; gap: 3px; font-size: 11px; font-weight: 900; color: #f0d58c; white-space: nowrap; }
#ui .cp-today-l small { font-size: 10px; font-weight: 700; color: #e8e6df; }
#ui .cp-today .ev-slots { --s: 32px; gap: 3px; } #ui .cp-today .ev-slot { --s: inherit; }
/* 칸 판 = 두 상자: 1~4단계(첫 회만, 키 큰 칸) | 5~15단계(첫 회 · 시즌 혜택 · 매일 세 줄, 가로로 끌어 넘김 + 15단계 열 고정) */
#ui .cp-groups { margin-top: 8px; display: flex; gap: 8px; min-width: 0; }
#ui .cp-g2 { flex: 1; min-width: 0; }
#ui .cp-gt { height: 20px; display: flex; align-items: center; gap: 6px; padding: 0 2px 3px; font-size: 11.5px; font-weight: 900; color: #e8e6df; white-space: nowrap; }
#ui .cp-gt i { font-style: normal; height: 16px; padding: 0 6px; border-radius: 8px; font-size: 10px; line-height: 16px; color: #1b1d20; background: #c9cdd2; }
#ui .cp-g2 .cp-gt i { background: linear-gradient(#f6e7b8, #d9b766); color: #3a2a08; }
#ui .cp-gt em { font-style: normal; font-size: 10.5px; font-weight: 700; color: #9a9d98; overflow: hidden; text-overflow: ellipsis; }
#ui .cp-box { display: flex; border-radius: 10px; overflow: hidden; background: #131417; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 6px 18px rgba(0, 0, 0, .45); }
#ui .cp-g1 .cp-box { box-shadow: 0 0 0 1px rgba(200, 210, 220, .35), 0 6px 18px rgba(0, 0, 0, .45); }
#ui .cp-g2 .cp-box { box-shadow: 0 0 0 1.5px rgba(201, 162, 79, .7), 0 0 14px rgba(240, 213, 140, .12), 0 6px 18px rgba(0, 0, 0, .45); }
#ui .cp-cols { display: flex; }
#ui .cp-lanes { flex: none; width: 62px; display: flex; flex-direction: column; padding-top: 22px; background: #0f1012; }
#ui .cp-lanes b { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 900; color: #e8e6df; text-align: center; line-height: 1.1; }
#ui .cp-lanes b.r1 { height: 84px; } #ui .cp-lanes b.r2 { height: 66px; gap: 0; align-items: stretch; padding: 0 5px; } #ui .cp-lanes b.r3 { height: 80px; color: #f0d58c; }
#ui .cp-lanes b + b { border-top: 1px dashed rgba(255, 255, 255, .14); }
#ui .cp-lane-i { position: relative; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
#ui .cp-lane-i .cp-mask { width: 15px; height: 15px; }
#ui .r3 .cp-lane-i { box-shadow: inset 0 0 0 1.5px #c9a24f, 0 0 10px rgba(240, 213, 140, .25); background: radial-gradient(circle at 50% 40%, rgba(240, 213, 140, .22), rgba(240, 213, 140, .04)); }
#ui .cp-ln { display: flex; align-items: center; gap: 3px; height: 12px; font-size: 9.5px; font-weight: 800; color: #9fd8ff; white-space: nowrap; }
#ui .cp-ln .cp-mask { width: 11px; height: 11px; }
/* 열 · 머리 · 칸 바탕 = 17-pass .ev-col · .ev-at · .ev-cell. 여기는 높이(첫 회 84 · 혜택 66(11-09 물약 회복 줄) · 매일 80)와 줄 색만 */
#ui .cp .ev-col { flex: 1 0 76px; min-width: 76px; }
#ui .cp-g1 .ev-col { flex: none; width: 62px; min-width: 62px; }
#ui .cp .ev-at { height: 22px; gap: 3px; font-variant-numeric: tabular-nums; }
#ui .cp .ev-at i { font-style: normal; font-size: 9px; width: 14px; height: 14px; line-height: 14px; text-align: center; border-radius: 50%; color: #f2f0e7; background: #6d6a62; }
#ui .cp .ev-col.reach .ev-at i { background: #2c2a26; } #ui .cp .ev-col.cur .ev-at i { background: #5a3d0c; }
#ui .cp-g1 .ev-at { background: #b9bfc5; }
#ui .cp .ev-cell { box-sizing: border-box; }
#ui .cp .cp-f { height: 84px; }
#ui .cp-g1 .cp-f { height: 230px; background: linear-gradient(180deg, #dfe3e6, #cdd3d8); }
#ui .cp .cp-p { height: 66px; background: #d7e4ec; border-top: 1px dashed rgba(0, 0, 0, .2); flex-direction: column; align-items: stretch; justify-content: center; gap: 1px; padding: 0 7px; }
#ui .cp .cp-d { height: 80px; background: linear-gradient(180deg, #ebe3cf, #e1d5b8); border-top: 1px dashed rgba(0, 0, 0, .2); }
/* 줄 높이 15 → 12(scrollmerge-1114: 5번째 줄 "주문서 합성 +n" 이 같은 66px 칸에 들어가게) */
#ui .cp-pk { display: flex; align-items: center; gap: 3px; height: 12px; font-size: 11px; font-weight: 900; color: #23313a; font-variant-numeric: tabular-nums; white-space: nowrap; }
#ui .cp-pk .cp-mask { width: 12px; height: 12px; color: #2f5d78; }
#ui .cp-pk span { margin-left: auto; }
#ui .cp .ev-col.cur .cp-f { background: #efdcb6; }
#ui .cp .cp-p.now { background: #e3f1fa; box-shadow: inset 0 0 0 2px #3d8eb9, inset 0 0 10px rgba(61, 142, 185, .35); }   /* 등급색 아님: 지금 칸 파랑 */
#ui .cp .cp-d.now { background: linear-gradient(180deg, #fbf0d2, #f2dfae); box-shadow: inset 0 0 0 2px #c9a24f, inset 0 0 14px rgba(217, 154, 43, .35); }
#ui .cp .ev-col.last { flex: none; width: 96px; min-width: 96px; }
#ui .cp .ev-col.last .cp-f { background: linear-gradient(180deg, #f6e2c8, #efd2b4); } #ui .cp .ev-col.last .cp-p { background: #eaf2f6; } #ui .cp .ev-col.last .cp-d { background: #f7efda; }
#ui .cp-tag { position: absolute; z-index: 2; left: 50%; bottom: 3px; transform: translateX(-50%); padding: 1px 6px; border-radius: 7px; font-style: normal; font-size: 9px; font-weight: 900; line-height: 12px; white-space: nowrap; color: #fbf6e8; background: #6b5320; }
#ui .cp-tag.now { bottom: auto; top: -7px; background: #b3862c; }
#ui .cp-g1 .cp-tag { bottom: 8px; background: #4b5258; }
#ui .cp-pill { position: absolute; z-index: 3; left: 50%; bottom: 5px; transform: translateX(-50%); height: 18px; padding: 0 10px; border-radius: 9px; font-style: normal; font-size: 10.5px; font-weight: 900; line-height: 18px; color: #fff; white-space: nowrap; background: linear-gradient(#83c3bf, #548f8c); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
#ui .cp-pill .cp-dot { right: -2px; top: -3px; }
#ui .cp .cp-f.can { cursor: pointer; } #ui .cp .cp-f.can .cp-slots { margin-top: -12px; }
#ui .cp .cp-f.got .ev-slots, #ui .cp .cp-p.past .ev-slots, #ui .cp .cp-d.past .ev-slots, #ui .cp .cp-p.past .cp-pk { opacity: .42; filter: grayscale(.5); }
#ui .cp .cp-p.lock .cp-pk { opacity: .75; } #ui .cp .cp-d.lock .ev-slots { filter: brightness(.85) saturate(.7); }
#ui .cp .cp-p.lock::before, #ui .cp .cp-d.lock::before { display: none; }
#ui .cp .cp-f.lock::before { content: ""; position: absolute; right: 4px; top: 4px; z-index: 2; width: 14px; height: 14px; border-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
  background: #2a2b2f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 5.2V3.8a2 2 0 0 1 4 0v1.4' fill='none' stroke='white' stroke-width='1.4'/%3E%3Crect x='2.5' y='5' width='7' height='5.5' rx='1.2' fill='white'/%3E%3C/svg%3E") center / 9px no-repeat; }
/* 칸 안 아이템 칸 크기: 첫 회 34 · 매일 31(두 줄) · 1~4단계 50(세로) · 전설 외형 42 + 아래 26 */
#ui .cp .cp-slots { --s: 34px; flex-wrap: wrap; align-content: center; gap: 3px; } #ui .cp .cp-slots .ev-slot { --s: inherit; }
#ui .cp .cp-slots .ev-n { font-size: 10px; right: 1px; }
#ui .cp-g1 .cp-slots { --s: 50px; flex-direction: column; gap: 7px; margin-top: -14px; }
#ui .cp-g1 .cp-slots .ev-n { font-size: 13px; }
#ui .cp .cp-d .cp-slots { --s: 31px; width: 66px; } #ui .cp .ev-col.last .cp-d .cp-slots { width: 90px; }
#ui .cp .cp-f.fx { flex-direction: column; gap: 4px; } #ui .cp .cp-f.fx .cp-slots { --s: 26px; } #ui .cp .cp-f.fx .cp-slots.big { --s: 42px; }
#ui .cp-fxw { position: relative; display: flex; flex-direction: column; align-items: center; }
#ui .cp-tag.leg { bottom: -5px; background: linear-gradient(var(--gr-legend), color-mix(in srgb, var(--gr-legend) 70%, #000)); box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
/* 받는 순간: 칸 빛 + 훑는 빛(패스 ps-got · ps-sweep) */
#ui .cp .cp-f.cp-claimed { overflow: hidden; }
#ui .cp .cp-f.cp-claimed .ev-slot { animation: ps-got .6s ease-out; }
#ui .cp .cp-f.cp-claimed::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgba(255, 246, 216, .92) 50%, transparent 70%); transform: translateX(-110%); animation: ps-sweep .55s ease-out forwards; }
.cp-fly { position: fixed; z-index: 2147483000; pointer-events: none; object-fit: contain; filter: drop-shadow(0 0 6px rgba(255, 228, 160, .95)); will-change: transform; }
/* 발 줄 = [?] + 시즌 누적 · 단계 + (지난 시즌 받을 칸) · 오른쪽 [모두 받기][상점 가기] */
#ui .cp-foot { margin-top: auto; padding: 6px 2px 0; display: flex; align-items: center; gap: 8px; }
#ui .cp-q { flex: none; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; color: #9a9d98; background: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
#ui .cp-note { font-size: 12px; font-weight: 700; color: #9a9d98; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .cp-carry { font-size: 11px; font-weight: 800; color: #f0d58c; white-space: nowrap; }
#ui .cp-r { margin-left: auto; display: flex; gap: 8px; }
#ui .cp-r .btn { height: 30px; padding: 0 18px; font-size: 13px; }
/* 매일 첫 접속 수령 판 — 흐린 장면 위 단독(스타레일 일일 보급 결), 눌러서 받기 */
#ui .cp-dl { position: absolute; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #f2f0e7;
  background: radial-gradient(ellipse at 50% 46%, rgba(30, 26, 18, .55), rgba(8, 9, 11, .88) 70%); animation: fx-fade .28s ease-out both; cursor: pointer; pointer-events: auto; }   /* 11-08 #ui 는 pointer-events none — 없으면 탭이 아래로 빠져 매일 보상 판이 안 닫힌다 */
#ui .cp-dl.out { opacity: 0; transition: opacity .25s; }
#ui .cp-dl .cp-lv { width: 64px; height: 64px; font-size: 26px; animation: ps-up .6s ease-out both; }
#ui .cp-dl-band { position: relative; width: 100%; padding: 10px 0 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; background: linear-gradient(90deg, transparent, rgba(10, 11, 13, .8) 25%, rgba(10, 11, 13, .8) 75%, transparent); }
#ui .cp-dl-band::before, #ui .cp-dl-band::after, #ui .cp-band::before, #ui .cp-band::after { content: ""; position: absolute; left: 22%; right: 22%; height: 1px; background: linear-gradient(90deg, transparent, #f0d58c, transparent); box-shadow: 0 0 6px rgba(240, 213, 140, .8); }
#ui .cp-dl-band::before, #ui .cp-band::before { top: 0; } #ui .cp-dl-band::after, #ui .cp-band::after { bottom: 0; }
#ui .cp-dl h3, #ui .cp-band h3 { margin: 0; font-family: "BossTitle", "QuestTitle", "GwTitle", var(--ui-font, GFUIFont), sans-serif; font-size: 24px; font-weight: 700; letter-spacing: 3px; color: #fbf3df; text-shadow: 0 0 10px rgba(255, 236, 190, .7), 0 2px 3px #000; }
#ui .cp-dl .sub { font-size: 12px; font-weight: 800; color: #f0d58c; }
#ui .cp-dl-slots { --s: 56px; gap: 10px; } #ui .cp-dl-slots .ev-slot { --s: inherit; animation: fx-rise .42s cubic-bezier(.2, .8, .3, 1.2) both; }
#ui .cp-dl-slots .ev-slot:nth-child(2) { animation-delay: .07s; } #ui .cp-dl-slots .ev-slot:nth-child(3) { animation-delay: .14s; }
#ui .cp-chips { display: flex; gap: 8px; }
#ui .cp-chips span { height: 24px; padding: 0 10px; display: flex; align-items: center; gap: 5px; border-radius: 12px; font-size: 11.5px; font-weight: 900; color: #cfe9ff; background: rgba(61, 142, 185, .18); box-shadow: inset 0 0 0 1px rgba(90, 169, 214, .55); white-space: nowrap; }
#ui .cp-chips .cp-mask { width: 13px; height: 13px; }
#ui .cp-tap { margin-top: 6px; font-size: 12px; font-weight: 800; color: rgba(242, 240, 231, .7); letter-spacing: 1px; animation: ev-glow 1.047s ease-in-out infinite alternate; }
#ui .cp-dl.taking .cp-tap { visibility: hidden; }
/* 단계 달성 띠(패스 단계 오름 띠 ps-band 결) */
#ui .cp-band { position: absolute; z-index: 61; left: 0; right: 0; top: 38%; height: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(10, 11, 13, .82) 22%, rgba(10, 11, 13, .82) 78%, transparent); animation: ps-band 2.6s ease-out both; }
#ui .cp-band h3 { font-size: 26px; animation: ps-band-t 2.6s ease-out both; }
#ui .cp-band p { margin: 0; font-size: 12px; font-weight: 800; color: #f0d58c; }
/* 결제 직후 진행 알림(3초) */
#ui .cp-toast { position: absolute; z-index: 62; left: 50%; bottom: 62px; transform: translateX(-50%); width: 330px; padding: 10px 14px 12px; border-radius: 12px; display: flex; flex-direction: column; gap: 7px; color: #f2f0e7;
  background: linear-gradient(#25292b, #1b1e20); box-shadow: 0 0 0 1.5px rgba(8, 9, 10, .85), inset 0 0 0 1px rgba(200, 170, 110, .55), 0 14px 32px rgba(0, 0, 0, .6); animation: fx-pop .28s ease-out both; }
#ui .cp-toast.out { opacity: 0; transition: opacity .25s; }
#ui .cp-toast .tt { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 900; }
#ui .cp-toast .tt em { margin-left: auto; font-style: normal; color: #8fe0a0; font-variant-numeric: tabular-nums; }
#ui .cp-bar { position: relative; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; }
#ui .cp-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: linear-gradient(90deg, #c9a24f, #f6e7b8); box-shadow: 0 0 6px rgba(240, 213, 140, .5); animation: cp-fill .8s cubic-bezier(.2, .8, .3, 1) both; transform-origin: left; }
@keyframes cp-fill { from { transform: scaleX(0); } }
#ui .cp-toast .tb { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; color: #e8e6df; white-space: nowrap; }
#ui .cp-toast .tb b { color: #f0d58c; } #ui .cp-toast .tb .btn { margin-left: auto; flex: none; height: 24px; padding: 0 12px; font-size: 12px; }
/* 상점 탭 줄 끝 누적 알약 → 누르면 이벤트 창 [누적 결제] */
#ui .cp-chip { position: relative; flex: none; margin-left: auto; height: 30px; padding: 0 12px 0 4px; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 15px; color: #f2f0e7; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .55); white-space: nowrap; align-self: center; }
#ui .popup.full.shop > .cp-chip { position: absolute; top: 60px; right: 18px; margin: 0; }   /* 상점 탭 줄 오른쪽 끝(시안 = 탭과 한 줄). 창이 세로 flex 라 형제로 넣으면 줄을 하나 더 먹어 아래 판이 밀린다 — 머리 띠 46 + 여백 12 + (탭 34 − 알약 30)/2 */
/* 탭 줄은 알약 앞에서 멈춘다(--cp-w = 알약 폭 + 틈 8, cumpay.js fitTabs — 알약이 없으면 0). 탭이 그 폭을 넘으면(PC 16:9 영어 · 결제한 계정의 [First Purchase] 탭) 탭 줄만 가로 끌기:
   탭 크기 · 글자는 그대로(누름 칸 30 · hq-ui 탭 줄 26~35). 스크롤 칸은 안쪽을 자르므로 고른 주력 탭의 빛(8)이 안 잘리게 사방 8 을 더 주고 그만큼 당긴다(바탕 알약은 탭 자리에만) · 오른쪽 끝은 더 있다는 표시로 흐리게 */
#ui .popup.full.shop > .shop-tabs { max-width: calc(100% - var(--cp-w, 0px)); }
#ui .popup.full.shop > .shop-tabs.cp-scroll { max-width: calc(100% - var(--cp-w, 0px) + 8px); height: 50px; margin: -8px -8px 2px; padding: 10px; border-radius: 25px; background-clip: content-box; box-shadow: none;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior: contain; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 20px), transparent); }
#ui .cp-chip .mini { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; background: radial-gradient(circle at 50% 40%, #3a3d42, #1d2023); box-shadow: inset 0 0 0 1.5px #c9a24f; }
#ui .cp-chip .cbar { position: relative; width: 70px; height: 4px; border-radius: 2px; background: rgba(0, 0, 0, .55); overflow: hidden; }
#ui .cp-chip .cbar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #c9a24f, #f6e7b8); }
#ui .cp-chip > span:last-of-type { font-size: 11.5px; font-weight: 800; color: #f0d58c; }
.gfx-low #ui .cp-nd.cur i, .gfx-low #ui .cp-tap, .gfx-low #ui .cp .cp-f.cp-claimed .ev-slot { animation: none; }
.gfx-low .cp-fly { filter: none; }
#ui .popup.offr .offr-cp { font-size: 11px; font-weight: 800; color: #f0d58c; animation: fx-rise .3s ease-out both; }   /* 오프라인 받기 창 시즌 덤 줄(features/offline offline.js after) */

/* gf:js-pack prototype/Spikes/rt-battle/features/adpoint/adpoint.css */
/* 월정액 퀘스트 포인트 교환소(옛 이름 광고 제거 포인트 — features/adpoint · adpoint-1117 gachabal-1117 DEV_SPEC §2).
   틀 = 상점 [한정] 왼쪽 세로 탭 [포인트](06-shop .pk-sub 그대로) + 오른쪽 판(#adp-pane = [패키지] 세로 타일 판 .shop-grid.pk.pkg 그대로, 4열):
     머리 배너(가로 한 줄 84) = 광고 제거 그림 · 제목 + [?] · 보유 P(금 숫자) · 이번 기간 게이지 20칸(뽑기권 1장 = 1칸) · 남은 날 꼬리표.
     교환 카드 = 06 [패키지] 타일(이름 · 등급색 무대 + 빛살 · 꼬리표 알약 · 글자 폭 금 값 알약 28).
   크기(GUI 450 · hq-ui 메이플 키우기 실측): 누름 칸 34 이상 · 알약 26~28 · 제목 15 · 라벨 9 이상 · 칸 그림 80(06 타일과 같은 값).
   색 = 06 상점 값만: 금 값 알약 #f0d58a→#c99a3c · 금 숫자 #f0d58c · 붉은 값 #ff8a6a(06 card-time) · 초록 #a8ec7e(06 card-extra 좋아짐) · 청록 #26a08f(06 t-teal = 포인트 동전 색).
   연출: 탭 고를 때 배너 · 카드 순차(fx-card-in — 스크롤 칸 안이라 1 을 넘지 않음) · 게이지 칸 차오름 · 차 있는 칸 훑는 빛 · 카드 빛살 · 값 알약 누름. */

/* ---- 세로 탭 [포인트] ---- */
#ui .lm-subs .pk-sub[hidden] { display: none; }

/* ---- 판: 목록 칸(#shop-grid) 자리를 그대로 덮는다(목록은 보이지 않게 두어 17q 가 계속 그려도 자리 · 스크롤이 흔들리지 않음) ---- */
#ui .shop-grid.adp-hide { visibility: hidden; }
#ui .adp-pane { position: absolute; inset: 0; display: none; }
#ui .adp-pane.show { display: grid; }
#ui .shop-grid.pk.pkg.adp-pane { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 84px; grid-auto-rows: 212px; }

/* ---- 머리 배너 ---- */
#ui .adp-ban { --ac: #26a08f; grid-column: 1 / -1; position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0 14px 0 10px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(100deg, color-mix(in srgb, var(--ac) 34%, #1d2124), #181b20 46%, #15181d); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px rgba(240, 213, 140, .35); }
#ui .adp-ban::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;   /* 06 카드 훑는 빛과 같은 결 */
  background: linear-gradient(105deg, transparent 15%, rgba(255, 255, 255, .12) 50%, transparent 85%); transform: translateX(-120%); animation: shop-card-sheen 5.2s ease-in-out infinite; }
#ui .adp-emb { position: relative; flex: none; width: 64px; height: 64px; }
#ui .adp-emb img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .55)); }
#ui .adp-emb-halo { position: absolute; inset: -6px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ac) 45%, transparent) 0, transparent 66%); animation: shop-halo 2.2s ease-in-out infinite; }
#ui .adp-head { flex: none; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px; min-width: 0; max-width: 40%; }
/* 그림 두 개 나란히: 광고 제거 방패 64 + 포인트 동전 40(보유 P 아이콘과 같은 그림, 06 칸 그림 40) — 동전이 방패 오른쪽 아래에 조금 겹친다 */
#ui .adp-embs { position: relative; flex: none; display: flex; align-items: flex-end; }
#ui .adp-emb2 { position: relative; flex: none; width: 40px; height: 40px; margin: 0 0 4px -14px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
/* "월정액 포인트 퀘스트 해금" 알약: 높이 18 · 글자 10(라벨 9 이상) · 청록 = 포인트 동전 색(--ac), 해금된 동안(active)은 초록 테 */
#ui .adp-unl { flex: none; max-width: 100%; height: 18px; padding: 0 8px; border-radius: 9px; box-sizing: border-box; font-size: 10px; font-weight: 900; line-height: 18px; color: #dff5ef; white-space: nowrap; overflow: hidden;
  background: color-mix(in srgb, var(--ac) 38%, rgba(0, 0, 0, .35)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 70%, transparent); text-shadow: 0 1px 1px #000; }
#ui .adp-unl.on { color: #a8ec7e; box-shadow: inset 0 0 0 1px rgba(168, 236, 126, .6); }
#ui .adp-ttl { display: flex; align-items: center; gap: 4px; min-width: 0; }
#ui .adp-ttl b { min-width: 0; font-size: 15px; font-weight: 900; line-height: 20px; color: #f2f0e7; white-space: nowrap; overflow: hidden; text-shadow: 0 1px 2px #000; }
/* [?] = 그림 20 원 · 누름 칸 34(투명 여유) */
#ui .adp-q { position: relative; flex: none; width: 20px; height: 20px; margin: -7px -7px -7px 0; padding: 0; border: 7px solid transparent; box-sizing: content-box; border-radius: 50%; background: rgba(255, 255, 255, .14) padding-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); color: #f2f0e7; font-size: 12px; font-weight: 900; line-height: 20px; text-align: center; transition: transform .08s ease; }
#ui .adp-q:active { transform: scale(.88); }
#ui .adp-bal { display: flex; align-items: center; gap: 5px; height: 24px; }
#ui .adp-bal img { flex: none; width: 24px; height: 24px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
#ui .adp-bal b { font-size: 20px; font-weight: 900; line-height: 24px; color: #f0d58c; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px #000; white-space: nowrap; }
/* 기간 게이지 */
#ui .adp-prog { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
#ui .adp-pt { display: flex; align-items: center; gap: 8px; min-width: 0; height: 22px; white-space: nowrap; }
#ui .adp-pl { min-width: 0; font-size: 11.5px; font-weight: 800; color: var(--ink-soft, #9a9d98); overflow: hidden; }
#ui .adp-pn { font-size: 11.5px; font-weight: 800; color: var(--ink-soft, #9a9d98); font-variant-numeric: tabular-nums; }
#ui .adp-pn b { font-size: 14px; font-weight: 900; color: #f0d58c; }
#ui .adp-chip { margin-left: auto; flex: none; height: 20px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 900; line-height: 20px; color: #ff8a6a; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .adp-chip.end { color: #c9d0d6; }
#ui .adp-segs { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 2px; height: 12px; padding: 2px; border-radius: 4px; background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .adp-segs i { position: relative; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
#ui .adp-segs i.full { background: linear-gradient(#f6e7b8, #c9a24f); box-shadow: 0 0 4px rgba(240, 213, 140, .45); }
#ui .adp-segs i.part { background: linear-gradient(90deg, #c9a24f 0 var(--f), rgba(255, 255, 255, .08) var(--f)); }
#ui .adp-segs.full i.full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); background-size: 300% 100%; animation: adp-sheen 2.4s linear infinite; }
/* 산 적 없음 · 기간 끝 = 한 줄 + 금 알약 */
#ui .adp-hook { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
#ui .adp-hook p { flex: 1; min-width: 0; margin: 0; font-size: 12.5px; font-weight: 900; line-height: 17px; color: #a8ec7e; word-break: keep-all; text-shadow: 0 1px 2px #000; }
#ui .adp-gold { flex: none; height: 28px; padding: 0 16px; border: 0; border-radius: 999px; font-size: 12.5px; font-weight: 900; line-height: 28px; white-space: nowrap; color: #2b2012;
  background: linear-gradient(#f0d58a, #c99a3c); box-shadow: 0 2px 4px rgba(0, 0, 0, .45), inset 0 1px rgba(255, 246, 214, .6); transition: transform .08s ease; }
#ui .adp-gold:active { transform: scale(.92); }

/* ---- 교환 카드(06 [패키지] 타일 위에 차이만) ---- */
#ui .adp-pane .shop-card.pack .card-name { white-space: nowrap; }
#ui .adp-tag { left: 0; right: 0; top: 136px; width: fit-content; max-width: 100%; height: 22px; margin: 0 auto; padding: 0 10px; box-sizing: border-box; border-radius: 999px; font-size: 11px; font-weight: 900; line-height: 22px;
  white-space: nowrap; overflow: hidden; color: #e8c979; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .adp-tag.own { color: #c9d0d6; }
#ui .adp-tag.end { color: #ff8a6a; }
#ui .adp-pane .shop-card.pack .card-price { min-width: 88px; }
#ui .adp-pane .shop-card .price-cur { width: 18px; height: 18px; margin-top: -9px; left: 8px; }
#ui .adp-pane .shop-card .price-v { padding-left: 14px; font-variant-numeric: tabular-nums; }
#ui .adp-pane .shop-card.short .card-price { color: #ff8a6a; background: linear-gradient(#3a3631, #24221f); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .adp-pane .shop-card.off .card-price { filter: grayscale(1); }
#ui .adp-pane .shop-card.busy { pointer-events: none; opacity: .7; }

/* ---- 탭 고를 때 한 번: 배너 → 카드 순차 ---- */
#ui .adp-pane.adp-in > * { animation: fx-card-in .3s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, -1) * 50ms + 50ms); }
#ui .adp-pane.adp-in .adp-segs i.full { animation: adp-fill .35s cubic-bezier(.2, .8, .3, 1) both; }
#ui .adp-pane.adp-in .adp-segs i:nth-child(n+5) { animation-delay: .08s; } #ui .adp-pane.adp-in .adp-segs i:nth-child(n+10) { animation-delay: .16s; } #ui .adp-pane.adp-in .adp-segs i:nth-child(n+15) { animation-delay: .24s; }

/* ---- [?] 얻는 법 = 작은 어두운 창(18-popup-dark) ---- */
#ui .dim.adp-help-dim { z-index: 15; }   /* 상점(10) 위 · 확인(ask 20) 아래 */
#ui .popup.adp-help { width: 330px; max-width: calc(100% - 8px); }
#ui .adp-help-body { display: flex; flex-direction: column; gap: 10px; }
#ui .adp-src { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto 6px; align-items: baseline; gap: 4px 8px; }
#ui .adp-sl { font-size: 12px; font-weight: 900; white-space: nowrap; }
#ui .adp-se { min-width: 0; font-size: 10.5px; font-weight: 800; color: var(--ink-soft); white-space: nowrap; overflow: hidden; }
#ui .adp-sn { font-size: 11px; font-weight: 800; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
#ui .adp-sn b { color: #f0d58c; }
#ui .adp-bar { grid-column: 1 / -1; position: relative; display: block; height: 6px; border-radius: 3px; overflow: hidden; background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
#ui .adp-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: linear-gradient(90deg, #c9a24f, #f6e7b8); transition: width .6s cubic-bezier(.2, .8, .3, 1); }
#ui .adp-keep { margin: 2px 0 0; font-size: 11px; font-weight: 800; line-height: 15px; color: #a8ec7e; }

/* ---- 수량 교환 창 = 작은 어두운 창(18-popup-dark) 340 · 줄 28 · 알약 28 · 단추 틈 8 이상(hq-ui 작은 창 값) ---- */
#ui .dim.adp-qty-dim { z-index: 15; }   /* 상점(10) 위 · 받음 창 아래 */
#ui .popup.adp-qty { width: 340px; max-width: calc(100% - 8px); display: flex; flex-direction: column; gap: 12px; }
#ui .popup.adp-qty .popup-head { margin-bottom: 0; }
#ui .popup.adp-qty h2 { font-size: 15px; }
#ui .adp-qh { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; }
/* 물품 칸 = 보상 칸 결(등급색 둥근 네모 · 그림이 칸을 채움 · 수량 오른쪽 아래 흰 숫자) */
#ui .adp-qcell { position: relative; flex: none; width: 56px; height: 56px; border-radius: 9px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--gc) 45%, #1d2124), color-mix(in srgb, var(--gc) 15%, #121517)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gc) 75%, #fff); }
#ui .adp-qhalo { position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--gc) 40%, transparent), transparent 70%); animation: shop-halo 2.2s ease-in-out infinite; }
#ui .adp-qcell img { position: absolute; left: 5px; top: 5px; width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); }
#ui .adp-qx { position: absolute; right: 3px; bottom: 1px; font-size: 12px; font-weight: 900; line-height: 14px; color: #fff; font-variant-numeric: tabular-nums;
  text-shadow: 1.2px 0 #111, -1.2px 0 #111, 0 1.2px #111, 0 -1.2px #111, 1px 1px #111, -1px 1px #111, 1px -1px #111, -1px -1px #111; }
#ui .adp-qt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#ui .adp-qn { font-size: 14px; font-weight: 900; line-height: 18px; white-space: nowrap; overflow: hidden; }
#ui .adp-qw { font-size: 11px; font-weight: 900; line-height: 14px; color: #e8c979; }
#ui .adp-qw[hidden] { display: none; }
/* 줄 = 어두운 알약 줄 28: 그림 · 이름 · 전 ▶ 뒤(오른쪽) */
#ui .adp-rows { display: flex; flex-direction: column; gap: 6px; }
#ui .adp-row { display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px 0 8px; border-radius: 999px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
#ui .adp-row .ri { flex: none; width: 20px; height: 20px; object-fit: contain; }
#ui .adp-row .rl { flex: 1; min-width: 0; font-size: 12px; font-weight: 800; color: var(--ink-soft); overflow: hidden; }
#ui .adp-row b { display: inline-block; font-size: 13.5px; font-weight: 900; color: #f2f0e7; }
#ui .adp-row .rf { color: #c9c6bc; }
#ui .adp-row .ra { flex: none; width: 0; height: 0; border: 5px solid transparent; border-left: 7px solid #9a9d98; border-right: 0; }
#ui .adp-row .rt { min-width: 46px; text-align: right; }
#ui .adp-row .rt.up { color: #a8ec7e; }   /* 늘어남 = 초록(06 card-extra 좋아짐) */
#ui .adp-row.r-need .rt { color: #f0d58c; }
#ui .adp-row .rt.low { color: #ff8a6a; }
/* 수량 줄: [초기화][−] n [+][최대] — 알약 28 · 틈 8 */
#ui .adp-step { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
#ui .adp-step .sb { flex: none; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  color: #f2f0e7; font-size: 16px; font-weight: 900; line-height: 28px; text-align: center; touch-action: manipulation; user-select: none; transition: transform .06s ease, opacity .15s; }
#ui .adp-step .sb.wide { width: auto; padding: 0 12px; font-size: 12px; }
#ui .adp-step .sb.mx { background: color-mix(in srgb, #26a08f 32%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, #26a08f 80%, #fff); }   /* 최대 = 청록(결정) */
#ui .adp-step .sb:active { transform: scale(.88); }
#ui .adp-step .sb.off { opacity: .35; pointer-events: none; }
#ui .adp-qv { flex: none; min-width: 64px; height: 28px; padding: 0 8px; box-sizing: border-box; border-radius: 8px; background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  font-size: 16px; font-weight: 900; line-height: 28px; text-align: center; color: #ffe7a6; font-variant-numeric: tabular-nums; }
#ui .adp-qfoot { display: flex; justify-content: center; gap: 12px; }
#ui .popup.adp-qty .adp-qfoot .btn { min-width: 96px; }
#ui .popup.adp-qty .btn.off { opacity: .45; pointer-events: none; }
#ui .popup.adp-qty .btn.busy { pointer-events: none; opacity: .7; }
#ui .adp-qty .bump { animation: adp-bump .22s cubic-bezier(.2, .8, .3, 1.4); }   /* 숫자 튐(칸 안 · 여백 안) */
@keyframes adp-bump { 0% { transform: scale(1.18); } 100% { transform: none; } }

/* 광고 제거 월정액 구매 판 혜택 한 줄 */
#ui .buy-info .adp-buynote { margin-top: 2px; font-size: 11.5px; font-weight: 900; line-height: 15px; color: #f0d58c; }
#ui .buy-info .adp-buynote::before { content: "+ "; color: #c9a24f; }

@keyframes adp-fill { from { transform: scaleX(0); transform-origin: left; } to { transform: none; } }
@keyframes adp-sheen { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { #ui .adp-ban::after, #ui .adp-segs i::after { animation: none; } }

/* ---- [한정] 퀘스트 포인트 월정액 카드 · 구매 판 3번째 보상 칸(표시만) "월정액 퀘스트 해금": 칸 아래 글이 칸보다 길어 왼쪽 끝을 칸에 맞추고 오른쪽(빈 4번째 칸 자리)으로 편다 ---- */
/*   두 줄(문구 안 줄바꿈 "월정액 퀘스트\n해금") — 줄 사이 = 칸 글 줄 높이 그대로 */
#ui .rw:has(> .rw-icon[src$="hud/adpoint.png"]) .rw-c { left: -2px; right: auto; text-align: left; white-space: pre; }

/* 광고 제거 30일 · 월정액 퀘스트 해금 칸 정보(features/itemtip 공용 카드): 설명 한 줄이 길어 줄바꿈(글자 크기 · 줄 높이는 공용 inv_fx 그대로) */
body[data-adp-tip] #ui .it-tip .ic-line { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; text-overflow: clip; }

/* gf:js-pack prototype/Spikes/rt-battle/features/snowfest/snowfest.css */
/* 겨울 눈 축제 · 겨울 눈 결정 조사(snowfest-1111 — features/snowfest snowfest.js): 이벤트 창 탭 둘. 틀 = 17-events 판(어두운 반투명 판 · 금 강조 대신 축제 띠 하늘색 #9fd8ff ·
   등급색 아이템 칸 .ev-slot). 크기 = GUI-450(제목 17 · 칸 40~48 · 알약 28 · 줄 46). 조사 탭 배치 = 요청 참고 사진의 배치만(위 제목 · 기간, 왼쪽 그림 + 소개 글, 오른쪽 세로로 긴 확률 표) —
   그림은 우리 도트(assets/events/snowx_scene.png). 표 끌기 = 창 층 touch_scroll(선택자 없는 attach — 넘치는 .sx-list 를 저절로 잡는다).
   연출(고품질UI 기본): 판 떠오름 · 줄 35 ms 간격 떠오름 · 그림 위 눈 내림 · 축제 눈꽃 천천히 돎(저사양 .gfx-low = 멈춤). */
:root { --sf-bub: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-8l-5 4v-4H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
  --sf-sword: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 3.5H20.5V9.5L9 21 3 15z'/%3E%3Cpath d='M7 13l4 4M4.5 19.5l-2 2'/%3E%3C/svg%3E");
  --sf-hammer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 3.5l5 1.6 2.6 2.6-1.6 1.6-1.6-.8-1.7 1.7 1 1-1.6 1.6-3.6-3.6 1.6-1.6 1 1 1.4-1.4-2.5-2.5z'/%3E%3Cpath d='M10.2 9.6l3.2 3.2-8.3 8.3a2.26 2.26 0 0 1-3.2-3.2z'/%3E%3C/svg%3E"); }
#ui .ev-body:is([data-tab="snowfest"], [data-tab="snowx"]) { max-width: 940px; align-items: stretch; }
#ui :is(.sf, .sx) { --sky: #9fd8ff; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both; }
#ui :is(.sf, .sx) .sf-ic { flex: none; width: 18px; height: 18px; background: var(--sky); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
#ui .sf-ic.i-bub { -webkit-mask-image: var(--sf-bub); mask-image: var(--sf-bub); }
#ui .sf-ic.i-hunt { -webkit-mask-image: var(--sf-sword); mask-image: var(--sf-sword); }
#ui .sf-ic.i-carp { width: 34px; height: 34px; -webkit-mask-image: var(--sf-hammer); mask-image: var(--sf-hammer); }

/* ---- [겨울 눈 축제] 안내: 축제 띠(목공소 창 .fest-band 와 같은 하늘 그라데이션)를 크게 + 얻는 곳 · 쓰는 곳 카드 둘 */
#ui .sf { justify-content: center; gap: 14px; padding: 0 20px; }
#ui .sf-hero { position: relative; display: flex; align-items: center; gap: 14px; height: 76px; padding: 0 22px 0 16px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(100deg, rgba(70, 120, 190, .72), rgba(30, 50, 90, .55) 70%, rgba(20, 30, 55, .4)); box-shadow: inset 0 0 0 1px rgba(200, 230, 255, .35), 0 4px 14px rgba(0, 0, 0, .35); }
#ui .sf-hero::after { content: ""; position: absolute; right: -18px; top: -26px; width: 130px; height: 130px; background: rgba(220, 240, 255, .1); -webkit-mask: var(--ic-snowflake) center / contain no-repeat; mask: var(--ic-snowflake) center / contain no-repeat;
  animation: sf-spin 24s linear infinite; pointer-events: none; }
@keyframes sf-spin { to { rotate: 360deg; } }
#ui .sf-flake { flex: none; width: 40px; height: 40px; background: #fff; -webkit-mask: var(--ic-snowflake) center / contain no-repeat; mask: var(--ic-snowflake) center / contain no-repeat; filter: drop-shadow(0 0 6px rgba(160, 216, 255, .9)); }
#ui .sf-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#ui .sf-name b { font-size: 19px; font-weight: 900; color: #fff; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
#ui .sf-name small { font-size: 12px; font-weight: 700; color: #d6ebff; font-variant-numeric: tabular-nums; }
#ui .sf-dn { margin-left: auto; height: 28px; padding: 0 14px; border-radius: 14px; font: 900 15px/28px var(--ui-font); font-style: normal; color: #ffe27a; background: rgba(10, 20, 40, .55); box-shadow: inset 0 0 0 1px rgba(255, 226, 122, .45); }
#ui .sf-cards { display: flex; gap: 12px; }
#ui .sf-card { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 14px; border-radius: 10px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(159, 216, 255, .16);
  animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both; animation-delay: calc(var(--i, 0) * .07s); }
#ui .sf-card h3 { margin: 0; font-size: 13px; font-weight: 900; color: var(--sky); letter-spacing: .02em; }
#ui .sf-row { display: flex; align-items: center; gap: 14px; min-height: 52px; }
#ui .sf-row .ev-slot { --s: 48px; }
#ui .sf-row ul { flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
#ui .sf-row li { display: flex; align-items: center; gap: 8px; height: 22px; font-size: 13px; font-weight: 700; color: #e8e6df; }
#ui .sf-row li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .sf-row li b { font-size: 13px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
#ui .sf-row p { margin: 0; display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-weight: 700; color: #e8e6df; line-height: 1.35; }
#ui .sf-row p b { font-size: 14px; font-weight: 900; color: #fff; }

/* ---- [겨울 눈 결정 조사]: 위 제목 · 기간 / 왼쪽 그림 · 소개 · 일일 드랍 · 보유 + [열기] / 오른쪽 확률 표(세로 끌기) */
#ui .sx { gap: 8px; }
#ui .sx-head { flex: none; display: flex; align-items: baseline; gap: 12px; padding: 0 4px; }
#ui .sx-head b { font-size: 17px; font-weight: 900; color: #fff; }
#ui .sx-head small { font-size: 12px; font-weight: 700; color: #d6ebff; font-variant-numeric: tabular-nums; }
#ui .sx-end { font-style: normal; height: 20px; padding: 0 9px; border-radius: 10px; font-size: 11px; font-weight: 900; line-height: 20px; color: #ffb4a8; background: rgba(229, 83, 75, .16); }
#ui .sx-main { flex: 1; min-height: 0; display: flex; gap: 12px; }
#ui .sx-intro { flex: none; width: 318px; display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 10px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(159, 216, 255, .16); min-height: 0; }
#ui .sx-art { position: relative; flex: 1; min-height: 110px; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 110%, rgba(190, 225, 255, .45), transparent 60%), linear-gradient(#1b2d52, #2c4a7a 70%, #4d73a6); box-shadow: inset 0 0 0 1px rgba(200, 230, 255, .25); }
#ui .sx-art img { position: relative; z-index: 1; height: 100%; max-height: 150px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .4)); }
#ui .sx-snow { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .85) 1.2px, transparent 1.6px), radial-gradient(circle, rgba(255, 255, 255, .55) 1px, transparent 1.4px);
  background-size: 46px 46px, 29px 29px; background-position: 0 0, 13px 7px; animation: sx-snow 9s linear infinite; }
@keyframes sx-snow { to { background-position: 18px 184px, 1px 123px; } }
#ui .sx-txt { margin: 0; font-size: 12.5px; font-weight: 700; line-height: 1.45; color: #e8e6df; word-break: keep-all; }
#ui .sx-day { margin: 0; font-size: 13px; } #ui .sx-day b { font-weight: 900; color: var(--sky); font-variant-numeric: tabular-nums; }
#ui .sx-own { display: flex; align-items: center; gap: 10px; }
#ui .sx-own .ev-slot { --s: 44px; }
/* 일괄 조사(snowbulk-1112): 개수 고르기 = 대장간 상인 개수(smithy_shop sms-st)와 같은 결 — 어두운 둥근 단추 · 노란 수. GUI-450 누름 칸 34 · 틈 8(maple-idle-ui-size) */
#ui .sx-st { margin-left: auto; display: flex; align-items: center; gap: 8px; }
#ui .sx-st button { flex: none; height: 34px; min-width: 34px; padding: 0; border: 0; border-radius: 17px; background: rgba(0, 0, 0, .4); box-shadow: inset 0 0 0 1px rgba(159, 216, 255, .28);
  color: #f2f0e7; font: inherit; font-size: 16px; font-weight: 900; line-height: 1; cursor: pointer; transition: transform .08s; }
#ui .sx-st button.sx-mx { padding: 0 12px; font-size: 12px; color: var(--sky); }
#ui .sx-st button:active { transform: scale(.92); }
#ui .sx-st button.off { opacity: .4; pointer-events: none; }
#ui .sx-qn { min-width: 44px; text-align: center; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; color: #ffe7a6; }
#ui .sx-btns { display: flex; justify-content: flex-end; gap: 10px; }
#ui .sx-tab { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; border-radius: 10px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(159, 216, 255, .16); overflow: hidden; }
#ui .sx-th, #ui .sx-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 100px 72px; align-items: center; column-gap: 12px; padding: 0 16px 0 12px; }
#ui .sx-th { flex: none; height: 30px; font-size: 11.5px; font-weight: 900; color: var(--sky); background: rgba(70, 120, 190, .22); box-shadow: inset 0 -1px 0 rgba(159, 216, 255, .2); }
#ui .sx-th span:first-child { grid-column: 1 / 3; }
#ui .sx-th span:not(:first-child) { text-align: right; }
#ui .sx-list { flex: 1; min-height: 0; margin: 0; padding: 0 0 6px; list-style: none; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
#ui .sx-list::-webkit-scrollbar { display: none; }
#ui .sx-list li { height: 50px; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .05); animation: fx-rise .3s cubic-bezier(.2, .8, .3, 1.1) both; animation-delay: calc(var(--i, 0) * .035s); }
#ui .sx-list li:nth-child(even) { background: rgba(255, 255, 255, .025); }
#ui .sx-list .ev-slot { --s: 40px; }
#ui .sx-nm { font-size: 13px; font-weight: 800; color: #e8e6df; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .sx-q, #ui .sx-p { text-align: right; font-size: 13.5px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
#ui .sx-q { color: #fff; } #ui .sx-p { color: #ffe27a; }
.gfx-low #ui :is(.sf, .sx, .sf-card, .sx-list li) { animation: none; }
.gfx-low #ui .sf-hero::after, .gfx-low #ui .sx-snow { animation: none; }

/* gf:js-pack prototype/Spikes/rt-battle/features/chest/chest.css */
/* 보스 장비 상자(features/chest, 2026-11-04 피드백 2-2) — 고품질UI: 확률 창 = 강화 · 뽑기 확률표 판(scroll.css .scr .scr-odds-in · odds-*) 그대로,
   여는 연출 = 어두운 막 위 상자 도트 96(흔들림 0.9 초+ → 흰 빛 · 등급색 빛살 → 장비 칸 52 튀어나옴 + 이름 · 등급) → [확인] 알약. 보상 칸 [?] = 칸 오른쪽 위 작은 원. */
#ui .chest-odds-dim .ch-odds { position: relative; display: flex; align-items: center; justify-content: center; max-height: 100%; }
#ui .chest-odds-dim .scr-odds-in { width: 280px; max-height: 410px; }
#ui .scr .ch-orow { grid-template-columns: 22px minmax(0, 1fr) 54px 40px; height: 24px; }
#ui .scr .ch-orow .ch-oic { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 4px; background: rgba(0, 0, 0, .35); }
#ui .scr .ch-orow .ch-oic img { width: 20px; height: 20px; object-fit: contain; image-rendering: pixelated; }
#ui .scr .ch-orow .ch-on { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

#ui .chest-show-dim { z-index: 30; }
#ui .chest-show-dim .shade { background: rgba(4, 5, 8, .78); }
#ui .ch-show { --gc: #e8c979; position: relative; width: 260px; height: 300px; display: grid; place-items: center; }
#ui .ch-show .ch-box { position: absolute; left: 50%; top: 46%; width: 96px; height: 96px; transform: translate(-50%, -50%); }
#ui .ch-show .ch-box img { width: 100%; height: 100%; image-rendering: pixelated; filter: drop-shadow(0 4px 6px #000c); }
#ui .ch-show.shake .ch-box { animation: ch-shake .45s ease-in-out infinite; }
#ui .ch-show.flash .ch-box { animation: ch-burst .5s ease-out forwards; }
#ui .ch-show .ch-flash { position: absolute; left: 50%; top: 46%; width: 40px; height: 40px; border-radius: 50%; transform: translate(-50%, -50%) scale(0); background: radial-gradient(circle, #fff 0 30%, color-mix(in srgb, var(--gc) 70%, #fff) 55%, transparent 72%); opacity: 0; pointer-events: none; }
#ui .ch-show.flash .ch-flash { animation: ch-flash .6s ease-out forwards; }
#ui .ch-show .ch-rays { position: absolute; left: 50%; top: 46%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: repeating-conic-gradient(color-mix(in srgb, var(--gc) 55%, transparent) 0 8deg, transparent 8deg 24deg);
  -webkit-mask: radial-gradient(circle, #000 0 18%, transparent 68%); mask: radial-gradient(circle, #000 0 18%, transparent 68%); }
#ui .ch-show.flash .ch-rays { animation: ch-rays-in .4s ease-out forwards, ch-spin 9s linear infinite; }
#ui .ch-show .ch-got { position: absolute; left: 50%; top: 46%; display: flex; flex-direction: column; align-items: center; gap: 6px; transform: translate(-50%, -40%) scale(.2); opacity: 0; pointer-events: none; }
#ui .ch-show.got .ch-got { animation: ch-pop .42s cubic-bezier(.2, .9, .3, 1.35) forwards; }
#ui .ch-show .ch-cell { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 8px; background: rgba(0, 0, 0, .55);
  box-shadow: inset 0 0 0 1.5px var(--gc), inset 0 -14px 18px -12px var(--gc), 0 0 14px 2px color-mix(in srgb, var(--gc) 60%, transparent); }
#ui .ch-show .ch-cell img { width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; }
#ui .ch-show .ch-name { max-width: 240px; font-size: 13px; font-weight: 900; color: #fff; text-shadow: 0 1px 2px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .ch-show .ch-grade { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--gc); text-shadow: 0 1px 2px #000; }
#ui .ch-show .ch-ok { position: absolute; left: 0; right: 0; bottom: 10px; width: max-content; margin: 0 auto; min-width: 0; padding: 0 22px; opacity: 0; pointer-events: none; transition: opacity .2s ease .25s; }   /* 가운데 = margin(transform 이면 .btn:active scale 이 덮어 눌린 동안 비켜 탭이 빗나감) */
#ui .ch-show.got .ch-ok { opacity: 1; pointer-events: auto; }
@keyframes ch-shake { 0%, 100% { transform: translate(-50%, -50%) rotate(0); } 20% { transform: translate(calc(-50% - 3px), -50%) rotate(-7deg); } 40% { transform: translate(calc(-50% + 3px), calc(-50% - 2px)) rotate(6deg); }
  60% { transform: translate(calc(-50% - 2px), -50%) rotate(-4deg); } 80% { transform: translate(calc(-50% + 2px), calc(-50% - 1px)) rotate(3deg); } }
@keyframes ch-burst { 0% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 40% { transform: translate(-50%, -50%) scale(1.25); opacity: 1; filter: brightness(2.2); } 100% { transform: translate(-50%, -30%) scale(.85); opacity: 0; } }
@keyframes ch-flash { 0% { transform: translate(-50%, -50%) scale(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(7); opacity: 0; } }
@keyframes ch-rays-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes ch-spin { to { rotate: 360deg; } }
@keyframes ch-pop { 0% { transform: translate(-50%, -40%) scale(.2); opacity: 0; } 60% { transform: translate(-50%, -62%) scale(1.15); opacity: 1; } 100% { transform: translate(-50%, -55%) scale(1); opacity: 1; } }

/* 보상 칸 [?](quest.js rewardCells chest.* — 누르면 확률 창) */
.qr-cell .qr-odds { position: absolute; right: -4px; top: -4px; z-index: 2; width: 15px; height: 15px; border-radius: 50%; font-style: normal; font-size: 10px; font-weight: 900; line-height: 15px; text-align: center;
  color: #26221c; background: #e8c979; box-shadow: 0 1px 2px #000a; cursor: pointer; }
#ui .inv-chodds[hidden] { display: none; }

/* 모두 열기: 흔들리는 상자 아래 연 수 n / 전체(결과는 공용 받음 창 하나) · 물품 창 [모두 열기] 알약(단추 셋이면 scroll.css 처럼 최소 폭을 줄여 판 안에) */
#ui .ch-show .ch-prog { position: absolute; left: 0; right: 0; top: calc(46% + 56px); text-align: center; font-size: 13px; font-weight: 900; color: #fff; text-shadow: 0 1px 2px #000; font-variant-numeric: tabular-nums; opacity: 0; pointer-events: none; }
#ui .ch-show.batch.shake .ch-prog { opacity: 1; }
#ui .inv-chall[hidden] { display: none; }
#ui .inv .inv-actions:has(.inv-chall:not([hidden])) .btn { min-width: 64px; }

/* gf:js-pack prototype/Spikes/rt-battle/features/scrollmerge/scrollmerge.css */
/* 잠재 주문서 합성(scrollmerge-1114): [합성](가방 상세 판 [사용] 자리 — 그 판에 단추 하나)의 누름 칸 = hq-ui 큰 결정 단추 34 GUI 이상.
   기본 [사용]은 31 GUI(sandbox 휴대폰 780×360 실측 25 CSS px). 투명 여유(::after)는 PC 단추 빛 연출(.fx-mq overflow: hidden)에 잘려 높이 자체를 34 로. */
#ui .inv .inv-actions .btn.inv-use.smerge-on { min-height: 34px; }

/* gf:js-pack prototype/Spikes/rt-battle/features/wbbox/wbbox.css */
/* 월드보스 장신구 선택 상자 가방 [열기](features/wbbox, wbbox-1120) — 고품질UI: 판 = 보스 상자 확률 창(chest.css .chest-odds-dim · scroll.css .scr .scr-odds-in) 그대로,
   부위 칸 = 로비 .wb-box 칸 색(금선 rgba(255,211,106,.45) · 어두운 바탕) · 크기 GUI 450 기준 칸 52(아이콘 40) + 부위 이름 10 · 이웃 틈 8. */
#ui .wbbox-dim .wbb { position: relative; display: flex; align-items: center; justify-content: center; max-height: 100%; }
#ui .wbbox-dim .wbb-in { width: 300px; max-height: 410px; }
#ui .wbbox-dim .wbb-hint { margin: 2px 0 8px; text-align: center; font-size: 11px; color: rgba(255, 255, 255, .72); }
#ui .wbbox-dim .wbb-slots { display: grid; grid-template-columns: repeat(5, 52px); gap: 8px; justify-content: center; margin-bottom: 10px; }
#ui .wbbox-dim .wbb-cell { display: grid; justify-items: center; gap: 3px; width: 52px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
#ui .wbbox-dim .wbb-ic { width: 52px; height: 52px; padding: 5px; box-sizing: border-box; border-radius: 8px; background: rgba(0, 0, 0, .4); box-shadow: inset 0 0 0 1px rgba(255, 211, 106, .45); display: grid; place-items: center; }
#ui .wbbox-dim .wbb-ic img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
#ui .wbbox-dim .wbb-cell b { font-size: 10px; font-weight: 600; white-space: nowrap; }
#ui .wbbox-dim .wbb-cell:active .wbb-ic { transform: scale(.92); }

/* gf:js-pack prototype/Spikes/rt-battle/features/mapreward/map_reward.css */
/* 지도 [사냥터] 보상(features/mapreward — map_reward_win.js · 17n ctReward).
   ① 섬 카드 요약 한 줄(#ct-crw): 이름 · 권장 레벨 아래 대표 보상 칸 26(그림 20) 최대 5 + [전체 보기] 윤곽 알약(도깨비의 세계 §9 윤곽 알약 — 어두운 바탕 + 흰 1px 테).
      섬 그림을 가리지 않게 카드 안에만 둔다. 고른 섬이 바뀌면 카드 swap 과 함께 칸이 40 ms 간격으로 튄다.
   ② 전체 보기 창(.mrw-dim): 판 = 확률표 작은 팝업(scroll.css .scr .scr-odds-in + 장식 두 겹), 폭 312 · 높이 410 까지(넘치면 판 안 세로 스크롤 — touch_scroll).
      장비 · 장신구 = 단계 줄(레벨 알약 40 × 18 + 칸 36 · 그림 28 — hq-ui 장비 칸 36), 기타 · 보스 = 두 열 목록(칸 32 + 이름 10 + 개수 · 확률 9).
      칸 바탕 = 등급색 세로 그라데이션 + 밝은 안쪽 테(도깨비 §10). 묶음 머리 = 흰 세로 막대 + 흰 굵은 글(도깨비 §8 "| 절명").
      레벨 알약: 지금 낄 수 있는 줄 = 베이지(고른 탭 알약 색), 못 끼는 줄 = #ff9b85(이동 카드 권장 레벨과 같은 색).
      연출: 창 팝(fx-pop) · 칸 22 ms 순차 팝(36칸이 0.8초 안 — 보상 판 rewardGrid 0.9초 기준) · 누름 0.9 → 뗄 때 튕김 · 정보가 뜬 칸 = 흰 빛 테 맥박 1047 ms(ui-juice). */

/* 공용 칸 모양(요약 · 창) */
#ui :is(.ct-crw, .mrw-body) .qr-cell { cursor: pointer;
  background: linear-gradient(180deg, color-mix(in srgb, var(--g, var(--gr-common)) 34%, rgba(10, 11, 13, .6)), rgba(10, 11, 13, .62));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g, var(--gr-common)) 70%, #fff 12%), inset 0 1px rgba(255, 255, 255, .16); }
#ui :is(.ct-crw, .mrw-body) .qr-cell .qr-pic { margin-top: 0; transition: transform .18s cubic-bezier(.3, 1.8, .5, 1); }
#ui :is(.ct-crw, .mrw-body) .qr-cell:active .qr-pic { transform: scale(.9); transition-duration: 60ms; transition-timing-function: ease-out; }
#ui :is(.ct-crw, .mrw-body) [data-it].it-on { outline: 0; }
#ui :is(.ct-crw, .mrw-body) .qr-cell.it-on::after { content: ""; position: absolute; inset: -2px; border-radius: 9px; box-shadow: 0 0 0 1.5px rgba(242, 240, 231, .9), 0 0 8px rgba(242, 240, 231, .35); pointer-events: none; animation: mrw-on 1.047s ease-in-out infinite; }
@keyframes mrw-on { 50% { box-shadow: 0 0 0 1.5px rgba(242, 240, 231, .55), 0 0 3px rgba(242, 240, 231, .15); } }

/* ① 섬 카드 요약 한 줄 */
#ui .ct-crw { display: flex; align-items: center; gap: 3px; margin-top: 5px; }
#ui .ct-crw[hidden] { display: none; }
#ui .ct-crw .qr-cell { width: 26px; height: 26px; border-radius: 5px; animation-delay: calc(.08s + var(--i, 0) * 40ms); }
#ui .ct-crw .qr-cell .qr-pic, #ui .ct-crw .qr-cell .qr-pic img { width: 20px; height: 20px; }
#ui .ct-crw .qr-cell.it-on::after { border-radius: 7px; }
#ui .ct-crw-all { flex: none; height: 22px; margin-left: 5px; padding: 0 9px 0 10px; border: 0; border-radius: 11px; font: inherit; font-size: 10px; font-weight: 800; line-height: 22px; white-space: nowrap;
  color: var(--ink); background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); cursor: pointer; transition: transform .18s cubic-bezier(.3, 1.8, .5, 1); }
#ui .ct-crw-all::after { content: "›"; margin-left: 4px; }
#ui .ct-crw-all:active { transform: scale(.92); transition-duration: 60ms; }

/* ② 전체 보기 창 */
#ui .mrw-dim .mrw { --ink: #f2f0e7; --ink-soft: #9a9d98; color: var(--ink); position: relative; display: flex; align-items: center; justify-content: center; max-height: 100%; }   /* 글자색 = .popup.scr 판 값(scroll.css) — .popup 이 아니라 그대로는 안 내려온다 */
#ui .mrw-dim .scr .scr-odds-in { width: 312px; max-height: 410px; }
#ui .mrw-dim .scr .scr-chead small { flex: none; max-width: 60%; overflow: hidden; font-size: 9px; font-weight: 800; color: var(--ink-soft); white-space: nowrap; text-overflow: ellipsis; }
#ui .mrw-body { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; margin: 0 -3px; padding: 0 3px 5px; }   /* 좌우 3 = 칸 팝(1.12) · 빛 테가 스크롤 칸 테에 잘리지 않게 */
#ui .mrw-body::-webkit-scrollbar { display: none; }
#ui .mrw-body.more { -webkit-mask-image: linear-gradient(#000 calc(100% - 22px), transparent); mask-image: linear-gradient(#000 calc(100% - 22px), transparent); }
#ui .mrw-dim .scr .scr-btns { margin-top: 6px; }
#ui .mrw-sh { display: flex; align-items: center; gap: 6px; margin: 9px 0 5px; }
#ui .mrw-sh:first-child { margin-top: 7px; }
#ui .mrw-sh small { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; line-height: 13px; color: #fff; }
#ui .mrw-sh small::before { content: ""; width: 2px; height: 10px; border-radius: 1px; background: #fff; }
#ui .mrw-sh i { margin-left: auto; padding: 0 8px; border-radius: 8px; font-style: normal; font-size: 9.5px; font-weight: 800; line-height: 16px; color: var(--ink); background: rgba(255, 255, 255, .09); white-space: nowrap; }
#ui .mrw-row { display: flex; align-items: flex-start; gap: 6px; margin-bottom: 4px; }
#ui .mrw-lv { flex: none; width: 40px; margin-top: 9px; border-radius: 9px; font-style: normal; font-size: 9.5px; font-weight: 800; line-height: 18px; text-align: center; color: var(--ink-soft); background: rgba(255, 255, 255, .07); white-space: nowrap; }
#ui .mrw-row.now .mrw-lv { color: #26211c; background: rgba(214, 204, 184, .96); }
#ui .mrw-row.low .mrw-lv { color: #ff9b85; }
#ui .mrw-cells { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
#ui .mrw-body .qr-cell { width: 36px; height: 36px; border-radius: 7px; animation-delay: calc(.12s + var(--i, 0) * 22ms); }
#ui .mrw-body .qr-cell .qr-pic, #ui .mrw-body .qr-cell .qr-pic img { width: 28px; height: 28px; }
#ui .mrw-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 6px; margin-bottom: 4px; }
#ui .mrw-it { display: flex; align-items: center; gap: 6px; min-width: 0; }
#ui .mrw-list .qr-cell { width: 32px; height: 32px; }
#ui .mrw-list .qr-cell .qr-pic, #ui .mrw-list .qr-cell .qr-pic img { width: 24px; height: 24px; }
#ui .mrw-nm { display: flex; flex-direction: column; min-width: 0; }
#ui .mrw-nm b { overflow: hidden; font-size: 10px; font-weight: 700; line-height: 13px; color: var(--ink); white-space: nowrap; }
#ui .mrw-nm small { font-size: 9px; font-weight: 800; line-height: 12px; color: var(--ink-soft); white-space: nowrap; }

/* gf:js-pack prototype/Spikes/rt-battle/features/levelreward/levelreward.css */
/* 레벨 업 보상 띠(levelreward.js — lvauto-1118 형창님 11-18 "화면을 너무 가림" → 시안 A): 창 층(#win-screen, GUI 450 배율) 위 가운데 알약 띠 하나.
   왼쪽 = "LEVEL UP" 작은 금빛 글 + 레벨 숫자 튐 · 오른쪽 = 받은 보상 작은 칸 순차 펼침. 어두운 판 · 단추 없음 · 누름 안 받음(사냥 · HUD 누름이 그대로 통함).
   크기 = 메이플 키우기 실측(hq-ui): 띠 높이 44 · 칸 32 · 숫자 22. 퀘스트 완료 띠(quest.css ⑤ .qclear)와 같은 말씨 · 같은 자리(겹치면 완료 띠가 아래 줄 .below).
   위 58 = 450 판 기준 — 무대가 450 보다 긴 화면(채움 모드)은 --dy/2 내려 가운데와의 거리를 같게(uifit2-1110). */
.lvr-auto { position: absolute; left: 50%; top: calc(58px + var(--dy, 0px) / 2); transform: translateX(-50%); z-index: var(--z-reward, 61);
  display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px 0 18px; border-radius: 22px; white-space: nowrap;
  background: linear-gradient(rgba(24, 21, 18, .88), rgba(12, 11, 10, .88)); box-shadow: inset 0 0 0 1px rgba(214, 190, 140, .6), 0 4px 14px rgba(0, 0, 0, .45);
  animation: lvr-band-in .32s cubic-bezier(.2, .9, .3, 1) both; }
.lvr-auto, .lvr-auto * { pointer-events: none !important; }
.lvr-auto .lvr-glow { position: absolute; inset: -12px -28px; z-index: -1; border-radius: 48px; background: radial-gradient(ellipse at 50% 50%, rgba(255, 226, 150, .42), transparent 70%); animation: lvr-glow 1.4s ease-out both; }
.lvr-auto .lvr-head { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.lvr-auto .lvr-big { font: 900 9px "QuestTitle", "GwTitle", GFUIFont, sans-serif; letter-spacing: 2px; color: #f0d791; margin-bottom: 2px; animation: lvr-gather-s .45s ease-out .08s both; }
.lvr-auto .lvr-lv { display: flex; align-items: baseline; font-family: "QuestTitle", "GwTitle", GFUIFont, sans-serif; color: #fbf6ea; text-shadow: 0 0 10px rgba(255, 236, 190, .55), 0 2px 3px rgba(0, 0, 0, .85); }
.lvr-auto .lvr-lv > i { font-style: normal; font-size: 12px; font-weight: 900; margin-right: 2px; }
.lvr-auto .lvr-lv > b { display: inline-block; font-size: 22px; font-weight: 900; animation: lvr-digit .5s cubic-bezier(.2, .9, .3, 1.4) both; animation-delay: calc(.18s + var(--i, 0) * 70ms); }
.lvr-auto .lvr-lv > i.lvr-from { margin-right: 3px; color: #d9cfb6; }
.lvr-auto .lvr-lv > i.lvr-arrow { margin-right: 4px; color: #f0d791; }
.lvr-auto .lvr-cells { display: flex; gap: 6px; }
.lvr-auto .lvr-cells .qr-cell { width: 32px; height: 32px; animation-delay: calc(.35s + var(--i, 0) * 60ms); }
.lvr-auto .lvr-cells .qr-cell .qr-pic, .lvr-auto .lvr-cells .qr-cell .qr-pic img { width: 22px; height: 22px; }
.lvr-auto .lvr-cells .qr-cell .qr-pic { margin-top: -5px; }
.lvr-auto .lvr-cells .qr-cell > em { font-size: 8.5px; line-height: 10px; }
.lvr-auto.out { animation: lvr-band-out .4s ease-in both; }
@keyframes lvr-band-in { from { opacity: 0; transform: translate(-50%, -8px) scaleX(.6); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes lvr-band-out { to { opacity: 0; transform: translate(-50%, -12px); } }
@keyframes lvr-gather-s { from { letter-spacing: 10px; opacity: 0; filter: blur(2px); } to { letter-spacing: 2px; opacity: 1; filter: none; } }
@keyframes lvr-glow { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: .2; } }
.lvr-strip { display: flex; align-items: center; gap: 8px; padding: 4px 14px; border-radius: 999px; background: rgba(10, 12, 14, .62); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .35);
  font-size: 11px; font-weight: 800; color: #c8c3b5; white-space: nowrap; pointer-events: none; }
.lvr-ncells { display: flex; gap: 4px; }
.lvr-ncells .qr-cell { width: 28px; height: 28px; animation: none; }
.lvr-ncells .qr-cell .qr-pic, .lvr-ncells .qr-cell .qr-pic img { width: 18px; height: 18px; }
.lvr-ncells .qr-cell > em { font-size: calc(7.5px * var(--k, 1)); line-height: 9px; }
/* 보상 없는 레벨 업 = 다음 보상 한 줄(위 가운데, 2.2초) */
.lvr-strip { position: absolute; left: 50%; top: 86px; transform: translateX(-50%); z-index: var(--z-reward, 61); animation: lvr-strip .32s cubic-bezier(.2, .9, .3, 1) both; }
.lvr-strip.out { animation: lvr-strip-out .45s ease-in both; }

@keyframes lvr-gather { from { letter-spacing: 20px; opacity: 0; filter: blur(3px); } to { letter-spacing: 5px; opacity: 1; filter: none; } }
@keyframes lvr-digit { 0% { transform: translateY(-16px) scale(1.5); opacity: 0; } 55% { transform: translateY(2px) scale(.94); opacity: 1; } 78% { transform: translateY(-3px) scale(1.06); } 100% { transform: none; opacity: 1; } }
@keyframes lvr-strip { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes lvr-strip-out { to { opacity: 0; transform: translate(-50%, -12px); } }
/* lvburst-1118: 여러 단을 한꺼번에 오른 다음 보상 띠 앞 "LEVEL UP Lv.6 → 10" */
.lvr-strip .lvr-sup { font-family: "QuestTitle", "GwTitle", GFUIFont, sans-serif; font-size: 11px; font-weight: 900; letter-spacing: 1px; color: #f0d791; white-space: nowrap; }

/* gf:js-pack prototype/Spikes/rt-battle/features/offline/offline.css */
/* 부재 중 사냥 팝업(offline.js) — 받음 창 got 의 판 · 띠 · 제목 · 알약을 그대로 쓰고(windows-css/07-list-text, 움직임 ui/ui_fx.css fx-got-*) 여기는 더한 조각만.
   크기(GUI 450): 제목 got 21 → 17(작은 창 제목) · 줄 글자 11~12 · 시간 막대 180 × 5 · 보상 칸 = 퀘스트 보상 칸 big(52) · 알약 높이 30(got-ok) 글자 폭.
   색: 무채 + 금빛 선(#c8aa6e — 18-popup-dark 테) · 상한 = 빨간 점(새것 · 주의, ui-juice) · 광고 = 결정 청록(18-popup-dark .btn.gold 값) · 월정액 알약 = 금 테 반투명. */
#ui #offr-dim .shade { background: rgba(6, 8, 10, .74); }
#ui .popup.got.offr { width: 520px; min-height: 0; padding: 18px 0 14px; gap: 9px; margin-bottom: 52px; }
#ui .popup.offr .got-title { display: flex; align-items: center; gap: 8px; font-size: 17px; line-height: 22px; }
#ui .popup.offr .got-title::before, #ui .popup.offr .got-title::after { top: 10px; width: 56px; }
#ui .popup.offr .got-title::before { right: calc(100% + 10px); } #ui .popup.offr .got-title::after { left: calc(100% + 10px); }
#ui .popup.offr .offr-q { flex: none; width: 16px; height: 16px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
  color: #e9e4d6; font: 900 10px/16px GFUIFont, sans-serif; text-shadow: none; cursor: pointer; }
#ui .popup.offr .offr-tip { position: absolute; left: 50%; top: 44px; z-index: 3; width: 300px; margin-left: -150px; padding: 9px 12px; border-radius: 8px; background: rgba(14, 16, 18, .96);
  box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .45), 0 6px 18px rgba(0, 0, 0, .6); font-size: 11px; font-weight: 700; line-height: 16px; color: #d9d4c6; text-align: left; word-break: keep-all; }
#ui .popup.offr .offr-tip[hidden] { display: none; }
#ui .popup.offr .offr-meta { position: relative; display: flex; align-items: baseline; gap: 10px; font-size: 12px; font-weight: 800; color: #e9e4d6; white-space: nowrap; }
#ui .popup.offr .offr-kills { font-size: 11px; color: #a9a59a; }
#ui .popup.offr .offr-bar { position: relative; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; color: #d9d4c6; white-space: nowrap; }
#ui .popup.offr .offr-track { position: relative; width: 180px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
#ui .popup.offr .offr-track > i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 3px; transform-origin: 0 50%; transform: scaleX(var(--r, 0));
  background: linear-gradient(90deg, #a98c56, #f1d9a0); }
#ui .popup.offr .offr-bar.full .offr-time { color: #ffd9a0; }
#ui .popup.offr .offr-bar.full::before { content: ""; position: absolute; left: 183px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 4px rgba(255, 59, 48, .8); }
#ui .popup.offr .offr-up { flex: none; height: 18px; padding: 0 8px; border: 0; border-radius: 999px; background: rgba(200, 170, 110, .18); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .7);
  color: #f1d9a0; font: 800 10px/18px GFUIFont, sans-serif; text-shadow: none; cursor: pointer; }
/* 최대 쌓이는 시간(본문 11 · 보조 글자색) */
#ui .popup.offr .offr-day { position: relative; text-align: center; font-size: 11px; font-weight: 800; color: #a9a59a; white-space: nowrap; }
#ui #offr-dim.open .offr-day { animation: fx-rise .3s .25s both; }
/* 설정 [게임] 탭 줄 — 언어 줄(lang-row)처럼 두 줄: 제목 · 아래 최대 시간(제목 칸 34px 은 Sound/BGM 용이라 한 줄에 다 안 들어간다) */
#ui .popup.offr .offr-cells { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 360px; padding: 4px 8px 2px; }
/* 칸 등장 간격 --og(offline.js render — offline_model openGap: 7칸까지 70 ms, 더 많으면 합 420 ms 안으로 줄인다 · offfast-1115 "보상량이 많아질수록 느리게") */
#ui .popup.offr .offr-cells .qr-cell { animation-delay: calc(.28s + var(--i, 0) * var(--og, 70ms)); }
#ui .popup.offr .offr-cells.still .qr-cell { animation: none; }
/* 칸이 많은 몫(offline_model dense — 16칸 이상): 큰 칸 5개씩 6줄이면 창이 폰 가로 화면을 넘어 받기 단추가 화면 밖으로 나갔다(offfast-1115 sandbox 실측 30칸) → 퀘스트 보상 칸 기본 크기(44) 9개씩 */
#ui .popup.offr .offr-cells.many { gap: 6px; max-width: 470px; }
#ui .popup.offr .offr-cells.many .qr-cell.big { width: 44px; height: 44px; }
#ui .popup.offr .offr-cells.many .qr-cell.big .qr-pic, #ui .popup.offr .offr-cells.many .qr-cell.big .qr-pic img { width: 30px; height: 30px; }
/* 받기 연출(offone-1113 단추 한 번): 단추 줄은 높이를 둔 채 흐려 사라지고(창이 줄어 튀지 않게) 받은 칸이 한 번 튄다(1.08 — 칸 틈 8 안) · 창 아무 곳 누름 = 넘기기
   offfast-1115: 튐 길이 .3s = offline_model SHOW.pop · 칸 사이 --gap = plan(mode, 칸 수).gap(칸이 많으면 줄어 누름 → 닫힘 0.8초 안에 마지막 칸까지 튄다) */
#ui .popup.offr .offr-cells.got .qr-cell { animation: offr-got .3s calc(var(--i, 0) * var(--gap, 70ms)) cubic-bezier(.2, .9, .3, 1.4) both; }
@keyframes offr-got { 0% { transform: scale(1); } 45% { transform: scale(1.08); filter: brightness(1.3); } 100% { transform: scale(1); } }
#ui .popup.offr.done { cursor: pointer; }
#ui .popup.offr.done .offr-btns .btn { opacity: 0; transform: scale(.94); transition: opacity .12s, transform .12s; pointer-events: none; }
#ui .popup.offr .offr-btns { gap: 10px; }
#ui .popup.offr .btn.got-ok { white-space: nowrap; }
#ui .popup.offr .btn.got-ok.offr-ad { background: linear-gradient(#83c3bf, #548f8c); color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
#ui .popup.offr .offr-play { display: inline-block; width: 0; height: 0; margin-right: 6px; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; vertical-align: 0; }
#ui .popup.offr .btn.got-ok:active { transform: scale(.92); transition: transform 60ms; }
#ui .popup.offr.taking .offr-btns .btn { filter: grayscale(.6); opacity: .6; pointer-events: none; }
/* 광고 몫을 받은 뒤 = 띠 위아래 빛선이 한 번 밝아짐 */
#ui .popup.offr.boosted .got-line::after { animation-duration: .9s; }
#ui .popup.offr.boosted .offr-cells .qr-cell { box-shadow: inset 0 0 0 1px var(--g, var(--gr-common)), inset 0 -10px 14px -10px var(--g, var(--gr-common)), 0 0 10px rgba(131, 195, 191, .45); }

/* 열림(받음 창과 같은 움직임 — ui_fx.css #got-dim 선택자가 이 창 id 에는 안 걸린다) */
#ui #offr-dim.open .got-band { animation: fx-got-band .36s cubic-bezier(.2, .9, .3, 1) both; }
#ui #offr-dim.open .got-line::after { animation: fx-got-line 2.6s linear infinite; }
#ui #offr-dim.open .got-line.bottom::after { animation-delay: -1.3s; animation-direction: reverse; }
#ui #offr-dim.open .got-title { animation: fx-title .45s .1s cubic-bezier(.2, .9, .3, 1.4) both; }
#ui #offr-dim.open .offr-meta, #ui #offr-dim.open .offr-bar { animation: fx-rise .3s .2s both; }
#ui #offr-dim.open .offr-btns { animation: fx-rise .3s .5s both; }
/* 가방 자리 부족 줄(bagwarn-1115): 보상 칸 아래 빨간 글 + 작은 알약 단추(칸 늘리기 · 가방). 받기 연출이 시작되면 숨긴다 */
#ui .popup.offr .offr-bag { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px auto 0; font-size: 11px; font-weight: 800; color: #ff8a80; text-shadow: 0 1px 2px #000; }
#ui .popup.offr .offr-bag > span { word-break: keep-all; text-align: center; }
#ui .popup.offr .offr-bagb { flex: none; height: 26px; padding: 0 12px; border: 0; border-radius: 999px; font: inherit; font-size: 11px; font-weight: 900; color: #fff; background: rgba(208, 87, 74, .55); box-shadow: inset 0 0 0 1px rgba(255, 138, 128, .6); cursor: pointer; }
#ui .popup.offr .offr-bagb:active { transform: scale(.94); }
#ui .popup.offr.done .offr-bag { visibility: hidden; }
#ui #offr-dim.open .offr-bag { animation: fx-rise .3s .3s both; }

/* gf:js-pack prototype/Spikes/rt-battle/features/timedpack/timedpack.css */
/* 상점 [특가] 탭 · 일일 패키지 팝업(timedpack.js, timedpack-1116).
   [특가] 칸 = [한정] 배너 카드(06-shop .shop-grid.pk) + 왼쪽 세로 세부 탭(.pk-subs · .pk-sub 그대로, [패키지] 탭과 같은 자리 100 폭) — 목록 판만 세부 탭 폭만큼 오른쪽으로.
   크기(GUI 450, hq-ui 메이플 키우기 실측): 세부 탭 40 높이 · 칸 150 · 가격 알약 28 · 라벨 9 이상 · 이웃 틈 8 이상. 색 = 카드 tone(가치) · 초기화 시간 = 붉은 값(06 card-time 과 같은 #ff8a6a). */
#ui .shop-tabs .tab.s-timed { order: 0; position: relative; }   /* 한정(0) 바로 뒤 = 같은 order 에서 마크업 차례(한정 뒤에 넣는다) */
#ui .shop-tabs .tab.s-timed > .dot { position: absolute; right: 5px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: #e5534b; box-shadow: 0 0 4px rgba(229, 83, 75, .8); }
#ui .shop-tabs .tab.s-timed > .dot[hidden], #ui .tp-sub > .dot[hidden] { display: none; }
#ui .tp-sub > b { font: inherit; }
#ui .tp-sub > .dot { position: absolute; right: 6px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: #e5534b; box-shadow: 0 0 4px rgba(229, 83, 75, .8); }
#ui .tp-sub[hidden] { display: none; }
#ui .tp-reset { display: block; margin-top: 4px; padding: 0 2px; font-size: 10.5px; font-weight: 900; line-height: 14px; color: #ff8a6a; white-space: normal; word-break: keep-all; }
/* 목록 판: 세부 탭 열(8 + 100 + 10) 오른쪽 · 배너 2열. 왼쪽 그림 판을 150 → 118 로 줄여 이름 · 보상 칸 · 횟수 · 가격이 한 칸에 든다 */
#ui .shop-grid.pk.tp { padding-left: 118px; }
#ui .shop-grid.pk.tp .pack .card-tint { width: 118px; }
#ui .shop-grid.pk.tp .pack .card-art { left: 10px; top: 22px; width: 90px; height: 90px; }
#ui .shop-grid.pk.tp .pack :is(.card-name, .card-rule, .card-rw, .card-extra:not([hidden])) { left: 126px; }
#ui .shop-grid.pk.tp .pack .card-meta { left: 126px; right: 116px; }
#ui .shop-grid.pk.tp .pack .card-limit { color: #c6f59a; }   /* 가치 n% = 효율 초록(06 card-bonus 와 같은 색) */
#ui .shop-grid.pk.tp .pack.off .card-limit { color: #c9d0d6; }

/* ---- 일일 패키지 팝업 = 작은 어두운 판(18-popup-dark) · 칸 4장(무료 선물 + 일일 3) · 아래 줄 [오늘 하루 보지 않기] · [상점에서 보기] */
#ui #tpop-dim .shade { background: rgba(6, 8, 10, .72); }
#ui .popup.tpop { width: 446px; padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 8px; }
#ui .popup.tpop .popup-head { margin-bottom: 0; padding-bottom: 6px; border-bottom-color: rgba(200, 170, 110, .45); }
#ui .popup.tpop .tpop-title { font-size: 17px; }
#ui .popup.tpop .tpop-time { align-self: flex-end; margin-top: -2px; font-size: 11px; font-weight: 900; line-height: 14px; color: #ff8a6a; }
#ui .popup.tpop .tpop-row { display: flex; gap: 10px; justify-content: center; }
#ui .tpop-card { --ac: #e0a020; position: relative; flex: 1 1 0; min-width: 0; height: 206px; padding: 22px 6px 6px; border: 0; border-radius: 9px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: linear-gradient(170deg, color-mix(in srgb, var(--ac) 34%, #1d2124), #15181c 72%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 55%, transparent), 0 2px 6px rgba(0, 0, 0, .45);
  color: #f2f0e7; text-align: center; cursor: pointer; transition: transform .08s ease; }
#ui .tpop-card.t-gold { --ac: #e0a020; } #ui .tpop-card.t-green { --ac: #4fa63a; } #ui .tpop-card.t-red { --ac: #d64a3a; }
#ui .tpop-card.t-purple { --ac: #9a5cd0; } #ui .tpop-card.t-blue { --ac: #3f8fe0; } #ui .tpop-card.t-teal { --ac: #26a08f; }   /* 특가 카드 강조색 — 등급색 아님 */
#ui .tpop-card:not(.off):active { transform: scale(.96); }
#ui .tpop-card.off { filter: grayscale(.75) brightness(.7); cursor: default; }
#ui .tpop-tag { position: absolute; left: 0; top: 0; height: 18px; padding: 0 8px; border-radius: 9px 0 8px 0; background: rgba(0, 0, 0, .55); font-size: 10px; font-style: normal; font-weight: 900; line-height: 18px; color: #c6f59a; white-space: nowrap; }
#ui .tpop-art { position: relative; flex: none; width: 56px; height: 56px; }
#ui .tpop-art::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ac) 50%, transparent), transparent 68%); }
#ui .tpop-icon { position: relative; width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .6)); }
#ui .tpop-card:not(.off) .tpop-art::before { animation: tpop-glow 2.4s ease-in-out infinite; }
@keyframes tpop-glow { 0%, 100% { opacity: .7; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
#ui .tpop-name { width: 100%; font-size: 12.5px; font-weight: 900; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .tpop-rw { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; min-height: 34px; }
#ui .tpop-s { position: relative; width: 32px; height: 32px; border-radius: 6px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .tpop-si { position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; object-fit: contain; }
#ui .tpop-s > b { position: absolute; right: 1px; bottom: -1px; font-size: 9.5px; font-weight: 900; line-height: 11px; color: #fff; text-shadow: 1px 0 #111, -1px 0 #111, 0 1px #111, 0 -1px #111; }
#ui .tpop-left { margin-top: auto; font-size: 10.5px; font-weight: 800; line-height: 13px; color: #c9d0d6; }
#ui .tpop-price { flex: none; width: fit-content; min-width: 76px; height: 28px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 900; line-height: 28px; white-space: nowrap;
  color: #2b261e; background: linear-gradient(#f1d68e, #c99a3c); box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
#ui .popup.tpop .tpop-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
#ui .popup.tpop .tpop-hide { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 6px; border: 0; background: none; color: #c9c4b6; font-size: 12px; font-weight: 800; cursor: pointer; }
#ui .popup.tpop .tpop-box { width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); background: rgba(0, 0, 0, .3); }
#ui .popup.tpop .tpop-hide:active .tpop-box { background: rgba(200, 170, 110, .5); }
#ui #tpop-dim .popup.tpop .tpop-more { height: 30px; min-height: 30px; padding: 0 18px; }   /* 18-popup-dark .btn(28 · 뒤에 읽힘)보다 앞서게 id 하나 더 */
#ui #tpop-dim.open .tpop-card { animation: fx-card-in .3s cubic-bezier(.2, .8, .3, 1) both; }
#ui #tpop-dim.open .tpop-card:nth-child(2) { animation-delay: .05s; } #ui #tpop-dim.open .tpop-card:nth-child(3) { animation-delay: .1s; } #ui #tpop-dim.open .tpop-card:nth-child(4) { animation-delay: .15s; }

/* gf:js-pack prototype/Spikes/rt-battle/features/shoprev/shoprev.css */
/* 상점 개편(shoprev — shoprevamp-1122 PLAN §2~§5) 판 모양. shoprev.js 가 상점을 처음 열 때 붙인다.
   크기(GUI 450, hq-ui · maple-idle-ui-size.md): 세부 탭 칸 40 · 이웃 틈 8 이상 · 보상 칸 40(패스 최종 80) · 제목 15~16 · 본문 11~12 · 라벨 9.5 이상 · 가격 알약 28(패스 34).
   배치(REFERENCES.md): 패스 = 전폭 배너(몬스터 판 · 이름 · 기간 | 무료/유료 앞 칸 | 최종 큰 칸 | 진행 · 가격) 세로 목록, 통합 = 몬스터 무리 판 + 할인 띠 + 든 패스 얼굴 줄,
   한정 > [한정](대표 상품 · 환영 패키지) = shop_bait.css.
   색 = 06-shop 카드 tone(--ac) · 효율 초록 #a8ec7e(06 card-bonus) · 할인 빨강 #d64a3a(06 t-red) · 금 알약(01-popup 금 단추) · 최종 보상 = 등급색(--gc, ui.rewardGrade). */

/* ---------- 상점 탭 줄(shoptab2-1122): 순서 · 주력 탭 강조 · 알림 점 자리 */
/* 순서 = 한정 | 패스 | 멤버십 | 패키지 | 다이아 | 골드 | 결제 최초 보상 — 쿠키런 킹덤 상점(K1: 한정 뽑기 → 킹덤패스 → … → 재화 상점 끝) · 메이플 키우기 상점(M2: 멤버십 맨 위), REFERENCES §5.
   windows.css(06-shop)의 order 보다 이기게 .popup 하나 더 */
#ui .popup .shop-tabs .tab.s-limited { order: 0; } #ui .popup .shop-tabs .tab.s-pass { order: 1; } #ui .popup .shop-tabs .tab.s-member { order: 2; }
#ui .popup .shop-tabs .tab.s-package { order: 3; } #ui .popup .shop-tabs .tab.s-diamond { order: 4; } #ui .popup .shop-tabs .tab.s-gold { order: 5; } #ui .popup .shop-tabs .tab.s-vip { order: 6; }
/* 주력 탭(한정 · 패스 · 멤버십) = 색 바탕 + 흰 아이콘 + 빛 한 줄, 나머지 탭은 어두운 알약 · 흐린 글자(REFERENCES §5):
   - 1순위: 쿠키런 킹덤 상점 고른 탭 = 보라 그라데이션 채움 + 흰 글자 · 메이플 키우기 상점 고른 탭 = 청록 채움 + 흰 글자(K1 · M2) — 파는 탭 세 개는 늘 그 "채운" 모양으로
   - 보조: AFK Journey 파는 탭만 그림 + 밝은 판 · 스타레일 탭 흰 선 아이콘 · 버섯커 키우기 고른 탭 금 바탕(T4 · T6 · T1)
   - 색: 한정 = 할인 빨강(#d64a3a 계열, 06 t-red · 세븐나이츠 "HOT") · 패스 = 유료 금(#f0d58a→#c99a3c, 01-popup 금 단추 · 쿠키런 킹덤패스 줄 금 · 메이플 패스 프리미엄 금)
     · 멤버십 = 보라(쿠키런 상점 고른 탭 보라 · 버섯커 월 카드 보라 L1)
   - 빛 = 06 shop-sheen 결(배경 위치만 움직임 — 탭 밖으로 나가는 상자 없음, 알림 점 · 전광판에 안 걸림) */
/* 탭 7개 + 오른쪽 끝 누적 결제 칩(cumpay .cp-chip)이 한 줄 — 16:9(GUI 폭 800) 영어에서 아이콘 셋이 칩과 겹쳐 글자 14 · 좌우 12(hq-ui 탭 줄 26~35 · 글자 폭 알약) */
#ui .popup.full .shop-tabs .tab { padding: 0 12px; font-size: 14px; }
#ui .popup.full .shop-tabs .tab:is(.s-limited, .s-pass, .s-member) { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding-left: 10px; color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .55); background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .38) 50%, transparent 62%) no-repeat, var(--tg);
  background-size: 300% 100%, 100% 100%; animation: sr-tab-sheen 3.2s ease-in-out infinite;
  box-shadow: inset 0 0 0 1px var(--tb), inset 0 1px rgba(255, 255, 255, .35), 0 1px 3px rgba(0, 0, 0, .45); }
#ui .popup.full .shop-tabs .tab.s-limited { --tg: linear-gradient(#e8664f, #b8321f); --tb: rgba(255, 170, 150, .7); }
#ui .popup.full .shop-tabs .tab.s-pass { --tg: linear-gradient(#f0d58a, #c99a3c); --tb: rgba(255, 240, 200, .8); color: #2b2012; text-shadow: 0 1px rgba(255, 246, 214, .5); }
#ui .popup.full .shop-tabs .tab.s-member { --tg: linear-gradient(#9a6be0, #5f3aa6); --tb: rgba(214, 190, 255, .7); }
#ui .popup.full .shop-tabs .tab:is(.s-limited, .s-pass, .s-member)::before { content: ""; flex: none; width: 15px; height: 15px; background: currentColor;
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
/* 아이콘 = 흰 선 글리프(스타레일 상점 탭 T6 · 메뉴 아이콘과 같은 결): 한정 = 모래시계 · 패스 = 메뉴 [패스] 표 · 멤버십 = 왕관 */
#ui .popup.full .shop-tabs .tab.s-limited::before { -webkit-mask-image: url(features/shoprev/icons/tab-limited.svg); mask-image: url(features/shoprev/icons/tab-limited.svg); }
#ui .popup.full .shop-tabs .tab.s-pass::before { -webkit-mask-image: url(assets/icons/menu-pass.svg); mask-image: url(assets/icons/menu-pass.svg); }
#ui .popup.full .shop-tabs .tab.s-member::before { -webkit-mask-image: url(features/shoprev/icons/tab-member.svg); mask-image: url(features/shoprev/icons/tab-member.svg); }
/* 고른 주력 탭 = 크기 그대로 · 흰 빛 테(hq-ui "고른 것은 크기 대신 빛") + 바탕 조금 밝게. 안 고른 주력 탭은 그대로 선명(늘 눈에 띄게) */
#ui .popup.full .shop-tabs .tab:is(.s-limited, .s-pass, .s-member).on { filter: brightness(1.12) saturate(1.05);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .95), 0 0 8px rgba(255, 236, 190, .65), 0 1px 3px rgba(0, 0, 0, .45); }
#ui .popup.full .shop-tabs .tab:is(.s-limited, .s-pass, .s-member):not(.on):active { filter: brightness(1.2); }
@keyframes sr-tab-sheen { 0%, 60% { background-position: 120% 0, 0 0; } 100% { background-position: -20% 0, 0 0; } }
/* 나머지 탭 = 차분하게(글자 조금 흐림) — 고른 것은 공용 베이지 알약 */
#ui .popup.full .shop-tabs .tab:not(.s-limited, .s-pass, .s-member):not(.on) { color: #bdb6a8; }
/* 알림 점 = 탭 안 오른쪽 위(메이플 상점 AD 표지 · 쿠키런 고른 탭 빨간 점 = 탭 안쪽 — M2 · K1). 테 · 글자에 안 걸침: 점 칸만큼 오른쪽 여백을 비움 — 공용 #ui .dot(top/right −3 = 탭 밖 모서리)을 상점 탭에서만 안으로 */
#ui .popup .shop-tabs .tab:has(> .dot:not([hidden])) { padding-right: 22px; }
#ui .popup .shop-tabs .tab > .dot.dot { top: 7px; right: 7px; }   /* .full 빼고(PC 1280 에서 안 먹어 테에 걸치던 것, 11-22 총괄) */   /* reddot 의 margin(−2) · 톡 튀기(위 14 % · 1.25 배)까지 탭 안 */

/* 옛 세로 탭 줄(패키지 · 한정 · 특가)은 새 열(#sr-subs) 하나로 */
#ui :is(#pk-subs, #lm-subs, #tp-subs) { display: none !important; }
#ui .sr-subs { gap: 8px; z-index: 2; }

/* [패키지] > [기타] 배너 목록 = 왼쪽 세부 탭 열(8 + 100 + 10)만큼 비움 — [특가] 판(timedpack .tp)과 같은 값 */
#ui .shop-grid.pk.tp { padding-left: 118px; }
#ui .shop-grid.pk.tp .pack .card-tint { width: 118px; }
#ui .shop-grid.pk.tp .pack .card-art { left: 10px; top: 22px; width: 90px; height: 90px; }
#ui .shop-grid.pk.tp .pack :is(.card-name, .card-rule, .card-rw, .card-extra:not([hidden])) { left: 126px; }
/* 남은 횟수 · 기간 = 그림 판(118) 아래 띠 — 16:9(카드 폭 ≈ 315)에서 가격 단추(112) 옆 칸이 73 이라 "남은 횟수 1/1" 이 단추 밑에 잘렸다 */
#ui .shop-grid.pk.tp .pack .card-meta { left: 0; right: auto; width: 118px; bottom: 4px; height: 22px; align-items: center; justify-content: flex-end; text-shadow: 0 1px 2px #000; }
/* 16:9: 이름 칸 ≈ 181 에 긴 이름("코스튬 슬롯 어빌리티 주문서 x293")이 한 줄로 안 들어가 전광판으로 흘렀다 → 13 · 두 줄(30) · 줄 · 구성품 칸을 6 내림 */
@media (max-aspect-ratio: 19/10) {
  #ui .shop-grid.pk.tp .pack .card-name { display: flex; align-items: center; height: 30px; font-size: 13px; line-height: 15px; white-space: normal; word-break: keep-all; overflow: hidden; }
  #ui .shop-grid.pk.tp .pack .card-rule { top: 32px; }
  #ui .shop-grid.pk.tp .pack .card-rw { top: 38px; }
}
/* [패키지] 주문서 타일: 두 줄 이름의 둘째 줄을 그림 후광(.card-halo, 그림 위 28 − 10)이 덮었다 → 이름을 후광 위 층으로 */
#ui .shop-grid.pk.pkg .shop-card.pack .card-name { z-index: 2; }
#ui .shop-grid.sr-hide { visibility: hidden; }


/* ---------- 판(배너 목록) = 상점 몸 전체, 왼쪽 세부 탭 열만큼 비움 */
#ui .sr-panel { position: absolute; inset: 0; z-index: 1; box-sizing: border-box; display: none; }
#ui .sr-panel.show { display: block; }
#ui .sr-ban-list { padding: 8px 8px 8px 118px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
#ui .sr-ban-list.show { display: flex; flex-direction: column; gap: 10px; }
#ui .sr-panel::-webkit-scrollbar { display: none; }

/* 공용 조각: 칩 · 보상 칸 · 가격 알약 · 할인 띠 */
#ui .sr-chips { display: flex; gap: 4px; flex-wrap: nowrap; }
#ui .sr-chips i { flex: none; height: 18px; padding: 0 7px; border-radius: 9px; background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 18px; color: #e6e9ec; white-space: nowrap; }
#ui .sr-chips i.x { color: #a8ec7e; }
#ui .src { position: relative; flex: none; width: 40px; height: 40px; border-radius: 7px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(#2c3139, #1b1e24); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .src img { width: 28px; height: 28px; object-fit: contain; }
#ui .src u { position: absolute; right: 3px; bottom: 1px; text-decoration: none; font-size: 10px; font-weight: 900; line-height: 12px; color: #fff; text-shadow: 0 1px 2px #000, 0 0 2px #000; white-space: nowrap; }
#ui .sr-price { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 14px; border-radius: 999px; white-space: nowrap;
  font-size: 13px; font-weight: 900; color: #2b2012; background: linear-gradient(#f0d58a, #c99a3c); box-shadow: 0 2px 4px rgba(0, 0, 0, .45), inset 0 1px rgba(255, 246, 214, .6); }
#ui .sr-price.own { color: #c9d0d6; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
#ui .sr-off { position: relative; overflow: hidden; flex: none; height: 20px; padding: 0 8px; border-radius: 5px; background: #d64a3a; color: #fff;
  font-style: normal; font-size: 11.5px; font-weight: 900; line-height: 20px; white-space: nowrap; box-shadow: 0 2px 4px rgba(0, 0, 0, .4); }
#ui .sr-off::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%) no-repeat;
  background-size: 300% 100%; animation: shop-sheen 2.4s ease-in-out infinite; }   /* 배경 위치만 움직임(06 shop-sheen) — 칸 밖으로 나가는 상자가 없다 */

/* 배너 공통: 어두운 둥근 판 + 얇은 테, 누름 = 살짝 눌림(덩어리라 1 을 넘는 튐 없음 — hq-ui §6) */
#ui .sr-ban { position: relative; flex: none; display: grid; align-items: center; gap: 10px; margin: 0; padding: 0 12px 0 0; border: 0; border-radius: 10px; text-align: left; color: #f2f0e7;
  background: linear-gradient(100deg, color-mix(in srgb, var(--ac) 16%, #15171b), #131417 45%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 4px 12px rgba(0, 0, 0, .4); transition: transform .12s ease; }
#ui .sr-ban:not(.off):active { transform: scale(.985); }
#ui[data-gf-dragging] .sr-ban:active { transform: none; }
#ui .sr-ban.off { opacity: .6; }
#ui .sr-buy { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
/* 그림 칸 = 그 몬스터가 사는 사냥섬 게임 장면(--sr-scene, RtShopMon.scene — 게임 렌더러 캡처, 새 생성 그림 아님) 띠 전체 + 게임 몬스터 도트(대기 동작).
   2026-11-24 형창님 "그냥 우리 사냥섬 배경이쁜게 많은데 그거쓰면안되는거임?" — 11-22 "배경이미지만들어서하지말고"는 새로 만들지 말라는 뜻이었다(단색 판으로 비우지 않음, hq-ui 지적 목록).
   장면이 없는 칸(뽑기 미끼 둘째 칸 등)은 옛 패스 색 판 그대로. 글자 = 왼쪽 위(::after 위쪽만 어둡게) */
#ui :is(.srp-art, .srb-stack) { position: relative; overflow: hidden;
  background: radial-gradient(ellipse 70% 55% at 68% 78%, color-mix(in srgb, var(--ac) 52%, transparent), transparent 70%),
    linear-gradient(165deg, color-mix(in srgb, var(--ac) 46%, #101215) 0%, color-mix(in srgb, var(--ac) 18%, #121418) 60%, #131417 100%); }
#ui :is(.srp-ban, .srb-card)[style*="--sr-scene"] :is(.srp-art, .srb-stack) { background: var(--sr-scene) center 55% / cover no-repeat, #131417; }   /* 장면 = 땅이 칸을 채우는 가까운 캡처(passlayout-1124) — 몬스터 발밑(아래 8)이 땅 위 */
#ui :is(.srp-ban, .srb-card)[style*="--sr-scene"] :is(.srp-art, .srb-stack)::before { height: 38%; background: linear-gradient(180deg, transparent, rgba(8, 12, 18, .35)); }   /* 몬스터 발밑만 살짝 가라앉힘 */
#ui :is(.srp-art, .srb-stack)::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; pointer-events: none;   /* 바닥 = 조금 밝은 띠 */
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--ac) 22%, rgba(0, 0, 0, .25))); }
#ui .sr-stage { position: absolute; right: 10px; bottom: 4px; display: flex; align-items: flex-end; }
#ui .sr-mon { position: relative; display: block; flex: none; width: calc(var(--w) * var(--k)); height: calc(var(--h) * var(--k));
  background-repeat: no-repeat; background-size: calc(var(--w) * var(--k) * var(--n)) 100%; image-rendering: pixelated;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .35)); animation: sr-idle var(--t) steps(var(--n)) infinite; }
#ui .sr-mon.none { width: 0; height: 0; }
#ui .sr-mon.still { animation: none; background-position: 0 0; }
@keyframes sr-idle { from { background-position: 0 0; } to { background-position: calc(var(--w) * var(--k) * var(--n) * -1) 0; } }

/* ---------- 패스 배너: [사냥섬 장면 좁은 칸 118 + 몬스터 도트 · 이름 · 칩] [보상 판 = 메이플 키우기 배틀패스 창(M1) 결: 이름표 판 + 단계 세로 열 44 전부 — 가로로 넘김, 칸 누름 = 아이템 정보]
   [오른쪽 열 세로(140~176): 가치 딱지(오른쪽 위) → 최종 보상 → 두 단 값 단추 — 형창님 시안 "최종 보상은 결제 단추 위"], 높이 150 · 목록 틈 8 → 폰 가로 한 화면 2장 + 다음 머리 10.
   값 단추 = 한정 판과 같은 두 단 연두 단추(K1 · K3 · K4) — 둥근 알약이 단추처럼 보여 진짜 단추를 못 찾던 것을 없앰. 패스 창으로 가는 것은 이 단추뿐(배너 판은 눌림 모양 없음) */
#ui .srp-ban, #ui .srp-ban:not(.off):active { transform: none; }
#ui .srp-ban button.sr-cta { margin: 0; padding: 0; border: 0; font: inherit; color: inherit; cursor: pointer; transition: transform .06s ease; }
#ui .srp-ban button.sr-cta:not(.own):active { transform: scale(.94); }
#ui .srp-ban { grid-template-columns: 118px minmax(0, 1fr) minmax(140px, 176px); height: 150px; gap: 12px; padding-right: 10px; }
#ui .sr-ban-list.show:has(> .srp-ban) { gap: 8px; }
#ui .srp-art { height: 100%; border-radius: 10px 0 0 10px; }
#ui .srp-art::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 55%; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent); pointer-events: none; }   /* 이름 · 칩 뒤만 어둡게(밝은 신전 장면에서도 읽힘) */
#ui .srp-art::before { z-index: 1; }
/* 이름 = 그림 위 왼쪽 위 흰 굵은 16(L1 "이름 = 왼쪽 위 큰 굵은 글자 · 두 줄까지") — 'Adventure Story Pass' 처럼 길면 두 줄(넘침 없음) · 칩 = 기간 · 효율(노랑 — 패스 창 #알약 · M1 '1,700% 효율') · 완주 불가.
   몬스터 위에 얹힌다(시안처럼 몬스터가 칸 높이 대부분) — 글자는 검은 외곽선으로 읽힘 */
#ui .srp-tt { position: absolute; left: 10px; top: 9px; z-index: 3; max-width: calc(100% - 18px); display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
#ui .srp-tt b { font-size: 15px; font-weight: 900; line-height: 18px; color: #fff; white-space: normal; word-break: keep-all; overflow-wrap: anywhere;
  text-shadow: 0 1px 0 #0a1018, 1px 0 0 #0a1018, -1px 0 0 #0a1018, 0 2px 5px #04070c; }
#ui .srp-tt .sr-chips { flex-wrap: wrap; }
/* 몬스터 도트 = 그림 칸 아래 가운데, 정수 배(RtShopMon.html · pixelated) 108×92 상자 — shop_pass.js monBox. 사냥섬 땅 위에 선 자리 */
#ui .srp-ban .sr-stage { z-index: 2; left: 0; right: 0; bottom: 4px; justify-content: center; }
/* 보상 판 = 메이플 키우기 배틀패스 창(M1, REFERENCES §5 — 2026-01 캡처를 다시 열어 읽음):
   왼쪽 이름표 판(어두운 판, 마디 · 머리 높이 24 만큼 내려 무료 · 프리미엄 칸과 줄 맞춤): 무료 = 흰 글자 + 은 문장 · 프리미엄 = 금 글자 + 금 문장, 금빛 짙은 바탕(위 칸과 가는 선으로 나뉨).
   단계 세로 열: 맨 위 청록 마디 선(지난 단 = 청록, 남은 단 = 어두운 회색) · 연회색 머리 띠에 단계 값(짙은 글자) · 연회색 그러데이션 몸에 위 무료 칸 · 아래 유료 칸,
   칸 = 흰 둥근 네모 + 아래 짙은 수량 알약, 받은 칸 = 어둡게 + 체크, 안 산 패스 유료 칸 = 오른쪽 위 작은 자물쇠 네모. 열 높이 = 이름표 줄 높이(위 24 · 무료 · 프리미엄 반씩) */
#ui .srp-mid { min-width: 0; align-self: stretch; display: flex; gap: 4px; padding: 7px 0; }
#ui .srp-labs { flex: none; width: 58px; display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; background: #141619; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .srp-cond { flex: none; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 9.5px; font-weight: 900; line-height: 11px; white-space: nowrap; overflow: hidden;
  color: #9fe7ee; background: #22262b; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .1); }   /* 조건 = 마디 선 청록 글자, 단계 값 띠(마디 8 + 값 15)와 같은 줄 */
#ui .srp-labs em { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-style: normal; }
#ui .srp-labs em span { max-width: 56px; font-size: 9.5px; font-weight: 900; line-height: 11px; white-space: nowrap; color: #eceef0; }
#ui .srp-labs em.prem { background: linear-gradient(180deg, #3b2f14, #251d0e); box-shadow: inset 0 1px 0 rgba(224, 186, 96, .35); }
#ui .srp-labs em.prem span { color: #f6d264; }
#ui .srp-badge { flex: none; width: 30px; height: 30px; background: center / contain no-repeat; filter: drop-shadow(0 1px 2px #000c); }
#ui .srp-labs em.free .srp-badge { background-image: url(assets/ui/pass-badge/free.png); }
#ui .srp-labs em.prem .srp-badge { background-image: url(assets/ui/pass-badge/premium.png); }
#ui .srp-track { flex: 1 1 auto; min-width: 0; display: flex; gap: 3px; overflow-x: auto; overflow-y: hidden; overscroll-behavior: contain; scrollbar-width: none; }
#ui .srp-track::-webkit-scrollbar { display: none; }
#ui .srp-col { position: relative; flex: none; width: 44px; display: flex; flex-direction: column; }
#ui .srp-node { position: relative; flex: none; height: 8px; margin-bottom: 1px; }
#ui .srp-node::before { content: ""; position: absolute; left: 0; right: -3px; top: 3px; height: 2px; background: #3a3f46; }
#ui .srp-col.on .srp-node::before { background: #35b9c9; }
#ui .srp-node::after { content: ""; position: absolute; left: 50%; top: 0; width: 8px; height: 8px; margin-left: -4px; box-sizing: border-box; border-radius: 50%; background: #1c2024; border: 1.5px solid #5b636c; }
#ui .srp-col.on .srp-node::after { border-color: #4fd6e4; background: #17616b; }
#ui .srp-at { flex: none; height: 15px; border-radius: 5px 5px 0 0; font-size: 9px; font-weight: 900; line-height: 15px; text-align: center; white-space: nowrap; overflow: hidden; color: #4b4a46; background: #cfcfcc; }
#ui .srp-col.on .srp-at { color: #23221f; }
#ui .srp-c { position: relative; flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; background: linear-gradient(180deg, #e3e3e0, #c6c6c2); }
#ui .srp-c.prem { border-radius: 0 0 5px 5px; background: linear-gradient(180deg, #ecebe6, #cfcdc6); box-shadow: inset 0 1px 0 rgba(0, 0, 0, .12); }
#ui .srp-it { position: relative; width: 32px; height: 32px; box-sizing: border-box; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #ffffff, #e9e9e6); box-shadow: inset 0 0 0 1px #9c9c97, 0 1px 1px rgba(0, 0, 0, .25); }
#ui .srp-it img { width: 26px; height: 26px; object-fit: contain; }
#ui .srp-c u { min-width: 26px; height: 11px; padding: 0 3px; box-sizing: border-box; border-radius: 3px; text-decoration: none; font-size: 9px; font-weight: 900; line-height: 11px; text-align: center; white-space: nowrap; color: #fff; background: #4d4d4b; }
/* 받은 칸 = 어둡게 덮고 체크(M1) */
#ui .srp-c.got .srp-it::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(38, 36, 34, .62); }
#ui .srp-c.got .srp-it::after { content: ""; position: absolute; left: 12px; top: 6px; width: 6px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); filter: drop-shadow(0 1px 0 #6b3c18); }
/* 안 산 패스의 유료 칸 = 오른쪽 위 작은 자물쇠 네모(M1 · C1 · P1). 칸 안이라 잘림 없음 */
#ui .srp-ban:not(.off) .srp-c.prem.lock::before { content: ""; position: absolute; right: 1px; top: 2px; z-index: 1; width: 11px; height: 11px; border-radius: 3px; background: #55534f; }
#ui .srp-ban:not(.off) .srp-c.prem.lock::after { content: ""; position: absolute; right: 3px; top: 4px; z-index: 2; width: 7px; height: 7px; background: #fff;
  -webkit-mask: url(features/morph/lock.svg) center / contain no-repeat; mask: url(features/morph/lock.svg) center / contain no-repeat; }
/* 마지막 단 = 크림 금빛 열(M1 마지막 열) */
#ui .srp-col.last .srp-at { color: #3a2a08; background: linear-gradient(180deg, #f6e7b8, #d9b766); }
#ui .srp-col.last .srp-c { background: linear-gradient(180deg, #f7edd0, #e6cf95); }
/* 오른쪽 열 세로(형창님 시안 — 최종 보상은 결제 단추 바로 위): 가치 딱지(한정 판 .sr-flag 와 같은 빨간 리본, 오른쪽 위) → 최종 보상 금빛 줄(M1 마지막 열 금) → 두 단 연두 값 단추.
   다이아는 단추 윗단 글자(K1 · K3 윗단 "구매 조건" 자리) — 판 · 알약 없이 단추의 일부라 무엇이 단추인지 하나로 보인다. 지금 진행으로 이미 열린 유료 단 다이아 = '즉시 지급'(노랑 수), 아니면 '총 지급' */
#ui .srp-side { position: relative; min-width: 0; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 7px 0 7px; }
#ui .srp-ban .sr-flag { position: absolute; top: 1px; right: -4px; z-index: 3; margin: 0; }   /* 띠 = 최종 보상 줄 오른쪽 위 모서리에 걸침(리본은 겹쳐도 됨 — 형창님) */
#ui .srp-ban .srp-last { margin-top: 9px; }
#ui .srp-ban .sr-cta { width: 100%; max-width: 176px; min-width: 0; border-radius: 9px; animation: sr-cta-glow 1.047s ease-in-out infinite alternate; }
#ui .srp-ban .sr-cta b { height: 34px; padding: 0 10px; font-size: 18px; line-height: 34px; }
#ui .srp-ban .sr-cta small { display: flex; align-items: center; justify-content: center; gap: 3px; height: 17px; padding: 0 6px; font-size: 10px; line-height: 17px; }
#ui .srp-dia img { flex: none; width: 14px; height: 14px; object-fit: contain; filter: drop-shadow(0 1px 1px #000a); }
#ui .srp-dia i { font-style: normal; font-size: 11.5px; font-weight: 900; color: #fff; text-shadow: 0 1px 1px #0008; }
#ui .srp-dia.now i { color: #ffe27a; }
#ui .srp-ban .sr-cta.own { animation: none; }
#ui .srp-ban .sr-cta.own b { font-size: 13px; }
/* 단추 빛 = 바깥 연두 빛 맥동(ui-juice 등급 빛 1047 ms) — 배너 여백(8) 안에서만 퍼진다 */
@keyframes sr-cta-glow { 0% { box-shadow: 0 0 0 1px #d6ff9a59, 0 3px 7px #0008; } 100% { box-shadow: 0 0 0 1px #d6ff9aa6, 0 3px 7px #0008, 0 0 7px #8fe04a99; } }
/* 최종 보상 = 줄에서 가장 큰 칸(메이플 패스 M1 마지막 열 강조 · 쿠키런 킹덤 패키지 C3 "가운데 핵심 보상이 가장 큼" · hq-ui 패스 틀 "오른쪽 끝 고정 최종 열") 80 · 등급색 2px 테 + 빛 맥동 1047 ms(ui-juice 등급 빛) + 빛 한 줄 지나감(06 shop-sheen, 배경 위치만 — 칸 밖으로 안 나감) */
/* 최종 열 = 금빛 세로 띠(M1 메이플 패스 마지막 열 금 바탕) 안에 꼬리표 + 큰 칸 */
#ui .srp-last { position: relative; flex: none; box-sizing: border-box; width: 100%; max-width: 176px; height: 58px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px;
  background: linear-gradient(180deg, rgba(240, 213, 138, .32), rgba(201, 154, 60, .14)); box-shadow: inset 0 0 0 1px rgba(240, 213, 138, .45); }
#ui .srp-last small { flex: 0 1 auto; min-width: 0; font-size: 10.5px; font-weight: 900; line-height: 13px; color: #f6d77e; text-align: center; word-break: keep-all; text-shadow: 0 1px 1px #000; }   /* "최종 보상" 금 글자(줄 안 — 위 딱지와 안 겹침) */
#ui .src.big { width: 80px; height: 80px; border-radius: 10px; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--gc, var(--ac)) 55%, #2c3139), #1b1e24 75%);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--gc, var(--ac)) 80%, #fff 10%), 0 0 10px color-mix(in srgb, var(--gc, var(--ac)) 45%, transparent); animation: sr-glow 1.047s ease-in-out infinite alternate; }
#ui .src.big::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .35) 50%, transparent 62%) no-repeat; background-size: 300% 100%; animation: shop-sheen 2.4s ease-in-out infinite; }
#ui .src.big img { width: 60px; height: 60px; }
#ui .srp-last .src.big { flex: none; width: 48px; height: 48px; border-radius: 8px; }   /* 줄 높이 58 안 — 보상 칸 40 보다 큼 */
#ui .srp-last .src.big img { width: 38px; height: 38px; }
#ui .src.big u { z-index: 1; font-size: 11px; }
@keyframes sr-glow { 0% { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--gc, var(--ac)) 80%, #fff 10%), 0 0 4px color-mix(in srgb, var(--gc, var(--ac)) 30%, transparent); }
  100% { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--gc, var(--ac)) 80%, #fff 30%), 0 0 12px color-mix(in srgb, var(--gc, var(--ac)) 60%, transparent); } }

/* ---------- 통합 패스 카드(쿠키런 킹덤 K5 킹덤패스 상품 판 · 메이플 키우기 M1 멤버십 판):
   [장면 그림 + 든 패스 몬스터 + 그림 위 제목] [혜택 상자(머리 띠 + 패스마다 받을 것, 수만 노랑) / 단품 합 · 값 단추] + 오른쪽 위 할인 딱지 */
#ui .srb-card { grid-template-columns: clamp(290px, 44%, 430px) minmax(0, 1fr); align-items: stretch; min-height: 138px; gap: 0; padding: 0; overflow: hidden;
  background: linear-gradient(100deg, color-mix(in srgb, var(--ac) 22%, #15181d), #131418 70%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 42%, #34373e), 0 4px 12px rgba(0, 0, 0, .4); }
#ui .srb-stack { align-self: stretch; border-radius: 10px 0 0 10px; }
/* 통합 카드 장면 = 사냥섬 게임 장면(--sr-scene, 인라인 — RtShopMon.scene, passart-1124. 옛 Codex 생성 shop-art 그림은 여기서 뺐다).
   제목 뒤(위)만 어둡게, 오른쪽 끝은 혜택 상자 쪽으로 스며들게 */
#ui .srb-card[data-sr-bundle] .srb-stack {
  background: linear-gradient(90deg, transparent 82%, #13141899), linear-gradient(180deg, #080d16c4, #080d1630 36%, transparent 55%, #0a101b69),
    var(--sr-scene, none) center 55% / cover no-repeat, color-mix(in srgb, var(--ac) 24%, #101419); }
#ui .srb-card[data-sr-bundle] .srb-stack::before { background: none; }
#ui .srb-crowd { left: 8px; right: 12px; bottom: 7px; justify-content: flex-end; }
#ui .srb-crowd .sr-mon + .sr-mon { margin-left: calc(-10px - 6px * (var(--crowd) - 2)); }
#ui .srb-crowd .sr-mon { z-index: calc(var(--i) + 1); filter: drop-shadow(0 3px 1px #080e15aa) drop-shadow(0 0 5px #16213288); }
#ui .srb-crowd .sr-mon:nth-child(2) { margin-bottom: 7px; }
#ui .srb-more { position: absolute; right: 0; top: 0; z-index: 9; padding: 3px 7px; border-radius: 10px; background: #000b; font-size: 11px; color: #fff; }
#ui .srb-tt { position: absolute; left: 12px; top: 10px; right: 10px; z-index: 12; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
#ui .srb-tt b { font-size: 18px; font-weight: 900; line-height: 21px; color: #fff; overflow-wrap: anywhere; word-break: keep-all;
  text-shadow: 0 1px 0 #0a1018, 1px 0 0 #0a1018, -1px 0 0 #0a1018, 0 2px 5px #04070c; }
#ui .srb-tt .sr-chips { flex-wrap: wrap; }
#ui .srb-body { min-width: 0; align-self: stretch; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; padding: 8px 12px 8px 10px; }
/* 혜택 상자 = 패스 색 머리 띠 + 줄 목록(메이플 M1 "구매 시 즉시 지급" 청록 머리 띠 상자 · 혜택 줄은 수만 노랑) */
#ui .srb-sum { min-width: 0; align-self: center; display: grid; border-radius: 9px; background: #080c13a8; box-shadow: inset 0 0 0 1px #ffffff1c; }
#ui .srb-cap { display: flex; align-items: center; justify-content: space-between; height: 22px; padding: 0 0 0 10px; border-radius: 9px 9px 0 0; font-size: 10.5px; font-weight: 900; line-height: 22px; color: #fff; white-space: nowrap; text-shadow: 0 1px 1px #0008;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ac) 78%, #1a1d22), color-mix(in srgb, var(--ac) 30%, #14171c)); }
#ui .srb-card .srb-cap > .sr-flag { margin: -8px -5px 0 0; }
#ui .srb-line { display: flex; align-items: center; gap: 7px; min-height: 25px; padding: 0 9px 0 7px; }
#ui .srb-line + .srb-line { box-shadow: inset 0 1px #ffffff12; }
#ui .srb-face { flex: none; width: 30px; height: 24px; display: flex; align-items: flex-end; justify-content: center; }
#ui .srb-line > b { flex: 1; min-width: 0; font-size: 12px; font-weight: 900; line-height: 15px; color: #f0ead9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ui .srb-line.more > b { color: #9a9d98; }
#ui .srb-got { flex: none; display: flex; gap: 9px; }
#ui .srb-g { display: inline-flex; align-items: center; gap: 3px; }
#ui .srb-g img { width: 20px; height: 20px; object-fit: contain; filter: drop-shadow(0 1px 1px #000a); }
#ui .srb-g u { text-decoration: none; font-size: 12px; font-weight: 900; line-height: 14px; color: #ffe27a; white-space: nowrap; text-shadow: 0 1px 1px #000; }
#ui .srb-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
#ui .srb-deal { font-size: 11.5px; font-weight: 800; line-height: 14px; color: #c3c9d1; white-space: nowrap; }
#ui .srb-deal s { color: #9aa1ab; }
#ui .srb-foot .sr-cta { min-width: 132px; }
#ui .srb-foot .sr-cta b { height: 32px; font-size: 16px; line-height: 32px; }
@media (max-aspect-ratio: 19/10) {
  #ui .srb-body { padding-inline: 8px 9px; }
  #ui .srb-got { gap: 6px; }
  #ui .srb-g img { width: 18px; height: 18px; }
}
#ui .sr-rib { position: absolute; left: -4px; top: -7px; z-index: 10; height: 20px; padding: 0 10px; border-radius: 6px 6px 6px 2px; background: #d64a3a; color: #fff;
  font-style: normal; font-size: 11.5px; font-weight: 900; line-height: 20px; box-shadow: 0 2px 4px rgba(0, 0, 0, .45); }
#ui .srb-card.pick { box-shadow: 0 0 0 1px rgba(224, 186, 96, .6), 0 4px 12px rgba(0, 0, 0, .4); }
#ui .sr-ban-list:has(.sr-rib) { padding-top: 14px; }

/* 한정 > [한정] 판(대표 상품 · 환영 패키지 · 실제 칸 줄) 모양 = shop_bait.css */

/* ---------- 들어옴 연출(처음 열 때 · 판이 바뀔 때만 — shoprev.js swap 이 한 번 거는 .sr-in) */
#ui :is(#sr-ban.sr-in > .sr-ban, #sr-ban.sr-in .slb-row > .sr-ban) { animation: fx-card-in .3s cubic-bezier(.2, .8, .3, 1) both; }
#ui :is(#sr-ban.sr-in > :nth-child(2), #sr-ban.sr-in .slb-row > :nth-child(2)) { animation-delay: .07s; }
#ui :is(#sr-ban.sr-in > :nth-child(3)) { animation-delay: .14s; }
#ui :is(#sr-ban.sr-in > :nth-child(n+4)) { animation-delay: .21s; }

/* gf:js-pack prototype/Spikes/rt-battle/features/shoprev/shop_bait.css */
/* 한정 > [한정] 판 모양. 근거 = shoprevamp-1122/REFERENCES.md §6 · §7(쿠키런 킹덤 K1 · K3 · K4, 메이플 키우기 M1 · M4 · M5).
   틀: 대표 상품 = 빛살 위 큰 상품 그림 + 구성품 무더기(그림 위 노란 굵은 수 · 짙은 외곽선) + 모서리 빨간 딱지 + 두 단 연두 값 단추(윗단 구매 조건 · 아랫단 값).
   크기(GUI 450, maple-idle-ui-size.md): 제목 15~19 · 무더기 그림 38~64 · 수 13~18 · 이름 10~11 · 값 단추 아랫단 28~32. */

/* ---------- 공용 조각(한정 · 통합 패스): 두 단 값 단추 · 무더기 · 모서리 딱지 */
/* 값 단추 = 연두 채움 + 흰 굵은 값(쿠키런 K1 · K3 · K4 두 단 단추, 메이플 M1 · M4 연두 막대). 턱 · 광택 없이 평평하게 */
#ui .sr-cta { flex: none; display: inline-grid; min-width: 96px; overflow: hidden; border-radius: 10px; text-align: center;
  box-shadow: 0 0 0 1px #d6ff9a59, 0 3px 7px #0008; }
#ui .sr-cta small { padding: 2px 10px; font-size: 10px; font-weight: 800; line-height: 13px; color: #e6ffcc; background: #2c7419; white-space: nowrap; }
#ui .sr-cta b { height: 30px; padding: 0 16px; font-size: 15px; font-weight: 900; line-height: 30px; color: #fff; white-space: nowrap;
  text-shadow: 0 1px 0 #2a6413, 1px 0 0 #2a6413, -1px 0 0 #2a6413, 0 -1px 0 #2a6413, 0 2px 3px #1c4a0c99;
  background: linear-gradient(110deg, transparent 40%, #ffffff66 50%, transparent 60%) no-repeat, linear-gradient(#93d83e, #54a922);
  background-size: 300% 100%, 100% 100%; animation: shop-sheen 3.2s ease-in-out infinite; }
#ui .sr-cta.own { box-shadow: inset 0 0 0 1px #ffffff26; }
#ui .sr-cta.own b { color: #c9d0d6; text-shadow: none; background: #ffffff1a; animation: none; }
/* 무더기 = 그림 + 그림 아랫변에 걸친 노란 굵은 수(메이플 M5 "x250" 노랑 + 검은 외곽선, 쿠키런 K1 무더기 위 큰 수) + 아래 흰 이름 */
#ui .sr-pile { min-width: 0; display: grid; justify-items: center; align-content: start; text-align: center; }
#ui .sr-pile img { grid-area: 1 / 1; width: var(--pile, 44px); height: var(--pile, 44px); object-fit: contain; filter: drop-shadow(0 4px 4px #02040ab8); }
#ui .sr-pile b { grid-area: 1 / 1; align-self: end; z-index: 1; margin-bottom: -4px; font-size: var(--pile-n, 14px); font-weight: 900; line-height: 1.1; color: #ffe27a; white-space: nowrap;
  text-shadow: 0 1px 0 #1a1206, 1px 0 0 #1a1206, -1px 0 0 #1a1206, 0 -1px 0 #1a1206, 0 2px 3px #000; }
#ui .sr-pile small { margin-top: 5px; max-width: var(--pile-w, 88px); font-size: 10px; font-weight: 800; line-height: 12px; color: #f1f2f7; text-shadow: 0 1px 2px #000, 0 0 5px #000;
  overflow-wrap: anywhere; word-break: keep-all; }
/* 모서리 딱지 = 오른쪽 위에 기울어 붙은 빨간 리본(쿠키런 K2 "첫 구매" 리본 · K4 말풍선 자리), 글 흰색 · 수 노랑. 판 안쪽(판이 자르는 칸이라 밖으로 안 뺀다) */
#ui .sr-flag { position: absolute; top: 9px; right: 8px; z-index: 5; padding: 3px 9px 3px 13px; font-style: normal; font-size: 11px; font-weight: 900; line-height: 16px; color: #fff; white-space: nowrap;
  text-shadow: 0 1px 1px #6d130c; transform: rotate(4deg); transform-origin: 100% 0;
  background: linear-gradient(110deg, transparent 40%, #ffffff73 50%, transparent 60%) no-repeat, linear-gradient(#f0624c, #c22e21);
  background-size: 300% 100%, 100% 100%; animation: shop-sheen 2.6s ease-in-out infinite;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 6px 50%); }
#ui .sr-flag b { font-size: 14px; color: #ffe27a; }
/* 제목 줄 안 딱지 = 흐름 안(긴 제목 · 다른 언어에서도 제목과 안 겹침), 통합 카드처럼 제목 줄이 없으면 판 오른쪽 위 */
#ui :is(.srh-head, .slb-head, .srb-cap) > .sr-flag { position: relative; top: auto; right: auto; flex: none; margin: -1px -1px 0 0; }
/* 붙는 연출 = 작게 → 제 크기(제 크기보다 커지지 않아 옆 글자를 덮는 순간이 없다) */
#ui #sr-ban.sr-in .sr-flag { animation: sr-flag-in .3s cubic-bezier(.2, .8, .3, 1) .26s both, shop-sheen 2.6s ease-in-out .7s infinite; }
@keyframes sr-flag-in { 0% { opacity: 0; transform: rotate(-9deg) scale(.55); } 100% { opacity: 1; transform: rotate(4deg) scale(1); } }

/* ---------- 판 배치: 계정 상태와 상관없이 [대표 | 옆 열] 하나(대표 = 첫 구매 특가 → 정가 광고 제거 월정액, shoprev.js limList). 판 높이를 채운다.
   환영 패키지 두 장 한 줄(.slb-pair) + 아래 줄은 광고 제거 월정액 줄이 아예 없을 때만 */
#ui .slb-row { flex: 1 0 auto; gap: 10px; }
#ui .slb-pair { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
#ui .slb-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: stretch; min-height: 248px; }
#ui .slb-layout:not(:has(.slb-secondary)) { grid-template-columns: minmax(0, 1fr); }
#ui .slb-secondary { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
#ui .slb-secondary > .sr-ban { flex: 1 0 auto; }
#ui #sr-ban.sr-in .slb-secondary > * { animation: fx-card-in .3s cubic-bezier(.2, .8, .3, 1) both; }
#ui #sr-ban.sr-in .slb-secondary > :nth-child(1) { animation-delay: .07s; }
#ui #sr-ban.sr-in .slb-secondary > :nth-child(2) { animation-delay: .14s; }
#ui #sr-ban.sr-in .slb-secondary > :nth-child(n+3) { animation-delay: .21s; }

/* ---------- 대표 상품 판: 제목(위) | 빛살 위 상품 그림(왼쪽) | 구성품 상자 · 혜택 줄(오른쪽) | 값 단추(오른쪽 아래 — 메이플 M4 1회 한정 판 배치)
   바탕 = 짙은 남청 + 그림 뒤 금빛(쿠키런 K4 월정액 카드: 파란 빛살 바탕 + 금 테 액자) */
#ui .sr-ban.srh-card { display: grid; grid-template-columns: 43% minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "head head" "art info" "art foot";
  align-items: stretch; gap: 6px 10px; padding: 12px; overflow: hidden;
  background: radial-gradient(ellipse 44% 58% at 23% 60%, #ffe2946b, #f2b24a2e 46%, transparent 74%),
    linear-gradient(180deg, #0a1220c7, transparent 32%, transparent 64%, #080d17d1),
    linear-gradient(135deg, #1d5273, #1b3562 46%, #2c2258);
  box-shadow: inset 0 0 0 1px #ecca7494, inset 0 0 0 2px #0a0e1680, 0 4px 12px #0006; }
/* 빛살(천천히 돎) · 반짝임 — 그림 뒤 장식(쿠키런 K4 · 버섯커 P4 방사형 빛살) */
#ui .srh-card::before { content: ""; position: absolute; left: 23%; top: 60%; width: 380px; height: 380px; margin: -190px 0 0 -190px; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(#ffe9a82b 0 8deg, transparent 8deg 20deg);
  -webkit-mask: radial-gradient(circle, #000 12%, transparent 66%); mask: radial-gradient(circle, #000 12%, transparent 66%); animation: sr-rays 36s linear infinite; }
#ui .srh-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; animation: sr-twinkle 2.2s ease-in-out infinite alternate;
  background: radial-gradient(circle, #fff 0 1px, #fff9 1.6px, transparent 3.4px) 9% 38% / 9px 9px no-repeat, radial-gradient(circle, #fff 0 1px, #fff9 1.6px, transparent 3.4px) 38% 46% / 9px 9px no-repeat,
    radial-gradient(circle, #fff 0 .8px, #fff8 1.3px, transparent 2.6px) 31% 82% / 7px 7px no-repeat, radial-gradient(circle, #fff 0 .8px, #fff8 1.3px, transparent 2.6px) 6% 74% / 7px 7px no-repeat; }
@keyframes sr-rays { to { transform: rotate(360deg); } }
@keyframes sr-twinkle { 0% { opacity: .25; } 100% { opacity: 1; } }
#ui .srh-card > * { position: relative; z-index: 1; }
#ui .srh-head { grid-area: head; min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
#ui .srh-tt { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
#ui .srh-tt > b { font-size: 19px; font-weight: 900; line-height: 23px; color: #fff; overflow-wrap: anywhere; word-break: keep-all;
  text-shadow: 0 1px 0 #0a1424, 1px 0 0 #0a1424, -1px 0 0 #0a1424, 0 2px 5px #050a14; }
#ui .srh-art { grid-area: art; min-height: 0; display: flex; align-items: center; justify-content: center; }
#ui .srh-art img { width: 132px; height: 132px; max-height: 100%; object-fit: contain; filter: drop-shadow(0 8px 8px #050a14c7); animation: sr-bob 2.8s ease-in-out infinite alternate; }
@keyframes sr-bob { 0% { transform: translateY(2px); } 100% { transform: translateY(-4px); } }
#ui .srh-info { grid-area: info; min-width: 0; align-self: center; display: flex; flex-direction: column; gap: 7px; }
/* 구성품 상자 = 어두운 반투명 칸(메이플 M4 "상품 구성" 칸 줄 · M1 "구매 시 즉시 지급" 상자) */
#ui .srh-piles { display: flex; align-items: flex-start; justify-content: space-evenly; gap: 6px; padding: 11px 8px 10px; border-radius: 10px; background: #070c15a6; box-shadow: inset 0 0 0 1px #ffffff1f;
  --pile: 52px; --pile-n: 16px; --pile-w: 78px; }
#ui #sr-ban.sr-in .srh-piles .sr-pile { animation: fx-cell .42s cubic-bezier(.2, 1.2, .4, 1) both; }
#ui #sr-ban.sr-in .srh-piles .sr-pile:nth-child(1) { animation-delay: .18s; }
#ui #sr-ban.sr-in .srh-piles .sr-pile:nth-child(2) { animation-delay: .25s; }
#ui #sr-ban.sr-in .srh-piles .sr-pile:nth-child(n+3) { animation-delay: .32s; }
/* 혜택 한 줄 = 효율 초록(06 card-extra) */
#ui .srh-ex { padding-left: 2px; font-size: 11px; font-weight: 800; line-height: 14px; color: #b9f08e; text-shadow: 0 1px 2px #000; word-break: keep-all; }
#ui .srh-foot { grid-area: foot; display: flex; justify-content: flex-end; }
#ui .srh-foot .sr-cta { min-width: 148px; }
#ui .srh-foot .sr-cta small { font-size: 10.5px; line-height: 15px; }
#ui .srh-foot .sr-cta b { height: 34px; font-size: 17px; line-height: 34px; }

/* ---------- 환영 패키지 카드: 배경 장면(전용 그림) + 이름 + 무더기 + 두 단 값 단추 + 가치 딱지 */
#ui .sr-ban.slb-card { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; align-items: stretch; min-height: 176px; gap: 0; padding: 0; overflow: hidden;
  background: linear-gradient(180deg, #0c0914c9, #0c091466 30%, transparent 52%, #090c14c2 84%),
    var(--slb-scene, none) center 54% / cover no-repeat, color-mix(in srgb, var(--ac) 23%, #181a21);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 55%, #3a3c44), 0 3px 8px #0005; }
#ui .slb-card[data-sr-ladder="bait-main"] { --slb-scene: url(assets/ui/shop-art/atelier.webp); }
#ui .slb-card[data-sr-ladder="bait-side"] { --slb-scene: url(assets/ui/shop-art/observatory.webp); }
#ui .slb-head { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 10px 9px 0 12px; }
#ui .slb-name { min-width: 0; font-size: 17px; font-weight: 900; line-height: 20px; color: #fff; overflow-wrap: anywhere; word-break: keep-all;
  text-shadow: 0 1px 0 #0b0812, 1px 0 0 #0b0812, -1px 0 0 #0b0812, 0 2px 5px #050409; }
#ui .slb-art { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 4px 10px; --pile: 64px; --pile-n: 18px; --pile-w: 120px;
  background: radial-gradient(ellipse 46% 62% at 50% 46%, color-mix(in srgb, var(--ac) 30%, #ffffff2e), transparent 72%); }
#ui .slb-art .sr-pile small { font-size: 11px; line-height: 13px; }
#ui .slb-foot { display: flex; justify-content: center; padding: 0 12px 11px; }
#ui .slb-foot .sr-cta { min-width: 150px; }
/* 옆 열에 두 장 이상(.slb-compact)이면 낮은 가로 카드: [이름 / 무더기] [값 단추]. 한 장뿐이면 위의 큰 카드 그대로 열을 채운다 */
#ui .slb-compact .slb-card { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr); min-height: 92px; }
#ui .slb-compact .slb-head { grid-column: 1 / -1; padding: 7px 8px 0 10px; }
#ui .slb-compact .slb-name { font-size: 15px; line-height: 18px; }
#ui .slb-compact .slb-art { background: none; justify-content: flex-start; align-items: flex-start; gap: 10px; padding: 4px 4px 4px 12px; --pile: 38px; --pile-n: 13px; --pile-w: 84px; }
#ui .slb-compact .slb-art .sr-pile small { font-size: 10px; line-height: 12px; }
#ui .slb-compact .slb-foot { align-self: end; padding: 0 9px 8px 0; }
#ui .slb-compact .slb-foot .sr-cta { min-width: 100px; }

/* 옆 열이 환영 패키지 두 장뿐(결제한 계정 — 광고 제거 월정액이 대표로 올라감): 카드가 열 높이를 반씩 나눠 커지므로 무더기 · 이름을 한 치수 키우고 세로 가운데에 */
#ui .slb-compact:not(:has(> :nth-child(3))) .slb-name { font-size: 16px; line-height: 19px; }
#ui .slb-compact:not(:has(> :nth-child(3))) .slb-art { align-items: center; gap: 14px; padding: 4px 4px 8px 14px; --pile: 52px; --pile-n: 16px; --pile-w: 92px; }
#ui .slb-compact:not(:has(> :nth-child(3))) .slb-art .sr-pile small { font-size: 10.5px; line-height: 13px; }
#ui .slb-compact:not(:has(> :nth-child(3))) .slb-foot { padding: 0 10px 10px 0; }
#ui .slb-compact:not(:has(> :nth-child(3))) .slb-foot .sr-cta { min-width: 112px; }
/* 옆 열의 '다음 추천' 통합 카드(환영 패키지를 다 산 계정) = 세로 카드: [장면 + 제목 + 몬스터] 위, [혜택 상자 / 단품 합 · 값 단추] 아래. 추천 띠는 카드 안 왼쪽 위(카드가 자르는 칸) */
#ui .slb-secondary .srb-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(112px, 1fr) auto; }
#ui .slb-secondary .srb-stack { border-radius: 10px 10px 0 0; }
#ui .slb-secondary .srb-card > .sr-rib { left: 0; top: 0; border-radius: 10px 0 8px 0; box-shadow: none; }
#ui .slb-secondary .srb-card.pick .srb-tt { top: 27px; }
#ui .sr-ban-list:has(.slb-secondary .sr-rib) { padding-top: 8px; }

/* ---------- 그 밖의 한정 상품 줄(광고 제거 월정액 …): [그림 + 빛] [이름 · 칩 · 혜택] [구성 칸] [값 단추] */
#ui .srr-ban { flex: none; grid-template-columns: 66px minmax(0, 1fr) auto auto; gap: 9px; height: auto; min-height: 76px; padding-right: 10px;
  background: radial-gradient(ellipse 30% 120% at 5% 50%, color-mix(in srgb, var(--ac) 38%, transparent), transparent 72%), linear-gradient(100deg, color-mix(in srgb, var(--ac) 20%, #171a20), #14161b 60%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 34%, #33363d), 0 3px 8px #0005; }
#ui .srr-art { align-self: stretch; display: flex; align-items: center; justify-content: center; }
#ui .srr-art img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 3px 4px #00000080); }
#ui .srr-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-block: 7px; }
#ui .srr-body > b { font-size: 15px; font-weight: 900; line-height: 18px; color: #fff; overflow-wrap: anywhere; word-break: keep-all; }
#ui .srr-body .sr-chips { flex-wrap: wrap; }
#ui .sr-chips i.hot { color: #fff; background: #d64a3a; box-shadow: none; }
#ui .srr-ex { font-size: 11px; font-weight: 700; line-height: 13px; color: #a8ec7e; overflow-wrap: anywhere; word-break: keep-all; }
/* 구성 = 그림 + 수(노랑) 또는 기간 · 혜택 글(흰색) 한 줄 — 통합 패스 줄과 같은 조각 */
#ui .srr-rw { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 3px 10px; }
#ui .srr-g { display: inline-flex; align-items: center; gap: 4px; }
#ui .srr-g img { flex: none; width: 22px; height: 22px; object-fit: contain; filter: drop-shadow(0 1px 1px #000a); }
#ui .srr-g u { text-decoration: none; font-size: 12px; font-weight: 900; line-height: 14px; color: #ffe27a; white-space: nowrap; text-shadow: 0 1px 1px #000; }
#ui .srr-g u.t { font-size: 11px; font-weight: 800; color: #e9ecf1; }
#ui .slb-secondary .srr-ban { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 3px 8px; min-height: 72px; }
#ui .slb-secondary .srr-art { grid-row: span 2; }
#ui .slb-secondary .srr-art img { width: 42px; height: 42px; }
#ui .slb-secondary .srr-body { padding-block: 5px 0; gap: 3px; }
#ui .slb-secondary .srr-body > b { font-size: 14px; line-height: 17px; }
#ui .slb-secondary .srr-rw { grid-column: 2; padding-bottom: 5px; }
#ui .slb-secondary .sr-buy { grid-column: 3; grid-row: 1 / span 2; }
#ui .slb-secondary .srr-g img { width: 20px; height: 20px; }

/* 16:9(PC · 태블릿 — 판 폭이 좁다): 대표 판 그림 칸을 줄이고 무더기를 한 치수 작게 */
@media (max-aspect-ratio: 19/10) {
  #ui .sr-ban.srh-card { grid-template-columns: 36% minmax(0, 1fr); gap: 6px 8px; padding: 10px; }
  #ui .srh-card::before { left: 19%; }
  #ui .srh-tt > b { font-size: 17px; line-height: 21px; }
  #ui .srh-art img { width: 106px; height: 106px; }
  #ui .srh-piles { gap: 2px; padding: 10px 4px 8px; --pile: 42px; --pile-n: 14px; --pile-w: 62px; }
  #ui .srh-foot .sr-cta { min-width: 132px; }
  /* 옆 열 줄(결제 0 계정 — 대표 옆에 내려온 광고 제거 월정액): 이름 · 칩 한 줄, 그 아래 [구성 | 값 단추]. 영어에서 이름 두 줄 · 구성 세 줄로 늘어 판이 세로로 넘치던 것(shopq-1122 알려 둔 흠)을 줄인다 */
  #ui .slb-secondary .srr-ban { grid-template-columns: 40px minmax(0, 1fr) auto; min-height: 64px; }
  #ui .slb-secondary .srr-art img { width: 36px; height: 36px; }
  #ui .slb-secondary .srr-body { grid-column: 2 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
  #ui .slb-secondary .srr-ex { flex-basis: 100%; }
  #ui .slb-secondary .srr-rw { gap: 2px 8px; }
  #ui .slb-secondary .sr-buy { grid-row: 2; padding-bottom: 6px; }
  #ui .slb-secondary .sr-buy .sr-cta { min-width: 84px; }
  #ui .slb-secondary .sr-buy .sr-cta b { padding: 0 10px; }
  #ui .slb-compact .slb-name { font-size: 14px; line-height: 17px; }
}

/* ---------- 고정 배치(adfreeperm-1127 형창님 11-27 그림 시안 "광고제거 왼쪽에 크게 하고 (구매했던 안했든) 오른쪽에 3개 코스튬환영, 별빛 환영, 그밑에 월정액 광고제거+퀘스트월정액 3개로"):
   [왼쪽 세로 큰 판 = 영구 광고 제거, 폭 40 % | 오른쪽 같은 높이 줄 셋(환영 · 환영 · 월정액) — 세 줄 높이 같게 · 사이 6]. 모든 계정 같은 배치(shoprev.js limList) */
#ui .slb-layout.slb-fix { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); }
#ui .slb-fixed { display: grid; grid-auto-rows: 1fr; gap: 5px; }
#ui .slb-fixed > .sr-ban { min-height: 0; }
/* 오른쪽 환영 줄: 폰 가로 915 판 높이(약 284) 안에 세 줄이 다 들도록 낮게 — 구성품 이름은 한 줄(넓은 줄이라 폭 넉넉) */
#ui .slb-fixed .slb-card { min-height: 84px; }
#ui .slb-fixed .srr-ban { min-height: 0; }
#ui .slb-fixed .srr-body { padding-block: 4px 0; }
#ui .slb-fixed .srr-rw { padding-bottom: 4px; }
#ui .slb-fixed .slb-art { padding-block: 1px 3px; --pile: 36px; --pile-n: 13px; --pile-w: 132px; }
/* 세로 판: 제목 · 딱지 / 빛살 위 상품 그림 / 구성품 상자 · 혜택 / 값 단추(가운데, 글자 폭) — 산 계정도 판은 밝게(단추만 회색 「보유 중」) */
#ui .slb-fix > .sr-ban.srh-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto; grid-template-areas: "head" "art" "info" "foot"; gap: 6px; padding: 11px 12px 12px; opacity: 1;
  background: radial-gradient(ellipse 62% 36% at 50% 40%, #ffe2946b, #f2b24a2e 46%, transparent 74%),
    linear-gradient(180deg, #0a1220c7, transparent 26%, transparent 58%, #080d17d1),
    linear-gradient(160deg, #1d5273, #1b3562 46%, #2c2258); }
#ui .slb-fix > .srh-card::before { left: 50%; top: 40%; }
#ui .slb-fix .srh-art { min-height: 44px; }
#ui .slb-fix .srh-art img { width: 94px; height: 94px; }
#ui .slb-fix .srh-info { align-self: stretch; gap: 5px; }
#ui .slb-fix .srh-piles { padding: 8px 6px 7px; --pile: 42px; --pile-n: 15px; --pile-w: 88px; }
#ui .slb-fix .srh-ex { text-align: center; }
#ui .slb-fix .srh-foot { justify-content: center; }
#ui .slb-fix .srh-foot .sr-cta.own b { padding: 0 18px; font-size: 15px; }
/* 감사 혜택 판(첫 결제 뒤 24시간) = 고정 배치 아래 한 줄 */
#ui .slb-row.slb-thx { flex: none; display: grid; }

/* gf:js-pack prototype/Spikes/rt-battle/features/shoprev/shop_pkg.css */
/* 상점 [패키지] 세부 탭 열(shop_pkg.js — shopsplit-1126, 형창님 11-26 "분리해서 왼쪽 탭에 분류해서 판매하기 이쁘게"). 판 안 카드 모양 = shop_shelf.css(pkgdisplay3-1126 탭별 A · B · C).
   크기 = maple-idle-ui-size.md(GUI 450): 칸 40 · 이웃 틈 8 · 제목 15 · 라벨 9.5 이상 · 알약 26~28.
   배치 근거 = shoprevamp-1122/REFERENCES.md(쿠키런 킹덤 · 메이플 키우기 상점 패키지 줄).
   색 = 06-shop tone(--ac) · 효율 초록 #a8ec7e · 할인 빨강 #d64a3a · 금 #f0d58a(01-popup 금 단추) — 새 색 없음. */

/* 왼쪽 세부 탭 빨간 점 = 공용 빨간 점(reddot.css 정본 — 탭 크기 11 · 고리 1.9 배)을 칸 오른쪽 위 모서리 밖에 둔다. 칸 안쪽(top/right 6)에 두면 영어 "Monthly" · "Pickup" 글자를 덮었다(ui-audit shopsplit-1126 겹침 27 %). .pk-subs 는 overflow 없음이라 잘리지 않는다 */
#ui .sr-subs .pk-sub > .srs-dot { --rd: 11px; --rd-k: 1.9; --rd0: 7px; top: -4px; right: -4px; }
/* [패키지] 세부 탭 6칸 + 왼쪽 아래 [패키지 | 다이아] 값 스위치(17q #pk-pay — 영어 Packages · Diamonds 는 위아래 두 줄 54)가 GUI 450 높이에 같이 들어가게 칸 높이 40 → 34
   (6 × 34 + 틈 8 × 5 = 244 — 줄 위 110 + 244 = 354 < 스위치 위 360. 34 = hq-ui 창 안 누름 칸 26 이상 · 이웃 틈 8 은 그대로). ui-audit shopsplit-1126 2차: 40 이면 [픽업] 칸을 스위치가 덮었다 */
#ui .sr-subs[data-k="pkg"] .pk-sub { height: 34px; }
/* 값 스위치는 칸 목록(성장 재화 · 주문서)의 값 고르기 — 배너 판(비기너 · 주간 · 월간 · 픽업)에선 숨긴다(pkHasDia 가 앞 탭 값으로 남아 떠 있었다) */
#ui #sr-subs[data-k="pkg"]:is([data-v="starter"], [data-v="week"], [data-v="month"], [data-v="pick"]) ~ .pk-pay { display: none !important; }
/* 성장 재화 · 주문서도 진열 판(#sr-ban, z 1 · 스위치보다 뒤에 붙음)이 그리므로 스위치를 그 위로 */
#ui #sr-subs[data-k="pkg"] ~ .pk-pay { z-index: 3; }

/* [비기너] 진행 점(진열장 카드 이름 아래 — shop_shelf.js) 단계마다 점 하나 — 산 단계 금 · 지금 단계 밝은 금 + 빛 · 남은 단계 어두움) + n/7 */
#ui .spk-prog { display: flex; align-items: center; gap: 3px; height: 14px; }
#ui .spk-prog > i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
#ui .spk-prog > i.done { background: #c99a3c; box-shadow: none; }
#ui .spk-prog > i.now { background: #f0d58a; box-shadow: 0 0 5px rgba(240, 213, 138, .9); animation: spk-now 1.047s ease-in-out infinite alternate; }
#ui .spk-prog > em { margin-left: 5px; font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 14px; color: #f0d58a; white-space: nowrap; }
@keyframes spk-now { from { transform: scale(1); } to { transform: scale(1.25); } }
/* [컨텐츠 패키지](bmcontent-1126): 큰 그림이 흔들려 올라갈 때 PC 에서 그림 칸 위가 3 px 잘림(ui-audit clip) → 이 세부 탭만 그림 칸을 조금 높게 */
#ui #sr-subs[data-k="pkg"][data-v="content"] ~ #sr-ban .ssf-bside .ssf-pile { min-height: 96px; }

/* gf:js-pack prototype/Spikes/rt-battle/features/shoprev/shop_shelf.css */
/* 상점 [패키지] 세부 탭 진열(shop_shelf.js — pkgdisplay3-1126). 배치 = 시안 package_plan2 A · B · C(탭별 표 RtShopShelf.LAY), 크기 = maple-idle-ui-size.md(GUI 450):
   제목 13~16 · 라벨 9.5 이상 · 누름 칸(수량 알약 26 · 값 단추 43) · 아이템 칸 36. 가치 딱지 = 공용 .sr-flag(높이 22 · 글자 11/14 — 메이플 키우기 카드 모서리 표기 실측)를 카드 오른쪽 위 테두리에 걸침.
   색 = 세부 탭 테 --ac(06-shop tone) · 노란 수 #ffe15a(메이플 M5 "x250") · 값 단추 = .sr-cta 연두 · C 큰 판 테 = 금 #ffd36a(01-popup 금) — 새 색 없음.
   바탕 = --ssf-scene(실제 사냥섬 캡처 assets/ui/pass-scene, 패스 배너와 같은 그림) 위 위 · 아래만 어둡게(글자 자리). */

/* ---------- 판: 왼쪽 세부 탭 열(8 + 100)만큼 비우고 배치 칸이 판 높이를 채움. 위 여백 = 가치 딱지가 테 위로 걸칠 자리 */
#ui #sr-ban.ssf.show { display: block; padding: 0 0 0 110px; overflow: hidden; }
#ui .ssf-row, #ui .ssf-gridb, #ui .ssf-clist { overscroll-behavior: contain; scrollbar-width: none; }
#ui :is(.ssf-row, .ssf-gridb, .ssf-clist)::-webkit-scrollbar { display: none; }
#ui .ssf-row { box-sizing: border-box; height: 100%; display: flex; gap: 12px; padding: 14px 10px 8px 8px; overflow-x: auto; overflow-y: hidden; }
#ui .ssf-gridb { box-sizing: border-box; height: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 16px 12px; padding: 14px 10px 10px 8px; overflow-y: auto; }
#ui .ssf-c { box-sizing: border-box; height: 100%; display: flex; gap: 12px; padding: 14px 4px 8px 14px; }
#ui .ssf-clist { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 14px; margin-top: -8px; padding: 8px 6px 2px 0; overflow-y: auto; }

/* ---------- 공통: 카드 바탕(장면) · 테 · 가치 딱지 자리 · 이름 · 무더기 */
#ui .sr-ban:is(.ssf-card, .ssf-b, .ssf-ch, .ssf-cr, .ssf-d) { box-sizing: border-box; margin: 0; color: #fff; text-align: left;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ac) 70%, #fff 10%), 0 6px 14px rgba(0, 0, 0, .4); }
#ui :is(.ssf-card, .ssf-b, .ssf-ch, .ssf-cr, .ssf-d) > .sr-flag { top: -5px; right: -4px; }   /* 오른쪽 끝 테 밖 4 · 윗변 테 위 5, 4도 기울임(축 = 오른쪽 위) */
#ui .sr-flag.ssf-bonus { text-shadow: 0 1px 1px #0b4a1d; background: linear-gradient(110deg, transparent 40%, #ffffff73 50%, transparent 60%) no-repeat, linear-gradient(#3cb86a, #1d8443); background-size: 300% 100%, 100% 100%; }
#ui :is(.ssf-card, .ssf-b, .ssf-ch, .ssf-cr, .ssf-d) .ssf-name { display: block; font-weight: 900; color: #fff; word-break: keep-all; overflow-wrap: anywhere; -webkit-text-stroke: 3px rgba(0, 0, 0, .8); paint-order: stroke fill; }
#ui .ssf-pile { position: relative; display: block; overflow: hidden; }
#ui .ssf-rays { position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%; opacity: .55; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 240, 190, .32) 0 8deg, transparent 8deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 12%, transparent 62%); mask: radial-gradient(circle, #000 12%, transparent 62%); animation: ssf-spin 26s linear infinite; }
#ui .ssf-glow { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 235, 170, .5), transparent 65%); }
#ui .ssf-pm { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -42px 0 0 -48px; animation: ssf-bob 3s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -400ms); }
#ui .ssf-pm img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
/* 큰 수 = 그림 오른쪽 아래에 걸친 노란 굵은 수(메이플 M5 "x250" 글자 ≈ 20) */
#ui .ssf-n { position: absolute; left: 58px; bottom: 0; text-decoration: none; font-size: 20px; font-weight: 900; line-height: 1; letter-spacing: -.5px; color: #ffe15a; white-space: nowrap;
  -webkit-text-stroke: 4px #1d1206; paint-order: stroke fill; text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
#ui .ssf-n.l { left: 50px; font-size: 16px; }
#ui .ssf-pile.xl .ssf-pm { width: 96px; height: 96px; margin: -50px 0 0 -60px; }
#ui .ssf-pile.xl .ssf-n { left: 74px; font-size: 22px; }
#ui .ssf-pile.xl .ssf-n.l { left: 64px; font-size: 18px; }
#ui .ssf-chips { flex: none; justify-content: center; flex-wrap: wrap; gap: 3px 4px; }
#ui .ssf-chips i.hot { color: #ffb3a8; }
#ui .ssf-chips i.ssf-reset { color: #f0d58a; }
#ui .ssf-gname { font-size: 11px; font-weight: 700; line-height: 13px; color: #dfe5e8; text-align: center; text-shadow: 0 1px 2px #000; }
#ui .ssf-extra { font-size: 10.5px; font-weight: 800; line-height: 13px; color: #a8ec7e; text-align: center; text-shadow: 0 1px 2px #000; }
#ui .ssf-minis { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 8px; }
#ui .ssf-mi { display: inline-flex; align-items: center; gap: 1px; font-size: 11px; font-weight: 800; line-height: 20px; color: #ffe15a; white-space: nowrap; text-shadow: 0 1px 2px #000; }
#ui .ssf-mi img { width: 20px; height: 20px; object-fit: contain; }
/* 구성 목록 줄(그림 · 이름 · 노란 수 — 이름은 자르지 않고 두 줄) */
#ui .ssf-gl { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
#ui .ssf-glr { display: flex; align-items: center; gap: 6px; min-height: 19px; font-size: 11px; font-weight: 700; line-height: 13px; }
#ui .ssf-glr img { flex: none; width: 18px; height: 18px; object-fit: contain; }
#ui .ssf-glr .ssf-gn { flex: 1 1 auto; min-width: 0; color: #e6e9ec; word-break: keep-all; overflow-wrap: anywhere; text-shadow: 0 1px 2px #000; }
#ui .ssf-glr b { flex: none; font-size: 12px; font-weight: 900; color: #ffe15a; white-space: nowrap; text-shadow: 0 1px 2px #000; }
/* [X3|X10|X30] 알약 줄(고른 것 = 베이지 — 06-shop 세부 탭과 같은 색) */
#ui .ssf-qty { flex: none; display: flex; gap: 2px; padding: 2px; border-radius: 15px; background: rgba(0, 0, 0, .55); }
#ui .ssf-qty i { flex: 1 1 0; min-width: 34px; height: 26px; border-radius: 13px; font-style: normal; font-size: 11px; font-weight: 800; line-height: 26px; text-align: center; color: #c4cbcf; }
#ui .ssf-qty i.on { color: #2b2416; background: #f4ecd8; }
#ui .ssf-qty i:active { transform: scale(.94); }
/* 값 단추 = 칸 폭(카드 · 오른쪽 열) — 두 단 .sr-cta */
#ui :is(.ssf-card, .ssf-bside, .ssf-ch) .sr-buy { flex: none; align-items: stretch; }
#ui :is(.ssf-card, .ssf-bside, .ssf-ch) .sr-cta { width: 100%; min-width: 0; }
#ui :is(.ssf-card, .ssf-b, .ssf-ch, .ssf-cr, .ssf-d) .sr-cta small { padding: 2px 4px; }
#ui :is(.ssf-card, .ssf-b, .ssf-ch, .ssf-cr, .ssf-d) .sr-cta b { display: flex; align-items: center; justify-content: center; gap: 3px; padding: 0 8px; }
#ui .ssf-cur { width: 18px; height: 18px; object-fit: contain; }

/* ---------- A 진열장(메이플 M5 세로 칸): 이름 → 장면 위 대표 그림 + 큰 수 → 아이템 칸 → 수량 → 값 단추 */
#ui .sr-ban.ssf-card { flex: 0 0 184px; width: 184px; height: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 8px 10px 10px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(6, 10, 14, .7) 0%, rgba(6, 10, 14, .1) 22%, rgba(6, 10, 14, .15) 50%, rgba(6, 10, 14, .95) 70%), var(--ssf-scene) center / cover, #141b22; }
#ui .ssf-card .ssf-name { flex: none; min-height: 34px; display: flex; align-items: center; justify-content: center; font-size: 14px; line-height: 16px; text-align: center; }
#ui .ssf-card .spk-prog { flex: none; justify-content: center; }
#ui .ssf-card .ssf-pile { flex: 1 1 auto; min-height: 84px; }
#ui .ssf-mid { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 22px; }
#ui .ssf-slots { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
#ui .ssf-slots .ev-slot { --s: 36px; cursor: pointer; }
#ui .ssf-slots .ev-slot:active { transform: scale(.94); }
/* [비기너] 다음 단계 미리보기(값 없이 구성품 그림만) */
#ui .ssf-next { flex: none; display: flex; align-items: center; justify-content: center; gap: 3px; height: 16px; }
#ui .ssf-next small { flex: none; height: 16px; padding: 0 6px; border-radius: 8px; font-size: 9.5px; font-weight: 800; line-height: 16px; color: #26221c; background: #c7bba3; }
#ui .ssf-next img { width: 16px; height: 16px; object-fit: contain; opacity: .85; }

/* ---------- B 배너(쿠키런 K1 · K3): 왼쪽 글 · 구성 줄 · 수량 | 오른쪽 장면 위 대표 그림 → 값 단추 */
#ui .sr-ban.ssf-b { min-height: 164px; display: flex; align-items: stretch; gap: 8px; padding: 10px 10px 10px 12px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(8, 12, 16, .96) 0%, rgba(8, 12, 16, .88) 46%, rgba(8, 12, 16, .15) 70%, rgba(8, 12, 16, .35) 100%), var(--ssf-scene) center / cover, #141b22; }
#ui .ssf-btxt { flex: 1 1 52%; min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
#ui .ssf-b .ssf-name { font-size: 15px; line-height: 18px; padding-right: 8px; }
#ui .ssf-reset-l { font-size: 10px; font-weight: 700; line-height: 13px; color: #b9e6ff; }
#ui .ssf-b .ssf-chips { justify-content: flex-start; }
#ui .ssf-b .ssf-extra { text-align: left; }
#ui .ssf-btxt .ssf-qty { margin-top: auto; }
#ui .ssf-bside { flex: 0 0 44%; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 10px; }
#ui .ssf-bside .ssf-pile { flex: 1 1 auto; min-height: 84px; }   /* 76 이면 좁은 폰(780) 영어 배너에서 큰 수 아랫변이 1 px 잘림 */

/* ---------- C 추천 하나 크게: 왼쪽 큰 판(금 테 · 왼쪽 위 리본) | 오른쪽 줄(동그란 그림 · 이름 · 수량 또는 구성 · 값 단추) */
#ui .sr-ban.ssf-ch { flex: 0 0 42%; width: 42%; height: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 10px 14px 12px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(6, 10, 14, .75) 0%, rgba(6, 10, 14, .1) 28%, rgba(6, 10, 14, .2) 50%, rgba(6, 10, 14, .95) 68%), var(--ssf-scene) center / cover, #141b22;
  box-shadow: inset 0 0 0 2px #ffd36a, 0 0 0 1px rgba(0, 0, 0, .4), 0 0 22px rgba(255, 200, 90, .25); }
#ui .ssf-rib { position: absolute; left: -6px; top: 10px; z-index: 4; padding: 4px 12px 4px 10px; font-style: normal; font-size: 11px; font-weight: 800; line-height: 14px; color: #3a2600; white-space: nowrap;
  background: linear-gradient(#ffe07a, #e5a92a); clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%); }
#ui .ssf-ch .ssf-name { flex: none; margin-top: 26px; font-size: 16px; line-height: 19px; }
#ui .ssf-ch .ssf-chips { justify-content: flex-start; }
#ui .ssf-ch .ssf-pile { flex: 1 1 auto; min-height: 70px; }
#ui .ssf-ch .ssf-gname { text-align: left; }
#ui .sr-ban.ssf-cr { flex: none; min-height: 76px; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 10px;
  background: linear-gradient(90deg, rgba(8, 12, 16, .3), rgba(8, 12, 16, .92) 34%), var(--ssf-scene) left center / cover, #141b22; }
#ui .ssf-crico { flex: none; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(255, 235, 170, .45), transparent 68%); }
#ui .ssf-crico img { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); }
#ui .ssf-crtxt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
#ui .ssf-cr .ssf-name { font-size: 13px; line-height: 15px; max-width: 100%; }
#ui .ssf-cr .ssf-minis { justify-content: flex-start; }
#ui .ssf-cr .ssf-qty { width: 150px; max-width: 100%; }
#ui .ssf-cr .sr-buy { flex: none; width: 112px; align-self: flex-end; align-items: stretch; margin-bottom: 2px; }   /* 값 단추는 줄 아래쪽 — 위 테두리에 걸친 가치 딱지와 닿지 않게 */
#ui .ssf-cr .sr-cta { width: 100%; min-width: 0; }

/* ---------- 연출: 판이 바뀔 때 카드가 차례로(덩어리 = fx-card-in, 1 을 넘는 튐 없음 — hq-ui §6) */
#ui #sr-ban.sr-in :is(.ssf-row, .ssf-gridb, .ssf-clist) > *, #ui #sr-ban.sr-in .ssf-c > .ssf-ch { animation: fx-card-in .3s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(min(var(--i, 0), 6) * 50ms); }
@keyframes ssf-spin { to { transform: rotate(360deg); } }
@keyframes ssf-bob { 50% { transform: translateY(-5px); } }
.gfx-low #ui :is(.ssf-rays, .ssf-pm) { animation: none; }
@media (prefers-reduced-motion: reduce) { #ui :is(.ssf-rays, .ssf-pm) { animation: none; } }

/* i18nfix2-1126: A 진열장 이름이 두 줄이면 윗줄이 오른쪽 위 가치 딱지(.sr-flag — 테 위 5 · 높이 22) 밑에 깔림(일본어 'ウィークリーコスチュームパック' ↔ '価値 305%').
   딱지 있는 칸은 이름 칸 위를 딱지가 내려오는 만큼(10) 비움 — 한 줄 이름은 칸 높이 34 그대로(가운데 5 내려감), 두 줄일 때만 8 커짐. 일본어 · 중국어는 글자 사이 줄바꿈(keep-all 이면 칸 끝에서 아무 데나 잘림) */
#ui .ssf-card:has(> .sr-flag) .ssf-name { box-sizing: border-box; padding-top: 10px; }
html:is(:lang(ja), :lang(zh)) #ui :is(.ssf-card, .ssf-b, .ssf-ch, .ssf-cr, .ssf-d) .ssf-name { word-break: normal; line-break: strict; text-wrap: balance; }

/* ---------- D 컨텐츠 패키지(shoptab-1127): 왼쪽 일러스트 판(팝업 .bp-art 와 같은 그림) | 오른쪽 아이템 칸 판 · 값 단추 */
#ui .ssf-gridd { gap: 16px 12px; }
#ui .sr-ban.ssf-d { min-height: 176px; display: flex; align-items: stretch; gap: 8px; padding: 8px; border-radius: 12px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--ac) 34%, #10131c) 0%, #10131c 70%); }
#ui .ssf-dart { position: relative; flex: 0 0 35%; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px; border-radius: 9px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
#ui .ssf-dart.wb { background: linear-gradient(180deg, rgba(10, 8, 24, .7) 0%, rgba(10, 8, 24, 0) 46%), url(features/worldboss/art/keyart.webp) 60% 22% / auto 150% no-repeat, #120e24; }
#ui .ssf-dart.gd { background: linear-gradient(180deg, rgba(8, 12, 26, .7) 0%, rgba(8, 12, 26, 0) 46%), url(features/contents/art/guildgift.webp) 50% 62% / cover no-repeat, #0c1226; }   /* 길드 선물 일러스트(팝업 .bp-art.gdk 와 같은 그림) */
#ui .ssf-dimg { position: absolute; left: 50%; bottom: 10px; width: 64px; height: 64px; transform: translateX(-50%); object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); pointer-events: none; }
#ui .ssf-d .ssf-name { position: relative; font-size: 15px; line-height: 18px; }
#ui .ssf-d .ssf-chips { position: relative; justify-content: flex-start; }
#ui .ssf-d .ssf-chips i.wk { background: #f3d58c; color: #3a2a08; }
#ui .ssf-dbody { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
/* 보상 판 = 메이플 키우기 구매 안내(M8): 어두운 판 · 가운데 머리띠 · 흰 칸 40(PC 36) · 틈 5 · 칸 아래 흰 수량 12 */
#ui .ssf-dbox { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 3px 3px 5px; border-radius: 8px; background: rgba(34, 36, 40, .92); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 3px 8px rgba(0, 0, 0, .45); }
#ui .ssf-dbox > small { align-self: stretch; height: 16px; padding: 0 7px; border-radius: 5px; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; color: #e9ebee; background: linear-gradient(180deg, #4a4d53, #3a3d42); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .ssf-dbox.all > small { color: #bfe9ff; background: linear-gradient(180deg, #34506e, #283d55); }
#ui .ssf-goods { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
#ui .ssf-good { display: flex; width: 40px; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; }
#ui .ssf-good:active { transform: scale(.94); }
#ui .ssf-gi { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 7px; background: linear-gradient(180deg, #ffffff, #e3e4e8); box-shadow: inset 0 0 0 1.5px #b4b7c0, 0 1px 2px rgba(0, 0, 0, .5); }
#ui .ssf-gi img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
#ui .ssf-good u { max-width: 46px; overflow: hidden; font-size: 12px; font-weight: 900; line-height: 13px; text-decoration: none; color: #fff; text-shadow: 0 1px 1px #000, 0 0 2px #000; white-space: nowrap; }
@media (max-aspect-ratio: 19/10) {
  #ui .ssf-goods { gap: 5px; }
  #ui .ssf-good { width: 36px; }
  #ui .ssf-gi { width: 36px; height: 36px; border-radius: 6px; }
  #ui .ssf-gi img { width: 26px; height: 26px; }
  #ui .ssf-good u { font-size: 11px; }
}
#ui .ssf-dnote { font-size: 9px; font-weight: 700; line-height: 12px; color: #c9cfdb; }
#ui .ssf-dbody > .sr-buy { margin-top: auto; }
#ui .ssf-d > .sr-flag { top: -5px; right: -4px; }

/* gf:js-pack prototype/Spikes/rt-battle/features/firstoffer/firstoffer.css */
/* 첫 구매 제안 팝업(firstoffer.js, firstpay-1118) = 작은 어두운 판(18-popup-dark) 하나: 머리(제목 + 닫기) · 축하 한 줄 · 상품 칸 한 장 · 가격 알약 [구매].
   크기(GUI 450, hq-ui 메이플 키우기 실측 · 설정 창 10-24 기준): 폭 320 · 제목 16 · 본문 11.5 · 상품 그림 64 · 보상 칸 36 · 가격 알약 34(누름 칸 34 이상) · 라벨 9 이상.
   색 = 일일 패키지 팝업(features/timedpack .tpop-card t-gold · .tpop-price)과 같은 금 칸 · 금 알약, 축하 줄 = 작은 팝업 금선 #c8aa6e. 연출 = 창 팝 · 내용 순차(ui_fx 공용) + 그림 빛 맥동 · 보상 칸 70 ms 간격 등장 */
#ui #fo-dim .shade { background: rgba(6, 8, 10, .72); }
#ui .popup.fo { width: 320px; padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 8px; }
#ui .popup.fo .popup-head { margin-bottom: 0; padding-bottom: 6px; border-bottom-color: rgba(200, 170, 110, .45); }
#ui .popup.fo .fo-title { font-size: 16px; }
#ui .popup.fo .fo-sub { font-size: 11.5px; font-weight: 800; line-height: 15px; color: #c8aa6e; text-align: center; }
#ui .fo-card { --ac: #e0a020; position: relative; display: flex; align-items: center; gap: 12px; height: 96px; padding: 10px 12px 8px 14px; border-radius: 9px;
  background: linear-gradient(170deg, color-mix(in srgb, var(--ac) 34%, #1d2124), #15181c 72%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 55%, transparent), 0 2px 6px rgba(0, 0, 0, .45); color: #f2f0e7; }
#ui .fo-tag { position: absolute; left: 0; top: 0; height: 18px; padding: 0 8px; border-radius: 9px 0 8px 0; background: rgba(0, 0, 0, .55); font-size: 10px; font-style: normal; font-weight: 900; line-height: 18px; color: #c6f59a; white-space: nowrap; }
#ui .fo-tag:empty { display: none; }
#ui .fo-art { position: relative; flex: none; width: 64px; height: 64px; margin-top: 6px; }
#ui .fo-art::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ac) 50%, transparent), transparent 68%); animation: fo-glow 2.1s ease-in-out infinite; }
#ui .fo-icon { position: relative; width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .6)); }
@keyframes fo-glow { 0%, 100% { opacity: .7; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
#ui .fo-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; }
#ui .fo-name { font-size: 13px; font-weight: 900; line-height: 17px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-wrap: balance; }   /* 두 줄까지 — 영어 상품 등록명(Remove Ads Monthly · First Purchase Deal)이 흐르는 글자로 잘리던 것(i18nfix-1124) */
#ui .fo-rw { display: flex; flex-wrap: wrap; gap: 6px; }
#ui .fo-s { position: relative; width: 36px; height: 36px; border-radius: 6px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .fo-si { position: absolute; left: 4px; top: 4px; width: 28px; height: 28px; object-fit: contain; }
#ui .fo-s > b { position: absolute; right: 1px; bottom: -1px; font-size: 10px; font-weight: 900; line-height: 12px; color: #fff; text-shadow: 1px 0 #111, -1px 0 #111, 0 1px #111, 0 -1px #111; }
#ui .fo-sc { flex-basis: 100%; font-style: normal; font-size: 11px; font-weight: 800; line-height: 13px; color: #f3d27a; white-space: nowrap; }
#ui #fo-dim.open .fo-s { animation: fx-cell .28s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(.28s + var(--i, 0) * .07s); }
#ui .popup.fo .fo-foot { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 2px; }
/* 정가 줄 그음(firstad-1120 첫 구매 광고 제거 ₩1,100 — 광고 제거 월정액 정가) = 가격 알약 왼쪽 작은 흐린 글 */
#ui .popup.fo .fo-was { font-size: 12px; font-weight: 800; line-height: 16px; color: rgba(242, 240, 231, .55); text-decoration: line-through; text-decoration-thickness: 1.5px; white-space: nowrap; }
#ui .popup.fo .fo-was:empty { display: none; }
/* 가격 알약 = 글자 폭(flex none) · 18-popup-dark .btn(28 · 뒤에 읽힘)보다 앞서게 id 하나 더 */
#ui #fo-dim .popup.fo .fo-buy { flex: none; width: fit-content; min-width: 120px; height: 34px; min-height: 34px; padding: 0 18px; border: 0; border-image: none; border-radius: 999px;
  font-size: 14px; font-weight: 900; line-height: 34px; white-space: nowrap; color: #2b261e; background: linear-gradient(#f1d68e, #c99a3c); box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
#ui #fo-dim .popup.fo .fo-buy { transition: transform .2s cubic-bezier(.2, .9, .3, 1.8); }   /* 누름 .92 → 뗄 때 튕김(고품질UI 연출 · hud pc-press 와 같은 결) */
#ui #fo-dim .popup.fo .fo-buy:active { transform: scale(.92); transition-duration: .06s; }
/* 첫 구매 특가 정직한 안내 한 줄(adrenew-1123): 가격 알약 아래 · 작은 흐린 글(라벨 9 이상 — 11) · 한 줄, 넘치면 줄바꿈(keep-all) */
#ui .popup.fo .fo-note { margin-top: -2px; font-size: 11px; font-weight: 700; line-height: 14px; color: rgba(242, 240, 231, .68); text-align: center; word-break: keep-all; }
#ui .popup.fo .fo-note:empty { display: none; }

/* gf:js-pack prototype/Spikes/rt-battle/features/adrenew/adrenew.css */
/* 광고 제거 갱신 안내 팝업(adrenew.js, adrenew-1123) = 작은 어두운 판(18-popup-dark) 하나: 머리(제목 + 닫기) · 상태 줄(광고 없음 아이콘 + 큰 한 줄 + 끝 시각) ·
   상품 칸 한 장(광고 제거 월정액 그림 · 이름 · 보상 칸) · 안내 한 줄 · 가격 알약 [갱신 ₩5,500].
   크기(GUI 450, hq-ui 메이플 키우기 실측 — 첫 구매 제안 팝업 .fo 와 같은 결): 폭 320 · 제목 16 · 상태 13 · 본문 11 · 상품 그림 56 · 보상 칸 34 · 가격 알약 34(누름 칸 34 이상) · 라벨 9 이상.
   색 = 끝나기 전(soon · today) 금 · 끝난 뒤(ended) 붉은 기운. 연출 = 창 팝 · 보상 칸 순차 등장(ui_fx fx-cell) · 상태 아이콘 맥동 */
#ui #adrenew-dim .shade { background: rgba(6, 8, 10, .72); }
#ui .popup.ar { --ac: #e0a020; width: 320px; padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 8px; }
#ui .popup.ar[data-stage="ended"] { --ac: #d0603a; }
#ui .popup.ar .popup-head { margin-bottom: 0; padding-bottom: 6px; border-bottom-color: rgba(200, 170, 110, .45); }
#ui .popup.ar .ar-title { font-size: 16px; }
#ui .ar-state { display: flex; align-items: center; gap: 10px; padding: 2px 2px 0; }
#ui .ar-noads { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--ac) 26%, #15181c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 60%, transparent); }
#ui .ar-noads::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ac) 45%, transparent); animation: ar-ring 1.8s ease-in-out infinite; }
#ui .ar-noads-i { position: absolute; left: 6px; top: 6px; width: 24px; height: 24px; object-fit: contain; }
@keyframes ar-ring { 0%, 100% { opacity: .35; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.06); } }
#ui .ar-st { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#ui .ar-head { font-size: 13px; font-weight: 900; line-height: 17px; color: color-mix(in srgb, var(--ac) 55%, #fff); word-break: keep-all; }
#ui .ar-when { font-size: 11px; font-weight: 700; line-height: 14px; color: rgba(242, 240, 231, .66); white-space: nowrap; }
#ui .ar-card { position: relative; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 8px 12px; border-radius: 9px;
  background: linear-gradient(170deg, color-mix(in srgb, #e0a020 30%, #1d2124), #15181c 72%); box-shadow: inset 0 0 0 1px color-mix(in srgb, #e0a020 50%, transparent), 0 2px 6px rgba(0, 0, 0, .45); color: #f2f0e7; }
#ui .ar-art { position: relative; flex: none; width: 56px; height: 56px; }
#ui .ar-art::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 160, 32, .45), transparent 68%); animation: fo-glow 2.1s ease-in-out infinite; }
#ui .ar-icon { position: relative; width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .6)); }
#ui .ar-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; }
#ui .ar-name { font-size: 13px; font-weight: 900; line-height: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .ar-rw { display: flex; flex-wrap: wrap; gap: 6px; }
#ui .ar-s { position: relative; width: 34px; height: 34px; border-radius: 6px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .ar-si { position: absolute; left: 4px; top: 4px; width: 26px; height: 26px; object-fit: contain; }
#ui .ar-s > b { position: absolute; right: 1px; bottom: -1px; font-size: 10px; font-weight: 900; line-height: 12px; color: #fff; text-shadow: 1px 0 #111, -1px 0 #111, 0 1px #111, 0 -1px #111; }
#ui .ar-sc { flex-basis: 100%; font-style: normal; font-size: 11px; font-weight: 800; line-height: 13px; color: #f3d27a; white-space: nowrap; }
#ui #adrenew-dim.open .ar-s { animation: fx-cell .28s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(.28s + var(--i, 0) * .07s); }
#ui .ar-hint { font-size: 11px; font-weight: 800; line-height: 14px; color: #b9f08e; text-align: center; word-break: keep-all; }
#ui .popup.ar .ar-foot { display: flex; justify-content: center; margin-top: 2px; }
/* 가격 알약 = 글자 폭(flex none) · 18-popup-dark .btn(28)보다 앞서게 id 하나 더 — 첫 구매 제안 [구매] 와 같은 금 알약 */
#ui #adrenew-dim .popup.ar .ar-buy { flex: none; width: fit-content; min-width: 132px; height: 34px; min-height: 34px; padding: 0 18px; border: 0; border-image: none; border-radius: 999px;
  font-size: 14px; font-weight: 900; line-height: 34px; white-space: nowrap; color: #2b261e; background: linear-gradient(#f1d68e, #c99a3c); box-shadow: 0 1px 3px rgba(0, 0, 0, .5);
  transition: transform .2s cubic-bezier(.2, .9, .3, 1.8); }
#ui #adrenew-dim .popup.ar .ar-buy:active { transform: scale(.92); transition-duration: .06s; }

/* 상점 [한정] 첫 구매 특가 칸 안내 한 줄(packMeta note — shoprev 대표 판 .srh-note · 오른쪽 열 줄 .srr-note): 혜택 줄 아래 작은 흐린 글 */
#ui .srh-note { padding-left: 2px; font-size: 10.5px; font-weight: 700; line-height: 13px; color: rgba(242, 240, 231, .72); text-shadow: 0 1px 2px #000; word-break: keep-all; }
#ui .srr-note { font-size: 10px; font-weight: 700; line-height: 12px; color: rgba(242, 240, 231, .7); overflow-wrap: anywhere; word-break: keep-all; }
#ui .slb-secondary .srr-note { flex-basis: 100%; }

/* gf:js-pack prototype/Spikes/rt-battle/features/thanks/thanks.css */
/* 감사 혜택 화면(rev1m-1123 안 A 첫 결제 감사 · 안 B 주말 감사) 모양 — thanks.js. 시안 rev1mmock.css(형창님 승인 v2) A · B 부분을 그대로 옮김.
   틀 = 작은 어두운 팝업(18-popup-dark 판 · 머리 · 닫기 그대로) 안 카드 3장 + 상점 공용 조각(.sr-cta 두 단 값 단추 · .sr-pile 무더기 · .sr-flag 모서리 딱지 · .sr-rib · .sr-mon — shoprev).
   근거 = shoprevamp-1122/REFERENCES.md §6 · §7(쿠키런 킹덤 K1 · K3 · K4 · 메이플 키우기 M1 · M4 · M5): 카드 위 = 그림(패스 몬스터 · 상자) · 구성 = 그림 + 노란 굵은 수 · 값 단추 = 연두 두 단(윗단 구매 조건).
   크기(GUI 450, maple-idle-ui-size.md): 창 제목 16 · 카드 이름 13~14 · 라벨 10 이상 · 값 단추 아랫단 30 · 누름 칸 34 이상 · 시계 알약 22. */
/* ---------- 팝업 판 */
#ui .thx-dim .shade { background: rgba(6, 8, 10, .72); }
#ui .popup.thx { width: 620px; max-width: calc(100% - 24px); padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 8px; }
#ui .popup.thx .popup-head { margin-bottom: 0; padding-bottom: 6px; border-bottom-color: rgba(200, 170, 110, .45); }
#ui .popup.thx .popup-head h2 { font-size: 16px; }
#ui .thx-sub { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 22px; }
#ui .thx-sub > b { min-width: 0; font-size: 11.5px; font-weight: 800; line-height: 15px; color: #c8aa6e; word-break: keep-all; }
/* 남은 시간 = 어두운 알약 + 흰 선 시계(월드 보스 icon-clock) + 붉은 값(06-shop card-time 버섯커 결) */
#ui .thx-time { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px 0 8px; border-radius: 11px; background: rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-style: normal; font-size: 11px; font-weight: 900; line-height: 22px; color: #ff9a7a; white-space: nowrap; font-variant-numeric: tabular-nums; }
#ui .thx-clock { flex: none; display: inline-block; width: 11px; height: 12px; background: currentColor;
  -webkit-mask: url(features/worldboss/art/icon-clock.webp) center / contain no-repeat; mask: url(features/worldboss/art/icon-clock.webp) center / contain no-repeat; }
#ui .thx-dia { display: inline-block; width: 13px; height: 13px; margin: 0 2px 0 1px; vertical-align: -2px; object-fit: contain; }
#ui .thx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 6px; }

/* ---------- 카드 공통: 어두운 판 + 카드 색 테. 딱지 · 리본은 카드 안쪽(판이 자르지 않게 overflow 는 그림 칸만) */
#ui .thx-card { --ac: #e0a020; position: relative; min-width: 0; display: flex; flex-direction: column; gap: 7px; padding: 0 0 10px; border-radius: 10px; color: #f2f0e7;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 14%, #191b1f), #131417 60%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 45%, #3a3c44), 0 3px 8px rgba(0, 0, 0, .45); }
#ui .thx-card.pick { box-shadow: inset 0 0 0 1.5px #ecca74, 0 0 14px rgba(236, 202, 116, .35), 0 4px 12px rgba(0, 0, 0, .5); animation: thx-pick 1.047s ease-in-out infinite alternate; }
@keyframes thx-pick { 0% { box-shadow: inset 0 0 0 1.5px #ecca74, 0 0 8px rgba(236, 202, 116, .22), 0 4px 12px rgba(0, 0, 0, .5); } 100% { box-shadow: inset 0 0 0 1.5px #ffe4a0, 0 0 16px rgba(236, 202, 116, .45), 0 4px 12px rgba(0, 0, 0, .5); } }
#ui .thx-card .sr-flag { top: 7px; right: 6px; font-size: 10.5px; padding: 2px 8px 2px 12px; }
#ui .thx-card .sr-flag b { font-size: 13px; }
#ui .thx-card .sr-rib { left: 6px; top: 6px; }
#ui .thx-dim.open .thx-card { animation: fx-card-in .3s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(.16s + var(--n, 0) * .07s); }
#ui .thx-dim.open .thx-card.pick { animation: fx-card-in .3s cubic-bezier(.2, .8, .3, 1) calc(.16s + var(--n, 0) * .07s) both, thx-pick 1.047s ease-in-out .6s infinite alternate; }   /* 등장 시차 = 자기 칸 차례(추천이 A 첫 칸 · B 둘째 칸) */
#ui .thx-dim.open .thx-card:nth-child(2) { --n: 1; } #ui .thx-dim.open .thx-card:nth-child(3) { --n: 2; }
#ui .thx-dim.open .thx-card .sr-flag { animation: sr-flag-in .3s cubic-bezier(.2, .8, .3, 1) .42s both, shop-sheen 2.6s ease-in-out 1s infinite; }
#ui .thx-foot { margin-top: auto; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 0 10px; }
#ui .thx-foot .sr-cta { min-width: 104px; transition: transform .2s cubic-bezier(.2, .9, .3, 1.8); cursor: pointer; }
#ui .thx-foot .sr-cta:active { transform: scale(.92); transition-duration: .06s; }
#ui .thx-deal { min-width: 0; font-size: 10.5px; font-weight: 800; line-height: 13px; color: #c3c9d1; text-align: right; }
#ui .thx-deal s { display: block; color: #9aa1ab; white-space: nowrap; }

/* ---------- 안 A: 패스 카드 — 위 = 패스 색 그림 판(몬스터 도트 · 이름 · 기간 칩) · 가운데 = 구매 즉시 무더기 · 아래 = 값 단추 */
#ui .thxa-art { position: relative; height: 92px; overflow: hidden; border-radius: 10px 10px 0 0;
  background: radial-gradient(ellipse 70% 60% at 66% 82%, color-mix(in srgb, var(--ac) 52%, transparent), transparent 70%),
    linear-gradient(165deg, color-mix(in srgb, var(--ac) 46%, #101215) 0%, color-mix(in srgb, var(--ac) 18%, #121418) 62%, #131417 100%); }
#ui .thxa-art::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--ac) 22%, rgba(0, 0, 0, .25))); }
#ui .thxa-stage { right: 6px; bottom: 2px; z-index: 0; }
#ui .thxa-stage.two .sr-mon + .sr-mon { margin-left: -6px; margin-bottom: 2px; }
#ui .thxa-tt { position: absolute; z-index: 1; left: 10px; bottom: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: 64%; }
#ui .thxa-tt > b { font-size: 13.5px; font-weight: 900; line-height: 17px; color: #fff; word-break: keep-all; overflow-wrap: anywhere;
  text-shadow: 0 1px 0 #0a0c10, 1px 0 0 #0a0c10, -1px 0 0 #0a0c10, 0 2px 4px #000; }
#ui .thx-card .thxa-art + .sr-flag { top: 7px; }
#ui .thx-piles { display: flex; align-items: flex-start; justify-content: space-evenly; gap: 4px; margin: 0 8px; padding: 9px 4px 8px; border-radius: 8px; background: #070c15a6; box-shadow: inset 0 0 0 1px #ffffff1a;
  --pile: 38px; --pile-n: 13px; --pile-w: 56px; }
#ui .thx-piles .sr-pile small { font-size: 9.5px; line-height: 11px; }
#ui .thx-piles .sr-pile.lead { --pile: 42px; --pile-n: 14px; }
#ui .thx-dim.open .thx-piles .sr-pile { animation: fx-cell .42s cubic-bezier(.2, 1.2, .4, 1) both; animation-delay: calc(.3s + var(--n, 0) * .07s); }
#ui .thx-piles .sr-pile:nth-child(2) { --n: 1; } #ui .thx-piles .sr-pile:nth-child(3) { --n: 2; }

/* 상점 [한정] 대표 자리(a): shop_bait.css .srh-card 틀 그대로 + 그림 칸에 패스 몬스터 둘 */
#ui .thx-hero .thx-hart { display: flex; align-items: center; justify-content: center; gap: 0; }
#ui .thx-hero .thx-hart .sr-mon { filter: drop-shadow(0 6px 6px #050a14c7); animation: sr-idle var(--t) steps(var(--n)) infinite, sr-bob 2.8s ease-in-out infinite alternate; }
#ui .thx-hero .thx-hart .sr-mon + .sr-mon { margin-left: -22px; margin-top: 22px; }
#ui .thx-hero .srh-foot { align-items: center; gap: 10px; }
#ui .thx-hero .thx-chip-time { display: inline-flex; align-items: center; gap: 4px; color: #ff9a7a; font-variant-numeric: tabular-nums; }

/* ---------- 안 B: 주말 감사 상자 — 위 = 장면 그림 + 상자 그림(빛 맥동) · 이름 · 구성 줄(그림 + 이름 + 노란 수, 메이플 M1) · 값 단추 */
#ui .thxb-art { position: relative; height: 84px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, transparent 50%, #131417 100%), var(--scene) center 60% / cover no-repeat, color-mix(in srgb, var(--ac) 25%, #181a21); }
#ui .thxb-art::before { content: ""; position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ac) 60%, #fff3) 0, transparent 68%); animation: thx-glow 1.047s ease-in-out infinite alternate; }
@keyframes thx-glow { 0% { opacity: .55; transform: scale(.92); } 100% { opacity: 1; transform: scale(1.04); } }
#ui .thxb-art img { position: relative; width: 68px; height: 68px; object-fit: contain; filter: drop-shadow(0 5px 5px #050a14c7); animation: sr-bob 2.8s ease-in-out infinite alternate; }
#ui .thxb-name { padding: 0 10px; font-size: 13px; font-weight: 900; line-height: 16px; color: #fff; text-align: center; word-break: keep-all; overflow-wrap: anywhere; }
#ui .thxb-rows { display: flex; flex-direction: column; gap: 3px; margin: 0 8px; padding: 6px 8px; border-radius: 8px; background: #070c15a6; box-shadow: inset 0 0 0 1px #ffffff1a; }
#ui .thxb-row { display: flex; align-items: center; gap: 6px; min-height: 22px; cursor: pointer; }
#ui .thxb-row img { flex: none; width: 20px; height: 20px; object-fit: contain; }
#ui .thxb-row span { min-width: 0; flex: 1; font-size: 10.5px; font-weight: 800; line-height: 13px; color: #e6e7ec; word-break: keep-all; overflow-wrap: anywhere; }
#ui .thxb-row b { flex: none; font-size: 12px; font-weight: 900; line-height: 14px; color: #ffe27a; white-space: nowrap;
  text-shadow: 0 1px 0 #1a1206, 1px 0 0 #1a1206, -1px 0 0 #1a1206, 0 -1px 0 #1a1206; }
#ui .thx-dim.open .thxb-row { animation: fx-card-in .26s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(.3s + var(--n, 0) * .05s); }
#ui .thxb-row:nth-child(2) { --n: 1; } #ui .thxb-row:nth-child(3) { --n: 2; } #ui .thxb-row:nth-child(4) { --n: 3; }

/* 살 수 없는 카드(구매 완료 · 보유 중 · 판매 종료) = 그림 · 구성을 낮춤, 값 단추는 회색 한 단(.sr-cta.own) */
#ui .thx-card.off { animation: none; }
#ui .thx-card.off :is(.thxa-art, .thxb-art, .thx-piles, .thxb-rows) { filter: saturate(.4) brightness(.75); }
#ui .thx-card.off .thx-foot .sr-cta { cursor: default; }
/* 상점 [한정] 오른쪽 열 주말 감사 줄 = shoprev .srr-ban 틀 그대로 + 남은 시간 칩 */
#ui .thx-row .thx-chip-time { display: inline-flex; align-items: center; gap: 4px; color: #ff9a7a; font-variant-numeric: tabular-nums; }

/* gf:js-pack prototype/Spikes/rt-battle/features/thanks2mock/thanks2mock.css */
/* 첫 결제 감사 혜택 꾸밈 시안(thanks2-1126 → 3차 thanks3-1126) — thanks2mock.js 가 그린 것(.thx2 · .thx2-card · .thx2-hero · .t2-*)에만 걸린다. 모듈이 꺼져 있으면 이 선택자에 걸리는 요소가 없다.
   3차 = 인기 패스 4차 카드(features/passhero/passhero.css)와 같은 세로 틀 — 참고작 배치 그대로(shoprevamp-1122/REFERENCES.md §6.1):
     카드 틀 = 쿠키런 킹덤 상점 > 성장 패키지 세로 카드(K3 — 그림이 카드 전체 · 위 가운데 [작은 줄 → 큰 제목] · 가운데 대표 그림 · 아래 가운데 연두 두 단 단추)
     받는 것 = 메이플 키우기 상점 > 패키지 구매 안내(M8 — 어두운 판: 머리 띠 '구매 시 획득 상품' + 흰 칸 줄 + 칸 아래 흰 수량, 다이아가 첫 칸 · 칸 위 띠 = 사자마자 받는 몫)
     둥근 메달 = 쿠키런 킹덤패스 판(K5) 원형 딱지 — 여기서는 첫 결제 감사만의 '보너스 💎 +n'. 자리 = 카드 오른쪽 위 모서리에서 3 안쪽(형창님 11-26, 인기 패스 카드 passbuy-1126 과 같음).
   2차의 단계 열 · 무료/프리미엄 이름표 판(srp-*)은 없앴다(형창님 11-26 "보상보여주면 너무 번잡스러우니까").
   passhero 모듈은 mock=passhero 일 때만 켜지므로 그 css 를 빌리지 않고 같은 값을 t2-* 로 옮겼다(두 시안이 따로 켜져도 같은 모양).
   크기(GUI 450, maple-idle-ui-size.md): 제목 20(대표 22, 긴 이름은 js 가 한 줄에 들어가게 줄임 · 15 이상) · 칸 44 · 칸 틈 6 · 수량 12 · 머리 띠 16 · 띠 글 9 · 메달 58 · 값 단추 윗단 18 + 아랫단 36 · 이웃 틈 8 이상. */

/* ---------- 팝업 판: 카드 3장 나란히(판 740 — 폰 가로 GUI 폭 ~1000 · PC 800 안. 카드 폭 ~228 = 칸 44 넷) */
#ui .popup.thx.thx2 { width: 740px; }
#ui .thx2 .thx-cards { gap: 10px; }

/* ---------- 카드 틀(팝업 카드 · 상점 [한정] 대표 카드 공용): 장면 그림이 카드 전체(값 단추 뒤까지), 위(제목 뒤) · 아래(판 · 단추 뒤)만 어둡게 */
#ui .thx-card.thx2-card, #ui .sr-ban.srh-card.thx2-hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; border-radius: 12px; color: #f2f0e7; text-align: center;
  background: var(--sr-scene, none) center 42% / cover no-repeat, linear-gradient(165deg, color-mix(in srgb, var(--ac) 46%, #101215), #131417);
  box-shadow: 0 0 0 1px rgba(240, 213, 138, .38), inset 0 1px 0 rgba(255, 246, 214, .12), 0 6px 16px rgba(0, 0, 0, .45); }
#ui .thx-card.thx2-card { position: relative; min-height: 296px; }   /* 대표 카드는 아래에서 sticky(자리 고정) — 여기서 position 을 주면 그 규칙을 덮는다 */
#ui .t2-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 9, 14, .78) 0%, rgba(6, 9, 14, .28) 26%, rgba(6, 9, 14, .1) 48%, rgba(6, 9, 14, .55) 70%, rgba(6, 9, 14, .86) 100%); }
#ui .thx2-hero > .t2-shade { position: absolute; z-index: 0; }   /* shop_bait.css .srh-card > * (relative) 보다 먼저 */
/* 추천 카드 = 금 테 맥동 + 추천 알약(인기 패스 통합 카드와 같은 강조) */
#ui .thx-card.thx2-card.pick, #ui .thx-dim.open .thx-card.thx2-card.pick { box-shadow: 0 0 0 2px #f6d77e, inset 0 1px 0 rgba(255, 246, 214, .2), 0 0 14px rgba(246, 200, 90, .45), 0 6px 16px rgba(0, 0, 0, .45); }
#ui .thx-card.thx2-card.pick { animation: t2-best 1.047s ease-in-out infinite alternate; }
#ui .thx-dim.open .thx-card.thx2-card.pick { animation: fx-card-in .3s cubic-bezier(.2, .8, .3, 1) calc(.16s + var(--n, 0) * .07s) both, t2-best 1.047s ease-in-out .6s infinite alternate; }
@keyframes t2-best { from { box-shadow: 0 0 0 2px #f6d77e, inset 0 1px 0 rgba(255, 246, 214, .2), 0 0 8px rgba(246, 200, 90, .3), 0 6px 16px rgba(0, 0, 0, .45); }
  to { box-shadow: 0 0 0 2px #ffe9a0, inset 0 1px 0 rgba(255, 246, 214, .2), 0 0 18px rgba(246, 200, 90, .65), 0 6px 16px rgba(0, 0, 0, .45); } }
#ui .sr-chips i.t2-best { color: #3a2400; font-weight: 900; background: linear-gradient(#ffe27a, #e0a020); box-shadow: inset 0 0 0 1px #fff3c0; }
/* 추천 알약 = 카드 왼쪽 위 모서리(오른쪽 위 메달과 마주 봄) — 알약 줄에 같이 두면 영어 '28-day season' 끝이 메달 밑으로 들어갔다(r3 실측 9.8 px). .t2-tt(안 여백 10 · 9) 기준 → 카드에서 8 · 8 */
#ui .thx2-card .t2-tt .sr-chips i.t2-best { position: absolute; left: -2px; top: -1px; }

/* ---------- 카드 안 = 위에서 아래로(흐름 배치 — 서로 겹치지 않게): [알약 줄 → 큰 제목(→ 통합: 든 패스 한 줄)] → [대표 그림: 빛살 · 후광 위 몬스터] → [구매 시 획득 상품 판] → 값 단추. 보너스 메달만 카드 모서리에 얹는다 */
#ui .t2-art { position: relative; z-index: 1; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 9px 10px 0; }
#ui .t2-tt { position: relative; z-index: 4; flex: none; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
#ui .t2-tt .sr-chips { flex-wrap: wrap; justify-content: center; }
#ui .t2-tt > b { max-width: 100%; font-size: 20px; font-weight: 900; line-height: 1.16; color: #fff; white-space: normal; word-break: keep-all; text-wrap: balance;   /* 폭(max-width) = js 가 메달에 덮이지 않는 폭으로 준다 */
  text-shadow: 0 1px 0 #0a1018, 1px 0 0 #0a1018, -1px 0 0 #0a1018, 0 -1px 0 #0a1018, 0 2px 6px #04070c; }
#ui .t2-inc { font-size: 11px; font-weight: 900; line-height: 13px; color: #ffe27a; white-space: nowrap; text-shadow: 0 1px 0 #1a1206, 0 0 4px #000; }
/* 대표 그림 = 남은 높이 전부: 가운데 몬스터(땅 위), 뒤 빛살 · 후광 · 반짝임 */
#ui .t2-key { position: relative; z-index: 2; flex: 1 1 auto; min-height: 44px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px; }
#ui .t2-rays { position: absolute; left: 50%; bottom: -34px; width: 170px; height: 170px; margin-left: -85px; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, #fff3c0 0deg 6deg, transparent 6deg 22.5deg);
  -webkit-mask: radial-gradient(circle, #000 18%, rgba(0, 0, 0, .6) 40%, transparent 66%); mask: radial-gradient(circle, #000 18%, rgba(0, 0, 0, .6) 40%, transparent 66%);
  opacity: .62; animation: t2-spin 14s linear infinite; }
#ui .t2-halo { position: absolute; left: 50%; bottom: 0; width: 130px; height: 70px; margin-left: -65px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(255, 240, 190, .6) 0%, rgba(255, 220, 130, .22) 45%, transparent 70%); animation: t2-halo 1.047s ease-in-out infinite alternate; }
#ui .t2-mon { position: relative; z-index: 2; flex: none; display: flex; align-items: flex-end; pointer-events: none; }
#ui .t2-mon::after { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; bottom: -3px; height: 9px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, .5), transparent 70%); }   /* 발밑 그림자 */
#ui .t2-mon .sr-mon { filter: drop-shadow(0 0 3px rgba(255, 255, 255, .55)) drop-shadow(0 3px 1px rgba(0, 0, 0, .45)); }   /* 어두운 땅 위 어두운 몬스터(늑대)도 보이게 흰 테 빛 */
#ui .t2-mon.two .sr-mon + .t2-plus + .sr-mon { margin-left: -6px; }
#ui .t2-plus { align-self: center; margin: 0 -4px; position: relative; z-index: 1; font-size: 18px; font-weight: 900; line-height: 20px; color: #ffe27a;
  text-shadow: 0 1px 0 #1a1206, 1px 0 0 #1a1206, -1px 0 0 #1a1206, 0 -1px 0 #1a1206; }
/* 보너스 메달 = 둥근 빨간 메달 + 금 테(인기 패스 가치 메달 자리 · 모양), 윗줄 💎 보너스 · 아랫줄 +n. 1047 ms 맥동.
   자리 = 카드 오른쪽 위 모서리에서 위 3 · 오른쪽 3 안쪽(형창님 11-26 "슬롯의 우측위에 2-3픽셀 여유로 딱 붙여줘 조금 곂치는건 괜찮으니까") — 카드 바로 아래 자식(대표 카드는 shop_bait.css .srh-card > * 가 relative 를 주므로 다시 absolute) */
#ui .t2-x, #ui .thx2-hero > .t2-x { position: absolute; z-index: 5; right: 3px; top: 3px; width: 58px; height: 58px; box-sizing: border-box; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(8deg); background: radial-gradient(circle at 50% 35%, #f0624c, #b3261a 72%); box-shadow: inset 0 0 0 3px #f6d77e, inset 0 0 0 5px #8e1d13, 0 3px 8px rgba(0, 0, 0, .55);
  animation: t2-beat 1.047s ease-in-out infinite alternate; }
#ui .t2-x small { display: flex; align-items: center; gap: 1px; font-size: 9.5px; font-weight: 900; line-height: 14px; color: #fff; white-space: nowrap; text-shadow: 0 1px 1px #6d130c; }
#ui .t2-x small img { width: 10px; height: 10px; object-fit: contain; }
#ui .t2-x b { font-size: 18px; font-weight: 900; line-height: 20px; color: #ffe27a; letter-spacing: -.5px; white-space: nowrap;
  text-shadow: 0 1px 0 #5a0f08, 1px 0 0 #5a0f08, -1px 0 0 #5a0f08, 0 -1px 0 #5a0f08, 0 2px 3px #000; }
#ui .t2-x.long b { font-size: 14px; line-height: 19px; letter-spacing: -.6px; }   /* +1,000 · +1,350 */
@keyframes t2-beat { from { transform: rotate(8deg) scale(1); } to { transform: rotate(8deg) scale(1.05); } }
/* 반짝임 = 네 갈래 별 4개(대표 그림 안, 몬스터 아래 층), 자리 · 지연만 다르게 */
#ui .t2-spk { position: absolute; z-index: 1; width: 11px; height: 11px; background: #fff8dc; opacity: 0; pointer-events: none; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 3px #ffe9a8); animation: t2-twinkle 1.884s ease-in-out infinite; animation-delay: calc(var(--s) * .314s); }
#ui .t2-spk:nth-of-type(3) { left: 10%; top: 18%; } #ui .t2-spk:nth-of-type(4) { left: 26%; bottom: 8%; width: 9px; height: 9px; }
#ui .t2-spk:nth-of-type(5) { right: 30%; top: 6%; width: 13px; height: 13px; } #ui .t2-spk:nth-of-type(6) { right: 8%; bottom: 14%; }
@keyframes t2-spin { to { transform: rotate(360deg); } }
@keyframes t2-halo { from { opacity: .7; transform: scale(.94); } to { opacity: 1; transform: scale(1.04); } }
@keyframes t2-twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 45% { opacity: 1; transform: scale(1) rotate(20deg); } 70% { opacity: 0; transform: scale(.6) rotate(35deg); } }

/* ---------- 구매 시 획득 상품 판(메이플 키우기 M8): 어두운 둥근 판 · 머리 띠(왼쪽 글) · 흰 칸 줄(가운데) · 칸 아래 흰 수량. 다이아 = 첫 칸, 사자마자 받는 몫 = 칸 위 청록 띠. 칸 누름 = 아이템 정보 */
#ui .t2-tray { position: relative; z-index: 3; flex: none; display: flex; flex-direction: column; gap: 5px; padding: 3px 3px 5px; border-radius: 8px; background: rgba(34, 36, 40, .92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 3px 8px rgba(0, 0, 0, .45); }
#ui .t2-get { height: 16px; padding: 0 7px; border-radius: 5px; font-size: 10px; font-weight: 800; line-height: 16px; text-align: left; color: #e9ebee; white-space: nowrap; overflow: hidden;
  background: linear-gradient(180deg, #4a4d53, #3a3d42); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .35); }
#ui .t2-goods { min-width: 0; display: flex; justify-content: center; align-items: flex-start; gap: 6px; }
#ui .t2-good { flex: none; width: 44px; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; }
#ui .thx-dim.open .t2-good, #ui #sr-ban.sr-in .t2-good { animation: t2-good-in .42s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i) * 70ms + 380ms); }   /* 창 · 판이 열릴 때 한 번 */
#ui .t2-gi { position: relative; width: 44px; height: 44px; box-sizing: border-box; border-radius: 7px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #ffffff, #e3e4e8); box-shadow: inset 0 0 0 1.5px #b4b7c0, inset 0 -3px 0 rgba(120, 124, 136, .16), 0 1px 2px rgba(0, 0, 0, .4); }
#ui .t2-gi img { width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 2px 1px rgba(40, 44, 56, .35)); }
#ui .t2-gi em { position: absolute; left: 50%; top: 0; transform: translateX(-50%); box-sizing: border-box; min-width: 100%; height: 12px; padding: 0 1px; border-radius: 7px 7px 3px 3px; font-style: normal;
  font-size: 9px; font-weight: 900; line-height: 12px; letter-spacing: -.4px; text-align: center; white-space: nowrap; color: #fff; background: linear-gradient(#2fb3a1, #1a8375); box-shadow: 0 1px 1px rgba(0, 0, 0, .3); }
#ui .t2-good.dia .t2-gi:has(em) img { margin-top: 9px; width: 30px; height: 30px; }
#ui .t2-good u { max-width: 54px; font-size: 12px; font-weight: 900; line-height: 13px; text-decoration: none; white-space: nowrap; color: #fff; text-shadow: 0 1px 1px #000; }
@keyframes t2-good-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }

/* ---------- 값 줄 = 카드 아래 가운데 연두 두 단 단추(K3 — 카드 폭 87% · 윗단 💎 즉시 지급(통합 = 단품 합 ₩13,200) · 아랫단 값) · 바깥 연두 빛 맥동. 누름 = 0.92 → 1.06 튕김 + 그 자리에서 구매 판(thanks2mock.js buy) */
#ui .t2-foot { position: relative; z-index: 3; flex: none; box-sizing: border-box; display: flex; justify-content: center; align-items: center; padding: 7px 10px 9px; }
#ui .thx2-cta.sr-cta { width: 87%; min-width: 0; border-radius: 10px; cursor: pointer; animation: sr-cta-glow 1.047s ease-in-out infinite alternate; }
#ui .thx2-cta.sr-cta small { display: flex; align-items: center; justify-content: center; gap: 3px; height: 18px; padding: 0 6px; font-size: 10.5px; line-height: 18px; }
#ui .thx2-cta.sr-cta small img { width: 13px; height: 13px; object-fit: contain; }
#ui .thx2-cta.sr-cta small i { font-style: normal; font-weight: 900; color: #ffe27a; }
#ui .thx2-cta.sr-cta small s { color: #ffd7cf; text-decoration-thickness: 1.5px; }
#ui .thx2-cta.sr-cta b { height: 36px; padding: 0 10px; font-size: 19px; line-height: 36px; }
#ui .thx2-cta.sr-cta:active { transform: scale(.92); }
#ui .thx2-cta.thx2-hit { animation: thx2-hit .3s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes thx2-hit { 0% { transform: scale(.92); } 60% { transform: scale(1.06); } 100% { transform: none; } }

/* 상점 [한정] 대표 자리는 바꾸지 않는다(thanks4-1126 — thanks2mock.js 머리 주석). 지울 때 @media 닫는 } 하나가 남아 다음 파일(묶음 css 에서 passinfo.css)의 첫 규칙
   #ui .popup.buy.pi-on { width: 440px } 를 먹었다 → 패스 단품 구매 판이 380 폭이 되어 완주 조건 글이 흐름 글(marquee)로 바뀜(passbuy-1126 배포본 bd2af1b4a4db 실측) — 지움 */

/* gf:js-pack prototype/Spikes/rt-battle/features/passinfo/passinfo.css */
/* 패스 구매 안내(bm-best-1123 ⑤) — passinfo.js. 크기 = GUI 450 기준(hq-ui · maple-idle-ui-size.md: 라벨 9 이상 · 칸 그림 18~24 · 줄 간격 4).
   구매 판(어두운 작은 팝업 18-popup-dark 결): 패스 단품이면 판 폭 380 → 440(세 줄이 한 줄씩 들어가게), 긴 안내 줄(buy-lines) · 유료 합 칸(buy-rw)은 숨기고 세 줄로 바꾼다.
   색: 라벨 = 흐린 베이지, 값 = 흰 글자, 전용 보상 = 금(#f0c75e — 패스 창 최종 열 금빛), 경고 = 붉은 글자(#ff8f7a — 구매 판 붉은 줄 .buy-lines 어두운 판 값과 같은 계열). */
#ui .popup.buy.pi-on { width: 440px; }
#ui .popup.buy.pi-on :is(.buy-lines, .buy-rw) { display: none !important; }
#ui .pi-box { display: flex; flex-direction: column; gap: 4px; padding: 6px 8px 7px; margin: 0 0 6px; border-radius: 8px; background: rgba(0, 0, 0, .32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .pi-box.bundle { padding: 4px 8px; }
#ui .pi-row { display: flex; align-items: center; gap: 6px; min-height: 22px; }
#ui .pi-row.sub { min-height: 0; margin-top: -2px; }
#ui .pi-row > em { flex: none; width: 50px; font-style: normal; font-size: 9.5px; font-weight: 800; line-height: 12px; color: #bdb49c; white-space: nowrap; }
#ui .pi-cells { display: flex; flex-wrap: nowrap; align-items: center; gap: 3px; min-width: 0; }
#ui .pi-c { --gc: #6b7073; position: relative; flex: none; width: 24px; height: 24px; border-radius: 5px; background: color-mix(in srgb, var(--gc) 22%, #15181b); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gc) 70%, transparent); display: grid; place-items: center; }
#ui .pi-c.ex { box-shadow: inset 0 0 0 1.5px #f0c75e, 0 0 6px rgba(240, 199, 94, .45); }
#ui .pi-c img { width: 19px; height: 19px; object-fit: contain; image-rendering: pixelated; }
#ui .pi-c u { position: absolute; right: -2px; bottom: -3px; text-decoration: none; font-size: 9px; font-weight: 900; line-height: 10px; color: #fff; text-shadow: 0 0 2px #000, 0 1px 1px #000; white-space: nowrap; }
#ui .pi-more { flex: none; font-style: normal; font-size: 9.5px; font-weight: 800; color: #bdb49c; }
#ui .pi-t { min-width: 0; font-size: 10px; font-weight: 700; line-height: 12px; color: #ecebe4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .pi-t.mute { color: #8f8a7c; }   /* .dim 은 창 덮개 클래스라 쓰지 않는다 */
#ui .pi-exs { display: flex; flex-wrap: wrap; gap: 2px 8px; min-width: 0; }
#ui .pi-ex { font-size: 9.5px; font-weight: 800; line-height: 12px; color: #f0c75e; white-space: nowrap; }
#ui .pi-warn { display: flex; align-items: flex-start; gap: 4px; font-size: 10px; font-weight: 900; line-height: 12px; color: #ff8f7a; white-space: normal; word-break: keep-all; }   /* 긴 경고 = 두 줄까지(넘침 대신 줄바꿈) */
#ui .pi-warn > i { flex: none; margin-top: .5px; width: 11px; height: 11px; border-radius: 50%; background: #d8503c; position: relative; }
#ui .pi-warn > i::after { content: '!'; position: absolute; inset: 0; font-style: normal; font-size: 9px; font-weight: 900; line-height: 11px; text-align: center; color: #fff; }
#ui .pi-box.bad { box-shadow: inset 0 0 0 1px rgba(216, 80, 60, .55); }
/* 패스 창 대표 띠 노란 줄이 경고일 때 */
#ui .ps-desc.hi.pi-warn-t { color: #ff8f7a; }
/* 상점 [패스] 배너 칩(sr-chips 안 i 알약 결) */
#ui .sr-chips i.pi-chip { background: rgba(216, 80, 60, .85); color: #fff; }

/* gf:js-pack prototype/Spikes/rt-battle/features/passhero/passhero.css */
/* 상점 [패스] > [인기 패스] 시안(passhero3-1126 → 4차 passhero4-1126 — passhero.js, 주소 표식 mock=passhero 일 때만 이 클래스들이 생긴다).
   구도 = 카드 3장 나란히 [출석 | 사냥 | 시즌 기본 통합(조금 넓게 · 금 테 · 추천)]. 4차 = 참고작 배치 그대로(shoprevamp-1122/REFERENCES.md §6.1, 11-26 다시 열어 잼):
     카드 틀 = 쿠키런 킹덤 상점 > 성장 패키지 세로 카드(K3, 900×416 — 카드 193×365 px · 그림이 카드 전체 · 위 가운데 [작은 줄 → 큰 제목] · 가운데 대표 그림 · 아래 가운데 연두 두 단 단추 155×63 px = 카드 폭 80%)
     받는 것 = 메이플 키우기 상점 > 패키지 구매 안내(M8, 966×544 — 어두운 판 323×123 px: 머리 띠 '구매시 획득 상품' 23 px + 흰 칸 57 px(틈 7) + 칸 아래 흰 수량 12 px, 다이아가 첫 칸) ·
       칸 위 띠 = 메이플 키우기 이벤트 보상 칸(자쿰 레이드 — 흰 칸 46 px 위쪽 띠 '상급', 칸 아래 수량)
     둥근 메달 = 쿠키런 킹덤패스 판(K5)의 원형 '시즌 한정' 딱지(대표 그림 오른쪽 위, 기울임).
   크기(GUI 450, maple-idle-ui-size.md): 제목 22(PC 17) · 칸 44(PC 36, M8 47) · 칸 틈 6 · 수량 12 · 머리 띠 16(M8 19) · 띠 글 9 이상 · 값 단추 윗단 18 + 아랫단 36 · 이웃 틈 8.
   색 = 패스 색(--ac, RtShopMon) · 통합 = 금(추천) · 값 단추 = 상점 공용 연두(.sr-cta) · 즉시 띠 = 청록(결정) · 가치 · 할인 메달 = 상점 딱지 빨강(.sr-flag 색). */

/* 판 = 상점 몸 전체 한 장(다른 판처럼 왼쪽 세부 탭 열 118 만큼 비움) — 카드 3장 한 줄, 넘기지 않음 */
#ui #sr-ban.ph-on.show { display: flex; flex-direction: column; }
#ui .ph-row { flex: 1 1 auto; min-height: 280px; display: flex; gap: 8px; }
#ui .ph-card { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; color: #f2f0e7;
  background: var(--sr-scene, none) center 42% / cover no-repeat, linear-gradient(165deg, color-mix(in srgb, var(--ac) 46%, #101215), #131417);   /* K3: 그림이 카드 전체(값 단추 뒤까지) */
  box-shadow: 0 0 0 1px rgba(240, 213, 138, .38), inset 0 1px 0 rgba(255, 246, 214, .12), 0 6px 16px rgba(0, 0, 0, .45); }
#ui #sr-ban.sr-in .ph-card { animation: fx-card-in .34s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i) * 80ms); }
/* 통합 = 가장 돋보이게: 조금 넓게 · 금 테 맥동 · 추천 알약 */
#ui .ph-card.best { flex-grow: 1.24; box-shadow: 0 0 0 2px #f6d77e, inset 0 1px 0 rgba(255, 246, 214, .2), 0 0 14px rgba(246, 200, 90, .45), 0 6px 16px rgba(0, 0, 0, .45);
  animation: ph-best 1.047s ease-in-out infinite alternate; }
#ui #sr-ban.sr-in .ph-card.best { animation: fx-card-in .34s cubic-bezier(.2, .8, .3, 1) both, ph-best 1.047s ease-in-out .34s infinite alternate; animation-delay: calc(var(--i) * 80ms), calc(var(--i) * 80ms + .34s); }
@keyframes ph-best { from { box-shadow: 0 0 0 2px #f6d77e, inset 0 1px 0 rgba(255, 246, 214, .2), 0 0 8px rgba(246, 200, 90, .3), 0 6px 16px rgba(0, 0, 0, .45); }
  to { box-shadow: 0 0 0 2px #ffe9a0, inset 0 1px 0 rgba(255, 246, 214, .2), 0 0 18px rgba(246, 200, 90, .65), 0 6px 16px rgba(0, 0, 0, .45); } }
#ui .sr-chips i.ph-best { color: #3a2400; font-weight: 900; background: linear-gradient(#ffe27a, #e0a020); box-shadow: inset 0 0 0 1px #fff3c0; }

/* ---------- 카드 안 = 위에서 아래로(흐름 배치 — 서로 겹치지 않게, K3 순서):
   [기간 알약 줄 → 큰 제목(→ 통합: 든 패스 한 줄)] → [대표 그림: 빛살 · 후광 위 몬스터 도트 | 메달] → [구매 시 획득 상품 판] → 값 단추 */
#ui .ph-card::before { content: ""; position: absolute; inset: 0; pointer-events: none;   /* 위(제목 뒤) · 아래(판 · 단추 뒤)만 어둡게 */
  background: linear-gradient(180deg, rgba(6, 9, 14, .78) 0%, rgba(6, 9, 14, .28) 26%, rgba(6, 9, 14, .1) 48%, rgba(6, 9, 14, .55) 70%, rgba(6, 9, 14, .86) 100%); }
#ui .ph-art { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 9px 10px 0; }
#ui .ph-tt { position: relative; z-index: 4; flex: none; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
#ui .ph-tt .sr-chips { flex-wrap: wrap; justify-content: center; }
#ui .ph-tt > b { max-width: 100%; font-size: 22px; font-weight: 900; line-height: 25px; color: #fff; white-space: normal; word-break: keep-all;
  text-shadow: 0 1px 0 #0a1018, 1px 0 0 #0a1018, -1px 0 0 #0a1018, 0 -1px 0 #0a1018, 0 2px 6px #04070c; }
#ui .ph-inc { font-size: 11px; font-weight: 900; line-height: 13px; color: #ffe27a; white-space: nowrap; text-shadow: 0 1px 0 #1a1206, 0 0 4px #000; }   /* 든 패스(출석 + 사냥 패스) = 제목 아래 금 글 한 줄(K5 제목 아래 설명 줄) */
/* 대표 그림 = 남은 높이 전부: 가운데 몬스터(땅 위), 뒤 빛살 · 후광 · 반짝임. 메달은 오른쪽 위(K5 원형 딱지) */
#ui .ph-key { position: relative; z-index: 2; flex: 1 1 auto; min-height: 44px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px; }
#ui .ph-rays { position: absolute; left: 50%; bottom: -34px; width: 170px; height: 170px; margin-left: -85px; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, #fff3c0 0deg 6deg, transparent 6deg 22.5deg);
  -webkit-mask: radial-gradient(circle, #000 18%, rgba(0, 0, 0, .6) 40%, transparent 66%); mask: radial-gradient(circle, #000 18%, rgba(0, 0, 0, .6) 40%, transparent 66%);
  opacity: .62; animation: ph-spin 14s linear infinite; }
#ui .ph-halo { position: absolute; left: 50%; bottom: 0; width: 130px; height: 70px; margin-left: -65px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(255, 240, 190, .6) 0%, rgba(255, 220, 130, .22) 45%, transparent 70%); animation: ph-halo 1.047s ease-in-out infinite alternate; }
#ui .ph-mon { position: relative; z-index: 2; flex: none; display: flex; align-items: flex-end; pointer-events: none; }
#ui .ph-mon::after { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; bottom: -3px; height: 9px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, .5), transparent 70%); }   /* 발밑 그림자 */
#ui .ph-mon .sr-mon { filter: drop-shadow(0 0 3px rgba(255, 255, 255, .55)) drop-shadow(0 3px 1px rgba(0, 0, 0, .45)); }   /* 어두운 땅 위 어두운 몬스터(늑대)도 보이게 흰 테 빛 */
#ui .ph-mon.two .sr-mon + .ph-plus + .sr-mon { margin-left: -6px; }
#ui .ph-plus { align-self: center; margin: 0 -4px; position: relative; z-index: 1; font-size: 18px; font-weight: 900; line-height: 20px; color: #ffe27a;
  text-shadow: 0 1px 0 #1a1206, 1px 0 0 #1a1206, -1px 0 0 #1a1206, 0 -1px 0 #1a1206; }
/* 메달(가치 ×N · 통합 할인 %) = 둥근 빨간 메달 + 금 테, 1047 ms 맥동. 자리 = 카드 오른쪽 위 모서리에서 3 안쪽(passbuy-1126 형창님 "슬롯의 우측위에 2-3픽셀 여유로 딱 붙여줘 조금 곂치는건 괜찮으니까") —
   메달이 제목 줄 높이에 걸치므로 제목은 양옆을 메달이 차지한 만큼(메달 + 3 − 카드 안 여백 − 2) 비운다(가운데 맞춤 유지 · 글자를 덮지 않게 — 영어 'Hunting Pass' 끝 글자가 가려졌다 → 두 줄로 접힘), 긴 제목(.long — 영어 통합)은 한 단 작게 */
#ui .ph-card.has-x .ph-tt > b { box-sizing: border-box; padding: 0 45px; text-wrap: balance; }
#ui .ph-card.has-x .ph-tt.long > b { font-size: 18px; line-height: 21px; }
#ui .ph-x { position: absolute; z-index: 5; right: 3px; top: 3px; width: 54px; height: 54px; box-sizing: border-box; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(8deg); background: radial-gradient(circle at 50% 35%, #f0624c, #b3261a 72%); box-shadow: inset 0 0 0 3px #f6d77e, inset 0 0 0 5px #8e1d13, 0 3px 8px rgba(0, 0, 0, .55);
  animation: ph-beat 1.047s ease-in-out infinite alternate; }
#ui .ph-x small { font-size: 10px; font-weight: 900; line-height: 12px; color: #fff; text-shadow: 0 1px 1px #6d130c; }
#ui .ph-x b { font-size: 19px; font-weight: 900; line-height: 23px; color: #ffe27a; letter-spacing: -.5px;
  text-shadow: 0 1px 0 #5a0f08, 1px 0 0 #5a0f08, -1px 0 0 #5a0f08, 0 -1px 0 #5a0f08, 0 2px 3px #000; }
#ui .ph-x.long b { font-size: 14px; line-height: 19px; letter-spacing: -.6px; white-space: nowrap; }   /* 가치 '1,700%' · '1,289%'(valuepct-1126 — 예전 '×17') */
@keyframes ph-beat { from { transform: rotate(8deg) scale(1); } to { transform: rotate(8deg) scale(1.05); } }
/* 반짝임 = 네 갈래 별 4개(대표 그림 안, 몬스터 아래 층), 자리 · 지연만 다르게 */
#ui .ph-spk { position: absolute; z-index: 1; width: 11px; height: 11px; background: #fff8dc; opacity: 0; pointer-events: none; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 3px #ffe9a8); animation: ph-twinkle 1.884s ease-in-out infinite; animation-delay: calc(var(--s) * .314s + var(--i) * .2s); }
#ui .ph-spk:nth-of-type(3) { left: 10%; top: 18%; } #ui .ph-spk:nth-of-type(4) { left: 26%; bottom: 8%; width: 9px; height: 9px; }
#ui .ph-spk:nth-of-type(5) { right: 30%; top: 6%; width: 13px; height: 13px; } #ui .ph-spk:nth-of-type(6) { right: 8%; bottom: 14%; }
@keyframes ph-spin { to { transform: rotate(360deg); } }
@keyframes ph-halo { from { opacity: .7; transform: scale(.94); } to { opacity: 1; transform: scale(1.04); } }
@keyframes ph-twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 45% { opacity: 1; transform: scale(1) rotate(20deg); } 70% { opacity: 0; transform: scale(.6) rotate(35deg); } }

/* ---------- 구매 시 획득 상품 판(메이플 키우기 M8): 어두운 둥근 판 · 머리 띠(왼쪽 글) · 흰 칸 줄(가운데) · 칸 아래 흰 수량. 다이아 = 첫 칸, 사자마자 받는 몫 = 칸 위 청록 띠. 칸 누름 = 아이템 정보 */
#ui .ph-tray { position: relative; z-index: 3; flex: none; display: flex; flex-direction: column; gap: 5px; padding: 3px 3px 5px; border-radius: 8px; background: rgba(34, 36, 40, .92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 3px 8px rgba(0, 0, 0, .45); }
#ui .ph-get { height: 16px; padding: 0 7px; border-radius: 5px; font-size: 10px; font-weight: 800; line-height: 16px; text-align: left; color: #e9ebee; white-space: nowrap; overflow: hidden;
  background: linear-gradient(180deg, #4a4d53, #3a3d42); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .35); }
#ui .ph-goods { min-width: 0; display: flex; justify-content: center; align-items: flex-start; gap: 6px; }
#ui .ph-good { flex: none; width: 44px; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; }
#ui #sr-ban.sr-in .ph-good { animation: ph-good-in .42s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i) * 70ms + 240ms); }   /* 판이 처음 열릴 때만 */
#ui .ph-gi { position: relative; width: 44px; height: 44px; box-sizing: border-box; border-radius: 7px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #ffffff, #e3e4e8); box-shadow: inset 0 0 0 1.5px #b4b7c0, inset 0 -3px 0 rgba(120, 124, 136, .16), 0 1px 2px rgba(0, 0, 0, .4); }
#ui .ph-gi img { width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 2px 1px rgba(40, 44, 56, .35)); }
#ui .ph-gi em { position: absolute; left: 50%; top: 0; transform: translateX(-50%); box-sizing: border-box; min-width: 100%; height: 12px; padding: 0 3px; border-radius: 7px 7px 3px 3px; font-style: normal;
  font-size: 9px; font-weight: 900; line-height: 12px; text-align: center; white-space: nowrap; color: #fff; background: linear-gradient(#2fb3a1, #1a8375); box-shadow: 0 1px 1px rgba(0, 0, 0, .3); }
#ui .ph-good.dia .ph-gi:has(em) img { margin-top: 9px; width: 30px; height: 30px; }
#ui .ph-good u { max-width: 54px; font-size: 12px; font-weight: 900; line-height: 13px; text-decoration: none; white-space: nowrap; color: #fff; text-shadow: 0 1px 1px #000; }
@keyframes ph-good-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }

/* ---------- 값 줄 = 카드 아래 가운데 연두 두 단 단추(K3 — 카드 폭 80% · 윗단 💎 즉시/총 지급(통합 = 따로 사면 ₩13,200) · 아랫단 값). 누름 = 그 자리에서 구매 판(passbuy-1126) */
#ui .ph-foot { position: relative; z-index: 3; flex: none; box-sizing: border-box; display: flex; justify-content: center; align-items: center; padding: 7px 10px 9px; }
#ui .ph-buy.sr-cta { margin: 0; padding: 0; border: 0; font: inherit; width: 87%; min-width: 0; border-radius: 10px; cursor: pointer; animation: sr-cta-glow 1.047s ease-in-out infinite alternate; transition: transform .06s ease; }
#ui .ph-buy.sr-cta small { display: flex; align-items: center; justify-content: center; gap: 3px; height: 18px; padding: 0 6px; font-size: 10.5px; line-height: 18px; }
#ui .ph-buy.sr-cta small img { width: 13px; height: 13px; object-fit: contain; }
#ui .ph-buy.sr-cta small i { font-style: normal; font-weight: 900; color: #ffe27a; }
#ui .ph-buy.sr-cta small s { color: #ffd7cf; text-decoration-thickness: 1.5px; }
#ui .ph-buy.sr-cta b { height: 36px; padding: 0 10px; font-size: 19px; line-height: 36px; }
#ui .ph-buy.sr-cta:not(.own):active { transform: scale(.92); }
#ui .ph-card.own .ph-buy b { font-size: 14px; }

/* 좁은 화면(16:9 — PC 1280×720 · GUI 폭 800): 카드 폭이 좁아 칸 · 메달 · 제목 조금 작게(몬스터 크기 · 칸 수는 passhero.js 같은 조건) */
@media (max-aspect-ratio: 19/10) {
  #ui .ph-art { padding: 8px 8px 0; }
  #ui .ph-tt > b { font-size: 17px; line-height: 20px; }
  #ui .ph-x { width: 46px; height: 46px; }
  #ui .ph-card.has-x .ph-tt > b { padding: 0 39px; }
  #ui .ph-card.has-x .ph-tt.long > b { font-size: 14px; line-height: 17px; }
  #ui .ph-x b { font-size: 16px; line-height: 19px; }
  #ui .ph-x small { font-size: 9.5px; line-height: 11px; }
  #ui .ph-x.long b { font-size: 12px; line-height: 15px; letter-spacing: -.6px; }
  #ui .ph-rays { width: 150px; height: 150px; margin-left: -75px; }
  #ui .ph-goods { gap: 5px; }
  #ui .ph-good { width: 36px; }
  #ui .ph-gi { width: 36px; height: 36px; border-radius: 6px; }
  #ui .ph-gi img { width: 26px; height: 26px; }
  #ui .ph-good.dia .ph-gi:has(em) img { margin-top: 10px; width: 23px; height: 23px; }
  #ui .ph-good u { max-width: 42px; font-size: 11px; }
  #ui .ph-foot { padding: 6px 8px 8px; }
  #ui .ph-buy.sr-cta { width: 86%; }
  #ui .ph-buy.sr-cta b { font-size: 17px; }
}
/* 통합 · 첫 결제 감사 구매 판 = 출석 패스 판 틀(passbuy-1126 2차, passhero.js frame): 판 폭 · 상자 = passinfo.css 단품 판(.pi-on · .pi-box)과 같은 값.
   옛 칸 줄(패스 표식 물품 도트 그림) · 안내 줄 · 보너스 줄 · passinfo 묶음 경고 상자는 숨긴다(경고는 이 상자가 패스마다 그림). 패스 이름 = 금 글자(전용 보상 금 #f0c75e 보다 흐리게). */
#ui .popup.buy.ph-pfon { width: 440px; }
#ui .popup.buy.ph-pfon :is(.buy-lines, .buy-rw, .buy-bonus, .pi-box.bundle) { display: none !important; }
#ui .ph-pf { display: flex; flex-direction: column; gap: 4px; padding: 6px 8px 7px; margin: 0 0 6px; border-radius: 8px; background: rgba(0, 0, 0, .32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#ui .ph-pf.bad { box-shadow: inset 0 0 0 1px rgba(216, 80, 60, .55); }
/* 완주 조건 = 패스마다 [이름(금) 한 줄 + 조건 글 한 줄] — 한 줄에 몰면 영어에서 130px 넘쳐 … 로 잘렸다(v6 사진) */
#ui .ph-pf .ph-g { align-items: flex-start; }
#ui .ph-pf .ph-g > em { margin-top: 1px; }
#ui .ph-pf .ph-gt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
#ui .ph-pf .ph-pfn { display: block; font-size: 9.5px; font-weight: 900; line-height: 12px; color: #e8cf8a; white-space: nowrap; }
#ui .ph-pf .ph-gc { display: block; font-size: 10px; font-weight: 700; line-height: 12px; color: #ecebe4; white-space: normal; word-break: keep-all; }

/* i18nfix2-1126: 일본어 · 중국어 제목은 띄어쓰기가 없어 keep-all 이면 줄을 못 바꾸고 메달 밑으로 밀려남('シーズン基本統合パス' 끝이 '価値 1,289%' 에 덮임) — 그 언어만 글자 사이에서 줄바꿈(금칙 strict) · 두 줄 고르게 */
html:is(:lang(ja), :lang(zh)) #ui .ph-tt > b { word-break: normal; line-break: strict; }

/* ---------- 통합 탭 [소환 패스] · [성장 패스](passtabs-1126, 형창님 11-26 "통합을 좀 크게, 개별을 작게"): 판 = 왼쪽 개별 작은 가로 카드 열(세로로 쌓음) | 오른쪽 통합 큰 세로 카드(인기 패스 통합 카드 틀).
   폭 = 개별 열 1 : 통합 1.2(passhero.js SET_BIG). 통합을 못 사면(.solo — 든 패스를 가짐 · 안 열림) 개별 세로 카드(.ph-card) 나란히. 작은 카드 = [사냥섬 장면 84(PC 68) + 몬스터] [이름 15 · 기간 · 가치 알약 / 받는 것 칸 34(PC 28)] [두 단 값 단추 94(PC 80)] */
#ui .ph-set .ph-minis { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
#ui .ph-set .ph-card.best { flex: 1.2 1 0; }
#ui .ph-mini { position: relative; flex: 1 1 0; min-height: 0; display: flex; align-items: stretch; gap: 8px; padding: 6px 8px 6px 6px; border-radius: 10px; overflow: hidden; color: #f2f0e7;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ac) 42%, #14161a), #16181c 72%);
  box-shadow: 0 0 0 1px rgba(240, 213, 138, .3), inset 0 1px 0 rgba(255, 246, 214, .1), 0 4px 10px rgba(0, 0, 0, .42); }
#ui #sr-ban.sr-in .ph-mini { animation: fx-card-in .34s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i) * 70ms); }
#ui .ph-mart { position: relative; flex: none; width: 84px; border-radius: 7px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px; box-sizing: border-box;
  background: var(--sr-scene, none) center 45% / cover no-repeat, color-mix(in srgb, var(--ac) 35%, #101215); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
#ui .ph-mart::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6, 9, 14, .5)); pointer-events: none; }
#ui .ph-mart .ph-halo { width: 66px; height: 32px; margin-left: -33px; }
#ui .ph-mbody { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
#ui .ph-mtt { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; }
#ui .ph-mtt > b { min-width: 0; max-width: 100%; font-size: 15px; font-weight: 900; line-height: 18px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 1px 0 #0a1018, 1px 0 0 #0a1018, -1px 0 0 #0a1018, 0 -1px 0 #0a1018; }
#ui .ph-mtt .sr-chips { flex-wrap: wrap; }
#ui .ph-mx { align-self: center; height: 16px; padding: 0 6px; border-radius: 8px; font-style: normal; font-size: 9.5px; font-weight: 900; line-height: 16px; white-space: nowrap; color: #ffe27a;
  background: linear-gradient(#e2513e, #a8251a); box-shadow: inset 0 0 0 1px #f6b9a0, 0 1px 2px rgba(0, 0, 0, .4); }   /* 가치 알약 = 값 단추 위 가운데 */
#ui .ph-mini .ph-goods { justify-content: flex-start; gap: 5px; }
#ui .ph-mini .ph-good { width: 34px; }
#ui .ph-mini .ph-gi { width: 34px; height: 34px; border-radius: 6px; }
#ui .ph-mini .ph-gi img { width: 25px; height: 25px; }
#ui .ph-mini .ph-good.dia .ph-gi:has(em) img { margin-top: 9px; width: 21px; height: 21px; }
#ui .ph-mini .ph-gi em { font-size: 8.5px; height: 11px; line-height: 11px; }
#ui .ph-mini .ph-good u { max-width: 40px; font-size: 10.5px; line-height: 12px; }
#ui .ph-mside { flex: none; width: 94px; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 4px; }
#ui .ph-mbuy.sr-cta { width: 100%; }
#ui .ph-mbuy.sr-cta small { height: 16px; padding: 0 3px; font-size: 9.5px; line-height: 16px; }
#ui .ph-mbuy.sr-cta b { height: 32px; padding: 0 4px; font-size: 15px; line-height: 32px; white-space: nowrap; }
#ui .ph-buy.sr-cta.lock { animation: none; filter: grayscale(.75) brightness(.8); }   /* 잠긴 단(성장 II · III — 앞 단 끝 전) = 회색 단추 · 잠김 글, 누름 = 패스 창 */
#ui .ph-buy.sr-cta.lock b { font-size: 13px; }
#ui .ph-mbuy.sr-cta.lock b { font-size: 11px; }
#ui .ph-mini.own .ph-mbuy b, #ui .ph-mini.lock .ph-mbuy b { font-size: 12px; }
@media (max-aspect-ratio: 19/10) {
  #ui .ph-mini { gap: 6px; padding: 5px 6px 5px 5px; }
  #ui .ph-mart { width: 68px; }
  #ui .ph-mtt > b { font-size: 13px; line-height: 16px; }
  #ui .ph-mtt.long > b { font-size: 11.5px; }   /* 영어 긴 이름(Costume Draw Pass) — 말줄임 없이 */
  #ui .ph-mini .ph-goods { gap: 4px; }
  #ui .ph-mini .ph-good { width: 28px; }
  #ui .ph-mini .ph-gi { width: 28px; height: 28px; border-radius: 5px; }
  #ui .ph-mini .ph-gi img { width: 21px; height: 21px; }
  #ui .ph-mini .ph-good.dia .ph-gi:has(em) img { margin-top: 9px; width: 17px; height: 17px; }
  #ui .ph-mini .ph-good u { max-width: 34px; font-size: 10px; }
  #ui .ph-mside { width: 80px; }
  #ui .ph-mbuy.sr-cta b { font-size: 13px; }
}

/* gf:js-pack prototype/Spikes/rt-battle/features/bmpackmock/bmpackmock.css */
/* BM 패키지 팝업 시안(bmpack-1126 주호님 11-26) — bmpackmock.js 가 그린 것(.bp-* · .bmpk-*)에만 걸린다. 표식 mock=bmpack 이 없으면 이 선택자에 걸리는 요소가 없다.
   틀 = 인기 패스 4차 카드(features/passhero · thanks2mock 과 같은 값): 쿠키런 킹덤 K3 세로 카드(위 가운데 제목 · 가운데 대표 그림 · 아래 연두 두 단 단추) +
   메이플 키우기 M8 '구매 시 획득 상품' 흰 칸 판(어두운 판 · 머리 띠 · 흰 칸 · 칸 아래 흰 수량) · 둥근 메달 = 카드 오른쪽 위 3 안쪽(passbuy-1126 자리).
   작은 팝업 = 나인패치(#ui .popup panel.webp) 유지 — 안쪽 왼쪽 그림 판 + 오른쪽 카드 줄.
   크기(GUI 450, hq-ui · maple-idle-ui-size.md): 창 제목 17 · 카드 제목 13 · 라벨 9 이상 · 칸 40 · 칸 틈 6 · 메달 46 · 값 단추 윗단 18 + 아랫단 34(누름 칸 52) · 이웃 틈 8 이상 · 고르기 칸 높이 92. */

#ui .popup.bp { width: 712px; box-sizing: content-box; }   /* 판 760(테 24 포함) — 폰 가로 GUI 폭 ~975 · PC 800 안 */
#ui .popup.bp > .popup-head h2 { display: flex; align-items: center; gap: 8px; min-width: 0; }
#ui .bp-mock { flex: none; height: 18px; padding: 0 7px; border-radius: 9px; font-style: normal; font-size: 9.5px; font-weight: 900; line-height: 18px; letter-spacing: .3px; color: #fff4d8; background: #9a4a2c; box-shadow: inset 0 0 0 1px #e8b48a; }
#ui .bp-body { position: relative; height: 312px; display: flex; gap: 10px; min-width: 0; }
#ui .bp-offers { flex: 1 1 auto; min-width: 0; display: flex; gap: 8px; align-items: stretch; }

/* ---------- 왼쪽 그림 판: 장면 · 빛 위 대표 그림, 위 [알약 → 제목 → 기간], 왼쪽 아래 '시안' 글자 */
#ui .bp-art { position: relative; flex: none; width: 226px; overflow: hidden; border-radius: 12px; color: #f2f0e7;
  background: radial-gradient(ellipse 70% 52% at 50% 70%, rgba(232, 200, 140, .32), rgba(232, 200, 140, 0) 70%), linear-gradient(165deg, #2a2133 0%, #14111a 64%, #0b0a0f 100%);
  box-shadow: 0 0 0 1px rgba(240, 213, 138, .42), inset 0 1px 0 rgba(255, 246, 214, .12), 0 6px 16px rgba(0, 0, 0, .45); }
#ui .bp-art.wbk { background: url(features/worldboss/art/keyart.webp) 66% 24% / auto 128% no-repeat, #120e24; }
#ui .bp-art.gdk { background: linear-gradient(180deg, rgba(8, 12, 26, .55) 0%, rgba(8, 12, 26, 0) 40%), url(features/contents/art/guildgift.webp) 50% 40% / cover no-repeat, #0c1226; }   /* 길드 선물 일러스트(guildgift-1127, Nano Banana Pro · 월드보스 키아트 화풍) */
#ui .bp-art.crk { background: radial-gradient(ellipse 70% 50% at 50% 72%, rgba(255, 190, 150, .3), rgba(255, 190, 150, 0) 70%), linear-gradient(165deg, #3a2027 0%, #1a1115 64%, #0e0a0c 100%); }
#ui .bp-ashade { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6, 8, 12, .82) 0%, rgba(6, 8, 12, .3) 34%, rgba(6, 8, 12, 0) 52%, rgba(6, 8, 12, .5) 100%); }
#ui .bp-acopy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 10px 0; }
#ui .bp-acopy h3 { margin: 2px 0 0; font-size: 16px; font-weight: 900; line-height: 1.18; color: #fff; word-break: keep-all; text-shadow: 0 0 12px rgba(255, 220, 170, .3), 0 2px 5px rgba(0, 0, 0, .8); }
#ui .bp-acopy p { margin: 0; font-size: 10.5px; font-weight: 800; line-height: 13px; color: #e3dccb; text-shadow: 0 1px 3px #000; }
#ui .bp-chips { display: flex; flex-wrap: wrap; gap: 4px; }
#ui .bp-chips i { height: 18px; padding: 0 7px; border-radius: 9px; font-style: normal; font-size: 9.5px; font-weight: 800; line-height: 18px; white-space: nowrap; color: #e9dfc6; background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .55); }
#ui .bp-chips i.g { color: #24180c; background: linear-gradient(90deg, #f1d79a, #c8aa6e); box-shadow: none; }
#ui .bp-mark { position: absolute; z-index: 3; right: 8px; top: 10px; font-style: normal; font-size: 9px; font-weight: 800; color: rgba(255, 244, 216, .62); text-shadow: 0 1px 2px #000; }
#ui .dim.open .bp-acopy { animation: fx-card-in .28s ease-out both; }

/* 마네킹 · 초상 무대(가운데 크게) — costume_limited.js .cl-stage 결 */
#ui .bp-stage { position: absolute; z-index: 2; left: 4px; right: 4px; bottom: 40px; height: 190px; pointer-events: none; }
#ui .bp-fig { position: absolute; bottom: 0; margin: 0; display: flex; align-items: flex-end; }
#ui .bp-fig.l { left: 0; bottom: 22px; } #ui .bp-fig.r { right: 0; bottom: 22px; } #ui .bp-fig.c { left: 0; right: 0; justify-content: center; z-index: 2; }
#ui .bp-fig img { display: block; width: auto; height: 104px; max-width: 100%; image-rendering: pixelated; object-fit: contain; object-position: bottom; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); }
#ui .bp-fig.c img { height: 156px; } #ui .bp-fig img:not([src]) { visibility: hidden; }
#ui .bp-stage.crew .bp-fig img { height: 104px; border-radius: 8px; } #ui .bp-stage.crew .bp-fig.c img { height: 136px; }
#ui .bp-fig.c::before { content: ""; position: absolute; bottom: -4px; left: 22%; right: 22%; height: 14px; border-radius: 50%; background: radial-gradient(ellipse, rgba(232, 200, 140, .5), rgba(232, 200, 140, 0) 70%); z-index: -1; }
/* 이름 줄 = 그림 아래 세 칸(왼 · 가운데 · 오른) */
#ui .bp-names { position: absolute; z-index: 3; left: 4px; right: 4px; bottom: 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; align-items: end; pointer-events: none; }
#ui .bp-names > span { justify-self: center; max-width: 100%; box-sizing: border-box; padding: 1px 5px; border-radius: 7px; font-size: 9px; font-weight: 800; line-height: 11px; text-align: center; overflow-wrap: break-word; word-break: keep-all;
  color: var(--g); background: rgba(8, 6, 5, .72); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g) 45%, transparent); }
#ui .bp-names > span.nil { visibility: hidden; }
#ui .bp-fig.c img { animation: bp-bob 3.2s ease-in-out infinite; }
#ui .dim.open .bp-fig { animation: fx-rise .45s calc(.1s + var(--i) * .08s) ease-out both; }
@keyframes bp-bob { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }
#ui .bp-art .bp-key.big { position: absolute; z-index: 2; left: 0; right: 0; bottom: 40px; height: 150px; }
#ui .bp-art .bp-key.big .bp-hero { width: 96px; height: 96px; }

/* ---------- 카드(세로 틀): [제목 · 보조 줄] → [대표 그림] → [구매 시 획득 상품 판] → [설명 한 줄] → 두 단 값 단추 · 메달 = 오른쪽 위 모서리 */
#ui .bp-card { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 5px; padding: 8px 8px 0; overflow: hidden; border-radius: 12px; color: #f2f0e7; text-align: center;
  background: radial-gradient(ellipse 80% 40% at 50% 38%, color-mix(in srgb, var(--ac) 55%, transparent), transparent 72%), linear-gradient(165deg, color-mix(in srgb, var(--ac) 40%, #101215), #131417 70%);
  box-shadow: 0 0 0 1px rgba(240, 213, 138, .38), inset 0 1px 0 rgba(255, 246, 214, .12), 0 6px 16px rgba(0, 0, 0, .45); }
#ui .dim.open .bp-card { animation: fx-card-in .3s cubic-bezier(.2, .8, .3, 1) calc(.12s + var(--n, 0) * .07s) both; }
#ui .bp-card.best { box-shadow: 0 0 0 2px #f6d77e, inset 0 1px 0 rgba(255, 246, 214, .2), 0 0 14px rgba(246, 200, 90, .45), 0 6px 16px rgba(0, 0, 0, .45); }
#ui .dim.open .bp-card.best { animation: fx-card-in .3s cubic-bezier(.2, .8, .3, 1) calc(.12s + var(--n, 0) * .07s) both, bp-best 1.047s ease-in-out .6s infinite alternate; }
@keyframes bp-best { from { box-shadow: 0 0 0 2px #f6d77e, 0 0 8px rgba(246, 200, 90, .3), 0 6px 16px rgba(0, 0, 0, .45); } to { box-shadow: 0 0 0 2px #ffe9a0, 0 0 18px rgba(246, 200, 90, .65), 0 6px 16px rgba(0, 0, 0, .45); } }
#ui .bp-card.wide { flex: 1 1 auto; }
#ui .bp-tt { position: relative; z-index: 4; flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 34px; justify-content: center; }
#ui .bp-card:has(> .bp-x) .bp-tt { padding: 0 44px 0 0; align-items: flex-start; text-align: left; }
#ui .bp-tt > b { max-width: 100%; font-size: 13px; font-weight: 900; line-height: 15px; color: #fff; word-break: keep-all; text-wrap: balance;
  text-shadow: 0 1px 0 #0a1018, 1px 0 0 #0a1018, -1px 0 0 #0a1018, 0 -1px 0 #0a1018, 0 2px 5px #04070c; }
#ui .bp-tt > small { font-size: 10px; font-weight: 800; line-height: 12px; color: #ffe27a; text-shadow: 0 1px 0 #1a1206, 0 0 4px #000; }
#ui .bp-best { position: absolute; left: -2px; top: -2px; height: 16px; padding: 0 6px; border-radius: 8px; font-style: normal; font-size: 9px; font-weight: 900; line-height: 16px; color: #3a2400; background: linear-gradient(#ffe27a, #e0a020); box-shadow: inset 0 0 0 1px #fff3c0; }
#ui .bp-card:has(> .bp-x) .bp-best { left: -2px; }
#ui .bp-card.best .bp-tt { padding-top: 12px; }
/* 메달 = 카드 오른쪽 위 3 안쪽(인기 패스 passbuy-1126 자리 · 모양) */
#ui .bp-x { position: absolute; z-index: 5; right: 3px; top: 3px; width: 46px; height: 46px; box-sizing: border-box; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(8deg); background: radial-gradient(circle at 50% 35%, #f0624c, #b3261a 72%); box-shadow: inset 0 0 0 3px #f6d77e, inset 0 0 0 5px #8e1d13, 0 3px 8px rgba(0, 0, 0, .55); animation: bp-beat 1.047s ease-in-out infinite alternate; }
#ui .bp-x small { font-size: 9px; font-weight: 900; line-height: 11px; color: #fff; white-space: nowrap; text-shadow: 0 1px 1px #6d130c; }
#ui .bp-x b { font-size: 14px; font-weight: 900; line-height: 16px; color: #ffe27a; white-space: nowrap; text-shadow: 0 1px 0 #5a0f08, 1px 0 0 #5a0f08, -1px 0 0 #5a0f08, 0 -1px 0 #5a0f08; }
@keyframes bp-beat { from { transform: rotate(8deg) scale(1); } to { transform: rotate(8deg) scale(1.05); } }

/* 대표 그림 = 남은 높이: 빛살 · 후광 위 큰 아이콘 */
#ui .bp-key { position: relative; z-index: 2; flex: 1 1 auto; min-height: 34px; display: flex; align-items: center; justify-content: center; }
#ui .bp-key.sm { flex: 1 1 auto; }
#ui .bp-rays { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; pointer-events: none; background: repeating-conic-gradient(from 0deg, #fff3c0 0deg 6deg, transparent 6deg 22.5deg);
  -webkit-mask: radial-gradient(circle, #000 14%, rgba(0, 0, 0, .55) 36%, transparent 62%); mask: radial-gradient(circle, #000 14%, rgba(0, 0, 0, .55) 36%, transparent 62%); opacity: .5; animation: bp-spin 14s linear infinite; }
#ui .bp-halo { position: absolute; left: 50%; top: 50%; width: 110px; height: 60px; margin: -30px 0 0 -55px; border-radius: 50%; pointer-events: none; background: radial-gradient(ellipse, rgba(255, 240, 190, .55) 0%, rgba(255, 220, 130, .2) 45%, transparent 70%); animation: bp-halo 1.047s ease-in-out infinite alternate; }
#ui .bp-hero { position: relative; z-index: 2; width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 0 3px rgba(255, 255, 255, .5)) drop-shadow(0 3px 2px rgba(0, 0, 0, .5)); animation: bp-float 2.4s ease-in-out infinite; }
#ui .bp-key.sm .bp-hero { width: 44px; height: 44px; }
@keyframes bp-float { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }
#ui .bp-spk { position: absolute; z-index: 1; width: 10px; height: 10px; background: #fff8dc; opacity: 0; pointer-events: none; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 3px #ffe9a8); animation: bp-twinkle 1.884s ease-in-out infinite; animation-delay: calc(var(--s) * .314s); }
#ui .bp-spk:nth-of-type(3) { left: 14%; top: 14%; } #ui .bp-spk:nth-of-type(4) { left: 24%; bottom: 10%; } #ui .bp-spk:nth-of-type(5) { right: 22%; top: 8%; } #ui .bp-spk:nth-of-type(6) { right: 12%; bottom: 16%; }
@keyframes bp-spin { to { transform: rotate(360deg); } }
@keyframes bp-halo { from { opacity: .7; transform: scale(.94); } to { opacity: 1; transform: scale(1.04); } }
@keyframes bp-twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 45% { opacity: 1; transform: scale(1) rotate(20deg); } 70% { opacity: 0; transform: scale(.6); } }

/* 구매 시 획득 상품 판(M8) */
#ui .bp-tray { position: relative; z-index: 3; flex: none; display: flex; flex-direction: column; gap: 5px; padding: 3px 3px 5px; border-radius: 8px; background: rgba(34, 36, 40, .92); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 3px 8px rgba(0, 0, 0, .45); }
#ui .bp-get { display: block; height: 16px; padding: 0 7px; border-radius: 5px; font-size: 10px; font-weight: 800; line-height: 16px; text-align: left; color: #e9ebee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(180deg, #4a4d53, #3a3d42); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .35); }
#ui .bp-goods { min-width: 0; display: flex; justify-content: center; align-items: flex-start; gap: 6px; }
#ui .bp-good { flex: none; width: 40px; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; }
#ui .dim.open .bp-good { animation: bp-good-in .42s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i) * 70ms + 380ms); }
#ui .bp-gi { width: 40px; height: 40px; box-sizing: border-box; border-radius: 7px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #ffffff, #e3e4e8); box-shadow: inset 0 0 0 1.5px #b4b7c0, inset 0 -3px 0 rgba(120, 124, 136, .16), 0 1px 2px rgba(0, 0, 0, .4); }
#ui .bp-gi img { width: 29px; height: 29px; object-fit: contain; filter: drop-shadow(0 2px 1px rgba(40, 44, 56, .35)); }
#ui .bp-good u { max-width: 48px; font-size: 11px; font-weight: 900; line-height: 13px; text-decoration: none; white-space: nowrap; color: #fff; text-shadow: 0 1px 1px #000; }
@keyframes bp-good-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
#ui .bp-note { position: relative; z-index: 3; flex: none; min-height: 22px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 9.5px; font-weight: 800; line-height: 11px; color: #d9d4c6; word-break: keep-all; text-shadow: 0 1px 2px #000; }

/* 두 단 값 단추(K3 — 카드 폭 87% · 윗단 주 1회/1회 · 아랫단 값) · 연두 빛 맥동 · 누름 튕김 */
#ui .bp-foot { position: relative; z-index: 3; flex: none; display: flex; justify-content: center; align-items: center; padding: 3px 0 9px; }
#ui .bp-cta.sr-cta { width: 87%; max-width: 200px; min-width: 0; border-radius: 10px; cursor: pointer; animation: sr-cta-glow 1.047s ease-in-out infinite alternate; }
#ui .bp-cta.sr-cta small { height: 18px; padding: 0 6px; font-size: 10px; line-height: 18px; }
#ui .bp-cta.sr-cta b { height: 34px; padding: 0 8px; font-size: 17px; line-height: 34px; }
#ui .bp-cta.sr-cta:active { transform: scale(.92); }
#ui .bp-cta.bp-hit { animation: bp-hit .3s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes bp-hit { 0% { transform: scale(.92); } 60% { transform: scale(1.06); } 100% { transform: none; } }

/* ③ 약점 무기 줄 */
#ui .bp-weak { position: relative; z-index: 3; flex: none; display: flex; align-items: center; justify-content: center; gap: 8px; }
#ui .bp-weak > b { font-size: 10px; font-weight: 800; color: #e9dfc6; white-space: nowrap; }
#ui .bp-wp { display: flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px 0 3px; border-radius: 14px; background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px rgba(246, 215, 126, .7); }
#ui .bp-wp img { width: 24px; height: 24px; object-fit: contain; }
#ui .bp-wp u { font-size: 10.5px; font-weight: 800; text-decoration: none; color: #fff; white-space: nowrap; }
#ui .bp-wp em { font-style: normal; font-size: 11px; font-weight: 900; color: #ffd34d; white-space: nowrap; }

/* ④ 이번 입고 칸 */
#ui .bp-side { flex: none; width: 218px; display: flex; flex-direction: column; gap: 6px; padding: 8px; box-sizing: border-box; border-radius: 12px; background: rgba(20, 22, 26, .9); box-shadow: 0 0 0 1px rgba(240, 213, 138, .3); }
#ui .bp-cells { display: grid; grid-template-columns: repeat(4, 44px); gap: 6px; justify-content: center; }
#ui .bp-cell { position: relative; width: 44px; height: 44px; box-sizing: border-box; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-style: normal;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--g, #888) 30%, #2a2c31), #1b1c20); box-shadow: inset 0 0 0 1.5px var(--g, #666); }
#ui .bp-cell img { width: 36px; height: 36px; object-fit: contain; image-rendering: pixelated; }
#ui .bp-cell.more { font-size: 13px; font-weight: 900; color: #e9dfc6; box-shadow: inset 0 0 0 1.5px #6a6d74; }
#ui .dim.open .bp-cell { animation: bp-good-in .36s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 30ms + 300ms); }

/* ⑤ 두 칸(구매자 | 길드원 전원) */
#ui .bp-two { position: relative; z-index: 3; flex: none; display: flex; gap: 8px; }
#ui .bp-half { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
#ui .bp-half .bp-tray { flex: 1 1 auto; }
#ui .bp-half.all .bp-get { background: linear-gradient(180deg, #2f6cb0, #23548c); }
#ui .bp-mail { position: absolute; right: 4px; top: 3px; height: 16px; padding: 0 6px; border-radius: 8px; font-style: normal; font-size: 9px; font-weight: 900; line-height: 16px; color: #10243c; background: #a9d4ff; }

/* ---------- 시안 고르기 판(6칸) */
#ui .popup.bp.bmpk { width: 520px; }
#ui .popup.bp.bmpk { box-sizing: content-box; } #ui .bmpk .bp-body { height: auto; display: block; width: 520px; }
#ui .bmpk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
#ui .bmpk-cell { position: relative; height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px 6px; border: 0; border-radius: 12px; font: inherit; cursor: pointer; color: #f2f0e7;
  background: radial-gradient(ellipse 70% 60% at 50% 32%, rgba(232, 200, 140, .28), transparent 70%), linear-gradient(165deg, #2a2133, #121016); box-shadow: 0 0 0 1px rgba(240, 213, 138, .42), 0 4px 10px rgba(0, 0, 0, .4); transition: transform .06s ease; }
#ui .bmpk-cell:active { transform: scale(.95); }
#ui .dim.open .bmpk-cell { animation: fx-card-in .28s cubic-bezier(.2, .8, .3, 1) calc(.08s + var(--i) * .05s) both; }
#ui .bmpk-ic { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; }
#ui .bmpk-ic img { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); }
#ui .bmpk-cell b { max-width: 100%; font-size: 11.5px; font-weight: 900; line-height: 13px; color: #fff; word-break: keep-all; text-wrap: balance; }
#ui .bmpk-cell small { font-size: 9.5px; font-weight: 800; line-height: 11px; color: #a8ec7e; white-space: nowrap; }

/* PC 16:9(GUI 폭 800) — 판이 화면 폭에 닿지 않게 그림 판만 좁힘 */
@media (max-aspect-ratio: 19/10) {
  #ui .popup.bp:not(.bmpk) { width: 690px; }
  #ui .bp-art { width: 210px; }
  #ui .bp-side { width: 206px; } #ui .bp-cells { grid-template-columns: repeat(4, 42px); gap: 5px; } #ui .bp-cell { width: 42px; height: 42px; }
}
/* 실제 팝업(bmcontent-1126 — 상점 [컨텐츠 패키지]): 시안 알약 숨김 · 못 사는 값 단추(구매 완료 · 길드 가입 필요) = 회색 · 반짝임 끔 */
#ui .bp-mock[hidden] { display: none; }
#ui .bp-cta.sr-cta.off { animation: none; filter: grayscale(.85) brightness(.82); cursor: default; }

/* gf:js-pack prototype/Spikes/rt-battle/features/mine/mine.css */
/* 광산(features/mine — RtMine · DESIGN-v4 §3 ~ §7): 굴 HUD(참고작 채광 층 배치 — mineref-1115/SCREENS.md) · 상점(전체화면 창 · 가로 큰 카드 한 줄) · 도감 · 가방(격자) · 광고 판 · 환생 창 · 보스 창 · 수레 · 띠.
   크기 = 메이플 키우기 GUI 450 실측(hq-ui §1 — 누름 칸 34 이상 · 이웃 틈 8 이상 · 아이콘 간격 40 · 칸 44~64 · 제목 14~17 · 알약 26~30 · 라벨 9 이상).
   색 = 어두운 반투명 판 + 흰 선 글리프 · 강조는 재화색(주화 구리 · 영혼석 보라 · 부스트권 금) · 체력 막대 빨강 · 좋은 광물 초록 · 훈장 = 금속 5단. */

/* ---- 굴 판에서 숨길 공용 HUD(점프 · 손바닥 · 프로필 · 오른쪽 위 도구) — 참고작 굴 화면은 위가 비어 있다. 숨은 칸은 누를 수 없다(host circle 크기 0) */
#hud.mn-cave :is(.b-jump, .b-hand, .top-r) { display: none !important; }
/* minequest-1117(형창님 11-17 "광산에서 채널이나 채팅창 안보이는거는 버그인듯"): 왼쪽 위 판(.top-l)은 프로필 · 지도 알약만 숨기고 채널 알약(.ch-pill.ch-hud — features/channel)은 남긴다.
   자리 = [광부의 길] 머리 알약(x 8~116) 오른쪽 · 같은 높이(y 10~40) — 알리미 줄(y 42~) · [가이드 취소] 위 */
#hud.mn-cave .top-l > :not(.ch-pill) { display: none !important; }
#hud.mn-cave .top-l { left: 124px; top: 10px; }
#hud.mn-cave .top-l .ch-pill.ch-hud { margin: 0; }
/* 이동 = RPG 공용 조이스틱(참고작 = 떠 있는 원형 조이스틱 · play-2). 자리 =
   왼쪽 아래 세로 단추(10~62) 오른쪽으로 34 띄움 · 아래 가운데 대상 막대(가운데 ± 130) 왼쪽 — 그림 196 × .66 = 지름 129 · 보이는 원 x 96~225, y 310~440. 섬 판 저장 배치(applyControls 인라인)를 덮는다 — 굴 HUD 와 겹치지 않는 자리가 하나뿐이라서 */
#hud.mn-cave .joy { display: block !important; left: 63px !important; top: 277px !important; transform: scale(.66) !important; }
#hud.mn-cave .ctl { display: block !important; }
:root:has(#hud.mn-cave) #ui .party-hud { display: none; }
/* 피버 띠(사냥 경험치라 굴과 무관) 숨김. 채팅 미리보기는 minequest-1117 부터 굴에서도 보인다(전: 참고작처럼 위를 비움 — mine-before2-1115 05a) —
   자리 = 오른쪽 위 [자동][나가기](x 끝에서 10~106) 왼쪽 · 같은 줄(y 12~42): 가운데 띠(칭호 · 발견 54~)와 겹치지 않게 평소(top 34)보다 올린다 */
#hud.mn-cave .fever-strip { display: none !important; }
#hud.mn-cave .chat-hud { right: 114px; top: 12px; }
/* 광부의 길 알리미(mine_track)는 굴에서 왼쪽 위 빈자리(프로필 숨김)로 — 아래 스탯 줄과 떨어지게 */
#hud.mn-cave .mn-qtrack { top: 10px; }
/* 알리미 판(폭 196 · x 8~204)의 빈 곳(머리 알약 오른쪽)이 채널 알약(x 124~238) 위를 덮어 누름을 가로챘다(minequest-1117 노트북 봇: elementFromPoint = #mn-qtrack) — 굴에서는 판은 누름을 안 받고 머리 · 줄만 받는다 */
#hud.mn-cave .mn-qtrack { pointer-events: none; }
#hud.mn-cave .mn-qtrack > * { pointer-events: auto; }

/* ---- 굴 HUD 판(#hud-screen GUI 좌표 — 판 전체를 덮고 누름은 단추만) */
#hud .mn-hud { position: absolute; inset: 0; pointer-events: none; }
#hud .mn-hud button { pointer-events: auto; }
#hud .mn-hud img { position: static; flex: none; }   /* HUD 공용 #hud img = absolute — 그대로면 아이콘이 숫자 · 글자를 덮는다 */
#hud .mn-hud button { border: 0; font: inherit; color: #f2f0e7; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .22s cubic-bezier(.2, .9, .3, 1.8); }
#hud .mn-hud button:active { transform: scale(.92); transition-duration: .06s; }
/* 누름 튕김(hq-ui 연출 — .92 → 1.06 → 1, mine.js press) */
:is(#hud, #ui) .mn-tap { animation: mn-press .26s cubic-bezier(.2, .9, .3, 1.8); }
@keyframes mn-press { 0% { transform: scale(.92); } 60% { transform: scale(1.06); } 100% { transform: none; } }
/* 흰 선 글리프(assets/icons · assets/mine/ui-*.svg 를 마스크로 — 색 = currentColor) */
:is(#hud, #ui) .mn-gl { flex: none; display: block; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--gl) center / contain no-repeat; mask: var(--gl) center / contain no-repeat; }

/* 오른쪽 위: [자동](해금 뒤) · [나가기] — 44 정사각(글리프 20 + 라벨 9) · 틈 8 */
#hud .mn-tr { position: absolute; top: 10px; right: 10px; display: flex; gap: 8px; }
#hud .mn-sq { width: 44px; height: 44px; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 10px;
  background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 2px 4px rgba(0, 0, 0, .4); }
#hud .mn-sq .mn-gl { width: 20px; height: 20px; }
#hud .mn-sq b { font-size: 9px; font-weight: 800; line-height: 1; white-space: nowrap; }
#hud .mn-sq[hidden] { display: none; }
#hud .mn-tr #mnh-auto[hidden] { display: flex; visibility: hidden; pointer-events: none; }   /* mineexp-1120: 자동이 잠겨 있어도 오른쪽 위 칸을 비워 둔다 — [나가기]가 필드 ☰ 메뉴 자리(오른쪽 위 끝)에 오지 않게(레이님 11-20 "메뉴 버튼이랑 똑같은 위치라서 계속 실수로 나가기 누름") */
#hud .mn-sq.on { color: #7dff8a; box-shadow: inset 0 0 0 1.5px #5ad66a, 0 0 10px rgba(90, 214, 106, .45); animation: mn-auto 1.047s ease-in-out infinite alternate; }
#hud .mn-sq.on .mn-gl { animation: mn-spin 2.4s linear infinite; }
@keyframes mn-auto { to { box-shadow: inset 0 0 0 1.5px #7dff8a, 0 0 14px rgba(125, 255, 138, .6); } }
@keyframes mn-spin { to { transform: rotate(360deg); } }
/* 왼쪽 아래 세로 단추(광부의 길 알리미(왼쪽 위 10~90) 아래): 맨 위 [광고](금빛 테) · 수레(돌아왔을 때만 — 금빛 맥박) · 상점 · 도감 · 가방 52 정사각(글리프 24 + 라벨 9.5) · 틈 8 */
#hud .mn-rb { position: absolute; left: 10px; bottom: 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
/* mineadbtn-1125(주호님 11-25 "광고 보튼은 폰에서 전면 카메라에 연결 되어 안 눌림"): 한 줄로 쌓으면 맨 위 [광고]가 y 208~260(수레가 보이면 수레 216~260) = 카메라 구간(끝 44 · y 190~260, hq-ui §1).
   시안 = mine_ad_mock.html. [광고]는 알리미 줄(y 42~82) 아래 · 카메라 구간 위 y 126~178 에 따로, 수레는 그 오른쪽(x 70~122)에 붙여 [광고]를 밀어 내리지 않는다. [상점][도감][가방] = 아래 .mn-rb y 268~440 그대로 */
#hud .mn-ra { position: absolute; left: 10px; top: 126px; display: flex; align-items: center; gap: 8px; }
#hud .mn-sq.big { width: 52px; height: 52px; border-radius: 12px; gap: 3px; }
#hud .mn-sq.big .mn-gl { width: 24px; height: 24px; }
#hud .mn-sq.big b { font-size: 9.5px; }
#hud .mn-sq.ad { color: #ffe9b0; box-shadow: inset 0 0 0 1.5px rgba(240, 194, 122, .8), 0 2px 4px rgba(0, 0, 0, .4), 0 0 10px rgba(240, 194, 122, .25); }
#hud .mn-cart { width: 52px; height: 44px; padding: 2px 0 0; display: flex; flex-direction: column; align-items: center; gap: 1px; border-radius: 10px; background: rgba(0, 0, 0, .6);
  box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .7); animation: mn-cart 1.047s ease-in-out infinite alternate, fx-card-in .28s ease-out both; }
#hud .mn-cart img { width: 30px; height: 24px; object-fit: contain; image-rendering: pixelated; }
#hud .mn-cart b { font-size: 9px; font-weight: 800; color: #e8c979; }
#hud .mn-cart[hidden] { display: none; }
@keyframes mn-cart { to { box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .95), 0 0 12px rgba(240, 194, 122, .6); } }
/* 켠 도구 줄(참고작 오른쪽 끝 세로줄 — yt-oTjZiD8Qfq4 1230,430~690): 오른쪽 위 단추 아래부터 세로로 · 넘치면 왼쪽으로 한 줄 더 · 누름 없음 · 맨 그림(판 없음) 22 · 틈 2 */
#hud .mn-on { position: absolute; right: 13px; top: 62px; height: 142px; display: flex; flex-flow: column wrap-reverse; align-content: flex-start; gap: 2px 4px; pointer-events: none; }
#hud .mn-hud.mn-low .mn-on { top: 98px; height: 130px; }   /* 공용 알약([보스 도전] · 별똥별 알림 — 위 66 ~ 94)이 떠 있을 때(mine.js hudTick): 그 아래 98 부터 · 한 줄 5개(아래 스탯 줄 237 위에서 끝나게) */
#hud .mn-on span { width: 22px; height: 22px; display: grid; place-items: center; filter: drop-shadow(0 1px 0 #000) drop-shadow(0 0 2px rgba(0, 0, 0, .8)); animation: fx-cell .3s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--i, 0) * 50ms); }
#hud .mn-on img { width: 22px; height: 22px; object-fit: contain; image-rendering: pixelated; }


/* 오른쪽 아래 스탯(참고작 그대로 판 없이 화면 위에 글자): 초록 "합계 Lv.N +B" → 줄 3(네모 아이콘 칸 34 · "Lv 기본 +보너스 이름" · 주화 값) → 주화 · 영혼석 · 부스트권 한 줄 → 부스트 남은 시간 칩.
   오른쪽 끝 켠 도구 줄(62~204) 아래에 들어가게 재화는 가로 한 줄 · 폭 = 글자 폭(늘이지 않음) · 줄 전체가 단추(높이 38 · 틈 4) */
#hud .mn-sp { position: absolute; right: 12px; bottom: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; animation: fx-card-in .3s ease-out both;
  text-shadow: 0 1px 0 #000, 1px 0 0 #000, -1px 0 0 #000, 0 -1px 0 #000, 0 0 4px rgba(0, 0, 0, .9); }
#hud .mn-hud .mn-sum { height: 24px; padding: 0 2px; border-radius: 6px; background: none; color: #7dff8a; font-size: 12.5px; font-weight: 900; letter-spacing: .2px; font-variant-numeric: tabular-nums; }
#hud .mn-sum.off { color: #5fa86a; }
#hud .mn-hud .mn-sum { position: relative; } #hud .mn-hud .mn-sum::after { content: ""; position: absolute; inset: -8px 0 -2px; }   /* 누름 칸 34(글자 줄 24 + 투명 여유) */
#hud .mn-st { height: 38px; padding: 0 6px 0 0; display: grid; grid-template-columns: 34px auto; grid-template-rows: auto auto; column-gap: 7px; row-gap: 1px; align-content: center; border-radius: 8px; background: none; text-align: left; }
#hud .mn-st > .mn-gl { grid-row: 1 / 3; position: relative; width: 34px; height: 34px; border-radius: 7px; background: linear-gradient(#5a5f86, #3c3f5e); -webkit-mask: none; mask: none;
  box-shadow: inset 0 0 0 1.5px rgba(205, 210, 255, .55), inset 0 2px rgba(255, 255, 255, .18), 0 2px 3px rgba(0, 0, 0, .6); }
#hud .mn-st > .mn-gl::after { content: ""; position: absolute; inset: 7px; background: #f2f0e7; -webkit-mask: var(--gl) center / contain no-repeat; mask: var(--gl) center / contain no-repeat; }
#hud .mn-st > span { min-width: 0; display: flex; align-items: baseline; gap: 4px; line-height: 1.1; }
#hud .mn-st b { margin-left: 2px; font-size: 9.5px; font-weight: 800; color: #c9c6ba; white-space: nowrap; }
#hud .mn-st u { text-decoration: none; font-size: 12px; font-weight: 900; color: #fbf6ea; font-variant-numeric: tabular-nums; white-space: nowrap; }
#hud .mn-st span > i { font-style: normal; font-size: 11px; font-weight: 900; color: #7dff8a; font-variant-numeric: tabular-nums; white-space: nowrap; } #hud .mn-st span > i:empty { display: none; }
#hud .mn-st em { display: flex; align-items: center; gap: 3px; font-style: normal; font-size: 11.5px; font-weight: 900; color: #f5d27a; font-variant-numeric: tabular-nums; white-space: nowrap; }
#hud .mn-st em img { width: 13px; height: 13px; object-fit: contain; image-rendering: pixelated; }
#hud .mn-st s { text-decoration: none; }
#hud .mn-st em > i { font-style: normal; font-size: 10px; font-weight: 900; color: #7dff8a; } #hud .mn-st em > i:empty { display: none; }   /* minebulk-1120: x10 · MAX 때 이번에 오를 레벨 수 */
/* minebulk-1120 올리기 배수 [x1][x10][MAX] = 합계 줄 오른쪽 알약(글자 줄 22 + 투명 여유로 누름 칸 34 · 고른 것만 금색) */
#hud .mn-sr { display: flex; align-items: center; gap: 8px; }
#hud .mn-mul { display: flex; gap: 2px; padding: 2px; border-radius: 12px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#hud .mn-hud .mn-mul button { position: relative; min-width: 34px; height: 20px; padding: 0 6px; border-radius: 10px; background: none; color: #c9c6ba; font-size: 10.5px; font-weight: 900; letter-spacing: .2px; font-variant-numeric: tabular-nums; transition: background .12s, color .12s; }
#hud .mn-hud .mn-mul button::after { content: ""; position: absolute; inset: -7px 0; }
#hud .mn-hud .mn-mul button.on { background: linear-gradient(#f5d27a, #c99a3c); color: #2a1c08; box-shadow: 0 0 8px rgba(245, 210, 122, .45); }
#hud .mn-mul button.mn-tap { animation: mn-stup .26s cubic-bezier(.2, .9, .3, 1.4); }
#hud .mn-st q { quotes: none; font-size: 9.5px; font-weight: 800; color: #8fe3ff; white-space: nowrap; font-variant-numeric: tabular-nums; } #hud .mn-st q::before, #hud .mn-st q::after { content: none; } #hud .mn-st q:empty { display: none; }
#hud .mn-st.off > .mn-gl { filter: saturate(.3) brightness(.8); } #hud .mn-st.off em { color: #ff8a6a; }
#hud :is(.mn-st, .mn-sum).up { animation: mn-stup .3s cubic-bezier(.2, .9, .3, 1.4); } @keyframes mn-stup { 35% { transform: scale(1.08); } }
#hud .mn-st.up > .mn-gl { animation: mn-stgl .3s ease-out; } @keyframes mn-stgl { 35% { box-shadow: inset 0 0 0 1.5px #f5d27a, 0 0 12px rgba(245, 210, 122, .7); } }
:is(#hud, #ui) .no { animation: mn-stno .22s linear; } @keyframes mn-stno { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
#hud .mn-wl { display: flex; gap: 10px; padding-left: 2px; }
#hud .mn-wl .mn-w { height: 19px; padding: 0; background: none; box-shadow: none; font-size: 12px; }
#hud .mn-wl .mn-w img { width: 15px; height: 15px; }
/* 오늘 대장간 반출(mine.js exHud "반출 n/m"): 재화와 같은 글자 · 상한 닿음 = 남은 시간 붉은빛과 같은 색 · 반출 끔 = 흐림 */
#hud .mn-wl .mn-w.ex[hidden] { display: none; }
#hud .mn-wl .mn-w.ex b { color: #d9d4c4; } #hud .mn-wl .mn-w.ex.full b { color: #ff8a6a; } #hud .mn-wl .mn-w.ex.off { opacity: .55; }
#hud .mn-w, #ui .mn-w { flex: none; height: 24px; padding: 0 9px 0 4px; display: flex; align-items: center; gap: 4px; border-radius: 12px; background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font-size: 11.5px; font-weight: 800; color: #f2f0e7; font-variant-numeric: tabular-nums; white-space: nowrap; }
:is(#hud, #ui) .mn-w img { width: 18px; height: 18px; object-fit: contain; image-rendering: pixelated; }
:is(#hud, #ui) .mn-w.gold b { color: #f5d27a; } :is(#hud, #ui) .mn-w.soul b { color: #d3b8ff; } :is(#hud, #ui) .mn-w.dia b { color: #cfe6ff; }
/* 광산 주화 = 사냥 골드 그림을 구리빛으로(광산 안에서만 쓰는 재화 — 같은 재화로 보이지 않게) */
:is(#hud, #ui) .mn-w.gold img, #hud .mn-st em img, #hud .mn-chip.c img, #ui .mn-get.coin img, #ui :is(.mnp, .mnf) img.coin { filter: sepia(.6) hue-rotate(-30deg) saturate(1.6) brightness(.95); }
:is(#hud, #ui) .bump { animation: mn-bump .32s cubic-bezier(.2, .9, .3, 1.4); } @keyframes mn-bump { 40% { transform: scale(1.14); } }
/* 부스트 남은 시간 칩(광고 부스트가 켜져 있는 동안만 — 지갑 아래 · 누르면 광고 판): 능력치 = 초록 · 주화 = 금. 보이는 높이 24 · 누름 칸은 위아래 5 씩 넓힘 */
#hud .mn-bst { display: flex; gap: 8px; text-shadow: none; }
#hud .mn-hud .mn-chip { position: relative; height: 24px; padding: 0 9px 0 5px; display: flex; align-items: center; gap: 4px; white-space: nowrap; border-radius: 12px; background: rgba(0, 0, 0, .58); box-shadow: inset 0 0 0 1px rgba(125, 255, 138, .6); animation: mn-chip 1.047s ease-in-out infinite alternate; }
#hud .mn-chip::before { content: ""; position: absolute; inset: -5px 0; }
#hud .mn-chip[hidden] { display: none; }
#hud .mn-chip .mn-gl { width: 14px; height: 14px; } #hud .mn-chip img { width: 14px; height: 14px; object-fit: contain; image-rendering: pixelated; }
#hud .mn-chip b { font-size: 10.5px; font-weight: 900; color: #7dff8a; } #hud .mn-chip u { text-decoration: none; font-size: 10px; font-weight: 800; color: #e9e4d6; font-variant-numeric: tabular-nums; }
#hud .mn-hud .mn-chip.c { box-shadow: inset 0 0 0 1px rgba(245, 210, 122, .65); } #hud .mn-chip.c b { color: #f5d27a; }
@keyframes mn-chip { to { background: rgba(0, 0, 0, .4); } }
/* 한계 돌파 필살기 단추(#mnh-ult — mine.js ultMake · 물건 limit 을 켰을 때만): 스탯 판 왼쪽(틈 14) 54 원 · 테 3 = 게이지(--p %) · 흰 선 아이콘 22 + 글자 10(% → 필살기 짧은 이름 → 남은 초)
   가득 = 금빛 맥박(1.047초) · 이어지는 필살기(분신 · 회전) 중 = 하늘빛 테가 남은 시간만큼 · 필살기 없는 의상 = 흐림 · 발동 = 한 번 튐 */
#hud .mn-hud .mn-ult { position: absolute; right: 100%; bottom: 2px; margin-right: 14px; width: 54px; height: 54px; padding: 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: conic-gradient(#f5d27a calc(var(--p, 0) * 1%), rgba(255, 255, 255, .18) 0); box-shadow: 0 2px 5px rgba(0, 0, 0, .5); text-shadow: none; }
#hud .mn-hud .mn-ult[hidden] { display: none; }
#hud .mn-ult::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: rgba(10, 10, 14, .88); }
#hud .mn-ult > * { position: relative; }
#hud .mn-ult .mn-gl { width: 22px; height: 22px; }
#hud .mn-ult b { font-size: 10px; font-weight: 900; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
#hud .mn-hud .mn-ult.ready { color: #ffe066; animation: mn-ult 1.047s ease-in-out infinite alternate; }
@keyframes mn-ult { to { box-shadow: 0 0 0 4px rgba(255, 224, 102, .28), 0 0 18px rgba(255, 210, 90, .75); } }
#hud .mn-ult.ready .mn-gl { animation: mn-ultgl 1.047s ease-in-out infinite alternate; } @keyframes mn-ultgl { to { transform: scale(1.16); } }
#hud .mn-hud .mn-ult.on { color: #9fe8ff; background: conic-gradient(#7fdcff calc(var(--p, 0) * 1%), rgba(255, 255, 255, .18) 0); }
#hud .mn-hud .mn-ult.none { color: #8d8a82; }
#hud .mn-hud .mn-ult.fire { animation: mn-ultfire .42s cubic-bezier(.2, .9, .3, 1.5); } @keyframes mn-ultfire { 0% { transform: scale(.8); } 35% { transform: scale(1.22); box-shadow: 0 0 0 8px rgba(255, 224, 102, .2), 0 0 26px rgba(255, 224, 102, .9); } }
/* 힘 모자람 띠(봉인석 · 보스 앞): 대상 막대 위 가운데 — 붉은 글 + 지금 / 필요 + [광고 5분 +50%] 알약(34) */
#hud .mn-weak { position: absolute; left: 50%; bottom: 84px; z-index: 42; height: 44px; padding: 0 6px 0 14px; display: flex; align-items: center; gap: 10px; border-radius: 22px; transform: translateX(-50%); white-space: nowrap;
  background: rgba(14, 10, 10, .86); box-shadow: inset 0 0 0 1px rgba(255, 138, 115, .55), 0 6px 18px rgba(0, 0, 0, .55); animation: mn-weak .32s cubic-bezier(.2, .9, .3, 1.3) both; pointer-events: auto; }
#hud .mn-weak > b { font-size: 13px; font-weight: 900; color: #ff9a8a; } #hud .mn-weak > u { text-decoration: none; font-size: 11.5px; font-weight: 800; color: #e9e4d6; font-variant-numeric: tabular-nums; }
#hud .mn-weak .mn-wkb { height: 34px; padding: 0 14px 0 10px; display: flex; align-items: center; gap: 6px; border: 0; border-radius: 17px; background: linear-gradient(#83c3bf, #548f8c); color: #fff; font: inherit; font-size: 12px; font-weight: 900; cursor: pointer; transition: transform .22s cubic-bezier(.2, .9, .3, 1.8); }
#hud .mn-weak .mn-wkb:active { transform: scale(.94); transition-duration: .06s; }
#hud .mn-weak .mn-gl { width: 16px; height: 16px; } #hud .mn-weak img { position: static; width: 16px; height: 16px; image-rendering: pixelated; }
#hud .mn-weak:only-child, #hud .mn-weak > u:last-child { padding-right: 8px; }
@keyframes mn-weak { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.96); } }


/* 아래 가운데: 대상 이름(13) → 빨간 체력 막대(200 × 8) → "지하 N층" + ◆ 좋은 광물 캔 수/전체(다 캐면 초록 맥박) · 보스 층 = 붉은 글 */
#hud .mn-tg { position: absolute; left: 0; right: 0; bottom: 8px; width: 260px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; }
#hud .mn-tg .nm { height: 18px; font-size: 14px; font-weight: 900; color: #fbf6ea; text-shadow: 0 1px 2px #000, 0 0 6px rgba(0, 0, 0, .8); white-space: nowrap; }
#hud .mn-tg .bar { display: block; width: 240px; height: 10px; border-radius: 5px; background: rgba(40, 6, 6, .8); box-shadow: 0 0 0 1.5px #f2e6e0, 0 0 0 2.5px rgba(0, 0, 0, .7), 0 2px 4px rgba(0, 0, 0, .5); overflow: hidden; }
#hud .mn-tg .bar em { display: block; height: 100%; border-radius: 5px; background: linear-gradient(#ff7a6a, #e8261c 55%, #b31810); transition: width .12s ease-out; }
#hud .mn-tg.none :is(.nm, .bar) { visibility: hidden; }
#hud .mn-tg[data-k="good"] .nm { color: #9dffb0; } #hud .mn-tg[data-k="treasure"] .nm { color: #ffe066; } #hud .mn-tg[data-k="seal"] .nm { color: #ff9a8a; }
#hud .mn-tg.hit .bar { animation: mn-tg .16s ease-out; } @keyframes mn-tg { 30% { transform: scale(1.04) translateY(1px); } }
#hud .mn-tg .fl { height: 18px; padding: 0 4px; display: flex; align-items: center; gap: 8px; text-shadow: 0 1px 0 #000, 1px 0 0 #000, -1px 0 0 #000, 0 0 4px rgba(0, 0, 0, .9); }
#hud .mn-tg .fl b { font-size: 11.5px; font-weight: 900; color: #f2f0e7; }
#hud .mn-tg .fl u { text-decoration: none; height: 18px; padding: 0 7px 0 3px; display: inline-flex; align-items: center; gap: 3px; border-radius: 9px; background: rgba(12, 10, 14, .72); box-shadow: inset 0 0 0 1px rgba(157, 255, 176, .45); font-size: 11px; font-weight: 900; color: #9dffb0; font-variant-numeric: tabular-nums; text-shadow: none; }
#hud .mn-tg .fl u img { width: 15px; height: 15px; image-rendering: pixelated; object-fit: contain; } #hud .mn-tg .fl u s { text-decoration: none; }
#hud .mn-tg .fl u:empty { display: none; }
/* 오늘 남은 광산 시간(mine.js hudTick #mnh-time — "1:23:45" · 층 글자 줄 끝 · 작은 시계 + 숫자 폭 고정): 10분 아래 = 붉은빛만(설명 글 없음) */
#hud .mn-tg .fl em { font-style: normal; display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 800; color: #d9d4c4; font-variant-numeric: tabular-nums; white-space: nowrap; }
#hud .mn-tg .fl em[hidden] { display: none; }
#hud .mn-tg .fl em::before { content: ""; flex: none; width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; background: linear-gradient(currentColor, currentColor) 50% 1.5px / 1.5px 3.5px no-repeat, linear-gradient(currentColor, currentColor) 5px 4px / 2.5px 1.5px no-repeat; box-shadow: 0 0 0 1px rgba(0, 0, 0, .55); }
#hud .mn-tg .fl em.low { color: #ff8a6a; }
#hud .mn-tg .fl u.done { color: #7dff8a; text-shadow: 0 0 8px rgba(125, 255, 138, .7); animation: mn-done 1.047s ease-in-out infinite alternate; }
@keyframes mn-done { to { text-shadow: 0 0 2px rgba(125, 255, 138, .3); } }
#hud .mn-tg.boss .fl b { color: #ff8a73; }
/* 가이드 손가락 앵커(58q mineSpot — 지금 할 일의 화면 자리): 보이지 않는 28 칸, 손가락(quest_guide)이 이 칸을 가리킨다 */
#hud .mn-anc { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; opacity: 0; pointer-events: none; }
/* 계단 위 남은 초(새 층까지 기다림): 작은 어두운 알약 — 계단 바로 위 */
#hud .mn-stw { position: absolute; left: -15px; top: -46px; width: 30px; height: 20px; border-radius: 10px; background: rgba(10, 12, 18, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  color: #ffe9a8; font: 900 12px/20px var(--gf-font-ui, sans-serif); font-style: normal; text-align: center; font-variant-numeric: tabular-nums; pointer-events: none; }
#hud .mn-stw[hidden] { display: none; }
#hud .mn-stw.rk { color: #ffb15c; }   /* stairhalf-1119: 계단까지 더 깰 바위 수 */

/* ---- 굴 어둠 · 광산 색(battle 58q toneSet — #game 캔버스 바로 위 · HUD 아래 두 겹) */
.mn-tone, .mn-lamp { position: fixed; inset: 0; pointer-events: none; }
/* 광산 색(mines[].theme ground · wall): 굴 판 하나를 모든 광산이 쓰므로 곱하기로 물들이되 아주 옅게(.12 — 원 안 바닥 · 바위 색이 또렷하게) */
.mn-tone { mix-blend-mode: multiply; opacity: .5; background: var(--mn-c); transition: background .6s; }
/* 시야(SCREENS §1-a "등불 전 = 캐릭터 둘레 원, 지름 ≈ 화면 높이" · play-2): 반경 = 54vmin × --mn-lr(1 + 2 × lightPct/100 → 등불 최대 3배 = 화면 전체).
   원 안 92% (= 지름 0.99 × 화면 높이)까지 어둡게 하지 않음 → 가장자리 짧은 흐림(8%) → 원 밖 어둠 .76(바깥 바위 윤곽은 보이게) · 등불을 올릴수록 바깥이 걷힌다(--mn-lk) */
.mn-lamp { background: radial-gradient(circle calc(54vmin * var(--mn-lr, 1)) at var(--mn-x, 50%) var(--mn-y, 55%), rgba(255, 228, 180, calc(.04 + .03 * var(--mn-lk, 0))) 0, rgba(6, 5, 10, 0) 70%, rgba(6, 5, 10, 0) 92%, rgba(4, 3, 7, calc(.56 - .34 * var(--mn-lk, 0))) 97%, rgba(3, 2, 6, calc(.76 - .48 * var(--mn-lk, 0))) 100%); }
/* 층 전환(battle 58q bars): 위아래 검은 띠가 닫히고 가운데 층 이름(명조 — 글자 사이가 모인다) → 열림 */
.mn-dive { position: fixed; inset: 0; z-index: 9000; pointer-events: none; }
.mn-dive i { position: absolute; left: 0; right: 0; height: 50.5%; background: #050407; transition: transform .28s cubic-bezier(.55, 0, .3, 1); }
.mn-dive i:nth-child(1) { top: 0; transform: translateY(-101%); box-shadow: 0 1px 0 rgba(240, 217, 160, .35); }
.mn-dive i:nth-child(2) { bottom: 0; transform: translateY(101%); box-shadow: 0 -1px 0 rgba(240, 217, 160, .35); }
.mn-dive.on i { transform: none; }
.mn-dive b { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-family: var(--title-font, var(--ui-font, GFUIFont)); font-size: 24px; letter-spacing: 14px; color: #fbf6ea; text-shadow: 0 0 14px rgba(240, 217, 160, .7); opacity: 0; transition: opacity .12s, letter-spacing .5s ease-out; }
.mn-dive.on b { opacity: 1; letter-spacing: 5px; transition: opacity .25s .22s, letter-spacing .5s .22s ease-out; }
/* 결과 띠(도깨비의 세계 제목 말씨 — 짙은 반투명 띠 · 위아래 빛선 · 명조 글자 모임) */
#hud .mn-band, #ui .mn-band { z-index: 40; position: absolute; left: 0; right: 0; top: 34%; height: 54px; display: grid; place-items: center; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .72) 25%, rgba(0, 0, 0, .72) 75%, transparent); animation: mn-band 1.9s ease-out both; }
:is(#hud, #ui) .mn-band::before, :is(#hud, #ui) .mn-band::after { content: ""; position: absolute; left: 18%; right: 18%; height: 1px; background: linear-gradient(90deg, transparent, #f0d9a0, transparent); }
:is(#hud, #ui) .mn-band::before { top: 0; } :is(#hud, #ui) .mn-band::after { bottom: 0; }
:is(#hud, #ui) .mn-band b { font-family: var(--title-font, var(--ui-font, GFUIFont)); font-size: 22px; letter-spacing: 3px; color: #fbf6ea; text-shadow: 0 0 12px rgba(240, 217, 160, .7); animation: mn-word 1.9s ease-out both; }
/* 두 줄 띠(band(text, sub) — 반출 상한 도달): 제목 아래 작은 설명 한 줄 */
:is(#hud, #ui) .mn-band.two { height: 64px; align-content: center; gap: 3px; }
:is(#hud, #ui) .mn-band small { font-size: 11px; font-weight: 700; color: #d9d4c4; text-shadow: 0 1px 2px #000; animation: mn-word 1.9s ease-out both; }
@keyframes mn-band { 0% { transform: scaleY(0); opacity: 0; } 12% { transform: scaleY(1); opacity: 1; } 78% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes mn-word { 0%, 10% { letter-spacing: 14px; opacity: 0; } 30% { letter-spacing: 3px; opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }


/* ---- 작은 팝업(.popup.mnp — 판 · 모서리 · 알약 = 18-popup-dark · 창 팝 · 순차 = ui_fx) */
#ui .popup.mnp { position: relative; width: 440px; max-width: calc(100vw - 24px); max-height: 392px; padding: 14px 16px; box-sizing: border-box; display: flex; flex-direction: column; gap: 8px; }
#ui .popup.mnp .popup-head { display: flex; align-items: center; gap: 8px; padding: 0 0 6px; }
#ui .popup.mnp .popup-head h2 { margin: 0; font-size: 16px; }
#ui .popup.mnp .mnp-sub { font-size: 11.5px; font-weight: 900; color: #7dff8a; }
#ui .popup.mnp .popup-head .close { margin-left: auto; }
#ui .mnp-list { scrollbar-width: none; overscroll-behavior: contain; }
#ui .mnp-list::-webkit-scrollbar { display: none; }
#ui :is(.mnp, .mnf, .mnc) .btn { min-height: 34px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 12px; white-space: nowrap; transition: transform .22s cubic-bezier(.2, .9, .3, 1.8); }
#ui :is(.mnp, .mnf, .mnc) .btn { position: relative; } #ui :is(.mnp, .mnf, .mnc) .btn::after { content: ""; position: absolute; inset: -3px 0; }   /* 누름 칸 34(알약 28 + 투명 여유 위아래 3 — hq-ui 크기 정본) */
#ui :is(.mnp, .mnf, .mnc) .btn:active, #ui :is(.mnp, .mnf) :is(.mnx-cell, .mnb-cell):active { transform: scale(.94); transition-duration: .06s; }
#ui :is(.mnp, .mnf, .mnc) .btn img { width: 16px; height: 16px; object-fit: contain; image-rendering: pixelated; }
#ui :is(.mnp, .mnf, .mnc) .btn .mn-gl { width: 15px; height: 15px; }
#ui :is(.mnp, .mnf, .mnc) .btn b { font-weight: inherit; }
/* 광고 단추 = 청록 알약 + 영상 글리프 */
/* 광고 단추 안 오늘 남은 횟수 n/한도(mine.js adN — 글자 9.5 · 숫자 폭 고정 · 단추 글보다 옅게) */
:is(#hud, #ui) .mn-adn { flex: none; font-style: normal; font-size: 9.5px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; opacity: .8; }

/* ---- 상점 = 전체화면 창(.popup.full.mnf.mns — 판 · 머리 띠 46 · ‹ · 탭 알약 · 단추 알약 = windows-css 01-popup): 머리 띠 [‹ · 상점 아이콘 · 제목 · 재화 알약] → 탭 → 가로 카드 한 줄.
   카드 틀 = 참고작 가로판 상점(mineref-1115 land-shop-cards — 큰 그림 · 이름 · 문장 · 아래 단추) · 한 화면 3장 반(넷째 카드가 반쯤 보여 옆으로 더 있음을 알린다) · 높이 = 본문 높이.
   카드 = 그림 무대 88(그림 64) → 이름 14 → 문장 11.5(줄 17 — 자르지 않는다) → 맨 아래 값 알약 30(글자 폭 · 최소 92) */
#ui .popup.full.mns > .popup-head > h2::before { display: none; }   /* 공용 제목 아이콘 자리(마스크 그림을 CSS 로 못 건다 — 이 파일은 묶음이라 url 없음) → h2 안 .mns-mark */
#ui .mns-mark { flex: none; width: 24px; height: 24px; background: var(--ink); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
#ui .popup.full.mns .popup-head .mns-wallet { margin-left: auto; padding: 0; border: 0; }
#ui .popup.full.mns { padding-bottom: 12px; }
#ui .popup.full.mns .tabs { flex: none; margin: 0 0 10px; }
#ui .popup.full.mns .tab { position: relative; min-height: 28px; font-size: 12.5px; font-weight: 800; }
#ui .popup.full.mns .tab::after { content: ''; position: absolute; inset: -4px 0; }   /* 알약은 28 · 누름 칸은 위아래 투명 여유로 36 */
#ui .mns-wallet { flex: none; display: flex; justify-content: center; align-items: center; gap: 8px; }
#ui .mns-wallet b.bump { display: inline-block; color: #ffe8a8; }
#ui .mns-body { position: relative; flex: 1; min-height: 0; margin-right: calc(-18px - var(--sr, 0px)); }
#ui .mns-body::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 44px; pointer-events: none; background: linear-gradient(90deg, rgba(10, 10, 12, 0), rgba(10, 10, 12, .62)); }
#ui .mns-row { height: 100%; box-sizing: border-box; display: flex; gap: 10px; padding: 2px calc(18px + var(--sr, 0px)) 2px 2px; overflow-x: auto; overflow-y: hidden; }
#ui .mns-card { position: relative; flex: none; width: calc((100% - 12px + var(--sr, 0px)) / 3.5); height: 100%; padding: 14px 12px 14px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 7px; border-radius: 12px; text-align: center;
  background: linear-gradient(rgba(255, 255, 255, .105), rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px rgba(255, 255, 255, .08); }
#ui .mns-art { position: relative; flex: none; width: 88px; height: 88px; display: grid; place-items: center; border-radius: 16px; background: radial-gradient(circle at 50% 40%, rgba(255, 236, 190, .17), rgba(0, 0, 0, .3) 72%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .mns-art img { width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .5)); }
#ui .mns-art img.coin { filter: sepia(.6) hue-rotate(-30deg) saturate(1.6) brightness(.95) drop-shadow(0 3px 2px rgba(0, 0, 0, .5)); }
#ui .mns-tier { position: absolute; right: 6px; bottom: 5px; font-style: normal; font-size: 11px; font-weight: 900; color: #ffe08a; text-shadow: 0 1px 2px #000, 0 0 3px #000; }
#ui .mns-nm { max-width: 100%; margin-top: 3px; display: flex; align-items: baseline; justify-content: center; gap: 6px; font-size: 14px; font-weight: 800; line-height: 18px; color: #f6f2e6; white-space: nowrap; }
#ui .mns-nm em { font-style: normal; font-size: 11px; font-weight: 900; color: #f0c27a; font-variant-numeric: tabular-nums; }
#ui .mns-card > p { margin: 0; font-size: 11.5px; font-weight: 600; line-height: 17px; color: #cfc9b8; word-break: keep-all; overflow-wrap: anywhere; }
#ui .mns-buy { flex: none; margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; }
#ui :is(.mnp, .mnf) .btn.mns-price { min-width: 92px; min-height: 34px; gap: 5px; font-size: 13px; font-weight: 900; font-variant-numeric: tabular-nums; }
#ui :is(.mnp, .mnf) .btn.mns-price img { width: 18px; height: 18px; }
#ui .mns-price.lack b { color: #c2281f; }
/* [패키지] 현금 상품 값 단추(원화 글자만 — 그림 없음) · 이용권을 가진 동안 단추 아래 "지금 사면 +7일" */
#ui :is(.mnp, .mnf) .btn.mns-price.mns-cash { min-width: 104px; }
#ui .mns-more { font-size: 10.5px; font-weight: 800; line-height: 13px; color: #9be28f; white-space: nowrap; }
/* 살수록 물건 묶음 사기(×1 · ×10 · ×100): 세 알약 나란히 — 위 = 묶음 수 · 아래 = 값. 모자란 묶음은 값만 붉게 */
#ui .mns-many { display: flex; gap: 6px; align-self: stretch; }
#ui .mns-buy:has(> .mns-many) { align-self: stretch; align-items: stretch; }   /* 값 줄(.mns-buy)이 글자 폭으로 줄어 세 알약이 50 씩이 되면 '20.1만' 이 잘린다(11-16 캡처) → 카드 안 폭으로 편다 */
#ui :is(.mnp, .mnf) .btn.mns-price.many { flex: 1 1 0; min-width: 0; min-height: 38px; padding: 3px 6px; flex-direction: column; gap: 1px; font-size: 11.5px; }
#ui .mns-price.many u { text-decoration: none; font-size: 10.5px; font-weight: 900; line-height: 12px; opacity: .78; }
#ui .mns-price.many span { display: flex; align-items: center; gap: 3px; line-height: 15px; white-space: nowrap; }
#ui :is(.mnp, .mnf) .btn.mns-price.many img { width: 14px; height: 14px; }
#ui .mns-own { flex: none; height: 28px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(0, 0, 0, .36); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .5); font-size: 12px; font-weight: 800; color: #d9c08a; white-space: nowrap; font-variant-numeric: tabular-nums; }
#ui .mns-own.on { color: #9be28f; box-shadow: inset 0 0 0 1px rgba(143, 220, 132, .6); }
#ui .mns-card.own .mns-art { box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .55); }
#ui .mns-card.on { box-shadow: inset 0 0 0 1.5px #8fdc84, inset 0 1px rgba(255, 255, 255, .08); } #ui .mns-card.on .mns-art { box-shadow: inset 0 0 0 1px #8fdc84, 0 0 12px rgba(143, 220, 132, .4); }
/* [패키지] 광고 영혼석 칸 '남은 n회 한 번에'(soulall-1121 · 광고 제거 보유자만) — 광고 단추 아래, 같은 최소 크기 */
#ui :is(.mnp, .mnf) .btn.mn-adall { min-width: 92px; min-height: 34px; padding: 0 10px; font-size: 12px; font-weight: 900; white-space: nowrap; }
#ui .mns-card.ad .mns-art { background: radial-gradient(circle at 50% 40%, rgba(196, 160, 255, .22), rgba(0, 0, 0, .3) 72%); }
#ui :is(.mns-card, .mna-cell).fx { animation: mn-flash .5s ease-out; } @keyframes mn-flash { 0% { background: rgba(240, 194, 122, .34); transform: scale(1.03); } }
#ui :is(.mns-card, .mna-cell).fx .mns-art img { animation: mn-got .5s cubic-bezier(.2, .9, .3, 1.5); } @keyframes mn-got { 30% { transform: scale(1.25) rotate(-6deg); } }
#ui :is(.dim.fx-intro, .mn-swap) :is(.mns-card, .mna-cell) { animation: fx-card-in .26s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(min(var(--i, 0), 8) * 45ms); }
#ui :is(.dim.fx-intro, .mn-swap) :is(.mnx-cell, .mnb-cell, .mnb-oc) { animation: fx-cell .3s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(min(var(--i, 0), 12) * 28ms); }
/* 정제 두 카드 공용 하루 횟수 한 줄(문장 아래 · 문장보다 작고 옅게 · 숫자 폭 고정) */
#ui .mns-card > p.mns-cds { margin: -3px 0 0; font-size: 10.5px; font-weight: 800; line-height: 14px; color: #f0c27a; font-variant-numeric: tabular-nums; }
#ui .mns-mix { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; }
#ui .mn-get.sm { width: 36px; height: 36px; animation: none; } #ui .mn-get.sm img { width: 26px; height: 26px; }
#ui .mn-get.sm u { font-size: 9px; } #ui .mn-get.lack u { color: #ff8a6a; }

/* ---- 도감(.popup.mnx — 참고작 land-codex-grid): 3줄 × 11열 한 화면(칸 44 · 틈 8 — 도감 판 폭 604) · 넘치면 옆으로. 가방은 2줄 × 9열(판 폭 536).
   칸 = 그림만 · 테 2 = 훈장색(없음 회색 → 동 → 은 → 금 → 백금 → 다이아) · 못 찾음 = 검은 실루엣 · 드문 광물 = 오른쪽 위 반짝 · 보스 = 그 광산 색 바탕.
   고른 칸 = 테 맥박 · 격자 아래 한 줄(참고작 초록 "이름 (누적 / 다음)" + 흰 "레벨 +N") */
#ui .popup.mnx, #ui .popup.mnb { width: 536px; }
#ui .popup.mnx { width: 604px; }   /* 도감 32칸 = 11열(44 × 11 + 틈 8 × 10 = 564 + 양옆 4) 이 한 화면에 — 열째 칸이 반만 보여 잘린 것처럼 보였다(11-16 캡처). 칸이 더 늘면 옆으로 */
#ui :is(.mnx-grid, .mnb-grid) { flex: none; display: grid; grid-template-rows: repeat(3, 44px); grid-auto-flow: column; grid-auto-columns: 44px; gap: 8px; padding: 5px 2px; overflow-x: auto; overflow-y: hidden; }
#ui :is(.mnx-cell, .mnb-cell) { --mc: rgba(255, 255, 255, .24); --mb: rgba(255, 255, 255, .06); position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; display: grid; place-items: center; font: inherit; cursor: pointer;
  background: linear-gradient(160deg, var(--mb), rgba(0, 0, 0, .42)); box-shadow: inset 0 0 0 2px var(--mc); transition: transform .22s cubic-bezier(.2, .9, .3, 1.8); }
#ui :is(.mnx-cell, .mnb-cell) img { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
#ui .mnx-gap { width: 44px; height: 44px; }
#ui .mnx-cell.unk img { filter: brightness(0) opacity(.6); }
#ui .mnx-cell.m-bronze { --mc: #c98a4b; --mb: rgba(201, 138, 75, .34); } #ui .mnx-cell.m-silver { --mc: #c9ced6; --mb: rgba(201, 206, 214, .28); }
#ui .mnx-cell.m-gold { --mc: #f0c27a; --mb: rgba(240, 194, 122, .38); } #ui .mnx-cell.m-platinum { --mc: #a9e4e0; --mb: rgba(169, 228, 224, .32); }
#ui .mnx-cell.m-diamond { --mc: #b9d8ff; --mb: rgba(185, 216, 255, .36); }
#ui .mnx-cell.k-boss { background: linear-gradient(160deg, color-mix(in srgb, var(--bc, #a33) 46%, transparent), rgba(0, 0, 0, .5)); }
#ui .mnx-cell.k-boss img { filter: drop-shadow(0 0 3px var(--bc, #a33)); } #ui .mnx-cell.k-boss.unk img { filter: brightness(0) opacity(.6); }
#ui .mnx-cell.k-rare::after { content: ""; position: absolute; right: 3px; top: 3px; width: 11px; height: 11px; background: #fff6c8; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 2px #ffd866); animation: mn-twinkle 1.6s ease-in-out infinite; }
#ui .mnx-cell.k-rare.unk::after { background: #6d6f78; filter: none; animation: none; }
@keyframes mn-twinkle { 50% { transform: scale(.55) rotate(45deg); opacity: .6; } }
#ui :is(.mnx-cell, .mnb-cell).sel { z-index: 1; animation: mn-sel 1.047s ease-in-out infinite alternate; }
@keyframes mn-sel { 0% { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px rgba(255, 255, 255, .28), 0 0 10px rgba(255, 255, 255, .3); } 100% { box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px rgba(255, 255, 255, .7), 0 0 16px rgba(255, 255, 255, .55); } }
#ui .mnx-info { flex: none; height: 34px; display: flex; align-items: center; justify-content: center; gap: 14px; white-space: nowrap; }
#ui .mnx-info b { font-size: 13.5px; font-weight: 900; color: #7dff8a; } #ui .mnx-info b span { font-variant-numeric: tabular-nums; } #ui .mnx-info b.unk { color: #9ea3b2; }
#ui .mnx-info em { font-style: normal; font-size: 13.5px; font-weight: 900; color: #fbf6ea; }
#ui .mnx-info i { height: 22px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 11px; background: rgba(185, 216, 255, .16); box-shadow: inset 0 0 0 1px rgba(185, 216, 255, .6); font-style: normal; font-size: 10.5px; font-weight: 900; color: #d6e8ff; }
#ui :is(.mnx-info b, .mnb-tx).pop { animation: mn-pop .24s cubic-bezier(.2, .9, .3, 1.4); } @keyframes mn-pop { 0% { opacity: 0; transform: translateY(4px) scale(.97); } }
/* 발견 알림(참고작 위 가운데 띠 "Found 'Gold'! (Total level +6)"): 어두운 반투명 판 + 광물 칸 + 글자 · 내려와 머물고 올라가며 흐려짐 */
#hud .mn-found { position: absolute; left: 50%; top: 52px; z-index: 41; height: 34px; padding: 0 14px 0 4px; display: flex; align-items: center; gap: 8px; border-radius: 8px; transform: translateX(-50%);
  background: rgba(10, 9, 12, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 4px 14px rgba(0, 0, 0, .5); pointer-events: none; white-space: nowrap; animation: mn-found 2.7s cubic-bezier(.2, .9, .3, 1.2) both; }
#hud .mn-found .mn-get { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; background: linear-gradient(160deg, #2c241c, #0e0b08 85%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); } #hud .mn-found .mn-get img { width: 22px; height: 22px; }
#hud .mn-found b { font-size: 12.5px; font-weight: 800; color: #fbf6ea; }
@keyframes mn-found { 0% { opacity: 0; transform: translate(-50%, -14px) scale(.96); } 10% { opacity: 1; transform: translate(-50%, 0) scale(1.03); } 16% { transform: translate(-50%, 0) scale(1); } 86% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -10px); } }

/* ---- 가방(.popup.mnb — 참고작 land-bag-grid): 2줄 격자(칸 44 · 틈 8 · 빈 칸으로 한 화면을 채움) · 칸 오른쪽 아래 Lv · 끈 물건 = 흐림 · 고른 칸 아래 = 초록 이름 → 문장 → 단추 */
#ui .mnb-grid { grid-template-rows: repeat(2, 44px); }
#ui .mnb-cell u { position: absolute; right: 3px; bottom: 1px; text-decoration: none; font-size: 9.5px; font-weight: 900; color: #fbf6ea; text-shadow: 0 1px 2px #000, 0 0 2px #000; font-variant-numeric: tabular-nums; }
#ui .mnb-cell:not(.on) img { filter: grayscale(1) brightness(.62); }
#ui .mnb-cell.on { --mc: rgba(143, 220, 132, .75); }
#ui .mnb-cell.empty { --mc: rgba(255, 255, 255, .08); --mb: rgba(255, 255, 255, .02); cursor: default; pointer-events: none; }
#ui .mnb-info { flex: none; min-height: 96px; padding: 4px 8px 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
#ui .mnb-tx b { display: block; font-size: 14px; font-weight: 900; color: #7dff8a; } #ui .mnb-tx b em { font-style: normal; font-size: 11px; color: #f0c27a; }
#ui .mnb-tx p { margin: 5px 0 0; font-size: 11.5px; font-weight: 600; line-height: 17px; color: #e9e4d6; word-break: keep-all; }
/* minecrew-1125: 지금 채광 속도 ×N — 글자 폭 알약(hq-ui: 어두운 반투명 · 라벨 9 이상 · 강조 = 초록 좋아짐) */
#ui .mnb-tx .mnb-spd { display: inline-block; margin-top: 6px; padding: 0 12px; height: 22px; line-height: 22px; border-radius: 11px; background: rgba(0, 0, 0, .38); font-size: 11px; font-weight: 800; color: #7dff8a; white-space: nowrap; }
/* 대장간 반출 스위치(minebal-1116): 세 단추 한 줄 — 고른 것 = 채운 단추 · 나머지 = 민무늬. 누름 칸 34 이상 · 틈 8 */
#ui .mnb-seg { display: flex; gap: 8px; justify-content: center; } #ui .mnb-seg .btn { min-width: 84px; min-height: 34px; padding: 0 10px; white-space: nowrap; }

/* ---- [광고] 판(.popup.mna): 3칸(칸 폭 150 · 틈 10) = 그림 무대 → 이름 → 남은 시간(켜져 있을 때 초록) → [광고 단추 = 받는 것 한마디] → [부스트권 1장] */
#ui .popup.mna { width: 522px; }
#ui .mna-row { display: flex; gap: 10px; }
#ui .mna-cell { flex: 1; min-width: 0; padding: 12px 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 5px; border-radius: 12px; background: linear-gradient(rgba(255, 255, 255, .105), rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .mna-cell .mns-art { width: 72px; height: 72px; } #ui .mna-cell .mns-art img { width: 52px; height: 52px; }
#ui .mna-cell.on { box-shadow: inset 0 0 0 1.5px #8fdc84; }
#ui .mna-sub { margin: -4px 0 10px; text-align: center; font-size: 11.5px; line-height: 1.4; color: #cfc8b6; }   /* mineadbtn-1125: 광고 판 머리 아래 안내 한 줄 */
#ui .mna-desc { margin: -1px 0 0; min-height: 30px; display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 10.5px; line-height: 15px; word-break: keep-all; }
#ui .mna-desc b { font-weight: 900; color: #9dffb0; } #ui .mna-desc u { text-decoration: none; color: #a9a497; }
#ui .mna-left { height: 15px; font-size: 11.5px; font-weight: 900; color: #7dff8a; font-variant-numeric: tabular-nums; }
#ui .mna-cell .mns-buy { margin-top: auto; padding-top: 2px; }   /* mineadbtn-1125: 설명 줄 수가 칸마다 달라도(능력치 3줄 · 나머지 2줄) 광고 단추는 세 칸 같은 높이(칸 바닥) */
#ui .mna-up { position: absolute; right: 6px; top: 6px; width: 18px; height: 18px; background: #7dff8a; clip-path: polygon(50% 0, 100% 52%, 68% 52%, 68% 100%, 32% 100%, 32% 52%, 0 52%); filter: drop-shadow(0 1px 1px #000); animation: mn-up 1.047s ease-in-out infinite alternate; }
@keyframes mn-up { to { transform: translateY(-3px); } }
#ui .mna-x2 { position: absolute; right: 6px; bottom: 4px; font-style: normal; font-size: 14px; font-weight: 900; color: #ffe08a; text-shadow: 0 1px 2px #000, 0 0 3px #000; }

/* ---- 환생 확인 창(.popup.mnr): [영혼석 그림 · 받는 영혼석(크게) | 기본 레벨 합] → 잃는 것 / 남는 것 두 줄 → (모자란 것 한 줄) → [환생][광고 보고 2배] */
#ui .popup.mnr { width: 430px; }
#ui .mnr-body { display: flex; flex-direction: column; gap: 10px; }
#ui .mnr-top { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; background: radial-gradient(ellipse at 18% 50%, rgba(170, 120, 255, .2), rgba(0, 0, 0, .3) 70%); box-shadow: inset 0 0 0 1px rgba(196, 160, 255, .35); }
#ui .mnr-top .mns-art { width: 64px; height: 64px; background: none; box-shadow: none; } #ui .mnr-top .mns-art img { width: 56px; height: 56px; animation: mn-float 2.094s ease-in-out infinite alternate; }
@keyframes mn-float { to { transform: translateY(-4px); } }
#ui .mnr-get { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } #ui .mnr-lv { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
#ui .mnr-top small { font-size: 10.5px; font-weight: 800; color: #b9b4c6; }
#ui .mnr-n { display: inline-block; font-size: 24px; font-weight: 900; line-height: 28px; color: #e2ccff; font-variant-numeric: tabular-nums; text-shadow: 0 0 12px rgba(190, 140, 255, .55); }
#ui .mnr-lv b { font-size: 15px; font-weight: 900; color: #fbf6ea; font-variant-numeric: tabular-nums; } #ui .mnr-lv b i { font-style: normal; font-size: 11px; font-weight: 800; color: #9ea3b2; } #ui .mnr-lv b.lack { color: #ff8a6a; }
#ui .mnr-kv { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 7px 10px; align-items: baseline; }
#ui .mnr-kv dt { height: 20px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 10px; font-size: 10.5px; font-weight: 900; white-space: nowrap; }
#ui .mnr-kv dt.lose { background: rgba(255, 138, 106, .14); color: #ff9a8a; box-shadow: inset 0 0 0 1px rgba(255, 138, 106, .45); } #ui .mnr-kv dt.keep { background: rgba(143, 220, 132, .12); color: #9be28f; box-shadow: inset 0 0 0 1px rgba(143, 220, 132, .45); }
#ui .mnr-kv dd { margin: 0; font-size: 11.5px; font-weight: 700; line-height: 17px; color: #e9e4d6; word-break: keep-all; }
#ui .mnr-lack { margin: 0; text-align: center; font-size: 12px; font-weight: 900; color: #ff8a6a; }

/* ---- 고르는 창(.popup.mnw — 보스 시간 초과 · 보스 승리 · 별똥별) · 선택 상자 층 · 수레 팝업 */
#ui .popup.mnw { width: 380px; padding: 16px 16px 14px; }
#ui .mnw-body { display: flex; flex-direction: column; align-items: center; gap: 6px; }
#ui .mnw .sub { margin: 0 0 8px; font-size: 12px; font-weight: 700; line-height: 18px; text-align: center; color: #d6d0ba; }
#ui .mnw.mnw-time h4 { color: #ffd9a0; } #ui .mnw.mnw-boss h4 { color: #ff9a8a; } #ui .mnw.mnw-win h4 { color: #ffe8a8; }
#ui .mnw-star-ic { width: 44px; height: 44px; background: linear-gradient(#fff6c8, #ffc94a); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); filter: drop-shadow(0 0 8px #ffd866); animation: mn-twinkle 1.6s ease-in-out infinite; }
#ui .mn-get.lvup { color: #7dff8a; } #ui .mn-get.lvup .mn-gl { width: 26px; height: 26px; } #ui .mn-get.lvup u { left: 0; right: 0; text-align: center; color: #7dff8a; }
#ui .mn-layer { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; border-radius: 12px; background: rgba(0, 0, 0, .55); }
#ui .mn-layer[hidden] { display: none; }
#ui .mn-pop { width: 330px; max-width: 92%; padding: 12px 14px; box-sizing: border-box; border-radius: 10px; background: rgba(16, 13, 11, .96); box-shadow: inset 0 0 0 1px #c8aa6e66, 0 10px 30px rgba(0, 0, 0, .6); animation: fx-pop .283s cubic-bezier(.2, .9, .3, 1.2) both; }
#ui :is(.mn-pop, .mnc, .mnw) h4 { margin: 0 0 4px; font-family: var(--title-font, var(--ui-font, GFUIFont)); font-size: 16px; text-align: center; color: #f6f2e6; }
#ui .mn-act { margin-top: 6px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
#ui .mn-box { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 8px 0 10px; }
#ui .mn-box .mn-get { width: 64px; height: 64px; padding: 0; border: 0; font: inherit; cursor: pointer; align-content: start; padding-top: 6px; box-sizing: border-box; }
#ui .mn-box .mn-get u { left: 0; right: 0; bottom: 4px; text-align: center; font-size: 9px; white-space: nowrap; }
#ui .popup.mnc { width: 360px; padding: 10px 14px 12px; }
#ui .mnc-cart { display: grid; place-items: center; height: 46px; }
#ui .mnc-cart img { width: 54px; height: 44px; object-fit: contain; image-rendering: pixelated; animation: mn-roll .5s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes mn-roll { 0% { transform: translateX(-60px) rotate(-6deg); opacity: 0; } }
#ui .mnc .sub { margin: 0 0 8px; font-size: 10.5px; font-weight: 700; text-align: center; color: #9ea3b2; }
#ui .mnc .sub b { color: #e8c979; }
/* 수레 창 오늘 반출 줄(mine.js exLine): 받을 칸 바로 아래 · 상한 닿음 = 붉은빛 한 줄 더 */
#ui .mnc .mn-ex { margin: -2px 0 8px; font-size: 10.5px; font-weight: 800; text-align: center; color: #cfd3dc; font-variant-numeric: tabular-nums; }
#ui .mnc .mn-ex.full { color: #ff8a6a; }
#ui .mnc .mn-ex-full { margin: -4px 0 10px; font-size: 10px; font-weight: 700; text-align: center; color: #d9d4c4; word-break: keep-all; }
#ui .mnc .mn-ex-full b { color: #ff8a6a; font-weight: 900; }
/* cartup-1121 수레 키우기 칸(옛 자동 금고): 왼쪽 = 지금 크기 · 다음 크기 두 줄, 오른쪽 = 영혼석 값 알약(글자 폭) · 가득 참 = 붉은 안내 한 줄 */
#ui .mnc .mnc-full { margin: -2px 0 8px; font-size: 10px; font-weight: 800; line-height: 1.35; text-align: center; color: #ff8a6a; word-break: keep-all; }
#ui .mnc .mnc-up { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; padding: 6px 8px 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .mnc .mnc-cap { display: grid; gap: 2px; min-width: 0; }
#ui .mnc .mnc-cap b { font-size: 11px; font-weight: 800; color: #f6f2e6; white-space: nowrap; }
#ui .mnc .mnc-cap em { font-style: normal; font-size: 10px; font-weight: 700; color: #e8c979; white-space: nowrap; }
#ui .mnc .mnc-up .btn { flex: none; min-width: 84px; gap: 5px; font-size: 13px; font-weight: 900; font-variant-numeric: tabular-nums; }
#ui .mnc .mnc-up .btn img { width: 18px; height: 18px; }
#ui .mn-gets { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 10px; }
#ui .mn-get { position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(160deg, #2c241c, #0e0b08 85%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); animation: fx-cell .42s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--i, 0) * 70ms); }
#ui .mn-get img { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
#ui .mn-get u { position: absolute; right: 3px; bottom: 1px; font-size: 9.5px; font-weight: 900; text-decoration: none; color: #f2f0e7; text-shadow: 0 1px 2px #000; font-variant-numeric: tabular-nums; }
#ui :is(.mn, .mnp, .mnf) img.ph { filter: grayscale(1) brightness(.75); opacity: .7; }


/* ---- 광산섬 가이드 알리미(mine_track.js): 광산섬 · 굴에 있는 동안 메인 알리미 자리 — 줄 모양 = quest.css .qt-row 그대로 */
#hud.mine-on #qtrack { display: none; }
#hud .mn-qtrack[hidden] { display: none; }
#hud .qt-row.k-mine:not(.s-ready) { --qc: #e2a35a; }   /* 광산 배지 = 구리 광석 색(assets/mine/ore_copper.png 밝은 면) — 메인 노랑과 나눔 */
/* 가방 맨 위 보유 광물 한 줄(mine.js oresHtml): 왼쪽 머리(이름 13 · 오늘 반출 n/상한 초록 10 — 0 = 회색 · 상한 = 붉은빛) + 옆으로 끄는 칸 줄(칸 44 · 틈 8 = 가방 격자와 같은 값 · 그림 30) ·
   칸 오른쪽 아래 보유 수 9.5 · 왼쪽 위 초록 +N 9(오늘 반출 — 머리 초록과 같은 색) · 고른 것 표시 없음(누르면 공용 아이템 정보 카드) */
#ui .mnb-ore { flex: none; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
#ui .mnb-ore-h { flex: none; min-width: 58px; display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
#ui .mnb-ore-h b { font-size: 13px; font-weight: 900; color: #fbf6ea; } #ui .mnb-ore-h em { font-style: normal; font-size: 10px; font-weight: 900; color: #7dff8a; font-variant-numeric: tabular-nums; }
#ui .mnb-ore-h em.zero { color: #9ea3b2; } #ui .mnb-ore-h em.full { color: #ff8a6a; }
#ui .mnb-ores { flex: 1; min-width: 0; display: flex; gap: 8px; padding: 5px 2px; overflow-x: auto; overflow-y: hidden; }
#ui .mnb-oc { position: relative; flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; cursor: pointer;
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .42)); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .24); transition: transform .22s cubic-bezier(.2, .9, .3, 1.8); }
#ui .mnb-oc:active { transform: scale(.94); transition-duration: .06s; }
#ui .mnb-oc img { width: 30px; height: 30px; object-fit: contain; image-rendering: pixelated; }
#ui .mnb-oc u { position: absolute; right: 3px; bottom: 1px; text-decoration: none; font-size: 9.5px; font-weight: 900; color: #fbf6ea; text-shadow: 0 1px 2px #000, 0 0 2px #000; font-variant-numeric: tabular-nums; }
#ui .mnb-oc em { position: absolute; left: 3px; top: 1px; font-style: normal; font-size: 9px; font-weight: 900; color: #7dff8a; text-shadow: 0 1px 2px #000, 0 0 2px #000; font-variant-numeric: tabular-nums; }
#ui .mnb-ore-none { margin: 0; font-size: 11.5px; font-weight: 600; color: #9ea3b2; }

/* ---- 광산 보관함 [반출] 창(mine.js outHtml — 작은 팝업 .popup.mnp.mno · 폭 = 공용 440): 증표 줄 10.5 → 세로 목록(줄 48 · 그림 32 · 이름 12 · 보관/대장간 9.5) → 아래 합계 + [반출하기] 알약.
   크기 = hq-ui 메이플 키우기 정본(누름 칸 34 · 틈 8 · 라벨 9 이상) · 보관함 수 = 가방 줄과 같은 흰색 · 대장간 보유 = 대장간 금빛(#f0c27a — 가방 Lv 글자와 같은 색) · 고른 줄 = 초록 테(오늘 반출 초록과 같은 색) */
#ui .mnb-ore-h .mnb-out { min-height: 26px; padding: 0 12px; margin-top: 2px; font-size: 11px; }
#ui .popup.mno { max-height: 392px; }
#ui .mno-cap { flex: none; margin: -4px 0 0; font-size: 10.5px; font-weight: 800; color: #cfd3dc; font-variant-numeric: tabular-nums; }
#ui .mno-cap:empty { display: none; }
#ui .mno-list { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; overflow-x: hidden; padding: 2px; }
#ui .mno-row { flex: none; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px 6px; border-radius: 8px; background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .38)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  animation: fx-cell .3s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(min(var(--i, 0), 10) * 28ms); }
#ui .mno-row.on { box-shadow: inset 0 0 0 2px rgba(125, 255, 138, .6); }
#ui .mno-ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; }
#ui .mno-ic img { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
#ui .mno-nm { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#ui .mno-nm b { font-size: 12px; font-weight: 900; color: #fbf6ea; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .mno-nm small { font-size: 9.5px; font-weight: 800; color: #fbf6ea; font-variant-numeric: tabular-nums; white-space: nowrap; }
#ui .mno-nm small i { font-style: normal; margin-left: 8px; color: #f0c27a; }
#ui .mno-pr { flex: none; display: inline-flex; align-items: center; gap: 2px; min-width: 52px; font-size: 10.5px; font-weight: 900; color: #ffe08a; font-variant-numeric: tabular-nums; }
#ui .mno-pr img { width: 14px; height: 14px; object-fit: contain; image-rendering: pixelated; }
#ui .mno-step { flex: none; display: flex; align-items: center; gap: 8px; }
#ui .mno-step .btn { min-height: 28px; min-width: 40px; padding: 0 8px; font-size: 11px; }
#ui .mno-n { min-width: 28px; text-align: center; font-size: 13px; font-weight: 900; color: #7dff8a; font-variant-numeric: tabular-nums; }
#ui .mno-foot { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .08); }
#ui .mno-sum { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
#ui .mno-sum small { font-size: 10px; font-weight: 800; color: #cfd3dc; font-variant-numeric: tabular-nums; }
#ui .mno-cost { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 900; color: #fbf6ea; font-variant-numeric: tabular-nums; }
#ui .mno-cost img { width: 16px; height: 16px; object-fit: contain; image-rendering: pixelated; }
#ui .mno-cost.lack b { color: #ff8a6a; }
#ui .mno-foot .btn.wait { filter: grayscale(.85) brightness(.72); }
#ui .mno-nm small i.mno-td.full { color: #ff8a80; }   /* mineexp-1120: 그 광물 오늘 칸 다 참 */

/* minebox-1120: 보관함 가득(광물마다 하루 반출 칸 × 7일치) — 더 안 쌓임 */
#ui .mno-nm small .mno-bx.full { color: #ff8a80; }

/* gf:js-pack prototype/Spikes/rt-battle/features/fsclose/fs_close.css */
/* 전체화면 창 오른쪽 위 ✕(fsx-1125) — html.fsx-on 일 때만(기본 켜짐 · 주소 &fsx=0 으로 끔, 시험용). 모양 = 섬 꾸미기 큰 닫기 .skb-bigx 와 같은 값:
   누름 칸 44 원판 · 어두운 반투명 rgba(8,10,14,.62) · 흰 테 2 · 흰 선 ✕ 22(inset 11) · 누르면 .92 로 눌림. 머리 줄 오른쪽 끝, 다른 오른쪽 것(패스 가방 등)은 그 왼쪽. */
html.fsx-on :is(#ui, #hud) .popup.full > .fsx-head { position: relative; padding-right: calc(70px + var(--sr, 0px)); }
html:not(.fsx-on) :is(#ui, #hud) .fsx { display: none; }
html.fsx-on :is(#ui, #hud) .fsx { position: absolute; right: calc(14px + var(--sr, 0px)); top: calc(50% - 22px); width: 44px; height: 44px; padding: 0; margin: 0; border: 0; border-radius: 50%; z-index: 2; pointer-events: auto;   /* 소환 창처럼 머리 줄이 pointer-events: none 인 창에서도 눌림 */
  background: rgba(8, 10, 14, .62); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), 0 2px 6px rgba(0, 0, 0, .45);
  cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: transform .18s cubic-bezier(.3, 1.8, .5, 1); }
html.fsx-on :is(#ui, #hud) .fsx::before { content: ""; position: absolute; inset: 11px; background: #fff;
  -webkit-mask: url(assets/ui/skyisle/icon-close.png) center / contain no-repeat; mask: url(assets/ui/skyisle/icon-close.png) center / contain no-repeat; }
html.fsx-on :is(#ui, #hud) .fsx:active { transform: scale(.92); transition-duration: .06s; background: rgba(255, 255, 255, .2); }

/* gf:js-pack prototype/Spikes/rt-battle/features/skyisle/sky_materials.css */
/* 하늘섬 재료 HUD(features/skyisle sky_materials.js, 2026-10-28) — 고품질UI 규칙(GUI 450 · 알약 28): 어두운 반투명 알약 = 블럭 도트 14x16 + 흰 글자 검은 테 개수.
   자리 = 위 가운데(왼쪽 위 미니맵 · 퀘스트 알리미, 오른쪽 위 메뉴 아이콘 · 채팅 줄과 겹치지 않는다 — 하늘섬 판엔 보스 이름판이 없다). 주운 순간 = 알약 톡 튐 + 숫자 금빛. */
#hud .skm-bar { left: 50%; top: 8px; transform: translateX(-50%); display: flex; gap: 6px; pointer-events: none; }
/* 알약 = 지금 탭에 드는 재료만(sky_materials.js needs — 많아야 3~4개라 화면 폭 안 · 참고작 도깨비의 세계 위 가운데 재화도 3개, dokkaebi-world.md HUD 표). 누르면 이름 말풍선 */
#hud .skm-pill { position: relative; display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px 0 7px; border-radius: 14px;
  background: rgba(8, 10, 14, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 1px 3px #0008; pointer-events: auto; cursor: pointer; touch-action: manipulation; }
#hud .skm-pill:active { transform: scale(.92); transition: transform .06s ease-out; }
#hud .skm-pill .skm-need { font: 700 12px/1 var(--ui-font); font-style: normal; color: rgba(255, 255, 255, .62); margin-left: -3px; }
#hud .skm-pill .skm-need:empty { display: none; }
#hud .skm-pill.lack .skm-n { color: #ff8f84; }   /* 모자람 = 붉은 보유 값(건설 카드 .skb-chip.lack 과 같은 값) */
#hud .skm-pill.in { animation: skm-in .26s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes skm-in { from { opacity: 0; translate: 0 -5px; } }
/* 이름 말풍선 = 알약 아래 가운데 · 어두운 판 + 위 꼬리(건설 판 아이템 정보 결) · 작은 팝 1.025(hq-ui fx-pop) */
#hud .skm-tip { position: absolute; left: 50%; top: calc(100% + 7px); z-index: 2; translate: -50% 0; height: 22px; padding: 0 9px; border-radius: 6px; white-space: nowrap; pointer-events: none;
  display: flex; align-items: center; font: 700 12px/1 var(--ui-font); color: #fff; background: rgba(8, 10, 14, .9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 2px 6px #000a;
  animation: skm-tip .18s cubic-bezier(.2, .9, .3, 1.2) both; }
#hud .skm-tip::before { content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; rotate: 45deg; background: rgba(8, 10, 14, .9); box-shadow: inset 1px 1px rgba(255, 255, 255, .16); }
#hud .skm-tip.out { opacity: 0; transition: opacity .2s; }
@keyframes skm-tip { from { opacity: 0; scale: .9; } 70% { scale: 1.025; } to { scale: 1; } }
#hud .skm-pill .skm-ico { position: static; width: 14px; height: 16px; image-rendering: pixelated; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }
#hud .skm-pill .skm-n { font-size: 14px; min-width: 10px; }
#hud .skm-pill.skm-up { animation: skm-up .42s cubic-bezier(.2, .9, .3, 1.4); }
#hud .skm-pill.skm-up .skm-n { animation: skm-gold .7s ease-out; }
@keyframes skm-up { 0% { transform: scale(1); } 35% { transform: scale(1.18) translateY(-2px); } 100% { transform: scale(1); } }
@keyframes skm-gold { 0% { color: #ffe08a; } 100% { color: #fff; } }
#hud.ctl-editing .skm-bar { opacity: .35; }

/* gf:js-pack prototype/Spikes/rt-battle/features/skyisle/sky_build.css */
/* 하늘섬 내 섬 짓기 화면(features/skyisle sky_build.js, 2026-10-28) — 고품질UI 규칙(GUI 450 · 알약 28 · 글자 폭 알약 · 어두운 반투명 판 · 결정 = 청록 · 보조 = 반투명 — 전체화면 창 01-popup 알약 값):
   자리 = 아래 가운데, 레벨 · 체력 막대(hud .hp top 398) 바로 위 — 왼쪽 조이스틱 · 오른쪽 공격 · 스킬 칸 · 위 가운데 재료 알약(sky_materials)과 겹치지 않는다.
   연출(ui-juice): 누름 60 ms .92 → 뗄 때 튕김 1.06 · 판 열기 283 ms(아래 6 px · .97 → 1, 스크롤 칸 안이 아니라 넘침 튐 없이) · 말풍선 톡 · 가득 = 붉은 맥동 1047 ms. */
#hud .skb { left: 0; top: 0; width: 100%; height: 450px; pointer-events: none; }
#hud .skb > * { position: absolute; }
#hud .skb img { position: static; image-rendering: pixelated; }
#hud .skb-pill { flex: none; height: 28px; padding: 0 14px; border: 0; border-radius: 999px; pointer-events: auto; touch-action: manipulation; cursor: pointer;
  font: 800 12.5px/28px var(--ui-font); white-space: nowrap; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
  background: rgba(8, 10, 14, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 2px 4px rgba(0, 0, 0, .35);
  transition: transform .18s cubic-bezier(.3, 1.8, .5, 1), filter .15s, opacity .15s; }
#hud .skb-pill:active { transform: scale(.92); transition-duration: .06s; transition-timing-function: ease-out; }
#hud .skb-pill.gold { background: linear-gradient(#83c3bf, #548f8c); box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .35); }
#hud .skb-pill.plain { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
/* 놓기 [취소] = 빨강(10-28 사용자 "취소 버튼이 흰색이라서 잘 안보임 빨간색으로") — 밝은 섬 땅 위에 떠 있어 반투명 흰 알약이 묻혔다 */
#hud .skb-pill.red { background: linear-gradient(#e2675b, #a93a32); box-shadow: inset 0 1px rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(80, 10, 6, .5), 0 2px 4px rgba(0, 0, 0, .35); }
#hud .skb-pill.off { filter: grayscale(1); opacity: .45; }
#hud .skb-pill.danger { background: linear-gradient(#a64646, #742c2c); box-shadow: inset 0 1px rgba(255, 255, 255, .25), 0 2px 4px rgba(0, 0, 0, .35); }   /* 위험 = 적갈(01-popup .btn.danger) */
/* [건설](10-29 S2 §2-1 — 옛 [땅 넓히기][짓기] 줄 자리) */
#hud .skb-open { left: 50%; top: 360px; transform: translateX(-50%); display: flex; gap: 8px; }
:is(#hud, #ui) .skb-chip { display: inline-flex; align-items: center; gap: 3px; }
:is(#hud, #ui) .skb-chip img { position: static; flex: none; width: 14px; height: 16px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }   /* position static = HUD 공용 #hud img { position: absolute } 끔(건설 카드 재료 칩도 아이콘이 수 위에 겹쳤다 — 건물 말풍선 .skb-bub img 와 같은 원인) */
:is(#hud, #ui) .skb-chip b { font-size: 12.5px; color: #fff; }
:is(#hud, #ui) .skb-chip.lack b { color: #ff8f84; }   /* 모자람 = 붉은 값(S2 §2-2 #e0605a — 어두운 판 위 글자라 한 단 밝게) */
/* 내 섬 = 사냥할 것이 없다 → 자동 사냥 AUTO 띠(58k, 체력 막대 위 y 378)를 숨긴다 — [땅 넓히기][짓기] 줄(360) · 넓히기 판(352~388)이 같은 자리라
   판 뒤로 AUTO 가 비쳤다(10-28 SKY-6 봇 장면). 58k 가 나중에 꽂는 style 의 #hud .ah-band.on 보다 세게(id 둘) */
#hud #hud-screen.skb-home .ah-band { visibility: hidden; }
/* 넓히기 판: 칸 수(또는 안내) · 합계 · [취소] [확정] */
#hud .skb-panel { flex: none; display: flex; align-items: center; gap: 10px; height: 36px; margin: 0 auto; padding: 0 4px 0 14px; border-radius: 18px;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
#hud .skb-bad { font-size: 11px; font-weight: 700; color: #ffb2a6; white-space: nowrap; }
#hud .skb-n { font-size: 12.5px; font-weight: 700; color: #fff; white-space: nowrap; }
#hud .skb-cost { display: flex; align-items: center; gap: 8px; }
#hud .skb-cost i { font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .7); margin-right: -3px; white-space: nowrap; }
#hud .skb-panel .skb-pill { margin-left: -4px; }
#hud .skb-panel .skb-pill.plain { margin-left: 2px; }
#hud .skb-chip > i { font-style: normal; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .6); margin: 0 0 0 -2px; }   /* 보유/필요의 /필요(흐린 흰) — 보유는 b(모자라면 붉게) */
/* 건설 판(10-29 S2 §2-1 · 11-02 UI2 110 → 128 — 카드 64 × 72 · 그림 40 × 33 이 답답): 아래 끝에 붙은 띠 182 = 큰 탭 줄 40(어두운 띠) + 갈래 · 거르기 줄 34 + 카드 줄 106(카드 100 + 누름 튐 자리 3 · 3) + 2. 닫기 ✕ = 판 위 끝 오른쪽에 튀어나옴. 판 = 검정 62% + 위 1px 빛선(01-popup .popup.full 판 결) · 둥근 모서리 없음.
   열림 = 아래에서 283 ms(고품질UI 창 열기) · 판이 열린 동안 HUD 숨김(재료 알약만 남김 — S2 §4 "[건설] → 판 열림, HUD 숨김") */
#hud .skb-sheet { left: 0; top: 268px; width: 100%; height: 182px; box-sizing: border-box; padding: 0 14px; background: rgba(8, 10, 14, .62); box-shadow: inset 0 1px rgba(255, 255, 255, .12);
  pointer-events: auto; touch-action: none; animation: skb-up .283s cubic-bezier(.2, .8, .3, 1) both; }
#hud #hud-screen.skb-sheet-on > :not(.skb, .skm-bar) { visibility: hidden; }
/* 확장 탭 = 낮은 판 96(큰 탭 줄 40 + 한 줄 56) — 칩도 카드도 없는 탭이 182 판으로 섬 아래 40% 를 덮어 그 아래 후보 칸을 못 눌렀다(isleexp-1119 주호님 "위치와 크기가 ux 흐름에 맞아?").
   갈래 줄 없음 · 안내 칸 48 · 값 판은 한 줄 가운데. 카메라는 판 높이 절반만큼 올라가므로(sky_build_camera lift) 섬이 판 위 남은 자리 가운데에 온다 */
#hud .skb-sheet.slim { top: 354px; height: 96px; }
#hud .skb-sheet.slim .skb-head { display: none; }
#hud .skb-sheet.slim .skb-row { height: 56px; }
#hud .skb-sheet.slim .skb-info { height: 48px; gap: 3px; }
#hud .skb-sheet.slim .skb-auto { height: 36px; padding: 0 18px; font-size: 14px; line-height: 36px; }   /* 첫 행동 = [자동 확장] 한 번 → [확정] — 줄에서 가장 큰 단추 */
/* 화면 오른쪽 위 큰 닫기(판 머리 ✕ 와 같은 동작) — HUD 가 숨은 자리라 겹칠 것 없음 · 누름 칸 44(메이플 키우기 HUD 누름 칸 34 이상) · 어두운 원판 + 흰 테 + 흰 선 ✕ 22 */
#hud .skb-bigx { right: 14px; top: 12px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; pointer-events: auto; cursor: pointer; touch-action: manipulation;
  background: rgba(8, 10, 14, .62); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), 0 2px 6px rgba(0, 0, 0, .45);
  animation: skb-msg-in .283s cubic-bezier(.2, .8, .3, 1) both; transition: transform .18s cubic-bezier(.3, 1.8, .5, 1); }
#hud .skb-bigx[hidden] { display: none; }
#hud .skb-bigx::before { content: ""; position: absolute; inset: 11px; background: #fff; -webkit-mask: var(--ic-close) center / contain no-repeat; mask: var(--ic-close) center / contain no-repeat; }
#hud .skb-bigx:active { transform: scale(.92); transition-duration: .06s; background: rgba(255, 255, 255, .2); }
#hud .skb-head { display: flex; align-items: center; gap: 10px; height: 34px; }
/* 큰 탭 = 판 맨 위 어두운 띠 한 줄(아래 갈래 · 거르기 줄과 영역이 갈림) · 탭마다 옅은 알약 + 1px 테(누를 자리가 하나씩 보임) · 고른 탭만 베이지 · 높이 32(메이플 키우기 탭 줄 26~35) · 최소 80 · 여백 16 */
#hud .skb-tabs { display: flex; align-items: center; gap: 6px; height: 40px; margin: 0 -14px; padding: 0 14px; background: rgba(0, 0, 0, .34); box-shadow: inset 0 -1px rgba(255, 255, 255, .12); overflow-x: auto; scrollbar-width: none; }
#hud .skb-tabs::-webkit-scrollbar { display: none; }
#hud .skb-tab { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 80px; height: 32px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .88); cursor: pointer; touch-action: manipulation;
  font: 800 15px/32px var(--ui-font); white-space: nowrap; transition: transform .18s cubic-bezier(.3, 1.8, .5, 1), background .15s; }   /* 큰 탭 15 > 아래 갈래 · 거르기 13 — 줄 위계 */
#hud .skb-tab .skb-ic { width: 18px; height: 18px; }
#hud .skb-tab.on { background: linear-gradient(#ece4d3, #c9bda6); box-shadow: none; color: #2b261e; }
#hud .skb-tab:active { transform: scale(.92); transition-duration: .06s; }
/* 칩 = 글자 폭 + 여백 12 · 고른 칩 = 금 밑줄(경매장 탭 10-19) */
/* 갈래 묶음 = 옅은 알약 판 하나(거르기 묶음과 따로) */
#hud .skb-chips { flex: none; display: flex; align-items: center; gap: 2px; height: 30px; padding: 0 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#hud .skb-chips:empty { display: none; }
#hud .skb-chipt { flex: none; height: 28px; padding: 0 13px; border: 0; background: none; color: rgba(255, 255, 255, .72); cursor: pointer; touch-action: manipulation;
  font: 700 13px/28px var(--ui-font); white-space: nowrap; box-shadow: inset 0 -2px transparent; transition: color .15s, box-shadow .15s; }
#hud .skb-chipt.on { color: #fff; box-shadow: inset 0 -2px #d9b86a; }
/* 닫기 = 판 위 끝 오른쪽에 튀어나온 ✕ 40(큰 탭 줄 위) · 어두운 원판 + 흰 테 + 흰 선 ✕ — 밝은 섬 땅 위에서도 자리가 보인다 */
#hud .skb-x { position: absolute; right: 14px; top: -46px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(8, 10, 14, .7); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), 0 2px 6px rgba(0, 0, 0, .45); cursor: pointer; touch-action: manipulation;
  transition: transform .18s cubic-bezier(.3, 1.8, .5, 1); }
#hud .skb-x:active { transform: scale(.92); transition-duration: .06s; background: rgba(255, 255, 255, .16); }
#hud .skb-x::before { content: ""; position: absolute; inset: 10px; background: #fff; -webkit-mask: var(--ic-close) center / contain no-repeat; mask: var(--ic-close) center / contain no-repeat; }
/* 카드 줄 = 가로 스크롤(touch_scroll) · 카드 86 × 100 · 간격 8 · 넓은 화면에서도 카드는 그대로(보이는 장 수만 는다) */
#hud .skb-row { display: flex; align-items: center; gap: 8px; height: 106px; padding: 0 2px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
#hud .skb-row::-webkit-scrollbar { display: none; }
#hud .skb-card { flex: none; position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 86px; height: 100px; box-sizing: border-box; padding: 6px 2px 0; border: 0; border-radius: 8px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; font-family: var(--ui-font); cursor: pointer; touch-action: manipulation;
  transition: transform .18s cubic-bezier(.3, 1.45, .5, 1), background .15s; }   /* 뗄 때 넘침 1.04 안쪽(줄 위아래 2 px 안 — 고품질UI 함정 10-24 잘림) */
#hud .skb-card:active { transform: scale(.95); transition-duration: .06s; transition-timing-function: ease-out; }
#hud .skb-card .skb-thumb { width: 64px; height: 53px; image-rendering: auto; flex: none; }   /* 그림 144 × 120 → 54 × 45 매끈한 축소(11-02 UI2 — pixelated 0.28 배 최근접은 깨져 보였다) */
#hud .skb-card .skb-name { max-width: 82px; overflow: hidden; font-size: 12px; font-weight: 800; line-height: 15px; white-space: nowrap; }
#hud .skb-card .skb-costs { display: flex; gap: 3px; }
#hud .skb-card .skb-chip { gap: 1px; }
#hud .skb-card .skb-chip img { width: 13px; height: 14px; }
#hud .skb-card .skb-chip b { font-size: 11px; }
#hud .skb-card .skb-sub { font-size: 11.5px; line-height: 14px; color: rgba(255, 255, 255, .84); white-space: nowrap; }
#hud .skb-card .skb-sub.why { color: #e4dfd2; }
#hud .skb-have { position: absolute; right: 5px; top: 4px; font: 800 11.5px/1 var(--ui-font); font-style: normal; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
/* 잠김 = 카드 판 어둡게 + 썸네일 어둡게(실루엣은 보임) + 가운데 자물쇠 원판 + 이유 한 줄 · 고름 = 크기 그대로 금 테 2px 맥박 1047 ms + 옅은 금빛 바탕 + 이름 금빛(S2 §2-2 · 11-02 UI2 흰 테 → 금 테, 고른 카드가 바로 읽히게) */
#hud .skb-card.lock { background: rgba(0, 0, 0, .38); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
#hud .skb-card.lock .skb-thumb { filter: grayscale(.85) brightness(.5); opacity: .8; }   /* 실루엣은 읽히되 지을 수 있는 카드와 한눈에 갈림(옛 grayscale(1) · .3 = 회색 덩어리) */
#hud .skb-card.lock .skb-name { color: rgba(255, 255, 255, .5); }
#hud .skb-card.lock .skb-have { color: rgba(255, 255, 255, .62); }
#hud .skb-card.lock::after { content: ""; position: absolute; left: 50%; top: 18px; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: rgba(0, 0, 0, .55); }   /* 자물쇠 원판 28(GUI 450 아이콘 칸) */
#hud .skb-card.lock::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 24px; width: 16px; height: 16px; margin-left: -8px; background: #fff; -webkit-mask: var(--ic-lock) center / contain no-repeat; mask: var(--ic-lock) center / contain no-repeat; }   /* 흰 선 자물쇠 14 */
#hud .skb-card.sel { background: rgba(241, 213, 138, .14); animation: skb-sel 1.047s ease-in-out infinite alternate; }
#hud .skb-card.sel .skb-name { color: #f1d58a; }
#hud .skb-row > .in { animation: skb-card-in .42s cubic-bezier(.2, .8, .3, 1) both; }
#hud .skb-row > .skb-card.sel.in { animation: skb-card-in .42s cubic-bezier(.2, .8, .3, 1) both, skb-sel 1.047s ease-in-out .42s infinite alternate; }
/* 확장 · 철거 안내 카드(글자 폭) · 빈 탭 */
#hud .skb-info { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 5px; height: 82px; box-sizing: border-box; padding: 0 12px; border-radius: 6px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; font-family: var(--ui-font); }
#hud .skb-info .skb-sub { font-size: 10.5px; color: rgba(255, 255, 255, .68); white-space: nowrap; }
#hud .skb-info .skb-name { font-size: 12.5px; white-space: nowrap; }
#hud .skb-hint { flex: none; margin: 0 6px; font-size: 11.5px; font-weight: 700; color: rgba(255, 255, 255, .72); white-space: nowrap; }
#hud .skb-empty { flex: none; margin: 0 auto; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .55); white-space: nowrap; }
/* 철거 건물 = 머리 위 흰 선 ✕ 24(붉은 원 · S2 §2-7) */
#hud .skb-rms { left: 0; top: 0; width: 100%; height: 100%; }
#hud .skb-rm { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(196, 60, 52, .94); cursor: pointer; pointer-events: auto; touch-action: manipulation;
  box-shadow: inset 0 0 0 1.5px rgba(255, 220, 210, .55), 0 2px 5px rgba(0, 0, 0, .45); animation: skb-bub-in .32s cubic-bezier(.3, 1.6, .5, 1) backwards; }
#hud .skb-rm::before { content: ""; position: absolute; inset: 5px; background: #fff; -webkit-mask: var(--ic-close) center / contain no-repeat; mask: var(--ic-close) center / contain no-repeat; }
#hud .skb-rm:active { scale: .92; }
/* 놓기: 모형 옆 [짓기] [취소] + 빨간 이유 한 줄(battle 이 자리를 준다) */
#hud .skb-float { left: 0; top: 0; display: grid; grid-template-columns: auto auto; gap: 4px 6px; justify-items: start; }
#hud .skb-why { grid-column: 1 / 3; font-size: 11.5px; font-weight: 700; color: #ffb2a6; white-space: nowrap;
  text-shadow: 1px 0 #000, -1px 0 #000, 0 1px #000, 0 -1px #000; }
/* 안내 · 결과 한 줄(판 바로 위) */
#hud .skb-msg { left: 50%; top: 326px; transform: translateX(-50%); padding: 0 12px; height: 22px; border-radius: 11px; font-size: 12px; line-height: 22px; font-weight: 700; color: #fff; white-space: nowrap;
  background: rgba(8, 10, 14, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#hud .skb-msg.bad { color: #ffb2a6; }
#hud .skb-msg.up { top: 236px; }   /* 건설 판(268) 바로 위 */
#hud .skb-msg.in { animation: skb-msg-in .283s cubic-bezier(.2, .8, .3, 1) both; }
/* 거두기 말풍선(건물 위, battle 이 자리를 준다): 재료 아이콘 + 쌓인 수 · 가득 = 붉은 맥동 */
#hud .skb-bubs { position: absolute; left: 0; top: 0; width: 100%; height: 450px; pointer-events: none; }   /* HUD 첫 자식 = 퀘스트 · 채팅 · 단추 밑 */
#hud .skb-bubs[hidden], #hud.ctl-editing .skb-bubs { display: none; }
/* 넓히기 쓸기 손가락(sky_build.js paintSwipe — 11-02 사용자): 후보 칸 위를 손이 눌러(.9) 쓸고 지나가며 금빛 자국 · 1.6초마다. 그림일 뿐 누름 통과 */
#hud .skb-swipe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
#hud .skb-swipe[hidden] { display: none; }
#hud .skb-sw-hand { position: absolute; left: 0; top: 0; width: 34px; height: 52px; margin: 0 0 0 -12px; background: url("features/quest/guide-hand.png") 0 0 / 100% 100% no-repeat; image-rendering: pixelated;
  transform-origin: 12px 0; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .55)); animation: skb-sw-hand 1.6s cubic-bezier(.45, 0, .3, 1) infinite; }
#hud .skb-sw-trail { position: absolute; left: var(--x0); top: var(--y0); width: var(--len); height: 8px; margin-top: -4px; border-radius: 4px; transform-origin: 0 50%; rotate: var(--ang);
  background: linear-gradient(90deg, rgba(255, 228, 150, 0), rgba(255, 228, 150, .75)); box-shadow: 0 0 10px rgba(255, 220, 140, .6); animation: skb-sw-trail 1.6s cubic-bezier(.45, 0, .3, 1) infinite; }
@keyframes skb-sw-hand { 0% { translate: var(--x0) var(--y0); opacity: 0; scale: 1.1; } 12% { translate: var(--x0) var(--y0); opacity: 1; scale: 1.1; } 22% { translate: var(--x0) var(--y0); scale: .9; }
  72% { translate: var(--x1) var(--y1); opacity: 1; scale: .9; } 82% { translate: var(--x1) var(--y1); scale: 1.1; opacity: 1; } 100% { translate: var(--x1) var(--y1); opacity: 0; scale: 1.1; } }
@keyframes skb-sw-trail { 0%, 22% { scale: 0 1; opacity: 0; } 24% { opacity: 1; } 72% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; } }
#hud .skb-bub { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 3px; height: 26px; padding: 0 9px 0 6px; border: 0; border-radius: 13px; pointer-events: auto; touch-action: manipulation; cursor: pointer;
  background: rgba(8, 10, 14, .66); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 2px 5px rgba(0, 0, 0, .45); color: #fff; font: 800 12.5px/1 var(--ui-font);
  animation: skb-bub-in .32s cubic-bezier(.3, 1.6, .5, 1) backwards; }
#hud .skb-bub::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; translate: var(--tx, 0px) 0; border: 5px solid transparent; border-bottom: 0; border-top-color: rgba(8, 10, 14, .66); }
#hud .skb-bub img { position: static; flex: none; width: 14px; height: 16px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }   /* HUD 공용 #hud img { position: absolute } 를 끈다 — 켜 두면 아이콘이 흐름 밖으로 빠져 글자(×수 · 남은 시간) 위에 겹치고 알약 폭이 아이콘만큼 좁아진다(11-05 사용자 "건물위에 뜨는 툴팁이 망가져있을떄가") · flex none = 그림이 늦게 와도 14 폭 그대로 */
#hud .skb-bub:active { scale: .92; }
#hud .skb-bub.full { background: rgba(150, 34, 28, .82); box-shadow: inset 0 0 0 1px rgba(255, 190, 170, .45), 0 2px 5px rgba(0, 0, 0, .45); }
/* 가득 맥박 = 빛 층(::before)의 opacity 만 돈다(isleperf-1108 — box-shadow 무한 연출은 합성기로 못 넘겨 매 프레임 칠하기를 깨웠다). 모양 · 박자는 옛 skb-full 과 같다 */
#hud .skb-bub.full:not(.go)::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 190, 170, .6), 0 0 9px 2px rgba(255, 90, 70, .55); opacity: 0; will-change: opacity; animation: skb-full 1.047s ease-in-out .32s infinite alternate; }
#hud .skb-bub.full::after { border-top-color: rgba(150, 34, 28, .82); }
/* 솥 재료만 있음 = 누르면 달이기(청록 = 결정 단추색 01-popup.part .popup.full .btn.gold) · 등급 빛과 같은 1047 ms 맥동 */
#hud .skb-bub.go { background: linear-gradient(#83c3bf, #548f8c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 2px 5px rgba(0, 0, 0, .45); animation: skb-bub-in .32s cubic-bezier(.3, 1.6, .5, 1) backwards, skb-go 1.047s ease-in-out .32s infinite alternate; }
#hud .skb-bub.go::after { border-top-color: #548f8c; }
#hud .skb-bub.go::before { content: ""; order: 1; width: 9px; height: 10px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }   /* ▶ 시작 */
#hud .skb-bub.go b { order: 2; }
@keyframes skb-go { to { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 0 9px rgba(131, 195, 191, .8); } }
/* 입구 말풍선(기능 건물 — 대장간): 달이기(.go)와 같은 청록 결정색 · 알약 28(hq-ui) · 건물 아이콘 16 + 이름, ▶ 없음 */
#hud .skb-bub.enter { height: 28px; padding: 0 10px 0 7px; gap: 4px; border-radius: 14px; background: linear-gradient(#83c3bf, #548f8c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 2px 5px rgba(0, 0, 0, .45); animation: skb-bub-in .32s cubic-bezier(.3, 1.6, .5, 1) backwards, skb-go 1.047s ease-in-out .32s infinite alternate; }
#hud .skb-bub.enter::after { border-top-color: #548f8c; }
#hud .skb-bub.enter img { width: 16px; height: 16px; object-fit: contain; image-rendering: auto; }
/* 아직 0 개 · 곁에 서 있음 = 다음 1개까지 남은 시간(누름 없음 · 숫자 폭 고정) */
#hud .skb-bub.wait { pointer-events: none; cursor: default; color: #d8dde6; font-variant-numeric: tabular-nums; }
#hud .skb-bub.wait img { opacity: .55; filter: grayscale(.5) drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }
/* 거둔 재료가 HUD 재료 알약으로 날아감 · +수 */
#hud .skb-fly { position: absolute; left: 0; top: 0; width: 14px; height: 16px; margin: -8px 0 0 -7px; image-rendering: pixelated; pointer-events: none; z-index: 5; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }
#hud .skb-plus { position: absolute; left: 0; top: 0; font-size: 14px; color: #ffe08a; pointer-events: none; z-index: 5; white-space: nowrap;
  text-shadow: 1.5px 0 #000, -1.5px 0 #000, 0 1.5px #000, 0 -1.5px #000; }
#hud.ctl-editing .skb { display: none; }
@keyframes skb-up { from { transform: translateY(100%); } }
@keyframes skb-sel { from { box-shadow: inset 0 0 0 1px var(--g, rgba(255, 255, 255, .14)), 0 0 0 2px rgba(232, 201, 121, .55); } to { box-shadow: inset 0 0 0 1px var(--g, rgba(255, 255, 255, .14)), 0 0 0 2px #f1d58a, 0 0 9px rgba(241, 213, 138, .55); } }
@keyframes skb-card-in { from { opacity: 0; translate: 0 6px; } }
@keyframes skb-msg-in { from { opacity: 0; margin-top: 4px; } }
@keyframes skb-bub-in { from { opacity: 0; scale: .5; } 70% { scale: 1.06; } to { scale: 1; } }
@keyframes skb-full { to { opacity: 1; } }
/* ---- HUD [모두 거두기](sky_collect.js — S2 §2-9): 알약 28 · 흰 손 아이콘 + 글자 · 거둘 것이 있으면 빨간 점 628 ms.
   자리 = 아래 가운데 [건설] 알약 오른쪽 8(같은 줄 y 360). 11-05 사용자 "보스도전이랑 모두 거두기 위치가 같은거 좀 불편함": 오른쪽 위(58)가 [보스 도전](boss.css .boss-go 66)과 겹쳤다 —
   보스 도전 = 어느 판에서나 뜨는 콘텐츠 입구라 오른쪽 위에 두고, 섬 행동(건설 · 거두기)은 아래 한 줄로. [건설] 알약 폭 70(ko · en 75) → 가운데 + 35 + 8 */
#hud .skc { position: absolute; left: 0; top: 0; width: 100%; height: 450px; pointer-events: none; }
#hud .skc-all { position: absolute; left: calc(50% + 43px); top: 360px; display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 14px 0 8px; border: 0; border-radius: 999px; pointer-events: auto; touch-action: manipulation; cursor: pointer;
  font: 800 12.5px/28px var(--ui-font); white-space: nowrap; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
  background: rgba(8, 10, 14, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 2px 4px rgba(0, 0, 0, .35);
  transition: transform .18s cubic-bezier(.3, 1.8, .5, 1), opacity .15s; animation: skb-bub-in .32s cubic-bezier(.3, 1.6, .5, 1) backwards; }
#hud .skc-all:active { transform: scale(.92); transition-duration: .06s; }
#hud .skc-all.off { opacity: .45; }
#hud .skc-all img { position: static; flex: none; width: 18px; height: 18px; }   /* HUD 공용 #hud img { position: absolute } 를 끈다 — 켜 두면 아이콘이 글자 '모' 위에 겹친다(10-30 사용자 "모두 거두기 버튼도 깨져 있고") */
#hud .skc-dot { position: absolute; right: 1px; top: 1px; width: 8px; height: 8px; border-radius: 50%; background: #ff4b3a; box-shadow: 0 0 0 1.5px rgba(8, 10, 14, .8); animation: skc-dot .628s ease-in-out infinite alternate; }
#hud #hud-screen.skb-sheet-on > .skc { visibility: hidden; }
@keyframes skc-dot { to { scale: 1.25; opacity: .7; } }
/* ---- 건물 창(sky_bldg_win.js — S2 §2-8): 전체화면 창 공용 틀(01-popup .popup.full) 위에 차이만. 머리 = 이름 + Lv(금빛) · 효과 줄 32 · 몸 = 생성 칸 */
#ui .popup.full.skw > .popup-head > h2::before { display: none; }   /* 건물마다 흰 선 아이콘이 아직 없다(그림 = 몸의 건물 썸네일) */
#ui .skw .skw-lv { margin-left: 8px; font-size: 13px; color: #f1d58a; }
#ui .skw .skw-up { flex: none; display: flex; align-items: center; gap: 14px; min-height: 32px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 12px; }
#ui .skw .skw-next { white-space: nowrap; }
#ui .skw .skw-upbtn { flex: none; display: inline-flex; align-items: center; gap: 8px; }
#ui .skw .skw-upbtn .skb-chip b { color: #fff; font-size: 12px; }
#ui .skw .skw-upbtn .skb-chip.lack b { color: #ffd0c8; }
#ui .skw .skw-why { color: rgba(255, 255, 255, .55); font-size: 12px; white-space: nowrap; }
#ui .popup.full.skw .skw-uplock { flex: none; display: inline-flex; align-items: center; gap: 5px; }   /* 숙련 잠김 = 흐린 [자물쇠 레벨업](숫자는 옆 숙련 막대) */
#ui .popup.full.skw .skw-uplock .skb-ic { width: 12px; height: 12px; color: #f1d58a; }
#ui .skw .skw-gen { display: flex; align-items: center; gap: 18px; max-width: 540px; padding: 12px 18px; border-radius: 10px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  animation: fx-card-in .42s cubic-bezier(.2, .8, .3, 1) both; }
#ui .skw .skw-pic { position: relative; flex: none; display: block; width: 96px; height: 80px; }
#ui .skw .skw-pic canvas { width: 96px; height: 80px; image-rendering: pixelated; }
#ui .skw .skw-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
#ui .skw .skw-item { display: flex; align-items: center; gap: 6px; font-size: 14px; }
#ui .skw .skw-item img { width: 14px; height: 16px; image-rendering: pixelated; }
#ui .skw .skw-rate, #ui .skw .skw-left { font-size: 11.5px; color: rgba(255, 255, 255, .7); white-space: nowrap; }
#ui .skw .skw-barline { display: flex; align-items: center; gap: 8px; }
#ui .skw .skw-bar { flex: 1; max-width: 220px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
#ui .skw .skw-fill { display: block; height: 100%; background: linear-gradient(90deg, #6fb2ad, #a8d8cf); transition: width .3s ease-out; }
#ui .skw .skw-stock { font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
#ui .skw .skw-stock.full { color: #ff8f84; }
#ui .skw .skw-collect { flex: none; }
/* 생성기 = 작은 팝업(11-02 사용자 "돌/흙 생성기 창은 전체화면일 필요 없이 팝업식"): 어두운 작은 판(18-popup-dark) · 폭 = 내용 · 닫기 ✕ 오른쪽 · [거두기] 밑 [💎 n 바로 끝내기] */
#ui .popup.skw.skw-pop { width: 440px; box-sizing: border-box; }
#ui .popup.skw.skw-pop > .popup-head > .close { order: 3; margin-left: auto; }
#ui .popup.skw.skw-pop > .popup-head > .skw-bag { display: none; }
#ui .popup.skw.skw-pop .skw-up { gap: 10px; }
#ui .popup.skw.skw-pop .skw-next { white-space: normal; flex: 1; min-width: 0; }
#ui .popup.skw.skw-pop .skw-gen { max-width: none; gap: 14px; padding: 10px 12px; }
#ui .skw .skw-btns { flex: none; display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
#ui .skw .skw-rush1 { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
#ui .skw .skw-rush1[hidden] { display: none; }
#ui .skw .skw-rush1 img { width: 14px; height: 14px; }
#ui .skw .skw-rush1 b.lack { color: #ffb4a8; }
#ui .skw .skw-dh { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }   /* 꾹 누름 수확(genfix-1105) — 길게 누름 메뉴 · 글자 고름 · 스크롤 안 함 */
/* 레벨업 0.6 초(S2 §2-11 · DESIGN §0-3): 0 ~ .15 눌림 .95 → .15 ~ .35 빛 고리 + 1.08 → .35 ~ .6 "Lv n" 진주빛 명조 떠오름 + 흐림 */
#ui .skw .skw-fx { position: absolute; left: 50%; top: 42%; z-index: 3; translate: -50% -50%; font: 900 34px/1 "ZoneTitle", var(--ui-font); color: #f6f1e6; white-space: nowrap; pointer-events: none; opacity: 0;
  text-shadow: 0 0 10px rgba(255, 236, 190, .85), 0 0 22px rgba(255, 220, 150, .45); }
#ui .skw.lvup .skw-fx { animation: skw-lv .6s ease-out both; }
#ui .skw.lvup .skw-pic { animation: skw-press .6s cubic-bezier(.3, 1.4, .5, 1) both; }
#ui .skw .skw-pic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; border: 2px solid rgba(255, 236, 180, .95); opacity: 0; pointer-events: none;
  box-shadow: 0 0 14px rgba(255, 226, 160, .7), inset 0 0 10px rgba(255, 226, 160, .5); }
#ui .skw.lvup .skw-pic::after { animation: skw-ring .6s ease-out both; }
@keyframes skw-press { 0% { scale: 1; } 25% { scale: .95; } 58% { scale: 1.08; } 100% { scale: 1; } }
@keyframes skw-ring { 0%, 25% { opacity: 0; scale: .5; } 58% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1.35; } }
@keyframes skw-lv { 0%, 50% { opacity: 0; translate: -50% -30%; } 70% { opacity: 1; translate: -50% -50%; } 100% { opacity: 0; translate: -50% -85%; } }
/* ---- 작은 팝업(철거 확인 — 18-popup-dark 어두운 판이 저절로): 폭 330 · 높이 = 내용 · 제목 15 · 단추 28(설정 창 10-24 값) */
#ui .popup.skr { width: 330px; box-sizing: border-box; }
/* 모두 거두기 받은 것 팝업(W19 — 작은 팝업 = 나인패치 판 그대로 · 칸 56 · 아이콘 40 · 등장 톡) */
#ui .popup.skgot { width: 360px; box-sizing: border-box; }
#ui .skgot-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 2px 0 0; padding: 4px 4px 6px; max-height: 218px; overflow-y: auto; }   /* 안 여백 = 칸 튐 1.12 가 스크롤 테에 안 잘리게 */
/* 칸 = 차례 튐(ui_fx fx-got-in · 70 ms 간격) · 뒤 빛(등급색 --ac, 재료 = 금빛) · 반짝 한 줄 · 다 세면 수 톡 · 큰 수 · 높은 등급 = 빛 맥동(fx-got-pulse) + 테 빛(fx-got-edge) */
#ui .skgot-c { --ac: #ffd884; position: relative; width: 60px; height: 66px; display: grid; grid-template-rows: 44px 18px; place-items: center; border-radius: 8px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  animation: fx-got-in .42s calc(.12s + var(--i, 0) * .07s) cubic-bezier(.2, .9, .3, 1.35) both; }
#ui .skgot-c::before { content: ""; position: absolute; left: 50%; top: 22px; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--ac) 55%, transparent) 0 22%, transparent 64%); opacity: 0; animation: skgot-glow .9s calc(.2s + var(--i, 0) * .07s) ease-out both; }
#ui .skgot-c::after { content: ""; position: absolute; inset: 0; border-radius: 8px; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .5) 50%, transparent 62%) -60px 0 / 180% 100% no-repeat; animation: skgot-shine .6s calc(.34s + var(--i, 0) * .07s) ease-out both; }
#ui .skgot-c > img, #ui .skgot-c > .skl-ph { position: relative; z-index: 1; }
#ui .skgot-c img { width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; }
#ui .skgot-c img.px { width: auto; height: auto; max-width: 20px; max-height: 20px; zoom: 2; }   /* 도트 아이콘 파일 = 정수 2배(sky_life pic px) */
#ui .skgot-c .skl-ph { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font: 900 14px/1 var(--ui-font); font-style: normal; color: #fff; background: #5a6070; }
#ui .skgot-c b { position: absolute; z-index: 2; right: 3px; top: 28px; font-size: 11px; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 #000, 0 0 2px #000; }
#ui .skgot-c.cnt b { animation: skgot-num .26s cubic-bezier(.3, 1.6, .5, 1); }
#ui .skgot-c.big b { color: #ffe27a; }
#ui .skgot-c.big.cnt { animation: fx-got-in .42s calc(.12s + var(--i, 0) * .07s) cubic-bezier(.2, .9, .3, 1.35) both, fx-got-edge 1.047s ease-in-out infinite; }
#ui .skgot-c.big.cnt::before { opacity: 1; animation: fx-got-pulse 1.047s ease-in-out infinite; }
#ui .skgot-c em { max-width: 58px; font-size: 10px; font-style: normal; color: #e8e2d4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .skgot-list.fx-skip .skgot-c, #ui .skgot-list.fx-skip .skgot-c::before, #ui .skgot-list.fx-skip .skgot-c::after { animation-delay: 0s; animation-duration: .01s; }
#ui .skgot-list.fx-skip .skgot-c.big.cnt::before { animation-duration: 1.047s; }
/* [확인] = 칸이 HUD 오른쪽 위로 날아감(--dx · --dy = 창 배치 px — sky_collect gotPress) */
#ui .skgot-list.skgot-out { overflow: visible; }
#ui .skgot-list.skgot-out .skgot-c { animation: skgot-fly .36s calc(var(--o, 0) * .04s) cubic-bezier(.5, 0, .75, .4) both; }
#ui .skgot-used { font-size: 12px; color: #f2c46b; margin: 4px 0 0; }
@keyframes skgot-glow { 0% { opacity: 0; transform: scale(.4); } 40% { opacity: 1; transform: scale(1.1); } 100% { opacity: .55; transform: scale(1); } }
@keyframes skgot-shine { 0% { opacity: 1; background-position: -60px 0; } 100% { opacity: 0; background-position: 70px 0; } }
@keyframes skgot-num { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes skgot-fly { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(var(--dx, 300px), var(--dy, -200px)) scale(.35); opacity: 0; } }
#ui .sks-title { margin: 0 0 4px; font-size: 15px; font-weight: 800; }
#ui .sks-title small { font-size: 11px; font-weight: 700; color: #f1d58a; }
#ui .sks-desc { margin: 0 0 10px; font-size: 11.5px; color: var(--ink-soft); }
#ui .sks-btns { display: flex; justify-content: flex-end; gap: 8px; }

/* ---- 신사(sky_shrine.js, 11-01) — 이야기 장 칸: 장 번호 · 제목 · [보기] | 잠김 "Lv90 보스 처치 후" */
#ui .skw .sks { display: flex; flex-wrap: wrap; gap: 10px; }
#ui .skw .sks-ch { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 168px; padding: 10px 14px; border: 0; border-radius: 10px; text-align: left;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(241, 213, 138, .45); color: #fff; cursor: pointer; animation: fx-card-in .42s cubic-bezier(.2, .8, .3, 1) both; }
#ui .skw .sks-ch small { font-size: 10px; font-weight: 800; color: #f1d58a; }
#ui .skw .sks-ch b { font-size: 15px; font-weight: 900; }
#ui .skw .sks-ch span { font-size: 11px; font-weight: 700; color: #f1d58a; }
#ui .skw .sks-ch.lock { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
#ui .skw .sks-ch.lock b, #ui .skw .sks-ch.lock span { color: rgba(255, 255, 255, .5); }
#ui .skw .sks-ch:active { transform: scale(.96); }
/* ---- 꾸미기(sky_deco.js, 11-01 D3 — S2 §2-2 · §2-3 · §2-6 · §2-7 · §2-11) */
#hud .skd-card { box-shadow: inset 0 0 0 1px var(--g, rgba(255, 255, 255, .14)); }   /* 소품 카드 테 = 등급색(목공소 Lv 1 일반 … 5 전설) */
#hud .skd-card.zero .skb-thumb, #hud .skd-card.zero .skd-floor, #hud .skd-card.zero .skd-bg { opacity: .35; filter: grayscale(.6); }   /* 0개 = 흐림 + [만들기][사기] */
#hud .skd-card.zero .skb-name { color: rgba(255, 255, 255, .6); }
#hud .skd-two { display: flex; gap: 3px; margin-top: 1px; }
#hud .skd-two em { flex: none; height: 21px; padding: 0 7px; border-radius: 999px; background: rgba(255, 255, 255, .16); font: 800 11px/21px var(--ui-font); font-style: normal; color: #fff; white-space: nowrap; }
#hud .skd-two em:first-child { background: linear-gradient(#83c3bf, #548f8c); }
#hud .skd-two em:active { scale: .92; }
#hud .skd-floor, #hud .skd-bg { flex: none; width: 50px; height: 50px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); image-rendering: pixelated; }
#hud .skd-bg { width: 64px; height: 48px; }
/* 잠긴 배경 = 얻는 곳 문구가 길다(겨울 축제 첫 눈송이 거두기(계정당 한 번)) → 썸네일 54 × 30 · 문구 카드 폭 안에서 줄바꿈 3줄(11-05 옆 카드로 넘쳐 겹침) */
#hud .skd-card.bg.lock .skd-bg { height: 36px; }
#hud .skd-card.bg.lock .skb-sub { max-width: 80px; font-size: 10.5px; white-space: normal; word-break: keep-all; overflow-wrap: anywhere; text-align: center; line-height: 12px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
#hud .skd { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
#hud #hud-screen.skb-sheet-on > .skd { visibility: visible; }   /* 판이 열리면 HUD 를 숨기는 규칙(> :not(.skb, .skm-bar))보다 세게 — 장식 철거 ✕ · [되돌리기]는 판과 함께 보인다(sky_edit .ske 와 같다) */
#hud .skd-marks { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
#hud .skd-undo { position: absolute; left: 50%; top: 226px; translate: -50% 0; display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 4px 0 14px; border-radius: 18px;
  background: rgba(8, 10, 14, .72); font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; pointer-events: auto; animation: skb-msg-in .2s ease-out both; }
#hud .skd-undo[hidden] { display: none; }
#hud .skd-ring { position: absolute; left: 0; top: 0; width: 44px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 246, 220, .8); pointer-events: none; }
#hud .skb-rot { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; padding: 0 10px; }
#hud .skb-rot .skb-ic { width: 16px; height: 16px; }   /* ↻ 90° (소품만 — 건물 3D 는 돌지 않는다) */
/* 소품 거르기 알약(sky_deco filtNav — 11-02 UI2): 칩 줄 뒤 1px 구분선 + 글자 폭 알약 24 · 고른 것 = 금 테 · 해당 0 = 흐림. 좁은 화면은 이 줄만 가로 끌기(touch_scroll) */
#hud .skd-filt { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 4px; height: 30px; padding: 0 2px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }   /* 거르기 묶음 = 어두운 알약 판(갈래 묶음과 따로) */
#hud .skd-filt::-webkit-scrollbar { display: none; }
#hud .skd-filt[hidden] { display: none; }
#hud .skd-f { flex: none; height: 26px; padding: 0 11px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .72); cursor: pointer; touch-action: manipulation;
  font: 700 13px/26px var(--ui-font); white-space: nowrap; transition: transform .18s cubic-bezier(.3, 1.8, .5, 1), background .15s, color .15s; }
#hud .skd-f.on { background: rgba(217, 184, 106, .24); color: #f6e2a8; box-shadow: inset 0 0 0 1px #d9b86a; }
#hud .skd-f.none { opacity: .38; }
#hud .skd-f:active { transform: scale(.92); transition-duration: .06s; transition-timing-function: ease-out; }

/* ---- 건물 창 [💎 바로 끝내기](sky_bldg_win.js, LANES-S2 D3) — 11-01 D4b: 베이지 알약 위 빨간 값이 안 읽힘 → 어두운 윤곽 알약(도깨비의 세계 §9 윤곽 알약 · 다이아 하늘색 #8fc6ff 테),
   값 = 흰 굵은 숫자 · 모자라면 숫자만 옅은 빨강(#ff9d92, 어두운 판 위에서 읽힘). .popup.full .btn(베이지)을 덮으려고 .popup.full.skw 로 */
#ui .popup.full.skw .skw-rush { flex: none; display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; padding: 0 14px 0 10px; background: rgba(8, 12, 20, .55); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(143, 198, 255, .55), 0 0 8px rgba(143, 198, 255, .18); font-size: 12px; }
#ui .popup.full.skw .skw-rush img { flex: none; width: 16px; height: 16px; object-fit: contain; }
#ui .popup.full.skw .skw-rush b { font-size: 13px; font-weight: 900; font-variant-numeric: tabular-nums; }
#ui .popup.full.skw .skw-rush b.lack { color: #ff9d92; }
#ui .popup.full.skw .skw-rush span { color: rgba(255, 255, 255, .86); font-weight: 700; }
#ui .skw .skw-rush.off { filter: grayscale(1); opacity: .5; }

/* ---- 가방 기타 탭 칩(sky_bag.js) — 칩 줄 24 px 만큼 칸 상자를 내린다 */
#ui .inv-pane > .skg-chips { top: 59px; height: 24px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
#ui .inv-pane > .skg-chips[hidden] { display: none; }
#ui .skg-chip { flex: none; height: 24px; padding: 0 8px; border: 0; background: none; color: rgba(255, 255, 255, .62); font: 700 11.5px/24px var(--ui-font); cursor: pointer; touch-action: manipulation; white-space: nowrap; }
#ui .skg-chip.on { color: #fff; box-shadow: inset 0 -2px #d9b86a; }
#ui .skg-chip:active { scale: .92; }
#ui .items-pane.skg-on > .grid-box { top: 87px; height: 225px; }
#ui .inv-skplace[hidden] { display: none; }

/* ---- 흰 선 아이콘 16(S2 §6 — Codex 시트 1장 → assets/ui/skyisle/icon-*.png 48 px 흰색 + 알파, 글자색 마스크). 탭 16 · 상호작용 12 · 망치 · ✕ · 자물쇠 · ↻ · 눈송이(축제 띠 — D13) */
:is(#hud, #ui) { --ic-expand: url(assets/ui/skyisle/icon-expand.png); --ic-build: url(assets/ui/skyisle/icon-build.png); --ic-deco: url(assets/ui/skyisle/icon-deco.png); --ic-remove: url(assets/ui/skyisle/icon-remove.png); --ic-sit: url(assets/ui/skyisle/icon-sit.png); --ic-light: url(assets/ui/skyisle/icon-light.png); --ic-sign: url(assets/ui/skyisle/icon-sign.png); --ic-sound: url(assets/ui/skyisle/icon-sound.png); --ic-play: url(assets/ui/skyisle/icon-play.png); --ic-view: url(assets/ui/skyisle/icon-view.png); --ic-guest: url(assets/ui/skyisle/icon-guest.png); --ic-hammer: url(assets/ui/skyisle/icon-hammer.png); --ic-close: url(assets/ui/skyisle/icon-close.png); --ic-lock: url(assets/ui/skyisle/icon-lock.png); --ic-rotate: url(assets/ui/skyisle/icon-rotate.png); --ic-snow: url(assets/ui/skyisle/icon-snow.png); }
:is(#hud, #ui) .skb-ic { display: inline-block; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; vertical-align: middle; }
:is(#hud, #ui) .skb-ic.i-expand { --ic: var(--ic-expand); }
:is(#hud, #ui) .skb-ic.i-build { --ic: var(--ic-build); }
:is(#hud, #ui) .skb-ic.i-deco { --ic: var(--ic-deco); }
:is(#hud, #ui) .skb-ic.i-remove { --ic: var(--ic-remove); }
:is(#hud, #ui) .skb-ic.i-sit { --ic: var(--ic-sit); }
:is(#hud, #ui) .skb-ic.i-light { --ic: var(--ic-light); }
:is(#hud, #ui) .skb-ic.i-sign { --ic: var(--ic-sign); }
:is(#hud, #ui) .skb-ic.i-sound { --ic: var(--ic-sound); }
:is(#hud, #ui) .skb-ic.i-play { --ic: var(--ic-play); }
:is(#hud, #ui) .skb-ic.i-view { --ic: var(--ic-view); }
:is(#hud, #ui) .skb-ic.i-guest { --ic: var(--ic-guest); }
:is(#hud, #ui) .skb-ic.i-hammer { --ic: var(--ic-hammer); }
:is(#hud, #ui) .skb-ic.i-close { --ic: var(--ic-close); }
:is(#hud, #ui) .skb-ic.i-lock { --ic: var(--ic-lock); }
:is(#hud, #ui) .skb-ic.i-rotate { --ic: var(--ic-rotate); }
:is(#hud, #ui) .skb-ic.i-snow { --ic: var(--ic-snow); }
#hud .skb-open .skb-pill { display: inline-flex; align-items: center; gap: 5px; }
#hud .skd-act { position: absolute; left: 5px; top: 4px; width: 14px; height: 14px; color: rgba(255, 255, 255, .8); }
/* 11-04 W23: 지을 수 있는 건물 = 빨간 점(ui-juice 628 ms 맥동 · morph mf-dot 과 같은 #e5484d) — [건설] 알약 · [건물] 탭 · 칩 */
#hud :is(.skb-open .skb-pill, .skb-tab, .skb-chipt).dot { position: relative; }
#hud :is(.skb-open .skb-pill, .skb-tab, .skb-chipt).dot::after { content: ""; position: absolute; right: 2px; top: 1px; width: 7px; height: 7px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .55); animation: skb-dot .628s ease-in-out infinite alternate; pointer-events: none; }
#hud .skb-open .skb-pill.dot::after { right: -2px; top: -3px; width: 9px; height: 9px; }
@keyframes skb-dot { to { transform: scale(.75); } }
/* 11-20 주호님 "꾸미기 점수 건설 모두 수확 버튼 크기가 너무 작고 건물 안에 같이 있어서 보이지 않는데": 섬 행동 줄 = 섬 그림 위(360)에서 화면 아래(경험치 줄 416 바로 위)로 · 높이 28 → 36 · 글자 12.5 → 14.5 · 진한 판 + 금 테두리 */
#hud .skb-open { top: 372px; gap: 10px; }
#hud .skb-open .skb-pill, #hud .skb .skb-pill.skds-hud, #hud .skc-all { height: 36px; padding: 0 18px; font-size: 14.5px; line-height: 36px; }
#hud .skc-all { top: 372px; left: calc(50% + 58px); padding-left: 10px; background: rgba(8, 10, 14, .82); box-shadow: inset 0 0 0 1.5px rgba(232, 201, 121, .7), 0 3px 6px rgba(0, 0, 0, .5); }
#hud .skc-all img { width: 22px; height: 22px; }
#hud .skb .skb-pill.skds-hud { top: 372px; right: calc(50% + 58px); box-shadow: inset 0 0 0 1.5px rgba(232, 201, 121, .7), 0 3px 6px rgba(0, 0, 0, .5); }
#hud .skb .skds-hud .skds-hl { font-size: 13px; }
#hud .skb-open .skb-pill .skb-ic { width: 18px; height: 18px; }
#hud .skb-open .skb-pill:not(.red):not(.danger) { background: rgba(8, 10, 14, .82); box-shadow: inset 0 0 0 1.5px rgba(232, 201, 121, .7), 0 3px 6px rgba(0, 0, 0, .5); }   /* [건설]도 두 알약과 같은 진한 판 + 금 테두리(11-20 캡처: 혼자 흐림) */

/* gf:js-pack prototype/Spikes/rt-battle/features/skyisle/sky_decor_score.css */
/* 꾸미기 점수(sky_decor_score.js — 11-06 decorq-1106). 작은 팝업 = 18-popup-dark 판 그대로(sky_build .skr · .skgot 와 같은 틀) · 폭 300 · 큰 수 28 · 줄 22 */
/* 장식 탭 칩 줄 끝 단추 = 칩과 같은 글자 폭 알약 + 금 별 · 칩과 떨어지게 왼쪽 여백 */
#hud .skb-chipt.skb-score { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; color: #f1d58a; }
#hud .skb-chipt.skb-score:active { transform: scale(.92); }
#hud .skds-star, #ui .skds-star { display: inline-block; flex: none; width: 12px; height: 12px; background: currentColor;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
#ui .popup.skds { width: 300px; box-sizing: border-box; }
#ui .skds-big { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px 0 8px; color: #ffd884; }
#ui .skds-big .skds-star { width: 24px; height: 24px; }
#ui .skds-big.done .skds-star { animation: skds-pop .42s cubic-bezier(.3, 1.6, .5, 1); }
#ui .skds-n { font-size: 28px; font-weight: 900; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 #000, 0 0 8px rgba(255, 216, 132, .55); }
#ui .skds-rows { display: grid; gap: 3px; margin: 0 0 8px; }
#ui .skds-row { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; background: rgba(0, 0, 0, .3); font-size: 11.5px;
  animation: fx-got-in .32s cubic-bezier(.2, .9, .3, 1.35) both; }
#ui .skds-row:nth-child(2) { animation-delay: .07s; } #ui .skds-row:nth-child(3) { animation-delay: .14s; }
#ui .skds-row span { flex: 1; color: #e8e2d4; }
#ui .skds-row b { color: #ffd884; font-variant-numeric: tabular-nums; }
#ui .skds-ic { width: 8px; height: 8px; border-radius: 2px; background: #a8c97f; }
#ui .skds-row.floor .skds-ic { background: #c9b48a; } #ui .skds-row.set .skds-ic { background: #e6a6c8; }
#ui .skds-wait { text-align: center; margin: 10px 0 14px; }
@keyframes skds-pop { 0% { scale: 1; } 45% { scale: 1.35; } 100% { scale: 1; } }
/* 섬 HUD 상시 점수(islandux-1109): [건설] 알약 옆 같은 알약 28 · 금 별 + 흐린 이름 + 흰 수. 값이 바뀌면 톡 튐(.bump 1.06 — ui-juice) */
/* 자리 = [건설](가운데 · 폭 70 ko / 75 en) 왼쪽 8 — 오른쪽 [모두 수확](sky_build.css .skc-all left 가운데 + 43)과 거울. 11-09 겹침 신고로 .skb-open 줄 밖으로 뺐다 */
#hud .skb-pill.skds-hud { right: calc(50% + 46px); top: 360px; display: inline-flex; align-items: center; gap: 5px; padding: 0 12px; }
#hud .skb-pill.skds-hud .skds-star { color: #f1d58a; filter: drop-shadow(0 0 3px rgba(255, 216, 132, .55)); }
#hud .skds-hud .skds-hl { font-weight: 700; font-size: 11.5px; color: rgba(255, 255, 255, .78); }
#hud .skds-hud .skds-hn { font-weight: 900; color: #ffe2a0; font-variant-numeric: tabular-nums; }
#hud .skb-pill.skds-hud.bump { animation: skds-hud-bump .42s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes skds-hud-bump { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
#hud .skb-pill.skds-hud[hidden] { display: none; }
/* 프로필 꾸미기 점수 칸(islandux-1109): 유저 정보 숫자 줄 · 내 프로필 숫자 칸 셋째 — 금빛 수(별 점수 창과 같은 색) */
#ui .pf-decor b, #ui .mp-decor b { color: #ffd884; }
#ui :is(.pf-decor, .mp-decor)[hidden] { display: none; }

/* gf:js-pack prototype/Spikes/rt-battle/features/skyisle/sky_visit.css */
/* 하늘섬 남의 섬 방문(features/skyisle sky_visit.js, 2026-10-28) — 고품질UI(GUI 450): [내 섬으로] = sky_build 알약(.skb-pill 높이 28 · 글자 폭 · 어두운 반투명)을
   그 자리(아래 가운데 360 — 남의 섬에서는 [땅 넓히기][짓기]가 숨는다)에. 연출: 줄이 283 ms 동안 아래 6 px · 흐림 → 제자리(sky_build 판 열기와 같은 값) · 누름 .92 → 튕김(skb-pill). */
#hud .skv { position: absolute; left: 0; top: 0; width: 100%; height: 450px; pointer-events: none; }
#hud .skv[hidden] { display: none; }
#hud .skv-bar { position: absolute; left: 50%; top: 360px; transform: translateX(-50%); display: flex; gap: 8px; animation: skv-in .283s cubic-bezier(.2, .8, .3, 1) both; }
#hud.ctl-editing .skv { display: none; }
/* 남의 섬 = 사냥할 것이 없다 → 자동 사냥 AUTO 띠(58k, y 378)를 숨긴다 — [내 섬으로](360)와 같은 자리(sky_build .skb-home 과 같은 까닭) */
#hud #hud-screen:has(> .skv:not([hidden])) .ah-band { visibility: hidden; }
@keyframes skv-in { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* gf:js-pack prototype/Spikes/rt-battle/features/skyisle/sky_life.css */
/* 하늘섬 건물 기능 창 몸(2026-11-01 D4) — 대기열(sky_queue.js) · 밭 · 우리(sky_farm.js) · 경매장 상점(sky_market.js) · 신사 변신 줄(sky_shrine.js).
   11-01 D4b 다시 짬(사용자 판정 "UI 퀄리티가 허접하다" — LANE-D4b-UI.md): 전체 폭 두 단 = 왼쪽 진행 판(칸 · 거두기) | 오른쪽 고르기 격자.
   근거 = 제작 · 농장 흥행작 공통 틀(쿠키런 킹덤 잼 가게 · 로스트아크 제작 공방 · 검은사막M 가공 · 라이프애프터 작업대 실제 캡처 10장 — .local/tmp/ref-craft/notes.md):
   왼쪽 세로 대기열 · 오른쪽 제작법(네모 그림 칸 · 이름 · 보유/필요 · 시간) · 잠긴 줄 = 자물쇠 + "Lv n" · 큰 [모두 거두기] 하나.
   크기 = 고품질UI(GUI 450): 칸 48 · 아이콘 40(도트 파일 = 정수 2배) · 단추 = 글자 폭 알약 28 · 강조 = 금(#f1d58a) · 끝남 = 초록(#9fe3a0) · 모자람 = 붉음(#ff8f84) · 그림 칸 바탕 = 등급색(--g). */

/* ---- 창 틀(.skw-life = 넓은 몸을 쓰는 생활 건물 창 — sky_bldg_win.js) */
#ui .popup.full.skw.skw-life { --full-a: rgba(12, 14, 18, .86); --full-b: rgba(8, 9, 12, .92); }   /* 뒤 섬 장면이 덜 비치게 — 칸 · 글자가 장면 색에 묻혔다(D4 캡처) */
#ui .skw .skw-bag { display: none; }
#ui .skw.skw-life .skw-bag { display: block; flex: none; margin-left: auto; width: 24px; height: 24px; background: var(--ink); opacity: .82; -webkit-mask: url(assets/icons/slot-bag.png) center / contain no-repeat; mask: url(assets/icons/slot-bag.png) center / contain no-repeat; }   /* 거둔 것이 날아드는 곳(창이 열리면 HUD 가 숨어 K.fly 가 안 보인다) */
#ui .skw.skw-life .skw-bag.got { animation: skl-bag .42s cubic-bezier(.3, 1.6, .5, 1); }
#ui .skw .skw-hpic, #ui .skw .skw-mxw { display: none; }
#ui .skw.skw-life .skw-up { gap: 12px; min-height: 48px; margin-bottom: 10px; padding-bottom: 8px; }
#ui .skw.skw-life .skw-hpic { display: block; width: 58px; height: 48px; }
#ui .skw.skw-life .skw-hpic canvas { width: 58px; height: 48px; }
#ui .skw.skw-life .skw-hpic::after { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
#ui .skw.skw-life .skw-mxw:not([hidden]) { display: flex; flex: none; flex-direction: column; gap: 4px; width: 168px; }
#ui .skw .skw-mxl { font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .72); white-space: nowrap; font-variant-numeric: tabular-nums; }
#ui .skw .skw-mxbar { position: relative; display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
#ui .skw .skw-mxbar > i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #c9a24e, #f1d58a); transform-origin: left; transition: transform .45s cubic-bezier(.2, .8, .3, 1); }
#ui .skw.skw-life .skw-next { flex: 1; min-width: 0; color: rgba(255, 255, 255, .72); }
#ui .skw.skw-life .skw-act { flex: none; margin-left: auto; display: flex; align-items: center; }
/* 섬 등급 잠김 = 제목 자리가 아니라 오른쪽 어두운 알약(자물쇠 + 글) */
#ui .skw .skw-why { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); }
#ui .skw .skw-why .skb-ic { width: 13px; height: 13px; color: #f1d58a; }
#ui .skw.skw-life .skw-body { position: relative; flex: 1; min-height: 0; display: flex; }

/* ---- 공용 */
#ui .skw .skl { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; min-height: 0; }
#ui .skw .skl-2 { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 14px; }
#ui .skw .skl-side, #ui .skw .skl-main { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
#ui .skw .skl-side { padding: 10px; border-radius: 12px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .skw .skl-h { flex: none; margin: 0; font-size: 12px; font-weight: 800; color: rgba(255, 255, 255, .78); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* 알림 = 몸 아래 가운데 어두운 알약(뜰 때만) */
#ui .skw .skl-msg { position: absolute; left: 50%; bottom: 4px; z-index: 4; max-width: 70%; height: 28px; padding: 0 14px; border-radius: 999px; background: rgba(8, 10, 14, .86); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 2px 6px rgba(0, 0, 0, .4);
  font-size: 12px; font-weight: 700; line-height: 28px; color: #f6f1e6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; opacity: 0; translate: -50% 6px; transition: opacity .18s, translate .18s; }
#ui .skw .skl-msg.in { opacity: 1; translate: -50% 0; }
#ui .skw .skl-msg.bad { color: #ff8f84; }
/* 그림 칸(48) — 바탕 = 등급색 둥근 빛 · 도트 파일은 정수 2배 */
#ui .skw .skl-cell { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 8px;
  background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--g, #77808c) 42%, transparent), rgba(0, 0, 0, .38) 78%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g, #9aa3ad) 55%, transparent); }
#ui .skw .skl-cell > em { position: absolute; right: 3px; bottom: 1px; font: 900 10.5px/1 var(--ui-font); font-style: normal; color: #fff; text-shadow: 0 1px 2px #000, 0 0 2px #000; font-variant-numeric: tabular-nums; }
#ui .skw .skl-ico { flex: none; width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }
#ui .skw .skl-ico.px { width: auto; height: auto; max-width: 22px; max-height: 22px; zoom: 2; filter: drop-shadow(0 .5px .5px rgba(0, 0, 0, .6)); }
#ui .skw .skl-ci, #ui .skw .skb-chip img.skl-ci { flex: none; width: 14px; height: 16px; object-fit: contain; image-rendering: pixelated; }
#ui .skw .skl-ci.px, #ui .skw .skb-chip img.skl-ci.px { width: auto; height: auto; max-width: 20px; max-height: 20px; }
/* 그림 전 = 이름 첫 글자 동그라미(종류 색) */
#ui .skw .skl-ph { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font: 900 15px/1 var(--ui-font); font-style: normal; color: #fff; filter: none;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .35), transparent 60%), var(--k, #6d7684); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .5); }
#ui .skw .skl-ico.skl-ph { width: 32px; height: 32px; }
#ui .skw .skl-ci.skl-ph { width: 15px; height: 15px; font-size: 9px; }
#ui .skw .skl-ph.k-crop { --k: #6f9d4e; }
#ui .skw .skl-ph.k-goods { --k: #c49a5a; }
#ui .skw .skl-ph.k-proc { --k: #8a7a68; }
#ui .skw .skl-ph.k-food { --k: #d0774e; }
#ui .skw .skl-ph.k-animal { --k: #b88a5c; }
#ui .skw .skl-ph.k-mat { --k: #7c8590; }
#ui .skw .skl-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 36px 0; font-size: 12px; color: rgba(255, 255, 255, .55); }
#ui .skw .skl-empty img { width: 40px; height: 40px; opacity: .45; }
/* 값 칩 — 보유/필요(보유 = 옅게) */
#ui .skw .skb-chip b i { font-style: normal; font-weight: 700; color: rgba(255, 255, 255, .55); }
#ui .skw .skb-chip.lack b, #ui .skw .skb-chip.lack b i { color: #ff8f84; }
/* 막대(칸 · 밭 공용) */
#ui .skw .skl-bar { position: relative; display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
#ui .skw .skl-bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #6fb2ad, #a8d8cf); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .4s linear; }
/* 칩 줄(레벨 탭 — 글자 + 금 밑줄, 경매장 탭과 같은 결) */
#ui .skw .skb-chips { flex: none; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
#ui .skw .skb-chipt { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 12px; border: 0; background: none; color: rgba(255, 255, 255, .66); cursor: pointer; touch-action: manipulation;
  font: 700 12px/28px var(--ui-font); white-space: nowrap; box-shadow: inset 0 -2px transparent; transition: color .15s, box-shadow .15s; }
#ui .skw .skb-chipt.on { color: #fff; box-shadow: inset 0 -2px #d9b86a; }
#ui .skw .skb-chipt.lock { color: rgba(255, 255, 255, .35); }
#ui .skw .skb-chipt .skb-ic { width: 12px; height: 12px; }
/* 누름 = 60 ms .95 → 뗄 때 튐(고품질UI §1) · 받아들여짐 = .pop */
#ui .skw :is(.skq-slot, .skq-rc, .skf-plot, .skf-card, .skm-n) { transition: transform .18s cubic-bezier(.3, 1.8, .5, 1); }
#ui .skw :is(.skq-slot, .skq-rc, .skf-plot, .skf-card, .skm-n):active { transform: scale(.95); transition-duration: .06s; }
#ui .skw :is(.skq-slot, .skq-rc, .skf-plot, .skf-card).pop .skl-cell, #ui .skw .skf-plot.pop .skf-face, #ui .skw .btn.pop, #ui .skw .skm-n.pop { animation: skl-pop .32s cubic-bezier(.3, 1.4, .5, 1) both; }   /* 커지는 튐은 칸 안 그림 · 단추만(스크롤 칸 덩어리에 걸면 잘림 — 고품질UI §6) */
/* 거둔 것 날아가기(L.flyFrom — 창 .skw 좌표) */
#ui .skw .skl-fly { position: absolute; left: 0; top: 0; z-index: 6; width: 40px; height: 40px; margin: -20px 0 0 -20px; object-fit: contain; image-rendering: pixelated; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); }
#ui .skw .skl-plus { position: absolute; left: 0; top: 0; z-index: 6; font: 900 14px/1 var(--ui-font); color: #f1d58a; text-shadow: 0 1px 2px #000, 0 0 3px rgba(0, 0, 0, .8); white-space: nowrap; pointer-events: none; }

/* ---- 대기열(목공소 · 석공소 · 풍차 · 식당) — 빈 칸 · 빈 밭의 .empty 는 공용 빈 목록 규칙(windows.css #ui .empty min-height 100)을 받지 않게 min-height 0 */
#ui .skw .skq-slots { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; scrollbar-width: none; }
#ui .skw .skq-slot { position: relative; flex: none; display: flex; align-items: center; gap: 10px; height: 58px; min-height: 0; padding: 0 10px 0 5px; border: 0; border-radius: 10px; text-align: left; color: #fff; cursor: pointer; touch-action: manipulation; overflow: hidden;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
#ui .skw .skq-sinfo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#ui .skw .skq-snm { font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .skw .skq-st { font-size: 11px; font-weight: 800; color: rgba(255, 255, 255, .72); font-variant-numeric: tabular-nums; }
#ui .skw .skq-slot.wait { opacity: .66; }
#ui .skw .skq-slot.done { box-shadow: inset 0 0 0 1.5px #9fe3a0, 0 0 10px rgba(159, 227, 160, .3); }
#ui .skw .skq-slot.done .skq-st { color: #9fe3a0; }
#ui .skw .skq-slot.done .skq-st::before { content: "✓ "; }
#ui .skw .skq-slot.done .skl-bar::after { background: linear-gradient(90deg, #7fd07f, #c9efa0); }
#ui .skw .skq-slot.done::after, #ui .skw .skf-plot.done::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); background-size: 260% 100%; animation: skl-shine 1.8s ease-in-out infinite; pointer-events: none; }   /* 다 됨 = 빛 훑기 */
#ui .skw .skq-slot.arm { box-shadow: inset 0 0 0 1.5px #ff8f84; }
#ui .skw .skq-slot.arm .skq-snm { color: #ff8f84; }
#ui .skw .skq-slot.empty { justify-content: center; gap: 6px; height: 40px; background: none; box-shadow: none; outline: 1px dashed rgba(255, 255, 255, .2); outline-offset: -1px; color: rgba(255, 255, 255, .45); }
#ui .skw .skq-plus { font-size: 18px; font-weight: 400; line-height: 1; }
#ui .skw .skq-slot.empty .skq-snm { font-size: 11px; font-weight: 700; }
/* 못 연 칸(PLAN 2-4 — sky_queue lockHtml): Lv n 에 열림 · 💎값(지금 살 칸 = 다이아 색 테) · 멤버십(금색) */
#ui .skw .skq-slot.lock { justify-content: center; gap: 6px; height: 40px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .5); font-size: 11px; font-weight: 800; }
#ui .skw .skq-slot.lock .skb-ic { width: 13px; height: 13px; }
#ui .skw .skq-lk { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
#ui .skw :is(.skq-slot, .skp-q).lock img { width: 14px; height: 14px; object-fit: contain; }
#ui .skw :is(.skq-slot, .skp-q).lock.k-dia.next { color: #9fd8ff; box-shadow: inset 0 0 0 1.5px rgba(120, 200, 255, .55), 0 0 8px rgba(120, 200, 255, .2); }
#ui .skw :is(.skq-slot, .skp-q).lock.k-member { color: #f1d58a; }
#ui .skw .skq-take { flex: none; align-self: flex-start; }
#ui .skw .skq-take[hidden] { display: none; }
/* 제작법 격자(두 열 · 카드 60) */
#ui .skw .skq-list { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 6px; align-content: start; overflow-y: auto; scrollbar-width: none; padding-bottom: 34px; }   /* 아래 34 = 알림 알약 자리 */
#ui .skw .skq-rc { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 10px 0 6px; border: 0; border-radius: 10px; text-align: left; color: #fff; cursor: pointer; touch-action: manipulation;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); animation: fx-card-in .36s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 22ms); }
#ui .skw .skq-nm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#ui .skw .skq-nm b { font-size: 12.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .skw .skq-nm > small { display: flex; align-items: center; gap: 3px; font-size: 10.5px; color: rgba(255, 255, 255, .62); font-variant-numeric: tabular-nums; white-space: nowrap; }
#ui .skw .skq-nm > small .skb-ic { width: 11px; height: 11px; }
#ui .skw .skq-cost { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
#ui .skw .skq-cost .skb-chip b { font-size: 11px; font-variant-numeric: tabular-nums; }
#ui .skw .skq-rc.lack .skq-nm b { color: rgba(255, 255, 255, .78); }
#ui .skw .skq-rc.lock { opacity: .45; }
#ui .skw .skq-rc.lock .skl-cell { filter: grayscale(.8); }
#ui .skw .skq-rc.lock .skq-nm > small { color: #f1d58a; }
#ui .skw .skq-rc.focus { box-shadow: inset 0 0 0 1.5px #e8c979, 0 0 10px rgba(232, 201, 121, .4); }
#ui .skw .skq-list.still .skq-rc { animation: none; }

/* ---- 밭 · 우리 */
/*   11-01 D4c 장면: 사용자 "단순 그리드 슬롯이면 좀 재미없잖아 실제 밭을 꾸민다는느낌으로" — 바탕 · 흙 · 싹 · 여물통 = Codex 도트(assets/ui/skyisle) 정수 2배(작물 · 동물 아이콘 .px zoom 2 와 같은 배율) */
/*   11-05 농장 화면 다시 짬(사용자 "농장 UI 도 퀄리티 너무 처참하다"): 근거 = 헤이데이 밭(다 자람 = 키 큰 작물 + ✓ · 한 번 눌러 거둠) · 쿠키런 킹덤 생산 창(칸 ✓ · 남은 시간 시계 · 그림 칸 ×n) ·
     타운쉽 밭(작물 그림 + 시간 고르기) 실제 화면 공통 → 장면은 판 폭에 맞춰 줄고 늘며(JS scale) 칸은 2×2 부터 크게 · 자라는 칸 = 시간 고리 + 남은 시간 알약 · 빈 칸 = 고른 작물 흐린 그림 + "+" ·
     작물 칸 = 그림 칸 ×보유 · 시계 + 시간 · 거두면 ×n · 아래 = [농장 상점] 왼쪽 · 주 행동 하나만 청록 */
#ui .skw .skf.skl-2 { grid-template-columns: auto minmax(196px, 1fr); }   /* 왼쪽 폭 = 장면 폭(sky_farm.js 가 무대 비율로 정함) */
#ui .skw .skf-side { padding: 0; background: none; box-shadow: none; }
#ui .skw .skf-scene { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: 12px; background: #6aa53c; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 2px 8px rgba(0, 0, 0, .35); }
#ui .skw .skf-stage { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }   /* 크기 = sky_farm.js 가 장면 폭 · 높이에 맞춘 scale(위아래 울타리 7%까지만 잘림) */
#ui .skw .skf-stage.k-plot { width: 512px; height: 342px; }
#ui .skw .skf-stage.k-pen { width: 466px; height: 312px; }
#ui .skw .skf-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; }
#ui .skw .skf-plot { position: absolute; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; touch-action: manipulation; }
#ui .skw .skf-face { position: absolute; left: 0; right: 0; display: flex; align-items: flex-end; justify-content: center; transform-origin: 50% 100%; }
#ui .skw .skf-t { position: absolute; left: -10px; right: -10px; text-align: center; font-size: 10px; font-weight: 800; line-height: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 3px rgba(0, 0, 0, .6); }
#ui .skw .skf-plot > .skl-bar { position: absolute; height: 3px; background: rgba(0, 0, 0, .45); }
#ui .skw .skf-plot > .skl-bar::after { background: linear-gradient(90deg, #8fcf6a, #c9ef9a); }
#ui .skw .skf-plot.empty .skl-bar, #ui .skw .skf-plot.idle .skl-bar { visibility: hidden; }
#ui .skw .skf-plot.empty .skf-t { color: rgba(255, 255, 255, .72); }
#ui .skw .skf-plot.idle .skf-t { color: #f1d58a; }
#ui .skw .skf-plot.done .skf-t { color: #b8f0b4; }
#ui .skw .skf-scene .skf-plot.done::after { content: none; }   /* 칸 판 빛 훑기 대신 그림이 튐 */
#ui .skw .skf-plus { font-size: 20px; font-weight: 400; line-height: 1; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
/* 밭 = 육각 흙 두둑 벌집 4열 × 3줄(최대 12칸 — 안 연 칸은 풀밭 육각 + 다음 칸만 자물쇠) · 칸 자리 = sky_farm.js HEXAT(열 58 · 줄 46) · 타일 1배 37×27 정수 2배 74×54
     벌집 상자 248×169 를 바탕 그림(farm_bg 256×171 × 2)의 빈 풀밭 가운데(가로 51% · 세로 57%)에 둔다 */
#ui .skw .skf-stage.k-plot .skf-field { position: absolute; left: calc(51% - 124px); top: calc(57% - 84px); width: 248px; height: 169px; filter: drop-shadow(0 2px 0 rgba(40, 60, 20, .3)); }
#ui .skw .k-plot .skf-plot { position: absolute; width: 74px; height: 54px; min-height: 0; }   /* 빈 칸 .empty = 공용 빈 목록 min-height 100 막음 */
#ui .skw .k-plot .skf-plot > :not(.skf-soil) { pointer-events: none; }   /* 벌집은 줄이 겹침 — 아래 칸 작물 그림이 위 칸 누름을 가로채지 않게 누름은 칸(흙 타일)만 */
#ui .skw .k-plot .skf-soil { left: 0; top: 0; bottom: auto; width: 100%; height: 100%; filter: none; }
#ui .skw .skf-soil { position: absolute; left: 4px; bottom: 13px; width: 84px; height: 54px; image-rendering: pixelated; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .22)); }
#ui .skw .k-plot .skf-face { bottom: 24px; }
#ui .skw .skf-sp { width: 34px; height: 30px; image-rendering: pixelated; animation: skl-sway 1.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
#ui .skw .skf-yg { width: 38px; height: 32px; image-rendering: pixelated; animation: skl-sway 1.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }   /* 어린 잎(1배 19×16 정수 2배) */
#ui .skw .k-plot .skf-plot.grow .skl-ico { animation: skl-sway 1.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
#ui .skw .k-plot .skf-plot.done .skf-face { animation: skl-hop .9s ease-in-out infinite; filter: drop-shadow(0 0 3px rgba(190, 245, 170, .95)); }
#ui .skw .k-plot .skf-plot.empty .skf-face { bottom: 22px; }
#ui .skw .skf-ghost { display: flex; opacity: .4; filter: grayscale(.25); }   /* 빈 칸 = 누르면 심을 작물(고른 작물) 흐린 그림 */
#ui .skw .k-plot .skf-plus { position: absolute; left: 50%; top: 13px; z-index: 1; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: rgba(250, 248, 240, .92); color: #3d6b2a;
  font-size: 17px; font-weight: 900; line-height: 19px; text-align: center; text-shadow: none; box-shadow: 0 1px 3px rgba(0, 0, 0, .45); animation: skf-beat 1.6s ease-in-out infinite; }
/* 자라는 칸 = 흙 아래 시간 알약(시간 고리 + 남은 시간) · 빈 칸 · 다 된 칸은 숨김 */
#ui .skw .k-plot .skf-tag { position: absolute; left: 50%; bottom: 3px; translate: -50% 0; display: flex; align-items: center; gap: 3px; height: 16px; padding: 0 6px 0 3px; border-radius: 999px;
  background: rgba(10, 14, 8, .74); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
#ui .skw .k-plot .skf-plot:is(.empty, .done) .skf-tag { display: none; }
#ui .skw .k-plot .skf-t { position: static; color: #fff; line-height: 16px; }
#ui .skw .skf-ring { flex: none; width: 11px; height: 11px; border-radius: 50%; background: conic-gradient(#b5e48c calc(var(--p, 0) * 1turn), rgba(255, 255, 255, .22) 0);
  -webkit-mask: radial-gradient(circle, transparent 2.4px, #000 2.9px); mask: radial-gradient(circle, transparent 2.4px, #000 2.9px); }
/* 다 된 칸 = ✓ 방울(초록 = 끝남) + 반짝 셋 — 한 번 누르면 거둠 */
#ui .skw .k-plot .skf-ok { position: absolute; right: 6px; top: -4px; z-index: 2; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(#93dc6e, #4f9c3d);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .92), 0 2px 4px rgba(0, 0, 0, .4); animation: skl-hop .9s ease-in-out infinite; pointer-events: none; }
#ui .skw .k-plot .skf-ok::after { content: ""; position: absolute; left: 7px; top: 3.5px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2.5px 2.5px 0; rotate: 45deg; }
#ui .skw .skf-gl { position: absolute; z-index: 1; width: 12px; height: 12px; pointer-events: none; opacity: 0; animation: skf-tw 1.5s ease-in-out infinite; background: #fff8d8;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); filter: drop-shadow(0 0 2px #fff); }   /* 네 갈래 반짝(＋ 심기 표시와 다른 모양) */
#ui .skw .skf-gl:nth-of-type(2) { left: 14px; top: 4px; }
#ui .skw .skf-gl:nth-of-type(3) { left: 54px; top: 18px; animation-delay: .5s; }
#ui .skw .skf-gl:nth-of-type(4) { left: 8px; top: 26px; animation-delay: 1s; }
#ui .skw .skf-plot.locked .skf-soil { filter: brightness(.86) saturate(.8); }
#ui .skw .skf-lk { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 9.5px; font-weight: 800; color: rgba(255, 255, 255, .88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .85); font-variant-numeric: tabular-nums; }
#ui .skw .skf-lk .skb-ic { width: 13px; height: 13px; color: #f1d58a; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .7)); }
@keyframes skf-tw { 0%, 100% { opacity: 0; scale: .3; } 50% { opacity: 1; scale: 1; } }
@keyframes skf-beat { 0%, 70%, 100% { scale: 1; } 82% { scale: 1.12; } }
/* 우리: 마당 410×184(울 안 · 위 여물통 줄 아래) — 칸 = 발 자리(left · top) 기준 56×66 */
#ui .skw .skf-stage.k-pen .skf-field { position: absolute; left: 28px; top: 92px; width: 410px; height: 184px; }
#ui .skw .k-pen .skf-plot { width: 56px; height: 66px; margin: -48px 0 0 -28px; }
#ui .skw .k-pen .skf-face { top: 0; height: 48px; }
#ui .skw .skf-flip { display: inline-flex; }
#ui .skw .skf-plot.right .skf-flip { scale: -1 1; }   /* 그림은 왼쪽을 봄 */
#ui .skw .skf-plot.mob.walk .skf-face { animation: skf-bob .3s ease-in-out infinite alternate; }   /* 걸을 때 통통 */
#ui .skw .skf-plot.mob.fly .skf-face { height: 36px; animation: skf-bob .5s ease-in-out infinite alternate; }   /* 벌 = 떠서 맴돎 */
#ui .skw .skf-scene .skf-plot.mob::after { content: ""; position: absolute; inset: auto; left: 15px; top: 43px; width: 26px; height: 7px; border-radius: 50%; background: rgba(20, 40, 10, .3); background-size: auto; animation: none; z-index: -1; }   /* 발 그림자 */
#ui .skw .skf-plot.mob.idle .skf-face { filter: grayscale(.7) brightness(.85); }   /* 배고픔 = 멈춤 · 회색 */
#ui .skw .k-pen .skf-plot .skf-out { right: -4px; top: -12px; width: 28px; height: 28px; }
#ui .skw .skf-out.hungry img.skl-ci.px { width: 24px; height: 22px; max-width: none; max-height: none; }
#ui .skw .k-pen .skf-t { top: 49px; }
#ui .skw .k-pen .skf-plot > .skl-bar { left: 12px; right: 12px; top: 62px; }
#ui .skw .k-pen .skf-plot.empty .skf-plus { position: absolute; left: 8px; top: 6px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .18); line-height: 37px; text-align: center; box-sizing: border-box; }
#ui .skw .skf-plot.alt::before { content: ""; position: absolute; left: 6px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: #f1d58a; box-shadow: 0 0 0 1px rgba(0, 0, 0, .4); }
#ui .skw .skf-out { position: absolute; right: 2px; top: 2px; z-index: 1; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(250, 248, 240, .94); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); animation: skl-hop .9s ease-in-out infinite; }   /* 다 됨 = 생산물 말풍선 · 배고픔 = 여물통 말풍선 */
#ui .skw .skf-out .skl-ci.px { max-width: 18px; max-height: 18px; }
@keyframes skf-bob { to { translate: 0 -3px; } }
#ui .skw .skf-act { flex: none; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
#ui .skw .skf-gap { flex: 1; }
#ui .skw .skf-act .btn[hidden] { display: none; }
#ui .skw .skf-act .btn .skl-ci.px { max-width: 16px; max-height: 16px; }
#ui .skw .skf-act .btn.gold:not(.off) { animation: skf-cta 1.4s ease-in-out infinite alternate; }   /* 주 행동 = 청록 알약 하나 + 옅은 빛 숨쉬기 */
#ui .skw .skf-shopi { flex: none; width: 15px; height: 15px; background: currentColor; -webkit-mask: url(assets/icons/menu-shop.png) center / contain no-repeat; mask: url(assets/icons/menu-shop.png) center / contain no-repeat; }
@keyframes skf-cta { from { box-shadow: 0 0 0 rgba(131, 195, 191, 0); } to { box-shadow: 0 0 10px rgba(131, 195, 191, .55); } }
#ui .skw .skf-h1 { margin-right: auto; font-size: 12px; font-weight: 800; color: rgba(255, 255, 255, .78); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* ---- 요리솥 */
/*   11-01 D4d 장면: 사용자 "얘도 다른 농장이나 밭처럼 큰요리솥하나잇고 요리하는시각적이고그 보여주면 좋을듯" · "요리솥 약간 보글보글 끓는느낌? 으로 해보고, 뚜껑도 열고 닫아서 음식재료넣는식으로 밑에 불도 고품질이펙트로 한번 넣어봐"
     바탕 pot_bg 247×167 · 뚜껑 pot_lid 109×54 = Codex 도트 정수 2배. 자리(GUI px) = 1배 그림에서 잰 값 × 2: 국 면 가운데 (195, 104) 반지름 92×45 · 아궁이 구멍 160–228 × 188–230 · 탁자 위 344–478 × 118–190.
     몸 높이가 약 230 이라 무대를 위에 붙인다(솥 테 · 들린 뚜껑이 안 잘리고 아래 바닥만 잘림).
     불 = 고품질이펙트 위계: 큰 = EmberGen 시뮬 불 혀 3겹(pot_fire.jpg = 이펙트랩 염화요원검 버프 재료 game_fire_loop_1 64칸 그대로 · 자기 색 그대로 · 화면 더하기) · 중간 = 아궁이 불빛 · 솥 배 빛(고르지 않은 깜박임) · 작은 = 불티 9(크기 · 수명 · 흐름 저마다).
     끓음 = 국 거품 10(크기 7–18 · 1.1–2.1 s 저마다 부풀다 톡) · 김 5 · 7 초 한 바퀴(뚜껑 열림 .35 s → 재료 3 첨벙 → 2.3 s 닫힘 쿵 → 세 번 들썩이며 김 뿜음). */
#ui .skw .skp.skl-2 { grid-template-columns: auto minmax(0, 1fr); }
#ui .skw .skf-scene.k-pot { width: 494px; background: #b98a55; }
#ui .skw .skf-stage.k-pot { width: 494px; height: 334px; top: 0; translate: -50% 0; }
#ui .skw .skp-stage > * { position: absolute; pointer-events: none; }
#ui .skw .skp-stage > .skf-bg { z-index: 0; }
/* 아궁이 불 */
#ui .skw .skp-glow { left: 104px; top: 140px; width: 180px; height: 150px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 168, 70, .62), rgba(255, 120, 40, .26) 48%, transparent); mix-blend-mode: screen; animation: skp-flick 2.3s linear infinite; }
#ui .skw .skp-belly { left: 112px; top: 132px; width: 168px; height: 52px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 130, 40, .4), transparent); mix-blend-mode: screen; animation: skp-flick 1.7s linear -.6s infinite; }
#ui .skw .skp-fire { left: 160px; top: 184px; width: 68px; height: 46px; overflow: hidden; border-radius: 34px 34px 2px 2px / 30px 30px 2px 2px; }
#ui .skw .skp-fl { position: absolute; top: -42px; width: 44px; height: 102px; background: url(assets/ui/skyisle/pot_fire.jpg) 0 0 / 352px 816px; mix-blend-mode: screen; transform-origin: 50% 88%;
  animation: skp-fx var(--t) steps(8) infinite, skp-fy calc(var(--t) * 8) steps(8) infinite; animation-delay: var(--d, 0s); transition: opacity .6s, scale .6s; }
#ui .skw .skp-fl.f1 { left: -8px; --t: .27s; --d: -.9s; scale: .9; }
#ui .skw .skp-fl.f2 { left: 12px; --t: .3s; --d: -2.1s; scale: -1.12 1.12; }
#ui .skw .skp-fl.f3 { left: 32px; --t: .25s; --d: -.3s; scale: .85; }
#ui .skw .skp-dark { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, rgba(120, 30, 10, .35), rgba(24, 12, 8, .82) 70%); opacity: 0; transition: opacity .6s; }
#ui .skw .skp-sparks > i { position: absolute; left: var(--x); top: 196px; width: var(--s, 2px); height: var(--s, 2px); background: #ffe2a0; box-shadow: 0 0 3px 1px rgba(255, 150, 50, .85); opacity: 0; animation: skp-spark var(--t) ease-out var(--d) infinite; }
/* 국 · 거품 */
#ui .skw .skp-soup { left: 103px; top: 59px; width: 184px; height: 90px; border-radius: 50%; overflow: hidden; }
#ui .skw .skp-soup > i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: calc(var(--s) * .8); margin: calc(var(--s) * -.4) 0 0 calc(var(--s) * -.5); border-radius: 50%; box-sizing: border-box; border: 2px solid #ffe09a; background: radial-gradient(circle at 35% 30%, rgba(255, 250, 220, .9) 0 18%, rgba(255, 214, 120, .45) 22%); opacity: 0; animation: skp-bub var(--t) ease-in var(--d) infinite; }
/* 재료 넣기 바퀴 — .skp-cyc 안은 새 요리가 시작될 때 다시 만들어 처음부터 */
#ui .skw .skp-cyc { inset: 0; }
#ui .skw .skp-cyc > * { position: absolute; }
#ui .skw .skp-in { margin: -18px 0 0 -18px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; opacity: 0; }
#ui .skw .skp-in .skl-ico.px { max-width: 18px; max-height: 18px; }
#ui .skw .skp-ring { margin: -7px 0 0 -18px; width: 36px; height: 14px; border-radius: 50%; box-sizing: border-box; border: 2px solid rgba(255, 236, 170, .95); opacity: 0; }
#ui .skw .skp-drop { margin: -2px 0 0 -2px; width: 4px; height: 4px; background: #ffc45c; box-shadow: 0 0 0 1px rgba(150, 70, 10, .5); opacity: 0; }
#ui .skw .skp-lid { left: 86px; top: 40px; width: 218px; height: 108px; image-rendering: pixelated; transform-origin: 50% 0; filter: drop-shadow(0 3px 0 rgba(36, 12, 0, .5)); }   /* 11-01 사용자 "뚜겅이 위에 덜 닫혀있는데?" · "뚜껑이 너무 지금 측면임" — 위에서 본 뚜껑(국 면과 같은 2:1) lid_d 109×54, 1배 (43, 24) = 국 면 다 가림(잰 값) → 사용자 "솥뚜껑좀더위로올려바 살짝" 1배 2칸 위 (43, 22) → "위로지금올린만큼한번더올려봐" 2칸 더 (43, 20) */
#ui .skw .skp-puff { left: 96px; top: 96px; width: 48px; height: 32px; margin: -16px 0 0 -24px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); filter: blur(1px); opacity: 0; }
#ui .skw .skp-puff.r { left: 296px; }
#ui .skw .skp-steam > i { position: absolute; left: var(--x); top: 92px; width: var(--s); height: var(--s); margin-left: calc(var(--s) * -.5); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, .4) 55%, rgba(255, 255, 255, 0)); filter: blur(1.5px); opacity: 0; animation: skp-steam var(--t) ease-out var(--d) infinite; }
#ui .skw .skp-stage.on :is(.skp-in, .skp-ring, .skp-drop) { animation: var(--a) 7s linear calc(.55s + var(--i) * .3s) infinite; }
#ui .skw .skp-stage.on .skp-in { --a: skp-in; }
#ui .skw .skp-stage.on .skp-ring { --a: skp-ring; }
#ui .skw .skp-stage.on .skp-drop { --a: skp-drop; --dx: -12px; }
#ui .skw .skp-stage.on .skp-drop.r { --dx: 12px; }
#ui .skw .skp-stage.on .skp-lid { animation: skp-lid 7s ease-in-out infinite;   /* 열림 = 들려 뒤로 젖혀짐(세로 .62) */ }
#ui .skw .skp-stage.on .skp-puff { animation: skp-puff 7s ease-out infinite; }
/* 쉼(끓이는 요리 없음) = 잔불 · 거품 · 김 · 불티 없음 · 뚜껑 가만히 */
#ui .skw .skp-stage:not(.on) .skp-fl { opacity: .45; scale: .5; }
#ui .skw .skp-stage:not(.on) .skp-fl.f2 { scale: -.55 .55; }
#ui .skw .skp-stage:not(.on) .skp-dark { opacity: .62; }
#ui .skw .skp-stage:not(.on) :is(.skp-glow, .skp-belly) { opacity: .25; animation: none; }
#ui .skw .skp-stage:not(.on) :is(.skp-sparks, .skp-soup, .skp-steam) { visibility: hidden; }
/* 지금 끓는 요리(오른쪽 위 하늘) · 다 된 요리(탁자) · 아래 줄 칸 */
#ui .skw .skp-run { right: 8px; top: 8px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 14px; background: rgba(0, 0, 0, .55); color: #fff; }
#ui .skw .skp-run[hidden] { display: none; }
#ui .skw .skp-stage > .skp-run[data-act] { pointer-events: auto; cursor: pointer; }   /* 끓는 · 달이는 알약 누름 = 시간석 바로 → 거두기 확인창(11-05 skyrush-1105) */
#ui .skw .skp-run > span { display: flex; flex-direction: column; gap: 2px; min-width: 84px; }
#ui .skw .skp-run b { font-size: 11px; font-weight: 800; white-space: nowrap; }
#ui .skw .skp-run small { font-size: 10px; font-weight: 800; color: rgba(255, 255, 255, .78); font-variant-numeric: tabular-nums; }
#ui .skw .skp-run .skl-bar { height: 3px; }
#ui .skw .skp-stage > .skp-table { left: 344px; top: 110px; width: 134px; height: 84px; z-index: 2; display: grid; grid-template-columns: repeat(3, 44px); grid-auto-rows: 42px; align-content: center; justify-content: center; pointer-events: auto; }
#ui .skw .skp-dish { position: relative; display: flex; align-items: flex-end; justify-content: center; padding: 0 0 6px; border: 0; background: none; cursor: pointer; touch-action: manipulation; animation: skl-hop .9s ease-in-out calc(var(--k) * -.15s) infinite; filter: drop-shadow(0 0 3px rgba(255, 236, 170, .95)); }
#ui .skw .skp-dish::before { content: ""; position: absolute; left: 6px; right: 6px; bottom: 2px; height: 8px; border-radius: 50%; background: rgba(60, 30, 10, .35); }   /* 탁자 위 그림자 */
#ui .skw .skp-act { min-height: 34px; }
#ui .skw .skp-q { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .55); cursor: pointer; touch-action: manipulation; }
#ui .skw .skp-q > .skl-bar { position: absolute; left: 4px; right: 4px; bottom: 3px; height: 3px; }
#ui .skw .skp-q.run { box-shadow: inset 0 0 0 1.5px #f2b35c; }
#ui .skw .skp-q.wait { opacity: .62; }
#ui .skw .skp-q.wait > .skl-bar { visibility: hidden; }
#ui .skw .skp-q.empty { min-height: 0; background: none; box-shadow: none; outline: 1px dashed rgba(255, 255, 255, .22); outline-offset: -1px; font-size: 18px; line-height: 1; }
#ui .skw .skp-q.arm { box-shadow: inset 0 0 0 1.5px #ff8f84; }
#ui .skw .skp-q.arm::after { content: "×"; position: absolute; right: -3px; top: -5px; font: 900 13px/1 var(--ui-font); color: #ff8f84; text-shadow: 0 1px 2px #000; }
#ui .skw .skp-q.lock { flex-direction: column; gap: 2px; width: auto; min-width: 34px; padding: 0 5px; background: rgba(0, 0, 0, .22); }
#ui .skw .skp-q.lock .skb-ic { width: 11px; height: 11px; }
#ui .skw .skp-q.lock small { display: inline-flex; align-items: center; gap: 1px; font-size: 9px; font-weight: 800; line-height: 1; white-space: nowrap; }
#ui .skw .skp-q.lock img { width: 10px; height: 10px; }
#ui .skw .skp-act .skq-take { margin-left: auto; }
@keyframes skp-fx { to { background-position-x: -352px; } }
@keyframes skp-fy { to { background-position-y: -816px; } }
@keyframes skp-flick { 0%, 100% { opacity: .82; } 9% { opacity: 1; } 17% { opacity: .7; } 31% { opacity: .95; } 44% { opacity: .76; } 58% { opacity: 1; } 71% { opacity: .68; } 86% { opacity: .9; } }
@keyframes skp-spark { 0% { opacity: 0; translate: 0 0; } 8% { opacity: 1; } 70% { opacity: .9; } 100% { opacity: 0; translate: var(--dx) var(--dy); } }
@keyframes skp-bub { 0% { opacity: 0; scale: .2; } 18% { opacity: 1; } 72% { scale: 1; opacity: 1; } 80% { scale: 1.3; opacity: .85; } 88%, 100% { scale: 1.6; opacity: 0; } }
@keyframes skp-steam { 0% { opacity: 0; translate: 0 0; scale: .5; } 20% { opacity: .75; } 100% { opacity: 0; translate: var(--dx, 0) -84px; scale: 1.7; } }
@keyframes skp-lid {
  0% { translate: 0 0; rotate: 0deg; scale: 1; }
  5% { translate: -6px -44px; rotate: -7deg; scale: 1 .6; }
  7% { translate: -6px -40px; rotate: -6deg; scale: 1 .62; }
  18% { translate: -7px -42px; rotate: -6.5deg; scale: 1 .61; }
  29% { translate: -6px -40px; rotate: -6deg; scale: 1 .62; }
  33% { translate: 0 0; rotate: 0deg; scale: 1; }
  35% { translate: 0 -5px; rotate: .5deg; }
  37%, 44% { translate: 0 0; rotate: 0deg; }
  45% { translate: 1px -4px; rotate: 1.5deg; } 46% { translate: 0 0; rotate: 0deg; } 47% { translate: -1px -3px; rotate: -1.2deg; }
  48%, 62% { translate: 0 0; rotate: 0deg; }
  63% { translate: -1px -4px; rotate: -1.5deg; } 64% { translate: 0 0; rotate: 0deg; } 65% { translate: 1px -3px; rotate: 1deg; }
  66%, 82% { translate: 0 0; rotate: 0deg; }
  83% { translate: 1px -5px; rotate: 2deg; } 84% { translate: 0 0; rotate: 0deg; } 85% { translate: -1px -3px; rotate: -1.5deg; } 86% { translate: 0 0; rotate: 0deg; } 87% { translate: 0 -2px; rotate: .8deg; }
  88%, 100% { translate: 0 0; rotate: 0deg; scale: 1; }
}
@keyframes skp-puff { 0%, 44.9%, 52%, 62.9%, 70%, 82.9%, 91%, 100% { opacity: 0; scale: .4; translate: 0 0; } 45%, 63%, 83% { opacity: 1; scale: .4; translate: 0 0; } 51%, 69%, 90% { opacity: 0; scale: 1.5; translate: 0 -20px; } }
@keyframes skp-in { 0% { opacity: 0; translate: 0 -74px; scale: 1; animation-timing-function: cubic-bezier(.5, 0, 1, 1); } 1% { opacity: 1; } 6% { translate: 0 0; scale: 1; } 7.5% { translate: 0 2px; scale: 1.2 .75; } 10% { translate: 0 -3px; scale: .95 1.05; } 13% { translate: 0 0; scale: 1; opacity: 1; } 20% { translate: 0 3px; scale: .85; opacity: .9; } 26%, 100% { translate: 0 6px; scale: .6; opacity: 0; } }
@keyframes skp-ring { 0%, 5.9% { opacity: 0; scale: .3; } 6% { opacity: 1; scale: .4; } 14%, 100% { opacity: 0; scale: 1.5; } }
@keyframes skp-drop { 0%, 5.9% { opacity: 0; translate: 0 0; } 6% { opacity: 1; translate: 0 0; } 9% { translate: var(--dx) -16px; } 13% { opacity: 0; translate: calc(var(--dx) * 1.3) -2px; } 100% { opacity: 0; } }
#ui .skw .skf-act .btn { display: inline-flex; align-items: center; gap: 5px; }
#ui .skw .skf-act .btn.off { opacity: .45; }
#ui .skw .skf-alt.on { box-shadow: inset 0 0 0 2px #e8c979; }
#ui .skw .skf-pick { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 6px; align-content: start; overflow-y: auto; scrollbar-width: none; padding: 2px 2px 34px; }
#ui .skw .skf-card { display: flex; align-items: center; gap: 9px; height: 56px; padding: 0 10px 0 6px; border: 0; border-radius: 10px; color: #fff; text-align: left; cursor: pointer; touch-action: manipulation;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); animation: fx-card-in .36s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 22ms); }
#ui .skw .skf-card.on { box-shadow: inset 0 0 0 2px #e8c979, 0 0 10px rgba(232, 201, 121, .4); animation: fx-card-in .36s cubic-bezier(.2, .8, .3, 1) both, skl-sel 1.2s ease-in-out .4s infinite alternate; }
#ui .skw .skf-pick.still .skf-card { animation: none; }
#ui .skw .skf-pick.still .skf-card.on { animation: skl-sel 1.2s ease-in-out infinite alternate; }
#ui .skw .skf-card.lock { opacity: .55; }
#ui .skw .skf-card.lock .skl-cell { filter: grayscale(.8) brightness(.6); }
#ui .skw .skf-card .skl-cell > em.none { color: #ff8f84; }   /* 씨앗 없음 = 붉은 0 */
#ui .skw .skf-clk { flex: none; width: 10px; height: 10px; margin-right: 1px; border-radius: 50%; box-shadow: inset 0 0 0 1.3px currentColor;
  background: linear-gradient(currentColor, currentColor) 4.4px 2px / 1.3px 3.6px no-repeat, linear-gradient(currentColor, currentColor) 4.4px 4.4px / 3px 1.3px no-repeat; }   /* 시계(흰 선) = 자라는 시간 */
#ui .skw .skf-yield { display: inline-flex; align-items: center; gap: 1px; margin-left: 8px; color: #9fe3a0; font-weight: 800; }   /* 거두면 ×n(초록 = 좋아짐) */
#ui .skw .skf-yield .skl-ci.px { max-width: 14px; max-height: 14px; }
#ui .skw .skf-card .skq-cost { flex-direction: row; align-items: center; gap: 4px; }
#ui .skw .skf-arrow { font-size: 10px; color: rgba(255, 255, 255, .5); }

/* ---- 경매장 상점(한 단 — 위 탭 줄 · 아래 줄 목록) */
#ui .skw .skm-top { flex: none; display: flex; align-items: center; gap: 10px; }
#ui .skw .skm-top .btn { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
#ui .skw .skm-top .btn img { width: 16px; height: 16px; filter: brightness(0) invert(.92); }
#ui .skw .skm-list { grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); padding-right: max(30px, env(safe-area-inset-right)); }   /* 줄 = 이름 · 값 · 수량 알약 셋이라 대기열 카드보다 넓게
   inqfix-1112(Daphne 11-10 "농장상점에서 밀 100개짜리 구매가 너무힘드네요 옆으로 이동 버튼으로 인해"): 오른쪽 줄의 [×100] 이 화면 오른쪽 끝 26 px 안에 있어
   폰 가장자리(삼성 엣지 패널 손잡이 · 뒤로 가기 옆 밀기 띠)와 겹쳤다 → 목록 오른쪽 30 px 비움 · 좁은 화면이면 한 줄(min) */
#ui .skw .skm-row { cursor: default; }
#ui .skw .skm-row .skq-cost { flex-direction: row; align-items: center; gap: 6px; }
#ui .skw .skm-ns { flex: none; display: flex; gap: 8px; }   /* inqfix-1112: 고품질UI 이웃 틈 8 이상(전 4) */
#ui .skw .skm-n { flex: none; height: 36px; min-width: 46px; padding: 0 9px; border: 0; border-radius: 999px; background: linear-gradient(#83c3bf, #548f8c); color: #fff; font: 800 12px/36px var(--ui-font); cursor: pointer; touch-action: manipulation; }   /* inqfix-1112: 누름 칸 36 GUI px(고품질UI 34 이상 — 전 28)
#ui .skw .skm-n.off { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .42); }

/* ---- 신사 변신 줄 */
#ui .skw.skw-life .sks { align-self: flex-start; align-content: flex-start; }   /* 넓은 몸(flex) 안에서 장 칸이 몸 높이로 늘지 않게 */
#ui .skw .sks-morph { flex-basis: 100%; margin: 4px 0 0; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .55); }
#ui .skw .sks-morph.on { color: #9fe3a0; }
#ui .skw .sks-morph.on::before { content: "✓ "; }

/* ---- 생성기(흙 · 돌 · 나무) — 11-02 UI4(LANES-UI-1102 "생활 건물 8종과 같은 두 단"): 같은 날 사용자 "돌/흙 생성기 창은 팝업식 · 전체화면일 필요 없이"라 작은 팝업(.skw-pop ✕)은 그대로 두고
     폭만 넓혀(440 → 600) 안을 D4b 두 단으로: 왼쪽 진행 판(건물 그림 · 시간당 · 쌓임 막대 · [거두기] 금 알약) | 오른쪽 레벨별 생산 표(지금 줄 금 테 · 다음 줄 초록 = 좋아짐) + 보유 · 쓰임 알약.
     sky_build.css 옛 한 단(.skw-gen 최대 540)은 이 몸에서 안 쓴다. 머리 띠 건물 그림은 왼쪽 큰 그림과 겹쳐 두지 않고, 가방 표식만 ✕ 왼쪽에(거둔 것이 날아드는 곳). */
#ui .popup.skw.skw-pop.skw-gw { width: 600px; }
#ui .popup.skw.skw-pop.skw-gw > .popup-head > .skw-bag { display: block; order: 2; flex: none; margin-left: auto; width: 22px; height: 22px; background: var(--ink); opacity: .82; -webkit-mask: url(assets/icons/slot-bag.png) center / contain no-repeat; mask: url(assets/icons/slot-bag.png) center / contain no-repeat; }
#ui .popup.skw.skw-pop.skw-gw > .popup-head > .close { margin-left: 12px; }
#ui .skw.skw-gw .skw-bag.got { animation: skl-bag .42s cubic-bezier(.3, 1.6, .5, 1); }
#ui .skw .skg.skl-2 { grid-template-columns: 196px minmax(0, 1fr); height: 250px; }   /* 짧은 창 = 스크롤 없이 한 화면(고품질UI §1) — 표만 안에서 끌기 */
#ui .skw .skg-side { align-items: stretch; gap: 5px; }
#ui .skw .skg-side .skw-pic { align-self: center; }
#ui .skw .skg-side .skw-pic, #ui .skw .skg-side .skw-pic canvas { width: 78px; height: 65px; }   /* 96×80 이면 [바로 끝내기]까지 판 아래로 넘침(돌 생성기 Lv1 폰 가로 캡처) */
#ui .skw .skg-side .skw-item { justify-content: center; font-size: 13px; font-weight: 800; }
#ui .skw .skg-side .skw-rate { text-align: center; font-size: 12px; font-weight: 800; color: #f1d58a; }
#ui .skw .skg-side .skw-left { text-align: center; font-variant-numeric: tabular-nums; }
#ui .skw .skg-side .skw-bar { max-width: none; }
#ui .skw .skg-side .skw-btns { margin-top: auto; align-items: center; }
#ui .skw .skg-side .skw-collect { min-width: 112px; }
#ui .skw .skg-main { gap: 6px; }
#ui .skw .skg-tbl { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; scrollbar-width: none; }
#ui .skw .skg-tr { flex: none; display: grid; grid-template-columns: 34px 1fr 1fr 1.15fr; align-items: center; height: 21px; padding: 0 10px; border-radius: 6px; text-align: right; white-space: nowrap;
  font-size: 11.5px; font-weight: 700; color: rgba(255, 255, 255, .74); font-variant-numeric: tabular-nums; animation: fx-card-in .36s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 22ms); }
#ui .skw .skg-tr > b { text-align: left; font-weight: 800; color: rgba(255, 255, 255, .55); }
#ui .skw .skg-tr:nth-child(even) { background: rgba(255, 255, 255, .035); }
#ui .skw .skg-th { position: sticky; top: 0; z-index: 1; height: 20px; background: rgb(16, 18, 22); font-size: 10.5px; color: rgba(255, 255, 255, .5); animation: none; }
#ui .skw .skg-th > b { color: inherit; }
#ui .skw .skg-tr.past { color: rgba(255, 255, 255, .4); }
#ui .skw .skg-tr.now { background: rgba(232, 201, 121, .14); box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .75); color: #fff; }
#ui .skw .skg-tr.now > b { color: #f1d58a; }
#ui .skw .skg-tr.next { color: #9fe3a0; }
#ui .skw .skg-tbl.still .skg-tr { animation: none; }
#ui .skw .skg-own { flex: none; display: flex; align-items: center; gap: 10px; padding: 5px 10px 5px 5px; border-radius: 10px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .skw .skg-ownt { flex: none; display: flex; flex-direction: column; gap: 2px; }
#ui .skw .skg-ownt b { font-size: 12.5px; font-weight: 800; white-space: nowrap; }
#ui .skw .skg-ownt small { font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .72); white-space: nowrap; font-variant-numeric: tabular-nums; }
#ui .skw .skg-use { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
#ui .skw .skg-use i { flex: none; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font: 700 10.5px/22px var(--ui-font); font-style: normal; color: rgba(255, 255, 255, .78); white-space: nowrap; }

/* ---- 연금술솥 — 11-02 UI4(LANES-UI-1102): 넓은 몸(skw-life) 두 단 = 목공소 · 식당(대기열)과 같은 결. 왼쪽 진행 판 = 지금 물약 칸 · 속도 · 쌓임 · 재료 · [거두기] · 퀵슬롯 |
     오른쪽 = [쉬기] + 물약 카드 2열(.skq-rc 카드 60 · 그림 칸 48 등급색 · 재료 보유/필요). sky_build.css 옛 한 단(.skc 최대 640 · .skc-g 64 칸 · 등급 줄)을 여기서 덮는다(이 파일이 뒤에 읽힌다). */
#ui .skw.skw-life .skc { display: grid; max-width: none; gap: 14px; }
#ui .skw .skc-side { gap: 7px; }
#ui .skw .skc-now { flex: none; display: flex; align-items: center; gap: 10px; }
#ui .skw.skw-life .skc-name { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; font-size: 13px; }
#ui .skw.skw-life .skc-name b { font-weight: 800; white-space: nowrap; }
#ui .skw.skw-life .skc-name small { font-size: 11px; font-weight: 700; color: #9fe3a0; }
#ui .skw .skc-side .skw-bar { max-width: none; }
#ui .skw.skw-life .skc-mat .skb-chip b i { margin: 0; font-size: inherit; }
#ui .skw .skc-side .skw-collect { align-self: flex-start; min-width: 96px; }
#ui .skw.skw-life .skc-quick { margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .08); }
#ui .skw .skc-main { gap: 6px; }
#ui .skw .skc-head { flex: none; display: flex; align-items: center; gap: 10px; }
#ui .skw.skw-life .skc-rest { align-self: auto; margin-left: auto; height: 26px; padding: 0 14px; line-height: 26px; }
#ui .skw.skw-life .skc .skc-g { flex-direction: row; justify-content: flex-start; gap: 10px; width: auto; height: 60px; padding: 0 10px 0 6px; border-radius: 10px; text-align: left;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); animation: fx-card-in .36s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 22ms); }
#ui .skw.skw-life .skc .skc-g img.skl-ico.px { width: auto; height: auto; }
#ui .skw.skw-life .skc .skq-nm b { font-size: 12.5px; }
#ui .skw.skw-life .skc .skq-nm > small { position: static; display: flex; font-size: 10.5px; font-weight: 700; color: rgba(255, 255, 255, .62); }
#ui .skw.skw-life .skc .skb-chip b { font-size: 11px; }
#ui .skw.skw-life .skc .skc-g.on { box-shadow: inset 0 0 0 2px #e8c979, 0 0 10px rgba(232, 201, 121, .4); animation: fx-card-in .36s cubic-bezier(.2, .8, .3, 1) both, skl-sel 1.2s ease-in-out .4s infinite alternate; }
#ui .skw.skw-life .skc .skc-g.lock { opacity: .45; }
#ui .skw.skw-life .skc .skc-g.lock .skl-cell { filter: grayscale(.8); }
#ui .skw.skw-life .skc .skc-g.lock .skq-nm > small { color: #f1d58a; }
#ui .skw.skw-life .skc .skc-g.lack .skq-nm b { color: rgba(255, 255, 255, .78); }
#ui .skw.skw-life .skc .skc-g .skc-buy { align-self: flex-end; }
#ui .skw.skw-life .skc.still .skc-g { animation: none; }   /* 재료 수 · 고른 물약이 바뀌어 다시 그려도 카드가 다시 올라오지 않게 */
#ui .skw.skw-life .skc.still .skc-g.on { animation: skl-sel 1.2s ease-in-out infinite alternate; }
#ui .skw.skw-life .skc .skc-g.skc-no { animation: pq-no .3s ease-in-out; }   /* 잠긴 카드 누름 = 흔들림(sky_build.css 와 같은 값 — 위 카드 등장 규칙이 덮지 않게) */

@keyframes skl-pop { 0% { scale: 1; } 30% { scale: .9; } 65% { scale: 1.08; } 100% { scale: 1; } }
@keyframes skl-sway { from { rotate: -4deg; } to { rotate: 4deg; } }
@keyframes skl-hop { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 -3px; } }
@keyframes skl-shine { 0% { background-position: 130% 0; } 55%, 100% { background-position: -30% 0; } }
@keyframes skl-sel { to { box-shadow: inset 0 0 0 2px #f6dd96, 0 0 14px rgba(232, 201, 121, .6); } }
@keyframes skl-bag { 0% { scale: 1; } 40% { scale: 1.32; } 100% { scale: 1; } }
#ui .skw .skq-nm > .skq-buff { font-size: 10px; font-style: normal; font-weight: 700; color: #68d890; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* 요리솥 카드 효과 줄(11-04 W23 R24) — 초록 = 좋아짐(quest.css 받을 보상 점과 같은 값) */

/* gf:js-pack prototype/Spikes/rt-battle/features/skyisle/sky_craft_view.css */
/* 목공소 분류 · 배치 미리보기(11-04 W23 — sky_craft_view.js). 고품질UI: 칩 = 글자 폭 알약(skb-chipt) · 판 = 어두운 반투명 + 흰 선 아이콘 · 열림 283 ms(ui-juice 창 열기) */
#ui .skw .skq-chips { position: relative; }
#ui .skw .skq-fbtn { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
#ui .skw .skq-caret { width: 0; height: 0; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; transition: transform .18s; }
#ui .skw .skq-fbtn.open .skq-caret { transform: rotate(180deg) translateY(4px); }
/* 분류 판 = 칩 줄 바로 아래 오른쪽 · 알약 격자(높이 28 · 글자 폭) */
#ui .skw .skl-main { position: relative; }
#ui .skw .skq-fpop { position: absolute; right: 0; top: 30px; z-index: 5; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: 360px; padding: 8px; border-radius: 12px;
  background: rgba(12, 14, 18, .94); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 6px 18px rgba(0, 0, 0, .5); animation: skq-pop .283s cubic-bezier(.2, .9, .3, 1.2) both; transform-origin: 100% 0; }
#ui .skw .skq-fpop[hidden] { display: none; }
#ui .skw .skq-f { flex: none; height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); font: 700 11.5px/28px var(--ui-font); white-space: nowrap; cursor: pointer; touch-action: manipulation; transition: transform .18s cubic-bezier(.3, 1.8, .5, 1); }
#ui .skw .skq-f.on { background: linear-gradient(#ece4d3, #c9bda6); color: #2b261e; }
#ui .skw .skq-f:active { transform: scale(.92); transition-duration: .06s; }
@keyframes skq-pop { from { opacity: 0; transform: scale(.9) translateY(-4px); } }
/* 카드 눈 = 오른쪽 위 흰 선 아이콘(누름 자리 28 — 카드 누름과 갈림) */
#ui .skw .skq-rc { position: relative; }
#ui .skw .skq-eye { position: absolute; right: 2px; top: 2px; width: 28px; height: 24px; display: flex; align-items: flex-start; justify-content: flex-end; padding: 3px 4px 0 0; color: rgba(255, 255, 255, .7); cursor: pointer; }
#ui .skw .skq-eye .skb-ic { width: 14px; height: 14px; }
#ui .skw .skq-eye:active { color: #fff; transform: scale(.9); }
#ui .skw .skq-rc .skq-cost { margin-right: 14px; }
/* 시연 판 = 창 안 가운데 카드(하늘 + 잔디 섬 조각 위 소품) */
#ui .skw .skq-view { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .45); border-radius: 12px; }
#ui .skw .skq-view[hidden] { display: none; }
#ui .skw .skq-vcard { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 14px; background: rgba(12, 14, 18, .94); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 8px 24px rgba(0, 0, 0, .55); }
#ui .skw .skq-view.in .skq-vcard { animation: skq-pop .283s cubic-bezier(.2, .9, .3, 1.2) both; transform-origin: 50% 60%; }
#ui .skw .skq-vcv { display: block; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .skw .skq-vinfo { display: flex; flex-direction: column; gap: 2px; }
#ui .skw .skq-vinfo b { font-size: 13px; font-weight: 800; color: #fff; }
#ui .skw .skq-vinfo small { font-size: 10.5px; color: rgba(255, 255, 255, .62); }
#ui .skw .skq-vbtns { display: flex; justify-content: flex-end; gap: 6px; }

/* gf:js-pack prototype/Spikes/rt-battle/features/festival/festival.css */
/* 축제 1단계(D13 — features/festival festival.js): 목공소 창 축제 띠 30 · 축제 제작법 카드 띠 · 눈송이 말풍선(건설 말풍선 .skb-bub 그대로 + 푸른 빛) */
:root { --ic-snowflake: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17L20.7 7M9 3.5l3 2.5 3-2.5M9 20.5l3-2.5 3 2.5M3.6 10.6l3.7-.6-1.3-3.6M20.4 13.4l-3.7.6 1.3 3.6M3.6 13.4l3.7.6-1.3 3.6M20.4 10.6l-3.7-.6 1.3-3.6'/%3E%3C/svg%3E"); }
#ui .skw .fest-band { flex: none; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 8px; border-radius: 15px; color: #fff; white-space: nowrap; overflow: hidden;
  background: linear-gradient(90deg, rgba(70, 120, 190, .62), rgba(30, 50, 90, .5)); box-shadow: inset 0 0 0 1px rgba(200, 230, 255, .35); animation: fest-in .32s cubic-bezier(.3, 1.6, .5, 1) backwards; }
#ui .skw .fest-band .fest-ic { flex: none; width: 16px; height: 16px; background: #fff; -webkit-mask: var(--ic-snowflake) center / contain no-repeat; mask: var(--ic-snowflake) center / contain no-repeat; }
#ui .skw .fest-band b { font-size: 13px; font-weight: 800; }
#ui .skw .fest-band em { font-style: normal; font-size: 12.5px; font-weight: 800; color: #ffe27a; }
#ui .skw .skq-rc:has(.fest-tag) { position: relative; }
#ui .skw .fest-tag { position: absolute; right: 8px; top: 4px; height: 16px; padding: 0 6px; border-radius: 8px; font: 800 10.5px/16px var(--ui-font); font-style: normal; color: #fff; white-space: nowrap;
  background: rgba(70, 130, 210, .88); box-shadow: inset 0 0 0 1px rgba(220, 240, 255, .4); pointer-events: none; }
#ui .skw .skq-rc.fest-off { opacity: .5; }
#ui .skw .skq-rc.fest-off .fest-tag { background: rgba(90, 90, 100, .9); }
#hud .skb-bub.fest { background: rgba(40, 80, 140, .82); box-shadow: inset 0 0 0 1px rgba(200, 230, 255, .5), 0 2px 5px rgba(0, 0, 0, .45); }
#hud .skb-bub.fest::after { border-top-color: rgba(40, 80, 140, .82); }
#hud .skb-bub.fest.off { opacity: .6; }
@keyframes fest-in { from { opacity: 0; transform: translateY(-6px); } }
/* 축제 띠 = 단추(snowfest-1111 A-2 "누르면 목공소 메인 화면 + 분류 탭 겨울 눈 축제") — 눌림 = 살짝 눌러 들어감 */
#ui .skw button.fest-band { border: 0; font: inherit; cursor: pointer; transition: scale .08s; }
#ui .skw button.fest-band:active { scale: .96; }

/* gf:js-pack prototype/Spikes/rt-battle/features/skyisle/sky_food.css */
/* 건물 창 공용 조각 — 탭 줄 · 가진 것 격자(연금술솥 [가진 물약] sky_cauldron.js) · 바로 끝내기 연출 · 버프 줄로 날아가는 음식 그림.
   크기 = hq-ui 모바일 기준(GUI 450): 탭 28 · 칸 52 · 알약 26 · 이름 12. 탭 = 01-popup.part .popup.full .tabs 알약 줄 그대로(글자 폭). */
#ui .skw .skw-tabs { flex: none; }
#ui .skw .skw-tabs .tab { height: 28px; line-height: 28px; font-size: 12.5px; font-weight: 800; }
#ui .skw .skc-head .skw-tabs { margin-right: auto; }
/* 탭을 바꿀 때만 판이 살짝 떠오름(다시 그릴 때는 안 튐) */
#ui .skw .fx-swap > :is(.skq-list, .skq-chips, .skfd, .skc-list, .skc-have):not([hidden]) { animation: fx-card-in .28s cubic-bezier(.2, .8, .3, 1) both; }
/* 칸 사이 숨 — 카드 줄 6 → 8 */
#ui .skw .skq-list, #ui .skw .skq-slots { gap: 8px; }

/* 가진 것 격자: 창 폭대로 열 수가 늘고 칸은 커지지 않음 */
#ui .skw :is(.skfd, .skq-list, .skq-chips, .skc-rest)[hidden] { display: none; }
#ui .skw .skfd, #ui .skw .skc-hgrid { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding-bottom: 34px; }   /* 아래 34 = 알림 알약 자리 */
#ui .skw .skfd-grid, #ui .skw .skc-hgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; align-content: start; }
#ui .skw :is(.skfd-dish, .skc-pot) { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 6px 8px; border-radius: 10px; color: #fff;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); animation: fx-card-in .36s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 40ms); }
#ui .skw :is(.skfd.still, .skc-hgrid.still) :is(.skfd-dish, .skc-pot) { animation: none; }
#ui .skw :is(.skfd-dish, .skc-pot) .skl-cell { width: 52px; height: 52px; box-shadow: inset 0 0 0 1.5px var(--g, rgba(255, 255, 255, .22)), 0 0 8px color-mix(in srgb, var(--g, transparent) 35%, transparent); }
#ui .skw :is(.skfd-nm, .skc-pot .skq-nm) { display: flex; flex: none; flex-direction: column; align-items: center; gap: 2px; max-width: 100%; min-width: 0; text-align: center; }
#ui .skw :is(.skfd-nm, .skc-pot .skq-nm) b { max-width: 100%; font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .skw .skfd-nm small { font-size: 10px; font-weight: 800; color: #9fe3b0; }
#ui .skw .skc-pot .skq-nm > small { font-size: 10.5px; color: rgba(255, 255, 255, .62); font-variant-numeric: tabular-nums; }
#ui .skw .skfd-eat { flex: none; height: 26px; min-width: 64px; padding: 0 14px; font-size: 12px; line-height: 26px; }
#ui .skw .skfd-eat.off { opacity: .5; pointer-events: none; }
/* 먹는 중 = 금 테 맥박(크기는 그대로) */
#ui .skw .skfd-dish.on { box-shadow: inset 0 0 0 1.5px #e8c979, 0 0 10px rgba(232, 201, 121, .35); animation: fx-card-in .36s cubic-bezier(.2, .8, .3, 1) both, skl-sel 1.2s ease-in-out .4s infinite alternate; }
#ui .skw .skfd.still .skfd-dish.on { animation: skl-sel 1.2s ease-in-out infinite alternate; }
/* 빈 목록 = 무채색 글리프 */
#ui .skw .skfd-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 36px 0; font-size: 12px; color: rgba(255, 255, 255, .55); grid-column: 1 / -1; }
#ui .skw .skfd-glyph { width: 40px; height: 40px; background: currentColor; opacity: .7; -webkit-mask: url(assets/icons/slot-bag.png) center / contain no-repeat; mask: url(assets/icons/slot-bag.png) center / contain no-repeat; }
/* 연금술솥 [가진 물약] 탭 — 아래 오른쪽 "최대 보관" */
#ui .skw .skc-have { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
#ui .skw .skc-have[hidden] { display: none; }
#ui .skw .skc-have .skc-hgrid { padding-bottom: 0; }
#ui .skw .skc-cap { flex: none; align-self: flex-end; margin-bottom: 34px; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .62); font-variant-numeric: tabular-nums; }
#ui .skw .skc-pot > em { position: absolute; right: 8px; top: 6px; font: 900 11px/1 var(--ui-font); font-style: normal; color: #fff; text-shadow: 0 1px 2px #000; font-variant-numeric: tabular-nums; }

/* 바로 끝내기: 창 가운데 진주빛 글자(청록 빛) + 진행 막대가 끝까지 차오름 */
#ui .skw.rushfx .skw-fx { animation: skw-lv .9s ease-out both; text-shadow: 0 0 10px rgba(150, 236, 230, .9), 0 0 22px rgba(110, 210, 220, .5); }
#ui .skw.rushfx .skl-bar::after { transform: scaleX(1); transition: transform .45s cubic-bezier(.2, .8, .3, 1); background: linear-gradient(90deg, #8fe6df, #fff); }
#ui .skw.rushfx .skw-rush { animation: skl-pop .32s cubic-bezier(.3, 1.4, .5, 1) both; }
/* 버프 줄로 날아가 앉는 음식 그림(sky_food landFx — 창이 닫힌 뒤 화면 가운데 → HUD 왼쪽 위 칸) */
.skfd-land { position: fixed; left: 0; top: 0; z-index: 9999; width: 44px; height: 44px; margin: -22px 0 0 -22px; object-fit: contain; image-rendering: pixelated; pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255, 226, 150, .85)); }

/* gf:js-pack prototype/Spikes/rt-battle/features/skyisle/sky_craft_ui.css */
/* 건물 창 공용 틀(.skr — sky_craft_ui.js). 조작 순서대로 왼쪽 → 오른쪽: [레벨 탭 세로 줄] → 아이콘 3열 격자 → 상세 판(재료 · [제작]) → 건물 그림 판(대기열 띠).
   11-19 craftgo-1119 주호님 "제작 버튼이 중앙에 있는 게 흐름상 맞아?" → [제작]을 그림 판 대기열 띠 위 줄 오른쪽 끝으로(가운데 상세 판 = 확인만, 진행 칸의 [중단] · [즉시 완료]는 상세 판 그대로).
   11-19 craftflow-1119 주호님 "제작 버튼이 오른쪽 하단에 있고 넣는 건 왼쪽 하단에 있고 재료는 중앙 … 직관적인 조작 흐름에 맞춘 화면 구성이 아닌" · "레벨 탭도 위치가 생뚱맞다"
     → 그림 판을 오른쪽 끝으로(=[제작] 바로 오른쪽이 대기열 칸) · 대기열 건물(.skq)의 레벨 탭 = 격자 왼쪽 세로 줄(고르는 첫 단계라 맨 왼쪽). 작은 팝업(돌 생성기 .skr-g)은 그대로.
   그림 판 위에 얹는 것: 위 = 숙련 알약 · [레벨업](창 머리 아래 .skw-up 을 판 첫 칸 위로 겹침) · 아래 띠(.skr-strip) = 대기열 칸 · 퀵슬롯 · [받기] · [작물 상점].
   크기 = 고품질UI 모바일 기준(GUI 450): 격자 칸 60 · 상세 결과 칸 64 · 재료 칸 48 · 대기열 칸 48 · 단추 36(제작 40) · 이름 16.5 · 본문 12~13 · 탭 줄 30.
   11-19 craftux-1119 주호님 "창들과 버튼이 너무 작고 왼쪽에 넣어야 한다는 직관적 느낌이 안 드는" — 대기열 칸 34 → 48 · 고른 것이 들어갈 빈 칸에 그 그림이 미리 뜸 · 상세 판 글자 · 단추 키움.
   폰 가로(GUI 약 1000 × 450): 탭 줄 56 · 격자 3 × 60 + 틈 8 = 196 · 상세 약 290 · 그림 판 390(창 폭 40%, 대기열 칸 일곱이 한 줄). 고른 칸 = 크기 대신 금 테 맥박. */
#ui .skw:has(> .skw-body > .skr) { --sks: min(390px, 40%); display: grid; grid-template-columns: minmax(0, 1fr) var(--sks); grid-template-rows: auto minmax(0, 1fr); column-gap: 12px; }
#ui .skw.skw-gw:has(> .skw-body > .skr) { --sks: 220px; width: 560px; grid-template-columns: var(--sks) minmax(0, 1fr); }
#ui .skw:has(> .skw-body > .skr) > .popup-head { grid-column: 1 / -1; }
#ui .skw:has(> .skw-body > .skr) > .skw-body { grid-column: 1 / -1; grid-row: 2; min-height: 0; }
/* 숙련 · [레벨업] = 그림 판 위쪽에 얹음(판 위 어두운 그라데이션 띠 — 판 그림이 비침) */
#ui .skw:has(> .skw-body > .skr) > .skw-up { grid-column: 2; grid-row: 2; align-self: start; z-index: 5; display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; min-height: 0;
  margin: 0; padding: 7px 7px 18px; border: 0; border-radius: 12px 12px 0 0; background: linear-gradient(rgba(0, 0, 0, .55), transparent); pointer-events: none; }
#ui .skw.skw-gw:has(> .skw-body > .skr) > .skw-up { grid-column: 1; }
/* 11-10 huntperf-1110: 맨 끝이 * 이던 것을 .skw-up 의 칸 넷(sky_bldg_win.js 틀 — 그림 · 숙련 · 다음 · 단추 칸)으로. :where 라 구체도는 * 와 같은 0.
   :has() 뒤에 * 로 끝나는 규칙이 하나라도 있으면 Chrome 의 :has 무효화 집합이 '아래 전부'가 되어, HUD 안 hidden 바뀜(이름표 · 피해 숫자 재사용 — 매 프레임)마다
   :has 기준 요소(#hud-screen · #ui) 아래 약 400 요소의 스타일을 다시 계산했다(폰 흉내 사냥: 스타일 다시 계산 프레임의 약 25 %가 400 요소 넘는 판) */
#ui .skw:has(> .skw-body > .skr) > .skw-up > :where(.skw-pic, .skw-mxw, .skw-next, .skw-act) { pointer-events: auto; }
#ui .skw:has(> .skw-body > .skr) > .skw-up :is(.skw-hpic, .skw-next) { display: none; }
#ui .skw:has(> .skw-body > .skr) .skw-mxw:not([hidden]) { width: 170px; gap: 4px; padding: 6px 12px 7px; border-radius: 12px; background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .skw:has(> .skw-body > .skr) .skw-mxw b { font-size: 12.5px; }
#ui .skw:has(> .skw-body > .skr) .skw-act { margin-left: auto; }
#ui .skw:has(> .skw-body > .skr) .skw-act .btn { height: 34px; padding: 0 16px; font-size: 13.5px; line-height: 34px; box-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
#ui .skw:has(> .skw-body > .skr) .skw-act .skw-why { height: 30px; background: rgba(0, 0, 0, .55); }

/* 몸 */
#ui .skw .skr { position: relative; flex: 1; display: grid; grid-template-columns: var(--sks) 196px minmax(0, 1fr); grid-template-rows: 30px minmax(0, 1fr); gap: 8px 12px; min-width: 0; min-height: 0; max-width: none; }
#ui .skw .skr > .skl-main { display: contents; }   /* 머리 줄 · 격자 · 넓은 판이 .skr 격자 칸에 바로 놓인다 */
#ui .skw .skr > .skl-side { grid-column: 1; grid-row: 1 / -1; position: relative; display: block; min-height: 0; padding: 0; overflow: hidden; border-radius: 12px;
  background: radial-gradient(ellipse 60% 46% at 50% 54%, rgba(255, 220, 160, .16), transparent 72%), rgba(0, 0, 0, .34); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .skw .skr .skr-head { grid-column: 2 / -1; grid-row: 1; display: flex; align-items: center; gap: 10px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
#ui .skw .skr .skr-head > * { flex: none; }
#ui .skw .skr .skr-head .skl-h { font-size: 12.5px; }
#ui .skw .skr .skr-head .skw-tabs { margin: 0; }
#ui .skw .skr .skq-chips { gap: 0; }
#ui .skw .skr .skq-chips[hidden] { display: none; }
#ui .skw .skr .skr-head > .skq-chips { flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); }   /* 탭 + 등급 칩이 넘치면 칩 줄만 끌어 넘김 */
#ui .skw .skr .skd-grid { grid-column: 2; grid-row: 2; grid-template-columns: repeat(3, 60px); grid-auto-rows: 60px; gap: 8px; padding: 2px 0 34px; }   /* 아래 34 = 알림 알약 자리 */
#ui .skw .skr > .skd { grid-column: 3; grid-row: 2; }
#ui .skw .skr .skd-grid > .skfd-empty { grid-column: 1 / -1; margin: 24px 0; }
#ui .skw .skr > .skl-msg { z-index: 7; }
/* 축제 띠(목공소 — festival.js 가 .skl-main 맨 앞에 끼움) = 그림 판 위쪽, 숙련 · [레벨업] 줄 아래(아래쪽은 만드는 것 알약 · 띠 자리) */
#ui .skw .skr .fest-band { grid-column: 1; grid-row: 1 / -1; align-self: start; justify-self: center; z-index: 4; height: 26px; margin-top: 50px; background-color: rgba(30, 60, 110, .82); }
#ui .skw .skr .skq-fpop { top: 34px; }
/* 흐름 배치(생성기 팝업 제외): 격자 → 상세 → 그림 판 */
#ui .skw .skr:not(.skr-g) { grid-template-columns: 196px minmax(0, 1fr) var(--sks); }
#ui .skw .skr:not(.skr-g) > .skl-side, #ui .skw .skr:not(.skr-g) .fest-band { grid-column: -2 / -1; }
#ui .skw .skr:not(.skr-g) .skr-head { grid-column: 1; }
#ui .skw .skr:not(.skr-g) .skd-grid { grid-column: 1; }
#ui .skw .skr:not(.skr-g) > .skd { grid-column: 2; grid-row: 1 / -1; }
#ui .skw .skr:not(.skr-g) > .skl-msg { left: calc(100% - var(--sks) / 2); top: 54px; bottom: auto; max-width: calc(var(--sks) - 24px); }   /* 알림 = 그림 판 위쪽(숙련 줄 아래) — 상세 판 [제작]을 가리지 않게 */
/* 대기열 건물(목공소 · 석공소 · 풍차 · 요리솥 · 연금술솥 대기열): 레벨 탭 = 격자 왼쪽 세로 줄 — 고른 탭 = 금빛 바탕 + 왼쪽 금 띠 */
#ui .skw .skr.skq { grid-template-columns: 56px 196px minmax(0, 1fr) var(--sks); grid-template-rows: minmax(0, 1fr); }
#ui .skw .skr.skq .skr-head { grid-column: 1; grid-row: 1; flex-direction: column; align-items: stretch; gap: 0; overflow: hidden auto; }
#ui .skw .skr.skq .skr-head > .skq-chips { flex: none; display: flex; flex-direction: column; gap: 6px; overflow: visible; mask-image: none; }
#ui .skw .skr.skq .skq-chips .skb-chipt { flex-direction: column; justify-content: center; gap: 3px; width: 100%; height: 48px; padding: 0 2px; border-radius: 10px; font-size: 12.5px; font-weight: 800; line-height: 1.1; white-space: normal; text-align: center;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .skw .skr.skq .skq-chips .skb-chipt.on { color: #fff; background: rgba(232, 201, 121, .16); box-shadow: inset 3px 0 #d9b86a, inset 0 0 0 1px rgba(232, 201, 121, .45); }
#ui .skw .skr.skq .skq-chips .skb-chipt.lock { background: rgba(0, 0, 0, .2); }
#ui .skw .skr.skq .skq-chips .skb-chipt .skb-ic { width: 13px; height: 13px; }
#ui .skw .skr.skq .skq-chips .skq-fbtn { height: auto; min-height: 48px; margin: 6px 0 0; padding: 6px 2px; font-size: 11.5px; }
#ui .skw .skr.skq .skd-grid { grid-column: 2; grid-row: 1; }
#ui .skw .skr.skq > .skd { grid-column: 3; grid-row: 1; }
#ui .skw .skr.skq .skq-fpop { left: 62px; right: auto; top: 0; justify-content: flex-start; }

/* 격자 칸 = 아이콘만(이름은 상세 판) · 잠김 = 자물쇠 + 아래 작은 Lv 표 */
#ui .skw .skr .skd-c { width: 60px; height: 60px; justify-content: center; gap: 0; padding: 0; }
#ui .skw .skr .skd-c > .skd-lv { position: absolute; left: 50%; bottom: 1px; z-index: 1; translate: -50% 0; height: 14px; padding: 0 5px; border-radius: 7px; background: rgba(0, 0, 0, .72);
  font: 800 9.5px/14px var(--ui-font); color: #f1d58a; white-space: nowrap; }
#ui .skw .skr .skd-c.lock .skd-lk { bottom: 8px; }
#ui .skw .skr .skd-c.lock .skl-cell > em { top: 3px; bottom: auto; }   /* 잠긴 칸 보유 ×n = 위 오른쪽(아래 가운데 Lv 표와 겹쳐 "Lv 2ˣ4"로 보였다 — farmsrc-1126 주호님 화면) */
/* 결과물 보유 수 = 칸 위 왼쪽 작은 알약(Lv 표와 같은 알약 · 글자색 흰 70% — 등급 금색은 Lv 표만) · 만드는 중 점(오른쪽 위 7)과 안 겹치게 폭 제한 */
#ui .skw .skr .skd-c > .skd-have { position: absolute; left: 2px; top: 2px; z-index: 1; max-width: calc(100% - 16px); height: 14px; padding: 0 5px; border-radius: 7px; background: rgba(0, 0, 0, .72);
  font: 800 9.5px/14px var(--ui-font); color: rgba(255, 255, 255, .78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }

/* 그림 판 안: 장면(솥 · 밭 · 우리)은 판 안에 무대 통째로(sky_craft_ui.js fit) · 남는 위아래 = 같은 그림 흐린 바탕 */
#ui .skw .skr .skf-scene { position: absolute; inset: 0; width: auto; height: auto; flex: none; border-radius: 0; box-shadow: none; background: #15171b; }
#ui .skw .skr .skr-blur { position: absolute; left: -16px; top: -16px; width: calc(100% + 32px); height: calc(100% + 32px); object-fit: cover; filter: blur(10px) brightness(.5) saturate(1.1); pointer-events: none; }
#ui .skw .skr .skf-stage, #ui .skw .skr .skf-stage.k-pot { left: 50%; top: 50%; translate: -50% -50%; transform-origin: 50% 50%; }
/* 장면 없는 건물(목공소 · 석공소 · 풍차 · 생성기) = 큰 건물 그림 */
#ui .skw .skr .skr-bpic { position: absolute; left: 50%; top: 37%; translate: -50% -50%; width: 216px; height: 180px; }
#ui .skw .skr .skr-bpic::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: 2px; z-index: -1; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, .35); filter: blur(4px); }
#ui .skw .skr .skr-bpic canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
#ui .skw .skr.skr-g .skr-bpic { top: 54%; width: 168px; height: 140px; }
/* 만드는 것 알약(장면 없는 건물 = 판 아래 띠 위 가운데) */
#ui .skw .skr > .skl-side > .skp-run { position: absolute; left: 50%; right: auto; top: auto; bottom: 130px; translate: -50% 0; }
/* 연금술솥 무대도 판 가운데(sky_cauldron.css 의 아래 붙임은 옛 좁은 판용) — 달이는 알약이 [레벨업] 줄 밑으로 */
#ui .skw .skr .skf-stage.k-pot.skc-stage { top: 50%; bottom: auto; }
/* 아래 띠 */
#ui .skw .skr .skr-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 0; padding: 22px 10px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .66) 40%); }
#ui .skw .skr .skr-strip > .skr-br { flex: 0 0 100%; height: 0; }   /* 위 줄(진행 n/m · [수확]) | 아래 줄 칸들 */
#ui .skw .skr .skr-strip:empty { display: none; }
#ui .skw .skr .skr-strip .skf-h1 { font-size: 13px; font-weight: 800; color: rgba(255, 255, 255, .82); white-space: nowrap; font-variant-numeric: tabular-nums; }
#ui .skw .skr .skr-strip .skq-take, #ui .skw .skr .skr-strip .skw-collect { margin-left: auto; height: 32px; padding: 0 16px; font-size: 13.5px; line-height: 32px; }
#ui .skw .skr .skr-strip .skw-collect[hidden] { display: none; }
/* [제작](대기열 건물) = 띠 위 줄 오른쪽 끝 — [수확]이 있으면 그 오른쪽(11-19 craftgo-1119: 가로로 쥔 폰의 오른손 엄지 밑 · 누르면 바로 아래 대기열 칸으로 떨어짐) */
#ui .skw .skr .skr-strip .skr-make { margin-left: auto; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
#ui .skw .skr .skr-strip .skq-take + .skr-make { margin-left: 0; }
#ui .skw .skr .skr-strip .skr-make.no { opacity: .5; }
/* 대기열 칸(11-19 craftux-1119: 34 → 48 · 물건 그림 32) */
#ui .skw .skr .skr-strip .skp-q { width: 48px; height: 48px; border-radius: 10px; }
#ui .skw .skr .skr-strip .skp-q .skl-ci { width: 30px; height: 32px; }
#ui .skw .skr .skr-strip .skp-q .skl-ci.px { width: auto; height: auto; max-width: 30px; max-height: 30px; }
#ui .skw .skr .skr-strip .skp-q > .skl-bar { left: 6px; right: 6px; bottom: 4px; height: 4px; }
#ui .skw .skr .skr-strip .skp-q.empty { font-size: 24px; outline: 1.5px dashed rgba(255, 255, 255, .28); }
#ui .skw .skr .skr-strip .skp-q.lock { width: auto; min-width: 42px; gap: 4px; padding: 0 5px; }
#ui .skw .skr .skr-strip .skp-q.lock .skb-ic { width: 14px; height: 14px; }
#ui .skw .skr .skr-strip .skp-q.lock small { gap: 2px; font-size: 10.5px; }
#ui .skw .skr .skr-strip .skp-q.lock img { width: 13px; height: 13px; }
/* 고른 제작법이 들어갈 다음 빈 칸 = 그 그림이 흐리게 + 금 점선 맥박(등급 빛 1047ms 결) + 오른쪽 아래 작은 + */
#ui .skw .skr .skr-strip .skp-q.ghost { outline: 1.5px dashed #e8c979; background: rgba(232, 201, 121, .1); animation: skq-ghost 1.047s ease-in-out infinite alternate; }
#ui .skw .skr .skr-strip .skp-q.ghost .skl-ci { opacity: .5; filter: saturate(.6); }
#ui .skw .skr .skr-strip .skp-q.ghost > .skp-gp { position: absolute; right: 2px; bottom: 0; font: 900 14px/1 var(--ui-font); font-style: normal; color: #f1d58a; text-shadow: 0 1px 2px #000; }
@keyframes skq-ghost { from { box-shadow: 0 0 0 rgba(232, 201, 121, 0); } to { box-shadow: 0 0 12px rgba(232, 201, 121, .45); } }
#ui .skw .skr .skp-q.done { box-shadow: inset 0 0 0 1.5px #9fe3a0, 0 0 8px rgba(159, 227, 160, .3); }
#ui .skw .skr .skp-q.done > .skl-bar::after { background: linear-gradient(90deg, #7fd07f, #c9efa0); }

/* 생성기(작은 팝업): 그림 판 | 자원 · 쌓임 · 단추 */
#ui .skw .skr.skr-g { grid-template-columns: var(--sks) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); height: 236px; }
#ui .skw .skr.skr-g > .skl-main { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 4px 0 2px; }
#ui .skw .skr-g .skg-own { display: flex; align-items: center; gap: 10px; }
#ui .skw .skr-g .skg-ownt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#ui .skw .skr-g .skg-ownt b { font-size: 14px; font-weight: 800; white-space: nowrap; }
#ui .skw .skr-g .skg-ownt small { font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
#ui .skw .skr-g .skw-rate { font-size: 12px; font-weight: 800; color: #f1d58a; }
#ui .skw .skr-g .skw-bar { max-width: none; }
#ui .skw .skr-g .skw-left { font-variant-numeric: tabular-nums; }
#ui .skw .skr-g .skw-btns { margin-top: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; }
#ui .skw .skr-g .skw-btns .btn { flex: none; height: 28px; padding: 0 12px; font-size: 12px; line-height: 28px; }
#ui .skw .skr-g .skw-btns .btn[hidden] { display: none; }
#ui .popup.skw .skr-g .skw-rush { display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 0 12px 0 10px; background: rgba(8, 12, 20, .55); color: #fff; box-shadow: inset 0 0 0 1px rgba(150, 236, 230, .45); }
#ui .popup.skw .skr-g .skw-rush img { width: 16px; height: 16px; object-fit: contain; }
#ui .popup.skw .skr-g .skw-rush b { font-weight: 900; font-variant-numeric: tabular-nums; }
#ui .popup.skw .skr-g .skw-rush b.lack { color: #ff9d92; }

/* 목록 칸 */
#ui .skw .skd-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); grid-auto-rows: max-content; gap: 6px; align-content: start;
  overflow-y: auto; scrollbar-width: none; padding-bottom: 34px; }
#ui .skw :is(.skd-grid, .skd)[hidden] { display: none; }
#ui .skw .skd-c { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; padding: 6px 2px 5px; border: 0; border-radius: 10px; color: #fff; cursor: pointer; touch-action: manipulation;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  animation: fx-card-in .32s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 25ms); transition: transform .18s cubic-bezier(.3, 1.8, .5, 1); }
#ui .skw .skd-grid.still .skd-c { animation: none; }
#ui .skw .skd-c:active { transform: scale(.95); transition-duration: .06s; }
#ui .skw .skd-c.on { background: rgba(232, 201, 121, .12); box-shadow: inset 0 0 0 1.5px #e8c979, 0 0 10px rgba(232, 201, 121, .35); animation: skl-sel 1.2s ease-in-out infinite alternate; }
#ui .skw .skd-grid.still .skd-c.on { animation: skl-sel 1.2s ease-in-out infinite alternate; }
#ui .skw .skd-c.lack .skl-cell { opacity: .72; }
#ui .skw .skd-c.run::after { content: ""; position: absolute; right: 5px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: #8fe6df; box-shadow: 0 0 6px #8fe6df; }   /* 지금 만드는 · 먹는 중 · 퀵슬롯 */
#ui .skw :is(.skd-c, .skd-top).lock .skl-cell > :not(.skd-lk):not(em) { filter: grayscale(.85) brightness(.55); }
#ui .skw .skd-lk { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
#ui .skw .skd-lk .skb-ic { width: 18px; height: 18px; color: #fff; filter: drop-shadow(0 1px 2px #000); }

/* 상세 판 */
#ui .skw .skd { display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 14px; border-radius: 12px;
  background: rgba(0, 0, 0, .34); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .skw .skd-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
#ui .skw .skd.fx-swap > .skd-body > *, #ui .skw .skd.fx-swap > .skd-act { animation: fx-card-in .26s cubic-bezier(.2, .8, .3, 1) both; }
#ui .skw .skd-top { display: flex; align-items: center; gap: 12px; }
#ui .skw .skd-top .skl-cell { width: 64px; height: 64px; cursor: pointer; }
#ui .skw .skd-nm { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#ui .skw .skd-nm b { font-size: 16.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .skw .skd-nm small { font-size: 12px; font-weight: 700; color: #9fe3b0; }   /* 효과 = 초록(좋아짐) */
#ui .skw .skd-nm small.skd-have { color: rgba(255, 255, 255, .72); font-variant-numeric: tabular-nums; }   /* 보유 n = 생성기 창 .skg-ownt small 과 같은 결 */
#ui .skw .skd-h { margin: 2px 0 0; font-size: 12.5px; font-weight: 800; color: rgba(255, 255, 255, .6); }
#ui .skw .skd-mats { display: flex; flex-wrap: wrap; gap: 10px; }
#ui .skw .skd-m { display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; }
#ui .skw .skd-m .skl-cell { width: 48px; height: 48px; }
#ui .skw .skd-m .skl-ico { width: 36px; height: 36px; }
#ui .skw .skd-m .skl-ico.px { max-width: 22px; max-height: 22px; }
#ui .skw .skd-m small { font: 700 12px/1 var(--ui-font); color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
#ui .skw .skd-m small b { color: #fff; }
#ui .skw .skd-m.lack small b { color: #ff8f84; }
#ui .skw .skd-m:active .skl-cell { transform: scale(.92); }
#ui .skw .skd-info { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .08); }
#ui .skw .skd-info span { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
#ui .skw .skd-info i { font-style: normal; color: rgba(255, 255, 255, .6); }
#ui .skw .skd-info b { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
#ui .skw .skd-prog { display: flex; flex-direction: column; gap: 5px; }
#ui .skw .skd-prog span { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; }
#ui .skw .skd-prog i { font-style: normal; color: #a8d8cf; }
#ui .skw .skd-prog small { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
#ui .skw .skd-prog .skl-bar { height: 8px; border-radius: 4px; }
#ui .skw .skd-note { font-size: 12px; color: rgba(255, 255, 255, .6); }
#ui .skw .skd-act { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
#ui .skw .skd-up { display: flex; justify-content: flex-end; gap: 10px; }   /* 위 단추 줄(농장 [모두 심기 · 먹이기]) — 아래 줄 [즉시 완료]와 자리가 겹치지 않게 */
#ui .skw .skd-act .btn, #ui .skw .skd-up .btn { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 16px; font-size: 14px; line-height: 36px; }
#ui .skw :is(.skd-act, .skr-strip) .btn[data-act="q-make"] { justify-content: center; min-width: 112px; height: 40px; padding: 0 22px; font-size: 15.5px; font-weight: 900; line-height: 40px; }   /* 주 단추 = 글자 폭 + 여백(판 폭으로 늘이지 않음) */
#ui .skw .skd-act .btn.no, #ui .skw .skd-up .btn.no { opacity: .5; }   /* 할 수 없음 = 흐림(누르면 까닭 한 줄) */
#ui .skw .skd-act .btn.off { opacity: .5; pointer-events: none; }
#ui .skw .skd-act .skw-rush img { width: 18px; height: 18px; }
#ui .popup.full.skw .skd-act .skw-rush { margin-right: 0; padding: 0 12px 0 10px; gap: 4px; }   /* 머리 띠용 오른쪽 여백 8 을 뺀다 — 두 단추가 한 줄 */

/* 고른 대기열 칸 */
#ui .skw :is(.skq-slot, .skp-q).on { box-shadow: inset 0 0 0 1.5px #e8c979, 0 0 8px rgba(232, 201, 121, .35); }
/* 장면이 고른 것을 보인다: 끓이기 · 달이기 전 = 고른 제작법 재료가 솥 위에 떠 흔들림 */
#ui .skw .skp-stage.pick:not(.on) .skp-in, #ui .skw .skc-stage.pick:not(.on) .skc-in { opacity: .9; animation: skd-hover 1.8s ease-in-out calc(var(--i) * -.6s) infinite alternate; }
@keyframes skd-hover { from { translate: 0 -40px; } to { translate: 0 -50px; } }

/* gf:js-pack prototype/Spikes/rt-battle/features/skyisle/sky_edit.css */
/* 하늘섬 섬 전체 편집(features/skyisle sky_edit.js, 2026-11-02 EDIT) — 고품질UI 규칙 그대로(GUI 450 · 알약 28 · 글자 폭 알약 · 어두운 반투명 띠 · 결정 = 청록 · 위험 = 빨강).
   자리: 편집 띠 = 건설 판 바로 위 오른쪽 · 판 닫기 ✕(40) 왼쪽(top = 판 위 끝 − 36 을 sky_edit.js 가 따라 맞춤 — 가운데 알림 줄 .skb-msg.up 과 겹치지 않게) · 고른 것 단추 = 그것 오른쪽 옆(화면 · 판 밖이면 E.floatAt 이 안쪽으로).
   11-02 LANES-UI UI3: 나가기 확인 알약(.ske-ask) · 고른 것 이름표(.ske-tag) · 옛 자리 배지(.ske-mk) · 보관함 카드 배지(.ske-badge) · 카드 줄 금 줄(.ske-sep). */
#hud .ske { left: 0; top: 0; width: 100%; height: 450px; pointer-events: none; }
#hud #hud-screen.skb-sheet-on > .ske { visibility: visible; }   /* 판이 열리면 HUD 를 숨기는 sky_build.css 규칙(> :not(.skb, .skm-bar))보다 세게 — 편집 띠는 판과 함께 보인다 */
#hud .ske > * { position: absolute; }
#hud .ske-bar { right: 64px; top: 304px; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 2px 0 12px; border-radius: 16px;
  background: rgba(8, 10, 14, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); animation: skb-msg-in .283s cubic-bezier(.2, .8, .3, 1) both; }
#hud .ske-n { font-size: 12.5px; font-weight: 700; color: #fff; white-space: nowrap; }
#hud .ske-bad { font-size: 11px; font-weight: 700; color: #ffb2a6; white-space: nowrap; }
#hud .ske-bad:empty { display: none; }
#hud .ske-bar .skb-pill { height: 26px; line-height: 26px; padding: 0 12px; }
#hud .ske-float { left: 0; top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; max-width: 220px; }
#hud .ske-float .skb-why { flex: 0 0 100%; }
#hud .ske-float [hidden] { display: none; }
/* 나가기 확인 = 편집 띠 자리 · 같은 어두운 띠에 금빛 테(결정을 기다림) — 물을 때마다 튐(ui-juice 팝 283 ms · 최대 1.025 — hq-ui §6) + 금빛 맥박 두 번(1047 ms) */
#hud .ske-ask { right: 64px; top: 304px; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 3px 0 12px; border-radius: 16px; pointer-events: auto;
  background: rgba(8, 10, 14, .78); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .85), 0 2px 8px rgba(0, 0, 0, .45); }
#hud .ske-ask.in { animation: ske-ask-pop .283s cubic-bezier(.2, .8, .3, 1) both, ske-ask-glow 1.047s ease-in-out .283s 2; }
#hud .ske-q { font-size: 12.5px; font-weight: 700; color: #fff; white-space: nowrap; }
#hud .ske-ask .skb-pill { height: 26px; line-height: 26px; padding: 0 12px; }
@keyframes ske-ask-pop { 0% { opacity: 0; transform: scale(.94); } 70% { opacity: 1; transform: scale(1.025); } 100% { transform: none; } }
@keyframes ske-ask-glow { 50% { box-shadow: inset 0 0 0 1px rgba(255, 222, 130, 1), 0 0 12px rgba(255, 210, 110, .55), 0 2px 8px rgba(0, 0, 0, .45); } }
/* 고른 것 이름표(모형 머리 위) · 옛 자리 배지(보관함 = 금 글자 · 뺌 = 흰 글자) — 어두운 알약 20, 글자 11(편집 띠 .ske-n 12.5 보다 작게) */
#hud .ske-tag { left: 0; top: 0; height: 20px; padding: 0 9px; border-radius: 10px; font-size: 11px; line-height: 20px; font-weight: 700; color: #ffe39a; white-space: nowrap;
  background: rgba(8, 10, 14, .72); box-shadow: inset 0 0 0 1px rgba(255, 216, 110, .7); }
#hud .ske-tag.bad { color: #ffb2a6; box-shadow: inset 0 0 0 1px rgba(255, 140, 120, .75); }
#hud .ske-tag[hidden] { display: none; }
#hud .ske-mks { left: 0; top: 0; }
#hud .ske-mk { position: absolute; left: 0; top: 0; height: 18px; padding: 0 7px; border-radius: 9px; font: 700 10px/18px var(--ui-font); font-style: normal; color: #fff; white-space: nowrap;
  background: rgba(8, 10, 14, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
#hud .ske-mk.store { color: #ffe39a; box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .85); }
/* 카드 줄: 보관함 건물 = 금 테 + 왼쪽 위 [보관함] 배지(금선 #c8aa6e — hq-ui §3 작은 팝업 금선) · 소품과 사이 금 줄 */
#hud .skb-card.ske-store { box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .85); }
#hud .ske-badge { position: absolute; left: 3px; top: 3px; z-index: 1; height: 13px; padding: 0 4px; border-radius: 3px; font: 700 8.5px/13px var(--ui-font); font-style: normal; color: #2a2212;
  background: linear-gradient(#e6cf95, #c8aa6e); }
#hud .ske-sep { flex: none; width: 1px; height: 52px; margin: 0 4px; background: linear-gradient(transparent, rgba(200, 170, 110, .8), transparent); }
/* 바닥 [걷기] 카드 = 흰 선 철거 아이콘 */
#hud .ske-erase .skb-ic { display: block; width: 28px; height: 28px; margin: 8px auto 4px; }
:is(#hud, #ui) .skb-ic.i-edit { --ic: var(--ic-rotate); }   /* 편집 탭 = 흰 선 ↻(옮기기 · 돌리기 — 새 아이콘 그림 전 [가정]) */
/* [건물 끄기 · 켜기](Q261125-F784B7 11-26 형창님 "건물 따로 바닥 따로 해서 건물 끄기 옵션") — 바닥 까는 중에만 · 판 위 왼쪽(편집 띠 = 오른쪽과 같은 높이) · 어두운 알약, 끈 동안 = 청록(지금 상태가 켜짐) */
#hud .ske-hide { position: absolute; left: 12px; top: 304px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; color: #fff; font: 700 12px/28px var(--ui-font);
  background: rgba(8, 10, 14, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); animation: skb-msg-in .283s cubic-bezier(.2, .8, .3, 1) both; }
#hud .ske-hide.on { background: linear-gradient(#83c3bf, #548f8c); box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .35); }
#hud .ske-hide[hidden] { display: none; }
#hud #hud-screen.skb-sheet-on > .ske-hide { visibility: visible; }

/* gf:js-pack prototype/Spikes/rt-battle/features/skyisle/sky_gauge.css */
/* ---- 전투 중 내 섬 게이지(sky_gauge.js — isleguage-1110). leftmenu-1124(주호님 11-24 "섬으로 가는 버튼 … 겔럭시 전면 카메라랑 겹치는 부분" · "왼쪽 메뉴도 너무 산만"):
   자리 = 왼쪽 위 둘째 줄 지도 · 채널 알약 오른쪽 알약 30(같은 판 · 금 테 · 틈 8) — 고리 22(테 = 모인 % 금빛 원호) + % 글자. 옛 자리(왼쪽 끝 · 퀘스트 알리미 아래)는 폰 가로 카메라 구멍 구간.
   한 건물이라도 가득 = 빨간 점(skc-dot 과 같은 628 ms) + 금빛 테 맥동. 연출 = transform · opacity 만. 누름 여유 = 지도 알약과 같은 위 8 · 아래 4(누름 높이 42). */
#hud .skg { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 30px; box-sizing: border-box; margin: 8px 0 0 8px; padding: 0 10px 0 4px; vertical-align: top;
  border: 0; border-radius: 15px; font: inherit; color: #f2f0e7; background: linear-gradient(90deg, rgba(13, 16, 17, .72), rgba(13, 16, 17, .5)); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .38);
  z-index: 2; pointer-events: auto; touch-action: manipulation; cursor: pointer; animation: skg-in .32s cubic-bezier(.3, 1.6, .5, 1) backwards; }
#hud .skg::before { content: ""; position: absolute; left: -4px; right: -4px; top: -8px; bottom: -4px; }
#hud .skg[hidden] { display: none; }
#hud .skg:active { transform: scale(.92); transition: transform .06s; }
/* islepill-1124 B안(형창님 11-24 "b 로 가자" — 주호님 "내 섬으로 가는거 저 버튼이 디자인 직관성이 떨어짐"): 고리 게이지 대신 지도 알약과 같은 결
   [금 선 섬 아이콘 15 · "내 섬" 12 · ›] + 오른쪽 위에 걸친 % 배지(높이 15 · 글자 9.5). 가득 = 배지 금색 "수확!" + 알약 금 테 맥동. */
#hud .skg { padding: 0 11px 0 9px; }
#hud .skg .skg-ic { flex: none; display: block; width: 15px; height: 15px; }
#hud .skg .skg-ic svg { display: block; width: 15px; height: 15px; stroke: #e8c979; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }
#hud .skg .skg-lab { font-size: 12px; font-weight: 800; white-space: nowrap; text-shadow: 0 1px 2px #000; }
#hud .skg .skg-go { font-style: normal; font-size: 12px; font-weight: 900; line-height: 1; color: #b9bcb4; margin-top: -1px; }
#hud .skg .skg-go::before { content: "›"; }
#hud .skg .skg-pct { position: absolute; right: -8px; top: -7px; height: 15px; box-sizing: border-box; padding: 0 5px; border-radius: 8px; font-size: 9.5px; font-weight: 900; line-height: 13px; white-space: nowrap;
  color: #ffe39a; background: rgba(44, 34, 14, .96); box-shadow: inset 0 0 0 1px #e8c979, 0 1px 3px rgba(0, 0, 0, .5); font-variant-numeric: tabular-nums; pointer-events: none; }
#hud .skg.full { box-shadow: inset 0 0 0 1px rgba(255, 211, 107, .9); }
#hud .skg.full .skg-pct { color: #16130d; background: #ffd36b; box-shadow: 0 0 0 1px #e8c979, 0 0 8px rgba(255, 200, 80, .55); }
#hud .skg.full::after { content: ""; position: absolute; inset: -3px; border-radius: 18px; box-shadow: 0 0 0 2px rgba(241, 213, 138, .9), 0 0 10px rgba(241, 213, 138, .7); animation: skg-glow 1.2s ease-in-out infinite alternate; pointer-events: none; }
#hud .skg.skg-pop .skg-pct { animation: skg-pop .42s cubic-bezier(.3, 1.8, .5, 1); }
#hud .skg.skg-tap .skg-ic svg { animation: skg-pop .3s cubic-bezier(.3, 1.8, .5, 1); }
#hud #hud-screen.skb-sheet-on .top-l > .skg { visibility: hidden; }
@keyframes skg-in { from { opacity: 0; transform: translateX(-8px) scale(.85); } }
@keyframes skg-pop { 40% { transform: scale(1.18); } }
@keyframes skg-glow { from { opacity: .35; } to { opacity: 1; } }
@keyframes skc-dot { to { scale: 1.25; opacity: .7; } }

/* gf:js-pack prototype/Spikes/rt-battle/features/skyisle/sky_cauldron.css */
/* 연금술솥 창 — sky_cauldron.js. 장면 = caul_bg 247×167(해 질 녘 탑 꼭대기 연금술 공방 — 노을 창 · 촛불 · 증류기 불 · 빛나는 청록 물약, Codex 도트 정수 2배, 11-05 caulbg 색 제한 없이 다시). 판 크기 · 알약 자리만 요리솥 장면(.skf-stage.k-pot · .skp-run)과 같고,
   연출은 요리솥(불 · 불티 · 김 · 거품)과 다르게 연금술 전용(11-05 사용자 "요리솥 그대로 따라하지 말고 배경 다른 걸로, 연출도 다르게"):
   바닥 마법진이 돌며 빛남 · 물약 면 소용돌이 · 떠올라 흔들리며 사라지는 빛 방울 · 솥 테를 넘쳐 흘러내리는 안개 · 재료가 솥 둘레를 돌다 빨려 들어가 별빛 터짐 ·
   증류기 병 맥동과 방울 · 다 된 병은 탁자 위에 떠서 반짝임. 색 = --pc(달이는 물약 대표색, 쉼 = 그림 물약 청록 · JS PC 표). 쉼 = 방이 조금 어둡고 마법진 · 물약 면 꺼짐, 촛불 · 창 반짝임만.
   자리(caul_bg 1배 × 2 — 솥 실루엣 caul_mask 도 같은 1배): 물약 면 (100–270, 114–162) · 마법진 가운데 (181, 278) 310×92 · 탁자 위 (304–492, 152–200) · 증류기 병 (383, 134) (468, 140). */
#ui .skw .skf-scene.k-caul { background: #3b2418; }
#ui .skw .skc-stage { --pc: #2ed8d2; }
/* 판은 몸 높이에 따라 무대(334)의 위 약 255만 보였다(sandbox 740×360 · Note20 캡처) — 요리솥처럼 위에 붙이면 바닥 마법진이 잘려
   아래에 붙인다(보이는 곳 ≈ y 69–324: 솥 · 마법진 · 탁자 · 창 아랫부분). 달이는 알약은 잘린 위쪽 밖으로 나가지 않게 내린다. */
#ui .skw .skf-stage.k-pot.skc-stage { top: auto; bottom: -10px; }
#ui .skw .skc-stage > .skp-run { top: 84px; }
#ui .skw .skc-stage > :is(.skc-sky, .skc-rune, .skc-mist, .skc-motes) { inset: 0; }
#ui .skw .skc-stage :is(.skc-sky, .skc-rune, .skc-pool, .skc-mist, .skc-motes) i { position: absolute; }
/* 쉼 = 방이 저녁빛으로 가라앉음 */
#ui .skw .skc-dim { inset: 0; background: rgba(28, 12, 20, .3); transition: opacity .8s; }
#ui .skw .skc-stage.on .skc-dim { opacity: 0; }
/* 창 별 · 촛불 — 늘 */
#ui .skw .skc-sky > i { left: var(--x); top: var(--y); width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff6c8; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; animation: skc-twk var(--t) ease-in-out var(--d) infinite; }
#ui .skw .skc-cdl { width: 6px; height: 10px; margin: -10px 0 0 -3px; border-radius: 50% 50% 45% 45% / 70% 70% 30% 30%; background: radial-gradient(ellipse at 50% 75%, #fff 0 25%, #ffd36a 40%, #ff8a2a 75%, transparent 76%);
  box-shadow: 0 0 10px 4px rgba(255, 170, 70, .35); transform-origin: 50% 100%; animation: skc-cdl .9s ease-in-out var(--d, 0s) infinite alternate; }
/* 방을 밝히는 물약 빛 · 마법진(평면 원을 눕혀 돌림 — 그림 마법진과 같은 310×92) */
#ui .skw .skc-light { left: 0; top: 40px; width: 380px; height: 300px; background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 34%, transparent), transparent); mix-blend-mode: screen; opacity: 0; transition: opacity .8s; }
#ui .skw .skc-stage.on .skc-light { opacity: 1; animation: skc-breathe 2.4s ease-in-out infinite alternate; }
#ui .skw .skc-rune { mask: url(assets/ui/skyisle/caul_mask.png) 0 0 / 494px 334px no-repeat; mix-blend-mode: screen; }   /* 솥 몸 · 다리 앞을 비움(caul_mask = 솥 실루엣 손 다각형) — 마법진이 솥 뒤 바닥에 */
#ui .skw .skc-rglow { left: 26px; top: 232px; width: 310px; height: 92px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 55%, transparent), color-mix(in srgb, var(--pc) 18%, transparent) 70%, transparent);
  opacity: .12; transition: opacity .8s; }
#ui .skw .skc-stage.on .skc-rglow { opacity: .7; animation: skc-flare 7s linear infinite; }
#ui .skw .skc-rc { left: 181px; top: 278px; width: var(--w); height: var(--w); margin: calc(var(--w) * -.5) 0 0 calc(var(--w) * -.5); transform: scaleY(.3) rotate(0deg); opacity: .18; transition: opacity .8s; }
#ui .skw .skc-rc > i { inset: 0; border-radius: 50%; }
#ui .skw .skc-rc.o { --w: 300px; }
#ui .skw .skc-rc.o > i { border: 3px dashed color-mix(in srgb, var(--pc) 80%, #fff); box-shadow: 0 0 10px color-mix(in srgb, var(--pc) 70%, transparent), inset 0 0 10px color-mix(in srgb, var(--pc) 50%, transparent); }
#ui .skw .skc-rc.m { --w: 230px; }
#ui .skw .skc-rc.m > i { border: 2px dotted color-mix(in srgb, var(--pc) 60%, #fff); }
#ui .skw .skc-rc.n { --w: 168px; }
#ui .skw .skc-rc.n > i { border-radius: 0; background: linear-gradient(color-mix(in srgb, var(--pc) 70%, #fff), color-mix(in srgb, var(--pc) 70%, #fff));
  clip-path: polygon(50% 0, 93.3% 75%, 6.7% 75%, 50% 0, 50% 6%, 12% 72%, 88% 72%, 50% 6%); opacity: .9; }
#ui .skw .skc-stage.on .skc-rc { opacity: .95; animation: skc-spin var(--s, 16s) linear infinite; }
#ui .skw .skc-stage.on .skc-rc.m { --s: 11s; animation-direction: reverse; }
#ui .skw .skc-stage.on .skc-rc.n { --s: 7s; }
/* 증류기 — 둥근 병이 번갈아 맥동 · 관 끝에서 방울 */
#ui .skw .skc-flask { width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 85%, #fff), color-mix(in srgb, var(--pc) 30%, transparent) 60%, transparent); mix-blend-mode: screen; opacity: 0; transition: opacity .8s; }
#ui .skw .skc-stage.on .skc-flask { opacity: .8; animation: skc-breathe 1.6s ease-in-out var(--d, 0s) infinite alternate; }
#ui .skw .skc-drip { left: 463px; top: 106px; width: 3px; height: 4px; border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%; background: color-mix(in srgb, var(--pc) 70%, #fff); opacity: 0; }
#ui .skw .skc-stage.on .skc-drip { animation: skc-drip 1.8s ease-in infinite; }
/* 물약 면: 그림 청록 면에 물약 색을 입히고(color) 소용돌이 · 가운데 빛 */
#ui .skw .skc-pool { left: 100px; top: 114px; width: 170px; height: 48px; border-radius: 50%; overflow: hidden; }
#ui .skw .skc-tint { inset: 0; background: var(--pc); mix-blend-mode: color; opacity: 0; transition: opacity .8s; }
#ui .skw .skc-swirl { left: 0; top: 50%; width: 170px; height: 170px; margin-top: -85px; transform: scaleY(.28) rotate(0deg);
  background: repeating-conic-gradient(from 0deg, transparent 0 8%, rgba(255, 255, 255, .5) 13%, transparent 21% 33.33%); mask: radial-gradient(closest-side, transparent 8%, #000 30%, #000 80%, transparent); opacity: 0; mix-blend-mode: screen; transition: opacity .8s; }
#ui .skw .skc-core { left: 60px; top: 14px; width: 50px; height: 20px; border-radius: 50%; background: radial-gradient(closest-side, #fff, color-mix(in srgb, var(--pc) 70%, transparent) 55%, transparent); mix-blend-mode: screen; opacity: 0; }
#ui .skw .skc-stage.on .skc-tint { opacity: .85; }
#ui .skw .skc-tint::after { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 55%, transparent), transparent); mix-blend-mode: screen; }   /* color 만 입히면 금 · 주황이 탁해짐 → 밝기 더함 */
#ui .skw .skc-stage.on .skc-swirl { opacity: .8; animation: skc-swirl 2.6s linear infinite; }
#ui .skw .skc-stage.on .skc-core { animation: skc-core 7s ease-out infinite; }
/* 빛 방울 — 물약 면에서 떠올라 좌우로 흔들리며 작아지고 사라짐(거품처럼 터지지 않음) */
#ui .skw .skc-motes > i { left: var(--x); top: 136px; width: var(--s); height: var(--s); margin: calc(var(--s) * -.5) 0 0 calc(var(--s) * -.5); border-radius: 50%;
  background: radial-gradient(circle, #fff 0 30%, color-mix(in srgb, var(--pc) 85%, #fff) 45%, transparent 72%); box-shadow: 0 0 6px 1px color-mix(in srgb, var(--pc) 70%, transparent); opacity: 0; animation: skc-mote var(--t) ease-out var(--d) infinite; }
/* 안개 — 솥 테에서 넘쳐 옆 · 아래로 흘러내림 */
#ui .skw .skc-mist > i { left: var(--x); top: 128px; width: var(--s); height: calc(var(--s) * .55); margin: calc(var(--s) * -.27) 0 0 calc(var(--s) * -.5); border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 45%, rgba(255, 255, 255, .5)), transparent); opacity: 0; animation: skc-mist var(--t) ease-in-out var(--d) infinite; }
#ui .skw .skc-stage:not(.on) :is(.skc-motes, .skc-mist) { visibility: hidden; }
/* 재료 — 솥 둘레를 반 바퀴 돌며 작아지다 빨려 들고, 닿으면 물약 색 고리 · 별빛 터짐 (7초 바퀴) */
#ui .skw .skc-cyc { inset: 0; }
#ui .skw .skc-cyc > * { position: absolute; }
#ui .skw .skc-in { margin: -18px 0 0 -18px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; opacity: 0; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--pc) 80%, #fff)); }
#ui .skw .skc-in .skl-ico.px { max-width: 18px; max-height: 18px; }
#ui .skw .skc-ring { margin: -9px 0 0 -22px; width: 44px; height: 18px; border-radius: 50%; box-sizing: border-box; border: 2px solid color-mix(in srgb, var(--pc) 60%, #fff); box-shadow: 0 0 8px var(--pc); opacity: 0; }
#ui .skw .skc-burst { margin: -14px 0 0 -14px; width: 28px; height: 28px; background: radial-gradient(closest-side, #fff, color-mix(in srgb, var(--pc) 80%, #fff) 50%, transparent);
  clip-path: polygon(50% 0, 58% 36%, 85% 15%, 64% 42%, 100% 50%, 64% 58%, 85% 85%, 58% 64%, 50% 100%, 42% 64%, 15% 85%, 36% 58%, 0 50%, 36% 42%, 15% 15%, 42% 36%); opacity: 0; }
#ui .skw .skc-stage.on :is(.skc-in, .skc-ring, .skc-burst) { animation: var(--a) 7s linear calc(var(--i) * .5s) infinite; }
#ui .skw .skc-stage.on .skc-in { --a: skc-in; }
#ui .skw .skc-stage.on .skc-ring { --a: skc-ring; }
#ui .skw .skc-stage.on .skc-burst { --a: skc-burst; }
@keyframes skc-twk { 0%, 100% { opacity: 0; scale: .4; } 50% { opacity: 1; scale: 1; } }
@keyframes skc-cdl { from { scale: 1 1; opacity: .9; } to { scale: .85 1.15; opacity: 1; } }
@keyframes skc-breathe { from { opacity: .55; } to { opacity: 1; } }
@keyframes skc-spin { to { transform: scaleY(.3) rotate(360deg); } }
@keyframes skc-swirl { to { transform: scaleY(.28) rotate(360deg); } }
@keyframes skc-flare { 0%, 16% { opacity: .55; } 20% { opacity: 1; } 24% { opacity: .65; } 27% { opacity: 1; } 31% { opacity: .65; } 34% { opacity: 1; } 42%, 100% { opacity: .55; } }
@keyframes skc-core { 0%, 18% { opacity: .2; scale: .8; } 21% { opacity: 1; scale: 1.25; } 27% { opacity: .9; scale: 1.15; } 34% { opacity: 1; scale: 1.3; } 50%, 100% { opacity: .2; scale: .8; } }
@keyframes skc-drip { 0%, 40% { opacity: 0; translate: 0 0; } 45% { opacity: 1; translate: 0 0; } 70% { opacity: 1; translate: 0 18px; } 72%, 100% { opacity: 0; translate: 0 20px; } }
@keyframes skc-mote { 0% { opacity: 0; translate: 0 0; scale: .6; } 12% { opacity: 1; scale: 1; } 40% { translate: var(--dx) calc(var(--dy) * .4); } 70% { opacity: .8; translate: calc(var(--dx) * -.6) calc(var(--dy) * .75); } 100% { opacity: 0; translate: calc(var(--dx) * .4) var(--dy); scale: .3; } }
@keyframes skc-mist { 0% { opacity: 0; translate: 0 -4px; scale: .6; } 25% { opacity: .55; } 100% { opacity: 0; translate: var(--dx) 46px; scale: 1.5; } }
@keyframes skc-in { 0% { opacity: 0; translate: -96px -52px; scale: 1.1; rotate: 0deg; } 2% { opacity: 1; } 8% { translate: -40px -76px; scale: 1; } 14% { translate: 46px -52px; scale: .85; rotate: 160deg; } 18% { translate: 30px -26px; scale: .6; rotate: 260deg; }
  20% { translate: 0 0; scale: .2; rotate: 360deg; opacity: 1; } 21%, 100% { opacity: 0; translate: 0 0; scale: .2; } }
@keyframes skc-ring { 0%, 19.9% { opacity: 0; scale: .3; } 20% { opacity: 1; scale: .4; } 30%, 100% { opacity: 0; scale: 2; } }
@keyframes skc-burst { 0%, 19.9% { opacity: 0; scale: .2; rotate: 0deg; } 20.5% { opacity: 1; scale: 1.3; } 26%, 100% { opacity: 0; scale: .5; rotate: 90deg; } }
/* 탁자 = 다 된 병(떠서 반짝임 · 누르면 거두기) + ×수 알약(가득 = 적갈) */
#ui .skw .skp-stage > .skc-table { left: 312px; top: 132px; width: 176px; height: 66px; padding: 0; border: 0; background: none; cursor: pointer; touch-action: manipulation; grid-template-columns: repeat(6, 28px); grid-auto-rows: 50px; align-content: end; }   /* 한 줄(최대 6병) — 뒤 증류기를 가리지 않게 */
#ui .skw .skc-stage > .skc-table[hidden] { display: none; }
#ui .skw .skc-table > .skp-dish { padding: 0 0 8px; animation: skc-float 2.2s ease-in-out calc(var(--k) * -.37s) infinite; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--pc) 70%, #fff)); }
#ui .skw .skc-table > .skp-dish::before { left: 3px; right: 3px; background: rgba(10, 4, 20, .4); }
#ui .skw .skc-table > .skp-dish::after { content: ""; position: absolute; right: -2px; top: 4px; width: 8px; height: 8px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: skc-twk 1.7s ease-in-out calc(var(--k) * -.53s) infinite; }
#ui .skw .skc-table > em { position: absolute; right: 4px; bottom: -6px; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(8, 10, 14, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  font: 900 12px/22px var(--ui-font); font-style: normal; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
#ui .skw .skc-table.full > em { background: rgba(150, 34, 28, .9); }
#ui .skw .skc-table:active { transform: scale(.95); }
@keyframes skc-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
/* 판 아래 줄: 퀵슬롯 칸 40 · 재료 칩 · 주 단추 하나(글자 폭 알약 — 오른쪽 끝) */
#ui .skw .skc-act { min-height: 40px; flex-wrap: nowrap; gap: 10px; }
#ui .skw .skc-q { position: relative; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1.5px rgba(232, 201, 121, .7); color: #fff; cursor: pointer; touch-action: manipulation; }
#ui .skw .skc-q img { width: 18px; height: 26px; object-fit: contain; image-rendering: pixelated; }
#ui .skw .skc-q img[hidden] { display: none; }
#ui .skw .skc-q b { position: absolute; right: 3px; bottom: 1px; font-size: 10.5px; font-weight: 900; text-shadow: 0 1px 2px #000; font-variant-numeric: tabular-nums; }
#ui .skw .skc-q img[hidden] + b { position: static; font-size: 18px; }
#ui .skw .skc-q:active { transform: scale(.92); }
#ui .skw .skc-mat { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
#ui .skw .skc-mat .skb-chip b { font-size: 12px; font-variant-numeric: tabular-nums; }
#ui .skw .skc-mat .skb-chip b i { font-style: normal; }
#ui .skw .skc-act > .btn { flex: none; height: 28px; padding: 0 16px; line-height: 28px; }
#ui .skw .skc-act > .btn[hidden] { display: none; }
/* 오른쪽: 머리(달일 물약 · [쉬기]) + 물약 카드 — 카드 모양은 sky_life.css .skq-rc · .skc .skc-g */
#ui .skw .skc-main { gap: 6px; }
#ui .skw .skc-head { flex: none; display: flex; align-items: center; gap: 10px; }
#ui .skw .skc-rest { margin-left: auto; flex: none; height: 26px; padding: 0 14px; font-size: 12px; line-height: 26px; }
#ui .skw .skc-rest.on { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
#ui .skw .skc-list.still .skc-g { animation: none; }
#ui .skw .skc-list.still .skc-g.on { animation: skl-sel 1.2s ease-in-out infinite alternate; }
/* [제작] 왼쪽 수 고르기 [−] 수 [+](11-07 alchqty): 상점 수량 줄(.pk-qty)과 같은 어두운 알약 28 · 둥근 단추 24 · 수 칸 = 누르면 숫자 키보드(고른 동안 금 테) */
#ui .skw .skd-act .skc-qty { flex: none; display: inline-flex; align-items: center; gap: 2px; height: 28px; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#ui .skw .skd-act .skc-qty.off { opacity: .5; }
#ui .skw .skc-qb { flex: none; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 999px; background: linear-gradient(#e6decd, #c7bba3); color: #26221c; font: 900 15px/24px sans-serif; text-align: center; cursor: pointer; touch-action: manipulation; box-shadow: 0 1px 3px rgba(0, 0, 0, .45); transition: transform .08s; }
#ui .skw .skc-qb:active { transform: scale(.88); }
#ui .skw .skc-qb.off { opacity: .35; }
#ui .skw .skc-qn { width: 40px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #fff; font-family: inherit; font-size: 13px; font-weight: 900; line-height: 24px; font-variant-numeric: tabular-nums; text-align: center; outline: none; -webkit-user-select: text; user-select: text; cursor: text; }
#ui .skw .skc-qn:focus { background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1.5px rgba(232, 201, 121, .9); }

/* gf:js-pack prototype/Spikes/rt-battle/features/bldgnav/bldg_nav.css */
/* 건물 창 좌우 넘기기(2026-11-07 bldgnav-1107) — features/bldgnav/bldg_nav.js
   ◀ ▶ = 창 층(#skw-dim) 좌우 가장자리 가운데, 누름 자리 60×84(주소창 있는 낮은 화면의 창 층 zoom .75 에서도 44 이상) · 보이는 것 = 어두운 반투명 원 + 흰 선 꺾쇠(작은 장식 단추 아님).
   넘김 = 창 판이 넘긴 쪽에서 .2초 미끄러져 들어옴(translate 속성 — 창 판 transform · 열림 연출과 겹치지 않음). */
#ui .skw-dim > .bnav { position: absolute; top: 50%; z-index: 6; width: 60px; height: 84px; margin-top: -42px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
#ui .skw-dim > .bnav[hidden] { display: none; }
#ui .skw-dim > .bnav-l { left: 2px; }
#ui .skw-dim > .bnav-r { right: 2px; }
/* 작은 팝업(생성기)에서도 같은 자리(화면 끝) — 팝업 옆으로 옮기면 연달아 누를 때 단추가 움직여 바깥(어두운 판 = 닫기)을 누르게 된다 */
#ui .skw-dim > .bnav > i { position: relative; width: 42px; height: 42px; border-radius: 50%; background: rgba(10, 14, 22, .66); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3), 0 2px 8px rgba(0, 0, 0, .45); transition: transform .12s ease, background-color .12s ease; }
#ui .skw-dim > .bnav > i::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; border: solid #fff; border-width: 0 0 3px 3px; border-radius: 1px; }
#ui .skw-dim > .bnav-l > i::before { transform: translate(-30%, -50%) rotate(45deg); }
#ui .skw-dim > .bnav-r > i::before { transform: translate(-70%, -50%) rotate(-135deg); }
#ui .skw-dim > .bnav:active > i { transform: scale(.86); background-color: rgba(10, 14, 22, .82); }
#ui .skw-dim > .bnav.hit > i { animation: bn-hit .22s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes bn-hit { 0% { transform: scale(.82); } 100% { transform: none; } }
#ui .popup.skw.bn-in-r { animation: bn-in-r .2s cubic-bezier(.2, 1.25, .45, 1) both; }
#ui .popup.skw.bn-in-l { animation: bn-in-l .2s cubic-bezier(.2, 1.25, .45, 1) both; }
@keyframes bn-in-r { from { translate: 40px 0; opacity: .35; } to { translate: none; opacity: 1; } }
@keyframes bn-in-l { from { translate: -40px 0; opacity: .35; } to { translate: none; opacity: 1; } }
/* 종류 안 차례(11-09 ask3-1109): 창 머리 이름 옆 "농장 2/3" — 글자 폭 알약 · 흐린 글자(이름보다 낮게) */
#ui .skw > .popup-head > .bnav-pos { flex: none; align-self: center; margin-left: 8px; padding: 0 8px; height: 20px; border-radius: 10px; font-style: normal; font-size: 11px; font-weight: 800; line-height: 20px;
  font-variant-numeric: tabular-nums; white-space: nowrap; color: #d9dde6; background: rgba(8, 12, 20, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
#ui .skw > .popup-head > .bnav-pos[hidden] { display: none; }

/* gf:js-pack prototype/Spikes/rt-battle/features/matsrc/mat_src.css */
/* 재료 얻는 곳 · 쓰임 바로가기(features/matsrc/mat_src.js) — 공용 아이템 정보 카드(.it-tip.icard 폭 229 · 줄 글자 9) 아래 덧붙임.
   줄 = 높이 32 · 흰 선 아이콘 22 · 이름 10 / 설명 9(라벨 9 이상) · 오른쪽 알약 = 글자 폭 · 높이 24(카드 [자세히 보기] 26 과 같은 결, 줄 안이라 2 낮춤).
   이름 · 설명은 한 줄 줄임 없이 접어 쓴다(글자가 판 밖으로 나가지 않게 — 알약은 줄어들지 않고 글 칸만 줄어듦). 판은 누름을 통과시키므로 알약만 누름을 받는다. */
#ui .it-tip.icard .ms-src { margin-top: 6px; }
#ui .it-tip.icard .ms-sec { display: flex; align-items: center; gap: 5px; margin: 6px 0 3px; font-size: 9px; color: rgba(236, 228, 211, .62); }
#ui .it-tip.icard .ms-sec::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .1); }
#ui .it-tip.icard .ms-row { display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 4px 4px 4px; margin-bottom: 3px; border-radius: 6px; background: rgba(255, 255, 255, .045); }
#ui .it-tip.icard .ms-ic { flex: none; width: 22px; height: 22px; border-radius: 5px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; }
#ui .it-tip.icard .ms-ic svg { width: 14px; height: 14px; fill: none; stroke: #f2efe8; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#ui .it-tip.icard .ms-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#ui .it-tip.icard .ms-t b { font-size: 10px; font-weight: 800; color: #f2efe8; line-height: 1.2; overflow-wrap: anywhere; word-break: keep-all; }
#ui .it-tip.icard .ms-t small { font-size: 9px; color: rgba(236, 228, 211, .66); line-height: 1.25; overflow-wrap: anywhere; word-break: keep-all; }
#ui .it-tip.icard .ms-go { flex: none; position: relative; height: 24px; max-width: 92px; padding: 0 9px 0 10px; border-radius: 12px; pointer-events: auto; cursor: pointer;
  border: 1px solid rgba(143, 230, 223, .55); background: linear-gradient(#2f6c72, #1f4b50); color: #effffd; font: inherit; font-size: 9.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .it-tip.icard .ms-go::after { content: " ›"; }
#ui .it-tip.icard .ms-go.main { border-color: #ffe7a6; background: linear-gradient(#f5d27a, #d29a32); color: #2b1d05; }
#ui .it-tip.icard .ms-go.off { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: rgba(236, 228, 211, .55); }
#ui .it-tip.icard .ms-go:active { transform: scale(.92); transition: transform 60ms; }
#ui .it-tip.icard .ms-use .ms-cells { display: flex; align-items: center; gap: 3px; }
#ui .it-tip.icard .ms-cell { width: 22px; height: 22px; border-radius: 5px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
#ui .it-tip.icard .ms-cell .ms-ico { width: 18px; height: 18px; object-fit: contain; image-rendering: pixelated; }
#ui .it-tip.icard .ms-cells em { font-style: normal; font-size: 9px; color: rgba(236, 228, 211, .66); }
/* 재료 칸이 모자랄 때(빨강 가진 수/필요 수) 칸 위 왼쪽 초록 [+] = 눌러서 얻는 곳 보기(칸 누름 = 아이템 정보, 지금 그대로) */
#ui .skw .skd-m.lack .skd-plus { position: absolute; left: -4px; top: -4px; z-index: 2; width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; pointer-events: none;
  background: linear-gradient(#5fd28a, #2f8f55); box-shadow: 0 0 0 1.5px #dfffe9, 0 1px 3px rgba(0, 0, 0, .6); color: #fff; font: 900 12px/1 var(--ui-font); font-style: normal; }
/* 바로가기로 연 농장 상점 = 그 작물 줄 금색 테 빛 두 번(고른 것 = 크기 대신 빛, 고품질UI §1) */
#ui .skw .skm-row.focus { animation: ms-focus .9s ease-in-out 2; }
@keyframes ms-focus { 50% { box-shadow: inset 0 0 0 1.5px #e8c979, 0 0 12px rgba(232, 201, 121, .45); } }

/* gf:js-pack prototype/Spikes/rt-battle/features/bldglv/bldg_lv.css */
/* 건물 레벨업 팝업(features/bldglv/bldg_lv.js) — 가운데 작은 팝업 · 어두운 판(아이템 정보 카드 .it-tip 와 같은 결) · GUI 450 기준.
   크기(고품질UI · 메이플 키우기 실측): 판 폭 440 · 제목 15 · 단계 줄 20 · 칸 40 · 라벨 9 이상 · 조건 줄 30 · 비용 칩 34 · [레벨업] 40(누름 칸 34 이상).
   글은 판 밖으로 나가지 않게 접어 쓴다(이름 · 까닭 = keep-all + anywhere), 칸 줄은 넘치면 다음 줄로. */
#ui .bldglv-dim { z-index: var(--z-win, 10); }   /* 창 층(ui_layer.css) — 건물 창 #skw-dim 뒤에 붙여 그 위 · 말풍선(--z-toast) · 아이템 정보(--z-tip)는 이 위 */
#ui .popup.bl-pop { width: 440px; max-width: calc(100% - 24px); max-height: calc(100% - 16px); box-sizing: border-box; padding: 0; border: 0; border-image: none; overflow: hidden auto;
  background: linear-gradient(#262a31, #181b20); border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 10px 28px rgba(0, 0, 0, .6); color: #f2efe8; filter: none; text-align: left; }
#ui .bl-pop .bl-hd { position: relative; height: 40px; display: flex; align-items: center; justify-content: center; padding: 0 40px; background: linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); border-bottom: 1px solid rgba(255, 255, 255, .1); }
#ui .bl-pop .bl-hd b { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .bl-pop .bl-x { position: absolute; right: 6px; top: 5px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .3); cursor: pointer; }
#ui .bl-pop .bl-x::before, #ui .bl-pop .bl-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: #e9e6df; transform: rotate(45deg); }
#ui .bl-pop .bl-x::after { transform: rotate(-45deg); }
#ui .bl-pop .bl-bd { padding: 8px 14px 12px; }
#ui .bl-pop .bl-max { margin: 18px 0; text-align: center; font-size: 13px; color: rgba(236, 228, 211, .75); }
#ui .bl-pop .bl-lv { display: flex; align-items: center; justify-content: center; gap: 14px; height: 32px; }
#ui .bl-pop .bl-lv b { font-size: 20px; font-weight: 900; }
#ui .bl-pop .bl-lv b.to { color: #f1d58a; }
#ui .bl-pop .bl-arw { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent rgba(236, 228, 211, .6); }
#ui .bl-pop .bl-sec { display: flex; align-items: center; gap: 6px; margin: 8px 0 4px; font-size: 10px; color: rgba(236, 228, 211, .62); }
#ui .bl-pop .bl-sec::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .1); }
#ui .bl-pop .bl-opens { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#ui .bl-pop .bl-op { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 44px; }
#ui .bl-pop .bl-op small { max-width: 100%; font-size: 9px; color: rgba(236, 228, 211, .8); text-align: center; line-height: 1.15; word-break: keep-all; overflow-wrap: anywhere; }
#ui .bl-pop .bl-cell { width: 40px; height: 40px; border-radius: 7px; display: grid; place-items: center; background: linear-gradient(#4a4f57, #33373e); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .bl-pop .bl-cell .bl-ico { width: 30px; height: 30px; object-fit: contain; image-rendering: pixelated; }
#ui .bl-pop .bl-op.on .bl-cell { box-shadow: inset 0 0 0 1.5px #e8c979, 0 0 10px rgba(232, 201, 121, .5); animation: bl-on 1.2s ease-in-out infinite alternate; }   /* 누른 것 = 크기 대신 빛(고품질UI §1) */
#ui .bl-pop .bl-op.on small { color: #f1d58a; }
@keyframes bl-on { to { box-shadow: inset 0 0 0 1.5px #f3dc96, 0 0 16px rgba(232, 201, 121, .75); } }
#ui .bl-pop .bl-more { font-style: normal; font-size: 10px; color: rgba(236, 228, 211, .66); }
#ui .bl-pop .bl-gap { flex: 1; min-width: 4px; }
#ui .bl-pop .bl-delta { flex: none; height: 26px; padding: 0 11px; border-radius: 13px; display: inline-flex; align-items: center; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 11px; font-weight: 800; color: #f1d58a; white-space: nowrap; }
#ui .bl-pop .bl-cond { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 10px; margin-bottom: 4px; border-radius: 7px; background: rgba(0, 0, 0, .28); font-size: 11.5px; }
#ui .bl-pop .bl-cn { flex: none; font-weight: 700; }
#ui .bl-pop .bl-cond > b { flex: none; font-size: 11px; font-variant-numeric: tabular-nums; }
#ui .bl-pop .bl-cond > b.ok { color: #8fe3a0; }
#ui .bl-pop .bl-cond > b.no { color: #ff8f84; }
#ui .bl-pop .bl-mk { flex: none; width: 16px; height: 16px; border-radius: 50%; position: relative; }
#ui .bl-pop .bl-mk.y { background: #2f7a45; }
#ui .bl-pop .bl-mk.y::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #d9ffe3; border-width: 0 2px 2px 0; transform: rotate(45deg); }
#ui .bl-pop .bl-mk.n { background: #7a2f2a; }
#ui .bl-pop .bl-mk.n::before, #ui .bl-pop .bl-mk.n::after { content: ""; position: absolute; left: 4px; top: 7px; width: 8px; height: 2px; background: #ffd9d4; transform: rotate(45deg); }
#ui .bl-pop .bl-mk.n::after { transform: rotate(-45deg); }
#ui .bl-pop .bl-bar { flex: 1; min-width: 40px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
#ui .bl-pop .bl-bar > i { display: block; height: 100%; background: linear-gradient(90deg, #e8c979, #f0a94a); transform-origin: left; }
#ui .bl-pop .bl-hint { display: block; margin: -1px 0 5px 34px; font-size: 9.5px; color: rgba(236, 228, 211, .62); word-break: keep-all; overflow-wrap: anywhere; }
#ui .bl-pop .bl-costs { display: flex; flex-wrap: wrap; gap: 6px; }
#ui .bl-pop .bl-chip { flex: 1 1 150px; min-width: 0; min-height: 34px; display: flex; align-items: center; gap: 7px; padding: 3px 6px 3px 8px; border-radius: 7px; background: rgba(0, 0, 0, .28); box-sizing: border-box; }
#ui .bl-pop .bl-chip > img { flex: none; width: 22px; height: 22px; object-fit: contain; image-rendering: pixelated; }
#ui .bl-pop .bl-cv { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#ui .bl-pop .bl-cv b { font-size: 11.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .bl-pop .bl-cv small { font-size: 9.5px; color: rgba(236, 228, 211, .62); }
#ui .bl-pop .bl-chip.lack .bl-cv b, #ui .bl-pop .bl-chip.lack .bl-cv small { color: #ff8f84; }
#ui .bl-pop .bl-get { flex: none; height: 24px; padding: 0 10px; border-radius: 12px; display: inline-flex; align-items: center; font-style: normal; font-size: 10px; font-weight: 800; white-space: nowrap;
  border: 1px solid rgba(143, 230, 223, .55); background: linear-gradient(#2f6c72, #1f4b50); color: #effffd; }
#ui .bl-pop .bl-get::after { content: " ›"; }
#ui .bl-pop .bl-go { margin-top: 10px; width: 100%; min-height: 40px; padding: 4px 14px; border-radius: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 8px; row-gap: 1px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 900; box-sizing: border-box; }
#ui .bl-pop .bl-go:active { transform: scale(.96); transition: transform 60ms; }
#ui .bl-pop .bl-go.gold { border: 1px solid #ffe7a6; background: linear-gradient(#f8da86, #d29a32); color: #2b1d05; box-shadow: 0 0 14px rgba(255, 200, 90, .3); }
#ui .bl-pop .bl-go.off { border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: rgba(236, 228, 211, .6); }
#ui .bl-pop .bl-go.off .skb-ic { width: 14px; height: 14px; }
#ui .bl-pop .bl-go small { font-size: 10px; font-weight: 700; word-break: keep-all; overflow-wrap: anywhere; text-align: center; }
#ui .bl-pop .bl-cc { display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 8px; border-radius: 11px; background: rgba(0, 0, 0, .16); font-style: normal; font-size: 11px; }
#ui .bl-pop .bl-cc img { width: 15px; height: 15px; object-fit: contain; image-rendering: pixelated; }

/* gf:js-pack prototype/Spikes/rt-battle/features/unlock/unlock.css */
/* 기능 해금(highland-feedback-1104 L — features/unlock/unlock.js). 고품질UI: 흰 선 아이콘 · 등급색 없음 · 금(지갑 골드 #e8c979)은 열린 순간 강조에만.
   잠김 = 흐린 아이콘(.38) + 아이콘 오른쪽 아래 흰 자물쇠(변신 lock.svg 와 같은 그림) · 이름 흐림. 누름 = 칸이 좌우로 짧게 떨림.
   열린 순간 = 위 가운데 어두운 반투명 띠(아이콘 + "새 기능 열림" + 이름, 자물쇠가 튀어 날아가고 빛이 훑는다) · ☰ 단추 금빛 고리 → 메뉴를 펼치면 그 칸 자물쇠 풀림 · 반짝임. */
/* 숨긴 기능(data/unlocks.json hidden): 그 입구를 감춘다 */
html.ul-hide-guild #menu-pop .menu-item[data-menu="guild"], html.ul-hide-guild .pc-guild, html.ul-hide-guild .hero-guild, html.ul-hide-guild .mp-guild { display: none !important; }
#ui .menu-item > .ul-pad { display: none; position: absolute; left: 50%; top: 18px; width: 14px; height: 14px; margin: 2px 0 0 4px; background: #fff; pointer-events: none;
  -webkit-mask: url(features/morph/lock.svg) center / contain no-repeat; mask: url(features/morph/lock.svg) center / contain no-repeat; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .8)); }
#ui .menu-item.ul-lock > .ul-pad { display: block; }
#ui .menu-item.ul-lock > .white-icon { opacity: .38; }
#ui .menu-item.ul-lock { color: rgba(255, 255, 255, .5); }
#ui .menu-item.ul-lock > .dot { display: none !important; }   /* 잠긴 칸에는 새 소식 점을 띄우지 않는다 */
#ui .menu-item.ul-no { animation: ul-no .32s ease-out; }
@keyframes ul-no { 0%, 100% { translate: 0; } 20% { translate: -3px; } 45% { translate: 3px; } 70% { translate: -2px; } }

/* 메뉴를 펼친 순간 새로 열린 칸: 자물쇠가 위로 튀며 사라지고 아이콘이 금빛으로 한 번 부풀었다 돌아온다 */
#ui .menu-item.ul-open > .ul-pad { display: block; animation: ul-pad-off .6s cubic-bezier(.3, 1.4, .5, 1) forwards; }
#ui .menu-item.ul-open > .white-icon { animation: ul-ico-on .9s ease-out; }
#ui .menu-item.ul-open::after { content: ""; position: absolute; left: 50%; top: 18px; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(232, 201, 121, .55) 0, rgba(232, 201, 121, .18) 45%, rgba(232, 201, 121, 0) 70%); animation: ul-glow 1.2s ease-out forwards; }
@keyframes ul-pad-off { 0% { transform: none; opacity: 1; } 35% { transform: translate(2px, -7px) rotate(18deg) scale(1.15); opacity: 1; } 100% { transform: translate(8px, -16px) rotate(40deg) scale(.6); opacity: 0; } }
@keyframes ul-ico-on { 0% { opacity: .38; transform: scale(.9); } 35% { opacity: 1; transform: scale(1.22); filter: drop-shadow(0 0 6px rgba(232, 201, 121, .9)); } 100% { opacity: 1; transform: none; } }
@keyframes ul-glow { 0% { opacity: 0; transform: scale(.5); } 30% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.35); } }

/* ☰ 단추: 열린 기능이 있는 동안 금빛 고리 숨쉬기(메뉴를 펼치면 꺼진다) */
#hud .tools .t-menu.ul-ping { position: relative; }
#hud .tools .t-menu.ul-ping::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 2px rgba(232, 201, 121, .9), 0 0 10px rgba(232, 201, 121, .7);
  animation: ul-ping 1.1s ease-in-out infinite alternate; }
@keyframes ul-ping { from { opacity: .35; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }

/* 열린 순간 띠: 위 가운데, 글자 폭(판 폭으로 늘이지 않는다) — 들어옴 .25s · 머묾 · 나감 .4s */
#ui .ul-card { position: absolute; z-index: var(--z-banner, 60); left: 50%; top: 64px; translate: -50% 0; display: flex; align-items: center; gap: 10px; padding: 8px 22px 8px 12px; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 11, 14, 0), rgba(10, 11, 14, .82) 18%, rgba(10, 11, 14, .82) 82%, rgba(10, 11, 14, 0)); overflow: hidden;
  animation: ul-card-in .25s cubic-bezier(.2, 1.3, .4, 1) both, ul-card-out .4s ease-in 2.2s forwards; }
#ui .ul-card > .ul-line { position: absolute; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, rgba(232, 201, 121, 0), rgba(232, 201, 121, .85), rgba(232, 201, 121, 0)); }
#ui .ul-card > .ul-line.t { top: 0; } #ui .ul-card > .ul-line.b { bottom: 0; }
#ui .ul-card::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40px; left: -60px; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .28), rgba(255, 255, 255, 0)); animation: ul-sheen .7s ease-out .45s forwards; }
#ui .ul-card .ul-ico { position: relative; width: 34px; height: 34px; flex: none; }
#ui .ul-card .ul-glyph { position: absolute; inset: 0; background: linear-gradient(#fff 12%, #f7f7f7 44%, #c7c9cc); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
  filter: drop-shadow(0 0 0 rgba(232, 201, 121, 0)); animation: ul-glyph .9s ease-out .25s both; }
#ui .ul-card .ul-ico > .ul-pad { position: absolute; right: -4px; bottom: -2px; width: 16px; height: 16px; background: #fff;
  -webkit-mask: url(features/morph/lock.svg) center / contain no-repeat; mask: url(features/morph/lock.svg) center / contain no-repeat; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .8));
  animation: ul-pad-off .6s cubic-bezier(.3, 1.4, .5, 1) .3s forwards; }
#ui .ul-card .ul-txt { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
#ui .ul-card small { font-size: 11px; font-weight: 800; color: #e8c979; letter-spacing: .5px; }
#ui .ul-card b { font-size: 17px; font-weight: 900; color: #fff; text-shadow: 0 1px 2px #000; }
@keyframes ul-card-in { from { opacity: 0; transform: translateY(-10px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes ul-card-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes ul-sheen { to { left: calc(100% + 20px); } }
@keyframes ul-glyph { 0% { opacity: .38; transform: scale(.85); } 45% { opacity: 1; transform: scale(1.18); filter: drop-shadow(0 0 7px rgba(232, 201, 121, .95)); } 100% { opacity: 1; transform: none; filter: drop-shadow(0 0 2px rgba(232, 201, 121, .5)); } }

/* gf:js-pack prototype/Spikes/rt-battle/features/summon/summon.css */
/* [소환] 창(summon.js) — 전체화면 창 틀(01-popup .popup.full: 머리 띠 46 · ‹ · 흰 아이콘 + 제목 · 글자 폭 탭 알약)을 그대로 쓰고,
   판 자체는 비운다: 아래 층에 깐 뽑기 창(.dim.in-summon)의 배경 장면이 화면 전체에 보이고, 이 창은 위 어둠 띠 + 머리 + 탭 줄만.
   탭 3개 = 글자 폭 줄(fit-content, 고품질UI §1). */
#ui .popup.full.summon > .popup-head > h2::before { -webkit-mask-image: url(assets/icons/menu-summon.png); mask-image: url(assets/icons/menu-summon.png); }
#ui .summon-dim > .shade { visibility: hidden; }
#ui .dim.summon-dim, #ui .dim.summon-dim.open, #ui .popup.full.summon { pointer-events: none; }   /* 01-popup #ui .dim.open(auto)보다 세게 — 빈 자리 누름 = 아래 뽑기 창 */
#ui .popup.full.summon > .popup-head > .back, #ui .popup.full.summon > .sm-tabs { pointer-events: auto; }
#ui .popup.full.summon > .popup-head { pointer-events: none; background: none; box-shadow: none; }   /* 머리 빈 자리 누름 = 아래 뽑기 창 지갑(+) */
/* 위 어둠 띠만(뒤 장면 위 글자 대비) — 몸 자리부터 투명 */
#ui .popup.full.summon { background: linear-gradient(180deg, rgba(6, 6, 10, .72) 0, rgba(6, 6, 10, .42) 92px, rgba(6, 6, 10, 0) 124px);
  box-shadow: 0 -100vmax 0 100vmax rgba(6, 6, 10, .72); }   /* 판 위 띠(폴드 · 4:3)만 위 어둠과 같은 색 — 아래는 뽑기 창(01-popup 판 그림자)이 덮는다(uifit-1110) */
#ui .summon .sm-tabs { height: 34px; margin-bottom: 10px; }
#ui .summon .sm-tabs .tab { font-size: 15px; }
#ui .summon .sm-body { flex: 1; min-height: 0; }
#ui .summon .sm-tabs .tab.on { animation: sm-tab-on .26s cubic-bezier(.3, 1.4, .5, 1); }   /* 고른 탭 알약 튐(ui-juice 누름 튕김 1.06) */
@keyframes sm-tab-on { 0% { transform: scale(.92); } 60% { transform: scale(1.06); } 100% { transform: none; } }

/* 아래 층 뽑기 창: 깊이 자리를 이 창 바로 아래로(.lift = 연출 · 팝업 동안 제 깊이 그대로 = 위) */
#ui .dim.in-summon { padding: 0; }
#ui .dim.in-summon:not(.lift) { z-index: calc(var(--sm-z, 10) - 1) !important; }
#ui .dim.in-summon > .shade { display: none; }
/* 뽑기 창 머리 = 지갑만, 제자리(흐름 밖) — 글자 자리는 소환 탭 줄 아래부터 */
#ui .dim.in-summon .popup.full > .popup-head { position: absolute; left: 0; right: 0; top: 0; margin: 0; z-index: 2; background: none; box-shadow: none; pointer-events: none; }
#ui .dim.in-summon .popup.full > .popup-head > :not(.win-wallet) { visibility: hidden; }
#ui .dim.in-summon .popup.full > .popup-head > .win-wallet { pointer-events: auto; }
/* 지갑 = 위 층 소환 창 머리(.sm-wallet — summon.js mirror)에 옮겨 그린다(sumwallet-1120 주호님 11-20 "오른쪽 위에 내가 소지한 다이아는 잘 보이게":
   아래 층 지갑은 위 어둠 띠 .72 에 덮여 흐렸다). 아래 층 것은 숨김 — 연출 · 결과로 뽑기 창이 위로 올라오면(.lift) 제 지갑 그대로.
   재화 하나 = 어두운 알약 + 아이콘 + 흰 굵은 수 · 다이아 수 = 밝은 하늘색. 크기 = 알약 34 · 아이콘 28 · 수 19(sumten-1120 주호님 11-20 "오른쪽 위에 다이아 더 크게" —
   고품질UI 알약 26~28 보다 크게, 사용자 지시가 이김. 머리 띠 46 안) */
#ui .dim.in-summon:not(.lift) .popup.full > .popup-head > .win-wallet { visibility: hidden !important; }
#ui .popup.full.summon > .popup-head > .sm-wallet { margin-left: auto; margin-right: 14px; display: flex; align-items: center; gap: 10px; pointer-events: none; }
#ui .popup.full.summon .sm-wallet:empty { display: none; }
#ui .popup.full.summon .sm-wallet > span { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 6px; border-radius: 17px;
  background: rgba(10, 14, 22, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 2px 6px rgba(0, 0, 0, .3); }
#ui .popup.full.summon .sm-wallet img { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); }
#ui .popup.full.summon .sm-wallet b { min-width: 0; margin: 0; font-size: 19px; font-weight: 900; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); font-variant-numeric: tabular-nums; }
#ui .popup.full.summon .sm-wallet .dia b { color: #a8d6ff; }
#ui .dim.in-summon .popup.full { padding-top: calc(var(--sm-top, 0px) + 4px); animation: fx-fade .2s ease-out both; }

/* 뽑기 연출 공용 단추(11-18 주호님 "버튼들이 작고 너무 안 보여 · 모두 열기나 스킵이 오른쪽 위에 너무 붙어있지 않고 텍스트 크기도 키우고 · 다시 뽑기의 크기와 버튼도 더 잘 보이게 하고 위치는 오른쪽 밑에").
   스킬(gacha_show .gs-skip/.gs-footer) · 펫(.pt-gskip/.pt-skip/.pt-sfoot) · 코스튬(.cs-gskip/.cs-skip/.cs-sfoot) · 한정 코스튬(.cl-skip/.cl-sfoot)이 같은 표를 쓴다.
   [건너뛰기 · 모두 열기 · 모두 부화] = 영화 띠(높이 9%) 아래 · 오른쪽 가장자리에서 안쪽으로, 어두운 판 + 금 테 + 흰 굵은 글자(밝은 장면 · 어두운 장면 모두 보임).
   [한 번 더 · 확인] = 오른쪽 아래, 높이 46 · 글자 16.
   위아래 가운데 = 글꼴 지표 보정(hud 01-hud.part @font-face ascent/descent-override, btnfix-1118)이 맡는다 — 여기서 아래 여백으로 따로 올리지 않는다. */
#ui .popup.full .btn.ga-skip { position: absolute; top: calc(9% + 14px); right: 44px; bottom: auto; left: auto; z-index: 9;
  min-width: 112px; min-height: 40px; height: auto; padding: 0 20px; border-radius: 20px; line-height: 1;
  font-size: 15px; font-weight: 900; letter-spacing: .5px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
  background: rgba(10, 14, 22, .74); box-shadow: inset 0 0 0 1.5px rgba(242, 194, 122, .9), 0 3px 10px rgba(0, 0, 0, .35); }
#ui .popup.full .btn.ga-skip:active { transform: scale(.92); transition-duration: .06s; }
#ui .popup.full .ga-foot { position: absolute; left: auto; right: 44px; bottom: 26px; justify-content: flex-end; align-items: center; gap: 12px; }
#ui .popup.full .ga-foot > button.btn { flex: none; min-width: 132px; min-height: 46px; height: auto; padding: 0 24px; border-radius: 23px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 16px; font-weight: 900; letter-spacing: .3px; }
#ui .popup.full .ga-foot > button.btn.plain { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
  background: rgba(10, 14, 22, .74); box-shadow: inset 0 0 0 1.5px rgba(242, 194, 122, .9), 0 3px 10px rgba(0, 0, 0, .35); }
#ui .popup.full .ga-foot > button.btn.gold { box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 0 0 2px rgba(255, 255, 255, .55), 0 3px 10px rgba(0, 0, 0, .35); }
#ui .popup.full .ga-foot > button.btn.off { filter: grayscale(1); opacity: .55; }
#ui .popup.full .ga-foot > button.btn:not(.off):active { transform: scale(.92); transition-duration: .06s; }
#ui .popup.full .ga-foot > button.btn img { width: 20px !important; height: 20px !important; vertical-align: -4px !important; }
#ui .popup.full .ga-foot > button.btn small { font-size: 12.5px !important; opacity: .85 !important; }
/* 뽑기 단추 값 칸 '가진 수/값'(again.js cost — 11-19 주호님): 모자라면 가진 수를 빨갛게 */
#ui .ga-cost em { font-style: normal; }
#ui .ga-cost.short em { color: #e8262f; font-weight: 900; }

/* gf:js-pack prototype/Spikes/rt-battle/features/gacha/gacha_auto.css */
/* 스킬북 뽑기 [연속 소환](autosum2-1126) — features/gacha/gacha_auto.js. 크기 = GUI 450 기준(hq-ui: 누름 칸 34 이상 · 이웃 틈 8 · 제목 15 · 라벨 9 이상) */
#ui .as-layer { position: absolute; inset: 0; z-index: 12; display: flex; align-items: center; justify-content: center; }
#ui .as-layer[hidden] { display: none; }
#ui .as-layer.as-dim { background: rgba(2, 3, 10, .62); }
#ui .as-layer.as-run { flex-direction: column; justify-content: flex-start; gap: 10px; padding: 10px 18px 12px; background: radial-gradient(ellipse at 50% 46%, #1d2a48, #0c1120 62%, #05070e); }
/* 작은 판 = 뽑기 창 확률표 판과 같은 결(어두운 판 + 금빛 테) */
#ui .as-card { width: 420px; max-width: calc(100% - 24px); max-height: calc(100% - 20px); overflow-y: auto; display: flex; flex-direction: column; gap: 9px; padding: 14px 16px 14px;
  border-radius: 10px; background: linear-gradient(180deg, #1a1f33, #0e111d); box-shadow: inset 0 0 0 1px rgba(233, 196, 138, .45), 0 10px 30px rgba(0, 0, 0, .6); color: #e9e4d6;
  animation: as-pop .22s cubic-bezier(.2, .9, .3, 1.25) both; }
#ui .as-card.as-end { width: 600px; }
#ui .as-card header { display: flex; align-items: center; gap: 8px; }
#ui .as-card h3 { margin: 0; font-size: 16px; font-weight: 900; color: #f6f2e6; letter-spacing: .5px; }
#ui .as-sub { margin: -3px 0 2px; font-size: 10.5px; color: #b9b5aa; }
#ui .as-row { display: grid; grid-template-columns: 66px 1fr; align-items: center; gap: 8px; }
#ui .as-row > label { font-size: 11px; font-weight: 800; color: #e9c48a; }
#ui .as-pills { display: flex; flex-wrap: wrap; gap: 8px; }
#ui .as-pill { flex: none; min-width: 52px; height: 34px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; border: 0; border-radius: 17px;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #c9c6bb; font-size: 11.5px; font-weight: 800; transition: transform .12s, background .12s; }
#ui .as-pill:active { transform: scale(.94); }
#ui .as-pill.on { background: #e9dfc6; color: #2a2620; box-shadow: 0 0 10px rgba(233, 196, 138, .35); }
#ui .as-pill small { font-size: 10px; opacity: .7; }
#ui .as-pill img { width: 15px; height: 15px; object-fit: contain; image-rendering: auto; }
#ui .as-box { width: 12px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px currentColor; }
#ui .as-pill.on .as-box { background: #2a2620; box-shadow: none; position: relative; }
#ui .as-pill.on .as-box::after { content: ""; position: absolute; left: 4px; top: 1px; width: 3px; height: 7px; border: solid #e9dfc6; border-width: 0 2px 2px 0; transform: rotate(45deg); }
#ui .as-cost > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
#ui .as-cur { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 900; color: #f6f2e6; }
#ui .as-cur img { width: 15px; height: 15px; object-fit: contain; image-rendering: auto; }
#ui .as-have { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #9c9889; }
#ui .as-have .as-cur { font-size: 10.5px; color: #c9c6bb; }
#ui .as-warn { margin: -2px 0 0; padding: 4px 8px; border-radius: 5px; font-size: 10.5px; font-weight: 800; color: #ffd27a; background: rgba(255, 180, 60, .1); }
#ui .as-warn.sure { color: #fff; background: rgba(224, 80, 58, .28); box-shadow: inset 2px 0 0 #e0503a; animation: as-pop .2s ease-out both; }
#ui .popup.full.gacha .as-card footer .btn.as-sure { filter: hue-rotate(-38deg) saturate(1.5) brightness(.95); }
#ui .as-card footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 2px; }
#ui .popup.full.gacha .as-card footer .btn { flex: none; min-width: 96px; min-height: 40px; height: 40px; padding-top: 0; padding-bottom: 0; display: flex; flex-direction: column; justify-content: center; line-height: 1.1; border-radius: 20px; font-size: 13px; font-weight: 900; }
#ui .popup.full.gacha .as-card footer .btn small { font-size: 10px; font-weight: 800; opacity: .85; }
/* 진행: 위 띠 */
#ui .as-band { width: 100%; max-width: 760px; display: flex; align-items: center; gap: 12px; padding: 6px 8px 6px 14px; border-radius: 22px; background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px rgba(233, 196, 138, .3); }
#ui .as-band > b { flex: none; font-size: 14px; font-weight: 900; color: #f6f2e6; white-space: nowrap; }
#ui .as-bar { flex: 1; min-width: 60px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .14); position: relative; overflow: hidden; }
#ui .as-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 3px; background: linear-gradient(90deg, #b88a3a, #f0cf86); transition: width .5s cubic-bezier(.2, .8, .3, 1); }
#ui .as-spent { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; color: #b9b5aa; white-space: nowrap; }
#ui .popup.full.gacha .as-stop { flex: none; min-width: 84px; min-height: 36px; height: 36px; padding-top: 0; padding-bottom: 0; border-radius: 17px; font-size: 12px; font-weight: 900; }
/* 진행: 이번 11칸 */
#ui .as-grid { flex: 1; min-height: 0; width: 100%; max-width: 640px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px 6px; }
#ui .as-it { width: 92px; display: grid; justify-items: center; gap: 2px; text-align: center; color: #fff; animation: as-cell .28s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--i) * .04s); }
#ui .as-cell { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--g) 42%, #10131f), #0c0e18 78%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g) 80%, transparent), 0 0 10px color-mix(in srgb, var(--g) 35%, transparent); }
#ui .as-it.top .as-cell { box-shadow: inset 0 0 0 1.5px var(--g), 0 0 18px var(--g); animation: as-glow .7s ease-in-out infinite alternate; }
#ui .as-ic { width: 28px; height: 28px; background: #f2f4ff; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
#ui .as-cell img { width: 30px; height: 30px; object-fit: contain; }
#ui .as-cell em { position: absolute; top: -6px; right: -10px; padding: 0 4px; border-radius: 6px; font-size: 9px; font-style: normal; font-weight: 900; line-height: 13px; color: #fff; background: #e0503a; }
#ui .as-it small { font-size: 9px; font-weight: 800; color: var(--g); }
#ui .as-it b { max-width: 100%; font-size: 10.5px; font-weight: 800; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ui .as-wait { width: 36px; height: 36px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .15); border-top-color: #f0cf86; animation: as-spin .8s linear infinite; }
/* 진행: 아래 누적 줄 */
#ui .as-foot { width: 100%; max-width: 760px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#ui .as-tl { font-size: 10.5px; font-weight: 800; color: #9c9889; }
#ui .as-t { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 11px; font-weight: 800; color: var(--g, #fff); background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g, #fff) 45%, transparent); }
#ui .as-t.new { --g: #ff8a6e; }
#ui .as-t b { color: #fff; font-size: 12px; }
#ui .as-stops { font-size: 10px; color: #b9b5aa; }
/* 끝 합계 */
#ui .as-why { margin: -2px 0 0; padding: 6px 10px; border-radius: 6px; font-size: 12px; font-weight: 900; color: #e9e4d6; background: rgba(255, 255, 255, .06); }
#ui .as-why.hit { color: #ffe3a0; background: linear-gradient(90deg, rgba(232, 160, 40, .25), rgba(232, 160, 40, .04)); box-shadow: inset 2px 0 0 #f0b450; }
#ui .as-end-body { display: grid; grid-template-columns: 230px 1fr; gap: 14px; }
#ui .as-end h4 { margin: 0 0 6px; font-size: 11px; font-weight: 800; color: #e9c48a; }
#ui .as-end h4 small { margin-left: 4px; font-size: 10px; color: #9c9889; }
#ui .as-br > span { white-space: nowrap; }
#ui .as-br { display: grid; grid-template-columns: 64px 1fr 26px; align-items: center; gap: 6px; height: 18px; font-size: 10.5px; font-weight: 800; color: var(--g); }
#ui .as-br i { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
#ui .as-br i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: var(--g); animation: as-grow .5s ease-out both; }
#ui .as-br b { text-align: right; color: #fff; }
#ui .as-pick { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#ui .as-top, #ui .as-new { display: flex; flex-wrap: wrap; gap: 6px; }
#ui .as-top { margin-bottom: 4px; }
#ui .as-pick .as-it { width: 90px; }
#ui .as-none { font-size: 10.5px; color: #8d8778; }
#ui .as-pick .as-spent { margin-top: 4px; }
/* 뽑기 창 단추 줄 [연속 소환] — 다른 뽑기 단추와 같은 두 줄 틀(gacha.js .gc-btns .btn) · 푸른 테로 구분 */
#ui .popup.full .gc-btns .btn.gc-auto { box-shadow: inset 0 0 0 1.5px #7fb4ff, 0 0 12px rgba(127, 180, 255, .35), 0 3px 10px rgba(0, 0, 0, .5); }
@keyframes as-pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes as-cell { from { opacity: 0; transform: translateY(8px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes as-glow { from { filter: brightness(1); } to { filter: brightness(1.35); } }
@keyframes as-grow { from { width: 0; } }
@keyframes as-spin { to { transform: rotate(360deg); } }

/* gf:js-pack prototype/Spikes/rt-battle/features/meteornote/meteornote.css */
/* 별똥별 알림(meteornote.js) — #hud-screen 안(무대 배율 .hud-in, GUI 450 기준 px).
   11-11 meteornote2(사용자 "보스 도전이랑 별 나온느거 겹쳐져서 불-편"): 자리 = 보스 도전 알약(features/boss .boss-go right 10 · top 66 · 높이 28)과 같은 줄.
   알약이 보이면 meteornote.js 가 right 를 그 왼쪽으로 옮긴다. 높이 28 · top 66 ~ 94 — 채팅 줄(top 34 ~ 64) 아래, 스킬 칸(hud.css .sk-btn top 98~) 위.
   펼침 = 어두운 반투명 알약 + 금빛 테(등급색 강조만) · 접힘 = 아이콘 + 개수 배지만(28 칸). */
#hud-screen .mtn { position: absolute; right: 10px; top: 66px; z-index: 3; height: 28px; width: var(--mtn-w, 150px); padding: 0; border: 0; border-radius: 14px;
  pointer-events: auto; text-align: left; font-family: var(--ui-font);
  background: linear-gradient(90deg, rgba(12,16,28,.8), rgba(12,16,28,.64));
  box-shadow: inset 0 0 0 1px rgba(255,214,102,.45), 0 0 10px rgba(255,200,80,.2);
  transition: width .28s cubic-bezier(.3,.7,.3,1), box-shadow .28s; }
#hud-screen .mtn[hidden] { display: none; }
/* 자르기 = 안쪽 칸 하나(dotclip-1119 — 형창님 11-19 "빨간색 우측 상단 빨핑(숫자 배지 '51' 등)도 짤려서 보일 때가 종종 있음"): 예전엔 알약(.mtn) 통째로 overflow hidden 이라
   접힌 둥근 칸(36 · 반지름 14) 오른쪽 위 모서리에서 개수 배지(.mtn-n)가 잘렸다. 펼침 폭 연출 동안 넘치는 글자 · 훑는 빛만 알약 모양 안쪽 칸에서 자르고, 배지(아이콘 칸 안)는 밖으로 걸쳐 보인다. */
#hud-screen .mtn-clip { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
#hud-screen .mtn.in { animation: mtn-in .42s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes mtn-in { from { transform: translateX(110%); opacity: 0; } to { transform: none; opacity: 1; } }
#hud-screen .mtn-ic { position: absolute; z-index: 1; left: 2px; top: 1px; width: 26px; height: 26px; }   /* z 1 = 배지가 글자 · 빛 칸(.mtn-clip) 위 */
#hud-screen .mtn-ic img { width: 26px; height: 26px; object-fit: contain; filter: drop-shadow(0 0 3px rgba(255,214,102,.6)); }
#hud-screen .mtn-n { position: absolute; right: -5px; top: -1px; min-width: 13px; height: 13px; padding: 0 3px; box-sizing: border-box; border-radius: 7px;
  background: #e5484d; color: #fff; font-size: 8.5px; font-style: normal; font-weight: 700; line-height: 13px; text-align: center; }
#hud-screen .mtn-tx { position: absolute; left: 34px; top: 0; line-height: 28px; white-space: nowrap; transition: opacity .18s; }
#hud-screen .mtn-tx b { font-size: 12px; color: #ffd666; text-shadow: 0 1px 1px #000; }
/* 빛 한 번 훑기(펼칠 때만) */
#hud-screen .mtn-shine { position: absolute; top: 0; bottom: 0; left: -30px; width: 22px; transform: skewX(-20deg); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent); opacity: 0; }
#hud-screen .mtn.in .mtn-shine { animation: mtn-shine .7s .45s ease-out both; }
@keyframes mtn-shine { 0% { left: -30px; opacity: 1; } 100% { left: 170px; opacity: 1; } }
/* 접힘 = 아이콘 칸(높이 28 알약 결) · 아이콘이 천천히 반짝 */
#hud-screen .mtn.fold { width: 36px; box-shadow: inset 0 0 0 1px rgba(255,214,102,.5), 0 0 8px rgba(255,200,80,.3); }
#hud-screen .mtn.fold .mtn-ic { left: 4px; }
#hud-screen .mtn.fold .mtn-tx { opacity: 0; }
#hud-screen .mtn.fold .mtn-ic img { animation: mtn-tw 2.8s ease-in-out infinite; }
@keyframes mtn-tw { 0%, 70%, 100% { filter: drop-shadow(0 0 2px rgba(255,214,102,.45)); } 82% { filter: drop-shadow(0 0 6px rgba(255,230,140,.95)) brightness(1.15); } }

/* gf:js-pack prototype/Spikes/rt-battle/features/notedot/notedot.css */
/* 할 일 빨간 점(notedot.js) — 메뉴 칸 · [소환] 탭 · [자동 장착] = 공용 점 #ui .dot(windows.css 11px · #e2412f · 크림 테 — 상점 · 패스 칸과 같은 모양).
   HUD ☰ 단추(#hud — #ui 밖이라 공용 점이 안 닿음) = 같은 모양을 여기서 · 프로필 카드 점(pc-dot)처럼 천천히 맥박. */
#ui .summon .sm-tabs .tab, #ui .inv-foot .inv-auto { position: relative; }
#ui .summon .sm-tabs .tab > .nd-tab { top: -4px; right: -4px; }
#ui .nd-dot[hidden], #hud .nd-dot[hidden] { display: none; }
#hud .tools .t-menu > .nd-menu { position: absolute; z-index: 2; top: -2px; right: -2px; width: 11px; height: 11px; box-sizing: border-box; border-radius: 50%;
  background: #e2412f; border: 2px solid #fff4e0; box-shadow: 0 1px 2px #0005; pointer-events: none; animation: nd-beat 1.4s ease-in-out infinite; }
@keyframes nd-beat { 50% { transform: scale(1.2); } }

/* gf:js-pack prototype/Spikes/rt-battle/features/menugroup/menugroup.css */
/* ☰ 메뉴 정리(menugroup.js) — GUI 450 기준 px.
   ① 오른쪽 위 줄 = [이벤트][패스][상점][☰](우편 · 설정은 ☰ 기타로), 한 몸: 칸 33 · 간격 41(틈 8) · 이름 글자 없음 · 빨간 점 = ☰ 점과 같은 것.
      근거 = 메이플 키우기 오른쪽 위 줄 [이벤트][패스][상점][☰](BlueStacks 초보 가이드 KR02 — 같은 크기 흰 아이콘 · 이름 없음 · 작은 점, 간격 40.6 = maple-idle-ui-size.md).
      아이콘 = ☰ 칸과 같은 흰 그림(assets/icons/menu-*.png 마스크) · 같은 흰 → 회 그라데이션 · 그림자(03-ask-menu .white-icon) — 우편 · 톱니 그림과 같은 굵기로 보이게 30.
   ② 채팅 미리보기 오른쪽 끝 = 꺼낸 줄 왼쪽 - 8 · 폭 = 프로필 칸 오른쪽까지(menugroup.js).
   ③ ☰ 판 = 묶음 제목 + 6열 격자 왼쪽 정렬(남는 칸이 오른쪽으로 쏠리지 않게) · 판을 더 짙게(뒤 보스 도전 알약 · 스킬 칸이 칸 글자 사이로 비쳤다). */
/* 우편 · 설정 = ☰ 기타 칸(menugroup.js ④) — 도구 줄에는 ☰ 만 */
#hud .tools :is(.t-mail, .t-settings) { display: none; }
#hud .top-r > .qk { display: flex; gap: 8px; margin-right: -1px; height: 36px; align-items: center; }   /* -1 + 도구 줄 margin-left 9 = 상점 ↔ 우편 틈 8(다른 칸 사이와 같게) */
#hud .qk-b { position: relative; width: 34px; height: 34px; padding: 0; border: 0; background: none; pointer-events: auto; touch-action: manipulation; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: transform 60ms ease-out; }
/* uifix-1122: 누름 칸 33 → 34(hq-ui HUD 누름 칸 34 이상 — 그림 30 그대로 · 투명 여유 1, 틈 8 그대로) */
#hud .qk-b[hidden] { display: none; }
#hud .qk-b:active { transform: scale(.92); }
#hud .qk-ic { position: relative; width: 30px; height: 30px; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(22, 26, 32, .45)) drop-shadow(0 0 1px rgba(22, 26, 32, .55)); }
#hud .qk-ic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#fff 12%, #f7f7f7 44%, #c7c9cc); -webkit-mask: var(--qk-ic) center / contain no-repeat; mask: var(--qk-ic) center / contain no-repeat; }
#hud .qk-ranking { --qk-ic: url(assets/icons/menu-ranking.png); }   /* Lv100 부터(menugroup.js RANK_LV) */
#hud .qk-attendance { --qk-ic: url(assets/icons/menu-event.png); }
#hud .qk-pass { --qk-ic: url(assets/icons/menu-pass.png); }
#hud .qk-shop { --qk-ic: url(assets/icons/menu-shop.png); }
/* 점 = ☰ 단추 점(notedot.css .nd-menu)과 같은 자리 · 모양(reddot.css 목록에 같이 있음) */
#hud .qk-b > .qk-dot { position: absolute; z-index: 2; top: -2px; right: -2px; pointer-events: none; }
/* 보스방 · 시련(이름판이 가운데 위 380 폭)에서는 감춘다 — 채팅 미리보기도 그때 숨는다(boss.css · trial.css) */
#hud .hud-in.boss-on .qk, #hud.boss-on .qk, #hud .hud-in.trial-on .qk { display: none; }

#hud.qk-on .chat-hud { right: var(--qk-chat-r, 280px); width: var(--qk-chat-w, 240px); transition: opacity .2s ease-out; }   /* 폭 = menugroup.js(프로필 칸 오른쪽 + 8 까지) */
#hud.qk-mid .chat-hud, #hud.qk-narrow .chat-hud { opacity: 0; pointer-events: none; }   /* 지역 칭호 띠(가운데 위)가 떠 있는 동안 — menugroup.js qk-mid(하늘배 남은 시간 띠는 shipchat-1126 부터 채팅 줄 아래라 숨기지 않음) */

/* ☰ 판: 6열 × 칸 46(이름 '절전 모드' 41.6 + 테 글자 여유) · 묶음 제목 줄 */
#ui .menu-pop { width: auto; display: grid; grid-template-columns: repeat(6, 46px); justify-content: start; gap: 0; padding: 2px 8px 8px; background: rgba(12, 13, 15, .9); }
#ui .menu-pop .menu-item { width: 46px; white-space: normal; word-break: keep-all; text-align: center; line-height: 1.05; }   /* 칸보다 긴 이름(영어 'Power Saving')은 어절에서 두 줄 — 옆 칸 이름과 겹치지 않게 */
#ui .menu-pop .menu-item.mg-out { display: none; }
#ui .menu-pop .mg-h { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; height: 18px; padding: 4px 2px 0; box-sizing: border-box;
  font-size: 9.5px; font-weight: 700; color: #b9bcb4; white-space: nowrap; }   /* 회 #b9bcb4 = 프로필 칸 보조 글자(hud.css) */
#ui .menu-pop .mg-h::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .12); }

/* 새로 열린 꺼낸 칸 = ☰ 금빛 고리(unlock.css .t-menu.ul-ping)와 같은 고리 — 누를 때까지 */
#hud .qk-b.qk-ping::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 2px rgba(232, 201, 121, .9), 0 0 10px rgba(232, 201, 121, .7);
  animation: ul-ping 1.1s ease-in-out infinite alternate; }
#ui .menu-pop .menu-item:lang(ja) { word-break: normal; line-break: strict; }   /* 일본어 'オークション' · '省電力モード' 등 띄어쓰기 없는 이름이 칸 46 을 넘어 옆 칸과 겹치던 것 — 칸 안에서 두 줄(i18nfix-1124) */

/* gf:js-pack prototype/Spikes/rt-battle/features/wbpath/wbpath.css */
/* 월드보스 길 찾기 · 튜토리얼(wbpath.js — wbpath-1124) · GUI 450 기준 px(hq-ui: HUD 누름 칸 34 · 이웃 틈 8 · 제목 15~17 · 라벨 9 이상 · 작은 팝업 = 나인패치).
   색 = 월드보스 창과 같은 금 #e8c979 · 빨간 점 = reddot 과 같은 #ff4b3a. 시안 docs/one-click-game-factory/execution/F00/rt-battle/wbpath-1124/mock.html */

/* ② HUD 단추는 뺐다(wbquest-1124 — 형창님 11-24 HUD 아이콘 포화, 메인 퀘스트 M5-10 이 안내) */

/* ① 해금 팝업(작은 팝업 = 기본 .popup 나인패치) */
#ui .wbp-dim { z-index: 18; }
#ui .popup.wbp-pop { width: 320px; max-width: calc(100% - 24px); padding: 2px 4px 0; text-align: center; color: var(--ink); }
#ui .wbp-pop .t { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; color: #a8741e; }
#ui .wbp-pop .n { display: block; margin: 2px 0 8px; font-size: 16px; font-weight: 800; }
#ui .wbp-pop .art { display: block; height: 84px; margin: 0 0 8px; border-radius: 8px; background: #1a1430 url(features/worldboss/art/keyart.webp) 62% 30% / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(232, 201, 121, .7); }
#ui .wbp-pop ul { margin: 0 0 10px; padding: 0; list-style: none; text-align: left; font-size: 12px; line-height: 1.7; }
#ui .wbp-pop li::before { content: "◆ "; color: #c8952e; }
#ui .wbp-pop .bt { display: flex; justify-content: center; gap: 8px; }
#ui .wbp-pop .bt .btn { min-height: 34px; }
#ui .wbp-pop .bt .btn.plain { padding: 0 16px; }
#ui .dim.open .wbp-pop { animation: wbp-pop .32s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes wbp-pop { from { transform: scale(.7); opacity: 0; } }

/* ③ 지도 [보스] 탭 — 빨간 점 + 금빛 테(아직 로비를 안 연 계정) */
#ui .ct-tabs .tab.wbp-new { position: relative; box-shadow: 0 0 0 2px #e8c979; animation: wbp-glow 1.2s ease-in-out infinite alternate; }
#ui .ct-tabs .tab.wbp-new::after { content: ""; position: absolute; top: -2px; right: -2px; width: 8px; height: 8px; border-radius: 50%; background: #ff4b3a; box-shadow: 0 0 0 1.5px #1b1e20; }
@keyframes wbp-glow { to { box-shadow: 0 0 0 2px #e8c979, 0 0 12px 2px rgba(232, 201, 121, .7); } }

/* ④ 로비 코치 마크 — 그 칸만 밝게(나머지 어둡게) + 말풍선, 아무 데나 누르면 다음 */
#ui .wb .wbp-coach { position: absolute; inset: 0; z-index: 30; cursor: pointer; }
#ui .wbp-coach .wbp-spot { position: absolute; border-radius: 12px; box-shadow: 0 0 0 3px #e8c979, 0 0 0 100vmax rgba(0, 0, 0, .6); pointer-events: none; transition: left .25s, top .25s, width .25s, height .25s; }
#ui .wbp-coach .wbp-bub { position: absolute; box-sizing: border-box; padding: 9px 12px 7px; border-radius: 12px; background: #fdf6e3; color: #2a2418; font-size: 12px; line-height: 1.55;
  box-shadow: 0 0 0 2px #c8952e, 0 8px 20px rgba(0, 0, 0, .6); }
#ui .wbp-coach .wbp-bub p { margin: 0; }
#ui .wbp-coach .st { display: flex; justify-content: space-between; margin-top: 4px; font-size: 10px; font-weight: 700; color: #8a7a5a; }
#ui .wbp-coach .st .nx { color: #9a5a10; }
#ui .wbp-coach.in .wbp-bub { animation: wbp-pop .28s cubic-bezier(.3, 1.5, .5, 1) both; }
#ui .wb .wbp-prac { margin-right: 6px; }

/* ⑤ 첫 연습 판 — 결과 카드 아래 줄 */
.wb-res .wbp-next { display: block; margin: 8px auto 0; min-height: 34px; padding: 0 18px; border: 0; border-radius: 17px; background: linear-gradient(#f0d48a, #c9a24f); color: #2a1e08;
  font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; pointer-events: auto; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); animation: wbp-pop .3s .4s cubic-bezier(.3, 1.5, .5, 1) both; }

/* ⑥ 정시 집결 알림 띠 — 위 가운데 */
#ui .wbp-hot { position: absolute; z-index: 16; left: 50%; top: 52px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 5px 6px 5px 14px; border-radius: 12px;
  background: linear-gradient(#25292b, #1b1e20); box-shadow: 0 0 0 1px rgba(232, 201, 121, .6), 0 6px 14px rgba(0, 0, 0, .5); color: #f2f0e7; font-size: 12px; white-space: nowrap; pointer-events: auto;
  animation: wbp-drop .3s ease-out both; }
#ui .wbp-hot b { color: #e8c979; }
#ui .wbp-hot .go { min-width: 52px; height: 34px; padding: 0 14px; border: 0; border-radius: 17px; background: linear-gradient(#f0d48a, #c9a24f); color: #2a1e08; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
#ui .wbp-hot.out { opacity: 0; transition: opacity .3s; }
@keyframes wbp-drop { from { transform: translate(-50%, -12px); opacity: 0; } }

/* gf:js-pack prototype/Spikes/rt-battle/features/contents/contents.css */
/* 컨텐츠 모음(contents.js) — GUI 450 기준 px.
   ① ☰ [컨텐츠] 칸 = 다른 ☰ 칸과 같은 모양(03-ask-menu .menu-item · 흰 아이콘 마스크) — 성장 묶음 맨 앞(menugroup.js). 바로가기 칸은 두지 않는다.
   ② 컨텐츠 창 = 가운데 작은 팝업 안 가로 한 줄 아이콘 칸. 판 · 머리 · 닫기 · 단추 바탕 = 공용 작은 팝업(18-popup-dark: 어두운 둥근 판 + 모서리 문양 · .btn.plain 회색 반투명 · 열기 팝 ui_fx fx-pop) — 여기는 폭 · 배치 · 글자만.
      참고 = 메이플 키우기 '성장 던전' 팝업(contents-pop-1124/REFERENCES.md): 가운데 창 · 칸마다 이름 + 입장권 수 한 줄 · 오른쪽 위 빨간 점.
      크기(maple-idle-ui-size.md): 칸 84 × 104(누름 칸 34 이상) · 칸 틈 8(이웃 틈 8 이상) · 아이콘 56(칸 52~64) · 이름 12.5 · 상태 10(라벨 9 이상) · 제목 15.
   2차 카드 키 아트(art/*.webp)는 쓰지 않는다. */

/* ---- ① ☰ 칸 ---- */
#ui .menu-pop .cnt-item[hidden], #ui .menu-item > .cnt-mdot[hidden] { display: none; }
#ui .m-ct-all .white-icon::after { -webkit-mask-image: url(features/boss/icon-boss.png); mask-image: url(features/boss/icon-boss.png); }

/* ---- ② 컨텐츠 창 ---- */
/* 가로 한 줄 아이콘 칸(☰ 판 · 메이플 키우기 던전 줄과 같은 읽기 순서). 칸 = 아이콘 56 + 이름 + 상태 한 줄. 판 · 머리 · 닫기 = 공용 작은 팝업(18-popup-dark). */
#ui .popup.cnt-pop { width: auto; }
#ui .popup.cnt-pop .popup-head { margin-bottom: 10px; }
#ui .popup.cnt-pop .popup-head h2 { font-size: 15px; white-space: nowrap; }
#ui .cnt-list { display: flex; flex-wrap: nowrap; gap: 8px; justify-content: center; }
#ui .cnt-b { position: relative; flex: none; width: 84px; height: 104px; padding: 6px 4px 5px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: linear-gradient(rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); color: inherit; font: inherit; cursor: pointer;
  transition: transform .06s ease-out, background .15s, border-color .15s; }
#ui .cnt-b:hover { border-color: rgba(232, 201, 121, .55); }
#ui .cnt-b:active { transform: scale(.92); background: rgba(255, 255, 255, .16); }   /* 누름 60 ms .92(ui-juice) */
#ui .cnt-icw { position: relative; flex: none; width: 56px; height: 56px; }
#ui .cnt-ic { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); pointer-events: none; }
#ui .cnt-nm { max-width: 100%; font-size: 12.5px; font-weight: 800; line-height: 16px; color: #f2f0e7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .cnt-st { max-width: 100%; font-size: 10px; font-weight: 700; line-height: 13px; color: #a3a69f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .cnt-st > b { color: #e8c979; font-weight: 900; }   /* 값 = 지갑 금 */
#ui .cnt-chip { position: absolute; left: 50%; bottom: -3px; transform: translateX(-50%); height: 13px; padding: 0 5px; border-radius: 7px; font-size: 9px; font-weight: 800; line-height: 13px; white-space: nowrap;
  background: rgba(131, 195, 191, .95); color: #10201f; }   /* 월드보스 집결 시간 · 청록 = 결정색(.btn.gold) */
#ui .cnt-icw > .cnt-dot { position: absolute; right: -6px; top: -2px; }
/* 잠김 = 흐림 + 자물쇠(도깨비의 세계 §10, 자물쇠 그림 = ☰ 잠김과 같은 morph/lock.svg) · 상태 줄 = 열리는 조건 */
#ui .cnt-b.lock .cnt-ic { filter: grayscale(1) brightness(.55); }
#ui .cnt-b.lock .cnt-nm { color: #b9bbb6; }
#ui .cnt-lk { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; transform: translate(-50%, -50%); background: #e3e4e0; -webkit-mask: url(features/morph/lock.svg) center / contain no-repeat; mask: url(features/morph/lock.svg) center / contain no-repeat; }
#ui .cnt-b.cnt-no { animation: ul-no .32s ease-out; }   /* 잠긴 칸 누름 = 떨림(unlock.css ul-no 와 같은 것) */
/* 연출: 창 팝은 공용(ui_fx fx-pop). 처음 열 때 칸이 차례로 */
#ui .cnt-list.cnt-in > .cnt-b { animation: cnt-in .26s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(.1s + var(--i, 0) * 40ms); }
@keyframes cnt-in { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---- ③ 길드 보스 입장 확인(gbossgo-1125 — 주호님 11-25): 컨텐츠 [길드 보스] 칸 → 작은 팝업(보스 토벌 칸 = 도전 팝업 .bask 와 같은 결) ----
   판 · 머리 · 닫기 · 알약 바탕 = 공용 작은 팝업(18-popup-dark). 크기(maple-idle-ui-size.md): 제목 15 · 물음 14 · 상태 11.5(라벨 9 이상) · 아이콘 56 · 단추 높이 34(누름 칸 34 이상) · 단추 틈 10 · 글자 폭. */
#ui .popup.gbgo-pop { width: auto; min-width: 300px; }
#ui .popup.gbgo-pop .popup-head { margin-bottom: 12px; }
#ui .popup.gbgo-pop .popup-head h2 { font-size: 15px; white-space: nowrap; }
#ui .gbgo-body { display: flex; align-items: center; gap: 12px; padding: 0 4px 14px; }
#ui .gbgo-ic { flex: none; width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); pointer-events: none; }
#ui .gbgo-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#ui .gbgo-q { font-size: 14px; font-weight: 800; color: #f2f0e7; white-space: nowrap; }
#ui .gbgo-st { font-size: 11.5px; font-weight: 700; color: #e8c979; white-space: nowrap; }   /* 남은 횟수 = 지갑 금 */
#ui .gbgo-st.done { color: #a3a69f; }
#ui .gbgo-st[hidden] { display: none; }
#ui .gbgo-foot { display: flex; justify-content: flex-end; gap: 10px; }
#ui .popup.gbgo-pop .gbgo-foot .btn { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 34px !important; padding: 0 18px; font-size: 13px; }   /* touch_min.css 의 30 !important 보다 무겁게(누름 칸 34) */
#ui .gbgo-sw { flex: none; width: 15px; height: 15px; margin-right: 6px; background: currentColor;
  -webkit-mask: url(assets/icons/hud-attack.svg) center / contain no-repeat; mask: url(assets/icons/hud-attack.svg) center / contain no-repeat; }
#ui .gbgo-go.done > .gbgo-sw { display: none; }
#ui .gbgo-foot .btn.cnt-no { animation: ul-no .32s ease-out; }   /* 꺼진 [입장] 누름 = 떨림 */

/* gf:js-pack prototype/Spikes/rt-battle/features/powersave/powersave.css */
/* 절전 모드 화면(features/powersave/powersave.js). 크기 = GUI 450 기준(고품질UI: 아이콘 24~40 · 제목 17 · 본문 12~14 · 알약 28).
   판 = 순검정(OLED 꺼진 화소 — 리니지W · 오딘 절전 화면). 글 = 무채 회색 단계(#e6e8ec 값 · #9aa0a6 이름 · #6f747d 보조 — 등급 common 회색 결), (등급색 아님)
   강조 색은 게임 HUD 값 그대로: HP = HUD .hp-fill 빨강 · EXP = HUD .xp-fill 연두 · 골드 = 지갑 금 #e8c979. 무한 연출 없음(합성이 깨어난다). */
html.rt-psave body > :not(#rt-psave) { visibility: hidden !important; }
html.rt-psave body > :not(#rt-psave) * { animation-play-state: paused !important; }
#rt-psave { position: fixed; inset: 0; z-index: 2147483000; background: #000; color: #9aa0a6; font-size: 13px; letter-spacing: .01em; /* 등급색 아님: 절전 화면 회색 */
  user-select: none; -webkit-user-select: none; touch-action: none; overflow: hidden; animation: ps-in .35s ease-out both; container-type: size; }
#rt-psave.out { animation: ps-out .2s ease-in both; pointer-events: auto; }
#rt-psave.out > * { visibility: hidden; }
@keyframes ps-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ps-out { from { opacity: 1; } to { opacity: 0; } }
#rt-psave .ps-body { position: absolute; left: 50%; top: 0; width: 420px; margin-left: -210px; height: calc(100% - 78px); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; transition: transform 1s ease; }
/* 머리: 흰 선 아이콘(메뉴 칸과 같은 그림) + 제목 + 절전 시간 — 왼쪽 위 */
#rt-psave .ps-head { position: absolute; left: 18px; top: 14px; display: flex; align-items: center; gap: 6px; color: #9aa0a6; font-size: 12px; } /* 등급색 아님: 절전 화면 회색 */
#rt-psave .ps-head b { color: #c9ccd3; font-size: 13px; font-weight: 700; }
#rt-psave .ps-head span { font-variant-numeric: tabular-nums; color: #6f747d; margin-left: 2px; }
#rt-psave .ps-head .ps-death::before { content: "· "; }
#rt-psave .ps-head em { font-style: normal; }
#rt-psave .ps-ico { width: 18px; height: 18px; background: #c9ccd3; -webkit-mask: url(assets/icons/menu-powersave.png) center / contain no-repeat; mask: url(assets/icons/menu-powersave.png) center / contain no-repeat; }
/* 시계 · 날짜 · 배터리 */
#rt-psave .ps-clock { color: #c9ccd3; font-size: 44px; font-weight: 300; line-height: 1; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
#rt-psave .ps-sub { display: flex; gap: 10px; color: #6f747d; font-size: 12px; margin-bottom: 6px; }
#rt-psave .ps-sub > [hidden] { display: none; }
/* 캐릭터 줄 */
#rt-psave .ps-who { display: flex; align-items: baseline; gap: 6px; max-width: 360px; white-space: nowrap; }
#rt-psave .ps-who b { color: #e6e8ec; font-size: 14px; font-weight: 800; }
#rt-psave .ps-who span { color: #c9ccd3; font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
#rt-psave .ps-who .ps-place { color: #6f747d; font-size: 12px; }
#rt-psave .ps-who .ps-place::before { content: "· "; }
#rt-psave .ps-lvup { color: #b0ca05; font-size: 11px; font-style: normal; font-weight: 800; }
#rt-psave .ps-lvup[hidden] { display: none; }
/* HP · EXP 막대(HUD 색, 반짝임 · 흐름 연출은 뺌) */
#rt-psave .ps-bars { display: flex; flex-direction: column; gap: 5px; width: 300px; }
#rt-psave .ps-bar { position: relative; height: 12px; border-radius: 6px; background: #14161b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; }
#rt-psave .ps-bar.xp { height: 8px; border-radius: 4px; }
#rt-psave .ps-bar > i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); transition: transform .4s ease-out; }
#rt-psave .ps-bar.hp > i { background: linear-gradient(#ee4152, #c8213a 60%, #86101f); opacity: .85; }
#rt-psave .ps-bar.xp > i { background: linear-gradient(#e6f56a, #b0ca05 45%, #6f8a02); opacity: .75; }
#rt-psave .ps-bar > span { position: absolute; inset: 0; text-align: center; font-size: 9.5px; line-height: 12px; font-weight: 700; color: #e6e8ec; text-shadow: 0 1px 1px #000; font-variant-numeric: tabular-nums; }
#rt-psave .ps-bar.xp > span { font-size: 7.5px; line-height: 8px; }
/* 누적 획득: 아이콘 칸 넷(아이콘 24 · 값 · 이름) */
#rt-psave .ps-gain { display: grid; grid-template-columns: repeat(4, 84px); gap: 4px; margin-top: 10px; }
#rt-psave .ps-gain .g { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; border-radius: 10px; background: rgba(255,255,255,.035); }
#rt-psave .ps-gain img, #rt-psave .ps-gain i { width: 24px; height: 24px; object-fit: contain; }
#rt-psave .ps-gain i { background: #9aa0a6; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; } /* 등급색 아님: 절전 화면 회색 */
#rt-psave .ps-gain .kill i { --m: url(assets/icons/hud-attack.png); }
#rt-psave .ps-gain .item i { --m: url(assets/icons/menu-inventory.png); }
#rt-psave .ps-gain b { color: #e6e8ec; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
#rt-psave .ps-gain .gold b { color: #e8c979; }
#rt-psave .ps-gain .exp b { color: #d6e86a; }
#rt-psave .ps-gain small { color: #8a9a3c; font-size: 10px; line-height: 1; margin-top: -1px; }
#rt-psave .ps-gain span { color: #6f747d; font-size: 11px; }
/* 알림 한 줄: 자동사냥 중(회색) · 꺼짐(주황) · 사망(빨강) */
#rt-psave .ps-msg { margin-top: 6px; font-size: 12.5px; font-weight: 700; color: #6f747d; }
#rt-psave .ps-msg.off { color: #d08a5a; }
#rt-psave .ps-msg.dead { color: #ff6b6b; }
/* 아래: 밀어서 해제(트랙 280 × 44 · 손잡이 36) + 소리 알약 28 */
#rt-psave .ps-foot { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; align-items: center; gap: 12px; }
#rt-psave .ps-slide { position: relative; width: 280px; height: 44px; border-radius: 22px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
#rt-psave .ps-label { position: absolute; inset: 0; padding-left: 30px; display: flex; align-items: center; justify-content: center; color: #9aa0a6; font-size: 13px; font-weight: 600; pointer-events: none; } /* 등급색 아님: 절전 화면 회색 */
#rt-psave .ps-knob { position: absolute; left: 4px; top: 4px; width: 36px; height: 36px; border-radius: 50%; background: #2a2e36; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 2px 6px rgba(0,0,0,.5);
  touch-action: none; cursor: grab; }
#rt-psave .ps-knob::after { content: ""; position: absolute; inset: 9px; background: #c9ccd3; -webkit-mask: url(assets/icons/menu-powersave.png) center / contain no-repeat; mask: url(assets/icons/menu-powersave.png) center / contain no-repeat; }
#rt-psave .ps-knob.drag { background: #3a3f49; cursor: grabbing; }
#rt-psave .ps-snd { height: 28px; padding: 0 12px; border: 0; border-radius: 14px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  color: #6f747d; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: transform .08s; }
#rt-psave .ps-snd.on { color: #c9ccd3; }
#rt-psave .ps-snd:active { transform: scale(.94); }
/* 낮은 화면(폰 브라우저 주소창 · 접힌 화면 — 판 높이 380 아래): 시계 · 칸 여백을 줄인다. 판 크기로 재야 gf_orient 로 돌린 세로 폰에도 맞다 */
@container (max-height: 380px) {
  #rt-psave .ps-body { height: calc(100% - 60px); gap: 5px; }
  #rt-psave .ps-clock { font-size: 34px; }
  #rt-psave .ps-sub { margin-bottom: 2px; }
  #rt-psave .ps-gain { margin-top: 4px; }
  #rt-psave .ps-gain .g { padding: 5px 0 4px; }
  #rt-psave .ps-msg { margin-top: 2px; }
  #rt-psave .ps-foot { bottom: 10px; }
}

/* gf:js-pack prototype/Spikes/rt-battle/features/skillgate/skill_gate.css */
/* 스킬 단계 해금 · 필요 능력치 칩 안내(features/skillgate/skill_gate.js). 층 = features/uilayer/ui_layer.css(--z-tip). */
/* [스킬] 느낌표 점(11-06 사용자 "느낌표 깨짐"): 공용 점(#ui .dot 11px, 테 2px → 안 7px)에 9px 글자 '!' 를 넣어 넘치고 글꼴·폰 배율에 따라 뭉개졌다.
   점을 16px(테 2px → 안 12px)로 키우고 '!' 는 글꼴 대신 흰 막대 2×5 + 점 2×2 를 정수 px 로 그린다. 글자 '!' 는 읽기용으로만 남긴다. */
#ui .menu-item > .sg-dot { top: -5px; right: -6px; width: 16px; height: 16px; font-size: 0; color: transparent; overflow: hidden;
  background: linear-gradient(#fff, #fff) 5px 2px / 2px 5px no-repeat, linear-gradient(#fff, #fff) 5px 8px / 2px 2px no-repeat, #e2412f; }
#ui .menu-item > .sg-dot[hidden] { display: none; }   /* #ui 에는 [hidden] 공용 규칙이 없다 — 창을 열어 끈 점이 남지 않게 */
#ui .menu-item.ul-lock > .sg-dot { display: none; }
#ui .ma-need { cursor: pointer; }
#ui .sg-tip { position: absolute; z-index: var(--z-tip, 70); max-width: 320px; padding: 6px 12px; border-radius: 8px; font-size: 12px; line-height: 1.35; color: #f3e3b8;
  background: rgba(12, 13, 14, .96); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 6px 18px rgba(0, 0, 0, .55); pointer-events: none; animation: fx-pop .18s cubic-bezier(.2, .9, .3, 1.3) both; }

/* gf:js-pack prototype/Spikes/rt-battle/features/auction/sold_toast.css */
/* 경매 판매 알림(sold_toast.js). 움직임 = EFZ obj_auction_sale_toast Draw_64 값 그대로: 들어옴 250 ms(위 → 자리, 3차 감속, 가운데 1.04 튐) · 머묾 5 s · 흐려짐 350 ms ·
   빛 고리 맥박(sin 0.011/ms ≈ 571 ms 주기, 알파 .13~.18 · 반지름 +2) · 불티 6개 700 ms(60° 간격 · 돌며 27 → 40 · 흐려짐) · 칸 튐 400 ms 1.16 → 1 · 동전 둘 560 ms 떠오름.
   판 = 하이랜드 작은 팝업 결(어두운 판 + 1px 금선 #c8aa6e — hq-ui §3 10-24), 크기 = GUI 450 작은 창 값(설정 창 줄 34 · 단추 28 → 판 높이 54 · 칸 38, EFZ 64 · 42 의 0.85배).
   색: 제목 = 금선 색 · 받은 골드 = 경매장 판매 완료 표 초록(#7fd88a, 14-auction .au-tag.k-sold) · 이름 = 등급색(.au-name.gr-*) */
#ui .au-sold { position: absolute; z-index: 45; left: 50%; top: 12px; width: min(340px, calc(100% - 20px)); height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 9px;
  border-radius: 12px; background: rgba(13, 15, 19, .92); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .55), 2px 5px 0 rgba(0, 0, 0, .28); pointer-events: none;
  transform: translate(-50%, var(--sy, 0px)); transition: transform .35s cubic-bezier(.2, .7, .3, 1), opacity .35s linear; animation: au-sold-in .25s linear both; }
#ui .au-sold.out { opacity: 0; }
@keyframes au-sold-in {   /* 1 - (1-t)^3 로 위(-60) → 자리, 크기 1 + sin(πt)·.04 */
  0% { opacity: 0; translate: 0 -60px; scale: 1; } 25% { opacity: .58; translate: 0 -25px; scale: 1.028; } 50% { opacity: .88; translate: 0 -7.5px; scale: 1.04; }
  75% { opacity: .98; translate: 0 -1px; scale: 1.028; } 100% { opacity: 1; translate: 0 0; scale: 1; } }

#ui .au-sold-ic { position: relative; flex: none; display: grid; place-items: center; width: 42px; height: 42px; }
#ui .au-sold-glow { position: absolute; inset: -3px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 226, 150, .32), rgba(255, 226, 150, .14) 70%, transparent);
  animation: au-sold-pulse .571s ease-in-out infinite alternate; }
@keyframes au-sold-pulse { 0% { opacity: .72; transform: scale(.96); } 100% { opacity: 1; transform: scale(1.04); } }
#ui .au-sold-tile { width: 38px; height: 38px; animation: au-sold-tile .4s ease-out both; }
@keyframes au-sold-tile { 0% { transform: scale(1.16); } 100% { transform: scale(1); } }
#ui .au-sold-sp { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #fff3c4; box-shadow: 0 0 4px rgba(255, 226, 150, .9);
  opacity: 0; animation: au-sold-sp .7s linear both; }
@keyframes au-sold-sp {   /* 각 = 60k + 0.12°/ms(700 ms 에 84°) · 거리 22 → 33(EFZ 27 → 40 의 0.85배) */
  0% { opacity: .7; transform: rotate(var(--a)) translateX(22px); } 100% { opacity: 0; transform: rotate(calc(var(--a) + 84deg)) translateX(33px); } }

#ui .au-sold-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#ui .au-sold-tx small { font-size: 10px; font-weight: 700; line-height: 12px; color: #c8aa6e; }
#ui .au-sold-tx .au-name { font-size: 12.5px; line-height: 15px; color: #f3f1e8; }

#ui .au-sold-pay { position: relative; flex: none; display: flex; align-items: center; gap: 5px; }
#ui .au-sold-pay img { width: 17px; height: 17px; object-fit: contain; }
#ui .au-sold-pay b { font-size: 13.5px; font-weight: 900; color: #7fd88a; text-shadow: 0 1px 0 rgba(0, 0, 0, .6); }
#ui .au-sold-c { position: absolute; left: 2px; top: 3px; width: 11px; height: 11px; background: center / contain no-repeat; opacity: 0; animation: au-sold-c .56s linear both; }
#ui .au-sold-c.c1 { --dx: 8px; --dy: -18px; } #ui .au-sold-c.c0 { --dx: -8px; --dy: -14px; }
@keyframes au-sold-c { 0% { opacity: .65; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); } }

/* gf:js-pack prototype/Spikes/rt-battle/features/maint/maint_banner.css */
/* 서버 점검 상단 띠(maint_banner.js). 판 = 하이랜드 작은 팝업 결(어두운 판 + 1px 금선 #c8aa6e — hq-ui §3, sold_toast.css 와 같은 결).
   크기 = GUI 450 알약 값(높이 28 · 글 12.5) · 화면 위 가운데 · 폭 = 화면의 48%(왼쪽 이벤트 아이콘 · 오른쪽 메뉴를 가리지 않게, 915 가로 캡처로 맞춤) · 글은 오른쪽 → 왼쪽으로 흐른다.
   머리 = 붉은 기운 금 글씨 "서버 점검"(경고) · 끝남 = 초록 머리(#7fd88a, 경매 판매 완료 색). 누름은 아래로 지나간다. */
#ui .mt-band { position: absolute; z-index: 46; left: 50%; top: 8px; width: min(500px, 48%, calc(100% - 20px)); height: 28px; display: flex; align-items: center; gap: 8px;
  padding: 0 10px 0 4px; border-radius: 14px; background: rgba(13, 15, 19, .9); box-shadow: inset 0 0 0 1px rgba(200, 170, 110, .55), 2px 4px 0 rgba(0, 0, 0, .28);
  transform: translateX(-50%); pointer-events: none; animation: mt-in .3s cubic-bezier(.2, .7, .3, 1) both; transition: opacity .35s linear; }
#ui .mt-band.out { opacity: 0; }
@keyframes mt-in { 0% { opacity: 0; translate: 0 -40px; } 70% { opacity: 1; translate: 0 2px; } 100% { opacity: 1; translate: 0 0; } }
#ui .mt-tag { flex: none; height: 20px; padding: 0 9px; border-radius: 10px; font-size: 11px; font-weight: 900; line-height: 20px; color: #1a1208;
  background: linear-gradient(#ffd27a, #e0a43c); box-shadow: 0 0 8px rgba(255, 170, 60, .55); animation: mt-pulse 1.2s ease-in-out infinite alternate; }
@keyframes mt-pulse { 0% { box-shadow: 0 0 4px rgba(255, 170, 60, .35); } 100% { box-shadow: 0 0 10px rgba(255, 170, 60, .8); } }
#ui .mt-band[data-kind="done"] .mt-tag { background: linear-gradient(#a6efb0, #5fc070); box-shadow: none; animation: none; }
#ui .mt-win { position: relative; flex: 1; min-width: 0; height: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
#ui .mt-run { position: absolute; top: 0; left: 0; display: flex; white-space: nowrap; height: 100%; align-items: center; animation: mt-run var(--mt-dur, 14s) linear infinite; }
#ui .mt-run > span { padding-right: 60px; font-size: 12.5px; font-weight: 700; color: #f3f1e8; text-shadow: 0 1px 0 rgba(0, 0, 0, .6); }
#ui .mt-band[data-kind="done"] .mt-run { animation: none; position: static; justify-content: center; }
#ui .mt-band[data-kind="done"] .mt-run > span + span { display: none; }
#ui .mt-band[data-kind="done"] .mt-run > span { padding-right: 0; }
@keyframes mt-run { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
/* 보스방(boss.css .hud-in.boss-on): 위 가운데 = 보스 이름판(8~48) · 패턴 경고 띠(62~90, HUD 무대 배율 --u 를 탐) → 띠는 그 아래 90×u+1 로(11-06 유저 2uha "점검 메세지가 보스 피통을 가리는 문제"). 띠 높이 28 은 배율을 타지 않는다. */
#hud:has(.hud-in.boss-on) + #ui .mt-band { top: calc(90px * var(--u, 1) + 1px); }   /* --u = #ui 무대 배율(windows.js layout — HUD 와 같은 값) */

/* gf:js-pack prototype/Spikes/rt-battle/features/chattr/chat_tr.css */
/* 채팅 번역 줄(chattr-1107, features/chattr/chat_tr.js): 원문 아래 한 줄 — 원문보다 작고 흐린 회청색, 앞에 🌐 대신 흰 선 지구 아이콘(CSS 그림). */
#ui .popup.full.chat .chat-tr { position: relative; margin-top: 3px; padding: 3px 0 0 17px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; font-weight: 500; line-height: 1.4; color: #a9c3d6; overflow-wrap: anywhere; white-space: pre-wrap; user-select: text; }
#ui .popup.full.chat .chat-tr::before { content: ''; position: absolute; left: 1px; top: 5px; width: 10px; height: 10px; border: 1.3px solid currentColor; border-radius: 50%; opacity: .85;
  background: linear-gradient(currentColor, currentColor) center / 1.3px 100% no-repeat, linear-gradient(currentColor, currentColor) center / 100% 1.3px no-repeat; }
#ui .popup.full.chat .chat-sys .chat-tr { border-top: 0; padding-top: 1px; text-align: inherit; }

/* gf:js-pack prototype/Spikes/rt-battle/features/gotnote/gotnote.css */
/* 월드 획득 알림 줄(gotnote-1108) — 채팅 시스템 줄(.chat-sys, 10-social: 반투명 알약 · 알림색 #e3a35c) 안에서만:
   보낸 사람 이름 = 대화 줄 이름과 같은 밝은 글(#f2f0e7) · [아이템] = 그 아이템 등급색(--gc, gotnote.js colorOf) — 새 색 없음.
   누를 수 있는 [아이템] = 점선 밑줄(메이플 아이템 링크) · 누른 칸(it-on, features/itemtip) = 살짝 밝게. */
#ui .popup.full.chat .chat-sys.gn { color: #e3a35c; }
.gn-who { color: #f2f0e7; font-weight: 700; }
.gn-it { color: var(--gc, #f2f0e7); font-weight: 700; text-shadow: 0 0 6px color-mix(in srgb, var(--gc, #f2f0e7) 45%, transparent); }
.gn-link { cursor: pointer; text-decoration: underline dotted; text-underline-offset: 2px; -webkit-tap-highlight-color: transparent; }
.gn-link.it-on { filter: brightness(1.3); }
/* 새 줄 = 아이템 이름이 한 번 반짝(.9s, 크기 변화 없음 — 스크롤 칸 안이라 튐 금지) */
#ui .popup.full.chat .chat-log > .chat-sys.gn.fresh .gn-it { animation: gn-glint .9s ease-out .15s 1 both; }
@keyframes gn-glint { 0% { filter: brightness(1); } 35% { filter: brightness(1.7); } 100% { filter: brightness(1); } }
@media (prefers-reduced-motion: reduce) { #ui .popup.full.chat .chat-log > .chat-sys.gn.fresh .gn-it { animation: none; } }
/* 신화 펫(petmythic-1115): 금 → 흰 → 금 빛이 이름 위를 지나감(신화색 = var(--gr-myth) · pets.json grades mythic) */
.gn-it.gn-myth { background: linear-gradient(100deg, var(--gr-myth) 25%, #fffbe8 48%, var(--gr-myth) 70%) 0 0 / 240% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 0 4px rgba(242,194,48,.6)); animation: gn-myth 2.4s linear infinite; }
@keyframes gn-myth { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .gn-it.gn-myth { animation: none; } }

/* gf:js-pack prototype/Spikes/rt-battle/features/lounge/lounge.css */
/* 인게임 라운지(lounge-1109 초안). 틀 = 공지 창(features/announce 12-announce: .popup.full.an — 어두운 반투명 판 · 머리 46 · 왼쪽 목록 · 오른쪽 상세)을 그대로 쓰고,
   라운지에만 있는 것(글쓰기 알약 · 줄 아래 작성자/♥/💬 · 사진 · 댓글 · 쓰기 칸)만 여기. 근거 = .claude/skills/hq-ui(글자 폭 알약 28 · 흰 선 아이콘 · 등급색 밖 강조 없음 · 628ms 빨간 점). */
#ui .popup.full.an.lg > .popup-head > h2::before { -webkit-mask-image: url(assets/icons/talk-chat.svg); mask-image: url(assets/icons/talk-chat.svg); }
#ui .m-lounge .white-icon::after { -webkit-mask-image: url(assets/icons/talk-chat.svg); mask-image: url(assets/icons/talk-chat.svg); }
#ui .m-lounge .lg-dot { position: absolute; right: 4px; top: 2px; width: 8px; height: 8px; border-radius: 50%; background: #ff4b3e; box-shadow: 0 0 0 1.5px rgba(20, 22, 24, .8); display: none; animation: an-dot .628s ease-in-out infinite alternate; }
#ui .m-lounge.lg-new .lg-dot { display: block; }
#ui .lg .lg-write { flex: none; margin-left: auto; align-self: center; height: 28px; min-width: 0; padding: 0 14px; font-size: 13px; font-weight: 800; }
#ui .lg .lg-write[hidden] { display: none; }

/* 목록 줄: 제목 한 줄 + 아래 작은 줄(작성자 · 시간 · ♥ · 💬). 사진 있는 글 = 제목 앞 흰 선 사진 표시 */
#ui .lg-row small { display: flex; align-items: center; gap: 6px; min-width: 0; }
#ui .lg-row .lg-who { min-width: 0; max-width: 46%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #b9bcb6; }
#ui .lg-n { flex: none; }
#ui .lg-hn.on { color: #ff8a80; }
#ui .lg-pi { display: inline-block; width: 12px; height: 10px; margin: 0 4px -1px 0; border: 1.5px solid currentColor; border-radius: 2px; opacity: .8; vertical-align: baseline; }
#ui .lg-gm { display: inline-block; margin-right: 4px; padding: 0 5px; border-radius: 4px; font-style: normal; font-size: 10px; font-weight: 800; line-height: 15px; color: #1a1c1e; background: #e6decd; }
#ui .lg-note { padding: 18px 6px; text-align: center; font-size: 12px; font-weight: 700; color: #8d908b; }
#ui .lg .lg-more { display: block; margin: 4px auto 8px; height: 28px; min-width: 0; padding: 0 14px; font-size: 12px; }

/* 글 보기 */
#ui .lg-detail .an-meta { align-items: center; gap: 8px; }
#ui .lg-detail .an-meta .lg-who { color: #d9dbd5; font-weight: 800; }
#ui .lg-detail.lg-still > * { animation: none; }
#ui .lg-text { padding-right: 4px; }
#ui .lg-bd { white-space: pre-wrap; word-break: break-word; }
#ui .lg-pics { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; }
#ui .lg-pic { flex: none; height: 120px; max-width: 100%; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#ui .lg-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
#ui .lg-pic img:not([src]), #ui .lg-pic img[src=""] { visibility: hidden; }
#ui .lg-acts, #ui .lg-rep { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
#ui .lg-rep { padding: 8px; border-radius: 8px; background: rgba(255, 255, 255, .05); align-items: center; }
#ui .lg-rk { font-size: 11px; font-weight: 700; color: #8d908b; margin-right: 2px; }
#ui .lg-pill { flex: none; height: 28px; padding: 0 12px; border: 0; border-radius: 999px; font-size: 12px; font-weight: 800; color: #e9eae6; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  transition: transform .18s cubic-bezier(.3, 1.8, .5, 1), background .15s; }
#ui .lg-pill:active { transform: scale(.92); transition-duration: .06s; }
#ui .lg-pill.plain { background: transparent; color: #a9aca6; }
#ui .lg-pill.off { opacity: .45; pointer-events: none; }
#ui .lg-like.on { color: #ffb3ab; background: rgba(229, 83, 75, .18); box-shadow: inset 0 0 0 1px rgba(255, 138, 128, .45); }
#ui .lg-like.pop { animation: lg-pop .42s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes lg-pop { 40% { transform: scale(1.14); } }
#ui .lg-ct { margin: 12px 0 6px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; font-weight: 800; color: #b9bcb6; }
#ui .lg-c { padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
#ui .lg-c.gone { font-size: 12px; color: #7d807b; }
#ui .lg-ch { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #8d908b; }
#ui .lg-ch .lg-who { font-weight: 800; color: #c9cbc6; }
#ui .lg-c p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.5; word-break: break-word; }
#ui .lg-x { margin-left: auto; padding: 0 4px; border: 0; background: none; font-size: 11px; font-weight: 700; color: #8d908b; }
#ui .lg-cbar, #ui .lg-wbar { flex: none; display: flex; align-items: center; gap: 8px; margin-top: 10px; }
#ui .lg-cin, #ui .lg-ti, #ui .lg-bi { min-width: 0; border: 0; border-radius: 8px; color: var(--ink); font: inherit; font-size: 13px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); user-select: text; -webkit-user-select: text; }
#ui .lg-cin { flex: 1; height: 30px; padding: 0 10px; }
#ui .lg-cin:focus, #ui .lg-ti:focus, #ui .lg-bi:focus { outline: none; box-shadow: inset 0 0 0 1px rgba(230, 222, 205, .6); }
#ui .lg .lg-send, #ui .lg-wbar .btn { flex: none; height: 28px; min-width: 0; padding: 0 14px; font-size: 12.5px; }

/* 글쓰기(오른쪽 칸) */
#ui .lg-ti { flex: none; height: 32px; margin-top: 8px; padding: 0 10px; font-weight: 800; }
#ui .lg-bi { flex: 1; min-height: 60px; margin-top: 8px; padding: 8px 10px; resize: none; line-height: 1.5; }
#ui .lg-thumbs { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; }
#ui .lg-thumb { position: relative; flex: none; width: 44px; height: 44px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, .08); }
#ui .lg-thumb img { width: 100%; height: 100%; object-fit: cover; }
#ui .lg-thumb.busy::after { content: ""; position: absolute; inset: 12px; border: 2px solid rgba(255, 255, 255, .25); border-top-color: #fff; border-radius: 50%; animation: lg-spin .8s linear infinite; }
@keyframes lg-spin { to { transform: rotate(1turn); } }
#ui .lg-unpic { position: absolute; right: 1px; top: 1px; width: 16px; height: 16px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .7); }
#ui .lg-unpic::before, #ui .lg-unpic::after { content: ""; position: absolute; left: 4px; top: 7.25px; width: 8px; height: 1.5px; background: #fff; transform: rotate(45deg); }
#ui .lg-unpic::after { transform: rotate(-45deg); }
#ui .lg-add { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 28px; align-self: center; padding: 0 12px; border: 0; border-radius: 999px; font-size: 12px; font-weight: 800; color: #e9eae6; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
#ui .lg-add i { position: relative; width: 12px; height: 12px; }
#ui .lg-add i::before, #ui .lg-add i::after { content: ""; position: absolute; left: 5px; top: 0; width: 2px; height: 12px; border-radius: 1px; background: currentColor; }
#ui .lg-add i::after { transform: rotate(90deg); }

/* 사진 크게 보기 */
#ui .lg-view { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .86); animation: lg-fade .18s ease both; }
#ui .lg-view[hidden] { display: none; }
#ui .lg-view img { max-width: 94%; max-height: 92%; border-radius: 6px; box-shadow: 0 6px 24px rgba(0, 0, 0, .6); }
@keyframes lg-fade { from { opacity: 0; } }
/* loungetr-1111: 번역 줄(features/chattr 채팅 번역 줄과 같은 결) — 원문 아래, 원문보다 작고 흐린 회청색, 앞에 흰 선 지구 아이콘(CSS 그림). */
#ui .lg .lg-tr { position: relative; margin-top: 3px; padding: 3px 0 0 17px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; font-weight: 500; line-height: 1.45; color: #a9c3d6; overflow-wrap: anywhere; white-space: pre-wrap; user-select: text; text-align: left; }
#ui .lg .lg-tr::before { content: ''; position: absolute; left: 1px; top: 5px; width: 10px; height: 10px; border: 1.3px solid currentColor; border-radius: 50%; opacity: .85;
  background: linear-gradient(currentColor, currentColor) center / 1.3px 100% no-repeat, linear-gradient(currentColor, currentColor) center / 100% 1.3px no-repeat; }
#ui .lg .lg-row .lg-tr.lg-trt { margin: 1px 0 2px; padding-top: 1px; border-top: 0; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ui .lg .lg-row .lg-tr.lg-trt::before { top: 3px; }
#ui .lg .lg-tr.lg-trh { margin: -2px 0 6px; border-top: 0; padding-top: 0; font-size: 12.5px; }
#ui .lg .lg-tr.lg-trh::before { top: 2px; }
#ui .lg .lg-tr.lg-trb { margin-top: 8px; padding-top: 6px; font-size: 12.5px; line-height: 1.55; }
#ui .lg .lg-tr.lg-trb::before { top: 8px; }
#ui .lg .an-row.lg-row-tr { height: auto; min-height: 48px; }   /* 번역 줄이 붙은 목록 줄 = 한 줄 더 (:has() 안 씀 — Note20 비용) */
/* lgtrwait-1126(주호님 11-26 "번역중이라면서 로딩 연출"): 번역 상태 — 시안 review/loungetr-1126/frame.html 의 CSS 를 옮김. 알약 = hq-ui 28(시안 22 를 키움).
   ① .tr-spin 도는 링 · .tr-wait 글자 위 빛 흐름 · .tr-sk 줄 뼈대 · .tr-cap 가운데 알약  ② .tr-chip 메타 줄 상태 알약(원문 보기 = 누름)  ③ .tr-fail 실패 띠 + [번역하기] */
#ui .lg .tr-spin { display: inline-block; flex: none; width: 11px; height: 11px; margin: 0 5px -1px 0; border: 1.6px solid rgba(143, 198, 255, .28); border-top-color: #8fc6ff; border-radius: 50%; animation: tr-rot .8s linear infinite; vertical-align: baseline; box-sizing: border-box; }
@keyframes tr-rot { to { transform: rotate(360deg); } }
#ui .lg .tr-wait { color: transparent; background: linear-gradient(100deg, #6f7370 30%, #e9eae6 50%, #6f7370 70%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; animation: tr-sh 1.4s linear infinite; }
@keyframes tr-sh { from { background-position: 120% 0; } to { background-position: -120% 0; } }
#ui .lg .lg-c p.tr-wait { display: inline-block; max-width: 100%; }
#ui .lg .lg-c p.tr-wait .tr-spin { margin-bottom: -1px; }
#ui .lg-detail .an-meta .tr-meta { display: flex; align-items: center; gap: 8px; min-width: 0; margin-left: auto; }
#ui .lg-detail .an-meta .tr-meta > span:last-child { flex: none; }
#ui .lg .tr-chip { display: inline-flex; align-items: center; gap: 5px; min-width: 0; height: 28px; padding: 0 11px; border: 0; border-radius: 999px; font: inherit; font-size: 11px; font-weight: 800; color: #a9c3d6; background: rgba(143, 198, 255, .1); box-shadow: inset 0 0 0 1px rgba(143, 198, 255, .28); white-space: nowrap; overflow: hidden; }
#ui .lg .tr-chip .tr-spin { margin: 0; }
#ui .lg .tr-chip u { flex: none; text-decoration: none; color: #e9eae6; padding-left: 6px; margin-left: 1px; border-left: 1px solid rgba(255, 255, 255, .2); }
#ui .lg .tr-tap { cursor: pointer; transition: transform .18s cubic-bezier(.3, 1.8, .5, 1), background .15s; }
#ui .lg .tr-tap:active { transform: scale(.92); transition-duration: .06s; }
#ui .lg .tr-retry { flex: none; padding: 0 12px; font-size: 12px; color: #e9eae6; background: rgba(143, 198, 255, .2); box-shadow: inset 0 0 0 1px rgba(143, 198, 255, .55); }
#ui .lg .tr-globe { position: relative; flex: none; width: 10px; height: 10px; border: 1.3px solid currentColor; border-radius: 50%; box-sizing: border-box;
  background: linear-gradient(currentColor, currentColor) center / 1.3px 100% no-repeat, linear-gradient(currentColor, currentColor) center / 100% 1.3px no-repeat; }
#ui .lg .tr-box { position: relative; min-height: 64px; padding: 4px 0 2px; }
#ui .lg .tr-sk { height: 11px; margin: 9px 0; border-radius: 6px; background: linear-gradient(100deg, rgba(255, 255, 255, .06) 30%, rgba(255, 255, 255, .18) 50%, rgba(255, 255, 255, .06) 70%) 0 0 / 250% 100%; animation: tr-sh 1.4s linear infinite; }
#ui .lg .tr-cap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; max-width: 94%; height: 34px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #e9eae6; background: rgba(18, 22, 28, .88); box-shadow: inset 0 0 0 1px rgba(143, 198, 255, .4), 0 4px 14px rgba(0, 0, 0, .4); white-space: nowrap; overflow: hidden; }
#ui .lg .tr-cap small { font-size: 11px; font-weight: 600; color: #a9c3d6; overflow: hidden; text-overflow: ellipsis; }
#ui .lg .tr-cap .tr-spin { width: 14px; height: 14px; margin: 0; }
#ui .lg .tr-fail { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; padding: 5px 6px 5px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 700; color: #c9b98f; background: rgba(230, 200, 120, .08); box-shadow: inset 0 0 0 1px rgba(230, 200, 120, .22); }
#ui .lg .tr-fail span { flex: 1; min-width: 0; }

/* gf:js-pack prototype/Spikes/rt-battle/features/netwait/netwait.css */
/* 서버 끊김 · 점검 막는 팝업(netwait.js). 판 = 작은 팝업 공통(18-popup-dark: 어두운 둥근 판 · 모서리 문양) — 여기는 막 · 크기 · 글자 · 기다림 점만.
   크기 = 작은 창 기준값(설정 창 10-24: 제목 15 · 글자 10.5~12 · 단추 28) · 폭 = 확인 창 .popup.ask 300. 모든 창(확인 20 · 점검 띠 46)보다 위. */
#ui .nw-dim { position: absolute; inset: 0; z-index: 60; display: grid; place-items: center; padding: 10px; opacity: 0; pointer-events: auto; transition: opacity .18s ease; }
#ui .nw-dim.on { opacity: 1; }
#ui .nw-dim .shade { background: rgba(6, 8, 10, .55); }
/* 한 번도 붙지 못한 채 = 판을 가린다(서버 값 전 기본 캐릭터 · 빈 섬이 초기화처럼 보이지 않게) */
#ui .nw-dim.cold .shade { background: #0b0d0f; }
#ui .nw-dim .popup.nw { width: 300px; text-align: center; }
#ui .nw-dim.on .popup.nw { animation: fx-pop .34s cubic-bezier(.2, .9, .25, 1.15) both; }
#ui .nw .nw-title { font-size: 15px; font-weight: 800; line-height: 20px; margin: 0 0 8px; color: var(--ink); }
#ui .nw-dim[data-kind="maint"] .nw-title { color: #ffd27a; }   /* 점검 = 점검 띠 머리표 밝은 금(maint_banner.css .mt-tag #ffd27a) */
#ui .nw .nw-text { font-size: 12px; font-weight: 700; line-height: 18px; padding: 0; margin: 0; white-space: pre-line; color: var(--ink); }
#ui .nw .nw-sub { font-size: 10.5px; line-height: 15px; margin: 6px 0 0; min-height: 15px; color: var(--ink-soft); }
/* 기다림 점 셋 = 차례로 밝아짐(빨간 점 맥박 628 ms 결) */
#ui .nw .nw-wait { display: flex; justify-content: center; gap: 6px; margin: 12px 0 2px; }
#ui .nw .nw-wait i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); opacity: .25; animation: nw-dot 1.26s ease-in-out infinite; }
#ui .nw .nw-wait i:nth-child(2) { animation-delay: .21s; }
#ui .nw .nw-wait i:nth-child(3) { animation-delay: .42s; }
@keyframes nw-dot { 0%, 70%, 100% { opacity: .25; transform: none; } 35% { opacity: 1; transform: translateY(-2px); } }
#ui .nw .nw-btns { margin-top: 12px; }
#ui .nw .nw-btns[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { #ui .nw .nw-wait i { animation: none; opacity: .6; } }
/* syncguard-1118: 대화 중(#ui.talking — windows.css 가 대화 밖 층을 visibility:hidden !important 로 숨김)에도 이 팝업은 보인다.
   새 설치 · 재설치 = 첫 대화가 뜬 채 서버 값을 기다리는 때라, 숨으면 Lv1 판 위에 대화만 보였다(sandbox 확인 11-18). #ui#ui 로 그 규칙(2,1,0)보다 세게 */
#ui#ui.talking > .nw-dim, #ui#ui.talking > .nw-dim * { visibility: visible !important; }
#ui#ui.talking > .nw-dim .nw-btns[hidden] { display: none; }

/* gf:js-pack prototype/Spikes/rt-battle/features/adwait/adwait.css */
/* 광고 기다림 표시(adwait.js). 판 = 작은 팝업 공통(.popup.ask 어두운 둥근 판) — 여기는 막 · 크기 · 글자 · 도는 고리만.
   크기 = 작은 창 기준값(netwait.css 와 같은 결: 제목 15 · 보조 10.5) · 폭 = 글자 폭(최소 200). 상점 · 받음 창(20대) 위, 서버 끊김 팝업(60) 아래. */
.aw-dim { position: absolute; inset: 0; z-index: 58; display: grid; place-items: center; padding: 10px; opacity: 0; pointer-events: auto; transition: opacity .16s ease; }
body > .aw-dim { position: fixed; }
.aw-dim.on { opacity: 1; }
.aw-dim .shade { position: absolute; inset: 0; background: rgba(6, 8, 10, .45); }
.aw-dim .popup.aw { position: relative; min-width: 200px; max-width: 300px; padding: 16px 22px 14px; text-align: center; }
.aw-dim.on .popup.aw { animation: fx-pop .3s cubic-bezier(.2, .9, .25, 1.15) both; }
.aw .aw-ring { display: block; width: 30px; height: 30px; margin: 0 auto 10px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .18); border-top-color: #ffd27a; animation: aw-spin .8s linear infinite; }
.aw .aw-title { font-size: 15px; font-weight: 800; line-height: 20px; margin: 0; padding: 0; color: var(--ink, #f3ead8); white-space: nowrap; }
.aw .aw-sub { font-size: 10.5px; line-height: 15px; margin: 4px 0 0; padding: 0; color: var(--ink-soft, #b9ae98); }
@keyframes aw-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .aw .aw-ring { animation-duration: 2.4s; } }

/* gf:js-pack prototype/Spikes/rt-battle/features/hitchspin/hitchspin.css */
/* 멈춤 표시(hitchspin.js): 화면 가운데 작은 어두운 원 + 도는 고리. 고리 색 = 광고 기다림 고리(adwait.css .aw-ring)와 같은 결(흰 테 · 밝은 금 머리).
   크기 = 메이플 키우기 실측 알약 높이 결(원 40 · 고리 22). 누름은 막지 않는다(pointer-events none). 보이기 · 돌기는 JS 의 합성기 애니메이션이 한다(opacity · transform 만). */
.hs-box { position: fixed; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; z-index: 2147483000;
  background: rgba(6, 8, 10, .62); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 4px 14px rgba(0, 0, 0, .35); pointer-events: none; opacity: 0; will-change: opacity; }
.hs-box .hs-ring { position: absolute; left: 9px; top: 9px; width: 22px; height: 22px; box-sizing: border-box; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .2); border-top-color: #ffd27a; will-change: transform; }

/* gf:js-pack prototype/Spikes/rt-battle/features/auction/auction_link.css */
/* 경매장 구글 연동 잠금(M 11-04 — auction_link.js): 판매 탭 판 · 상세 창 구매 자리 · 판매 탭 단추. 자물쇠 = 변신 잠금과 같은 흰 선 그림(features/morph/lock.svg). */
#ui .au-empty-art.au-lock-art::before, #ui .au-empty-art.au-lock-art::after { -webkit-mask-image: url(features/morph/lock.svg); mask-image: url(features/morph/lock.svg); }
#ui .au-linklock b { font-size: 15px; color: #e8e2d4; }
#ui .au-lock-ic { display: inline-block; flex: none; width: 13px; height: 13px; background: currentColor; -webkit-mask: url(features/morph/lock.svg) center / contain no-repeat; mask: url(features/morph/lock.svg) center / contain no-repeat; }
#ui .au-linknote { display: inline-flex; align-items: center; gap: 5px; margin-right: 4px; font-size: 12px; font-weight: 700; color: #c9ccc6; white-space: nowrap; }
#ui .au-tab.au-tab-lock::after { content: ""; display: inline-block; width: 11px; height: 11px; margin-left: 5px; vertical-align: -1px; background: currentColor; opacity: .8;
  -webkit-mask: url(features/morph/lock.svg) center / contain no-repeat; mask: url(features/morph/lock.svg) center / contain no-repeat; }
/* [연동하러 가기] → 설정 [Google 계정 연동] 행 반짝임(11-05) */
#ui .set-btn.google.au-goto { animation: au-goto 0.8s ease-in-out 3; }
@keyframes au-goto { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 201, 121, 0); } 50% { box-shadow: 0 0 0 3px rgba(232, 201, 121, .9); } }

/* gf:js-pack prototype/Spikes/rt-battle/features/auction/auction_wait.css */
/* 경매장 처음 들어가기(auctionload-1117, features/auction/auction_wait.js): 서버 답을 기다리는 동안 판(.popup.full 어둠)만 보이고 내용은 숨김 · 받으면 내용이 스며든다(판과 같은 fx-fade) */
#ui .auction-dim.au-hold .popup.au-w > * { visibility: hidden; }
#ui .auction-dim.au-show .popup.au-w > * { animation: fx-fade .2s ease-out both; }

/* gf:js-pack prototype/Spikes/rt-battle/features/account/link_pop.css */
/* 계정 연동 보상 팝업(features/account/link_pop.js). 판 · 모서리 문양 · 닫기 · 알약 = 18-popup-dark 작은 팝업 그대로, 여기는 자리 · 크기 · 연출만.
   크기 = 메이플 키우기 정본(GUI 450, maple-idle-ui-size.md): 작은 창 제목 15 · 본문 11.5 · 팝업 단추 높이 28 · 나란한 단추 틈 10 · 보상 칸 52~64(여기 56).
   폭 300 = 공용 확인창(ask) · 판매 확인(sellc)과 같다. */
#ui .dim.linkp-dim { z-index: 20; }
#ui .popup.linkp { width: 300px; padding: 16px 18px 18px; text-align: center; overflow: visible; }
#ui .popup.linkp .popup-head { padding: 0 0 2px; margin-bottom: 0; border-bottom: 0; }   /* 아래 보상 띠의 빛선이 칸을 나눈다 — 머리 밑줄과 두 줄이 겹쳐 보이지 않게 */
#ui .popup.linkp .popup-head h2 { font-size: 15px; }
#ui .popup.linkp .close { width: 26px; height: 26px; }
#ui .popup.linkp .close::before, #ui .popup.linkp .close::after { width: 11px; height: 2px; margin: -1px 0 0 -5.5px; }

/* 보상 띠 = 받음 창 got-band · got-line 결(양 끝 흐린 어두운 띠 + 위아래 1px 빛선 + 지나가는 금빛) — 판 안 폭만 */
#ui .linkp .lp-hero { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; height: 84px; margin: 12px -18px 12px; }
#ui .linkp .lp-band { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .38) 20%, rgba(0, 0, 0, .38) 80%, rgba(0, 0, 0, 0)); pointer-events: none; }
#ui .linkp .lp-line { position: absolute; left: 0; right: 0; height: 1px; overflow: hidden; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .2) 25%, rgba(255, 255, 255, .2) 75%, rgba(255, 255, 255, 0)); }
#ui .linkp .lp-line.top { top: 0; } #ui .linkp .lp-line.bottom { bottom: 0; }
#ui .linkp .lp-line::after { content: ""; position: absolute; top: 0; left: 0; width: 34%; height: 100%; background: linear-gradient(90deg, rgba(255, 236, 170, 0), #ffe9a8, rgba(255, 236, 170, 0)); }

/* 보상 칸 = 퀘스트 보상 칸(.qr-cell big) 56 · 다이아 그림 38. 칸 안 작은 수는 옆 큰 수와 겹치므로 숨긴다 */
#ui .linkp .lp-cell { position: relative; flex: none; width: 56px; height: 56px; display: grid; place-items: center; }
#ui .linkp .lp-cell .qr-cell { --g: #8fc6ff; width: 56px; height: 56px; border-radius: 8px; background: rgba(8, 12, 18, .55); }   /* 테 = 다이아 재화 글자색(18-popup-dark .w-diamond) */
#ui .linkp .lp-cell .qr-cell em { display: none; }
#ui .linkp .lp-cell .qr-pic, #ui .linkp .lp-cell .qr-pic img { width: 38px; height: 38px; margin-top: 0; image-rendering: auto; }
#ui .linkp .lp-rays, #ui .linkp .lp-glow { position: absolute; left: 50%; top: 50%; pointer-events: none; border-radius: 50%; }
#ui .linkp .lp-rays { width: 112px; height: 112px; margin: -56px 0 0 -56px; opacity: .55;
  background: repeating-conic-gradient(from 0deg, rgba(190, 226, 255, .55) 0 7deg, rgba(190, 226, 255, 0) 7deg 30deg);
  -webkit-mask: radial-gradient(circle, #000 18%, rgba(0, 0, 0, .5) 42%, transparent 70%); mask: radial-gradient(circle, #000 18%, rgba(0, 0, 0, .5) 42%, transparent 70%); }
#ui .linkp .lp-glow { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: radial-gradient(circle, rgba(143, 198, 255, .45), rgba(143, 198, 255, 0) 66%); }
#ui .linkp .lp-spark { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; opacity: 0; pointer-events: none; background: #f2f9ff;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }

/* 수량: 라벨(무채) + 큰 수(광택 없는 굵은 산세리프 · 다이아 색 빛) */
#ui .linkp .lp-amt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
#ui .linkp .lp-amt small { font-size: 11px; font-weight: 700; color: var(--ink-soft); line-height: 14px; }
#ui .linkp .lp-amt b { display: flex; align-items: baseline; gap: 2px; font-size: 26px; font-weight: 900; line-height: 30px; color: #f2f9ff; letter-spacing: .5px; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(143, 198, 255, .55), 0 1px 2px rgba(0, 0, 0, .6); }
#ui .linkp .lp-amt b i { font-style: normal; font-size: 16px; font-weight: 800; color: #8fc6ff; }
#ui .linkp .lp-n { display: inline-block; min-width: 3ch; text-align: left; }

/* 이점 두 줄 = 흰 선 아이콘(글자색 마스크) + 본문 11.5 */
#ui .linkp .lp-why { display: flex; flex-direction: column; align-items: center; gap: 5px; margin: 0 0 16px; padding: 0; list-style: none; }
#ui .linkp .lp-why li { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; line-height: 15px; color: var(--ink); }
#ui .linkp .lp-why li::before { content: ""; flex: none; width: 15px; height: 15px; background: var(--ink-soft); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
#ui .linkp .lp-why li.lp-keep::before { -webkit-mask-image: url(ui/art/set-link.png); mask-image: url(ui/art/set-link.png); }   /* 선택자 무게를 위 mask 줄임말(li::before)보다 높게 — 낮으면 그림이 지워져 회색 네모 */
#ui .linkp .lp-why li.lp-trade::before { -webkit-mask-image: url(assets/icons/menu-auction.png); mask-image: url(assets/icons/menu-auction.png); }

/* 단추 = 글자 폭 알약(flex none) · 높이 30 · 틈 10. 주 단추 = 앱 로그인 창 구글 단추(gf_native.js PGS_CSS: 흰 바탕 · #dadce0 테 · #3c4043 글자 · 로고 원색) */
#ui .linkp .lp-btns { display: flex; justify-content: center; gap: 10px; }
#ui .linkp .lp-btns .btn { flex: none; min-width: 84px; min-height: 0; height: 30px; padding: 0 16px; font-size: 12.5px; }
#ui .popup.linkp .btn.lp-google { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px 0 12px; background: #fff; color: #3c4043;
  font-family: Roboto, 'Noto Sans KR', system-ui, sans-serif; font-weight: 600; box-shadow: inset 0 0 0 1px #dadce0, 0 2px 4px rgba(0, 0, 0, .35); }
#ui .popup.linkp .btn.lp-google:active { background: #eef0f1; }
#ui .linkp .lp-g { flex: none; width: 16px; height: 16px; }
#ui .linkp .lp-google::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none; transform: translateX(-130%) skewX(-18deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(214, 230, 255, .75), rgba(255, 255, 255, 0)); }
/* 누름 = 누른 동안 .92(60ms) → 떼면 1.06 튕김(ui-juice). link_pop.js 가 pointerdown/up 으로 lp-down · lp-up 을 건다(손가락 :active 는 기기마다 늦거나 안 걸림) */
#ui .linkp .lp-btns .btn { transition: transform .06s ease-out, background .06s; }
#ui .linkp .lp-btns .btn.lp-down { transform: scale(.92); }
#ui .linkp .lp-btns .btn.plain.lp-down { background: rgba(255, 255, 255, .2); }
#ui .popup.linkp .btn.lp-google.lp-down { background: #e3e6e8; }
#ui .linkp .lp-btns .btn.lp-up { animation: lp-press .24s ease-out both; }

/* ---------------- 연출(ui-juice 수치): 창 팝 = ui_fx 공용(.dim.open .popup) · 처음 열 때 내용 순차 = .fx-intro 공용.
   여기 = 띠 펼침 → 칸 팝(420ms) + 등장 고리 → 반짝이 600ms → 수 올림(link_pop.js) → 빛 맥동 1047ms · 빛살 회전 · 띠 빛선 흐름 · 주 단추 빛 한 번 */
#ui #linkp-dim.open .lp-band { animation: fx-got-band .36s cubic-bezier(.2, .9, .3, 1) both; }
#ui #linkp-dim.open .lp-line::after { animation: fx-got-line 2.6s linear infinite; }
#ui #linkp-dim.open .lp-line.bottom::after { animation-delay: -1.3s; animation-direction: reverse; }
#ui #linkp-dim.open .lp-cell .qr-cell { animation: qr-pop .42s .16s cubic-bezier(.2, .9, .3, 1.3) both, lp-edge 1.047s .6s ease-in-out infinite; }
#ui #linkp-dim.open .lp-glow { animation: fx-got-pulse 1.047s ease-in-out infinite; }
#ui #linkp-dim.open .lp-rays { animation: fx-spin 25s linear infinite; }
#ui #linkp-dim.open .lp-spark { animation: lp-spark .6s calc(.24s + var(--d) * .05s) cubic-bezier(.15, .8, .3, 1) both; }
#ui #linkp-dim.open .lp-amt { animation: fx-slide-l2 .3s .22s cubic-bezier(.2, .8, .3, 1) both; }
#ui #linkp-dim.open .lp-n.fx-bump { animation: fx-bump .3s ease-out; }
#ui #linkp-dim.open .lp-google::after { animation: lp-sheen .7s 1.1s ease-in-out both; }
@keyframes lp-spark { 0% { opacity: 0; transform: rotate(var(--a)) translateY(0) scale(.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-46px) scale(1.1); } }
@keyframes lp-edge { 0%, 100% { filter: drop-shadow(0 0 2px rgba(143, 198, 255, .5)); } 50% { filter: drop-shadow(0 0 7px rgba(143, 198, 255, .9)); } }
@keyframes lp-sheen { 0% { transform: translateX(-130%) skewX(-18deg); opacity: 1; } 99% { transform: translateX(330%) skewX(-18deg); opacity: 1; } 100% { transform: translateX(-130%) skewX(-18deg); opacity: 0; } }
@keyframes lp-press { 0% { transform: scale(.92); } 55% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* 게스트 계정 보호 안내(guard, d1hook-1112): 경고 줄 = 흰 선 아이콘(방패 마스크) + 본문 11.5 굵게(무채 — 색 강조는 등급색 · 다이아 칸만) · 길 안내 = 라벨 10 보조색.
   경고 줄은 보상 띠 바로 아래(눈이 먼저 닿는 곳), 길 안내는 단추 아래(나중에 눌러도 찾아갈 곳). */
#ui .linkp .lp-warn { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin: 0 0 9px; padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: 11.5px; font-weight: 800; line-height: 15px; color: var(--ink); text-align: left; word-break: keep-all; }
#ui .linkp .lp-warn::before { content: ""; flex: none; width: 15px; height: 15px; background: var(--ink); -webkit-mask: url(ui/art/set-privacy.png) center / contain no-repeat; mask: url(ui/art/set-privacy.png) center / contain no-repeat; }
#ui .popup.linkp.guard .lp-hero { height: 76px; margin: 10px -18px 10px; }
#ui .popup.linkp.guard .lp-why { margin-bottom: 14px; }
#ui .linkp .lp-path { margin: 10px 0 0; font-size: 10px; font-weight: 700; line-height: 13px; color: var(--ink-soft); word-break: keep-all; }
#ui #linkp-dim.open .lp-warn { animation: fx-rise .3s .3s both; }

/* 연동 안내 · 완료 창(linkpop-1121): 보상 띠 없이 이점 줄 + 앱/웹 따로 안내 칸 + 단추. 폭 320 · 본문 11.5 · 왼쪽 정렬 */
#ui .popup.linkp.lp-guide { width: 344px; }
#ui .linkp .lp-why.lp-left { align-items: flex-start; margin: 12px 4px 12px; text-align: left; }
#ui .linkp .lp-why.lp-left li { align-items: flex-start; }
#ui .linkp .lp-why.lp-left li::before { margin-top: 0; }
#ui .linkp .lp-split { margin: 0 0 14px; padding: 9px 11px; border-radius: 8px; text-align: left; background: rgba(255, 200, 80, .08); box-shadow: inset 0 0 0 1px rgba(255, 210, 110, .35); }
#ui .linkp .lp-split b { display: block; font-size: 12px; line-height: 16px; color: #ffd76e; margin-bottom: 3px; }
#ui .linkp .lp-split p { margin: 0; font-size: 11px; line-height: 15px; color: var(--ink); font-weight: 600; }
#ui .linkp .lp-split p.lp-code { margin-top: 4px; color: var(--ink-soft); }
#ui .linkp .lp-msg { margin: -6px 0 10px; font-size: 11px; color: #ff8a7a; }
#ui .linkp .lp-gis { display: inline-flex; align-items: center; min-height: 30px; max-width: 220px; overflow: hidden; border-radius: 16px; }
#ui .linkp .lp-why li.lp-split1 { color: var(--ink-soft); font-size: 11px; }
#ui .linkp .lp-why li.lp-split1::before { -webkit-mask-image: url(ui/art/set-link.png); mask-image: url(ui/art/set-link.png); }

/* gf:js-pack prototype/Spikes/rt-battle/features/ui/touch_min.css */
/* 단추 최소 크기(btnfix-1118 — 주호님 11-18 "버튼 너무 작은거 다 찾아서" → 단추 전수 검사 features/ui/check_btnaudit_1118.mjs 뒤 "하자").
   창(.dim) 안 글자 단추 · 탭 · 칩 = 높이 30 이상, 글자 없는 ? · + 단추 = 26×26 이상. 기준 = GUI 450(메이플 키우기 실측 알약 26~28 보다 한 단계 크게 — 주호님이 "작고 잘 안 보임").
   창마다 높이를 따로 적은 규칙(22 · 24 · 26 · 28)이 많아 그 값들을 다 고치는 대신 여기 한 곳에서 최소값만 올린다: min-height 만 !important(높이 · 폭 · 글자는 각 창 값 그대로).
   틀이 높이를 고정한 곳(탭 줄 · 칩 줄 · 가방 판 절대 배치)은 아래에서 같이 늘린다. index.html 에서 다른 창 CSS 뒤에 싣는다. */

/* 1) 창 안 글자 단추 · 탭 · 칩 */
#ui .dim .btn:not(.ask-paste),
#ui .dim .tab,
#ui .dim [role="tab"],
#ui .dim .skg-chip, #ui .dim .au-mode, #ui .dim .au-grade, #ui .dim .au-sortbtn, #ui .dim .ifl-pill, #ui .dim .ps-tier,
#ui .dim .pay-sw > button,
#ui .dim .cw-pre button, #ui .dim .lock.buy, #ui .dim button.lock.off { min-height: 30px !important; }
#ui .dim .pay-sw > button { height: 30px !important; border-radius: 15px; }
#ui .dim .pay-sw { border-radius: 17px; }

/* 2) 글자 없는 작은 동그라미 단추(? · 가방 칸 +) */
html body #ui .inv-label .inv-bagx, html body #ui .mm-help, html body #ui .cp-q { width: 26px; height: 26px; border-radius: 13px; }
html body #ui .mm-help { margin-bottom: -4px; }

/* 3) 고정 높이 틀 — 단추 30 + 테두리 틈 2×2 */
html body #ui .au-modes, html body #ui .au-tabs { height: 34px; }
html body #ui .popup.full.gd .gd-tabs { height: 34px; }
html body #ui .mp .mp-tabs { height: 34px; }
html body #ui .popup.full .mp-fr .social-tabs { height: 34px; }
html body #ui .scr .scr-tabs { height: 34px; }   /* 주문서 창 탭 줄(scroll.css 24 고정) — 탭만 30 으로 커져 검은 줄 밖으로 삐져나오던 것(11-20 형창님) */

/* 4) 가방 판(절대 배치 · windows-css 물품 · inv_filter · sky_build): 탭 줄 29 → 34, 그 아래 칸을 5 내림(아래 끝 312 · 358 그대로) */
html body #ui .inv-pane > .tabs { height: 34px; }
html body #ui .eq-box { top: 66px; height: 292px; }
html body #ui .grid-box { top: 66px; height: 246px; }
html body #ui .items-pane > .ifl-bar { top: 66px; height: 30px; }
html body #ui .items-pane.ifl-on > .grid-box { top: 100px; height: 212px; }
html body #ui .items-pane > .ifl-pop { top: 100px; }
html body #ui .inv-pane > .skg-chips { top: 66px; height: 30px; }
html body #ui .items-pane.skg-on > .grid-box { top: 100px; height: 212px; }
html body #ui .skg-chip { line-height: 30px; }
html body #ui .detail-pane > .enh-tabs { height: 34px; }
html body #ui .detail-pane > .detail, html body #ui .detail-pane > .enh-pane { top: 65px; }
html body #ui .detail-pane > .detail { height: 256px; }
html body #ui .detail-pane > .enh-pane { height: 293px; }

/* 5) 글자 10 미만 */
html body #ui .sx-wp small { font-size: 10px; line-height: 13px; }

/* gf:js-pack prototype/Spikes/rt-battle/features/reddot/reddot.css */
/* 빨간 알림 점 · 숫자 배지 정본(reddot-1118 — 형창님 11-18 "빨간핑이 그냥 이미지처럼 … 빨간 스티커 붙여넣은느낌 · 흰 테두리 · sin 다 다름 · 하나로 통일 ·
     그 터치유도에서 우측상단에 뜨는 붉은색 ! 차라리 그걸 넣던가" · "UI 안에있는 빨간핑 전부 다 저런상황 다 통일해봐").
   한 모양: 퀘스트 손가락 붉은 ! 딱지(features/quest/quest_guide.css .qg-bang)와 같은 살 — 붉은 구슬(빛 받는 쪽 밝게) + 흰 테 1.5 + 흰 ! + 붉은 빛 번짐.
     숫자 배지 = 같은 살 · 같은 테 · 같은 연출에 ! 대신 흰 숫자(알약).
   한 연출(1.4 s 한 박자, 화면의 모든 점이 같은 박자 — reddot.js 가 시작 시각을 맞춘다):
     ① 0~28 %: 톡 튀기(위로 14 % · 1.25 배 → .92 → 1.06 → 1)  ② 0~55 %: 붉은 고리가 2.3 배(탭 · 줄의 작은 점은 1.9 배 — 담은 칸에 덜 잘리게)로 퍼지며 사라짐(파동). 그 뒤는 가만히.
     transform · opacity 만 움직인다(Note20 60 fps — 합성만). 그래픽 낮음에서도 같다(아래 끝 주석).
   크기(GUI 450 · 메이플 키우기 기준 maple-idle-ui-size.md: 아이콘 그림 20~24 · 숫자 표지 글자 7 이상 → 점 = 아이콘의 반 남짓):
     아이콘 단추 · 메뉴 칸 = 13 · 탭 · 줄 · 칩 = 11 · 숫자 배지 = 높이 14(글자 9).
   자리: 각 화면 CSS 의 top/right(left) 는 그대로 두고, 예전 겉 크기(--rd0)와 새 크기 차의 반만큼 margin 으로 당겨 점 가운데가 예전 자리에 남게 한다.
   점이 보이는 조건(hidden · display · .ready · .dot · .req · .has-dot …)은 건드리지 않는다 — 모양 · 연출만. 각 화면 CSS · JS 가 주입한 규칙보다 이겨야 해서 !important.
   새 점을 만들면 여기 목록에 선택자를 더한다(reddot_cover.test.mjs 가 빠진 빨간 · 초록 둥근 점을 찾는다).
   초록 점(완료 · 받을 보상 · 보스 출현 수)은 맨 아래 "초록 변형"(greendot-1118 — 형창님 11-18 "사진의 저 초록핑도 해주셈"): 같은 살 · 테 · 박자에 색만 초록, 가운데 = 흰 ✓. */

:root {
  --rd-t: 1.4s;
  --rd-rim: 1.5px;
  --rd-fill: radial-gradient(circle at 35% 30%, #ff8a7a, #e8202a 55%, #a80d16);
  /* 흰 ! — 글꼴 대신 막대 + 점(폰 배율 · 글꼴에 따라 뭉개지지 않게, skill_gate.css 11-06 "느낌표 깨짐" 교훈) */
  --rd-bang: linear-gradient(#fff, #fff) 50% 18% / 18% 42% no-repeat, linear-gradient(#fff, #fff) 50% 80% / 18% 16% no-repeat;
}

/* ── 크기 묶음(--rd 새 크기 · --rd0 예전 겉 크기) ── */
#ui .dot, #ui .menu-item > .dot { --rd: 13px; --rd0: 11px; }
#ui .menu-item > .sg-dot { --rd0: 16px; }
#ui .m-lounge .lg-dot, #menu-pop .m-morph > .mf-mdot, #ui .m-attendance > .ev-mdot { --rd: 13px; --rd0: 8px; }
#ui .tab > .dot, #ui .tp-sub > .dot, #ui .fp-dot, #ui .cp-dot, #ui .au-tdot, #ui .mp-dot { --rd: 11px; --rd-k: 1.9; --rd0: 7px; }
#ui .mf-zone .mf-zdot { --rd: 11px; --rd-k: 1.9; --rd0: 6px; }
#ui .mf-cell .mf-dot { --rd: 11px; --rd-k: 1.9; --rd0: 8px; }
#ui .qwin .qd-chest .qd-dot { --rd: 11px; --rd-k: 1.9; --rd0: 9px; }
#hud .coin .dot { --rd: 13px; --rd0: 13px; }
#hud .tools .t-menu > .nd-menu { --rd: 13px; --rd0: 11px; }
#hud .qk-b > .qk-dot { --rd: 13px; --rd0: 11px; }   /* 오른쪽 위 꺼낸 칸(menugroup) = ☰ 점과 같은 크기 */
#hud .pc-dot { --rd: 13px; --rd0: 12px; }
#hud .b-roll .mf-rdot { --rd: 13px; --rd0: 10px; }
#hud .skg .skg-dot { --rd: 11px; --rd-k: 1.9; --rd0: 9px; }
#hud .skc-dot { --rd: 11px; --rd-k: 1.9; --rd0: 8px; }

/* ── 점(요소) ── */
:is(#ui .dot, #ui .lg-dot, #menu-pop .mf-mdot, #ui .ev-mdot, #ui .fp-dot, #ui .cp-dot, #ui .au-tdot, #ui .mp-dot, #ui .mf-zdot, #ui .mf-dot, #ui .qd-chest .qd-dot,
    #hud .coin .dot, #hud .t-menu > .nd-menu, #hud .qk-b > .qk-dot, #hud .pc-dot, #hud .mf-rdot, #hud .skg .skg-dot, #hud .skc-dot) {
  box-sizing: border-box !important; width: var(--rd) !important; height: var(--rd) !important; min-width: 0 !important; padding: 0 !important;
  margin: calc((var(--rd0, var(--rd)) - var(--rd)) / 2) !important;
  border: var(--rd-rim) solid #fff !important; border-radius: 50% !important;
  background: var(--rd-bang), var(--rd-fill) !important;
  box-shadow: 0 0 4px rgba(255, 40, 40, .85), 0 1px 2px rgba(0, 0, 0, .5) !important;
  font-size: 0 !important; color: transparent !important; overflow: visible !important; pointer-events: none;
  transform-origin: 50% 70%; animation: rd-bob var(--rd-t) linear infinite !important;
}

/* ── 점(가상 요소 — 단추 자체에 .dot · .ready · .new · .has-dot · .done 이 붙는 곳): ::after = 점, ::before = 퍼지는 고리 ── */
#hud .ev-ent-b.dot { --rd: 13px; --rd0: 7px; --rd-x: 3px; --rd-y: -1px; }
#ui .an-row.new:not(.on) { --rd: 11px; --rd-k: 1.9; --rd0: 7px; --rd-x: 9px; --rd-y: 9px; }
#ui .ps-tier.ready { --rd: 11px; --rd-k: 1.9; --rd0: 8px; --rd-x: -2px; --rd-y: -2px; }
#ui .eq-tabs .t-stats.has-dot { --rd: 11px; --rd-k: 1.9; --rd0: 6px; --rd-x: 5px; --rd-y: 3px; }
#hud :is(.skb-tab, .skb-chipt).dot { --rd: 11px; --rd-k: 1.9; --rd0: 7px; --rd-x: 2px; --rd-y: 1px; }
#hud .skb-open .skb-pill.dot { --rd: 13px; --rd0: 9px; --rd-x: -2px; --rd-y: -3px; }
#ui .smg.done, #ui .ct-tier.can .ct-tc, #ui .gb-node.on .gb-claim:not(.off) { --rd: 11px; --rd-k: 1.9; --rd0: 8px; --rd-x: -2px; --rd-y: -2px; }
:is(#hud .ev-ent-b.dot, #ui .an-row.new:not(.on), #ui .ps-tier.ready, #ui .eq-tabs .t-stats.has-dot, #hud :is(.skb-tab, .skb-chipt, .skb-open .skb-pill).dot, #ui .smg.done, #ui .ct-tier.can .ct-tc, #ui .gb-node.on .gb-claim:not(.off))::after {
  content: "" !important; position: absolute !important; right: var(--rd-x) !important; top: var(--rd-y) !important; left: auto !important; bottom: auto !important;
  box-sizing: border-box !important; width: var(--rd) !important; height: var(--rd) !important;
  margin: calc((var(--rd0) - var(--rd)) / 2) !important;
  border: var(--rd-rim) solid #fff !important; border-radius: 50% !important;
  background: var(--rd-bang), var(--rd-fill) !important;
  box-shadow: 0 0 4px rgba(255, 40, 40, .85), 0 1px 2px rgba(0, 0, 0, .5) !important; pointer-events: none;
  transform-origin: 50% 70%; animation: rd-bob var(--rd-t) linear infinite !important;
}
:is(#hud .ev-ent-b.dot, #ui .an-row.new:not(.on), #ui .ps-tier.ready, #ui .eq-tabs .t-stats.has-dot, #hud :is(.skb-tab, .skb-chipt, .skb-open .skb-pill).dot, #ui .smg.done, #ui .ct-tier.can .ct-tc, #ui .gb-node.on .gb-claim:not(.off))::before {
  content: ""; position: absolute; right: var(--rd-x); top: var(--rd-y); box-sizing: border-box; width: var(--rd); height: var(--rd);
  margin: calc((var(--rd0) - var(--rd)) / 2); border: var(--rd-rim) solid #ff4a3a; border-radius: 50%; background: none;
  opacity: 0; pointer-events: none; animation: rd-ring var(--rd-t) linear infinite;
}

/* ── 숫자 배지(같은 살 · 테 · 연출, ! 대신 숫자) ── */
:is(#hud-screen .mtn-n, #hud-screen .gf-slot-badge) {
  box-sizing: border-box !important; min-width: 14px !important; height: 14px !important; padding: 0 3px !important;
  border: var(--rd-rim) solid #fff !important; border-radius: 7px !important; background: var(--rd-fill) !important;
  box-shadow: 0 0 4px rgba(255, 40, 40, .85), 0 1px 2px rgba(0, 0, 0, .5) !important;
  color: #fff !important; font-size: 9px !important; font-weight: 900 !important; font-style: normal !important; line-height: 11px !important; text-align: center !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .45); overflow: visible !important; pointer-events: none;
  transform-origin: 50% 70%; animation: rd-bob var(--rd-t) linear infinite !important;
}

/* 요소 점 · 숫자 배지의 퍼지는 고리(자기 ::before — 이 요소들은 비어 있거나 글자만 있어 가상 요소를 안 쓴다) */
:is(#ui .dot, #ui .lg-dot, #menu-pop .mf-mdot, #ui .ev-mdot, #ui .fp-dot, #ui .cp-dot, #ui .au-tdot, #ui .mp-dot, #ui .mf-zdot, #ui .mf-dot, #ui .qd-chest .qd-dot,
    #hud .coin .dot, #hud .t-menu > .nd-menu, #hud .qk-b > .qk-dot, #hud .pc-dot, #hud .mf-rdot, #hud .skg .skg-dot, #hud .skc-dot, #hud-screen .mtn-n, #hud-screen .gf-slot-badge)::before {
  content: ""; position: absolute; inset: calc(var(--rd-rim) * -1); box-sizing: border-box; border: var(--rd-rim) solid #ff4a3a; border-radius: inherit; background: none;
  opacity: 0; pointer-events: none; animation: rd-ring var(--rd-t) linear infinite;
}

/* ── ☰ 메뉴 칸 점 자리 하나로(menudot-1119 — 형창님 11-19 "아이콘마다 우측상단에있는 빨간 ! 정렬이 … 아이콘별로 다 다른데 위치가 정리가 안 된 느낌") ──
   예전: 점마다 자기 CSS 자리 — 공용 .dot(가방 · 상점 · 패스 · 공지 · 소환 · 펫 · 프로필 · 경매장) 칸 모서리 -3/-3,
     스킬 .sg-dot -5/-6(16 px 기준), 이벤트 .ev-mdot · 변신 .mf-mdot 6/6, 라운지 .lg-dot 4/2 → 아이콘마다 점이 떠 있는 곳이 달랐다.
   지금: 칸 폭(40)이 아니라 아이콘 그림(28, 가운데 = 칸 가운데 · 위 18 — windows.css .menu-item::before 와 같은 기준)에 붙인다.
     점 가운데 = 아이콘 가운데에서 오른쪽 12 · 위 12(아이콘 오른쪽 위 모서리에 살짝 걸침). 모든 메뉴 칸 점이 같은 자리 · 같은 크기 13. */
#ui #menu-pop .menu-item > :is(.dot, .sg-dot, .ev-mdot, .mf-mdot, .lg-dot) {
  --rd: 13px; left: calc(50% + 12px - var(--rd) / 2) !important; top: calc(18px - 12px - var(--rd) / 2) !important; right: auto !important; bottom: auto !important; margin: 0 !important;
}

/* ── 잘림 막기(dotclip-1119 — 형창님 11-19 "초록색 우측 상단 알림(✓)도 그렇고, 빨간색 우측 상단 빨핑(숫자 배지 '51' 등)도 그렇고, 짤려서 보일 때가 종종 있음. 관련해서 전부 수정하셈") ──
   원인(sandbox 실측 check_dotclip.mjs): ① 전광판(ui_fx.js · ui_fx.css .fx-mq)이 점 걸친 칸을 "글자 넘침"으로 읽고 칸을 잘랐다(overflow hidden + 양 끝 4px 흐림)
     — 패스 [I단] 알약 7.7 px · 가방 [능력치] 탭 1.7 px · 퀘스트 [성장] 탭(초록 ✓). 잼은 ui_fx.js 에서 고쳤다(점 그림을 빼고 글자만 잼).
     ② 별똥별 알림 알약(.mtn)이 펼침 연출 때문에 통째로 overflow hidden — 접힌 둥근 칸(36 · 반지름 14) 모서리에서 숫자 배지 '51' 이 잘렸다 → meteornote 가 글자 · 빛만 안쪽 칸(.mtn-clip)에서 자른다.
   여기 = 글자가 정말 길어 전광판이 도는 칸에 점이 켜진 경우: 칸은 자르지 않고(점이 칸 밖으로 보이게) 흐르는 글자(.fx-mq-in)만 칸 폭 창으로 가린다
     — 가림 창(마스크, 양 끝 4px 흐림 그대로)이 글자와 반대로 같이 움직여 화면에서는 칸 자리에 머문다(같은 박자 · 같은 곡선이라 어긋나지 않음). 자리 · 모양 · 박자는 그대로. */
:is(#hud .ev-ent-b.dot, #ui .an-row.new:not(.on), #ui .ps-tier.ready, #ui .eq-tabs .t-stats.has-dot, #hud :is(.skb-tab, .skb-chipt, .skb-open .skb-pill).dot, #ui .smg.done, #ui .ct-tier.can .ct-tc, #ui .gb-node.on .gb-claim:not(.off),
    #hud .qt-pg.dot, #hud .qt-head.qd-dot, #hud .qt-head.qd-dot > .qt-ttl, #ui .qwin .qw-tabs .tab.qw-dot).fx-mq {
  overflow: visible !important; -webkit-mask-image: none !important; mask-image: none !important;
}
:is(#hud .ev-ent-b.dot, #ui .an-row.new:not(.on), #ui .ps-tier.ready, #ui .eq-tabs .t-stats.has-dot, #hud :is(.skb-tab, .skb-chipt, .skb-open .skb-pill).dot, #ui .smg.done, #ui .ct-tier.can .ct-tc, #ui .gb-node.on .gb-claim:not(.off),
    #hud .qt-pg.dot, #hud .qt-head.qd-dot, #hud .qt-head.qd-dot > .qt-ttl, #ui .qwin .qw-tabs .tab.qw-dot).fx-mq > .fx-mq-in {
  --rd-mq-w: calc(100% + var(--mq-d, 0px) + 2px);   /* 칸 안 폭 = 글자 폭 − 넘침(ui_fx.js: --mq-d = −(넘침 + 2)) */
  -webkit-mask: linear-gradient(90deg, transparent, #000 4px, #000 calc(100% - 4px), transparent) 0 0 / var(--rd-mq-w) 100% no-repeat;
  mask: linear-gradient(90deg, transparent, #000 4px, #000 calc(100% - 4px), transparent) 0 0 / var(--rd-mq-w) 100% no-repeat;
  animation-name: rd-mq !important;
}
@keyframes rd-mq {
  0%, 18% { transform: none; -webkit-mask-position: 0 0; mask-position: 0 0; }
  82%, 100% { transform: translateX(var(--mq-d, 0)); -webkit-mask-position: calc(-1 * var(--mq-d, 0px)) 0; mask-position: calc(-1 * var(--mq-d, 0px)) 0; }
}

@keyframes rd-bob {
  0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .4, 1); }
  7% { transform: translateY(-14%) scale(1.25); animation-timing-function: cubic-bezier(.5, 0, .6, 1); }
  14% { transform: scale(.92); }
  21% { transform: scale(1.06); }
  28%, 100% { transform: none; }
}
@keyframes rd-ring {
  0% { transform: scale(1); opacity: .9; animation-timing-function: cubic-bezier(.15, .6, .35, 1); }
  55%, 100% { transform: scale(var(--rd-k, 2.3)); opacity: 0; }
}

/* 그래픽 낮음(html.gfx-low)도 고리를 끄지 않는다 — 파동이 이 요청의 뜻("꼭 누르세요")이고, 작은 칸 transform · opacity 라 합성 비용이 거의 없다.
   안 보이는 점은 62-anim-calm 이 멈추고, 폰 대기 30fps 동안 HUD 점은 62-power animPace 가 판 박자로 옮긴다. */

/* ══ 초록 변형(greendot-1118 — 형창님 11-18 "그리고 사진의 저 초록핑도 해주셈": HUD 퀘스트 알리미 어두운 넘김 단추 ‹ › 오른쪽 위 테 없는 밋밋한 초록 점) ══
   빨간 점과 같은 것: 구슬(빛 받는 쪽 밝게) · 흰 테 1.5 · 빛 번짐 · rd-bob 톡 튀기 + rd-ring 퍼지는 고리 · 1.4 s 한 박자(같은 keyframes 이름이라 reddot.js 가 빨간 점과 한 박자로 모은다).
   다른 것: 색 = 게임 안 초록 계열(퀘스트 완료 #68d890 · 길드 접속 #4fbf5e · 추천 섬 #7ad26a 사이 — 가운데 #3fc46c), 고리 = #68d890.
   가운데 글자 = 흰 ✓ — 초록 점은 "할 일" 이 아니라 "다 됐다 · 받기만 하면 된다"(완료 가능 퀘스트 · 받을 일일/주간 상자 · 받을 성장 보상)라서,
     빨간 "!"(새 것 · 해야 할 일)와 색만이 아니라 모양으로도 갈리게(색약에서도 구분). 그림 = SVG 한 줄(글꼴 ✓ 는 폰마다 그림 글자 · 굵기가 달라 뭉갬 — 빨간 ! 를 막대로 그린 까닭과 같음).
   보스 출현 수(.bpl-n)는 숫자 배지 — 빨간 숫자 배지와 같은 알약에 초록 살.
   점이 보이는 조건(.dot · .qd-dot · .qw-dot · bpl-n 있음)은 quest.js · quest_daily.js · boss.js 그대로 — 모양 · 연출만. */
:root {
  --gd-fill: radial-gradient(circle at 35% 30%, #b8f5c8, #3fc46c 55%, #167a37);
  --gd-glow: 0 0 4px rgba(80, 225, 130, .85), 0 1px 2px rgba(0, 0, 0, .5);
  --gd-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.9 6.4l2 2 4.2-4.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50% 50% / 100% 100% no-repeat;
}
/* 크기 · 자리(예전 자리 = 예전 CSS 의 right/top, 가운데가 그대로 남게 --rd0 = 예전 지름) */
#hud .qt-pg.dot { --rd: 11px; --rd-k: 1.9; --rd0: 5px; --rd-x: -1px; --rd-y: -1px; }                 /* 알리미 넘김 ‹ › = 다른 쪽에 완료 가능 퀘스트(quest.js 914) — 그림 속 그 점 */
#hud .qt-head.qd-dot { --rd: 13px; --rd0: 6px; --rd-x: -2px; --rd-y: -2px; }                         /* 알리미 머리(퀘스트 단추) = 받을 일일 · 주간 상자(quest_daily.js 360) */
#ui .qwin .qw-tabs .tab.qw-dot { --rd: 11px; --rd-k: 1.9; --rd0: 6px; --rd-x: 4px; --rd-y: 4px; }   /* 퀘스트 창 [성장] 탭 = 받을 보상(quest.js 984) */
/* 점 = ::after */
:is(#hud .qt-pg.dot, #hud .qt-head.qd-dot, #ui .qwin .qw-tabs .tab.qw-dot)::after {
  content: "" !important; position: absolute !important; right: var(--rd-x) !important; top: var(--rd-y) !important; left: auto !important; bottom: auto !important;
  box-sizing: border-box !important; width: var(--rd) !important; height: var(--rd) !important;
  margin: calc((var(--rd0) - var(--rd)) / 2) !important;
  border: var(--rd-rim) solid #fff !important; border-radius: 50% !important;
  background: var(--gd-check), var(--gd-fill) !important;
  box-shadow: var(--gd-glow) !important; pointer-events: none;
  transform-origin: 50% 70%; animation: rd-bob var(--rd-t) linear infinite !important;
}
/* 퍼지는 고리 = ::before — 알리미 머리는 ::before 가 퀘스트 아이콘이라 제목 글자(.qt-ttl, 자리 없는 칸 → 머리 단추 기준으로 놓임)의 ::before 를 쓴다 */
:is(#hud .qt-pg.dot, #ui .qwin .qw-tabs .tab.qw-dot)::before, #hud .qt-head.qd-dot > .qt-ttl::before {
  content: ""; position: absolute; right: var(--rd-x); top: var(--rd-y); box-sizing: border-box; width: var(--rd); height: var(--rd);
  margin: calc((var(--rd0) - var(--rd)) / 2); border: var(--rd-rim) solid #68d890; border-radius: 50%; background: none;
  opacity: 0; pointer-events: none; animation: rd-ring var(--rd-t) linear infinite;
}
/* 보스 출현 수 숫자 배지(boss.js 193 — 보스 도전 알약 글자 뒤) */
#hud .bpl-n {
  position: relative !important; box-sizing: border-box !important; min-width: 14px !important; height: 14px !important; padding: 0 3px !important;
  border: var(--rd-rim) solid #fff !important; border-radius: 7px !important; background: var(--gd-fill) !important; box-shadow: var(--gd-glow) !important;
  color: #fff !important; font-size: 9px !important; font-weight: 900 !important; font-style: normal !important; line-height: 11px !important; text-align: center !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .45); overflow: visible !important; pointer-events: none;
  transform-origin: 50% 70%; animation: rd-bob var(--rd-t) linear infinite !important;
}
#hud .bpl-n::before {
  content: ""; position: absolute; inset: calc(var(--rd-rim) * -1); box-sizing: border-box; border: var(--rd-rim) solid #68d890; border-radius: inherit; background: none;
  opacity: 0; pointer-events: none; animation: rd-ring var(--rd-t) linear infinite;
}

