/* ============================================================
   随机观测台 RANDOM OBSERVATORY — arena 槽位 MO
   设计语言：计量仪器图纸。冷白纸面 / 油墨 hairline / 信号橙单强调。
   纯平面印刷质感：无任何渐变、毛玻璃、发光、浮层阴影等装饰。
   ============================================================ */

:root {
  --paper: #f4f3ee;
  --ink: #17150f;
  --ink-soft: #4c493f;
  --ink-faint: #8a867a;
  --line: #d7d4c8;
  --line-strong: #17150f;
  --accent: #e04e00;
  --accent-ink: #b23c00;
  --dark: #14161a;
  --dark-line: #2c2f36;
  --dark-text: #e8e6dd;
  --warn-bg: #f3e9d8;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --sans: "Archivo", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  min-width: 0;
}

.mono { font-family: var(--mono); }

/* ---------- 刊头 ---------- */
.mast { border-bottom: 3px solid var(--line-strong); background: var(--paper); }
.mast-in {
  max-width: 1180px; margin: 0 auto;
  padding: 26px 20px 18px;
  display: flex; flex-wrap: wrap; gap: 18px 40px;
  align-items: flex-end; justify-content: space-between;
  min-width: 0;
}
.mast-brand { min-width: 0; flex: 1 1 340px; }
.mast-kicker {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  color: var(--ink-faint); text-transform: uppercase;
  border-left: 3px solid var(--accent); padding-left: 8px; margin-bottom: 10px;
}
.mast-title {
  font-family: var(--sans); font-weight: 900;
  font-size: clamp(30px, 6vw, 52px);
  letter-spacing: .04em; line-height: 1.05;
}
.mast-sub { margin-top: 8px; max-width: 560px; color: var(--ink-soft); font-size: 13.5px; }

.mast-sys {
  flex: 0 1 300px; min-width: 240px;
  border: 1px solid var(--line-strong);
  padding: 10px 12px 12px;
  font-size: 12px;
}
.sys-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 3px 0; border-bottom: 1px dashed var(--line);
  min-width: 0;
}
.sys-row:last-of-type { border-bottom: 0; }
.sys-k { color: var(--ink-faint); white-space: nowrap; }
.sys-v { font-family: var(--mono); text-align: right; min-width: 0; overflow-wrap: anywhere; }
.led { display: inline-block; width: 8px; height: 8px; margin-right: 6px; vertical-align: 1px; background: var(--ink-faint); }
.led-ok { background: #1d7a3e; }
.led-warn { background: var(--accent); }
.led-off { background: var(--ink-faint); }
.btn-reload {
  margin-top: 8px; width: 100%;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); padding: 7px 0; cursor: pointer;
}
.btn-reload:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- 披露条 ---------- */
.disclosure {
  background: var(--ink); color: var(--paper);
  font-weight: 700; font-size: 13px; letter-spacing: .12em;
  text-align: center; padding: 8px 12px;
  border-top: 1px solid var(--ink);
}

