/* Episode identity and actions share one compact row, without text-sized buttons. */
body:not(.tv) #player-app .detail-page .episode-row{display:grid;grid-template-columns:120px minmax(0,1fr) 100px;align-items:center;box-sizing:border-box;height:100px;min-height:100px;padding:10px;gap:12px;margin:0;border-radius:17px}
body:not(.tv) #player-app .episode-image{width:100%;height:auto;aspect-ratio:16/9;min-height:0;border-radius:11px}
body:not(.tv) #player-app .episode-info{min-width:0}
body:not(.tv) #player-app .episode-info h3{margin:0;font-size:14px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:not(.tv) #player-app .episode-info small{display:block;margin-top:2px;font-size:10px;line-height:1.3}
body:not(.tv) #player-app .episode-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:11px;line-height:1.35;margin:3px 0 0}
body:not(.tv) #player-app .episode-progress{display:block;height:3px;width:100%;margin:4px 0 0}
@media(max-width:650px){body:not(.tv) #player-app .detail-page .episode-row{grid-template-columns:64px minmax(0,1fr) 96px;height:auto;min-height:64px;padding:8px;gap:8px}body:not(.tv) #player-app .episode-info h3{font-size:13px}body:not(.tv) #player-app .episode-image{border-radius:9px}body:not(.tv) #player-app .episode-grid{gap:8px}}

/* Compact actions shared by touch, mouse and remote. */
body #player-app .episode-row .episode-actions{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px}
body #player-app .episode-row .episode-actions>button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid #91abc34d;border-radius:50%;font-size:0;line-height:0;box-shadow:none;transition:background-color .15s,border-color .15s,color .15s}
body #player-app .episode-row .episode-actions .episode-play{background:#bbf779;color:#142413;border-color:#c9fa95}
body #player-app .episode-row .episode-actions .watched-toggle{background:#142333;color:#a8bacb}
body #player-app .episode-row .episode-actions .watched-toggle[aria-pressed=true]{background:#bbf779;color:#142413;border-color:#c9fa95}
body #player-app .episode-action-icon{display:block;flex:none;width:22px;height:22px;pointer-events:none}
body #player-app .episode-row .episode-actions>button:focus-visible{outline:2px solid #d5ffa6;outline-offset:3px}
@media(hover:hover){body #player-app .episode-row .episode-actions>button:hover{border-color:#d5ffa6;background:#d0ffa0;color:#142413}}
body #player-app .episode-row .episode-actions>button:disabled{opacity:.4;cursor:not-allowed}
@media(prefers-reduced-motion:reduce){body #player-app .episode-row .episode-actions>button{transition:none}}

/* Keep actions beside episode identity at mobile widths; the legacy layout spans them across a second row. */
body:not(.tv) #player-app .episode-row .episode-actions{grid-column:3;grid-row:1}
