/* BEAN TALK — 2026-10-07 샘플 디자인(~/BeanApps/BeanAppsUIexample/BEAN TALK/BeanTalk.html)을 그대로 옮긴 겉모양.
   ★ 치수 · 색 · 글꼴은 샘플에서 잰 값이다. 바꿀 때는 샘플을 먼저 고친다(샘플이 정본).
   ★ 배치 · 동작 규칙(좁은 화면 서랍 · 글자판 · 손가락 44px · 안전 영역)은 app.css 그대로 — 여기서는 모양만 덮는다.
   ★ 샘플의 11px 글자는 12px 로 올렸다(앱 규칙: 가장 작은 글자 12px).
   색은 colors.css 의 샘플 토큰(--bg-page · --ink · --line1 · --rowline …)만 쓴다. */

/* ── 바탕 ─────────────────────────────────────────────── */
body { background: var(--bg-page); color: var(--ink); font-size: 13px; line-height: normal; font-variant-numeric: tabular-nums; }
button { line-height: 1; }
* { scrollbar-color: var(--line2) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--line2); border: 3px solid transparent; background-clip: padding-box; border-radius: 0; }
.dk-scroll::-webkit-scrollbar-thumb { background: var(--line2); border: 3px solid transparent; background-clip: padding-box; border-radius: 0; }
::placeholder { color: var(--dim2); }
/* 고르는 칸의 펼친 목록은 운영체제가 그린다 — 목록 바탕은 color-scheme 이, 글자는 option 색이 정한다. 둘이 어긋나면
   다크에서 어두운 목록에 검은 글자(또는 흰 목록에 흰 글자)가 된다. 테마의 color-scheme(colors.css)을 그대로 물려받게 못박고 option 도 테마 색으로. */
select { color-scheme: inherit; }
select option, select optgroup { background-color: var(--bg-field); color: var(--ink); }
select option:disabled { color: var(--dim2); }
.bt-mono, .bt-set__value .bt-mono { font-family: var(--font-mono); }

/* 2026-11-12 리디자인(대표님 승인 시안 _tmp/talk_redesign): 모서리 3(--r) · 칸 32 · 글 12/13/14/16/24 · 굵기 400/600 · 강조색 면 위 흰 글(11-12 08시 그림자 뺌) ·
   넓은 자간 · 고정폭 글꼴 이름표 걷음(숫자는 Pretendard 고정폭 숫자). 설정 안 항목별 카드(.bt-set__panel)는 원래 꼴 그대로(대표님 11-12). */

/* 그림 크기 — 샘플: 머리줄 그림 18 · 작은 그림 16 · 더하기 11~12 */
.bt-ico { width: 18px; height: 18px; }
.bt-ico--16 { width: 16px; height: 16px; }
.bt-ico--sm { width: 15px; height: 15px; }
.bt-ico--plus { width: 12px; height: 12px; }
.bt-ico--back { width: 13px; height: 13px; }

/* ── 단추 · 칸 공통 (DeskKit 부품을 샘플 모양으로) ─────────── */
.dk-btn { border-radius: var(--r); font-size: 13px; font-weight: 400; color: var(--ink); gap: 6px;
  transition: background-color 140ms cubic-bezier(0.22, 1, 0.36, 1), border-color 140ms cubic-bezier(0.22, 1, 0.36, 1); }
.dk-btn--secondary { background: var(--btn-grad); border-color: var(--btn-line); }
.dk-btn--secondary:hover { background: var(--btn-grad-h); border-color: var(--btn-line); }
.dk-btn--secondary:active { background: var(--btn-grad-a); border-color: var(--btn-line); }
/* 강조색 면 — 글 · 그림은 흰색만(그림자 없음 — 대표님 11-12 08:4x "폰트에 섀도우 빼" · "아이콘들도 섀도우 빼").
   면은 고른 색 그대로(09:3x 대표님 "밝은색 그대로 칠해") — --accent-fill = --accent. */
.dk-btn--primary { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-fill); font-weight: 600; }
.dk-btn--primary:hover, .dk-btn--primary:active { background: var(--accent-fill); filter: brightness(0.95); }
.dk-btn--ghost { background: transparent; color: var(--ink); border-width: 0; }
.dk-btn--ghost:hover { background: var(--sel); color: var(--ink); }
.dk-btn--danger { background: var(--danger-fill); border-color: var(--danger-fill); color: var(--on-fill); font-weight: 600; }
.dk-btn--danger:hover { filter: brightness(0.92); }
/* 못 쓰는 단추 — 흐리게(opacity) 하지 않고 색으로 가른다: 흐리게 하면 글자가 바탕과 3:1 밑으로 떨어진다(check_dark_contrast). 색 단추는 회색 면으로 */
.dk-btn:disabled { opacity: 1; color: var(--dim2); }
.dk-btn--primary:disabled, .dk-btn--danger:disabled { background: var(--sel); border-color: var(--line2); color: var(--dim); filter: none; text-shadow: none; }
.dk-btn--primary:disabled svg { filter: none; }
.dk-btn:focus-visible, .bt-lb:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.dk-iconbtn { width: 32px; height: 32px; padding: 0; }

.dk-inputwrap { height: 32px; padding: 0 10px; border: 1px solid var(--line2); border-radius: var(--r); background: var(--bg-field); }
.dk-inputwrap:focus-within { outline: 2px solid var(--accent); outline-offset: -2px; border-color: var(--line2); }
.dk-inputwrap > input { font-size: 13px; color: var(--ink); }
.dk-inputwrap > input::placeholder, .dk-textarea::placeholder { color: var(--dim2); }

/* 고르는 칸 — 샘플의 손수 그린 꺾쇠(5px 삼각 둘, 오른쪽 15 · 10px)를 그대로 */
.dk-select, .bt-lb.dk-select { height: 32px; border: 1px solid var(--line2); border-radius: var(--r); background-color: var(--bg-field); }
.dk-select::after { content: none; }
.dk-select > select, .bt-lb { font-size: 13px; color: var(--ink); }
.bt-lb, .dk-select > select {
  padding: 0 30px 0 10px;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim2) 50%), linear-gradient(135deg, var(--dim2) 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.bt-lb.bt-lb { font-size: 13px; }
.bt-lb.dk-select--sm { padding: 0 30px 0 8px; height: 28px; }
.bt-lb.dk-select[aria-expanded="true"], .bt-lb.dk-select:focus-visible { border-color: var(--line2); outline: 2px solid var(--accent); outline-offset: -2px; }
.bt-lb--bare { padding: 0 20px 0 0; background-position: calc(100% - 5px) 50%, calc(100% - 0px) 50%; }
.bt-lb--bare::after { content: none; }
.bt-lb__pop { background: var(--bg-field); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: var(--shadow-menu); }
.bt-lb__opt { height: 32px; padding: 0 12px; font-size: 13px; color: var(--ink); }
.bt-lb__opt.is-active { background: var(--sel); }
.bt-lb__opt[aria-selected="true"] { color: var(--ink); font-weight: 600; }

/* 체크 상자(로그인 · 방 만들기 · 채널 표) — 16 네모, 켜면 잉크 바탕 + 체크 */
.dk-check { gap: 8px; font-size: 13px; color: var(--ink); }
.dk-check__box { width: 16px; height: 16px; border: 1px solid var(--btn-line); border-radius: var(--r); background: var(--bg-field); }
.dk-check__box::after { width: 7px; height: 4px; border-left: 1.8px solid var(--accent-fg); border-bottom: 1.8px solid var(--accent-fg);
  transform: rotate(-45deg) translate(0, -1px); }
.dk-check input:checked + .dk-check__box { background: var(--ink-bg); border-color: var(--ink-bg); }
.dk-check input:focus-visible + .dk-check__box { outline: 2px solid var(--accent); outline-offset: 1px; }

.dk-badge { border-radius: var(--r); height: 18px; padding: 0 5px; font-size: 12px; font-weight: 600; background: var(--sel); color: var(--ink); }
.dk-badge--accent { background: var(--accent-fill); color: var(--on-fill); }
.dk-avatar { border-radius: var(--r); background: var(--sel); color: var(--ink); font-weight: 600; font-size: 12px; text-transform: uppercase; }
.dk-avatar.bt-face { background: var(--sel); }
.dk-alert { border-radius: var(--r); }
.bt-tip { border-radius: var(--r); background: var(--ink-bg); color: var(--accent-fg); font-size: 12px; white-space: pre-line; }   /* pre-line: 말풍선 글의 줄바꿈(\n)을 살린다 */

/* 상태 점(온라인 · 자리 비움 · 방해 금지) — 샘플: 네모 + 글자 */
.bt-status__dot, .bt-pdot, .bt-avdot, .bt-voice__dot, .bt-callbar__dot { border-radius: 0; }
.bt-status__dot { width: 7px; height: 7px; background: var(--ok); }
.bt-status__dot[data-status="away"], .bt-pdot[data-status="away"], .bt-avdot[data-status="away"] { background: var(--warn); }
.bt-status__dot[data-status="busy"], .bt-pdot[data-status="busy"], .bt-avdot[data-status="busy"] { background: var(--danger); }
.bt-pdot[data-status="offline"], .bt-avdot[data-status="offline"] { background: var(--line2); }

/* 글자 로고 BEAN(굵게) TALK(가늘게) — 자간 0.2em */
.bt-wordmark { display: inline-flex; align-items: baseline; gap: 6px; font-size: 15px; letter-spacing: .2em; color: var(--ink); }
.bt-wordmark > b { font-weight: 700; }
.bt-wordmark > span { font-weight: 300; }
.bt-logo { display: block; flex: none; }

/* ★ 고유 표시 — 통화 불(강조색 8px 네모). 통화가 살아 있는 곳에만, 늘 글 왼쪽(시안). '통화 중' 은 칠한 딱지가 아니라 불 + 글. */
.bt-lamp { display: inline-block; flex: none; width: 8px; height: 8px; background: var(--accent); }
.bt-lamp--off { background: transparent; border: 1px solid var(--stage-dim); }
.bt-oncall { display: inline-flex; align-items: center; gap: 6px; height: 18px; padding: 0;
  background: transparent; color: var(--ink); font-size: 12px; font-weight: 400; white-space: nowrap; }
.bt-oncall > i { width: 8px; height: 8px; background: var(--accent); flex: none; }
.bt-oncall--lg { gap: 6px; }
/* 안 읽은 수 — 설정에서 고른 강조색 면 그대로 + 흰 글(대표님 11-12) */
.bt-unread { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 18px; padding: 0 4px; border-radius: var(--r);
  background: var(--accent-fill); color: var(--on-fill); font-family: var(--font-mono); font-size: 12px; font-weight: 600; line-height: 1; }
.bt-unread--lg { min-width: 20px; height: 18px; padding: 0 4px; }
.bt-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r);
  background: var(--sel); font-family: var(--font-mono); font-size: 12px; font-weight: 600; }

/* ══ 로그인 ══════════════════════════════════════════════
   2026-11-19 대표님 "빈메일 웹메일 로그인 시안 꼴로"(BeanWebApps 시안 엔진 mock/bm.css · 빈메일 1_로그인) —
   화면 바탕(--bg-page) 위 가운데 카드 400(좁으면 화면 폭 - 32). 카드 = 한 단 밝은 면 · 1px 선 · 모서리 --r, 그림자 없음.
   카드 안: 마크 24 · 글자 로고 18 가운데 / 제목 15 · 한 줄 13 가운데 / 칸 36 / 로그인 단추 40(글자색 면 — 라이트 검정 · 다크 흰색, 시안과 같음).
   카드 아래: 회원가입 · SNS 간편가입 · 찾기 글자 단추(사이 세로 선). 가운데 판만 구르고, 창 높이는 이 내용 높이에 맞춘다(loginFit · Source/Main.cpp LOGIN_H). */
#screen-login { background: var(--bg-page); align-items: stretch; justify-content: flex-start; overflow: hidden;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); --logo-ink: var(--ink); --login-card: var(--bg-panel); }
:root:not([data-theme]) #screen-login, [data-theme="light"] #screen-login { --logo-ink: #161616; --login-card: var(--bg-field); }
[data-theme="dark"] #screen-login { --logo-ink: #E3E4E8; }
.bt-login__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; padding: 16px; }
#screen-login .bt-login { display: flex; flex-direction: column; gap: 8px; width: 400px; max-width: 100%; margin: auto; padding: 0; flex: none; }
.bt-login__card { display: flex; flex-direction: column; gap: 20px; padding: 26px 32px 32px; background: var(--login-card);
  border: 1px solid var(--line1); border-radius: var(--r); }
