/* 상태 탭 — 원본 Setup_Content (위치는 #view 기준 = 무대 좌표 −(230,130))
   2.13.0: LED 칸(팀 · 포지션 색)과 캘리브레이션 칸은 조종기 탭(LIGHT · 보정·초기화)으로 옮김 → 드론 정보가 LED 자리까지 · 3D 가 캘리브레이션 자리까지 */
#st-info { left: 20px; top: 0; width: 567.4px; height: 496px; }
#st-graph { left: 20px; top: 511.5px; width: 567.4px; height: 418.5px; } /* 원본 Graph L250 T641.5 567.4×418.5 */
#st-3d { left: 605px; top: 0; width: 1059px; height: 929px; }

/* 드론 정보 (원본 SystemInform: NotoSansKR-Light 19px, 줄 간격 34 · Content 위 196.6 → 칸 기준 67) */
.info-rows { position: absolute; left: 22px; right: 28.6px; top: 67px; } /* 값 오른끝 = 원본 Value 칸 오른끝(배포판) */
.info-row { height: 34px; display: flex; align-items: center; font-size: 19px; }
.info-row .k { flex: 0 1 auto; max-width: 152px; min-width: 0; white-space: nowrap; padding-left: 8px; position: relative; } /* 원본 이름 칸 160(여백 포함) · Best Fit → data-fit */
.info-row .v { flex: 1; min-width: 0; margin-left: 8px; white-space: nowrap; text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.info-row.fw { font-size: 20px; font-weight: 500; } /* 원본 Firmware_SubText: NotoSansKR-Medium 22 — 자동 맞춤(30px 높이)으로 20 */
.info-row.fw { position: relative; }
.info-row.fw .k { flex: none; width: 122.6px; max-width: none; } /* 단추 앞 10 까지 · 긴 글자(일본어)는 줄임(data-fit) */
.info-row.fw .btn-line { position: absolute; left: 132.6px; top: 4.8px; width: 110px; height: 28.2px; font-size: 15px; font-weight: 300; border-width: 1px; border-radius: 7.8px; } /* 원본 Firmware_btn L404.6 T507.8 110×28.2 · RoundBox 배율 3 → 테 1 · 반지름 23.5/3 */

/* 그래프 (원본 Graph: Roll 빨강 · Pitch 보라 · Yaw 노랑, ±180) */
#st-graph canvas { position: absolute; left: 20px; top: 70px; width: 527px; height: 328px; }
/* 원본 Text/Roll·Pitch·Yaw: 100×25 칸 3개(453·563·673) — 이름은 왼쪽, 값은 오른쪽, 값도 같은 색 */
/* 원본 Title L212.9·322.9·432.9 T67.5 100×30 NotoSansKR-Light 16 왼쪽 · 값 Text(Legacy) 이름+30 50×30 18 오른쪽 */
.g-legend span { position: absolute; top: 67.5px; width: 100px; height: 30px; font-size: 16px; display: flex; align-items: center; }
.g-legend span:nth-child(1) { left: 212.9px; } .g-legend span:nth-child(2) { left: 322.9px; } .g-legend span:nth-child(3) { left: 432.9px; }
.g-legend span b { position: absolute; left: 30px; top: 0; width: 50px; height: 30px; font-size: 18px; font-weight: 300; display: flex; align-items: center; justify-content: flex-end; white-space: nowrap; }
/* 원본 Dropdown (302,712) 100×25 · 글자 NotoSansJP-Light 12 · 오른쪽 화살표 */
/* 원본 Dropdown L51.7 T70.2 100×25 #1e1e1e RoundBox_2 배율 4 · Label "10" L20.1 13px 왼쪽 · "ms" L28.8 65 폭 12px 가운데 · Arrow L75 T2.5 20×20 DropdownArrow(짙은 회색 그림 그대로) */
.g-rate { position: absolute; left: 51.7px; top: 70.2px; width: 100px; height: 25px; --c: #1e1e1e; --k: .25; cursor: pointer; }
.g-rate-v { position: absolute; left: 20.1px; top: -1.2px; width: 65px; height: 24.9px; display: flex; align-items: center; font-size: 13px; }
.g-rate-ms { position: absolute; left: 28.8px; top: -2px; width: 65px; height: 25.2px; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.g-rate-arrow { position: absolute; left: 75px; top: 2.5px; width: 20px; height: 20px; background: url(../assets/img/ui/DropdownArrow.png) no-repeat center / 12px 8px; }
/* 펼친 목록 — 원본 Graph/Text/Refresh/Dropdown/Template: RoundBox_2 #1e1e1e/0.87(배율 4) · 항목 20(바탕 투명) · 고른 항목 UIArrowDown2 12 흰색(4,4)
   글 NotoSansJP-Light 13 흰색 (20, 2, 오른쪽 10) · 넘치면 오른쪽 20 스크롤 막대 #1c1c1c · 손잡이 RoundBox_2 #2e2e2e */
.dl.graph { background: rgba(30, 30, 30, .8); border-radius: 5.9px; }
.dl.graph .it { height: 20px; }
.dl.graph .it i { left: 4px; top: 4px; width: 12px; height: 12px; background: url(../assets/img/UIArrowDown2.png) no-repeat center / contain; }
.dl.graph .it span { left: 20px; right: 10px; top: 2px; height: 17px; font: 300 13px NJ, NK, sans-serif; color: #fff; }
.dl.graph .vp::-webkit-scrollbar { width: 20px; }
.dl.graph .vp::-webkit-scrollbar-track { background: #1c1c1c; }
.dl.graph .vp::-webkit-scrollbar-thumb { background: #2e2e2e; border-radius: 5.9px; }

/* 3D */
/* 원본 3D 칸: 제목·밑줄 없음(Title 꺼짐) · 그림 자리 Background (855,358) 1019×682 */
#st-3d .view3d { position: absolute; left: 20px; top: 70px; right: 20px; bottom: 20px; border-radius: 6px; overflow: hidden; }
/* 원본 Value: NotoSansJP-Light 18 굵게 · 왼쪽 876 · 가운데 높이 363 · 줄 간격 26.5 · ':' 와 값은 세로로 줄 맞춤 */
/* 원본 Value "Roll Pitch Yaw" L41 T-5 160×160 · 옆 Text(Legacy) ":   값" L121 80×160 · 둘 다 NotoSansJP-Light 18 굵게(가짜 굵게) 왼쪽·가운데 */
#st-3d .att { position: absolute; z-index: 1; left: 0; top: 0; pointer-events: none; }
#st-3d .att > div { position: absolute; top: -5px; height: 160px; display: flex; align-items: center; font-size: 18px; font-weight: 500; line-height: 1.448; white-space: pre; }
#st-3d .att-k { left: 41px; width: 160px; } #st-3d .att-v { left: 121px; width: 80px; }
/* 원본 OffSet (1574,331) 279×30 · 회색 #505050 + 밝은 테 · 글자 14 */
/* 원본 OffSet L738.6 T43.2 279×30: Unity 기본 InputFieldBackground(가장자리 어두운 1px · 안쪽 밝은 결 — 9조각 10 → 5) × #505050
   + Outline #c3c3c3 (2,2): 같은 그림을 #c3c3c3 으로 곱해 대각선 네 방향 ±2 로 뒤에 깔기(칸에만 — 글자에는 없음) · 글자 NotoSansJP-Light 14 가운데
   → tools/bake_unity_box.py 가 원본 셈(선형 색 곱 · 9조각 · Outline)으로 구운 한 장(offset_states.png: 보통 · 올림 · 고름 · 누름, 사방 2 넓음).
   브라우저 9조각은 조각 경계에 가는 줄이 생기고, 모양만 쓰면(mask) 그림 속 어두운 테·결이 사라져서 */
#st-3d .offset { position: absolute; z-index: 1; left: 738.6px; top: 43.2px; width: 279px; height: 30px; font-size: 14px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
#st-3d .offset::before { inset: -2px; background: url(../assets/img/ui/offset_states.png) 0 0 / 100% 400% no-repeat; }
#st-3d .idle { position: absolute; left: 20px; top: 70px; right: 20px; bottom: 20px; display: flex; align-items: center; justify-content: center; }
#st-3d .idle img { width: 46%; opacity: .25; }

/* 칸 제목·밑줄 — 원본 Title·Line 칸 그대로(제목은 그 칸 가운데 · 밑줄 흰색 0.502 · 1px · 위 53.7) */
#st-info > h3 { position: absolute; left: 20px; width: 527.4px; }
#st-graph > h3 { position: absolute; left: 21.3px; width: 518.9px; }
#st-info > .rule { left: 18.1px; right: auto; width: 531.3px; top: 53.7px; }
#st-graph > .rule { left: 23.7px; right: auto; width: 520px; top: 53.7px; }

/* 언어별 조정(원본 LanguageUIChange): 일본어 '펌웨어' 17 */
:root[data-lang="Japanese"] .info-row.fw { font-size: 17px; }
