@font-face { font-family: 'Montserrat'; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/montserrat-400.woff) format('woff'); }
@font-face { font-family: 'Montserrat'; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/montserrat-500.woff) format('woff'); }
@font-face { font-family: 'Montserrat'; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/montserrat-600.woff) format('woff'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/montserrat-700.woff) format('woff'); }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-style: normal; font-display: swap; src: url(../fonts/montserrat-800.woff) format('woff'); }
@font-face { font-family: 'Montserrat'; font-weight: 900; font-style: normal; font-display: swap; src: url(../fonts/montserrat-900.woff) format('woff'); }
:root {
  color-scheme: dark;
  --or: #fdab00;
  --or2: #ff9800;
  --hdr: #242424;
  --card: #2d2d2d;
  --card2: #292929;
  --line: #3b3b3b;
  --grey: #8f8f8f;
  --grey2: #6b6b6b;
  --green: #4fae4c;
  --red: #e5484d;
  --link: #4c8ee0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
/* Полоса прокрутки всегда на месте — иначе страницы без прокрутки (Контакты) «съезжают» на её ширину */
html { background: #1b1b1b; overflow-y: scroll; }
body {
  background: #1b1b1b;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; }

.bg {
  position: fixed; inset: 0; z-index: 0;
  background: #2a2520 url(../img/bg.jpg?v=20261019r) center / cover no-repeat;
}
.sparks { position: fixed; inset: 0; z-index: 1; pointer-events: none; width: 100%; height: 100%; }
.wrap { width: 1214px; max-width: calc(100% - 32px); margin: 0 auto; }

/* ---------------- Шапка ---------------- */
.top { background: var(--hdr); height: 96px; position: relative; z-index: 6; box-shadow: 0 1px 0 rgba(255,171,0,.18); }
.top-in { display: flex; align-items: center; height: 100%; }
.logo { display: flex; align-items: center; gap: 4px; width: 231px; flex: none; }
.logo img { width: 70px; height: auto; display: block; }
.logo span { font-size: 23px; font-weight: 500; color: #9d9d9d; letter-spacing: -.2px; }
.logo span b { color: var(--or); font-weight: 700; }
.nav { display: flex; height: 100%; }
.nav a {
  width: 148px; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 600; color: #b3b3b3; position: relative; transition: color .2s;
}
.nav a:hover { color: #fff; }
.nav a.on {
  color: #fff; font-weight: 700;
  background: linear-gradient(to bottom, rgba(253,171,0,.26), rgba(253,171,0,.04) 75%, rgba(253,171,0,.02));
}
.nav a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #edaa33; }
.ip { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; color: #fff; white-space: nowrap; }
.ip span { color: var(--or); font-weight: 600; }
.ip svg { color: #b4b4b4; transition: color .2s; }
.ip:hover svg { color: var(--or); }
.burger { display: none; margin-left: 14px; width: 36px; height: 30px; flex-direction: column; justify-content: space-between; padding: 5px 4px; }
.burger i { display: block; height: 3px; background: #ddd; border-radius: 2px; }

/* ---------------- Общее ---------------- */
main { flex: 1; padding: 131px 0 86px; position: relative; z-index: 3; }
.page-contacts main, main.slim { padding-top: 29px; }
.panel { background: var(--card); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.toast {
  position: fixed; left: 50%; top: 112px; transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  background: #2b2b2b; border: 2px solid var(--or); padding: 14px 24px; font-size: 14px; font-weight: 600;
  transition: .25s; z-index: 50; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Главная: плитки ---------------- */
.tiles {
  display: grid; grid-template-columns: 605px 290px 290px; grid-template-rows: 143px 144px;
  gap: 18px 15px;
}
.tile { position: relative; overflow: hidden; display: block; background-color: #282628; background-size: cover; background-position: center; transition: background-color .25s; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.tile .obj { position: absolute; inset: 0; background-size: cover; background-position: inherit; background-repeat: no-repeat; pointer-events: none; transition: transform .35s; }
.tile .tx { position: absolute; z-index: 2; }
.tile h2 { font-size: 37px; font-weight: 900; letter-spacing: .3px; line-height: 1; text-shadow: 0 2px 2px rgba(0,0,0,.12); }
.tile p { font-size: 19px; font-weight: 500; line-height: 1.32; }
.tile .hov { position: absolute; inset: 0; background: #ffa500; opacity: 0; transition: opacity .25s; }
/* предмет поверх показывается только при наведении — без наведения видна картинка баннера целиком */
.tile .obj { opacity: 0; transition: opacity .25s, transform .35s; }
.tile:hover .obj { opacity: 1; }
.t-case .obj, .t-other .obj, .t-cur .obj { opacity: 1; }  /* у кейсов и «Прочего» фон чистый — предмет виден всегда */
.t-priv .obj { background-image: url(../img/tile_priv_obj.png?v=20261019r); opacity: 1; }
.tile:hover .hov { opacity: 1; }
.tile:hover .obj { transform: scale(1.03); }
.t-priv { background-image: url(../img/tile_priv.jpg?v=20261019r); background-position: right center; }
.t-priv .tx { left: 35px; top: 40px; }
.t-priv p { text-transform: uppercase; font-size: 19px; opacity: .92; margin-top: 3px; }
.t-priv:hover { filter: brightness(1.06); }
.t-other { grid-column: 1; grid-row: 2; background-image: url(../img/tile_other_bg.jpg?v=20261019r); background-position: right center; }
.t-other .obj { background-image: url(../img/tile_other_obj.png?v=20261019r); }
.t-other .tx { left: 35px; top: 54px; }
.t-cur { grid-column: 2; grid-row: 1 / 3; background-image: url(../img/tile_cur_bg.jpg?v=20261019r); }
.t-cur .obj { background-image: url(../img/tile_cur_obj.png?v=20261019r); }
.t-cur .tx { left: 0; right: 0; top: 199px; text-align: center; }
.t-cur p { font-size: 20px; margin-top: 2px; }
.t-case { grid-column: 3; grid-row: 1 / 3; background-image: url(../img/tile_case_bg.jpg?v=20261019r); }
.t-case .obj { background-image: url(../img/tile_case_obj.png?v=20261019r); }
.t-case .tx { left: 34px; top: 32px; right: 20px; }
.t-case p { margin-top: 6px; }

/* ---------------- Главная: покупка ---------------- */
.buy { margin-top: 18px; height: 143px; display: flex; align-items: center; padding: 0 34px; gap: 32px; }
.field {
  height: 80px; background: #292929; border: 0; outline: 0; color: #fff; padding: 0 35px;
  font-size: 13px; font-weight: 700; letter-spacing: .4px; width: 400px; flex: none;
}
.field::placeholder { color: #8c8c8c; text-transform: uppercase; }
.field:focus { box-shadow: inset 0 0 0 1px rgba(253,171,0,.5); }
.sel { position: relative; width: 400px; flex: none; }
.sel select { appearance: none; -webkit-appearance: none; width: 100%; cursor: pointer; padding-right: 50px; }
.sel select option, .sel select optgroup { background: #2a2a2a; color: #fff; }
.sel::after { content: ''; position: absolute; right: 22px; top: 37px; border: 4px solid transparent; border-top: 5px solid #9a9a9a; pointer-events: none; }
.btn-buy {
  height: 80px; width: 280px; flex: none; margin-left: auto; border: 2px solid var(--or); background: #292929;
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; transition: background .2s, color .2s;
}
.btn-buy:hover { background: var(--or); color: #1d1d1d; }

/* выпадающий список товаров с иконками (без мигания: открывается сразу) */
.dd { position: relative; width: 400px; flex: none; }
.dd .dd-btn { width: 100%; text-align: left; cursor: pointer; padding-right: 50px; color: #fff; display: flex; align-items: center; }
.dd-btn::after { content: ''; position: absolute; right: 22px; top: 37px; border: 4px solid transparent; border-top: 5px solid #9a9a9a; transition: transform .15s; }
.dd.open .dd-btn::after { transform: rotate(180deg); top: 32px; }
.dd-btn span { display: flex; align-items: center; gap: 10px; width: 100%; overflow: hidden; white-space: nowrap; }
.dd-btn img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.dd-btn b { margin-left: auto; color: var(--green); font-weight: 700; }
.dd-btn.chosen span { text-transform: none; }
.dd-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; max-height: 380px; overflow-y: auto;
  background: #262626; box-shadow: 0 12px 28px rgba(0,0,0,.55); border: 1px solid #383838;
  scrollbar-width: thin; scrollbar-color: #555 transparent;
}
.dd-g { padding: 12px 18px 6px; font-size: 11px; font-weight: 700; color: #7b7b7b; text-transform: uppercase; letter-spacing: .8px; }
.dd-opt { display: flex; align-items: center; gap: 12px; padding: 7px 18px; cursor: pointer; font-size: 13px; font-weight: 600; color: #ddd; outline: none; border-left: 3px solid transparent; }
.dd-opt img { width: 32px; height: 32px; object-fit: contain; flex: none; }
.dd-opt b { margin-left: auto; color: var(--green); font-weight: 700; font-size: 12px; white-space: nowrap; }
.dd-opt:hover, .dd-opt:focus { background: #313131; color: #fff; }
.dd-opt.on { border-left-color: var(--or); color: #fff; background: #2e2a22; }

/* ---------------- Главная: карточки ---------------- */
.cards { display: grid; grid-template-columns: 289px 301px 290px 289px; gap: 15px; margin-top: 18px; }
.card { height: 214px; padding: 20px 18px 0; text-align: center; position: relative; }
.card h3 { font-size: 15px; font-weight: 600; }
.soc { display: flex; justify-content: center; align-items: center; }
.soc a, .soc span { display: flex; align-items: center; justify-content: center; color: #4a4a4a; transition: color .2s; }
.soc a:hover { color: var(--or); }
.card .soc { margin: 26px 0 0; }
.card .soc > * { width: 64px; height: 60px; border-right: 2px solid #343434; }
.card .soc > *:last-child { border-right: 0; }
.card .soc svg { width: 44px; height: 44px; }
.card-soc p { color: #8a8a8a; font-size: 12.5px; line-height: 1.45; margin-top: 22px; font-weight: 500; }
.buyer { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 2px; white-space: nowrap; }
.buyer img { width: 24px; height: 24px; image-rendering: pixelated; }
.buyer b { font-size: 15px; font-weight: 600; max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
.buyer small { color: #8b8b8b; font-size: 12px; font-weight: 600; }
.purch-item { height: 100px; display: flex; align-items: center; justify-content: center; }
.purch-item img { max-height: 64px; max-width: 80px; }
.purch-name { font-size: 15px; font-weight: 600; min-height: 20px; }
.purch-name small { color: #8b8b8b; font-weight: 500; font-size: 14px; }
.purch-empty { color: #8a8a8a; font-size: 13px; margin-top: 52px; line-height: 1.5; font-weight: 500; }
.dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 17px; }
.dots i { width: 8px; height: 8px; background: #474747; transition: background .3s; cursor: pointer; }
.dots i.on { background: var(--or); }
.purch-slide { animation: fadeIn .5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.stat-big { color: var(--or); font-size: 19px; font-weight: 800; margin-top: 26px; }
.stat-sm { color: #8b8b8b; font-size: 11px; font-weight: 600; margin-top: 3px; }
.stat-hr { height: 2px; background: #333; margin: 18px 20px 21px; }
.stat-hr + .stat-big { margin-top: 0; }
.help-ico { display: block; margin: 16px auto 0; width: 88px; }
.btn-help {
  position: absolute; left: 17px; right: 17px; bottom: 17px; height: 52px; background: #474747; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; transition: background .2s, color .2s;
}
.btn-help:hover { background: var(--or); color: #1d1d1d; }

/* ---------------- Как играть ---------------- */
.how { position: relative; }
.step { height: 228px; position: relative; background-size: cover; background-position: center; margin-bottom: 37px; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.step:last-child { margin-bottom: 0; }
.step-t { position: absolute; top: 34px; display: flex; gap: 18px; align-items: flex-start; }
.step-n { color: var(--or); font-size: 64px; font-weight: 900; line-height: .85; letter-spacing: -1.5px; }
.step h3 { font-size: 20px; font-weight: 600; line-height: 1.25; padding-top: 2px; }
.step p { position: absolute; color: #9c9c9c; font-size: 15px; line-height: 1.37; font-weight: 500; }
.btn-or {
  position: absolute; width: 263px; height: 108px; background: #ffa800; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; transition: background .2s, transform .2s; top: 60px;
}
.btn-or:hover { background: #ffb726; transform: translateY(-2px); }
.btn-or.up { text-transform: uppercase; }
.s1 .step-t, .s3 .step-t { left: 33px; }
.s1 p, .s3 p { left: 33px; bottom: 19px; }
.s1 .btn-or, .s3 .btn-or { right: 61px; }
.s2 .step-t { right: 32px; flex-direction: row-reverse; text-align: right; }
.s2 p { right: 32px; bottom: 19px; text-align: right; }
.s2 .btn-or { left: 61px; }
.arrow { position: absolute; pointer-events: none; }
/* Наведение на шаг: оранжевая шторка с двумя стрелками выезжает справа и останавливается
   на середине, кнопка темнеет (как на старом GlentLand). У шага 02 — зеркально, слева. */
.step { overflow: hidden; }
.step .sweep { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; z-index: 2; pointer-events: none;
  transform: translateX(101%); transition: transform .55s cubic-bezier(.22,.8,.3,1); }
/* оранжевая часть; край — стрелкой, как на старом сайте (почти весь прячется под первой стрелкой) */
.step .sweep::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 164, 0, .93), rgba(255, 140, 0, .86));
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 48px 50%); }
.step .sweep svg { position: absolute; top: 0; left: 0; height: 100%; width: auto; overflow: visible;
  filter: drop-shadow(2px 0 4px rgba(0,0,0,.28)); }
.step .sweep polygon { fill: #3a2b24; }
.s2 .sweep { transform: scaleX(-1) translateX(101%); }
.step .btn-or { z-index: 3; transition: background .25s, color .25s, transform .2s; }
.step:hover .sweep { transform: translateX(min(50%, calc(100% - 530px))); }
.s2:hover .sweep { transform: scaleX(-1) translateX(min(50%, calc(100% - 530px))); }
.step:hover .btn-or { background: #4b3d33; color: #fff; transition: background .3s .25s, color .3s .25s, transform .2s; }
.step:hover .btn-or:hover { background: #3b2d26; transition-delay: 0s; }
/* на телефонах и планшетах (без мышки) — без эффекта */
@media (hover: none), (max-width: 1040px) {
  .step .sweep { display: none; }
  .step:hover .btn-or { background: #ffa800; }
}

.arrow-r { right: -125px; top: 88px; width: 110px; height: 330px; }
.arrow-l { left: -125px; top: 330px; width: 110px; height: 300px; }

/* ---------------- Вкладки (правила / донат) ---------------- */
.tabs { height: 106px; display: flex; }
.tab {
  width: 198px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border-right: 2px solid #282828; color: #8f8f8f; font-size: 17px; font-weight: 600; transition: color .2s, background .2s;
}
.tab img { width: 54px; height: 54px; object-fit: contain; opacity: .45; transition: opacity .2s, transform .2s; }
.tab:hover { color: #ccc; }
.tab:hover img { opacity: .75; }
.tab.on { color: #fff; font-weight: 700; background: rgba(255,255,255,.015); }
.tab.on img { opacity: 1; }
.acc { margin-top: 20px; }
.acc-h { height: 93px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; font-size: 17px; font-weight: 700; cursor: pointer; user-select: none; }
.acc-h::after { content: ''; border: 4px solid transparent; border-top: 5px solid #fff; margin-top: 4px; transition: transform .2s; }
.acc.open .acc-h::after { transform: rotate(180deg); margin-top: -4px; }
.acc-b { display: none; padding: 0 34px 26px; }
.acc.open .acc-b { display: block; }
.acc.open .acc-h { border-bottom: 2px solid #3a3a3a; }
.rule { padding: 26px 0 20px; border-bottom: 2px solid #3a3a3a; font-size: 15px; line-height: 1.4; font-weight: 500; }
.rule:last-child { border-bottom: 0; }
.rule-h { padding: 28px 0 6px; font-size: 16px; font-weight: 700; color: var(--or); border-bottom: 2px solid #3a3a3a; }
.rule .num { display: block; margin-bottom: 1px; }
.rule .pun { color: var(--red); font-weight: 700; margin-top: 18px; }
.rule .note { color: #6f6f6f; margin-top: 18px; }
.rule .note + .pun { margin-top: 2px; }
.soon { margin-top: 20px; height: 93px; display: flex; align-items: center; padding: 0 34px; font-size: 17px; font-weight: 700; color: #bbb; }

/* ---------------- Донат ---------------- */
.shop { margin-top: 20px; display: flex; height: 585px; }
.list { width: 360px; flex: none; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #bebebe transparent; border-right: 0; position: relative; }
.list::-webkit-scrollbar { width: 4px; }
.list::-webkit-scrollbar-thumb { background: #bebebe; }
.item {
  height: 123px; display: flex; align-items: center; padding: 0 35px 0 33px; border-bottom: 2px solid #323232; cursor: pointer;
  color: #9a9a9a; transition: background .2s, color .2s;
}
.item img { width: 56px; height: 64px; object-fit: contain; margin-right: 16px; }
.item b { font-size: 18px; font-weight: 600; flex: 1; text-transform: uppercase; }
.item .pr { color: var(--green); font-size: 15px; font-weight: 700; white-space: nowrap; }
.item:hover { color: #ddd; background: #2a2a2a; }
.item.on { color: #fff; background: var(--card2); }
.item.case b, .item.cur b { text-transform: none; }
.detail { flex: 1; padding: 36px 34px 37px; display: flex; flex-direction: column; }
.detail h2 { color: var(--or); font-size: 18px; font-weight: 700; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; margin-top: 30px; }
.feat h4 { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; margin-bottom: 15px; }
.feat h4 svg { width: 19px; height: 19px; color: var(--or); flex: none; }
.feat li { list-style: none; font-size: 13px; color: #7d7d7d; margin-bottom: 15px; font-weight: 500; }
.feat li::before { content: '- '; color: var(--or); }
.feat li b { color: #e2e2e2; font-weight: 600; }
.feat .wait { color: #6f6f6f; font-style: italic; }
.desc { color: #b9b9b9; font-size: 15px; line-height: 1.6; margin-top: 24px; max-width: 640px; font-weight: 500; }
.desc .big { display: flex; align-items: center; gap: 26px; margin-bottom: 20px; }
.desc .big img { width: 110px; }
.desc .big b { color: #fff; font-size: 22px; }
.buyrow { margin-top: auto; display: flex; gap: 17px; align-items: center; }
.buyrow .field { width: auto; flex: 1; height: 78px; }
.buyrow .field.amt { flex: 0 0 160px; }
.buyrow .btn-buy { height: 78px; margin-left: 0; }

/* ---------------- Контакты ---------------- */
.contacts { padding: 27px 26px; font-size: 18px; font-weight: 700; line-height: 1.45; min-height: 135px; }
.contacts a { color: var(--link); }
.contacts a:hover { text-decoration: underline; }

/* кнопки контактов */
.cbtns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cbtn { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #262626; border: 2px solid #3a3a3a; transition: border-color .2s, background .2s; }
.cbtns { margin: 12px 0 4px; }
.cbtn, .cbtn:hover { text-decoration: none; color: inherit; }
.cbtn:hover { border-color: var(--or); background: #2e2a22; }
.cbtn-i { width: 46px; height: 46px; flex: none; display: flex; align-items: center; justify-content: center; background: #1e1e1e; color: var(--or); }
.cbtn-i svg { width: 30px; height: 30px; }
.cbtn-t { display: flex; flex-direction: column; min-width: 0; }
.cbtn-t b { font-size: 16px; font-weight: 700; color: #fff; }
.cbtn-t small { font-size: 13px; color: #9a9a9a; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- Соглашение / политика ---------------- */
.doc { padding: 34px 36px 40px; }
.doc h1 { font-size: 24px; font-weight: 800; color: var(--or); }
.doc-date { color: #8a8a8a; font-size: 13px; margin-top: 4px; font-weight: 500; }
.doc h2 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
.doc .p { color: #c9c9c9; font-size: 15px; line-height: 1.6; font-weight: 500; max-width: 900px; margin-bottom: 8px; }
@media (max-width: 640px) { .doc { padding: 22px 18px 28px; } }

/* ---------------- Подвал ---------------- */
.foot { background: var(--hdr); height: 64px; flex: none; position: relative; z-index: 2; }
.foot-in { display: flex; align-items: center; height: 100%; justify-content: space-between; }
.soc-foot { width: 200px; justify-content: flex-start; gap: 22px; }
.soc-foot svg { width: 40px; height: 32px; }
.soc-foot > * { color: #4d4d4d; }
.copy { text-align: center; font-size: 12px; color: #4f4f4f; line-height: 1.5; font-weight: 500; }
.copy .copy-main { color: #a9a9a9; font-size: 14px; font-weight: 600; }
.copy a { text-decoration: underline; }
.copy a:hover { color: var(--or); }
.foot-r { width: 200px; }

/* ---------------- Узкие экраны ---------------- */
@media (max-width: 1280px) {
  .t-case p { font-size: 16px; }
  .t-case h2, .t-cur h2 { font-size: 32px; }
  .wrap { width: 980px; }
  .logo { width: 190px; }
  .nav a { width: 116px; font-size: 15px; }
  .tiles { grid-template-columns: 2fr 1fr 1fr; }
  .buy { gap: 18px; }
  .field, .sel, .dd { width: auto; flex: 1; }
  .sel .field { width: 100%; }
  .btn-buy { width: 220px; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .arrow { display: none; }
}
@media (max-width: 1040px) {
  .wrap { width: 100%; }
  .top { height: 72px; }
  .logo img { width: 52px; }
  .logo span { font-size: 19px; }
  .burger { display: flex; order: 3; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; height: auto; flex-direction: column; background: #242424; box-shadow: 0 8px 18px rgba(0,0,0,.4); }
  .nav.open { display: flex; }
  .nav a { width: 100%; height: 54px; justify-content: flex-start; padding: 0 20px; }
  .nav a.on::after { top: 0; bottom: 0; width: 3px; height: auto; right: auto; }
  .ip { font-size: 13px; }
  main { padding-top: 40px; }
  .tile h2 { font-size: 30px; }
  .t-priv .tx, .t-other .tx { left: 24px; }
  .t-case .tx { left: 20px; top: 34px; }
  .t-case p { font-size: 14px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .shop { flex-direction: column; height: auto; }
  .list { width: 100%; max-height: 380px; }
  .detail { min-height: 440px; }
  .step { height: auto; min-height: 228px; padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 18px; }
  .step-t, .step p, .btn-or { position: static; }
  .s2 .step-t { flex-direction: row; text-align: left; }
  .s2 p { text-align: left; }
  .btn-or { width: 100%; height: 64px; order: 3; }
  .foot { height: auto; padding: 14px 0; }
  .foot-in { flex-direction: column; gap: 10px; }
  .soc-foot, .foot-r { width: auto; }
  .foot-r { display: none; }
}
@media (max-width: 640px) {
  .ip { display: none; }
  .logo { width: auto; }
  .tiles { grid-template-columns: 1fr; grid-template-rows: 130px 130px auto auto; }
  .t-cur, .t-case { aspect-ratio: 290 / 306; }
  .t-priv, .t-other, .t-cur, .t-case { grid-column: 1; }
  .t-cur { grid-row: 3; }
  .t-case { grid-row: 4; }
  .tile h2 { font-size: 30px; }
  .tile p { font-size: 16px; }
  .t-priv .tx, .t-other .tx { left: 22px; }
  .t-priv .tx { top: 32px; }
  .t-other .tx { top: 48px; }
  .t-cur .tx { top: auto; bottom: 26%; }
  .buy { flex-direction: column; height: auto; padding: 20px; gap: 12px; align-items: stretch; }
  .field, .sel, .dd, .btn-buy { width: 100%; height: 62px; flex: none; margin: 0; }
  .dd .dd-btn { height: 62px; }
  .dd-btn::after { top: 28px; }
  .sel::after { top: 28px; }
  .cards { grid-template-columns: 1fr; }
  .tabs { height: auto; flex-wrap: wrap; }
  .tab { width: 50%; height: 96px; border-bottom: 2px solid #282828; }
  .feats { grid-template-columns: 1fr; }
  .buyrow { flex-direction: column; align-items: stretch; }
  .buyrow .field, .buyrow .field.amt, .buyrow .btn-buy { flex: none; width: 100%; height: 62px; }
  .acc-h, .soon { padding: 0 18px; height: 72px; }
  .acc-b { padding: 0 18px 20px; }
  .step-n { font-size: 48px; }
  .contacts { font-size: 16px; }
}

/* ---------------- Заявки (модератор / ютубер) ---------------- */
.tab-svg { display: block; width: 54px; height: 54px; opacity: .45; color: #e5484d; transition: opacity .2s; }
.tab-svg svg { width: 100%; height: 100%; }
.tab.on .tab-svg { opacity: 1; }
.af { margin-top: 20px; }
.af-intro { color: #d6d6d6; font-size: 16px; line-height: 1.6; font-weight: 500; margin-top: 14px; max-width: 900px; }
.af-reqs { list-style: none; margin: 0; padding: 0; max-width: 900px; }
.af-reqs li { padding: 9px 0; border-bottom: 2px solid #343434; color: #c9c9c9; font-size: 15px; line-height: 1.45; font-weight: 500; }
.af-reqs li:last-child { border-bottom: 0; }
.af-h { color: #8a8a8a; font-size: 13px; font-weight: 500; margin: 2px 0 6px; }
.af i { color: var(--or); font-style: normal; margin-left: 3px; }
.af form { max-width: 720px; margin-top: 6px; }
.af-q { margin-top: 22px; }
.af-l { display: block; font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.af .field { width: 100%; height: 56px; padding: 0 20px; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.af .field::placeholder { text-transform: none; font-weight: 500; }
.af textarea.field { height: auto; min-height: 120px; padding: 16px 20px; resize: vertical; line-height: 1.5; font-family: inherit; }
.af .af-dd { width: 100%; }
.af .dd-btn span { text-transform: none; color: #8c8c8c; font-weight: 500; }
.af .dd-btn.chosen span { color: #fff; font-weight: 600; }
.af .dd-btn::after { top: 26px; }
.af .dd.open .dd-btn::after { top: 21px; }
.af .dd-opt { padding: 12px 20px; font-size: 14px; }
.af .af-other { margin-top: 8px; }
.af-n { text-align: right; color: #6f6f6f; font-size: 12px; margin-top: 4px; font-weight: 600; }
.af-n.ok { color: var(--green); }
.af-c { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; font-size: 15px; font-weight: 600; cursor: pointer; line-height: 1.4; }
.af-c input { width: 20px; height: 20px; accent-color: var(--or); flex: none; margin: 1px 0 0; }
.af-c a { color: var(--link); }
.af-q.bad .field, .af-c.bad { box-shadow: inset 0 0 0 2px var(--red); }
.af-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.af .af-send { margin: 30px 0 0; width: 100%; max-width: 360px; height: 64px; }
.af .af-send:disabled { opacity: .6; cursor: default; }
.af-done { margin-top: 24px; padding: 26px 24px; border: 2px solid var(--green); color: #fff; font-size: 17px; font-weight: 700; line-height: 1.5; }
.c-apply { margin-top: 18px; font-size: 15px; font-weight: 600; color: #bbb; }
@media (max-width: 640px) { .af .field, .af .dd .dd-btn { height: 52px; } .af .dd-btn::after { top: 24px; } .af .dd.open .dd-btn::after { top: 19px; } .af-c { font-size: 14px; } }

/* Оформление заказа, продавец, способы оплаты (02.11.2026) */
.order-x { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.order-x + .buyrow { margin-top: 12px; }
.order-x .field.mail { height: 52px; width: 100%; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: #a9a9a9; font-weight: 500; cursor: pointer; }
.agree input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--or); flex: 0 0 auto; }
.agree a { color: var(--or); text-decoration: underline; }
.seller { margin: 10px 0 6px; padding: 12px 16px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 15px; line-height: 1.6; font-weight: 600; color: #ddd; }
.seller span { color: #8a8a8a; font-weight: 500; }
.seller a { color: var(--link, var(--or)); }
.c-docs { margin-top: 10px; font-size: 15px; font-weight: 600; }
.paym { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 6px 0 2px; }
.doc .paym { justify-content: flex-start; margin: 10px 0; }
.pm { display: inline-block; padding: 3px 9px; border-radius: 5px; background: #f2f2f2; color: #1b1b1b; font-size: 11px; font-weight: 800; letter-spacing: .3px; line-height: 1.5; }
#footSeller { color: #6f6f6f; }
#footSeller a { color: #8a8a8a; }
.foot { height: auto; min-height: 64px; padding: 12px 0; }
.buy-note { margin-top: 8px; text-align: center; font-size: 12px; color: #a9a9a9; font-weight: 500; text-shadow: 0 1px 2px #000; }
.buy-note a { color: var(--or); text-decoration: underline; }
.paym-t { color: #6f6f6f; }
/* Вкладки страницы «Документы» */
.dtabs { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 18px; overflow: hidden; }
.dtab { flex: 1 1 auto; text-align: center; padding: 16px 14px; font-size: 15px; font-weight: 700; color: #9a9a9a; border-bottom: 3px solid transparent; white-space: nowrap; }
.dtab:hover { color: #fff; }
.dtab.on { color: #fff; border-bottom-color: var(--or); background: linear-gradient(180deg, transparent, rgba(242,162,12,.12)); }
@media (max-width: 640px) { .dtab { flex: 1 1 45%; padding: 12px 8px; font-size: 13px; } }

/* Промокод на странице «Донат» */
.promo-row { position: relative; }
.promo-st { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 800; }
.promo-st.ok { color: #5fd35f; }
.promo-st.bad { color: #e05a5a; }
/* панель доната растёт под поля заказа; промокод и e-mail в одну строку */
.shop { height: auto; min-height: 585px; }
.order-x .order-row { display: flex; gap: 12px; }
.order-x .order-row > * { flex: 1; min-width: 0; }
@media (max-width: 640px) { .order-x .order-row { flex-direction: column; } .order-x .order-row > * { flex: none; } }
/* список товаров не растягивает панель: высоту задаёт правая часть (минимум 585), список прокручивается */
.list { contain: size; }
@media (max-width: 1040px) { .list { contain: none; } }
/* v20: согласие с офертой — под кнопкой «Купить» */
.buyrow + .agree { margin-top: 12px; }
/* v22: доплата при повышении привилегии */
.own-note { font-size: 13px; line-height: 1.45; color: #cfc6bd; margin-top: 10px; }
.own-note:empty { display: none; }
.own-note b { color: var(--or); }
.own-note s { color: #8d8279; }
.btn-buy.off { opacity: .55; cursor: not-allowed; }
