/* tybee-wallet v1 (02.12.2026, TB-51): шапка (адрес ПВЗ + баллы + рубли), вкладки ЛК «Баланс»/«Адреса», /sbp «Оплатить с баланса».
   Шрифт сайта (Gilroy), фирменный #156BFF. Без горизонтального скролла: всё сжимается/прячется по месту. */
.tyb-w-host{position:relative}
/* десктоп: два «виджета» как у Тильды (значок + подпись) перед «Кабинет» */
.t-menuwidgeticons__wrapper>.tyb-w-wid{display:flex;align-items:flex-start;gap:16px;list-style:none;margin:0 16px 0 0;padding:0}
.tyb-w-pill{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:10px;background:#F0F0F0;color:#000!important;text-decoration:none!important;font:600 14px/1 Gilroy,Arial,sans-serif;white-space:nowrap;transition:background .15s}
.tyb-w-pill:hover{background:#E8F1FF}
.tyb-w-pill--wid{flex-direction:column;justify-content:flex-start;gap:4px;height:auto;padding:0;border-radius:0;background:none!important;font:500 13px/16px Gilroy,Arial,sans-serif;color:#000!important}
.tyb-w-pill--wid .tyb-w-ic{width:19px;height:19px}
.tyb-w-pill--wid:hover{opacity:.7}
.tyb-w-pvzbox{position:absolute;right:max(20px,calc((100% - 1160px) / 2));top:50%;transform:translateY(-50%);display:flex}
.tyb-w-pvzbox:empty,.tyb-w-pvzbox.is-off{display:none}
.tyb-w-pvz{display:inline-flex;align-items:center;gap:6px;max-width:300px;min-width:0;height:28px;color:#000!important;text-decoration:none!important;font:500 14px/1 Gilroy,Arial,sans-serif;white-space:nowrap}
.tyb-w-pvz:hover{color:#156BFF!important}
.tyb-w-pvz__t{overflow:hidden;text-overflow:ellipsis;min-width:0}
.tyb-w-pin{flex:0 0 auto;width:14px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23156BFF' d='M8 0a6 6 0 0 0-6 6c0 4.2 5.2 9.4 5.4 9.6a.8.8 0 0 0 1.2 0C8.8 15.4 14 10.2 14 6a6 6 0 0 0-6-6zm0 8.5A2.5 2.5 0 1 1 8 3.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat}
.tyb-w-ic{flex:0 0 auto;width:16px;height:16px;background:center/contain no-repeat}
.tyb-w-ic--b{background-image:url(/tyb/bonus.svg?v1)}
.tyb-w-ic--r{background-image:url(/tyb/wallet/wallet.svg?v1)}
@media (max-width:960px){
  .t-menuwidgeticons__wrapper>.tyb-w-wid{display:none}
  .t1261__menu-list>.tyb-w-li{display:flex;align-items:center;flex:0 0 auto;list-style:none;margin:0 20px 0 0;padding:0}
  .tyb-w-li .tyb-w-hdr{display:flex;align-items:center;gap:6px}
  .tyb-w-li .tyb-w-pill{height:28px;padding:0 10px;gap:5px;font-size:14px;border-radius:8px}
  .tyb-w-li .tyb-w-ic{width:14px;height:14px}
  .tyb-w-li .tyb-w-pvz{max-width:190px;padding:0 4px;margin-left:4px}
}
/* ЛК: вкладки кошелька — те же блоки, что у «Баллов» */
#tyb-w-tab .tyb-w-sk{opacity:.4}
#tyb-w-tab>.tyb-w-hero{order:1}#tyb-w-tab>.tyb-w-rules{order:2}#tyb-w-tab>.tyb-w-histp{order:3}
#tyb-w-tab>section:nth-child(1){order:1}#tyb-w-tab>section:nth-child(2){order:2}#tyb-w-tab>section:nth-child(3){order:3}
#tyb-w-tab .tyb-w-pvzl li{align-items:center}
#tyb-w-tab .tyb-w-net{display:flex;align-items:center;gap:8px;font-weight:600;margin-bottom:2px}
#tyb-w-tab .tyb-w-def{display:inline-block;padding:2px 8px;border-radius:6px;background:#E8F1FF;color:#156BFF;font:600 12px/16px Gilroy,Arial,sans-serif}
#tyb-w-tab .tyb-w-acts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px 12px;flex:0 0 auto;max-width:45%}
#tyb-w-tab .tyb-w-a{border:0;background:none;padding:0;color:#156BFF;font:500 14px/19px Gilroy,Arial,sans-serif;cursor:pointer}
#tyb-w-tab .tyb-w-a--x{color:#767676}
#tyb-w-tab .tyb-w-form label{display:block;font:500 13px/18px Gilroy,Arial,sans-serif;color:#767676;margin-bottom:12px}
#tyb-w-tab .tyb-w-in{display:block;width:100%;box-sizing:border-box;height:45px;margin-top:4px;padding:0 14px;border:0;border-radius:10px;background:#fff;color:#000;font:500 16px/21px Gilroy,Arial,sans-serif;outline:1px solid #EDEDED}
#tyb-w-tab .tyb-w-in:focus{outline:2px solid #156BFF}
#tyb-w-tab .tyb-w-save{background:#156BFF;color:#fff}
#tyb-w-tab .tyb-w-note{min-height:18px;margin:8px 0 0;font:500 13px/18px Gilroy,Arial,sans-serif;color:#1EB15A}
#tyb-w-tab .lk-hist li>div{min-width:0;overflow-wrap:anywhere}
@media (max-width:640px){#tyb-w-tab .tyb-w-pvzl li{flex-direction:column;align-items:flex-start}#tyb-w-tab .tyb-w-acts{max-width:none;justify-content:flex-start}}
/* корзина: подпись под подставленным пунктом */
.ty-addr .tyb-w-saved{margin-top:4px;font:400 12px/16px Gilroy,Arial,sans-serif;color:#767676}
/* /sbp: оплата с баланса */
#tybsbp .tyb-w-sbp{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 16px;margin:16px 0;border:2px solid #156BFF;padding:20px;border-radius:16px;box-sizing:border-box}
#tybsbp .tyb-w-sbp__t{min-width:0;flex:1 1 260px}
#tybsbp .tyb-w-sbp__t p{margin:4px 0 0;font:500 15px/21px Gilroy,Arial,sans-serif}
#tybsbp .tyb-w-sbp__big{font:700 28px/34px Gilroy,Arial,sans-serif!important;color:#156BFF}
#tybsbp .tyb-w-sbp__btn{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 22px;border:0;border-radius:12px;background:#156BFF;color:#fff!important;text-decoration:none!important;font:600 16px/1 Gilroy,Arial,sans-serif;cursor:pointer;max-width:100%;white-space:normal;text-align:center}
#tybsbp .tyb-w-sbp__btn:disabled{opacity:.6;cursor:default}
#tybsbp .tyb-w-sbp__err{flex-basis:100%;margin:0;color:#c62828;font:500 14px/19px Gilroy,Arial,sans-serif}
@media (max-width:640px){#tybsbp .tyb-w-sbp__btn{width:100%}}
