/* 고수 판 보기(v4.9, replay.js) */
.replay-open { display: block; width: 100%; margin: 8px 0 4px; padding: 7px 10px; font: 0.9rem var(--display); color: #5a2a8a; background: #f6efff; border: 1.5px dashed #b48ad8; border-radius: 12px; cursor: pointer; }
.update-dlg.replay-dlg { width: min(420px, calc(100vw - 16px)); max-height: calc(100dvh - 16px); overflow-y: auto; }
.replay-dlg h2 { margin: 0 0 2px; color: #7a3fb0; }
.rp-sub { margin: 0 0 8px; font-size: 0.85rem; }
.rp-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rp-list li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 12px; background: #fff; border: 1.5px solid #e4d6f2; }
.rp-list li.empty { justify-content: center; font-size: 0.85rem; }
.rp-list b { flex: 1; min-width: 0; font: 0.95rem var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-rank { font: 0.95rem var(--display); color: #7a3fb0; width: 1.2em; text-align: center; }
.rp-pts { font: 0.9rem var(--display); font-variant-numeric: tabular-nums; }
.rp-play[hidden], .rp-list[hidden] { display: none; }
.rp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.rp-head b { font: 1rem var(--display); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-time { font: 0.95rem var(--display); color: #7a3fb0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rp-score { position: relative; text-align: center; margin: 2px 0 4px; }
.rp-score em { font: 1.6rem var(--display); font-style: normal; font-variant-numeric: tabular-nums; }
.rp-score i { position: absolute; left: 60%; top: 0; font: 1rem var(--display); font-style: normal; color: #c07a00; opacity: 0; }
.rp-score i.on { animation: rpGain 0.9s ease-out; }
@keyframes rpGain { 0% { opacity: 1; transform: translateY(6px); } 100% { opacity: 0; transform: translateY(-14px); } }
.rp-field { display: block; width: 100%; aspect-ratio: 320 / 232; height: auto; border-radius: 12px; border: 2px solid #7a3fb0; background: #a9d58e; }
.rp-bar { height: 8px; border-radius: 99px; background: #e4d6f2; overflow: hidden; border: 1.5px solid var(--ink); margin: 8px 0; }
.rp-bar i { display: block; height: 100%; background: #b48ad8; transform-origin: left; transform: scaleX(0); }
.replay-dlg .row { display: flex; gap: 6px; margin-top: 6px; }
.replay-dlg .row .btn { flex: 1; padding-left: 6px; padding-right: 6px; }
@media (prefers-reduced-motion: reduce) { .rp-score i.on { animation: none; opacity: 1; } }
.rp-tip { margin: 0 0 6px; text-align: center; font-size: 0.82rem; color: #7a3fb0 !important; }
/* 결과 카드 「기록과 대결 · 고수 판 보기」 한 줄(v4.18.1) */
.rec-pair { display: flex; justify-content: center; gap: 6px; margin: 4px auto 2px; }
.rec-pair .rec-end { margin: 0; }
.rp-end { color: #5a2a8a; border-color: #b48ad8; background: #f6efff; }
/* 폰 같은 판 결과 카드는 기록 대결 줄을 숨김(daily-share.js와 같은 조건) — 묶은 줄도 같이 */
@media (max-width: 899px) { #endOv.daily-result .card > .rec-pair { display: none; } }
