.cpw-root {
  max-width: 1100px;
  margin: 0 auto;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: #1a1a1a;
  box-sizing: border-box;
}
.cpw-root *,
.cpw-root *::before,
.cpw-root *::after {
  box-sizing: border-box;
}
.cpw-wrap {
  display: flex;
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.cpw-player-col {
  flex: 0 0 65%;
  min-width: 0;
}
.cpw-player-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.cpw-player-wrap iframe,
.cpw-player-wrap > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.cpw-now-playing {
  padding: 12px 16px;
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
  min-height: 56px;
}
.cpw-now-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cpw-now-date {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}
.cpw-sidebar-col {
  flex: 0 0 35%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #e5e7eb;
  background: #fafafa;
  overflow: hidden;
}
.cpw-sidebar-header {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
  background: #f3f4f6;
  flex-shrink: 0;
}
.cpw-list {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c4c4c4 transparent;
}
.cpw-list::-webkit-scrollbar {
  width: 6px;
}
.cpw-list::-webkit-scrollbar-track {
  background: transparent;
}
.cpw-list::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 3px;
}
.cpw-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  border: none;
  border-left: 3px solid transparent;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  transition:
    background 0.15s,
    border-color 0.15s;
  border-bottom: 1px solid #eee;
  outline: none;
}
.cpw-item:hover {
  background: #eef6eb;
}
.cpw-item:focus-visible {
  outline: 2px solid var(--cpw-accent, #91a484);
  outline-offset: -2px;
}
.cpw-item.cpw-active {
  border-left-color: var(--cpw-accent, #91a484);
  background: #eef6eb;
}
.cpw-thumb {
  width: 120px;
  min-width: 120px;
  height: 68px;
  object-fit: cover;
  border-radius: 4px;
  background: #e5e7eb;
}
.cpw-item-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.cpw-item-title {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.cpw-item-date {
  font-size: 13px;
  color: #6b7280;
  margin: 4px 0 0;
}
.cpw-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.cpw-load-more {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--cpw-accent, #91a484);
  background: #f3f4f6;
  border: none;
  border-top: 1px solid #e5e7eb;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}
.cpw-load-more:hover {
  background: #e5e7eb;
}
.cpw-load-more:focus-visible {
  outline: 2px solid var(--cpw-accent, #91a484);
  outline-offset: -2px;
}
.cpw-load-more:disabled {
  color: #9ca3af;
  cursor: default;
}
.cpw-skeleton {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
}
.cpw-skel-thumb {
  width: 120px;
  min-width: 120px;
  height: 68px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: cpw-shimmer 1.5s infinite;
}
.cpw-skel-lines {
  flex: 1;
}
.cpw-skel-line {
  height: 12px;
  border-radius: 3px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: cpw-shimmer 1.5s infinite;
}
.cpw-skel-line:first-child {
  width: 90%;
}
.cpw-skel-line:nth-child(2) {
  width: 70%;
}
.cpw-skel-line:last-child {
  width: 40%;
}
@keyframes cpw-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.cpw-error {
  padding: 24px 16px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}
.cpw-error-icon {
  font-size: 32px;
  margin-bottom: 8px;
  display: block;
}
.cpw-retry {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--cpw-accent, #91a484);
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.cpw-retry:focus-visible {
  outline: 2px solid var(--cpw-accent, #91a484);
  outline-offset: 2px;
}
@media (max-width: 768px) {
  .cpw-wrap {
    flex-direction: column;
  }
  .cpw-player-col {
    flex: none;
    width: 100%;
  }
  .cpw-sidebar-col {
    flex: none;
    width: 100%;
    border-left: none;
    border-top: 1px solid #e5e7eb;
  }
  .cpw-list {
    max-height: 400px;
  }
  .cpw-thumb {
    width: 100px;
    min-width: 100px;
    height: 56px;
  }
}