.bt-login__top { display: flex; align-items: center; justify-content: center; gap: 10px; height: 26px; padding-left: 4px; color: var(--logo-ink); }   /* 왼쪽 4 = 글자 로고 끝 자간(18 x .22) — 눈으로 보는 가운데 */
.bt-login__mark { display: block; flex: none; width: 26.2px; height: 24px; color: var(--logo-ink); }
.bt-login__top .bt-wordmark { gap: 7px; font-size: 18px; letter-spacing: .22em; color: var(--logo-ink); }
#screen-login .bt-login__head { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0; text-align: center; }
#screen-login .bt-login__head h1 { margin: 0; font-size: 15px; font-weight: 600; line-height: 22px; }
#screen-login .bt-login__head p { margin: 0; font-size: 13px; line-height: 20px; color: var(--dim); text-align: center; word-break: keep-all; }
.bt-login__panel { background: transparent; border: 0; padding: 0; }
.bt-login__form { display: flex; flex-direction: column; gap: 14px; }
.bt-login__form .dk-fieldrow { gap: 6px; }
.bt-login__form .dk-fieldrow__label { display: flex; align-items: center; gap: 8px; min-height: 18px; font-size: 12px; font-weight: 400; color: var(--dim); }
.bt-login__form .dk-fieldrow__label b { display: inline; margin-left: -4px; color: var(--danger); font-weight: 400; }   /* 꼭 넣을 칸 표(시안) */
.bt-login__form .dk-inputwrap { height: 36px; padding: 0 10px; }
.bt-login__form .dk-inputwrap > input { font-size: 13px; }
.bt-login__form .dk-inputwrap--mono > input, .bt-login__form .bt-lb--bare { font-family: var(--font-sans); font-size: 13px; }
.bt-srv { gap: 8px; }
.bt-srv .dk-btn { height: 36px; padding: 0 12px; font-size: 13px; border: 1px solid var(--btn-line); }
.bt-srv .dk-btn--secondary, .bt-srv .dk-btn:not(.dk-btn--primary) { background: var(--btn-grad); }
.bt-srv .dk-btn--secondary:hover, .bt-srv .dk-btn:not(.dk-btn--primary):hover { background: var(--btn-grad-h); }
.bt-srv .dk-btn--primary { background: var(--ink-bg); border-color: var(--ink-bg); color: var(--accent-fg); }
.bt-login__opts { gap: 24px; }
.bt-login__opts .dk-check { height: 28px; }
.bt-login__warn { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: var(--warn); }
.bt-login__warn::before { content: ""; width: 6px; height: 6px; margin-top: 6px; flex: none; background: var(--warn); }
.bt-login__err { font-size: 12px; color: var(--danger); line-height: 1.5; }
.bt-login__err .bt-login__hint { color: var(--dim); }
/* 로그인 단추 — 빈메일 시안처럼 글자색 면(라이트 #161616 · 다크 흰색, 그 위 글은 바탕색). 강조색(초록)은 쓰지 않는다(대표님 11-19 "초록 큰 단추라 맞지 않는다"). */
#btn-login, .bt-login__setup-row .dk-btn--primary { background: var(--ink-bg); border-color: var(--ink-bg); color: var(--accent-fg); }
#btn-login { height: 40px; margin-top: 4px; font-size: 13px; font-weight: 600; }
#btn-login:hover:not(:disabled), .bt-login__setup-row .dk-btn--primary:hover:not(:disabled) { background: var(--ink-bg); opacity: .86; }
#btn-login:active:not(:disabled), .bt-login__setup-row .dk-btn--primary:active:not(:disabled) { background: var(--ink-bg); opacity: .76; }
#btn-login:disabled, .bt-login__setup-row .dk-btn--primary:disabled, .bt-srv .dk-btn--primary:disabled { background: var(--sel); border-color: var(--line2); color: var(--dim); opacity: 1; }
/* 카드 아래 줄 — 글자 단추, 사이는 세로 선 */
#screen-login .bt-login__join { flex: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 0;
  min-height: 40px; padding: 0 8px; border-top: 0; }
.bt-login__join .dk-btn { flex: none; height: 32px; padding: 0 10px; border: 0; background: transparent; font-size: 13px; color: var(--dim); position: relative; }
.bt-login__join .dk-btn:hover { color: var(--ink); background: transparent; }
.bt-login__join .dk-btn:not([hidden]) ~ .dk-btn:not([hidden])::before {
  content: ""; position: absolute; left: -4px; top: 10px; width: 0; height: 12px; border-left: 1px solid var(--line2); pointer-events: none; }
/* 좁은 폭에서 접혀 줄 첫머리에 온 단추는 앞 세로 선을 감춘다(11-19 — 폭 360 에서 둘째 줄이 '|' 로 시작). 줄 첫머리 표시는 app-ui.js loginJoinLines 가 단다. */
.bt-login__join .dk-btn:not([hidden]) ~ .dk-btn[data-linestart]:not([hidden])::before { content: none; }
/* 좁은 화면(폰) — 같은 카드, 위에서 시작(가운데로 띄우면 글자판이 올라올 때 칸이 밀린다 — app.css 같은 까닭) · 안 여백만 줄인다 */
@media (max-width: 600px) {
  #screen-login .bt-login { margin: 0 auto auto; }
  .bt-login__card { padding: 24px 20px 24px; }
}

/* ══ 본 화면 뼈대 ═══════════════════════════════════════ */
.bt-main { background: var(--bg-page); }
.bt-body { background: var(--bg-panel); }

/* ── 옆칸 ── */
.bt-side { background: var(--bg-aside); border-right: 1px solid var(--line1); }
@media (min-width: 761px) { .bt-side { width: 280px; min-width: 280px; } }
.bt-side__top { height: 56px; flex: none; gap: 9px; padding: 0 12px 0 15px; border-bottom: 1px solid var(--line1); }
.bt-side__logo { width: 24px; height: 24px; }
.bt-side__brand.bt-wordmark { flex: none; height: 32px; padding: 0 6px; margin: 0; border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 15px; letter-spacing: .2em; color: var(--ink); align-items: center; }
.bt-side__brand.bt-wordmark:hover { background: var(--sel); }
/* 머리 줄 로고 — 데스크톱(마우스)은 모든 BEAN 앱과 같은 꼴(11-12 대표님 "로고들 빈플레이어 빈포토꼴로 맞춰 모든앱", 공용 BEAN-APP-UI HeaderLogo.h 값):
   한 색 마크 높이 22 · 마크와 글 사이 10(칸 사이 9 + 단추 왼쪽 1) · 14px · BEAN 700 · TALK 300 · 자간 0.22em · 낱말 사이 6 · 로고 잉크(라이트 #161616 · 다크 #E3E4E8, 그 밖 테마는 글 색).
   손가락 화면(휴대폰 · 태블릿)은 그대로. */
