/*
Theme Name: Bloggram
Theme URI: https://bloggram.ru/
Author: Bloggram
Author URI: https://bloggram.ru/
Description: Тёмная новостная тема про блогеров (Twitch/YouTube/Kick). Главная + демо-лента.
Version: 0.2.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: b-info
*/

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/InterVariable.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/InterVariable-Italic.woff2") format("woff2");
}

:root {
  --bg: #070912;
  --bg2: #0b0e14;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.09);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.64);
  --soft: rgba(255, 255, 255, 0.14);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);

  --twitch: #9146ff;
  --youtube: #ff0033;
  --kick: #22ff5b;
  --accent: #7c5cff;

  --radius: 12px;
  --radius-sm: 10px;
  --container: 1200px;
}

:root[data-theme="light"] {
  --bg: #f4f5f7;
  --bg2: #ffffff;
  --panel: rgba(0, 0, 0, 0.05);
  --panel2: rgba(0, 0, 0, 0.08);
  --text: rgba(0, 0, 0, 0.92);
  --muted: rgba(0, 0, 0, 0.64);
  --soft: rgba(0, 0, 0, 0.14);
  --border: rgba(0, 0, 0, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

:root:not([data-theme]) {
  color-scheme: dark;
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
:root[data-theme="light"] {
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f4f5f7;
    --bg2: #ffffff;
    --panel: rgba(0, 0, 0, 0.05);
    --panel2: rgba(0, 0, 0, 0.08);
    --text: rgba(0, 0, 0, 0.92);
    --muted: rgba(0, 0, 0, 0.64);
    --soft: rgba(0, 0, 0, 0.14);
    --border: rgba(0, 0, 0, 0.12);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
    color-scheme: light;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: auto;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-image: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0 0;
  background-attachment: scroll;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: -0.01em;
  font-feature-settings: "kern" 1, "liga" 1;
  position: relative;
  isolation: isolate;
}

h1,
h2,
h3,
.articleTitle,
.popular__title {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.035), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(0,0,0,.035), transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(0,0,0,.02), transparent 55%);
  opacity: .8;
  mix-blend-mode: overlay;
  z-index: -1;
}

:root[data-theme="light"] body::before {
  opacity: .55;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(0,0,0,.035), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(0,0,0,.02), transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(0,0,0,.02), transparent 55%);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) body {
    background-image: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  }
  :root:not([data-theme]) body::before {
    opacity: .55;
    mix-blend-mode: multiply;
    background-image:
      radial-gradient(circle at 20% 10%, rgba(0,0,0,.035), transparent 45%),
      radial-gradient(circle at 80% 30%, rgba(0,0,0,.02), transparent 50%),
      radial-gradient(circle at 40% 80%, rgba(0,0,0,.02), transparent 55%);
  }
}


img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 12px;
  background: #ffffff;
  color: #000;
  border-radius: 10px;
  z-index: 1000;
}
.skip:focus {
  left: 12px;
}

.masthead {
  position: relative;
  top: auto;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(11, 14, 20, 0.96) 0%, rgba(11, 14, 20, 0.72) 100%);
  border-bottom: 1px solid var(--border);
}
:root[data-theme="light"] .masthead {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 100%);
}

.header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
:root[data-theme="light"] .header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand__mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: block;
  overflow: visible;
}
.brand__text {
  font-size: 18px;
}

.nav {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.chip {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 0;
  padding: 0;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 140ms ease, opacity 140ms ease;
  position: relative;
}
.chip:hover {
  color: var(--text);
}
.chip.is-active {
  color: var(--text);
}
.chip.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
}

.actions {
  display: inline-flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}
.actionBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  font-size: 14px;
}
.actionBtn:hover {
  background: rgba(0, 0, 0, 0.70);
  border-color: var(--border);
}
:root[data-theme="light"] .actionBtn {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.88);
  border-color: rgba(0, 0, 0, 0.12);
}

.iconBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}
.iconBtn--avatar {
  border-radius: 999px;
  padding: 0;
  overflow: hidden;
}
.iconBtn__avatarImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.iconBtn svg {
  display: block;
}
.iconBtn:hover {
  background: rgba(0, 0, 0, 0.70);
  border-color: var(--border);
}
:root[data-theme="light"] .iconBtn {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.88);
  border-color: rgba(0, 0, 0, 0.12);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.overlay.is-open {
  display: block;
}
.overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}
.overlay__panel {
  position: relative;
  width: min(760px, calc(100% - 32px));
  margin: 72px auto 0;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}
