/* No badges (inc/v2/v2-nobadges.php; Claude, 17 Nov 2026). Loaded only while the switch chv2_badges_off is on, and only on the
   Account home, the sign-in page and the home page (body.chv2-nob). Nothing new is drawn: what is left of the three places
   takes the room the badges had. */

/* ---------- 1. Account home: the greeting is the initials and "Hi, <name>" (the row the badge tap had, without the tap) ---------- */
body.cl-acp.chv2-nob .chv2-ah__hi{display:flex;align-items:center;gap:13px;padding:13px 16px}
@media (max-width:899.98px){
  /* phone option C (assets/v4/v2-ph-acct.css): the plain line, the initials 4 px inside the cards' edges */
  body.cl-acp.chv2-nob .chv2-ah.chvpa-c .chv2-ah__hi{gap:12px;min-height:56px;padding:6px 0 6px 4px}
}
@media (min-width:900px){
  /* a computer: the initials stand where the medal stood */
  body.cl-acp.chv2-nob .chv2-ah__hi{gap:18px;padding:22px}
  body.cl-acp.chv2-nob .chv2-ah__av{display:grid;width:64px;height:64px;font-size:21px}
}
@media (min-width:1200px){
  /* beside the tiles (no order on its way): the greeting in the middle of its card, which is as tall as the tiles */
  body.cl-acp.chv2-nob .chv2-ah__me{display:flex;flex-direction:column;justify-content:center}
  /* an order on its way: the greeting is one slim row over the whole width and the order the whole width under it (as from
     900 to 1199 px), not a tall empty card beside the order */
  body.cl-acp.chv2-nob .chv2-ah.has-order :is(.chv2-ah__me,.chv2-ah__order){grid-column:1 / -1}
}

/* ---------- 2. sign-in page: three "In your account" cards ----------
   Beside the form (from 1100 px) they stay a column, as today; in a row (phones and tablets above the form, 900 to 1099 px under
   it) three columns in place of four. Every strip ends on a clean edge of its own picture: no word, box or button cut. */
@media (min-width:1100px){
  /* the column: the calculator ends under the whole vial and above the syringe's scale (326 of its 560 lines); the order and
     Buy again pictures are shown whole, so each strip is as tall as its picture (together no taller than today's four cards) */
  body.chv2-si.chv2-nob .chva-why li span{height:auto;aspect-ratio:1.96 / 1}
  body.chv2-si.chv2-nob .chva-why li:nth-child(n+2) span{aspect-ratio:auto}
}
@media (min-width:900px) and (max-width:1099.98px){
  body.chv2-si.chv2-nob .chva-why ul{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:899.98px){
  body.chv2-si.chv2-nob .chva-why ul{grid-template-columns:repeat(3,minmax(0,1fr))}
  /* phones: today's 390 px strip shape (1.67:1) and its corner of each picture; the order picture reaches the strip's right
     edge (198 % from -98 %; its "Being packed" line stays out of view), "2 + 1 FREE" and the + a little smaller, both whole */
  body.chv2-si.chv2-nob .chva-why li span,body.chv2-si.chv2-nob .chva-why li:nth-child(3) span{height:auto;aspect-ratio:1.67 / 1}
  body.chv2-si.chv2-nob .chva-why li:nth-child(2) img{width:198%;margin:-7% 0 0 -98%}
  body.chv2-si.chv2-nob .chva-why li:nth-child(3) span{display:flex;align-items:center}
  body.chv2-si.chv2-nob .chva-why li:nth-child(3) img{width:272%;margin:0 0 0 -168%}
}
@media (min-width:480px) and (max-width:1099.98px){
  /* wider cards in a row: a flatter strip (2.72:1) so the row does not grow; the calculator's syringe with its scale and marker
     (under the vial, which a strip this flat cannot show whole), the top of the order picture down to "Packed" (above the two
     boxes), "2 + 1 FREE" and the + whole */
  body.chv2-si.chv2-nob .chva-why li:nth-child(n) span{height:auto;aspect-ratio:2.72 / 1}
  body.chv2-si.chv2-nob .chva-why li img{max-width:none;width:100%;margin:-50% 0 0}
  body.chv2-si.chv2-nob .chva-why li:nth-child(2) img{width:100%;margin:0}
  body.chv2-si.chv2-nob .chva-why li:nth-child(3) img{width:173%;margin:0 0 0 -71%}
}
/* if the cards could not be moved beside / above the form they stay under the forms (assets/v4/v2-dark.css), in the order order,
   calculator, Buy again (so each picture is picked by its file), with the tablet strips above: a row of three on a computer; on a
   phone two columns and the Buy again strip over the whole width, as tall as its picture */
body.chv2-si.chv2-nob .chv2-si__why:not(.chva-why) ul{grid-template-columns:repeat(3,minmax(0,1fr))}
body.chv2-si.chv2-nob .chv2-si__why:not(.chva-why) li span{height:auto;aspect-ratio:2.72 / 1}
body.chv2-si.chv2-nob .chv2-si__why:not(.chva-why) li img{max-width:none;width:100%;margin:-50% 0 0}
body.chv2-si.chv2-nob .chv2-si__why:not(.chva-why) li img[src*="why-order"]{width:100%;margin:0}
body.chv2-si.chv2-nob .chv2-si__why:not(.chva-why) li img[src*="why-again"]{width:173%;margin:0 0 0 -71%}
@media (max-width:899.98px){
  body.chv2-si.chv2-nob .chv2-si__why:not(.chva-why) ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.chv2-si.chv2-nob .chv2-si__why:not(.chva-why) li:nth-child(3){grid-column:1 / -1}
  body.chv2-si.chv2-nob .chv2-si__why:not(.chva-why) li:nth-child(3) span{aspect-ratio:auto}
  body.chv2-si.chv2-nob .chv2-si__why:not(.chva-why) li img[src*="why-again"]{width:100%;margin:0}
}

/* ---------- 3. home page: "Your account" with three lines, the parcel alone ----------
   900 to 1199 px (the card the whole row wide): the three lines one under the other, as on every other width, in place of two
   by two (three side by side would leave an empty band between the lines and the button). */
@media (min-width:900px) and (max-width:1199.98px){
  body.chv2-nob .c3-root.chva-of--3 .chva-card .chva-card__l{display:block;max-width:420px;border-top:1px solid var(--line)}
  body.chv2-nob .c3-root.chva-of--3 .chva-card .chva-card__l li:nth-child(-n+2){border-top:0}
}
