.playlist-grid { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 16px; align-items: start; }
.playlist-grid > .card { min-width: 0; }
.playlist-grid > .card:first-child .card-h { flex-wrap: wrap; }
.pl-list .it b { min-width: 0; overflow-wrap: anywhere; }
.pl-list .it .small { flex: none; }
.pl-thumb { border: 0; padding: 0; background: none; cursor: pointer; border-radius: 6px; }
.preview { --pv-line: #343947; background: #171b24; color: #edf0f7; border: 1px solid #343947; border-radius: 12px; overflow: hidden; min-width: 0; }
.preview button, .preview input { font: inherit; }
.pv-head, .pv-controls, .pv-timeline-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; }
.pv-head { border-bottom: 1px solid var(--pv-line); justify-content: space-between; }
.pv-head b { font-weight: 600; }
.pv-tag { color: #5eead4; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; }
.pv-body { display: grid; grid-template-columns: minmax(0, 1fr) 175px; }
.pv-stage { aspect-ratio: 16/9; background: #050609; position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; }
.pv-stage video, .pv-stage img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; }
.pv-stage:fullscreen { aspect-ratio: auto; width: 100vw; height: 100vh; }
.pv-message { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #c1cada; background: #0a0d13ed; line-height: 1.6; }
.pv-detail { padding: 16px; border-left: 1px solid var(--pv-line); min-width: 0; }
.pv-detail small { display: block; color: #a4b0c5; font-size: 11px; margin-bottom: 5px; }
.pv-name { font-weight: 600; overflow-wrap: anywhere; margin-bottom: 18px; }
.pv-detail time { display: block; font-size: 24px; font-variant-numeric: tabular-nums; margin: 8px 0 18px; }
.pv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; border: 1px solid var(--pv-line); border-radius: 7px; padding: 6px 9px; color: #edf0f7; background: #242a37; cursor: pointer; }
.pv-btn:hover { background: #333c4e; }
.pv-btn:focus-visible, .pv-clip:focus-visible { outline: 2px solid #5eead4; outline-offset: -2px; }
.pv-btn:disabled { opacity: .35; cursor: default; }
.pv-play { background: #5eead4; color: #0a2721; border-color: #5eead4; min-width: 40px; }
.pv-play:hover { background: #99f6e4; }
.pv-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pv-controls { border-top: 1px solid var(--pv-line); gap: 6px; }
.pv-clock { margin: 0 auto 0 7px; font-size: 12px; font-variant-numeric: tabular-nums; color: #c1cada; }
.pv-loop { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #c1cada; }
.preview input { accent-color: #5eead4; }
.pv-scrub { display: block; width: calc(100% - 32px); margin: 0 16px 14px; cursor: pointer; }
.pv-timeline-head { padding-top: 10px; padding-bottom: 10px; border-top: 1px solid var(--pv-line); font-size: 12px; justify-content: space-between; color: #c1cada; }
.pv-zoom { display: flex; align-items: center; gap: 7px; }
.pv-zoom input { width: 85px; }
.pv-scroll { overflow-x: auto; padding: 0 0 12px; margin: 0 16px; scrollbar-color: #46536b #171b24; }
.pv-track { position: relative; display: flex; height: 108px; min-width: 100%; }
.pv-clip { position: relative; flex: none; min-width: 0; overflow: hidden; display: flex; flex-direction: column; text-align: left; padding: 24px 0 0; border: 0; background: none; color: #f2f5fc; cursor: pointer; }
.pv-start { position: absolute; top: 0; left: 0; font-size: 10px; color: #a4b0c5; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pv-tile { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 8px; border: 2px solid #52669a; border-radius: 5px; background: linear-gradient(135deg, #333e62, #25334c); overflow: hidden; position: relative; width: 100%; }
.pv-tile img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; opacity: .45; pointer-events: none; }
.pv-tile span, .pv-tile small { position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 3px #000; }
.pv-tile span { font-size: 12px; font-weight: 600; }
.pv-tile small { color: #d7deed; font-size: 10px; }
.pv-clip.image .pv-tile { border-color: #9673bf; background: #4a355e; }
.pv-clip[aria-pressed=true] .pv-tile { border-color: #5eead4; box-shadow: inset 0 0 0 1px #5eead4; }
.pv-clip.drop-target .pv-tile { border-left: 5px solid #fbbf24; }
.pv-headline { position: absolute; width: 2px; top: 19px; bottom: 0; background: #fff; pointer-events: none; z-index: 2; }
.pv-headline::before { content: ''; position: absolute; top: -5px; left: -3px; width: 8px; height: 8px; background: #fff; transform: rotate(45deg); }
.pv-note { font-size: 11px; color: #a4b0c5; margin: 0; padding: 9px 16px 13px; line-height: 1.5; }
@media(max-width: 1250px) { .pv-body { grid-template-columns: minmax(0,1fr); } .pv-detail { border-left: 0; border-top: 1px solid var(--pv-line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; } .pv-name { margin: 0; flex: 1; } .pv-detail time { margin: 0; font-size: 17px; } .pv-detail small { margin: 0; } }
@media(max-width: 900px) { .playlist-grid { grid-template-columns: minmax(0,1fr); } }
@media(max-width: 600px) {
  .playlist-grid .card-b { padding: 12px; }
  #plGrid .items li { flex-wrap: wrap; gap: 6px; }
  #plGrid .items li .nm { flex: 1 1 calc(100% - 110px); }
  #plGrid .items li .input { margin-left: auto; }
  .pv-controls, .pv-head, .pv-timeline-head { padding: 10px; }
  .pv-clock { font-size: 11px; }
  .pv-loop { margin-left: auto; }
  .pv-head { gap: 5px; }
  .pv-detail { padding: 10px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .pv-detail small, .pv-name { grid-column: 1 / -1; }
}