.bt-side__mark { display: none; flex: none; }
.bt-side__top { --logo-ink: var(--ink); }
:root:not([data-theme]) .bt-side__top, [data-theme="light"] .bt-side__top { --logo-ink: #161616; }
[data-theme="dark"] .bt-side__top { --logo-ink: #E3E4E8; }
@media (pointer: fine) {
  .bt-side__top > .bt-side__logo { display: none; }
  .bt-side__mark { display: block; width: 24.02px; height: 22px; color: var(--logo-ink); }
  .bt-side__brand.bt-wordmark { font-size: 14px; letter-spacing: .22em; color: var(--logo-ink); padding: 0 6px 0 1px; gap: 6px; }
}
.bt-side__gap { flex: 1; }
.bt-side__icon { width: 32px; height: 32px; }
.bt-side__icon .bt-ico { width: 17px; height: 17px; }
.bt-side__gear .bt-ico { width: 18px; height: 18px; }
/* 설정 화면에 있는 동안 톱니는 눌린 단추 — 강조색 면 + 흰 그림(시안 · 눌린 단추는 늘 강조색) */
/* 11-14 빠르기: ':has(#… :not([hidden]))' 대신 data 표시(app-core.js 숨김 거울) — 웹킷은 그런 :has 가 있으면 hidden 을 바꿀 때마다 문서를 다시 따졌다. :not(#bt-none) 은 예전 규칙과 세기를 맞추는 것(뜻 없음). */
#screen-main[data-bt-vs]:not(#bt-none) .bt-side__gear { background: var(--accent-fill); color: var(--on-fill); }
.bt-side__search { gap: 8px; padding: 12px 12px 0 16px; }
.bt-side__search .dk-inputwrap, .bt-side__search .dk-btn { height: 32px; }
.bt-side__search .dk-btn { width: 32px; }
.bt-side__search .dk-inputwrap > input { font-size: 13px; }
/* 범위 탭(내 채팅방 · 전체 채팅방) — 원래 분할 탭 꼴 그대로(대표님 11-12 "내 채팅방 전체채팅방 탭은 원래 디자인이 낫더라").
   바깥 1px 테두리 · 모서리 4 · 안은 1px 구분선 · 칸 34 · 13px 600, 고른 쪽은 잉크 바탕 + 흰(밝은) 글. 색은 테마 값(--btn-line · --bg-field · --ink · --ink-bg · --accent-fg)에서.
   자리는 검색 줄 아래 10, 좌우는 검색 줄과 같은 선. */
.bt-tabs.bt-side__tabs { display: flex; flex: none; gap: 0; padding: 0; margin: 10px 12px 10px 16px; border: 1px solid var(--btn-line); border-radius: 4px;
  overflow: hidden; background: transparent; }
.bt-side__tabs > .bt-tab { flex: 1; height: 34px; padding: 0 8px; border: 0; border-radius: 0; background: var(--bg-field);
  color: var(--ink); font-size: 13px; font-weight: 600; outline: none; }
.bt-side__tabs > .bt-tab + .bt-tab { border-left: 1px solid var(--btn-line); }
.bt-side__tabs > .bt-tab:hover { color: var(--ink); }
.bt-side__tabs > .bt-tab[data-selected="true"] { background: var(--ink-bg); color: var(--accent-fg); outline: none; }
.bt-side__tabs > .bt-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (pointer: coarse) { .bt-side__tabs > .bt-tab { height: 44px; } }
.bt-side__list { border-top: 1px solid var(--rowline); }
/* 방 목록 — 줄 56 */
.bt-roomgroup__head { padding: 12px 16px 4px; font-size: 12px; font-weight: 400; color: var(--dim); }
.bt-roomgroup--pinned { border-bottom: 0; }
.bt-room.dk-listrow { line-height: 1; position: relative; height: auto; min-height: 56px; gap: 12px; padding: 8px 12px 8px 16px;
  border-bottom: 1px solid var(--rowline); border-radius: 0; background: transparent; color: var(--ink); align-items: center;
  transition: background-color 140ms cubic-bezier(0.22, 1, 0.36, 1); }
.bt-room.dk-listrow:hover { background: var(--sel); }
.bt-room.dk-listrow[data-selected="true"] { background: var(--bg-field); }
.bt-room.dk-listrow[data-selected="true"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ink-bg); }
.bt-room__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bt-room .bt-roomname { gap: 6px; }
.bt-room .bt-roomname__t { font-size: 13px; font-weight: 600; }
.bt-room-lock { color: var(--dim); }
.bt-room-lock .bt-ico { width: 12px; height: 12px; }
/* '방장'(참여자 칸) — 테두리 딱지가 아니라 흐린 글(시안) */
.bt-owner { flex: none; height: 18px; display: inline-flex; align-items: center; padding: 0; border: 0;
  border-radius: 0; background: transparent; color: var(--dim); font-size: 12px; font-weight: 400; line-height: 1; }
/* 내가 만든 방(방 목록) — 속이 찬 단색 왕관 14 하나, 색은 고른 강조색(대표님 11-12). 이름 옆 자리 · 줄 세로 가운데 그대로 */
.bt-room-own { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 18px; padding: 0; border: 0;
  background: transparent; color: var(--accent); }
.bt-room-own > .bt-crown { width: 14px; height: 14px; display: block; }
.bt-room__prev { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 들어가 있지 않은 방의 안내('참가하면 대화를 볼 수 있어요')는 기능 안내 글이라 '…' 로 줄이지 않는다 — 좁은 폭의 긴 말(러시아어 320)은 다음 줄로 내려 다 보이게(줄 높이는 글에서 나옴) */
.bt-room__prev--hint { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: break-word; line-height: 1.35; }
.bt-room__side.dk-listrow__right { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-left: 0; color: var(--dim); }
.bt-room__time { font-family: var(--font-mono); font-size: 12px; color: var(--dim); white-space: nowrap; }
.bt-room__badges { display: flex; align-items: center; gap: 8px; }
.bt-pin { border-radius: var(--r); background: var(--sel); }
.bt-room:has(.bt-pin[data-on="true"]) .dk-listrow__right { padding-right: 26px; }

/* 통화 줄(옆칸 아래) — 48px, 통화 불(강조색 네모) · 방 이름 · 지난 시간 · [방으로] · 끊기 */
.bt-voice { flex: none; height: 48px; min-height: 0; padding: 0 12px 0 16px; gap: 8px; border-top: 1px solid var(--line1); background: var(--bg-panel); }
.bt-voice__dot { width: 8px; height: 8px; background: var(--accent); flex: none; }
.bt-voice__room { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
.bt-voice__time { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 12px; color: var(--dim); white-space: nowrap; }
.bt-voice #voice-goto { flex: none; height: 28px; padding: 0 10px; font-size: 12px; }
.bt-xbtn { flex: none; width: 28px; height: 28px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--danger-fill); border-radius: var(--r); background: var(--danger-fill); color: var(--on-fill); cursor: pointer; }
.bt-xbtn svg { width: 10px; height: 10px; }
.bt-xbtn:hover { filter: brightness(0.92); }

/* 내 줄 — 56px */
.bt-side__mebar { min-height: calc(56px + var(--bt-sab)); gap: 8px; padding: calc(var(--bt-sab) / 2) 12px calc(var(--bt-sab) / 2) 16px; border-top: 1px solid var(--line1); }
.bt-side__mebar .bt-side__me { min-height: 32px; padding: 0; gap: 10px; border: 0; background: transparent; }   /* 옆 마이크 · 상태 단추와 같은 높이(같은 줄은 같은 높이) */
.bt-side__mebar .bt-side__me:hover { background: transparent; }
.bt-avwrap { position: relative; display: inline-flex; flex: none; }
.bt-side__me .dk-avatar { width: 32px; height: 32px; font-size: 13px; }
.bt-avdot { position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; background: var(--ok); border: 2px solid var(--bg-aside); }
.bt-side__nick { font-size: 13px; font-weight: 600; color: var(--ink); }
.bt-micbtn { width: 32px; height: 32px; border-radius: var(--r); color: var(--ink); }
.bt-micbtn:hover { background: var(--sel); color: var(--ink); }
.bt-micbtn .bt-ico { width: 17px; height: 17px; }
.bt-micbtn[data-off="true"] { color: var(--danger); }
.bt-side__mebar .bt-status { height: 32px; gap: 6px; padding: 0 8px; border-radius: var(--r); font-size: 12px; color: var(--dim); }
.bt-side__mebar .bt-status:hover, .bt-side__mebar .bt-status[aria-expanded="true"] { background: var(--sel); }

/* 내 상태 차림표 — 폭 260 · 왼쪽 10 · 아래 60 */
.bt-memenu { left: 10px; right: auto; width: 260px; bottom: calc(60px + var(--bt-sab)); z-index: 100;
  background: var(--bg-field); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: var(--shadow-menu); }
.bt-memenu__head { padding: 12px 16px 4px; font-size: 12px; font-weight: 400; color: var(--dim); }
.bt-memenu__item { height: 36px; gap: 10px; padding: 0 14px; font-size: 13px; color: var(--ink); }
.bt-memenu__item:hover { background: var(--sel); }
.bt-memenu__item .bt-status__dot { width: 8px; height: 8px; }
.bt-memenu__lbl { flex: 1; text-align: left; }
.bt-memenu__chk { width: 11px; height: 11px; flex: none; visibility: hidden; }
.bt-memenu__st[aria-checked="true"] { background: var(--sel); font-weight: 600; }
.bt-memenu__st[aria-checked="true"] .bt-memenu__chk { visibility: visible; }
.bt-memenu__item > span:first-child:not(.bt-status__dot) { flex: 1; }
.bt-memenu__sep { margin: 6px 0; border-top-color: var(--rowline); }
.bt-memenu__sep + .bt-memenu__item--danger, .bt-memenu__item--danger { height: 40px; font-weight: 600; color: var(--danger); }
#me-menu > .bt-memenu__sep:nth-last-child(2) { margin-bottom: 0; }

/* ══ 처음 화면 ═══════════════════════════════════════════
   2026-11-12 리디자인 — 머리 56(쪽 이름 16 · 아랫줄 안 읽은 수 + 서버 상태) · 숫자 칸 넷은 같은 폭 그대로(대표님 11-12) · 숫자 24/600 고정폭 숫자 ·
   '최근 채팅방' 13/600 · 줄 56. */
.bt-room__head { background: var(--bg-panel); border-bottom: 1px solid var(--line1); }
@media (min-width: 761px) {
  .bt-home__head { height: 56px; flex: none; gap: 8px; padding: 0 16px 0 24px; }
  .bt-home__head .bt-room__title { gap: 2px; }
  .bt-home__head .bt-room__name { font-size: 16px; font-weight: 600; line-height: 20px; }
  .bt-home__head .bt-room__sub { font-size: 12px; line-height: 16px; color: var(--dim); font-family: var(--font-sans); }
}
.bt-room__subline { display: flex; align-items: center; flex-wrap: wrap; column-gap: 12px; min-width: 0; }
.bt-room__subline > .bt-room__sub { min-width: 0; }
.bt-home__head .bt-room__spacer, #view-room > .bt-room__head > .bt-room__spacer { display: none; }
.bt-home__head .dk-iconbtn { width: 32px; height: 32px; }
.bt-newroom { height: 32px; gap: 6px; padding: 0 12px; font-size: 13px; font-weight: 600; }
.bt-newroom .bt-ico--plus { width: 12px; height: 12px; }
.bt-dash { padding: 24px 24px calc(24px + var(--bt-sab)); gap: 24px; background: var(--bg-panel); }
.bt-dash__stats { gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--bg-field); border: 1px solid var(--line1); border-radius: var(--r); }
.bt-stat.dk-card { border: 0; border-right: 1px solid var(--rowline); border-radius: 0; background: transparent; min-width: 0; }
.bt-stat.dk-card:last-child { border-right: 0; }
.bt-stat .dk-card__body { padding: 16px; gap: 4px; }
.bt-stat__label, .bt-stat__hint { font-size: 12px; color: var(--dim); }
/* 아이패드 세로(820)에서 4칸이 나란하면 러시아어 'Непрочитанные' 한 낱말이 칸보다 4px 넓었다 — 안쪽 여백을 좁히고, 그래도 넘치는 긴 낱말은 칸 안에서 꺾는다 */
@media (max-width: 900px) { .bt-stat .dk-card__body { padding-left: 12px; padding-right: 12px; } }
.bt-stat__label, .bt-stat__hint { overflow-wrap: anywhere; }
.bt-stat__value { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 24px; font-weight: 600; line-height: 32px; color: var(--ink); }
.bt-stat__value > .bt-lamp[hidden] { display: none; }
.bt-dash__recentcard.dk-card { border: 0; background: transparent; border-radius: 0; gap: 8px; overflow: visible; }
.bt-dash__recentcard > .dk-card__head { display: flex; align-items: center; min-height: 22px; padding: 0; border: 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.bt-dash__recent.dk-card__body { padding: 0; background: var(--bg-field); border: 1px solid var(--line1); border-radius: var(--r); overflow: hidden; }
/* 11-13 첫 갱신 전 · 서버가 안 닿을 때 빈 칸 — 위 · 아래 테두리가 맞닿아 두꺼운 한 줄이 되지 않게 비면 숨긴다 */
.bt-dash__recent.dk-card__body:empty { display: none; }
.bt-dash__recent > .dk-listrow.bt-recent { height: auto; min-height: 56px; gap: 12px; padding: 8px 16px; border-radius: 0;
  border-bottom: 1px solid var(--rowline); background: transparent; transition: background-color 140ms cubic-bezier(0.22, 1, 0.36, 1); }
.bt-dash__recent > .dk-listrow.bt-recent:last-child { border-bottom: 0; }
.bt-dash__recent > .dk-listrow.bt-recent:hover { background: var(--bg-panel); }
.bt-recent__av { text-transform: uppercase; width: 32px; height: 32px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: var(--r); background: var(--sel); font-size: 13px; font-weight: 600; }
.bt-recent__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bt-recent__name { font-size: 13px; font-weight: 600; }
.bt-recent__prev { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-recent__time { width: 48px; flex: none; text-align: right; font-family: var(--font-mono); font-size: 12px; color: var(--dim); white-space: nowrap; }
/* 휴대폰 폭 — 이름이 '통화 중' · 안 읽은 수에 밀려 한두 글자로 짜부되지 않게(320 에서 23px), 표시는 이름 아래 둘째 줄로 내린다.
   첫 줄: 그림 · 이름 · 시각 / 둘째 줄: 이름 밑에 맞춰 통화 중 · 안 읽은 수. 표시가 없으면 한 줄 그대로. */
@media (max-width: 640px) {
  .bt-dash__recent > .dk-listrow.bt-recent { flex-wrap: wrap; row-gap: 6px; }
  .bt-recent > .bt-recent__main { flex: 1 1 calc(100% - 46px - 56px); }
  .bt-recent > .bt-recent__time { order: 1; }
  .bt-recent > .bt-oncall, .bt-recent > .bt-unread { order: 2; }
  .bt-recent > .bt-oncall, .bt-recent > .bt-recent__main + .bt-unread { margin-left: 46px; }
}

/* ══ 채팅방 ══════════════════════════════════════════════
   2026-11-12 리디자인 — 머리 56(방 이름 16/600 · 아랫줄 접속 · 참여 수는 흐린 글) · 통화 띠 40(통화 불 + '통화 중' · 시간 · 어디서 · [축소] [통화 종료] 떨어진 두 단추) ·
   무대는 영상 · 화면 공유가 있을 때만(모두 음성만이면 참여자 칸 줄만 — 대표님 11-12) · 목소리 칸은 첫 글자 + 이름 + 상태 글, 말하는 사람은 강조색 테두리 + 세로 미터. */
@media (min-width: 761px) {
  #view-room > .bt-room__head { height: 56px; flex: none; gap: 8px; padding: 0 16px 0 24px; }
  #view-room .bt-room__title { gap: 2px; }
  #view-room .bt-room__name { font-size: 16px; font-weight: 600; line-height: 20px; }
}
#view-room .bt-room__nameline { display: flex; align-items: center; gap: 6px; min-width: 0; }
#view-room .bt-room__nameline .bt-room-lock .bt-ico { width: 12px; height: 12px; }
#view-room .bt-room__sub { font-size: 12px; line-height: 16px; color: var(--dim); }
/* 접속 · 참여 수 — 알약 딱지 대신 흐린 글 둘(사이 12) */
#view-room .bt-room__sub.bt-chips { gap: 0 12px; }
#view-room .bt-room__sub .bt-chip { min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--dim); line-height: 16px; }
.bt-tools { display: flex; gap: 0; flex: none; }
.bt-tool.dk-iconbtn { width: 32px; height: 32px; color: var(--ink); }
/* 눌린 단추(통화 중 · 영상 · 화면 공유 · 참여자 칸 열림) — 강조색 면 + 흰 그림 */
/* 11-14 빠르기: ':has(#… :not([hidden]))' 대신 data 표시(app-core.js 숨김 거울) — 웹킷은 그런 :has 가 있으면 hidden 을 바꿀 때마다 문서를 다시 따졌다. :not(#bt-none) 은 예전 규칙과 세기를 맞추는 것(뜻 없음). */
.bt-tool.bt-callbtn-on, #view-room[data-bt-pp]:not(#bt-none) #btn-people { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-fill); }

/* 통화 띠 40 + 무대(검정 바탕) */
.bt-call { gap: 0; padding: 0; background: var(--stage); border-bottom: 0; }
.bt-call__top { height: 40px; gap: 12px; padding: 0 16px 0 24px; border-bottom: 1px solid var(--line1); background: var(--bg-strip); font-size: 12px; color: var(--dim); }
.bt-call__top > .bt-oncall { color: var(--ink); }
.bt-call__time { font-family: var(--font-mono); font-size: 12px; color: var(--dim); white-space: nowrap; }
.bt-call__where { flex: 1; min-width: 0; font-size: 12px; color: var(--dim); }
.bt-call__where b { color: var(--dim); font-weight: 400; }
.bt-call__spacer { display: none; }
.bt-call__top .dk-btn { height: 28px; padding: 0 12px; font-size: 12px; }
/* [축소] [통화 종료] — 떨어진 두 단추(시안). 줄이 꺾여도 늘 오른쪽 끝, 안 줄어든다. 통화 종료는 빨강 면 + 흰 글자 */
.bt-call__btns { display: flex; flex: none; margin-left: auto; gap: 8px; }
.bt-call__btns > .dk-btn { white-space: nowrap; }
.bt-call__btns > .dk-btn--secondary { background: var(--btn-grad); border-color: var(--btn-line); }
@media (pointer: coarse) { .bt-call__btns > .dk-btn { height: 44px !important; min-width: 44px; } }
.bt-call__stage { margin: 12px 16px 0 24px; width: auto; border-radius: var(--r); background: var(--stage-bg); }
/* 무대가 나타날 때 — 짧게 비쳐 오르기만(배치는 움직이지 않는다). 움직임 줄이기 설정이면 바로 */
.bt-call__stage:not([hidden]) { animation: bt-stage-in 200ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes bt-stage-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bt-call__stage:not([hidden]) { animation: none; } }
/* 무대 높이는 예전(0.1.132 까지) 그대로 — 창 높이의 46%(좁은 화면 34%), 끌어서 바꾼 높이(--stage-h)가 있으면 그것.
   ★ 샘플의 '250' 을 그대로 박았더니(11be7c3 · 0.1.133~0.1.140) 큰 창에서도 그림이 444×250 으로 쪼그라들었다
     (2026-10-07 사용자 "멀쩡하던 영상통화, 화면공유의 미리보기 화면이 작아졌니"). 높이는 app.css 가 정한 값을 따른다 —
     여기서 다시 못박지 않는다. 검사: mobile-check '통화 무대 —' 줄들. */
/* 세로 영상은 폭을 그림에 맞춰 가운데로(app.css margin 0 auto 를 위 margin 이 덮어 무대가 꽉 찬 검은 판이 되던 것) */
.bt-call__stage--tall:not(.bt-call__stage--full) { margin: 12px auto 0; }
.bt-call__stage.bt-call__stage--full { margin: 0; }
.bt-call__strip { gap: 8px; padding: 8px 16px 12px 24px; }
.bt-call--folded .bt-call__strip { padding-top: 12px; }
/* 모두 음성만 — 무대 없이 참여자 칸 줄만. 칸 높이 = 칸 줄 + 위아래 12(내용이 곧 자리). 사람이 많으면 다음 줄로 넘기고 두 줄을 넘으면 칸 안에서 굴린다.
   끌어서 높이 바꾸기(grip)는 무대가 없으니 숨긴다. */
.bt-call--voice .bt-call__strip { flex-wrap: wrap; overflow-x: hidden; overflow-y: auto; padding: 12px 16px 12px 24px;
  max-height: calc(var(--tile-h) * 2 + 8px + 24px); overscroll-behavior: contain; }
.bt-call--voice .bt-call__grip { display: none; }
.bt-call__idle { gap: 8px; color: var(--stage-ink); }
.bt-call__idleico { width: 80px; height: 80px; border-radius: var(--r); background: var(--stage-avatar); color: var(--stage-ink); font-size: 24px; font-weight: 600; }
.bt-call__idle.is-talking .bt-call__idleico { outline: 2px solid var(--accent); outline-offset: 2px; }
.bt-call__idlename { font-size: 16px; font-weight: 600; color: var(--stage-ink); }
.bt-call__idlesub { font-size: 12px; color: var(--stage-dim); opacity: 1; }
.bt-call__name { left: 12px; bottom: 10px; padding: 0; border-radius: var(--r); background: transparent; font-size: 12px; font-weight: 600; color: var(--stage-ink); }
.bt-call__acts { right: 8px; top: 8px; gap: 4px; }
.bt-call__act { width: 32px; height: 32px; border-radius: var(--r); background: transparent; color: var(--stage-ink); }
.bt-call__act:hover { background: var(--stage-hover); color: var(--stage-ink); }
.bt-call__act .bt-ico { width: 16px; height: 16px; }
/* 썸네일 — 영상 칸 160×90(16:9 로 딱 떨어지는 값). 모두 음성만이면 칸 높이 72(시안). 테두리 2px: 말하는 사람 = 강조색 · 무대에 올린 칸 = 옅은 선 */
#call-grid { --tile-h: 90px; }
#call-grid.bt-call--voice { --tile-h: 72px; }
.bt-tile { width: var(--tile-w, 160px); height: var(--tile-h, 90px); border: 2px solid transparent; border-radius: var(--r); outline: none; background: var(--tile); color: var(--stage-ink); }
.bt-tile video { border-radius: 0; }
.bt-tile--on { border-color: var(--stage-line); outline: none; }
.bt-call--voice .bt-tile--on { border-color: transparent; }
.bt-tile.is-talking, .bt-call--voice .bt-tile.is-talking { border-color: var(--accent); outline: none; }
.bt-tile .dk-avatar { width: 30px; height: 30px; margin-bottom: 22px; background: var(--stage-avatar); color: var(--stage-ink); font-size: 12px; }
.bt-tile__txt { height: 22px; align-items: center; gap: 6px; padding: 0 8px; background: var(--stage-scrim); }
.bt-tile__name { font-size: 12px; font-weight: 600; color: var(--stage-ink); }
.bt-tile:has(> .bt-vmeter) .bt-tile__txt { padding-left: 14px; }
/* 목소리 칸 — 미터 | 첫 글자 32 | 이름 · 상태 글(시안). 영상이 없는 칸은 늘 이 꼴 */
.bt-tile.bt-tile--audio { width: auto; min-width: 168px; max-width: 240px; display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 0 12px 0 16px; background: var(--tile); }
.bt-tile--audio .dk-avatar { width: 32px; height: 32px; margin: 0; flex: none; font-size: 13px; font-weight: 600; }
.bt-tile--audio .bt-tile__txt, .bt-tile--audio:has(> .bt-vmeter) .bt-tile__txt { position: static; height: auto; flex: 1 1 auto; min-width: 0; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 0; background: transparent; }
.bt-tile--audio .bt-tile__name { max-width: 100%; }
.bt-tile--audio .bt-tile__st { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font-size: 12px; line-height: 16px; color: var(--stage-dim); white-space: nowrap; overflow: hidden; }
.bt-tile__st .bt-lamp { width: 8px; height: 8px; }
@media (max-width: 760px) {
  #call-grid { --tile-h: 63px; }
  #call-grid.bt-call--voice { --tile-h: 56px; }
  .bt-tile { width: var(--tile-w, 112px); }
  .bt-tile .dk-avatar { margin-bottom: 18px; }
  .bt-tile.bt-tile--audio { min-width: 140px; max-width: 200px; gap: 8px; padding-right: 8px; }
  .bt-tile--audio .dk-avatar { width: 28px; height: 28px; margin: 0; }
  .bt-call__stage { margin: 8px 12px 0; }
  .bt-call__strip, .bt-call--voice .bt-call__strip { padding-left: 12px; padding-right: 12px; }
}

/* 대화 — 대화 · 글 쓰는 줄 기둥 */
.bt-room__col { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.bt-room__col > .bt-msgs { flex: 1; min-height: 0; }
.bt-msgs { padding: 16px 24px; gap: 12px; background: var(--bg-panel); }
.bt-daybreak { align-self: stretch; display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--dim); }
.bt-daybreak::before, .bt-daybreak::after { content: ""; flex: 1; height: 0; border-top: 1px solid var(--rowline); }
.bt-msg, .bt-msg.is-mine { flex-direction: row; gap: 12px; }
.bt-msg > .dk-avatar { width: 32px; height: 32px; font-size: 13px; background: var(--sel); color: var(--ink); }
.bt-msg.is-mine > .dk-avatar { background: var(--sel); color: var(--ink); }
.bt-msg > .dk-avatar.bt-face { background: var(--sel); }
.bt-msg__body, .bt-msg.is-mine .bt-msg__body { gap: 4px; align-items: flex-start; margin-left: 0; max-width: min(560px, 100%); }
.bt-msg__meta, .bt-msg.is-mine .bt-msg__meta { display: flex; align-items: baseline; gap: 8px; font-size: 13px; text-align: left; }
.bt-msg__meta b { font-size: 13px; font-weight: 600; }
.bt-msg__time { margin-left: 0; font-size: 12px; font-weight: 400; color: var(--dim); }
.bt-read { margin-left: 0; font-size: 12px; color: var(--dim); }
.bt-read--all { font-size: 12px; color: var(--dim); }
.bt-bubble, .bt-msg.is-mine .bt-bubble { max-width: min(520px, 100%); padding: 8px 12px; border-radius: var(--r); background: var(--bg-field); border: 1px solid var(--line1); color: var(--ink); }
.bt-msg.is-mine .bt-bubble { background: var(--bg-strip); }
.bt-msg__text, .bt-msg.is-mine .bt-bubble .bt-msg__text { font-size: 14px; line-height: 1.5; color: var(--ink); }
.bt-msg.is-mine .bt-filecard, .bt-msg.is-mine .bt-thumb .bt-cardmeta__name { color: var(--ink); }
.bt-msg.is-mine .bt-cardmeta__size { color: var(--dim); }
.bt-msg.is-mine .bt-filecard__ext { background: var(--sel); border-color: var(--rowline); color: var(--dim); }
.bt-msg .bt-bubble:has(> .bt-thumb) { padding: 0; width: 300px; max-width: 100%; }
.bt-thumb .bt-msg__img { max-height: none; background: var(--sel); }
.bt-thumb .bt-cardmeta { padding: 8px 12px; gap: 4px; }
.bt-cardmeta__name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.bt-cardmeta__size { font-size: 12px; color: var(--dim); }
.bt-filecard__ext { border-radius: var(--r); background: var(--sel); border-color: var(--rowline); color: var(--dim); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.bt-msg__img { border-radius: 0; }
.bt-msg.is-gone .bt-bubble, .bt-msg.is-mine.is-gone .bt-bubble { background: transparent; border-style: dashed; border-color: var(--rowline); }
.bt-msgs__empty { font-size: 12px; color: var(--dim); }

/* 글 쓰는 줄 — 56px · 파일 32 · 글칸 32 · 보내기 32(손가락 화면은 셋 다 44).
   ★ 같은 줄은 같은 높이(2026-10-07 사용자 규칙) — 글칸이 여러 줄로 늘면 글칸만 커지고 두 단추는 아래에 붙어 있다(flex-end). */
.bt-input { min-height: calc(56px + var(--bt-sab)); gap: 8px; padding: calc(12px + var(--bt-sab) / 2) 16px calc(12px + var(--bt-sab) / 2) 24px;
  border-top: 1px solid var(--line1); background: var(--bg-panel); align-items: flex-end; }
.bt-input .bt-input__attach { width: 32px; height: 32px; flex: none; border-color: var(--btn-line) !important; }
.bt-input__box, .bt-input__box.dk-inputwrap { flex: 1; min-height: 32px; height: auto; padding: 0 10px; border: 1px solid var(--line2); background: var(--bg-field); }
.bt-input__box > textarea { font-size: 13px; line-height: 20px; padding: 5px 0; color: var(--ink); }
.bt-input__box > textarea::placeholder { color: var(--dim2); }
.bt-input .bt-input__send { width: 32px; height: 32px; flex: none; padding: 0; }

/* 참여자 칸 — 240px · 머리 40 · 줄 44 */
.bt-people { background: var(--bg-aside); border-left: 1px solid var(--line1); }
@media (min-width: 761px) { .bt-people { width: var(--people-w, 240px); min-width: var(--people-w, 240px); } }
.bt-people__head { height: 40px; flex: none; gap: 8px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--line1); justify-content: flex-start; }
.bt-people__head > span:first-child { flex: none; }
.bt-people__title { font-size: 13px; font-weight: 600; color: var(--ink); }
.bt-people__count { flex: 1; font-size: 12px; color: var(--dim); }
.bt-people__head .dk-btn { height: 28px; padding: 0 8px; border: 0; font-size: 12px; }
.bt-people > .dk-scroll { padding: 0; gap: 0; }
.bt-person { height: 44px; flex: none; gap: 10px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--rowline); border-radius: 0; color: var(--ink); }
.bt-person--off { opacity: 1; color: var(--dim); }
.bt-person .dk-avatar { width: 28px; height: 28px; font-size: 12px; background: var(--sel); color: var(--ink); }
.bt-person--off .dk-avatar { opacity: .55; }
.bt-person .bt-pdot { position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; margin: 0; border: 2px solid var(--bg-aside); }
.bt-person__name { gap: 6px; }
.bt-person__nick { flex: 0 1 auto; font-size: 13px; }
.bt-person__state { gap: 4px; }
.bt-person__state:empty { display: none; }
.bt-pstate { width: auto; height: auto; padding: 0; border-radius: var(--r); background: transparent; color: var(--dim); }  /* 마이크 = 흐림 · 음소거 = 빨강 + 빗금 · 말하는 중 = 강조색 마이크 */
.bt-pstate .bt-ico { width: 16px; height: 16px; }
.bt-pstate[data-kind="음소거"] { color: var(--danger); }
.bt-pstate[data-kind="화면"] { color: var(--dim); }
.bt-pstate.is-talking { color: var(--accent); outline: none; }
/* 말하는 사람 — 첫 글자 칸에 강조색 테두리(그림자 대신 윤곽선) */
.bt-person.is-talking .dk-avatar { box-shadow: none; outline: 2px solid var(--accent); outline-offset: 1px; }

/* ══ 설정 ════════════════════════════════════════════════
   2026-11-12 리디자인 — 머리줄 56(설정 16/600) · 위쪽 글자 탭 40(고른 탭 강조색 글 + 2px 밑줄, 번호 없음) · 판 · 아래 줄 56(왼쪽 끝 사용법 · 오른쪽 끝 닫기).
   ★ 묶음 안 항목별 카드(.bt-set__panel · 줄 사이 선) 칸 나눔은 원래 꼴 그대로 둔다(대표님 11-12 "원래 버전이 더 좋아"). 저장 단추 없음(고르는 즉시 걸린다). */
#view-settings { background: var(--bg-panel); }
.bt-shead { height: 56px; flex: none; gap: 12px; padding: 0 16px 0 24px; }
.bt-shead__title { font-size: 16px; font-weight: 600; line-height: 20px; letter-spacing: 0; }
.bt-helpbtn[aria-expanded="true"] { background: var(--ink-bg); border-color: var(--ink-bg); color: var(--accent-fg); }
.bt-sbody { flex: 1; min-height: 0; display: flex; flex-direction: column; }
#view-settings .bt-stabs { flex: none; min-height: 40px; padding: 0 16px 0 12px; background: var(--bg-panel); }
#view-settings .bt-stabs::after { border-top-color: var(--line1); }
#view-settings .bt-stabs .dk-tabs__tab { height: 40px; padding: 0 12px; margin: 0; border: 0; background: transparent;
  color: var(--dim); font-size: 14px; font-weight: 400; }
#view-settings .bt-stabs .dk-tabs__tab:hover { color: var(--ink); }
#view-settings .bt-stabs .dk-tabs__tab[data-active="true"] { color: var(--accent); font-weight: 600; }
#view-settings .bt-stabs .dk-tabs__tab[data-active="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); }
#view-settings .bt-stabs[data-compact] { padding: 8px 24px; }
#view-settings .bt-settings { flex: 1; min-width: 0; padding: 16px 24px calc(24px + var(--bt-sab)); }
/* 아래 줄 — 왼쪽 끝 사용법(그 탭에 설명이 있을 때만), 오른쪽 끝 닫기. 닫기가 늘 있으니 줄도 늘 있다. */
#view-settings .bt-sfoot { display: flex; min-height: calc(56px + var(--bt-sab)); padding: calc(var(--bt-sab) / 2) 16px calc(var(--bt-sab) / 2) 24px; gap: 8px;
  border-top: 1px solid var(--line1); background: var(--bg-panel); }
