main.wrap #dd-form .sheet { overflow: hidden !important; width: 100% !important; }
main.wrap #dd-form .head,
main.wrap #dd-form .autobet,
main.wrap #dd-form .line {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1.05fr) minmax(0, 1.45fr) minmax(0, 1.25fr) minmax(0, 1.25fr) 22px !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
}
main.wrap #dd-form .head span,
main.wrap #dd-form .line > span:first-child { text-align: center; }
main.wrap #dd-form input {
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
    box-sizing: border-box;
    padding: 8px 6px;
}
main.wrap #dd-form .bb,
main.wrap #dd-form #dd-all {
    width: 16px !important;
    justify-self: end;
}
main.wrap #dd-form .line input,
main.wrap #dd-form .autobet input {
    width: 100% !important;
    max-width: none !important;
}
main.wrap #dd-form .line.off { display: none; }
main.wrap #dd-form .line input.bad { border-color: #dc2626; }
main.wrap #dd-form .actions button:nth-child(1) { background: #14b8a6; color: #fff; }
main.wrap #dd-form .actions button:nth-child(2) { background: #ef4444; color: #fff; }
main.wrap #dd-form .actions button:nth-child(3) { background: #f5c542; color: #111; }
#gen-box .locked { opacity: .45; }
#gen-box input:disabled { background: #0b0f14; color: #64748b; cursor: not-allowed; }
@media (max-width: 900px) {
    main.wrap .split { display: block; }
}