/* ---------- 彩种导航 ---------- */
.rail-wrap {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line-strong);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rail-wrap::-webkit-scrollbar { display: none; }
.rail { display: flex; min-width: max-content; }
.rail-btn {
  appearance: none; background: none; border: 0; cursor: pointer;
  border-right: 1px solid var(--line);
  padding: 10px 14px 9px; text-align: left; min-width: 108px;
  font-family: var(--sans); color: var(--ink);
}
.rail-btn .rb-name { display: flex; align-items: baseline; gap: 6px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.rail-btn .rb-idx { font-family: var(--mono); font-size: 10px; color: var(--ink-faint); }
.rail-btn .rb-meta { font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); white-space: nowrap; margin-top: 2px; }
.rail-btn[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.rail-btn[aria-selected="true"] .rb-idx,
.rail-btn[aria-selected="true"] .rb-meta { color: #b9b5a6; }

/* ---------- 数据图纸主体 ---------- */
.sheet {
  max-width: 1180px; margin: 0 auto;
  border-left: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  min-width: 0;
}
@media (max-width: 1220px) { .sheet { border-left: 0; border-right: 0; } }

.row { border-bottom: 1px solid var(--line-strong); padding: 0 20px 26px; min-width: 0; }
.row-head {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 18px 0 12px;
}
.row-no {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: var(--paper); background: var(--ink); padding: 1px 7px;
}
.row-accent .row-no { background: var(--accent); }
.row-head h2 { font-size: 19px; font-weight: 800; letter-spacing: .06em; }
.row-note { font-size: 12px; color: var(--ink-faint); }
.row-accent { background: #efece3; }

.ticket-warn {
  font-size: 12.5px; color: var(--ink-soft);
  border: 1px dashed var(--ink-faint);
  padding: 8px 12px; margin-bottom: 16px;
  background: rgba(255,255,255,.4);
}

/* ---------- 通用槽位与降级 ---------- */
.slot { min-width: 0; }
.placeholder {
  border: 1px dashed var(--line);
  color: var(--ink-faint); font-family: var(--mono); font-size: 12px;
  padding: 18px; text-align: center; letter-spacing: .2em;
}
.err {
  border: 1px solid var(--ink); background: #fff;
  padding: 16px; text-align: center;
}
.err-title { font-weight: 700; font-size: 14px; }
.err-detail { font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); margin: 6px 0 12px; overflow-wrap: anywhere; }
.err button {
  font-family: var(--mono); font-size: 12px; cursor: pointer;
  background: var(--paper); border: 1px solid var(--ink); padding: 6px 18px;
}
.err button:hover { background: var(--ink); color: var(--paper); }

.sec-note { font-size: 12px; color: var(--ink-faint); margin-top: 10px; }

/* ---------- 00 台账 ---------- */
.ledger-grid { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line-strong); }
.ledger-cell {
  flex: 1 1 150px; min-width: 140px; padding: 12px 14px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  min-width: 0;
}
.ledger-k { font-size: 11px; color: var(--ink-faint); letter-spacing: .08em; }
.ledger-v { font-family: var(--mono); font-size: 20px; font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
.ledger-v.neg { color: var(--accent-ink); }
.ledger-v.pos { color: #1d7a3e; }
.ledger-v.small { font-size: 14px; }
.ledger-types { flex: 1 1 100%; padding: 10px 14px; }
.lt-row {
  display: flex; flex-wrap: wrap; gap: 4px 14px;
  font-family: var(--mono); font-size: 11.5px;
  padding: 3px 0; border-bottom: 1px dashed var(--line);
  min-width: 0;
}
.lt-row:last-child { border-bottom: 0; }
.lt-name { font-family: var(--sans); font-weight: 500; min-width: 52px; }
.lt-item { color: var(--ink-soft); overflow-wrap: anywhere; }
.lt-item b { font-weight: 600; color: var(--ink); }
.lt-item .neg { color: var(--accent-ink); }
.lt-item .pos { color: #1d7a3e; }

/* ---------- 01 最新观测 ---------- */
.board-grid { display: flex; flex-wrap: wrap; gap: 20px 40px; min-width: 0; }
.board-main { flex: 1 1 420px; min-width: 0; }
.board-side { flex: 0 1 300px; min-width: 250px; }

.draw-label { font-size: 11px; letter-spacing: .1em; color: var(--ink-faint); margin-bottom: 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tag {
  font-family: var(--mono); font-size: 10.5px; padding: 0 6px;
  border: 1px solid currentColor; letter-spacing: .06em;
}
.tag-warn { color: var(--accent-ink); }
.tag-dim { color: var(--ink-faint); }

.balls { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.ball {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 19px; font-weight: 600;
  background: var(--ink); color: var(--paper);
}
.ball.sm { width: 32px; height: 32px; font-size: 13px; }
.ball.xs { width: 27px; height: 27px; font-size: 11.5px; font-weight: 500; }
.ball.extra { background: var(--accent); }
.ball-sep { align-self: stretch; width: 1px; background: var(--line); margin: 0 4px; }
.ball-gap { width: 14px; }
.ball-muted { background: transparent; color: var(--ink-faint); box-shadow: inset 0 0 0 1px var(--line); }

.board-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }
.board-meta b { font-weight: 600; color: var(--ink); }

.next-box { border: 1px solid var(--line-strong); padding: 14px 16px; }
.next-term { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }
.next-date { font-size: 17px; font-weight: 800; margin: 2px 0 6px; }
.count { font-family: var(--mono); font-size: 26px; font-weight: 600; letter-spacing: .04em; }
.count .cd-unit { font-size: 12px; color: var(--ink-faint); margin: 0 6px 0 1px; }
.next-sched { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); margin-top: 6px; }

/* ---------- 02 研究范围 ---------- */
.unit { border: 1px solid var(--line-strong); padding: 16px; margin-bottom: 16px; min-width: 0; }
.unit-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-bottom: 10px; }
.unit-name { font-weight: 800; font-size: 16px; }
.unit-kind { font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); border: 1px solid var(--line); padding: 0 5px; }
.unit-desc { font-size: 12px; color: var(--ink-faint); }
.unit-conclusion { font-size: 13px; color: var(--ink-soft); border-left: 3px solid var(--accent); padding-left: 10px; margin: 8px 0 14px; }

.ruler { margin-bottom: 14px; min-width: 0; }
.ruler-head { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; margin-bottom: 6px; }
.ruler-title { font-weight: 700; }
.ruler-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.pool { display: flex; flex-wrap: wrap; gap: 3px; min-width: 0; }
.cell {
  width: 27px; height: 27px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ink-faint);
  box-shadow: inset 0 0 0 1px var(--line);
  background: transparent;
}
.cell.on { background: var(--accent); color: #fff; font-weight: 600; box-shadow: none; }

.rationale { margin-top: 10px; }
.rationale-title { font-size: 11px; letter-spacing: .1em; color: var(--ink-faint); margin-bottom: 4px; }
.rationale li {
  list-style: none; font-size: 12px; color: var(--ink-soft);
  padding: 2px 0 2px 14px; position: relative;
  overflow-wrap: anywhere;
}
.rationale li::before { content: "—"; position: absolute; left: 0; color: var(--ink-faint); }

.statline { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); margin-top: 4px; }
.statline span b { color: var(--ink); font-weight: 600; }

/* ---------- 03 复式票面 ---------- */
.ticket-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; }
@media (max-width: 880px) { .ticket-grid { grid-template-columns: minmax(0, 1fr); } }