#view-settings .bt-sfoot > .dk-btn { height: 32px; min-width: 88px; padding: 0 16px; font-size: 13px; }
#view-settings .bt-sfoot > .bt-sfoot__close { margin-left: auto; }
#view-settings .bt-sfoot > .bt-helpbtn:not([hidden]) + .bt-sfoot__close { margin-left: auto; }
.bt-spane { max-width: 760px; }
.bt-spane > .bt-update { margin: 0 0 24px; border-radius: var(--r); background: var(--accent-fill); color: var(--on-fill); }
.bt-update:hover { filter: brightness(0.95); }
#view-settings .bt-set__rows { display: flex; flex-direction: column; gap: 24px; }
#view-settings .bt-set__rows::before { content: none; }
.bt-set__sec { display: flex; flex-direction: column; gap: 8px; }
.bt-set__sec[data-empty] { display: none; }
#view-settings .bt-set__head { display: flex; align-items: center; min-height: 22px; margin: 0; padding: 0; border: 0; font-size: 13px; font-weight: 600; letter-spacing: 0; line-height: normal; color: var(--ink); }
.bt-set__panel { background: var(--bg-field); border: 1px solid var(--rowline); border-bottom: 0; }
#view-settings .bt-set__row { display: flex; align-items: center; gap: 16px; min-height: 52px; padding: 9px 16px; border-bottom: 1px solid var(--rowline); }
#view-settings .bt-set__grp { display: contents; }
#view-settings .bt-set__row > * { grid-column: auto; }
#view-settings .bt-set__row > .bt-set__label { width: 170px; min-width: 0; max-width: none; flex: none; padding: 0; border: 0;
  font-size: 13px; line-height: normal; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
