/* Prism · 个人中心 / 系统设置 / 通知中心 / 图标库 / 空白模板 */

/* 个人中心 */
#pf-root .desc-list { border-radius: var(--r-md); }
#pf-root .timeline { padding-top: 2px; }
#pf-root .avatar-2xl { box-shadow: var(--shadow-2), 0 0 0 4px var(--surface); }

/* 设置：主题卡片做成真实明暗预览 */
#set-root .theme-card { position: relative; overflow: hidden; padding: 10px 7px; }
#set-root .theme-card[data-theme-btn='dark'] { background: linear-gradient(150deg, #0e171c, #1a2b33); color: #e9f2f4; }
#set-root .theme-card[data-theme-btn='light'] { background: linear-gradient(150deg, #ffffff, #ece7dd); color: #16262e; }
#set-root .theme-card.active { box-shadow: var(--glow); }
#set-root .accent-row { flex-wrap: wrap; gap: 10px; }

/* 设置：开关行之间用虚线分隔，形成清单节奏 */
#set-root .col.g4 > .row.between + .row.between,
#set-root .col.g5 > .row.between + .row.between {
  border-top: 1px dashed var(--border);
  padding-top: 14px;
}
#set-root .col > .row.between { min-height: 34px; }

/* 通知中心：未读左侧强调条 */
.list-item[data-note] { position: relative; }
.list-item[data-note].unread::before {
  content: ''; position: absolute; left: 0; top: 10px; bottom: 10px;
  width: 2px; border-radius: 0 2px 2px 0; background: var(--accent);
}
.list-item[data-note].unread { background: color-mix(in srgb, var(--accent) 5%, transparent); }

/* 图标库 */
.icon-grid { grid-auto-rows: 1fr; }
.icon-cell { min-height: 82px; }
.icon-cell:active { transform: scale(.96); }

/* 空白模板 */
#blank-page .panel-body { min-height: 260px; }

@media (max-width: 640px) {
  .icon-grid { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
  #set-root .accent-row { gap: 12px; }
}
