/* Сайт экономика-рм.рф */
:root { color-scheme: light; --wrap: 1180px; --line: #171212; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--f-text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

h1, h2, h3 { font-family: var(--f-display); letter-spacing: -.02em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 700; max-width: 22ch; text-wrap: balance; }
h3 { font-size: 19px; font-weight: 700; }
.kicker { font: 600 12px var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.kicker.light { color: var(--ochre); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; }
.eyebrow .dot { width: 9px; height: 9px; background: var(--c, var(--red)); transform: rotate(45deg); }
.big-p { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; margin: 0; }
.sub-p { margin: 12px 0 0; opacity: .75; }
.block { padding: clamp(56px, 8vw, 104px) 16px 0; }
@media (min-width: 720px) { .block { padding-left: 32px; padding-right: 32px; } }
.two { display: grid; gap: 28px; }
@media (min-width: 900px) { .two { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }

.btn, .btn-s { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 15px var(--f-display); background: var(--red); color: #fff;
  padding: 15px 24px; border-radius: 99px; border: 2px solid var(--red); transition: transform .15s, background .15s; }
.btn:hover, .btn-s:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-s { padding: 10px 18px; font-size: 13px; background: var(--ink); border-color: var(--ink); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* шапка */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(247,241,230,.92); backdrop-filter: blur(8px); border-bottom: 1.5px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 13px/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.logo .lg { width: 38px; height: 38px; flex: none; }
.hdr nav { display: none; gap: 26px; font-weight: 600; font-size: 15px; }
.hdr nav a { text-decoration: none; }
.hdr nav a:hover { color: var(--red); }
@media (min-width: 820px) { .hdr nav { display: flex; } }

/* hero */
.hero { border-bottom: 1.5px solid var(--line); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background-image: var(--orn-red); background-size: auto 100%; border-top: 1.5px solid var(--line); }
.hero-in { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 72px; align-items: center; }
@media (min-width: 1000px) { .hero-in { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; padding-top: 64px; padding-bottom: 96px; } }
.hero-t { container-type: inline-size; min-width: 0; }
.hero h1 { font-size: min(80px, 11.4cqw); font-weight: 800; margin-top: 22px; text-transform: uppercase; letter-spacing: -.045em; line-height: .92; }
.hero h1 em { font-style: normal; color: var(--red); font-size: .56em; letter-spacing: -.02em; display: inline-block; margin-top: .18em; }
.slogan { font: 500 clamp(13px, 1.5vw, 16px) var(--f-display); letter-spacing: .28em; text-transform: uppercase; margin: 22px 0 0; }
.lead { font-size: clamp(17px, 1.8vw, 20px); margin: 20px 0 0; max-width: 54ch; }
.board-wrap { container-type: inline-size; width: 100%; max-width: 620px; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(23,18,18,.22)); }
.board-wrap .board { --u: calc(100cqw / 503); }

/* зачем */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-top: 32px; }
.facts div { border-top: 3px solid var(--line); padding-top: 12px; }
.facts b { font: 800 44px/1 var(--f-display); color: var(--red); display: block; }
.facts span { font-size: 15px; }

/* колоды */
.decks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; margin-top: 40px; }
.deck-t .g { --u: 3.6px; margin-bottom: 16px; }
.deck-t .card { box-shadow: 0 10px 26px rgba(23,18,18,.18); border: 1.5px solid var(--line); transition: transform .2s; }
.deck-t:hover .card { transform: rotate(-2deg) translateY(-4px); }
.deck-t p { margin: 6px 0 0; font-size: 15px; opacity: .75; }

/* наставники */
.mentors-sec { background: var(--ink); color: var(--paper); margin-top: clamp(56px, 8vw, 104px); padding: clamp(56px, 8vw, 96px) 0; position: relative; }
.mentors-sec::before, .mentors-sec::after { content: ""; position: absolute; left: 0; right: 0; height: 16px; background-image: var(--orn-red); background-size: auto 100%; }
.mentors-sec::before { top: 0; } .mentors-sec::after { bottom: 0; }
.mentors-sec .two { align-items: center; }
.mentors-sec .big-p { margin-top: 22px; opacity: .9; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: center; font-weight: 600; }
.steps li::before { content: counter(s); flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: var(--red); font: 700 14px var(--f-display); transform: rotate(45deg); }
.m-demo, .co-card { display: flex; flex-direction: column; align-items: center; }
.hint { font-size: 13px; opacity: .65; margin: 14px 0 0; }

.flip { --u: 5px; width: calc(63 * var(--u)); height: calc(88 * var(--u)); perspective: 1400px; cursor: pointer; outline: none; }
@media (max-width: 380px) { .flip { --u: 4.6px; } }
.flip-in { position: relative; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.3,.7,.2,1); transform-style: preserve-3d; }
.flip.on .flip-in { transform: rotateY(180deg); }
.flip:focus-visible .flip-in { box-shadow: 0 0 0 4px var(--ochre); border-radius: 15px; }
.flip .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip .face .card { box-shadow: 0 18px 40px rgba(0,0,0,.35); border: 1.5px solid var(--line); }
.flip .backf { transform: rotateY(180deg); }
.flip:hover:not(.on) .flip-in { transform: rotateY(-10deg); }