#view-settings .bt-set__row > .bt-set__value, #view-settings .bt-set__row > .bt-set__label + * { flex: 1; min-width: 0; padding: 0; border: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13px; color: var(--ink); }
#view-settings .bt-set__value--text { display: block; min-height: 0; padding: 0; font-size: 13px; line-height: normal; user-select: all; overflow-wrap: anywhere; }
/* 줄 아래 붙는 보조 줄(시험 단추 · 미리보기 · 상태 글) — 이름 칸만큼 들여 값 칸에 맞춘다. 위 줄과의 사이에 선을 긋지 않는다. */
/*   선은 보조 줄이 제 바탕으로 덮는다(margin-top:-1px). 위 줄의 선을 투명하게 하던 방식은 보조 줄이 [hidden] 없이 CSS 로만 숨을 때
     (빈 설명 줄 · 사용법을 접은 설명 줄) 선까지 지워 줄 사이 선이 사라졌다. :has() 안에 :has() 는 못 쓰므로 그 조건을 셀 수도 없다. */
#view-settings .bt-set__row--sub { position: relative; background: var(--bg-field); }
#view-settings .bt-set__row--sub { min-height: 0; padding: 0 16px 9px 202px; margin-top: -1px; }
#view-settings .bt-set__row--sub > .bt-set__label { display: none; }
#view-settings .bt-set__row--sub:has(> .dk-fieldrow__help.bt-set__value:empty) { display: none; }
#view-settings .bt-set__value > .dk-fieldrow__help, #view-settings .dk-fieldrow__help.bt-set__value { flex: 1 1 100%; font-size: 12px; line-height: 1.5; color: var(--dim); }
/* 비어 있는 보조 줄(글이 다 비었거나 '사용법' 뒤에 숨은 것만 남은 줄)은 자리도 없다 */
#view-settings .bt-set__row--notes:not(:has(.dk-fieldrow__help:not(:empty):not(.bt-help))) { display: none; }
#view-settings[data-help="on"] .bt-set__row--notes:has(.bt-help:not(:empty)) { display: flex; }
#view-settings .dk-fieldrow__help.bt-set__value.bt-warn, #view-settings .bt-warn { color: var(--danger); }
/* 값 칸 컨트롤 — 고르는 칸 280 × 32 · 단추 32 · 값 글은 고정폭 숫자 */
#view-settings .bt-set__value > .bt-lb, #view-settings .bt-set__value > input[type="text"] { flex: 0 1 280px; width: 280px; max-width: 100%; height: 32px; }
#view-settings .bt-set__value > .dk-btn { height: 32px; padding: 0 12px; font-size: 13px; }
#view-settings .bt-set__value > .bt-mono { font-family: var(--font-mono); font-size: 13px; font-weight: 600; min-width: 64px; }
#view-settings .bt-set__value > input[type="text"] { border: 1px solid var(--line2); border-radius: var(--r); background: var(--bg-field); font-size: 13px; }
/* 켜고 끄는 값 — 시안의 스위치(32×18 · 손잡이 12). 켜진 색은 설정에서 고른 강조색 그대로(대표님 11-12), 손잡이는 흰색 */
#view-settings .bt-set__value > .dk-check { height: 32px; min-height: 32px; gap: 8px; padding: 0 8px 0 0; color: var(--dim); }
#view-settings .bt-set__value > .dk-check:has(input:checked) { color: var(--ink); }
#view-settings .bt-set__value > .dk-check > .dk-check__box { position: relative; width: 32px; height: 18px; border: 1px solid var(--line2); border-radius: 9px;
  background: var(--sel); transition: background-color 140ms cubic-bezier(0.22, 1, 0.36, 1), border-color 140ms cubic-bezier(0.22, 1, 0.36, 1); }
#view-settings .bt-set__value > .dk-check > .dk-check__box::after { position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border: 0; border-radius: 6px;
  background: var(--dim); transform: none; opacity: 1; transition: transform 140ms cubic-bezier(0.22, 1, 0.36, 1), background-color 140ms; }
#view-settings .bt-set__value > .dk-check > input:checked + .dk-check__box { background: var(--accent-fill); border-color: var(--accent-fill); }
#view-settings .bt-set__value > .dk-check > input:checked + .dk-check__box::after { background: var(--knob); transform: translateX(14px); }
/* 밀대 — 샘플: 2px 홈(채운 쪽 잉크) · 손잡이 10×18 네모 · 폭 220 */
.bt-range { height: 24px; min-width: 120px; }
#view-settings .bt-set__value > .bt-range { flex: 0 1 220px; width: 220px; min-width: 120px; height: 24px; }
.bt-range::-webkit-slider-runnable-track { height: 24px; border-radius: 0;
  background: linear-gradient(to right, var(--ink-bg) 0 var(--v, 0%), var(--groove) var(--v, 0%) 100%) center / 100% 2px no-repeat; }
.bt-range::-webkit-slider-thumb { width: 10px; height: 18px; margin-top: 3px; border-radius: 2px; background: var(--bg-field); border: 1px solid var(--ink-bg); }
.bt-range:hover::-webkit-slider-thumb { background: var(--bg-field); }
.bt-range:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 0; }
.bt-range::-moz-range-track { height: 2px; border-radius: 0; background: var(--groove); }
.bt-range::-moz-range-progress { height: 2px; border-radius: 0; background: var(--ink-bg); }
.bt-range::-moz-range-thumb { width: 10px; height: 18px; border-radius: 0; background: var(--bg-field); border: 1px solid var(--ink-bg); }
.bt-meter { height: 10px; border: 1px solid var(--rowline); border-radius: var(--r); background: var(--bg-panel); }
.bt-gate__grip { width: 10px; height: 18px; margin-left: -5px; top: 6px; border-radius: 0; background: var(--bg-field); border: 1px solid var(--ink-bg); }
.bt-gate__track:hover .bt-gate__grip { background: var(--bg-field); }
.bt-gate__track { padding: 10px 0; flex-basis: 220px; }
/* 포인트 색 — 28px 네모 · 사이 8(샘플), 넓으면 10×2 칸. 값 칸이 그보다 좁으면 들어가는 만큼 한 줄에 놓고 다음 줄로 넘긴다
   (2026-10-07 맥 1072 폭에서 10칸 고정이 값 칸보다 넓어 9 · 10번째가 잘리고 설정 칸이 옆으로 굴렀다). 고른 색은 바깥 2px 잉크 선. */
/* 포인트 색 줄은 위로 맞춘다(샘플 — 이름 6px 내려 첫 줄 칸과 나란히) */
#view-settings .bt-set__row:has(.bt-accents) { align-items: flex-start; }
#view-settings .bt-set__row:has(.bt-accents) > .bt-set__label { padding-top: 6px; }
#view-settings .bt-accents { --sw: 28px; --sw-gap: 8px; display: grid; grid-template-columns: repeat(auto-fill, var(--sw)); gap: var(--sw-gap);
  flex: 1 1 100%; width: 100%; max-width: calc(var(--sw) * 10 + var(--sw-gap) * 9); min-width: 0; min-height: 0; padding: 0; }
.bt-accent-dot { width: 28px; height: 28px; border: 0; border-radius: var(--r); }
.bt-accent-dot[data-on="true"] { outline: 2px solid var(--ink-bg); outline-offset: 2px; }
/* 채널 목록(활성 출력 · 입력 채널) — 빈뮤즈 설정 › 오디오의 체크 목록 그대로(MuseSettings.h checksRow · MuseDialogKit.h CheckList).
   위 8 · 머리 줄 30(이름 · 'n / m 활성' Plex 12 · [전체][해제] 단추 사이 10) · 8 · 카드 테두리 안쪽 끝까지 꽉 찬 목록(위에 1px 줄).
   줄 44(둘째 줄부터 위에 1px rowline) · 체크 칸 18(왼쪽 16 · 1.5px 테두리, 켜면 잉크 바탕에 표) · 이름 Plex 13(켬 ink · 끔 dim) — 글은 왼쪽 46.
   다섯 줄(221px)이 넘으면 목록 안에서 굴린다. 손가락 화면은 줄 52 · 체크 24(2px) · Plex 14 · 안쪽 14 · bg-panel · 다섯 줄(260) · 단추 44 · 13px. */
