/* 灵感工坊热评记录 */
#inspiration-page .iv-hot-form.p-item,
#inspiration-page .iv-scene-form.p-item { margin-bottom: 24px; }
.iv-hot-form-title { color: var(--text); font-size: 14px; font-weight: 600; margin-bottom: 9px; }
.iv-hot-input { box-sizing: border-box; width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: color-mix(in srgb,var(--theme-sunken) 4.5%,transparent); color: var(--text); font: inherit; font-size: 13px; outline: none; }
.iv-hot-input:focus { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.iv-hot-input::placeholder { color: var(--text-3); }
.iv-hot-form-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .8fr); gap: 9px; margin-top: 8px; }
.iv-hot-actions { display: flex; justify-content: flex-end; margin-top: 9px; }
.iv-hot-primary { border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); background: color-mix(in srgb, var(--accent) 24%, transparent); color: var(--theme-ink); border-radius: 9px; padding: 7px 13px; font-size: 12.5px; cursor: pointer; }
.iv-hot-primary:hover { background: color-mix(in srgb, var(--accent) 36%, transparent); }
.iv-hot-primary:disabled { opacity: .55; cursor: wait; }
#view-inspiration #inspiration-page .iv-hot-toolbar { justify-content: space-between; column-gap: 16px; row-gap: 12px; margin-bottom: 16px; }
.iv-hot-toolbar .iv-kind-bar { margin: 0; }
#inspiration-page .iv-hot-toolbar .p-search { flex: 0 1 360px; max-width: 360px; }
.iv-hot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(390px, 1fr)); gap: 12px; align-items: start; }
.iv-hot-list > .empty, .iv-scene-list > .empty { grid-column: 1 / -1; }
.iv-hot-quote, .iv-hot-note, .iv-hot-source-link { overflow-wrap: anywhere; }
#inspiration-page .iv-hot-card { min-width: 0; }
.iv-hot-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.iv-hot-quote { margin: 11px 0; color: var(--text); font-size: 15px; line-height: 1.75; white-space: pre-wrap; }
.iv-hot-note { border-left: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); padding: 1px 0 1px 10px; color: var(--text-2); font-size: 12.5px; line-height: 1.65; white-space: pre-wrap; }
.iv-hot-source-link { display: inline-block; margin-top: 8px; color:var(--theme-accent-ink); font-size: 12px; text-decoration: none; }
.iv-hot-source-link:hover { text-decoration: underline; }
.iv-hot-edit, .iv-hot-directions { border-top: 1px solid var(--line); margin-top: 11px; padding-top: 8px; }
.iv-hot-edit summary, .iv-hot-directions summary { color: var(--text-2); cursor: pointer; font-size: 12px; }
.iv-hot-edit .iv-hot-input { margin-top: 7px; }
.iv-hot-edit button, .iv-hot-card > button { border: 1px solid var(--line); background: color-mix(in srgb,var(--theme-ink) 5%,transparent); color: var(--text-2); border-radius: 8px; padding: 5px 10px; font-size: 12px; cursor: pointer; margin-top: 8px; }
.iv-hot-edit button:hover, .iv-hot-card > button:hover { color: var(--text); background: color-mix(in srgb,var(--theme-ink) 10%,transparent); }
.iv-hot-ferment-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.iv-hot-ferment-row .iv-account-select { max-width: none; flex: 1 1 180px; }
.iv-hot-directions { padding-top: 10px; }
.iv-hot-direction { border-top: 1px solid color-mix(in srgb,var(--theme-line) 7%,transparent); padding: 9px 0; }
.iv-hot-direction-title { color: var(--text); font-size: 13px; font-weight: 550; margin-bottom: 3px; }
.iv-hot-score { display: inline-block; margin: 5px 8px 0 0; color: var(--text-3); font-size: 11px; }
.iv-hot-direction button { border: 1px solid var(--line); background: transparent; color: var(--text-2); border-radius: 7px; padding: 4px 9px; font-size: 11px; cursor: pointer; }
html[data-theme="light"] .iv-hot-input { background: var(--theme-control); color: var(--theme-ink); }
html[data-theme="light"] .iv-hot-direction { border-top-color: color-mix(in srgb,var(--theme-line) 8%,transparent); }
html[data-theme="light"] .iv-hot-primary { color: var(--theme-accent-ink); background: color-mix(in srgb,var(--theme-accent) 12%,transparent); }
@media (max-width: 680px) {
  .iv-hot-form-fields { grid-template-columns: 1fr; }
  .iv-hot-list { grid-template-columns: 1fr; }
  .iv-hot-toolbar { align-items: stretch; }
  #inspiration-page .iv-hot-toolbar .p-search { flex: 1 1 100%; max-width: none; }
}
