/* Шаг 60: кабинет с меню сверху на иконках */
.cabt{margin-top:18px}
.cabtop{display:flex;gap:4px;align-items:stretch;background:var(--surface,#fff);border:1px solid var(--border,#e1e6ee);border-radius:18px;padding:8px;margin:0 0 16px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.cabtop::-webkit-scrollbar{display:none}
.cabtop .who{display:flex;align-items:center;gap:10px;padding:2px 14px 2px 4px;margin-right:6px;border-right:1px solid var(--border,#e1e6ee);flex:none;color:var(--text,#12181f);text-decoration:none;max-width:210px}
.cabtop .who .avatar{width:42px;height:42px;font-size:17px}
.cabtop .who b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}
.cabtop .who .sub{font-size:12px}
.cabtop .ci{position:relative;flex:none;min-width:76px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:9px 10px;border-radius:14px;color:var(--text,#12181f);font:inherit;font-size:12px;font-weight:600;line-height:1.15;text-align:center;text-decoration:none;background:none;border:0;cursor:pointer;width:auto}
.cabtop .ci i{font-style:normal;font-size:25px;line-height:1;filter:saturate(1.15)}
.cabtop .ci:hover{background:var(--surface-2,#eef1f5)}
.cabtop .ci.on{background:var(--surface-2,#eef1f5);color:var(--accent-strong,#0fa968);box-shadow:inset 0 -3px 0 var(--accent,#14c47c)}
.cabtop .ci .dot{position:absolute;top:3px;right:12px;margin:0}
.cabtop form{margin:0;display:flex}
.cabtop .wal{margin-left:auto;flex:none;display:flex;align-items:center;gap:8px;padding:6px 8px 6px 14px;border-left:1px solid var(--border,#e1e6ee);color:var(--text,#12181f);text-decoration:none}
.cabtop .wal b{font-size:15px;white-space:nowrap}
.cabtop .wal span.sub{font-size:11px;display:block}
.cabtop .wal .plus{width:30px;height:30px;border-radius:50%;background:var(--accent,#14c47c);color:var(--on-accent,#06251a);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700}
.cabtop .vbadge{margin:0}
@media(max-width:860px){
  .cabt{margin-top:10px}
  .cabtop{border-radius:14px;padding:6px}
  .cabtop .who{display:none}
  .cabtop .ci{min-width:68px;padding:8px 6px}
  .cabtop .wal{padding:4px 4px 4px 10px}
  .cabtop .wal span.sub{display:none}
}

/* Шаг 60в: цветные плитки */
.cabtop{display:flex;flex-wrap:wrap;gap:10px 6px;overflow:visible;padding:12px;align-items:center}
.cabtop .who{order:0;flex:1 1 calc(100% - 250px);border-right:0;margin:0;padding:0 0 10px;max-width:none;border-bottom:0}
.cabtop .wal{order:1;margin:0 0 10px;padding:6px 8px 6px 14px;border:1px solid var(--border,#e1e6ee);border-radius:14px;background:var(--surface-2,#eef1f5)}
.cabtop .ci,.cabtop form{order:2}
.cabtop .ci{flex:0 0 calc((100% - 36px) / 7);min-width:0;padding:6px 2px;gap:6px;border-radius:14px;box-shadow:none;font-size:12px}
.cabtop form{display:contents}
.cabtop .ci i{width:48px;height:48px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:24px;background:linear-gradient(145deg,#e8f7ef,#c9eedb);box-shadow:0 2px 6px rgba(0,0,0,.08)}
.cabtop .ci:nth-of-type(6n+2) i{background:linear-gradient(145deg,#e6f0ff,#c8dcff)}
.cabtop .ci:nth-of-type(6n+3) i{background:linear-gradient(145deg,#ffe9ef,#ffcfdc)}
.cabtop .ci:nth-of-type(6n+4) i{background:linear-gradient(145deg,#fff4dc,#ffe3a6)}
.cabtop .ci:nth-of-type(6n+5) i{background:linear-gradient(145deg,#f1e8ff,#dcc8ff)}
.cabtop .ci:nth-of-type(6n+6) i{background:linear-gradient(145deg,#e3f8fb,#bdeaf1)}
.cabtop .ci:hover{background:var(--surface-2,#eef1f5)}
.cabtop .ci:hover i{transform:translateY(-2px);transition:transform .15s}
.cabtop .ci.on{background:none;box-shadow:none;color:var(--accent-strong,#0fa968)}
.cabtop .ci.on i{outline:3px solid var(--accent,#14c47c);outline-offset:1px}
.cabtop .ci .dot{top:0;right:calc(50% - 32px)}
@media(max-width:860px){
  .cabtop{padding:10px 8px}
  .cabtop .wal{flex:1 1 100%;justify-content:space-between}
  .cabtop .ci{flex:0 0 calc((100% - 18px) / 4);font-size:11px}
  .cabtop .ci i{width:44px;height:44px;font-size:22px}
  .cabtop .ci .dot{right:calc(50% - 30px)}
}
/* Шаг 60г: карточки профиля и кошелька */
.cabtop .who{order:0;flex:1 1 calc(100% - 340px);display:flex;gap:14px;align-items:center;padding:10px 16px;margin:0 0 10px;max-width:none;border:1px solid var(--border,#e1e6ee);border-radius:16px;background:var(--surface-2,#eef1f5)}
.cabtop .who .avatar{width:54px;height:54px;font-size:22px;box-shadow:0 0 0 3px var(--accent,#14c47c)}
.cabtop .who b{font-size:17px;max-width:none}
.cabtop .who .sub{display:block;font-size:12px;margin-top:2px;color:var(--muted,#5f6b7a)}
.cabtop .wal{order:1;flex:0 0 330px;margin:0 0 10px;padding:10px 12px 10px 18px;border:0;border-radius:16px;background:linear-gradient(135deg,#14c47c,#0a8f55);color:#fff;justify-content:space-between;box-shadow:0 4px 12px rgba(10,143,85,.25)}
.cabtop .wal .sub{color:rgba(255,255,255,.88);font-size:12px;display:block}
.cabtop .wal b{font-size:21px;color:#fff}
.cabtop .wal .plus{width:auto;height:auto;padding:9px 14px;border-radius:12px;background:#fff;color:#0a8f55;font-size:0}
.cabtop .wal .plus::after{content:"Пополнить";font-size:13px;font-weight:700}
@media(max-width:860px){
  .cabtop .who{display:flex;flex:1 1 100%;padding:8px 12px;margin-bottom:6px}
  .cabtop .who .avatar{width:44px;height:44px;font-size:18px}
  .cabtop .wal{flex:1 1 100%;margin-bottom:6px}
  .cabtop .wal .sub{display:block}
}
