/* 兼容层：此前的“深色游戏工具界面”微调已全部并入 style.css。
   保留本文件是为了不改变 index.html 的样式引用顺序与部署缓存路径。
   如需追加个别站点的临时覆盖，写在下面的自定义区即可。 */

/* ---------- 自定义覆盖区 ---------- */

/* 承武来源卡片的功力标注：纸面弹窗里使用暖褐色，避免落在深色语义色上。 */
.paper-dialog .source-choice .source-power {
  color: #927032;
  font-size: .875rem;
  font-weight: 500;
}

/* Keep the complete name and score within each scrollable source card. */
.paper-dialog .source-choices { grid-auto-rows: minmax(168px, max-content); align-items: stretch; flex-shrink: 1; }
.paper-dialog .source-choice { height: auto; min-height: 168px; box-sizing: border-box; justify-content: flex-start; gap: 10px; padding-bottom: 14px; }
.paper-dialog .source-choice > .book-icon { flex-shrink: 0; }
.paper-dialog .source-choice > b { flex-shrink: 0; overflow-wrap: anywhere; }
.paper-dialog .source-choice .source-power { position: static; flex-shrink: 0; margin-top: auto; line-height: 1.5; }
.paper-identity .cheng-effects { width: 95%; min-height: 0; max-height: 180px; overflow-y: auto; overflow-wrap: anywhere; text-align: left; }
.paper-identity .cheng-effects p { max-width: none; margin: 0; line-height: 1.7; color: #68583e; }
.paper-identity .cheng-effects p + p { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(120,100,60,.2); }
@media (max-width: 700px) { .paper-dialog .source-choices { grid-auto-rows: minmax(144px, max-content); } .paper-dialog .source-choice { min-height: 144px; } .paper-identity .cheng-effects { flex-basis: 100%; } }

/* 承武来源蓝色品级；不改动绝品、镇派产物的配色。 */
.source-blue { color: #2e92f8 !important; }
