/* ===== 第9版: ゲージの色分け・ログ・チャット・モルックアウト・運営タグ ===== */

/* 点数ゲージ: 1投ごとの色（色＝だれが、数字＝何回目） */
.track.tick { height: 16px; position: relative; overflow: hidden; }
.srow.c .track.tick { height: 16px; }
.segs { position: absolute; inset: 0; will-change: clip-path; }
.sg { position: absolute; top: 0; bottom: 0; display: grid; place-items: center; box-sizing: border-box; border-right: 2px solid var(--ink); font-size: 10px; font-weight: 800; line-height: 1; color: var(--ink); overflow: hidden; }
.avring { display: inline-flex; margin-right: 2px; padding: 1px; border-radius: 9px; background: var(--pc, transparent); }
.avring .av.xs { margin: 0; width: 19px; height: 19px; border-radius: 7px; border-width: 1.5px; }
.s-avs { gap: 2px; }

/* 運営タグ・チャット */
.stag { display: inline-block; margin-left: 4px; padding: 0 7px; border: 2px solid var(--ink); border-radius: 6px; background: var(--orange); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .06em; vertical-align: middle; }
.cbadge { position: absolute; top: -8px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid var(--ink); border-radius: 999px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; line-height: 14px; text-align: center; }
.chat { display: grid; gap: 10px; padding-bottom: 6px; }
.cm { display: flex; align-items: flex-start; gap: 8px; }
.cm.me { flex-direction: row-reverse; }
.cb { max-width: 78%; padding: 7px 10px; border: 3px solid var(--ink); border-radius: 14px 14px 14px 4px; background: #fff; min-width: 0; }
.cm.me .cb { border-radius: 14px 14px 4px 14px; background: var(--yellow); }
.cn { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 4px; font-size: 12px; }
.cn b { font-weight: 800; } .cn small { color: var(--ink-soft); font-weight: 800; } .cn time { margin-left: auto; color: var(--ink-soft); font-size: 10px; font-weight: 800; }
.cb p { margin: 2px 0 0; font-size: 15px; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; }
.chatfoot { display: flex; gap: 6px; align-items: center; }
.chatfoot input { flex: 1; min-width: 0; padding: 9px 10px; font-size: 16px; }
.chat-btn { position: relative; padding: 0 10px; } .chat-btn svg { width: 22px; height: 22px; }
.subh { margin: 14px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--ink-soft); }

/* ログ（タイムライン） */
.lg { display: grid; gap: 6px; }
.lgi { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 8px; border: 3px solid var(--ink); border-radius: 12px; background: #fff; text-align: left; }
.lgi.sys { background: #f3f1e6; border-style: dashed; }
.lgn { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--yellow); font-size: 11px; font-weight: 800; }
.lgc { flex: none; width: 8px; align-self: stretch; border-radius: 4px; border: 2px solid var(--ink); } .lgc.sysc { background: #ddd; }
.lgt { flex: 1; min-width: 0; display: grid; } .lgt b { font-size: 14px; font-weight: 800; } .lgt small { font-size: 11px; color: var(--ink-soft); font-weight: 800; }
.lgr { flex: none; font-size: 14px; font-weight: 800; } .lgr.over { color: var(--red); }
.lgi em { flex: none; min-width: 3.2em; text-align: right; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lge { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; padding: 10px; margin-bottom: 10px; border: 3px solid var(--ink); border-radius: 12px; background: #fff; }
.lge b { font-size: 18px; font-weight: 800; } .lge em { margin-left: auto; font-size: 18px; font-weight: 800; }
.lgpad { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; justify-items: center; }
.lgpad button { width: 38px; height: 38px; border: 3px solid var(--ink); border-radius: 50%; background: var(--wood); font-size: 16px; font-weight: 800; box-shadow: 0 3px 0 var(--ink); }
.lgpad button.on { background: var(--yellow); outline: 3px solid var(--orange); }

/* モルックアウト */
.lane { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 10px; padding: 8px 6px; border: 3px solid var(--ink); border-radius: 14px; background: #fff; }
.lane .sk { display: grid; place-items: center; width: 40px; height: 40px; border: 3px solid var(--ink); border-radius: 50%; background: var(--wood); font-size: 18px; font-weight: 800; box-shadow: 0 3px 0 var(--ink); }
.lane-arrow { color: var(--ink-soft); font-size: 20px; font-weight: 800; }
.lanecap { display: flex; justify-content: space-between; padding: 0 6px; margin-top: -2px; font-size: 10px; font-weight: 800; color: var(--ink-soft); }
.mo-help { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; } .mo-help p { font-size: 13px; line-height: 1.7; font-weight: 700; }
.turn-strip.static { cursor: default; }
.srow.mo { grid-template-columns: auto 1fr auto; }
.mo-best { display: grid; justify-items: center; line-height: 1; } .mo-best small { font-size: 9px; font-weight: 800; color: var(--ink-soft); } .mo-best b { font-size: 34px; font-weight: 800; }
.mo-win { display: grid; justify-items: center; gap: 6px; padding: 10px 0; } .mo-win b { font-size: 22px; font-weight: 800; }
.mo-cap { flex: 1; font-size: 11px; font-weight: 800; color: var(--ink-soft); line-height: 1.4; align-self: center; }
.mo-pins .pin-row { justify-content: center; gap: 8px; }
.mo-dock .pin { width: 52px; height: 52px; font-size: 22px; }
.mo-dock .pins { padding: 4px 0; }

.seg { grid-auto-columns: minmax(0, 1fr); }
.seg button { white-space: normal; line-height: 1.25; padding-left: 4px; padding-right: 4px; }
.field .seg { min-width: 0; }

.bar.three { grid-template-columns: auto 1fr auto; }
.bar.three h1 { overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