:root[data-theme="light"] .overlay__panel {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.12);
}
.overlay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border);
}
:root[data-theme="light"] .overlay__head {
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}
.overlay__title {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.overlay__body {
  padding: 16px 18px 18px;
}
.searchForm {
  display: flex;
  gap: 10px;
  align-items: center;
}
.searchForm .searchInput {
  flex: 1;
}
.searchForm .actionBtn {
  height: 48px;
  border-radius: 10px;
  white-space: nowrap;
}
.searchInput {
  width: 100%;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  outline: none;
  font-weight: 700;
}
:root[data-theme="light"] .searchInput {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
}
.searchInput:focus {
  border-color: rgba(124, 92, 255, 0.8);
}
.overlay__hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.themeToggle {
  list-style: none;
  margin: 0;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.92);
}
:root[data-theme="light"] .themeToggle {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.88);
  border-color: rgba(0, 0, 0, 0.12);
}
.themeToggle li {
  display: flex;
}
.themeToggle__btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}
.themeToggle__btn svg {
  display: block;
}
.themeToggle__btn:hover {
  background: rgba(255, 255, 255, 0.10);
}
:root[data-theme="light"] .themeToggle__btn:hover {
  background: rgba(0, 0, 0, 0.07);
}
.themeToggle__btn:focus-visible {
  outline: 2px solid rgba(124, 92, 255, 0.75);
  outline-offset: 2px;
}
.themeToggle__btn.is-active[data-theme="light"] {
  background: #f9d21a;
  color: rgba(0, 0, 0, 0.92);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 6px 18px rgba(249, 210, 26, 0.22);
}
.themeToggle__btn.is-active[data-theme="dark"] {
  background: rgba(255, 255, 255, 0.08);
  color: #f9d21a;
  border-color: rgba(249, 210, 26, 0.75);
  box-shadow: 0 0 0 2px rgba(249, 210, 26, 0.15), 0 8px 22px rgba(0, 0, 0, 0.35);
}
.themeToggle__btn.is-active[data-theme="system"] {
  background: rgba(124, 92, 255, 0.70);
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(124, 92, 255, 0.95);
  box-shadow: 0 0 0 2px rgba(124, 92, 255, 0.20);
}

.masthead,
.topbar,
.main,
.footer {
  transition: filter 160ms ease;
}
body.has-overlay .masthead,
body.has-overlay .topbar,
body.has-overlay .main,
body.has-overlay .footer {
  filter: blur(7px);
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 14, 20, 0.62);
  backdrop-filter: blur(10px);
}
:root[data-theme="light"] .topbar {
  background: rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(0, 0, 0, 0.10);
}
.topbar__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 0 12px;
}
.topbar__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.topbar__items {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.trend {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.trend::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.9), rgba(255, 0, 51, 0.7));
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.16);
}
.trend:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.main {
  padding: 28px 0 60px;
}

