/* Highlights of other players' changes, readable log, player clocks, recap. */
@keyframes ct-recent-a{0%{box-shadow:0 0 0 3px #f4ca72,0 0 22px #f4ca72c0}70%{box-shadow:0 0 0 2px #f4ca7280,0 0 12px #f4ca7250}100%{box-shadow:0 2px 7px #0008}}
@keyframes ct-recent-b{0%{box-shadow:0 0 0 3px #f4ca72,0 0 22px #f4ca72c0}70%{box-shadow:0 0 0 2px #f4ca7280,0 0 12px #f4ca7250}100%{box-shadow:0 2px 7px #0008}}
.play-card.recent-change.recent-g0{animation:ct-recent-a 4.5s ease-out 1}
.play-card.recent-change.recent-g1{animation:ct-recent-b 4.5s ease-out 1}
.play-card.recent-enter::after,.play-card.recent-tap::after,.play-card.recent-counter::after{position:absolute;top:-9px;left:50%;transform:translateX(-50%);padding:0 6px;border-radius:8px;background:#f4ca72;color:#1b1406;font:700 10px/16px system-ui,sans-serif;white-space:nowrap;pointer-events:none;z-index:12;animation:ct-recent-label 4.5s ease-out 1 forwards}
.play-card.recent-enter::after{content:'Neu'}
.play-card.recent-tap::after{content:'Getappt'}
.play-card.recent-counter::after{content:'Counter'}
@keyframes ct-recent-label{0%,75%{opacity:1}100%{opacity:0}}
@keyframes ct-located{0%,60%{outline:4px solid #7fd3ff;outline-offset:4px}100%{outline:0 solid transparent;outline-offset:4px}}
.play-card.log-located{animation:ct-located 2.2s ease-out 1;z-index:20}
@media (prefers-reduced-motion:reduce){
 .play-card.recent-change{animation:none!important;outline:3px solid #f4ca72;outline-offset:2px}
 .play-card.recent-change::after{animation:none!important}
 .play-card.log-located{animation:none;outline:4px solid #7fd3ff;outline-offset:4px}
}

.log-tools{gap:10px;flex-wrap:wrap;align-items:center;margin:6px 0}
.log-filter{display:flex;gap:6px;align-items:center;font-size:13px}
.board-overlay .log:has(.game-log){max-height:min(46dvh,520px)}
.game-log{list-style:none;margin:0;padding:0}
.game-log-entry{padding:6px 2px;border-bottom:1px solid #ffffff14;font-size:13px;line-height:1.45}
.game-log-entry>small{display:block;color:var(--muted,#99aebd);font-size:11px}
.game-log-entry ul{margin:2px 0 0;padding-left:18px}
.log-card{padding:0;border:0;background:none;color:#f4ca72;font:inherit;font-weight:700;text-decoration:underline dotted;cursor:pointer}
.log-card:hover,.log-card:focus-visible{color:#ffe3a3}

.player-clock{display:inline-block;margin-left:6px;color:var(--muted,#99aebd);font-variant-numeric:tabular-nums}

.turn-recap{position:fixed;left:14px;bottom:262px;z-index:55;width:min(340px,calc(100vw - 32px));max-height:min(52dvh,460px);overflow:auto;padding:10px 12px;border:1px solid #79929c;border-radius:10px;background:#122530f2;box-shadow:0 8px 24px #0009;font-size:13px}
.turn-recap summary{cursor:pointer}
.turn-recap h4{margin:8px 0 2px;font-size:12px;color:var(--gold,#d7b777)}
.turn-recap ul{margin:0;padding-left:18px}
.turn-recap .row{margin-top:8px;justify-content:flex-end}

/* The decorative battlefield label sat under the board header (avatar/status). */
.battlefield-canvas .battlefield-label{top:auto;left:auto;bottom:4px;right:10px;opacity:.55}
.deck-automation details{border-top:1px solid #ffffff14;padding:6px 0}
.deck-automation summary{cursor:pointer}
.deck-automation summary button{margin-left:8px;font-size:12px}
.deck-automation ul{margin:4px 0 0;padding-left:18px;font-size:13px}
.keyword-cards{display:flex;gap:10px;margin:6px 0 10px}
.keyword-cards img{width:120px;border-radius:7px}
.keyword-options{display:grid;gap:8px;margin-bottom:10px}
.keyword-options label{display:flex;align-items:center;justify-content:flex-start;gap:10px;text-align:left}
.keyword-options input{flex:0 0 auto;width:auto;margin:0}
