/* 每日推荐面板 —— 注入到 Memos 首页左侧留白 */

.picks-panel {
  position: fixed;
  right: 28px;
  top: 72px;
  bottom: 20px;
  width: 288px;
  z-index: 999999;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #1f2328;
  pointer-events: auto;
}

.picks-panel::-webkit-scrollbar { width: 4px; }
.picks-panel::-webkit-scrollbar-track { background: transparent; }
.picks-panel::-webkit-scrollbar-thumb { background: #ddd8cf; border-radius: 2px; }

.pk-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 2px;
}
.pk-title-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #4a4f57;
}
.pk-sub { font-size: 11px; color: #9aa0a8; }

.pk-card {
  background: #ffffff;
  border: 1px solid #eceae4;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.pk-card:hover {
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.07);
  transform: translateY(-1px);
}

.pk-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(150deg, #dcd8cf 0%, #c9c4b8 100%);
  overflow: hidden;
}
.pk-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pk-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #8d8779;
  letter-spacing: 0.06em;
  padding: 0 16px;
  text-align: center;
}
.pk-date {
  position: absolute;
  left: 8px;
  top: 8px;
  font-size: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.44);
  padding: 2px 6px;
  border-radius: 4px;
  backdrop-filter: blur(3px);
  letter-spacing: 0.02em;
}

.pk-body { padding: 10px 11px 12px; }
.pk-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #1f2328;
}
.pk-meta {
  font-size: 11px;
  color: #9aa0a8;
  margin-top: 3px;
}
.pk-line {
  font-size: 12px;
  line-height: 1.62;
  color: #4a4f57;
  margin-top: 8px;
}
.pk-music {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed #eceae4;
  font-size: 11.5px;
  color: #4a4f57;
  display: flex;
  gap: 6px;
  align-items: baseline;
  line-height: 1.5;
}
.pk-music .pk-note {
  color: #8d8779;
  font-size: 13px;
  line-height: 1;
  flex: 0 0 auto;
}
.pk-music b { font-weight: 600; color: #1f2328; }

.pk-empty {
  font-size: 12px;
  color: #9aa0a8;
  padding: 20px 4px;
  line-height: 1.7;
}

/* 深色模式 */
@media (prefers-color-scheme: dark) {
  .picks-panel { color: #e6e6e6; }
  .pk-title-label { color: #b9bdc4; }
  .pk-sub { color: #767b83; }
  .pk-card { background: #23252a; border-color: #33363c; }
  .pk-card:hover { box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); }
  .pk-poster { background: linear-gradient(150deg, #2c2f34 0%, #24262b 100%); }
  .pk-ph { color: #6b6f76; }
  .pk-name { color: #e6e6e6; }
  .pk-meta { color: #767b83; }
  .pk-line { color: #b9bdc4; }
  .pk-music { color: #b9bdc4; border-top-color: #33363c; }
  .pk-music b { color: #e6e6e6; }
  .pk-empty { color: #767b83; }
  .picks-panel::-webkit-scrollbar-thumb { background: #3a3d43; }
}

/* 窄屏收起（右侧空间不够时就别硬挤） */
@media (max-width: 1279px) {
  .picks-panel { display: none !important; }
}
