.l-bento{--surf:#ecf0f3;--sunk:#e6ebf1;--ink:#2b333f;--body:#3f4a59;--muted:#5d6776;--coral:#ff4136;--coral-h:#ff6d63;--ease:cubic-bezier(.4,0,.2,1);font-family:'Rubik',system-ui,sans-serif;color:var(--body);background:var(--surf);padding:34px 22px 48px;box-sizing:border-box;-webkit-font-smoothing:antialiased}
.l-bento *,.l-bento *::before,.l-bento *::after{box-sizing:border-box}
.l-bento .hero{max-width:1120px;margin:0 auto 30px}
.l-bento .hero-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);background:var(--surf);border-radius:999px;padding:9px 16px;box-shadow:-3px -3px 7px #ffffff,4px 4px 9px #ccd4e0}
.l-bento .hero-eyebrow .dot{width:7px;height:7px;border-radius:50%;background:var(--coral);box-shadow:0 0 0 0 rgba(255,65,54,.4)}
.l-bento .hero h1{margin:18px 0 8px;font-size:clamp(27px,4.6vw,42px);line-height:1.08;font-weight:700;color:var(--ink);letter-spacing:-.01em}
.l-bento .hero h1 .hl{color:var(--coral);font-weight:700}
.l-bento .hero p{margin:0;font-size:clamp(14px,1.6vw,16px);font-weight:300;color:var(--muted);max-width:520px;line-height:1.5}
.l-bento .grid{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:182px;gap:20px}
.l-bento .blk{grid-column:span 1;grid-row:span 1;position:relative;display:flex;flex-direction:column;justify-content:space-between;text-align:left;text-decoration:none;color:var(--body);background:var(--surf);border:0;border-radius:28px;padding:24px;overflow:hidden;cursor:pointer;transition:box-shadow .35s var(--ease),transform .35s var(--ease);box-shadow:-6px -6px 14px #ffffff,6px 6px 14px #ccd4e0;font-family:inherit}
.l-bento .blk.feat{grid-column:span 2;grid-row:span 2;padding:30px}
.l-bento .blk.wide{grid-column:span 2}
.l-bento .blk.tall{grid-row:span 2}
.l-bento .wide .name,.l-bento .tall .name{font-size:21px}
.l-bento .wide .glyph,.l-bento .tall .glyph{width:68px;height:68px}
.l-bento .wide .glyph svg,.l-bento .tall .glyph svg{width:36px;height:36px}
.l-bento .tall .ghost svg{width:210px;height:210px}
.l-bento .glyph{position:relative;z-index:2;width:58px;height:58px;display:flex;align-items:center;justify-content:center;border-radius:18px;color:var(--ink);background:var(--surf);box-shadow:inset 3px 3px 6px #ccd4e0,inset -3px -3px 6px #ffffff;transition:transform .35s var(--ease),color .35s var(--ease)}
.l-bento .glyph svg{width:30px;height:30px;display:block}
.l-bento .feat .glyph{width:84px;height:84px;border-radius:24px}
.l-bento .feat .glyph svg{width:46px;height:46px}
.l-bento .cluster{position:relative;width:58px;height:58px}
.l-bento .cluster svg{position:absolute;width:28px;height:28px}
.l-bento .cluster svg:first-child{top:8px;left:6px;opacity:.92}
.l-bento .cluster svg:last-child{bottom:7px;right:6px;color:var(--coral);opacity:.9}
.l-bento .feat .cluster{width:84px;height:84px}
.l-bento .feat .cluster svg{width:40px;height:40px}
.l-bento .blk .meta{position:relative;z-index:2}
.l-bento .name{display:block;font-size:18px;font-weight:600;color:var(--ink);letter-spacing:-.01em;line-height:1.15}
.l-bento .feat .name{font-size:27px}
.l-bento .sub{display:block;margin-top:5px;font-size:12.5px;font-weight:300;color:var(--muted);line-height:1.35}
.l-bento .feat .sub{font-size:15px;margin-top:7px;font-weight:400}
.l-bento .foot{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;margin-top:14px}
.l-bento .from{font-size:16px;font-weight:600;color:var(--ink)}
.l-bento .from b{color:var(--coral);font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin-right:5px;vertical-align:1px}
.l-bento .feat .from{font-size:22px}
.l-bento .feat .from b{font-size:13px}
.l-bento .count{font-size:11.5px;font-weight:500;color:var(--muted);background:var(--surf);border-radius:999px;padding:6px 13px;box-shadow:-3px -3px 7px #ffffff,4px 4px 9px #ccd4e0;transition:box-shadow .22s var(--ease)}
.l-bento .arrow{position:absolute;top:24px;right:24px;z-index:2;width:34px;height:34px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:var(--surf);color:var(--muted);box-shadow:-3px -3px 7px #ffffff,4px 4px 9px #ccd4e0;opacity:0;transform:translateX(-6px);transition:opacity .35s var(--ease),transform .35s var(--ease),color .35s var(--ease)}
.l-bento .feat .arrow{top:30px;right:30px}
.l-bento .arrow svg{width:16px;height:16px}
.l-bento .ghost{position:absolute;z-index:1;right:-28px;bottom:-30px;color:var(--ink);opacity:.045;pointer-events:none;transition:transform .55s var(--ease),opacity .35s var(--ease)}
.l-bento .ghost svg{width:150px;height:150px;display:block}
.l-bento .feat .ghost{right:-44px;bottom:-50px;opacity:.06}
.l-bento .feat .ghost svg{width:300px;height:300px}
.l-bento .blk.soon{cursor:default;opacity:.62}
.l-bento .soon .glyph{color:var(--muted)}
.l-bento .pill{position:relative;z-index:2;align-self:flex-start;font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);background:var(--sunk);border-radius:999px;padding:6px 12px;box-shadow:inset 3px 3px 6px #ccd4e0,inset -3px -3px 6px #ffffff}
.l-bento .blk:not(.soon):hover{box-shadow:-11px -11px 22px #ffffff,13px 13px 28px #ccd4e0;transform:translateY(-3px)}
.l-bento .blk:not(.soon):hover .glyph{transform:translateY(-2px);color:var(--coral)}
.l-bento .feat:hover .glyph{transform:scale(1.07) translateY(-2px)}
.l-bento .blk:not(.soon):hover .count{box-shadow:inset 3px 3px 6px #ccd4e0,inset -3px -3px 6px #ffffff}
.l-bento .blk:not(.soon):hover .arrow{opacity:1;transform:translateX(0);color:var(--coral)}
.l-bento .blk:not(.soon):hover .ghost{transform:scale(1.12) rotate(-4deg);opacity:.07}
.l-bento .feat:hover .ghost{transform:scale(1.18) rotate(-5deg);opacity:.09}
.l-bento .blk:active:not(.soon){box-shadow:inset 4px 4px 9px #ccd4e0,inset -4px -4px 9px #ffffff;transform:translateY(0)}
.l-bento .blk:focus-visible{outline:none;box-shadow:-6px -6px 14px #ffffff,6px 6px 14px #ccd4e0,0 0 0 3px rgba(255,65,54,.45)}
@media(max-width:760px){
.l-bento{padding:26px 16px 38px}
.l-bento .grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:160px;gap:15px}
.l-bento .blk{padding:18px;border-radius:24px}
.l-bento .blk.feat{grid-column:span 2;grid-row:span 1;padding:22px}
.l-bento .blk.wide{grid-column:span 2}
.l-bento .blk.tall{grid-row:span 1;grid-column:span 2}
.l-bento .feat .glyph{width:60px;height:60px;border-radius:18px}
.l-bento .feat .glyph svg{width:32px;height:32px}
.l-bento .feat .cluster{width:60px;height:60px}
.l-bento .feat .cluster svg{width:30px;height:30px}
.l-bento .feat .name{font-size:21px}
.l-bento .feat .sub{font-size:13px}
.l-bento .feat .from{font-size:18px}
.l-bento .feat .ghost svg{width:170px;height:170px}
.l-bento .glyph{width:50px;height:50px}
.l-bento .glyph svg{width:26px;height:26px}
.l-bento .name{font-size:16px}
.l-bento .arrow{display:none}
}
@media(max-width:430px){
.l-bento .grid{grid-template-columns:1fr;grid-auto-rows:auto}
.l-bento .blk,.l-bento .blk.feat,.l-bento .blk.wide,.l-bento .blk.tall{grid-column:span 1;grid-row:span 1;min-height:148px}
}
@media(prefers-reduced-motion:reduce){
.l-bento .blk,.l-bento .glyph,.l-bento .count,.l-bento .arrow,.l-bento .ghost{transition:none}
.l-bento .blk:not(.soon):hover{transform:none}
.l-bento .blk:not(.soon):hover .glyph,.l-bento .feat:hover .glyph,.l-bento .blk:not(.soon):hover .ghost,.l-bento .feat:hover .ghost{transform:none}
}
/* ============ department view (внутри отдела) ============ */
.sp-dept{max-width:1180px;margin:0 auto;padding:18px clamp(16px,4vw,24px) 60px}
.dept-bar{display:flex;align-items:center;gap:14px;margin:6px 0 22px;flex-wrap:wrap}
.dept-back{appearance:none;border:0;cursor:pointer;text-decoration:none;font-size:14px;font-weight:500;color:#3f4a59;background:#ecf0f3;padding:10px 18px;border-radius:999px;box-shadow:-3px -3px 7px #fff,4px 4px 9px #ccd4e0;transition:color .2s,transform .2s}
.dept-back:hover{color:#ff4136;transform:translateX(-2px)}
.dept-title{font-size:22px;font-weight:700;color:#2b333f}
.dept-sub{font-size:13px;color:#5d6776}

/* ============ inapp (кабинет): компактная витрина ============ */
.inapp-mode .l-bento{padding:6px 0 22px}
.inapp-mode .l-bento .hero{margin-bottom:16px}
.inapp-mode .l-bento .hero-eyebrow{display:none}
.inapp-mode .l-bento .hero h1{font-size:23px;margin:0 0 6px}
.inapp-mode .l-bento .hero p{font-size:13px}
.inapp-mode .sp-dept{padding:4px 0 0}
.inapp-mode .dept-bar{margin:0 0 14px}
@media(max-width:520px){
  .inapp-mode .l-bento .grid{grid-auto-rows:128px;gap:11px}
  .inapp-mode .l-bento .blk.feat{grid-row:span 1}
  .inapp-mode .l-bento .blk.tall{grid-row:span 1}
  .dept-title{font-size:18px}
}


/* ── Отдел «Пополнить Steam»: hero с фоновым лого + нейо-карточка формы ── */
.steam-back{align-self:flex-start;margin:0}
.steam-wrap{max-width:560px;margin:0 auto;display:flex;flex-direction:column;gap:22px}
.steam-hero{position:relative;border-radius:24px;overflow:hidden;padding:32px 30px;
  background:linear-gradient(145deg,#1b2a3f,#141d29);
  box-shadow:-8px -8px 18px #fff,10px 10px 24px #ccd4e0}
.steam-bg{position:absolute;right:-34px;bottom:-46px;width:230px;height:230px;color:#fff;opacity:.09;transform:rotate(-10deg);pointer-events:none}
.steam-bg svg{width:100%;height:100%}
.steam-hero-in{position:relative;z-index:2;display:flex;flex-direction:column;gap:5px}
.steam-badge{width:52px;height:52px;color:#fff;opacity:.95;margin-bottom:8px}
.steam-badge svg{width:100%;height:100%}
.steam-hero-in h2{color:#fff;font-size:27px;line-height:1.1;margin:0}
.steam-hero-in p{color:#9fb0c4;font-size:14px;margin:0}
.steam-card{border-radius:24px;background:#ecf0f3;padding:28px 26px;display:flex;flex-direction:column;gap:16px;
  box-shadow:-8px -8px 18px #fff,10px 10px 24px #ccd4e0}
.steam-note{background:#e7ebf0;border-radius:14px;padding:14px 16px;font-size:13.5px;line-height:1.55;color:#5b6472;
  box-shadow:inset 3px 3px 8px #d3dae6,inset -3px -3px 8px #fff}
.steam-note b{color:#2b333f}
.steam-label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#8b94a6;font-weight:500}
.steam-label input{padding:14px 16px;border:0;border-radius:14px;font-size:16px;color:#2b333f;background:#ecf0f3;
  box-shadow:inset 3px 3px 7px #d3dae6,inset -3px -3px 7px #fff;outline:none;transition:box-shadow .2s}
.steam-label input:focus{box-shadow:inset 3px 3px 7px #d3dae6,inset -3px -3px 7px #fff,0 0 0 2px rgba(255,65,54,.35)}
.steam-status{font-size:13px;min-height:18px;font-weight:600}
.steam-calc{font-size:15px;min-height:22px;color:#2b333f}
.steam-calc b{color:#ff4136;font-size:18px}
.steam-btn{margin-top:6px;width:100%;justify-content:center}
.steam-btn:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:560px){.steam-hero{padding:26px 22px}.steam-card{padding:22px 18px}.steam-hero-in h2{font-size:23px}}
