/* Coinfra site header — one stylesheet for every app on coinfra.ru (landing, swap), like Bybit's shared header.
   Landing links it after landing-v2.css; swap imports it at build. Markup: landing-v2/index.html, src/components/layout/site-header.tsx. */

:root {
  --hd-h: 56px;
  --hdr-ink: var(--cf-ink);
  --hdr-line: var(--cf-line);
  --hdr-muted: var(--cf-t3);
  --hdr-soft: var(--cf-board);
  --hdr-glass: var(--cf-glass-menu);
  --hdr-g-ink: var(--cf-g-ink);
  --hdr-g-ink-hover: var(--cf-g-ink-hover);
  /* Bybit hover: the block under the text or icon fills, colours stay. */
  --hdr-fill: var(--cf-dark-fill-3);
}
@media (max-width: 767px) { :root { --hd-h: 52px; } }

.hd { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 8px; height: var(--hd-h); padding: 0 24px; font-family: "Inter", var(--font-app, "Inter"), system-ui, sans-serif; color: var(--cf-on-dark); transition: box-shadow .25s ease; }
.hd::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cf-glass-bar); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); pointer-events: none; }
.hd.is-scrolled { box-shadow: 0 10px 30px var(--cf-shade-4); }
:where(.hd) a { color: inherit; text-decoration: none; }
.hd-note { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 24px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--cf-on-dark-strong); background: var(--cf-dark); border-top: 1px solid var(--cf-dark-line); border-bottom: 1px solid var(--cf-dark-line); }
.hd-note svg { flex: none; color: var(--cf-on-dark); }
.hd-note p { margin: 0; }
@media (max-width: 767px) { .hd-note { align-items: flex-start; justify-content: flex-start; padding: 10px 20px; font-size: 12px; } .hd-note svg { margin-top: 1px; } }
.hd__logo { flex: none; margin-right: 16px; }
.hd__logo img { display: block; width: 112px; height: auto; }
.hd__nav { display: flex; align-items: center; gap: 2px; height: 100%; }
.hd__item { position: relative; display: flex; align-items: center; height: 100%; }
.hd__item > a { display: flex; align-items: center; gap: 4px; height: 100%; padding: 0 12px; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--cf-on-dark-strong); transition: color .2s; }
.hd__item > a[aria-current="page"] { color: var(--cf-on-dark); }
.hd__item > a:hover, .hd__item--drop.is-open > a { color: var(--cf-on-dark); }
.hd__item > a { position: relative; z-index: 0; }
.hd__item > a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hdr-fill); opacity: 0; transition: opacity .15s; }
.hd__item > a:hover::before, .hd__item--drop.is-open > a::before { opacity: 1; }
.hd__item--drop > a::after {
  content: ""; width: 6px; height: 6px; margin: -3px 0 0 4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; opacity: .6; transform: rotate(45deg); transition: transform .2s, margin .2s;
}
.hd__item--drop.is-open > a::after { margin-top: 3px; transform: rotate(225deg); }
.hd__menu {
  position: absolute; left: 0; top: 100%; width: 320px; padding: 8px 8px 12px; color: var(--cf-on-dark);
  background: var(--hdr-glass); -webkit-backdrop-filter: saturate(160%) blur(20px); backdrop-filter: saturate(160%) blur(20px);
  border-radius: 0 0 12px 12px; box-shadow: 0 18px 36px var(--cf-sunken);
  clip-path: inset(0 100% -48px -48px); opacity: 0; visibility: hidden;
}
.hd__menu a { display: flex; align-items: flex-start; gap: 12px; padding: 12px; color: var(--cf-on-dark); border-radius: 8px; transition: background-color .15s, color .15s; }
.hd__menu a:hover { background: var(--hdr-fill); }
.hd__nav > .hd__item:last-child .hd__menu { left: auto; right: 0; clip-path: inset(0 -48px -48px 100%); }
.hd__nav > .hd__item--drop.is-open .hd__menu { clip-path: inset(0 -48px -48px -48px); opacity: 1; visibility: visible; transition: clip-path .3s cubic-bezier(.2,.7,.2,1), opacity .2s; }
.hd__mi { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.hd__mi b { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--cf-on-dark); }
.hd__mi small { font-size: 12px; line-height: 17px; color: var(--cf-on-dark-3); }
.hd__menu--trade { width: 280px; padding: 0 8px 8px; }
.hd__tabs { position: relative; display: flex; gap: 20px; padding: 0 10px; border-bottom: 1px solid var(--cf-dark-line); }
.hd__tabs button { position: relative; height: 40px; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--cf-on-dark-3); background: none; border: 0; cursor: pointer; transition: color .15s; }
.hd__tabs-bar { position: absolute; left: 0; bottom: -1px; width: var(--tab-w, 0); height: 2px; background: var(--cf-white); border-radius: 2px; transform: translateX(var(--tab-x, 0)); }
.hd__tabs-bar.is-ready { transition: transform .28s cubic-bezier(.2,.7,.2,1), width .28s cubic-bezier(.2,.7,.2,1); }
.hd__tabs button:hover, .hd__tabs button[aria-selected="true"] { color: var(--cf-on-dark); }
.hd__trade-panel { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-top: 8px; }
.hd__search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; color: var(--cf-on-dark-3); background: var(--cf-dark-fill-1); border: 1px solid var(--cf-dark-line); border-radius: 10px; transition: border-color .15s; }
.hd__search:focus-within { border-color: var(--cf-on-dark-4); }
.hd__search svg { flex: none; width: 16px; height: 16px; }
.hd__search input { flex: 1; min-width: 0; font: inherit; font-size: 13px; color: var(--cf-on-dark); background: none; border: 0; outline: none; }
.hd__search input::placeholder { color: var(--cf-on-dark-3); }
.hd__search input::-webkit-search-cancel-button { filter: invert(1) grayscale(1); opacity: .5; }
.hd__menu a.hd__pair { display: grid; flex: none; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: center; height: 36px; padding: 0 10px; }
.hd__pairs { display: flex; flex-direction: column; min-height: 180px; max-height: 288px; margin-right: -4px; padding-right: 4px; overflow-y: auto; overscroll-behavior: contain; }
.hd__trade-panel .hd__pair img { width: 20px; height: 20px; border-radius: 50%; }
.hd__pair-name { font-size: 13px; font-weight: 600; color: var(--cf-on-dark); }
.hd__pair-name small { font-size: 12px; font-weight: 500; color: var(--cf-on-dark-3); }
.hd__pairs-empty { margin: 0; padding: 16px 12px; font-size: 13px; color: var(--cf-on-dark-3); }
.hd__menu a.hd__pair[aria-current="true"] { background: var(--cf-dark-fill-3); }
.hd__pairs:hover a.hd__pair[aria-current="true"]:not(:hover) { background: transparent; }
/* Same pairs menu as a popover under the terminal ticker (rendered only while open). */
.hd__menu.hd__menu--pop { top: 100%; left: 12px; z-index: 40; font-family: "Inter", var(--font-app, "Inter"), system-ui, sans-serif; clip-path: none; opacity: 1; visibility: visible; }
.hd__ico { display: grid; flex: none; place-items: center; width: 20px; height: 20px; color: var(--cf-on-dark); }
.hd__ico svg { width: 20px; height: 20px; }

