.horse-fragments-section { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 24px; }
.horse-fragments-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px; }
.horse-fragments-heading > div { display: flex; align-items: center; gap: 16px; min-width: 0; }
.horse-fragments-heading img { width: 76px; height: 76px; object-fit: contain; }
.horse-fragments-heading h2 { color: var(--gold); margin: 0 0 8px; font-size: 22px; }
.horse-fragments-heading p,.horse-fragments-heading small { color: #bca888; margin: 0; }
.horse-fragments-heading button { flex-shrink: 0; }
.horse-fragments-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 0 20px 16px; }
.horse-fragments-controls label { display: grid; gap: 8px; min-width: min(100%, 300px); color: var(--gold); }
.horse-fragments-controls > span { color: #bca888; }
.horse-fragments-section .user-message { padding: 0 20px 12px; }
.horse-fragments-task-heading { margin: 24px 20px 12px; }
.horse-fragments-task-heading h3 { margin: 0 0 8px; color: var(--gold); }
.horse-fragments-task-heading p,.horse-fragments-hint { margin: 0; color: #bca888; line-height: 1.6; }
.horse-fragments-tasks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding: 0 20px; }
.horse-fragments-tasks .admin-editor-launcher { margin: 0; }
.horse-fragments-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.horse-fragments-form label:not(.check-row) { display: grid; gap: 8px; margin: 20px 0; color: var(--gold); }
.horse-fragments-form .check-row { margin: 20px 0; }
.horse-fragments-target { display: flex; gap: 16px; align-items: center; color: var(--gold); }
.horse-fragments-target img { width: 88px; height: 88px; object-fit: contain; }
.horse-fragments-message { color: #d7be92; min-height: 20px; line-height: 1.6; }
#horseFragmentsRecipes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding: 0 20px; }
#horseFragmentsRecipes > .admin-editor-launcher { margin: 0; }
.horse-fragments-card-image { width: 76px; height: 76px; object-fit: contain; margin-bottom: 12px; }
.horse-probability-settings { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; }
.horse-probability-list { display: grid; gap: 12px; margin-top: 16px; }
.horse-probability-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(120px,180px); gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); }
.horse-probability-row .horse-fragments-target { min-width: 0; overflow-wrap: anywhere; }
.horse-probability-row .horse-fragments-target img { width: 56px; height: 56px; flex: 0 0 auto; }
.horse-fragments-form .horse-probability-row label { margin: 0; }
.horse-probability-row input { min-width: 0; width: 100%; }
.horse-probability-total { color: #bca888; line-height: 1.6; }
.horse-probability-total[data-valid="false"] { color: #ff9393; }
@media(max-width: 1100px) { #horseFragmentsRecipes { grid-template-columns: 1fr; } }
@media(max-width: 600px) { .horse-probability-row { grid-template-columns: 1fr; } }
@media(max-width: 850px) { .horse-fragments-tasks { grid-template-columns: 1fr; } }
@media(max-width: 600px) { .horse-fragments-heading { align-items: stretch; flex-direction: column; } }
