.match-history{font:13px/1.7 CinemaInterface,'Microsoft YaHei',sans-serif;color:var(--text)}.match-history h3{font-size:16px;margin:0 0 16px}.match-history-round{padding:12px 0;border-bottom:1px solid var(--border)}.match-history-round>summary{cursor:pointer;display:flex;flex-wrap:wrap;gap:5px 10px;align-items:center;list-style:none}.match-history-round>summary::before{content:'▸';color:var(--text-3)}.match-history-round[open]>summary::before{content:'▾'}.match-history-round>summary>b{font-size:13px}.match-history-round>summary>span{flex-basis:100%;font-size:12px;color:var(--text-2);padding-left:15px}.match-history-round>summary>small{font-size:10px;color:var(--text-3);margin-left:auto}.match-history-empty{color:var(--text-2);font-size:12px;line-height:1.8}.match-outcomes{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.match-outcome{display:inline-block;padding:4px 7px;border-radius:5px;font-size:11px;line-height:1.5;background:var(--surface-2);color:var(--text-2)}.match-outcome.win{background:#e4f5e9;color:#28734d}.match-outcome.loss{background:#fcebee;color:#a73e54}.match-steps{list-style:none;margin:12px 0;padding:0;display:grid;gap:12px}.match-steps>li{display:flex;flex-direction:column;gap:3px;min-width:0;font-size:12px;overflow-wrap:anywhere}.match-steps time{font-size:10px;color:var(--text-3);padding-left:10px}.match-steps button{font-size:12px;text-align:left;color:var(--brand);background:none;border:0;border-radius:0;padding:3px 0;box-shadow:none;justify-content:flex-start!important;line-height:1.8;white-space:normal}#app .match-open-replay{font-size:12px;min-height:38px;padding:6px 0;background:none;border:0;box-shadow:none;color:var(--brand)}#app .match-open-replay[hidden]{display:none}.replay-result{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:15px 0}.replay-result>b{flex-basis:100%;font-size:14px;font-weight:500}.replay-list-result{font-size:13px;color:var(--brand)}.replay-round-steps,.replay-hand-details{padding:18px 0 0;border-top:1px solid var(--border);margin-top:22px}.replay-round-steps>summary,.replay-hand-details>summary{font-size:14px;cursor:pointer}.replay-step-list{max-height:300px;overflow:auto;list-style:none;margin:15px 0 0;padding:0;display:grid;gap:5px}.replay-step-list button{display:block!important;white-space:normal!important;font-size:12px!important;line-height:1.8!important;text-align:left!important;justify-content:flex-start!important;min-height:36px!important;border:0!important;border-radius:6px!important;background:none!important;color:var(--text-2)!important;box-shadow:none!important;padding:8px 12px!important;width:100%}.replay-step-list button[aria-current=step]{background:var(--brand-soft)!important;color:var(--brand)!important}.replay-inline-card{display:inline-block;width:30px;height:45px;flex:none;position:relative;overflow:hidden;border-radius:4px;box-shadow:none;vertical-align:top}.replay-inline-card>img{display:block;width:100%;height:100%;object-fit:fill}.replay-inline-hand{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;height:auto!important;min-height:44px!important;max-width:100%;overflow:visible!important;transform:none!important;perspective:none!important}.replay-inline-hand>.replay-inline-card{position:relative!important;inset:auto!important;transform:none!important;opacity:1!important;visibility:visible!important}.replay-inline-domino{height:42px;width:22px}.replay-board .uno-stock>.replay-inline-card{width:100%;height:100%}.replay-board .kt-stock>.replay-inline-card{width:100%;height:130px}.replay-board .replay-empty-pile{font-size:11px;color:#c7d4e2}.replay-board .dt-hidden-rack.replay-inline-hand{position:relative;left:auto;top:auto;right:auto;bottom:auto;width:100%;min-width:0}.replay-board .dt-seat .replay-inline-domino{width:17px;height:34px}.replay-board .mb-side-panel .replay-inline-card{width:44px;height:66px}
@media(max-width:700px){.replay-inline-card{width:23px;height:35px}.replay-step-list{max-height:220px}.replay-board .uno-opponents .opponent-hand.replay-inline-hand{min-height:25px!important;gap:2px!important}.replay-board .uno-opponents .replay-inline-card{width:18px;height:27px}}

.replay-inline-domino{background:#f3ead8;border:1px solid #c8bfae;border-radius:4px;display:flex;flex-direction:column;box-sizing:border-box;padding:3px}.replay-domino-half{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);flex:1;gap:1px;padding:1px}.replay-domino-half+.replay-domino-half{border-top:1px solid #8e8679;padding-top:3px}.replay-domino-half i{display:block;border-radius:50%;min-width:1px;min-height:1px}.replay-domino-half .pip-filled{background:#273348}

#app .replay-viewer{position:relative}
#app .replay-collapse{position:sticky;top:8px;z-index:8;float:right;margin:0 0 6px 12px;min-height:36px}
#app .replay-viewer .replay-heading{display:flow-root}
#app :is(.replay-board,.room-review-board) :is(
  .uno-actions,.uno-other-toggle,.kt-actions,.kt-future,.mj-actions,
  .card-table-actions,.strategy-actions,.dt-actions,.dm-actions,.pw-actions,.az-actions,.mb-controls,.on-actions,
  .pool-shoot-corner,.pool-controls,.football-controls,.checkers-turn-controls,
  .checkers-secondary-controls,.flight-chess-controls,.scene-toolbar,.game-action-button
){display:none!important}