/* Right side: guest «Войти / Регистрация»; signed in «Баланс», «История» (icon + label), avatar, notifications (Bybit: Assets, Orders, profile, bell). */
.hd__right { display: flex; align-items: center; margin-left: auto; }
/* Signed-in cells sit edge to edge (Bybit); only the buttons keep space around them. */
.hd__login + .hd__reg { margin-left: 10px; }
.hd__reg + .hd__link { margin-left: 8px; }
.hd__burger { margin-left: 8px; }
.hd__right [hidden], .mnav__cta [hidden] { display: none; }
.hd__login, .hd__reg { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; font-size: 14px; font-weight: 600; line-height: 21px; white-space: nowrap; border-radius: 100px; }
.hd__login { padding: 0 16px; border: 1px solid var(--cf-dark-line-strong); transition: background-color .2s, border-color .2s; }
.hd__login:hover { background: var(--cf-dark-fill-3); border-color: var(--cf-on-dark-4); }
.hd__reg, .hd__reg:active { padding: 0 18px; color: var(--cf-black); background: var(--cf-white); border: 0; box-shadow: none; transition: box-shadow .2s ease, transform .2s ease; }
.hd__reg:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .hd__reg:hover { color: var(--cf-black); background: var(--cf-white); box-shadow: inset 0 0 0 100px var(--cf-shade-2); } }
.hd__login svg, .hd__reg svg { flex: none; width: 16px; height: 16px; }
.hd__link { display: inline-flex; align-items: center; height: var(--hd-h); padding: 0 12px; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--cf-on-dark-strong); transition: color .2s, background-color .2s; }
.hd__link[aria-current="page"] { color: var(--cf-on-dark); }
.hd__link:hover { color: var(--cf-on-dark); background: var(--hdr-fill); }
.hd__avatar { display: grid; flex: none; place-items: center; width: 36px; height: 36px; padding: 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--cf-on-dark); background: var(--cf-dark-fill-3); border: 1px solid var(--cf-dark-line-strong); border-radius: 50%; cursor: pointer; transition: background-color .2s, border-color .2s; }
.hd__avatar:hover, .hd__item--acct.is-open .hd__avatar { background: var(--cf-dark-line-strong); border-color: var(--cf-on-dark-4); }
/* Right-side items span the header height so the pointer reaches their menus without leaving them. */
.hd__right > .hd__item { height: var(--hd-h); }
.hd__right > .hd__item > a { gap: 6px; padding: 0 12px; }
.hd__right > .hd__item > a > svg { flex: none; width: 16px; height: 16px; }
/* Avatar and bell: the whole header-high cell fills, like the nav items. */
.hd__item--acct, .hd__item--bell { padding: 0 8px; transition: background-color .15s; }
.hd__item--acct:hover, .hd__item--acct.is-open, .hd__item--bell:hover, .hd__item--bell.is-open { background: var(--hdr-fill); }
.hd__right .hd__menu { left: auto; right: 0; clip-path: inset(0 -48px -48px 100%); }
.hd__right > .hd__item--drop.is-open .hd__menu { clip-path: inset(0 -48px -48px -48px); opacity: 1; visibility: visible; transition: clip-path .3s cubic-bezier(.2,.7,.2,1), opacity .2s; }
.hd__menu--balance { width: 320px; padding: 0; }
.hd-bal__body { padding: 20px; }
.hd-bal__links { display: flex; flex-direction: column; border-top: 1px solid var(--cf-dark-line); }
.hd__menu .hd-bal__links a.hd-drawer__link { height: 44px; padding: 0 20px; font-weight: 500; border-radius: 0; }
.hd__menu .hd-bal__links:last-child a.hd-drawer__link:last-child { border-radius: 0 0 12px 12px; }
.hd__menu a.hd-drawer__link { align-items: center; padding: 0 12px; }
.hd-bal__head { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--cf-on-dark-2); }
.hd-bal__eye { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; color: var(--cf-on-dark-2); background: none; border: 0; border-radius: 6px; cursor: pointer; transition: color .15s, background-color .15s; }
.hd-bal__eye:hover { color: var(--cf-on-dark); background: var(--hdr-fill); }
.hd-bal__eye svg { width: 16px; height: 16px; }
.hd-bal__total { margin: 12px 0 0; font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--cf-on-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hd-bal__total small { margin-left: 6px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--cf-on-dark-2); }
.hd-bal__approx { margin: 6px 0 0; font-size: 13px; color: var(--cf-on-dark-2); font-variant-numeric: tabular-nums; }
.hd-bal__note { margin: 12px 0 0; font-size: 12px; color: var(--cf-on-dark-3); }
.hd-bal__note[hidden] { display: none; }
.hd-bal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.hd-bal__actions a.hd-bal__btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--cf-on-dark); text-decoration: none; background: var(--cf-dark-fill-3); border-radius: 100px; transition: background-color .15s; }
.hd-bal__actions a.hd-bal__btn:hover { background: var(--cf-dark-fill-4); }
.hd-bal__actions a.hd-bal__btn--primary { color: var(--cf-black); background: var(--cf-white); }
.hd-bal__actions a.hd-bal__btn--primary:hover { background: var(--cf-white); box-shadow: inset 0 0 0 100px var(--cf-shade-2); }
.hd-bal__btn svg { flex: none; width: 18px; height: 18px; }
.hd-bal--row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.hd-bal--row .hd-bal__actions { grid-template-columns: repeat(2, minmax(120px, auto)); margin-top: 0; }
.hd__icon-btn { position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: var(--cf-on-dark-strong); background: transparent; border: 0; border-radius: 8px; cursor: pointer; transition: color .2s, background-color .2s; }
.hd__icon-btn svg { width: 20px; height: 20px; }
.hd__icon-btn:hover, .hd__icon-btn[aria-expanded="true"] { color: var(--cf-on-dark); }
.hd__badge { position: absolute; top: 3px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; font-size: 10px; font-weight: 700; line-height: 16px; color: var(--cf-on-dark); text-align: center; background: var(--cf-down); border-radius: 8px; }
.hd :focus-visible { outline: 2px solid var(--cf-on-dark); outline-offset: 2px; }
.hd__burger { display: none; width: 36px; height: 36px; padding: 7px; color: var(--cf-on-dark); background: var(--cf-dark-fill-2); border: 0; border-radius: 10px; cursor: pointer; }
.hd__burger[aria-expanded="true"] { background: var(--cf-dark-fill-4); }
.hd__burger svg { display: block; width: 22px; height: 22px; }

