/* Новая главная «Вмиг»: блоки разделов. Цвета — из переменных магазина, поэтому работают во всех темах. */
.hb { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.hb > * { min-width: 0; }
.hb .w { grid-column: 1 / -1; }
.hb, .hb *, .ha-cell small { font-feature-settings: "tnum" 0; }
.hb-n { letter-spacing: 0; word-spacing: -.12em; white-space: nowrap; }
.hb-tile, .hb-brand, .hb-wide, .hb-all, .ha-cell { transition: transform .15s; }
.hb-tile:active, .hb-brand:active, .hb-wide:active, .hb-all:active, .ha-cell:active { transform: scale(.97); }
.hb-tile { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); text-align: left; }
.hb-tile b { font: 800 17px/1.15 var(--font); letter-spacing: -.02em; }
.hb-tile small { font: 600 12.5px/1.3 var(--font); color: var(--muted); margin-top: -6px; }
.hb-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; pointer-events: none; }
.hb-quad img, .hb-quad i { aspect-ratio: 1; width: 100%; border-radius: 16px; object-fit: cover; display: block; }
.hb-quad i { display: grid; place-items: center; background: var(--card2); color: var(--muted); font: 800 16px/1 var(--font); font-style: normal; }
.hb-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 16px; border-radius: 22px; color: #fff; background: linear-gradient(150deg, var(--c1), var(--c2)); text-align: left; min-height: 100%; }
.hb-brand img { width: 58px; height: 58px; border-radius: 17px; margin-bottom: auto; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.hb-brand b { font: 800 17px/1.15 var(--font); letter-spacing: -.02em; margin-top: 18px; }
.hb-brand small { font: 600 12.5px/1.3 var(--font); opacity: .88; }
.hb-brand em { font: 800 14.5px/1.2 var(--font); font-style: normal; margin-top: 8px; }
.hb-wide { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 5px; min-height: 172px; padding: 18px; border-radius: 22px; color: #fff; text-align: left; background: #0c0f14; }
.hb-wide > * { position: relative; }
.hb-wide .art { position: absolute; right: 0; top: 0; width: 58%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%); }
.hb-gta { background: linear-gradient(140deg, #ff9d5c 0%, #ef5da8 45%, #6a3fb5 100%); }
.hb-gta .art { width: 46%; height: auto; top: 50%; right: 14px; transform: translateY(-50%) rotate(-4deg); -webkit-mask-image: none; mask-image: none; object-fit: contain; }
.hb-esim { background: #06111f; }
.hb-wide em { margin-bottom: auto; font: 800 10.5px/1 var(--font); font-style: normal; text-transform: uppercase; letter-spacing: .04em; padding: 6px 10px; border-radius: 99px; background: #d4ff3a; color: #0c0d10; }
.hb-wide b { font: 800 25px/1.05 var(--font); letter-spacing: -.03em; max-width: 60%; }
.hb-wide small { font: 500 13.5px/1.35 var(--font); color: rgba(255, 255, 255, .84); max-width: 58%; }
.hb-wide span { font: 800 15px/1.2 var(--font); margin-top: 3px; }
.hb-steam { padding: 16px; border-radius: 22px; background: linear-gradient(135deg, #16202d, #2a475e); color: #fff; display: flex; flex-direction: column; gap: 14px; }
.hb-steam-h { display: flex; align-items: center; gap: 14px; text-align: left; color: #fff; }
.hb-steam-h img { width: 52px; height: 52px; border-radius: 15px; flex: none; }
.hb-steam-h b { display: block; font: 800 18px/1.2 var(--font); letter-spacing: -.02em; }
.hb-steam-h small { display: block; font: 500 12.5px/1.3 var(--font); opacity: .78; margin-top: 2px; }
.hb-amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hb-amts button { height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .13); color: #fff; font: 700 14px/1 var(--font); text-align: center; }
.hb-amts button:active { background: #d4ff3a; color: #0c0d10; }
.hb .cat3.soon { border-radius: 22px; min-height: 132px; }
.hb-off { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); opacity: .62; }
.hb-off img { width: 46px; height: 46px; border-radius: 13px; filter: grayscale(1); }
.hb-off b { display: block; font: 700 15px/1.2 var(--font); }
.hb-off small { display: block; font: 500 12.5px/1.3 var(--font); color: var(--muted); }
.hb-all { display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 10px 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); text-align: left; color: var(--text); }
.hb-all > svg { color: var(--acc-text); flex: none; }
.hb-all span { flex: 1; }
.hb-all b { display: block; font: 700 15.5px/1.2 var(--font); }
.hb-all small { display: block; font: 500 12.5px/1.3 var(--font); color: var(--muted); }
.hb-all i { font: 700 22px/1 var(--font); font-style: normal; color: var(--muted); }
.ha-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.ha-cell { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.ha-cell img, .ha-cell .mono { width: 60px; height: 60px; border-radius: 16px; object-fit: cover; }
.ha-cell b { font: 700 13px/1.2 var(--font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.ha-cell small { font: 700 12.5px/1.2 var(--font); color: var(--acc-text); letter-spacing: 0; }
.hb-list { display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: space-around; pointer-events: none; }
.hb-list > span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hb-list img { width: 44px; height: 44px; border-radius: 13px; object-fit: cover; flex: none; }
.hb-list b { font: 600 13.5px/1.2 var(--font); letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-fcard { background: #05101f; }
.hb-fcard .art { width: 66%; object-position: 70% 50%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.hb-fcard b { font-size: 22px; max-width: 52%; }
.hb-fcard small { max-width: 50%; }

/* Steam на главной: форма с логином и итогом */
.hs { gap: 12px; }
.hs .hb-steam-h span { flex: 1; }
.hs-reg { flex: none; font-size: 20px !important; font: 600 12.5px/1 var(--font); font-style: normal; opacity: .75; white-space: nowrap; }
.hs .hb-amts button.on { background: #d4ff3a; color: #0c0d10; }
.hs-in { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1.5px solid transparent; }
.hs-in.bad { border-color: #f87171; }
.hs-in small { font: 600 11.5px/1 var(--font); opacity: .7; }
.hs-in input { background: none; border: 0; outline: 0; color: #fff; font: 600 16px/1.3 var(--font); padding: 0; width: 100%; }
.hs-in input::placeholder { color: rgba(255, 255, 255, .45); }
.hs-sum { display: flex; justify-content: space-between; font: 500 13px/1.2 var(--font); opacity: .9; padding: 0 2px; }
.hs-sum b { font-weight: 800; }
.hs-go { height: 50px; border-radius: 15px; background: #d4ff3a; color: #0c0d10; font: 800 16px/1 var(--font); }
.hs-go:active { transform: scale(.98); }
