/* ===== Задания (#tasks) и кабинет креатора (#creator) ===== */
.tk, .cr { display: none; --ease-out: cubic-bezier(0.230, 1, 0.320, 1); }
body.is-tk .tk, body.is-cr .cr { display: block; max-width: 760px; margin: 0 auto; animation: cview-in 0.400s var(--ease-out); }
body.is-tk :is(.promo, .cases, .cview, .inv, .dep, .prof, .upg, .crash, .mines, .ctr, .pk, .cf),
body.is-cr :is(.promo, .cases, .cview, .inv, .dep, .prof, .upg, .crash, .mines, .ctr, .pk, .cf) { display: none; }

.tk__head { display: grid; gap: 4px; margin: 6px 0 14px; }
.tk__title { margin: 0; font: 900 30px/1 var(--font-title); }
.tk__sub { font: 700 14px/1.300 var(--font-title); color: #8e9bbb; }
.tk__body { display: grid; gap: 14px; }

/* карточка задания: картинка сверху справа, тёмно-синее стекло */
.tkc { position: relative; overflow: hidden; border-radius: 26px; isolation: isolate;
  background: radial-gradient(90% 55% at 100% 0%, var(--tg, rgb(47 140 255 / 0.300)), transparent 70%), linear-gradient(180deg, #151c3a, #0c1124);
  box-shadow: inset 0 0 0 1px rgb(140 200 255 / 0.180), 0 18px 40px -24px #000; }
.tkc--creator { --tg: rgb(255 80 140 / 0.300); }
.tkc--deposit { --tg: rgb(255 200 80 / 0.280); }
.tkc--ref { --tg: rgb(155 109 255 / 0.320); }
.tkc--comm { --tg: rgb(255 90 160 / 0.280); }
.tkc--cash { --tg: rgb(92 220 255 / 0.300); }
.tkc--promo { --tg: rgb(92 200 255 / 0.300); }
.tkc__art { display: block; width: min(300px, 76%); margin: 6px auto -18px; filter: drop-shadow(0 12px 20px rgb(0 0 0 / 0.500)); }
.tkc__in { position: relative; display: grid; gap: 10px; padding: 18px 16px 18px; }
.tkc h2 { margin: 0; font: 900 25px/1.100 var(--font-title); text-transform: uppercase; letter-spacing: -0.010em; }
.tkc h2 em { display: block; font-style: normal; font-size: 1.180em; background: linear-gradient(90deg, #8fe9ff, #b98cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tkc p { margin: 0; font: 600 14px/1.500 var(--font-body, inherit); color: #b6c1dc; }
.tkc__tag { justify-self: start; padding: 5px 10px; border-radius: 99px; font: 800 11px/1 var(--font-title); color: #ff9ac1; background: rgb(255 80 140 / 0.150); box-shadow: inset 0 0 0 1px rgb(255 120 170 / 0.400); }
.tkc__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tkc__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border: 0; border-radius: 15px; cursor: pointer; text-decoration: none;
  font: 900 15px/1 var(--font-title); color: #fff; background: linear-gradient(180deg, #4ab8ff, #2f6dff); box-shadow: inset 0 1px 0 #ffffff66, inset 0 -4px 0 #0003, 0 10px 22px -10px #2f8cff;
  transition: transform 0.150s, filter 0.200s; }
.tkc__btn:hover { filter: brightness(1.080); }
.tkc__btn:active { transform: scale(0.970); }
.tkc__btn:disabled { cursor: default; filter: saturate(0.300) brightness(0.650); }
.tkc__btn--ghost { color: #dfe6f7; background: rgb(255 255 255 / 0.070); box-shadow: inset 0 0 0 1.500px rgb(140 200 255 / 0.300); }
.tkc__btn--sm { height: 40px; padding: 0 16px; font-size: 13px; justify-self: end; }
.tk__note { font-size: 12px !important; color: #7d88a6 !important; }
.tk__cap { margin: 4px 0 -2px !important; font: 800 13px/1 var(--font-title) !important; color: #8e9bbb !important; text-transform: uppercase; letter-spacing: 0.050em; }
.tk__msg { margin: 0; font: 800 13px/1.350 var(--font-title) !important; }
.tk__msg:empty { display: none; }
.tk__msg.is-ok { color: #6dffb0 !important; }
.tk__msg.is-bad { color: #ff8a8a !important; }

/* прогресс до скина */
.tkbar { position: relative; flex: 1; min-width: 150px; display: grid; gap: 3px; padding: 8px 12px 14px; border-radius: 14px; background: rgb(6 9 22 / 0.700); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.080); }
.tkbar small { font: 700 11px/1 var(--font-title); color: #8592b3; }
.tkbar b { font: 900 15px/1 var(--font-title); color: #ffd84a; }
.tkbar i { position: absolute; left: 12px; right: 12px; bottom: 6px; height: 4px; border-radius: 99px; background: #ffffff14; overflow: hidden; }
.tkbar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #ffc94a, #ffe08a); }
/* призы */
.prz__row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.prz { position: relative; flex: 0 0 150px; display: grid; justify-items: center; gap: 6px; padding: 12px 10px; border-radius: 18px; scroll-snap-align: start; text-align: center;
  background: radial-gradient(circle at 50% 35%, rgb(255 200 80 / 0.150), transparent 70%), #10162c; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.100); }
.prz__p { justify-self: start; padding: 4px 8px; border-radius: 8px; font: 900 12px/1 var(--font-title); color: #ffd84a; background: rgb(0 0 0 / 0.350); }
.prz__img { width: 100%; height: 72px; object-fit: contain; }
.prz b { font: 800 12px/1.250 var(--font-title); color: #e6ecfa; }
.prz__btn { width: 100%; padding: 8px 6px; border: 0; border-radius: 11px; font: 800 12px/1.150 var(--font-title); color: #aab6d6; background: rgb(255 255 255 / 0.060); }
.prz__btn.is-go { cursor: pointer; color: #04210f; background: linear-gradient(180deg, #5cf09a, #18a95f); }
.prz__btn.is-done { color: #6dffb0; }
.prz.is-ready { box-shadow: inset 0 0 0 2px #3ddc8a, 0 0 18px -6px #13b36f; }
.prz.is-done { opacity: 0.600; }

/* ссылка-приглашение, статистика, награды */
.tklink { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 14px; background: rgb(6 9 22 / 0.800); box-shadow: inset 0 0 0 1px rgb(140 200 255 / 0.200); }
.tklink code { flex: 1; min-width: 0; overflow: hidden; font: 700 13px/1.300 ui-monospace, Consolas, monospace; color: #cfe6ff; white-space: nowrap; text-overflow: ellipsis; }
.tklink button { flex: 0 0 auto; width: 40px; height: 40px; border: 0; border-radius: 11px; cursor: pointer; font: 900 18px/1 var(--font-title); color: #fff; background: rgb(47 140 255 / 0.300); }
.tkstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tkstats span { display: grid; gap: 4px; padding: 12px 14px; border-radius: 15px; font: 700 12px/1 var(--font-title); color: #8592b3; background: rgb(255 255 255 / 0.040); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.070); }
.tkstats b { font: 900 20px/1 var(--font-title); color: #fff; }
.tkrew { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tkrew li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 15px; font: 700 13px/1.300 var(--font-title); color: #aab6d6; background: rgb(255 255 255 / 0.040); }
.tkrew b { flex: 0 0 auto; min-width: 64px; font: 900 17px/1 var(--font-title); color: #ffd84a; }
/* комментарии */
.tkrate { justify-self: start; padding: 8px 12px; border-radius: 12px; font: 800 13px/1 var(--font-title); color: #ffd6e8; background: rgb(255 80 140 / 0.140); box-shadow: inset 0 0 0 1px rgb(255 120 170 / 0.350); }
.tkrate b { color: #fff; }
.tksteps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.tksteps li { position: relative; display: grid; gap: 2px; padding: 11px 14px 11px 52px; border-radius: 15px; font: 600 12px/1.350 var(--font-body, inherit); color: #8e9bbb; background: rgb(255 255 255 / 0.040); counter-increment: st; }
.tksteps li::before { content: counter(st); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px;
  font: 900 14px/1 var(--font-title); color: #fff; background: linear-gradient(180deg, #ff6aa8, #e0346f); }
.tksteps b { font: 800 14px/1.200 var(--font-title); color: #fff; }
.tkform { display: grid; gap: 8px; }
.tkform--row { grid-template-columns: minmax(0, 1fr) auto; }
.tkform input { height: 50px; padding: 0 14px; border: 0; border-radius: 14px; outline: none; color: #fff; background: rgb(6 9 22 / 0.800); box-shadow: inset 0 0 0 1px rgb(140 200 255 / 0.220);
  font: 700 15px/1 var(--font-title); min-width: 0; -moz-appearance: textfield; }
.tkform input:focus { box-shadow: inset 0 0 0 1.500px #5cc8ff; }
.tksubs { display: grid; gap: 6px; }
.tksub { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 12px; font: 700 12px/1.200 var(--font-title); color: #aab6d6; background: rgb(255 255 255 / 0.040); }
.stt { flex: 0 0 auto; padding: 5px 9px; border-radius: 9px; font: 800 11px/1 var(--font-title); font-style: normal; }
.stt--wait, .stt--hold { color: #8fd2ff; background: rgb(47 140 255 / 0.180); }
.stt--ok { color: #6dffb0; background: rgb(19 179 111 / 0.180); }
.stt--bad { color: #ff8a9a; background: rgb(255 45 85 / 0.160); }
.crcnt .stt { display: inline-block; width: 8px; height: 8px; padding: 0; margin-right: 6px; border-radius: 50%; }
/* кэшбэк */
.tkcb { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 16px; background: rgb(6 9 22 / 0.700); box-shadow: inset 0 0 0 1px rgb(92 220 255 / 0.250); }
.tkcb div { display: grid; gap: 4px; }
.tkcb small { font: 700 11px/1 var(--font-title); color: #8592b3; }
.tkcb b { font: 900 24px/1 var(--font-title); color: #8fe9ff; }
.tkcb span { font: 700 12px/1 var(--font-title); color: #8592b3; }

/* ===== кабинет креатора ===== */
.cr__head { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; }
.cr__title { margin: 0; font: 900 24px/1 var(--font-title); }
.cr__body { display: grid; gap: 12px; }
.crh { position: relative; display: grid; gap: 6px; padding: 18px 16px; border-radius: 26px; overflow: hidden;
  background: radial-gradient(90% 70% at 100% 0%, rgb(255 80 140 / 0.250), transparent 70%), linear-gradient(180deg, #171e3e, #0c1124); box-shadow: inset 0 0 0 1px rgb(140 200 255 / 0.180); }
.crh__art { position: absolute; right: -10px; top: -6px; width: 150px; opacity: 0.950; filter: drop-shadow(0 10px 16px #0009); pointer-events: none; }
.crh small { font: 800 13px/1 var(--font-title); color: #aab6d6; }
.crh__big { font: 900 34px/1 var(--font-title); color: #ffd84a; }
.crh__sub { font: 600 12px/1.200 var(--font-body, inherit); color: #7d88a6; }
.crh__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.crh__tiles span { display: grid; gap: 6px; padding: 12px 14px; border-radius: 15px; background: rgb(6 9 22 / 0.600); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.080); }
.crh__tiles b { font: 900 20px/1 var(--font-title); color: #fff; }
.crh__btns { display: grid; grid-template-columns: 1.400fr 1fr; gap: 8px; margin-top: 6px; }
.crtabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 16px; background: rgb(6 9 22 / 0.700); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.080); }
.crtabs button { height: 40px; border: 0; border-radius: 12px; cursor: pointer; font: 800 12px/1 var(--font-title); color: #8e9bbb; background: none; white-space: nowrap; }
.crtabs button i { font-style: normal; padding: 2px 6px; border-radius: 6px; background: rgb(255 255 255 / 0.100); }
.crtabs button.is-on { color: #fff; background: linear-gradient(180deg, #4ab8ff, #2f6dff); }
.crbox { display: grid; gap: 10px; padding: 16px; border-radius: 22px; background: linear-gradient(180deg, #131931, #0c1022); box-shadow: inset 0 0 0 1px #ffffff17; }
.crbox h3 { margin: 0; font: 900 18px/1.200 var(--font-title); }
.crbox__sub { margin: -4px 0 0; font: 600 13px/1.450 var(--font-body, inherit); color: #8e9bbb; }
.crbox__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.crplat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.crplat span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; font: 800 13px/1 var(--font-title); color: #e6ecfa; background: rgb(255 255 255 / 0.050); }
.crplat b { margin-left: auto; color: #6dffb0; }
.pl { display: grid; flex: 0 0 auto; place-items: center; width: 28px; height: 28px; border-radius: 9px; font: 900 11px/1 var(--font-title); font-style: normal; color: #fff; background: var(--pl); }
.crrow { border-radius: 15px; background: rgb(255 255 255 / 0.040); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.070); }
.crrow summary { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; list-style: none; }
.crrow summary::-webkit-details-marker { display: none; }
.crrow__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font-style: normal; font-size: 18px; background: rgb(47 140 255 / 0.180); }
.crrow summary span { display: grid; gap: 3px; min-width: 0; }
.crrow summary b { font: 800 14px/1.200 var(--font-title); }
.crrow summary small { font: 700 12px/1.200 var(--font-title); color: #8592b3; }
.crrow summary em { margin-left: auto; padding: 7px 10px; border-radius: 10px; font: 800 11px/1 var(--font-title); font-style: normal; color: #cfe6ff; background: rgb(255 255 255 / 0.080); }
.crrow p { margin: 0; padding: 0 12px 12px 58px; font: 600 13px/1.500 var(--font-body, inherit); color: #aab6d6; }
.crper { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgb(6 9 22 / 0.700); }
.crper button { height: 30px; padding: 0 10px; border: 0; border-radius: 9px; cursor: pointer; font: 800 12px/1 var(--font-title); color: #8e9bbb; background: none; }
.crper button.is-on { color: #fff; background: rgb(47 140 255 / 0.350); }
.crstat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.crstat span { display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: rgb(255 255 255 / 0.040); }
.crstat small { font: 700 11px/1 var(--font-title); color: #8592b3; }
.crstat b { font: 900 17px/1 var(--font-title); }
.crchart { display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: rgb(6 9 22 / 0.600); }
.crchart small { font: 700 12px/1 var(--font-title); color: #8592b3; }
.crchart svg { width: 100%; height: 130px; }
.crcnt { display: flex; flex-wrap: wrap; gap: 8px; font: 700 12px/1 var(--font-title); color: #aab6d6; }
.crcnt span { display: flex; align-items: center; padding: 7px 10px; border-radius: 10px; background: rgb(255 255 255 / 0.050); }
.crvids { display: grid; gap: 6px; }
.crvid { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgb(255 255 255 / 0.040); }
.crvid > span { display: grid; gap: 3px; flex: 1; min-width: 0; }
.crvid a { overflow: hidden; font: 700 13px/1.200 var(--font-title); color: #cfe6ff; white-space: nowrap; text-overflow: ellipsis; }
.crvid small { font: 600 11px/1.200 var(--font-body, inherit); color: #7d88a6; }
.crempty { display: grid; justify-items: center; gap: 6px; padding: 26px 12px; text-align: center; font: 600 13px/1.450 var(--font-body, inherit); color: #8592b3; }
.crempty span { font-size: 34px; }
.crempty b { font: 900 16px/1 var(--font-title); color: #fff; }
.crban { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.crban a { display: grid; justify-items: center; gap: 6px; padding: 12px; border-radius: 15px; text-decoration: none; background: rgb(255 255 255 / 0.040); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.080); }
.crban img { width: 100%; height: 60px; object-fit: contain; }
.crban b { font: 800 13px/1 var(--font-title); color: #fff; }
.crban span { font: 800 12px/1 var(--font-title); color: #8fd2ff; }
.crfaq { gap: 6px; }
.crfaq details { border-radius: 14px; background: rgb(255 255 255 / 0.040); }
.crfaq summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; cursor: pointer; list-style: none; font: 800 14px/1.300 var(--font-title); }
.crfaq summary::-webkit-details-marker { display: none; }
.crfaq summary::after { content: "⌄"; color: #8592b3; transition: transform 0.200s; }
.crfaq details[open] summary::after { transform: rotate(180deg); }
.crfaq p { margin: 0; padding: 0 14px 14px; font: 600 13px/1.550 var(--font-body, inherit); color: #aab6d6; }
/* окно «Добавить ролик» */
.crv__in { margin-top: 0; padding-top: 22px; }
.crv__cap { margin: 4px 0 -4px; font: 800 12px/1 var(--font-title); color: #8e9bbb; text-transform: uppercase; letter-spacing: 0.050em; }
.crv__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.crv__chips button { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px 0 6px; border: 0; border-radius: 12px; cursor: pointer; font: 800 13px/1 var(--font-title); color: #dfe6f7;
  background: rgb(255 255 255 / 0.060); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.100); }
.crv__chips button .pl { width: 26px; height: 26px; }
.crv__chips button.is-on { color: #fff; background: rgb(47 140 255 / 0.300); box-shadow: inset 0 0 0 1.500px #5cc8ff; }
.crv__url input { text-align: left; font-size: 15px; letter-spacing: 0; }
/* шестая кнопка внизу */
.tabbar__btn--tasks { position: relative; }
.tabbar__dot { position: absolute; top: 12px; right: calc(50% - 16px); width: 8px; height: 8px; border-radius: 50%; background: #ff4f6a; box-shadow: 0 0 8px #ff4f6a; }
@media (min-width: 720px) {
  .tk__body { grid-template-columns: 1fr 1fr; align-items: start; }
  .tkc--creator, .tkc--deposit { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { body.is-tk .tk, body.is-cr .cr { animation: none; } }

/* шесть кнопок внизу (добавлены «Задания») */
.tabbar { grid-template-columns: repeat(5, 1fr) !important; } /* меню, кейсы, апгрейд, инвентарь, задания; профиль — по аватарке в шапке */
/* содержимое карточек не шире карточки (длинные ссылки и фразы обрезаются многоточием) */
.tkc__in { grid-template-columns: minmax(0, 1fr); }
.tkc__in > * { min-width: 0; }
.tklink code { white-space: nowrap; }
.tk__body > * { min-width: 0; }
.crtabs button { padding: 0 4px; font-size: 11.5px; }
.crtabs button i { padding: 1px 5px; font-size: 10px; }
@media (max-width: 380px) { .crtabs button { font-size: 10.5px; } }
/* ===== Задания v2: в духе Midas — баннер раздела, яркие карточки, огромные двухцветные заголовки ===== */
.tk__head { display: none; }
.tkhero { position: relative; display: grid; justify-items: center; margin: 4px 0 2px; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; isolation: isolate;
  box-shadow: inset 0 0 0 1px rgb(140 200 255 / 0.180); }
.tkhero__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.tkhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(8 12 30 / 0.350), transparent 35%, transparent 60%, rgb(8 12 30 / 0.850)); }
.tkhero__title { width: min(92%, 520px); margin-top: 2%; filter: drop-shadow(0 8px 16px rgb(0 0 0 / 0.600)); }
.tkhero__sub { position: absolute; left: 0; right: 0; bottom: 14px; font: 900 15px/1.200 var(--font-title); text-align: center; text-shadow: 0 2px 8px #000; }

.tkc { --a1: #5cc8ff; --a2: #2f6dff; --bg1: #1a3a8a; border-radius: 28px;
  background: linear-gradient(180deg, var(--bg1) 0%, color-mix(in srgb, var(--bg1) 45%, #0c1124) 42%, #0c1124 78%);
  box-shadow: inset 0 0 0 1.500px color-mix(in srgb, var(--a1) 35%, transparent), 0 20px 40px -24px #000; }
.tkc--creator { --a1: #ff6aa8; --a2: #b98cff; --bg1: #6a1d6e; }
.tkc--promo { --a1: #5cc8ff; --a2: #2f6dff; --bg1: #183f8f; }
.tkc--deposit { --a1: #ffd84a; --a2: #ffb347; --bg1: #7a5a10; }
.tkc--ref { --a1: #b98cff; --a2: #6a3df0; --bg1: #3b2385; }
.tkc--comm { --a1: #ff5c9a; --a2: #ff9ac1; --bg1: #7a1d4b; }
.tkc--cash { --a1: #6dffd8; --a2: #2fd0ff; --bg1: #0f5c6e; }
/* картинка во всю ширину карточки */
.tkc__pic { position: relative; display: grid; place-items: center; height: 210px; overflow: hidden;
  background: radial-gradient(70% 80% at 50% 45%, color-mix(in srgb, var(--a1) 45%, transparent), transparent 70%); }
.tkc__pic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, color-mix(in srgb, var(--bg1) 70%, #0c1124)); }
.tkc__pic img { width: auto; height: 118%; max-width: 104%; object-fit: contain; filter: drop-shadow(0 16px 22px rgb(0 0 0 / 0.550)); transform: translateY(4%); }
.tkc__art { display: none; }
.tkc__in { gap: 12px; padding: 4px 16px 18px; }
/* огромный двухцветный заголовок */
.tkh { display: grid; margin: 0; line-height: 0.950; text-transform: uppercase; font-style: italic; }
.tkh span { font: 900 25px/1 var(--font-title); color: #fff; letter-spacing: -0.010em; text-shadow: 0 3px 0 rgb(0 0 0 / 0.300); }
.tkh em { font: 900 40px/1.050 var(--font-title); font-style: italic; letter-spacing: -0.020em;
  background: linear-gradient(180deg, #fff 0%, var(--a1) 45%, var(--a2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgb(0 0 0 / 0.350)) drop-shadow(0 0 18px color-mix(in srgb, var(--a1) 45%, transparent)); }
.tkh small { margin-top: 4px; font: 900 22px/1 var(--font-title); color: #fff; letter-spacing: -0.010em; }
.tkc h2 em { display: block; }
/* кнопки */
.tkc__btn { height: 56px; border-radius: 17px; font-size: 17px; }
.tkc__btn--white { width: 100%; color: #0b1430; background: linear-gradient(180deg, #ffffff, #dfe9ff); box-shadow: inset 0 -4px 0 rgb(0 0 0 / 0.120), 0 12px 24px -12px rgb(255 255 255 / 0.500); }
.tkc__btn--gold { color: #3a2400; background: linear-gradient(180deg, #ffe58a, #f2b100); box-shadow: inset 0 1px 0 #ffffffb0, inset 0 -4px 0 #0002, 0 10px 22px -10px #f2b100; }
.tkc__btn--pink { width: 100%; background: linear-gradient(180deg, #ff6aa8, #e0346f); box-shadow: inset 0 1px 0 #ffffff66, inset 0 -4px 0 #0003, 0 10px 22px -10px #e0346f; }
.tkc__btn--ghost { box-shadow: inset 0 0 0 1.500px rgb(255 255 255 / 0.200); }
.tkc__row--collect { flex-wrap: nowrap; }
.tkc__row--collect .tkc__btn { flex: 0 0 auto; height: 46px; font-size: 15px; }
.tkc__row--collect .tk__note { margin: 0; }
.tkform input { height: 54px; border-radius: 16px; background: rgb(4 7 18 / 0.700); }
/* призы со стрелками */
.tkcap { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.tkcap b { font: 900 20px/1 var(--font-title); }
.tkcap span { display: flex; gap: 6px; }
.tkcap button { width: 38px; height: 38px; border: 0; border-radius: 12px; cursor: pointer; font: 900 22px/1 var(--font-title); color: #fff; background: rgb(255 255 255 / 0.080); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.120); }
.prz__row { scrollbar-width: none; }
.prz__row::-webkit-scrollbar { display: none; }
.prz { flex-basis: 160px; background: radial-gradient(circle at 50% 35%, rgb(255 216 74 / 0.180), transparent 70%), #121830; box-shadow: inset 0 0 0 1.500px rgb(255 216 74 / 0.200); }
.prz__btn { background: rgb(255 255 255 / 0.080); }
/* плитки статистики с иконками */
.tkstats span { grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 10px; }
.tkstats i { grid-row: 1 / 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--a1) 25%, transparent); }
.tkstats i svg { width: 22px; height: 22px; fill: var(--a1); }
.tkstats b { font-size: 19px; }
.tkstats small { font: 700 12px/1 var(--font-title); color: #8592b3; }
/* список наград */
.tkrew li { gap: 12px; padding: 10px 12px; border-radius: 16px; background: rgb(255 255 255 / 0.050); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.060); }
.tkrew li > i { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border-radius: 13px; font: 900 18px/1 var(--font-title); font-style: normal; color: #3a2400;
  background: linear-gradient(180deg, #ffe58a, #f2b100); box-shadow: inset 0 1px 0 #ffffffb0, 0 4px 10px -4px #f2b100; }
.tkrew li > span { display: grid; gap: 3px; }
.tkrew li b { min-width: 0; font-size: 18px; color: #ffd84a; }
.tkrew--cb li > i { width: 54px; color: #04262e; background: linear-gradient(180deg, #a8ffe8, #2fd0ff); box-shadow: 0 4px 10px -4px #2fd0ff; font-size: 16px; }
.tkrew--cb li b { color: #fff; font-size: 15px; }
.tkrate { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; font-size: 14px; }
.tkrate__pl { display: flex; gap: 4px; }
.tkrate__pl .pl { width: 30px; height: 30px; }
.tksteps li::before { background: linear-gradient(180deg, var(--a1), color-mix(in srgb, var(--a1) 60%, #6a1d4b)); }
.tkcb { background: rgb(4 7 18 / 0.600); box-shadow: inset 0 0 0 1.500px color-mix(in srgb, var(--a1) 35%, transparent); }
.tkcb b { color: var(--a1); }
.tkcb .tkc__btn { width: auto; flex: 0 0 auto; padding: 0 20px; }
@media (min-width: 720px) {
  .tk__body { grid-template-columns: 1fr 1fr; }
  .tkhero { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
  .tkhero__title { width: min(60%, 560px); }
  .tkc__pic { height: 230px; }
}
@media (max-width: 380px) { .tkh em { font-size: 34px; } .tkh span { font-size: 22px; } }
.tkhero { align-content: end; }
.tkhero__title { margin: 0 0 34px; width: min(80%, 460px); }
.tkhero__bg { object-position: center 30%; }
/* заголовок карточки: перебиваем старые стили (размер и цвет второй строки — цвет своей карточки) */
.tkc .tkh { font: inherit; }
.tkc .tkh span { font: italic 900 25px/1 var(--font-title); }
.tkc .tkh em { display: block; font: italic 900 42px/1.050 var(--font-title); letter-spacing: -0.020em;
  background: linear-gradient(180deg, #fff 0%, var(--a1) 42%, var(--a2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tkc .tkh small { font: italic 900 22px/1 var(--font-title); }
@media (max-width: 380px) { .tkc .tkh em { font-size: 35px; } .tkc .tkh span { font-size: 22px; } }
@media (min-width: 720px) {
  .tkc--creator { grid-column: auto; }
  .tkc--deposit, .tkc--cash { grid-column: 1 / -1; }
  .tk__body { align-items: stretch; }
}
/* ===== Задания v3: без новогоднего стиля, как на фото ===== */
/* баннер: огромная белая надпись сверху поверх персонажей */
.tkhero { aspect-ratio: 4 / 3.3; align-content: start; margin: 0 -16px; border-radius: 0; box-shadow: none; }
.tkhero::after { background: linear-gradient(180deg, rgb(10 12 22 / 0.550), transparent 30%, transparent 70%, #0b0e1c 100%); }
.tkhero__bg { object-position: center 70%; }
.tkhero__title { width: min(96%, 560px); margin: 3% 0 0; filter: drop-shadow(0 10px 18px rgb(0 0 0 / 0.700)); }
.tkhero__sub { display: none; }
@media (min-width: 720px) { .tkhero { margin: 0; border-radius: 26px; aspect-ratio: 21 / 9; } }
/* заголовки карточек — сплошные яркие цвета */
.tkc .tkh em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--a1); filter: drop-shadow(0 3px 0 rgb(0 0 0 / 0.300)); }
.tkc .tkh small b { color: #4dff7a; }
/* карточка креатора: героиня сидит на иконке и выходит за верх карточки, текст по центру */
.tkc--creator { --a1: #ffd400; --a2: #ffd400; overflow: visible; margin-top: 90px;
  background: linear-gradient(140deg, #1d7480 0%, #23305a 45%, #2b1a4a 65%, #c0264f 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.120), 0 20px 40px -24px #000; }
.tkc--creator .tkc__pic { height: 170px; overflow: visible; background: none; }
.tkc--creator .tkc__pic::after { display: none; }
.tkc--creator .tkc__pic img { position: absolute; left: 50%; bottom: -6px; height: 270px; max-width: none; transform: translateX(-50%); }
.tkc--creator .tkc__in { justify-items: center; text-align: center; }
.tkc--creator .tkh { justify-items: center; }
.tkc--creator .tkh span { font-size: 30px; font-style: normal; }
.tkc--creator .tkh em { font-size: 46px; font-style: normal; }
.tkc--creator .tkh small { font-size: 30px; font-style: normal; }
.tkc--creator p { max-width: 300px; color: #e6ecfa; }
/* остальные карточки — без «снежного» свечения, ровный яркий градиент */
.tkc--deposit { --a1: #ffd400; --bg1: #6b5208; }
.tkc--cash { --a1: #39e8b0; --bg1: #0f5a52; }
.tkc--promo { --a1: #3aa8ff; --bg1: #183f8f; }
.tkc--creator { margin-top: 30px; }
/* промокод — своя раскладка: фиолетово-синий градиент, билет справа сверху, поле с кнопкой в одну строку */
.tkp { display: grid; gap: 12px; padding: 20px 16px 18px; align-content: start;
  background: radial-gradient(70% 60% at 100% 0%, rgb(255 196 60 / 0.280), transparent 60%), radial-gradient(80% 70% at 0% 100%, rgb(47 140 255 / 0.350), transparent 65%), linear-gradient(150deg, #3b1f8f 0%, #23246e 50%, #102552 100%);
  box-shadow: inset 0 0 0 1.500px rgb(170 140 255 / 0.350), 0 20px 40px -24px #000; }
.tkp__art { position: absolute; top: -16px; right: -14px; z-index: 0; width: 140px; transform: rotate(10deg); filter: drop-shadow(0 14px 22px rgb(0 0 0 / 0.550)); pointer-events: none; animation: tkp-float 4s ease-in-out infinite; }
@keyframes tkp-float { 50% { transform: rotate(6deg) translateY(-8px); } }
.tkp__in { position: relative; z-index: 1; display: grid; gap: 8px; justify-items: start; max-width: 62%; }
.tkp__tag { padding: 5px 10px; border-radius: 999px; font: 900 12px/1 var(--font-title); letter-spacing: 0.060em; text-transform: uppercase; color: #3a2400; background: linear-gradient(180deg, #ffe58a, #f2b100); box-shadow: 0 4px 12px -4px #f2b100; }
.tkp .tkh span { font-size: 28px; font-style: italic; }
.tkp .tkh em { font-size: 33px; font-style: italic; color: #ffd84a; }
.tkp p { margin: 0; color: #d6dcf5; font-size: 14px; line-height: 1.400; }
.tkp__form { position: relative; z-index: 1; display: flex; gap: 6px; padding: 6px; border-radius: 18px; background: rgb(6 8 26 / 0.650); box-shadow: inset 0 0 0 1.500px rgb(255 216 74 / 0.350); }
.tkp__form input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 12px; border: 0; outline: none; color: #fff; background: none; font: 800 16px/1 var(--font-title); letter-spacing: 0.080em; text-transform: uppercase; }
.tkp__form input::placeholder { color: #8e95c0; letter-spacing: 0; text-transform: none; font-weight: 700; }
.tkp__form button { flex: 0 0 auto; height: 48px; padding: 0 20px; border: 0; border-radius: 13px; cursor: pointer; font: 900 16px/1 var(--font-title); color: #3a2400; background: linear-gradient(180deg, #ffe58a, #f2b100); box-shadow: inset 0 1px 0 #ffffffb0, inset 0 -4px 0 #0002, 0 8px 18px -8px #f2b100; }
.tkp__form button:active { transform: translateY(1px); }
.tkp__form:focus-within { box-shadow: inset 0 0 0 2px #ffd84a; }
.tkp .tk__msg:empty { display: none; }
.tkp__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tkp__chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 999px; font: 700 12px/1 var(--font-title); color: #e6e9ff; background: rgb(255 255 255 / 0.080); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.100); }
.tkp__chips i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 12px; color: #fff; background: rgb(170 140 255 / 0.450); }
@media (max-width: 360px) { .tkp .tkh em { font-size: 29px; } .tkp__art { width: 124px; } }
@media (min-width: 720px) {
  .tkp { align-content: center; }
  .tkp__art { position: relative; top: 0; right: 0; justify-self: center; width: 210px; margin: -6px 0 2px; }
  .tkp__in { max-width: none; }
  .tkp .tkh em { font-size: 40px; }
}
.tkhero { margin-bottom: 0; }
@media (min-width: 720px) { .tkc--creator { margin-top: 110px; } }
@media (min-width: 720px) {
  .tkhero { aspect-ratio: 16 / 8; }
  .tkhero__bg { object-position: center 38%; }
  .tkhero__title { width: min(56%, 520px); margin-top: 1.500%; }
}
/* пополнение — своя раскладка: золотые лучи сверху, картинка телефона со скином, прогресс в каждом призе */
.tkd { display: grid; padding: 0; background: radial-gradient(90% 45% at 85% 0%, rgb(255 200 40 / 0.650), transparent 70%), linear-gradient(180deg, #3a2a08 0%, #1a1608 32%, #111427 60%);
  box-shadow: inset 0 0 0 1.500px rgb(255 212 0 / 0.300), 0 20px 40px -24px #000; }
.tkd__pic { position: relative; height: 210px; overflow: hidden; }
.tkd__pic::before { content: ""; position: absolute; left: 50%; top: 55%; width: 520px; height: 520px; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgb(255 230 120 / 0.160) 0 8deg, transparent 8deg 22deg); -webkit-mask: radial-gradient(closest-side, #000 20%, transparent); mask: radial-gradient(closest-side, #000 20%, transparent); animation: tkd-spin 40s linear infinite; }
@keyframes tkd-spin { to { rotate: 360deg; } }
.tkd__pic img { position: absolute; left: 50%; bottom: -4px; width: min(330px, 92%); translate: -50% 0; filter: drop-shadow(0 16px 22px rgb(0 0 0 / 0.550)); }
.tkd__in { display: grid; gap: 12px; padding: 4px 16px 18px; }
.tkd .tkh span { font-style: normal; font-size: 28px; }
.tkd .tkh em { font-style: normal; font-size: 38px; color: #ffd400; white-space: nowrap; }
.tkd p { margin: 0; color: #d8d3c0; }
.tkd__go { display: flex; align-items: center; gap: 14px; }
.tkd__go .tkc__btn { flex: 0 0 auto; padding: 0 26px; }
.tkd__to { position: relative; flex: 1; display: grid; gap: 4px; min-width: 0; }
.tkd__to small { font: 700 13px/1 var(--font-title); color: #a9aec4; }
.tkd__to b { font: 900 20px/1 var(--font-title); color: #fff; white-space: nowrap; }
.tkd__to i { height: 5px; border-radius: 99px; background: rgb(255 255 255 / 0.100); overflow: hidden; }
.tkd__to i::after { content: ""; display: block; width: var(--p); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffb800, #ffe57a); }
.tkd .prz { flex-basis: 158px; justify-items: start; text-align: left; gap: 8px; padding: 12px; background: linear-gradient(180deg, #23283f, #171b2e); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.080); }
.tkd .prz__p { padding: 5px 9px; border-radius: 99px; color: #ffd400; background: rgb(0 0 0 / 0.450); }
.tkd .prz__img { justify-self: center; height: 80px; }
.tkd .prz b { display: block; width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; color: #fff; }
.prz__bar { display: block; width: 100%; height: 6px; border-radius: 99px; background: rgb(255 255 255 / 0.080); overflow: hidden; }
.prz__bar::after { content: ""; display: block; width: var(--p); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffb800, #ffe57a); }
.tkd .prz__btn { padding: 0; text-align: left; background: none; color: #9aa1bb; }
.tkd .prz__btn.is-go { padding: 9px; text-align: center; color: #04210f; background: linear-gradient(180deg, #5cf09a, #18a95f); }
.tkd .prz.is-ready .prz__bar::after { background: linear-gradient(90deg, #18a95f, #5cf09a); }
@media (min-width: 720px) { .tkd__pic { height: 240px; } .tkd__pic img { width: 360px; } }
@media (max-width: 360px) { .tkd .tkh em { font-size: 33px; } .tkd__go .tkc__btn { padding: 0 18px; } }
/* пополнение v2: ярко-жёлтый угол, картинка крупно во всю ширину, заголовок крупнее, призы в цветных рамках */
.tkd { background: radial-gradient(75% 48% at 100% 0%, #ffd400 0%, rgb(255 190 0 / 0.550) 35%, transparent 72%), linear-gradient(180deg, #2a2410 0%, #15161f 40%, #12141f 100%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.070), 0 20px 40px -24px #000; }
.tkd__pic { height: 230px; }
.tkd__pic::before { display: none; }
.tkd__pic img { width: min(370px, 104%); bottom: 0; }
.tkd__in { gap: 14px; padding: 2px 18px 20px; }
.tkd .tkh span { font-size: 31px; letter-spacing: -0.010em; }
.tkd .tkh em { font-size: 44px; letter-spacing: -0.020em; }
.tkd p { color: #c7cbe0; font-size: 15px; line-height: 1.450; }
.tkd__go .tkc__btn { height: 58px; padding: 0 30px; border-radius: 18px; color: #1a1400; background: #ffd400; box-shadow: inset 0 -4px 0 rgb(0 0 0 / 0.150), 0 10px 24px -10px #ffd400; }
.tkd__to i { display: none; }
.tkd__to b { font-size: 22px; }
.tkd .tkcap b { font-size: 21px; }
.tkd .tkcap button { width: 44px; height: 44px; border-radius: 13px; background: #1c2133; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.100); }
.tkd .prz { flex-basis: 170px; padding: 14px; border-radius: 20px; background: radial-gradient(80% 60% at 50% 40%, rgb(150 90 255 / 0.180), transparent 70%), #1b1f33;
  box-shadow: inset 0 0 0 1.500px rgb(170 120 255 / 0.300); }
.tkd .prz:nth-child(3n+2) { background: radial-gradient(80% 60% at 50% 40%, rgb(255 90 120 / 0.170), transparent 70%), #1b1f33; box-shadow: inset 0 0 0 1.500px rgb(255 100 130 / 0.300); }
.tkd .prz:nth-child(3n) { background: radial-gradient(80% 60% at 50% 40%, rgb(60 170 255 / 0.180), transparent 70%), #1b1f33; box-shadow: inset 0 0 0 1.500px rgb(80 170 255 / 0.300); }
.tkd .prz__p { font-size: 13px; }
.tkd .prz__p::before { content: "₽"; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 5px; border-radius: 50%; font-size: 10px; color: #1a1400; background: #ffd400; }
.tkd .prz__img { height: 92px; }
.tkd .prz b { font-size: 14px; }
@media (min-width: 720px) { .tkd__pic { height: 260px; } .tkd__pic img { width: 420px; } }
@media (max-width: 360px) { .tkd .tkh em { font-size: 37px; } .tkd .tkh span { font-size: 26px; } }
/* пополнение v3: изумрудная гамма (стиль как у Midas, но свой цвет) */
.tkd { --g1: #19e38a; --g2: #0fb36b; --gl: #7dffc0;
  background: radial-gradient(80% 50% at 100% 0%, rgb(25 227 138 / 0.850) 0%, rgb(15 179 107 / 0.450) 38%, transparent 72%),
    radial-gradient(60% 40% at 0% 30%, rgb(255 212 80 / 0.120), transparent 70%), linear-gradient(180deg, #0d2a22 0%, #0f1a1d 42%, #111624 100%);
  box-shadow: inset 0 0 0 1.500px rgb(25 227 138 / 0.280), 0 20px 40px -24px #000; }
.tkd__pic img { filter: drop-shadow(0 18px 24px rgb(0 0 0 / 0.600)) drop-shadow(0 0 30px rgb(25 227 138 / 0.250)); }
.tkd .tkh em { color: var(--g1); text-shadow: 0 0 24px rgb(25 227 138 / 0.450); }
.tkd p { color: #c4d6d0; }
.tkd__go .tkc__btn { color: #03261a; background: linear-gradient(180deg, var(--gl), var(--g1) 55%, var(--g2)); box-shadow: inset 0 1px 0 #ffffffa0, inset 0 -4px 0 rgb(0 0 0 / 0.180), 0 12px 26px -10px var(--g1); }
.tkd__to b { color: #fff; }
.tkd__to i { display: block; height: 6px; }
.tkd__to i::after { background: linear-gradient(90deg, var(--g2), var(--gl)); }
.tkd .tkcap button { color: var(--gl); background: rgb(25 227 138 / 0.100); box-shadow: inset 0 0 0 1px rgb(25 227 138 / 0.300); }
.tkd .prz, .tkd .prz:nth-child(3n+2), .tkd .prz:nth-child(3n) { background: radial-gradient(80% 55% at 50% 38%, rgb(25 227 138 / 0.160), transparent 70%), linear-gradient(180deg, #16242a, #121a24);
  box-shadow: inset 0 0 0 1.500px rgb(25 227 138 / 0.220); }
.tkd .prz__p { color: #fff; background: rgb(0 0 0 / 0.450); }
.tkd .prz__p::before { color: #03261a; background: var(--g1); }
.tkd .prz__bar::after { background: linear-gradient(90deg, var(--g2), var(--gl)); }
.tkd .prz.is-ready { box-shadow: inset 0 0 0 2px var(--g1), 0 0 22px -6px var(--g1); }
/* пополнение v4: качество и детали */
.tkd__pic { height: 236px; }
.tkd__pic::after { content: ""; display: block; position: absolute; left: 12%; right: 12%; bottom: -26px; height: 60px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(25 227 138 / 0.450), transparent); filter: blur(4px); z-index: 0; }
.tkd__pic img { z-index: 1; width: min(360px, 100%); image-rendering: auto; animation: tkd-bob 5s ease-in-out infinite; }
@keyframes tkd-bob { 50% { translate: -50% -6px; } }
.tkd__spark { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tkd__spark i { position: absolute; left: calc(8% + var(--i) * 13%); top: calc(18% + (var(--i) * 37 % 60) * 1%); width: 6px; height: 6px; border-radius: 50%;
  background: #eafff4; box-shadow: 0 0 10px 3px rgb(25 227 138 / 0.800); opacity: 0; animation: tkd-tw 2.600s ease-in-out infinite; animation-delay: calc(var(--i) * -0.370s); }
.tkd__spark i:nth-child(odd) { width: 4px; height: 4px; }
@keyframes tkd-tw { 0%, 100% { opacity: 0; transform: scale(0.400); } 50% { opacity: 1; transform: scale(1); } }
.tkd__tag { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; font: 800 11px/1 var(--font-title); letter-spacing: 0.080em; text-transform: uppercase;
  color: #b9ffd9; background: rgb(25 227 138 / 0.120); box-shadow: inset 0 0 0 1px rgb(25 227 138 / 0.350); }
.tkd__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #19e38a; box-shadow: 0 0 8px #19e38a; }
.tkd .tkh { margin-top: -2px; }
/* плашка следующего скина */
.tkd__goal { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: linear-gradient(180deg, rgb(255 255 255 / 0.060), rgb(255 255 255 / 0.025));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.080); backdrop-filter: blur(6px); }
.tkd__thumb { flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 15px; color: #19e38a; font: 900 24px/1 var(--font-title);
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--r, #19e38a) 45%, transparent), transparent 70%), #10161f; box-shadow: inset 0 0 0 1.500px color-mix(in srgb, var(--r, #19e38a) 55%, transparent); }
.tkd__timg { width: 56px; height: 40px; object-fit: contain; filter: drop-shadow(0 4px 6px rgb(0 0 0 / 0.500)); }
.tkd__goal .tkd__to { gap: 5px; }
.tkd__goal .tkd__to small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 700 12px/1.200 var(--font-title); color: #9fb3ad; }
.tkd__goal .tkd__to small b { color: #19e38a; }
.tkd__sum { font: 900 21px/1 var(--font-title); color: #fff; white-space: nowrap; }
.tkd__sum em { font-style: normal; color: #7e8fa0; font-size: 16px; }
.tkd__goal .tkd__to i { display: block; height: 7px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.050); }
.tkd__goal .tkd__to i::after { box-shadow: 0 0 10px rgb(25 227 138 / 0.700); min-width: 7px; }
.tkd__btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 58px; border-radius: 18px; font: 900 18px/1 var(--font-title); color: #03261a;
  background: linear-gradient(180deg, #8dffc8, #19e38a 55%, #0fb36b); box-shadow: inset 0 1px 0 #ffffffb0, inset 0 -4px 0 rgb(0 0 0 / 0.180), 0 14px 28px -12px #19e38a; position: relative; overflow: hidden; }
.tkd__btn svg { width: 22px; height: 22px; padding: 4px; border-radius: 8px; background: rgb(3 38 26 / 0.150); }
.tkd__btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.550), transparent); transform: skewX(-20deg); animation: tkd-shine 3.500s ease-in-out infinite; }
@keyframes tkd-shine { 0%, 60% { left: -40%; } 100% { left: 130%; } }
.tkd__btn:active { transform: translateY(1px); }
/* призы: цвет редкости, сцена под скином, замок */
.tkd .prz { position: relative; flex-basis: 168px; gap: 9px; padding: 12px; border-radius: 20px;
  background: linear-gradient(180deg, #17202a, #121822) !important; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.070) !important; }
.tkd .prz::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--r, #19e38a); box-shadow: 0 0 12px var(--r, #19e38a); }
.prz__stage { display: grid; place-items: center; width: 100%; height: 96px; border-radius: 14px;
  background: radial-gradient(60% 70% at 50% 60%, color-mix(in srgb, var(--r, #19e38a) 40%, transparent), transparent 75%), rgb(255 255 255 / 0.030); }
.tkd .prz__img { width: 92%; height: 84px; filter: drop-shadow(0 8px 10px rgb(0 0 0 / 0.550)); transition: transform 0.250s; }
.tkd .prz:hover .prz__img { transform: scale(1.060) rotate(-3deg); }
.tkd .prz b { display: grid; gap: 3px; font-size: 14px; }
.tkd .prz b small { overflow: hidden; text-overflow: ellipsis; font: 700 11px/1 var(--font-title); color: color-mix(in srgb, var(--r, #19e38a) 70%, #fff); }
.prz__lock { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: rgb(0 0 0 / 0.450); }
.prz__lock svg { width: 14px; height: 14px; fill: #9fb3ad; }
.tkd .prz.is-ready { box-shadow: inset 0 0 0 2px #19e38a, 0 0 22px -6px #19e38a !important; }
@media (min-width: 720px) { .tkd__pic { height: 270px; } .tkd__pic img { width: 430px; } .tkd__btn { width: auto; justify-self: start; padding: 0 34px; } }
@media (prefers-reduced-motion: reduce) { .tkd__pic img, .tkd__spark i, .tkd__btn::after { animation: none; } }
.tkd__goal .tkd__to small b { font: inherit; font-weight: 900; color: #19e38a; }
/* друзья — своя раскладка: фиолетово-малиновая гамма */
.tkf { --f1: #b46cff; --f2: #ff4fb0; --fl: #e7c8ff; display: grid; padding: 0;
  background: radial-gradient(85% 45% at 100% 0%, rgb(255 79 176 / 0.550), transparent 70%), radial-gradient(80% 45% at 0% 8%, rgb(140 80 255 / 0.700), transparent 70%), linear-gradient(180deg, #2a1650 0%, #1a1433 38%, #12131f 100%);
  box-shadow: inset 0 0 0 1.500px rgb(190 120 255 / 0.300), 0 20px 40px -24px #000; }
.tkf__pic { position: relative; height: 230px; overflow: hidden; }
.tkf__pic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, #1d1538); }
.tkf__pic img { position: absolute; left: 50%; bottom: 0; width: min(390px, 108%); translate: -50% 0; filter: drop-shadow(0 16px 22px rgb(0 0 0 / 0.550)); }
.tkf__in { display: grid; gap: 12px; padding: 0 16px 18px; margin-top: -8px; position: relative; z-index: 1; }
.tkf .tkh span { font-style: normal; font-size: 29px; }
.tkf .tkh em { font-style: normal; font-size: 42px; color: transparent; background: linear-gradient(90deg, #d7a8ff, var(--f2)); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 3px 0 rgb(0 0 0 / 0.300)); white-space: nowrap; }
.tkf p { margin: 0; color: #cfc6e6; }
.tkf__link { display: grid; gap: 8px; padding: 10px; border-radius: 20px; background: rgb(10 8 24 / 0.600); box-shadow: inset 0 0 0 1px rgb(190 120 255 / 0.250); }
.tkf__link > small { padding: 2px 4px 0; font: 800 11px/1 var(--font-title); letter-spacing: 0.080em; text-transform: uppercase; color: #a993cf; }
.tkf .tklink { padding: 6px 6px 6px 12px; border-radius: 14px; background: rgb(255 255 255 / 0.050); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.080); }
.tkf .tklink code { color: #fff; font-size: 14px; }
.tkf .tklink button { display: grid; place-items: center; color: var(--fl); background: rgb(180 108 255 / 0.250); }
.tkf .tklink button svg { width: 18px; height: 18px; }
.tkf__share { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border: 0; border-radius: 15px; cursor: pointer; font: 900 16px/1 var(--font-title); color: #fff;
  background: linear-gradient(90deg, #8f4dff, var(--f2)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.350), inset 0 -4px 0 rgb(0 0 0 / 0.200), 0 12px 26px -12px var(--f2); }
.tkf__share svg { width: 18px; height: 18px; }
.tkf__share:active, .tkf__bank button:active { transform: translateY(1px); }
.tkf__bank { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 18px;
  background: linear-gradient(100deg, rgb(255 200 60 / 0.140), rgb(255 255 255 / 0.030) 60%); box-shadow: inset 0 0 0 1px rgb(255 210 80 / 0.250); }
.tkf__bank > div { flex: 1; display: grid; gap: 3px; min-width: 0; }
.tkf__bank small { font: 800 11px/1 var(--font-title); letter-spacing: 0.080em; text-transform: uppercase; color: #d9c58a; }
.tkf__bank b { font: 900 24px/1 var(--font-title); color: #ffd84a; }
.tkf__bank span { font: 600 12px/1.200 var(--font-title); color: #a99fbf; }
.tkf__bank button { flex: 0 0 auto; height: 46px; padding: 0 20px; border: 0; border-radius: 13px; cursor: pointer; font: 900 15px/1 var(--font-title); color: #3a2400; background: linear-gradient(180deg, #ffe58a, #f2b100); box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.150); }
.tkf__bank button:disabled { cursor: default; color: #8d86a3; background: rgb(255 255 255 / 0.080); box-shadow: none; }
.tkf .tkstats span { padding: 12px; border-radius: 16px; background: rgb(255 255 255 / 0.045); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.070); }
.tkf .tkstats i { width: 38px; height: 38px; background: linear-gradient(135deg, rgb(180 108 255 / 0.450), rgb(255 79 176 / 0.350)); }
.tkf .tkstats i svg { fill: #fff; }
.tkf .tkstats small { color: #a99fbf; }
.tkf__rew { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tkf__rew li { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 18px; background: linear-gradient(90deg, rgb(180 108 255 / 0.140), rgb(255 255 255 / 0.030)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.070); }
.tkf__rew img { flex: 0 0 auto; width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 6px 8px rgb(0 0 0 / 0.450)); }
.tkf__rew span { display: grid; gap: 3px; font: 600 13px/1.250 var(--font-title); color: #cfc6e6; }
.tkf__rew b { font: 900 19px/1 var(--font-title); color: #ffd84a; }
.tkf .tk__note { color: #8d86a3; }
@media (min-width: 720px) { .tkf__pic { height: 260px; } .tkf__pic img { width: 440px; } }
@media (max-width: 360px) { .tkf .tkh em { font-size: 35px; } .tkf .tkh span { font-size: 25px; } }
/* друзья: длинная ссылка не должна растягивать карточку */
.tkf, .tkf__in, .tkf__link { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.tkf__in > *, .tkf__link > * { min-width: 0; }
.tkf .tklink { min-width: 0; overflow: hidden; }
.tkf .tklink code { display: block; flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; }
.tkf .tkstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* призы: кнопка «Пополнить» внизу каждой закрытой карточки, как на фото */
.tkd .prz { align-content: start; padding-bottom: 12px; }
.tkd .prz::after { display: none; }
.prz__go { display: grid; place-items: center; width: 100%; height: 44px; margin-top: 2px; border-radius: 13px; text-decoration: none; font: 900 15px/1 var(--font-title); color: #03261a;
  background: linear-gradient(180deg, #8dffc8, #19e38a 55%, #0fb36b); box-shadow: inset 0 1px 0 #ffffffa0, inset 0 -3px 0 rgb(0 0 0 / 0.180), 0 8px 18px -10px #19e38a; }
.prz__go:active { transform: translateY(1px); }
.tkd .prz__btn.is-go { height: 44px; display: grid; place-items: center; padding: 0; border-radius: 13px; font-size: 15px; }
.tkf__wager { display: grid; gap: 4px; padding: 12px 14px; border-radius: 16px; background: rgb(255 79 176 / 0.100); box-shadow: inset 0 0 0 1px rgb(255 79 176 / 0.350); }
.tkf__wager b { font: 900 13px/1 var(--font-title); letter-spacing: 0.060em; text-transform: uppercase; color: #ff8ccc; }
.tkf__wager span { font: 600 13px/1.300 var(--font-title); color: #e6dcf5; }
.tkf__wager em { font-style: normal; font-weight: 900; color: #fff; }
/* комменты — своя раскладка: оранжево-коралловая гамма */
.tkm { --o1: #ff8a1f; --o2: #ff4d4d; --ol: #ffc58a; display: grid; grid-template-columns: minmax(0, 1fr); padding: 0;
  background: radial-gradient(85% 48% at 100% 0%, rgb(255 138 31 / 0.650), transparent 70%), radial-gradient(70% 40% at 0% 10%, rgb(255 77 77 / 0.450), transparent 70%), linear-gradient(180deg, #3a1a10 0%, #1f1418 38%, #13131c 100%);
  box-shadow: inset 0 0 0 1.500px rgb(255 138 31 / 0.300), 0 20px 40px -24px #000; }
.tkm__pic { position: relative; height: 240px; overflow: hidden; }
.tkm__pic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, #24161a); }
.tkm__pic img { position: absolute; right: -6%; bottom: 0; width: min(380px, 108%); filter: drop-shadow(0 16px 22px rgb(0 0 0 / 0.550)); }
.tkm__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0 16px 18px; margin-top: -8px; position: relative; z-index: 1; }
.tkm .tkh span { font-style: normal; font-size: 29px; }
.tkm .tkh em { font-style: normal; font-size: 40px; color: transparent; background: linear-gradient(90deg, #ffb35c, var(--o1) 45%, var(--o2)); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 3px 0 rgb(0 0 0 / 0.300)); white-space: nowrap; }
.tkm p { margin: 0; color: #e6d3c8; }
.tkm__rate { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tkm__pl { display: flex; gap: 8px; }
.tkm__pl i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 6px 14px -6px rgb(0 0 0 / 0.600), inset 0 1px 0 rgb(255 255 255 / 0.200); }
.tkm__pl svg { width: 24px; height: 24px; fill: #fff; }
.tkm__tt { background: #111; } .tkm__tt svg { filter: drop-shadow(-1.500px -1px 0 #25f4ee) drop-shadow(1.500px 1px 0 #fe2c55); }
.tkm__yt { background: #ff0033; }
.tkm__lk { background: linear-gradient(135deg, #ff9a3c, #ff3d7f 55%, #a64dff); }
.tkm__rate > span:last-child { font: 800 16px/1.200 var(--font-title); color: #fff; }
.tkm__rate b { color: #ffd84a; }
.tkm__go { display: flex; align-items: center; gap: 14px; }
.tkm__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 22px; border: 0; border-radius: 16px; cursor: pointer; font: 900 16px/1 var(--font-title); color: #fff; white-space: nowrap;
  background: linear-gradient(180deg, #ffa34d, var(--o1) 50%, #f05a1a); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.450), inset 0 -4px 0 rgb(0 0 0 / 0.180), 0 12px 26px -12px var(--o1); }
.tkm__btn svg { width: 20px; height: 20px; }
.tkm__btn:active { transform: translateY(1px); }
.tkm__go > span { display: grid; gap: 3px; font: 600 13px/1.200 var(--font-title); color: #c9b5aa; }
.tkm__go > span b { font: 900 14px/1.200 var(--font-title); color: #fff; }
.tkm__form { padding: 12px; border-radius: 18px; background: rgb(0 0 0 / 0.300); box-shadow: inset 0 0 0 1px rgb(255 138 31 / 0.300); }
.tkm__form[hidden] { display: none; }
.tkm__form input { background: rgb(255 255 255 / 0.060); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.100); }
.tkm__form input:focus { box-shadow: inset 0 0 0 1.500px var(--o1); }
.tkm__form .tkm__btn { width: 100%; }
.tkm__steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.tkm__steps li { position: relative; display: grid; gap: 4px; min-height: 58px; padding: 12px 14px 12px 66px; border-radius: 18px; counter-increment: st; font: 600 13px/1.300 var(--font-title); color: #c9b5aa;
  background: rgb(255 255 255 / 0.045); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.070); }
.tkm__steps li::before { content: counter(st); position: absolute; left: 12px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font: 900 18px/1 var(--font-title); color: #fff;
  background: linear-gradient(180deg, #ffa34d, var(--o2)); box-shadow: 0 6px 14px -6px var(--o2); }
.tkm__steps b { font: 900 16px/1.150 var(--font-title); color: #fff; }
.tkm__phrase { padding: 8px 8px 8px 14px; border-radius: 16px; background: rgb(255 255 255 / 0.050); box-shadow: inset 0 0 0 1px rgb(255 138 31 / 0.250); min-width: 0; }
.tkm__phrase code { flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 700 13px/1.300 var(--font-title); color: #fff; }
.tkm__phrase button { display: grid; place-items: center; color: var(--ol); background: rgb(255 138 31 / 0.220); }
.tkm__phrase button svg { width: 18px; height: 18px; }
@media (min-width: 720px) { .tkm__pic { height: 270px; } .tkm__pic img { width: 440px; right: 0; } }
@media (max-width: 380px) { .tkm .tkh em { font-size: 34px; } .tkm .tkh span { font-size: 25px; } .tkm__btn { padding: 0 16px; font-size: 15px; } .tkm__go { gap: 10px; } }
/* комменты: заголовок подстраивается под ширину карточки (влезает и на ПК, и на широких телефонах) */
.tkm__in { container-type: inline-size; }
.tkm .tkh em { font-size: min(40px, 10.2cqi); }
.tkm .tkh span { font-size: min(29px, 8.6cqi); }
/* комменты v2: площадки плитками с настоящими значками, плашка ставки, подпись к тексту */
.tkm__pl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tkm__p { display: grid; justify-items: center; gap: 7px; padding: 12px 6px 10px; border-radius: 18px; background: rgb(255 255 255 / 0.050); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.080); transition: transform 0.200s; }
.tkm__p:hover { transform: translateY(-2px); }
.tkm__p img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 8px 12px rgb(0 0 0 / 0.550)); }
.tkm__p b { font: 800 13px/1 var(--font-title); color: #fff; }
.tkm__rate { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding: 12px 16px; border-radius: 16px;
  background: linear-gradient(90deg, rgb(255 138 31 / 0.220), rgb(255 77 77 / 0.080)); box-shadow: inset 0 0 0 1px rgb(255 138 31 / 0.350); }
.tkm__rate span { font: 800 16px/1 var(--font-title); color: #fff; }
.tkm__rate b { font: 900 22px/1 var(--font-title); color: #ffd84a; text-shadow: 0 0 14px rgb(255 216 74 / 0.400); }
.tkm__rate small { flex-basis: 100%; font: 600 12px/1.200 var(--font-title); color: #d6b8a6; }
.tkm__cap { margin: 2px 0 -4px 4px; font: 800 11px/1 var(--font-title); letter-spacing: 0.080em; text-transform: uppercase; color: #d6b8a6; }
.tkm__steps li { transition: box-shadow 0.200s; }
.tkm__steps li:hover { box-shadow: inset 0 0 0 1px rgb(255 138 31 / 0.400); }
.tkm__pic::before { content: ""; position: absolute; right: 8%; bottom: -30px; width: 70%; height: 70px; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 138 31 / 0.450), transparent); z-index: 0; }
.tkm__pic img { z-index: 1; }
/* комменты v3: без YouTube, скрины — менеджеру в Telegram */
.tkm__pl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tkm__btn { text-decoration: none; }
.tkm__mgr { display: grid; gap: 6px; padding: 12px 14px; border-radius: 16px; font: 600 13px/1.300 var(--font-title); color: #d6c2b6;
  background: linear-gradient(90deg, rgb(42 171 238 / 0.160), rgb(255 255 255 / 0.030)); box-shadow: inset 0 0 0 1px rgb(42 171 238 / 0.350); }
.tkm__mgr a { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font: 900 17px/1 var(--font-title); color: #5ec8ff; text-decoration: none; }
.tkm__mgr a::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: #2aabee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M5 11.600 18 6.500c.600-.200 1.100.100.900.900l-2.200 10.400c-.200.700-.600.900-1.200.500l-3.300-2.400-1.600 1.500c-.200.200-.300.300-.700.300l.200-3.400 6.200-5.600c.300-.200-.100-.400-.400-.200l-7.700 4.800-3.300-1c-.700-.200-.700-.700.100-1Z'/%3E%3C/svg%3E") center/14px no-repeat; }
.tkm__mgr b { color: #fff; font-weight: 900; user-select: all; }
/* шаги комментов v2: путь с линией, номера в светящихся кружках, иконки справа */
.tkm__steps { position: relative; gap: 10px; }
.tkm__steps::before { content: ""; position: absolute; left: 33px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px;
  background: repeating-linear-gradient(180deg, rgb(255 138 31 / 0.700) 0 6px, transparent 6px 11px); }
.tkm__steps li { display: flex; align-items: center; gap: 14px; min-height: 0; padding: 14px 14px 14px 12px; border-radius: 20px;
  background: linear-gradient(100deg, rgb(255 138 31 / 0.100), rgb(255 255 255 / 0.030) 55%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.070); }
.tkm__steps li::before { display: none; }
.tkm__n { position: relative; z-index: 1; flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffc27a, var(--o1) 55%, var(--o2)); box-shadow: 0 0 0 4px #24171a, 0 0 0 5.500px rgb(255 138 31 / 0.450), 0 8px 18px -6px var(--o2); }
.tkm__n::after { content: counter(st); font: 900 19px/1 var(--font-title); color: #fff; text-shadow: 0 2px 0 rgb(0 0 0 / 0.250); }
.tkm__steps li > div { flex: 1; min-width: 0; display: grid; gap: 4px; font: 600 13px/1.350 var(--font-title); color: #c9b5aa; }
.tkm__steps li > div b { font: 900 16px/1.150 var(--font-title); color: #fff; }
.tkm__steps li > i { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgb(255 138 31 / 0.140); box-shadow: inset 0 0 0 1px rgb(255 138 31 / 0.300); }
.tkm__steps li > i svg { width: 20px; height: 20px; fill: #ffb35c; }
.tkm__steps li:last-child { background: linear-gradient(100deg, rgb(42 171 238 / 0.160), rgb(255 255 255 / 0.030) 60%); box-shadow: inset 0 0 0 1px rgb(42 171 238 / 0.350); }
.tkm__steps li:last-child > i { background: #2aabee; box-shadow: 0 6px 14px -6px #2aabee; }
.tkm__steps li:last-child > i svg { fill: #fff; }
.tkm__tg { justify-self: start; margin-top: 4px; padding: 7px 12px; border-radius: 10px; font: 900 14px/1 var(--font-title); color: #fff; text-decoration: none; background: #2aabee; box-shadow: 0 6px 14px -8px #2aabee; }
.tkm__tg:active { transform: translateY(1px); }
.tkm__tg { display: block; width: max-content; margin-top: 8px; }
/* кэшбэк — своя раскладка: золото-янтарная гамма */
.tkb { --g1: #ffc83d; --g2: #ff9416; --gl: #ffe7a3; display: grid; grid-template-columns: minmax(0, 1fr); padding: 0;
  background: radial-gradient(85% 48% at 100% 0%, rgb(255 180 40 / 0.600), transparent 70%), radial-gradient(70% 40% at 0% 12%, rgb(255 120 20 / 0.350), transparent 70%), linear-gradient(180deg, #3a2a0c 0%, #1f1a12 38%, #13141c 100%);
  box-shadow: inset 0 0 0 1.500px rgb(255 200 61 / 0.300), 0 20px 40px -24px #000; }
.tkb__pic { position: relative; height: 230px; overflow: hidden; }
.tkb__pic::before { content: ""; position: absolute; left: 50%; bottom: -30px; width: 75%; height: 70px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 180 40 / 0.500), transparent); }
.tkb__pic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, #241d12); }
.tkb__pic img { position: absolute; left: 50%; bottom: 4px; z-index: 1; width: min(330px, 96%); translate: -50% 0; filter: drop-shadow(0 16px 22px rgb(0 0 0 / 0.550)); animation: tkb-spin 6s ease-in-out infinite; }
@keyframes tkb-spin { 50% { transform: translateY(-6px) rotate(-1.500deg); } }
.tkb__in { container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0 16px 18px; margin-top: -6px; position: relative; z-index: 2; }
.tkb .tkh span { font-style: normal; font-size: min(29px, 8.600cqi); }
.tkb .tkh em { font-style: normal; font-size: min(48px, 14cqi); color: transparent; background: linear-gradient(180deg, #fff3c4, var(--g1) 45%, var(--g2)); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 3px 0 rgb(0 0 0 / 0.350)) drop-shadow(0 0 18px rgb(255 180 40 / 0.350)); }
.tkb p { margin: 0; color: #e0d4bb; }
.tkb__safe { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-radius: 20px;
  background: linear-gradient(110deg, rgb(255 200 61 / 0.180), rgb(255 255 255 / 0.030) 65%); box-shadow: inset 0 0 0 1.500px rgb(255 200 61 / 0.400), 0 10px 26px -18px var(--g1); }
.tkb__safe > div { flex: 1; min-width: 0; display: grid; gap: 4px; }
.tkb__safe small { font: 800 11px/1 var(--font-title); letter-spacing: 0.080em; text-transform: uppercase; color: #d9c08a; }
.tkb__safe b { font: 900 28px/1 var(--font-title); color: var(--g1); text-shadow: 0 0 16px rgb(255 200 61 / 0.400); }
.tkb__safe span { font: 600 12px/1.200 var(--font-title); color: #b8a98d; }
.tkb__btn { flex: 0 0 auto; height: 50px; padding: 0 22px; border: 0; border-radius: 15px; cursor: pointer; font: 900 16px/1 var(--font-title); color: #3a2400;
  background: linear-gradient(180deg, var(--gl), var(--g1) 50%, var(--g2)); box-shadow: inset 0 1px 0 #ffffffb0, inset 0 -4px 0 rgb(0 0 0 / 0.150), 0 10px 22px -10px var(--g2); }
.tkb__btn:disabled { cursor: default; color: #a8987c; background: rgb(255 255 255 / 0.070); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.080); }
.tkb__btn:not(:disabled):active { transform: translateY(1px); }
.tkb__when { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; font: 700 12px/1.300 var(--font-title); color: #e8d8b5; background: rgb(0 0 0 / 0.250); }
.tkb__when svg { flex: 0 0 auto; width: 18px; height: 18px; fill: var(--g1); }
.tkb__week { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 14px 16px 22px; border-radius: 18px; background: rgb(255 255 255 / 0.045); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.070); }
.tkb__week > div { display: grid; gap: 4px; min-width: 0; }
.tkb__week small { font: 800 11px/1 var(--font-title); letter-spacing: 0.080em; text-transform: uppercase; color: #b8a98d; }
.tkb__week b { font: 900 20px/1 var(--font-title); color: #fff; }
.tkb__week b em { font-style: normal; font-size: 13px; font-weight: 700; color: #b8a98d; }
.tkb__week span { font: 700 12px/1.200 var(--font-title); color: var(--g1); }
.tkb__week strong { display: grid; place-items: center; min-width: 64px; height: 50px; padding: 0 10px; border-radius: 14px; font: 900 24px/1 var(--font-title); color: #3a2400; background: linear-gradient(180deg, var(--gl), var(--g1)); }
.tkb__week i { position: absolute; left: 16px; right: 16px; bottom: 10px; height: 6px; border-radius: 99px; background: rgb(255 255 255 / 0.080); overflow: hidden; }
.tkb__week i::after { content: ""; display: block; width: var(--p); min-width: 6px; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--g2), var(--g1)); box-shadow: 0 0 10px var(--g1); }
.tkb__tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.tkb__tiers li { display: grid; justify-items: center; gap: 5px; padding: 12px 4px; border-radius: 16px; text-align: center; background: rgb(255 255 255 / 0.045); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.070); }
.tkb__tiers b { font: 900 22px/1 var(--font-title); color: #fff; }
.tkb__tiers small { font: 700 11px/1.200 var(--font-title); color: #b8a98d; }
.tkb__tiers li.is-on { background: linear-gradient(180deg, rgb(255 200 61 / 0.280), rgb(255 148 22 / 0.120)); box-shadow: inset 0 0 0 1.500px var(--g1), 0 8px 18px -12px var(--g1); }
.tkb__tiers li.is-on b { color: var(--g1); }
@media (min-width: 720px) { .tkb__pic { height: 260px; } .tkb__pic img { width: 380px; } }
@media (prefers-reduced-motion: reduce) { .tkb__pic img { animation: none; } }
.tkb__btn:disabled { padding: 0 14px; font-size: 14px; } .tkb__safe small { white-space: nowrap; }
/* кэшбэк v2: таймер, ступени с подписью, плитка отыгрыша, пояснение */
.tkb__timer { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 99px; background: rgb(0 0 0 / 0.350); box-shadow: inset 0 0 0 1px rgb(255 200 61 / 0.350); }
.tkb__timer::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 10px var(--g1); animation: tkb-pulse 1.600s ease-in-out infinite; }
@keyframes tkb-pulse { 50% { opacity: 0.350; } }
.tkb__timer span { font: 700 12px/1 var(--font-title); color: #d9c08a; }
.tkb__timer b { font: 900 16px/1 var(--font-title); color: #fff; }
.tkb__tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tkb__tiers li { justify-items: start; text-align: left; gap: 4px; padding: 14px; }
.tkb__tiers b { font-size: 30px; }
.tkb__tiers small { font: 800 14px/1 var(--font-title); color: #fff; }
.tkb__tiers em { font: 600 11px/1.250 var(--font-title); font-style: normal; color: #a99a7e; }
.tkb__tiers li.is-wager { background: linear-gradient(160deg, rgb(255 120 20 / 0.220), rgb(255 255 255 / 0.030)); box-shadow: inset 0 0 0 1.500px rgb(255 148 22 / 0.450); }
.tkb__tiers li.is-wager b { color: var(--g2); }
.tkb__note { margin: 0; font: 600 12px/1.450 var(--font-title); color: #9a8f7a; }
@media (min-width: 720px) { .tkb__tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* кэшбэк: новая чистая картинка — целиком, без обрезки сверху */
.tkb__pic { height: 250px; }
.tkb__pic img { width: min(300px, 88%); bottom: 6px; }
@media (min-width: 720px) { .tkb__pic { height: 290px; } .tkb__pic img { width: 340px; } }
/* комменты: чёткая героиня целиком + облачка сообщений вёрсткой */
.tkm__pic { height: 250px; }
.tkm__pic img { right: -2%; bottom: 0; width: auto; height: 250px; max-width: none; }
.tkm__bub { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tkm__bub i { position: absolute; display: flex; align-items: center; justify-content: center; gap: 5px; font-style: normal; animation: tkm-float 3.600s ease-in-out infinite; }
.tkm__bub .b1, .tkm__bub .b3 { padding: 0 14px; border-radius: 18px 18px 18px 6px; background: linear-gradient(180deg, #ffb35c, #ff7a1a); box-shadow: inset 0 2px 0 rgb(255 255 255 / 0.450), inset 0 -3px 0 rgb(0 0 0 / 0.150), 0 10px 18px -8px rgb(0 0 0 / 0.600); }
.tkm__bub .b1 { left: 7%; top: 16%; height: 44px; }
.tkm__bub .b3 { left: 19%; top: 46%; height: 34px; padding: 0 10px; border-radius: 14px 14px 14px 5px; background: linear-gradient(180deg, #ff8f8f, #ff4d4d); animation-delay: -1.200s; }
.tkm__bub b { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 1px 0 rgb(0 0 0 / 0.150); }
.tkm__bub .b3 b { width: 7px; height: 7px; }
.tkm__bub .b2, .tkm__bub .b5 { font-size: 22px; color: #ff4d6d; text-shadow: 0 4px 8px rgb(0 0 0 / 0.450); }
.tkm__bub .b2 { left: 34%; top: 9%; animation-delay: -0.600s; }
.tkm__bub .b5 { left: 6%; top: 62%; font-size: 18px; animation-delay: -2s; }
.tkm__bub .b4 { left: 30%; top: 70%; width: 34px; height: 34px; border-radius: 50%; font: 900 17px/1 var(--font-title); color: #6b3d00; background: radial-gradient(circle at 35% 30%, #fff3b0, #ffc83d 55%, #e09400); box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.150), 0 8px 14px -6px rgb(0 0 0 / 0.600); animation-delay: -2.600s; }
@keyframes tkm-float { 50% { transform: translateY(-7px); } }
@media (min-width: 720px) { .tkm__pic { height: 280px; } .tkm__pic img { height: 280px; right: 4%; } .tkm__bub .b1 { left: 10%; } }
@media (prefers-reduced-motion: reduce) { .tkm__bub i { animation: none; } }
.tkm__bub .b4 { left: 12%; top: 76%; } .tkm__bub .b5 { left: 30%; top: 66%; }
/* друзья: чёткие герои целиком, монеты над ладонями вёрсткой, заголовок по ширине карточки */
.tkf__pic { height: 250px; }
.tkf__pic img { width: auto; height: 236px; max-width: none; bottom: 0; }
.tkf__in { container-type: inline-size; }
.tkf .tkh em { font-size: min(42px, 11.400cqi); }
.tkf .tkh span { font-size: min(29px, 8.600cqi); }
.tkf__coins { position: absolute; left: 50%; top: 4px; width: 150px; height: 56px; translate: -50% 0; z-index: 2; pointer-events: none; }
.tkf__coins i { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3b0, #ffc83d 55%, #d98a00); box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.180), 0 6px 12px -4px rgb(0 0 0 / 0.600); animation: tkf-coin 2.800s ease-in-out infinite; }
.tkf__coins i::after { content: "₽"; position: absolute; inset: 0; display: grid; place-items: center; font: 900 13px/1 var(--font-title); color: #7a4a00; }
.tkf__coins i:nth-child(1) { left: 8px; top: 22px; animation-delay: -0.400s; }
.tkf__coins i:nth-child(2) { left: 40px; top: 2px; width: 30px; height: 30px; animation-delay: -1.200s; }
.tkf__coins i:nth-child(3) { right: 36px; top: 6px; animation-delay: -2s; }
.tkf__coins i:nth-child(4) { right: 4px; top: 28px; width: 22px; height: 22px; animation-delay: -0.800s; }
@keyframes tkf-coin { 50% { transform: translateY(-6px) rotate(12deg); } }
@media (min-width: 720px) { .tkf__pic { height: 280px; } .tkf__pic img { height: 266px; } }
@media (prefers-reduced-motion: reduce) { .tkf__coins i { animation: none; } }
/* пополнение: новая чистая картинка — целиком, без обрезки ножа сверху */
.tkd__pic { height: 240px; }
.tkd__pic img { width: min(320px, 92%); bottom: 6px; }
@media (min-width: 720px) { .tkd__pic { height: 280px; } .tkd__pic img { width: 380px; } }
/* ===== Кабинет креатора v2: одна длинная страница ===== */
.cr__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.crx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 20px; border: 0; border-radius: 16px; cursor: pointer; text-decoration: none; white-space: nowrap; font: 900 15px/1 var(--font-title); color: #fff; }
.crx-btn:active { transform: translateY(1px); }
.crx-btn:disabled { cursor: default; opacity: 1; color: #8a91ad; background: rgb(255 255 255 / 0.080) !important; box-shadow: none !important; }
.crx-btn--main { background: linear-gradient(180deg, #5ef0ff, #2fb8ff 45%, #2f6dff); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.500), inset 0 -4px 0 rgb(0 0 0 / 0.180), 0 12px 26px -12px #2fb8ff; }
.crx-btn--ghost { background: rgb(10 12 28 / 0.700); box-shadow: inset 0 0 0 1.500px rgb(255 255 255 / 0.220); backdrop-filter: blur(6px); }
.crx-btn--tg { height: 46px; background: #2aabee; box-shadow: 0 10px 22px -10px #2aabee; }
.crx-btn--gold { height: 46px; color: #3a2400; background: linear-gradient(180deg, #ffe58a, #f2b100); box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.150); }
.crx-btn--green { color: #03261a; background: linear-gradient(180deg, #8dffc8, #19e38a 55%, #0fb36b); box-shadow: inset 0 1px 0 #ffffffb0, inset 0 -4px 0 rgb(0 0 0 / 0.180), 0 12px 26px -12px #19e38a; }
.crx-chip { height: 38px; padding: 0 14px; border: 0; border-radius: 12px; cursor: pointer; font: 800 13px/1 var(--font-title); color: #fff; background: rgb(255 255 255 / 0.080); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.120); }
/* шапка */
.crx-hero { position: relative; overflow: hidden; border-radius: 26px; min-height: 340px; display: grid; align-content: end; isolation: isolate; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.080), 0 20px 40px -24px #000; }
.crx-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 38% 30%; }
.crx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgb(9 10 24 / 0.750) 58%, #0b0c1c 100%); }
.crx-hero__in { display: grid; gap: 10px; padding: 18px; }
.crx-hero h2 { margin: 0; font: 900 30px/1.050 var(--font-title); color: #fff; text-shadow: 0 3px 0 rgb(0 0 0 / 0.350); }
.crx-hero h2 em { font-style: normal; color: transparent; background: linear-gradient(90deg, #5ef0ff, #ff5ccf); -webkit-background-clip: text; background-clip: text; }
.crx-hero p { margin: 0; color: #d9def2; font: 600 14px/1.400 var(--font-title); }
.crx-hero__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.crx-hero__btns .crx-btn { padding: 0 10px; font-size: 14px; }
/* менеджер */
.crx-mgr { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 22px; background: linear-gradient(110deg, rgb(42 171 238 / 0.180), rgb(255 255 255 / 0.030) 70%), #13152a; box-shadow: inset 0 0 0 1px rgb(42 171 238 / 0.300); }
.crx-mgr > div { flex: 1; min-width: 0; display: grid; gap: 4px; }
.crx-mgr b { font: 900 16px/1.150 var(--font-title); color: #fff; }
.crx-mgr span { font: 600 13px/1.350 var(--font-title); color: #a9b3d4; }
/* заработок */
.crx-earn { display: grid; gap: 12px; padding: 18px 16px 16px; border-radius: 24px;
  background: radial-gradient(90% 70% at 100% 0%, rgb(255 92 207 / 0.450), transparent 70%), radial-gradient(80% 60% at 0% 0%, rgb(94 240 255 / 0.250), transparent 70%), linear-gradient(180deg, #2a1846, #14152a 70%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.090); }
.crx-earn__top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 10px; }
.crx-earn__top small { grid-column: 1 / -1; font: 900 22px/1 var(--font-title); text-transform: uppercase; color: #fff; }
.crx-earn__top b { font: 900 40px/1 var(--font-title); color: #ffd84a; text-shadow: 0 0 20px rgb(255 216 74 / 0.350); }
.crx-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.crx-stats span { position: relative; display: grid; gap: 4px; padding: 12px 14px; border-radius: 16px; background: rgb(8 9 22 / 0.550); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.070); }
.crx-stats b { font: 900 19px/1 var(--font-title); color: #fff; }
.crx-stats small { font: 700 12px/1 var(--font-title); color: #9aa3c4; }
.crx-stats i { position: absolute; right: 12px; top: 12px; font-style: normal; font-size: 15px; opacity: 0.700; }
/* блоки */
.crx-box { display: grid; gap: 12px; padding: 16px; border-radius: 24px; background: #12142a; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.070); }
.crx-box h3 { margin: 0; font: 900 20px/1.100 var(--font-title); color: #fff; }
.crx-box__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.crx-cnt { display: inline-grid; place-items: center; min-width: 26px; height: 22px; margin-left: 6px; padding: 0 6px; border-radius: 8px; font: 900 13px/1 var(--font-title); font-style: normal; color: #0b1430; background: #5ef0ff; vertical-align: middle; }
.crx-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.crx-topics button { display: grid; justify-items: center; gap: 4px; padding: 12px 8px 12px; border: 0; border-radius: 18px; cursor: pointer; color: #fff; background: rgb(255 255 255 / 0.045); box-shadow: inset 0 0 0 1.500px rgb(255 255 255 / 0.080); transition: transform 0.150s, box-shadow 0.150s; }
.crx-topics button:hover { transform: translateY(-2px); }
.crx-topics img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 8px 12px rgb(0 0 0 / 0.500)); }
.crx-topics b { font: 900 16px/1 var(--font-title); color: #ffd84a; }
.crx-topics span { font: 700 13px/1.150 var(--font-title); color: #c7cde6; }
.crx-topics button.is-on { background: linear-gradient(180deg, rgb(94 240 255 / 0.180), rgb(47 109 255 / 0.100)); box-shadow: inset 0 0 0 2px #5ef0ff, 0 0 22px -8px #5ef0ff; }
.crx-about { margin: 0; font: 600 13px/1.450 var(--font-title); color: #b4bcd8; }
.crx-about a { color: #5ef0ff; font-weight: 800; }
.crx-plats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.crx-plats button { display: grid; justify-items: center; gap: 4px; padding: 10px 2px 8px; border: 0; border-radius: 14px; cursor: pointer; color: #fff; background: rgb(255 255 255 / 0.045); box-shadow: inset 0 0 0 1.500px rgb(255 255 255 / 0.080); }
.crx-plats img { width: 34px; height: 34px; object-fit: contain; }
.crx-plats span { font: 800 11px/1 var(--font-title); }
.crx-plats small { font: 700 11px/1 var(--font-title); color: #8f98b8; }
.crx-plats button.is-on { box-shadow: inset 0 0 0 2px #5ef0ff; background: rgb(94 240 255 / 0.100); }
.crx-plats button.is-on small { color: #5ef0ff; }
.crx-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.crx-form input { min-width: 0; height: 52px; padding: 0 14px; border: 0; border-radius: 16px; outline: none; color: #fff; font: 600 15px/1 var(--font-title); background: rgb(255 255 255 / 0.060); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.120); }
.crx-form input:focus { box-shadow: inset 0 0 0 1.500px #5ef0ff; }
.crx-hint { margin: -4px 0 0; font: 600 12px/1.300 var(--font-title); color: #8890ad; }
/* баннер */
.crx-ban { display: grid; gap: 12px; padding: 16px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(90% 50% at 50% 0%, rgb(255 60 140 / 0.550), transparent 70%), linear-gradient(180deg, #3a1230, #16142a 45%); box-shadow: inset 0 0 0 1px rgb(255 92 160 / 0.300); }
.crx-ban__pic { display: flex; justify-content: center; gap: 0; padding: 6px 0 2px; }
.crx-ban__pic img { width: 92px; height: 92px; margin: 0 -10px; filter: drop-shadow(0 14px 18px rgb(0 0 0 / 0.550)); }
.crx-ban__pic img:nth-child(1) { transform: rotate(-12deg) translateY(6px); }
.crx-ban__pic img:nth-child(2) { position: relative; z-index: 1; transform: scale(1.120); }
.crx-ban__pic img:nth-child(3) { transform: rotate(12deg) translateY(6px); }
.crx-ban h3, .crx-how h3 { margin: 0; font: 900 28px/1.050 var(--font-title); text-transform: uppercase; color: #fff; }
.crx-ban h3 em { display: block; font-style: normal; color: #ff5ca8; }
.crx-ban p, .crx-how p { margin: 0; font: 600 13px/1.450 var(--font-title); color: #d4c9de; }
.crx-ban__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.crx-ban__list a { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border-radius: 14px; text-decoration: none; color: #fff; background: rgb(0 0 0 / 0.300); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.080); }
.crx-ban__list img { width: 100%; height: 40px; object-fit: contain; }
.crx-ban__list b { font: 800 11px/1.100 var(--font-title); text-align: center; }
.crx-ban__list span { font: 800 11px/1 var(--font-title); color: #ff8cc4; }
.crx-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: cs; }
.crx-steps li { position: relative; display: grid; gap: 3px; padding: 12px 14px 12px 62px; border-radius: 16px; counter-increment: cs; font: 600 12px/1.350 var(--font-title); color: #b7b0c8; background: rgb(0 0 0 / 0.280); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.060); }
.crx-steps li::before { content: counter(cs); position: absolute; left: 12px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font: 900 16px/1 var(--font-title); color: #fff; }
.crx-steps b { font: 900 15px/1.150 var(--font-title); color: #fff; }
.crx-steps--pink li::before { background: linear-gradient(180deg, #ff7ac0, #e0346f); }
.crx-steps--green li::before { color: #03261a; background: linear-gradient(180deg, #8dffc8, #19e38a); }
.crx-rules { display: grid; gap: 6px; margin: 0; padding: 0 0 0 4px; list-style: none; }
.crx-rules li { position: relative; padding-left: 16px; font: 600 12px/1.400 var(--font-title); color: #c9bfd6; }
.crx-rules li::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: #ff5ca8; }
/* как это работает */
.crx-how { display: grid; gap: 12px; padding: 18px 16px 16px; border-radius: 24px;
  background: radial-gradient(90% 55% at 100% 0%, rgb(25 227 138 / 0.450), transparent 70%), linear-gradient(180deg, #0f2a22, #12152a 50%); box-shadow: inset 0 0 0 1px rgb(25 227 138 / 0.300); }
.crx-how h3 { line-height: 1; }
.crx-how__row { display: flex; align-items: center; gap: 14px; }
.crx-how__row > span { display: grid; gap: 3px; font: 600 12px/1.200 var(--font-title); color: #a9c4b8; }
.crx-how__row > span b { font: 900 18px/1 var(--font-title); color: #fff; }
.crx-how h3 { color: #fff; }
.crx-how h3 em { display: block; font-style: normal; color: #19e38a; }
#cr-faq h3 { margin-bottom: 2px; }
/* калькулятор */
.crc { width: min(460px, 100%); max-width: 100%; margin: auto auto 0; padding: 0; border: 0; border-radius: 26px 26px 0 0; color: #fff; background: #121426; box-shadow: 0 -20px 60px rgb(0 0 0 / 0.600); }
.crc::backdrop { background: rgb(4 5 14 / 0.700); backdrop-filter: blur(3px); }
.crc__in { display: grid; gap: 10px; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); }
.crc__top { display: flex; align-items: center; justify-content: space-between; }
.crc__top h3 { margin: 0; font: 900 22px/1 var(--font-title); }
.crc__x { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 12px; cursor: pointer; color: #fff; background: rgb(255 255 255 / 0.080); }
.crc__x svg { width: 16px; height: 16px; }
.crc__sum { display: grid; justify-items: center; gap: 6px; padding: 14px; border-radius: 18px; background: linear-gradient(180deg, rgb(94 240 255 / 0.140), rgb(255 92 207 / 0.080)); box-shadow: inset 0 0 0 1px rgb(94 240 255 / 0.300); }
.crc__sum small { font: 800 11px/1 var(--font-title); letter-spacing: 0.060em; text-transform: uppercase; color: #a9b3d4; }
.crc__sum b { font: 900 34px/1 var(--font-title); color: #5ef0ff; text-shadow: 0 0 18px rgb(94 240 255 / 0.400); }
.crc__cap { margin: 4px 0 0; font: 800 11px/1 var(--font-title); letter-spacing: 0.080em; text-transform: uppercase; color: #8d95b5; }
.crc__range { --p: 50%; width: 100%; height: 26px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.crc__range::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #5ef0ff 0 var(--p), rgb(255 255 255 / 0.120) var(--p)); }
.crc__range::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #5ef0ff 0 var(--p), rgb(255 255 255 / 0.120) var(--p)); }
.crc__range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgb(94 240 255 / 0.350), 0 4px 10px rgb(0 0 0 / 0.500); }
.crc__range::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgb(94 240 255 / 0.350); }
.crc__ends { display: flex; justify-content: space-between; margin-top: -4px; font: 700 11px/1 var(--font-title); color: #7d85a5; }
.crc__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.crc__chips button { display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 42px; padding: 0 12px; border: 0; border-radius: 12px; cursor: pointer; font: 800 13px/1 var(--font-title); color: #fff; background: rgb(255 255 255 / 0.050); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.080); }
.crc__chips button b { color: #8d95b5; }
.crc__chips button.is-on { background: rgb(94 240 255 / 0.120); box-shadow: inset 0 0 0 1.500px #5ef0ff; }
.crc__chips button.is-on b { color: #5ef0ff; }
.crc__note { margin: 2px 0 0; font: 600 12px/1.400 var(--font-title); color: #8890ad; }
.crc__btns { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 4px; }
.crc__close, .crc__go { height: 50px; padding: 0 18px; border: 0; border-radius: 15px; cursor: pointer; font: 900 15px/1 var(--font-title); color: #fff; }
.crc__close { background: rgb(255 255 255 / 0.080); }
.crc__go { background: linear-gradient(180deg, #5ef0ff, #2fb8ff 45%, #2f6dff); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.500), inset 0 -4px 0 rgb(0 0 0 / 0.180); }
@media (min-width: 720px) {
  .cr__body { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .crx-hero, .crx-mgr, .crx-earn { grid-column: 1 / -1; }
  .crx-hero { min-height: 380px; align-content: center; }
  .crx-hero::after { background: linear-gradient(90deg, #0b0c1c 0%, rgb(11 12 28 / 0.850) 32%, transparent 62%); }
  .crx-hero__bg { object-position: 70% 30%; }
  .crx-hero__in { max-width: 440px; padding: 28px; }
  .crx-hero h2 { font-size: 40px; }
  .crx-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .crx-earn__top b { font-size: 48px; }
  .crc { margin: auto; border-radius: 26px; }
}
/* плитки заработка: свои 3D-стикеры вместо эмодзи */
.crx-stats span { padding: 14px 64px 14px 14px; min-height: 76px; align-content: center; overflow: hidden; }
.crx-stats span img { position: absolute; right: 8px; top: 50%; width: 54px; height: 54px; object-fit: contain; translate: 0 -50%; filter: drop-shadow(0 8px 12px rgb(0 0 0 / 0.550)); transition: transform 0.250s; }
.crx-stats span:hover img { transform: scale(1.080) rotate(-6deg); }
.crx-stats span::before { content: ""; position: absolute; right: -10px; top: 50%; width: 80px; height: 80px; translate: 0 -50%; border-radius: 50%; background: radial-gradient(closest-side, rgb(94 240 255 / 0.180), transparent); }
.crx-stats span:nth-child(2n)::before { background: radial-gradient(closest-side, rgb(255 92 207 / 0.180), transparent); }
.crx-stats b { font-size: 20px; white-space: nowrap; }
/* ===== Кабинет креатора: обёртки колонок. На телефоне «прозрачные» — порядок блоков как раньше ===== */
.crx-main, .crx-side { display: contents; }
.crx-hero { order: 1; } .crx-mgr { order: 2; } .crx-earn { order: 3; } #cr-add-box { order: 4; } .crx-ban { order: 5; } .crx-how { order: 6; }
.crx-side > .crx-box { order: 7; } #cr-faq { order: 8; }

/* ===== Кабинет креатора на ПК в духе Midas: основная колонка + боковая панель ===== */
@media (min-width: 1024px) {
  body.is-cr .cr { max-width: 1240px; }
  .cr__body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
  .crx-main, .crx-side { display: grid; gap: 18px; align-content: start; min-width: 0; }
  .crx-side { position: sticky; top: 84px; }
  .crx-main > *, .crx-side > * { order: 0; }
  /* общий вид карточек: тёмно-синие, мягкая обводка, крупные заголовки */
  .crx-box, .crx-mgr { background: #161a2c; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.060); border-radius: 26px; padding: 24px; }
  .crx-box h3 { font-size: 26px; }
  /* главная кнопка — жёлтая, как у Midas */
  .crx-btn--main { color: #1a1400; background: linear-gradient(180deg, #ffe45c, #ffc700); box-shadow: inset 0 -4px 0 rgb(0 0 0 / 0.150), 0 12px 26px -12px #ffc700; }
  .crx-btn--ghost { background: rgb(12 14 30 / 0.750); }
  /* шапка */
  .crx-hero { min-height: 400px; border-radius: 28px; align-content: end; }
  .crx-hero::after { background: linear-gradient(90deg, rgb(10 11 26 / 0.950) 0%, rgb(10 11 26 / 0.700) 38%, transparent 66%), linear-gradient(0deg, rgb(10 11 26 / 0.600), transparent 40%); }
  .crx-hero__bg { object-position: 72% 30%; }
  .crx-hero__in { max-width: 480px; padding: 36px; gap: 14px; }
  .crx-hero h2 { font-size: 50px; line-height: 0.980; text-transform: none; }
  .crx-hero h2 em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #ffd400; }
  .crx-hero p { font-size: 16px; color: #d7dcef; }
  .crx-hero__btns { grid-template-columns: auto auto; justify-content: start; gap: 12px; }
  .crx-hero__btns .crx-btn { height: 56px; padding: 0 28px; font-size: 16px; }
  /* боковая панель: «Заработано» красно-малиновая карточка, плитки 2×2 */
  .crx-earn { padding: 24px; border-radius: 26px; gap: 16px;
    background: radial-gradient(120% 90% at 100% 0%, rgb(255 61 110 / 0.900), transparent 60%), linear-gradient(160deg, #6b1838 0%, #2a1630 45%, #161a2c 100%);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.080), 0 20px 40px -24px #000; }
  .crx-earn__top { grid-template-columns: 1fr; gap: 10px; }
  .crx-earn__top small { font-size: 26px; }
  .crx-earn__top b { font-size: 46px; }
  .crx-earn__top .crx-btn { width: 100%; height: 50px; }
  .crx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .crx-stats span { min-height: 84px; background: rgb(10 11 24 / 0.550); }
  .crx-mgr { flex-direction: column; align-items: stretch; gap: 14px; background: linear-gradient(160deg, rgb(42 171 238 / 0.220), #161a2c 60%); }
  .crx-mgr b { font-size: 20px; } .crx-mgr span { font-size: 14px; }
  .crx-mgr .crx-btn { height: 50px; }
  .crx-side .crvids { max-height: 420px; overflow: auto; }
  /* добавить ролик: темы 4 в ряд, ниже площадки и форма в одну строку */
  #cr-add-box { gap: 16px; }
  #cr-add-box .crx-topics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  #cr-add-box .crx-topics button { padding: 16px 8px; border-radius: 20px; background: #1d2238; }
  #cr-add-box .crx-topics img { width: 96px; height: 96px; }
  #cr-add-box .crx-topics b { font-size: 18px; }
  #cr-add-box .crx-topics button.is-on { background: linear-gradient(180deg, rgb(255 212 0 / 0.160), #1d2238); box-shadow: inset 0 0 0 2px #ffd400, 0 0 24px -10px #ffd400; }
  #cr-add-box .crx-plats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #cr-add-box .crx-plats button { grid-template-columns: auto 1fr auto; justify-items: start; align-items: center; gap: 10px; padding: 10px 12px; background: #1d2238; }
  #cr-add-box .crx-plats button.is-on { box-shadow: inset 0 0 0 2px #ffd400; background: rgb(255 212 0 / 0.080); }
  #cr-add-box .crx-plats button.is-on small { color: #ffd400; }
  #cr-add-box .crx-plats img { width: 32px; height: 32px; }
  #cr-add-box .crx-plats span { font-size: 14px; }
  #cr-add-box .crx-about a { color: #ffd400; }
  .crx-form input { height: 56px; background: #0f1222; }
  .crx-form .crx-btn { height: 56px; padding: 0 34px; }
  /* баннер и «как это работает» — широкие, внутри по две колонки */
  .crx-ban { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; padding: 26px; border-radius: 26px;
    grid-template-areas: "pic steps" "title steps" "text steps" "list rules"; }
  .crx-ban__pic { grid-area: pic; justify-content: start; } .crx-ban h3 { grid-area: title; font-size: 38px; } .crx-ban > p { grid-area: text; font-size: 14px; }
  .crx-ban__list { grid-area: list; align-self: end; } .crx-ban .crx-steps { grid-area: steps; } .crx-ban .crx-rules { grid-area: rules; align-self: end; }
  .crx-how { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; padding: 26px; border-radius: 26px; align-items: start;
    grid-template-areas: "title steps" "text steps" "row steps"; }
  .crx-how h3 { grid-area: title; font-size: 38px; } .crx-how > p { grid-area: text; font-size: 14px; }
  .crx-how__row { grid-area: row; flex-direction: column; align-items: stretch; gap: 12px; }
  .crx-how .crx-steps { grid-area: steps; }
  /* вопросы — две колонки */
  #cr-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; align-items: start; }
  #cr-faq h3 { grid-column: 1 / -1; }
}
@media (min-width: 1024px) { #cr-add-box, #cr-faq, .crx-side > .crx-box { order: 0; } }

/* ===== ПК: «Задания» по размерам как у Midas — ширина 1120, отступы между блоками 56,
   ряд «креатор 332 + промокод», дальше блоки во всю ширину: текст слева (520), картинка справа, списки по 4 в ряд снизу ===== */
@media (min-width: 1024px) {
  body.is-tk .tk { max-width: min(1120px, calc(100vw - 112px)); }
  .tk__body { grid-template-columns: 332px minmax(0, 1fr); column-gap: 40px; row-gap: 56px; align-items: stretch; }
  .tkhero { grid-column: 1 / -1; aspect-ratio: auto; height: 464px; margin: 0; }

  /* ряд: креатор + промокод, высота 370 */
  .tkc--creator { grid-column: 1; margin-top: 0; min-height: 370px; }
  .tkc--creator .tkc__pic { height: 130px; }
  .tkc--creator .tkc__pic img { height: 200px; }
  .tkc--promo { grid-column: 2; min-height: 370px; padding: 36px; border-radius: 24px; align-content: center; }
  .tkc--promo .tkp__in, .tkc--promo .tkp__form, .tkc--promo .tkp__chips, .tkc--promo .tk__msg { max-width: 420px; }
  .tkc--creator { border-radius: 24px; }

  /* большие блоки во всю ширину */
  .tkd, .tkf, .tkm, .tkb { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    column-gap: 40px; row-gap: 12px; align-content: start; padding: 36px; border-radius: 24px; }
  .tkd__in, .tkf__in, .tkm__in, .tkb__in { display: contents; }
  .tkd__in > *, .tkf__in > *, .tkm__in > *, .tkb__in > * { grid-column: 1; min-width: 0; }

  .tkd__pic, .tkf__pic, .tkm__pic, .tkb__pic { grid-column: 2; grid-row: 1 / span 5; height: auto; min-height: 0; margin: -36px -36px 0 0; overflow: visible; }
  .tkf__pic { grid-row: 1 / span 4; }
  .tkd__pic::after, .tkf__pic::after, .tkm__pic::after, .tkb__pic::after { display: none; }
  .tkd__pic img, .tkf__pic img, .tkm__pic img, .tkb__pic img { left: 0; right: 0; top: 0; bottom: 0; margin: auto; width: auto; height: auto;
    max-width: 92%; max-height: 92%; translate: none; }

  /* то, что идёт под текстом и картинкой — во всю ширину */
  .tkd .tkcap, .tkd .prz__row, .tkd .tk__msg,
  .tkf .tkstats, .tkf .tkf__rew, .tkf .tk__note, .tkf .tk__msg,
  .tkm .tkm__steps, .tkm .tkm__cap, .tkm .tkm__phrase, .tkm .tksubs,
  .tkb .tkb__tiers, .tkb .tkb__note, .tkb .tk__msg { grid-column: 1 / -1; }
  .tkd .tkcap, .tkf .tkstats, .tkm .tkm__steps, .tkb .tkb__tiers { margin-top: 16px; }
  .tkd__btn { justify-self: start; }

  /* пункты по 4 в ряд, как у Midas (256 шириной, промежуток 8) */
  .tkf .tkstats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .tkf__rew { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; }
  .tkm__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .tkb__tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
}@media (min-width: 1024px) {
  .tkc--promo { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); column-gap: 24px; row-gap: 12px; align-content: center; }
  .tkc--promo > * { grid-column: 1; }
  .tkc--promo .tkp__art { grid-column: 2; grid-row: 1 / span 4; align-self: center; justify-self: center; width: 300px; height: 300px; }
}@media (min-width: 1024px) {
  .tkc--promo { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
  .tkc--promo .tkp__art { width: min(300px, 100%); height: auto; aspect-ratio: 1; }
}@media (min-width: 1024px) { .tkc--promo { grid-template-columns: minmax(0, 1.300fr) minmax(0, 1fr); } }

/* фишка «Промокоды в Telegram» — ссылка на канал */
.tkp__chips .tkp__tg { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 999px; text-decoration: none; font: 700 12px/1 var(--font-title); color: #fff; background: rgb(42 171 238 / 0.300); box-shadow: inset 0 0 0 1px rgb(120 210 255 / 0.500); transition: background-color 0.200s; }
.tkp__chips .tkp__tg:hover { background: rgb(42 171 238 / 0.500); }
.tkp__chips .tkp__tg i { background: #2aabee; }