/* Bybit side panels under the header: profile (opens on hover) and notifications. */
.hd-drawer { position: fixed; top: var(--hd-h); right: 0; bottom: 0; z-index: 60; display: flex; flex-direction: column; width: 320px; max-width: 100vw; color: var(--cf-on-dark); font-family: "Inter", var(--font-app, "Inter"), system-ui, sans-serif; text-align: left; background: var(--hdr-glass); -webkit-backdrop-filter: saturate(160%) blur(20px); backdrop-filter: saturate(160%) blur(20px); box-shadow: -18px 0 36px var(--cf-sunken); animation: hd-drawer-in .22s cubic-bezier(.2,.7,.2,1); }
.hd-drawer[hidden] { display: none; }
@keyframes hd-drawer-in { from { opacity: 0; transform: translateX(16px); } }
.hd-drawer a { color: inherit; text-decoration: none; }
.hd-drawer__body { flex: 1; min-height: 0; padding: 12px; overflow-y: auto; overscroll-behavior: contain; }
.hd-drawer__foot { flex: none; padding: 8px 12px 12px; border-top: 1px solid var(--cf-dark-line); }
.hd-drawer__card { padding: 16px; background: var(--cf-dark-fill-1); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--cf-dark-line); }
.hd-drawer__nav { display: flex; flex-direction: column; margin-top: 12px; }
.hd-drawer__link { display: flex; align-items: center; gap: 12px; width: 100%; height: 44px; padding: 0 12px; font: inherit; font-size: 14px; font-weight: 600; color: var(--cf-on-dark); background: none; border: 0; border-radius: 8px; cursor: pointer; transition: background-color .15s, color .15s; }
.hd-drawer__link svg { flex: none; width: 20px; height: 20px; color: var(--cf-on-dark-2); transition: color .15s; }
.hd-drawer__link[aria-current="page"] { background: var(--cf-dark-fill-3); }
.hd-drawer__link:hover { background: var(--hdr-fill); }
.hd-drawer__link:hover svg { color: var(--cf-on-dark); }
.hd-drawer .hd-drawer__link--danger, .hd-drawer .hd-drawer__link--danger svg { color: var(--cf-down-on-dark); }
.hd-drawer__link:disabled { opacity: .4; cursor: default; }
.hd-drawer__link:disabled:hover { color: var(--cf-on-dark); background: none; }
.hd-drawer__link:disabled:hover svg { color: var(--cf-on-dark-2); }
.hd-drawer__link--center { justify-content: center; font-weight: 500; }
.hd-drawer__foot--fill { padding: 0; }
.hd-drawer__foot--fill .hd-drawer__link { height: 52px; border-radius: 0; }
.hd__menu .hd-drawer__foot--fill a.hd-drawer__link { border-radius: 0 0 12px 12px; }
/* Profile card (landing markup; swap renders the same card with React components). */
.hd-acct__head { display: flex; align-items: center; gap: 12px; }
.hd-acct__ava { display: grid; flex: none; place-items: center; width: 40px; height: 40px; font-size: 14px; font-weight: 700; background: var(--cf-dark-fill-4); border-radius: 50%; }
.hd-acct__name { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.hd-acct__mail, .hd-acct__org { overflow: hidden; font-size: 12px; color: var(--cf-on-dark-3); text-overflow: ellipsis; white-space: nowrap; }
.hd-acct__org { margin-top: 12px; color: var(--cf-on-dark-strong); }
.hd-acct__id { display: flex; align-items: center; gap: 6px; margin-top: 4px; padding: 0; font: inherit; font-size: 12px; color: var(--cf-on-dark-3); background: none; border: 0; cursor: pointer; transition: color .15s; }
.hd-acct__id:hover { color: var(--cf-on-dark); }
.hd-acct__id code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.hd-acct__id svg { flex: none; width: 14px; height: 14px; }
.hd-acct__copied { color: var(--cf-up); }
.hd-acct__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hd-acct__chip { padding: 2px 8px; font-size: 11px; font-weight: 500; color: var(--cf-on-dark-strong); background: var(--cf-dark-fill-3); border-radius: 6px; }
.hd-acct__chip.is-ok { color: var(--cf-up); background: var(--cf-up-soft); }
.hd-drawer__card.hd-acct { background: radial-gradient(120% 140% at 100% 0%, var(--cf-dark-fill-4) 0%, var(--cf-dark-fill-1) 60%), var(--cf-dark-fill-1); }
.hd-acct__brand { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.hd-acct__brand img { display: block; width: auto; height: 12px; }
.hd-acct__tier { padding: 2px 8px; font-size: 11px; font-weight: 600; line-height: 16px; color: var(--cf-on-dark); background: var(--cf-dark-fill-4); border-radius: 100px; }
.hd-acct .hd-acct__name { font-size: 16px; }
.hd-acct__name.is-muted { color: var(--cf-on-dark-2); }
.hd-acct .hd-acct__ava { position: relative; }
.hd-acct__badge { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 16px; height: 16px; color: var(--cf-on-dark); background: var(--cf-up); border-radius: 50%; box-shadow: 0 0 0 2px var(--cf-dark-hover); }
.hd-acct__badge svg { width: 10px; height: 10px; }
.hd-acct__badge path { stroke-width: 3.5; }
.hd-acct--unverified .hd-acct__badge { background: var(--cf-muted); }
.hd-drawer a.hd-acct__verify { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; font-weight: 500; line-height: 16px; color: var(--cf-on-dark); transition: opacity .15s; }
.hd-acct__verify svg { flex: none; width: 14px; height: 14px; transition: transform .2s ease; }
.hd-drawer a.hd-acct__verify:hover svg, .hd-drawer a.hd-acct__verify:focus-visible svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .hd-acct__verify svg { transition: none; } }
.hd-drawer a.hd-acct__verify[hidden] { display: none; }
/* Notifications */
.hd-drawer--alerts { width: 380px; }
.hd-alerts__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 12px 0; padding: 10px 12px; font-size: 14px; background: var(--cf-dark-fill-1); border-radius: 8px; }
.hd-alerts__head b { font-weight: 700; }
.hd-alerts__head a { flex: none; font-size: 12px; color: var(--cf-on-dark-2); transition: color .15s; }
.hd-alerts__head a:hover { color: var(--cf-on-dark); }
.hd-alert { display: flex; gap: 10px; padding: 12px; border-radius: 8px; transition: background-color .15s; }
.hd-alert:hover { background: var(--hdr-fill); }
.hd-alert__dot { flex: none; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; }
.hd-alert.is-unread .hd-alert__dot { background: var(--cf-down); }
.hd-alert__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hd-alert__title { font-size: 14px; font-weight: 600; }
.hd-alert__text { overflow: hidden; font-size: 12px; color: var(--cf-on-dark-strong); text-overflow: ellipsis; white-space: nowrap; }
.hd-alert__time { font-size: 12px; color: var(--cf-on-dark-3); }
.hd-alerts__empty { margin: 0; padding: 32px 12px; font-size: 14px; color: var(--cf-on-dark-3); text-align: center; }

