/* CPU戦のレビュー(管理者専用)。基本のデザイン・セグメント・リストは /assets/style.css、 ハンドレンジの色・点数の印(.rv-color / .rv-mark など)は style.css の「レビュー付きCPU戦」を使う */ /* 点数の色(◎ ○ △ ✕ と同じ段階) */ .score-great { color: var(--green); } .score-good { color: #64b96a; } .score-warn { color: var(--orange); } .score-bad { color: var(--red); } .score-none { color: var(--label-2); } /* 対局の一覧 */ .rv-sessions { margin-bottom: 28px; } .rv-session { -webkit-appearance: none; appearance: none; width: 100%; border: 0; text-align: left; } .rv-session-name { display: flex; align-items: center; gap: 8px; font-weight: 600; } /* 概要とタイル(ウィジェットのような小さな面) */ .rv-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; } .rv-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; } .rv-tile { display: grid; gap: 2px; min-width: 0; padding: 12px 14px; border-radius: 16px; background: var(--bg-2); } .rv-tile span { color: var(--label-2); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em; } .rv-tile b { font-family: var(--font-num); font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; } .rv-tile small { color: var(--label-2); font-size: 0.6875rem; line-height: 1.45; } .rv-tabs { margin-bottom: 14px; } .rv-tabs .seg-btn { padding: 4px 2px; font-size: 0.8125rem; } #tab-body > .hint, .review-wrap p.hint { margin: 10px 4px; } /* 表 */ .rv-table-wrap { margin-top: 8px; overflow-x: auto; border-radius: 14px; background: var(--bg-2); } .rv-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; } .rv-table th, .rv-table td { padding: 9px 8px; border-bottom: 0.5px solid var(--separator); text-align: left; white-space: nowrap; } .rv-table th { color: var(--label-2); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em; } .rv-table .num { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; } .rv-table tbody tr[data-hand] { cursor: pointer; transition: background-color 0.35s ease; } .rv-table tbody tr[data-hand]:active { background: var(--fill-3); transition: none; } .rv-table tbody tr[data-hand]:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; } @media (hover: hover) { .rv-table tbody tr[data-hand]:hover { background: var(--fill-3); } } .rv-table tfoot td { border-bottom: 0; font-weight: 700; } .rv-hand-cell b { margin-right: 2px; } .rv-table .rv-color { padding: 1px 6px; font-size: 0.6875rem; } .rv-leaks { display: grid; gap: 6px; margin: 0; padding: 12px 14px 12px 32px; border-radius: 14px; background: var(--bg-2); font-size: 0.9375rem; } .rv-leaks b { color: var(--orange); } /* 見直したいハンド */ .rv-worst { overflow: hidden; border-radius: 14px; background: var(--bg-2); } .rv-worst-item { -webkit-appearance: none; appearance: none; position: relative; width: 100%; display: grid; grid-template-columns: 32px 1fr; gap: 2px 10px; align-items: center; padding: 11px 14px; border: 0; background: transparent; color: var(--label); text-align: left; cursor: pointer; transition: background-color 0.35s ease; } .rv-worst-item + .rv-worst-item::before { content: ""; position: absolute; top: 0; right: 0; left: 56px; border-top: 0.5px solid var(--separator); } .rv-worst-item:active { background: var(--fill-3); transition: none; } .rv-rank { grid-row: span 2; color: var(--orange); font-family: var(--font-num); font-size: 1.375rem; font-weight: 700; text-align: center; } .rv-worst-meta { color: var(--label-2); font-size: 0.75rem; font-variant-numeric: tabular-nums; } .rv-worst-item .rv-color { width: 14px; height: 14px; padding: 0; vertical-align: -2px; } /* 収支のグラフ(実際 = 実線、運を除く = 破線。色だけに頼らない) */ .rv-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 4px 8px; font-size: 0.8125rem; } .sw { display: inline-block; width: 16px; height: 0; margin-right: 6px; border-top: 2px solid; vertical-align: middle; } .sw.actual { border-color: var(--orange); } .sw.ev { border-color: var(--blue); border-top-style: dashed; } .rv-chart { position: relative; padding: 10px; border-radius: 16px; background: var(--bg-2); } .rv-chart svg { display: block; width: 100%; height: auto; touch-action: pan-y; } .rv-chart .gl { stroke: var(--separator); stroke-width: 0.5; } .rv-chart .zero { stroke: var(--label-3); stroke-width: 1; stroke-dasharray: 2 3; } .rv-chart .tick { fill: var(--label-2); font-size: 11px; font-variant-numeric: tabular-nums; } .rv-chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; } .rv-chart .line.actual { stroke: var(--orange); } .rv-chart .line.ev { stroke: var(--blue); stroke-dasharray: 6 4; } .rv-chart .cross { stroke: var(--label-3); stroke-width: 1; } .rv-chart .dot { stroke: var(--bg-2); stroke-width: 2; } .rv-chart .dot.actual { fill: var(--orange); } .rv-chart .dot.ev { fill: var(--blue); } .rv-chart .hit { fill: transparent; cursor: crosshair; } .rv-tip { position: absolute; top: 10px; padding: 7px 11px; border-radius: 12px; background: var(--material-thick); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: var(--shadow-m), inset 0 0 0 0.5px var(--material-edge); font-size: 0.75rem; font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; } /* リプレイ */ .rv-note { margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: var(--bg-2); font-size: 0.8125rem; } .rv-copy { margin-top: 10px; } .rv-board-box { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding: 12px 14px; border-radius: 18px; background: radial-gradient(120% 140% at 30% 20%, var(--felt-hi), var(--felt) 50%, var(--felt-lo)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25), inset 0 8px 20px rgba(0, 0, 0, 0.25); } .rv-board { display: flex; gap: 4px; } .rv-pot { color: #fff; font-family: var(--font-num); font-weight: 700; font-variant-numeric: tabular-nums; } .rv-step { min-height: 68px; margin-top: 10px; padding: 10px 14px; border-radius: 14px; background: var(--bg-2); font-size: 0.9375rem; } .rv-step-title { margin-bottom: 2px; color: var(--label-2); font-size: 0.75rem; font-weight: 600; } .rv-controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; } .rv-controls .btn { padding: 10px 0; } .rv-controls .btn .i { width: 20px; height: 20px; } .rv-analysis { margin-top: 10px; padding: 4px 14px 12px; border-radius: 14px; background: var(--bg-2); box-shadow: inset 0 0 0 1.5px var(--orange); } .rv-ev { margin-top: 6px; } .rv-ev tr.actual td { background: rgba(255, 149, 0, 0.1); } .rv-ev .best { color: var(--green); } .rv-players { display: grid; gap: 6px; margin-top: 12px; } .rv-player { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 14px; background: var(--bg-2); box-shadow: inset 0 0 0 0 transparent; transition: box-shadow 0.3s ease, opacity 0.3s ease; } .rv-player.hero { box-shadow: inset 0 0 0 1.5px var(--tint-soft); } .rv-player.acting { box-shadow: inset 0 0 0 2px var(--orange); } .rv-player.folded { opacity: 0.5; } .rv-player-info { min-width: 0; font-size: 0.875rem; } .rv-player-act { color: var(--label-2); font-size: 0.75rem; font-weight: 700; text-align: right; } .rv-pos { margin-left: 4px; color: var(--tint); font-size: 0.6875rem; font-weight: 700; } .rv-log { display: flex; flex-wrap: wrap; gap: 6px; } .rv-log-street { width: 100%; margin-top: 6px; color: var(--label-2); font-size: 0.6875rem; font-weight: 600; } .rv-log-item { -webkit-appearance: none; appearance: none; padding: 5px 10px; border: 0; border-radius: 999px; background: var(--bg-2); color: var(--label); font-size: 0.75rem; cursor: pointer; box-shadow: inset 0 0 0 0.5px var(--separator); transition: background-color 0.25s ease, color 0.25s ease, transform 0.45s var(--ease-spring); } .rv-log-item:active { transform: scale(0.94); transition: transform 0.1s ease-out; } .rv-log-item .hint { margin: 0 4px; font-size: 0.6875rem; } .rv-log-item.mine { box-shadow: inset 0 0 0 1.5px var(--tint); } .rv-log-item.current { background: var(--orange); color: var(--on-orange); } .rv-log-item.current .hint { color: rgba(0, 0, 0, 0.6); } .plus { color: var(--green); } .minus { color: var(--red); }