#view-settings .bt-set__row--chans { flex-wrap: wrap; align-items: center; row-gap: 8px; padding: 8px 16px 0; }
#view-settings .bt-set__row--chans > .bt-chhead { flex: 1 1 0; min-width: 0; min-height: 30px; flex-wrap: nowrap; gap: 10px; }
/* 'n / m 활성' 은 말에 따라 길다(es 'activos' · vi 'đang bật') — 자리가 모자라면 줄을 바꾼다(한 줄 고정이면 960 폭에서 칸 밖으로 넘쳤다). */
#view-settings .bt-chhead > .bt-chhead__count { flex: 1 1 auto; min-width: 0; font-family: var(--font-mono); font-size: 12px; line-height: 1.35; color: var(--dim); white-space: normal; overflow-wrap: anywhere; }
#view-settings .bt-chhead > .dk-btn { flex: none; height: 30px; padding: 0 12px; font-size: 12px; }
#view-settings .bt-set__row--chans > .bt-chanlist { flex: 1 1 100%; display: block; width: calc(100% + 32px); margin: 0 -16px; max-height: 221px; overflow-y: auto;
  border-top: 1px solid var(--rowline); background: transparent; overscroll-behavior: contain; }
.bt-chpair { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 16px; border-top: 1px solid var(--rowline);
  cursor: pointer; font-family: var(--font-mono); font-size: 13px; line-height: 1.35; color: var(--dim); user-select: none; }
.bt-chpair:first-child { border-top: 0; }
.bt-chpair.is-on { color: var(--ink); }
.bt-chpair > input { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin: -9px 0 0; opacity: 0; pointer-events: none; }
.bt-chpair__box { position: relative; flex: none; width: 18px; height: 18px; box-sizing: border-box; border: 1.5px solid var(--line2); }
.bt-chpair.is-on > .bt-chpair__box { border-color: var(--ink-bg); background: var(--ink-bg); }
.bt-chpair.is-on > .bt-chpair__box::after { content: ""; position: absolute; left: 50%; top: 45%; width: 4px; height: 8px;
  border: solid var(--accent-fg); border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(45deg); }
.bt-chpair > input:focus-visible + .bt-chpair__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.bt-chpair__name { flex: 1 1 auto; min-width: 0; padding: 6px 0; overflow-wrap: anywhere; }
@media (pointer: coarse) {
  #view-settings .bt-set__row--chans { padding-bottom: 12px; }
  #view-settings .bt-chhead > .dk-btn { height: 44px; min-height: 44px; padding: 0 14px; font-size: 13px; }
  #view-settings .bt-set__row--chans > .bt-chanlist { width: 100%; margin: 0; max-height: 260px; border-top: 0; background: var(--bg-panel); }
  .bt-chpair { min-height: 52px; padding: 0 14px; border-top-color: var(--line1); font-size: 14px; }
  .bt-chpair > input { left: 14px; width: 24px; height: 24px; margin-top: -12px; }
  .bt-chpair__box { width: 24px; height: 24px; border-width: 2px; }
  .bt-chpair.is-on > .bt-chpair__box::after { width: 6px; height: 11px; border-width: 0 2.5px 2.5px 0; }
}
.bt-camprev { border-radius: var(--r); border-color: var(--rowline); }
.bt-diag { border-radius: var(--r); border-color: var(--rowline); background: var(--bg-panel); font-size: 12px; }
/* 정보 탭 머리 — 로고 60 · 글자 로고 20px · 한 줄 설명 */
.bt-about { display: flex; align-items: center; gap: 18px; padding: 4px 0; margin-bottom: 22px; }
.bt-about__logo { width: 60px; height: 58px; margin: 0; }
.bt-about__text { display: flex; flex-direction: column; gap: 5px; }
.bt-wordmark--lg { gap: 7px; font-size: 20px; letter-spacing: .22em; }
.bt-about__desc { margin: 0; font-size: 13px; line-height: normal; color: var(--dim); }

/* 좁은 화면 설정 — 번호 목록 대신 고르는 칸, 이름은 값 위로 */
@media (max-width: 760px) {
  .bt-sbody { flex-direction: column; }
  #view-settings .bt-stabs { padding: 8px 16px; background: var(--bg-panel); }
  #view-settings .bt-settings { padding: 12px 16px calc(24px + var(--bt-sab)); }
  #view-settings .bt-set__row { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 14px; }
  #view-settings .bt-set__row > .bt-set__label { width: auto; }
  #view-settings .bt-set__row:has(.bt-accents) { align-items: stretch; }   /* 위 맞춤(넓은 화면)이 남으면 값 칸이 글 폭만큼 넓어져 화면 밖으로 나간다 */
  #view-settings .bt-set__row:has(.bt-accents) > .bt-set__label { padding-top: 0; }
  #view-settings .bt-set__row > .bt-set__label:empty { display: none; }
  #view-settings .bt-set__row--sub { padding: 0 14px 12px; }
  #view-settings .bt-set__row--chans { flex-direction: row; align-items: center; column-gap: 12px; padding: 12px 14px 0; }
  #view-settings .bt-set__row--chans > .bt-set__label { flex: 1 1 auto; width: auto; }
  #view-settings .bt-set__row--chans > .bt-chhead { flex: 0 1 auto; margin-left: auto; }
  /* 좁은 폭 — [전체][해제] 가 긴 말(베트남어 'Tất cả' · 'Bỏ chọn' 등)이면 'n / m 활성' 이 들어갈 자리가 없어 칸 밖으로 넘쳤다(320 · vi +8px).
     이름은 윗줄, 머리 줄(수 · 단추)은 한 줄을 다 쓰고, 그래도 모자라면 수가 줄을 바꾼다. */
  #view-settings .bt-set__row--chans > .bt-set__label { flex-basis: 100%; }
  #view-settings .bt-set__row--chans > .bt-chhead { flex: 1 1 100%; margin-left: 0; }
  #view-settings .bt-set__row--chans > .bt-chanlist { width: calc(100% + 28px); margin: 0 -14px; }
  #view-settings .bt-set__value > .bt-lb, #view-settings .bt-set__value > input[type="text"] { flex: 1 1 200px; width: auto; }
  #view-settings .bt-set__value > .bt-range, #view-settings .bt-set__value > .bt-gate__track { flex: 1 1 150px; width: auto; }
  .bt-shead { padding: 0 16px; }
  #view-settings .bt-sfoot { padding-left: 16px; }
}

/* ══ 떠 있는 것 ═════════════════════════════════════════ */
/* 창 — 모서리 12 · 머리 44(신호등 점 · 제목) · 아래 단추 줄 60 */
.bt-overlay { background: var(--scrim); padding: 20px; }
.dk-dialog { border-radius: var(--radius-window); border: 1px solid var(--line2); background: var(--bg-panel); color: var(--ink);
  box-shadow: var(--shadow-dialog); overflow: hidden; width: min(420px, calc(100vw - 40px)); }
.dk-dialog__head { height: 44px; flex: none; justify-content: flex-start; gap: 8px; padding: 0 14px; background: var(--bg-strip);
  border-bottom: 1px solid var(--rowline); font-size: 14px; font-weight: 700; color: var(--ink); }
.bt-lights { display: inline-flex; gap: 8px; margin-right: 10px; flex: none; }
.bt-lights > * { width: 12px; height: 12px; border-radius: 50%; background: var(--line1); flex: none; }
.bt-lights__close { padding: 0; border: 0; background: var(--lights-close) !important; cursor: pointer; position: relative; }
@media (pointer: coarse) { .bt-lights__close::after { content: ""; position: absolute; inset: -16px; } }
.bt-dlg__count { font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--dim); }
.dk-dialog__body { padding: 14px 16px 6px; font-size: 13px; color: var(--ink); }
.dk-dialog__foot { min-height: 60px; padding: 0 16px; border-top: 0; align-items: center; }
.dk-dialog__foot .dk-btn { height: 32px; min-width: 84px; padding: 0 16px; font-size: 13px; }
/* 단추가 한 줄에 다 안 들어가면(320 폭 방 설정 — 방 삭제 · 취소 · 저장) 다음 줄로 넘긴다. 줄이 둘이 되면 위아래 여백도 준다. */
.dk-dialog__foot { flex-wrap: wrap; row-gap: 8px; padding-top: 13px; padding-bottom: 13px; }
.dk-dialog .dk-fieldrow__label { font-size: 12px; font-weight: 600; color: var(--dim); }
.dk-dialog .dk-inputwrap { height: 32px; }
.bt-dlg__desc, .bt-ask__text { color: var(--ink); font-size: 13px; }
@media (max-width: 600px) { .dk-dialog { border-radius: var(--radius-window) var(--radius-window) 0 0; } }
/* 접속 중인 회원 — 검색 · 판 사이 14 · 판 바로 아래 단추 줄 */
#dlg-online .bt-dlg__form { gap: 14px; padding-bottom: 0; }
/* 접속 중인 회원 — 줄 46 · 판 안에 */
.bt-online.bt-online__list { max-height: 260px; background: var(--bg-field); border: 1px solid var(--rowline); }
.bt-online .bt-reader { height: 46px; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--rowline); }
.bt-online .bt-reader:last-child { border-bottom: 0; }
.bt-online .bt-reader:hover { background: transparent; }
.bt-online .dk-avatar { width: 28px; height: 28px; background: var(--sel); color: var(--ink); }
.bt-online .bt-reader__nick { font-size: 13px; font-weight: 400; }
.bt-online .bt-status { gap: 6px; font-size: 12px; color: var(--dim); min-width: 0; }
.bt-reader__empty { padding: 16px 12px; text-align: left; font-size: 12px; color: var(--dim); }
/* 차림표(방 · 참여자 · 내 글) · 말풍선 */
.bt-ctx, .bt-pmenu, .bt-readers, .bt-qualitypop, .bt-gainpop { background: var(--bg-field); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: var(--shadow-menu); }
.bt-ctx .bt-memenu__item, .bt-pmenu__item { height: 36px; padding: 0 14px; font-size: 13px; display: flex; align-items: center; }
.bt-pmenu__head, .bt-readers__head, .bt-gainpop__head { border-bottom-color: var(--rowline); }
/* 소리 크기 창의 음소거 단추 — 두 줄 · 두 상태가 같은 꼴. 음소거 중(aria-pressed)은 앱의 눌린 단추(.bt-callbtn-on)와 같은 잉크 바탕 · 흰 글자 */
.bt-gainpop .bt-gainpop__mute { height: 28px; padding: 0 10px; }
.bt-gainpop .bt-gainpop__mute[aria-pressed="true"], .bt-gainpop .bt-gainpop__mute[aria-pressed="true"]:hover {
  background: var(--ink-bg); border-color: var(--ink-bg); color: var(--accent-fg); }
.bt-ctx { width: 200px; }
/* 알림 — 아래 가운데, 잉크 바탕 */
.bt-toasts { left: 50%; right: auto; transform: translateX(-50%); bottom: calc(22px + env(safe-area-inset-bottom)); align-items: center; z-index: 200; }
.dk-toast { width: auto; max-width: min(560px, calc(100vw - 32px)); padding: 10px 16px; border: 0; border-radius: var(--r);
  background: var(--ink-bg); color: var(--accent-fg); font-size: 13px; box-shadow: var(--shadow-toast); }
