/* ============================================================
   藏文站（bo）排版补丁 · PC 皮肤 pc/m2-1
   2026-09-26

   只在 $lang == 'bo' 时被 template/pc/m2-1/public/css.html 引入 ⇒ cn/en/ug 零影响。
   藏文与中文/英文一样是横排（LTR），不需要方向改造；要处理的只有两件事：
   1) 叠字行高：藏文基字带上下加字，默认 line-height 会贴底/被裁切 → 放宽行高；
   2) 断行：藏文用音节符 ་ 分词、不用空格，长音节在定宽按钮里会溢出 → 允许断行。
   ============================================================ */

/* ---------- 1) 字体栈：优先系统自带藏文字体 ---------- */
body,
input, select, textarea, button,
.btn, .nav, .dropdown-menu, .form-control, table, .card, .list-group-item {
    font-family: "Microsoft Himalaya", "Kailasa", "Noto Serif Tibetan", "Noto Sans Tibetan",
                 "Jomolhari", "Microsoft YaHei", Arial, sans-serif;
}

/* ---------- 2) 行高基准（叠字留白） ---------- */
body { line-height: 1.95; }
h1, h2, h3, h4, h5, h6 { line-height: 1.8; }
p, li, td, th, dd, dt, .card-body, .list-group-item { line-height: 1.95; }

/* 表单/按钮/导航这类紧凑容器：行高不宜过大，但也不能贴底 */
.navbar-nav > li > a, .dropdown-item, .btn, button, input, select, textarea, .form-control, label {
    line-height: 1.8;
}
.btn, button, .form-control { height: auto; min-height: 38px; }

/* ---------- 3) 断行与溢出（音节符断行 + 防撑破定宽容器） ---------- */
body { overflow-wrap: break-word; word-break: normal; }
.nav, .nav-item, .dropdown-menu, .btn, td, th, .card-title, .product-title { overflow-wrap: break-word; }
.btn, .nav-link { white-space: normal; }