.ticket {
  border: 2px solid var(--ink); background: #fbfaf6;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
  padding: 18px 18px 16px; min-width: 0;
}
.ticket-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-bottom: 1px solid var(--ink); padding-bottom: 8px; margin-bottom: 10px; }
.ticket-name { font-weight: 800; font-size: 15px; }
.ticket-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--accent-ink); }
.ticket-pool { font-family: var(--mono); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.ticket-formula { font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.ticket-nums { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 12px; }
.tn { min-width: 90px; }
.tn-k { font-size: 10.5px; color: var(--ink-faint); letter-spacing: .1em; }
.tn-v { font-family: var(--mono); font-size: 24px; font-weight: 600; }
.tn-v .tn-u { font-size: 12px; color: var(--ink-faint); font-weight: 400; }
.ticket-foot { margin-top: 12px; font-size: 11px; color: var(--ink-faint); font-family: var(--mono); }

.tiers { min-width: 0; }
.tiers-title { font-size: 12px; letter-spacing: .1em; color: var(--ink-faint); margin-bottom: 8px; }
.tbl-wrap { overflow-x: auto; min-width: 0; border: 1px solid var(--line-strong); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 480px; }
.tbl th {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em;
  text-align: left; color: var(--ink-soft);
  background: #e9e6db; padding: 7px 10px; border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
.tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 0; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { font-family: var(--mono); font-size: 14px; font-weight: 600; white-space: nowrap; }
.tbl .pooltext { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); overflow-wrap: anywhere; }
.tbl .tiername { font-weight: 700; white-space: nowrap; }

/* ---------- 04 校准 ---------- */
.cal-grid { display: flex; flex-wrap: wrap; gap: 18px 36px; min-width: 0; }
.gauge { flex: 1 1 380px; min-width: 0; }
.gauge-scale { position: relative; height: 54px; border-bottom: 2px solid var(--ink); margin: 26px 6px 6px; min-width: 0; }
.gauge-baseline { position: absolute; bottom: -2px; left: 0; width: 2px; height: 22px; background: var(--ink); }
.gauge-baseline-label { position: absolute; bottom: 24px; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; color: var(--ink-soft); white-space: nowrap; }
.gauge-marker { position: absolute; bottom: -9px; width: 16px; height: 16px; background: var(--accent); transform: translateX(-50%) rotate(45deg); border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--accent); }
.gauge-marker-label { position: absolute; top: -24px; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent-ink); white-space: nowrap; }
.gauge-readout { display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); margin-top: 14px; }
.gauge-readout b { color: var(--ink); font-weight: 600; }
.gauge-legend { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 4px; min-width: 0; }
.gl-seg { height: 10px; flex: 1 1 30px; min-width: 24px; }
.gl-0 { background: #ddd9cc; }
.gl-1 { background: var(--ink); }

/* ---------- 05 历史 ---------- */
.hist-pager { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.hist-pager button {
  font-family: var(--mono); font-size: 12px; cursor: pointer;
  background: var(--paper); border: 1px solid var(--ink); padding: 5px 16px;
}
.hist-pager button:disabled { opacity: .35; cursor: default; }
.hist-pager button:not(:disabled):hover { background: var(--ink); color: var(--paper); }
.hist-pageinfo { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }
.hist-depth { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); margin-left: auto; }

/* ---------- 06 示波屏 ---------- */
.scope-frame { background: var(--dark); border: 1px solid var(--ink); padding: 10px; min-width: 0; }
.scope-frame img { display: block; width: 100%; height: auto; }
.scope-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--mono); font-size: 11px; color: #8b8f98; margin-top: 8px; }

