/* The turn recap strip (recap.js, docs/ux/opponent-turns.md option 1): in an opponent's head (on the right), thumbnails of what they did on their last turn, in order. */
.tui-recap { box-sizing: border-box; display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 0 4px; min-width: 0; flex: 0 1 auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 14px), transparent); }
.tui[data-seats="3"] .tui-recap-l, .tui[data-seats="4"] .tui-recap-l { display: none; }
@media (max-width: 899px) { .tui-recap-l { display: none; } }
.tui-recap-l { flex: none; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--tui-muted, #8a96a6); max-width: 7em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tui-recap-items { display: flex; align-items: center; gap: 9px; min-width: 0; overflow: hidden; padding: 3px 8px 0 0; }
.tui-recap-i { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; cursor: default; }
.tui-recap-i [data-tid], .tui-recap-i > * { pointer-events: none; }
.tui-recap-i > .pt-thumb, .tui-recap-i > .th { width: 22px; height: auto; margin: 0; }
.tui-recap-i img, .tui-recap-i .pt-back, .tui-recap-i .fc-back { width: 22px; height: 31px; display: block; border-radius: 3px; object-fit: cover; }
.tui-recap-b { position: absolute; left: -2px; right: -2px; bottom: 0; justify-content: center; white-space: nowrap; font-size: 7px; line-height: 10px; font-weight: 800; color: #fff; background: rgba(8, 11, 15, .85); text-transform: uppercase; letter-spacing: 0; display: flex; justify-content: center; gap: 2px; border-radius: 3px; }
.tui-recap-from { position: absolute; left: -3px; top: -3px; font-style: normal; font-size: 7px; line-height: 9px; font-weight: 800; text-transform: uppercase; padding: 0 2px; border-radius: 3px; background: var(--tui-gold, #e3b95f); color: #111; }
.tui-recap-to { position: absolute; top: -4px; right: -6px; font-style: normal; font-size: 10px; line-height: 12px; padding: 0 2px; border-radius: 6px; background: var(--tui-panel, #151b22); color: #fff; }
.tui-recap-i.k-attack .tui-recap-b { color: #ffb3b3; }
.tui-recap-i { height: 31px; }
.tui-recap-i.at-me { outline: 2px solid var(--tui-bad, #ef5b5b); outline-offset: 1px; border-radius: 4px; }
.tui-recap-i.at-me .tui-recap-b { background: var(--tui-bad, #ef5b5b); }
.tui-recap-txt { font-size: 9px; max-width: 56px; max-height: 26px; overflow: hidden; line-height: 1.1; color: #cfd6df; }
.tui-recap-more { flex: none; font-size: 12px; font-weight: 700; color: var(--tui-muted, #8a96a6); }
.tui-recap-i { cursor: pointer; }
.tui-recap-i > * { pointer-events: none; }

.tui[data-seats="2"] .tui-recap-i { height: 36px; }
.tui[data-seats="2"] .tui-recap-i img, .tui[data-seats="2"] .tui-recap-i .pt-back, .tui[data-seats="2"] .tui-recap-i .fc-back { width: 26px; height: 36px; }

.tui-recap-replay { flex: none; width: 28px; min-width: 28px; height: 28px; min-height: 28px; padding: 0; justify-content: center; font-size: 12px; line-height: 1; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid var(--tui-line, rgba(255, 255, 255, .15)); color: #cfd6df; position: relative; }
.tui-recap-replay::after { content: ''; position: absolute; inset: -8px; } /* the visible button is small, the touch target 44px */
