/* Главно меню (Ctu3Ic7Q, 2026-11-10) — по мокъпите public/mockups/main-menu/ и
   public/mockups/main-menu-hig/ (HIG поправките: всичко кликаемо е поне 44px).
   Apple HIG + осмицата: отстояния кратни на 8 (4 за фините), цели за докосване ≥ 44px
   на телефон. Всичко е под header.mm_header и с префикс mm_, за да не се бие със
   styles.css. Под 1280px лентата става мобилна (менюто на цял екран от #toggle_nav). */

header.mm_header {
  --mm-bar: #16141C; --mm-panel: #19161F; --mm-panel-2: #15131A; --mm-line: #2A2634; --mm-line-2: #383345;
  --mm-text: #FFFFFF; --mm-muted: #9FB0C3; --mm-mint: #1FE3D0; --mm-mint-ink: #04201E; --mm-up: #22D39A; --mm-down: #FF5C6C;
  --mm-card: linear-gradient(135deg, #0F6F73 0%, #0B4650 55%, #0A2F3B 100%);
}
/* Стъклена лента (2026-11-10, мокъп header-right): полупрозрачна, с размазване на това, което е под нея.
   Стъклото е на ::before, а не на самия .fixed_part — backdrop-filter прави елемента „контейнер“ за
   position: fixed и мобилното меню (което е вътре и е на цял екран) щеше да се свие до лентата. */
header.mm_header { --mm-h: 72px; }
/* Линията под лентата е сянка, не рамка — така лентата е точно 72px (56px на телефон), без +1px. */
header.mm_header .fixed_part { background: none; padding: 0; border-bottom: 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .10); z-index: 10; }
header.mm_header .fixed_part:not(.sticky) { position: relative; }
header.mm_header .fixed_part:before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; background: rgba(22, 20, 28, .62); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
/* Без backdrop-filter (стари браузъри) лентата остава почти плътна, за да се чете. */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  header.mm_header .fixed_part:before { background: rgba(22, 20, 28, .96); }
}
@media (max-width: 1279px) { header.mm_header { --mm-h: 56px; } }

/* За да прозира нещо и най-горе на страницата (преди скрол), фоновете на първата секция продължават
   под лентата. Съдържанието не мърда: секцията се качва с височината на хедъра и получава прозрачна
   рамка със същата височина, под която фонът се рисува. Само на страници, където между хедъра и
   съдържанието няма ред с трохи (трохите са върху банера или ги няма). */
header.mm_header ~ .wrapper.es_bc_over + main > .blog_opening,
header.mm_header ~ main > .blog_opening:first-child,
header.mm_header ~ .wrapper.es_bc_over + main > .order_review,
header.mm_header ~ .wrapper:not(.es_bc) + main > .first_steps_opening { margin-top: -84px; border-top: 84px solid transparent; background-origin: border-box; }
/* Начална страница: снимката на слайдера е <figure> вътре във всеки слайд, затова целият слайдер се
   качва под лентата, слайдовете стават по-високи със същото, а текстът им се връща надолу с отстъп.
   Височините са тези от styles.css (450 / 400 / 475 / 680) + височината на хедъра (56 на телефон; на
   десктоп 84 = 12px отстояние над острова + 72px лента). */
header.mm_header ~ main > .opening_section { margin-top: -56px; }
header.mm_header ~ main > .opening_section .opening_slider .slide { height: 506px; }
header.mm_header ~ main > .opening_section .opening_slider .slide > .row { padding-top: 56px; box-sizing: border-box; }
@media (min-width: 480px) { header.mm_header ~ main > .opening_section .opening_slider .slide { height: 456px; } }
@media (min-width: 640px) { header.mm_header ~ main > .opening_section .opening_slider .slide { height: 531px; } }
@media (min-width: 1200px) { header.mm_header ~ main > .opening_section .opening_slider .slide { height: 736px; } }
@media (min-width: 1280px) {
  header.mm_header ~ main > .opening_section { margin-top: -84px; }
  header.mm_header ~ main > .opening_section .opening_slider .slide { height: 764px; }
  header.mm_header ~ main > .opening_section .opening_slider .slide > .row { padding-top: 84px; }
}
/* Профил: само от 992px нагоре — под това страничното меню е изнесено встрани и е позиционирано
   спрямо секцията, та щеше да се качи под лентата. */
/* Профил от 1280px: виж „Профил: островът само над съдържанието“ в края на файла. */
/* 2026-11-18 (мокъп public/mockups/profile-band/): без .es_bc_profile — дотогава правилото хващаше само „Портфейл“
   (единствената страница с хлебни трохи), а останалите страници на профила започваха под лентата и през стъклото
   ѝ се виждаше само тъмният фон на сайта. Съдържанието остава на мястото си (рамката е 56px). */
@media (min-width: 992px) and (max-width: 1279px) { header.mm_header ~ .wrapper + main > .my_profile { margin-top: -56px; border-top: 56px solid transparent; } }
/* Телефон (2026-11-17, мокъп public/mockups/mobile-polish/, хедър вариант A): и под 992px фонът на профила
   (светлините) започва от самия връх, под стъклената лента — както на десктоп. Страничното меню тук е
   position: fixed извън екрана и не се мести; съдържанието остава на мястото си (рамката е 56px).
   Селекторът е без .es_bc_profile — повечето страници на профила имат празна обвивка за трохите. */
@media (max-width: 991px) { header.mm_header ~ .wrapper + main > .my_profile { margin-top: -56px; border-top: 56px solid transparent; } }
/* „Пазари“: банерът е на ::before; под 768px секцията с него не е най-горе (първо е таблицата). */
@media (min-width: 1280px) { header.mm_header ~ .wrapper.es_bc_over + main .currencies_opening:before { top: -84px; height: calc(100% + 84px); } }
@media (min-width: 768px) and (max-width: 1279px) { header.mm_header ~ .wrapper.es_bc_over + main .currencies_opening:before { top: -56px; height: calc(100% + 56px); } }
@media (max-width: 1279px) {
  header.mm_header ~ .wrapper.es_bc_over + main > .blog_opening,
  header.mm_header ~ main > .blog_opening:first-child,
  header.mm_header ~ .wrapper.es_bc_over + main > .order_review,
  header.mm_header ~ .wrapper:not(.es_bc) + main > .first_steps_opening { margin-top: -56px; border-top-width: 56px; }
}
/* Лентата повтаря решетката на страниците (.row в styles.css: max-width по ширини на
   екрана, .col с 16px отстъп), за да са логото, десният край и панелите на една линия
   с картите под хедъра (2026-11-10). */
header.mm_header .mm_bar { max-width: 1474px; margin: 0 auto; height: 72px; padding: 0 16px; display: flex; align-items: center; gap: 32px; position: relative; }
@media (min-width: 480px) { header.mm_header .mm_bar { max-width: 460px; } }
@media (min-width: 640px) { header.mm_header .mm_bar { max-width: 620px; } }
@media (min-width: 768px) { header.mm_header .mm_bar { max-width: 748px; } }
@media (min-width: 992px) { header.mm_header .mm_bar { max-width: 972px; } }
@media (min-width: 1200px) { header.mm_header .mm_bar { max-width: 1180px; } }
@media (min-width: 1440px) { header.mm_header .mm_bar { max-width: 1420px; } }
@media (min-width: 1474px) { header.mm_header .mm_bar { max-width: 1474px; } }
/* Вариант „Къси надписи“ (одобрен 2026-11-10, мокъп public/mockups/header-variants/): надписи по една
   дума на 17px, логото е отделено с тънка линия, активната/отворената точка е с черта по долния ръб. */
header.mm_header .mm_logo { display: flex; align-items: center; flex: none; }
header.mm_header .mm_bar > .mm_logo { height: 32px; padding-right: 32px; border-right: 1px solid var(--mm-line-2); }
header.mm_header .mm_logo img { height: 32px; width: auto; display: block; }
header.mm_header .mm_navwrap { flex: 1; min-width: 0; height: 100%; }
header.mm_header .mm_nav { display: flex; align-items: stretch; height: 100%; gap: 8px; list-style: none; margin: 0; padding: 0; }
/* position: static — панелът се позиционира спрямо .mm_bar (цялата ширина), а styles.css прави всяко li relative. */
header.mm_header .mm_nav > li { display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; position: static; }
header.mm_header .mm_nav > li:before { content: none; }

header.mm_header .mm_top { display: flex; align-items: center; align-self: stretch; gap: 4px; padding: 0 12px; margin: 0; width: auto; height: auto; min-height: 44px; border-radius: 0; box-shadow: none; text-transform: none; letter-spacing: 0; font: 600 17px/1.4 "IBM Plex Sans", sans-serif; color: var(--mm-text); white-space: nowrap; position: relative; background: none; border: 0; cursor: pointer; text-decoration: none; transition: color .15s; }
/* Активна / отворена точка — „тънка черта под текста“ (мокъп public/mockups/nav-active/, вариант 2,
   одобрен 2026-11-10). Текстът остава бял; под надписа има ментова черта 2px, широка колкото него.
   При посочване на друга точка се изтегля сива черта отляво надясно. Стрелките остават ментови.
   Преди имаше и ментов текст, и черта 3px по ръба на лентата. */
header.mm_header .mm_top:after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 20px; height: 2px; background: rgba(255, 255, 255, .45); border-radius: 2px; transform: scaleX(0); transform-origin: left center; transition: transform .2s ease, background .15s; }
header.mm_header .mm_top:hover:after { transform: scaleX(1); }
header.mm_header .mm_nav > li.mm_open > .mm_top:after, header.mm_header .mm_nav > li.mm_active > .mm_top:after { transform: scaleX(1); background: var(--mm-mint); }
/* Стрелките остават ментови, както преди (върнато по желание на 2026-11-10). */
header.mm_header .mm_top .mm_chev { font-size: 11px; }
header.mm_header .mm_chev, header.mm_header .mm_go { position: static; font-size: 12px; line-height: 1; flex: none; display: inline-block; transition: transform .2s; cursor: inherit; }
header.mm_header .mm_chev:before { color: var(--mm-mint); }
header.mm_header .mm_go:before { color: var(--mm-text); font-size: 12px; }
header.mm_header .mm_nav > li.mm_open > .mm_top .mm_chev { transform: rotate(180deg); }
header.mm_header :focus-visible { outline: 2px solid var(--mm-mint); outline-offset: 2px; border-radius: 4px; }

/* Дясна част */
header.mm_header .fixed_part .hd_wrap { flex: none; gap: 12px; }
header.mm_header .mm_start { display: inline-flex; align-items: center; min-height: 44px; font: 400 14px/1.4 "IBM Plex Sans", sans-serif; color: var(--mm-muted); text-decoration: none; white-space: nowrap; }
header.mm_header .mm_start b { margin-left: 8px; font-weight: 600; color: var(--mm-mint); }
header.mm_header .mm_start:hover b { text-decoration: underline; }
header.mm_header .mm_link { font: 600 16px/1.4 "IBM Plex Sans", sans-serif; color: var(--mm-text); padding: 0 8px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
header.mm_header .mm_link:hover { color: var(--mm-mint); }
header.mm_header .mm_btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; margin: 0; border-radius: 10px; font: 600 15px/1.2 "IBM Plex Sans", sans-serif; white-space: nowrap; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: filter .15s, color .15s, border-color .15s; }
header.mm_header .mm_btn.mm_solid { background: var(--mm-mint); color: var(--mm-mint-ink); }
header.mm_header .mm_btn.mm_solid:hover { filter: brightness(1.08); color: var(--mm-mint-ink); }
/* Основният бутон в лентата („Създай профил“ / „Добави средства“) и същият в мобилното меню са с
   преливката на бутоните на сайта, както в одобрения мокъп header-variants (2026-11-10). Бутоните в
   банерите на панелите остават плътни — те стоят върху зелена карта. */
/* border: 0 — бутонът има 1px прозрачна рамка (заради „Моите активи“ с видима рамка), а преливката
   се повтаряше под нея: в десния край излизаше тънка ментова ивица. Височината остава 44px (min-height). */