/* ---------- 07 计量 ---------- */
.stat-grid { display: flex; flex-wrap: wrap; gap: 18px 36px; min-width: 0; }
.stat-block { flex: 1 1 280px; min-width: 0; }
.stat-block-title { font-size: 12px; letter-spacing: .1em; color: var(--ink-faint); border-bottom: 1px solid var(--line-strong); padding-bottom: 5px; margin-bottom: 8px; }
.kv-line { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; padding: 2px 0; border-bottom: 1px dashed var(--line); min-width: 0; }
.kv-line .k { color: var(--ink-soft); }
.kv-line .v { font-family: var(--mono); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.bar-row { display: flex; align-items: center; gap: 8px; padding: 2.5px 0; font-size: 11.5px; min-width: 0; }
.bar-label { font-family: var(--mono); width: 44px; flex: none; color: var(--ink-soft); }
.bar-track { flex: 1 1 auto; height: 9px; background: #e5e2d7; min-width: 0; }
.bar-fill { height: 100%; background: var(--ink); }
.bar-count { font-family: var(--mono); width: 44px; flex: none; text-align: right; color: var(--ink-soft); }

/* ---------- 08 基线 ---------- */
.base-note { font-size: 12px; color: var(--ink-soft); margin-bottom: 10px; }

/* ---------- 09 报号 ---------- */
.plan-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); margin-bottom: 14px; }
.plan-meta b { color: var(--ink); }
.plan-ver { border: 1px solid var(--line-strong); margin-bottom: 14px; min-width: 0; }
.plan-ver-head {
  display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline;
  background: #e9e6db; border-bottom: 1px solid var(--line-strong);
  padding: 8px 12px; font-size: 13px;
}
.pv-badge {
  font-family: var(--mono); font-weight: 600; font-size: 12px;
  background: var(--ink); color: var(--paper); padding: 0 8px;
}
.pv-name { font-weight: 600; }
.pv-num { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); margin-left: auto; overflow-wrap: anywhere; }
.plan-tickets { padding: 6px 12px 10px; }
.plan-ticket { padding: 7px 0; border-bottom: 1px dashed var(--line); min-width: 0; }
.plan-ticket:last-child { border-bottom: 0; }
.pt-top { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: 12.5px; }
.pt-name { font-weight: 700; }
.pt-bets { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); margin-left: auto; white-space: nowrap; }
.pt-nums { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 5px; align-items: center; min-width: 0; }
.pt-sel { font-size: 11.5px; color: var(--ink-faint); margin-top: 3px; overflow-wrap: anywhere; }

