/* where: CITY(HUD・区画マップの上) / what: 侵攻の手数・移動の歩数のメーター(tmas-stamina.js の meterHtml が出す形)
   / why: 手数は「残り」を、目盛りと数字で見せる(2026-11-14 Rii2。docs/TURF_PIN_DESIGN_20261114.md §5)。大きさは置いた所の文字の大きさに合わせる(em)。動かさない */
.stm{display:block;min-width:0;--stm:#C9A84C}
.stm[data-k="move"]{--stm:#7fb8a6}
.stm__h{display:flex;justify-content:space-between;align-items:baseline;gap:.8em;white-space:nowrap}
.stm__l{letter-spacing:.06em;color:rgba(255,255,255,.82)}
.stm__ic{display:inline-block;width:1.45em;font-style:normal;text-align:center}
.stm__n{color:rgba(255,255,255,.5)}
.stm__n b{font-size:1.45em;font-weight:700;color:#F3D98A;margin-right:.1em}
.stm[data-k="move"] .stm__n b{color:#a9d8c8}
.stm[data-empty="1"] .stm__n b{color:#e08a5a}
.stm__segs{display:flex;gap:2px;margin:.35em 0 .3em}
.stm__segs i{flex:1 1 0;min-width:0;height:.6em;border-radius:1.5px;background:rgba(255,255,255,.1)}
.stm__segs i.on{background:var(--stm)}
.stm__bar{height:.6em;margin:.35em 0 .3em;border-radius:3px;background:rgba(255,255,255,.1);overflow:hidden}
.stm__bar i{display:block;height:100%;background:var(--stm)}
.stm__x{color:rgba(255,255,255,.5);white-space:nowrap}
.stm-mini{white-space:nowrap}
.stm-mini b{font-weight:700;color:#F3D98A}
.stm-mini[data-k="move"] b{color:#a9d8c8}
.stm-mini[data-empty="1"] b{color:#e08a5a}
/* 1段の形(区画マップの上): アイコン・目盛り・数字 */
.stm--line{display:flex;align-items:center;gap:.5em;white-space:nowrap}
.stm--line .stm__segs,.stm--line .stm__bar{flex:1 1 auto;min-width:0;margin:0}
.stm--line .stm__n b{font-size:1.3em}
/* 区画マップの上: 2本を横に並べる(狭い幅でも2本。目盛りは縮む)。地図を狭めないよう、高さは1段ぶんだけ */
.zm-meters{display:grid;grid-template-columns:1fr 1fr;gap:14px;flex:0 0 auto;padding:0 14px 3px;font-family:var(--fm,monospace);font-size:.62rem;line-height:1.3}
.zm-meters[hidden]{display:none}
/* いちばん狭い幅(360px 未満)では、メーターの段のぶん、見出しの内訳の文字(家ごとの数)を畳む。帯の色は残る(地図を狭めると、施設のピンが門の札に重なる) */
@media(max-width:359px){ .zm-meters:not([hidden]) ~ .zm-head .zm-legend{display:none} }
