/* «murph. Игры и головоломки», редакция 2 (PORTFOLIO-021, 08.10.2026): светлый сайт по образцу supercell.com —
   чёрная шапка во всю ширину экрана (содержимое — по ширине контента), светлый первый экран с хранителями по краям, сетка больших карточек с плашкой,
   цветные секции во всю ширину и чёрный подвал. Заголовки — Unbounded, текст — Nunito (шрифт Murph UI).
   CSP сайта запрещает инлайн-стили, скрипты и чужие ресурсы: всё оформление здесь, генератор дописывает в конец
   фоны игр (.bg-<slug>) и узор тёмной секции. */
@font-face{font-family:Nunito;font-weight:600;font-display:swap;src:url(/assets/nunito-600.e685d87212.woff2) format("woff2")}
@font-face{font-family:Nunito;font-weight:700;font-display:swap;src:url(/assets/nunito-700.9a3a627681.woff2) format("woff2")}
@font-face{font-family:Nunito;font-weight:800;font-display:swap;src:url(/assets/nunito-800.8082605dd2.woff2) format("woff2")}
@font-face{font-family:Nunito;font-weight:900;font-display:swap;src:url(/assets/nunito-900.cd572a2119.woff2) format("woff2")}
@font-face{font-family:Unbounded;font-weight:700;font-display:swap;src:url(/assets/unbounded-700.606289953c.woff2) format("woff2")}
@font-face{font-family:Unbounded;font-weight:900;font-display:swap;src:url(/assets/unbounded-900.8f010118d9.woff2) format("woff2")}

:root{
  color-scheme:light;
  --page:#F3F3F1; --white:#fff; --ink:#121212; --ink-2:#3a3a3a; --muted:#666; --line:#e3e3df; --black:#0b0b0b;
  --blue:#1d63ff; --blue-edge:#1546b8; --navy:#101e3d; --pink:#ff3d8b; --yellow:#ffd23f;
  --green:#1fae4b; --gold:#ffc83d; --coral:#ff6b5a; --violet:#7a4dff;
  --wrap:1180px; --gutter:20px; --head:'Unbounded',Nunito,system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--ink);font:600 17px/1.55 Nunito,system-ui,sans-serif;overflow-x:hidden}
