/* Motion Store — подсветка кнопок, значок «Медиа Партнёр», кабинет партнёра, админ-панель */

/* ═════════════════ подсветка кнопок ═════════════════ */
.btn { isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(140px circle at var(--bx, 50%) var(--by, 50%), rgba(255, 255, 255, .38), rgba(160, 200, 255, .12) 45%, transparent 70%); }
.btn:hover::before { opacity: 1; }
.btn.pri:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 0 0 1px rgba(170, 205, 255, .35), 0 12px 34px rgba(60, 115, 255, .5), 0 0 40px rgba(90, 150, 255, .35); }
.btn.gh::before { background: radial-gradient(160px circle at var(--bx, 50%) var(--by, 50%), rgba(120, 170, 255, .28), transparent 65%); }
.btn.gh:hover { border-color: rgba(160, 200, 255, .55); box-shadow: 0 0 24px rgba(80, 140, 255, .22); }
.btn.bad:hover { box-shadow: 0 0 22px rgba(255, 120, 110, .25); }
.btn.ok:hover { box-shadow: 0 0 24px rgba(80, 210, 160, .35); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(120, 170, 255, .55); }
.cta .btn.pri, .final .btn.pri { animation: btnBreath 3.6s ease-in-out infinite; }
@keyframes btnBreath { 50% { box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 34px rgba(60, 115, 255, .5), 0 0 46px rgba(90, 150, 255, .3); } }
.seg button:hover:not(.on), .mtabs button:hover:not(.on) { color: var(--text); text-shadow: 0 0 14px rgba(140, 190, 255, .7); }
nav.menu a:hover { text-shadow: 0 0 14px rgba(140, 190, 255, .55); }