.mnav { position: fixed; inset: var(--hd-h) 0 0 0; z-index: 49; display: flex; flex-direction: column; padding: 8px 20px 24px; font-family: "Inter", var(--font-app, "Inter"), system-ui, sans-serif; background: var(--cf-white); color: var(--hdr-ink); overflow: auto; }
.mnav[hidden] { display: none; }
.mnav a { color: inherit; text-decoration: none; }
.mnav__link, .mnav__group > summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.mnav__link, .mnav__group { border-bottom: 1px solid var(--hdr-line); }
.mnav__group > summary::-webkit-details-marker { display: none; }
.mnav__link::after, .mnav__group > summary::after { content: ""; width: 7px; height: 7px; margin-right: 4px; border-top: 1.5px solid var(--hdr-muted); border-right: 1.5px solid var(--hdr-muted); transform: rotate(45deg); transition: transform .2s; }
.mnav__group > summary::after { transform: rotate(135deg); }
.mnav__group[open] > summary::after { transform: rotate(-45deg); }
.mnav__group[open] { padding-bottom: 8px; }
.mnav__group > a { display: block; padding: 10px 0 10px 12px; font-size: 15px; font-weight: 500; color: var(--hdr-ink); }
.mnav__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.mnav__cta > a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; font-size: 16px; font-weight: 600; line-height: 21px; white-space: nowrap; border: 0; border-radius: 100px; }
.mnav__cta > a svg { flex: none; width: 20px; height: 20px; }
.mnav__cta > a.btn--soft { color: var(--hdr-ink); background: var(--hdr-soft); }
.mnav__cta > a.btn--accent { color: var(--cf-on-dark); background: var(--hdr-g-ink); box-shadow: inset 0 1px 0 var(--cf-dark-line-mid); }
@media (hover: hover) and (pointer: fine) { .mnav__cta > a.btn--accent:hover { background: var(--hdr-g-ink-hover); } }

