/* NANOTRADING 모바일 UX 보정 레이어 (추가 전용).
   - 데스크톱 미영향: 전부 @media (max-width:640px) 안.
   - 기존 기능/디자인(검정·골드 터미널) 불변 — '잘림/가림'만 완화.
   - 각 페이지 스타일보다 늦게 이기도록 !important 로 얹는다. */

@media (max-width: 640px) {

  /* [1] 상단 nav 행 잘림 해소 — 언어토글(日/中)·계정·타이틀이 화면 밖으로 hidden 되던 것을
         가로 스와이프로 접근 가능하게(scalp 은 이미 auto, fire 등은 hidden 이라 불일치했음). */
  /* (v4) 기능행(.tfunc/.tsecbar)은 좌우 고정 — 시세행(.tquote)만 스와이프 허용 */
  .nbar .tquote, .tquote {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;                 /* Firefox 스크롤바 숨김 */
  }
  .nbar .tfunc, .nbar .tsecbar, .tfunc, .tsecbar {
    overflow-x: hidden !important;
    overflow-y: hidden !important;
  }
  /* 타이틀은 넘칠 때 말줄임으로 축소 — 행이 절대 안 넘치게 */
  .nt-lockrow .ttl {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .tfunc::-webkit-scrollbar,
  .tsecbar::-webkit-scrollbar,
  .tquote::-webkit-scrollbar { display: none !important; height: 0 !important; }

  /* [2] 하단 고정 바 — 홈 인디케이터/제스처 영역(세이프에어리어) 확보 +
         우하단 채팅 버튼(#dpmChatRoot)에 상태 텍스트가 가리지 않도록 우측 여백. */
  .tfoot-sticky, .t-statusbar {
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    padding-right: calc(60px + env(safe-area-inset-right, 0px)) !important;
  }

  /* [3] 채팅 버튼도 홈 인디케이터 세이프에어리어만큼 살짝 띄움(겹침 완화, 위치는 유지). */
  #dpmChatRoot {
    margin-bottom: env(safe-area-inset-bottom, 0px);
    margin-right: env(safe-area-inset-right, 0px);
  }

  /* ========== v2 · [0] 통합 하단바 ========== */
  /* 상태바를 '한 줄 바'로: 속보음(좌) · 상태텍스트(중) · 채팅(우 56px 예약) */
  .nt-bbar {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 40px;
    padding-top: 3px !important;
    padding-left: 8px !important;
    background: #020303 !important;
    border-top: 1px solid #1d2126;
    overflow: hidden;
    white-space: nowrap;
  }
  #ntBottomBar.nt-bbar-made {
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 2147482000;
    padding-right: calc(60px + env(safe-area-inset-right, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px; color: #9aa1ab;
    justify-content: space-between;
    box-shadow: 0 -6px 16px rgba(0, 0, 0, .55);
  }
  #ntBottomBar .nt-bbar-brand { color: #ff9d00; font-weight: 800; letter-spacing: .08em; }
  /* 바 안에 들어온 속보음 토글 — 컴팩트 필 */
  .nt-bbar-ctl#nanoBNCtl {
    opacity: 1 !important;
    box-shadow: none !important;
    padding: 2px 9px 2px 7px !important;
    border-radius: 13px !important;
    flex: none;
  }
  .nt-bbar-ctl#nanoBNCtl .bntx { font-size: 10px !important; }
  .nt-bbar-ctl#nanoBNCtl .bnbell { font-size: 12px !important; }
  /* 채팅 버튼 — 바 라인 안으로 축소 정렬(인라인 스타일을 !important 로 override) */
  #dpmChatRoot.nt-chat-inbar {
    right: 8px !important;
    bottom: calc(4px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
  }
  #dpmChatRoot.nt-chat-inbar #dpmChatBtn {
    width: 33px !important;
    height: 33px !important;
  }
  #dpmChatRoot.nt-chat-inbar #dpmChatBtn svg { transform: scale(.72); }

  /* ========== v4 · [A] 상단바 좌우 고정(스크롤 금지 — 잔상 원인 제거) ========== */
  .nt-lockrow {
    overflow-x: hidden !important;   /* v1 의 스와이프(auto) 를 무효화 */
  }
  .nt-menu-trig {
    position: static;                /* sticky+그라디언트가 잔상을 만들던 것 → 일반 플렉스 항목으로 */
    margin-left: auto; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; align-self: stretch;
    padding: 0 11px; cursor: pointer;
    color: #ffb63a; font-weight: 800; font-size: 16px;
    background: #0a0c0e;
    border-left: 1px solid #1d2126;
    text-decoration: none;
  }
  /* [B] 페이지 전환 버튼 + 목록 */
  #nt_page_btn {
    display: inline-flex; align-items: center;
    flex: none; margin-left: 6px; padding: 3px 10px;
    border: 1px solid #6a3d00; border-radius: 4px;
    background: #1a1200; color: #ffb63a;
    font-size: 11px; font-weight: 800; white-space: nowrap;
    cursor: pointer; text-decoration: none;
  }
  .nt-page-grid a.on { border-color: #ff9d00 !important; color: #ff9d00 !important; }
  .nt-page-grid a i { font-style: normal; color: #26d07c; font-size: 9px; }
  .nt-menu-grid { display: flex; flex-wrap: wrap; gap: 8px; }
  /* 시트로 옮겨온 상단바 항목들 — 원래 행 컨텍스트 스타일을 잃으므로 터미널 톤으로 통일 */
  .nt-menu-grid > a, .nt-menu-grid > button, .nt-menu-grid > span, .nt-menu-grid > div {
    display: inline-flex !important; align-items: center; gap: 6px;
    padding: 9px 14px !important; margin: 0 !important;
    border: 1px solid #2a2f36; border-radius: 5px;
    background: #0a0c0e; color: #ffb63a !important;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 13px; font-weight: 800;
    text-decoration: none; cursor: pointer;
  }
  .nt-menu-grid a i { font-style: normal; }

  /* ========== v3 · [3] 독킹 열림 = 페이지 세로 확장(차트·체결 스케일 불변) ========== */
  html.nt-dockopen, html.nt-dockopen body {
    height: auto !important;
    overflow-y: auto !important;
  }
  .nt-dockopen .fr, .nt-dockopen .troot { height: auto !important; min-height: 100vh; }
  .nt-dockopen .t-main, .nt-dockopen .tmain { height: auto !important; flex: none !important; }
  .nt-dock-hd {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 10px; margin: 4px 4px 0;
    background: #100d04;
    border: 1px solid rgba(255, 176, 0, .5); border-bottom: 0;
    border-radius: 10px 10px 0 0;
    color: #ffb63a; font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 800;
  }
  .nt-dock-hd .nt-dock-x { cursor: pointer; color: #9aa1ab; padding: 2px 8px; text-decoration: none; }
  .nt-dock-hd .nt-dock-hint { color: #6b7480; font-weight: 400; font-size: 9.5px; }

  /* v4 · [C] 상시 예약 영역 — 항상 자리 차지(고정 높이) → 데이터가 떠도 레이아웃 점프 없음 */
  .nt-dock-fixed {
    display: block;
    height: clamp(120px, 19vh, 210px);
    margin: 3px 4px;
    border: 1px solid #241c06;
    border-radius: 10px;
    background: #070502;
    overflow: hidden;
    display: flex; flex-direction: column;
    flex: none;
  }
  .nt-dock-fixed .nt-dock-hd { margin: 0; border: 0; border-bottom: 1px solid #241c06; border-radius: 0; background: #0d0a02; }
  .nt-dock-fixed .nt-dock-ph {
    flex: 1; display: flex; align-items: center; justify-content: center;
    color: #4a4f57; font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  }
  .nt-dock-fixed #thov.nt-docked,
  .nt-dock-fixed #fk_hov.nt-docked {
    flex: 1; min-height: 0;
    margin: 0 !important;
    max-height: none !important;
    border: 0 !important; border-radius: 0 !important;
    overflow-y: auto !important;
  }

  /* ========== v3 · [4] 뉴스 — 전 데스크 세로 스택(페이지가 길어짐) ==========
     뉴스는 .nw-main 6열 그리드 데스크 → 모바일에서 2행 압축·레일 숨김이 원인.
     그리드를 세로 플렉스로 펼치고 각 데스크에 실높이를 준다. */
  html.nt-news-long, html.nt-news-long body { height: auto !important; overflow-y: auto !important; }
  .nt-news-long .t-root, .nt-news-long .nw-root {
    height: auto !important; min-height: 100vh;
    overflow: visible !important;
  }
  /* 모바일에서 통째로 숨겨졌던 데스크(뉴스룸 리더·KOL·브리핑)도 표시 */
  .nt-news-long .nw-main > .nw-center,
  .nt-news-long .nw-main > .nw-kolc,
  .nt-news-long .nw-main > .nw-brief { display: flex !important; flex-direction: column; }

  /* v6 · 순서: KOL(최상단) → 와이어 → 리더 → 뉴스룸 → 브리핑 → 섹션탭(최하단) */
  .nt-news-long .nw-main > .nw-kolc   { order: 1; height: 320px !important; min-height: 320px !important; }
  .nt-news-long .nw-main > .nw-feed   { order: 2; height: 340px !important; min-height: 340px !important; }
  .nt-news-long .nw-main > .nw-center { order: 3; }
  .nt-news-long .nw-main > .nw-room   { order: 4; }
  .nt-news-long .nw-main > .nw-brief  { order: 5; }
  .nt-news-long .nw-main > .nw-rail   { order: 6; min-height: 0 !important; max-height: 42vh; overflow-y: auto !important; }
  .nt-news-long .nw-feed .nw-feed-bd,
  .nt-news-long .nw-kolc .nw-kol-bd { flex: 1 1 auto !important; min-height: 0 !important; overflow-y: auto !important; }

  /* v4 · [E2] PRO 엔진 모바일 비활성 */
  .nt-mob #fk_pe_btn { pointer-events: none !important; opacity: .35 !important; filter: grayscale(.4); }

  /* ========== v5 추가 ========== */
  /* 스캘핑: 데이터 영역 온디맨드 — 데이터 있을 때만 창으로 등장 */
  .nt-dock-fixed.nt-od { display: none; }
  .nt-dock-fixed.nt-od.nt-live { display: flex; }
  /* 스캘핑: '대시보드 숨기기' 시 상승/하락 순위 컬럼도 함께 숨김 */
  .nt-mob .troot.panels-hidden .trcol { display: none !important; }
  /* 스캘핑: PIP 창 — 데스크톱 좌표(right:444px)라 폰 화면 밖에 뜨던 것 → 우하단 고정 */
  .nt-mob #tvpip {
    right: 8px !important;
    left: auto !important;
    bottom: calc(50px + env(safe-area-inset-bottom, 0px)) !important;
    width: min(72vw, 310px) !important;
    z-index: 2147481200 !important;
  }
  /* 스캘핑: 분할(2/3/4)을 가로 나열 대신 세로 스택으로 */
  .nt-mob #tspwrap { flex-direction: column !important; }
  .nt-mob #tspwrap .tspx { width: 100% !important; min-height: 160px; }

  /* ========== v6 ========== */
  /* 상단 단순화: 현재 페이지 타이틀 제거 */
  .nt-mob .tfunc .ttl { display: none !important; }
  /* 고정 바로가기(로그인·이벤트) 칩 */
  .nt-pin {
    display: inline-flex !important; align-items: center;
    flex: none !important; margin: 0 0 0 6px !important;
    padding: 3px 10px !important;
    border: 1px solid #6a3d00 !important; border-radius: 4px !important;
    background: #1a1200 !important; color: #ffb63a !important;
    font-size: 11px !important; font-weight: 800 !important;
    white-space: nowrap; text-decoration: none !important; cursor: pointer;
  }
  /* .tfunc 없는 페이지용 플로팅 ☰ */
  #nt_menu_fab {
    position: fixed; top: calc(6px + env(safe-area-inset-top, 0px)); right: 8px;
    z-index: 2147481800;
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 34px;
    background: #0a0c0e; color: #ffb63a;
    border: 1px solid #2a2f36; border-radius: 6px;
    font-weight: 800; font-size: 16px; text-decoration: none;
  }
  /* 데이터 독 제거 — 호버 데이터 패널 자체를 모바일에서 숨김 */
  .nt-mob #thov, .nt-mob #fk_hov { display: none !important; }
  /* 스캘핑 종목 상세 창(#tvbig) — 종목 차트(위) + 상세(아래) 세로 스택(크기는 JS scalpDetail) */
  .nt-mob #tvbig { left: 0 !important; right: 0 !important; top: 0 !important; bottom: 0 !important; border: 0 !important; z-index: 2147481300 !important; }
  /* 창위창(청산 레이더 등) 모바일 핏 */
  .nt-fit-modal {
    inset: 0 !important;
    left: 0 !important; right: 0 !important; top: 0 !important; bottom: 0 !important;
    width: 100vw !important; max-width: 100vw !important;
    height: 100% !important; max-height: none !important;
    transform: none !important; border-radius: 0 !important;
    overflow-y: auto !important;
  }
  /* 오버레이 열림 중엔 드로어 토글 숨김(체결창 화면에서만 노출) */
  .nt-ovl-open #nt_drawer_tgl { display: none !important; }
  /* 체결필터 설정 '확인' 버튼 */
  .nt-trs-ok {
    display: flex; align-items: center; justify-content: center;
    margin-top: 8px; padding: 11px;
    background: #ff9d00; color: #000;
    border-radius: 6px; font-weight: 800; font-size: 13px;
    cursor: pointer; text-decoration: none; user-select: none;
  }
  .nt-trs-ok:active { filter: brightness(.9); }

  /* ================= v7 ================= */
  /* 페이지 드롭다운 버튼(브랜드 뒤) */
  #nt_page_btn {
    display: inline-flex; align-items: center; flex: none;
    margin-left: 6px; padding: 3px 9px;
    border: 1px solid #6a3d00; border-radius: 4px;
    background: #1a1200; color: #ffb63a;
    font-size: 11px; font-weight: 800; white-space: nowrap;
    cursor: pointer; text-decoration: none;
  }
  .nt-page-grid a.on { border-color: #ff9d00 !important; color: #ff9d00 !important; }
  .nt-page-grid a i, .nt-menu-grid a i { font-style: normal; color: #26d07c; font-size: 9px; }
  /* 시트로 옮긴 언어(.tlang) 크게 */
  .nt-sheet .tlang.nt-in-sheet { display: flex !important; gap: 8px; flex-wrap: wrap; }
  .nt-sheet .tlang.nt-in-sheet a { padding: 9px 16px !important; border: 1px solid #2a2f36; border-radius: 6px; font-size: 14px !important; color: #ffb63a !important; background: #0a0c0e; }
  /* 상단바 없는 페이지(마이페이지 등) 플로팅 페이지+메뉴 버튼 */
  #nt_fab_wrap {
    position: fixed; top: calc(6px + env(safe-area-inset-top, 0px)); right: 8px;
    z-index: 2147481800; display: flex; gap: 6px;
  }
  #nt_fab_wrap .nt-fab-btn {
    display: flex; align-items: center; justify-content: center;
    height: 32px; padding: 0 10px;
    background: #0a0c0e; color: #ffb63a;
    border: 1px solid #2a2f36; border-radius: 6px;
    font-weight: 800; font-size: 12px; text-decoration: none; white-space: nowrap;
  }
  #nt_fab_wrap .nt-fab-menu { font-size: 16px; padding: 0 11px; }

  /* 시작화면(랜딩): 상단 유틸(시계·☰ 등) 정리는 JS 가 상단바를 안 만드는 것으로 처리 —
     혹시 남는 우상단 데코 클럭이 앱바처럼 보이면 톤다운 */
  .nt-pg-index .nh-cl.tr { opacity: .5; }

  /* 업데이트 히스토리 모달 헤더 겹침(작은 화면): eyebrow 축소 + 언어칩을 아래 줄로 */
  .nt-mob #npatchRoot .np-hd { position: relative; padding-right: 44px; }
  .nt-mob #npatchRoot .np-eyebrow { max-width: 62vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nt-mob #npatchRoot .np-lang { position: static !important; margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
  .nt-mob #npatchRoot .np-cur { max-width: 100%; }

  /* 채팅 반열기 + 비율 조절(바텀시트) */
  .nt-mob #dpmChatPanel.nt-chatp {
    position: fixed !important;
    left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
    width: 100vw !important; max-width: 100vw !important;
    height: 52vh !important; max-height: 92vh !important;
    border-radius: 14px 14px 0 0 !important;
    z-index: 2147483040 !important;
  }
  .nt-chat-grip {
    height: 26px; flex: none;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #0a0c0e; border-bottom: 1px solid #1d2126;
    cursor: ns-resize; touch-action: none; user-select: none;
  }
  .nt-chat-grip span { width: 42px; height: 4px; border-radius: 3px; background: #ff9d00; }
  .nt-chat-grip em { font-style: normal; font-size: 9.5px; color: #6b7480; }

  /* 뉴스 KOL 소식 — 본문 3줄로 제한(한 번에 여러 개 보이게) */
  .nt-mob .nwk-it .nwk-tx {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .nt-mob .nwk-it { padding-top: 8px !important; padding-bottom: 8px !important; }

  /* 청산맵(청산 레이더) 필터를 종목명 아래 가로 스크롤 한 줄로 → 모바일 화면에 다 들어오게 */
  .nt-fit-modal .flp-seg {
    display: flex !important; flex-wrap: nowrap !important;
    overflow-x: auto !important; gap: 6px !important;
    padding: 6px 8px !important; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nt-fit-modal .flp-seg::-webkit-scrollbar { display: none; }
  .nt-fit-modal .flp-seg .flp-card { flex: none !important; white-space: nowrap; }
  .nt-news-long .nw-main {
    display: flex !important; flex-direction: column !important;
    height: auto !important; flex: none !important; gap: 6px !important;
  }
  .nt-news-long .nw-main > * {
    flex: none !important;
    height: auto !important; max-height: none !important;
    min-height: 46vh;
  }
  .nt-news-long .nw-main > .nw-rail { display: flex !important; flex-direction: column; min-height: 30vh; }
  .nt-news-long .nw-main .nw-feed-bd,
  .nt-news-long .nw-main [class*="-bd"] { max-height: none !important; }

  /* ========== v5 · 파이어 전체화면 — 드로어 토글은 떠 있게(여닫기 가능), 상태는 JS 드로어가 관리 ========== */
  .nt-mob .fr.fire-full #nt_drawer_tgl {
    position: fixed; left: 50%; transform: translateX(-50%);
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 2147481500;
    margin: 0; opacity: .92;
  }

  /* ========== v3 · [6] 체결·분석 드로어 토글 ========== */
  #nt_drawer_tgl {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 7px 10px; margin: 2px 4px;
    border: 1px dashed #6a3d00; border-radius: 6px;
    background: #0d0a02; color: #ffb63a;
    font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 800;
    cursor: pointer; text-decoration: none; user-select: none;
  }
  #nt_drawer_tgl b { color: #ff9d00; }

  /* ========== v2 · [1][2] 데이터창 독킹 ========== */
  .nt-dock { margin: 0; }
  /* 스켈핑 #thov — fixed 300px 오버레이 → 문서 흐름 블록(아래 패널 밀어냄) */
  #thov.nt-docked {
    position: static !important;
    display: none;                    /* 원본 JS 가 display 를 계속 제어 */
    width: auto !important;
    max-width: 100% !important;
    z-index: auto !important;
    margin: 4px 6px 6px;
    max-height: 38vh;
    overflow-y: auto !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  /* 파이어 #fk_hov — absolute 430px → 차트 그리드 아래 블록 */
  #fk_hov.nt-docked {
    position: static !important;
    width: auto !important;
    max-width: 100% !important;
    pointer-events: auto !important;
    z-index: auto !important;
    margin: 3px 4px;
    max-height: 34vh !important;      /* 원본 JS 인라인 maxHeight 보다 우선 */
    overflow-y: auto !important;
  }

  /* ========== v2 · [4] 파이어 트리거 버튼 + 바텀시트 ========== */
  .nt-trig {
    cursor: pointer;
    font-size: 11px; font-weight: 800;
    padding: 2px 9px; margin-left: 6px;
    border: 1px solid #6a3d00; border-radius: 4px;
    background: #1a1200; color: #ffb63a;
    white-space: nowrap; text-decoration: none;
    display: inline-flex; align-items: center; gap: 4px;
  }
  .nt-trig .nt-cnt {
    background: #ff9d00; color: #000;
    border-radius: 8px; padding: 0 5px; font-size: 10px;
  }
  .nt-hd-slim { row-gap: 3px !important; column-gap: 5px !important; padding-top: 4px !important; padding-bottom: 4px !important; }
  /* v6: 헤더 2줄 목표 — 타이틀 축약 + 남은 버튼 컴팩트 */
  .nt-hd-slim #fk_title { max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nt-hd-slim .nt-trig, .nt-hd-slim #fk_indbtn, .nt-hd-slim #fk_scanbtn,
  .nt-hd-slim #fk_cap, .nt-hd-slim #fk_fulltgl {
    font-size: 10.5px !important;
    padding: 2px 7px !important;
    margin-left: 4px !important;
  }
  .nt-sheet-wrap { position: fixed; inset: 0; z-index: 2147482500; display: none; }
  .nt-sheet-wrap.on { display: block; }
  .nt-sheet-back { position: absolute; inset: 0; background: rgba(2, 3, 5, .62); }
  .nt-sheet {
    position: absolute; left: 0; right: 0;
    bottom: calc(44px + env(safe-area-inset-bottom, 0px));
    max-height: 58vh; overflow-y: auto;
    background: #0a0d11;
    border-top: 2px solid #ff9d00;
    box-shadow: 0 -14px 40px rgba(0, 0, 0, .7);
    padding: 0 12px 14px;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
  }
  .nt-sheet-hd {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 2px 8px; color: #ff9d00; font-size: 12px;
    position: sticky; top: 0; background: #0a0d11;
  }
  .nt-sheet-hd .nt-sheet-x { cursor: pointer; color: #9aa1ab; font-size: 15px; padding: 2px 8px; }
  .nt-sheet-sec { margin-top: 10px; }
  .nt-sheet-lbl { font-size: 9.5px; color: #6b7480; letter-spacing: .08em; margin-bottom: 6px; text-transform: uppercase; }
  /* 시트로 이동한 원본 컨트롤들이 좁게 흘렀던 인라인 스타일 보정 */
  .nt-sheet #fk_tfsel, .nt-sheet #fk_filt { display: flex !important; flex-wrap: wrap; gap: 6px !important; margin: 0 !important; }
  .nt-sheet #fk_tfsel .tfb, .nt-sheet #fk_filt .ct-f { font-size: 13px !important; padding: 7px 13px !important; }
  .nt-sheet #fk_heat { display: flex !important; width: 100%; margin: 0 !important; }
  .nt-sheet #fk_heat input[type=range] { width: 100% !important; }
  .nt-sheet #fk_pe_btn, .nt-sheet #fk_litebtn, .nt-sheet #fk_t_kr { margin: 0 !important; padding: 6px 12px !important; font-size: 12px !important; }

  /* ========== v2 · [+] 소소한 개선 ========== */
  a, button, .tfb, .ct-f, .nt-trig { touch-action: manipulation; }  /* 더블탭 확대 지연 제거 */
  .nt-pg-events * { word-break: keep-all; overflow-wrap: break-word; }  /* 한국어 단어 중간 깨짐 방지 */
  .nt-pg-mypage input, .nt-pg-mypage select { font-size: 16px !important; }  /* 입력 포커스 시 강제 확대 방지 */
}
