/* players: styles that only this screen uses. Shared pieces live in app.css. */
.pl-scope{font-size:var(--fs-12);color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl-tbl td{height:56px}
.pl-row{cursor:pointer}
.pl-open{font-size:var(--fs-12);font-weight:600;color:var(--text);border-radius:4px}
.pl-row:hover .pl-open{color:var(--accent-text)}
.pl-open:focus-visible{box-shadow:var(--ring)}
.pl-tbl th,.pl-tbl td{padding-left:10px;padding-right:10px}
.pl-linkcell{max-width:250px}
.pl-where{display:flex;align-items:baseline;gap:5px;min-width:0;font-size:var(--fs-12);color:var(--text-3)}
.pl-where span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:0 1 auto}
.pl-where .mono:first-child{flex:none}
.pl-where i{font-style:normal;color:var(--text-4,var(--text-3))}
.pl-click{max-width:200px}
/* A laptop: the two cells that can give way do, so a hybrid deal's nine columns still fit. */
@media (max-width:1380px){.pl-linkcell{max-width:168px}.pl-click{max-width:132px}}
.pl-click span{overflow:hidden;text-overflow:ellipsis}
.pl-click .mono:first-child{font-size:var(--fs-12);color:var(--text)}
.pl-click .mono.muted:first-child{color:var(--text-3);font-family:inherit}
.pl-cpa{display:flex;flex-direction:column;align-items:flex-start;gap:3px}

/* The player's details. On a wide screen the dialog is a panel on the right edge; on a phone it stays a sheet. */
@media (min-width:701px){
  .modal-root:has(.pl-detail){justify-content:flex-end;align-items:stretch;padding:0}
  .modal:has(.pl-detail){max-width:440px;height:100%;max-height:none;border-radius:0;animation:pl-slide .22s var(--ease)}
  .modal:has(.pl-detail) .modal-body{flex:1 1 auto}
  .modal:has(.pl-detail) .modal-foot{border-radius:0}
}
@keyframes pl-slide{from{transform:translateX(28px);opacity:0}}
.pl-detail{display:flex;flex-direction:column;gap:var(--s-5)}
.pl-id{display:flex;align-items:center;justify-content:space-between;gap:var(--s-3);padding:10px 10px 10px 14px;border-radius:var(--r-lg);background:var(--bg-subtle);box-shadow:inset 0 0 0 1px var(--border)}
.pl-id>div{display:flex;flex-direction:column;gap:1px;min-width:0}
.pl-id .kpi-label{font-size:var(--fs-12)}
.pl-id b{font-size:var(--fs-16);font-weight:600}
.pl-marks{display:flex;flex-wrap:wrap;gap:6px;margin-top:calc(var(--s-2)*-1)}
.pl-h{display:flex;align-items:baseline;justify-content:space-between;gap:var(--s-3);font-size:var(--fs-13);font-weight:600;margin-bottom:var(--s-1)}
.pl-h span{font-size:var(--fs-12);font-weight:400;color:var(--text-3)}
.pl-detail .kv>div{min-height:36px}
.pl-detail .kv dd{overflow:hidden;text-overflow:ellipsis}
.pl-detail .kv dd.mono{font-size:var(--fs-12)}
.pl-detail .kv dd.muted{font-weight:400}
.pl-detail .kv .pl-sum{min-height:44px}
.pl-sum dt{color:var(--text);font-weight:600}
.pl-sum dd{font:600 var(--fs-16)/1.3 var(--font-figure)}
.pl-link{display:block;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-tl{display:flex;flex-direction:column;margin-top:var(--s-2)}
.pl-tl li{position:relative;display:flex;gap:12px;padding-bottom:18px}
.pl-tl li:last-child{padding-bottom:0}
.pl-tl li:not(:last-child)::before{content:'';position:absolute;left:13.5px;top:32px;bottom:4px;width:1px;background:var(--border-strong)}
.pl-tl li.quiet .pl-dot{background:none;box-shadow:inset 0 0 0 1px var(--border-strong);color:var(--text-3)}
.pl-tl li.quiet b{font-weight:500;color:var(--text-2)}
.pl-step{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px;padding-top:4px;font-size:var(--fs-13)}
.pl-step-top{display:flex;align-items:baseline;justify-content:space-between;gap:var(--s-3)}
.pl-step-val{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.pl-step time,.pl-step p{font-size:var(--fs-12);color:var(--text-3);line-height:1.45}
.pl-privacy{display:flex;gap:8px;align-items:flex-start}
.pl-privacy svg{width:14px;height:14px;flex:none;margin-top:2px}

@media (max-width:700px){
  .pl-bar .pop{flex:1 1 40%}
  .pl-bar .pop .ctl{width:100%}
  .pl-linkcell{max-width:168px}
  .pl-scope{display:none}
  .pl .daterange{flex:1 1 auto;min-width:0}
  .pl-export{flex:none;width:var(--h-md);padding:0}
  .pl-export span{display:none}
}
.pl-detail .kv dd.mono{font-weight:400}