@media (prefers-reduced-motion: reduce) { .hd, .hd__item > a, .hd__item--drop > a::after, .hd__menu, .hd__menu a, .hd__tabs button, .hd__tabs-bar.is-ready, .hd__search, .hd__login, .hd__reg, .hd__link, .hd__icon-btn, .hd-drawer__link, .hd-alert, .hd__item > a::before, .hd__item--acct, .hd__item--bell, .hd-bal__eye { transition: none; } .hd__nav > .hd__item--drop.is-open .hd__menu, .hd__right > .hd__item--drop.is-open .hd__menu { transition: none; } .hd-drawer { animation: none; } }
@media (max-width: 1260px) { .hd__item > a { padding: 0 8px; } }
/* Nav needs ~1170px in one line */
@media (max-width: 1180px) {
  .hd__nav, .hd__login, .hd__link, .hd__right > .hd__item--drop { display: none; }
  .hd__burger { display: block; }
}
@media (max-width: 767px) { .hd { padding: 0 16px; } .hd__item--acct { padding: 0 0 0 8px; } .hd__item--acct:hover, .hd__item--acct.is-open { background: none; } }
/* Logo + avatar + burger fill a phone row; notifications stay on wider screens. */
@media (max-width: 479px) { .hd__item--bell { display: none; } }
