/* Asia Store — раздел «Новости»: комикс-панели, фото и наклейки героев, пружинки, конфетный шлейф.
   Три компоновки: .news--feed (/блог/), .news--rubric (рубрика), .news--article (статья). Подключается только на этих страницах. */
.news {
  --pop: #ffd23f;
  --edge: 3px solid var(--ink);
  --hard: 8px 8px 0 var(--ink);
  --hard-up: 13px 13px 0 var(--ink);
  --dots: radial-gradient(circle, rgba(14,14,18,.16) 1.3px, transparent 1.6px) 0 0 / 9px 9px;
  --sticker: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(5px 6px 0 rgba(14,14,18,.9));
  background: var(--paper-2);
  padding-bottom: 96px;
  overflow-x: clip;
}
.news section { padding-top: 0; padding-bottom: 0; border: 0; }
.news .crumbs { padding-top: 22px; }
.news-tag--novinki  { --tag: #ffc9d3; }
.news-tag--recepty  { --tag: #ffe3a3; }
.news-tag--kultura  { --tag: #ddd3ff; }
.news-tag--novosti  { --tag: #c8e8ff; }
.news-tag--multiki  { --tag: #cdeec2; }
.news-tag--yazyki   { --tag: #ffd3c4; }
.news-tag--schet    { --tag: #fff0a0; }
.news-tag--prazdniki { --tag: #ffc6dc; }
.news-tag--mir      { --tag: #c4ecd6; }
.news-tag--dobro    { --tag: #d7e6ff; }
.news-tag--hub      { --tag: #ffe7a8; }
.news-tag--all      { --tag: var(--accent); }
.news-tag--hero     { --tag: #ffd23f; }
.news--rubric, .news--article { background: var(--dots), color-mix(in srgb, var(--tag) 38%, var(--paper-2)); }
.news--article { background: var(--dots), color-mix(in srgb, var(--tag) 22%, var(--paper-2)); }

/* ── Шапка раздела (лента): газета с пятёркой героев ── */
.news-hero { margin-top: 18px; }
.news-hero__panel {
  --hx: 0; --hy: 0; --sy: 0;
  position: relative; height: 540px; border: var(--edge); border-radius: 22px; overflow: hidden;
  box-shadow: var(--hard); background: var(--dots), var(--tag);
}
.news-hero__photo {
  position: absolute; top: 0; right: 0; width: 58%; height: 100%; object-fit: cover; object-position: 70% 45%; border-left: var(--edge);
  transform: translate(calc(var(--hx) * -14px), calc(var(--sy) * .12px + var(--hy) * -10px)) scale(calc(1.08 + var(--sy) * .0002));
  transition: transform .35s cubic-bezier(.2,.8,.2,1); animation: news-zoom 1.4s cubic-bezier(.2,.8,.2,1) both;
}
.news-bubble {
  position: absolute; z-index: 2; left: 44px; top: 50%; transform: translateY(-50%) rotate(-1.2deg);
  width: min(540px, 43%); padding: 30px 34px 32px; background: var(--paper); border: var(--edge); border-radius: 28px;
  box-shadow: 6px 6px 0 var(--ink);
}
.news-bubble::after { /* хвостик реплики — к героям */
  content: ""; position: absolute; right: -26px; bottom: 46px; width: 34px; height: 30px; background: var(--paper);
  border: var(--edge); border-left: 0; border-bottom: 0; transform: skewY(-28deg) rotate(8deg); border-radius: 0 8px 0 0;
}
.news-bubble .eyebrow { margin-bottom: 14px; }
.news-bubble h1 {
  font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: clamp(40px, 4.4vw, 64px); line-height: .95;
  letter-spacing: -.03em; margin: 0 0 16px;
}
.news-bubble h1 em { font-style: normal; color: var(--accent); }
.news--kids .news-bubble h1 { font-size: clamp(34px, 3.5vw, 50px); } /* «Развивающие», «праздники» — длинные слова */
.news-bubble p { font-size: 17px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.news-burst {
  position: absolute; z-index: 3; left: calc(42% - 70px); top: 22px; width: 132px; height: 132px; display: grid; place-content: center;
  text-align: center; background: var(--pop); color: var(--ink); cursor: pointer;
  clip-path: polygon(50% 0, 61% 18%, 82% 8%, 80% 30%, 100% 33%, 86% 50%, 100% 67%, 80% 70%, 82% 92%, 61% 82%, 50% 100%, 39% 82%, 18% 92%, 20% 70%, 0 67%, 14% 50%, 0 33%, 20% 30%, 18% 8%, 39% 18%);
  font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 40px; line-height: .9;
  filter: drop-shadow(3px 3px 0 var(--ink)); rotate: -8deg;
}
.news-burst:hover { animation: news-wobble .7s ease; }
.news-burst small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ── Бегущая строка «Срочно в номер» (лента) ── */
.news-ticker {
  margin: 34px -6px 0; overflow: hidden; background: var(--ink); color: var(--paper); border: var(--edge); border-radius: 12px;
  transform: rotate(-1.1deg); box-shadow: 0 6px 0 var(--pop);
}
.news-ticker__track { display: flex; width: max-content; animation: news-marquee 46s linear infinite; }
.news-ticker:hover .news-ticker__track { animation-play-state: paused; }
.news-ticker span { padding: 13px 0 13px 22px; white-space: nowrap; font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 15px; }
.news-ticker b { color: var(--pop); font-weight: 900; text-transform: uppercase; }

/* ── Рубрики-плитки (лента) ── */
.news-rubrics { display: grid; grid-template-columns: 1fr repeat(5, 1.25fr); gap: 18px; margin: 44px auto 0; }
.news .news-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 190px; padding: 0;
  border: var(--edge); border-radius: 18px; overflow: hidden; background: var(--tag); color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink); text-transform: none; letter-spacing: 0; white-space: normal;
  transition: transform .25s cubic-bezier(.3,1.6,.5,1), box-shadow .25s ease;
}
.news .news-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.news .news-tile span {
  position: relative; z-index: 1; margin: 0 10px 10px; align-self: flex-start; padding: 7px 11px; background: var(--paper);
  border: 2px solid var(--ink); border-radius: 10px; font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 13px; line-height: 1.15;
}
/* «Детям»: на плитке — кто из героев учит */
.news .news-tile small { display: block; font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 3px; }
/* «Детям»: вводный текст рубрики — тетрадный лист */
.news-intro { max-width: 900px; margin: 40px auto 0; padding: 26px 32px 22px 64px; background: repeating-linear-gradient(#fff 0 31px, #cfe0f5 31px 32px); border: var(--edge); border-radius: 14px; box-shadow: var(--hard); position: relative; rotate: -.4deg; }
.news-intro::before { content: ""; position: absolute; left: 40px; top: 0; bottom: 0; border-left: 2px solid #ff8a8a; }
.news-intro p { margin: 0 0 10px; font-size: 17px; line-height: 32px; color: var(--ink-2); }
.news .news-tile b { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 11px; color: var(--accent); margin-left: 4px; }
.news .news-tile--all { justify-content: center; align-items: center; text-align: center; background: var(--accent); color: var(--paper); }
.news .news-tile--all span { background: none; border: 0; margin: 0; padding: 0 12px; font-size: 22px; color: var(--paper); align-self: center; }
.news .news-tile--all b { display: block; color: var(--pop); font-size: 13px; margin: 8px 0 0; }
.news .news-tile:hover, .news .news-tile:focus-visible {
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate(-3px, -6px) rotate(-1.5deg);
  box-shadow: 9px 10px 0 var(--ink); background: var(--tag); color: var(--ink);
}
.news .news-tile--all:hover, .news .news-tile--all:focus-visible { background: var(--accent); color: var(--paper); }
.news .news-tile:hover img { transform: scale(1.1) translate(calc((var(--mx, 50%) - 50%) * -.06), 0); }
.news .news-tile:hover span { animation: news-wiggle .5s ease; }
.news .news-tile.on { outline: 4px solid var(--pop); outline-offset: -9px; }

/* ── Шапка рубрики: ведущий-наклейка выходит из рамки на «спидлайнах» ── */
.news--rubric .news-hero { margin-top: 70px; }
.news--rubric .news-hero__panel { height: 470px; overflow: visible; background: var(--tag); }
.news-hero__lines { position: absolute; inset: 0; overflow: hidden; border-radius: 19px; }
.news-hero__lines::before {
  content: ""; position: absolute; left: 58%; top: 55%; width: 260%; aspect-ratio: 1; translate: -50% -50%;
  background: repeating-conic-gradient(rgba(255,255,255,.62) 0 5deg, transparent 5deg 13deg);
}
.news-hero__lines::after { content: ""; position: absolute; inset: 0; background: var(--dots); opacity: .55; }
.news--rubric .news-hero__photo {
  z-index: 1; top: auto; bottom: 34px; right: 34px; width: 31%; height: auto; aspect-ratio: 4 / 3; border: var(--edge); border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink); rotate: 3deg; animation: news-pop .8s cubic-bezier(.2,1.4,.4,1) .35s both;
}
.news--rubric .news-bubble { left: 40px; width: min(500px, 40%); }
.news--rubric .news-bubble::after { display: none; }
.news-host {
  position: absolute; z-index: 2; left: 41%; bottom: -6px; width: 27%; height: 116%; margin: 0; pointer-events: none;
  transform: translate(calc(var(--hx) * 18px), calc(var(--hy) * 10px - var(--sy) * .08px));
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.news-host img {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%;
  filter: var(--sticker); transform-origin: 50% 100%; animation: news-host-in .9s cubic-bezier(.2,1.5,.4,1) .2s both, news-sway 4s ease-in-out 1.2s infinite;
}
.news-host__say {
  position: absolute; z-index: 3; right: calc(-100% - 6px); top: -2%; width: 118%; padding: 12px 15px; background: var(--paper); border: var(--edge);
  border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); font-size: 14px; line-height: 1.35; color: var(--ink-2); rotate: 2deg;
  animation: news-say .5s cubic-bezier(.2,1.6,.4,1) 1s both;
}
.news-host__say b { display: block; margin-bottom: 4px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.news-host__say::before { content: ""; position: absolute; left: -15px; top: 30px; width: 20px; height: 20px; background: var(--paper); border-left: var(--edge); border-bottom: var(--edge); transform: rotate(45deg); }
.news--rubric .news-burst { left: calc(40% - 112px); top: -44px; }

/* ── Переключатель рубрик (рубрика): чипы с наклейками ── */
.news-switch { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 46px; }
.news .news-switch__chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border: var(--edge); border-radius: 999px; background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink); font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 13px; color: var(--ink);
  transition: transform .25s cubic-bezier(.3,1.6,.5,1), box-shadow .25s;
}
.news-switch__chip img, .news-switch__chip i {
  width: 44px; height: 44px; flex: none; border: 2px solid var(--ink); border-radius: 50%; background: var(--tag);
  object-fit: cover; object-position: 50% 4%; display: grid; place-content: center; font-style: normal; color: var(--pop); font-size: 20px;
}
.news-switch__chip i { background: var(--accent); }
.news-switch__chip b { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--accent); }
.news .news-switch__chip:hover { transform: perspective(500px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px) rotate(-2deg); box-shadow: 5px 6px 0 var(--ink); }
.news .news-switch__chip:hover img { animation: news-wiggle .5s ease; }
.news .news-switch__chip.on { background: var(--tag); box-shadow: inset 0 0 0 3px var(--paper), 3px 3px 0 var(--ink); }

/* ── Лента карточек ── */
.news-sec { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin: 64px 0 24px; font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 34px; letter-spacing: -.02em; }
.news-sec::before { content: "★"; align-self: center; display: inline-grid; place-content: center; width: 40px; height: 40px; border: var(--edge); border-radius: 50%; background: var(--pop); font-size: 18px; rotate: -12deg; }
.news-sec small { font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 12px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .1em; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; transform: skewY(var(--skew, 0deg)); }
.news .rubric-card.news-card {
  position: relative; display: flex; border: var(--edge); border-radius: 18px; background: var(--paper); box-shadow: var(--hard);
  overflow: visible; transition: transform .28s cubic-bezier(.3,1.5,.5,1), box-shadow .28s ease;
}
.news .news-card::after { /* блик за мышью */
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 15px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.55), transparent 45%);
}
.news .news-card > a { display: flex; flex-direction: column; width: 100%; }
.news .news-card__pic { position: relative; margin: 0; aspect-ratio: 4 / 3; border-bottom: var(--edge); border-radius: 15px 15px 0 0; overflow: hidden; background: var(--tag); }
.news .rubric-card.news-card img { width: 100%; height: 100%; border: 0; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.news .news-card__pic::after { content: ""; position: absolute; inset: 0; background: var(--dots); opacity: 0; transition: opacity .3s; }
.news .news-label {
  position: absolute; z-index: 3; left: 14px; top: -14px; padding: 6px 11px; background: var(--tag); border: 2px solid var(--ink); border-radius: 9px;
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  transform: rotate(-3deg); box-shadow: 2px 2px 0 var(--ink);
}
.news .news-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.news .news-card__meta { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.news .news-card__title { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 20px; line-height: 1.15; letter-spacing: -.01em; margin: 10px 0 10px; }
.news .news-card__body p { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news .news-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 12px; text-transform: uppercase; color: var(--accent); }
.news .news-more::after { content: "→"; transition: transform .25s cubic-bezier(.3,1.8,.5,1); }
.news .rubric-card.news-card:hover {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate(-4px, -6px) rotate(-.6deg); box-shadow: var(--hard-up);
}
.news .rubric-card.news-card:hover::after { opacity: 1; }
.news .rubric-card.news-card:hover img { transform: scale(1.07) rotate(.8deg); }
.news .rubric-card.news-card:hover .news-card__pic::after { opacity: .5; }
.news .rubric-card.news-card:hover .news-label { animation: news-wiggle .5s ease; }
.news .rubric-card.news-card:hover .news-more::after { transform: translateX(6px); }
.news .news-card:nth-child(3n+2) { --tilt: .8deg; }
.news .news-card:nth-child(3n) { --tilt: -.6deg; }

/* Главная статья ленты — широкая панель */
.news .news-card--lead { grid-column: 1 / -1; }
.news .news-card--lead > a { flex-direction: row; }
.news .news-card--lead .news-card__pic { flex: 0 0 58%; aspect-ratio: 16 / 9; border-bottom: 0; border-right: var(--edge); border-radius: 15px 0 0 15px; }
.news .news-card--lead .news-card__body { padding: 40px 42px; justify-content: center; }
.news .news-card--lead .news-card__title { font-size: 34px; line-height: 1.05; margin: 14px 0 16px; }
.news .news-card--lead .news-card__body p { font-size: 17px; -webkit-line-clamp: 4; }
.news .news-card--lead .news-label { font-size: 12px; }
.news .news-card--lead::before { content: "Главное"; position: absolute; z-index: 3; right: -14px; top: -18px; padding: 8px 14px; background: var(--accent); color: var(--paper); border: var(--edge); border-radius: 10px; font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 14px; text-transform: uppercase; rotate: 4deg; box-shadow: 3px 3px 0 var(--ink); }

/* Статьи рубрики — полосы комикса, по очереди слева и справа, с номером выпуска */
.news--rubric .news-grid { grid-template-columns: 1fr; gap: 44px; max-width: 1080px; margin: 0 auto; counter-reset: issue; }
.news--rubric .news-card > a { flex-direction: row; }
.news--rubric .news-card:nth-child(even) > a { flex-direction: row-reverse; }
.news--rubric .news-card__pic { flex: 0 0 44%; aspect-ratio: 5 / 4; border-bottom: 0; border-right: var(--edge); border-radius: 15px 0 0 15px; }
.news--rubric .news-card:nth-child(even) .news-card__pic { border-right: 0; border-left: var(--edge); border-radius: 0 15px 15px 0; }
/* «Детям»: кадры выпусков вертикальные 9:16 — карточки выше, кадрирование по верху (там головы героев) */
.news.news--kids .news-card__pic { aspect-ratio: 3 / 4; }
.news.news--kids .rubric-card.news-card img { object-position: 50% 10%; }
.news.news--kids .news-card--lead .news-card__pic { flex-basis: 30%; aspect-ratio: 3 / 4; }
.news.news--rubric.news--kids .news-card__pic { flex-basis: 27%; aspect-ratio: 3 / 4; }
.news--rubric .news-card__body { padding: 36px 40px; justify-content: center; }
.news--rubric .news-card__title { font-size: 27px; line-height: 1.1; }
.news--rubric .news-card:nth-child(even) .news-label { left: auto; right: 14px; rotate: 6deg; }
.news--rubric .news-card:nth-child(even) .news-card__body { padding-left: 66px; }
.news--rubric .news-card { --tilt: -.8deg; --fx: -90px; }
.news--rubric .news-card:nth-child(even) { --tilt: .8deg; --fx: 90px; }
.news--rubric .news-card::before {
  counter-increment: issue; content: "№" counter(issue); position: absolute; z-index: 3; right: -20px; bottom: -22px; display: grid; place-content: center;
  width: 74px; height: 74px; border: var(--edge); border-radius: 50%; background: var(--pop); font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 22px;
  box-shadow: 3px 3px 0 var(--ink); rotate: -10deg;
}
.news--rubric .news-card:nth-child(even)::before { right: auto; bottom: auto; left: -20px; top: -24px; rotate: 10deg; }

/* Пагинация */
.news .pagination { margin-top: 56px; display: flex; justify-content: center; gap: 10px; }
.news .pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; height: 44px; min-width: 44px; padding: 0 16px; border: var(--edge); border-radius: 12px; background: var(--paper); font-family: 'JetBrains Mono', monospace; font-weight: 700; box-shadow: 3px 3px 0 var(--ink); }
.news .pagination .page-numbers.current { background: var(--accent); color: var(--paper); }

/* ── Кицу выглядывает в конце ── */
.news-peek {
  position: relative; margin-top: 72px; min-height: 280px; display: flex; align-items: center; padding: 34px 300px 34px 44px;
  background: var(--paper); border: var(--edge); border-radius: 22px; box-shadow: var(--hard); overflow: hidden;
}
.news-peek img { position: absolute; right: -6px; bottom: -34%; height: 165%; width: auto; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); transform-origin: 100% 100%; }
.news-js .news-peek img { translate: 0 60%; rotate: 8deg; transition: translate .8s cubic-bezier(.2,1.5,.4,1) .25s, rotate .8s cubic-bezier(.2,1.5,.4,1) .25s; }
.news-js .news-peek.is-seen img { translate: 0 0; rotate: 0deg; }
.news-peek:hover img { animation: news-wiggle .6s ease; }
.news-peek strong { display: block; font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 30px; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 10px; }
.news-peek p { margin: 0 0 18px; font-size: 17px; color: var(--ink-2); max-width: 560px; }
.news-peek .btn { box-shadow: 4px 4px 0 var(--ink); }

/* ── Статья ── */
.news-progress { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(14,14,18,.08); pointer-events: none; }
.news-progress__bar { height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), #ff7a00, #ffd23f); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.news-progress__runner {
  position: absolute; bottom: 10px; left: calc(var(--p, 0) * (100% - 72px) + 6px); width: 60px; height: 60px; border: 2.5px solid var(--ink); border-radius: 50%;
  background: var(--paper); box-shadow: 2px 3px 0 var(--ink); overflow: hidden; transition: transform .2s;
  animation: news-run .42s ease-in-out infinite alternate;
}
.news-progress__runner img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; mix-blend-mode: multiply; transform: scale(1.9) translateY(12%); }
.news-progress.is-done .news-progress__runner { animation: news-jump .55s cubic-bezier(.3,1.6,.5,1) 3; }

.news-art-hero { max-width: 1000px; margin: 30px auto 0; text-align: center; }
.news-art-hero .news-label { position: static; display: inline-block; margin-bottom: 22px; font-size: 12px; }
.news-art-hero h1 { font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: clamp(36px, 4vw, 60px); line-height: 1.02; letter-spacing: -.03em; margin: 0 auto 22px; max-width: 940px; }
.news-art-hero .lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin: 0 auto 22px; max-width: 720px; }
.news-art-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.news-art-meta span { padding: 7px 11px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); }
.news-art-meta span:last-child { background: var(--tag); }
.news-art-cover { --sy: 0; position: relative; max-width: 820px; margin: 48px auto 0; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.news-art-cover > img {
  display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; padding: 12px 12px 46px; background: var(--paper); border: var(--edge); border-radius: 10px;
  box-shadow: var(--hard); rotate: -1.4deg; translate: 0 calc(var(--sy) * -.05px); animation: news-drop-in 1s cubic-bezier(.2,1.4,.4,1) .3s both;
}
.news-art-cover::before, .news-art-cover::after { /* скотч по углам полароида */
  content: ""; position: absolute; z-index: 2; top: -16px; width: 120px; height: 34px; background: rgba(255,210,63,.78); border: 2px dashed rgba(14,14,18,.25);
}
.news-art-cover::before { left: 30px; rotate: -12deg; }
.news-art-cover::after { right: 30px; rotate: 9deg; }
.news-art-cover:hover { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.news-art-cover .news-art-host {
  position: absolute; z-index: 3; right: -46px; bottom: -40px; width: 150px; height: 150px; border: var(--edge); border-radius: 50%; overflow: hidden;
  background: var(--tag); box-shadow: 4px 4px 0 var(--ink); rotate: -4deg;
}
.news-art-host img { width: 100%; height: 100%; object-fit: cover; }

.news-art-main { display: grid; grid-template-columns: minmax(0, 780px) 230px; justify-content: center; gap: 36px; margin-top: 86px; padding: 0 28px; }
.news-art-body.single-content {
  position: relative; margin: 0; padding: 56px 64px; background: var(--paper);
  border: var(--edge); border-radius: 22px; box-shadow: var(--hard); font-size: 18px; line-height: 1.75; color: var(--ink-2);
}
.news-art-body > p:first-of-type::first-letter {
  float: left; margin: 6px 12px 0 0; padding: 4px 12px; background: var(--pop); border: 2.5px solid var(--ink); border-radius: 12px;
  font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 46px; line-height: 1; color: var(--ink); box-shadow: 3px 3px 0 var(--ink);
}
.news-art-body h2, .news-art-body h3 { font-family: 'Unbounded', sans-serif; color: var(--ink); line-height: 1.15; letter-spacing: -.015em; margin: 42px 0 18px; }
.news-art-body h2 { font-size: 30px; }
.news-art-body h3 { font-size: 23px; }
.news-art-body h2::after { content: ""; display: block; width: 72px; height: 8px; margin-top: 12px; background: var(--pop); border: 2px solid var(--ink); border-radius: 6px; transform-origin: 0 50%; transition: transform .7s cubic-bezier(.2,1.5,.4,1); }
.news-js .news-art-body h2:not(.is-lit)::after { transform: scaleX(0); }
.news-art-body p { margin: 0 0 22px; }
.news-art-body ul, .news-art-body ol { margin: 0 0 22px; padding-left: 26px; }
.news-art-body li { margin-bottom: 8px; }
.news-art-body li::marker { color: var(--accent); font-weight: 800; }
.news-art-body strong { color: var(--ink); background: linear-gradient(rgba(255,210,63,.7), rgba(255,210,63,.7)) 0 88% / 100% 40% no-repeat; transition: background-size .9s cubic-bezier(.2,.8,.2,1) .2s; }
.news-js .news-art-body strong { background-size: 0 40%; }
.news-js .news-art-body .is-lit strong { background-size: 100% 40%; }
.news-art-body img { max-width: 100%; height: auto; margin: 28px 0; border: var(--edge); border-radius: 16px; box-shadow: 5px 5px 0 var(--ink); }
.news-art-body blockquote {
  position: relative; margin: 34px 0; padding: 22px 26px; background: var(--paper-2); border: var(--edge); border-radius: 22px;
  font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.35; color: var(--ink);
}
.news-art-body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Ведущий рубрики читает вместе с вами */
.news-buddy { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.news-buddy__say {
  position: relative; width: 100%; margin-bottom: 14px; padding: 13px 14px; background: var(--paper); border: var(--edge); border-radius: 18px;
  box-shadow: 4px 4px 0 var(--ink); text-align: center; font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 14px; line-height: 1.25; color: var(--ink);
}
.news-buddy__say::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 18px; height: 18px; background: var(--paper); border-right: var(--edge); border-bottom: var(--edge); transform: translateX(-50%) rotate(45deg); }
.news-buddy img { width: 190px; height: auto; filter: var(--sticker); transform-origin: 50% 100%; animation: news-sway 4s ease-in-out infinite; }
.news-buddy small { margin-top: 10px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }
.news-buddy.is-talk .news-buddy__say { animation: news-say .45s cubic-bezier(.2,1.6,.4,1); }
.news-buddy.is-talk img { animation: news-hop .5s cubic-bezier(.3,1.6,.5,1), news-sway 4s ease-in-out .5s infinite; }
.news-buddy.is-happy img { animation: news-jump .55s cubic-bezier(.3,1.6,.5,1) 3; }

.news-art-end { max-width: 1100px; margin: 0 auto; }
.news-art-end .news-grid { margin-top: 0; }
.news .social-cta { max-width: 1100px; margin-left: auto; margin-right: auto; border: var(--edge); border-radius: 22px; box-shadow: var(--hard); background: var(--paper); }

/* ── Конфетти, выкрики, появление ── */
.news-confetti { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; } /* размер ставит news.js в пикселях окна */
.news-pow {
  position: fixed; z-index: 96; pointer-events: none; translate: -50% -50%; font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 34px;
  color: var(--pop, #ffd23f); -webkit-text-stroke: 2px #0e0e12; paint-order: stroke fill; text-shadow: 3px 3px 0 #0e0e12; white-space: nowrap;
  animation: news-pow .9s cubic-bezier(.2,1.5,.4,1) forwards;
}
.news-js .news-reveal { opacity: 0; }
.news-js .news-reveal.is-in { animation: news-pop .7s cubic-bezier(.2,1.4,.4,1) var(--d, 0ms) both; }
.news-js .news-w { display: inline-block; animation: news-drop-in .6s cubic-bezier(.2,1.6,.4,1) calc(var(--i) * 70ms + 150ms) both; }

@keyframes news-pop {
  0% { opacity: 0; transform: translate(var(--fx, 0px), 34px) rotate(calc(var(--tilt, 0deg) * 3)) scale(.94); }
  60% { opacity: 1; transform: translate(calc(var(--fx, 0px) * -.06), -6px) rotate(calc(var(--tilt, 0deg) * -.5)) scale(1.015); }
  100% { opacity: 1; transform: none; }
}
@keyframes news-drop-in { 0% { opacity: 0; transform: translateY(-46px) rotate(-8deg); } 100% { opacity: 1; transform: none; } }
@keyframes news-zoom { from { scale: 1.18; } to { scale: 1; } }
@keyframes news-host-in { 0% { transform: translateY(70%) scale(.6) rotate(-10deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes news-say { 0% { transform: scale(.4) rotate(-6deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes news-sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-4px); } }
@keyframes news-hop { 0%, 100% { transform: none; } 40% { transform: translateY(-22px) rotate(-6deg) scale(1.05, .95); } }
@keyframes news-jump { 0%, 100% { transform: none; } 50% { transform: translateY(-26px) rotate(-12deg) scale(1.08); } }
@keyframes news-run { from { transform: translateY(0) rotate(-6deg); } to { transform: translateY(-4px) rotate(6deg); } }
@keyframes news-pow { 0% { transform: scale(0) rotate(var(--r)); opacity: 1; } 35% { transform: scale(1.25) rotate(var(--r)); } 70% { opacity: 1; } 100% { transform: translateY(-60px) scale(1) rotate(var(--r)); opacity: 0; } }
@keyframes news-marquee { to { transform: translateX(-50%); } }
@keyframes news-wobble { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(6deg) scale(1.06); } }
@keyframes news-wiggle { 0%, 100% { transform: rotate(-3deg); } 30% { transform: rotate(4deg) scale(1.08); } 65% { transform: rotate(-6deg); } }

@media (prefers-reduced-motion: reduce) {
  .news *, .news *::before, .news *::after { animation: none !important; transition: none !important; }
  .news-confetti, .news-pow { display: none; }
  .news-grid { transform: none; }
}
@media (max-width: 1100px) {
  .news-rubrics { grid-template-columns: repeat(3, 1fr); }
  .news-hero__photo { width: 50%; }
  .news-bubble { width: 50%; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news--rubric .news-bubble { width: 44%; }
  .news-host { left: 46%; width: 25%; }
  .news-host__say { right: auto; left: 10%; top: -40%; width: 150%; }
  /* ведущий статьи — выезжает справа внизу на смене реплики и уезжает */
  .news-art-main { grid-template-columns: minmax(0, 780px); }
  .news-buddy {
    position: fixed; z-index: 91; top: auto; right: 10px; bottom: 76px; width: 210px; transform: translateX(140%); opacity: 0;
  }
  .news-buddy img { width: 92px; align-self: flex-end; }
  .news-buddy small { display: none; }
  .news-buddy.is-talk { animation: news-peekin 3.4s cubic-bezier(.2,1.4,.4,1) forwards; }
}
@keyframes news-peekin { 0% { transform: translateX(140%); opacity: 1; } 12%, 82% { transform: none; opacity: 1; } 100% { transform: translateX(140%); opacity: 1; } }
/* main.css на ≤900 ставит section и h1 с !important — внутри «Новостей» возвращаем свои */
@media (max-width: 900px) {
  .news section { padding: 0 28px !important; }
  .news-bubble h1 { font-size: clamp(34px, 9vw, 56px) !important; }
  .news--rubric .news-hero { margin-top: 30px; }
  .news--rubric .news-hero__panel { height: auto; display: flex; flex-direction: column; padding: 18px 18px 0; }
  .news--rubric .news-bubble { position: relative; left: auto; top: auto; width: auto; transform: rotate(-1deg); }
  .news--rubric .news-hero__photo { position: relative; order: 2; bottom: auto; right: auto; width: 62%; margin: 22px 0 22px auto; }
  .news-host { left: 0; bottom: 0; width: 40%; height: 250px; }
  .news-host__say { display: none; }
  .news--rubric .news-burst { top: -30px; left: auto; right: 14px; }
  .news--rubric .news-grid { gap: 30px; }
  .news--rubric .news-card > a, .news--rubric .news-card:nth-child(even) > a { flex-direction: column; }
  .news--rubric .news-card__pic, .news--rubric .news-card:nth-child(even) .news-card__pic { border: 0; border-bottom: var(--edge); border-radius: 15px 15px 0 0; }
  .news--rubric .news-card__body, .news--rubric .news-card:nth-child(even) .news-card__body { padding: 24px; }
  .news--rubric .news-card__title { font-size: 22px; }
  .news--rubric .news-card { --fx: 0px; }
}
@media (max-width: 640px) {
  .news-intro { padding: 20px 18px 14px 44px; margin-top: 28px; }
  .news-intro::before { left: 28px; }
  .news section { padding: 0 16px !important; }
}
@media (max-width: 720px) {
  .news--feed .news-hero__panel { height: auto; min-height: 600px; }
  .news--feed .news-hero__photo { width: 100%; height: 300px; border-left: 0; border-bottom: var(--edge); }
  .news--feed .news-bubble { left: 16px; right: 16px; top: auto; bottom: 16px; width: auto; transform: rotate(-1deg); padding: 22px; }
  .news-bubble { padding: 22px; }
  .news-bubble::after { display: none; }
  .news-burst { width: 96px; height: 96px; font-size: 28px; left: auto; right: 14px; top: 14px; }
  .news-ticker { margin: 26px -4px 0; }
  .news-ticker span { font-size: 13px; padding: 10px 0 10px 16px; }
  .news-rubrics, .news-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .news .news-tile { height: 150px; }
  .news .news-card--lead > a { flex-direction: column; }
  .news .news-card--lead .news-card__pic { border-right: 0; border-bottom: var(--edge); border-radius: 15px 15px 0 0; }
  .news .news-card--lead .news-card__body { padding: 24px; }
  .news .news-card--lead .news-card__title { font-size: 24px; }
  .news .news-card--lead::before { right: -6px; font-size: 12px; }
  .news-grid { grid-template-columns: 1fr; gap: 30px; }
  .news.news--kids .news-card__pic, .news.news--rubric.news--kids .news-card__pic, .news.news--kids .news-card--lead .news-card__pic { flex-basis: auto; aspect-ratio: 4 / 5; }
  .news-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .news .news-switch__chip { font-size: 12px; line-height: 1.15; padding-right: 12px; border-radius: 24px; }
  .news--kids .news-bubble h1 { font-size: clamp(26px, 7.4vw, 44px) !important; }
  .news-switch__chip img, .news-switch__chip i { width: 36px; height: 36px; }
  .news-peek { padding: 24px 24px 200px; }
  .news-peek img { height: 190px; }
  .news-art-main { margin-top: 64px; padding: 0 16px; }
  .news-art-body.single-content { padding: 30px 22px; font-size: 17px; }
  .news-art-hero h1 { font-size: 30px !important; overflow-wrap: anywhere; }
  .news-art-cover > img { padding: 8px 8px 30px; }
  .news-art-cover::before, .news-art-cover::after { width: 80px; height: 26px; }
  .news-art-cover .news-art-host { width: 96px; height: 96px; right: -6px; bottom: -30px; }
  .news-progress__runner { width: 44px; height: 44px; left: calc(var(--p, 0) * (100% - 56px) + 6px); }
}