/* ═════════════════ значок «Медиа Партнёр» ═════════════════ */
@property --mpa { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.mp { --h: 34px; position: relative; display: inline-flex; align-items: center; gap: 9px; height: var(--h); padding: 0 15px 0 4px; border-radius: 999px; white-space: nowrap; vertical-align: middle; isolation: isolate;
  background: linear-gradient(135deg, #111b46, #0b1233) padding-box, conic-gradient(from var(--mpa), #8fd0ff, #c6a9ff, #ffd8a8, #ff9fd8, #8fd0ff) border-box;
  border: 1.5px solid transparent; box-shadow: 0 0 22px rgba(150, 170, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .08); animation: mpSpin 5s linear infinite; }
@keyframes mpSpin { to { --mpa: 360deg; } }
.mp::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .14) 48%, transparent 66%); background-size: 250% 100%; animation: mpShine 3.4s ease-in-out infinite; }
@keyframes mpShine { 0%, 40% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
.mp .mi { position: relative; flex: none; width: calc(var(--h) - 9px); height: calc(var(--h) - 9px); border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(from var(--mpa), #6fb6ff, #a98bff, #ffc98f, #ff8fcf, #6fb6ff); box-shadow: 0 0 14px rgba(170, 160, 255, .65); animation: mpSpin 5s linear infinite reverse; }
.mp .mi::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2a3a86, #0d1538); }
.mp .mi svg { position: relative; width: 56%; height: 56%; filter: drop-shadow(0 0 4px rgba(255, 230, 180, .8)); animation: mpStar 2.8s ease-in-out infinite; }
@keyframes mpStar { 50% { transform: scale(1.15) rotate(18deg); } }
.mp .mt { font: 800 calc(var(--h) * .34)/1 Unb; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(100deg, #bfe6ff, #e2d4ff 30%, #ffe3c2 50%, #ffc6ea 70%, #bfe6ff); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gr 5s linear infinite; }
.mp .sp1, .mp .sp2 { position: absolute; width: 7px; height: 7px; pointer-events: none; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 3px #fff); animation: twk 2.4s ease-in-out infinite; }
.mp .sp1 { right: 8px; top: -4px; } .mp .sp2 { right: 36%; bottom: -4px; width: 5px; height: 5px; animation-delay: -1.2s; }
@keyframes twk { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(90deg); } }
.mp.sm { --h: 24px; padding-right: 10px; gap: 6px; border-width: 1px; }
.mp.sm .sp1, .mp.sm .sp2 { display: none; }
.mp.lg { --h: 52px; padding-right: 24px; gap: 13px; border-width: 2px; box-shadow: 0 0 40px rgba(150, 170, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .1); }
.mp.ico { padding: 0 2px; } .mp.ico .mt { display: none; }

/* бейджи */
.bdg { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; vertical-align: middle; }
.bdg.adm { color: #ffd9a0; background: rgba(255, 200, 120, .12); border: 1px solid rgba(255, 200, 120, .25); }
.bdg.ban { color: var(--bad); background: var(--bad-soft); border: 1px solid rgba(255, 138, 128, .25); }
.bdg.ref { color: var(--muted); background: rgba(120, 160, 255, .08); border: 1px solid var(--line); }

/* ═════════════════ кабинет партнёра ═════════════════ */
.pcard { position: relative; overflow: hidden; isolation: isolate; padding: 30px; border-radius: 30px; border: 1px solid rgba(170, 180, 255, .3); margin-bottom: 16px;
  background: radial-gradient(90% 120% at 0% 0%, rgba(80, 120, 255, .35), transparent 60%), radial-gradient(70% 90% at 100% 100%, rgba(200, 140, 255, .22), transparent 60%), linear-gradient(160deg, #121c4a, #090f2c);
  box-shadow: 0 30px 80px rgba(10, 20, 90, .5), inset 0 1px 0 rgba(255, 255, 255, .08); animation: pgIn .8s var(--ease) both; }
.pcard::before { content: ""; position: absolute; inset: -60%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(143, 208, 255, .14), transparent 25%, rgba(198, 169, 255, .14), transparent 50%, rgba(255, 216, 168, .1), transparent 75%); animation: spinC 22s linear infinite; }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(1.5px 1.5px at 12% 20%, #fff, transparent), radial-gradient(1px 1px at 80% 30%, #cfe4ff, transparent), radial-gradient(1.5px 1.5px at 60% 75%, #fff, transparent), radial-gradient(1px 1px at 30% 85%, #e0d4ff, transparent), radial-gradient(1px 1px at 90% 80%, #fff, transparent); opacity: .6; animation: tw 4s ease-in-out infinite; }
@keyframes spinC { to { transform: rotate(360deg); } }
.pcard .ptop { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pcard h3 { margin: 22px 0 6px; font: 800 clamp(26px, 3.6vw, 40px)/1.05 Unb; letter-spacing: -.05em; }
.pcard h3 span { background: linear-gradient(100deg, #bfe6ff, #e2d4ff 35%, #ffe3c2 55%, #bfe6ff); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gr 8s linear infinite; }
.pcard p { color: var(--text2); max-width: 560px; }
.pcode { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.pcode .code { font: 800 clamp(24px, 4vw, 36px)/1 Unb; letter-spacing: .12em; padding: 14px 22px; border-radius: 18px; background: rgba(4, 8, 28, .55); border: 1px dashed rgba(170, 190, 255, .45); text-shadow: 0 0 18px rgba(140, 190, 255, .55); }
.pstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 24px; }
.pstats div { padding: 16px 18px; border-radius: 18px; background: rgba(4, 8, 28, .4); border: 1px solid rgba(150, 180, 255, .16); }
.pstats span { font-size: 12.5px; color: var(--muted); }
.pstats b { display: block; margin-top: 6px; font: 800 24px/1 Unb; letter-spacing: -.04em; }
.pnone { position: relative; overflow: hidden; padding: 26px; border-radius: 24px; border: 1px dashed rgba(170, 190, 255, .3); background: rgba(14, 22, 60, .4); }
.pnone b { display: block; font: 800 18px Unb; letter-spacing: -.03em; margin: 14px 0 6px; }
.pnone p { color: var(--muted); }

/* графики */
.chart { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 30px; }
.chart .bar { position: relative; flex: 1; min-width: 6px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.chart .bar i { width: 100%; min-height: 3px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #8fd0ff, #3a67f0); box-shadow: 0 0 14px rgba(80, 140, 255, .35); transform-origin: bottom; animation: barUp .9s var(--ease) both; animation-delay: calc(var(--i) * 35ms); transition: filter .3s; }
.chart .bar.z i { background: rgba(120, 160, 255, .12); box-shadow: none; }
.chart .bar small { font-size: 10.5px; color: var(--faint); white-space: nowrap; }
.chart .bar:hover i { filter: brightness(1.3); }
.chart .bar .tt { position: absolute; bottom: calc(var(--hh) + 26px); left: 50%; translate: -50% 0; padding: 5px 9px; border-radius: 9px; background: #e2e8fa; color: #0a1130; font-size: 12px; font-weight: 800; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .3s var(--spring); transform: translateY(4px); z-index: 2; }
.chart .bar:hover .tt { opacity: 1; transform: none; }
@keyframes barUp { from { transform: scaleY(0); } }

/* ═════════════════ админ-панель ═════════════════ */
.adm { display: grid; grid-template-columns: 236px 1fr; gap: 22px; align-items: start; }
.aside { position: sticky; top: 96px; display: grid; gap: 4px; padding: 10px; border-radius: 22px; background: linear-gradient(160deg, rgba(24, 36, 88, .5), rgba(10, 16, 46, .6)); border: 1px solid var(--line); }
.aside .ah { display: flex; align-items: center; gap: 10px; padding: 8px 10px 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.aside .ah b { font: 800 14px Unb; letter-spacing: -.03em; }
.aside .ah small { display: block; font-size: 11.5px; color: var(--muted); }
.aside a { position: relative; display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 14px; color: var(--muted); font-weight: 700; font-size: 14.5px; transition: background .3s, color .3s, box-shadow .3s; }
.aside a svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.aside a:hover { background: rgba(120, 160, 255, .09); color: var(--text); }
.aside a.on { color: #fff; background: linear-gradient(120deg, rgba(58, 103, 240, .55), rgba(91, 140, 255, .3)); box-shadow: inset 0 0 0 1px rgba(150, 190, 255, .3), 0 8px 22px rgba(40, 90, 255, .25); }
.aside a .cnt { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; font-size: 11.5px; text-align: center; background: var(--accent); color: #fff; box-shadow: 0 0 12px rgba(90, 140, 255, .6); }
.amain { min-width: 0; }
.ahd { display: flex; align-items: end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.ahd h2 { font: 800 clamp(26px, 3.4vw, 40px)/1.05 Unb; letter-spacing: -.05em; }
.ahd p { color: var(--muted); margin-top: 4px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { position: relative; overflow: hidden; padding: 18px 20px; border-radius: 20px; background: linear-gradient(160deg, rgba(24, 36, 88, .5), rgba(10, 16, 46, .6)); border: 1px solid var(--line); animation: pgIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
a.kpi { transition: border-color .3s, transform .4s var(--soft); }
a.kpi:hover { border-color: var(--line2); transform: translateY(-2px); }
.kpi span { font-size: 12.5px; color: var(--muted); }
.kpi b { display: block; margin-top: 7px; font: 800 26px/1 Unb; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.kpi small { display: block; margin-top: 6px; font-size: 12px; color: var(--faint); }
.kpi.hot { background: linear-gradient(135deg, #3a67f0, #6a8cff); border-color: transparent; box-shadow: 0 14px 40px rgba(40, 90, 255, .35); }
.kpi.hot span, .kpi.hot small { color: rgba(255, 255, 255, .82); }
.kpi.warn { border-color: rgba(240, 195, 107, .35); }
.kpi.warn b { color: var(--warn); }
.kpi::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(120, 170, 255, .16), transparent 65%); pointer-events: none; }
.agrid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; margin-bottom: 14px; }
.box2 { padding: 20px; border-radius: 22px; background: linear-gradient(160deg, rgba(24, 36, 88, .45), rgba(10, 16, 46, .55)); border: 1px solid var(--line); min-width: 0; margin-bottom: 14px; animation: pgIn .6s var(--ease) both; }
.agrid .box2 { margin-bottom: 0; }
.box2 > h4 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; font: 800 14px Unb; letter-spacing: -.02em; }
.box2 > h4 small { font: 600 12.5px Man; color: var(--muted); letter-spacing: 0; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.search { position: relative; flex: 1; min-width: 200px; max-width: 380px; }
.search input { padding-left: 40px !important; }
.search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; pointer-events: none; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); background: rgba(120, 160, 255, .06); border: 1px solid var(--line); transition: all .3s; }
.chip:hover { color: var(--text); border-color: var(--line2); }
.chip.on { color: #fff; background: linear-gradient(120deg, #3a67f0, #5b8cff); border-color: transparent; box-shadow: 0 6px 16px rgba(50, 100, 255, .3); }
.chip .cnt { margin-left: 5px; opacity: .8; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click td { transition: background .25s; }
.tbl tr.click:hover td { background: rgba(120, 160, 255, .07); }
.tbl .ava { width: 32px; height: 32px; font-size: 12px; border-radius: 10px; }
.ucell { display: flex; align-items: center; gap: 10px; }
.ucell b { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ucell small { color: var(--faint); font-size: 12px; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.form2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form2 .full { grid-column: 1 / -1; }
.lbl { display: grid; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.prod { border-radius: 20px; background: linear-gradient(160deg, rgba(24, 36, 88, .45), rgba(10, 16, 46, .55)); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; animation: pgIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
.prod.open { border-color: var(--line2); box-shadow: var(--shadow2); }
.prod .ph2 { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; }
.prod .ph2 .grow { flex: 1; min-width: 0; }
.prod .ph2 .nm { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 800; }
.prod .pr3 { display: flex; gap: 12px; font-size: 13px; color: var(--muted); flex-wrap: wrap; margin-top: 3px; }
.prod .pr3 b { color: var(--text); font-family: Unb; letter-spacing: -.03em; }
.prod .chev { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(120, 160, 255, .08); transition: transform .5s var(--spring); flex: none; }
.prod .chev svg { width: 14px; height: 14px; stroke: var(--muted); fill: none; stroke-width: 2.4; }
.prod.open .chev { transform: rotate(180deg); }
.prod .pbody { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.prod.open .pbody { grid-template-rows: 1fr; }
.prod .pbody > div { overflow: hidden; }
.prod .pin { padding: 4px 16px 18px; display: grid; gap: 12px; }
.pricein { position: relative; }
.pricein input { font: 800 22px Unb !important; letter-spacing: -.03em; padding-right: 36px !important; }
.pricein::after { content: "₽"; position: absolute; right: 14px; top: 50%; translate: 0 -50%; color: var(--muted); font-weight: 800; }
.prevs { display: flex; gap: 8px; flex-wrap: wrap; }
.prevs span { padding: 6px 11px; border-radius: 11px; font-size: 13px; background: rgba(6, 10, 30, .45); border: 1px solid var(--line); color: var(--muted); }
.prevs b { color: var(--text); }
.off { opacity: .5; }
.logi { display: flex; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.logi:last-child { border-bottom: 0; }
.logi time { flex: none; width: 112px; color: var(--faint); font-size: 12.5px; }
.logi b { color: #b9d4ff; }
.paystat { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: rgba(6, 10, 30, .45); border: 1px solid var(--line); }
.paystat .dot2 { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.paystat .dot2.on { background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.paystat .dot2.off { background: var(--warn); box-shadow: 0 0 12px var(--warn); }
.uhead { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.uhead .ava { width: 60px; height: 60px; border-radius: 18px; font-size: 24px; }
.uhead h2 { font: 800 clamp(24px, 3vw, 34px)/1.1 Unb; letter-spacing: -.05em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mini { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mini:last-child { border-bottom: 0; }
.mini span { color: var(--muted); }
.ord .oh .ref { font-size: 12px; color: var(--faint); }
@media (max-width: 980px) {
  .adm { grid-template-columns: 1fr; }
  .aside { position: static; display: flex; overflow-x: auto; scrollbar-width: none; padding: 6px; gap: 4px; border-radius: 999px; }
  .aside::-webkit-scrollbar { display: none; }
  .aside .ah { display: none; }
  .aside a { flex: none; padding: 9px 14px; border-radius: 999px; }
  .aside a svg { display: none; }
  .agrid { grid-template-columns: 1fr; }
  .form2 { grid-template-columns: 1fr; }
  .tblw { -webkit-overflow-scrolling: touch; }
}
@media (max-width: 560px) {
  .pcard { padding: 22px; border-radius: 24px; }
  .mp.lg { --h: 44px; }
  .kpi b { font-size: 22px; }
}

/* фиксы переполнения на узких экранах */
.form2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.fl, .fl > *, .agrid > *, .form2 > * { min-width: 0; }
.plain { min-width: 0; max-width: 100%; }
.hint code, .box2 code { word-break: break-all; }
@media (max-width: 980px) { .form2 { grid-template-columns: minmax(0, 1fr); } }

/* ═════════════════ Топ-1: Claude Pro ═════════════════ */
.pill-top1 { cursor: pointer; transition: border-color .3s, box-shadow .3s, transform .45s var(--soft); }
.pill-top1 b { background: linear-gradient(120deg, #d97757, #f0a77f) !important; box-shadow: 0 0 14px rgba(217, 119, 87, .55); }
.pill-top1:hover { border-color: rgba(240, 167, 127, .5); box-shadow: 0 0 24px rgba(217, 119, 87, .25); }
.pill-top1 .ar { color: #f0a77f; transition: transform .45s var(--spring); }
.pill-top1:hover .ar { transform: translateX(3px); }
.crown { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 9px; border-radius: 999px; font: 800 11px Unb; letter-spacing: .1em; text-transform: uppercase; color: #ffe1cf;
  background: linear-gradient(120deg, rgba(217, 119, 87, .32), rgba(240, 167, 127, .14)); border: 1px solid rgba(240, 167, 127, .45); box-shadow: 0 0 22px rgba(217, 119, 87, .3); white-space: nowrap; }
.crown svg { width: 14px; height: 14px; fill: #ffc9a8; filter: drop-shadow(0 0 4px rgba(255, 190, 150, .9)); animation: mpStar 2.8s ease-in-out infinite; }
@property --t1a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.card.top1 { grid-column: span 2; padding: 26px; border: 1.5px solid transparent;
  background: radial-gradient(70% 90% at 85% 40%, rgba(217, 119, 87, .22), transparent 65%) padding-box, linear-gradient(160deg, rgba(30, 44, 110, .7), rgba(10, 16, 46, .85)) padding-box,
    conic-gradient(from var(--t1a), rgba(240, 167, 127, .9), rgba(120, 170, 255, .5), rgba(198, 169, 255, .6), rgba(240, 167, 127, .9)) border-box;
  box-shadow: 0 24px 70px rgba(10, 20, 90, .5), 0 0 50px rgba(217, 119, 87, .14); animation: t1spin 7s linear infinite; }
@keyframes t1spin { to { --t1a: 360deg; } }
.card.top1 .crown { position: absolute; top: 18px; right: 18px; z-index: 2; }
.card.top1::after { display: none; }
.t1in { display: flex; gap: 20px; align-items: stretch; height: 100%; }
.t1l { flex: 1.2; display: flex; flex-direction: column; min-width: 0; }
.t1r { flex: 1; display: grid; place-items: center; min-width: 0; }
.card.top1 h3 { font-size: 24px; }
.t1d { margin-top: 12px; color: var(--text2); font-size: 14.5px; }
.card.top1 ul { margin: 14px 0 16px; }
.card.top1 .price b { font-size: 36px; }
.btn.big { padding: 16px 26px; font-size: 15.5px; }
.t1img, .pimg { position: relative; width: min(230px, 100%); aspect-ratio: 148 / 162; animation: t1float 6s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(217, 119, 87, .35)) drop-shadow(0 0 30px rgba(80, 140, 255, .35)); }
.t1img img, .pimg img { width: 100%; height: 100%; object-fit: contain; }
.sheen1 { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; mix-blend-mode: overlay; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 220, 200, .9) 45%, rgba(255, 255, 255, .95) 50%, rgba(170, 210, 255, .8) 56%, transparent 70%); background-size: 300% 100%; animation: sheenRun 4.5s ease-in-out infinite; }
@keyframes sheenRun { 0%, 30% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@keyframes t1float { 50% { transform: translateY(-12px) rotate(-3deg); } }
.card.top1:hover .t1img { animation-duration: 3s; }

/* промо-баннер */
.promo-s { padding-top: 80px; }
.promo { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.25fr .75fr; gap: 26px; align-items: center; padding: 44px; border-radius: 34px; border: 1.5px solid transparent;
  background: radial-gradient(60% 90% at 85% 50%, rgba(217, 119, 87, .3), transparent 65%) padding-box, radial-gradient(70% 100% at 0% 0%, rgba(60, 100, 255, .3), transparent 60%) padding-box, linear-gradient(160deg, #111b48, #080e2a) padding-box,
    conic-gradient(from var(--t1a), rgba(240, 167, 127, .85), rgba(120, 170, 255, .45), rgba(198, 169, 255, .55), rgba(240, 167, 127, .85)) border-box;
  box-shadow: 0 30px 90px rgba(10, 20, 90, .5), 0 0 70px rgba(217, 119, 87, .12); animation: t1spin 8s linear infinite; }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 40% 80%, #ffd9c4, transparent), radial-gradient(1.5px 1.5px at 70% 15%, #cfe4ff, transparent), radial-gradient(1px 1px at 90% 70%, #fff, transparent); opacity: .5; animation: tw 5s ease-in-out infinite; }
.promo h2 { margin: 18px 0 12px; font: 800 clamp(30px, 4.4vw, 56px)/1.02 Unb; letter-spacing: -.055em; }
.promo h2 em.ac { background: linear-gradient(100deg, #ffc9a8, #f0a77f 35%, #e2d4ff 65%, #ffc9a8); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; }
.promo p { color: var(--text2); max-width: 520px; font-size: 16.5px; }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pchips span { padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #ffe8da; background: rgba(217, 119, 87, .14); border: 1px solid rgba(240, 167, 127, .3); }
.pbuy { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.pbuy b { display: block; font: 800 40px/1 Unb; letter-spacing: -.055em; }
.pbuy small { display: block; font-size: 12.5px; color: var(--muted); }
.pr { position: relative; display: grid; place-items: center; min-height: 280px; }
.pimg { width: min(260px, 100%); }
.porb { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.porb i { position: absolute; width: var(--w, 90%); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(240, 167, 127, .22); animation: spinR2 var(--t, 20s) linear infinite; }
.porb i::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #ffd2b8; box-shadow: 0 0 12px 2px rgba(240, 150, 110, .9); }
.porb i:nth-child(2) { --w: 70%; --t: 14s; animation-direction: reverse; border-color: rgba(120, 170, 255, .22); }
.porb i:nth-child(2)::after { background: #cfe4ff; box-shadow: 0 0 12px 2px rgba(110, 170, 255, .9); }
.porb i:nth-child(3) { --w: 112%; --t: 30s; border-style: dashed; border-color: rgba(198, 169, 255, .14); }
.porb i:nth-child(3)::after { display: none; }
@keyframes spinR2 { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .card.top1 { grid-column: auto; }
  .t1in { flex-direction: column-reverse; }
  .t1img { width: 150px; }
  .card.top1 .crown { position: static; align-self: flex-start; margin-bottom: 12px; order: -1; }
  .card.top1 { display: flex; flex-direction: column; }
  .promo { grid-template-columns: 1fr; padding: 28px 22px; text-align: left; }
  .pr { min-height: 200px; order: -1; }
  .pimg { width: 170px; }
  .pbuy b { font-size: 32px; }
  .pbuy .btn { width: 100%; }
}

/* ═════════════════ заголовок героя ═════════════════ */
h1.ttl { font: 800 clamp(52px, 8.4vw, 112px)/.95 Unb; letter-spacing: -.065em; margin: 26px 0 22px; }
h1.ttl .l { position: relative; display: block; width: max-content; max-width: 100%; }
h1.ttl .l > span { opacity: 0; transform: translateY(45%) scale(.96); filter: blur(14px); transition: transform 1.4s var(--ease), opacity 1.1s var(--ease), filter 1.2s var(--ease); transition-delay: calc(.15s + var(--i) * .16s); }
.ready h1.ttl .l > span { opacity: 1; transform: none; filter: none; }
h1.ttl .w1 { background: radial-gradient(260px circle at var(--tx, 30%) var(--ty, 45%), #ffffff 0%, rgba(255, 255, 255, .0) 60%), linear-gradient(180deg, #f6f8ff 0%, #dde6ff 42%, #8faeff 72%, #c9d6ff 100%) !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent; filter: drop-shadow(0 0 34px rgba(80, 140, 255, .35)); }
.ready h1.ttl .l > .w1 { filter: drop-shadow(0 0 34px rgba(80, 140, 255, .35)); }
h1.ttl .w2 { background: radial-gradient(240px circle at var(--tx, 50%) var(--ty, 50%), rgba(255, 255, 255, .95), transparent 60%), linear-gradient(100deg, #8fd0ff, #a9b8ff 30%, #c6a9ff 55%, #ffc9e8 75%, #8fd0ff) !important;
  background-size: 100% 100%, 220% 100% !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent; animation: gr2 10s linear infinite; }
.ready h1.ttl .l > .w2 { filter: drop-shadow(0 0 30px rgba(150, 140, 255, .35)); }
@keyframes gr2 { to { background-position: 0 0, -220% 0; } }
h1.ttl .swoosh { position: absolute; left: 2%; right: 0; bottom: -.12em; width: 98%; height: .22em; overflow: visible; }
h1.ttl .swoosh path { fill: none; stroke: url(#swg); stroke-width: 5; stroke-linecap: round; stroke: #8fd0ff; filter: drop-shadow(0 0 8px rgba(120, 180, 255, .9)); stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.4s var(--ease) 1.1s; }
.ready h1.ttl .swoosh path { stroke-dashoffset: 0; }
@media (max-width: 980px) { h1.ttl .l { margin: 0 auto; } }
@media (max-width: 560px) { h1.ttl { font-size: clamp(46px, 14vw, 64px); } }
html.touch h1.ttl .l > span { filter: none; }
@media (min-width: 981px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
h1.ttl { font-size: clamp(48px, 6.3vw, 92px); }
@media (max-width: 560px) { h1.ttl { font-size: clamp(46px, 14vw, 64px); } }

/* ═════ заголовок: перелив как в моушене — бегущий блик, текучий цвет, искры ═════ */
h1.ttl .w1 {
  background:
    radial-gradient(260px circle at var(--tx, 30%) var(--ty, 45%), rgba(255, 255, 255, .95), transparent 60%),
    linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .95) 47%, rgba(200, 225, 255, .95) 50%, transparent 60%),
    linear-gradient(90deg, rgba(143, 208, 255, .35), rgba(198, 169, 255, .4), rgba(255, 201, 232, .3), rgba(143, 208, 255, .35)),
    linear-gradient(180deg, #f6f8ff 0%, #dde6ff 42%, #8faeff 72%, #c9d6ff 100%) !important;
  background-size: 100% 100%, 260% 100%, 220% 100%, 100% 100% !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent;
  animation: ttlFlow1 7s linear infinite; }
@keyframes ttlFlow1 {
  0% { background-position: 0 0, 170% 0, 0 0, 0 0; }
  40% { background-position: 0 0, -70% 0, -88% 0, 0 0; }
  100% { background-position: 0 0, -70% 0, -220% 0, 0 0; } }
h1.ttl .w2 {
  background:
    radial-gradient(240px circle at var(--tx, 50%) var(--ty, 50%), rgba(255, 255, 255, .9), transparent 60%),
    linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .9) 48%, transparent 58%),
    linear-gradient(100deg, #8fd0ff, #a9b8ff 25%, #c6a9ff 50%, #ffc9e8 75%, #8fd0ff) !important;
  background-size: 100% 100%, 260% 100%, 220% 100% !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent;
  animation: ttlFlow2 7s linear infinite; }
@keyframes ttlFlow2 {
  0% { background-position: 0 0, 170% 0, 0 0; }
  20% { background-position: 0 0, 170% 0, -44% 0; }
  60% { background-position: 0 0, -70% 0, -132% 0; }
  100% { background-position: 0 0, -70% 0, -220% 0; } }
/* искры на буквах */
h1.ttl .gl { position: absolute; width: .16em; height: .16em; pointer-events: none; background: #fff; opacity: 0;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 12px rgba(140, 190, 255, .9)); animation: glint 4.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes glint { 0%, 70%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 80% { opacity: 1; transform: scale(1) rotate(45deg); } 90% { opacity: 0; transform: scale(.4) rotate(90deg); } }
/* свечение «дышит» */
.ready h1.ttl .l > .w1 { animation: ttlFlow1 7s linear infinite, ttlGlow 7s ease-in-out infinite; }
@keyframes ttlGlow { 0%, 100% { filter: drop-shadow(0 0 26px rgba(80, 140, 255, .3)); } 40% { filter: drop-shadow(0 0 40px rgba(120, 170, 255, .55)); } }

/* ═════ видео Claude Motion в карточке Топ-1 и баннере ═════ */
.mvid { position: relative; display: block; width: min(250px, 100%); aspect-ratio: 1; border-radius: 26px; overflow: visible; isolation: isolate;
  box-shadow: 0 0 0 1.5px rgba(240, 167, 127, .55), 0 20px 50px rgba(5, 10, 50, .6), 0 0 50px rgba(217, 119, 87, .25); transition: transform .6s var(--soft), box-shadow .5s; animation: t1float 7s ease-in-out infinite; }
.mvid.big { width: min(300px, 100%); }
.mvid video { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; background: #0a1130; }
.mvid::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(160deg, rgba(255, 255, 255, .16), transparent 35%), linear-gradient(0deg, rgba(5, 8, 30, .75), transparent 45%); }
.mvid:hover { transform: scale(1.03) rotate(-1deg); box-shadow: 0 0 0 1.5px rgba(255, 190, 150, .8), 0 26px 60px rgba(5, 10, 50, .7), 0 0 70px rgba(217, 119, 87, .4); }
.mbadge { position: absolute; z-index: 2; left: -16px; top: -16px; width: 64px; height: 64px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5)); animation: t1float 5s ease-in-out infinite reverse; }
.mbadge img { width: 100%; height: 100%; object-fit: contain; }
.mvid.big .mbadge { width: 78px; height: 78px; left: -20px; top: -20px; }
.mcap { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 7px; font: 800 11px Unb; letter-spacing: .06em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.mcap i { width: 7px; height: 7px; border-radius: 50%; background: #ff5b5b; box-shadow: 0 0 10px #ff5b5b; animation: pulse 1.6s ease-in-out infinite; flex: none; }
.t1d b, .promo p b { color: #ffd2b8; }
/* двойной значок комбо */
.ic.duo { background: none; box-shadow: none; overflow: visible; }
.ic.duo img { position: absolute; width: 78%; height: 78%; object-fit: cover; border-radius: 12px; box-shadow: 0 6px 14px rgba(0, 10, 50, .5); }
.ic.duo img:first-child { left: 0; top: 0; z-index: 2; transform: scale(1.12); }
.ic.duo img:last-child { right: 0; bottom: 0; transform: scale(1.12); opacity: .95; }
@media (max-width: 760px) { .mvid { width: min(220px, 80%); margin: 6px auto 4px; } .mvid.big { width: min(240px, 80%); } }
.card:has(> .tag) .top { padding-right: 64px; }
.card .top > div:last-child { min-width: 0; }

/* ═════ значок «Партнёр» — золотой ═════ */
.mp.gold { background: linear-gradient(135deg, #2a1d10, #170f08) padding-box, conic-gradient(from var(--mpa), #ffd27a, #ff9f5a, #fff1c9, #ffb86b, #ffd27a) border-box; box-shadow: 0 0 22px rgba(255, 180, 90, .3), inset 0 1px 0 rgba(255, 255, 255, .1); }
.mp.gold .mi { background: conic-gradient(from var(--mpa), #ffd27a, #ff9f5a, #fff1c9, #ffb86b, #ffd27a); box-shadow: 0 0 14px rgba(255, 190, 110, .7); }
.mp.gold .mi::before { background: radial-gradient(circle at 35% 30%, #5a3a12, #1d1206); }
.mp.gold .mt { background: linear-gradient(100deg, #fff1c9, #ffd27a 35%, #ffb86b 55%, #fff1c9 80%, #ffd27a); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.mp.gold.lg { box-shadow: 0 0 40px rgba(255, 180, 90, .35), inset 0 1px 0 rgba(255, 255, 255, .12); }
.rolepick { margin-bottom: 4px; }
.rolepick .chip { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.tgrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(6, 10, 30, .4); border: 1px solid var(--line); }