.popular {
  margin: 18px 0 30px;
}
.popular__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 14px;
}
.popular__title {
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.popular__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.popular__list {
  display: none;
}
.popCard {
  display: block;
  min-width: 0;
}
.popCard__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
}
.popCard__img,
.popCard__img--ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 220ms ease;
}
.popCard__img--ph {
  background:
    radial-gradient(680px 260px at 22% 15%, rgb(var(--v1) / 0.55), transparent 60%),
    radial-gradient(680px 260px at 82% 35%, rgb(var(--v2) / 0.25), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}
.popCard:hover .popCard__img {
  transform: scale(1.08);
}
.popCard__bookmark {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.popCard__bookmark:hover{
  background: rgba(0, 0, 0, 0.55);
}
.popCard__bookmark:focus-visible{
  outline: 2px solid rgba(243, 210, 27, 0.65);
  outline-offset: 2px;
}
.popCard__bookmark.is-saved{
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.45);
  color: rgb(34, 197, 94);
}
:root[data-theme="light"] .popCard__bookmark{
  background: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.78);
}
:root[data-theme="light"] .popCard__bookmark:hover{
  background: rgba(0, 0, 0, 0.12);
}
:root[data-theme="light"] .popCard__bookmark.is-saved{
  background: rgba(34, 197, 94, 0.22);
  border-color: rgba(34, 197, 94, 0.55);
  color: rgb(22, 163, 74);
}
.popCard__meta {
  margin-top: 10px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.popCard__meta[data-category="twitch"] {
  color: rgba(145, 70, 255, 0.95);
}
.popCard__meta[data-category="youtube"] {
  color: rgba(255, 0, 51, 0.95);
}
.popCard__meta[data-category="tiktok"] {
  color: rgba(0, 242, 234, 0.95);
}
.popCard__meta[data-category="kick"] {
  color: rgba(34, 255, 91, 0.95);
}
.popCard__title {
  margin-top: 6px;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero {
  display: none;
}
.hero__side {
  display: none;
}

.heroStrip {
  display: block;
  margin: 6px 0 18px;
}
.heroStrip__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}
.heroCard {
  min-height: 220px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}
.heroCard__link {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  width: 100%;
  position: relative;
  padding: 18px 18px 16px;
}
.heroCard__media {
  position: absolute;
  inset: 0;
}
.heroCard__img,
.heroCard__img--ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 220ms ease;
}
.heroCard__img--ph {
  background:
    radial-gradient(700px 320px at 25% 18%, rgb(var(--v1) / 0.55), transparent 60%),
    radial-gradient(820px 340px at 80% 40%, rgb(var(--v2) / 0.35), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}
.heroCard__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.55) 75%, rgba(0, 0, 0, 0.7) 100%);
}
.heroCard:hover .heroCard__img {
  transform: scale(1.05);
}
.heroCard__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
}
.heroCard__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sectionHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: 26px 0 14px;
}
.sectionHead__title {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.sectionHead__hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Блок "Последнее": используем список-строки, а не вертикальные карточки */
#cards {
  display: none !important;
}
.latestList {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.latestWrap {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

.features__title {
  margin: 0 0 16px;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.features__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.features .rowItem__thumb {
  width: 42%;
  max-width: 200px;
  min-width: 160px;
}
.features .rowItem__title {
  font-size: 14px;
  line-height: 1.25;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.card__media {
  position: relative;
  height: 190px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.card__img,
.card__img--ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 220ms ease;
}
.card__img--ph {
  background:
    radial-gradient(700px 260px at 22% 15%, rgb(var(--v1) / 0.55), transparent 60%),
    radial-gradient(720px 260px at 82% 35%, rgb(var(--v2) / 0.30), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}
.card:hover .card__img {
  transform: scale(1.07);
}
.card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.22) 70%, rgba(0, 0, 0, 0.3) 100%);
}

.card__body {
  padding: 14px 14px 16px;
}
.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: fit-content;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgb(var(--v1) / 0.38);
  color: rgba(255, 255, 255, 0.95);
}
.pill[data-category="twitch"] {
  background: rgba(145, 70, 255, 0.42);
}
.pill[data-category="youtube"] {
  background: rgba(255, 0, 51, 0.42);
}
.pill[data-category="tiktok"] {
  background: rgba(0, 242, 234, 0.24);
  border-color: rgba(0, 242, 234, 0.32);
}
.pill[data-category="kick"] {
  background: rgba(34, 255, 91, 0.3);
  color: rgba(0, 0, 0, 0.9);
  border-color: rgba(34, 255, 91, 0.38);
}

.home .pill,
.front-page .pill {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 900;
  font-size: 12px;
}
.home .pill[data-category="twitch"],
.front-page .pill[data-category="twitch"] {
  color: rgba(145, 70, 255, 0.95);
}
.home .pill[data-category="youtube"],
.front-page .pill[data-category="youtube"] {
  color: rgba(255, 0, 51, 0.95);
}
.home .pill[data-category="tiktok"],
.front-page .pill[data-category="tiktok"] {
  color: rgba(0, 242, 234, 0.95);
}
.home .pill[data-category="kick"],
.front-page .pill[data-category="kick"] {
  color: rgba(34, 255, 91, 0.95);
}

.home .heroStrip__row,
.front-page .heroStrip__row,
.home .heroCard,
.front-page .heroCard,
.home .popCard__media,
.front-page .popCard__media,
.home .rowItem__thumb,
.front-page .rowItem__thumb {
  border-radius: 0;
}

.stamp {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.card__title {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

:root[data-theme="light"] .card__shade {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.55) 65%, rgba(255, 255, 255, 0.72) 100%);
}
:root[data-theme="light"] .heroCard__shade {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 40%, rgba(255, 255, 255, 0.55) 95%, rgba(255, 255, 255, 0.72) 100%);
}

