/* v52: exact lineup editing and replacement scouting, with dark/light modes. */
.lineup-exclusion-box{border-top:1px solid #39475b;margin-top:16px;padding-top:16px}
.lineup-exclusion-box>strong{display:block;font-size:13px;color:#f0d4a4;margin-bottom:5px}
.lineup-exclusion-box .inline-form{margin-top:8px}
.token-chip.is-excluded{border-color:#8f6470;background:#322532}
.token-chip [data-exclude-pin]{border-left:1px solid #63513b;padding-left:7px;margin-left:3px}
.editor-heading{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.editor-heading>strong{font-size:17px;color:#f4dcae}
.editor-badge{font-size:10px;font-weight:800;color:#e8cc98;border:1px solid #866e45;border-radius:999px;padding:5px 9px;letter-spacing:.07em}
.editor-slot.is-empty{border-style:dashed;background:#122033}
.editor-slot-actions,.editor-search-form{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:13px 0}
.editor-slot-actions .btn{font-size:12px}
.editor-preserve{margin:16px 0;padding:12px 14px;background:#1d2b3b;border:1px solid #556c86;border-radius:8px}
.editor-preserve label{display:flex;align-items:flex-start;gap:10px;cursor:pointer}
.editor-preserve input{width:18px;height:18px;accent-color:#d9ae67;flex-shrink:0;margin-top:2px}
.editor-preserve strong{display:block;color:#f2dab0;font-size:14px}
.editor-preserve small{display:block;font-size:12px;line-height:1.55;color:#bac9d8;margin-top:3px}
.editor-search-form label{font-size:12px;font-weight:700}
.editor-search-form .field{max-width:265px;min-width:150px;flex:1}
.editor-results{padding:15px;margin:15px 0;border:1px solid #586d86;border-radius:9px;background:#142337}
.editor-results>strong{display:block;color:#f0d4a4;font-size:15px;margin-bottom:8px}
.editor-recommendations{display:flex;flex-direction:column;gap:7px;margin-top:12px}
.editor-recommendation{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #43546c;border-radius:8px;background:#0d1b2d;padding:11px}
.editor-recommendation>div{min-width:0;display:flex;flex-direction:column;gap:4px}
.editor-recommendation strong{color:#f0d4a4}
.editor-recommendation small,.editor-recommendation span{font-size:12px;color:#c8d4e3;line-height:1.45}
.editor-recommendation button{white-space:nowrap}
.editor-flush-list{margin-top:6px;font-size:12px}
html[data-theme="light"] .lineup-exclusion-box>strong,html[data-theme="light"] .editor-heading>strong,html[data-theme="light"] .editor-results>strong,html[data-theme="light"] .editor-recommendation strong,html[data-theme="light"] .editor-preserve strong{color:#6f4d1f}
html[data-theme="light"] .editor-preserve,html[data-theme="light"] .editor-results,html[data-theme="light"] .editor-recommendation{background:#f5f8fc!important;color:#24364d!important;border-color:#ccd7e5!important}
html[data-theme="light"] .editor-preserve small,html[data-theme="light"] .editor-recommendation small,html[data-theme="light"] .editor-recommendation span{color:#42556d!important}
html[data-theme="light"] .editor-badge{color:#855d26;border-color:#b58a55}
html[data-theme="light"] .token-chip.is-excluded{background:#fbeced!important;color:#672e3b!important;border-color:#e2b6bf!important}
html[data-theme="light"] .editor-slot.is-empty{background:#f8fbfe!important}
@media(max-width:600px){.editor-search-form .field{max-width:none;width:100%}.editor-recommendation{align-items:flex-start;flex-direction:column}.editor-recommendation button{white-space:normal}.editor-heading{align-items:flex-start}}
/* Make the left automatic controls genuinely light when the visitor opts into Light Mode. */
html[data-theme="light"] .lineup-override-box{background:#fff!important;border-color:#cbd5e1!important;color:#24364d!important}
html[data-theme="light"] .lineup-override-box>strong,html[data-theme="light"] .lineup-exclusion-box>strong{color:#6f4d1f!important}
html[data-theme="light"] .lineup-override-box .micro-note,html[data-theme="light"] .lineup-override-box .field-label,html[data-theme="light"] .lineup-override-box .empty-small{color:#4b5d73!important}
html[data-theme="light"] .lineup-override-box .feedback,html[data-theme="light"] .lineup-override-box .override-count{color:#7e561c!important}
html[data-theme="light"] .lineup-exclusion-box{border-color:#d2dbe7!important}
html[data-theme="light"] .lineup-override-box .text-button{color:#6f4d1f!important;background:transparent!important;border:none!important}
.editor-search-form{display:grid;grid-template-columns:105px minmax(170px,1.2fr) 65px minmax(170px,1fr);align-items:center;gap:10px}
.editor-search-form .field{max-width:none;width:100%}
.editor-search-form #editor-find{grid-column:2/5;justify-self:start;margin-top:4px}
@media(max-width:1100px){.editor-search-form{grid-template-columns:105px minmax(120px,1fr)}.editor-search-form #editor-find{grid-column:2}}
@media(max-width:600px){.editor-search-form{display:flex;flex-direction:column;align-items:stretch;gap:7px}.editor-search-form .field{max-width:none}.editor-search-form #editor-find{width:100%}}
html[data-theme="light"] .editor-slot small,html[data-theme="light"] .editor-slot span{color:#50647c!important}
html[data-theme="light"] .editor-slot.is-active small,html[data-theme="light"] .editor-slot.is-active span{color:#775326!important}