img{display:block;max-width:100%;height:auto}
a{color:var(--blue)}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
h1,h2,.eyebrow,.pill-btn,.box-btn,.tag,.corner,.nav a,.menu summary,.more,.foot-label,.foot h2,.chip,.wm b,.foot-mark b{font-family:var(--head)}
h1,h2,.eyebrow,.pill-btn,.box-btn,.tag,.corner,.nav a,.menu summary,.more,.foot-label,.foot h2{text-transform:uppercase}
.skip{position:absolute;left:-9999px;top:8px;z-index:50;background:var(--black);color:#fff;padding:10px 14px;border-radius:8px}.skip:focus{left:8px}

/* Шапка: чёрная полоса во всю ширину экрана, содержимое — по ширине контента (решение пользователя 09.10.2026). */
.top{position:sticky;top:0;z-index:30;background:var(--black)}
.bar{position:relative;max-width:var(--wrap);margin:0 auto;height:64px;color:#fff;display:flex;align-items:center;gap:26px;padding:0 var(--gutter)}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;flex:none}.brand img{height:40px;width:auto}
.wm{display:flex;flex-direction:column;line-height:1}.wm b{font-size:20px;font-weight:900;letter-spacing:-.02em}.wm small{font-size:11px;font-weight:800;color:#bdbdbd;margin-top:4px}
.nav{display:flex;gap:2px}.nav a{font-size:12px;font-weight:700;letter-spacing:.02em;text-decoration:none;color:#cfcfcf;padding:10px 12px;border-radius:8px}
.nav a:hover,.nav a[aria-current]{color:#fff}.nav a[aria-current]{background:#222}
.social{display:flex;gap:8px;margin-left:auto}
.chip{display:inline-grid;place-items:center;min-width:34px;height:30px;padding:0 8px;border-radius:8px;background:#2a2a2a;color:#fff;font-size:11px;font-weight:700;text-decoration:none}
.chip:hover{background:var(--blue)}
.menu{display:none}
.menu summary{list-style:none;cursor:pointer;font-size:11px;font-weight:700;background:#2a2a2a;color:#fff;border-radius:8px;padding:9px 12px}
.menu summary::-webkit-details-marker{display:none}
.menu nav{position:absolute;right:0;top:64px;width:min(280px,100vw);background:var(--black);display:flex;flex-direction:column;padding:8px;border-radius:0 0 12px 12px}
.menu nav a{color:#fff;text-decoration:none;font:700 13px/1 var(--head);text-transform:uppercase;padding:14px 12px;border-radius:8px}.menu nav a:hover,.menu nav a[aria-current]{background:#222}

/* Первый экран: светлый, крупный заголовок по центру, хранители по краям. */
.hero{position:relative;overflow:hidden;background:linear-gradient(#ececea,#f7f7f5 70%,#fff);padding:86px var(--gutter) 110px;text-align:center;min-height:540px}
.hero-short{min-height:410px;padding-bottom:90px}
.hero-copy{position:relative;z-index:2;max-width:620px;margin:0 auto}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;margin:0 0 14px;color:var(--blue)}
.hero h1{font-size:clamp(32px,4.4vw,60px);font-weight:900;line-height:1.02;letter-spacing:-.02em;margin:0 0 22px}
.hero .lead{font-size:19px;color:#303030;margin:0 auto 28px;max-width:470px}
.cta{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.pill-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 30px;border-radius:999px;background:var(--blue);color:#fff;font-size:14px;font-weight:700;
  letter-spacing:.03em;text-decoration:none;box-shadow:0 6px 0 var(--blue-edge);transition:transform .15s}
.pill-btn:hover{transform:translateY(-2px)}.pill-btn.dark{background:var(--black);box-shadow:0 6px 0 #444}
.stats{list-style:none;display:flex;justify-content:center;gap:28px;padding:0;margin:34px 0 0}
.stats b{display:block;font:900 26px/1 var(--head);margin-bottom:6px}.stats span{display:block;font-size:13px;line-height:1.3;color:var(--muted)}
/* The guardians take only the margins beside a 600 px column of text, and never grow past their side of it. */
.cast{position:absolute;bottom:-10px;width:min(34%,calc((100% - 600px) / 2));height:88%;z-index:1;pointer-events:none}
.cast img{position:absolute;bottom:0;width:auto;max-width:96%;object-fit:contain;object-position:bottom;filter:drop-shadow(0 18px 18px rgba(0,0,0,.18))}
.cast.left .c2{max-width:66%}.cast.left .c3{max-width:86%}.cast.right .c2{max-width:60%}.cast.right .c3{max-width:80%}
.cast.left{left:-2%}.cast.right{right:-2%}
.cast.left .c1{left:2%;height:72%}.cast.left .c2{left:34%;height:58%;bottom:6%}.cast.left .c3{left:14%;height:46%;bottom:44%}
.cast.right .c1{right:4%;height:76%}.cast.right .c2{right:40%;height:56%;bottom:4%}.cast.right .c3{right:20%;height:44%;bottom:46%}

/* Сетка больших карточек: арт, плашка, название по центру. */
.block{padding:70px var(--gutter)}
.block-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:14px}
.block h2,.sec-head h2{font-size:clamp(26px,3.4vw,40px);font-weight:900;margin:0;letter-spacing:-.01em}
.block-lead{color:var(--ink-2);max-width:640px;margin:0 0 30px}
.more{font-size:12px;font-weight:700;color:var(--blue);text-decoration:none;white-space:nowrap}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:46px 30px}
.card{display:flex;flex-direction:column;align-items:center;text-align:center;text-decoration:none;color:var(--ink)}
.art{position:relative;display:block;width:100%;overflow:hidden;background:#e4e4e1}
.art img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .3s}.card:hover .art img{transform:scale(1.04)}
.art .empty{display:grid;place-items:center;aspect-ratio:4/3;font:900 28px var(--head);color:#999}
.corner{position:absolute;top:12px;left:12px;background:rgba(0,0,0,.72);color:#fff;font-size:10px;font-weight:700;padding:7px 10px;border-radius:999px}
.tag{display:inline-block;margin:18px 0 10px;padding:7px 14px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.03em;color:#fff;background:var(--pink)}
.tag-published{background:var(--green)}.tag-soon{background:var(--blue)}.tag-development{background:var(--violet)}.tag-studio{background:var(--black)}
.name{font-size:21px;font-weight:800;line-height:1.3;max-width:470px}
.date{color:var(--muted);font-size:14px;margin-top:6px}
.center{text-align:center;margin-top:54px}

/* Цветные секции во всю ширину с крупным хранителем. */
.band{position:relative;overflow:hidden;color:#fff}
.band-in{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:30px;min-height:470px;padding-top:44px;padding-bottom:44px}
.band-in.reverse{grid-template-columns:1fr 1.05fr}
.band-navy{background:var(--navy)}.band-navy::before{content:"";position:absolute;inset:0;background-repeat:repeat;opacity:.12;pointer-events:none}
.band-blue{background:var(--blue)}.band-yellow{background:var(--yellow);color:var(--ink)}
.band-copy{position:relative;z-index:1}
.band h2{font-size:clamp(28px,3.6vw,46px);font-weight:900;line-height:1.05;margin:0 0 18px}
.band p{font-size:18px;max-width:540px}.band .eyebrow{color:inherit;opacity:.8}
.band .cta{justify-content:flex-start}
.box-btn{display:inline-flex;align-items:center;min-height:50px;padding:0 24px;margin-top:12px;background:#fff;color:var(--ink);border-radius:8px;font-size:12px;font-weight:700;letter-spacing:.03em;text-decoration:none}
.box-btn.dark{background:var(--ink);color:#fff}.box-btn.ghost{background:transparent;border:2px solid currentColor;color:var(--ink)}
.band-art{position:relative;z-index:1;height:430px}
.band-art img{position:absolute;bottom:0;height:100%;width:auto;filter:drop-shadow(0 24px 24px rgba(0,0,0,.25))}
.band-art.single img{left:50%;transform:translateX(-50%)}
.trio .t1{left:6%;height:78%}.trio .t2{left:34%;height:100%;z-index:2}.trio .t3{right:0;height:72%}
.names{list-style:none;padding:0;margin:20px 0 6px;display:flex;flex-wrap:wrap;gap:8px}.names li{background:rgba(255,255,255,.1);border-radius:999px;padding:6px 12px;font-size:14px}
.principles{list-style:none;padding:0;margin:24px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:20px 28px}
.principles b{display:block;font-size:18px;margin-bottom:4px}.principles span{opacity:.92;font-size:15px}

/* Подвал. */
.foot{background:var(--black);color:#cfcfcf;padding:48px 0 34px;font-size:14px}
.foot-top{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding-bottom:26px;border-bottom:1px solid #2a2a2a}
.foot-label{font-size:11px;font-weight:700;margin:0 0 12px;color:#fff}
.social.big{margin:0;flex-wrap:wrap}.social.big .chip{height:38px;padding:0 14px}
.foot-mark{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none}.foot-mark img{height:44px;width:auto}.foot-mark b{font-size:20px;font-weight:900}
.foot-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px;padding:26px 0;border-bottom:1px solid #2a2a2a}
.foot h2{font-size:12px;font-weight:700;color:#fff;margin:0 0 12px}
.foot ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}.foot a{color:#d9d9d9;text-decoration:none}.foot a:hover{color:#fff}
.legal{margin:20px 0 0;line-height:1.7;color:#9a9a9a}

/* Страница игры. */
.g-hero{position:relative;overflow:hidden;background:var(--page);padding:56px 0 64px}
.g-hero::before{content:"";position:absolute;inset:0;background-size:cover;background-position:center;opacity:.28}
.g-hero .wrap{position:relative;display:grid;gap:40px;align-items:center}
@media(min-width:960px){.g-hero .wrap{grid-template-columns:1.1fr .9fr}}
.crumbs{font-size:14px;color:var(--muted);margin:0 0 14px}.crumbs a{color:var(--muted)}
.g-title{display:flex;align-items:center;gap:16px;margin-bottom:12px}.g-title img{width:84px;height:84px;border-radius:20px;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.g-title h1{font-size:clamp(28px,3.8vw,48px);font-weight:900;line-height:1.05;margin:0;letter-spacing:-.01em}
.g-tagline{font-size:20px;font-weight:800;margin:0 0 10px}
.g-hero .lead{font-size:18px;color:var(--ink-2);max-width:600px}
.g-hero .cta{justify-content:flex-start;margin-top:22px}
.btn{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 24px;border-radius:999px;font:700 14px var(--head);text-transform:uppercase;letter-spacing:.03em;text-decoration:none}
.btn svg{width:22px;height:22px;flex:none}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 6px 0 var(--blue-edge)}.btn-ghost{border:2px solid var(--ink);color:var(--ink)}
.status{display:inline-flex;align-items:center;min-height:52px;padding:0 22px;border-radius:999px;background:#fff;border:2px dashed #bbb;font-weight:800}
.facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.facts span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 12px;font-size:14px}
.phone{justify-self:center;width:300px;border-radius:36px;background:var(--black);padding:12px;box-shadow:0 24px 50px rgba(0,0,0,.25)}.phone img{border-radius:26px}
.poster-frame{justify-self:center;width:min(360px,100%);border-radius:18px;overflow:hidden;box-shadow:0 24px 50px rgba(0,0,0,.2)}
.poster-frame.land{width:min(520px,100%)}.poster-frame.contain{background:#fff}
.sec{padding-top:64px;padding-bottom:12px}.band .sec{padding-bottom:64px}
.sec-head{margin-bottom:26px}.sec-head p{color:var(--ink-2);max-width:640px;margin:10px 0 0}.band .sec-head p{color:#dcdcdc}
.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;counter-reset:step}
.step{background:var(--page);border-radius:16px;padding:22px;counter-increment:step}
.step::before{content:counter(step);display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--blue);color:#fff;font:900 16px var(--head);margin-bottom:12px}
.step h3{margin:0 0 6px;font-size:18px}.step p{margin:0;color:var(--ink-2)}
.modes{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.pr{background:var(--page);border-radius:16px;padding:22px}.pr h3{margin:12px 0 6px;font-size:18px}.pr p{margin:0;color:var(--ink-2)}
.ico{display:grid;place-items:center;width:46px;height:46px;border-radius:12px}.ico svg{width:24px;height:24px}
.tone-green{background:var(--green)}.tone-gold{background:var(--gold)}.tone-coral{background:var(--coral)}.tone-violet{background:var(--violet)}
.worlds,.parade,.shots{display:flex;gap:16px;overflow-x:auto;padding-bottom:12px;scroll-snap-type:x mandatory}
.world{flex:0 0 170px;scroll-snap-align:start;text-align:center}.worlds.cover .world{flex-basis:240px}.world img{border-radius:14px}
.world b{display:block;margin-top:8px}.world span{font-size:14px;color:var(--muted)}
.hero-card{flex:0 0 160px;scroll-snap-align:start;text-align:center}.hero-card img{height:170px;width:auto;margin:0 auto}
.hero-card b{display:block;margin-top:8px}.hero-card span{font-size:14px;opacity:.8}
.shots img{flex:0 0 220px;width:220px;border-radius:18px;box-shadow:0 10px 24px rgba(0,0,0,.14);scroll-snap-align:start}
.faq details{border-bottom:1px solid var(--line);padding:16px 0}.faq summary{cursor:pointer;font-weight:800;font-size:18px}.faq p{margin:10px 0 0;color:var(--ink-2)}

/* Новости. */
.empty-news{background:var(--page);border-radius:20px;padding:44px 28px;text-align:center}.empty-news h2{font-size:clamp(22px,3vw,32px);margin:0 0 12px}
.empty-news p{color:var(--ink-2);max-width:520px;margin:0 auto 10px}
.post{max-width:880px;padding-top:46px;padding-bottom:40px}.post h1{font-size:clamp(28px,4vw,46px);font-weight:900;line-height:1.08;margin:6px 0 16px}
.post .tag{margin:0 0 10px}.post .lead{font-size:20px;color:var(--ink-2)}.post-art{margin:26px 0;overflow:hidden;border-radius:12px}.post p{font-size:18px}
.post .cta{justify-content:flex-start}

/* Документы. */
.doc{max-width:860px;margin:0 auto;padding:46px var(--gutter) 40px}
.doc h1{font-size:clamp(28px,4vw,42px);font-weight:900;line-height:1.1;margin:0 0 14px}
.doc h2{font-size:20px;font-weight:900;margin:36px 0 10px;text-transform:none}.doc h3{font-size:18px;font-weight:900;margin:24px 0 6px}
.doc p,.doc li{margin:0 0 12px;color:var(--ink-2)}.doc .lead{font-size:19px;color:var(--ink)}
.doc table{border-collapse:collapse;width:100%;margin:0 0 16px;font-size:15px;display:block;overflow-x:auto}
.doc th,.doc td{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}.doc th{background:var(--page)}
.doc .btn-primary{margin:6px 0}.revision{margin-top:36px;color:var(--muted);font-size:14px}.pending{background:#fff4c2;border-radius:10px;padding:12px 16px}

@media(max-width:900px){.nav{display:none}.menu{display:block}.cast{width:42%;height:46%}.hero{padding-bottom:230px}.hero-short{padding-bottom:210px}}
@media(max-width:720px){
  :root{--gutter:16px}
  .bar{padding:0 14px;gap:12px}
  .grid{grid-template-columns:1fr;gap:40px}
  .band-in,.band-in.reverse{grid-template-columns:1fr;min-height:0}.band-art{height:300px;order:2}
  .principles{grid-template-columns:1fr}.hero{padding:56px var(--gutter) 200px;min-height:0}.cast{width:50%;height:200px}
  .hero .lead{font-size:17px}.stats{gap:16px}.stats b{font-size:22px}
  .foot-top{flex-direction:column;align-items:flex-start}.g-hero{padding-top:36px}
}
@media(max-width:520px){.social:not(.big){display:none}.menu{margin-left:auto}}
.about p{max-width:760px}.about-en{color:var(--muted);font-size:15px}.doc-en{margin-top:28px;padding-top:6px;border-top:1px solid #e3e3e3}

/* PORTFOLIO-022 (26.10.2026): three sections by audience. Kids pages are warm and quiet, the 16+ section is dark khaki;
   the home page enters each one through a card. */
.block-tight{padding-top:24px}
.sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.tag-sec-all{background:var(--blue)}
.tag-sec-kids{background:#f0679a}
.tag-sec-military{background:#556b2f}
.corner-age{left:auto;right:12px;background:#b3261e}
.workshop{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.mini{display:flex;flex-direction:column;text-decoration:none;color:var(--ink)}
.mini .art{border-radius:12px}
.mini b{margin-top:10px;font-size:17px;line-height:1.3}
.mini span:last-child{color:var(--muted);font-size:14px}
.notice-wrap{padding-top:34px}
.notice{display:flex;align-items:center;gap:16px;margin:0;padding:18px 22px;border-radius:16px;background:var(--page);font-size:17px}
.notice-kids{background:#fff1e6}
.notice-military{background:#1d2217;color:#ecead9}
.age-mark{flex:none;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#b3261e;color:#fff;font:900 16px var(--head)}
.facts .age{background:var(--ink);border-color:var(--ink);color:#fff;font-weight:800}
.hero-kids{background:linear-gradient(#ffe6d2,#fff4ea 70%,#fff)}
.hero-military{background:linear-gradient(#171b11,#2a3120);color:#f1efe4}
.hero-military .eyebrow{color:#d8bf5a}
.hero-military .lead{color:#d9d6c6}
.theme-kids .g-hero{background:#fff3e8}
.theme-military .g-hero{background:#1d2217;color:#f1efe4}
.theme-military .g-hero .lead{color:#d9d6c6}
.theme-military .g-hero .crumbs,.theme-military .g-hero .crumbs a{color:#bfbca9}
.theme-military .g-hero .btn-ghost{border-color:#f1efe4;color:#f1efe4}
.theme-military .g-hero .facts span{background:#2a3120;border-color:#3d4630;color:#f1efe4}
.theme-military .g-hero .facts .age{background:#b3261e;border-color:#b3261e}
.theme-military .g-hero .status{background:transparent;border-color:#6b7356;color:#f1efe4}
@media(max-width:900px){.sections{grid-template-columns:1fr;gap:40px}
.workshop{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* PORTFOLIO-023: the note about the cookies of Yandex Metrika, shown by site/metrika.js until «Понятно». */
.cookie-note{position:fixed;left:16px;right:16px;bottom:16px;z-index:50;max-width:720px;margin:0 auto;display:flex;align-items:center;gap:20px;padding:16px 20px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.cookie-note[hidden]{display:none}.cookie-note p{margin:0;font-size:14px;line-height:1.45}.cookie-note .btn{flex:none;min-height:44px;padding:0 20px}
@media(max-width:600px){.cookie-note{flex-direction:column;align-items:stretch;gap:12px}.cookie-note .btn{justify-content:center}}

.bg-block-league::before{background-image:url(/assets/valley-bg-370447d0-background-1600.f96f8767e9.webp)}
.bg-number-merge::before{background-image:url(/assets/number-merge-world-mushroom-f95640bf-background-1600.ac81808d05.webp)}
.band-navy::before{background-image:url(/assets/bg-pattern-2a75108b-pattern-1254.7af23791c2.webp);background-size:627px auto}