/* The phone, compact (lot C1's phone addition, founder 2026-11-21 on Binance's app: « taille petite, meilleure
   visibilité », « taille bouton aussi à réduire »). A phone held upright only (data-form="phone": the terminal and its
   frame on the site); a computer keeps its keys. Every band gives height back to the chart: the top bar 44 px, the
   account's line 34, the chart's bar of text tabs 36 (no boxes: the timeframe on screen white and bold), Sell / Buy 36
   px keys, the five tabs 44 with smaller icons. Touch: a hit area of 44 px wherever the band leaves room (an invisible
   ::after past the drawn key); the bar's tabs (36 px) and the account's line (34 px) stay over 32, never under 24 (WCAG
   2.2). The ticket's sheet is not touched. Tokens only; hover only where a pointer hovers; no text under 11 px. */

/* ---- the top bar: 44 px, its keys drawn 36; each hit area 44 x 44 or more: the round keys' boxes are 46 wide (a
   transparent border, the ring drawn inside it), and an ::after reaches the bar's height (never past a key's sides: its
   words fit) ---- */
.term[data-form="phone"] .tbar { gap: 4px; min-height: calc(44px + env(safe-area-inset-top, 0px)); }
.term[data-form="phone"] .tbar-end { gap: 0; }
.term[data-form="phone"] .tbar :is(.app-back, .mkt-btn, .menu-btn) { position: relative; min-height: 36px; height: 36px; }
.term[data-form="phone"] .tbar .app-back { min-width: 46px; }      /* its arrow alone is drawn: the box is the hit area */
.term[data-form="phone"] .tbar .menu-btn { min-width: 46px; border-inline: 5px solid transparent; background-clip: padding-box; }
.term[data-form="phone"] .term-lang .sp-lang-btn { position: relative; width: 46px; height: 36px; border-inline: 5px solid transparent; background-clip: padding-box; }
/* place-self: the language key is a grid: its ::after would shrink to nothing at the centre (CSS alignment of an abspos box) */
.term[data-form="phone"] .tbar :is(.app-back, .mkt-btn, .menu-btn, .sp-lang-btn)::after { content: ""; position: absolute; inset: -4px 0; place-self: stretch; }
.term[data-form="phone"] .quote { line-height: 1.05; }
.term[data-form="phone"] .quote-px { font-size: 14px; }
.term[data-form="phone"] .px-badge { line-height: 1.1; }      /* a two-line tag (« Sans données ») stays inside the 44 px */

/* ---- the account's line ---- */
.term[data-form="phone"] .strip { min-height: 34px; }

/* ---- the chart's bar: text tabs, 36 px ---- */
.term[data-form="phone"] .ctool { gap: 2px; min-height: 36px; padding: 0 6px; }
.term[data-form="phone"] .tf-seg { gap: 0; }
.term[data-form="phone"] .tf-seg .seg-b { min-width: 42px; min-height: 36px; padding: 0 6px; background: none; box-shadow: none; color: var(--dim); font-size: 12.5px; }
.term[data-form="phone"] .tf-seg .seg-b[aria-pressed="true"] { background: none; color: var(--text); font-weight: 700; }
.term[data-form="phone"] .tf-seg .tf-more-t { min-width: 64px; min-height: 36px; padding: 0 20px 0 6px; background: none; color: var(--dim); font-size: 12.5px; }
.term[data-form="phone"] .tf-more-w[data-on="1"] .tf-more-t { background: none; color: var(--text); font-weight: 700; }
.term[data-form="phone"] .ctool .ct-open { width: 44px; min-height: 36px; height: 36px; background: none; box-shadow: none; color: var(--mute); }
.term[data-form="phone"] .ctool .ct-open[aria-expanded="true"], .term[data-form="phone"] #drawBtn[aria-pressed="true"] { background: var(--surface-3); color: var(--text); }
.term[data-form="phone"] .ctool .ct-open .i { width: 17px; height: 17px; }
.term[data-form="phone"] .ctool-n { top: 3px; right: 1px; }

/* ---- Sell and Buy: 36 px keys, a hit area of 44 inside their band ---- */
.term[data-form="phone"][data-tab="chart"] .pkeys,
.term[data-form="phone"][data-tab="book"] .pkeys { gap: 10px; padding: 5px 10px; }
.term[data-form="phone"] .pkeys .key { position: relative; min-height: 36px; height: 36px; font-size: 13.5px; }
.term[data-form="phone"] .pkeys .key::after { content: ""; position: absolute; inset: -4px 0; place-self: stretch; }

/* ---- the five tabs: 44 px, smaller icons ---- */
.term[data-form="phone"] .ptab { gap: 2px; min-height: 44px; padding: 3px 2px; }
.term[data-form="phone"] .ptab .i { width: 15px; height: 15px; }
