/* Gamesrift — homepage (main): the client's round of changes, on top of style.css + variants.css. */

/* ---------- 13: taller header + two new header variants ---------- */
.hdr__row { height: 84px; }
.hdr__logo img { height: 44px; }
.hdr__search { height: 50px; }
.hdr__searchCat, .hdr__searchBtn { display: none; }
body[data-hdr="B"] .hdr__row { height: 88px; }
body[data-hdr="C"] .hdr__row { height: 76px; }

/* D — icons with labels under them */
body[data-hdr="D"] .hdr__row { height: 92px; gap: 18px; }
body[data-hdr="D"] .hdr__search { height: 54px; border-radius: 999px; padding-left: 20px; }
body[data-hdr="D"] .hdr__search kbd { display: none; }
body[data-hdr="D"] .hdr__searchBtn { display: block; height: 42px; margin-right: -8px; padding: 0 22px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; }
body[data-hdr="D"] .hdr__icon, body[data-hdr="D"] .hdr__login { flex-direction: column; justify-content: center; height: 60px; width: auto; min-width: 58px; padding: 0 6px; gap: 3px; border-radius: 14px; font-size: 12px; font-weight: 600; background: none; color: var(--ink); }
body[data-hdr="D"] .hdr__icon::after, body[data-hdr="D"] .hdr__login::after { content: attr(data-label); font-size: 12px; font-weight: 600; color: var(--ink-2); }
body[data-hdr="D"] .hdr__login { font-size: 0; }
body[data-hdr="D"] .hdr__login svg { width: 22px; height: 22px; }
body[data-hdr="D"] .hdr__login:hover, body[data-hdr="D"] .hdr__icon:hover { background: var(--card); }
body[data-hdr="D"] .hdr__icon b { top: 2px; right: 8px; }
body[data-hdr="D"] .hdr__gamesBtn { height: 54px; padding: 0 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }

/* E — search with category select + orange button */
body[data-hdr="E"] .hdr { background: var(--card); border-bottom: 1px solid var(--line); }
body[data-hdr="E"] .hdr__row { height: 96px; }
body[data-hdr="E"] .hdr__gamesBtn { height: 54px; padding: 0 18px; background: var(--brand); color: #fff; border-radius: 14px; }
body[data-hdr="E"] .hdr__gamesBtn:hover, body[data-hdr="E"] .hdr__games.open .hdr__gamesBtn { background: #ff4a0a; box-shadow: none; }
body[data-hdr="E"] .hdr__search { height: 56px; padding: 0 6px 0 0; border: 2px solid var(--brand); border-radius: 16px; gap: 0; }
body[data-hdr="E"] .hdr__search > svg { margin-left: 12px; margin-right: 8px; }
body[data-hdr="E"] .hdr__searchCat { display: block; order: -1; height: 100%; border: 0; border-right: 1px solid var(--line); background: var(--paper); border-radius: 14px 0 0 14px; padding: 0 12px 0 16px; font: 600 14px var(--body); color: var(--ink); outline: 0; max-width: 170px; }
body[data-hdr="E"] .hdr__search kbd { display: none; }
body[data-hdr="E"] .hdr__searchBtn { display: block; height: 42px; padding: 0 24px; border-radius: 11px; background: var(--brand); color: #fff; font-weight: 700; }
body[data-hdr="E"] .hdr__login { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
body[data-hdr="E"] .hdr__login:hover { border-color: var(--ink); background: var(--card); }
@media (max-width: 960px) {
  .hdr__row, body[data-hdr] .hdr__row { height: auto; }
  body[data-hdr="D"] .hdr__icon::after, body[data-hdr="D"] .hdr__login::after { display: none; }
  body[data-hdr="D"] .hdr__icon, body[data-hdr="D"] .hdr__login { height: 44px; min-width: 44px; }
  body[data-hdr="E"] .hdr__searchCat { max-width: 110px; padding: 0 6px 0 10px; font-size: 13px; }
  body[data-hdr="E"] .hdr__searchBtn, body[data-hdr="D"] .hdr__searchBtn { display: none; }
}

/* ---------- 9: games menu — title instead of tabs/search, no "All …" row ---------- */
.mega__top { margin-bottom: 12px; padding: 4px 10px 12px; border-bottom: 1px solid var(--line); }
.mega__title { display: block; font: 600 20px var(--display); letter-spacing: -.02em; }
.mega__sub { font-size: 13px; color: var(--mute); }

/* ---------- 10: search suggestions ---------- */
.suggest { padding: 10px; }
.s__head { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.s__head b { font: 600 15px var(--display); }
.s__head span { font-size: 12px; color: var(--mute); }
.suggest a { gap: 14px; padding: 9px 8px; }
.suggest a > img { width: 104px; height: 64px; border-radius: 10px; }
.suggest .s__n { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.s__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.s__tag { display: inline-flex; align-items: center; gap: 4px; font: 600 11px var(--body); padding: 3px 8px; border-radius: 6px; background: var(--paper); color: var(--ink-2); }
.s__tag img { width: 13px; height: 13px; object-fit: contain; }
.s__tag--g { background: #e9f7f1; color: #067a54; }
.suggest .s__p { display: flex; flex-direction: column; align-items: flex-end; font-size: 16px; }
.suggest .s__p s { font-size: 12px; font-weight: 500; color: var(--mute); }
@media (max-width: 640px) { .suggest a > img { width: 72px; height: 48px; } .suggest .s__n { font-size: 13px; } }

/* ---------- 1: product card A ---------- */
.cardA { border-radius: 20px; }
.cardA__img { aspect-ratio: 16 / 10.5; }
.cardA__plat { position: absolute; left: 10px; top: 10px; width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .22); }
.cardA__plat img, .cardA__plat .gicon { width: 28px; height: 28px; object-fit: contain; border-radius: 7px; font-size: 10px; }
.cardA__glob { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #067a54; font: 700 11px var(--body); letter-spacing: .08em; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.cardA__type { position: absolute; left: 10px; bottom: 10px; height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 8px; background: rgba(15, 16, 20, .72); backdrop-filter: blur(6px); color: #fff; font: 600 12px var(--body); }
.cardA__body { padding: 14px 16px 16px; gap: 6px; }
.cardA__name { font-size: 15px; min-height: 2.6em; }
.cardA__pf { font-size: 12px; color: var(--mute); }
.cardA__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.cardA__foot .price { margin: 0; flex-wrap: wrap; row-gap: 2px; }
.cardA__foot .price b { font-size: 21px; }
.cardA__off { font: 700 12px var(--body); color: #fff; background: var(--brand); padding: 3px 7px; border-radius: 6px; }
.cardA .cartbtn { position: static; flex: none; opacity: 1; transform: none; width: 42px; height: 42px; background: var(--paper); color: var(--ink); box-shadow: none; }
.cardA:hover .cartbtn { background: var(--brand); color: #fff; }
.cardA .cartbtn.added { background: var(--green); color: #fff; }

/* ---------- 12: three product rows with arrows ---------- */
.prow + .prow { margin-top: 38px; }
.prow__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.prow__head h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(22px, 2.6vw, 30px); }
.prow__head .pill { font: 700 11px var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); }
.prow__head .pill--new { background: #e7f0ff; color: #1d4fd8; }
.prow__head .pill--soft { background: #f0ebff; color: #5b3fd6; }
.prow__end { display: flex; align-items: center; gap: 8px; }
.prow__end .more { margin-right: 8px; }
.prow__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; }
.prow--C .prow__track { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; }
.prow__track::-webkit-scrollbar { display: none; }
.prow__track > * { scroll-snap-align: start; min-width: 0; }
.slot { border: 2px dashed var(--line-2); border-radius: 20px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 22px; color: var(--mute); background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(0, 0, 0, .015) 12px 24px); min-height: 220px; }
.slot b { color: var(--ink-2); font-family: var(--display); font-weight: 600; }
.slot span { font-size: 13px; }
.carr { width: 40px; height: 40px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); font-size: 22px; line-height: 1; display: grid; place-items: center; color: var(--ink); transition: border-color .2s, background .2s, color .2s; flex: none; }
.carr:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
@media (max-width: 960px) { .prow__track { grid-auto-columns: 44%; } .prow--C .prow__track { grid-auto-columns: 80%; } }
@media (max-width: 640px) { .prow__track { grid-auto-columns: 72%; gap: 12px; } .prow__end .carr { display: none; } }

/* ---------- 4: categories with arrows ---------- */
.catsA__wrap { display: flex; align-items: center; gap: 10px; padding: 20px 14px 10px; }
.catsA { flex: 1; justify-content: flex-start; gap: 6px; scroll-behavior: smooth; scroll-snap-type: x mandatory; }
.catsA a { width: 136px; scroll-snap-align: start; font-size: 14px; }
.catsA .ic { width: 84px; height: 84px; border-radius: 24px; }
.catsA .ic img { width: 48px; height: 48px; }
.catsA__wrap .carr { margin-bottom: 30px; }
@media (max-width: 640px) { .catsA__wrap .carr { display: none; } .catsA a { width: 104px; } .catsA .ic { width: 68px; height: 68px; } }

/* ---------- 3: banners with the three guarantees ---------- */
.trustbar__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; background: var(--brand-soft); color: var(--brand); }
.trustbar__ic svg { width: 28px; height: 28px; }
.trustbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.trustbar__it { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.trustbar__it b { display: block; font: 600 19px var(--display); letter-spacing: -.02em; }
.trustbar__it p { font-size: 13px; color: var(--ink-2); }
.trustbar__it:nth-child(1) .trustbar__ic, .heroE2__line:nth-child(2) .trustbar__ic, .heroF__b:nth-child(1) .trustbar__ic { background: #e6f7f0; color: var(--green); }
.trustbar__it:nth-child(3) .trustbar__ic, .heroE2__line:nth-child(4) .trustbar__ic, .heroF__b:nth-child(3) .trustbar__ic { background: #e9efff; color: var(--blue); }
@media (max-width: 860px) { .trustbar { grid-template-columns: 1fr; gap: 8px; } .trustbar__it { padding: 14px; } }

.heroE2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; align-items: stretch; }
.heroE2__txt { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.heroE2__line { display: flex; gap: 16px; align-items: center; }
.heroE2__line h2 { font-size: clamp(22px, 2.4vw, 32px); }
.heroE2__line p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.heroE2__cta { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.heroE2__cta span { color: var(--green); font-weight: 700; font-size: 14px; }
.heroE2__slider .heroA__main { height: 100%; aspect-ratio: auto; min-height: 420px; }
.heroE2__slider .heroA__slide { grid-template-columns: 48% 1fr; }
.heroE2__slider .heroA__panel { padding-left: 30px; }
@media (max-width: 960px) { .heroE2 { grid-template-columns: 1fr; } .heroE2__slider .heroA__main { min-height: 0; height: 520px; } .heroE2__slider .heroA__slide { grid-template-columns: none; } }

.heroF { position: relative; }
.heroF .heroA__main { aspect-ratio: 16 / 6; }
.heroF .heroA__slide { grid-template-columns: 38% 1fr; }
.heroF__badges { position: absolute; z-index: 4; right: 22px; top: 22px; display: flex; flex-direction: column; gap: 10px; }
.heroF__b { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.heroF__b b { font: 600 17px var(--display); letter-spacing: -.02em; white-space: nowrap; }
.heroF__b .trustbar__ic { width: 44px; height: 44px; border-radius: 13px; }
.heroF .heroA__nav { right: auto; left: calc(38% + 20px); }
@media (max-width: 960px) {
  .heroF .heroA__main { aspect-ratio: auto; height: 560px; }
  .heroF .heroA__slide { grid-template-columns: none; }
  .heroF__badges { position: static; flex-direction: row; flex-wrap: wrap; margin-top: 10px; }
  .heroF__b { flex: 1 1 100%; background: var(--card); border: 1px solid var(--line); box-shadow: none; }
  .heroF .heroA__nav { left: 20px; }
}

/* ---------- 5: two more platform variants ---------- */
.platC__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.platC { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.platC a { display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.platC a:hover { border-color: var(--c); transform: translateY(-3px); box-shadow: var(--shadow-h); }
.platC__ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--bg); color: #fff; font: 700 16px var(--display); flex: none; }
.platC__ic img { width: 30px; height: 30px; object-fit: contain; filter: brightness(0) invert(1); }
.platC__t b { display: block; font: 600 18px var(--display); }
.platC__t small { color: var(--mute); }
.platC__go { margin-left: auto; font-weight: 600; font-size: 14px; color: var(--c); opacity: 0; transform: translateX(-6px); transition: .2s; white-space: nowrap; }
.platC a:hover .platC__go { opacity: 1; transform: none; }
@media (max-width: 960px) { .platC { grid-template-columns: 1fr 1fr; } .platC__go { display: none; } }
@media (max-width: 560px) { .platC { grid-template-columns: 1fr; } }

.platD { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; grid-template-rows: 150px 150px; gap: 12px; }
.platD a { position: relative; border-radius: 20px; overflow: hidden; isolation: isolate; color: #fff; display: flex; align-items: flex-end; padding: 16px; transition: transform .2s; }
.platD a:hover { transform: translateY(-3px); }
.platD a.big { grid-row: span 2; padding: 24px; }
.platD__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.platD a:hover .platD__bg { transform: scale(1.06); }
.platD a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); opacity: .82; mix-blend-mode: multiply; }
.platD a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 70%); }
.platD__in img { width: 30px; height: 30px; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 8px; }
.platD__in b { display: block; font: 700 18px var(--display); }
.platD a.big .platD__in b { font-size: 30px; }
.platD__in small { font-size: 12px; opacity: .85; }
@media (max-width: 960px) { .platD { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 130px; } .platD a.big { grid-column: span 2; grid-row: auto; } }

/* ---------- 8: first How-to-buy step ---------- */
.how__art--pick2 { position: relative; gap: 0; }
.how__art--pick2 img { width: 62px; height: 42px; object-fit: cover; border-radius: 8px; border: 2px solid #fff; box-shadow: var(--shadow); margin: 0 -6px; transform: rotate(-6deg); }
.how__art--pick2 img:nth-child(2) { width: 74px; height: 50px; z-index: 1; transform: translateY(-4px); outline: 3px solid var(--brand); outline-offset: 1px; }
.how__art--pick2 img:nth-child(3) { transform: rotate(6deg); }
.how__cur { position: absolute; z-index: 2; width: 24px; height: 24px; left: calc(50% + 20px); top: calc(50% + 6px); }

/* ---------- 6: FAQ help buttons ---------- */
.faqB__help { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.faqB__help > div { flex: 1 1 220px; }
.faqB__help b { display: block; font: 600 17px var(--display); }
.faqB__help span { font-size: 14px; color: var(--mute); }
.faqB__help .btn svg { flex: none; }

/* ---------- 7: footer ---------- */
.ftrM { position: relative; margin-top: 48px; padding-bottom: 96px; background: var(--card); }
.ftrM__line { height: 4px; background: linear-gradient(90deg, #5b5bf6, #c45fd0 35%, var(--brand) 70%, #ffb03a); }
.ftrM__grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr 1.3fr; gap: 28px; padding: 44px 0 30px; }
.ftrM__brand img { height: 42px; margin-bottom: 12px; }
.ftrM__brand > p { font-size: 14px; color: var(--ink-2); max-width: 290px; }
.ftrM__co { display: flex; flex-direction: column; gap: 3px; margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.ftrM__co b { color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.ftrM__co .ph { color: var(--mute); border-bottom: 1px dashed var(--line-2); align-self: flex-start; }
.ftrM__co a { color: var(--brand-ink); font-weight: 600; }
.ftrM__grid nav { display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--ink-2); }
.ftrM__grid nav b { color: var(--ink); margin-bottom: 4px; }
.ftrM__grid nav a:hover { color: var(--brand-ink); }
.ftrM__side > b { display: block; margin-bottom: 10px; }
.ftrM__side .fld { margin-bottom: 10px; }
.ftrM__side .fld select { height: 40px; }
.ftrM__two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tpS { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.tpS .tp__stars i { width: 16px; height: 16px; }
.tpS svg { width: 13px; height: 13px; vertical-align: -2px; }
.ftrM__mid { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ftrM__pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ftrM__lbl { font-size: 13px; color: var(--mute); margin-right: 4px; }
.pi { height: 34px; min-width: 56px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font: 700 14px var(--body); color: #3c4043; }
.pi svg { height: 20px; width: auto; }
.pi--visa svg { height: 16px; }
.pi--dark { background: #000; color: #fff; border-color: #000; }
.pi__g { font: 800 17px Arial, sans-serif; margin-right: 2px; }
.pi__g i { font-style: normal; }
.ftrM__trust { display: flex; align-items: center; gap: 18px; }
.ftrM__trust img { height: 44px; width: auto; mix-blend-mode: multiply; }
.ftrM__bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 18px; font-size: 13px; color: var(--mute); }
.ftrM__links { display: flex; gap: 18px; }
.ftrM__links a:hover { color: var(--ink); }
@media (max-width: 1100px) { .ftrM__grid { grid-template-columns: 1fr 1fr 1fr; } .ftrM__brand, .ftrM__side { grid-column: span 3; } }
@media (max-width: 640px) { .ftrM__grid { grid-template-columns: 1fr 1fr; } .ftrM__brand, .ftrM__side { grid-column: span 2; } .ftrM__trust img { height: 34px; } .ftrM__trust { gap: 10px; flex-wrap: wrap; } }

/* ---------- 15: mini cart ---------- */
.hdr__cartWrap { position: relative; }
.minicart { position: absolute; right: -8px; top: calc(100% + 12px); width: 380px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-h); display: none; z-index: 70; color: var(--ink); }
.minicart::before { content: ""; position: absolute; right: 22px; top: -7px; width: 14px; height: 14px; background: var(--card); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.hdr__cartWrap.open .minicart { display: block; animation: drop .18s ease-out; }
.mc__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.mc__head b { font: 600 17px var(--display); display: flex; align-items: center; gap: 8px; }
.mc__head b span { font: 700 12px var(--body); background: var(--brand); color: #fff; border-radius: 999px; padding: 2px 8px; }
.mc__x { width: 32px; height: 32px; border-radius: 50%; font-size: 20px; background: var(--paper); }
.mc__x:hover { background: var(--paper-2); }
.mc__empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 22px 18px; }
.mc__bag { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 6px; }
.mc__bag svg { width: 32px; height: 32px; }
.mc__empty b { font: 600 18px var(--display); }
.mc__empty p { font-size: 14px; color: var(--mute); margin-bottom: 12px; }
.mc__sug { padding: 4px 18px 18px; }
.mc__sug > p { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 6px 0 8px; }
.mc__s { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; }
.mc__s:hover { background: var(--paper); }
.mc__s img { width: 56px; height: 38px; object-fit: cover; border-radius: 8px; }
.mc__s span { flex: 1; font-size: 13px; font-weight: 600; line-height: 1.3; display: flex; flex-direction: column; }
.mc__s span b { font-size: 13px; color: var(--brand-ink); }
.mc__add { width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 18px; }
.mc__list { max-height: 320px; overflow: auto; padding: 6px 10px; }
.mc__it { position: relative; display: flex; gap: 12px; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.mc__it:last-child { border-bottom: 0; }
.mc__it > img { width: 76px; height: 52px; object-fit: cover; border-radius: 10px; flex: none; }
.mc__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding-right: 20px; }
.mc__info a { font-weight: 600; font-size: 14px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc__pf { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--mute); }
.mc__pf img { width: 13px; height: 13px; object-fit: contain; }
.mc__row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.mc__qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; }
.mc__qty button { width: 28px; height: 28px; font-size: 16px; }
.mc__qty b { min-width: 22px; text-align: center; font-size: 14px; }
.mc__price { font-size: 15px; }
.mc__del { position: absolute; right: 4px; top: 10px; width: 24px; height: 24px; border-radius: 50%; color: var(--mute); font-size: 18px; }
.mc__del:hover { background: var(--paper); color: var(--ink); }
.mc__sum { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px 4px; border-top: 1px solid var(--line); }
.mc__sum span { color: var(--mute); }
.mc__sum b { font: 700 22px var(--display); }
.mc__btns { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 10px 18px 6px; }
.mc__trust { display: flex; justify-content: center; gap: 16px; font-size: 12px; color: var(--mute); padding: 6px 18px 16px; }
@media (max-width: 560px) { .minicart { position: fixed; left: 8px; right: 8px; top: 70px; width: auto; } .minicart::before { display: none; } }

/* ---------- 11: auth modal ---------- */
body.noscroll { overflow: hidden; }
.auth { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.auth.open { display: flex; }
.auth__bg { position: absolute; inset: 0; background: rgba(14, 15, 20, .55); backdrop-filter: blur(6px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.auth__box { position: relative; background: var(--card); border-radius: 26px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5); max-height: calc(100vh - 32px); overflow: auto; animation: pop .22s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.auth__x { position: absolute; right: 14px; top: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); font-size: 22px; line-height: 1; }
.auth__x:hover { background: var(--paper-2); }
.aw { display: flex; flex-direction: column; gap: 12px; }
.aw h3 { font-size: 24px; }
.aw__lead { font-size: 14px; color: var(--ink-2); margin-top: -4px; }
.aw__tabs { display: flex; background: var(--paper); border-radius: 14px; padding: 4px; }
.aw__tabs button { flex: 1; height: 38px; border-radius: 11px; font-weight: 600; color: var(--ink-2); }
.aw__tabs button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.as { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.as__b { height: 46px; border-radius: 12px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 14px; transition: border-color .2s, background .2s; }
.as__b:hover { border-color: var(--ink); background: var(--paper); }
.as__b svg { width: 22px; height: 22px; flex: none; }
.as--full { grid-template-columns: 1fr 1fr; }
.aw__or { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--mute); }
.aw__or::before, .aw__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.aw form { display: flex; flex-direction: column; gap: 12px; }
.af > span:first-child { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.af__in { position: relative; display: block; }
.af__in input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; background: var(--paper); outline: 0; transition: border-color .2s, background .2s; }
.af__in input:focus { border-color: var(--ink); background: var(--card); }
.af__eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 8px; color: var(--mute); display: grid; place-items: center; }
.aw__row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.aw__row a, .aw__small a, .ac a { color: var(--brand-ink); font-weight: 600; }
.ac { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.ac input { width: 18px; height: 18px; accent-color: var(--brand); margin: 1px 0 0; flex: none; }
.aw__meter { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--mute); margin-top: -4px; }
.aw__meter i { width: 34px; height: 4px; border-radius: 2px; background: var(--line); }
.aw__meter i.on { background: var(--green); }
.aw__meter span { margin-left: 8px; }
.aw__small { font-size: 14px; color: var(--ink-2); text-align: center; }
.aw__back { align-self: flex-start; font-weight: 600; color: var(--ink-2); font-size: 14px; }
.aw--center { align-items: center; text-align: center; padding: 10px 0; }
.aw__ok { width: 64px; height: 64px; border-radius: 50%; background: #e6f7f0; color: var(--green); display: grid; place-items: center; }

.authA { width: 440px; max-width: 100%; padding: 30px 30px 26px; }
.authA__logo { height: 38px; margin: 0 auto 18px; }

.authB { width: 900px; max-width: 100%; display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; }
.authB__art { position: relative; padding: 34px; color: #fff; background: radial-gradient(120% 80% at 0% 100%, rgba(255, 176, 58, .5), transparent 60%), linear-gradient(150deg, #ff5a1f, #e23b6d); display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.authB__art > img { height: 38px; width: auto; align-self: flex-start; filter: brightness(0) invert(1); }
.authB__art h3 { font-size: 26px; }
.authB__art ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.authB__art li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); font-size: 12px; }
.authB__covers { display: flex; margin-top: auto; }
.authB__covers img { width: 120px; height: 80px; object-fit: cover; border-radius: 12px; border: 3px solid rgba(255, 255, 255, .85); margin-right: -30px; box-shadow: 0 12px 24px -8px rgba(0, 0, 0, .4); }
.authB__covers img:nth-child(1) { transform: rotate(-8deg); }
.authB__covers img:nth-child(3) { transform: rotate(8deg); }
.authB__tp { font-weight: 700; }
.authB__form { padding: 34px 30px 26px; }
@media (max-width: 760px) { .authB { grid-template-columns: 1fr; } .authB__art { display: none; } }

.auth[data-v="C"] { justify-content: flex-end; padding: 0; }
.authC { width: 440px; max-width: 100%; height: 100vh; max-height: none; border-radius: 0; padding: 22px 28px; display: flex; flex-direction: column; gap: 18px; animation: slide .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes slide { from { transform: translateX(100%); } }
.authC__top { display: flex; justify-content: space-between; align-items: center; }
.authC__top img { height: 36px; }
.authC .auth__x { position: static; }
.authC .aw { flex: 1; }
.authC__foot { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--mute); padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 560px) {
  .auth[data-v="C"] { align-items: flex-end; }
  .authC { height: auto; max-height: 92vh; border-radius: 24px 24px 0 0; animation: rise .28s; }
  .as { grid-template-columns: repeat(4, 1fr); }
  .as--full { grid-template-columns: 1fr; }
}

/* second pass */
.hdr__userIc { display: none; }
body[data-hdr="D"] .hdr__userIc { display: block; }
body[data-hdr="D"] .hdr__arrIc { display: none; }
.how__n { z-index: 3; }
.ftrM__trust img { height: 42px; mix-blend-mode: normal; }
.mega__popT { position: relative; z-index: 1; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.mega__pop { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; background: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 600; line-height: 1.25; }
.mega__pop:hover { background: #fff; }
.mega__pop img { width: 52px; height: 36px; object-fit: cover; border-radius: 7px; flex: none; }
.mega__pop span { flex: 1; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega__pop b { font-size: 13px; color: var(--brand-ink); }