/* предприятия */
.grp { margin-top: 40px; }
.grp-h { display: flex; align-items: center; gap: 12px; font: 700 15px var(--f-display); text-transform: uppercase; letter-spacing: .08em; padding-bottom: 12px; border-bottom: 1.5px solid var(--line); }
.grp-h span { width: 22px; height: 22px; border: 1.5px solid var(--line); }
.ccs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 14px; }
.cc { display: grid; grid-template-columns: 48px 1fr 24px; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-decoration: none;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: background .15s, transform .15s; }
.cc:hover { transform: translateY(-2px); background: var(--c); color: var(--ci); }
.cc-ic { grid-row: span 2; width: 48px; height: 48px; background: var(--c); color: var(--ci); display: grid; place-items: center; font-size: 24px; border-radius: 8px; border: 1.5px solid var(--line); }
.cc-ic svg, .cc-go svg, .rel svg { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cc b { font-size: 16px; line-height: 1.2; }
.cc small { opacity: .65; font-size: 13px; }
.cc-go { grid-row: 1 / span 2; grid-column: 3; font-size: 20px; }

/* форматы */
.fmt { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 36px; }
.fmt > div { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 24px; }
.fmt p { margin: 10px 0 0; font-size: 16px; }
.fmt small { font: 600 11px var(--f-display); background: var(--ochre); padding: 3px 8px; border-radius: 99px; vertical-align: middle; letter-spacing: .06em; text-transform: uppercase; }

/* партнёры / отклик */
.partners, .apply { background: var(--red); color: #fff; border-radius: 20px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 28px; position: relative; overflow: hidden; border: 1.5px solid var(--line); }
@media (min-width: 900px) { .partners, .apply { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.partners p, .apply p { margin: 16px 0 0; font-size: 17px; opacity: .95; }
.partners ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.partners li { background: rgba(0,0,0,.18); padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.apply { background: var(--ink); }
.contacts { display: grid; gap: 10px; }
.contacts div { background: rgba(255,255,255,.08); border-radius: 10px; padding: 14px 18px; }
.contacts span { display: block; font-size: 13px; opacity: .65; }
.contacts b { font-size: 17px; }

/* страница компании */
.draft { background: var(--ochre); text-align: center; font-size: 14px; font-weight: 600; padding: 9px 16px; border-bottom: 1.5px solid var(--line); }
.co-hero { background: var(--c); color: var(--ci); border-bottom: 1.5px solid var(--line); position: relative; }
.co-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background-image: var(--orn-band); background-size: auto 100%; opacity: .55; }
.co-hero-in { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 72px; align-items: center; }
@media (min-width: 960px) { .co-hero-in { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); } }
.co-hero .eyebrow { color: var(--ink); }
.co-hero h1 { font-size: clamp(28px, 4.6vw, 56px); font-weight: 800; margin-top: 22px; text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
.co-hero .lead { opacity: .92; }
.co-hero h1.long { font-size: clamp(24px, 3.2vw, 36px); hyphens: manual; overflow-wrap: break-word; }
.co-hero .flip .face .card { box-shadow: 0 0 0 6px var(--paper), 0 22px 44px rgba(0,0,0,.35); }
.co-hero .btn { background: var(--ink); border-color: var(--ink); }
.co-hero .btn.ghost { background: transparent; color: var(--ci); border-color: currentColor; }
.co-hero .hint { color: var(--ci); }

.adv { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.adv li { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 22px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.adv .n { display: block; font: 800 15px var(--f-display); color: var(--c); margin-bottom: 18px; -webkit-text-stroke: .3px var(--line); }

.video { margin-top: 32px; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; border: 1.5px solid var(--line); background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; }
.ph-video { background: linear-gradient(135deg, var(--ink), #3a2a28); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.ph-video .play { width: 84px; height: 84px; border-radius: 50%; background: var(--c); color: var(--ci); display: grid; place-items: center; font-size: 34px; border: 2px solid var(--paper); }
.ph-video .play svg { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; }
.ph-video p { font: 700 20px var(--f-display); margin: 18px 0 6px; }
.ph-video small { opacity: .7; }

.vacs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 36px; }
.vac { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.vac p { margin: 0 0 8px; font-size: 15px; opacity: .8; flex: 1; }
.tag { font: 600 11px var(--f-display); text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 99px; background: var(--paper-2); border: 1.5px solid var(--line); }
.tag.t-int { background: var(--ochre); }

.path { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; counter-reset: p; }
.path li { counter-increment: p; padding: 22px 22px 22px 0; border-top: 3px solid var(--line); position: relative; }
.path li::before { content: counter(p); position: absolute; top: -17px; left: 0; width: 30px; height: 30px; background: var(--c); color: var(--ci); border: 1.5px solid var(--line); display: grid; place-items: center; font: 700 13px var(--f-display); transform: rotate(45deg); }
.path li b { display: block; font: 700 19px var(--f-display); margin: 18px 0 8px; }
.path li span { font-size: 15px; opacity: .8; }

.rels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.rel { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; text-decoration: none; font-weight: 600; }
.rel svg { color: var(--c); font-size: 20px; }
.rel:hover { background: var(--c); }

/* подвал */
.ftr { margin-top: clamp(64px, 9vw, 120px); background: var(--ink); color: var(--paper); }
.orn-line { height: 16px; background-image: var(--orn-red); background-size: auto 100%; }
.ftr-in { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 52px; }
@media (min-width: 820px) { .ftr-in { grid-template-columns: 2fr 1fr; } }
.ftr p { font-size: 15px; opacity: .75; max-width: 52ch; }

/* наставник на странице компании */
.mentor-b { display: grid; gap: 28px; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 44px); }
@media (min-width: 760px) { .mentor-b { grid-template-columns: 180px 1fr; gap: 44px; } }
.mb-ph { width: 180px; height: 180px; border-radius: 50%; background: var(--paper-2); border: 1.5px solid var(--line); box-shadow: 0 0 0 8px var(--c); display: grid; place-items: center; font-size: 84px; color: #b7a78f; }
.mb-ph svg { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.4; }
.mb-role { margin: 10px 0 0; font-weight: 600; color: var(--red-deep); }
.mentor-b blockquote { margin: 18px 0 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; }
.mb-sk { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.mb-sk span { border: 1.5px solid var(--line); border-radius: 99px; padding: 4px 12px; }

/* главная: остальные предприятия */
.also { margin-top: 48px; font-size: 18px; }
.grps { display: grid; gap: 10px; margin-top: 16px; }
.grp-s { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 0; border-top: 1.5px solid var(--line); font-size: 15px; }
.grp-s b { margin-right: 6px; }
.grp-s .sw { width: 16px; height: 16px; border: 1.5px solid var(--line); }
.chip { background: #fff; border: 1.5px solid var(--line); border-radius: 99px; padding: 4px 12px; }
#companies > .ccs { margin-top: 28px; }
.mentor-b blockquote.tip { font-size: 18px; background: var(--paper); border-left: 4px solid var(--c); padding: 14px 18px; border-radius: 0 10px 10px 0; }

/* ═══════════ ДЕМО ИГРЫ ═══════════ */
.demo { padding: 24px 0 0; }
.demo-in { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1080px) { .demo-in { grid-template-columns: minmax(0, 1fr) 330px; } }
.demo-bw { max-width: min(860px, 86vh); filter: none; box-shadow: 0 20px 50px rgba(23,18,18,.18); }
#tokens { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.tok { position: absolute; width: 4.2%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,.45); color: #fff; font: 700 clamp(9px, 1.4cqw, 15px)/1 var(--f-display); display: grid; place-items: center;
  transition: left .17s ease, top .17s ease; z-index: 3; }
.tok.act { outline: 3px solid var(--ochre); outline-offset: 1px; z-index: 4; }
.own { position: absolute; width: 2.6%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(45deg); border: 1.5px solid #fff;
  color: #fff; font: 700 clamp(7px, 1cqw, 11px)/1 var(--f-display); display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.d-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 6; background: rgba(255,255,255,.94);
  border: 1.5px solid var(--line); border-radius: 18px; padding: 3.2cqw 4cqw; display: flex; flex-direction: column; align-items: center; gap: 1.6cqw;
  box-shadow: 0 14px 40px rgba(0,0,0,.2); min-width: 34cqw; }
.d-center .btn { font-size: clamp(12px, 1.9cqw, 16px); padding: 1.6cqw 3.2cqw; }
.d-center .btn:disabled { opacity: .45; transform: none; cursor: default; }
.dice { display: flex; gap: 1.6cqw; }
.die { font-size: clamp(34px, 8cqw, 72px); line-height: .9; color: var(--ink); }
.turn { font: 600 clamp(12px, 1.9cqw, 17px) var(--f-display); }

.d-side { display: grid; gap: 14px; }
.panel { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.panel .kicker { margin-bottom: 10px; }
.panel .small { font-size: 13px; opacity: .7; margin: 0 0 10px; }
.row { display: flex; gap: 8px; }
.row select { flex: 1; font: 500 14px var(--f-text); padding: 8px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; }
.chk { display: flex; gap: 8px; align-items: center; font-size: 14px; margin-top: 12px; cursor: pointer; }
.pl { display: grid; grid-template-columns: 30px 1fr auto; gap: 4px 10px; align-items: center; padding: 8px; border-radius: 10px; }
.pl.on { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.pc { width: 30px; height: 30px; border-radius: 50%; color: #fff; display: grid; place-items: center; font: 700 13px var(--f-display); grid-row: span 2; }
.mn { font: 700 15px var(--f-display); }
.mn.neg { color: var(--red); }
.props { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: 3px; min-height: 4px; }
.props i { width: 12px; height: 16px; border: 1px solid var(--line); border-radius: 2px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stats b { font: 800 30px/1 var(--f-display); color: var(--red); display: block; }
.stats span { font-size: 13px; }
#log { margin: 0; padding-left: 18px; max-height: 260px; overflow: auto; font-size: 13.5px; display: grid; gap: 5px; }
#log li:first-child { font-weight: 600; }

.ov { position: fixed; inset: 0; z-index: 50; background: rgba(23,18,18,.55); backdrop-filter: blur(3px); display: flex; justify-content: center; align-items: flex-start; padding: 16px; overflow: auto; }
.ov > .sheet-m { margin: auto; }
.ov.hide { display: none; }
.sheet-m { background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); max-width: 920px; width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(14px) scale(.97); opacity: 0; } }
.setup { max-width: 520px; text-align: center; }
.setup h2 { margin: 0 auto; }
.setup p { margin: 14px 0 22px; }
.setup p.who { margin-top: -8px; font-size: 18px; }
.setup-b { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.m-act { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.m-act .btn { padding: 12px 22px; }

.cm { display: grid; gap: 24px; }
@media (min-width: 760px) { .cm { grid-template-columns: auto 1fr; } }
.cm-card { display: flex; flex-direction: column; align-items: center; }
.cm .flip, .cm .nofl { --u: 4.4px; }
.cm .nofl .card { border: 1.5px solid var(--line); box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.heart-h { display: inline-flex; align-items: center; gap: 10px; font: 700 12px var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--red); animation: beat 1s infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.45); } 30% { transform: scale(1); } 45% { transform: scale(1.3); } }
.tabs { display: flex; gap: 6px; margin: 14px 0; flex-wrap: wrap; }
.tabs button { font: 600 13px var(--f-text); padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.tabs button.on { background: var(--ink); color: #fff; }
.tab.hide { display: none; }
.tab h3 { font-size: 22px; }
.tab .tg { font-weight: 600; color: var(--red-deep); margin: 8px 0; }
.tab p { margin: 8px 0; font-size: 15.5px; }
.tab .ld { font-size: 13.5px; opacity: .75; }
.tab .big { font-size: 19px; line-height: 1.45; }
.vc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.vc span { background: #fff; border: 1.5px solid var(--line); border-radius: 99px; padding: 4px 12px; font-size: 13px; }
.qrl { margin-top: 10px; }
.situ { margin-top: 16px; padding: 12px 16px; background: #fff; border-radius: 10px; border: 1.5px dashed var(--line); font-size: 15px; }
.dc { display: grid; gap: 22px; align-items: center; }
@media (min-width: 680px) { .dc { grid-template-columns: auto 1fr; } }
.dc-card { --u: 4.2px; display: flex; justify-content: center; }
.dc-card .card { border: 1.5px solid var(--line); box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.dc-t h3 { font-size: 24px; }
.dc-t .ls { opacity: .75; font-size: 15px; }
.simple { text-align: center; padding: 10px 0; }
.simple h3 { font-size: 26px; margin: 6px 0 10px; }
.sheet-m:has(.simple) { max-width: 460px; }
.co-logo { display: inline-flex; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 16px; margin-bottom: 16px; height: 64px; }
.co-logo img { height: 100%; width: auto; max-width: 260px; object-fit: contain; }
.co-logo + .eyebrow { display: flex; width: fit-content; }

/* партнёры игры */
.sp-wall { padding-top: 48px; }
.sp-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; max-width: 980px; }
.spl { height: 72px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 14px 18px; overflow: hidden;
  text-decoration: none; position: relative; transition: transform .15s, box-shadow .15s; box-shadow: inset 0 -5px 0 var(--c); }
.spl:hover { transform: translateY(-3px); box-shadow: inset 0 -5px 0 var(--c), 0 10px 24px rgba(23,18,18,.15); }
.spl img { max-width: 100%; max-height: 100%; object-fit: contain; }
.spl b { font: 800 13px var(--f-display); text-align: center; letter-spacing: -.01em; }
.sp-badge { display: inline-block; background: var(--ink); color: var(--ochre); font: 700 12px var(--f-display); letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; margin-bottom: 12px; }
.demo .cell.sp::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 calc(1.3*var(--u)) var(--ochre); animation: spglow 2.2s ease-in-out infinite; pointer-events: none; }
@keyframes spglow { 50% { box-shadow: inset 0 0 0 calc(1.3*var(--u)) var(--ochre), inset 0 0 calc(6*var(--u)) rgba(217,163,63,.9); } }
.dod { background: var(--ochre); color: var(--ink); border-radius: 8px; padding: 8px 12px; margin-bottom: 10px; font-weight: 600; }

/* отчёт для партнёра */
.rep-hero { padding-top: 48px; }
.rep-hero h1 { font-size: clamp(28px, 4.4vw, 52px); font-weight: 800; margin-top: 8px; max-width: 22ch; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 28px; }
.kpis > div { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: inset 0 -5px 0 var(--c); }
.kpis b { display: block; font: 800 40px/1 var(--f-display); color: var(--red); }
.kpis span { display: block; margin-top: 10px; font-size: 14px; }
.chart { margin-top: 18px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.ch-h { font-size: 13px; opacity: .7; margin-bottom: 12px; }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; height: 160px; align-items: end; }
.bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.bar i { width: 100%; min-height: 2px; background: var(--c); border: 1px solid var(--line); border-radius: 4px 4px 0 0; }
.bar em { font: 700 11px var(--f-display); font-style: normal; order: -1; margin-bottom: 4px; }
.bar span { font-size: 10px; opacity: .6; margin-top: 4px; }
.places { list-style: none; counter-reset: pl; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.places li { counter-increment: pl; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 20px 18px 62px; position: relative; }
.places li::before { content: counter(pl); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; background: var(--ochre); border: 1.5px solid var(--line);
  display: grid; place-items: center; font: 700 13px var(--f-display); transform: rotate(45deg); }
.places b { display: block; font: 700 16px var(--f-display); margin-bottom: 6px; }
.places span { font-size: 14.5px; opacity: .85; }
.mats { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; align-items: flex-end; }
.mats figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mats .g { --u: 3.8px; }
.mats .card { border: 1.5px solid var(--line); box-shadow: 0 12px 28px rgba(23,18,18,.18); }
.mats .solo { position: relative; width: calc(40.89*var(--u)); height: calc(66*var(--u)); }
.mats .solo .cell { position: absolute; inset: 0; border: calc(.35*var(--u)) solid var(--ink); }
.mats .solo { filter: drop-shadow(0 12px 18px rgba(23,18,18,.18)); }
.mats figcaption { font-size: 13px; opacity: .7; }

/* ═══════════ ВЕРСИЯ 2 · ТРИ КРУГА ═══════════ */
.rboard { width: 100%; height: auto; display: block; }
.rboard .c { transition: filter .15s; }
.rboard .tk { transition: transform .2s ease; }
.rboard .tk.act circle { stroke: #D9A33F; stroke-width: 5; }
.rb-wrap { position: relative; max-width: min(860px, 82vh); margin: 0 auto; border-radius: 50%; box-shadow: 0 24px 60px rgba(23,18,18,.25); }
.v2demo .rb-wrap { border-radius: 50%; }
.d-center2 { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 18px auto 0; background: #fff; border: 1.5px solid var(--line);
  border-radius: 99px; padding: 10px 14px 10px 22px; width: fit-content; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.d-center2 .die { font-size: 44px; }
.d-center2 .turn { font: 600 15px var(--f-display); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: center; margin-top: 14px; font-size: 13px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 50%; background: var(--k); display: inline-block; }
.sks2 { gap: 5px !important; }
.skc { min-width: 22px; height: 22px; border-radius: 50%; background: var(--k); color: #fff; font: 700 11px var(--f-display); display: inline-grid; place-items: center; }
.pl .st { grid-column: 2 / 4; font-size: 12.5px; opacity: .75; }
.ofbar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.ofbar i { height: 16px; border-radius: 3px; background: #e9dcc7; border: 1px solid var(--line); }
.ofbar i.on { background: var(--red); }
.simple.win h3 { color: var(--red); }

.v2-hero { display: grid; gap: 36px; align-items: center; padding-top: 48px; }
@media (min-width: 1000px) { .v2-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.v2-hero h1 { font-size: clamp(44px, 7vw, 88px); font-weight: 800; text-transform: uppercase; letter-spacing: -.04em; margin-top: 20px; }
.v2-b { max-width: 620px; width: 100%; margin: 0 auto; border-radius: 50%; box-shadow: 0 24px 60px rgba(23,18,18,.25); }
.cmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 28px; }
.cmp > div { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 24px; }
.cmp > div.now { background: var(--ink); color: var(--paper); }
.cmp ul { margin: 12px 0 0; padding-left: 20px; line-height: 1.7; }
.cmp > div:first-child { opacity: .7; }
.rings3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 28px; }
.rings3 > div { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 22px; }
.rings3 > div.ctr { background: var(--red); color: #fff; }
.rings3 b { font: 700 18px var(--f-display); }
.rings3 p { font-size: 15px; margin: 10px 0 0; }
.sks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 4px 10px 4px 4px; border-radius: 99px; background: var(--paper); }
.sk svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--k); stroke: #fff; fill: none; stroke-width: 2; }
.rboard .tk { filter: drop-shadow(0 3px 4px rgba(0,0,0,.5)); }
@media (max-width: 700px) { .d-center2 { gap: 10px; padding: 8px 8px 8px 14px; } .d-center2 .die { font-size: 32px; } .d-center2 .turn { font-size: 13px; } .d-center2 .btn { padding: 10px 16px; font-size: 13px; } }
.hdr nav .nv2 sup { font: 700 9px var(--f-display); background: var(--red); color: #fff; padding: 1px 5px; border-radius: 99px; margin-left: 2px; vertical-align: 4px; }
.why-lead { margin-top: 18px; max-width: 62ch; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-top: 28px; }
.why-grid > div { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 22px; }
.why-grid .wn { display: block; font: 800 14px var(--f-display); color: var(--red); margin-bottom: 12px; }
.why-grid b { font: 700 17px var(--f-display); }
.why-grid p { margin: 8px 0 0; font-size: 15px; }
.why-one { margin-top: 16px; background: var(--ink); color: var(--paper); border-radius: 16px; padding: 22px 26px; font: 700 clamp(18px, 2.2vw, 24px)/1.3 var(--f-display); }
.why-one small { display: block; font: 600 11px var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--ochre); margin-bottom: 8px; }
