:root{--wine:#740726;--wine2:#4d0419;--ink:#0b0b0d;--gold:#f5b400;--gold2:#ffe27a;--teal:#3ee0b0;--teal2:#23a87f;--card:#fff;--text:#16181d;--muted:#5d6b7a;--line:#e6e9ee}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--ink);color:#fff;line-height:1.5;-webkit-text-size-adjust:100%}
a{color:inherit}
.wrap{max-width:1040px;margin:0 auto;padding:0 16px}
/* шапка */
.top{position:sticky;top:0;z-index:20;background:rgba(11,11,13,.92);backdrop-filter:blur(8px);border-bottom:1px solid rgba(255,255,255,.08)}
.top .wrap{display:flex;align-items:center;gap:10px;min-height:56px}
.brand{font-weight:800;font-size:15px;text-decoration:none;color:#fff;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand b{color:var(--gold)}
@media (max-width:759px){.brand{font-size:13.5px;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25}.brand b{display:none}.langs button{padding:7px 8px;min-width:38px}}
.langs{display:flex;gap:6px;flex:none}
/* На телефоне название в шапке переносится аккуратно по словам (16.11.2026). */
/* Три бирюзовые кнопки KZ · RU · EN — как на обложке игры (решение автора 16.11.2026). */
.langs button{border:0;background:#7fd9c9;color:#05302a;border-radius:999px;padding:8px 12px;font-family:inherit;font-weight:800;font-size:14px;line-height:1;cursor:pointer;min-width:44px;box-shadow:0 3px 0 #4fb3a3}
.langs button[aria-pressed="true"]{background:#fff;color:#740726;box-shadow:0 0 0 3px #7fd9c9}
.langs button:focus-visible,.btn:focus-visible,a:focus-visible{outline:3px solid var(--gold2);outline-offset:2px}
/* первый экран */
.hero{background:radial-gradient(120% 90% at 50% 0,#8d0a30 0,var(--wine) 45%,var(--wine2) 100%);padding:22px 0 30px;text-align:center;position:relative;overflow:hidden}
.age{position:absolute;left:16px;top:16px;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--wine);font-weight:800;font-size:15px;display:flex;align-items:center;justify-content:center}
.hero h1{font-size:clamp(22px,5.6vw,40px);line-height:1.18;margin:8px 56px 4px;text-shadow:0 2px 8px rgba(0,0,0,.45);text-wrap:balance}
.hero h1 span{display:block;font-size:.62em;font-weight:700;color:var(--gold2);letter-spacing:.04em;text-transform:uppercase;margin-bottom:4px}
.art{display:block;width:min(100%,760px);height:auto;margin:6px auto 0;border-radius:18px;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 9%);mask-image:linear-gradient(to bottom,transparent 0,#000 9%)}
.cta{display:flex;flex-direction:column;gap:10px;align-items:center;margin-top:16px}
.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:16px;padding:15px 34px;font-family:inherit;font-weight:800;font-size:19px;line-height:1.1;background:var(--teal);color:#05241b;box-shadow:0 5px 0 var(--teal2);text-decoration:none;cursor:pointer;min-width:240px}
.btn:active{transform:translateY(3px);box-shadow:0 2px 0 var(--teal2)}
.btn[aria-disabled="true"]{opacity:.75}
/* разделы */
section.block{padding:34px 0}
section.block:nth-of-type(even){background:#121216}
.block h2{font-size:clamp(20px,4.4vw,30px);margin:0 0 16px;display:flex;align-items:center;gap:10px}
.block h2::before{content:"";width:10px;height:26px;border-radius:5px;background:var(--gold);flex:none}
.grid{display:grid;gap:14px;grid-template-columns:1fr}
.card{background:var(--card);color:var(--text);border-radius:18px;padding:16px;min-width:0}
.card h3{margin:0 0 10px;font-size:17px;color:var(--wine)}
.shots{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;-webkit-overflow-scrolling:touch}
.shot{flex:0 0 62%;max-width:260px;aspect-ratio:9/16;border-radius:16px;background:linear-gradient(160deg,#2a2a33,#17171c);border:1px dashed rgba(255,255,255,.25);scroll-snap-align:start}
.faq .card{padding:14px 16px}
/* пустые места под тексты (каркас) */
.ph{display:block;height:12px;border-radius:6px;background:#e3e6eb;margin:9px 0}
.ph.w80{width:80%}.ph.w60{width:60%}.ph.w40{width:40%}
.ph.dark{background:rgba(255,255,255,.22)}
.hero .ph{margin:10px auto;max-width:420px}
/* подвал */
footer{background:#000;border-top:1px solid rgba(255,255,255,.1);padding:24px 0 34px;font-size:14px;color:#c9ced6}
footer .row{display:flex;flex-wrap:wrap;gap:14px 22px;align-items:center}
.age.sm{position:static;width:36px;height:36px;font-size:13px;flex:none}
footer .links{display:flex;flex-direction:column;gap:2px;flex:1;min-width:200px}
@media (min-width:760px){
  .grid.c3{grid-template-columns:repeat(3,1fr)}
  .grid.c2{grid-template-columns:repeat(2,1fr)}
  .shot{flex-basis:22%}
  .hero{padding:30px 0 40px}
  .brand{font-size:17px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Шапка: «Поделиться», «Об игре», «Об авторе» — как кнопка «Об авторе» на сайте «Финансовый компас» (16.11.2026) */
.top .wrap{flex-wrap:wrap;padding-top:6px;padding-bottom:6px}
.acts{display:flex;gap:8px;flex:none}
.pill{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border:1px solid #b88a1a;background:transparent;color:var(--gold2);border-radius:999px;padding:7px 12px;font-family:inherit;font-size:14px;font-weight:600;line-height:1;cursor:pointer}
.pill:hover{border-color:var(--gold)}
@media (max-width:759px){
  .brand{order:1}.langs{order:2}
  .acts{order:3;width:100%;justify-content:space-between;gap:6px;padding:2px 0 2px}
  .pill{flex:1;justify-content:center;font-size:13px;padding:8px 6px}
}
/* Шторки */
.sheet{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.6);display:flex;align-items:flex-start;justify-content:center;padding:70px 12px 12px;overflow:auto}
.sheet[hidden]{display:none}
.sheet-box{position:relative;background:#fff;color:var(--text);border-radius:20px;max-width:560px;width:100%;padding:22px 20px 18px;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.sheet-box h2{margin:0 36px 12px 0;color:var(--wine);font-size:22px}
.sheet-box p{margin:0 0 12px;font-size:16px}
.sheet-box .nm{font-weight:800;font-size:18px;margin-bottom:6px}
.sheet-box .tg{display:flex;gap:8px}.sheet-box .tg span{background:#fbe9b0;color:#5a3b00;border-radius:999px;padding:3px 10px;font-size:13px;font-weight:700}
.sheet-box ol{margin:4px 0 0;padding-left:22px}.sheet-box li{margin:0 0 6px}
.sheet-x{position:absolute;right:12px;top:12px;width:36px;height:36px;border-radius:50%;border:0;background:#f1f2f4;font-size:16px;cursor:pointer}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#111;color:#fff;border:1px solid var(--gold);border-radius:12px;padding:10px 16px;z-index:60;font-size:15px}
.toast[hidden]{display:none}
/* Афиша */
.afisha{width:min(100%,1040px);border-radius:16px;-webkit-mask-image:none;mask-image:none;box-shadow:0 10px 40px rgba(0,0,0,.45)}
/* Текст автора */
.author-text .say{max-width:760px;margin:0 auto;font-size:clamp(16px,2.2vw,19px);line-height:1.6}
.author-text .say p{margin:0 0 14px}
/* Место под рекламный ролик */
.video-box{display:flex;align-items:center;justify-content:center;width:100%;max-width:860px;margin:0 auto;aspect-ratio:16/9;border-radius:18px;border:0;cursor:pointer;background:radial-gradient(circle at 50% 40%,#2b3d63,#0e1424);box-shadow:0 10px 40px rgba(0,0,0,.45)}
.video-box .play{width:86px;height:86px;border-radius:50%;background:var(--teal);color:#05241b;font-size:34px;display:flex;align-items:center;justify-content:center;padding-left:6px;box-shadow:0 6px 0 var(--teal2)}
/* Места под рекламу: высота задана заранее, чтобы страница не прыгала */
.ad{padding:18px 0;background:#0e0e12}
.ad[hidden]{display:none}
.ad-lbl{display:block;text-align:center;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#8a8f99;margin-bottom:6px}
.ad-box{display:flex;align-items:center;justify-content:center;width:100%;max-width:970px;margin:0 auto;min-height:100px;border-radius:12px;overflow:hidden}
.ad-own .ad-box{min-height:120px}
@media (min-width:760px){.ad-g .ad-box{min-height:250px}.ad-own .ad-box{min-height:150px}}
.ad-box img{display:block;width:100%;height:auto}
.ad-empty .ad-box{border:2px dashed rgba(245,180,0,.55);color:#c9a54a;font-weight:700}
.ad-empty .ad-box::after{content:attr(data-empty)}
/* Фото автора в шторке «Об авторе» — как на сайте «Финансовый компас»: круг, золотая рамка, мягкое золотое свечение (16.11.2026) */
.sheet-box .who{display:flex;align-items:center;gap:16px;margin:0 0 12px}
.sheet-box .ava{width:96px;height:96px;border-radius:50%;object-fit:cover;border:3px solid #c8a45c;box-shadow:0 0 18px rgba(200,164,92,.45);flex:none}
.sheet-box .who .nm{margin-bottom:6px}
@media (max-width:420px){.sheet-box .who{flex-direction:column;text-align:center}.sheet-box .who .tg{justify-content:center}}
/* Текст автора крупнее (16.11.2026): телефон 18, компьютер 20 */
.author-text .say{font-size:18px;line-height:1.7}
@media (min-width:760px){.author-text .say{font-size:20px}}
.author-text .say p{margin:0 0 16px}
/* «Как играть»: тексты уровней из игры (17.11.2026) */
.how-goal{text-align:center;font-weight:800;font-size:20px;color:var(--gold2,#f5c451);margin:0 0 16px}
.levels .lvl p{margin:0 0 10px;font-size:16px;line-height:1.6}
@media (min-width:760px){.levels .lvl p{font-size:17px}}
/* «Что внутри» (17.11.2026) */
.inside .in-card{padding:18px}
.inside .in-ico{font-size:34px;line-height:1;margin-bottom:8px}
.inside h3{margin:0 0 6px;font-size:19px;color:var(--wine,#740726)}
.inside p{margin:0;font-size:16px;line-height:1.55}
@media (min-width:760px){.inside p{font-size:17px}}
/* «Снимки экрана»: обложка KZ, RU, EN и на трёх языках (17.11.2026) */
.shots-real{align-items:flex-start}
.shots-real .shot{aspect-ratio:auto;background:none;border:0;padding:0;cursor:zoom-in;flex:0 0 72%;max-width:300px}
@media (min-width:760px){.shots-real{overflow:visible}.shots-real .shot{flex:1 1 0;max-width:none}}
.shots-real .shot img{display:block;width:100%;height:auto;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.45)}
.zoom{position:fixed;inset:0;z-index:70;background:rgba(0,0,0,.85);display:flex;align-items:center;justify-content:center;padding:16px;cursor:zoom-out}
.zoom[hidden]{display:none}
.zoom img{max-width:100%;max-height:100%;border-radius:16px}
/* 17.11: на телефоне только обложка на трёх языках */
@media (max-width:759px){.shots-real .shot:not(:last-child){display:none}.shots-real{overflow:visible;justify-content:center}.shots-real .shot{flex:0 0 100%;max-width:420px}}
/* 17.11: Вопросы и ответы — открытый список, 4 колонки */
.faq4 .faq-card{padding:18px}
.faq4 .qa+.qa{margin-top:16px;padding-top:16px;border-top:1px solid rgba(116,7,38,.15)}
.faq4 h3{margin:0 0 6px;font-size:17px;line-height:1.3;color:var(--wine,#740726)}
.faq4 p{margin:0;font-size:16px;line-height:1.55}
@media (min-width:1000px){.grid.faq4{grid-template-columns:repeat(4,1fr)}.faq4 h3{font-size:18px}}
/* 17.11: Новости — 3 картинки «Денежной десятки» и ссылка на игру */
.news3{align-items:start}
.news3 .news-card{padding:0;overflow:hidden;background:#111}
.news3 .news-card img{display:block;width:100%;height:auto}
.news3 .news-play{display:block;text-align:center;padding:14px 12px;background:#ffc21a;color:#3a0012;font-weight:800;font-size:18px;text-decoration:none;border-top:2px solid rgba(255,255,255,.25)}
.news3 .news-play:hover{background:#ffd457}
@media (max-width:759px){.news3{max-width:420px;margin:0 auto}}
/* 17.11: строка под «Играть» и низ сайта */
.legal-cta{margin:14px auto 0;max-width:620px;padding:0 12px;font-weight:800;font-size:15px;line-height:1.45;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.5)}
footer .ft-top{display:flex;align-items:center;gap:12px;margin-bottom:14px}
footer .ft-title{font-weight:800;font-size:20px;color:#fff;line-height:1.25}
footer .ft-links{display:flex;flex-direction:column;gap:10px;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.12)}
footer .ft-links a{color:#e6e9ee;font-size:16px;text-decoration:none}
footer .ft-links a:hover{color:#fff;text-decoration:underline}
footer .ft-copy{margin:0;font-size:14px;line-height:1.55;color:#aeb4bd}
footer .ft-copy b{color:#fff;font-weight:800}
@media (min-width:760px){.legal-cta{font-size:16px}footer .ft-links{flex-direction:row;gap:28px}}
/* 17.11: карточки 2 и 3 «Денежной десятки» текстом, KZ/RU/EN */
.news3 .dd-start{background:#0b2f2b;border:1px solid #1d5a52;text-align:center;color:#d8e6e3}
.dds-in{padding:22px 20px 24px}
.dds-age{display:inline-block;border:2px solid #e2706f;color:#e98a88;border-radius:999px;padding:2px 10px;font-weight:800;font-size:14px}
.dd-start h3{margin:12px 0 10px;font-size:23px;line-height:1.2;color:#fff;font-weight:800}
.dd-start h3 em{font-style:normal;color:#f7c531}
.dd-start p{margin:0 0 10px;font-size:14px;line-height:1.5}
.dd-start .dds-sub{color:#7fbfb2}
.dd-start label{display:block;text-align:left;font-size:14px;margin-top:12px;color:#c7d6d3}
.dds-input{display:block;text-align:left;margin:6px 0 14px;border:1px solid #2d6a61;border-radius:10px;padding:11px 14px;color:#6f8f89;font-size:15px;background:#0d3833}
.dds-btn{display:inline-block;background:#33d49c;color:#05241b;font-weight:800;border-radius:999px;padding:11px 26px;font-size:15px}
.news3 .dd-l3{background:#fff;border:6px solid #0f7a6c;color:#1b2a2a}
.ddl-in{padding:20px 18px 22px}
.ddl-cup{font-size:40px;text-align:center;line-height:1}
.ddl-st{text-align:center;color:#6b7676;margin:10px 0 4px;font-size:14px}
.dd-l3 h3{text-align:center;color:#0f6a5e;font-size:21px;margin:0 0 12px}
.ddl-box{background:#eef6fb;border-left:4px solid #3d7be0;border-radius:8px;padding:10px 12px;font-weight:700;font-size:13.5px;line-height:1.45;color:#1d2b45}
.dd-l3 h4{margin:14px 0 6px;font-size:17px;color:#10302c}
.dd-l3 ul{margin:0;padding-left:18px;font-size:14px;line-height:1.5}
.dd-l3 li{margin-bottom:4px}
/* 17.11: документы в подвале, галочки, «Свернуть» */
#ft-docs{margin-bottom:6px}
.ft-doc{background:#101114;border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:14px 16px 16px;margin:0 0 18px;color:#d9dde3}
.doc-fold{display:inline-flex;align-items:center;gap:6px;background:#1c1e23;color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:8px 16px;font:inherit;font-weight:700;font-size:14px;cursor:pointer}
.doc-fold:hover{background:#262931}
.doc-body,.doc-page{font-size:15px;line-height:1.6}
.doc-body{margin:12px 0}
.doc-body h3,.doc-page h3{font-size:19px;margin:4px 0 10px;color:#fff}
.doc-page{background:#fff;color:#1d2328}
.doc-page h3{color:var(--wine,#740726)}
.doc-body h4,.doc-page h4{font-size:16px;margin:16px 0 6px}
.doc-body h4{color:#fff}
.doc-body p,.doc-page p{margin:0 0 8px}
.doc-body ul,.doc-page ul{margin:0 0 8px;padding-left:20px}
.consent{display:flex;gap:12px;align-items:flex-start;margin-top:16px;padding:12px;border-radius:12px;background:rgba(127,231,208,.07);cursor:pointer;font-weight:700}
.doc-page .consent{background:#eef8f5}
.consent input{position:absolute;opacity:0;width:1px;height:1px}
.consent .cbox{flex:none;width:24px;height:24px;border:2px solid #8a94a0;border-radius:6px;background:transparent;position:relative;margin-top:1px;transition:background .15s,border-color .15s}
.consent input:checked+.cbox{background:#3fd6b4;border-color:#3fd6b4}
.consent input:checked+.cbox::after{content:"";position:absolute;left:7px;top:2px;width:6px;height:12px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}
.consent input:focus-visible+.cbox{outline:2px solid #fff;outline-offset:2px}
.sheet-fold{display:block;margin:18px auto 0;background:#f1f3f5;color:#222;border:1px solid #d5d9de;border-radius:999px;padding:9px 18px;font:inherit;font-weight:700;font-size:15px;cursor:pointer}
.doc-back{display:inline-block;margin-bottom:12px;color:#fff;font-weight:700;text-decoration:none}
.author-mail{margin:18px 0 0;padding-top:14px;border-top:1px solid #e3e6ea;font-size:16px;line-height:1.5;font-weight:600}
.author-mail a{color:#0f7a6c;font-weight:800;word-break:break-all}
/* 18.11: ролик на сайте */
.video-box.has-poster{background-size:cover;background-position:center}
video.video-box{display:block;background:#000;object-fit:contain}

/* заставка в конце ролика (18.11.2026) */
.vend-cap{display:none}
.vwrap{position:relative;width:100%;max-width:860px;margin:0 auto;container-type:inline-size}
.vwrap video.video-box{max-width:none}
.vend{position:absolute;inset:0;border-radius:18px;overflow:hidden;background:#3a0512 url(../assets/video/endcard2.jpg) center/cover no-repeat}
.vend[hidden]{display:none}
.vend-h{position:absolute;left:0;right:0;top:63.4%;margin:0;text-align:center;color:#fff;text-shadow:0 2px 3px rgba(0,0,0,.6);line-height:1.25}
.vend-h b{display:block;font-size:1.75cqw;font-weight:800}
.vend-h span{display:block;font-size:1.35cqw;color:#ffe8d2;font-weight:600}
.vend-b{position:absolute;left:0;right:0;top:72.5%;height:7.8%;display:flex;justify-content:center;gap:2.3%}
.vend-b a{width:17.2%;display:flex;align-items:center;justify-content:center;border-radius:999px;background:#3fd6b4;color:#05241b;font-weight:800;font-size:2.3cqw;text-decoration:none;box-shadow:0 .4cqw 0 #1d967c;animation:vpulse 1.2s ease-in-out infinite}
.vend-b a:nth-child(2){animation-delay:.15s}.vend-b a:nth-child(3){animation-delay:.3s}
.vend-b a:hover,.vend-b a:focus-visible{background:#6be6c9;outline:none}
@keyframes vpulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@media (prefers-reduced-motion:reduce){.vend-b a{animation:none}}
.vend-r{position:absolute;right:2%;bottom:3%;border:0;border-radius:999px;padding:.6cqw 1.4cqw;background:rgba(0,0,0,.45);color:#fff;font-size:1.3cqw;font-weight:700;cursor:pointer}
@media (max-width:600px){.vend-h{display:none}.vend-cap{display:block!important;text-align:center;margin:10px auto 0;font-weight:700;line-height:1.45;font-size:14px}.vend-cap[hidden]{display:none!important}.vend-h b{font-size:2.6cqw}.vend-b a{font-size:2.6cqw}.vend-r{font-size:2.2cqw}}
/* новости: 3 столбца одной высоты (18.11.2026) */
@media (min-width:760px){.news3{align-items:stretch}.news3 .news-card{display:flex;flex-direction:column}.news3 .news-card>img{flex:1 1 auto;min-height:0;object-fit:contain;object-position:center}.news3 .news-card>img[src*="dd_oblozhka"]{background:#d10a43}.news3 .news-card>img[src*="kosatka_3d"]{background:#3a0512}.news3 .news-play{margin-top:auto}}

/* кнопка «Поделиться» — бирюзовая (18.11.2026) */
#b-share.pill{background:var(--teal);border-color:var(--teal);color:#05241b;font-weight:700;box-shadow:0 3px 0 var(--teal2)}
#b-share.pill:hover{background:#6be6c9}

/* кнопка «Поделиться» на заставке ролика (18.11.2026) */
.vend-s{position:absolute;left:2%;bottom:3%;border:0;border-radius:999px;padding:.6cqw 1.4cqw;background:var(--teal);color:#05241b;font-size:1.3cqw;font-weight:800;cursor:pointer;box-shadow:0 .3cqw 0 var(--teal2)}
@media (max-width:600px){.vend-s{font-size:2.2cqw}}
/* блок «Другие проекты автора» (18.11.2026) — кнопки поменьше, в один ряд */
.more .more-b{display:flex;gap:10px;justify-content:center;align-items:stretch;flex-wrap:nowrap}
.more .more-b a{flex:0 1 240px;display:flex;align-items:center;justify-content:center;text-align:center;padding:9px 14px;border-radius:999px;font-weight:800;font-size:15px;line-height:1.2;text-decoration:none}
.more .more-fc{background:#e0313f;color:#fff;box-shadow:0 3px 0 #8f1424}
.more .more-fc:hover{background:#ef4a57}
.more .more-tl{background:var(--teal);color:#05241b;box-shadow:0 3px 0 var(--teal2)}
.more .more-tl:hover{background:#6be6c9}
@media (max-width:600px){.more .more-b a{flex:1 1 0;font-size:13px;padding:8px 10px}}

/* обложки игры нажимаются и открывают игру; под обложками 1–3 бирюзовые кнопки «Начать игру» (19.11.2026) */
.shots-real{align-items:stretch}
.shots-real .shot-go-card{display:flex;flex-direction:column;gap:10px;text-decoration:none;cursor:pointer}
.shots-real .shot-go-card img{transition:transform .2s}
.shots-real .shot-go-card:hover img,.shots-real .shot-go-card:focus-visible img{transform:scale(1.03)}
.shot-go{flex:1 1 auto;min-height:52px;display:flex;align-items:center;justify-content:center;text-align:center;padding:12px 14px;border-radius:16px;background:#1d2027;border:2px solid var(--teal);color:#fff;font-weight:800;font-size:clamp(14px,1.35vw,19px);line-height:1.3}
.shot-go-card:hover .shot-go{border-color:#6be6c9;background:#232733}

/* Карандаш редактора: только в браузере автора после входа (localStorage admin-known=1) */
.admin-pen{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--gold);color:#14161a;box-shadow:0 6px 16px -8px rgba(0,0,0,.6);flex:none;transition:transform .15s}.admin-pen:hover{transform:scale(1.06)}.admin-pen[hidden]{display:none}
@media (max-width:759px){.admin-pen{width:34px;height:34px}}
/* 23.11.2026: карточка итога уровня 3 в «Новостях» — как в игре: строка «Игрок, Ваш статус…» и причины крупнее и жирнее */
.ddl-st{font-size:17px;font-weight:700;color:#3d4a4a}
.dd-l3 ul{font-size:17px;font-weight:700;line-height:1.45;color:#1b2a2a}
.dd-l3 li{margin:3px 0}
/* Продажа полной версии: красная кнопка и шторка (24.11.2026) */
.btn-buy{display:flex;flex-direction:column;align-items:center;gap:2px;border:0;border-radius:16px;padding:12px 22px;font-family:inherit;font-weight:800;line-height:1.25;background:#e3262f;color:#fff;box-shadow:0 5px 0 #8e0f17;cursor:pointer;max-width:540px;width:calc(100% - 24px);text-align:center}
.btn-buy span{font-size:15px}.btn-buy span.ru{font-size:18px}
.btn-buy:active{transform:translateY(3px);box-shadow:0 2px 0 #8e0f17}
.btn-buy:focus-visible{outline:3px solid var(--gold2);outline-offset:2px}
.buy-box{background:#fff;color:var(--text);border-radius:20px;max-width:560px;width:calc(100% - 24px);margin:4px auto 0;padding:16px 14px 18px;text-align:left;box-shadow:0 14px 40px rgba(0,0,0,.45)}
.buy-lng{display:flex;gap:8px;justify-content:center;margin-bottom:12px}
.buy-lng button{padding:7px 18px;border-radius:999px;border:2px solid var(--wine);background:#fff;color:var(--wine);font:700 15px/1 inherit;font-family:inherit;cursor:pointer}
.buy-lng button[aria-pressed=true]{background:var(--wine);color:#fff}
.buy-ban{width:100%;height:auto;border-radius:14px;display:block}
.buy-box h3{color:var(--wine);margin:14px 0 6px;font-size:21px;text-align:center;line-height:1.25}
.buy-box p{margin:5px 0;text-align:center;font-size:15.5px;line-height:1.45}
.buy-box .buy-l2{font-weight:700}.buy-box .buy-l3{font-size:14px;color:var(--muted)}
.buy-price{text-align:center;font-size:19px;font-weight:800;margin:12px 0}
.buy-price s{color:#8a8f98;font-weight:600;margin:0 6px}.buy-price b{color:#e3262f;font-size:25px;white-space:nowrap}
.buy-box ol{margin:8px 0 12px 22px;padding:0;font-size:15.5px;line-height:1.45}.buy-box ol li{margin:5px 0}
.buy-qr{display:flex;align-items:center;gap:12px;border:1px dashed #c9ced6;border-radius:14px;padding:10px;margin:10px 0}
.buy-qr img{width:150px;height:auto;flex:none}.buy-qr div{font-size:14px;color:var(--muted)}
.buy-form{background:#f3f5f8;border-radius:14px;padding:14px}
.buy-form .buy-ft{font-weight:800;color:var(--wine);text-align:center;margin:0 0 8px;font-size:17px}
.buy-form input[type=email],.buy-form input[type=text],.buy-form input[type=tel]{display:block;width:100%;box-sizing:border-box;margin:7px 0;padding:12px;border:1px solid #c9ced6;border-radius:10px;font-size:16px;font-family:inherit;color:var(--text);background:#fff}
.buy-form [type=submit]{width:100%;border:0;border-radius:14px;padding:14px;font-size:18px;font-weight:800;background:var(--teal);color:#05241b;box-shadow:0 4px 0 var(--teal2);font-family:inherit;cursor:pointer}
.buy-form [type=submit]:disabled{opacity:.45;cursor:not-allowed}
.buy-cons a{color:var(--wine)}
.buy-demo{font-size:13px;color:#8a8f98;text-align:center;margin-top:8px}
.buy-more{display:block;margin:12px auto 0;background:none;border:0;color:var(--wine);text-decoration:underline;font:13.5px/1.3 inherit;font-family:inherit;cursor:pointer}
.buy-help{font-size:14px;margin-top:8px}.buy-help ol{font-size:14px}
@media (max-width:420px){.buy-qr{flex-direction:column;text-align:center}.buy-qr img{width:180px}}
.buy-fold{display:block;margin:14px auto 0;border:2px solid var(--wine);background:#fff;color:var(--wine);border-radius:999px;padding:9px 22px;font:700 15px/1 inherit;font-family:inherit;cursor:pointer}
/* Шторка продажи: правки по замечаниям автора 24.11.2026 — крупный запасной QR, тёмный текст, яркие поля, заметная галочка */
.buy-qr{flex-direction:column;text-align:center;gap:8px}
.buy-qr img{width:260px;max-width:80%}
.buy-qr div{color:var(--text);font-size:15px}
.buy-box .buy-eo input[type=email],.buy-box .buy-eo input[type=text],.buy-box .buy-eo input[type=tel]{background:#fff !important;border:1.5px solid #8a94a3 !important;color:var(--text) !important;opacity:1 !important}
.buy-box .buy-eo input::placeholder{color:#4b5563 !important;opacity:1 !important}
.buy-hint{font-size:13.5px !important;color:#4b5563;margin:6px 0 0 !important}
/* «Подробнее, как купить и войти» — крупнее и заметнее (замечание автора 24.11.2026) */
.buy-more{font-size:16px;font-weight:700;text-decoration:none;border:2px solid var(--wine);border-radius:999px;padding:10px 18px;background:#fff;line-height:1.3;max-width:100%}
.buy-more:hover{background:#fbeef2}
.buy-help{font-size:15.5px;line-height:1.5;color:var(--text)}.buy-help ol{font-size:15.5px}
/* Галочка согласия в шторке — бирюзовая, как в документах; оферта: кнопка «← Вернуться к покупке» (25.11.2026) */
.buy-box .consent.buy-cons{margin:4px 0 10px;font-size:14.5px;line-height:1.45;color:var(--text);background:#eef8f5}
.buy-box .consent .cbox{border-color:#5d6b7a}
.buy-cons a{color:var(--wine);text-decoration:underline}
.offer-back-wrap{margin-top:14px}
.offer-back{display:inline-block}
/* 25.11.2026: все 5 ссылок внизу ровно в 2 строки на любом экране; сайт сам строку внутри не переносит, целая ссылка уходит на следующую линию */
.ft-links{flex-wrap:wrap}
.ft-links a{white-space:pre}

/* «У меня уже есть вход» — под красной кнопкой покупки (заход 2, 25.11.2026) */
.btn-have{display:inline-block;border:2px solid #3fd6b4;border-radius:14px;padding:10px 20px;font-weight:800;font-size:16px;color:#3fd6b4;background:transparent;text-decoration:none;text-align:center;max-width:540px}
.btn-have:hover{background:rgba(63,214,180,.12)}
.btn-have:focus-visible{outline:3px solid var(--gold2);outline-offset:2px}
