/* "Have a code?" (fix 5 Part 3.3, board HEADER.png): the code field in the header pop-up (.bf-pop--form, 300 wide,
   padding 16) and in the phone sheet. Markup: bf_code_form() in app/v4.php. forms.js keeps the behaviour: uppercase,
   ABC-123 as you type, a pasted link gives its code, the arrow waits for six characters, no browser bubbles.
   The pop-up around it is .bf-pop (assets/fix5/pop.css): ink text on light glass, the same on every background.
     the title "Have a code?" 15/600
     12 px, the field: 48 px, white at 92 %, no border, a soft inner ring, the 36 px round arrow inside on the right
            (grey until the code is complete, then ink)
     12 px, "Six letters and numbers, from the seller" 12 px grey */

html body form.bf-code{display:flex;flex-direction:column;gap:12px;margin:0;padding:0}
html body .bf-code .bf-code-t{display:block;margin:0;padding:0;font:600 0.9375rem/1.3 var(--text,'Instrument Sans',system-ui,sans-serif);color:inherit}
html body .bf-code .bf-code-row{display:flex;align-items:center;gap:8px;box-sizing:border-box;height:48px;margin:0;padding:0 6px 0 16px;
  border:0;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:inset 0 0 0 2px rgba(14,20,23,.14);transition:box-shadow .15s ease-out}
/* typing in it: the same ring, a little darker (one ring, never a second one around it) */
html body .bf-code .bf-code-row input{flex:1;min-width:0;width:auto;height:44px;margin:0;padding:0;border:0;border-radius:0;background:none;
  outline:none!important;box-shadow:none!important;--bf-ring:none;
  font:500 1rem/1 var(--text,'Instrument Sans',system-ui,sans-serif);letter-spacing:.08em;text-transform:uppercase;color:#0E1417}
html body .bf-code .bf-code-row input::placeholder{color:rgba(14,20,23,.4);letter-spacing:.06em;opacity:1}
html body .bf-code .bf-code-row button{flex:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:0;margin:0;padding:0;
  border:0;border-radius:50%;background:#0E1417;color:#fff;cursor:pointer;opacity:1;transition:background-color .15s ease-out,color .15s ease-out}
html body .bf-code .bf-code-row button[disabled]{background:rgba(14,20,23,.12);color:rgba(14,20,23,.42);cursor:default;opacity:1}
html body .bf-code .bf-code-help{margin:0;padding:0;font:400 0.75rem/1.4 var(--text,'Instrument Sans',system-ui,sans-serif);color:rgba(14,20,23,.68);opacity:1}
/* a code that opened nothing (forms.js / hero5.js put the line after the form) */
html body .bf-code+.bf-ferr{display:block;margin:12px 0 0;font:500 0.8125rem/1.4 var(--text,'Instrument Sans',system-ui,sans-serif);color:#B42318}
html body form.bf-code .bf-code-row input[aria-invalid="true"]{box-shadow:none!important;border-color:transparent!important}
html body .bf-code .bf-code-row:has([aria-invalid="true"]){box-shadow:inset 0 0 0 2px rgba(180,35,24,.55)}

@media (prefers-reduced-motion:reduce){html body .bf-code .bf-code-row,html body .bf-code .bf-code-row button{transition:none}}
