/* 레인지 격자·범례·안내문·잠금 카드 (hr-*), 로비 뷰어 컨트롤 (hrv-* = 시안 s2-*), 상세 바 (.rec-dock).
   승인 시안 kit.css · S2_range_chart.css 를 옮겼다. 토큰(--rec-*)은 records.css :root. */

/* ── 캡션·범례 ───────────────────────────────────────────────────────────── */
.hr-caption {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 18px; margin: 0 0 4px;
}
.hr-caption-title { color: var(--cocoa-title); font-size: 12px; font-weight: 800; line-height: 1.3; min-width: 0; word-break: keep-all; }
.hr-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 9px; flex: 0 1 auto; justify-content: flex-end; font-size: 11px; font-weight: 700; color: var(--cocoa-muted); }
.hr-legend-item { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.hr-sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; box-sizing: border-box; flex: 0 0 auto; }
.hr-sw.is-bordered { border: 1px solid #5a4a3c; }

/* ── 13×13 격자 ──────────────────────────────────────────────────────────── */
.hr-grid {
  display: grid;
  gap: var(--hr-gap, 2px);
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
}
.hr-grid.is-fit {
  width: 100%;
  max-width: 362px;
  grid-template-columns: repeat(13, minmax(0, 1fr));
}
.hr-row { display: contents; }
.hr-cell {
  position: relative;
  width: var(--hr-cell, 26px);
  height: var(--hr-cell, 26px);
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: var(--hr-radius, 4px);
  background: var(--rec-fold);
  color: #fff;
  font-family: var(--rec-font);
  font-size: var(--hr-font, 10px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hr-grid.is-fit .hr-cell { width: auto; height: auto; aspect-ratio: 1 / 1; font-size: clamp(8px, 2.6vw, 10px); }
.hr-hand { pointer-events: none; white-space: nowrap; }
.hr-cell.is-fold { color: var(--rec-fold-text); }
.hr-cell.is-mixed .hr-hand { text-shadow: 0 1px 1px rgba(0, 0, 0, .55); }
/* 레이즈(밝은 노랑)·림프 50% 이상 칸은 어두운 글자 — 흰 글자는 #f2b53a 위 대비 1.83:1 */
.hr-cell.is-raise-ink { color: var(--rec-ink); }
.hr-cell.is-raise-ink .hr-hand { text-shadow: none; }
/* 섞는 칸은 글자 아래가 밝은 띠(레이즈·림프)와 어두운 띠(폴드 #3a2f27)로 갈린다. 어느 띠 위에서도 읽히게
   글자에 띠와 반대 색의 테두리 빛을 준다 — 어두운 글자엔 밝은 빛, 흰 글자엔 어두운 빛. */
.hr-cell.is-mixed.is-raise-ink .hr-hand {
  text-shadow: 0 0 2px rgba(255, 240, 205, .95), 0 0 1px rgba(255, 240, 205, .95), 0 0 3px rgba(255, 240, 205, .6);
}
.hr-cell.is-mixed:not(.is-raise-ink) .hr-hand {
  text-shadow: 0 0 2px rgba(0, 0, 0, .9), 0 0 1px rgba(0, 0, 0, .9), 0 1px 1px rgba(0, 0, 0, .7);
}
/* 경계 핸드(어느 쪽이든 비슷) = 점선 안쪽 테두리 */
.hr-cell.is-close::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px dashed rgba(255, 243, 224, .78);
  border-radius: calc(var(--hr-radius, 4px) - 1px);
  pointer-events: none;
}
.hr-cell.is-close.is-raise-ink::after { border-color: rgba(36, 23, 3, .6); }
.hr-cell.is-selected {
  box-shadow: inset 0 0 0 2px var(--rec-sel), 0 0 0 2px rgba(255, 230, 128, .5);
  z-index: 1;
}
/* 선택된 섞는 칸: 테두리 안쪽에 띠를 그려 얇은 폴드 조각도 보이게 */
.hr-cell.is-selected.is-mixed {
  padding: 2px;
  background-clip: content-box !important;
  background-origin: content-box !important;
}
.hr-cell:focus-visible { outline: 2px solid #ffe16f; outline-offset: 1px; z-index: 2; }
.hr-note { margin: 8px 1px 0; font-size: 10.5px; line-height: 1.5; color: var(--cocoa-muted); font-weight: 500; word-break: keep-all; }
.hr-caption-note { margin: 8px 1px 0; font-size: 11px; line-height: 1.5; color: #e9d9b9; font-weight: 600; word-break: keep-all; }
.hr-caption-note + .hr-caption-note { margin-top: 4px; }

/* 미니 격자 (S9 미리보기): 글자 없음, 폴드 칸은 조금 밝게 */
.hr-grid.is-mini .hr-cell { border-radius: 1.5px; font-size: 0; cursor: default; }
.hr-grid.is-mini .hr-cell.is-fold { background: #4b3e33 !important; }
.hr-grid.is-mini .hr-cell.is-close::after { display: none; }
.hr-preview { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.hr-preview-plate { padding: 4px; border-radius: 8px; background: var(--cocoa-page); box-shadow: inset 0 0 0 1px rgba(156, 117, 63, .35); }
.hr-preview-plate .hr-grid { margin: 0; }
.hr-preview-cap { font-size: 10px; font-weight: 800; line-height: 1.2; color: var(--cocoa-muted); white-space: nowrap; }
.hr-preview-locked {
  margin: 0; width: 124px; min-height: 92px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 10px; border-radius: 8px; background: var(--cocoa-page); box-shadow: inset 0 0 0 1px rgba(156, 117, 63, .35);
  font-size: 11px; font-weight: 700; line-height: 1.45; color: var(--cocoa-muted); word-break: keep-all;
}

/* ── 안내문 (모든 레인지 화면 1줄 + ⓘ) ───────────────────────────────────── */
.hr-disclaimer { margin: 0 0 6px; }
.hr-disc-line { display: flex; align-items: flex-start; gap: 4px; margin: 0; font-size: 10.5px; font-weight: 600; line-height: 1.45; color: var(--cocoa-muted); }
.hr-disc-text { flex: 1 1 auto; min-width: 0; word-break: keep-all; }
.hr-disc-toggle {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin: -3px -3px -3px 0; padding: 0;
  border: 0; border-radius: 50%; background: transparent;
  color: var(--cocoa-title); font-size: 13px; line-height: 1; cursor: pointer;
}
/* 보이는 원은 22px 그대로, 누르는 영역만 34px (WCAG 2.5.8 최소 24px 이상) */
.hr-disc-toggle::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
.hr-disc-toggle[aria-expanded="true"] { background: rgba(242, 197, 116, .16); }
.hr-disc-toggle:focus-visible { outline: 2px solid #ffe16f; outline-offset: 1px; }
.hr-disc-body { margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: var(--cocoa-panel); border: 1px solid rgba(156, 117, 63, .45); }
.hr-disc-body[hidden] { display: none; }
.hr-disc-title { margin: 0 0 6px; font-size: 12px; font-weight: 800; color: var(--cocoa-title); }
.hr-disc-list { margin: 0; padding-left: 16px; font-size: 11px; line-height: 1.55; color: var(--cocoa-text); font-weight: 500; word-break: keep-all; }
.hr-disc-list li + li { margin-top: 3px; }
.hr-fairplay { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 800; color: var(--cocoa-title); text-decoration: none; }
.hr-fairplay:focus-visible { outline: 2px solid #ffe16f; outline-offset: 2px; border-radius: 4px; }

/* ── 잠금·비활성·상태 카드 ───────────────────────────────────────────────── */
.hr-lock {
  margin: 4px 0 0;
  padding: 18px 16px 16px;
  border-radius: 14px;
  border: 1px dashed var(--cocoa-border);
  background: var(--cocoa-panel);
  text-align: center;
  color: var(--cocoa-text);
}
.hr-lock-icon { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(242, 197, 116, .14); color: var(--cocoa-title); }
.hr-lock-icon svg { width: 18px; height: 18px; }
.hr-lock-title { margin: 8px 0 0; font-size: 14px; font-weight: 800; color: var(--cocoa-title); line-height: 1.35; }
.hr-lock-body { margin: 6px 0 0; font-size: 12.5px; font-weight: 600; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.hr-lock-foot { margin: 8px 0 0; font-size: 11px; font-weight: 500; line-height: 1.5; color: var(--cocoa-muted); word-break: keep-all; }
.hr-lock.is-disabled { border-style: solid; border-color: rgba(156, 117, 63, .45); }
.hr-lock.is-disabled .hr-lock-body { margin: 0; color: var(--cocoa-muted); }
.hr-state { padding: 26px 12px; text-align: center; }
.hr-state p { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--cocoa-muted); }
.hr-state .rec-btn-ghost { margin-top: 10px; }

/* ── 로비 뷰어 (S2) — 시안 s2-* 이름 변경 ────────────────────────────────── */
#lobbyFeatureBody[data-rec-tab="range"] {
  padding-top: 8px;
  /* 마지막 행이 상세 바 위로 스크롤되고, 키보드 포커스가 바에 가려지지 않게 (§10 S2-8) */
  padding-bottom: calc(84px + var(--holdem-safe-area-bottom, 0px));
  scroll-padding-bottom: 84px;
}
#lobbyFeatureBody[data-rec-tab="range"] .rec-subtabs.ranking-subtabs { margin-bottom: 5px; }
#lobbyFeatureBody[data-rec-tab="range"] .rec-subtabs .ranking-subtab { padding-top: 7px; padding-bottom: 7px; }
.hrv-root { min-width: 0; }
.hrv-controls { min-width: 0; }
.rec-filter-row.hrv-row1 { gap: 6px; margin-bottom: 4px; }
.hrv-row1 .rec-seg { height: 32px; }
.hrv-pins { display: flex; gap: 6px; flex: 0 0 auto; }
.hrv-row.rec-chip-row { margin-bottom: 4px; }
.hrv-stacks { gap: 4px; }
.hrv-stacks > .rec-chip { padding: 0; width: 30px; min-width: 30px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.hrv-stacks > .rec-chip:disabled { opacity: .35; }
.hrv-pos.is-call { gap: 6px; }
.hrv-callers { display: flex; gap: 6px; flex: 0 0 auto; }
.hrv-sep { flex: 0 0 1px; align-self: stretch; margin: 5px 1px; background: rgba(156, 117, 63, .5); }
.hr-caption.hrv-caption { min-height: 16px; margin-bottom: 2px; }
.hrv-legend-row { margin: 0 0 4px; }
.hrv-legend-row .hr-legend { justify-content: flex-start; }
.hrv-root .hr-disclaimer { margin-bottom: 4px; }
.hrv-stage { min-width: 0; transition: opacity .12s ease; }
.hrv-stage.is-busy { opacity: .5; }
.hrv-after { min-width: 0; }

/* ── 상세 바 (승인 시안 kit.css .rec-dock 그대로: 화면 아래 고정, 뷰어 루트 안) ── */
.rec-dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 480px);
  z-index: 40;
  box-sizing: border-box;
  padding: 10px 14px calc(10px + var(--holdem-safe-area-bottom, 0px));
  border-top: 1px solid var(--cocoa-border);
  border-radius: 14px 14px 0 0;
  background: var(--cocoa-raised);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, .45);
  color: var(--cocoa-text);
  font-family: var(--rec-font);
}
.rec-dock[hidden] { display: none; }
.hrv-dock { min-height: 68px; max-height: 60dvh; overflow-y: auto; }
.hr-dock-empty { margin: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; font-weight: 700; color: var(--cocoa-muted); word-break: keep-all; }
.hr-dock-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; }
.hr-dock-hand { flex: 0 0 auto; min-width: 56px; }
.hr-dock-name { font-size: 24px; line-height: 1; color: var(--cocoa-title); letter-spacing: 0.01em; }
.hr-dock-sub { margin-top: 4px; font-size: 10px; font-weight: 700; line-height: 1.2; color: var(--cocoa-muted); white-space: nowrap; }
.hr-dock-mid { flex: 1 1 auto; min-width: 0; }
.hr-dock-labels {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 8px;
  margin-bottom: 4px;
  font-size: 10px; font-weight: 800; line-height: 1.25;
}
.hr-dock-lab { white-space: nowrap; }
.hr-dock-lab b { font-weight: 900; }
.hr-dock-lab.is-jam, .hr-dock-lab.is-call { color: #ff9a7a; }
.hr-dock-lab.is-raise { color: #f6c860; }
.hr-dock-lab.is-limp { color: #9ad482; }
.hr-dock-lab.is-fold { color: var(--rec-fold-text); }
.hr-dock-bar {
  display: flex;
  height: 18px;
  box-sizing: border-box;
  border: 1px solid #5a4a3c;
  border-radius: 5px;
  overflow: hidden;
  background: var(--rec-fold);
}
.hr-dock-bar > i { display: block; height: 100%; }
.hr-dock-bar > i + i { box-shadow: inset 1px 0 0 rgba(0, 0, 0, .35); }
.hr-dock-right { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; max-width: 40%; }
.hr-dock-right .rec-pill { font-size: 10px; padding: 2px 7px; white-space: normal; text-align: right; word-break: keep-all; }
.hr-dock-more {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 0; border: 0; background: transparent;
  color: var(--cocoa-title);
  font-family: var(--rec-font); font-size: 11px; font-weight: 800; line-height: 1; white-space: nowrap; cursor: pointer;
}
.hr-dock-more svg { width: 10px; height: 10px; display: block; transform: rotate(0deg); }
.rec-dock.is-open .hr-dock-more svg { transform: rotate(180deg); }
.hr-dock-more:focus-visible { outline: 2px solid #ffe16f; outline-offset: 2px; border-radius: 4px; }
.hr-combos { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(156, 117, 63, .3); }
.hr-combo { display: inline-flex; gap: 2px; }
.hr-combo-card { display: inline-block; width: 20px; height: auto; border-radius: 3px; vertical-align: middle; box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }

/* ── 바닥 시트 (인원·앤티·올인 자리, 허브 종류·정렬) ─────────────────────── */
.hr-sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.hr-sheet-backdrop { position: absolute; inset: 0; background: rgba(6, 4, 2, .62); }
.hr-sheet-panel {
  position: relative;
  width: min(100%, 480px);
  max-height: 70dvh;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 12px 14px calc(14px + var(--holdem-safe-area-bottom, 0px));
  border-radius: 16px 16px 0 0;
  border-top: 1px solid var(--cocoa-border);
  background: var(--cocoa-raised);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .5);
  font-family: var(--rec-font);
}
.hr-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.hr-sheet-head strong { color: var(--cocoa-title); font-size: 14px; font-weight: 800; }
.hr-sheet-x { width: 32px; height: 32px; border: 0; background: transparent; color: var(--cocoa-title); font-size: 22px; line-height: 1; cursor: pointer; }
.hr-sheet-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 6px; }
.hr-sheet-opt {
  min-height: 40px; padding: 0 8px;
  border-radius: 12px; border: 1px solid var(--cocoa-border);
  background: var(--cocoa-panel); color: var(--cocoa-text);
  font-family: var(--rec-font); font-size: 13px; font-weight: 800; cursor: pointer;
}
.hr-sheet-opt.is-on { background: var(--rec-cheese); color: var(--rec-ink); border-color: #f0c95c; }
.hr-sheet-opt:focus-visible, .hr-sheet-x:focus-visible { outline: 2px solid #ffe16f; outline-offset: 2px; }

/* index.html 족보 모달 탭 골격: .ranking-subtabs 의 display:flex 가 hidden 속성을 이기지 않게 */
#handGuideTabs[hidden], #handGuideRange[hidden], #handGuideRanks[hidden] { display: none !important; }

/* ── 2단계 (SPEC2 §4.8): 칸 횟수 · 비교 격자(S3, hrc-*) · 히트 격자(S5) · 비교 상세 시트 ─────────── */
.hr-count { position: absolute; right: 1.5px; bottom: 1px; font-size: 8px; font-weight: 800; line-height: 1; letter-spacing: 0; opacity: .92; pointer-events: none; }
.hr-grid.is-compare .hr-cell.is-unseen { background: var(--rec-unseen, #221b14); color: #5c4d3e; }
.hr-grid.is-compare .hr-cell.is-same-fold,
.hr-grid.is-compare .hr-cell.is-narrow { background: var(--rec-fold-fill, #5a4a3c); color: #e6d5ab; }
.hr-grid.is-compare .hr-cell.is-same-enter,
.hr-grid.is-compare .hr-cell.is-wide { background: var(--rec-jam); color: #fff; }
/* 차트의 진입 범위 = 노란 inset 테두리 (채움 위에) */
.hr-grid.is-compare .hr-cell.is-chart { box-shadow: inset 0 0 0 1.5px var(--rec-chart-line, #ffe680); }
/* 좁게: 차트 진입 칸을 폴드 → 폴드 채움 + 2px 테두리 */
.hr-grid.is-compare .hr-cell.is-narrow { box-shadow: inset 0 0 0 2px var(--rec-chart-line, #ffe680); }
/* 넓게: 차트 폴드 칸에 진입 → 진입 채움 + 빨간 모서리 플래그 (어두운 1px 테 위에 #ff6b4a) */
.hr-grid.is-compare .hr-cell.is-wide::before,
.hr-grid.is-compare .hr-cell.is-wide::after {
  content: ""; position: absolute; left: 0; top: 0; width: 0; height: 0;
  border-style: solid; border-color: #241703 transparent transparent transparent; border-width: 9px 9px 0 0;
  pointer-events: none;
}
.hr-grid.is-compare .hr-cell.is-wide::after { border-color: #ff6b4a transparent transparent transparent; border-width: 7.5px 7.5px 0 0; }
/* 경계 칸 점선은 기존 .hr-cell.is-close::after 를 쓴다 — 넓게 플래그(::after)와 겹치지 않게 넓게 칸은 ::before 만 점선 */
.hr-grid.is-compare .hr-cell.is-wide.is-close::before { border: 1px dashed rgba(255, 243, 224, .78); border-radius: calc(var(--hr-radius, 4px) - 1px); inset: 2px; width: auto; height: auto; left: auto; top: auto; }
.hr-grid.is-compare .hr-cell.is-wide.is-close::after { display: none; }
/* 표본 적음(seen < compare_cell_min_seen): 강조(테두리·플래그) 생략, 채움만 */
.hr-grid.is-compare .hr-cell.is-thin.is-narrow { box-shadow: inset 0 0 0 1.5px var(--rec-chart-line, #ffe680); }
.hr-grid.is-compare .hr-cell.is-thin.is-narrow:not(.is-chart) { box-shadow: none; }
.hr-grid.is-compare .hr-cell.is-thin.is-wide::before, .hr-grid.is-compare .hr-cell.is-thin.is-wide::after { display: none; }
.hr-grid.is-compare .hr-cell.is-selected { box-shadow: inset 0 0 0 2px var(--rec-sel), 0 0 0 2px rgba(255, 230, 128, .5); z-index: 1; }
.hr-grid.is-compare .hr-count { right: 2px; bottom: 1.5px; }
.hr-grid.is-compare .hr-cell.is-unseen .hr-count { display: none; }
/* 횟수가 있는 칸은 핸드 글자를 살짝 올려 8px 숫자와 겹치지 않게 */
.hr-grid.is-compare .hr-cell:has(.hr-count) .hr-hand { transform: translateY(-3px); }

/* 히트 격자 (손익표): 핸드 글자는 위, 받은 횟수는 오른쪽 아래 (8px) */
.hr-grid.is-heat .hr-cell { align-items: flex-start; padding-top: 4px; box-sizing: border-box; color: #d4c4aa; }
.hr-grid.is-heat .hr-hand { font-size: 9.5px; line-height: 1; }
.hr-grid.is-heat .hr-cell.is-strong { color: #fff3e0; }
.hr-grid.is-heat .hr-cell.is-strong .hr-hand { text-shadow: 0 1px 1px rgba(0, 0, 0, .45); }
.hr-grid.is-heat .hr-cell.is-none { color: #6b5d4e; }
.hr-grid.is-heat .hr-cell.is-thin { opacity: .55; }
.hr-grid.is-heat .hr-count { right: 2px; bottom: 2px; font-size: 8px; opacity: 1; color: #a8957a; }
.hr-grid.is-heat .hr-cell.is-strong .hr-count { color: rgba(255, 243, 224, .82); }
.hr-grid.is-heat .hr-cell.is-selected { z-index: 2; }
.hr-grid.is-heat .hr-cell.is-selected .hr-count { right: 4px; bottom: 3.5px; }
.hr-heat-legend { flex: 0 0 auto; width: 132px; display: grid; gap: 3px; }
.hr-heat-bar { position: relative; height: 8px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(156, 117, 63, .45); background: linear-gradient(90deg, #c0392b 0%, #44382e 50%, #3f9a5a 100%); }
.hr-heat-bar.is-net::after { content: ""; position: absolute; left: calc(50% - 0.5px); top: -2px; bottom: -2px; width: 1px; background: var(--cocoa-muted); opacity: .8; }
.hr-heat-bar.is-dealt { background: linear-gradient(90deg, #44382e 0%, #c9ae76 100%); }
.hr-heat-bar.is-vpip { background: linear-gradient(90deg, #44382e 0%, #e4572e 100%); }
.hr-heat-scale { display: flex; justify-content: space-between; font-size: 9.5px; font-weight: 800; line-height: 1; color: var(--cocoa-muted); font-variant-numeric: tabular-nums; }
.hr-heat-scale .is-neg { color: #ff8a70; }
.hr-heat-scale .is-pos { color: var(--rec-pos); }

/* 내 플레이 비교 (S3, hrc-*) */
.hrc-root { min-width: 0; }
.hrc-filters { margin: 0 0 8px; gap: 6px; }
.hrc-filters .rec-chip { color: var(--cocoa-text); }
.hrc-filters .rec-chip.hrc-scope { margin-left: auto; }
.rec-stat-strip.hrc-strip { display: block; padding: 10px; border-radius: 12px; margin: 0 0 8px; }
.hrc-strip-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; flex-wrap: wrap; row-gap: 6px; }
.hrc-strip-total { font-size: 12px; font-weight: 700; color: var(--cocoa-muted); white-space: nowrap; }
.hrc-strip-none { font-size: 12px; font-weight: 700; color: var(--cocoa-text); word-break: keep-all; }
.hrc-strip-match { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; min-width: 0; }
.hrc-match-label { font-size: 12px; font-weight: 800; color: var(--cocoa-text); }
.hrc-match-pct { font-size: 22px; line-height: 1; color: var(--cocoa-title); }
.hrc-strip-pills { display: flex; gap: 5px; flex: 0 0 auto; }
.hrc-strip-pills .rec-pill { font-size: 11px; padding: 3px 8px 3px 6px; gap: 4px; }
/* 알약 안 미니 칸 = 격자의 좁게/넓게 표시 (범례 겸용) */
.hrc-mini { position: relative; display: inline-block; flex: 0 0 auto; width: 10px; height: 10px; border-radius: 2.5px; overflow: hidden; box-sizing: border-box; }
.hrc-mini.is-narrow { background: var(--rec-fold-fill, #5a4a3c); box-shadow: inset 0 0 0 1.5px var(--rec-chart-line, #ffe680); }
.hrc-mini.is-wide { background: var(--rec-jam); }
.hrc-mini.is-wide::before, .hrc-mini.is-wide::after {
  content: ""; position: absolute; left: 0; top: 0; width: 0; height: 0;
  border-style: solid; border-color: #241703 transparent transparent transparent; border-width: 6.5px 6.5px 0 0;
}
.hrc-mini.is-wide::after { border-color: #ff6b4a transparent transparent transparent; border-width: 5px 5px 0 0; }
.hrc-strip-sub { margin-top: 7px; padding-top: 7px; border-top: 1px solid rgba(156, 117, 63, .35); font-size: 10.5px; line-height: 1.5; font-weight: 600; color: var(--cocoa-muted); word-break: keep-all; }
.hrc-strip-sub .hrc-dot { margin: 0 3px; opacity: .6; }
.hrc-legend { margin: 0 1px 7px; font-size: 10.5px; line-height: 1.45; font-weight: 700; color: var(--cocoa-muted); }
.hrc-legend-line { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 4px; word-break: keep-all; }
.hrc-legend-line + .hrc-legend-line { margin-top: 3px; }
.hrc-legend-line > .hrc-sw + span { flex: 1 1 0; min-width: 0; } /* 긴 번역(en)에서 문장이 견본 아래로 통째로 내려가지 않게 — 견본 옆에서 줄바꿈 */
.hrc-legend .hrc-dot { color: rgba(212, 196, 170, .55); margin: 0 1px; }
.hrc-sw { display: inline-block; flex: 0 0 auto; width: 11px; height: 11px; border-radius: 2.5px; box-sizing: border-box; margin-right: 1px; }
.hrc-sw.is-chart { background: var(--rec-unseen, #221b14); box-shadow: inset 0 0 0 1.5px var(--rec-chart-line, #ffe680); }
.hrc-sw.is-enter { background: var(--rec-jam); }
.hrc-sw.is-fold { background: var(--rec-fold-fill, #5a4a3c); }
.hrc-sw.is-unseen { background: var(--rec-unseen, #221b14); box-shadow: inset 0 0 0 1px rgba(156, 117, 63, .45); }
.hrc-sw.is-close { background: var(--rec-unseen, #221b14); box-shadow: inset 0 0 0 1px rgba(255, 243, 224, .78); outline: 1px dashed rgba(255, 243, 224, .78); outline-offset: -2px; }
.hrc-lg-item { display: inline-flex; align-items: center; gap: 4px; }
/* 범례 2행 구분점은 항목 앞에 붙인다(독립 노드가 아님) — 줄바꿈이 항목 사이에서 일어나도 점이 앞 줄 끝에 남지 않는다 */
.hrc-lg-item + .hrc-lg-item::before { content: "·"; color: rgba(212, 196, 170, .55); margin: 0 2px 0 1px; }
.hrc-stage { min-width: 0; transition: opacity .12s ease; }
.hrc-stage.is-busy { opacity: .5; }
.hrc-after { min-width: 0; margin-top: 8px; }
.hrc-strip-slot .rec-idx-note { margin: -2px 2px 8px; }

/* 비교 상세 시트 — 뷰어 독과 같은 높이 규칙: 선택 없음 68px 한 줄, 선택 시 min(45dvh, 320px) 스크롤 */
.rec-dock.hrc-sheet { min-height: 68px; max-height: min(45dvh, 320px); overflow-y: auto; }
.rec-dock-handle { display: block; width: 36px; height: 4px; margin: -2px auto 7px; border-radius: 2px; background: rgba(212, 196, 170, .45); }
.hrc-sheet-head { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.hrc-sheet-hand { font-size: 24px; line-height: 1; color: var(--cocoa-title); }
.hrc-sheet-sub { flex: 1 1 auto; min-width: 0; font-size: 11px; font-weight: 700; color: var(--cocoa-muted); word-break: keep-all; }
.hrc-sheet-x { flex: 0 0 auto; align-self: center; margin: -6px -6px -6px 0; }
.hrc-sheet-line { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--cocoa-text); word-break: keep-all; }
.hrc-sheet-line .rec-pill { font-size: 11px; padding: 3px 9px; white-space: normal; }
.hrc-sheet-mix { margin-top: 7px; }
.hrc-mix-label { display: block; margin-bottom: 3px; font-size: 10.5px; font-weight: 800; color: var(--cocoa-muted); }
.hrc-sheet-me span + span { margin-left: 2px; }
.hrc-links { margin-top: 7px; display: flex; flex-direction: column; gap: 4px; }
.hrc-link-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hrc-link-date { color: #c9ae76; }
.hrc-link-name { color: #fff3bf; }
.hrc-link-net { flex: 0 0 auto; font-weight: 800; font-variant-numeric: tabular-nums; }
.hrc-link-text .hrc-dot { color: rgba(212, 196, 170, .5); margin: 0 2px; }
.hrc-chev { flex: 0 0 auto; color: #f5c96b; font-size: 15px; font-weight: 800; line-height: 1; }
.hrc-more { margin-top: 6px; min-height: 34px; }
.hrc-sheet-loading { margin: 8px 0 0; font-size: 11px; font-weight: 700; color: var(--cocoa-muted); }
.hrc-sheet-note { margin: 6px 0 0; font-size: 10.5px; font-weight: 600; line-height: 1.45; color: #e9d9b9; word-break: keep-all; }
.hrc-sheet-foot { margin: 9px 0 0; font-size: 10px; line-height: 1.45; font-weight: 600; color: var(--cocoa-muted); word-break: keep-all; }
/* 비교 뷰의 본문 아래 여백 = 시트 높이 변수 (range-compare.js 가 68px / 320px 로 둔다) */
#lobbyFeatureBody[data-rec-tab="range"][data-rec-view="compare"] {
  padding-bottom: calc(var(--hrc-sheet-h, 68px) + 10px + var(--holdem-safe-area-bottom, 0px));
  scroll-padding-bottom: calc(var(--hrc-sheet-h, 68px) + 10px);
}