.dk-toast--danger { background: var(--danger-fill); color: var(--on-fill); }
/* 단추 하나 달린 알림(미디어 기능 팩 안내 [설치 방법], 11-13) — 글은 줄을 바꿔 다 보이고 단추는 줄지 않는다 */
.bt-toast-act { display: flex; align-items: center; gap: 12px; pointer-events: auto; width: max-content; }   /* 11-14 알림 자리(left 50 %)가 좁은 창에서 반 폭(390 → 195)이라 글이 낱자로 끊겼다 — 폭은 창 기준 max-width 로만 */
.bt-toast-act .dk-toast__msg { flex: 1 1 auto; min-width: 0; white-space: normal; overflow-wrap: anywhere; word-break: keep-all; }
.bt-toast-act__btn { flex: none; min-height: 28px; padding: 4px 12px; border: 1px solid color-mix(in srgb, var(--accent-fg) 45%, transparent);
  border-radius: var(--r); background: transparent; color: var(--accent-fg); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.bt-toast-act__btn:hover { background: color-mix(in srgb, var(--accent-fg) 12%, transparent); }
/* 다른 방을 볼 때의 통화 막대(좁은 화면) */
.bt-callbar { border-radius: var(--r); border-color: var(--line2); background: var(--bg-field); box-shadow: var(--shadow-menu); }
.bt-update { border-radius: var(--r); }

/* 좁은 화면 — 아래 탭 막대 · 머리줄도 같은 색 */
.bt-tabbar { background: var(--bg-strip); border-top-color: var(--line1); }
.bt-tabbar__btn { color: var(--ink); }
.bt-tabbar__btn:active { background: var(--sel); color: var(--ink); }
@media (max-width: 760px) {
  .bt-room__head { padding: 6px 10px; }
  .bt-room__title { gap: 2px; }
  .bt-tools { gap: 4px; }
  .bt-tool.dk-iconbtn { width: 36px; height: 36px; }
  .bt-memenu { width: auto; right: 10px; }
  .bt-dash__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-stat.dk-card:nth-child(2) { border-right: 0; }
  .bt-stat.dk-card:nth-child(-n+2) { border-bottom: 1px solid var(--rowline); }
  .bt-msgs { padding: 12px; }
  .bt-input { padding-left: 12px; }
}
@media (pointer: coarse) {
  .bt-tool.dk-iconbtn, .bt-side__icon, .bt-input .bt-input__attach, .bt-input .bt-input__send { min-width: 44px; min-height: 44px; }
  .bt-xbtn { position: relative; }
  .bt-xbtn::after { content: ""; position: absolute; inset: -8px; }
  #view-settings .bt-set__value > .dk-check { min-height: 44px; }
}

/* 로그인 창은 데스크톱에서도 480px 이라 좁은 화면 규칙(글칸 16px — 아이폰 확대 막기)이 걸린다. 마우스 화면에서는 13px(시안).
   손가락 화면은 아래 (pointer: coarse) 규칙이 그대로 16px 로 둔다. */
@media (max-width: 760px) and (pointer: fine) {
  #screen-login .dk-inputwrap > input { font-size: 13px; }
  #screen-login .dk-inputwrap--mono > input { font-size: 13px; }
}

/* 손가락 화면 — 누르는 자리 44px(모든 앱 규칙). 위에서 샘플 치수(28~38px)로 박은 것을 여기서 다시 키운다. */
@media (pointer: coarse) {
  .dk-btn, .bt-lb, .bt-lb.dk-select, .dk-inputwrap, .bt-tab, .bt-srv .dk-btn, .bt-login__join .dk-btn,
  #view-settings .bt-set__value > .dk-btn, #view-settings .bt-set__value > .bt-lb, #view-settings .bt-set__value > input[type="text"], #view-settings .bt-sfoot > .dk-btn,
  .bt-call__top .dk-btn, .bt-voice #voice-goto, .bt-people__head .dk-btn, .bt-side__brand.bt-wordmark,
  .bt-side__mebar .bt-status, .bt-side__mebar .bt-side__me, .bt-newroom, .dk-dialog__foot .dk-btn { min-height: 44px; }
  .bt-micbtn, .dk-iconbtn, .bt-side__icon { min-width: 44px; min-height: 44px; }
  .bt-memenu__item, .bt-ctx .bt-memenu__item, .bt-pmenu__item, .bt-lb__opt { min-height: 44px; }
  .bt-login__join .dk-btn:not([hidden]) ~ .dk-btn:not([hidden])::before { top: 16px; }
}
/* 휴대폰 폭 — '새 채팅방' 은 그림만(인사말이 두 줄로 밀리지 않게). 이름은 aria-label 로 남는다. */
@media (max-width: 600px) { .bt-newroom { width: 44px; padding: 0; } .bt-newroom > span { display: none; } }
@media (pointer: coarse) {
  .bt-input__box > textarea { font-size: 16px; }
  /* 글칸도 옆 단추(44)와 같은 높이 — 한 줄일 때 테두리 2 + 위아래 11 + 글 20 */
  .bt-input__box, .bt-input__box.dk-inputwrap { min-height: 44px; }
  .bt-input__box > textarea { padding: 11px 0; }
  .dk-check { min-height: 44px; }
  .bt-call__act::after { inset: -7px; }
  #view-settings .bt-accents { --sw-gap: 18px; padding: 9px 0; }
}
/* 아주 좁은 휴대폰(320) — 방 이름이 자리를 내준다(머리줄 통화 단추 넷이 화면 밖으로 밀리지 않게) */
@media (max-width: 380px) { #view-room .bt-room__title { min-width: 0; flex-basis: 0; } .bt-room__head { gap: 4px; } }
@media (pointer: coarse) {
  /* 단추가 44px 로 커지면 옆칸 머리줄(그림 · BEAN TALK · 두 단추)이 268px 서랍을 넘는다 — 사이를 좁힌다(글자 로고는 줄이지 않는다) */
  .bt-side__top { gap: 4px; padding-right: 4px; }
  #view-settings .bt-stabs .dk-tabs__tab { min-height: 44px; }
  .bt-xbtn { min-width: 44px; min-height: 44px; }
  .bt-xbtn::after { content: none; }
  .bt-voice { height: auto; min-height: 44px; }
  .bt-call__acts { gap: 14px; }
}

/* ══ 색 채운 것의 글자는 흰색(2026-10-07 사용자 규칙 · bean-claude-rules design/button-contrast.md) ══
   샘플은 밝은 포인트 색(라임 등) 위에 검은 글자를 썼지만 이 규칙이 이긴다 — 글자는 늘 흰색, 바탕은 같은 계열의
   짙은 색(--accent-fill · --danger-fill, 흰 글자 대비 4.5:1 이상)으로 내린다. --accent 그대로는 글자 없는 곳(점 · 띠 · 고리)에만.
   회색 · 흰 바탕 · 테두리 단추는 본문 글자색 그대로. 검사: mobile-check.js '색 바탕 글자'. */
.dk-tabs--seg .dk-tabs__tab[data-active="true"], .dk-pagination__page[data-active="true"] { background: var(--accent-fill); color: var(--on-fill); }
.dk-menu__item:hover { background: var(--accent-fill); color: var(--on-fill); }
.dk-menu__item:hover .dk-menu__shortcut { color: var(--on-fill); }
.dk-menu__item--danger:hover { background: var(--danger-fill); color: var(--on-fill); }
.dk-titlebar__wincontrols button:last-child:hover { background: var(--danger-fill); color: var(--on-fill); }
.bt-ring__bar { stroke: var(--on-fill); }
.bt-ring__num { fill: var(--on-fill); }

/* ══ 칸 넘침 고침(2026-10-07 — 검사가 칸마다 재게 되자 나온 것들. 짜부 · '…' 대신 다음 줄로 넘기거나 칸을 키운다) ══
   검사: mobile-check.js(칸 넘침) · scripts/web_check.mjs(폭 960 · 1072 · 1280 · 1366 · 1920 · 1024 · 390 · 320 × 테마 · 말) */
/* 설정 머리줄 — 긴 말에서도 줄을 넘겨 다 보이게(예전 머리줄의 지금 탭 이름 · 사용법은 11-12 에 걷거나 아래 줄로 옮겼다) */
.bt-shead { height: auto; min-height: 56px; flex-wrap: wrap; row-gap: 4px; padding-top: 6px; padding-bottom: 6px; }
/* 참여자 판 머리줄 — 이름 · 수 · [차단 목록] · [닫기] 가 229px 판에 다 안 들어가(영어부터) 닫기가 판 밖으로 나갔다 */
.bt-people__head { height: auto; min-height: 40px; flex-wrap: wrap; row-gap: 2px; padding-top: 6px; padding-bottom: 6px; }
.bt-people__count { margin-right: auto; }
/* 옆칸 통화 줄 — 지난 시간('0:01')이 방 이름 · [방으로]에 밀려 제 칸보다 좁아졌다. 시간은 줄지 않고, 줄어드는 것은 방 이름(말줄임)이다 */
.bt-voice__time { flex: 1 0 auto; }
/* 정보 탭 머리 — 글자 로고(20px · 자간 .22em)가 좁은 폭에서 로고 옆에 안 들어가면 아래 줄로 */
.bt-about { flex-wrap: wrap; }
.bt-about__text { flex: 1 1 260px; min-width: 0; }
/* 로그인 서버 줄 — 단추 이름이 긴 말(Bearbeiten · Supprimer)에서 주소 칸이 98px 로 줄어 주소가 잘렸다. 주소 칸이 200px 를 못 받으면 단추가 아래 줄로 */
.bt-srv:not(.bt-srv--add) { flex-wrap: wrap; row-gap: 6px; }
.bt-srv:not(.bt-srv--add) .bt-srv__pick { flex: 1 1 200px; }
.bt-srv__btns { display: flex; gap: 8px; flex: 0 0 auto; margin-left: auto; }
.bt-srv__btns .dk-btn { flex: 0 0 auto; }
#screen-login .bt-srv:not(.bt-srv--add) .bt-srv__pick { flex-basis: 180px; }   /* 카드 칸 폭 336 — 한국어 단추 둘이 주소 칸 옆에 들어가게 */
/* 태국어는 띄어쓰기가 없다 — keep-all 이면 문장 전체가 한 낱말이 되어 꺾이지 않고 칸 밖으로 나간다 */
/* 일본어 · 중국어도 같다(2026-10-08) — 띄어쓰기가 없어 keep-all 이면 '、' 까지가 한 덩이라 윈도우(글자가 더 넓은 글꼴) 320 에서 간편 로그인 안내 글이 +14px 넘쳤다. 한국어만 keep-all */
html:is(:lang(th), :lang(ja), :lang(zh), :lang(yue)) body *:not(.bt-diag) { word-break: normal !important; overflow-wrap: anywhere; }   /* 진단 기록(break-all)은 그대로 */
@media (min-width: 641px) and (max-width: 900px) {
  /* 통화 칸 위 줄 — 아이패드 세로(820): 이탈리아어 'In chiamata in ○○' 가 [Riduci] · [Termina chiamata] 옆에서 말줄임으로 잘렸다(157/139). 640 이하와 같이 둘째 줄을 다 쓴다. */
  .bt-call__top { height: auto; min-height: 42px; flex-wrap: wrap; row-gap: 4px; padding: 6px 10px; }
  .bt-call__top > .bt-call__where { order: 9; flex: 1 1 100%; }
}
@media (max-width: 640px) {
  /* 통화 칸 위 줄 — '통화 중' · 시간 · 단추가 첫 줄, '○○ 방에서 통화 중' 은 둘째 줄을 다 쓴다(320 에서 14px 로 줄고 [통화 종료]가 화면 밖) */
  .bt-call__top { height: auto; min-height: 42px; flex-wrap: wrap; row-gap: 4px; padding: 6px 10px; }
  .bt-call__top > .bt-call__where { order: 9; flex: 1 1 100%; }
  /* 처음 화면 인사 · 머리줄 아래 글 — 한 줄에 가둬 '…' 로 잘렸다. 줄을 넘긴다 */
  .bt-home__head .bt-room__name { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
  .bt-room__sub { overflow-wrap: anywhere; }
  /* 창 아래 단추 — 이름 폭만큼은 받는다(1 1 0 이면 84px 에 'Supprimer le salon' 이 넘쳤다). 한 줄에 안 들어가면 다음 줄로 */
  .dk-dialog__foot .dk-btn { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  /* 다른 화면의 '통화 중' 막대 — 글 칸이 [복귀] · [종료]에 밀려 12px 까지 줄었다. 첫 줄은 글, 둘째 줄은 단추 둘 */
  :root { --bt-callbar-h: 112px; }
  .bt-callbar { height: auto; min-height: 0; flex-wrap: wrap; row-gap: 6px; }
  .bt-callbar > .bt-callbar__text { flex: 1 1 calc(100% - 18px); }
  .bt-callbar > .dk-btn { flex: 1 1 0; }
}
@media (max-width: 420px) { .bt-srv:not(.bt-srv--add) .bt-srv__pick, #screen-login .bt-srv:not(.bt-srv--add) .bt-srv__pick { flex-basis: 100%; }
  .bt-srv__btns { flex: 1 1 100%; } .bt-srv__btns .dk-btn { flex: 1 1 0; } }   /* 휴대폰 폭은 예전대로 주소 칸이 한 줄을 다 쓴다 */
/* 손가락 화면의 옆칸 통화 줄 — 단추가 44px 로 커져 방 이름이 두세 글자로 줄었다. 안 들어가면 시간 · 단추를 둘째 줄로 */
@media (pointer: coarse) { .bt-voice { flex-wrap: wrap; row-gap: 4px; padding-top: 4px; padding-bottom: 4px; } }
/* 좁은 손가락 화면 — 채널 목록은 카드 안쪽 여백 안에(빈뮤즈 손가락 화면), 아래 여백 12 */
@media (max-width: 760px) and (pointer: coarse) {
  #view-settings .bt-set__row--chans { padding-bottom: 12px; }
  #view-settings .bt-set__row--chans > .bt-chanlist { width: 100%; margin: 0; }
}

/* ── 배지 줄(2026-10-07 사용자 — 속성 · 상태 · 항목 이름을 ' · ' 로 잇지 않고 배지 하나씩, 규칙 design/empty-state-badges.md '범위 넓힘') ──
   L.chips(el, '가 · 나 · 다') 가 .bt-chips 안에 .bt-chip 을 놓는다. 반경 5px · 옅은 바탕 + 1px --line1 · 12px · 사이 4 · 안 들면 다음 줄로.
   누를 수 없는 표시라 손가락 커서 · 누름 색이 없다. 상태(열림 등)는 --success. */
.bt-chips { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; max-width: 100%; vertical-align: middle; }
.bt-chip { display: inline-flex; align-items: center; min-height: 20px; padding: 1px 6px; box-sizing: border-box;
           border: 1px solid var(--line1); border-radius: 5px; background: color-mix(in srgb, var(--ink) 5%, transparent);
           color: var(--dim); font-size: 12px; line-height: 16px; white-space: normal; overflow-wrap: anywhere; cursor: inherit; }
.bt-chip--ok { border-color: var(--success); color: var(--success); background: color-mix(in srgb, var(--success) 10%, transparent); }
.bt-call__name.bt-chips .bt-chip { color: var(--stage-ink); border-color: var(--stage-line); background: var(--stage-scrim-soft); }
.bt-qrow .bt-chips { justify-content: flex-end; }

/* ── 정보 갈래 — 모든 앱 한 꼴(2026-10-07 사용자: 빈뮤즈 정보 갈래가 기준 · 공용 JUCE 판 AboutPage.h 와 같은 치수) ──
   로고 칸 56(앱 아이콘 플랫판 — 빈톡 호박색 #F0A12C · 흰 말풍선) · 사이 16 · 'BEAN'(700) 'TALK'(300) 22px 자간 .2em(기준선은 칸 위에서 28) ·
   버전 줄(고정폭 12 · 흐림, 줄 상자 위 35.5) / 18 / [업데이트 확인] + 결과 글(단추 옆, 좁으면 아래로) / 18 /
   카드(bg-field · 1px line1 · 안쪽 14 16 · 글 12px · 줄 21 · 문단 사이 10, 첫 문단 잉크 · 끝 © 잉크). 위 여백은 설정 판 20 + 2 = 22. */
.bt-abt { padding-top: 2px; }
.bt-abt__head { display: flex; align-items: flex-start; gap: 16px; }
/* 로고 칸 56 — 앱 아이콘 플랫판 그림 그대로(2026-10-07 사용자 "정보 탭 로고 자리에 실제 로고로, 전부 플랫 버전 아이콘으로").
   예전 색 칸 + 'B' 글자는 걷었다. 그림은 index.html 안에 그대로 넣어(바깥 주소 · 따로 실을 파일 없음) 앱 · 웹 · 아이폰이 같다. */
.bt-abt__tile { flex: none; width: 56px; height: 56px; }
.bt-abt__icon { display: block; width: 56px; height: 56px; }
.bt-abt__words { display: flex; flex-direction: column; min-width: 0; }
.bt-abt__logo { display: flex; flex-wrap: wrap; column-gap: 7px; margin-top: 7px; font-family: var(--font-sans);
  font-size: 22px; line-height: 26px; letter-spacing: .2em; color: var(--ink); }
.bt-abt__logo > b { font-weight: 700; }
.bt-abt__logo > span { font-weight: 300; }
.bt-abt__ver { margin-top: 2.5px; font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--dim); overflow-wrap: anywhere; }
.bt-abt__upd { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 8px; margin-top: 18px; }
.bt-abt__upd[hidden] { display: none; }
.bt-abt__upd > .dk-btn { height: 32px; flex: none; }
.bt-abt__status { flex: 1 1 160px; min-width: 0; font-size: 12px; line-height: 18px; color: var(--dim); word-break: keep-all; overflow-wrap: anywhere; }
.bt-abt__status:empty { display: none; }
.bt-abt__status[data-state="available"], .bt-abt__status[data-state="failed"] { color: var(--ink); }   /* 새 판 · 실패는 잉크(뒤 단추가 할 일을 말한다 — JUCE 판과 같다) */
/* [업데이트 확인] 옆 Nightly 체크 칸 — 한 줄에 안 들면 줄바꿈으로 단추 아래로 접힌다(.bt-abt__upd 가 wrap). 글이 길어도 칸 폭 안에서 줄을 바꾼다(12px 아래 금지). */
.bt-abt__nightly { flex: 0 1 auto; min-width: 0; max-width: 100%; min-height: 32px; align-items: center; }
.bt-abt__nightly[hidden] { display: none; }
.bt-abt__nightly > .dk-check__box { flex: none; }
.bt-abt__nightly > span:last-child { min-width: 0; font-size: 13px; line-height: 18px; overflow-wrap: anywhere; word-break: keep-all; }
.bt-abt__card { margin-top: 18px; padding: 14px 16px; background: var(--bg-field); border: 1px solid var(--line1); }
.bt-abt__p { margin: 0; font-size: 12px; line-height: 21px; color: var(--dim2); word-break: keep-all; overflow-wrap: anywhere; }
.bt-abt__p + .bt-abt__p { margin-top: 10px; }
.bt-abt__p--lead, .bt-abt__p--note { color: var(--ink); }
.bt-abt > .bt-help { margin: 18px 0 0; font-size: 13px; line-height: 1.6; color: var(--dim); }

/* 끝을 모르는 기다림의 스펙트럼 막대 — 이 앱 모서리(0)에 맞춘다(모양은 app.css .bt-spectrum) */
.bt-spectrum { border-radius: 0; }

/* 단추 묶음 — 샘플 .pm-group: 바깥 1px 테두리 · 모서리 4px · 안쪽 단추는 테두리 없이 1px 구분선, 높이 34 */
.bt-pmgroup, .bt-tools {
  display: flex; flex: none; gap: 0; border: 1px solid var(--btn-line); border-radius: var(--r); overflow: hidden;
}
:is(.bt-pmgroup, .bt-tools) > button { border: none !important; border-radius: 0 !important; height: 30px !important; box-shadow: none !important; }
:is(.bt-pmgroup, .bt-tools) > button + button { border-left: 1px solid var(--btn-line) !important; }
.bt-pmgroup > .bt-side__icon, .bt-tools > .bt-tool.dk-iconbtn { width: 32px; }
.bt-pmgroup > .bt-side__icon { color: var(--ink); }
/* 손가락 화면은 누르는 자리 44 — 묶음 안에서도 */
@media (pointer: coarse) {
  :is(.bt-pmgroup, .bt-tools) > button { height: 44px !important; }
  .bt-pmgroup > .bt-side__icon, .bt-tools > .bt-tool.dk-iconbtn { width: 44px; }
}

/* 아이패드 세로(820pt) — 옆칸 280 + 설정 갈래 200 을 빼면 설정 내용이 330pt 남짓이라 이름 170 + 값이 한 줄에 못 든다
   (설명 글이 세로로 쪼개지고 고르는 칸 글이 잘렸다). 이 폭에서는 이름 아래에 값을 쌓는다. */
@media (min-width: 761px) and (max-width: 900px) {
  #view-settings .bt-set__row { flex-wrap: wrap; row-gap: 6px; }
  #view-settings .bt-set__row > .bt-set__label { width: 100%; flex: 1 1 100%; }
  #view-settings .bt-set__row > .bt-set__value, #view-settings .bt-set__row > .bt-set__label + * { flex: 1 1 100%; }
  #view-settings .bt-set__row--sub { padding-left: 16px; }
  #view-settings .bt-set__value > .bt-lb, #view-settings .bt-set__value > input[type="text"] { flex: 1 1 100%; width: auto; }
}

/* ── 서버 상태 표 · 빈 테스트 서버(2026-11-01 사용자) ──
   작은 네모 점 + 짧은 글(12px) — 11-12 리디자인부터 알약 바탕 없이 점 + 글(시안). 상태는 점 색으로 — 정상 초록 · 느림 노랑 · 점검 중 빨강 · 연결 안 됨 회색 */
.bt-srvbadge { display: inline-flex; align-items: center; gap: 6px; height: 18px; padding: 0; margin-left: 0; background: transparent; vertical-align: middle; flex: none;
  white-space: nowrap; font-size: 12px; font-weight: 400; color: var(--dim); }
.bt-srvbadge .dk-badge__dot { width: 8px; height: 8px; border-radius: 0; background: var(--dim); }
.bt-srvbadge[data-state="ok"] .dk-badge__dot { background: var(--ok); }
.bt-srvbadge[data-state="slow"] .dk-badge__dot { background: var(--warn); }
.bt-srvbadge[data-state="down"] .dk-badge__dot { background: var(--danger); }
.bt-srvbadge[data-state="down"] { color: var(--danger); }
.bt-home__head .bt-srvbadge { align-self: center; }
.bt-srvnote { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--dim); }
.bt-srvnote__text { flex: 1 1 200px; min-width: 0; word-break: keep-all; overflow-wrap: anywhere; }   /* 한국어는 낱말 단위로 줄을 바꾼다(일 · 중 · 태국어는 711줄이 normal 로 되돌림) */
/* 테스트 서버에서 못 쓰는 단추 — 흐린 글자(못 쓰는 단추와 같은 색), 누르면 안내(srvState) */
html[data-srvkind="test"] [data-test-off] { color: var(--dim2); cursor: default; }

/* ── 단추 · 딱지 글 세로 가운데(대표님 11-12 08:4x "버튼 내 텍스트들이 살짝 위로 치우쳐진 느낌") ──
   글 상자를 글꼴의 위 · 아래 여백(ascent · descent)이 아니라 대문자 높이 ~ 기준선(cap · alphabetic)으로 잘라, 단추가 그 띠를 세로 가운데에 둔다.
   Pretendard 한글 잉크 가운데(726/2048)와 대문자 띠 가운데(724/2048)가 거의 같아 한 · 영 · 일 · 중 모두 눈 가운데에 선다.
   배율 125 % 같은 화면에서 위 · 아래 여백을 따로 반올림해 글이 1~2 화소 뜨던 것을 막는다. 이 성질을 모르는 웹뷰는 예전 그대로(글꼴 상자 가운데). */
/*   ★ 자르기는 글을 품은 칸(span — 단추 · 딱지 안의 글 칸)에 건다. 플렉스 칸에 바로 놓인 글(이름 없는 칸)에는 먹지 않는다 — 안 읽은 수는 글을 span 에 담았다(app-rooms · app-media). */
.dk-btn > span, .bt-unread > span, .bt-count, .dk-badge > span, .bt-chip, .bt-oncall > span, .bt-tile__st { text-box: trim-both cap alphabetic; }

/* ── 색 채운 단추 · 딱지의 글 · 그림 눈 가운데(대표님 11-12 "색 채운 단추의 글은 눈으로 보는 세로 가운데", 윈도우 125 · 150 % 에서 글 2 ~ 5 화소 뜸) ──
   까닭: 칠한 면과 글(기준선)은 기기 화소에 따로 반올림된다. 면 위 끝에서 기준선까지가 기기 화소 정수가 아니면
   단추가 놓인 소수 자리(가운데 놓기로 생기는 0.5 px, 125 % 의 0.25 px …)에 따라 글이 위나 아래로 1 ~ 2 화소 갈린다.
   맨 글(이름 없는 칸)에는 위의 자르기(text-box)가 먹지 않아 글꼴 위 · 아래 여백(ascent · descent)으로 놓였다(로그인 단추).
   고침: (1) 글은 span.bt-ink 하나에 담고(맨 글은 app-ui.js inkFix 가 감싼다) 대문자 높이 ~ 기준선 띠로 잘라 면 가운데에 둔다
            (한글 잉크 가운데 = 대문자 띠 가운데, Pretendard 725 / 724 — 글꼴 위 · 아래 여백을 쓰지 않는다).
         (2) inkFix 가 면 위 끝 ~ 기준선(그림은 그림 위 끝)을 기기 화소 정수로 반올림한 만큼만 --ink-dy 로 민다(0.5 기기 화소 이하).
            그러면 면과 글이 늘 함께 반올림돼 놓인 자리 · 엔진과 상관없이 같은 모양이다. */
span.bt-ink { text-box: trim-both cap alphabetic; }
span.bt-ink, svg.bt-ink { position: relative; top: var(--ink-dy, 0px); }
/* 면 위 · 아래 끝이 기기 화소 반 칸에 걸리거나 엔진마다 칠 높이가 갈리는 자리일 때만 inkFix 가 면을 1/64 px 단위로 조금 옮긴다(제자리 칸만 — 0.5 px 안) */
.bt-inkbox { position: relative; top: var(--ink-box-dy, 0px); }