header.mm_header .hd_wrap .mm_btn.mm_solid, header.mm_header .mm_d_foot .mm_btn.mm_solid { background: linear-gradient(90deg, #2CFEDC 0%, #1788FA 100%); color: #130B31; border: 0; padding: 0 20px; }
header.mm_header .hd_wrap .mm_btn.mm_solid:hover, header.mm_header .mm_d_foot .mm_btn.mm_solid:hover { color: #130B31; }
/* По-заоблени („хапче“, 22px при височина 44px) — като бутоните на сайта; важи и за „Моите активи“
   до него, за да са двата еднакви по форма. */
header.mm_header .hd_wrap .mm_btn, header.mm_header .mm_d_foot .mm_btn { border-radius: 22px; }
header.mm_header .mm_btn.mm_ghost { border-color: var(--mm-line-2); color: var(--mm-text); background: none; }
header.mm_header .mm_btn.mm_ghost:hover { border-color: var(--mm-mint); color: var(--mm-mint); }
header.mm_header .mm_btn .al { position: static; font-size: 16px; line-height: 1; cursor: inherit; }
header.mm_header .mm_btn .al:before { color: inherit; font-size: 16px; }
header.mm_header .fixed_part .hd_wrap .account_wrap { margin-right: 0; }
header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper { padding-left: 0; }
/* Акаунт: зона за докосване 44×44 (иконата остава 24px), отстояния по осмицата.
   Падащото меню е дете на #account_toggle и се отваря на hover; :after държи hover-а
   по пътя от иконата до менюто. */
header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle { color: var(--mm-text); display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; height: auto; min-width: 44px; min-height: 44px; }
header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle:after,
header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle.has_label:after { left: 0; top: 0; width: 100%; height: calc(100% + 16px); }
header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown { top: calc(100% + 14px); right: -64px; z-index: 30; width: 264px; padding: 16px 16px 8px; border-radius: 0 0 8px 8px; max-height: calc(100vh - 88px); overflow-y: auto; cursor: default; }
/* „Изход“ е винаги на екрана (2026-11-10): с редове по 44px менюто е ~720px и при по-нисък
   прозорец последният ред оставаше под ръба му — клиентът не можеше да излезе. Менюто се
   скролира вътре в себе си, а „Изход“ е залепен за долния му край. */
header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown { padding-bottom: 0; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .24) transparent; overscroll-behavior: contain; }
/* Езиков превключвател: зона 44px (ред 20px + 12px отгоре и отдолу от :after), отстояния на решетка от 4px. */
header.mm_header .fixed_part .hd_wrap .lang_switcher { margin-left: 0; padding: 4px 0 4px 12px; border-left: 1px solid var(--mm-line-2); }
header.mm_header .fixed_part .hd_wrap .lang_switcher #lang_toggle { line-height: 20px; padding-right: 20px; }
header.mm_header .fixed_part .hd_wrap .lang_switcher #lang_toggle:before { right: 4px; top: 4px; }
header.mm_header .mm_burger, header.mm_header .mm_drawer, header.mm_header .mm_login_knob, header.mm_header .mm_initials { display: none; }
/* Чатът с поддръжката (само на телефон и таблет) се вижда при всяка ширина — балончето на Tawk, което замества, също беше винаги там (2026-11-16) */
header.mm_header .hd_wrap .mm_login_knob.mm_support { display: inline-flex; align-items: center; justify-content: center; position: relative; width: 44px; height: 44px; text-decoration: none; -webkit-tap-highlight-color: transparent; }

/* Падащ панел */
header.mm_header .mm_panel { position: absolute; left: 16px; right: 16px; top: 100%; z-index: 20; background: var(--mm-panel); border: 1px solid var(--mm-line); border-top: 0; border-radius: 0 0 16px 16px; box-shadow: 0 24px 48px rgba(0, 0, 0, .45); padding: 32px; display: none; text-align: left; color: var(--mm-text); font-family: "IBM Plex Sans", sans-serif; }
header.mm_header .mm_nav > li.mm_open > .mm_panel { display: block; }
header.mm_header .mm_grid { display: grid; gap: 32px; align-items: start; }
header.mm_header .mm_g_buy { grid-template-columns: 1.15fr 1fr 1fr; }
header.mm_header .mm_g_sell { grid-template-columns: 1.15fr 1fr 1fr; } /* 2026-11-13: онлайн | на място | промо — като „Купи“ */
header.mm_header .mm_g_trade { grid-template-columns: 1fr 1fr 1.5fr; } /* 2026-11-13: търговия | инвестиции и OTC | цените */
header.mm_header .mm_g_biz { grid-template-columns: 1fr 1fr 1fr; }
header.mm_header .mm_g_more { grid-template-columns: 1fr 1fr 1fr 1fr; } /* 2026-11-13: услуги | решения | за нас и помощ | карта „Научи“ */
header.mm_header .mm_col { min-width: 0; }
header.mm_header .mm_col + .mm_col { border-left: 1px solid var(--mm-line); padding-left: 32px; }
header.mm_header .mm_col.mm_col_card { border-left: 0; padding-left: 0; }
header.mm_header .mm_hd { font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; color: var(--mm-text); }

header.mm_header .mm_item { display: flex; align-items: center; gap: 16px; padding: 8px; margin: 0 -8px; border-radius: 8px; min-height: 44px; color: var(--mm-text); text-decoration: none; }
header.mm_header .mm_item:hover { background: rgba(255, 255, 255, .06); }
header.mm_header .mm_ic { width: 32px; height: 32px; flex: none; object-fit: contain; display: block; }
header.mm_header .mm_tx { flex: 1; min-width: 0; }
header.mm_header .mm_t { display: block; font-size: 16px; line-height: 1.4; font-weight: 600; transition: color .15s; }
header.mm_header .mm_d { display: block; font-size: 13px; line-height: 1.4; color: var(--mm-muted); margin-top: 4px; }
header.mm_header .mm_g_more .mm_item { gap: 12px; }
header.mm_header .mm_g_more .mm_t { font-size: 14px; }
header.mm_header .mm_g_more .mm_d { font-size: 11px; }
header.mm_header .mm_badge { display: inline-block; font-size: 11px; line-height: 16px; font-weight: 600; padding: 0 8px; border-radius: 999px; background: #2E2A39; color: var(--mm-muted); margin-left: 8px; vertical-align: middle; }

/* Промо карта (вариант 3 „Плътна преливка“ от мокъпа menu-promo, 2026-11-11): цялата карта е в преливката
   ментово→синьо на бутоните в хедъра, текстът е тъмен, бутонът — тъмно хапче (градиентен бутон би се слял
   с картата). Двуцветната икона (бяло + ментово) не се вижда върху преливката, затова е в тъмно квадратче —
   фонът и отстъпът са на самия <img>, без промяна в HTML.
   Преди: вариант 2 (тъмна карта със сияния и кант в преливката); още по-рано тъмнозелена карта с ментов бутон. */
header.mm_header .mm_promo { position: relative; border: 0; border-radius: 12px; padding: 24px; box-shadow: none; background: linear-gradient(135deg, #2CFEDC 0%, #1788FA 100%); color: #130B31; }
header.mm_header .mm_promo .mm_promo_ic { box-sizing: border-box; width: 56px; height: 56px; padding: 8px; border-radius: 16px; background: rgba(19, 11, 49, .88); }
header.mm_header .mm_promo .mm_promo_title { color: #130B31; }
header.mm_header .mm_promo .mm_promo_text { color: rgba(19, 11, 49, .82); }
header.mm_header .mm_promo .mm_btn.mm_solid { border: 0; border-radius: 22px; background: #130B31; color: #fff; transition: background .2s, transform .12s; }
header.mm_header .mm_promo .mm_btn.mm_solid:hover { color: #fff; filter: none; background: #24194F; }
header.mm_header .mm_promo .mm_btn.mm_solid:active { transform: scale(.97); }
header.mm_header .mm_promo .mm_btn .al { position: static; transition: transform .2s; }
header.mm_header .mm_promo .mm_btn .al:before { color: inherit; }
header.mm_header .mm_promo .mm_btn:hover .al { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { header.mm_header .mm_promo .mm_btn.mm_solid:active, header.mm_header .mm_promo .mm_btn:hover .al { transform: none; } }
header.mm_header .mm_promo_ic { width: 48px; height: 48px; object-fit: contain; display: block; margin-bottom: 16px; }
header.mm_header .mm_promo_title { font-size: 22px; line-height: 1.15; font-weight: 700; margin: 0 0 8px; padding: 0; color: var(--mm-text); }
header.mm_header .mm_promo_text { font-size: 14px; line-height: 1.4; margin: 0 0 16px; padding: 0; }

/* Референтни цени */
header.mm_header .mm_px_cap { font-size: 13px; line-height: 1.4; color: var(--mm-muted); margin-bottom: 12px; }
header.mm_header .mm_px_tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
header.mm_header .mm_seg { display: inline-flex; border: 1px solid var(--mm-line-2); border-radius: 8px; overflow: hidden; }
header.mm_header .mm_seg button { width: auto; height: auto; min-width: 88px; min-height: 44px; box-shadow: none; text-transform: none; letter-spacing: 0; padding: 0 16px; margin: 0; font: 600 13px/1.2 "IBM Plex Sans", sans-serif; color: var(--mm-text); background: none; border: 0; border-radius: 0; cursor: pointer; }
header.mm_header .mm_seg button[aria-selected="true"] { background: var(--mm-mint); color: var(--mm-mint-ink); }
header.mm_header .mm_search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--mm-line-2); border-radius: 8px; padding: 0 12px; margin: 0; min-height: 44px; width: 224px; max-width: 100%; color: var(--mm-muted); cursor: text; }
header.mm_header .mm_search .al { position: static; font-size: 16px; line-height: 1; cursor: inherit; }
header.mm_header .mm_search .al:before { color: var(--mm-muted); font-size: 16px; }
header.mm_header .mm_search input { flex: 1; min-width: 0; width: auto; height: auto; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; outline: 0; box-shadow: none; color: var(--mm-text); font: 400 13px/1.4 "IBM Plex Sans", sans-serif; -webkit-appearance: none; appearance: none; }
header.mm_header .mm_search input::placeholder { color: var(--mm-muted); }
header.mm_header .mm_search input::-webkit-search-cancel-button { -webkit-appearance: none; }
header.mm_header .mm_search:focus-within { border-color: var(--mm-mint); }
header.mm_header .mm_px { border: 1px solid var(--mm-line); border-radius: 8px; background: var(--mm-panel-2); max-height: 220px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #474158 transparent; }
header.mm_header .mm_px_row { display: grid; grid-template-columns: 24px 1fr auto 80px; align-items: center; gap: 12px; padding: 0 16px; min-height: 44px; font-size: 15px; line-height: 1.4; color: var(--mm-text); text-decoration: none; border-bottom: 1px solid var(--mm-line); }
header.mm_header .mm_px_row[hidden] { display: none; }
header.mm_header .mm_px_row:hover { background: rgba(255, 255, 255, .06); }
header.mm_header .mm_px_row img { width: 24px; height: 24px; display: block; }
header.mm_header .mm_px_price, header.mm_header .mm_px_change { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
header.mm_header .mm_px_change.mm_up { color: var(--mm-up); }
header.mm_header .mm_px_change.mm_down { color: var(--mm-down); }
header.mm_header .mm_px_none { padding: 16px; font-size: 13px; color: var(--mm-muted); }
header.mm_header .mm_all { display: flex; justify-content: flex-end; margin-top: 8px; }
header.mm_header .mm_all a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--mm-mint); min-height: 44px; text-decoration: none; }
header.mm_header .mm_all .al { position: static; font-size: 16px; line-height: 1; }
header.mm_header .mm_all .al:before { font-size: 16px; color: var(--mm-mint); }

header.mm_header .mm_strip { margin-top: 24px; border: 1px solid var(--mm-line-2); border-radius: 8px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; padding: 12px 16px; font-size: 14px; line-height: 1.4; font-weight: 500; }
header.mm_header .mm_strip span { display: inline-flex; align-items: center; gap: 12px; padding: 0 24px; }
header.mm_header .mm_strip span + span { border-left: 1px solid var(--mm-line-2); }
header.mm_header .mm_strip img { width: 24px; height: 24px; display: block; }

/* ───────── Бутони в дясната част: стъкло (вариант 1 от мокъпа login-button-modern, 2026-11-11) ─────────
   „Вход“, „Моите активи“ и копчето на акаунта са полупрозрачни светли хапчета със светъл ръб само
   отгоре, без очертание — в езика на стъклената лента. Нямат собствен backdrop-filter: лентата под тях
   вече е размазана, а филтър върху копчето на акаунта би развалил стъклото на падащото му меню (то е
   негово дете). Основният бутон е плосък (без старите неуморфни сенки), при посочване свети в ментово;
   при натискане всички леко се свиват.
   История: неуморфизъм (header-right, 2026-11-10) → тънък сив кант → кант с преливката → това. */
header.mm_header .hd_wrap .mm_link,
header.mm_header .hd_wrap .mm_btn.mm_ghost,
header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle,
header.mm_header .fixed_part .hd_wrap .lang_switcher #lang_toggle {
  background: rgba(255, 255, 255, .09); border: 0; border-radius: 22px; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: color .15s, background .2s, transform .12s;
}
header.mm_header .hd_wrap .mm_link { padding: 0 20px; font-size: 15px; }
header.mm_header .hd_wrap .mm_btn.mm_ghost { padding: 0 20px; }
header.mm_header .fixed_part .hd_wrap .lang_switcher #lang_toggle:hover { color: var(--mm-mint); }
header.mm_header .hd_wrap .mm_link:hover,
header.mm_header .hd_wrap .mm_btn.mm_ghost:hover,
header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle:hover { color: #fff; background: rgba(255, 255, 255, .16); }
header.mm_header .hd_wrap .mm_link:active,
header.mm_header .hd_wrap .mm_btn.mm_ghost:active,
header.mm_header .hd_wrap .mm_btn.mm_solid:active { transform: scale(.97); }
header.mm_header .fixed_part .hd_wrap .lang_switcher #lang_toggle:active,
header.mm_header .fixed_part .hd_wrap .lang_switcher.open #lang_toggle { color: var(--mm-mint); }
header.mm_header .hd_wrap .mm_btn.mm_solid { box-shadow: none; transition: filter .2s, box-shadow .2s, transform .12s; }
header.mm_header .hd_wrap .mm_btn.mm_solid:hover { filter: brightness(1.06); box-shadow: 0 0 0 1px rgba(44, 254, 220, .35), 0 8px 24px rgba(31, 227, 208, .28); }
@media (prefers-reduced-motion: reduce) {
  header.mm_header .hd_wrap .mm_link:active, header.mm_header .hd_wrap .mm_btn.mm_ghost:active, header.mm_header .hd_wrap .mm_btn.mm_solid:active { transform: none; }
}
header.mm_header .fixed_part .hd_wrap { gap: 16px; }
/* Акаунт: кръгло копче само с иконата; етикетът „Акаунт“ остава за екранни четци. */
header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle { width: 44px; min-width: 44px; height: 44px; gap: 0; font-size: 20px; }
header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle.has_label .account_label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Логнат с име: на десктоп вместо иконата — инициалите, бели, в същото стъклено кръгче (мокъп account-icon,
   идея 1, 2026-11-11), както на телефон. Без име остава иконата. */
@media (min-width: 1280px) {
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle.mm_has_initials:before { content: none; }
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle .mm_initials { display: block; color: #fff; font: 600 14px/44px "IBM Plex Sans", sans-serif; letter-spacing: .02em; text-align: center; }
}
/* Език: кръгло копче с кода на езика, без стрелка и без разделителна линия. */
header.mm_header .fixed_part .hd_wrap .lang_switcher { padding: 0; border-left: 0; }
header.mm_header .fixed_part .hd_wrap .lang_switcher #lang_toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; font-size: 13px; line-height: 1; }
header.mm_header .fixed_part .hd_wrap .lang_switcher #lang_toggle:before { content: none; }
header.mm_header .fixed_part .hd_wrap .lang_switcher #lang_toggle:after { left: 0; right: 0; top: 0; bottom: 0; }
header.mm_header .fixed_part .hd_wrap .lang_switcher ul { margin-top: 8px; }
/* Език — компактен (2026-11-10): кръглото копче заемаше 44px и тежеше колкото акаунта, а се ползва
   рядко. Сега е само кодът на езика с малка стрелка (~32px широко), без фон и сянка. Зоната за
   докосване остава 44×44 през :after, без да заема място в лентата. */
header.mm_header .fixed_part .hd_wrap .lang_switcher #lang_toggle,
header.mm_header .fixed_part .hd_wrap .lang_switcher #lang_toggle:active,
header.mm_header .fixed_part .hd_wrap .lang_switcher.open #lang_toggle { background: none; box-shadow: none; border: 0; border-radius: 4px; }
header.mm_header .fixed_part .hd_wrap .lang_switcher #lang_toggle { flex-direction: row-reverse; gap: 4px; width: auto; min-width: 36px; height: 44px; color: #B7C3D1; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
header.mm_header .fixed_part .hd_wrap .lang_switcher #lang_toggle:before { content: "\e906"; position: static; font-size: 8px; color: inherit; opacity: .7; }
header.mm_header .fixed_part .hd_wrap .lang_switcher.open #lang_toggle { color: var(--mm-mint); }
header.mm_header .fixed_part .hd_wrap .lang_switcher #lang_toggle:after { left: -4px; right: -4px; top: 0; bottom: 0; }
header.mm_header .fixed_part .hd_wrap .lang_switcher { margin-left: -4px; }
header.mm_header .fixed_part .hd_wrap .lang_switcher ul { margin-top: 0; right: -8px; }

/* Менюто на акаунта се отваря и с клик, докосване или Enter (клас .open от main-menu.js), не само при
   посочване — на телефон „посочване“ няма, а от клавиатурата не се стигаше до него. */
header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle.open .account_dropdown { visibility: visible; pointer-events: auto; opacity: 1; }
header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle.open { color: #fff; background: rgba(255, 255, 255, .16); }
header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle:focus-visible { outline: 2px solid var(--mm-mint); outline-offset: 2px; }

/* Ментовото при посочване е само за иконата на копчето — името в падащото меню остава бяло. */
header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle .account_dropdown { color: #fff; }

/* ───────── Стъкло и на падащите менюта (проба от 2026-11-10, одобрена да остане 2026-11-11) ─────────
   Панелите на главното меню, менюто на акаунта и списъкът с езици са полупрозрачни с размазване,
   като лентата. За да се върнат плътни, се трие само този блок — нищо друго не зависи от него. */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  header.mm_header .mm_panel { background: rgba(25, 22, 31, .66); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%); border-color: rgba(255, 255, 255, .10); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 48px rgba(0, 0, 0, .45); }
  header.mm_header .mm_col + .mm_col { border-left-color: rgba(255, 255, 255, .10); }
  header.mm_header .mm_px { background: rgba(13, 12, 16, .38); border-color: rgba(255, 255, 255, .10); }
  header.mm_header .mm_px_row { border-bottom-color: rgba(255, 255, 255, .08); }
  header.mm_header .mm_seg, header.mm_header .mm_search, header.mm_header .mm_strip, header.mm_header .mm_strip span + span { border-color: rgba(255, 255, 255, .16); }
  header.mm_header .mm_d { color: #B4C2D2; }
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown { background-color: rgba(20, 22, 30, .66); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%); border: 1px solid rgba(255, 255, 255, .10); border-top: 0; box-shadow: 0 24px 48px rgba(0, 0, 0, .45); }
  header.mm_header .fixed_part .hd_wrap .lang_switcher ul { background: rgba(20, 22, 30, .66); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%); border: 1px solid rgba(255, 255, 255, .10); }
}

/* Език — падащото е продължение на бутона, не отделна кутия (2026-11-10). При посочване (или клик на
   тъч) около „BG“ се появява стъклена капсула, която расте надолу и побира и другия език: един
   елемент, а не бутон + изскачащо меню. Капсулата е ::before на .lang_switcher; списъкът вътре е без
   собствен фон. Височината е за два езика (44px на ред) — при трети език се добавят още 44px. */
header.mm_header .fixed_part .hd_wrap .lang_switcher:before { content: ''; position: absolute; left: -12px; right: -12px; top: 0; height: 44px; z-index: -1; border-radius: 12px; pointer-events: none;
  background: rgba(20, 22, 30, .72); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%); border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 16px 32px rgba(0, 0, 0, .35);
  opacity: 0; transition: opacity .15s ease, height .2s ease; }
/* margin-left: капсулата излиза 12px встрани от „BG“ — без него опираше в бутона до нея (беше 2px). Сега са 16px. */
header.mm_header .fixed_part .hd_wrap .lang_switcher { z-index: 31; margin-left: 12px; }
header.mm_header .fixed_part .hd_wrap .lang_switcher.open:before { opacity: 1; height: 88px; }
@media (hover: hover) { header.mm_header .fixed_part .hd_wrap .lang_switcher:hover:before { opacity: 1; height: 88px; } }
header.mm_header .fixed_part .hd_wrap .lang_switcher ul { top: 100%; left: -12px; right: -12px; min-width: 0; margin: 0; padding: 0 !important; background: none; border: 0; border-radius: 0 0 12px 12px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: hidden; }
header.mm_header .fixed_part .hd_wrap .lang_switcher ul li a { justify-content: flex-start; min-height: 44px; padding: 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #B7C3D1; border-top: 1px solid rgba(255, 255, 255, .08); transition: color .15s, background .15s; }
header.mm_header .fixed_part .hd_wrap .lang_switcher ul li a:hover { color: var(--mm-mint); background: rgba(44, 254, 220, .07); }
@media (hover: hover) {
  header.mm_header .fixed_part .hd_wrap .lang_switcher:hover #lang_toggle { color: var(--mm-mint); }
  header.mm_header .fixed_part .hd_wrap .lang_switcher:hover #lang_toggle:before { transform: rotate(180deg); }
}

/* Език с едно кликване (два езика): кодът е линк към другия език. Вместо стрелката за списък има
   иконка с кръгови стрелки, която при посочване се завърта; капсулата със списъка не се показва. */
header.mm_header .fixed_part .hd_wrap .lang_switcher.mm_lang_one:before { content: none; }
header.mm_header .fixed_part .hd_wrap .lang_switcher.mm_lang_one #lang_toggle:before { content: "\e919"; font-size: 12px; color: var(--mm-mint); opacity: 1; transition: transform .3s ease; }
header.mm_header .fixed_part .hd_wrap .lang_switcher.mm_lang_one #lang_toggle:active { color: var(--mm-mint); }
/* Показва се кодът на ДРУГИЯ език — този, на който ще се смени при клик („EN“, докато сме на български).
   При посочване и при фокус от клавиатурата кодът става ментов (общото правило по-горе), а иконката се завърта. */
@media (hover: hover) {
  header.mm_header .fixed_part .hd_wrap .lang_switcher.mm_lang_one:hover #lang_toggle:before { transform: rotate(180deg); }
}
header.mm_header .fixed_part .hd_wrap .lang_switcher.mm_lang_one #lang_toggle:focus-visible { color: var(--mm-mint); }
header.mm_header .fixed_part .hd_wrap .lang_switcher.mm_lang_one #lang_toggle:focus-visible:before { transform: rotate(180deg); }

/* ───────── Меню на акаунта — в стила на падащите панели (2026-11-10) ─────────
   Същият стъклен фон, заглавия на групите (.mm_hd), редове .mm_item с икона, надпис и стрелка, същите
   отстояния и ефект при посочване. На десктоп групите са в колони, на телефон — една под друга.
   „Изход“ е отделен ред долу и остава залепен, когато менюто се скролира. */
/* width: max-content — менюто е absolute спрямо копчето (44px) и с width: auto се свиваше до най-тясното възможно. */
header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc { width: max-content; max-width: calc(100vw - 32px); padding: 24px 24px 0; text-align: left; border-radius: 0 0 16px 16px; font-family: "IBM Plex Sans", sans-serif; cursor: default;
  background: rgba(25, 22, 31, .96); border: 1px solid rgba(255, 255, 255, .10); border-top: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 48px rgba(0, 0, 0, .45); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc { background: rgba(25, 22, 31, .8); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%); }
}
header.mm_header .mm_acc_user { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .10); }
header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown .mm_acc_avatar { display: block; flex: none; width: 40px; height: 40px; margin: 0; border-radius: 20px; overflow: hidden; }
header.mm_header .mm_acc_avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
header.mm_header .mm_acc_avatar .mm_acc_ini { display: none; }
header.mm_header .mm_acc_avatar.mm_no_photo .mm_acc_ini { display: grid; place-items: center; width: 100%; height: 100%; background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); color: #fff; font: 600 15px/1 "IBM Plex Sans", sans-serif; letter-spacing: .02em; }
header.mm_header .mm_acc_who { min-width: 0; }
header.mm_header .mm_acc_name { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--mm-text); }
header.mm_header .mm_acc_email { display: block; font-size: 13px; line-height: 1.4; color: var(--mm-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
header.mm_header .mm_acc_grid { display: grid; gap: 32px; align-items: start; }
/* Колоните са широки колкото най-дългия си ред (надписите не се пренасят), но не по-тесни от 200px. */
header.mm_header .mm_acc_cols_3 .mm_acc_grid { grid-template-columns: repeat(3, minmax(200px, max-content)); }
header.mm_header .mm_acc_cols_2 .mm_acc_grid { grid-template-columns: repeat(2, minmax(200px, max-content)); }
header.mm_header .mm_acc_cols_1 .mm_acc_grid { grid-template-columns: minmax(240px, max-content); }
header.mm_header .mm_acc_item .mm_t { white-space: nowrap; }
/* flex-basis: auto — с basis 0 надписът не влизаше в сметката за ширината на колоната и опираше в стрелката. */
header.mm_header .mm_acc_item .mm_tx { flex: 1 0 auto; }
/* .wrapper a в styles.css прави всички линкове тук сиви 13px — връщаме вида на редовете от панелите. */
header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper a.mm_acc_item { display: flex; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--mm-text); }
header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper a.mm_acc_item:hover { color: var(--mm-text); }
header.mm_header .mm_acc_item .mm_t { font-size: 15px; }
/* Редовете са с двуцветните SVG икони (32px, .mm_ic); „Изход“ е единственият с икона от шрифта —
   в същата колона от 32px, за да е на една линия с тях. */
header.mm_header .mm_acc_item .mm_acc_ic { position: static; flex: none; width: 32px; font-size: 24px; line-height: 1; text-align: center; cursor: inherit; }
header.mm_header .mm_acc_item .mm_acc_ic:before { color: var(--mm-text); font-size: 24px; transition: color .15s; }
header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper a.mm_acc_exit { position: sticky; bottom: 0; z-index: 1; margin: 16px -24px 0; padding: 8px 24px; min-height: 60px; border-radius: 0 0 16px 16px; border-top: 1px solid rgba(255, 255, 255, .10); background: #19161F; }
header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper a.mm_acc_exit:hover { background: #201D27; }

/* 1280–1439px: съдържанието на страниците (и лентата) е 1148px — по-сбито, без подканата
   „Нов си?“ и без етикета „Акаунт“. */
@media (max-width: 1439px) {
  header.mm_header .mm_bar { gap: 24px; }
  header.mm_header .mm_bar > .mm_logo { padding-right: 24px; }
  header.mm_header .mm_nav { gap: 0; }
  header.mm_header .mm_top { font-size: 16px; }
  header.mm_header .mm_start { display: none; }
  header.mm_header .fixed_part .hd_wrap { gap: 12px; }
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown { right: -60px; }
}
/* 2026-11-11: „Моите активи“ се вижда и тук. За да се побере до „Още“, лентата на логнат е сбита като в профила:
   разстояния 16px и точки с 8px отстъп (вместо 24 и 12). За гост нищо не се променя. */
@media (min-width: 1280px) and (max-width: 1439px) {
  header.mm_header.mm_auth .mm_bar { gap: 16px; }
  header.mm_header.mm_auth .mm_bar > .mm_logo { padding-right: 16px; }
  header.mm_header.mm_auth .mm_top { padding: 0 8px; }
  header.mm_header.mm_auth .mm_top:after { left: 8px; right: 8px; }
}

/* ───────── Мобилно (под 1280px) ───────── */
@media (max-width: 1279px) {
  header.mm_header .mm_navwrap, header.mm_header .mm_desktop { display: none !important; }
  header.mm_header .mm_bar { height: 56px; gap: 12px; }
  /* Логото е линк към началната — цел за докосване 44px висока. */
  header.mm_header .mm_bar > .mm_logo { height: 44px; padding-right: 0; border-right: 0; }
  header.mm_header .mm_logo img { height: 28px; } /* беше 24px — на телефон стоеше твърде малко (2026-11-10) */
  header.mm_header .fixed_part .hd_wrap { margin-left: auto; gap: 12px; }
  /* Профил / вход на телефон — „Инициали“ (мокъп public/mockups/mobile-account/, вариант 4, 2026-11-10).
     Логнат: инициалите в стъклено кръгче 36px (до 11.11 бяха с преливката). Гост (и логнат без име): иконката в
     тънък кръг 36px. Без тъмното изпъкнало копче — то тежеше до лекия бургер. Целта за докосване
     остава 44×44; от 11.11 и на десктоп са инициалите. */
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle,
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle.open,
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle:hover,
  header.mm_header .hd_wrap .mm_login_knob,
  header.mm_header .hd_wrap .mm_login_knob:hover,
  header.mm_header .hd_wrap .mm_login_knob:active { background: none; box-shadow: none; border: 0; color: #fff; }
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle:before,
  header.mm_header .hd_wrap .mm_login_knob .al { display: block; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 18px; font-size: 18px; line-height: 34px; text-align: center; transition: border-color .15s, background .15s; }
  header.mm_header .hd_wrap .mm_login_knob .al:before { display: block; font-size: 18px; line-height: 34px; }
  header.mm_header .hd_wrap .mm_login_knob:active .al,
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle.open:before { border-color: var(--mm-mint); background: rgba(44, 254, 220, .08); }
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle.mm_has_initials:before { content: none; }
  /* 2026-11-11: инициалите са в стъклено кръгче с бели букви (мокъп account-icon, идея 1), за да са като
     на десктоп. Същото е и в аватара в менюто на акаунта и в профила (.mm_acc_ini, .pf_initials). */
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle .mm_initials { display: block; width: 36px; height: 36px; border-radius: 18px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); color: #fff; font: 600 13px/36px "IBM Plex Sans", sans-serif; letter-spacing: .02em; text-align: center; transition: box-shadow .15s, background .15s; }
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle.open .mm_initials { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 2px var(--mm-mint); }

  /* Менюто на акаунта виси от долния ръб на лентата (не от копчето — то е 44px в лента от 56px и
     разликата даваше 6px отместване). Затова тук копчето и обвивката му не са „котва“ за него. */
  header.mm_header .fixed_part .hd_wrap .account_wrap, header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle { position: static; }
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle:after { content: none; }
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown { right: 16px; top: 100%; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); }
  /* На телефон менюто на акаунта е лист по ширината на екрана, с групите една под друга. */
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc { left: 16px; right: 16px; width: auto; max-width: none; padding: 16px 16px 0; }
  header.mm_header .mm_acc .mm_acc_grid, header.mm_header .mm_acc_cols_3 .mm_acc_grid, header.mm_header .mm_acc_cols_2 .mm_acc_grid, header.mm_header .mm_acc_cols_1 .mm_acc_grid { grid-template-columns: 1fr; gap: 16px; }
  header.mm_header .mm_acc .mm_col + .mm_col { border-left: 0; padding-left: 0; }
  header.mm_header .mm_acc .mm_hd { margin-bottom: 8px; }
  header.mm_header .mm_acc .mm_ic { width: 28px; height: 28px; }
  header.mm_header .mm_acc_item .mm_acc_ic { width: 28px; }
  header.mm_header .mm_acc_user { margin-bottom: 16px; }
  header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper a.mm_acc_exit { margin: 8px -16px 0; padding: 8px 16px; }
  header.mm_header .mm_acc_item .mm_t { white-space: normal; }
  header.mm_header .mm_acc_item .mm_tx { flex: 1 1 0; }
  /* На телефон менюто се скролира, а размазването на фона под скролиращо се съдържание не е надеждно —
     страницата прозираше остро през редовете. Тук фонът е плътен. */
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc { background: #19161F; -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* Под 1280px менюто на акаунта се отваря само с докосване/клик — при посочване не изскача. */
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle:not(.open):hover .account_dropdown { visibility: hidden; pointer-events: none; opacity: 0; }
  header.mm_header .fixed_part .hd_wrap .lang_switcher { margin-left: 8px; margin-right: 8px; }
  /* Бургерът е най-вдясно (2026-11-10; преди това беше вляво, пред логото). В кода стои пръв в лентата,
     затова тук се мести с order. */
  /* Полето е 48×48 и чертичките са точно в средата му (2026-11-10): преди бяха залепени за десния
     му край и рамката при фокус ги показваше изкривено. Десният отстъп -12px връща чертичките на
     линията на решетката (48 − 24 = по 12px от двете страни). */
  header.mm_header .mm_burger { display: block; position: relative; width: 48px; height: 48px; margin: 0 -12px 0 0; border-radius: 12px; cursor: pointer; flex: none; order: 2; -webkit-tap-highlight-color: transparent; transition: background .15s; }
  header.mm_header .mm_burger:active { background: rgba(255, 255, 255, .08); }
  /* Рамката за фокус се показва само при навигация с клавиатурата (клас mm_kbd на <html> от
     main-menu.js). :focus-visible тук не стига: бутонът е <label> с tabindex и браузърът я оставя
     и след клик или докосване, ако преди това е натискан клавиш. */
  header.mm_header .mm_burger:focus, header.mm_header .mm_burger:focus-visible { outline: none; }
  html.mm_kbd header.mm_header .mm_burger:focus { outline: 2px solid var(--mm-mint); outline-offset: -4px; }
  @media (hover: hover) { header.mm_header .mm_burger:hover { background: rgba(255, 255, 255, .06); } }
  /* Вдясно: езикът, после профилът (логнат) или иконката за вход (гост), и накрая бургерът. */
  header.mm_header .fixed_part .hd_wrap .lang_switcher { order: 1; }
  header.mm_header .fixed_part .hd_wrap .account_wrap, header.mm_header .hd_wrap .mm_login_knob { order: 2; }
  header.mm_header .hd_wrap .mm_login_knob { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  header.mm_header .hd_wrap .mm_login_knob .al { position: static; cursor: inherit; }
  header.mm_header .hd_wrap .mm_login_knob .al:before { color: inherit; }
  /* Чат с поддръжката (2026-11-16) — на мястото на профила; червен брояч горе вдясно на кръгчето */
  header.mm_header .hd_wrap .mm_login_knob.mm_support { position: relative; }
  header.mm_header .hd_wrap .mm_support img { display: block; width: 26px; height: 27px; }
  header.mm_header .hd_wrap .mm_sup_cnt { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #FF5C6C; box-shadow: 0 0 0 2px #16141C; color: #fff; font: 700 11px/18px "IBM Plex Sans", sans-serif; text-align: center; }
  header.mm_header .hd_wrap .mm_sup_cnt[hidden] { display: none; }
  /* Две черти (24×2px, на 4px над и под центъра). При отворено меню всяка идва в центъра и се завърта
     на ±45° — „Х“-ът е точно на мястото на бургера (мокъп public/mockups/burger/, вариант 1). */
  header.mm_header .mm_burger span { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
  header.mm_header .mm_burger i { position: absolute; left: 50%; top: 50%; margin: -1px 0 0 -12px; width: 24px; height: 2px; border-radius: 2px; background: var(--mm-text); transition: transform .25s cubic-bezier(.4, 0, .2, 1); }
  header.mm_header .mm_burger i:nth-child(1) { transform: translateY(-4px); }
  header.mm_header .mm_burger i:nth-child(2) { transform: translateY(4px); }
  #toggle_nav:checked ~ header.mm_header .mm_burger i:nth-child(1) { transform: rotate(45deg); }
  #toggle_nav:checked ~ header.mm_header .mm_burger i:nth-child(2) { transform: rotate(-45deg); }
  /* Докато менюто е отворено, лентата е плътна (под стъклото иначе прозира страницата зад менюто). */
  #toggle_nav:checked ~ header.mm_header .fixed_part:before { background: var(--mm-bar); }
  header.mm_header .mm_burger:before, header.mm_header .mm_burger:after { content: none; }

  header.mm_header .mm_drawer { position: fixed; top: var(--mm-h); right: 0; bottom: 0; left: 0; z-index: 6; background: var(--mm-bar); overflow-y: auto; flex-direction: column; color: var(--mm-text); font-family: "IBM Plex Sans", sans-serif; text-align: left; }
  /* Отваряне и затваряне с плъзгане (2026-11-10): менюто се „разгръща“ отгоре надолу изпод лентата и
     се прибира обратно нагоре. Разкрива се с clip-path, а не с местене на целия блок — така не минава
     върху лентата. Докато е затворено, е невидимо и за клавиатурата (visibility), а при системна
     настройка „намалено движение“ се показва без анимация (общото правило в края на файла). */
  header.mm_header .mm_drawer { display: flex; visibility: hidden; pointer-events: none; -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0);
    transition: clip-path .32s cubic-bezier(.4, 0, .2, 1), -webkit-clip-path .32s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .32s; }
  header.mm_header .mm_drawer > * { opacity: 0; transform: translateY(-16px); transition: opacity .2s ease, transform .32s cubic-bezier(.4, 0, .2, 1); }
  #toggle_nav:checked ~ header.mm_header .mm_drawer { visibility: visible; pointer-events: auto; -webkit-clip-path: inset(0); clip-path: inset(0);
    transition: clip-path .32s cubic-bezier(.4, 0, .2, 1), -webkit-clip-path .32s cubic-bezier(.4, 0, .2, 1), visibility 0s; }
  #toggle_nav:checked ~ header.mm_header .mm_drawer > * { opacity: 1; transform: none; transition: opacity .24s ease .08s, transform .32s cubic-bezier(.4, 0, .2, 1); }
  header.mm_header .mm_d_body { flex: 1; padding: 8px 16px; }
  header.mm_header .mm_row { display: flex; align-items: center; justify-content: space-between; width: 100%; height: auto; min-height: 44px; border-radius: 0; box-shadow: none; text-transform: none; letter-spacing: 0; margin: 0; padding: 0; font: 600 16px/1.4 "IBM Plex Sans", sans-serif; color: var(--mm-text); text-align: left; text-decoration: none; background: none; border: 0; cursor: pointer; }
  header.mm_header .mm_sec.mm_open > .mm_row { color: var(--mm-mint); }
  header.mm_header .mm_sec.mm_open > .mm_row .mm_chev { transform: rotate(180deg); }
  header.mm_header .mm_sub { display: none; padding: 0 0 8px 8px; }
  header.mm_header .mm_sec.mm_open > .mm_sub { display: block; }
  header.mm_header .mm_sub .mm_item { margin: 0; padding: 0 8px; gap: 12px; }
  header.mm_header .mm_sub .mm_ic { width: 24px; height: 24px; }
  header.mm_header .mm_sub .mm_t { font-size: 14px; font-weight: 500; }
  header.mm_header .mm_sub .mm_sec .mm_row { font-size: 14px; padding-left: 8px; }
  header.mm_header .mm_sub .mm_sub .mm_t { font-size: 13px; color: var(--mm-muted); }
  /* Език: на телефон не е в лентата, а точка от менюто — „ред като останалите“ (мокъп mobile-lang,
     вариант 1). Отделен е с тънка линия; вдясно стои името на текущия език в приглушено; в разгънатия
     списък избраният език е с ментова точка. */
  header.mm_header .fixed_part .hd_wrap .lang_switcher { display: none; }
  header.mm_header .mm_lang_sec, header.mm_header .mm_lang_row { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--mm-line); }
  header.mm_header .mm_lang_sec > .mm_row { min-height: 52px; }
  /* Два езика: целият ред е линк към другия език; иконката за размяна подсказва, че сменя веднага. */
  header.mm_header .mm_lang_row { min-height: 60px; -webkit-tap-highlight-color: rgba(44, 254, 220, .12); }
  header.mm_header .mm_lang_row .al { position: static; font-size: 16px; line-height: 1; cursor: inherit; }
  header.mm_header .mm_lang_row .al:before { color: var(--mm-mint); font-size: 16px; }
  header.mm_header .mm_lang_row:active .mm_lang_val { color: var(--mm-text); }
  header.mm_header .mm_lang_val { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--mm-muted); }
  header.mm_header .mm_lang_sec.mm_open > .mm_row { color: var(--mm-text); }
  header.mm_header .mm_lang_sec .mm_sub .mm_item { justify-content: space-between; }
  header.mm_header .mm_lang_sec .mm_sub .mm_t { font-size: 15px; color: #D6D4DA; }
  header.mm_header .mm_lang_sec .mm_sub .mm_lang_on .mm_t { color: var(--mm-text); font-weight: 600; }
  header.mm_header .mm_lang_sec .mm_sub .mm_lang_on:after { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mm-mint); }
  header.mm_header .mm_lang_sec .mm_sub .mm_lang_on:hover { background: none; }

  /* „Нов си? Как да започна“ — над бутоните, центрирано, в стила на подканата от десктоп лентата. */
  /* По-едро (2026-11-10): 14px се кликаше трудно. Сега линкът е 17px (основният размер за текст по HIG),
     редът е 48px висок и цялата му ширина е цел за докосване. */
  /* margin-top: -8px — редът има собствен въздух (48px), затова над него остават 8px, а не 16-те на
     бутоните; когато го няма (логнат клиент), бутоните са с по 16px отгоре и отдолу. */
  header.mm_header .mm_d_start { grid-column: 1 / -1; margin-top: -8px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font: 400 16px/1.4 "IBM Plex Sans", sans-serif; color: var(--mm-muted); text-decoration: none; -webkit-tap-highlight-color: rgba(44, 254, 220, .12); }
  header.mm_header .mm_d_start b { font-size: 17px; font-weight: 600; color: var(--mm-mint); }
  header.mm_header .mm_d_start:active b { text-decoration: underline; }
  header.mm_header .mm_d_foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--mm-line); flex: none; position: sticky; bottom: 0; background: var(--mm-bar); }

  /* Екран „Избери актив“ */
  header.mm_header .mm_d_asset { display: none; flex: 1; flex-direction: column; padding: 8px 16px 16px; }
  header.mm_header .mm_drawer.mm_asset .mm_d_asset { display: flex; }
  header.mm_header .mm_drawer.mm_asset .mm_d_body, header.mm_header .mm_drawer.mm_asset .mm_d_foot { display: none; }
  header.mm_header .mm_d_back { display: flex; align-items: center; gap: 12px; width: auto; height: auto; min-height: 44px; border-radius: 0; box-shadow: none; text-transform: none; letter-spacing: 0; margin: 0; padding: 0; font: 600 16px/1.4 "IBM Plex Sans", sans-serif; color: var(--mm-text); background: none; border: 0; cursor: pointer; text-align: left; }
  header.mm_header .mm_d_back .al { position: static; font-size: 20px; line-height: 1; cursor: inherit; }
  header.mm_header .mm_d_back .al:before { color: var(--mm-text); font-size: 20px; }
  header.mm_header .mm_d_asset .mm_px_tools { display: block; margin: 0; }
  header.mm_header .mm_d_asset .mm_seg { display: flex; margin: 8px 0 12px; }
  header.mm_header .mm_d_asset .mm_seg button { flex: 1; min-height: 44px; }
  header.mm_header .mm_d_asset .mm_search { width: 100%; min-height: 44px; margin-bottom: 12px; }
  header.mm_header .mm_d_asset .mm_search input { font-size: 16px; }
  header.mm_header .mm_d_asset .mm_px { max-height: none; border: 0; background: none; overflow: visible; }
  header.mm_header .mm_d_asset .mm_px_row { grid-template-columns: 24px 1fr auto 64px; padding: 0; min-height: 44px; font-size: 14px; gap: 8px; }
  header.mm_header .mm_d_asset > .mm_btn { width: 100%; margin-top: 16px; flex: none; }

  /* „Избери актив“ е списък от ~120 реда (2026-11-10): за да не се скролира обратно до горе, отгоре
     остават залепени „← Избери актив“ и ред с табовете и търсачката,
     а отдолу — бутонът „Всички пазари“. Скролира се само списъкът. */
  header.mm_header .mm_d_back { position: sticky; top: 0; z-index: 2; width: auto; margin: 0 -16px; padding: 0 16px; background: var(--mm-bar); }
  header.mm_header .mm_d_asset .mm_px_tools { display: flex; align-items: center; gap: 8px; position: sticky; top: 44px; z-index: 2; margin: 0 -16px 4px; padding: 4px 16px 12px; background: var(--mm-bar); border-bottom: 1px solid var(--mm-line); }
  header.mm_header .mm_d_asset .mm_seg { flex: none; margin: 0; }
  header.mm_header .mm_d_asset .mm_seg button { flex: none; min-width: 56px; padding: 0 12px; }
  header.mm_header .mm_d_asset .mm_search { flex: 1; width: auto; min-width: 0; margin: 0; }
  header.mm_header .mm_d_asset > .mm_btn { position: sticky; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 2; box-shadow: 0 0 0 12px var(--mm-bar), 0 16px 0 12px var(--mm-bar); }
}

/* Намалено движение (системна настройка): без преходи и анимации в хедъра. */
@media (prefers-reduced-motion: reduce) {
  header.mm_header *, header.mm_header *:before, header.mm_header *:after { transition: none !important; animation: none !important; }
}

/* ───────── Плаващ остров (вариант 5 от мокъпа menu-joined, 2026-11-11) — само десктоп, от 1280px ─────────
   Лентата вече не е от ръб до ръб с черта отдолу, а заоблена стъклена карта на 12px от горния ръб.
   Отвореният панел (и менюто на акаунта) е продължение на СЪЩАТА карта, без разделителна черта.
   • Стъклото е ЕДИН слой. При затворено меню е .mm_bar:before. При отворено то се скрива (:has) и
     стъклото е :before на самия панел, изтеглен 72px нагоре, така че покрива и лентата — едно
     размазване за цялата карта. Два отделни стъклени слоя (лента + панел) размазват поотделно и на
     границата им се виждаше шев.
   • Затова панелите и менюто на акаунта тук нямат собствен фон, backdrop-filter и z-index: всяко от тях
     би направило отделен слой и стъклото (z-index: -1) щеше да покрие логото и навигацията.
   • Ширина: съдържанието в лентата остава по решетката на страниците, а картата го обгражда с 24px;
     където екранът не стига (1440–1521px), картата спира на 16px от ръба и съдържанието влиза навътре.
   • Хедърът в потока е 84px (12 + 72) — банерите под него са изтеглени със същото, виж най-горе.
   • Без :has (стари браузъри) лентата пази своето стъкло и под отворен панел — малко по-тъмна, без шев. */
@media (min-width: 1280px) {
  header.mm_header .fixed_part { padding-top: 12px; box-shadow: none; pointer-events: none; }
  header.mm_header .fixed_part:before { content: none; }
  header.mm_header .mm_bar { pointer-events: auto; width: min(100% - 32px, 1196px); max-width: none; padding: 0 24px; }
  header.mm_header .mm_bar:before,
  header.mm_header .mm_panel:before,
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc:before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; pointer-events: none;
    border-radius: 20px; border: 1px solid rgba(255, 255, 255, .10); background: rgba(22, 20, 28, .66);
    -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  }
  header.mm_header .mm_bar:before { box-shadow: 0 8px 24px rgba(0, 0, 0, .30); }
  header.mm_header .mm_panel:before,
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc:before { top: -72px; box-shadow: 0 24px 48px rgba(0, 0, 0, .45); }
  header.mm_header .mm_bar:has(.mm_nav > li.mm_open):before,
  header.mm_header .mm_bar:has(#account_toggle.open):before { content: none; }

  /* Панелите: по цялата ширина на картата, прозрачни, без собствен кант */
  header.mm_header .mm_panel { left: 0; right: 0; z-index: auto; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; border-radius: 0 0 20px 20px; box-shadow: none; padding: 24px 32px 32px; }

  /* Меню на акаунта: панел по цялата ширина на картата, като тези на навигацията. Позиционира се
     спрямо .mm_bar, затова обвивките му са static; „мостът“ за посочване е :after на самото меню. */
  header.mm_header .fixed_part .hd_wrap,
  header.mm_header .fixed_part .hd_wrap .account_wrap,
  header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper,
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle { position: static; }
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle:after,
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle.has_label:after { content: none; }
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc {
    left: 0; right: 0; top: 100%; width: auto; max-width: none; max-height: none; overflow: visible; margin: 0; z-index: auto; transition: none;
    background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; border-radius: 0 0 20px 20px; box-shadow: none; padding: 24px 32px 32px;
    display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 32px;
  }
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc:after { content: ''; position: absolute; right: 32px; top: -16px; width: 128px; height: 16px; }
  header.mm_header .mm_acc_user { grid-column: 1; grid-row: 1; margin-bottom: 8px; }
  header.mm_header .mm_acc_grid { grid-column: 2; grid-row: 1 / span 2; padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .10); }
  header.mm_header .mm_acc_cols_3 .mm_acc_grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  header.mm_header .mm_acc_cols_2 .mm_acc_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  header.mm_header .mm_acc_cols_1 .mm_acc_grid { grid-template-columns: minmax(0, 1fr); }
  header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper a.mm_acc_exit { grid-column: 1; grid-row: 2; align-self: start; position: static; margin: 0 -8px; padding: 8px; min-height: 48px; border: 0; border-radius: 8px; background: none; }
  header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper a.mm_acc_exit:hover { background: rgba(255, 255, 255, .06); }
  /* В по-тесен остров (профила на 1280px) надписите се пренасят, вместо да излизат извън менюто. */
  header.mm_header .mm_acc .mm_acc_item .mm_t { white-space: normal; }
  header.mm_header .mm_acc .mm_acc_item .mm_tx { flex: 1 1 auto; min-width: 0; }
}
@media (min-width: 1440px) { header.mm_header .mm_bar { width: min(100% - 32px, 1436px); } }
@media (min-width: 1474px) { header.mm_header .mm_bar { width: min(100% - 32px, 1490px); } }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  @media (min-width: 1280px) {
    header.mm_header .mm_bar:before, header.mm_header .mm_panel:before,
    header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc:before { background: rgba(22, 20, 28, .97); }
  }
}

/* ───────── Профил: странично меню (2026-11-11, мокъп profile-header; 2026-11-12 — плаваща карта и групи) ─────────
   Отгоре логото (само от 1280px), после точките по групи (първите три без заглавие, после Управление на профила /
   Обслужване) и разделители, най-долу потребителят (аватар, име, хапчета „VIP“ / „Верифициран“) с иконата за изход.
   Групите „История“ и „Профил и сигурност“ се разгъват (<details>), подточките са с линия-дърво.
   Фонът е стъклото на острова на хедъра; иконите — двуцветните SVG от nav-icons (24px, в подточките 20px).
   HIG + осмицата: меню 272px (подточките с отстъпа и „Запазени криптоадреси“ не се събират в по-тясно); редовете
   44px + 4px (стъпка 48), отстъп 8px отвътре и отвън; заглавията на групите 12/16, без главни; избраната точка — ментов текст
   и лек ментов фон (без чертата вляво); фокусът от клавиатура — ментов кант около реда. */
.profile_wrap .my_info { width: 272px; background: rgba(22, 20, 28, .66); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); font-family: "IBM Plex Sans", sans-serif; }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .profile_wrap .my_info { background: rgba(22, 20, 28, .97); }
}
@media (max-width: 991px) { .profile_wrap .my_info { border-radius: 0 16px 16px 0; } }
@media (min-width: 992px) { .profile_wrap .balance_wrap { width: calc(100% - 272px); } }
.profile_wrap .my_info .pf_brand { display: none; }

/* Потребителят най-долу, до изхода (2026-11-12, по скрийншота „Dev Admin“): без плочка — редът е направо върху картата,
   56px висок, при посочване светва леко; аватар 40px (8px отгоре и отдолу; инициалите 16px = 0,4 от кръга, като в
   Контакти на iOS), 12px до текста,
   име 14/20 и под него хапчето „VIP“; на снимката значката „Верифициран“; вдясно малка сива икона за изход
   (18px, без кутия; целта за клик е 44×44). Над плочката точките, които не се събират, избледняват (.pf_more от скрипта), вместо да са отрязани. */
.my_info .pf_user { display: flex; align-items: center; gap: 4px; margin: 8px 8px 0; }
.my_info .pf_user_link { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 8px; border-radius: 12px; color: #fff; text-decoration: none; transition: background .15s; }
.my_info .pf_user_link:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.my_info .pf_avatar { flex: none; display: block; position: relative; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }
/* Значката „Верифициран“ на снимката (2026-11-12, като в Instagram): ментова розетка 16px (#1FE3D0, 2026-11-13) с тъмна отметка, на -4px в
   долния десен ъгъл на 40px аватар; тънкият тъмен кант (в цвета на плочката) я отделя от снимката. */
.my_info .pf_avatar_wrap { flex: none; position: relative; width: 40px; height: 40px; }
.my_info .pf_badge { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 16px; height: 16px; pointer-events: none; }
.my_info .pf_badge i { grid-area: 1 / 1; line-height: 1; }
.my_info .pf_badge i:before { color: inherit; }
.my_info .pf_badge .fa-certificate { font-size: 16px; color: #1FE3D0; filter: drop-shadow(1px 0 0 #211E29) drop-shadow(-1px 0 0 #211E29) drop-shadow(0 1px 0 #211E29) drop-shadow(0 -1px 0 #211E29); }
.my_info .pf_badge .fa-check { position: relative; font-size: 8px; color: #04201E; } /* relative: розетката е с filter и иначе се рисува върху отметката */
.my_info .pf_avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.my_info .pf_avatar .pf_initials { display: none; }
.my_info .pf_avatar.no_photo .pf_initials { display: grid; place-items: center; width: 100%; height: 100%; background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); color: #fff; font: 600 16px/1 "IBM Plex Sans", sans-serif; letter-spacing: .02em; }
.my_info .pf_who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.my_info .pf_name { display: flex; min-width: 0; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0; color: #fff; transition: color .15s; }
.my_info .pf_name_t { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my_info .pf_logout { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border-radius: 12px; color: #8696A8; font-size: 18px; line-height: 1; text-decoration: none; transition: color .15s, background .15s; }
.my_info .pf_logout .al:before { color: inherit; }
.my_info .pf_logout:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.my_info .pf_user_link:focus-visible, .my_info .pf_logout:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px #1FE3D0; }
.my_info .pf_nav.pf_more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent); }
/* Хапчето под името — само „VIP“ („Верифициран“ е значка на снимката). 20px високо, текст 11/16. */
.my_info .pf_pills { display: flex; flex-wrap: nowrap; gap: 4px; margin-top: 4px; }
.my_info .pf_pill { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border: 1px solid; border-radius: 10px; font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
/* VIP (2026-11-17): едно и също златно хапче навсякъде — sidebar, панел „Профил“ на телефон, менюто в хедъра
   (картата и реда с името под 1280). Без корона; изпъкнало злато с тъмнокафяв текст (контраст > 7:1). */
.vip_pill, .my_info .pf_pill.vip_pill, header.mm_header .vip_pill { display: inline-flex; align-items: center; flex: none; height: 20px; padding: 0 8px; border: 0; border-radius: 10px;
  color: #3B2A00; font: 700 11px/16px "IBM Plex Sans", sans-serif; letter-spacing: .04em; white-space: nowrap; text-transform: none;
  background: linear-gradient(145deg, #FBE08A 0%, #EBC55A 45%, #C9972E 100%);
  box-shadow: inset 0 1px 0 rgba(255, 249, 220, .75), inset 0 -1px 0 rgba(122, 82, 0, .45), -2px -2px 4px rgba(255, 255, 255, .07), 2px 2px 6px rgba(0, 0, 0, .55); }

/* Заглавия на групите и разделители (разделителят е над заглавието, на 16px от ръбовете) */
/* Заглавията на разделите — само с главна първа буква (2026-11-12), както са в текстовете; без разредката за главни. */
.my_info .pf_sec { margin: 8px 24px 8px; padding: 0; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #9FB0C3; }
.my_info .profile_nav + .pf_sec { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .10); }

/* Редовете */
.my_info .profile_nav li { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 8px 4px; padding: 0 8px; border-radius: 8px; position: relative; transition: background .15s; }
.my_info .profile_nav li:last-of-type { margin-bottom: 0; }
.my_info .profile_nav li a { flex: 1 1 auto; align-self: stretch; display: flex; align-items: center; gap: 12px; min-width: 0; white-space: nowrap; font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 0; color: #fff; }
.my_info .profile_nav li:hover { background: rgba(255, 255, 255, .05); }
.my_info .profile_nav li.active { background: rgba(31, 227, 208, .07); }
.my_info .profile_nav li.active > a { color: #1FE3D0; font-weight: 600; }
/* Без синята черта вляво на избраната точка (2026-11-12) — избраната се отличава с ментовия текст и фона. */
.my_info .profile_nav li:after { content: none; }
.my_info .profile_nav li .pf_ic { flex: none; display: block; width: 24px; height: 24px; }
@supports selector(:has(a)) {
  .my_info .profile_nav li a:focus-visible { outline: 0; }
  .my_info .profile_nav li:has(> a:focus-visible) { box-shadow: inset 0 0 0 2px #1FE3D0; }
}
/* Етикети вдясно: „Завършена“ (ментов), „Бизнес“ (сив), брой непрочетени (ментово кръгче) */
.my_info .pf_tag, .pf_flyout .pf_tag { flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border: 1px solid rgba(255, 255, 255, .20); border-radius: 10px; background: rgba(255, 255, 255, .06); color: #C9D3DE; font-size: 11px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.my_info .pf_tag_ok, .pf_flyout .pf_tag_ok { color: #1FE3D0; border-color: rgba(31, 227, 208, .5); background: rgba(31, 227, 208, .10); }
.my_info .pf_count { flex: none; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 12px; background: #1FE3D0; color: #04201E; font-size: 12px; line-height: 24px; font-weight: 700; text-align: center; }

/* Разгъващите се групи: редът-заглавие е като точка; подточките са с линия-дърво от иконата на групата */
.my_info .profile_nav li.pf_grp_li { display: block; padding: 0; min-height: 0; }
.my_info .profile_nav li.pf_grp_li:hover { background: none; }
.my_info .pf_grp > summary { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 8px; border-radius: 8px; list-style: none; cursor: pointer; font-size: 14px; line-height: 20px; font-weight: 600; color: #fff; white-space: nowrap; transition: background .15s; }
.my_info .pf_grp > summary::-webkit-details-marker { display: none; }
.my_info .pf_grp > summary:hover { background: rgba(255, 255, 255, .05); }
.my_info .pf_grp > summary:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px #1FE3D0; }
.my_info .pf_grp > summary .pf_ic { flex: none; display: block; width: 24px; height: 24px; }
.my_info .pf_grp > summary .pf_t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.my_info .pf_grp .pf_chev { flex: none; font-size: 12px; color: #9FB0C3; transform: rotate(-90deg); transition: transform .2s; }
.my_info .pf_grp .pf_chev:before { color: inherit; }
.my_info .pf_grp[open] > summary .pf_chev { transform: none; } /* като в страничните менюта на Apple: свита → надясно, отворена → надолу */
.my_info .pf_sub { position: relative; margin: 4px 0 0; padding: 0 0 0 40px; }
.my_info .pf_sub:before { content: ''; position: absolute; left: 28px; top: 0; bottom: 22px; width: 1px; background: rgba(255, 255, 255, .16); }
.my_info .profile_nav .pf_sub > li { margin: 0 0 4px; }
.my_info .profile_nav .pf_sub > li:last-child { margin-bottom: 0; }
.my_info .profile_nav .pf_sub > li:before { content: ''; position: absolute; left: -12px; top: 50%; width: 12px; height: 1px; margin: 0; background: rgba(255, 255, 255, .16); }
.my_info .profile_nav .pf_sub > li a { font-weight: 400; }
.my_info .profile_nav .pf_sub .pf_ic { width: 20px; height: 20px; }

/* Подменю встрани (2026-11-12, по скрийншота): на десктоп с мишка (от 992px; .pf_fly от скрипта) групите не се
   разгъват — стрелката сочи надясно, а подточките излизат в панел до картата при посочване (или клик / Enter).
   Групата с отворената страница свети като избрана точка. Панелът е стъклото на менюто на акаунта в хедъра:
   заобляне 16px, отстъп 8px, редове 40px (менюто е само за мишка — по HIG за macOS по-ниските редове са наред),
   иконите 20px. Отляво има невидим мост 16px, за да не се затваря, докато мишката минава от реда към панела. */
.my_info.pf_fly .pf_grp > .pf_sub { display: none; }
.my_info.pf_fly .pf_grp .pf_chev, .my_info.pf_fly .pf_grp[open] > summary .pf_chev { transform: rotate(-90deg); }
/* Същото и без класа от скрипта (2026-11-13): на компютър с мишка стрелката е надясно още от първия кадър. Иначе при
   презареждане скриптът първо мереше списъка с „отворени“ групи (стрелка надолу), после включваше .pf_fly и стрелките
   се завъртаха пред очите. Условието е същото като в скрипта (layouts/profile). */
@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
  .my_info .pf_grp .pf_chev, .my_info .pf_grp[open] > summary .pf_chev { transform: rotate(-90deg); }
  /* 2026-11-16: и подточките, и светването на отворената група — от първия кадър. Иначе групата на отворената
     страница (винаги разгъната, data-force) показваше за миг дървото с подточките, докато скриптът включи .pf_fly —
     видимо при смяна между „Поръчки / Транзакции / Лимит поръчки“. В панела встрани списъкът е в <body>, не в групата,
     затова правилото не го засяга. */
  .my_info .pf_grp > .pf_sub { display: none; }
  .my_info .pf_grp[data-force] > summary { background: rgba(31, 227, 208, .07); color: #1FE3D0; }
}
.my_info.pf_fly .pf_grp.pf_hot > summary { background: rgba(255, 255, 255, .05); }
.my_info.pf_fly .pf_grp[data-force] > summary { background: rgba(31, 227, 208, .10); color: #1FE3D0; }
.pf_flyout { position: fixed; z-index: 1000; min-width: 224px; padding: 8px; border: 1px solid rgba(255, 255, 255, .10); border-radius: 16px; background: rgba(25, 22, 31, .96); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 48px rgba(0, 0, 0, .45); font-family: "IBM Plex Sans", sans-serif; text-align: left; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .pf_flyout { background: rgba(25, 22, 31, .8); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%); }
}
.pf_flyout[hidden] { display: none; }
.pf_flyout:before { content: ''; position: absolute; left: -17px; top: 0; bottom: 0; width: 16px; }
.pf_flyout .pf_sub { margin: 0; padding: 0; list-style: none; }
.pf_flyout .pf_sub > li { display: flex; align-items: center; gap: 8px; min-height: 40px; margin: 0; padding: 0 8px; border-radius: 8px; list-style: none; }
.pf_flyout .pf_sub > li:before, .pf_flyout .pf_sub > li:after { content: none; }
.pf_flyout .pf_sub > li:hover { background: rgba(255, 255, 255, .06); }
.pf_flyout .pf_sub > li a { flex: 1 1 auto; align-self: stretch; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0; white-space: nowrap; color: #fff; font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 0; text-decoration: none; }
.pf_flyout .pf_sub > li a:hover { color: #fff; }
.pf_flyout .pf_sub > li.active { background: rgba(31, 227, 208, .10); }
.pf_flyout .pf_sub > li.active > a { color: #1FE3D0; font-weight: 600; }
.pf_flyout .pf_ic { flex: none; display: block; width: 20px; height: 20px; }
.pf_flyout .pf_sub > li a:focus-visible { outline: 0; }
.pf_flyout .pf_sub > li:has(> a:focus-visible) { box-shadow: inset 0 0 0 2px #1FE3D0; }
/* HIG „Намаляване на движението“: без плавни преходи и без въртене на стрелката (2026-11-12). */
@media (prefers-reduced-motion: reduce) {
  .my_info .pf_user_link, .my_info .pf_logout, .my_info .profile_nav li, .my_info .pf_grp > summary, .my_info .pf_grp .pf_chev { transition: none; }
}

/* Чекмеджето на телефон: редът на потребителя с изхода стои долу, точките над него се скролират. Отгоре 72px за
   копчето за затваряне (16 + 44 + 12), за да не го застъпва. */
@media (max-width: 991px) {
  .profile_wrap .my_info { display: flex; flex-direction: column; padding: 72px 0 8px; overflow: hidden; }
  .my_info .pf_nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  .my_info .pf_user { flex: none; }
}

/* ───────── Профил: островът само над съдържанието (вариант А от мокъпа profile-header-2, 2026-11-11) ─────────
   От 1280px на страниците на профила (main > .my_profile): страничното меню е колона от самия връх с логото
   горе, а островът на хедъра започва там, където започва съдържанието (16 + 272px меню + 16px), стига до 16px от
   десния край и е без лого. Секцията се качва под хедъра; съдържанието остава на същото място (отстъп 84px
   на .profile_wrap), а менюто се качва обратно с -84px. На „Портфейл“ съдържанието има собствен тъмен фон,
   затова и то се качва, за да няма светла ивица под острова. */
@media (min-width: 1280px) {
  header.mm_header:has(~ main > .my_profile) .mm_bar { width: auto; max-width: none; margin: 0 16px 0 304px; }
  header.mm_header:has(~ main > .my_profile) .mm_bar > .mm_logo { display: none; }
  header.mm_header ~ .wrapper + main > .my_profile { margin-top: -84px; border-top: 0; }
  header.mm_header ~ .wrapper + main > .my_profile .profile_wrap { padding-top: 84px; }
  header.mm_header ~ .wrapper + main > .my_profile .my_info { margin-top: -84px; padding-top: 32px; }
  header.mm_header ~ .wrapper + main > .my_profile .my_info .pf_brand { display: flex; align-items: center; justify-content: center; flex: none; height: 48px; margin: 0 16px 24px; border-radius: 8px; }
  header.mm_header ~ .wrapper + main > .my_profile .my_info .pf_brand:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px #1FE3D0; }
  /* Плаващо меню (2026-11-12): карта като острова на хедъра — същото стъкло, кант, заобляне 20px и сянка,
     на 12px от горния ръб (на една линия с острова) и 16px от левия. Висока е колкото екрана (без 12px горе и
     долу) и остава на място при скролиране (sticky): логото е центрирано горе, на средата на височината на
     острова (12 + 12 + 24 = 48px; редът на логото е 48px; кантът е вътрешна сянка, за да не мести нищо — 2026-11-12, HIG/8pt); редът на потребителя с изхода стои долу,
     а точките над него се скролират, ако не се събират. За sticky .profile_wrap е overflow: clip вместо hidden
     (hidden прави собствен скрол-контейнер и sticky не работи). Острова и съдържанието започват 16px след
     картата: 16 + 272 + 16. */
  header.mm_header ~ .wrapper + main > .my_profile .profile_wrap { overflow: clip; }
  header.mm_header ~ .wrapper + main > .my_profile .my_info {
    position: sticky; top: 12px; align-self: flex-start; flex: none; margin: -72px 0 16px 16px; padding: 12px 0 8px;
    display: flex; flex-direction: column; height: calc(100vh - 24px); overflow: hidden;
    border: 0; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10), 0 8px 24px rgba(0, 0, 0, .30);
  }
  header.mm_header ~ .wrapper + main > .my_profile .my_info .pf_nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #474158 transparent; }
  header.mm_header ~ .wrapper + main > .my_profile .my_info .pf_user { flex: none; }
  header.mm_header ~ .wrapper + main > .my_profile .balance_wrap { width: calc(100% - 288px); }
  /* На „Портфейл“ съдържанието е на тъмния фон — и около картата е същият, както около острова. */
  header.mm_header ~ .wrapper + main > .my_profile:has(.balance_wrap.pf) { background-color: #121117; }
    header.mm_header ~ .wrapper + main > .my_profile .my_info .pf_brand img { display: block; height: 32px; width: auto; }
}
/* Профил, 1280–1499px (2026-11-12): островът е с 304px по-къс (страничното меню е 272px) и „Още“ опираше в
   „Моите активи“ — там бутонът е само иконка (кръгче 44px, надписът остава за екранните четци и в подсказката).
   Същата точка е първа в страничното меню. */
@media (min-width: 1280px) and (max-width: 1499px) {
  header.mm_header:has(~ main > .my_profile) .hd_wrap .mm_btn.mm_my_assets { width: 44px; padding: 0; gap: 0; border-radius: 22px; }
  header.mm_header:has(~ main > .my_profile) .hd_wrap .mm_btn.mm_my_assets .mm_my_assets_t { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
/* 1280–1439px: островът тук е с 288px по-тесен от обичайното (на 1280px — 1033px), затова точките в него са по-сбити. */
@media (min-width: 1280px) and (max-width: 1439px) {
  header.mm_header:has(~ main > .my_profile) .mm_bar { gap: 16px; padding: 0 16px; }
  header.mm_header:has(~ main > .my_profile) .mm_top { padding: 0 8px; }
  header.mm_header:has(~ main > .my_profile) .mm_top:after { left: 8px; right: 8px; }
}

/* ───────── Телефон и таблет (под 1280px): лентата и отвореното меню са един елемент (2026-11-11) ─────────
   Както на десктоп с острова: докато бургер менюто или менюто на акаунта е отворено, лентата е без чертата
   отдолу и менюто продължава от нея. Менюто на акаунта не е отделна карта с кант и отстъп, а лист на цял
   екран под лентата — като бургер менюто — и се разгръща по същия начин (clip-path отгоре надолу).
   Стъклото е ЕДНО и е същото като на затворената лента: :before на .fixed_part е винаги висок колкото
   екрана, но е изрязан (clip-path) до височината на лентата; при отваряне изрязването се разгръща надолу
   заедно с менюто. Така лентата не сменя вида си и между нея и менюто няма шев. Самите менюта са
   прозрачни; залепените долни редове (бутоните, „Изход“) са с лек собствен фон и размазване, като лента
   с инструменти, за да не прозират под тях редовете, които се скролират. */
@media (max-width: 1279px) {
  #toggle_nav:checked ~ header.mm_header .fixed_part,
  header.mm_header:has(#account_toggle.open) .fixed_part { box-shadow: none; }
  header.mm_header .fixed_part:before { bottom: auto; height: 100vh; height: 100dvh; pointer-events: none;
    -webkit-clip-path: inset(0 0 calc(100% - var(--mm-h)) 0); clip-path: inset(0 0 calc(100% - var(--mm-h)) 0);
    transition: clip-path .32s cubic-bezier(.4, 0, .2, 1), -webkit-clip-path .32s cubic-bezier(.4, 0, .2, 1); }
  #toggle_nav:checked ~ header.mm_header .fixed_part:before,
  header.mm_header:has(#account_toggle.open) .fixed_part:before { background: rgba(22, 20, 28, .62); -webkit-clip-path: inset(0); clip-path: inset(0); }
  header.mm_header .mm_drawer { background: transparent; }
  header.mm_header .mm_d_foot,
  header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper a.mm_acc_exit { background: rgba(22, 20, 28, .95); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc {
    position: fixed; top: var(--mm-h); left: 0; right: 0; bottom: 0; width: auto; max-width: none; height: auto; max-height: none;
    padding: 16px 16px 0; border: 0; border-radius: 0; box-shadow: none; background: transparent;
    opacity: 1; visibility: hidden; pointer-events: none; transition: visibility 0s linear .32s;
  }
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle.open .account_dropdown.mm_acc { visibility: visible; pointer-events: auto; transition: visibility 0s; }
  /* Разгръща се само стъклото (горе); съдържанието на двете менюта се появява с избледняване и леко
     плъзгане. Без clip-path върху самите менюта: той „затваря“ размазването в тях и залепените долни
     редове (бутоните, „Изход“) не размазваха редовете, които минават под тях. */
  header.mm_header .mm_drawer, #toggle_nav:checked ~ header.mm_header .mm_drawer { -webkit-clip-path: none; clip-path: none; }
  header.mm_header .mm_drawer { transition: visibility 0s linear .32s; }
  #toggle_nav:checked ~ header.mm_header .mm_drawer { transition: visibility 0s; }
  header.mm_header .mm_acc > * { opacity: 0; transform: translateY(-16px); transition: opacity .2s ease, transform .32s cubic-bezier(.4, 0, .2, 1); }
  header.mm_header #account_toggle.open .mm_acc > * { opacity: 1; transform: none; transition: opacity .24s ease .08s, transform .32s cubic-bezier(.4, 0, .2, 1); }
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc:after { content: none; }
  /* Подсигуряване: ако някак и двете менюта са отворени, вижда се само това на акаунта (main-menu.js
     затваря другото — двете са прозрачни върху едно стъкло и иначе се застъпват). */
  header.mm_header:has(#account_toggle.open) .mm_drawer { visibility: hidden; pointer-events: none; }
  /* Изгледът с цените в бургер менюто: залепените горе (търсачката) и долу („Всички пазари“) са в тона на
     долните редове, а не в плътния цвят на старата лента. */
  header.mm_header .mm_d_asset .mm_px_tools { background: rgba(22, 20, 28, .95); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
  header.mm_header .mm_d_asset > .mm_btn { box-shadow: 0 0 0 12px rgba(22, 20, 28, .95), 0 16px 0 12px rgba(22, 20, 28, .95); }
  header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper a.mm_acc_exit { border-radius: 0; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper a.mm_acc_exit:hover { background: rgba(32, 29, 39, .92); }

  /* Съдържанието на двете менюта е в решетката на лентата (на таблет лентата е 460–1180px в средата), а
     фонът, чертите и залепеният долен ред са по цялата ширина. --mm-g е отстъпът отляво и отдясно. */
  header.mm_header { --mm-g: 16px; }
  header.mm_header .mm_d_body { padding-left: var(--mm-g); padding-right: var(--mm-g); }
  header.mm_header .mm_d_foot { padding-left: var(--mm-g); padding-right: var(--mm-g); }
  header.mm_header .mm_d_asset { padding-left: var(--mm-g); padding-right: var(--mm-g); }
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc { padding-left: var(--mm-g); padding-right: var(--mm-g); }
  header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper a.mm_acc_exit { margin-left: calc(-1 * var(--mm-g)); margin-right: calc(-1 * var(--mm-g)); padding-left: var(--mm-g); padding-right: var(--mm-g); }
}
@media (min-width: 480px) and (max-width: 1279px) { header.mm_header { --mm-g: calc((100vw - 460px) / 2 + 16px); } }
@media (min-width: 640px) and (max-width: 1279px) { header.mm_header { --mm-g: calc((100vw - 620px) / 2 + 16px); } }
@media (min-width: 768px) and (max-width: 1279px) { header.mm_header { --mm-g: calc((100vw - 748px) / 2 + 16px); } }
@media (min-width: 992px) and (max-width: 1279px) { header.mm_header { --mm-g: calc((100vw - 972px) / 2 + 16px); } }
@media (min-width: 1200px) and (max-width: 1279px) { header.mm_header { --mm-g: calc((100vw - 1180px) / 2 + 16px); } }
/* Без backdrop-filter (стари браузъри) отвореното меню на телефон е почти плътно, за да се чете. */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  @media (max-width: 1279px) {
    #toggle_nav:checked ~ header.mm_header .fixed_part:before,
    header.mm_header:has(#account_toggle.open) .fixed_part:before { background: rgba(22, 20, 28, .97); }
  }
}

/* „Моите активи“ в долната част на мобилното меню — същото стъклено хапче с иконата като в лентата на
   десктоп (2026-11-11), вместо очертан бутон без икона. */
header.mm_header .mm_d_foot .mm_btn.mm_ghost.mm_assets { border: 0; background: rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); color: #fff; font-size: 15px; transition: background .2s, transform .12s; }
header.mm_header .mm_d_foot .mm_btn.mm_ghost.mm_assets:hover { background: rgba(255, 255, 255, .16); color: #fff; }
header.mm_header .mm_d_foot .mm_btn.mm_ghost.mm_assets:active { transform: scale(.97); }
/* Долните бутони на мобилното меню: двете колони са винаги по равно и не излизат извън екрана
   (с 1fr колоната се разтягаше до ширината на „Моите активи“ с иконата и дясното копче опираше в ръба).
   Отстъпът в копчетата е 12px; под 360px иконата на „Моите активи“ се скрива, а шрифтът е 14px с отстъп
   8px, за да се събере „Добави средства“. */
@media (max-width: 1279px) {
  header.mm_header .mm_d_foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  header.mm_header .mm_d_foot .mm_btn { min-width: 0; padding-left: 12px; padding-right: 12px; }
  header.mm_header .mm_d_foot .mm_btn.mm_solid { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 359px) {
  header.mm_header .mm_d_foot .mm_btn.mm_assets .al { display: none; }
  header.mm_header .mm_d_foot .mm_btn, header.mm_header .mm_d_foot .mm_btn.mm_solid, header.mm_header .mm_d_foot .mm_btn.mm_ghost.mm_assets { font-size: 14px; padding-left: 8px; padding-right: 8px; }
}
/* „Избери актив“ на телефон (2026-11-11): табовете EUR / USDC са вдясно на реда „← Избери актив“, а
   търсачката е сама на цял ред под него. В HTML табовете остават в .mm_px_tools (същият блок с цените
   е и в десктоп панела и скриптът ги търси там) — тук само се качват с 44px нагоре, в реда с „назад“.
   Двата залепени реда са една лента в тона на долните редове, с отстъпи по решетката (--mm-g). */
@media (max-width: 1279px) {
  header.mm_header .mm_d_back { margin-left: calc(-1 * var(--mm-g)); margin-right: calc(-1 * var(--mm-g)); padding-left: var(--mm-g); padding-right: var(--mm-g); background: rgba(22, 20, 28, .95); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
  header.mm_header .mm_d_asset .mm_px_tools { margin-left: calc(-1 * var(--mm-g)); margin-right: calc(-1 * var(--mm-g)); padding: 4px var(--mm-g) 12px; }
  header.mm_header .mm_d_asset .mm_seg { position: absolute; top: -44px; right: var(--mm-g); z-index: 1; }
  header.mm_header .mm_d_asset .mm_seg button { min-height: 42px; }
  header.mm_header .mm_d_asset .mm_search { flex: 1 1 100%; width: 100%; }
}

/* ───────── Долна лента на телефон (layouts/footer, само при мобилен браузър; 2026-11-11) ─────────
   Стъклото на хедъра (същият цвят и размазване, тънка светла линия отгоре вместо тъмна сянка) и
   двуцветните иконки 28px от менютата. Пет еднакви колони, всяка цел е поне 49px висока (като лентата
   с табове в iOS) плюс отстъпа на iPhone отдолу. Текущата страница — ментов надпис. Показването при
   скрол (.show / .hide) е от styles.css и не е пипано. Селекторът е по id: application.js презаписва
   класовете на лентата. */
#sticky_footer.sticky_footer { padding: 0 8px env(safe-area-inset-bottom, 0px); border-top: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10);
  background: rgba(22, 20, 28, .62); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  #sticky_footer.sticky_footer { background: rgba(22, 20, 28, .97); }
}
#sticky_footer.sticky_footer ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
#sticky_footer.sticky_footer ul li { display: block; margin: 0; padding: 0; font-size: inherit; }
#sticky_footer.sticky_footer ul li:before { content: none; }
#sticky_footer.sticky_footer .sf_item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; padding: 6px 2px; color: #B4C0CE; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: color .15s; }
#sticky_footer.sticky_footer .sf_item:before { content: none; }
#sticky_footer.sticky_footer .sf_ic { display: block; width: 28px; height: 28px; object-fit: contain; transition: transform .12s; }
#sticky_footer.sticky_footer .sf_t { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 11px/1.2 "IBM Plex Sans", sans-serif; letter-spacing: .01em; }
#sticky_footer.sticky_footer .sf_item.sf_on { color: #1FE3D0; }
#sticky_footer.sticky_footer .sf_item:active .sf_ic { transform: scale(.92); }
#sticky_footer.sticky_footer .sf_item:focus-visible { outline: 2px solid #1FE3D0; outline-offset: -2px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { #sticky_footer.sticky_footer .sf_item:active .sf_ic { transform: none; } }
/* Под 360px (напр. 320px) — по-малък отстъп в лентата. (С пет точки и шрифт 10px; след като „Начало“
   отпадна, четирите надписа се събират и с нормалните 11px.) */
@media (max-width: 359px) {
  #sticky_footer.sticky_footer { padding-left: 4px; padding-right: 4px; }
  #sticky_footer.sticky_footer .sf_item { padding-left: 0; padding-right: 0; }
}
/* Долната лента като плаващо „хапче“ (2026-11-11, в духа на лентите с табове в iOS): на 16px от ръбовете
   и на 12px над долния ръб (плюс отстъпа на iPhone), заоблена, със светъл кант и мека сянка. Избраната
   точка е в по-светло хапче вътре в лентата. Показването и скриването при скрол са както преди (styles.css
   мести bottom); тук се сменя само крайното положение. */
#sticky_footer.sticky_footer { left: 16px; right: 16px; padding: 4px; border-radius: 28px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .10), 0 8px 24px rgba(0, 0, 0, .40); }
#sticky_footer.sticky_footer.show { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
#sticky_footer.sticky_footer .sf_item { min-height: 48px; padding: 4px; border-radius: 24px; gap: 4px; transition: color .15s, background .2s; }
#sticky_footer.sticky_footer .sf_ic { width: 24px; height: 24px; }
#sticky_footer.sticky_footer .sf_item.sf_on { background: rgba(255, 255, 255, .10); }
@media (max-width: 359px) {
  #sticky_footer.sticky_footer { left: 8px; right: 8px; padding: 4px; }
}
/* Отстъпите в плаващата лента (2026-11-11): с пет еднакви колони най-дългият надпис („Портфейл“) оставаше на
   7–11px от десния ръб, а „Начало“ — на 16–23px от левия. Сега всяка точка е широка колкото надписа си плюс
   равен дял от свободното място — така разстоянието около всеки надпис и до двата ръба е еднакво. */
#sticky_footer.sticky_footer ul { display: flex; justify-content: space-between; }
#sticky_footer.sticky_footer ul li { flex: 1 1 auto; min-width: 0; }
#sticky_footer.sticky_footer .sf_item { padding-left: 8px; padding-right: 8px; }
@media (max-width: 359px) { #sticky_footer.sticky_footer .sf_item { padding-left: 4px; padding-right: 4px; } }

/* Плаващата лента се скрива, щом футърът влезе в екрана (клас sf_at_footer на <html> от layouts/footer) —
   плъзга се надолу извън екрана и избледнява. Иначе покриваше последните редове на футъра. */
#sticky_footer.sticky_footer { transition: opacity .3s ease, bottom 1s ease-in-out, transform .3s ease; }
html.sf_at_footer #sticky_footer.sticky_footer { transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom, 0px))); opacity: 0; pointer-events: none; }

/* „Намалено движение“ (системна настройка, напр. iOS → Достъпност → Движение): долната лента не се плъзга —
   появява се и изчезва с кратко избледняване, а иконката не се свива при докосване. */
@media (prefers-reduced-motion: reduce) {
  #sticky_footer.sticky_footer { transition: opacity .2s ease !important; }
  #sticky_footer.sticky_footer.hide { opacity: 0; pointer-events: none; }
  html.sf_at_footer #sticky_footer.sticky_footer { transform: none; }
  #sticky_footer.sticky_footer .sf_item, #sticky_footer.sticky_footer .sf_ic { transition: none; }
}

/* Проверка по HIG и осмицата (2026-11-11) */
/* Кратките трохи („Блог“ ~31px) са с зона за докосване поне 44px широка — невидимо разширение по 8px встрани
   (между две трохи има 32px: 8 + шеврон 16 + 8, така че зоните не се застъпват). */
.es_bc .breadcrumb a { position: relative; }
.es_bc .breadcrumb a:after { content: ''; position: absolute; left: -8px; right: -8px; top: 0; bottom: 0; }
/* Бутоните ≡ (отваря страничното меню на профила на телефон) и „X“ (затваря го) бяха 22×20 и 16×20px —
   зоната е 44×44, а иконата остава на същото място (отстъп навътре, същият отрицателен марж навън). */
.profile_wrap .my_info_toggle.open { box-sizing: content-box; padding: 12px 11px; margin: -12px -11px; }
.profile_wrap .my_info_toggle.close { box-sizing: content-box; padding: 12px 14px; margin: -12px -14px; }
/* Бутонът „Всички пазари“ в мобилното меню: ъгли 12px (беше 10). */
header.mm_header .mm_d_asset > .mm_btn { border-radius: 12px; }
/* „Избери актив“: редът с „назад“ е 48px, за да са табовете EUR / USDC по 44px (заедно с рамката 46px,
   центрирани в реда); търсачката залепва под реда на 48px. */
@media (max-width: 1279px) {
  header.mm_header .mm_d_back { min-height: 48px; }
  header.mm_header .mm_d_asset .mm_px_tools { top: 48px; }
  header.mm_header .mm_d_asset .mm_seg { top: -47px; }
  header.mm_header .mm_d_asset .mm_seg button { min-height: 44px; }
}
/* Десктоп: посочването отваря панел само над самия надпис (2026-11-11). Точките бяха разтегнати на цялата
   височина на лентата (72px) и панелът се отваряше още от горния ръб на острова. Сега всяка точка е 44px
   (HIG) около надписа, центрирана в лентата; чертата под надписа е на същото място както преди. Докато
   панелът е отворен, невидим „мост“ под надписа стига до долния ръб на лентата — мишката не минава през
   празно, когато слиза към панела, а сам той не може да отвори нищо (съществува само при отворен панел). */
@media (min-width: 1280px) {
  header.mm_header .mm_nav { align-items: center; }
  header.mm_header .mm_nav > li { align-items: center; }
  header.mm_header .mm_top { align-self: center; height: 44px; }
  header.mm_header .mm_top:after { bottom: 6px; }
  header.mm_header .mm_nav > li.mm_open > .mm_top:before { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
}
/* Редовете в падащите панели и в менюто на акаунта на десктоп (2026-11-11, по HIG — отстъп около
   избрания ред като в менютата на macOS): 12px отстъп около иконата и текста (беше 8), ъгли 12px (беше 8),
   4px между редовете, за да не се допират фоновете им. Фонът е изтеглен с 12px навън, така че текстът
   остава подравнен със заглавието на колоната. Телефонът не е пипан. */
@media (min-width: 1280px) {
  header.mm_header .mm_item { padding: 12px; margin: 0 -12px; border-radius: 12px; }
  header.mm_header .mm_item + .mm_item { margin-top: 4px; }
  header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper a.mm_acc_exit { margin: 0 -12px; padding: 12px; border-radius: 12px; }
}

/* ───────── EUR / USDC и „Всички пазари“ (2026-11-12) ─────────
   Превключвателят беше плосък (тънка рамка, плътно ментово). Сега е стъклена „капсула“ като копчетата в
   лентата (същото стъкло и горен блясък), а избраният сегмент е като избрания таб Купи / Продай / Обмени
   във формата: прозрачно ментово, тънък ментов кант и ментов текст. Капсулата е 44px висока; сегментите се
   виждат 36px, но зоната им за натискане е 44px (:after). Същото е на „Пазари“ (partials/table_currencies). */
header.mm_header .mm_seg { gap: 4px; padding: 4px; border: 0; border-radius: 22px; overflow: visible; background: rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
header.mm_header .mm_seg button,
header.mm_header .mm_d_asset .mm_seg button { position: relative; min-width: 56px; min-height: 36px; padding: 0 16px; border-radius: 18px; color: #B7C3D1; transition: background .15s, color .15s, box-shadow .15s; }
header.mm_header .mm_seg button:after { content: ''; position: absolute; left: 0; right: 0; top: -4px; bottom: -4px; }
header.mm_header .mm_seg button:hover { color: #fff; }
header.mm_header .mm_seg button[aria-selected="true"] { background: rgba(44, 254, 220, .14); box-shadow: inset 0 0 0 1px rgba(44, 254, 220, .55); color: #2CFEDC; }
header.mm_header .mm_seg button:focus-visible { outline: 2px solid #2CFEDC; outline-offset: 2px; }
@media (max-width: 1279px) {
  header.mm_header .mm_d_asset .mm_seg { top: -46px; }
}
/* „Всички пазари“ в мобилното меню: с преливката и заоблянето на другите главни бутони. */
header.mm_header .mm_d_asset > .mm_btn.mm_solid { border: 0; border-radius: 22px; background: linear-gradient(90deg, #2CFEDC 0%, #1788FA 100%); color: #130B31; }
header.mm_header .mm_d_asset > .mm_btn.mm_solid:hover { color: #130B31; }
/* 2026-11-12: избраното е „плъзгач“ (:before на капсулата), който се мести плавно между двете опции, вместо фон
   на самия бутон. Двата сегмента са еднакво широки (64px), за да е плъзгачът с точен размер. Без квадратното
   осветяване при докосване (tap highlight) — капсулата си има собствено състояние. */
header.mm_header .mm_seg { position: relative; }
header.mm_header .mm_seg:before { content: ''; position: absolute; left: 4px; top: 4px; width: 64px; height: 36px; border-radius: 18px; background: rgba(44, 254, 220, .14); box-shadow: inset 0 0 0 1px rgba(44, 254, 220, .55); transition: transform .28s cubic-bezier(.3, .7, .2, 1); pointer-events: none; }
header.mm_header .mm_seg:has(button:last-child[aria-selected="true"]):before { transform: translateX(68px); }
header.mm_header .mm_seg button,
header.mm_header .mm_d_asset .mm_seg button { flex: none; width: 64px; min-width: 64px; padding: 0; -webkit-tap-highlight-color: transparent; transition: color .2s; }
header.mm_header .mm_seg button,
header.mm_header .mm_seg button:hover,
header.mm_header .mm_seg button:focus,
header.mm_header .mm_seg button:active,
header.mm_header .mm_seg button[aria-selected="true"] { background: none; box-shadow: none; }
header.mm_header .mm_seg button:active { color: #fff; }
header.mm_header .mm_seg button[aria-selected="true"] { color: #2CFEDC; }
@media (prefers-reduced-motion: reduce) { header.mm_header .mm_seg:before { transition: none; } }

/* ───────── „Добави средства“ (2026-11-12) ─────────
   Прозорецът беше залепен горе на телефон, с текст вдясно и неравни отстояния. Сега е в центъра на екрана на
   всяка ширина, с отстояния по мрежата от 8 (16 / 24), текст вляво, редове-опции поне 72px, икона 40px и бутон
   48px (HIG). Кои са опциите и накъде водят не е пипано. */
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto).small_popup { top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: calc(100% - 32px); max-width: 480px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-x: hidden; overflow-y: auto; border-radius: 16px; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) .form_row { margin: 0; padding: 24px; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) .field_content { margin: 0; padding: 0; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) h6.underlined { margin: 0 0 16px; padding: 0 0 16px; font-size: 20px; line-height: 1.4; font-weight: 600; text-align: left; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) .radio_wrap { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) .radio_wrap .radio_label { display: block; width: 100%; max-width: none; margin: 0; padding: 0; border-radius: 12px; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: border-color .15s, background .15s; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) .radio_wrap .radio_label .radio { display: flex; align-items: center; gap: 16px; min-height: 72px; margin: 0; padding: 16px; text-align: left; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) .radio_wrap .radio_label .radio_img { flex: none; width: 40px; height: 40px; margin: 0; padding: 0; display: grid; place-items: center; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) .radio_wrap .radio_label .radio_img img { width: 40px; height: 40px; max-width: none; object-fit: contain; display: block; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) .radio_wrap .radio_label .radio > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; text-align: left; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) .radio_wrap .radio_label strong { display: block; margin: 0; font-size: 16px; line-height: 1.4; font-weight: 600; text-align: left; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) .radio_wrap .radio_label small { display: block; margin: 0; font-size: 14px; line-height: 1.4; font-weight: 400; color: #B7B7B7; text-align: left; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) .btn_wrap { margin: 24px 0 0; padding: 0; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) .btn_wrap .btn { display: flex; align-items: center; justify-content: center; width: 100%; max-width: none; min-height: 48px; margin: 0; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) .radio_wrap .radio_label:focus-visible, :is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) .btn_wrap .btn:focus-visible { outline: 2px solid #2CFEDC; outline-offset: 2px; }
@media (max-width: 479px) {
  :is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto) .form_row { padding: 24px 16px 16px; }
}
/* Същият вид и за огледалния избор при теглене (#popup_choose_withdraw) и за втората стъпка — избор на валута и
   мрежа (#popup_choose_crypto, общ за крипто депозит и теглене). Във втората стъпка: „Назад“ 44×44 до заглавието,
   полета по 48px през 16px, „Продължи“ е главният бутон, а „Затвори“ — второстепенен (стъклен). */
#popup_choose_crypto h6.pcc_head { display: flex; align-items: center; gap: 4px; min-height: 44px; }
#popup_choose_crypto h6.pcc_head .pcc_title { padding: 0; }
#popup_choose_crypto .pcc_back { flex: none; display: grid; place-items: center; width: 44px; height: 44px; min-width: 0; margin: 0 0 0 -12px; padding: 0; border: 0; border-radius: 22px; background: none; box-shadow: none; color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .15s; }
#popup_choose_crypto .pcc_back[hidden] { display: none; }
#popup_choose_crypto .pcc_back:hover, #popup_choose_crypto .pcc_back:active { background: rgba(255, 255, 255, .09); color: #fff; }
#popup_choose_crypto .pcc_back:focus-visible { outline: 2px solid #2CFEDC; outline-offset: 2px; }
#popup_choose_crypto .pcc_back .al { position: static; font-size: 20px; line-height: 1; color: inherit; }
#popup_choose_crypto .pcc_back .al:before { color: inherit; font-size: 20px; }
#popup_choose_crypto .input_wrap { margin: 0 0 16px; padding: 0; }
#popup_choose_crypto form .btn_wrap { margin-top: 24px; }
#popup_choose_crypto .btn_wrap.pcc_close { margin-top: 8px; }
#popup_choose_crypto .btn_wrap.pcc_close .btn { background: rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); color: #fff; border: 0; }
#popup_choose_crypto .btn_wrap.pcc_close .btn:hover { background: rgba(255, 255, 255, .16); color: #fff; }
#popup_choose_crypto h6.pcc_head .pcc_title:before, #popup_choose_crypto h6.pcc_head .pcc_title:after { content: none; }
#popup_choose_crypto h6.pcc_head .pcc_title { border: 0; text-decoration: none; }
/* Двете полета (валутата е select2, мрежата — обикновен select): 48px, рамка, ъгли 12px, текст 16px. */
#popup_choose_crypto .input_wrap select,
#popup_choose_crypto .input_wrap .select2-container .select2-selection { display: flex; align-items: center; width: 100%; height: 48px; min-height: 48px; margin: 0; padding: 0 40px 0 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background-color: rgba(255, 255, 255, .06); box-shadow: none; color: #fff; font: 500 16px/1.4 "IBM Plex Sans", sans-serif; letter-spacing: 0; text-transform: none; }
#popup_choose_crypto .input_wrap .select2-container { display: block; width: 100% !important; }
#popup_choose_crypto .input_wrap .select2-container .select2-selection__rendered { flex: 1; min-width: 0; padding: 0; color: #fff; font: inherit; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#popup_choose_crypto .input_wrap .select2-container .select2-selection__arrow { position: absolute; right: 12px; top: 50%; width: 20px; height: 20px; margin: 0; transform: translateY(-50%); }
#popup_choose_crypto .input_wrap select:focus-visible,
#popup_choose_crypto .input_wrap .select2-container--focus .select2-selection,
#popup_choose_crypto .input_wrap .select2-container--open .select2-selection { border-color: #2CFEDC; outline: 0; }
/* Рамката и фонът са на обвивката (.input_wrap — тя е полето и в останалата част на сайта), за да са двете полета
   еднакви; вътрешният select / select2 е прозрачен и на цялата ширина. */
#popup_choose_crypto .input_wrap { border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: #16131D; transition: border-color .15s; }
#popup_choose_crypto .input_wrap:focus-within { border-color: #2CFEDC; }
#popup_choose_crypto .input_wrap select,
#popup_choose_crypto .input_wrap .select2-container .select2-selection { width: 100% !important; max-width: none; height: 46px; min-height: 46px; border: 0 !important; border-radius: 11px; background-color: transparent; }
/* Падащият списък на select2 е закачен за <body> и styles.css го мести с left:-35px (смятано за други полета) —
   тук го връщаме точно под полето. */
@media (min-width: 480px) {
  body:has(#popup_choose_crypto .select2-container--open) > .select2-container--open .select2-dropdown { left: -1px !important; }
}
/* Падащият списък с мрежи (select2, 2026-11-12): редове по 44px, за да се уцелват с пръст. */
.select2-dropdown.pcc_net_dd .select2-results__option { display: flex; align-items: center; min-height: 44px; padding: 0 16px; font: 500 16px/1.4 "IBM Plex Sans", sans-serif; }
/* 2026-11-12: скритият оригинален select на select2 взимаше ширината и отстъпите на полето и стърчеше 17px извън
   прозореца — при писане в търсачката браузърът превърташе прозореца настрани и всичко се изместваше. */
#popup_choose_crypto .input_wrap select.select2-hidden-accessible { width: 1px !important; height: 1px; min-height: 0; padding: 0; border: 0 !important; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto).small_popup { overflow-x: clip; }
/* „Няма намерен актив.“ в падащия списък — ред 44px, приглушен. */
body:has(#popup_choose_crypto .select2-container--open) > .select2-container--open .select2-results__message { display: flex; align-items: center; min-height: 44px; padding: 0 16px; color: #9B98A3; font: 400 15px/1.4 "IBM Plex Sans", sans-serif; }
/* 2026-11-12: списъкът с активи се отваря ВЪРХУ полето „Изберете актив“, а не под него: търсачката му застава точно
   на мястото на полето и изглежда като него (48px, същият отстъп и шрифт), а резултатите излизат отдолу. Така при
   писане не се покрива полето за мрежа и се вижда, че се пише в самото поле. Само когато списъкът се отваря надолу
   (обичайният случай); ако няма място и select2 го отвори нагоре, остава както досега. */
body:has(#popup_choose_crypto .input_wrap:nth-of-type(1) .select2-container--open) > .select2-container--open .select2-dropdown--below { top: -47px !important; left: -1px !important; box-sizing: content-box; padding: 0; border: 1px solid #2CFEDC !important; border-radius: 12px !important; background: #16131D; overflow: hidden; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); }
body:has(#popup_choose_crypto .input_wrap:nth-of-type(1) .select2-container--open) > .select2-container--open .select2-dropdown--below .select2-search--dropdown { display: block; padding: 0; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .10); }
body:has(#popup_choose_crypto .input_wrap:nth-of-type(1) .select2-container--open) > .select2-container--open .select2-dropdown--below .select2-search__field { display: block; width: 100%; height: 46px; margin: 0; padding: 0 16px; border: 0 !important; border-radius: 0; outline: 0; background: transparent; box-shadow: none; color: #fff; font: 500 16px/1.4 "IBM Plex Sans", sans-serif; letter-spacing: 0; }
body:has(#popup_choose_crypto .input_wrap:nth-of-type(1) .select2-container--open) > .select2-container--open .select2-dropdown--below .select2-search__field::placeholder { color: #9B98A3; opacity: 1; }
body:has(#popup_choose_crypto .input_wrap:nth-of-type(1) .select2-container--open) > .select2-container--open .select2-dropdown--below .select2-results__options { max-height: 220px; }
/* Списъкът с активи по HIG и мрежата от 8 (2026-11-12): редове 44px с отстъп 8px от ръба на списъка и 8px вътре (текстът
   е на 16px като в полето), икона 32px през 12px от името, текст 16px; посоченият ред е със заоблен лек фон. Списъкът
   показва пет реда и половина, за да личи, че се превърта. */
body:has(#popup_choose_crypto .input_wrap:nth-of-type(1) .select2-container--open) > .select2-container--open .select2-results__options { max-height: 258px; padding: 8px; }
body:has(#popup_choose_crypto .input_wrap:nth-of-type(1) .select2-container--open) > .select2-container--open .select2-results__option { display: flex; align-items: center; min-height: 44px; margin: 0; padding: 0 8px; border-radius: 8px; color: #fff; font: 500 16px/1.4 "IBM Plex Sans", sans-serif; }
body:has(#popup_choose_crypto .input_wrap:nth-of-type(1) .select2-container--open) > .select2-container--open .select2-results__option > span { display: flex; align-items: center; gap: 12px; min-width: 0; line-height: 1.4; }
body:has(#popup_choose_crypto .input_wrap:nth-of-type(1) .select2-container--open) > .select2-container--open .select2-results__option img { flex: none; width: 32px; height: 32px; margin: 0; }
body:has(#popup_choose_crypto .input_wrap:nth-of-type(1) .select2-container--open) > .select2-container--open .select2-results__option--selected { background: none; }
body:has(#popup_choose_crypto .input_wrap:nth-of-type(1) .select2-container--open) > .select2-container--open .select2-results__option--highlighted { background: rgba(255, 255, 255, .08); }
body:has(#popup_choose_crypto .input_wrap:nth-of-type(1) .select2-container--open) > .select2-container--open .select2-results__option.select2-results__message { padding: 0 8px; color: #9B98A3; font-weight: 400; font-size: 15px; }

/* ───────── Страницата отдолу не се превърта под отворено меню или прозорец (2026-11-12) ─────────
   Докато се превърташе списък или меню, превърташе се и страницата под него. Сега тя е заключена, докато е
   отворено: страничното меню на профила на телефон (под 992px), менюто на акаунта на телефон (под 1280px) и
   прозорците „Добави средства“ / избор за теглене / избор на актив и мрежа (jQuery ги показва с inline
   display: block). Самите менюта и списъци се превъртат вътре в себе си и не предават превъртането нататък. */
@media (max-width: 991px) {
  body:has(#my_info_toggle:checked) { overflow: hidden; }
  .profile_wrap .my_info { overscroll-behavior: contain; }
}
@media (max-width: 1279px) {
  body:has(header.mm_header #account_toggle.open) { overflow: hidden; }
}
body:has(:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto)[style*="display: block"]) { overflow: hidden; }
:is(#popup_add_funds, #popup_choose_withdraw, #popup_choose_crypto).small_popup { overscroll-behavior: contain; }
body > .select2-container--open .select2-results__options { overscroll-behavior: contain; }

/* ───────── Изскачащ вход (#login, 2026-11-12) ─────────
   Подредбата е като на страницата „Вход“ (HIG, мрежата от 8), а видът — като новия хедър: стъклена карта (същото
   тъмно стъкло, размазване и горен блясък като острова), стъклени полета, бутон с преливката във формата на хапче.
   В центъра на екрана на всяка ширина; при нисък екран се превърта вътре в себе си. Само за този прозорец. */
footer #login { top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: calc(100% - 32px); max-width: 440px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-x: clip; overflow-y: auto; overscroll-behavior: contain; z-index: 40; border: 1px solid rgba(255, 255, 255, .10); border-radius: 24px; background: rgba(25, 22, 31, .96); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 48px rgba(0, 0, 0, .45); font-family: "IBM Plex Sans", sans-serif; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  footer #login { background: rgba(22, 20, 28, .72); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%); }
}
footer #login form { margin: 0; padding: 0; }
footer #login .form_row { margin: 0; padding: 24px; border: 0; border-radius: 0; background: none; box-shadow: none; }
footer #login .field_content { margin: 0; padding: 0; background: none; }
footer #login .lp_title { margin: 0 0 8px; padding: 0; font: 700 28px/1.2 "IBM Plex Sans", sans-serif; letter-spacing: 0; text-transform: none; text-align: left; color: #fff; }
footer #login .new_customer { margin: 0 0 24px; padding: 0; font: 400 15px/1.4 "IBM Plex Sans", sans-serif; text-align: left; color: #B7C3D1; }
footer #login .new_customer a, footer #login #lost_pass { position: relative; color: #2CFEDC; font-weight: 600; text-decoration: none; }
footer #login .new_customer a:hover, footer #login #lost_pass:hover { text-decoration: underline; }
footer #login .new_customer a:after, footer #login #lost_pass:after { content: ''; position: absolute; left: -8px; right: -8px; top: -12px; bottom: -12px; }
footer #login .lp_fields { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; }
footer #login .lp_fields .input_wrap { display: block; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
footer #login .lp_fields .input_wrap label { position: static; display: block; margin: 0 0 8px; padding: 0; font: 500 14px/1.4 "IBM Plex Sans", sans-serif; letter-spacing: 0; text-transform: none; color: #B7C3D1; }
footer #login .lp_fields .input_wrap input { display: block; width: 100%; height: 48px; margin: 0; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); color: #fff; font: 500 16px/1.4 "IBM Plex Sans", sans-serif; transition: border-color .15s, box-shadow .15s, background .15s; }
footer #login .lp_fields .input_wrap input:focus { border-color: #2CFEDC; outline: 0; background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 3px rgba(44, 254, 220, .18); }
footer #login .btn_wrap { margin: 24px 0 0; padding: 0; }
footer #login .btn_wrap .btn { display: block; width: 100%; max-width: none; height: 48px; min-height: 48px; margin: 0; border: 0; border-radius: 24px; background: linear-gradient(90deg, #2CFEDC 0%, #1788FA 100%); color: #130B31; font: 600 16px/1.2 "IBM Plex Sans", sans-serif; transition: filter .2s, box-shadow .2s, transform .12s; }
footer #login .btn_wrap .btn:hover { filter: brightness(1.06); box-shadow: 0 0 0 1px rgba(44, 254, 220, .35), 0 8px 24px rgba(31, 227, 208, .28); color: #130B31; }
footer #login .btn_wrap .btn:active { transform: scale(.98); }
/* „Запомни ме“ вляво и „Забравена парола“ вдясно, на ред от 44px под полетата — както на страницата „Вход“. Кутийката
   е 20px, надписът започва на 28px; истинското поле е невидимо върху кутийката, за да се стига с Tab. */
footer #login .lp_row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; margin: 16px 0 0; }
footer #login .lp_row .checkbox_wrap { position: relative; margin: 0; padding: 0; }
footer #login .lp_row .checkbox_wrap input[type="checkbox"] { display: block; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
footer #login .lp_row .checkbox_wrap label { position: relative; display: flex; align-items: center; min-height: 44px; margin: 0; padding: 0 0 0 28px; font: 400 15px/1.4 "IBM Plex Sans", sans-serif; letter-spacing: 0; text-transform: none; color: #fff; cursor: pointer; }
footer #login .lp_row .checkbox_wrap label:before { content: ''; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; margin: 0; box-sizing: border-box; border: 1px solid rgba(255, 255, 255, .32); border-radius: 6px; background: rgba(255, 255, 255, .06); transition: border-color .15s, background .15s; }
footer #login .lp_row .checkbox_wrap label:after { content: ''; position: absolute; left: 7px; top: 15px; width: 6px; height: 11px; box-sizing: border-box; border: solid #2CFEDC; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; transition: opacity .15s; }
footer #login .lp_row .checkbox_wrap input:checked + label:before { border-color: #2CFEDC; background: rgba(44, 254, 220, .14); }
footer #login .lp_row .checkbox_wrap input:checked + label:after { opacity: 1; }
footer #login .lp_row .checkbox_wrap input:focus-visible + label:before { outline: 2px solid #2CFEDC; outline-offset: 2px; }
footer #login #lost_pass { flex: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.4; }
footer #login :is(.new_customer a, #lost_pass, .btn):focus-visible { outline: 2px solid #2CFEDC; outline-offset: 2px; }
@media (max-width: 479px) {
  footer #login .form_row { padding: 24px 16px; }
}
@media (prefers-reduced-motion: reduce) { footer #login .btn_wrap .btn:active { transform: none; } }
/* На най-тесните телефони (под 360px) двата надписа на реда не се пренасят: по-малък шрифт и разстояние. */
footer #login .lp_row .checkbox_wrap label, footer #login #lost_pass { white-space: nowrap; }
@media (max-width: 359px) {
  footer #login .lp_row { gap: 8px; }
  footer #login .lp_row .checkbox_wrap label, footer #login #lost_pass { font-size: 14px; }
}

/* ───────── „Избери актив“ на телефон: без отделен фон на горната част (2026-11-12) ─────────
   Редът „← Избери актив“ с EUR / USDC и търсачката бяха залепени отгоре с по-тъмен плътен фон, за да не прозира
   списъкът под тях — и се различаваха от стъклото на останалото меню. Сега не са залепени, а списъкът се превърта
   сам в мястото под тях: горната част и бутонът „Всички пазари“ стоят върху същото стъкло като цялото меню. */
@media (max-width: 1279px) {
  header.mm_header .mm_drawer.mm_asset { overflow: hidden; }
  header.mm_header .mm_drawer.mm_asset .mm_d_asset { min-height: 0; }
  header.mm_header .mm_d_asset .mm_prices { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
  header.mm_header .mm_d_asset .mm_px { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  header.mm_header .mm_d_asset .mm_px::-webkit-scrollbar { display: none; }
  header.mm_header .mm_d_back { position: relative; top: auto; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  header.mm_header .mm_d_asset .mm_px_tools { position: relative; top: auto; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  header.mm_header .mm_d_asset > .mm_btn { position: static; flex: none; margin-top: 16px; box-shadow: none; }
  /* Търсачката — същото стъкло като превключвателя EUR / USDC до нея, вместо собствен тъмен фон. */
  header.mm_header .mm_d_asset .mm_search { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
  header.mm_header .mm_d_asset .mm_search:focus-within { border-color: var(--mm-mint); }
}

/* ───────── Профил: странично меню — неоморфизъм (вариант А от мокъпа profile-menu-neo, одобрен 2026-11-12) ─────────
   Надгражда блока „Профил: странично меню“ по-горе. От 2026-11-12 картата и панелът встрани пак са стъкло (виж по-долу);
   неоморфни (светла сянка горе-вляво, тъмна долу-вдясно) са картата на потребителя и етикетите. Плочките зад иконите
   отпаднаха (2026-11-12): иконите са 24px направо в реда, редовете са 44px; избраната точка е като посочена точка в падащите менюта на
   хедъра (напр. „Търгувай с евро“) — лек ментов фон 7%, без кант, ъгли 12px, ментов текст и бяла стрелка (2026-11-12). Потребителят долу е изпъкнала карта, изходът — кръгъл бутон като
   тези в хедъра. Стрелките са ментови, етикетите са вдлъбнати. */
/* Картата отново е стъкло (2026-11-12) — същото като острова на хедъра: 66% тъмносин фон, размазване 24px и
   +60% наситеност, кант 1px бял на 10% и сянка надолу. Неоморфизмът остава в картата на
   потребителя и в етикетите. Фонът на картата е от блока „Профил: странично меню“ по-горе; кантът и сянката от 1280px
   са от блока „островът само над съдържанието“. */
/* Сияние в целия фон на профила (2026-11-16, вариант A от мокъпа public/mockups/profile-bg). Преди (2026-11-12) бяха
   две малки петна само зад страничното меню, от 992px. Сега са две големи, меки — ментово от горния ляв ъгъл и синьо
   от долния десен, в цветовете на бутона „Добави средства“ — на всички ширини. Закрепени са към екрана
   (background-attachment: fixed), за да стоят на място при скрол; стъклото на менюто, хедъра и картите ги размазва
   и се оцветява леко. iOS Safari не поддържа fixed за фон на елемент — там сиянието се движи със страницата.
   Основният цвят на фона (#25212F, на „Портфейл“ #121117) не се сменя. */
header.mm_header ~ .wrapper + main > .my_profile {
  background-image: radial-gradient(900px 700px at 8% 0%, rgba(44, 254, 220, .13), transparent 70%),
                    radial-gradient(1000px 800px at 100% 100%, rgba(23, 136, 250, .18), transparent 70%);
  background-attachment: fixed; background-repeat: no-repeat;
}
/* Областта със съдържанието имаше собствен плътен фон в същия цвят и покриваше сиянието — затова то се виждаше
   само зад менюто. */
header.mm_header ~ .wrapper + main > .my_profile .profile_wrap, header.mm_header ~ .wrapper + main > .my_profile .balance_wrap { background: none; }
/* Без плочки зад иконите (2026-11-12): иконите са 24px направо в реда, редовете пак са 44px. */
/* Повече въздух около иконите (2026-11-13, по скрийншота): 16px отстъп в реда — иконите са на 24px от ръба на менюто,
   на една линия със заглавията на разделите и снимката долу; 14px между иконата и текста. */
.my_info .profile_nav > li:not(.pf_grp_li), .my_info .pf_grp > summary { min-height: 44px; padding: 0 16px; border-radius: 12px; transition: box-shadow .15s; }
/* Посочване и натискане — „Спокоен“ (мокъп menu-hover-calm, 2026-11-13): ментовото значи само „тук съм“, а
   посочването е неутрално. Под реда се появява тих фон (бяло 6%) за 0,1s и изчезва веднага (преходът е само върху
   :hover); текстът и иконата не се променят. Докато бутонът е натиснат, фонът е 10% — без мигане и свиване.
   Групата с отворен панел (.pf_hot) държи същия фон, за да личи откъде е излязъл панелът. */
.my_info .profile_nav > li:not(.pf_grp_li):not(.active):hover, .my_info .pf_grp:not([data-force]) > summary:hover, .my_info.pf_fly .pf_grp.pf_hot:not([data-force]) > summary { background: rgba(255, 255, 255, .06); transition: background-color .1s ease-out, box-shadow .15s; }
.my_info .profile_nav > li:not(.pf_grp_li):not(.active):active, .my_info .pf_grp:not([data-force]) > summary:active { background: rgba(255, 255, 255, .10); transition: none; }
.my_info .pf_grp > summary:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .my_info .profile_nav > li:not(.pf_grp_li), .my_info .profile_nav > li:not(.pf_grp_li):hover, .my_info .pf_grp > summary, .my_info .pf_grp > summary:hover { transition: none; } }
.my_info .profile_nav > li.active:not(.pf_grp_li), .my_info .profile_nav > li.active:not(.pf_grp_li):hover,
.my_info.pf_fly .pf_grp[data-force] > summary, .my_info.pf_fly .pf_grp[data-force] > summary:hover, .my_info.pf_fly .pf_grp[data-force].pf_hot > summary { background: rgba(31, 227, 208, .07); box-shadow: none; }
.my_info .profile_nav > li.active:not(.pf_grp_li) > a, .my_info.pf_fly .pf_grp[data-force] > summary { color: #1FE3D0; }
.my_info.pf_fly .pf_grp[data-force] > summary .pf_chev { color: #fff; }
/* Подточките в разгънатите групи (телефон) — същите ъгли, а избраната е полудебела като в хедъра. */
.my_info .profile_nav .pf_sub > li { border-radius: 12px; }
.my_info .profile_nav .pf_sub > li.active > a { font-weight: 600; }
@supports selector(:has(a)) {
  .my_info .profile_nav > li:not(.pf_grp_li):has(> a:focus-visible) { box-shadow: inset 0 0 0 2px #1FE3D0; }
}
.my_info .pf_grp > summary:focus-visible { box-shadow: inset 0 0 0 2px #1FE3D0; }
.my_info .pf_grp .pf_chev { color: #1FE3D0; }
.my_info .pf_tag, .pf_flyout .pf_tag { border: 0; background: #131118; box-shadow: inset 1px 1px 3px rgba(0, 0, 0, .6), inset -1px -1px 2px rgba(255, 255, 255, .05); }
.my_info .pf_tag_ok, .pf_flyout .pf_tag_ok { background: #0B1A20; }
.my_info .pf_count { box-shadow: -2px -2px 4px rgba(255, 255, 255, .05), 2px 2px 6px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .45); }
.my_info .profile_nav + .pf_sec { border-top: 0; box-shadow: inset 0 1px 0 rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 255, 255, .045); }
/* Потребителят — изпъкнала карта; изходът — кръгъл бутон. Подравнена с редовете (2026-11-12): 8px от ръбовете на
   менюто като редовете, снимката на 16px като иконите, изходът на 16px отдясно като етикетите. */
/* Без плочка (2026-11-13): редът е плосък — без фон и сянка; остават снимката, значките и кръглият бутон за изход. */
.my_info .pf_user { gap: 8px; margin: 8px 8px 0; padding: 4px; border-radius: 20px; background: none; box-shadow: none; }
.my_info .pf_user_link { padding: 0 0 0 12px; border-radius: 16px; } /* вдясно без отстъп: веднага след името е бутонът за изход */
.my_info .pf_user_link:hover { background: none; }
.my_info .pf_avatar.no_photo .pf_initials { background: linear-gradient(145deg, #302B3B, #1F1C26); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.my_info .pf_avatar { box-shadow: -2px -2px 5px rgba(255, 255, 255, .05), 3px 3px 7px rgba(0, 0, 0, .55); }
.my_info .pf_badge .fa-certificate { filter: drop-shadow(1px 0 0 #1D1A24) drop-shadow(-1px 0 0 #1D1A24) drop-shadow(0 1px 0 #1D1A24) drop-shadow(0 -1px 0 #1D1A24); }
.my_info .pf_logout { margin-right: 12px; border-radius: 22px; color: #fff; background: rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 3px 3px 8px rgba(0, 0, 0, .45); }
.my_info .pf_logout:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.my_info .pf_logout:active { box-shadow: inset 2px 2px 5px rgba(0, 0, 0, .6); }
.my_info .pf_logout:focus-visible { box-shadow: inset 0 0 0 2px #1FE3D0; }
/* Панелът встрани */
/* Панелът встрани — стъклото на менюто на акаунта в хедъра (както преди неоморфизма), със заобляне 20px. */
.pf_flyout { border-radius: 20px; }
.pf_flyout .pf_sub { padding-left: 0; }
.pf_flyout .pf_sub > li { min-height: 44px; border-radius: 12px; transition: box-shadow .15s; }
/* „Спокоен“ (2026-11-13): същото посочване и натискане като в менюто; панелът се появява с кратко избледняване
   само при първото отваряне (.pf_in), смяната между групи е мигновена. */
.pf_flyout .pf_sub > li:not(.active):hover { background: rgba(255, 255, 255, .06); transition: background-color .1s ease-out, box-shadow .15s; }
.pf_flyout .pf_sub > li:not(.active):active { background: rgba(255, 255, 255, .10); transition: none; }
.pf_flyout.pf_in { animation: pf_flyin .12s ease-out 1; }
@keyframes pf_flyin { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pf_flyout .pf_sub > li:not(.active):hover { transition: none; } .pf_flyout.pf_in { animation: none; } }
.pf_flyout .pf_sub > li.active, .pf_flyout .pf_sub > li.active:hover { background: rgba(31, 227, 208, .07); box-shadow: none; }
.pf_flyout .pf_sub > li.active > a { color: #1FE3D0; }
@supports selector(:has(a)) { .pf_flyout .pf_sub > li:has(> a:focus-visible) { box-shadow: inset 0 0 0 2px #1FE3D0; } }
@media (prefers-reduced-motion: reduce) { .pf_flyout .pf_sub > li { transition: none; } }

/* ───────── Долна лента на телефон, „История“ и „Още“ — вариант А „Плаващо стъкло“ (мокъп mobile-nav-glass, 2026-11-12) ─────────
   Лентата: Активи, История, Търгувай, Пазари, Още (layouts/footer). „История“ отваря малко меню над себе си, „Още“ —
   панел отдолу нагоре с дръжка, заглавие и кръгло копче за затваряне, групи в карти и долу потребителя с изхода. На
   телефон менюто на профила вече не се отваря от ментовите три черти.
   HIG и осмицата: лента 64px на 16px от ръбовете, точки 56px (над 44pt), надпис 10/12 като в лентите на iOS;
   „История“ — редове 48px; „Още“ — на 8px от ръбовете, заобляне 32px, редове 48px, етикети 24px над и 8px под. */

/* Материалът „течно стъкло“ (доколкото позволява CSS и в Safari на iPhone): полупрозрачно тъмно стъкло със силно
   размазване и наситеност, светъл отблясък по горния ръб, ръб с преливка (::before — по-светъл горе-вляво и
   долу-вдясно, „дебелината“ на стъклото) и мек вътрешен блясък. Без пречупване като леща — Safari не прилага
   SVG филтри върху backdrop-filter. Неоморфизмът е в избраната точка, копчето за затваряне, картата на потребителя
   и изхода: изпъкнали (светла сянка горе-вляво, тъмна долу-вдясно) или вдлъбнати, когато са натиснати. */
#sticky_footer.sticky_footer, .sf_pop, .sf_sheet {
  border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .03) 42%, rgba(255, 255, 255, .06) 100%), rgba(22, 20, 28, .62);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .30), inset 0 -1px 1px rgba(255, 255, 255, .07), inset 0 0 24px rgba(255, 255, 255, .03), 0 16px 40px rgba(0, 0, 0, .45);
}
.sf_sheet {
  background: linear-gradient(180deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .02) 30%, rgba(255, 255, 255, .03) 100%), rgba(22, 20, 28, .78);
  -webkit-backdrop-filter: blur(32px) saturate(180%); backdrop-filter: blur(32px) saturate(180%);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  #sticky_footer.sticky_footer, .sf_pop, .sf_sheet { background: rgba(22, 20, 28, .97); }
}
#sticky_footer.sticky_footer:before, .sf_pop:before, .sf_sheet:before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .50) 0%, rgba(255, 255, 255, .06) 30%, rgba(255, 255, 255, .03) 65%, rgba(255, 255, 255, .28) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
#sticky_footer.sticky_footer > ul, .sf_pop > ul, .sf_sheet > :not(.sf_grab) { position: relative; z-index: 1; }

/* Лентата */
#sticky_footer.sticky_footer { left: 16px; right: 16px; padding: 4px 8px; border-radius: 32px; } /* 8px отстрани (2026-11-18): „Портфейл“ беше твърде близо до ръба на 375px */
#sticky_footer.sticky_footer.show { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 359px) { #sticky_footer.sticky_footer { left: 8px; right: 8px; padding: 4px; } }
#sticky_footer.sticky_footer ul li { flex: 1 1 0; }
#sticky_footer.sticky_footer button.sf_item { -webkit-appearance: none; appearance: none; width: 100%; margin: 0; border: 0; background: none; font: inherit; cursor: pointer; }
#sticky_footer.sticky_footer .sf_item { height: 56px; min-height: 56px; padding: 0 2px; gap: 4px; border-radius: 28px; color: #D5DDE6; transition: color .15s, background .15s, box-shadow .15s; }
#sticky_footer.sticky_footer .sf_t { font-size: 10px; line-height: 12px; letter-spacing: .02em; }
#sticky_footer.sticky_footer .sf_ic { transition: transform .12s, filter .15s; }
/* Избраната точка — изпъкнала стъклена капсула, ментов надпис и светеща икона */
#sticky_footer.sticky_footer .sf_item.sf_on { background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .05)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); color: #1FE3D0; }
#sticky_footer.sticky_footer .sf_item.sf_on .sf_ic { filter: drop-shadow(0 0 6px rgba(31, 227, 208, .55)); }
/* Отклик при натискане — вариант B от мокъпа mobile-nav-select (2026-11-16): натискането е само в иконата. В лентата
   има една-единствена светла форма:
   • .sf_pill — стъклената капсула под избраната точка (от скрипта в layouts/footer). Мести се само когато изборът се
     смени (натиснат линк) — веднъж, плавно и без отскок. „Търгувай“ и „Още“ отварят панел и не я местят.
   При натискане (.sf_press) иконата се увеличава и надписът светва в бяло; избраната точка остава ментова.
   Преди (2026-11-12) под пръста излизаше и леща (.sf_lens), а точката с отворен панел ставаше вдлъбната (.sf_open) —
   заедно с капсулата се виждаха две форми. Без скрипта избраната точка си носи капсулата сама. */
#sticky_footer.sticky_footer .sf_pill { position: absolute; z-index: 0; top: 0; left: 0; width: var(--w, 0); height: 56px; border-radius: 28px; pointer-events: none; opacity: 0;
  transform: translateX(var(--x, 0));
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); /* спокойна капсула (2026-11-18): без блясъка-леща и сянката */
  transition: transform .34s cubic-bezier(.3, .7, .2, 1), width .34s cubic-bezier(.3, .7, .2, 1), opacity .2s ease; }
#sticky_footer.sticky_footer .sf_pill.sf_pill_on { opacity: 1; }
#sticky_footer.sticky_footer ul.sf_js > li { position: relative; z-index: 1; }
#sticky_footer.sticky_footer ul.sf_js .sf_item.sf_on { background: none; box-shadow: none; }
#sticky_footer.sticky_footer ul.sf_js .sf_item.sf_on .sf_ic { filter: none; }
#sticky_footer.sticky_footer .sf_item.sf_press { color: #fff; }
#sticky_footer.sticky_footer .sf_item.sf_on.sf_press { color: #1FE3D0; }
#sticky_footer.sticky_footer .sf_item.sf_press .sf_ic { transform: scale(1.18); }
@media (prefers-reduced-motion: reduce) {
  #sticky_footer.sticky_footer .sf_pill { transition: opacity .15s ease; }
  #sticky_footer.sticky_footer .sf_item.sf_press .sf_ic { transform: none; }
}
/* „Още“: трите точки са от нашия шрифт с икони (вертикалните, завъртени); червена точка — непрочетени съобщения. */
/* „Профил“ (2026-11-16, вариант A от мокъпа more-avatar; преди „Още“ с три точки): аватарът 28px — снимка или инициали,
   за гост иконата на човек. Когато е избран — без пръстен около аватара (махнат 2026-11-18); остават капсулата и ментовият надпис. */
#sticky_footer.sticky_footer .sf_ic.sf_ic_me { position: relative; display: grid; place-items: center; width: 28px; height: 28px; margin: -2px 0; color: #fff; } /* -2px: надписът на една линия с другите (иконите им са 20–27px) */
#sticky_footer.sticky_footer .sf_ic_me .sf_av, #sticky_footer.sticky_footer .sf_ic_me .sf_av_in { width: 28px; height: 28px; }
#sticky_footer.sticky_footer .sf_ic_me .sf_av.no_photo .sf_ini { font-size: 11px; }
#sticky_footer.sticky_footer .sf_ic_me > .al { display: block; font-size: 24px; line-height: 1; cursor: inherit; }
#sticky_footer.sticky_footer .sf_ic_me > .al:before { color: inherit; }
#sticky_footer.sticky_footer .sf_item.sf_on .sf_ic_me > .al { color: #1FE3D0; }
#sticky_footer.sticky_footer .sf_ic_me .sf_dot { top: -2px; right: -4px; }
#sticky_footer.sticky_footer .sf_dot { position: absolute; top: 0; right: -4px; width: 8px; height: 8px; border-radius: 50%; background: #FF5C6C; box-shadow: 0 0 0 2px #16141C; }
.sf_sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* „История“ — меню над точката (мястото го слага скриптът: 8px над лентата), расте от нея нагоре */
.sf_pop { position: fixed; z-index: 1002; width: 240px; padding: 8px; border-radius: 24px; font-family: "IBM Plex Sans", sans-serif;
  opacity: 0; transform: translateY(8px) scale(.96); transform-origin: 50% 100%; transition: transform .22s cubic-bezier(.3, .7, .2, 1), opacity .16s ease; }
.sf_pop.sf_in { opacity: 1; transform: none; }
.sf_pop[hidden] { display: none; }
.sf_pop ul { margin: 0; padding: 0; list-style: none; }
.sf_pop li { margin: 0; padding: 0; list-style: none; }
.sf_pop li:before { content: none; }
.sf_pop a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border-radius: 16px; color: #fff; font-size: 16px; line-height: 24px; font-weight: 500; text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.sf_pop a img { flex: none; display: block; width: 24px; height: 24px; }
.sf_pop a:active { background: rgba(255, 255, 255, .06); }
.sf_pop li.sf_cur a { background: rgba(31, 227, 208, .10); color: #1FE3D0; font-weight: 600; }
.sf_pop a:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px #1FE3D0; }

/* „Още“ — панел отдолу нагоре: на 8px от ръбовете, висок колкото съдържанието (най-много до хедъра) */
.sf_backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1003; background: rgba(4, 8, 14, .55); opacity: 0; transition: opacity .2s ease; }
.sf_backdrop.sf_in { opacity: 1; }
.sf_backdrop[hidden], .sf_sheet[hidden] { display: none; }
.sf_sheet { position: fixed; z-index: 1004; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  max-height: calc(100vh - 64px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  max-height: calc(100dvh - 64px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; border-radius: 32px; color: #fff; font-family: "IBM Plex Sans", sans-serif;
  opacity: 0; transform: translateY(24px); transition: transform .28s cubic-bezier(.3, .7, .2, 1), opacity .2s ease; }
.sf_sheet.sf_in { opacity: 1; transform: none; }
.sf_sheet.sf_drag { transition: none; }
html.sf_lock, html.sf_lock body { overflow: hidden; }
.sf_grab { position: absolute; z-index: 2; top: 8px; left: 50%; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: rgba(255, 255, 255, .30); pointer-events: none; }
/* Горната част (16px за дръжката + 56px заглавие) — за нея панелът се плъзга надолу */
.sf_head { flex: none; display: flex; align-items: center; justify-content: center; height: 72px; padding: 16px 64px 0; touch-action: none; }
.sf_title { min-width: 0; margin: 0; padding: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; line-height: 24px; font-weight: 600; color: #fff; text-align: center; }
.sf_close { position: absolute; top: 28px; right: 16px; display: grid; place-items: center; width: 32px; height: 32px; margin: 0; padding: 0; border: 0; border-radius: 16px; color: #fff; font-size: 11px; line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent;
  background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), -3px -3px 8px rgba(255, 255, 255, .04), 4px 6px 12px rgba(0, 0, 0, .40); }
.sf_close:after { content: ''; position: absolute; top: -6px; right: -6px; bottom: -6px; left: -6px; }
.sf_close:active { background: rgba(0, 0, 0, .24); box-shadow: inset 2px 2px 6px rgba(0, 0, 0, .55), inset -1px -1px 3px rgba(255, 255, 255, .08); }
.sf_close .al { cursor: inherit; }
.sf_close .al:before { color: inherit; }
.sf_close:focus-visible { outline: 2px solid #1FE3D0; outline-offset: 2px; }
.sf_body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 16px; }
/* Групите — карти; редове 48px с икона 24px, тънка линия между тях от текста надясно */
.sf_card { margin: 0; padding: 0; list-style: none; border-radius: 20px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .05); overflow: hidden; }
.sf_card > li { position: relative; margin: 0; padding: 0; list-style: none; }
.sf_card > li:before { content: none; }
.sf_card > li + li:after { content: ''; position: absolute; left: 56px; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .08); }
.sf_card a { display: flex; align-items: center; gap: 16px; min-height: 48px; padding: 0 16px; color: #fff; font-size: 16px; line-height: 24px; font-weight: 500; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.sf_card a img { flex: none; display: block; width: 24px; height: 24px; }
.sf_card a:active { background: rgba(255, 255, 255, .04); }
.sf_card > li.active > a { background: rgba(31, 227, 208, .08); color: #1FE3D0; font-weight: 600; }
.sf_card a:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px #1FE3D0; }
.sf_tx { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf_lbl { margin: 24px 16px 8px; padding: 0; font-size: 13px; line-height: 16px; font-weight: 600; color: #9FB0C3; }
.sf_tag { flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 10px; background: #131118; box-shadow: inset 1px 1px 3px rgba(0, 0, 0, .6), inset -1px -1px 2px rgba(255, 255, 255, .05); color: #C9D3DE; font-size: 11px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.sf_tag_ok { color: #1FE3D0; background: #0B1A20; }
/* Чат с поддръжката (2026-11-16): иконата е от нашия шрифт, в размера на другите в панела; при гост картата е над бутоните */
.sf_card a .sf_al { flex: none; display: grid; place-items: center; width: 24px; height: 24px; font-size: 20px; line-height: 1; color: #fff; cursor: inherit; }
.sf_card a .sf_al:before { color: inherit; }
.sf_body.sf_body_guest { flex: none; padding-bottom: 8px; }
[data-sf-chat][hidden], .sf_count[hidden], .sf_dot[hidden], .sf_sr[hidden] { display: none; }
.sf_count { flex: none; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 12px; background: #1FE3D0; color: #04201E; font-size: 12px; line-height: 24px; font-weight: 700; text-align: center; }
/* Долу: потребителят — изпъкнала карта 64px (снимка, име, VIP; води към личните данни) и изходът — кръгло изпъкнало
   копче 64px с червена икона */
.sf_foot { flex: none; display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px 16px; border-top: 0; }
.sf_user { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 12px; border-radius: 24px; color: #fff; text-decoration: none; -webkit-tap-highlight-color: transparent;
  background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .20), -3px -3px 8px rgba(255, 255, 255, .03), 4px 6px 12px rgba(0, 0, 0, .40); }
.sf_out { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 32px; color: #FF5C6C; font-size: 22px; line-height: 1; text-decoration: none; -webkit-tap-highlight-color: transparent;
  background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), -3px -3px 8px rgba(255, 255, 255, .03), 4px 6px 12px rgba(0, 0, 0, .40); }
.sf_user:active, .sf_out:active { background: rgba(0, 0, 0, .24); box-shadow: inset 2px 2px 6px rgba(0, 0, 0, .55), inset -1px -1px 3px rgba(255, 255, 255, .08); }
.sf_user:focus-visible, .sf_out:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px #1FE3D0; }
.sf_out .al { cursor: inherit; }
.sf_out .al:before { color: inherit; }
.sf_av { flex: none; position: relative; width: 40px; height: 40px; }
.sf_av_in { display: block; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }
.sf_av_in img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sf_av .sf_ini { display: none; }
.sf_av.no_photo .sf_ini { display: grid; place-items: center; width: 100%; height: 100%; background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); color: #fff; font: 600 16px/1 "IBM Plex Sans", sans-serif; letter-spacing: .02em; }
.sf_badge { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 16px; height: 16px; pointer-events: none; }
.sf_badge i { grid-area: 1 / 1; line-height: 1; }
.sf_badge i:before { color: inherit; }
.sf_badge .fa-certificate { font-size: 16px; color: #1FE3D0; filter: drop-shadow(1px 0 0 #231F2B) drop-shadow(-1px 0 0 #231F2B) drop-shadow(0 1px 0 #231F2B) drop-shadow(0 -1px 0 #231F2B); }
.sf_badge .fa-check { position: relative; font-size: 8px; color: #04201E; }
.sf_who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.sf_name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; line-height: 24px; font-weight: 600; }
.sf_vip { margin-top: 4px; }
.sf_go { flex: none; font-size: 12px; color: #9FB0C3; }
.sf_go:before { color: inherit; }
/* Картата на клиента горе в панела „Профил“ (2026-11-16): аватар 48px, име, VIP до него, подзаглавие; стрелка вдясно */
.sf_me { margin: 0 0 8px; }
.sf_user.sf_user_top { height: auto; min-height: 72px; padding: 12px 16px; }
.sf_user_top .sf_av, .sf_user_top .sf_av_in { width: 48px; height: 48px; }
.sf_user_top .sf_av.no_photo .sf_ini { font-size: 17px; }
.sf_user_top .sf_badge { right: -2px; bottom: -2px; }
.sf_name_row { display: flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; }
.sf_name_row .sf_name { min-width: 0; font-size: 17px; }
.sf_name_row .sf_vip { flex: none; margin-top: 0; }
.sf_sub { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9FB0C3; font-size: 13px; line-height: 18px; }
.sf_me + .sf_lbl { margin-top: 16px; }
/* Карта след карта без заглавие между тях; разделител пред отделните страници; стрелка в края на реда */
.sf_card + .sf_card { margin-top: 16px; }
.sf_card > li.sf_sep { height: 2px; margin: 4px 0 4px 56px; box-shadow: inset 0 1px 0 rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 255, 255, .06); }
.sf_card > li.sf_sep:after, .sf_card > li.sf_sep + li:after { content: none; }
.sf_card a .sf_go { margin-left: auto; }
.sf_card a .sf_tag + .sf_go { margin-left: 8px; }
.sf_card > li.active .sf_go { color: #1FE3D0; }
/* „Изход“ — последен ред, червен */
.sf_card.sf_card_out { margin-top: 24px; }
.sf_card .sf_out_row { color: #FF5C6C; }
.sf_card .sf_out_row .sf_al { color: inherit; }
/* Гост: вход и регистрация (като долу в менюто на хедъра) */
.sf_foot_guest { flex-direction: column; align-items: stretch; padding: 0 16px 16px; }
.sf_btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 24px; color: #fff; font: 600 16px/1.2 "IBM Plex Sans", sans-serif; text-decoration: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), -3px -3px 8px rgba(255, 255, 255, .03), 4px 6px 12px rgba(0, 0, 0, .40); }
.sf_btn_solid { background: linear-gradient(90deg, #2CFEDC 0%, #1788FA 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 4px 6px 12px rgba(0, 0, 0, .40); color: #130B31; }
@media (prefers-reduced-motion: reduce) {
  .sf_sheet, .sf_backdrop, .sf_pop { transition: none; }
  .sf_sheet, .sf_pop { transform: none; }
  #sticky_footer.sticky_footer .sf_item, #sticky_footer.sticky_footer .sf_ic { transition: none; }
}

/* Повече въздух около иконите (2026-11-13): 14px между иконата и текста в редовете на менюто. */
.my_info .profile_nav > li > a, .my_info .pf_grp > summary { gap: 14px; }

/* Еднакъв вид на иконите в менютата (2026-11-13, втора мярка). Файловете в nav-icons са изрязани различно и са с
   различна дебелина на линията (0,78–1,38px при квадрат 24px): едни запълват целия квадрат, други имат празно поле.
   Всяка икона получава свой мащаб, сметнат и по размера на рисунката (цел ~21 от 24px по дългата страна, малко повече
   за тесните и широките), и по дебелината на линията (цел ~0,95px), без рисунката да излиза от квадрата. Първата мярка
   гледаше само размера и надуваше рехавите икони (папийонката стана 1,48× и с дебели линии). Папийонката е свалена на
   ръка до 1,15. Мащабът е със scale (отделно от transform), затова не пречи на ефекта при натискане в долната лента.
   Важи навсякъде, където са тези икони: хедърът и менютата му, менюто на акаунта, страничното меню на профила, долната
   лента и „Още“ на телефон. Мястото и текстът до иконата не мърдат. */
img[src$="/nav-icons/about_us.svg"] { scale: 0.89; } /* рисунка 24.0×19.7, линия 1.10 → 21.4×17.5, линия 0.98 */
img[src$="/nav-icons/auto.svg"] { scale: 0.97; } /* рисунка 19.9×21.2, линия 1.05 → 19.3×20.6, линия 1.02 */
img[src$="/nav-icons/bank_euro.svg"] { scale: 0.87; } /* рисунка 24.0×24.0, линия 1.10 → 20.9×20.9, линия 0.96 */
img[src$="/nav-icons/bank_transfer.svg"] { scale: 0.87; } /* рисунка 24.0×24.0, линия 1.10 → 20.9×20.9, линия 0.96 */
img[src$="/nav-icons/binance.svg"] { scale: 0.85; } /* рисунка 24.0×24.0, линия 1.18 → 20.4×20.4, линия 1.00 */
img[src$="/nav-icons/binance_profile.svg"] { scale: 0.88; } /* рисунка 24.0×24.0, линия 1.07 → 21.1×21.1, линия 0.95 */
img[src$="/nav-icons/business_clients.svg"] { scale: 1.15; } /* рисунка 15.5×11.8, линия 1.00 → 17.8×13.6, линия 1.15 */
img[src$="/nav-icons/buy_property.svg"] { scale: 0.9; } /* рисунка 24.0×23.1, линия 1.02 → 21.6×20.8, линия 0.92 */
img[src$="/nav-icons/cash_terminal.svg"] { scale: 0.89; } /* рисунка 24.0×24.0, линия 1.05 → 21.4×21.4, линия 0.93 */
img[src$="/nav-icons/contacts.svg"] { scale: 0.82; } /* рисунка 23.1×24.0, линия 1.35 → 18.9×19.7, линия 1.11 */
img[src$="/nav-icons/crypto_wallet.svg"] { scale: 1.13; } /* рисунка 18.9×18.8, линия 0.83 → 21.3×21.2, линия 0.93 */
img[src$="/nav-icons/debit_card.svg"] { scale: 0.92; } /* рисунка 24.0×16.0, линия 1.07 → 22.1×14.7, линия 0.99 */
img[src$="/nav-icons/easy_pay.svg"] { scale: 0.93; } /* рисунка 24.0×24.0, линия 0.90 → 22.3×22.3, линия 0.84 */
img[src$="/nav-icons/faq.svg"] { scale: 0.98; } /* рисунка 20.9×20.1, линия 1.05 → 20.4×19.6, линия 1.03 */
img[src$="/nav-icons/fast_order.svg"] { scale: 0.9; } /* рисунка 24.0×22.2, линия 1.02 → 21.6×20.0, линия 0.92 */
img[src$="/nav-icons/hardware_wallet.svg"] { scale: 0.81; } /* рисунка 24.0×24.0, линия 1.38 → 19.4×19.4, линия 1.11 */
img[src$="/nav-icons/investors.svg"] { scale: 0.86; } /* рисунка 24.0×24.0, линия 1.12 → 20.6×20.6, линия 0.97 */
img[src$="/nav-icons/otc.svg"] { scale: 0.82; } /* рисунка 22.2×24.0, линия 1.32 → 18.2×19.7, линия 1.09 */
img[src$="/nav-icons/terms.svg"] { scale: 0.9; } /* рисунка 22.2×24.0, линия 1.02 → 20.0×21.6, линия 0.92 */

/* ───────── Хедър: посочване, натискане и текуща страница — „Спокоен“, както в менюто на профила (2026-11-13) ─────────
   Ментовото значи само „тук съм“: точката на текущата страница (.mm_cur, слага я main-menu.js) е с лек ментов фон и
   ментов надпис. Посочването е неутрално — бяло 6% (по-горе), появява се за 0,1s и изчезва веднага; докато е
   натисната, точката е на 10%. Важи за панелите, менюто на акаунта, цените и мобилното меню. */
header.mm_header .mm_item:hover, header.mm_header .mm_px_row:hover { transition: background-color .1s ease-out; }
header.mm_header .mm_item:not(.mm_lang_on):not(.mm_cur):active, header.mm_header .mm_px_row:active,
header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper a.mm_acc_exit:active { background: rgba(255, 255, 255, .10); transition: none; }
header.mm_header .mm_item.mm_cur, header.mm_header .mm_item.mm_cur:hover { background: rgba(31, 227, 208, .07); }
header.mm_header .mm_item.mm_cur .mm_t, header.mm_header .mm_sub .mm_sub .mm_item.mm_cur .mm_t { color: var(--mm-mint); }
@media (prefers-reduced-motion: reduce) { header.mm_header .mm_item:hover, header.mm_header .mm_px_row:hover { transition: none; } }

/* ───────── Долната лента на таблет и легнал телефон — вариант „В — Компактна“ (мокъп bar-wide, 2026-11-13) ─────────
   styles.css скриваше лентата от 480px нагоре (.sticky_footer.show { opacity: 0 }) и на таблет и легнал телефон
   нямаше път до „Съобщения“ и останалото в „Още“. Сега се показва и там, както лентата в iPadOS и при легнал
   iPhone: иконата до надписа, 44px висока (52px с рамката), в средата и широка колкото съдържанието; надписите
   са 13px. Центрирана е с margin: auto, не с transform — transform я скрива при футъра (sf_at_footer).
   Листът „Още“ е до 420px, в средата. На изправен телефон (под 480px) и на десктоп (лентата я няма) — без промяна. */
@media (min-width: 480px) {
  #sticky_footer.sticky_footer.show { opacity: 1; pointer-events: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  #sticky_footer.sticky_footer { left: 0; right: 0; width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; max-width: calc(100% - 32px); margin: 0 auto; padding: 4px; border-radius: 26px; }
  #sticky_footer.sticky_footer ul li { flex: none; }
  #sticky_footer.sticky_footer button.sf_item { width: auto; }
  #sticky_footer.sticky_footer .sf_item { flex-direction: row; gap: 8px; height: 44px; min-height: 44px; padding: 0 16px; border-radius: 22px; }
  #sticky_footer.sticky_footer .sf_t { font-size: 13px; line-height: 16px; letter-spacing: 0; }
  #sticky_footer.sticky_footer .sf_pill { height: 44px; border-radius: 22px; }
  .sf_sheet { max-width: 420px; margin: 0 auto; }
}

/* ===== Прозорец „Съобщение“ (непрочетени): над всичко, всичко зад него размазано, без превъртане (2026-11-13) =====
   html.msg_modal се слага от partials/message_popup.blade.php, докато прозорецът е отворен. main и header вече се
   размазват от .overlay (styles.css); тук добавяме и всичко останало в body — хлебните трохи (.es_bc), футъра и
   долната лента са извън <main>. Непрочетените излизат по едно, иначе кантовете им се подаваха един под друг. */
.popup_message.msg_unread ~ .popup_message.msg_unread { display: none !important; }
html.msg_modal, html.msg_modal body { overflow: hidden; }
html.msg_modal { scrollbar-gutter: stable; }
html.msg_modal body > :not(.popup_message) { -webkit-filter: blur(17px); filter: blur(17px); }
html.msg_modal .popup_message { z-index: 1010; overscroll-behavior: contain; }
/* Центриран и на телефон/таблет (styles.css го центрира едва от 992px, под това стоеше на 30/100px отгоре).
   Ако е по-висок от екрана, max-height: 92vh (styles.css) го държи вътре и се превърта в самия прозорец. */
.small_popup.popup_message { top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }

/* ===== Прозорец „Съобщение“: бутони и брояч (2026-11-13, мокъп public/mockups/msg-actions/) =====
   Едно основно действие (преливащ бутон), „Разбрах“ до линка — с рамка, „Маркирай всички…“ — само текст.
   Бутоните са <button>/<a class="btn">, които styles.css оформя глобално (padding 14px 40px, margin-bottom 1em…) —
   тук ги връщаме към 48px височина, 8px между тях (Apple HIG / 8pt). */
.small_popup.popup_message .underlined { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.small_popup.popup_message .underlined .msg_cnt { flex: none; color: #9FB0C3; font-size: 13px; line-height: 16px; font-weight: 500; font-style: normal; font-variant-numeric: tabular-nums; }
.small_popup.popup_message .msg_acts { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.small_popup.popup_message .msg_acts .msg_b { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: none; min-height: 48px; margin: 0; padding: 0 24px; border-radius: 24px; font-size: 14px; line-height: 20px; font-weight: 600; text-align: center; }
.small_popup.popup_message .msg_acts .msg_b:active { filter: brightness(.9); }
.small_popup.popup_message .msg_acts .msg_b_sec { background: rgba(44, 254, 220, .08); box-shadow: inset 0 0 0 1px rgba(44, 254, 220, .55); color: #2CFEDC; }
.small_popup.popup_message .msg_acts .msg_b_sec:hover { background: rgba(44, 254, 220, .14); }
.small_popup.popup_message .msg_acts .msg_b_sec:active { background: rgba(44, 254, 220, .20); filter: none; }
.small_popup.popup_message .msg_acts .msg_b_txt { min-height: 44px; background: none; box-shadow: none; color: #9FB0C3; font-weight: 500; }
.small_popup.popup_message .msg_acts .msg_b_txt:hover, .small_popup.popup_message .msg_acts .msg_b_txt:active { color: #fff; filter: none; }
.small_popup.popup_message .msg_acts .msg_b:focus-visible { outline: 2px solid #2CFEDC; outline-offset: 2px; }
.small_popup.popup_message .msg_acts .msg_go:before { font-size: 12px; }
@media (min-width: 640px) {
  .small_popup.popup_message .msg_acts { flex-direction: row-reverse; flex-wrap: wrap; }
  .small_popup.popup_message .msg_acts .msg_b { flex: 1 1 0; }
  .small_popup.popup_message .msg_acts .msg_b_txt { flex: 1 1 100%; }
}

/* ===== Прозорец „Съобщение“: четимост — Apple HIG + мрежа от 8 (2026-11-13) =====
   Важи и за непрочетените, и за #msg_view (клик на ред в „Съобщения“). Преди: текст 14px с разреждане .35px на телефон,
   заглавие с друг шрифт и разреждане, отстъпи 20/16/32px, бутони с Arial (button не наследява шрифта).
   Сега: вътре 24px (телефон) / 32px (≥640), заглавие 20/28 полуудебелено, текст 16/24 без разреждане,
   заглавие→текст 8px, текст→бутони 24px, бутони с шрифта на сайта. */
.small_popup.popup_message { border-radius: 16px; }
.small_popup.popup_message .form_row { margin: 0; }
.small_popup.popup_message .field_content { padding: 24px; }
.small_popup.popup_message .underlined { margin: 0 0 24px; font-size: 15px; line-height: 20px; letter-spacing: 0; }
.small_popup.popup_message .underlined span:not(.highlight) { font-size: 15px; line-height: 20px; letter-spacing: 0; }
.small_popup.popup_message .underlined .msg_cnt { font-size: 13px; line-height: 20px; letter-spacing: 0; }
.small_popup.popup_message .row, .small_popup.popup_message .input_wrap { margin: 0; }
.small_popup.popup_message .input_wrap .msg_head { margin: 0 0 8px; font-family: inherit; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: 0; color: #fff; }
.small_popup.popup_message .input_wrap p { margin: 0; font-size: 16px; line-height: 24px; letter-spacing: 0; color: #C9C5D3; overflow-wrap: anywhere; }
.small_popup.popup_message .input_wrap p a { color: #2CFEDC; text-decoration: underline; text-underline-offset: 2px; }
.small_popup.popup_message .msg_acts { margin-top: 24px; }
.small_popup.popup_message .msg_acts .msg_b { font-family: inherit; font-size: 15px; letter-spacing: 0; }
/* Текстовият бутон е 44px висок, а текстът му — 20px: отдолу оставаме 16px, за да не зее празно. */
.small_popup.popup_message .field_content:has(.msg_b_txt) { padding-bottom: 16px; }
@media (min-width: 640px) {
  .small_popup.popup_message .field_content { padding: 32px; }
  .small_popup.popup_message .field_content:has(.msg_b_txt) { padding-bottom: 24px; }
}
.small_popup.popup_message .msg_acts .msg_b_txt { padding: 0 8px; }

/* ===== „Още“: карта „Научи“ с бутони (2026-11-13, мокъп public/mockups/more-menu/, вариант Б) ===== */
header.mm_header .mm_promo.mm_promo_links { display: flex; flex-direction: column; height: 100%; }
header.mm_header .mm_promo_btns { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 16px; }
header.mm_header .mm_promo_btns .mm_btn { width: 100%; white-space: normal; text-align: center; }
header.mm_header .mm_promo .mm_btn.mm_ghost { border: 0; border-radius: 22px; background: rgba(19, 11, 49, .10); box-shadow: inset 0 0 0 1px rgba(19, 11, 49, .35); color: #130B31; transition: background .2s, transform .12s; }
header.mm_header .mm_promo .mm_btn.mm_ghost:hover { background: rgba(19, 11, 49, .18); color: #130B31; }
header.mm_header .mm_promo .mm_btn.mm_ghost:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { header.mm_header .mm_promo .mm_btn.mm_ghost:active { transform: none; } }
/* Картата стига до долу на колоната (бутоните — най-долу), както в мокъпа; бутоните 14px, за да се събират на един ред. */
header.mm_header .mm_col.mm_col_card:has(.mm_promo_links) { display: flex; align-self: stretch; }
header.mm_header .mm_promo.mm_promo_links { flex: 1; height: auto; }
header.mm_header .mm_promo_btns .mm_btn { font-size: 14px; padding: 0 16px; }
@media (max-width: 1399px) {
  header.mm_header .mm_promo.mm_promo_links { padding: 20px; }
  header.mm_header .mm_promo_btns .mm_btn { padding: 0 12px; }
  header.mm_header .mm_promo_btns .mm_btn .al { display: none; }
}
/* „Такси и лимити“ — текстов линк под бутоните на картата „Научи“ (2026-11-13). 44px за докосване. */
header.mm_header .mm_promo_btns .mm_promo_link { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-bottom: -8px; font-size: 14px; line-height: 20px; font-weight: 600; color: #130B31; text-decoration: underline; text-decoration-color: rgba(19, 11, 49, .45); text-underline-offset: 3px; }
header.mm_header .mm_promo_btns .mm_promo_link:hover { color: #130B31; text-decoration-color: #130B31; }

/* Иконата в синята карта на панелите (2026-11-13). Картинката носи и тъмното квадратче (фон + отстъп 8px), затова
   мащабът от „Еднакъв вид на иконите“ свиваше цялото квадратче — 49, 50, 55 или 56px според иконата. Тук квадратчето
   е винаги 56px без scale, а същото изравняване на рисунката е във вътрешния отстъп: 8px + 20px × (1 − мащаба). */
header.mm_header .mm_promo .mm_promo_ic { scale: none; }
header.mm_header .mm_promo .mm_promo_ic[src$="/nav-icons/binance_profile.svg"] { padding: 10.4px; } /* мащаб 0.88 */
header.mm_header .mm_promo .mm_promo_ic[src$="/nav-icons/about_us.svg"] { padding: 10.2px; }        /* мащаб 0.89 */
header.mm_header .mm_promo .mm_promo_ic[src$="/nav-icons/faq.svg"] { padding: 8.4px; }              /* мащаб 0.98 */
header.mm_header .mm_promo .mm_promo_ic[src$="/nav-icons/spot.svg"] { padding: 9.5px; }             /* без мащаб, но рисунката е по-голяма — до ~35px като другите */

/* ===== „Профил и сигурност“: разделите на „Профил“ и отделните страници (2026-11-16) =====
   Черта между двете групи (гравирана, като чертите между разделите на менюто) и стрелка вдясно на отделните страници
   („Верификация“, „Whitelist адреси“) — знакът от Apple HIG за „води към друг екран“. Важи и за панела встрани
   (компютър), и за разгънатата група (таблет). */
.pf_flyout .pf_sub > li.pf_sep, .my_info .profile_nav .pf_sub > li.pf_sep { min-height: 0; height: 2px; margin: 8px; padding: 0; border-radius: 0; background: none; box-shadow: inset 0 1px 0 rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 255, 255, .045); pointer-events: none; }
.pf_flyout .pf_sub > li.pf_sep:hover { background: none; }
.my_info .profile_nav .pf_sub > li.pf_sep:before { content: none; }
.pf_flyout .pf_sub > li .pf_go, .my_info .profile_nav .pf_sub > li .pf_go { flex: none; margin-left: auto; color: #8696A8; font-size: 12px; line-height: 1; pointer-events: none; }
.pf_flyout .pf_sub > li.active .pf_go { color: #1FE3D0; }
/* В разгънатата група (таблет, без мишка) редът е 200px: „Верификация“ (140) + „Завършена“ (77) не се събираха и се
   застъпваха още преди стрелката. Там етикетът минава на втори ред, подравнен с текста; стрелката остава до името. */
.my_info .profile_nav .pf_sub > li.pf_page .pf_go { margin-right: 8px; }
.my_info .profile_nav .pf_sub > li.pf_page:has(.pf_tag) { flex-wrap: wrap; row-gap: 0; padding-bottom: 8px; }
.my_info .profile_nav .pf_sub > li.pf_page:has(.pf_tag) > a { flex-basis: calc(100% - 28px); }
.my_info .profile_nav .pf_sub > li.pf_page .pf_tag { order: 3; margin: -4px 0 0 32px; }
.my_info .profile_nav .pf_sub > li.pf_page:has(.pf_tag) > a { min-height: 40px; }

/* ───────── Меню на акаунта (2026-11-16) ─────────
   • Отваря се само с клик (main-menu.js) — посочването вече не го отваря.
   • На компютър: три секции като менюто на профила и четвърта колона — карта като тези в другите падащи менюта
     (.mm_promo): снимка или инициали, име, VIP, имейл и „Изход“. Разтягащата се карта в хедъра отпадна.
   • Под 1280px менюто е както преди: името горе, „Изход“ долу, без картата. */
header.mm_header .mm_acc_tab { display: block; }
/* Редовете в обвивка (разделите на „Профил“) — със същите 4px помежду си като останалите, за да са на една линия с другите колони */
header.mm_header .mm_acc .mm_acc_tab + .mm_acc_tab > .mm_item, header.mm_header .mm_acc .mm_acc_tab + .mm_item { margin-top: 4px; }
header.mm_header .mm_acc_sep { display: block; height: 2px; margin: 6px 0; box-shadow: inset 0 1px 0 rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 255, 255, .06); }
header.mm_header .mm_acc_tag { flex: none; padding: 0 8px; border-radius: 10px; background: #131118; box-shadow: inset 1px 1px 3px rgba(0, 0, 0, .6), inset -1px -1px 2px rgba(255, 255, 255, .05); color: #C9D3DE; font: 600 11px/20px "IBM Plex Sans", sans-serif; white-space: nowrap; } /* Българските форми на буквите (locl) тук са нарочно: `font:` нулира глобалното "locl" 0 и те се виждат — решено 2026-11-18 */
header.mm_header .mm_acc_tag.mm_acc_tag_ok { color: #1FE3D0; background: #0B1A20; }
header.mm_header .mm_acc_cnt { flex: none; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: #1FE3D0; color: #04201E; font: 700 12px/22px "IBM Plex Sans", sans-serif; text-align: center; }
header.mm_header .mm_acc .mm_col_me { display: none; }
@media (min-width: 1280px) {
  /* само с клик */
  header.mm_header .fixed_part .hd_wrap .account_wrap #account_toggle:not(.open):hover .account_dropdown { visibility: hidden; pointer-events: none; opacity: 0; }
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc:after { content: none; }

  /* менюто под лентата: без реда с името и без „Изход“ долу — те са в картата */
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc { display: block; padding: 0 32px 32px; container-type: inline-size; }
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc .mm_acc_user,
  header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper a.mm_acc_exit { display: none; }
  header.mm_header .mm_acc .mm_acc_grid { padding: 24px 0 0; border-left: 0; } /* без черта под хедъра — като другите падащи панели */
  header.mm_header .mm_acc .mm_col + .mm_col { padding-left: 16px; }
  header.mm_header .mm_acc .mm_acc_grid { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, 280px); gap: 0 16px; }
  header.mm_header .mm_acc_cols_2 .mm_acc_grid { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(240px, 280px); }
  header.mm_header .mm_acc_cols_1 .mm_acc_grid { grid-template-columns: minmax(240px, 320px) minmax(240px, 280px); }
  /* Тясна лента (до ~1440px; на профила лентата е до страничното меню): две колони, картата е четвъртата клетка.
     Четири колони искат поне ~1160px, иначе „Верификация“ със значката се реже. */
  @container (max-width: 1160px) {
    header.mm_header .mm_acc .mm_acc_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    header.mm_header .mm_acc .mm_col:nth-child(odd) { border-left: 0; padding-left: 0; }
  }
  header.mm_header .mm_acc .mm_hd { margin-bottom: 8px; color: var(--mm-muted, #8696A8); font-size: 12px; line-height: 16px; letter-spacing: .06em; }
  header.mm_header .mm_acc .mm_acc_item .mm_t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  header.mm_header .mm_acc .mm_acc_item .mm_tx { flex: 1 1 auto; min-width: 0; }

  /* картата: същата като в другите панели (.mm_promo), без черта отляво */
  header.mm_header .mm_acc .mm_col_me { display: block; border-left: 0; padding-left: 0; }
  header.mm_header .mm_acc .mm_col_me .mm_promo { display: flex; flex-direction: column; height: 100%; }
  header.mm_header .mm_acc .mm_me_av { position: relative; width: 56px; height: 56px; margin: 0 0 16px; }
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown .mm_me_av .mm_acc_avatar { width: 56px; height: 56px; border-radius: 50%; }
  header.mm_header .mm_me_av .mm_acc_avatar.mm_no_photo .mm_acc_ini { background: rgba(19, 11, 49, .88); box-shadow: none; color: #fff; font-size: 20px; }
  header.mm_header .mm_me_badge { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 20px; height: 20px; pointer-events: none; }
  header.mm_header .mm_me_badge i { grid-area: 1 / 1; line-height: 1; }
  header.mm_header .mm_me_badge i:before { color: inherit; }
  header.mm_header .mm_me_badge .fa-certificate { font-size: 20px; color: #130B31; }
  header.mm_header .mm_me_badge .fa-check { position: relative; font-size: 9px; color: #2CFEDC; }
  header.mm_header .mm_acc .mm_col_me .mm_promo_title { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 20px; overflow-wrap: anywhere; }
  header.mm_header .mm_acc .mm_col_me .mm_promo_text { margin-bottom: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* Бутонът е в .account_wrap .wrapper — там общото правило за линкове го оцветяваше в сиво */
  header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper .mm_col_me a.mm_btn.mm_solid,
  header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper .mm_col_me a.mm_btn.mm_solid:hover { color: #fff; font: 600 15px/1.2 "IBM Plex Sans", sans-serif; letter-spacing: 0; }
  header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper .mm_col_me a.mm_btn.mm_ghost,
  header.mm_header .fixed_part .hd_wrap .account_wrap .wrapper .mm_col_me a.mm_btn.mm_ghost:hover { color: #130B31; font: 600 15px/1.2 "IBM Plex Sans", sans-serif; letter-spacing: 0; }
  header.mm_header .mm_acc .mm_col_me .mm_promo_btns .mm_acc_tab { display: block; }
  header.mm_header .mm_acc .mm_col_me .mm_promo_btns .mm_acc_tab + .mm_btn { margin-top: 0; }
  header.mm_header .mm_acc .mm_col_me .mm_promo_btns .al { position: static; font-size: 16px; line-height: 1; cursor: inherit; }
  header.mm_header .mm_acc .mm_col_me .mm_promo_btns .al:before { color: inherit; font-size: 16px; }

  header.mm_header .mm_acc .mm_acc_grid { opacity: 0; transform: translateY(-8px); transition: opacity .15s, transform .25s cubic-bezier(.3, .7, .2, 1); }
  header.mm_header #account_toggle.open .mm_acc .mm_acc_grid { opacity: 1; transform: none; transition: opacity .22s ease .1s, transform .3s cubic-bezier(.3, .7, .2, 1) .1s; }
}
@media (min-width: 1280px) and (prefers-reduced-motion: reduce) {
  header.mm_header .mm_acc .mm_acc_grid { transition-duration: .01s !important; transition-delay: 0s !important; }
}

/* Бургер меню: стъклени карти с нашите икони (2026-11-17, мокъп public/mockups/mobile-polish/, вариант A).
   Точките на първо ниво са в една карта, „Език“ е в отделна — същите карти като в панела „Профил“ (.sf_card).
   Отвореното меню е стъклото на панелите (.sf_sheet): по-плътно и с блясък, за да се чете върху страницата. */
@media (max-width: 1279px) {
  header.mm_header .mm_d_body { padding-top: 16px; padding-bottom: 24px; }
  header.mm_header .mm_d_card { margin: 0 0 16px; padding: 0 16px; border-radius: 20px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .05); }
  header.mm_header .mm_d_card > * + * { border-top: 1px solid rgba(255, 255, 255, .08); }
  header.mm_header .mm_d_card > .mm_row, header.mm_header .mm_d_card > .mm_sec > .mm_row { min-height: 56px; }
  header.mm_header .mm_d_card > .mm_lang_row, header.mm_header .mm_d_card > .mm_lang_sec { margin-top: 0; padding-top: 0; border-top: 0; }
  header.mm_header .mm_ric { flex: none; width: 24px; height: 24px; margin-right: 12px; }
  header.mm_header .mm_rt { flex: 1; min-width: 0; text-align: left; }
  /* Бутоните долу са върху преливка, не върху плътна лента с черта — картите се скриват плавно под тях. */
  header.mm_header .mm_d_foot { padding-top: 24px; border-top: 0; background: linear-gradient(to top, rgba(22, 20, 28, .96) 62%, rgba(22, 20, 28, 0)); -webkit-backdrop-filter: none; backdrop-filter: none; }
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    #toggle_nav:checked ~ header.mm_header .fixed_part:before { background: linear-gradient(180deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .02) 30%, rgba(255, 255, 255, .03) 100%), rgba(22, 20, 28, .78); -webkit-backdrop-filter: blur(32px) saturate(180%); backdrop-filter: blur(32px) saturate(180%); }
  }
}

/* ───────── Едно стъкло за новите елементи (2026-11-17, мокъп public/mockups/glass-unify/, вариант B) ─────────
   Хедърът (островът на десктоп и лентата на телефон), падащите панели, менюто на профила и страничното меню
   получават материала на долната лента: същият оттенък 22,20,28 при 66% (до 2026-11-18 беше синьо 14,22,34; сега е сиво-лилавото на старите карти), наситеност 180%, блясък отгоре и
   светъл ръб. Долната лента минава от 62% на 66%, за да е същата. Панелите, които покриват страницата
   (.sf_sheet, отвореното бургер меню), остават по-плътни (78%) — върху тях се чете текст над съдържанието.
   Картите в страниците на профила са в profile/pages_styles, settings_styles и history/styles (--g-glass).
   Само при backdrop-filter — без него остават почти плътните резервни фонове по-горе. */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  header.mm_header .mm_bar:before, header.mm_header .mm_panel:before,
  header.mm_header .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc:before,
  .profile_wrap .my_info {
    background: linear-gradient(180deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .03) 42%, rgba(255, 255, 255, .06) 100%), rgba(22, 20, 28, .66);
    -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .30), inset 0 -1px 1px rgba(255, 255, 255, .07), inset 0 0 24px rgba(255, 255, 255, .03), 0 16px 40px rgba(0, 0, 0, .45);
  }
  #sticky_footer.sticky_footer { background: linear-gradient(180deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .03) 42%, rgba(255, 255, 255, .06) 100%), rgba(22, 20, 28, .66); }
  /* Страничното меню на десктоп има отделно правило за сянката с по-висока тежест — същият ръб и тук. */
  header.mm_header ~ .wrapper + main > .my_profile .my_info { box-shadow: inset 0 1px 1px rgba(255, 255, 255, .30), inset 0 -1px 1px rgba(255, 255, 255, .07), inset 0 0 24px rgba(255, 255, 255, .03), 0 16px 40px rgba(0, 0, 0, .45); }
  /* Лентата на телефон: ::before е висок колкото екрана и е изрязан до 56px (за отвореното меню), затова
     блясъкът е с точки в пиксели, а не в проценти. Отвореното меню и менюто на профила имат свои правила
     с по-висока тежест (#toggle_nav:checked …) и остават както са. */
  @media (max-width: 1279px) {
    header.mm_header .fixed_part:before {
      background: linear-gradient(180deg, rgba(255, 255, 255, .10) 0, rgba(255, 255, 255, .03) 24px, rgba(255, 255, 255, .06) 56px, rgba(255, 255, 255, .06) 100%), rgba(22, 20, 28, .66);
      -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, .30);
    }
  }
}

/* ───────── Лентата се превръща в менюто (2026-11-18, мокъп public/mockups/bar-island/, вариант B) ─────────
   „Търгувай“, „Профил“ и входът за гост вече не излизат като отделен панел над лентата: панелът тръгва от
   мястото, размера и закръглението на лентата и расте до своите, както Dynamic Island на iPhone (мястото се
   задава от скрипта в layouts/footer). Затова самият панел е видим през цялото време, а избледнява и се появява
   само съдържанието му. Докато е отворено (sf_morph на <html>), бутоните на лентата избледняват и стъклото ѝ се
   маха — иначе под долния край на панела се вижда втора капсула. */
.sf_sheet { opacity: 1; transform: none;
  transition: left .44s cubic-bezier(.32, .72, 0, 1), right .44s cubic-bezier(.32, .72, 0, 1), bottom .44s cubic-bezier(.32, .72, 0, 1), height .44s cubic-bezier(.32, .72, 0, 1), border-radius .44s cubic-bezier(.32, .72, 0, 1), transform .44s cubic-bezier(.32, .72, 0, 1); }
.sf_sheet.sf_drag { transition: none; }
.sf_sheet > * { opacity: 0; transition: opacity .14s ease; }
/* Отваряне — огледално на затварянето (2026-11-18): съдържанието се появява почти веднага и расте нагоре заедно
   с горния ръб, а бутоните на лентата избледняват вътре в растящата форма (лентата е над панела, докато е
   отворено, и не приема натискания). Преди бутоните изчезваха под стъклото още при натискането, ~120ms растеше
   празна форма и съдържанието излизаше чак накрая — изглеждаше като две отделни стъпки. */
.sf_sheet.sf_in > * { opacity: 1; transition: opacity .2s ease .04s; }
#sticky_footer.sticky_footer > ul { transition: opacity .2s ease; }
html.sf_morph #sticky_footer.sticky_footer { z-index: 1005; pointer-events: none; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
html.sf_morph #sticky_footer.sticky_footer:before { opacity: 0; }
html.sf_morph #sticky_footer.sticky_footer > ul { opacity: 0; pointer-events: none; transition-duration: .14s; }
/* Докато се отваря (sf_grow, от скрипта): съдържанието е с окончателната си ширина и не се свива, а отместването
   го държи неподвижно на екрана — формата го открива, вместо то да изплува отдолу. Дръжката е в средата на тази
   ширина. sf_snap — първият кадър, без преход. */
.sf_sheet.sf_grow > * { flex-shrink: 0; transform: translate(var(--sf-dx, 0px), var(--sf-dy, 0px)); transition: opacity .14s ease, transform .44s cubic-bezier(.32, .72, 0, 1); }
.sf_sheet.sf_grow.sf_in > * { transition: opacity .2s ease .04s, transform .44s cubic-bezier(.32, .72, 0, 1); }
.sf_sheet.sf_grow > :not(.sf_grab) { width: var(--sf-w); }
.sf_sheet.sf_grow > .sf_grab { left: calc(var(--sf-w) / 2); }
.sf_sheet.sf_snap, .sf_sheet.sf_snap > * { transition: none !important; }
/* Доизглаждане (2026-11-18), по кадрите на анимацията:
   • Плътността на стъклото: като капсула панелът е 66% като лентата и става 78% чак докато се отваря (и обратно
     при затваряне). Преди при натискането лентата потъмняваше изведнъж, а в края на затварянето изсветляваше.
   • Затваряне (sf_closing на <html>): бутоните на лентата се появяват, докато формата се прибира в нея. Преди
     ~240ms стоеше празна капсула и бутоните идваха чак след края. */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .sf_sheet { background-color: rgba(22, 20, 28, .66);
    transition: left .44s cubic-bezier(.32, .72, 0, 1), right .44s cubic-bezier(.32, .72, 0, 1), bottom .44s cubic-bezier(.32, .72, 0, 1), height .44s cubic-bezier(.32, .72, 0, 1), border-radius .44s cubic-bezier(.32, .72, 0, 1), transform .44s cubic-bezier(.32, .72, 0, 1), background-color .3s ease; }
  .sf_sheet.sf_in { background-color: rgba(22, 20, 28, .78); }
  .sf_sheet.sf_drag { transition: none; }
}
html.sf_morph.sf_closing #sticky_footer.sticky_footer > ul { opacity: 1; transition: opacity .2s ease .18s; }
/* Избрана е точка към друга страница (sf_leave от скрипта, 2026-11-18): панелът не се свива в лентата, а целият
   избледнява — iOS Safari спира да прерисува размерите, щом тръгне зареждането, и формата оставаше отворена и празна. */
html.sf_leave .sf_sheet { opacity: 0; pointer-events: none; transition: opacity .16s ease; }
@media (prefers-reduced-motion: reduce) {
  .sf_sheet, .sf_sheet > *, .sf_sheet.sf_in > *, #sticky_footer.sticky_footer > ul, html.sf_morph.sf_closing #sticky_footer.sticky_footer > ul { transition: none; }
}

/* ───────── Десктоп: панелът израства от хедъра (2026-11-18, мокъп public/mockups/desktop-header/) ─────────
   Хедърът и отвореният панел и преди бяха една форма, но панелът се появяваше изведнъж, а при преминаване от
   „Търгувай“ към „Още“ височината подскачаше. Сега стъклото е едно — това на лентата (:before на .mm_bar) —
   и расте надолу до височината на панела (--mm-grow от main-menu.js); панелите и менюто на акаунта нямат свое
   стъкло, стоят на място и се откриват с clip-path по същата крива и за същото време. Всичко е под клас
   mm_morph (слага го main-menu.js) — без скрипта остава старото поведение по-горе. */
@media (min-width: 1280px) {
  header.mm_header.mm_morph .mm_bar:before,
  header.mm_header.mm_morph .mm_bar:has(.mm_nav > li.mm_open):before,
  header.mm_header.mm_morph .mm_bar:has(#account_toggle.open):before { content: ''; bottom: calc(-1 * var(--mm-grow, 0px)); transition: bottom .42s cubic-bezier(.32, .72, 0, 1); }
  header.mm_header.mm_morph .mm_panel:before,
  header.mm_header.mm_morph .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc:before { content: none; }
  header.mm_header.mm_morph .mm_nav > li > .mm_panel,
  header.mm_header.mm_morph .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc {
    visibility: hidden; opacity: 0; pointer-events: none; -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0);
    transition: opacity .14s ease, clip-path .42s cubic-bezier(.32, .72, 0, 1), -webkit-clip-path .42s cubic-bezier(.32, .72, 0, 1), visibility 0s linear .42s; }
  header.mm_header.mm_morph .mm_nav > li > .mm_panel { display: block; }
  header.mm_header.mm_morph .mm_nav > li > .mm_panel.mm_shown,
  header.mm_header.mm_morph .fixed_part .hd_wrap .account_wrap #account_toggle .account_dropdown.mm_acc.mm_shown {
    visibility: visible; opacity: 1; pointer-events: auto;
    transition: opacity .2s ease .04s, clip-path .42s cubic-bezier(.32, .72, 0, 1), -webkit-clip-path .42s cubic-bezier(.32, .72, 0, 1), visibility 0s; }
  header.mm_header.mm_morph .mm_snap { transition: none !important; }
}
@media (min-width: 1280px) and (prefers-reduced-motion: reduce) {
  header.mm_header.mm_morph .mm_bar:before, header.mm_header.mm_morph .mm_nav > li > .mm_panel,
  header.mm_header.mm_morph .fixed_part .hd_wrap .account_wrap .account_dropdown.mm_acc { transition: none !important; }
}

/* ───────── Заглавие на страница в профила (2026-11-18, partial profile.page_title) ─────────
   Страниците с табове или превключвател (История, P2P, Профил и сигурност, Бонус програма, Верификация) нямаха видимо
   заглавие. Видът е като „Баланс“ и .pg_title: 24/32 600 бяло, на телефон 22/28; отдолу 24px, на телефон 16px.
   Шрифтът е с отделни свойства, не с font: — както .pg_title и „Баланс“, за да са буквите еднакви с тях. */
.profile_wrap .balance_wrap h1.pf_page_title { display: block; margin: 0 0 24px !important; padding: 0 !important; border: 0 !important; background: none !important; color: #fff !important;
  font-size: 24px !important; font-weight: 600 !important; line-height: 32px !important; letter-spacing: .015em; text-align: left; text-transform: none; text-wrap: balance; }
.profile_wrap .balance_wrap h1.pf_page_title::before, .profile_wrap .balance_wrap h1.pf_page_title::after { display: none !important; }
@media (max-width: 767px) { .profile_wrap .balance_wrap h1.pf_page_title { margin-bottom: 16px !important; font-size: 22px !important; line-height: 28px !important; } }

/* ───────── Тесен прозорец на компютър: съдържанието на профила започва под трите черти (2026-11-18) ─────────
   На телефон бутонът за менюто на профила (.my_info_toggle.open) не се рисува — менюто е в долната лента. На
   тесен прозорец на компютър (под 992px) той стои горе вдясно в .profile_wrap. Под 768px страниците на профила
   започват на 24px от горния ръб и заглавието или червеното съобщение минаваха под бутона. Тук съдържанието слиза
   под него; от 768px нагоре отстъпът (50px) вече стига. Селекторът хваща само когато бутонът е в страницата. */
@media (max-width: 767px) {
  .profile_wrap:has(> .my_info_toggle.open) > .balance_wrap { padding-top: 56px !important; }
}

/* ───────── Предупреждение за верификация (2026-11-18, profile.profile_errors) ─────────
   Неверифициран клиент вижда над всяка страница на профила „От 21.09.2020 г. поръчките … само за верифицирани“.
   Беше червен текст без рамка над заглавието; сега е карта в стъклото на профила с червен акцент — същите текст
   и линк. Отстояние отдолу 24px (16px на телефон) вместо <br />. */
.profile_wrap .balance_wrap .error.pf_notice { display: block; margin: 0 0 24px !important; padding: 16px 20px 16px 44px !important; position: relative; border: 0 !important; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 107, 107, .10), rgba(255, 107, 107, .06)), rgba(38, 35, 47, .90) !important; box-shadow: inset 0 0 0 1px rgba(255, 107, 107, .28);
  color: #FFC9C9 !important; font-size: 15px !important; font-weight: 400 !important; line-height: 22px !important; text-align: left !important; }
.profile_wrap .balance_wrap .error.pf_notice::before { content: ""; position: absolute; left: 20px; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: #FF6B6B; box-shadow: 0 0 0 4px rgba(255, 107, 107, .18); }
.profile_wrap .balance_wrap .error.pf_notice a { color: #fff !important; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 767px) { .profile_wrap .balance_wrap .error.pf_notice { margin-bottom: 16px !important; padding: 12px 16px 12px 40px !important; font-size: 14px !important; line-height: 20px !important; } .profile_wrap .balance_wrap .error.pf_notice::before { left: 16px; top: 18px; } }

/* Футър на телефон (2026-11-23, мокъп footer-mobile, вариант Б — по мобилния футър на apple.com; разметката е в
   layouts/footer, само при isMobile()). Плосък фон, текст 12px, тънки разделители; редовете за натискане — 44px.
   На таблет съдържанието е до 720px, за да не се разтегля на един ред през целия екран. */
footer.fb { padding: 16px 16px calc(24px + env(safe-area-inset-bottom, 0px)); background-color: #18161D; font: 400 12px/17px "IBM Plex Sans", sans-serif; color: #8696A8; }
footer.fb .fb_in { max-width: 720px; }
/* iPad и легнал телефон (2026-11-23, мокъп final-fixes): съдържанието е центрирано, не залепено вляво. */
@media (min-width: 768px) { footer.fb .fb_in { margin-left: auto; margin-right: auto; } }
footer.fb a { color: #C9D3DE; text-decoration: none; }
footer.fb a:hover { color: #fff; text-decoration: underline; }
footer.fb a:focus-visible, footer.fb summary:focus-visible { outline: 2px solid #1FE3D0; outline-offset: 2px; border-radius: 4px; }
footer.fb p { margin: 0; }
footer.fb .fb_notes p { padding: 8px 0; }
footer.fb .fb_notes p + p { padding-top: 0; }
footer.fb .fb_dir { margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, .10); }
footer.fb .fb_dir details { border-bottom: 1px solid rgba(255, 255, 255, .10); }
footer.fb .fb_dir summary { list-style: none; display: flex; align-items: center; min-height: 44px; color: #C9D3DE; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; }
footer.fb .fb_dir summary::-webkit-details-marker { display: none; }
footer.fb .fb_dir summary .al { position: static; width: auto; height: auto; margin: 0 0 0 auto; border: 0; background: none; transition: transform .2s; }
footer.fb .fb_dir summary .al:before { position: static; transform: none; font-size: 10px; color: #8696A8; }
footer.fb .fb_dir details[open] summary .al { transform: rotate(180deg); }
footer.fb .fb_dir ul { margin: 0; padding: 0 0 8px 16px; list-style: none; }
footer.fb .fb_dir li { margin: 0; padding: 0; }
footer.fb .fb_dir li a { display: flex; align-items: center; min-height: 44px; color: #8696A8; }
footer.fb .fb_dir li a:hover { color: #fff; }
footer.fb .fb_more { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .10); }
footer.fb .fb_more p + p { margin-top: 8px; }
footer.fb .fb_now { color: #3DD68C; }
footer.fb .fb_copy { padding-top: 16px; text-align: center; }
@media (prefers-reduced-motion: reduce) { footer.fb .fb_dir summary .al { transition: none; } }

/* „Търгувай на пазара, който никога не спи.“ на телефон (2026-11-23, вариант В от мокъпа cta-mobile): стъклена карта
   в езика на профила (grey-plum стъкло) над футъра, бутонът — с градиента, както преди. Само за гости (home.blade). */
.cta_glass { padding: 8px 16px 32px; }
.cta_glass .cg_card { max-width: 720px; padding: 24px; border-radius: 20px; background: rgba(38, 35, 47, .90); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
@media (min-width: 768px) { .cta_glass .cg_card { margin-left: auto; margin-right: auto; } }
.cta_glass h2 { margin: 0 0 16px; padding: 0; font: 700 20px/26px "IBM Plex Sans", sans-serif; letter-spacing: 0; text-align: left; color: #fff; }
.cta_glass .btn { display: flex; align-items: center; justify-content: center; width: 100%; max-width: none; height: 48px; margin: 0; padding: 0 16px; border-radius: 24px; line-height: 1; }

/* Футър на компютър (2026-11-23, мокъп footer-desktop, вариант Б; разметката е в layouts/footer, когато не е isMobile()).
   Езикът на мобилния футър: текст 12px, тънки линии. Лого и контакти вляво, петте групи в колони вдясно, бележките
   (лиценз и предупреждение) долу, © в средата. Ширината и левият ръб — от решетката (.row/.col), както хедъра. */
footer.fd { padding: 40px 0 32px; background-color: #18161D; font: 400 12px/17px "IBM Plex Sans", sans-serif; color: #8696A8; }
footer.fd a { color: #C9D3DE; text-decoration: none; }
footer.fd a:hover { color: #fff; text-decoration: underline; }
footer.fd a:focus-visible { outline: 2px solid #1FE3D0; outline-offset: 2px; border-radius: 4px; }
footer.fd p { margin: 0; }
footer.fd .fd_top { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .10); }
footer.fd .fd_logo { display: inline-block; margin-bottom: 16px; }
footer.fd .fd_logo img { display: block; width: 150px; height: auto; }
footer.fd .fd_brand p + p { margin-top: 8px; }
footer.fd .fb_now { color: #3DD68C; }
footer.fd .fd_cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
footer.fd .fd_cols h3 { margin: 0 0 8px; padding: 0; font: 600 12px/17px "IBM Plex Sans", sans-serif; letter-spacing: 0; text-transform: none; color: #C9D3DE; }
footer.fd .fd_cols ul { margin: 0; padding: 0; list-style: none; }
footer.fd .fd_cols li { margin: 0; padding: 0; }
footer.fd .fd_cols li + li { margin-top: 8px; }
footer.fd .fd_cols li a { color: #8696A8; }
footer.fd .fd_cols li a:hover { color: #fff; }
footer.fd .fd_notes { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .10); }
footer.fd .fd_notes p + p { margin-top: 8px; }
footer.fd .fd_copy { padding-top: 16px; text-align: center; }
/* 1440–1521px (2026-11-23, мокъп final-fixes): плаващият хедър (.mm_bar: width min(100% - 32px, …), padding 24px)
   държи логото на поне 40px от ръба, а решетката — по-близо; редът е тесен с 48px, за да съвпаднат. Над 1521px е както решетката. */
@media (min-width: 1440px) { footer.fd .row { max-width: min(1420px, 100% - 48px); } }
@media (min-width: 1474px) { footer.fd .row { max-width: min(1474px, 100% - 48px); } }
/* Тесен прозорец на компютър: по-малко колони, после логото и контактите над тях. */
@media (max-width: 1199px) { footer.fd .fd_cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; } }
@media (max-width: 899px) { footer.fd .fd_top { grid-template-columns: 1fr; gap: 24px; } }

/* PAY POS (wHrD4ffB, 2026-11-25): етикетът до точката показва състоянието на услугата — в страничното меню (.pf_tag),
   в менюто на профила в хедъра (.mm_acc_tag) и в листа на телефон (.sf_tag). „Ново“ е с преливката от банерите
   (без анимация — движение в навигацията разсейва); „В преглед“ е кехлибарен, „Отказана“ — червен; „Активна“ ползва
   съществуващия ментов _ok. */
.my_info .pf_tag_new, .pf_flyout .pf_tag_new, .sf_tag.sf_tag_new, header.mm_header .mm_acc_tag.mm_acc_tag_new { border: 0; background: linear-gradient(135deg, #2CFEDC 0%, #1788FA 100%); box-shadow: none; color: #130B31; font-weight: 700; }
.my_info .pf_tag_wait, .pf_flyout .pf_tag_wait, .sf_tag.sf_tag_wait, header.mm_header .mm_acc_tag.mm_acc_tag_wait { color: #FFB547; background: #1E170B; }
.my_info .pf_tag_no, .pf_flyout .pf_tag_no, .sf_tag.sf_tag_no, header.mm_header .mm_acc_tag.mm_acc_tag_no { color: #FF6478; background: #200E13; }
