.bom-affiliates { width: min(760px, calc(100% - 24px)); max-height: 88dvh; box-sizing: border-box; overflow: auto; padding: 24px; border: 1px solid #34363b; border-radius: 20px; background: #111215; color: #f3f3f5; }
.bom-affiliates::backdrop { background: #000a; }
.bom-affiliates header, .bom-affiliates__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bom-affiliates header { justify-content: space-between; }
.bom-affiliates h2 { font-size: 20px; overflow-wrap: anywhere; }
.bom-affiliates h3 { font-size: 16px; }
.bom-affiliates p, .bom-affiliates small { color: #afb3bc; font-size: 13px; line-height: 1.6; }
.bom-affiliates__item { display: grid; gap: 10px; padding: 18px 0; border-bottom: 1px solid #34363b; overflow-wrap: anywhere; }
.bom-affiliates__item > span { color: #a3c1ff; font-size: 12px; }
.bom-affiliates a { color: #a3c1ff; }
.bom-affiliates__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border-block: 1px solid #34363b; padding: 20px 0; }
.bom-affiliates__form h3, .bom-affiliates__form p, .bom-affiliates__form .bom-affiliates__actions { grid-column: 1 / -1; margin: 0; }
.bom-affiliates label { display: grid; gap: 8px; font-size: 13px; }
.bom-affiliates input { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #404248; border-radius: 10px; background: #1c1d21; color: inherit; padding: 12px; font-size: 16px; }
.bom-page-entry__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
@media (max-width: 600px) { .bom-affiliates { padding: 16px; } .bom-affiliates__form { grid-template-columns: minmax(0, 1fr); } .bom-affiliates .btn { min-height: 44px; } }