/* ---------- 10 妙手演算 ---------- */
.algo-grid { display: flex; flex-wrap: wrap; gap: 20px 40px; min-width: 0; }
.algo-main { flex: 1 1 480px; min-width: 0; }
.algo-side { flex: 0 1 300px; min-width: 250px; }
.algo-balls { margin: 4px 0 2px; }

.algo-plate {
  border: 1px solid var(--line-strong);
  padding: 10px 12px;
  font-family: var(--mono); font-size: 11.5px;
  background: rgba(255,255,255,.4);
}
.ap-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 3.5px 0; border-bottom: 1px dashed var(--line);
  min-width: 0;
}
.ap-row:last-child { border-bottom: 0; }
.ap-k { color: var(--ink-faint); letter-spacing: .08em; white-space: nowrap; }
.ap-v { text-align: right; color: var(--ink-soft); overflow-wrap: anywhere; }
.algo-fp { color: var(--accent-ink); font-weight: 600; letter-spacing: .1em; }

.algo-legend {
  display: flex; flex-wrap: wrap; gap: 4px 18px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-soft);
  margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line);
}
.algo-legend b { color: var(--ink); font-weight: 600; }

/* 得分频谱：域内每码一柱，选中橙 */
.spec-zone { margin-top: 18px; min-width: 0; }
.spec-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-bottom: 6px; }
.spec-title { font-weight: 700; font-size: 12.5px; }
.spec-meta { font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); }
.spectrum {
  display: flex; gap: 2px; align-items: stretch;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
  overflow-x: auto; min-width: 0;
}
.sp-col {
  flex: 0 0 18px; height: 104px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
}
.sp-bar { width: 100%; background: #b9b5a6; min-height: 2px; }
.sp-col.on .sp-bar { background: var(--accent); }
.sp-col.in-range .sp-bar { background: #ddc894; }
.sp-col.in-range .sp-lab { color: var(--ink-soft); }
.sp-lab {
  font-family: var(--mono); font-size: 8.5px; color: var(--ink-faint);
  height: 13px; line-height: 13px; flex: none;
}
.sp-col.on .sp-lab { color: var(--accent-ink); font-weight: 700; }

/* ---------- 页脚 ---------- */
.foot { padding: 22px 20px 30px; }
.foot-disclosure {
  border: 2px solid var(--ink); text-align: center;
  font-weight: 800; font-size: 14px; letter-spacing: .14em;
  padding: 10px 8px; margin-bottom: 14px;
}
.foot-meta { display: flex; flex-wrap: wrap; gap: 4px 22px; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }

/* ---------- 移动端 ---------- */
@media (max-width: 640px) {
  .mast-in { padding: 20px 14px 14px; gap: 14px; }
  .mast-sys { flex-basis: 100%; }
  .row { padding: 0 14px 22px; }
  .ball { width: 38px; height: 38px; font-size: 16px; }
  .ball.sm { width: 29px; height: 29px; font-size: 12px; }
  .cell { width: 24px; height: 24px; font-size: 9.5px; }
  .sp-col { flex-basis: 16px; height: 92px; }
  .count { font-size: 21px; }
  .tn-v { font-size: 20px; }
  .ledger-v { font-size: 17px; }
}
@media (max-width: 360px) {
  .ball { width: 32px; height: 32px; font-size: 14px; }
  .cell { width: 22px; height: 22px; font-size: 9px; }
}