:root[data-theme="light"] .heroCard__title,
:root[data-theme="light"] .card__title,
:root[data-theme="light"] .rowItem__title,
:root[data-theme="light"] .continued__title,
:root[data-theme="light"] .footer__name {
  color: var(--text);
}

:root[data-theme="light"] .rowItem__meta,
:root[data-theme="light"] .footer__note,
:root[data-theme="light"] .footer__meta {
  color: var(--muted);
}

.card--lead .card__media {
  height: 320px;
}
.card--lead .card__title {
  font-size: 22px;
}
.card--lead .card__desc {
  font-size: 14px;
}

.continued {
  margin-top: 34px;
}
.continued__wrap {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  align-items: start;
}
.continued__title {
  margin: 0 0 16px;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.continued__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rowItem {
  display: flex;
  gap: 14px;
  align-items: stretch;
}
.rowItem__thumb {
  position: relative;
  width: 33%;
  max-width: 240px;
  min-width: 180px;
  flex: 0 0 auto;
  align-self: flex-start;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}
.rowItem__img,
.rowItem__img--ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 220ms ease;
}
.rowItem__img--ph {
  background:
    radial-gradient(600px 240px at 20% 20%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(600px 240px at 80% 40%, rgba(255, 0, 51, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}
.rowItem:hover .rowItem__img {
  transform: scale(1.08);
}
.rowItem__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.rowItem__top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rowItem__cat {
  max-width: fit-content;
  font-weight: 900;
  font-size: 12px;
  padding: 0;
  color: var(--muted);
}
.rowItem__cat[data-category="twitch"] {
  color: rgba(145, 70, 255, 0.95);
}
.rowItem__cat[data-category="youtube"] {
  color: rgba(255, 0, 51, 0.95);
}
.rowItem__cat[data-category="tiktok"] {
  color: rgba(0, 242, 234, 0.95);
}
.rowItem__cat[data-category="kick"] {
  color: rgba(34, 255, 91, 0.95);
}
.rowItem__title {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
  color: var(--text);
}
.rowItem__title:hover {
  text-decoration: underline;
}
.rowItem__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
}

.continued__aside {
  position: sticky;
  top: 40px;
  height: calc(100vh - 40px);
  display: none;
}
.asideCard {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}
.asideCard__label {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.70);
}
.asideCard__body {
  min-height: 606px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  padding: 26px 0;
}
.footer__signup {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__tagline {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  max-width: 520px;
}
.footerForm {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 520px;
}
.footerForm__input {
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 0 12px;
}
.footerForm__btn {
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(0, 0, 0, 0.92);
  font-weight: 900;
  cursor: pointer;
}
.footerForm__btn:hover {
  background: rgba(255, 255, 255, 1);
}
.footerLinks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.footerCol__title {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}
.footerLink {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  padding: 6px 0;
}
.footerLink:hover {
  color: var(--text);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}
.footer__copy {
  font-size: 12px;
}
.footerSocial {
  display: inline-flex;
  gap: 10px;
}
.footerSocial__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-weight: 900;
  font-size: 12px;
}
.footerSocial__link:hover {
  background: var(--panel2);
}
.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: var(--muted);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__mark {
  width: 28px;
  height: 28px;
  opacity: 0.95;
}
.footer__name {
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.footer__meta {
  font-size: 12px;
  color: var(--muted);
}
.footer__note {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}

/* Article page (single) */
.articlePage {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 44px;
  align-items: start;
}
.articleMain {
  min-width: 0;
}
.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0 10px;
}
.crumbs__link,
.crumbs__current {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs__link {
  color: rgba(34, 255, 91, 0.74);
  text-decoration: none;
}
.crumbs__link:hover {
  color: rgba(34, 255, 91, 0.9);
  text-decoration: none;
}
:root[data-theme="light"] .crumbs__link {
  color: rgba(0, 120, 52, 0.92);
}
:root[data-theme="light"] .crumbs__link:hover {
  color: rgba(0, 120, 52, 1);
}
.crumbs__current {
  color: var(--text);
}
.crumbs__sep {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.6;
}
.crumbs__cat {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.archiveHead {
  margin: 10px 0 14px;
}
.archiveHead__title {
  margin: 0 0 6px;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.archiveHead__hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.dexHead {
  margin: 12px 0 16px;
}
.dexHead__title {
  margin: 0;
  font-size: 46px;
  line-height: 1.04;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.dexTabs {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dexTab {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
:root[data-theme="light"] .dexTab {
  background: rgba(255, 255, 255, 0.72);
}
.dexTab:hover {
  background: var(--panel2);
}
.dexTab.is-active {
  border-color: rgba(124, 92, 255, 0.7);
  background: rgba(124, 92, 255, 0.16);
}

.dexHero {
  margin: 18px 0 22px;
}
.dexHero__grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 18px;
  align-items: start;
}
.dexFeature {
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.dexFeature__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0;
}
.dexFeature__link {
  display: block;
  position: relative;
}
.dexFeature__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.dexFeature__ph {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(520px 240px at 20% 20%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(520px 240px at 80% 40%, rgba(255, 0, 51, 0.10), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}
.dexFeature__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.62) 55%, rgba(0, 0, 0, 0.82) 100%);
}
.dexFeature__content .dexKicker {
  color: rgba(255, 255, 255, 0.72);
}
:root[data-theme="light"] .dexFeature__content{
  color: #fff;
}
:root[data-theme="light"] .dexFeature__title{
  color: #fff;
}
.dexKicker {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.dexFeature__title {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.dexSide {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dexSide__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dexPromo {
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 14px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.26), rgba(255, 0, 51, 0.16));
}
.dexPromo__badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 12px;
}
.dexPromo__title {
  margin-top: 10px;
  font-weight: 950;
  font-size: 16px;
  line-height: 1.18;
}
.dexPromo__meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.dexLatest {
  margin-top: 20px;
}
.dexLatest .rowItem__thumb,
.dexLatest .rowItem__img,
.dexLatest .rowItem__img--ph {
  border-radius: 0;
}
.dexSectionHead {
  margin: 8px 0 14px;
}
.dexSectionHead__title {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.archivePager {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.archivePager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-weight: 800;
  margin: 0 4px;
}
.archivePager .page-numbers.current {
  background: var(--panel2);
}
.archivePager .page-numbers:hover {
  background: var(--panel2);
}
.articleTitle {
  margin: 0 0 14px;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.articleMeta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 650;
  font-size: 13px;
  margin-bottom: 16px;
}
.articleMeta__spacer {
  flex: 1;
}
.saveBtn {
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.saveBtn:hover {
  background: var(--panel2);
}
.saveBtn__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
}
.saveBtn.is-saved{
  border-color: rgba(34, 197, 94, 0.35);
}
:root[data-theme="light"] .saveBtn.is-saved{
  border-color: rgba(34, 197, 94, 0.55);
}
.saveBtn.is-saved .saveBtn__icon{
  color: rgb(34, 197, 94);
}
.articleBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 10px 0 16px;
}
.topics--inline {
  gap: 8px;
}
.topic__count {
  color: var(--muted);
  font-weight: 700;
  margin-left: 6px;
}
.relatedList {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 10px 0 18px;
}
  .relatedGrid {
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 10px 0 18px;
  }
  .relatedGrid .rowItem {
    margin:0;
  }
  .relatedGrid .rowItem__thumb {
    border-radius: 0;
  }
  .relatedGrid .rowItem__img {
    border-radius: 0;
  }

.relatedRail{
  position:relative;
  border-radius: 14px;
  border: 1px solid rgba(34, 255, 91, 0.22);
  background: rgba(255, 255, 255, 0.05);
  overflow:hidden;
  margin: 10px 0 18px;
}
.relatedRail__badge{
  position:absolute;
  top:0;
  left:0;
  padding: 10px 14px;
  background: rgba(34, 255, 91, 0.85);
  color: #06120b;
  font-weight: 1000;
  letter-spacing: 0.08em;
  font-size: 12px;
}
.relatedRail__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:0;
  padding: 46px 12px 12px;
}
.relatedCard{
  display:block;
  padding: 10px 12px 12px;
  color: var(--text);
  text-decoration:none;
}
.relatedCard + .relatedCard{
  border-left: 1px solid rgba(34, 255, 91, 0.16);
}
.relatedCard__media{
  border-radius: 0;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
}
.relatedRail__grid .relatedCard__img {
  border-radius: 0;
}
.relatedCard__img{
  display:block;
  width:100%;
  height: 120px;
  object-fit: cover;
  border-radius: 0;
}
.relatedCard__ph{
  height: 120px;
  background:
    radial-gradient(500px 200px at 30% 20%, rgba(124, 92, 255, 0.25), transparent 60%),
    radial-gradient(500px 200px at 80% 60%, rgba(34, 255, 91, 0.14), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
}
.relatedCard__title{
  margin-top: 10px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.relatedCard:hover .relatedCard__title{
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(34, 255, 91, 0.55);
}

@media (max-width: 980px){
  .relatedGrid{ grid-template-columns: 1fr; }
  .relatedRail__grid{ grid-template-columns: 1fr; padding: 46px 12px 12px; }
  .relatedCard + .relatedCard{ border-left: 0; border-top: 1px solid rgba(34, 255, 91, 0.14); }
  .relatedCard__img, .relatedCard__ph{ height: 180px; }
}
  .articleHero {
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--panel);
  }
  .articleHero__img {
    display: block;
    width: 100%;
    height: clamp(240px, 50vh, 520px);
    object-fit: cover;
    border-radius: 0;
  }
.articleHero__ph {
  height: clamp(240px, 50vh, 520px);
  background:
    radial-gradient(900px 360px at 20% 20%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(900px 360px at 80% 40%, rgba(255, 0, 51, 0.10), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}
.articleContent {
  margin-top: 16px;
  color: var(--text);
}
.articleContent p,
.articleContent li {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.75;
}
:root[data-theme="light"] .articleContent p,
:root[data-theme="light"] .articleContent li {
  color: rgba(0, 0, 0, 0.82);
}
.articleContent h2 {
  margin: 22px 0 10px;
  color: var(--text);
  font-size: 28px;
  letter-spacing: -0.02em;
}
.articleContent a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(34, 255, 91, 0.55);
  text-underline-offset: 6px;
}
.articleContent a:hover {
  text-decoration-color: rgba(34, 255, 91, 0.85);
}
.articleContent strong {
  color: var(--text);
}
.articleContent blockquote {
  margin: 16px 0;
  padding: 14px 14px;
  border-left: 3px solid rgba(124, 92, 255, 0.7);
  background: var(--panel);
  border-radius: 10px;
}
.articleContent blockquote p {
  margin: 0;
  color: var(--text);
}

@media (min-width: 981px) {
  .articleContent :where(p, ul, ol, blockquote, h2, h3, h4) {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}
.articleFooter {
  margin-top: 26px;
}

/* Comments */
.cs-commentsWrap{
  margin-top: 22px;
}
.cs-commentsRoot{
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
:root[data-theme="light"] .cs-commentsRoot{
  border-color: rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.86);
}
.cs-comments__sort-tabs{
  display:flex;
  gap:18px;
  margin: 10px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.cs-comments__sort-tabs button{
  border:0;
  background:transparent;
  color: var(--muted);
  font-weight: 900;
  letter-spacing: .02em;
  cursor:pointer;
  padding: 6px 0;
}
.cs-comments__sort-tabs button._active{
  color: var(--text);
  border-bottom: 2px solid #f3d21b;
}
.cs-comments__empty{
  padding: 18px 0;
  color: var(--muted);
  font-weight: 650;
}
.cs-comments__empty--center{
  padding: 34px 0 26px;
  text-align: center;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
  opacity: 0.55;
}
.cs-comments--empty .cs-comments__sticky-form{
  border-top: 0;
  padding-top: 0;
  margin-top: 12px;
}
.cs-comment-tree__item{
  margin-top: 18px;
  padding-left: calc(var(--depth, 0) * 18px);
}
.cs-comment-item__header{
  display:flex;
  gap:12px;
  align-items:center;
}
.cs-comment-item__avatar{
  width:40px;
  height:40px;
  border-radius: 999px;
  overflow:hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
:root[data-theme="light"] .cs-comment-item__avatar{
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.10);
}
.cs-comment-item__avatar-img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.cs-comment-item__avatar-ph{
  width:22px;
  height:22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
}
.cs-comment-item__headText{ min-width:0; }
.cs-comment-item__author-name{
  font-weight: 900;
  font-size: 15px;
  color: var(--text);
}
.cs-comment-item__time{
  display:block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}
.cs-comment-item__body{
  margin-left: 52px;
  margin-top: 8px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.cs-comment-item__footer{
  margin-left: 52px;
  margin-top: 10px;
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}
.cs-comment-item__reactions{
  display:flex;
  align-items:center;
  gap:10px;
}
.cs-comment-item__like,
.cs-comment-item__dislike{
  border:0;
  background:transparent;
  color: var(--muted);
  cursor:pointer;
  padding: 4px;
}
.cs-comment-item__like.is-active{ color: rgb(34, 197, 94); }
.cs-comment-item__dislike.is-active{ color: rgb(239, 68, 68); }
.cs-comment-item__like-count,
.cs-comment-item__dislike-count{
  font-weight: 800;
  font-size: 13px;
  color: var(--muted);
  min-width: 16px;
}
.cs-comment-item__actions{
  display:flex;
  align-items:center;
  gap:8px;
  color: var(--muted);
  font-weight: 700;
}
.cs-comment-item__answer{
  border:0;
  background:transparent;
  color: var(--muted);
  cursor:pointer;
  font-weight: 800;
  padding: 4px 0;
}
.cs-comment-item__answer:hover{ color: var(--text); }
.cs-comments__sticky-form{
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.cs-comment-form__form{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.cs-comment-form__avatar{
  width:48px;
  height:48px;
  border-radius: 999px;
  overflow:hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
:root[data-theme="light"] .cs-comment-form__avatar{
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.10);
}
.cs-comment-form__inputs{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
}
.cs-comment-form__text{
  position: relative;
  margin-top: 2px;
}
.cs-comment-form__reply{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text);
  font-size: 13px;
}
.cs-comment-form__error{
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.10);
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  font-weight: 750;
}
:root[data-theme="light"] .cs-comment-form__error{
  color: rgba(11,14,20,0.92);
  border-color: rgba(239, 68, 68, 0.40);
  background: rgba(239, 68, 68, 0.08);
}
:root[data-theme="light"] .cs-comment-form__reply{
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.10);
}
.cs-comment-form__cancel{
  border:0;
  background:transparent;
  color: var(--muted);
  cursor:pointer;
  font-weight: 800;
}
.cs-comment-form__textarea{
  width:100%;
  min-height: 56px;
  resize: none;
  padding: 14px 64px 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}
.cs-comment-form__textarea:focus{ outline: none; border-color: rgba(243, 210, 27, 0.45); }
.cs-comment-form__actions{
  position:absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display:flex;
  align-items:center;
  gap:10px;
  height: 40px;
}
.cs-comment-form__iconBtn{
  width:40px;
  height:40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.86);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.cs-comment-form__iconBtn:hover{ background: rgba(255,255,255,0.10); }
.cs-comment-form__iconBtn:disabled{ opacity: 0.45; cursor: not-allowed; }
:root[data-theme="light"] .cs-comment-form__iconBtn{
  border-color: rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.78);
}
:root[data-theme="light"] .cs-comment-form__iconBtn:hover{ background: rgba(0,0,0,0.07); }
.cs-comment-form__iconBtn--send{
  background: rgba(255,255,255,0.08);
}
:root[data-theme="light"] .cs-comment-form__iconBtn--send{
  background: rgba(0,0,0,0.06);
}
.cs-comment-form__placeholder{
  width:100%;
  text-align:left;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--muted);
  border-radius: 14px;
  padding: 14px 64px 14px 14px;
  font-weight: 700;
  cursor:pointer;
}
.cs-comment-form__placeholder:hover{ background: var(--panel2); }
.cs-comment-form__symbols{
  margin-top: 10px;
  text-align: right;
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}
.topicsTitle {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text);
}
.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.topic {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(124, 92, 255, 0.18);
  color: var(--text);
  font-weight: 850;
  font-size: 12px;
  letter-spacing: -0.01em;
}
.topic:hover {
  background: rgba(124, 92, 255, 0.26);
  border-color: rgba(124, 92, 255, 0.32);
}
:root[data-theme="light"] .topic{
  background: rgba(124, 92, 255, 0.12);
  border-color: rgba(0, 0, 0, 0.12);
}
:root[data-theme="light"] .topic:hover{
  background: rgba(124, 92, 255, 0.18);
}
.articleSide {
  position: sticky;
  top: 24px;
}
.sideTitle {
  margin: 10px 0 14px;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sideList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sideItem {
  display: flex;
  gap: 12px;
  align-items: center;
}
.sideItem__thumb {
  width: 150px;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  flex: 0 0 auto;
}
.sideItem__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.sideItem__ph {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(520px 220px at 20% 20%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(520px 220px at 80% 40%, rgba(255, 0, 51, 0.08), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}
.sideItem__cat {
  font-weight: 900;
  font-size: 12px;
  color: var(--muted);
}
.sideItem__title {
  font-weight: 850;
  font-size: 14px;
  line-height: 1.25;
  color: var(--text);
}
.sideBox {
  margin-top: 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 0, 51, 0.22), rgba(249, 210, 26, 0.22));
  padding: 14px;
}
.sideBox__title {
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sideBox__text {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.sideBox__form {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.sideBox__input {
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 0 12px;
}
.sideBox__btn {
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f9d21a;
  color: rgba(0, 0, 0, 0.92);
  font-weight: 900;
  cursor: pointer;
}
.sideBox__btn:hover {
  background: #ffdc3a;
}

@media (max-width: 980px) {
  .articlePage {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .articleSide {
    position: relative;
    top: auto;
  }
  .articleTitle {
    font-size: 30px;
  }
}

@media (max-width: 620px) {
  .articlePage {
    width: min(720px, 100%);
  }
  .articleMain {
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.35);
    padding: 16px;
  }
  :root[data-theme="light"] .articleMain {
    background: rgba(255, 255, 255, 0.72);
  }
  .articleTitle {
    font-size: 30px;
    line-height: 1.03;
  }
  .articleBadges {
    display: none;
  }
  .articleHero__ph {
    height: 260px;
  }
  /* Mobile: hide "В тренде" list on single pages (keeps subscribe box). */
  .articleSide .sideTitle,
  .articleSide .sideList {
    display: none;
  }
  .articleSide .sideBox {
    margin-top: 0;
  }
  .articleContent p,
  .articleContent li {
    font-size: 18px;
    line-height: 1.75;
  }
  .dexFeature__title {
    font-size: 30px;
    line-height: 1.06;
  }
}

@media (max-width: 980px) {
  .header__row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    align-items: center;
    row-gap: 14px;
  }
  .brand {
    grid-area: brand;
  }
  .nav {
    grid-area: nav;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .actions {
    grid-area: actions;
    width: 100%;
    justify-content: flex-end;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .popular__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .continued__wrap {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .rowItem__thumb {
    width: 42%;
    min-width: 150px;
  }

  .dexHero__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  html,
  body {
    overflow-x: hidden;
  }
  #wpadminbar {
    display: none !important;
  }
  html {
    margin-top: 0 !important;
  }
  .masthead {
    position: relative;
    top: auto;
    backdrop-filter: none;
  }
  .header__row {
    grid-template-areas: "brand actions";
    row-gap: 0;
  }
  .nav {
    display: none;
  }
  body {
    font-size: 15px;
  }
  .topbar {
    display: none;
  }
  .topbar__row {
    grid-template-columns: 1fr;
  }
  .cards {
    display: none;
  }
  .latestList {
    display: flex;
  }
  .latestWrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .features {
    display: none;
  }
  .popular__grid {
    display: none;
  }
  .popular__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .popular__list .rowItem__thumb {
    width: 48%;
    min-width: 160px;
  }
  .popular__list .rowItem__title {
    font-size: 16px;
    line-height: 1.15;
  }
  .footer__row {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__note {
    text-align: left;
  }

  .heroStrip__row {
    gap: 10px;
    border: 0;
    background: transparent;
  }
  .heroCard {
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4 / 5;
    min-height: 0;
  }
  .heroCard__link {
    padding: 14px;
  }
  .heroCard__title {
    font-size: 16px;
    line-height: 1.12;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footerLinks {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .dexHead__title {
    font-size: 34px;
    letter-spacing: 0.08em;
  }
  .dexTabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .dexTabs::-webkit-scrollbar {
    display: none;
  }
  .dexTab {
    flex: 0 0 auto;
  }
  .sideItem__thumb {
    width: 170px;
  }

  .cs-comment-form__avatar {
    display: none;
  }
  .cs-comment-form__form {
    gap: 0;
  }
  .cs-comment-form__inputs {
    width: 100%;
  }
  .cs-comments__sort-tabs {
    flex-wrap: wrap;
  }
}

body.category,
body.tag {
  --radius: 0;
  --radius-sm: 0;
}

@media (min-width: 981px) {
  .heroStrip__row {
    grid-template-columns: repeat(4, 1fr);
  }
  .heroCard {
    min-height: 449px;
  }
  .continued__aside {
    display: block;
  }
}
