main.wrap #cn-form .head,
main.wrap #cn-form .autobet,
main.wrap #cn-form .line {
    display: grid !important;
    grid-template-columns: 28px 132px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
}
main.wrap #cn-form .nums { display: flex; gap: 4px; }
main.wrap #cn-form .digit { width: 40px; text-align: center; padding: 8px 0; }
main.wrap #cn-form input { min-width: 0; box-sizing: border-box; }
main.wrap #cn-form .line.off { display: none !important; }
main.wrap #cn-form .digit.bad { border-color: #dc2626; }
main.wrap #cn-form .go { background: #0f766e; color: #fff; }
main.wrap #cn-form .wipe { background: #dc2626; color: #fff; }
#cn-gen { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: none; align-items: center; justify-content: center; z-index: 30; }
#cn-gen.open { display: flex; }
#cn-gen .box { width: min(420px, calc(100% - 24px)); background: #101820; color: #e5e7eb; border-radius: 12px; padding: 16px; }
#cn-gen input, #cn-gen button { width: 100%; margin-top: 8px; }
#cn-gen-err { color: #fca5a5; min-height: 18px; }
