:root {
  --ink: #111827;
  --muted: #667085;
  --soft: #f3f6fb;
  --paper: #fff;
  --line: #d7deea;
  --navy: #0b2147;
  --blue: #1c4f95;
  --brand-blue: #244892;
  --red: #e31d31;
  --dark-panel: #131b2a;
  --max: 1320px;
  --app-visual-width: 100vw;
  --app-visual-height: 100vh;
  --article-text-size: 24px;
  --article-text-line: 1.58;
  --site-font: Arial, Helvetica, sans-serif;
  --heading-font: var(--site-font);
  --card-title-font: var(--heading-font);
  --article-title-font: var(--heading-font);
  --article-body-font: var(--site-font);
  --card-title-weight: 950;
  --article-title-weight: 950;
  --article-body-weight: 400;
  --radius-tiny: 1px;
  --radius-soft: 3px;
  font-family: var(--site-font);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--site-font);
  font-size: 17px;
  color: var(--ink);
  background: #f3f6fb;
}

body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3,
body:not(.admin-body) .brand strong,
body:not(.admin-body) .nav a {
  font-family: var(--heading-font);
}

.deploy-overlay[hidden] {
  display: none;
}

.deploy-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 17, 32, 0.34);
  backdrop-filter: blur(5px) saturate(1.05);
  -webkit-backdrop-filter: blur(5px) saturate(1.05);
}

.deploy-overlay-card {
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
  color: #fff;
  background: rgba(12, 32, 72, 0.86);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(116, 167, 255, 0.24);
}

.deploy-overlay-card strong {
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 950;
}

.deploy-spinner {
  width: clamp(40px, 7vw, 62px);
  height: clamp(40px, 7vw, 62px);
  border: 5px solid rgba(255, 255, 255, 0.28);
  border-top-color: var(--red);
  border-radius: 999px;
  animation: deploySpin 900ms linear infinite;
}

@keyframes deploySpin {
  to {
    transform: rotate(360deg);
  }
}

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

button,
input,
textarea {
  font: inherit;
}

body:not(.admin-body) .nav a,
body:not(.admin-body) .site-fullscreen-toggle,
body:not(.admin-body) .header-actions a,
body:not(.admin-body) .site-search,
body:not(.admin-body) .langs a,
body:not(.admin-body) .pill,
body:not(.admin-body) .btn,
body:not(.admin-body) input,
body:not(.admin-body) textarea,
body:not(.admin-body) select {
  border-radius: var(--radius-tiny);
}

body:not(.admin-body) .panel,
body:not(.admin-body) .story,
body:not(.admin-body) .video-card,
body:not(.admin-body) .feature,
body:not(.admin-body) .article,
body:not(.admin-body) .media-item,
body:not(.admin-body) .comment-card,
body:not(.admin-body) .article-image,
body:not(.admin-body) .story-image {
  border-radius: var(--radius-soft);
  overflow: hidden;
}

body:not(.admin-body) .broadcast .embed-shell,
body:not(.admin-body) .live-page > .embed-shell,
body:not(.admin-body) .intro-panel {
  border-radius: 0;
}

body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3,
body:not(.admin-body) p,
body:not(.admin-body) .nav a,
body:not(.admin-body) .list span,
body:not(.admin-body) .ticker strong {
  overflow-wrap: anywhere;
  hyphens: auto;
}

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

@media (min-width: 1101px) {
  body:not(.admin-body) .topbar .wrap,
  body:not(.admin-body) .header .wrap,
  body:not(.admin-body) .ticker .wrap,
  body:not(.admin-body) .hero-grid,
  body:not(.admin-body) .home-news-section > .wrap {
    width: min(1760px, calc(100% - 96px));
    max-width: none;
  }
}

.topbar {
  color: #d9e7ff;
  background: #173d79;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.topbar .wrap,
.header .wrap,
.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar .wrap {
  min-height: 34px;
  font-size: 12px;
}

.topbar .wrap span:last-child {
  color: #b8cef2;
  font-weight: 800;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 900;
}

.live-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(227, 29, 49, 0.2);
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--brand-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 42px rgba(14, 38, 82, 0.18);
}

.header .wrap {
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 240px;
  min-inline-size: 0;
}

.brand div {
  text-align: left;
}

.brand-logo {
  width: 108px;
  height: 58px;
  display: block;
  object-fit: contain;
  object-position: center;
  background: transparent;
  margin-left: 8px;
  flex: 0 0 auto;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand strong {
  display: block;
  font-size: 27px;
  line-height: 1;
  font-weight: 950;
  color: #fff;
}

.brand span {
  color: #c8d3e4;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  min-width: 0;
  gap: 6px;
  flex: 1;
}

.nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: min(24vw, 270px);
  padding: 0 12px;
  color: #d7e6ff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  text-transform: uppercase;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.site-fullscreen-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(87, 143, 170, 0.9), rgba(31, 92, 126, 0.86)),
    rgba(10, 31, 70, 0.26);
  box-shadow:
    0 10px 22px rgba(8, 17, 32, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.site-fullscreen-toggle span,
.site-fullscreen-toggle::before,
.site-fullscreen-toggle::after {
  position: absolute;
  width: 9px;
  height: 9px;
  content: "";
  border-color: currentColor;
}

.site-fullscreen-toggle span {
  inset: 0;
  width: auto;
  height: auto;
}

.site-fullscreen-toggle span::before,
.site-fullscreen-toggle span::after {
  position: absolute;
  width: 9px;
  height: 9px;
  content: "";
  border-color: currentColor;
}

.site-fullscreen-toggle::before {
  left: 9px;
  top: 8px;
  border-left: 3px solid;
  border-top: 3px solid;
}

.site-fullscreen-toggle::after {
  right: 9px;
  top: 8px;
  border-right: 3px solid;
  border-top: 3px solid;
}

.site-fullscreen-toggle span::before {
  left: 9px;
  bottom: 8px;
  border-left: 3px solid;
  border-bottom: 3px solid;
}

.site-fullscreen-toggle span::after {
  right: 9px;
  bottom: 8px;
  border-right: 3px solid;
  border-bottom: 3px solid;
}

.site-fullscreen-toggle:hover,
.site-fullscreen-toggle:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.52);
  background:
    linear-gradient(180deg, rgba(100, 160, 188, 0.96), rgba(36, 105, 142, 0.92)),
    rgba(10, 31, 70, 0.34);
}

.header-actions,
.site-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 950;
}

.icon-action {
  position: relative;
  width: 42px;
  background: rgba(255, 255, 255, 0.1);
}

.icon-action::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-action::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: translate(9px, 10px) rotate(45deg);
}

.outline-action {
  padding: 0 17px;
  background: rgba(10, 31, 70, 0.22);
}

.watch-action {
  padding: 0 18px;
  background: var(--red);
  border-color: rgba(227, 29, 49, 0.7) !important;
  box-shadow: 0 12px 26px rgba(227, 29, 49, 0.24);
}

.site-search {
  min-width: 240px;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
}

.site-search input[type="hidden"] {
  display: none;
}

.site-search input[name="q"] {
  width: 100%;
  min-width: 0;
  height: 36px;
  border: 0;
  padding: 0 12px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  outline: none;
}

.site-search input[name="q"]::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.site-search button {
  position: relative;
  width: 44px;
  height: 36px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.site-search button::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 8px;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.site-search button::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 23px;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.mobile-header-controls {
  display: contents;
}

.mobile-menu-toggle,
.mobile-search-toggle,
.site-search-close {
  display: none;
}

.langs {
  display: flex;
  gap: 4px;
}

.langs a {
  min-width: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 31, 70, 0.18);
  color: #d9e7ff;
  font-size: 12px;
  font-weight: 900;
}

.langs a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.ticker {
  color: var(--ticker-text, #111827);
  background: var(--ticker-bg, #eef3f8);
  border-bottom: 1px solid var(--line);
}

.ticker .wrap {
  min-height: 42px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.ticker strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ticker-text, #111827);
  font-size: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.pill.blue {
  background: var(--blue);
}

.hero {
  padding: clamp(34px, 4.4vw, 58px) 0 clamp(44px, 5vw, 68px);
  background: var(--brand-blue);
  border-bottom: 1px solid #dce3ef;
  overflow-x: hidden;
}

.hero-grid,
.content-grid,
.live-page,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) 392px;
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.hero-grid {
  width: min(1760px, calc(100% - 96px));
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  align-items: stretch;
  gap: clamp(24px, 2.7vw, 38px);
}

.side {
  min-width: 0;
  max-width: 100%;
}

.broadcast {
  position: relative;
  align-self: start;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  padding: 0;
  background: #05070e;
  border: 1px solid rgba(116, 167, 255, 0.72);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(227, 29, 49, 0.22);
}

.broadcast .embed-shell,
.live-page > .embed-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  background: #000;
  border: 0;
  box-shadow: none;
}

.live-card {
  position: relative;
}

.screen {
  position: relative;
  min-height: 575px;
  color: #fff;
  background: linear-gradient(90deg, rgba(5, 10, 22, 0.82), rgba(5, 10, 22, 0.12) 54%, rgba(5, 10, 22, 0.52)), url("https://images.unsplash.com/photo-1573164713988-8665fc963095?auto=format&fit=crop&w=1500&q=82");
  background-position: center;
  background-size: cover;
}

.screen-logo {
  position: absolute;
  left: 24px;
  top: 24px;
  display: grid;
  gap: 8px;
}

.screen-logo b {
  width: 66px;
  height: 50px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--red));
  font-size: 26px;
  transform: skew(-8deg);
}

.screen-logo span {
  writing-mode: vertical-rl;
  font-size: 62px;
  line-height: 0.9;
  font-weight: 950;
}

.screen-live {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 10px 13px;
  background: var(--red);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  transform: skew(-8deg);
}

.screen-title {
  position: absolute;
  left: 150px;
  right: 26px;
  bottom: 66px;
}

.screen-title h1 {
  margin: 9px 0 0;
  padding: 15px 18px;
  background: rgba(7, 91, 216, 0.94);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.03;
  font-weight: 950;
  text-transform: uppercase;
}

.crawl {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 42px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  background: rgba(0, 0, 0, 0.78);
}

.crawl b {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 14px;
  background: var(--red);
}

.crawl span {
  overflow: hidden;
  padding: 0 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
}

.qr {
  width: 38px;
  height: 38px;
  margin-right: 3px;
  background: linear-gradient(90deg, #fff 4px, transparent 4px) 0 0 / 9px 9px, linear-gradient(#fff 4px, transparent 4px) 0 0 / 9px 9px, #111;
  border: 3px solid #fff;
}

.side {
  display: grid;
  gap: 14px;
}

.side.banner-only {
  display: flex;
  align-self: stretch;
  height: var(--intro-banner-target-height, 100%);
  min-height: 0;
}

.side.banner-only .intro-panel {
  display: flex;
  flex: 1;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.side.banner-only .intro-panel-body {
  flex: 1;
}

.panel,
.story,
.video-card,
.feature,
.article {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
}

.hero .panel {
  color: #fff;
  background: rgba(19, 27, 42, 0.96);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.hero .panel-head {
  color: #fff;
  background: rgba(19, 28, 44, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.hero .panel-head span {
  color: #aeb9cc;
}

.hero .panel p {
  color: #c8d3e4;
}

.hero .platforms a {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero .intro-panel {
  color: var(--banner-text);
  background: var(--banner-bg);
  border-color: rgba(167, 202, 255, 0.42);
  box-shadow: 0 22px 60px rgba(0, 32, 92, 0.22);
}

.intro-panel-body {
  min-height: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--banner-padding);
}

.intro-panel.is-image-active .intro-panel-body {
  padding: 0;
  align-items: stretch;
}

.hero .intro-panel p {
  margin: 0;
  color: var(--banner-text);
  max-height: 100%;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  font-family: var(--banner-font, var(--site-font));
  font-size: var(--intro-banner-fit-size, var(--banner-size));
  font-style: var(--banner-font-style, normal);
  line-height: var(--intro-banner-fit-line-height, 1.18);
  font-weight: var(--banner-weight, 900);
  text-align: var(--banner-align, left);
}

.intro-banner-slide {
  display: none;
}

.intro-banner-slide.is-active {
  display: block;
  width: 100%;
  animation: introBannerFade var(--banner-transition-duration, 650ms) ease both;
}

.intro-banner-image {
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.intro-banner-image.is-active {
  height: 100%;
}

.intro-banner-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: var(--intro-image-fit, cover);
}

.intro-panel[data-effect="slide-up"] .intro-banner-slide.is-active {
  animation-name: introBannerSlideUp;
}

.intro-panel[data-effect="slide-left"] .intro-banner-slide.is-active {
  animation-name: introBannerSlideLeft;
}

.intro-panel[data-effect="zoom"] .intro-banner-slide.is-active {
  animation-name: introBannerZoom;
}

.intro-panel[data-effect="none"] .intro-banner-slide.is-active {
  animation: none;
}

@keyframes introBannerFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes introBannerSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introBannerSlideLeft {
  from { opacity: 0; transform: translateX(22px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes introBannerZoom {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.hero .list li {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.hero .list span {
  color: #f6f8fc;
}

.hero .list b {
  color: #39c7ff;
}

.panel-head {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fafd;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.panel-head span {
  color: var(--muted);
  font-size: 11px;
}

.panel-body {
  padding: 16px;
}

.panel h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.05;
}

.panel p,
.story p,
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.platforms a {
  min-height: 54px;
  display: grid;
  place-items: center;
  background: #f3f6fb;
  border: 1px solid var(--line);
  font-weight: 900;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 14px;
  border-top: 1px solid var(--line);
}

.list li:first-child {
  border-top: 0;
}

.list b {
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.list span {
  font-size: 14px;
  font-weight: 850;
  line-height: 1.24;
}

.section {
  padding: 34px 0;
  background: #f3f6fb;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1;
}

.section-title p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.news-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.news-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.feature {
  grid-column: span 2;
  min-height: 330px;
  display: grid;
  align-content: end;
  padding: 22px;
  color: #fff;
  background: linear-gradient(180deg, rgba(3, 7, 16, 0.05), rgba(3, 7, 16, 0.83)), url("https://images.unsplash.com/photo-1489515217757-5fd1be406fef?auto=format&fit=crop&w=1000&q=82");
  background-size: cover;
  background-position: center;
}

.news-feature::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(3, 7, 16, 0), rgba(3, 7, 16, 0.72));
  pointer-events: none;
}

.news-feature .feature-copy {
  position: relative;
  z-index: 1;
  display: block;
  max-width: min(980px, 96%);
  max-height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0 8px 4px;
}

.feature .pill {
  display: none;
}

.feature h2,
.story h2,
.story h3 {
  margin: 10px 0 8px;
  font-family: var(--card-title-font);
  font-weight: var(--card-title-weight);
  line-height: 1.08;
}

.news-feature h2 {
  max-width: 100%;
  font-size: clamp(27px, 2.7vw, 42px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.62);
}

.news-feature p {
  max-width: 100%;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.42;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.58);
}

.story {
  min-height: 210px;
  display: block;
  padding: 16px;
}

.story-image {
  display: block;
  aspect-ratio: 16 / 9;
  margin: -16px -16px 14px;
  background-size: cover;
  background-position: center;
}

.home-news-section {
  padding: clamp(42px, 5vw, 74px) 0 clamp(62px, 7vw, 96px);
  background:
    linear-gradient(180deg, #f7f9fd 0%, #eef3f9 100%);
}

.home-news-block .section-title {
  align-items: flex-end;
  margin-bottom: 26px;
}

.home-news-block .section-title h2 {
  font-size: clamp(38px, 4.3vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

.home-news-block .section-title p {
  max-width: 680px;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.38;
  font-weight: 750;
}

.home-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 22px;
  align-items: start;
}

.home-news-layout .news-feature {
  grid-column: auto;
  min-height: clamp(460px, 48vw, 640px);
  display: block;
  padding: 0;
  border-color: rgba(11, 33, 71, 0.12);
  box-shadow: 0 22px 70px rgba(15, 36, 69, 0.13);
}

.home-news-layout .news-feature::after {
  inset: auto 0 0;
  height: 68%;
  background: linear-gradient(180deg, rgba(5, 12, 28, 0), rgba(5, 12, 28, 0.92));
}

.home-news-layout .news-feature .feature-copy {
  position: absolute;
  inset: auto 0 0;
  max-width: none;
  padding: clamp(46px, 6vw, 88px) clamp(22px, 3.2vw, 38px) clamp(22px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(5, 12, 28, 0), rgba(5, 12, 28, 0.62));
}

.home-news-layout .news-feature h2 {
  max-width: 1120px;
  margin: 0 0 14px;
  font-size: clamp(30px, 3.3vw, 52px);
  line-height: 1.02;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.58);
}

.home-news-layout .news-feature p {
  max-width: 980px;
  margin: 0;
  font-size: clamp(17px, 1.55vw, 23px);
  line-height: 1.38;
}

.home-story-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.home-story-list .story {
  min-height: 0;
  padding: 0;
  border-color: rgba(11, 33, 71, 0.12);
  background: #fff;
  box-shadow: 0 16px 44px rgba(15, 36, 69, 0.09);
}

.home-story-list .story-image {
  margin: 0;
  aspect-ratio: 16 / 10;
}

.home-story-list .story .pill,
.home-story-list .story h2,
.home-story-list .story p {
  margin-left: 18px;
  margin-right: 18px;
}

.home-story-list .story .pill {
  margin-top: 18px;
}

.home-story-list .story h2 {
  margin-top: 12px;
  margin-bottom: 10px;
  color: #111827;
  font-size: clamp(20px, 1.48vw, 26px);
  line-height: 1.08;
}

.home-story-list .story p {
  margin-bottom: 20px;
  color: #5e6b82;
  font-size: 15px;
  line-height: 1.38;
  font-weight: 700;
}

html:lang(en) .home-news-layout .news-feature h2,
html:lang(ru) .home-news-layout .news-feature h2,
html:lang(de) .home-news-layout .news-feature h2 {
  font-size: clamp(26px, 2.65vw, 44px);
  line-height: 1.04;
}

html:lang(en) .home-news-layout .news-feature p,
html:lang(ru) .home-news-layout .news-feature p,
html:lang(de) .home-news-layout .news-feature p {
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.36;
}

html:lang(en) .home-news-block .section-title h2,
html:lang(ru) .home-news-block .section-title h2,
html:lang(de) .home-news-block .section-title h2 {
  font-size: clamp(34px, 3.8vw, 58px);
  line-height: 1.05;
}

html:lang(en) .home-story-list .story h2,
html:lang(ru) .home-story-list .story h2,
html:lang(de) .home-story-list .story h2 {
  font-size: clamp(19px, 1.34vw, 24px);
  line-height: 1.1;
}

.ranked .list li {
  grid-template-columns: 34px minmax(0, 1fr);
}

.ranked .list b {
  color: var(--red);
  font-size: 22px;
}

.video-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

.thumb::after {
  content: "▶";
  position: absolute;
  left: 12px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  font-size: 14px;
}

.thumb.a { background-image: linear-gradient(rgba(0,0,0,0.02), rgba(0,0,0,0.28)), url("https://images.unsplash.com/photo-1504711434969-e33886168f5c?auto=format&fit=crop&w=700&q=80"); }
.thumb.b { background-image: linear-gradient(rgba(0,0,0,0.02), rgba(0,0,0,0.28)), url("https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&w=700&q=80"); }
.thumb.c { background-image: linear-gradient(rgba(0,0,0,0.02), rgba(0,0,0,0.28)), url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=700&q=80"); }
.thumb.d { background-image: linear-gradient(rgba(0,0,0,0.02), rgba(0,0,0,0.28)), url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=700&q=80"); }

.duration {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 4px 6px;
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.video-body {
  padding: 12px;
}

.video-body h3 {
  min-height: 54px;
  margin: 7px 0 8px;
  font-size: 17px;
  line-height: 1.18;
}

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

.page-hero {
  padding: 36px 0;
  color: #fff;
  background: linear-gradient(110deg, rgba(7, 91, 216, 0.42), rgba(227, 29, 49, 0.16)), var(--navy);
}

.page-hero h1 {
  max-width: 900px;
  margin: 10px 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.5;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 22px;
}

.primary-action,
.not-found-search button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0 18px;
  color: #fff;
  background: var(--red);
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.not-found-search {
  display: flex;
  min-width: min(100%, 420px);
}

.not-found-search input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-right: 0;
  padding: 0 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
  font-weight: 800;
}

.not-found-search input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.not-found-search button {
  background: rgba(255, 255, 255, 0.14);
}

.not-found-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-hero {
  padding: clamp(34px, 5vw, 70px) 0 30px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
  border-bottom: 1px solid var(--line);
}

.article-hero-inner {
  width: min(780px, calc(100% - 32px));
  max-width: 780px;
  margin-left: max(16px, calc((100% - var(--max)) / 2));
  margin-right: auto;
}

.article-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.article-kicker time {
  color: #5d6a82;
  font-size: 14px;
  font-weight: 850;
}

.article-author {
  color: #1c4f95;
  font-size: 14px;
  font-weight: 900;
}

.article-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #081120;
  font-family: var(--article-title-font);
  font-size: clamp(36px, 4.6vw, 68px);
  font-weight: var(--article-title-weight);
  line-height: 1;
}

.article-hero p {
  max-width: 820px;
  margin: 20px 0 0;
  color: #43516a;
  font-family: var(--article-body-font);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.42;
  font-weight: 700;
}

.article-hero-visual {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 50vw, 710px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 0;
  color: #fff;
  background: #07152f;
  border-bottom: 0;
}

.article-hero-visual .article-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.03);
}

.article-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 11, 29, 0.78) 0%, rgba(4, 11, 29, 0.4) 48%, rgba(4, 11, 29, 0.08) 100%),
    linear-gradient(180deg, rgba(4, 11, 29, 0.08) 0%, rgba(4, 11, 29, 0.24) 44%, rgba(4, 11, 29, 0.9) 100%);
}

.article-hero-visual .article-hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(150px, 18vw, 260px) 0 clamp(38px, 6vw, 76px);
}

.article-hero-visual .article-kicker time,
.article-hero-visual .article-author {
  color: rgba(255, 255, 255, 0.82);
}

.article-hero-visual h1 {
  max-width: 1120px;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.02;
  text-shadow: 0 5px 28px rgba(0, 0, 0, 0.56);
}

.article-hero-visual p {
  max-width: 940px;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
}

.article-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}

.speech-controls,
.text-size-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.08);
}

.article-hero .article-tools,
.article-hero .text-size-controls {
  display: none;
}

.speech-controls {
  flex: 1 1 420px;
  align-items: stretch;
  gap: 12px;
  padding: 8px;
}

.speech-actions {
  display: flex;
  gap: 8px;
}

.speech-controls button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d5deeb;
  color: #fff;
  background: #0f172a;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
}

.speech-main {
  min-width: 112px;
}

.speech-stop {
  min-width: 88px;
}

.speech-controls button + button,
.speech-stop {
  color: #081120;
  background: #f8fafd;
}

.speech-controls button:hover:not(:disabled),
.speech-controls button.is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.speech-controls[data-state="paused"] .speech-main {
  color: #081120;
  background: #facc15;
  border-color: #eab308;
}

.speech-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.speech-meter {
  flex: 1 1 190px;
  min-width: 170px;
  display: grid;
  align-content: center;
  gap: 6px;
}

.speech-meter-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #43516a;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.speech-meter-row span:last-child {
  color: #081120;
  white-space: nowrap;
}

.speech-progress {
  height: 8px;
  overflow: hidden;
  background: #e8eef7;
  border: 1px solid #d5deeb;
}

.speech-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--blue);
  transition: width 0.25s ease;
}

.text-size-controls span {
  padding: 0 6px;
  color: #43516a;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.text-size-controls button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #d5deeb;
  color: #081120;
  background: #f8fafd;
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
  cursor: pointer;
}

.text-size-controls button:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.article-section {
  padding-top: 28px;
}

.embed {
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.embed-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #000;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.video-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: #285197;
  opacity: 1;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 10, 22, 0.16), rgba(5, 10, 22, 0.02)),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.12), transparent 26%);
}

.video-poster img {
  position: relative;
  z-index: 1;
  width: min(38%, 360px);
  max-height: 62%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.22));
}

.video-poster.is-hidden {
  opacity: 0;
}

.video-start {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 5;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid rgba(255, 255, 255, 0.84);
  color: #fff;
  background: rgba(8, 17, 32, 0.86);
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 1;
  transform: translateX(-50%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.video-start.hidden {
  display: none;
}

.unmute-video {
  --sound-button-transform: translateX(-50%);
  position: absolute;
  left: 50%;
  bottom: 38px;
  z-index: 4;
  max-width: calc(100% - 28px);
  min-height: 66px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 0 34px;
  color: #fff;
  background: rgba(8, 30, 71, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(116, 167, 255, 0.38),
    0 0 28px rgba(7, 91, 216, 0.22);
  transform: var(--sound-button-transform);
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.unmute-video.is-ready {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.unmute-video.is-on {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(18, 55, 116, 0.94);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(237, 27, 47, 0.5),
    0 0 30px rgba(237, 27, 47, 0.24);
}

.unmute-video::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-right: 16px;
  border-radius: 999px;
  background: #e31d31;
  box-shadow: 0 0 0 10px rgba(227, 29, 49, 0.26);
}

.unmute-video.is-on::before {
  background: #ed1b2f;
  box-shadow: 0 0 0 8px rgba(237, 27, 47, 0.24);
}

.unmute-video:hover {
  border-color: #fff;
  background: rgba(8, 30, 71, 0.96);
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(116, 167, 255, 0.52),
    0 0 34px rgba(7, 91, 216, 0.3);
  transform: var(--sound-button-transform) translateY(-1px);
}

.unmute-video.is-on:hover {
  background: rgba(18, 55, 116, 0.98);
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(237, 27, 47, 0.58),
    0 0 38px rgba(237, 27, 47, 0.3);
}

.unmute-video.is-on.is-idle {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: var(--sound-button-transform) translateY(8px);
}

.unmute-video.hidden {
  display: none;
}

.fullscreen-video {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  padding: 0;
  color: #fff;
  background: rgba(8, 30, 71, 0.66);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(116, 167, 255, 0.34);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.fullscreen-video > span:first-child {
  font-size: 30px;
  line-height: 1;
}

.fullscreen-video.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.fullscreen-video:hover {
  border-color: #fff;
  background: rgba(8, 30, 71, 0.94);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(116, 167, 255, 0.48);
}

.embed-shell.is-mini {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: min(360px, calc(100vw - 44px));
  height: auto;
  aspect-ratio: 16 / 9;
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    0 24px 70px rgba(8, 17, 32, 0.44),
    0 0 0 1px rgba(7, 91, 216, 0.32),
    0 0 28px rgba(7, 91, 216, 0.18);
}

.floating-live {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: min(360px, calc(100vw - 44px));
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    0 24px 70px rgba(8, 17, 32, 0.44),
    0 0 0 1px rgba(7, 91, 216, 0.32),
    0 0 28px rgba(7, 91, 216, 0.18);
}

.embed-shell.is-mini .unmute-video,
.floating-live .unmute-video {
  bottom: 50%;
  min-height: 40px;
  max-width: calc(100% - 18px);
  padding: 0 13px;
  border-width: 2px;
  font-size: 12px;
  --sound-button-transform: translate(-50%, 50%);
}

.embed-shell.is-mini .unmute-video::before,
.floating-live .unmute-video::before {
  width: 9px;
  height: 9px;
  margin-right: 8px;
  box-shadow: 0 0 0 5px rgba(227, 29, 49, 0.24);
}

.embed-shell.is-mini .fullscreen-video,
.floating-live .fullscreen-video {
  top: 8px;
  right: 8px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 8px;
}

.embed-shell.is-mini .fullscreen-label,
.floating-live .fullscreen-label {
  display: none;
}

.floating-live .embed-shell {
  width: 100%;
  height: 100%;
}

.mini-audio-toggle {
  display: none;
  position: absolute;
  left: -2px;
  top: 50%;
  z-index: 8;
  width: var(--mini-tab-width, 56px);
  height: calc(100% - 18px);
  min-height: 76px;
  max-height: calc(100% - 8px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-left: 0;
  border-radius: 0 16px 16px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 17, 32, 0.52), rgba(8, 17, 32, 0.28)),
    rgba(8, 17, 32, 0.34);
  box-shadow:
    0 12px 28px rgba(8, 17, 32, 0.22),
    inset -1px 0 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transform: translateY(-50%);
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.embed-shell.is-mini,
.floating-live {
  --mini-tab-width: 56px;
  transition: transform 180ms ease, opacity 180ms ease;
  touch-action: manipulation;
}

.embed-shell.is-mini .mini-audio-toggle,
.floating-live .mini-audio-toggle {
  display: grid;
  place-items: center;
}

.embed-shell.is-mini.is-audio-tab,
.floating-live.is-audio-tab {
  transform: translateX(calc(100% - var(--mini-tab-width, 56px)));
}

.embed-shell.is-mini.is-audio-tab .mini-audio-toggle,
.floating-live.is-audio-tab .mini-audio-toggle {
  left: 0;
}

.embed-shell:fullscreen,
.floating-live:fullscreen,
.embed-shell:-webkit-full-screen,
.floating-live:-webkit-full-screen,
.embed-shell.is-video-fullscreen,
.floating-live.is-video-fullscreen,
.embed-shell.is-video-fullscreen-fallback,
.floating-live.is-video-fullscreen-fallback {
  position: fixed !important;
  inset: 0 !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 2147483647;
  width: 100vw !important;
  width: 100dvw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
  background: #000;
}

.embed-shell.is-video-fullscreen-fallback,
.floating-live.is-video-fullscreen-fallback {
  inset: 0 !important;
  left: 0 !important;
  top: 0 !important;
  width: 100vw !important;
  width: 100dvw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: none !important;
}

.floating-live:fullscreen .embed-shell,
.floating-live:-webkit-full-screen .embed-shell,
.floating-live.is-video-fullscreen .embed-shell,
.floating-live.is-video-fullscreen-fallback .embed-shell {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  box-shadow: none !important;
}

.embed-shell:fullscreen .mini-audio-toggle,
.floating-live:fullscreen .mini-audio-toggle,
.embed-shell:-webkit-full-screen .mini-audio-toggle,
.floating-live:-webkit-full-screen .mini-audio-toggle,
.embed-shell.is-video-fullscreen .mini-audio-toggle,
.floating-live.is-video-fullscreen .mini-audio-toggle,
.embed-shell.is-video-fullscreen-fallback .mini-audio-toggle,
.floating-live.is-video-fullscreen-fallback .mini-audio-toggle {
  display: none !important;
}

.embed-shell:fullscreen .unmute-video,
.floating-live:fullscreen .unmute-video,
.embed-shell:-webkit-full-screen .unmute-video,
.floating-live:-webkit-full-screen .unmute-video,
.embed-shell.is-video-fullscreen .unmute-video,
.floating-live.is-video-fullscreen .unmute-video,
.embed-shell.is-video-fullscreen-fallback .unmute-video,
.floating-live.is-video-fullscreen-fallback .unmute-video {
  --sound-button-transform: translateX(-50%);
  bottom: 38px;
  min-height: 66px;
  max-width: calc(100% - 44px);
  padding: 0 34px;
  font-size: 20px;
}

.embed-shell:fullscreen .unmute-video::before,
.floating-live:fullscreen .unmute-video::before,
.embed-shell:-webkit-full-screen .unmute-video::before,
.floating-live:-webkit-full-screen .unmute-video::before,
.embed-shell.is-video-fullscreen .unmute-video::before,
.floating-live.is-video-fullscreen .unmute-video::before,
.embed-shell.is-video-fullscreen-fallback .unmute-video::before,
.floating-live.is-video-fullscreen-fallback .unmute-video::before {
  width: 17px;
  height: 17px;
  margin-right: 16px;
  box-shadow: 0 0 0 10px rgba(227, 29, 49, 0.26);
}

.embed-shell:fullscreen .fullscreen-video,
.floating-live:fullscreen .fullscreen-video,
.embed-shell:-webkit-full-screen .fullscreen-video,
.floating-live:-webkit-full-screen .fullscreen-video,
.embed-shell.is-video-fullscreen .fullscreen-video,
.floating-live.is-video-fullscreen .fullscreen-video,
.embed-shell.is-video-fullscreen-fallback .fullscreen-video,
.floating-live.is-video-fullscreen-fallback .fullscreen-video {
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 30;
  width: auto;
  min-width: 54px;
  height: 54px;
  min-height: 54px;
  padding: 0;
}

.embed-shell:fullscreen .fullscreen-label,
.floating-live:fullscreen .fullscreen-label,
.embed-shell:-webkit-full-screen .fullscreen-label,
.floating-live:-webkit-full-screen .fullscreen-label,
.embed-shell.is-video-fullscreen .fullscreen-label,
.floating-live.is-video-fullscreen .fullscreen-label,
.embed-shell.is-video-fullscreen-fallback .fullscreen-label,
.floating-live.is-video-fullscreen-fallback .fullscreen-label {
  display: inline;
}

.fullscreen-video {
  display: none !important;
}

.embed-shell:fullscreen .fullscreen-video,
.floating-live:fullscreen .fullscreen-video,
.embed-shell:-webkit-full-screen .fullscreen-video,
.floating-live:-webkit-full-screen .fullscreen-video,
.embed-shell.is-video-fullscreen .fullscreen-video,
.floating-live.is-video-fullscreen .fullscreen-video,
.embed-shell.is-video-fullscreen-fallback .fullscreen-video,
.floating-live.is-video-fullscreen-fallback .fullscreen-video {
  display: inline-flex !important;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

html.video-fullscreen-lock,
html.video-fullscreen-lock body {
  overflow: hidden !important;
  overscroll-behavior: none;
  height: 100%;
}

.embed-placeholder {
  width: 100%;
  height: 0;
  background: #000;
}

.live-card {
  box-shadow: none;
}

.twitch-player,
.twitch-video,
.embed-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.twitch-video {
  display: block;
  background: #000;
  object-fit: contain;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.embed-page {
  min-height: 100vh;
  margin: 0;
  background: #020817;
  overflow: hidden;
}

.embed-live-wrap {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  background: #020817;
}

.embed-live-wrap .embed-shell {
  width: 100vw;
  height: 100vh;
  max-width: none;
  border: 0;
  border-radius: 0;
}

.video-tap-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.video-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  gap: 14px;
  padding: clamp(18px, 5vw, 42px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 10, 22, 0.16), rgba(5, 10, 22, 0.02)),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.12), transparent 26%),
    #285197;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.video-loading-logo {
  align-self: center;
  width: clamp(140px, 34%, 320px);
  max-height: 68%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.22));
}

.video-loading span {
  align-self: end;
  color: #fff;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1.22;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
}

.video-loading.hidden,
.embed-shell.is-playing .video-loading {
  display: none;
}

.play-overlay {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
  width: min(300px, calc(100% - 36px));
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 9px 12px;
  color: #fff;
  background: rgba(8, 17, 32, 0.72);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.play-overlay span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--red);
  border-radius: 999px;
  font-size: 14px;
}

.play-overlay b {
  font-size: 14px;
  line-height: 1.1;
}

.play-overlay small {
  color: #c8d3e4;
  font-size: 11px;
}

.play-overlay.hidden {
  display: none;
}

.show {
  margin-bottom: 14px;
}

.article {
  padding: clamp(24px, 4vw, 50px);
}

.modern-article-layout {
  grid-template-columns: minmax(150px, 190px) minmax(0, 850px) minmax(280px, 330px);
  gap: clamp(22px, 3vw, 38px);
  justify-content: center;
  align-items: start;
}

.modern-article-layout.has-sticky-rail {
  grid-template-columns: minmax(230px, 300px) minmax(0, 760px) minmax(250px, 300px);
  gap: clamp(20px, 2.3vw, 30px);
}

.modern-article {
  padding: 8px 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.article-meta-rail {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
  padding-top: 10px;
  color: #5f6d84;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.article-sticky-rail {
  position: -webkit-sticky;
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
  align-self: start;
  height: max-content;
  max-height: calc(100vh - 112px);
  min-width: 0;
  z-index: 1;
}

.article-sticky-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: var(--radius-soft);
  background: #edf2f8;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

.article-sticky-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
}

.article-sticky-meta {
  display: grid;
  gap: 18px;
  color: #5f6d84;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.article-meta-rail div,
.article-sticky-meta div {
  display: grid;
  gap: 5px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dbe4f0;
}

.article-meta-rail span,
.article-sticky-meta span {
  color: #7a8699;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.article-meta-rail strong,
.article-meta-rail time,
.article-sticky-meta strong,
.article-sticky-meta time {
  color: #111827;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 950;
}

.about-section {
  background: linear-gradient(180deg, #f4f7fc 0%, #ffffff 100%);
}

.about-wrap {
  max-width: 980px;
}

.about-content {
  max-width: 860px;
  padding: 4px 0 24px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.article-body.about-body {
  max-width: 820px;
  color: var(--about-text-color, #1c2638);
  font-family: var(--about-text-font, var(--article-body-font));
  font-size: var(--about-text-size);
  font-style: var(--about-text-style, normal);
  font-weight: var(--about-text-weight, 400);
  line-height: var(--about-text-line, 1.72);
  text-align: var(--about-text-align, left);
}

.article-body.about-body p {
  margin: 0 0 18px;
}

.article-sidebar {
  display: grid;
  gap: 16px;
  align-self: start;
  position: sticky;
  top: 18px;
}

.article-side-panel {
  border-color: #dbe4f0;
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.07);
}

.article-side-panel .list li {
  grid-template-columns: 32px minmax(0, 1fr);
  padding: 14px;
}

.article-side-panel .list a {
  color: #111827;
  font-size: 15px;
  line-height: 1.28;
  font-weight: 850;
}

.article h1 {
  margin: 12px 0 16px;
  font-family: var(--article-title-font);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: var(--article-title-weight);
  line-height: 0.98;
}

.article .lead {
  color: #39445a;
  font-family: var(--article-body-font);
  font-size: 21px;
  font-weight: var(--article-body-weight);
  line-height: 1.52;
}

.article-image {
  margin: 0 0 30px;
  background: #eef3fb;
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #d9e2ef;
}

.article-embed {
  aspect-ratio: 16 / 9;
  margin: 22px 0;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(8, 17, 32, 0.14);
}

.article-embed + br,
.article-telegram + br,
.article-image + br,
.text-size-controls + br {
  display: none;
}

.article-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.article-telegram {
  margin: 22px 0;
  background: #fff;
}

.article p {
  color: #1c2638;
  font-family: var(--article-body-font);
  font-size: var(--article-text-size);
  font-weight: var(--article-body-weight);
  line-height: var(--article-text-line);
}

.article-body {
  color: #1c2638;
  font-family: var(--article-body-font);
  font-size: var(--article-text-size);
  font-weight: var(--article-body-weight);
  line-height: var(--article-text-line);
}

.article-body p {
  margin: 0 0 20px;
}

.article-body .article-question {
  font-weight: 850;
  font-style: italic;
}

.article-body a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
}

.article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 28px auto;
  border: 1px solid #d9e2ef;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

.article-body h2,
.article-body h3 {
  margin: 34px 0 14px;
  color: #081120;
  font-family: var(--article-title-font);
  font-weight: var(--article-title-weight);
  line-height: 1.12;
}

.quote,
.article-body blockquote,
.rich-editor blockquote {
  margin: 26px 0;
  padding: 22px 26px 22px 30px;
  color: #081120;
  background: linear-gradient(90deg, rgba(227, 29, 49, 0.12), #fff);
  border: 1px solid #dce3ef;
  border-left: 8px solid var(--red);
  box-shadow: 0 18px 40px rgba(13, 34, 69, 0.1);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 850;
}

.article-body blockquote p,
.rich-editor blockquote p {
  margin: 0;
}

.article-body blockquote::before,
.rich-editor blockquote::before {
  content: "Citata";
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 9px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.comments-panel {
  margin-top: 46px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.comments-head h2 {
  margin: 0;
  font-size: 30px;
}

.comments-head span {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  color: #fff;
  background: var(--blue);
  font-weight: 950;
}

.comments-list {
  display: grid;
  gap: 12px;
}

.comment {
  padding: 16px;
  background: #f8fafd;
  border: 1px solid var(--line);
}

.comment.ltv-comment {
  background: #eef5ff;
  border-color: rgba(27, 86, 165, 0.35);
  box-shadow: inset 4px 0 0 var(--blue);
}

.comment.pinned {
  box-shadow: inset 4px 0 0 var(--red);
}

.comment-head,
.comment-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.comment-head strong {
  color: #111827;
  font-size: 15px;
  font-weight: 950;
}

.comment-head span {
  padding: 4px 7px;
  color: #fff;
  background: var(--blue);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.comment-head time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.comment p {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.48;
}

.comment-actions form {
  margin: 0;
}

.comment-actions button {
  border: 1px solid var(--line);
  padding: 7px 10px;
  background: #fff;
  color: #26334d;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.comment-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-comment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.admin-comment small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.admin-comment p {
  margin: 8px 0 0;
}

.footer {
  padding: 28px 0;
  color: #c8d3e4;
  background: var(--navy);
}

.admin-body {
  background: #eef3fb;
}

.admin-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  background: #eef3fb;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 16px;
  color: #fff;
  background: #285197;
}

.admin-mark {
  display: grid;
  gap: 2px;
  margin-bottom: 24px;
  color: #fff;
  text-decoration: none;
}

.admin-mark strong {
  font-size: 24px;
  line-height: 1;
}

.admin-mark span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-sidebar nav {
  display: grid;
  gap: 6px;
}

.admin-sidebar nav a,
.admin-site-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 900;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover,
.admin-site-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.admin-site-link {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
}

.admin-main {
  padding: 28px;
}

.admin-main-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.admin-main-head p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-main-head h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
}

.admin-panel {
  margin: 0 0 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.07);
}

.admin-panel h3 {
  margin: 22px 0 10px;
  padding-top: 18px;
  border-top: 1px solid #e6edf7;
  color: #111827;
  font-size: 18px;
  line-height: 1.15;
}

.admin-panel h3:first-of-type {
  margin-top: 16px;
}

.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panel-title h2,
.admin-panel h2 {
  margin: 0 0 6px;
}

.panel-title p,
.admin-panel p {
  margin-top: 0;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-stats article {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.admin-stats b {
  display: block;
  color: #285197;
  font-size: 32px;
  line-height: 1;
}

.admin-stats span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  border-top: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-table td strong,
.admin-table td small {
  display: block;
}

.admin-table td small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.status.published {
  color: #06603b;
  background: #dcfce7;
}

.status.draft {
  color: #92400e;
  background: #ffedd5;
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.row-actions a,
.row-actions button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.row-actions button {
  color: var(--red);
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.editor-side {
  position: sticky;
  top: 18px;
}

.editor-canvas {
  min-height: 680px;
}

.title-input {
  font-size: 28px;
  line-height: 1.12;
  font-weight: 950;
}

textarea.title-input {
  min-height: 104px;
  overflow: auto;
}

.editor-form .rich-editor {
  min-height: 560px;
  font-size: 18px;
  line-height: 1.62;
}

.publish-box .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.translate-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.translate-actions .btn {
  margin-top: 0;
  padding: 0 10px;
}

.translate-actions .translate-trigger[data-translate-targets="en,ru,de"],
.translate-progress {
  grid-column: 1 / -1;
}

.translate-actions.is-translating .translate-trigger {
  opacity: 0.56;
  cursor: progress;
}

.translate-actions.is-translating .translate-trigger.is-active {
  color: #fff;
  background: #ed1b2f;
  border-color: #ed1b2f;
  opacity: 1;
  box-shadow: 0 12px 28px rgba(237, 27, 47, 0.28);
}

.translate-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  color: #101828;
  background: #fff1f3;
  border: 2px solid #ed1b2f;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(237, 27, 47, 0.16);
}

.translate-progress[hidden] {
  display: none;
}

.translate-progress strong {
  font-size: 16px;
  line-height: 1.2;
}

.translate-progress span:last-child {
  color: #344054;
  font-size: 14px;
  line-height: 1.35;
}

.translate-spinner {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 3px solid rgba(237, 27, 47, 0.18);
  border-top-color: #ed1b2f;
  border-radius: 999px;
  animation: translate-spin 0.8s linear infinite;
}

.admin-body.is-translating {
  cursor: progress;
}

.admin-translate-overlay {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  width: min(420px, calc(100vw - 32px));
  color: #fff;
  background: #123a78;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.34);
}

.admin-translate-overlay[hidden] {
  display: none;
}

.admin-translate-overlay > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  padding: 16px 18px;
}

.admin-translate-overlay .translate-spinner {
  grid-row: span 2;
  border-color: rgba(255, 255, 255, 0.22);
  border-top-color: #fff;
}

.admin-translate-overlay strong {
  font-size: 17px;
  line-height: 1.2;
}

.admin-translate-overlay span:last-child {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

@keyframes translate-spin {
  to {
    transform: rotate(360deg);
  }
}

.login,
.admin {
  width: min(760px, calc(100% - 32px));
  margin: 48px auto;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(16, 24, 40, 0.1);
}

.login {
  width: min(420px, calc(100% - 32px));
}

.admin-wide {
  width: min(1180px, calc(100% - 32px));
}

label {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px;
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(37, 99, 235, 0.22);
  outline-offset: 1px;
  border-color: #7aa2e8;
}

input[type="color"] {
  min-height: 44px;
  padding: 4px;
  cursor: pointer;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.color-control {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
}

.color-control input[type="color"] {
  width: 100%;
  background:
    linear-gradient(90deg, var(--picked-color, #ffffff) 0 44px, #fff 44px 100%);
}

.color-code-input {
  width: min(100%, 132px);
  min-height: 28px;
  border: 1px solid var(--line);
  padding: 0 9px;
  background: #f8fafd;
  color: #111827;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.color-code-input.is-invalid {
  border-color: #e31d31;
  background: #fff5f6;
  color: #b42318;
}

.rich-field {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.rich-field > span {
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rich-toolbar button {
  min-width: 36px;
  min-height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-weight: 950;
}

.rich-editor {
  min-height: 180px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  line-height: 1.55;
}

.rich-editor:focus {
  outline: 2px solid rgba(7, 91, 216, 0.22);
  border-color: var(--blue);
}

.rich-output {
  display: none;
}

.btn {
  min-height: 42px;
  border: 0;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 900;
}

.btn.red {
  color: #fff;
  background: var(--red);
}

.btn.light {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  background: #eef3fb;
  color: var(--ink);
}

.admin-card {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: #f8fafd;
}

.admin-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-actions,
.upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.upload-row input {
  display: none;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  padding: 0 10px;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.category-manager {
  display: grid;
  gap: 8px;
}

.category-row-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.category-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.category-row input[name="name"] {
  min-height: 38px;
}

.ticker-row {
  grid-template-columns: minmax(190px, 1fr) minmax(94px, auto) minmax(94px, auto) auto auto;
}

.ticker-row > label:not(.switch) {
  display: grid;
  gap: 4px;
  color: #344054;
  font-size: 12px;
  font-weight: 950;
}

.ticker-row input[type="color"] {
  width: 82px;
  min-width: 82px;
  min-height: 38px;
  padding: 4px;
}

.category-row button {
  min-height: 38px;
  border: 1px solid var(--line);
  padding: 0 10px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  font-weight: 950;
}

.category-delete button {
  min-height: 38px;
  border: 1px solid #f1b8bd;
  padding: 0 10px;
  background: #fff5f6;
  color: var(--red);
  cursor: pointer;
  font-weight: 950;
}

.category-add {
  margin-top: 14px;
}

.switch {
  min-width: 104px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.switch input {
  width: auto;
}

.switch span {
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.media-item {
  position: relative;
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  padding: 8px;
  background: #fff;
  text-align: left;
}

.media-item button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.media-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef3fb;
}

.media-item span,
.media-item form button {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.media-item form button {
  color: var(--red);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.admin-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr) minmax(260px, 0.85fr);
  gap: 16px;
}

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

.admin-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.admin-list span {
  font-weight: 800;
  line-height: 1.25;
}

.admin-list span b,
.admin-list span small {
  display: block;
}

.admin-list span small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.delete-btn {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid #f0b7bf;
  padding: 0 8px;
  background: #fff5f6;
  color: var(--red);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.check {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid transparent;
  padding: 7px 9px;
  background: #f8fafd;
}

.check input {
  width: auto;
}

.check.is-on {
  border-color: #b7efcc;
  background: #f0fdf4;
}

.check.is-off {
  border-color: #e5e7eb;
  background: #f8fafc;
}

.check-state {
  margin-left: auto;
  padding: 4px 8px;
  color: #475467;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.check.is-on .check-state {
  color: #06603b;
  border-color: #b7efcc;
  background: #dcfce7;
}

.admin-link {
  margin-left: 14px;
  padding: 4px 7px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 900;
  text-decoration: none;
}

.error {
  color: var(--red);
  font-weight: 900;
}

.hint {
  color: var(--muted);
  font-size: 13px;
}

.admin-body {
  --admin-bg: #f4f7fb;
  --admin-surface: #ffffff;
  --admin-surface-soft: #f8fafc;
  --admin-line: #dbe4f0;
  --admin-ink: #111827;
  --admin-muted: #667085;
  --admin-blue: #1955b6;
  --admin-blue-dark: #143f8a;
  --admin-red: #e51f34;
  --admin-radius: 8px;
  color: var(--admin-ink);
  background:
    radial-gradient(circle at top left, rgba(25, 85, 182, 0.12), transparent 34vw),
    linear-gradient(180deg, #f7f9fd 0%, var(--admin-bg) 100%);
}

.admin-body .admin-app {
  background: transparent;
}

.admin-body .admin-sidebar {
  display: flex;
  flex-direction: column;
  margin: 12px 0 12px 12px;
  height: calc(100vh - 24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background:
    linear-gradient(180deg, #173e84 0%, #102b5c 100%);
  box-shadow: 0 22px 55px rgba(16, 39, 82, 0.22);
}

.admin-body .admin-mark {
  gap: 6px;
  padding: 4px 4px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-body .admin-mark strong {
  letter-spacing: 0;
}

.admin-body .admin-sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.admin-body .admin-sidebar nav a,
.admin-body .admin-site-link {
  position: relative;
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  padding: 0 14px 0 40px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.03);
  font-size: 16px;
  line-height: 1.2;
  text-align: left;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease, transform 0.14s ease;
}

.admin-body .admin-sidebar nav a::before,
.admin-body .admin-site-link::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 4px;
  height: 22px;
  border-radius: 999px;
  background: transparent;
  transform: translateY(-50%);
}

.admin-body .admin-sidebar nav a.active,
.admin-body .admin-sidebar nav a:hover,
.admin-body .admin-site-link:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
}

.admin-body .admin-sidebar nav a:hover,
.admin-body .admin-site-link:hover {
  transform: translateX(2px);
}

.admin-body .admin-sidebar nav a.active {
  background: rgba(255, 255, 255, 0.16);
}

.admin-body .admin-sidebar nav a.active::before {
  background: var(--admin-red);
}

.admin-body .admin-site-link {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: auto;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.08);
}

.admin-body .admin-main {
  padding: 28px 34px 42px;
}

.admin-body .admin-main-head {
  align-items: center;
  min-height: 76px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.06);
  backdrop-filter: blur(14px);
}

.admin-body .admin-main-head p {
  color: var(--admin-blue);
}

.admin-body .admin-main-head h1 {
  font-size: 32px;
  letter-spacing: 0;
}

.admin-body .admin-panel,
.admin-body .admin-stats article,
.admin-body .login,
.admin-body .admin,
.admin-body .admin-card {
  border-color: var(--admin-line);
  border-radius: var(--admin-radius);
  background: var(--admin-surface);
  box-shadow: 0 16px 42px rgba(16, 24, 40, 0.07);
}

.admin-body .admin-panel {
  padding: 22px;
}

.admin-body .admin-panel h2,
.admin-body .panel-title h2 {
  color: var(--admin-ink);
  font-size: 22px;
  line-height: 1.15;
}

.admin-body .admin-panel h3 {
  margin: 26px 0 12px;
  border-top-color: var(--admin-line);
  color: var(--admin-blue-dark);
  font-size: 20px;
  line-height: 1.2;
}

.admin-body .admin-stats {
  gap: 14px;
}

.admin-body .admin-stats article {
  position: relative;
  overflow: hidden;
}

.admin-body .admin-stats article::after {
  content: "";
  position: absolute;
  right: -26px;
  top: -26px;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: rgba(25, 85, 182, 0.08);
}

.admin-body .admin-stats b {
  color: var(--admin-blue);
}

.admin-body label,
.admin-body .rich-field > span,
.admin-body .ticker-row > label:not(.switch) {
  color: #344054;
  font-size: 15px;
  line-height: 1.35;
}

.admin-body input,
.admin-body textarea,
.admin-body select,
.admin-body .rich-editor {
  border-color: var(--admin-line);
  border-radius: 7px;
  background: #fff;
  min-height: 50px;
  padding: 14px 13px;
  font-size: 16px;
  line-height: 1.45;
  box-shadow: inset 0 1px 0 rgba(16, 24, 40, 0.02);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.admin-body input:hover,
.admin-body textarea:hover,
.admin-body select:hover,
.admin-body .rich-editor:hover {
  border-color: #bfd0e6;
}

.admin-body input:focus,
.admin-body textarea:focus,
.admin-body select:focus,
.admin-body .rich-editor:focus {
  border-color: var(--admin-blue);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(25, 85, 182, 0.14);
}

.admin-body input[type="color"] {
  padding: 5px;
  background: var(--admin-surface-soft);
}

.admin-body .btn,
.admin-body .category-row button,
.admin-body .category-delete button,
.admin-body .rich-toolbar button,
.admin-body .delete-btn {
  border-radius: 7px;
  font-size: 15px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.admin-body .btn:hover,
.admin-body .category-row button:hover,
.admin-body .category-delete button:hover,
.admin-body .rich-toolbar button:hover,
.admin-body .delete-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(16, 24, 40, 0.09);
}

.admin-body .btn.red {
  background: linear-gradient(180deg, #f02a3f 0%, var(--admin-red) 100%);
  box-shadow: 0 12px 24px rgba(229, 31, 52, 0.22);
}

.admin-body .btn.light,
.admin-body .category-row button,
.admin-body .rich-toolbar button {
  border: 1px solid var(--admin-line);
  background: #eef4ff;
  color: var(--admin-blue-dark);
}

.admin-body .admin-table-wrap {
  border: 1px solid var(--admin-line);
  border-radius: var(--admin-radius);
  background: #fff;
}

.admin-body .admin-table th {
  background: #f8fafc;
  color: #56657a;
}

.admin-body .admin-table td {
  border-top-color: var(--admin-line);
}

.admin-body .admin-table tbody tr:hover td {
  background: #fbfdff;
}

.admin-body .admin-article-tools {
  margin: 18px 0 16px;
  padding: 16px;
  border: 1px solid var(--admin-line);
  border-radius: var(--admin-radius);
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
}

.admin-body .admin-article-filter-grid {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) repeat(4, minmax(132px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.admin-body .admin-article-filter-grid label {
  display: grid;
  gap: 7px;
  margin: 0;
}

.admin-body .admin-search-field input {
  font-weight: 750;
}

.admin-body .admin-article-filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-body .admin-article-filter-actions .btn {
  min-height: 50px;
  white-space: nowrap;
}

.admin-body .admin-results-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 2px 0 14px;
  color: #344054;
  font-size: 14px;
}

.admin-body .admin-results-bar strong {
  color: var(--admin-blue-dark);
  font-size: 16px;
}

.admin-body .admin-results-bar span {
  color: #667085;
  font-weight: 800;
}

.admin-body .admin-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.admin-body .admin-pagination a,
.admin-body .admin-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--admin-line);
  border-radius: 7px;
  padding: 0 12px;
  background: #fff;
  color: var(--admin-blue-dark);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.admin-body .admin-pagination a.active {
  border-color: var(--admin-blue);
  background: var(--admin-blue);
  color: #fff;
}

.admin-body .admin-pagination a.disabled {
  pointer-events: none;
  opacity: 0.45;
}

.admin-body .admin-empty-cell {
  padding: 34px 18px !important;
  color: #667085;
  font-size: 16px;
  font-weight: 850;
  text-align: center !important;
}

.admin-body .status,
.admin-body .pill,
.admin-body .check-state {
  border-radius: 999px;
}

.admin-body .status.published {
  color: #027a48;
  background: #dff8ea;
}

.admin-body .status.draft {
  color: #b54708;
  background: #fff1dc;
}

.admin-body .row-actions a,
.admin-body .row-actions button {
  min-height: 30px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 8px;
}

.admin-body .row-actions a:hover,
.admin-body .row-actions button:hover {
  border-color: var(--admin-line);
  background: #f8fafc;
}

.admin-body .check,
.admin-body .switch,
.admin-body .media-item,
.admin-body .category-row,
.admin-body .category-delete button,
.admin-body .color-code-input {
  border-radius: 7px;
}

.admin-body .check {
  border-color: var(--admin-line);
  background: var(--admin-surface-soft);
}

.admin-body .switch {
  min-height: 40px;
  border: 1px solid var(--admin-line);
  padding: 0 10px;
  background: var(--admin-surface-soft);
}

.admin-body .media-item {
  border-color: var(--admin-line);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}

.admin-body .media-item img {
  border-radius: 5px;
}

.admin-body .rich-toolbar {
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  padding: 8px;
  background: var(--admin-surface-soft);
}

.admin-body .rich-toolbar button {
  background: #fff;
}

.admin-body .hint {
  color: var(--admin-muted);
  font-size: 15px;
  line-height: 1.45;
}

.admin-body .settings-panel {
  display: grid;
  gap: 18px;
}

.admin-body .settings-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.admin-body .settings-title,
.admin-body .settings-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--admin-line);
  border-radius: var(--admin-radius);
  padding: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.admin-body .settings-title h2 {
  margin: 0 0 4px;
}

.admin-body .settings-title p,
.admin-body .settings-save-bar span {
  margin: 0;
  color: var(--admin-muted);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 800;
}

.admin-body .settings-quick-nav {
  position: static;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border: 1px solid #cad8ef;
  border-radius: var(--admin-radius);
  background: rgba(247, 250, 255, 0.96);
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06);
}

.admin-body .settings-quick-nav a {
  display: block;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid #d6e1f2;
  border-radius: 6px;
  background: #fff;
  color: var(--admin-blue-dark);
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.admin-body .settings-quick-nav a:hover {
  border-color: var(--admin-blue);
  box-shadow: 0 12px 24px rgba(25, 85, 182, 0.12);
  transform: translateY(-1px);
}

.admin-body .settings-quick-nav strong {
  display: block;
  margin: 0 0 2px;
  font-size: 16px;
  line-height: 1.15;
}

.admin-body .settings-quick-nav span {
  display: block;
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.18;
}

.admin-body .settings-section {
  scroll-margin-top: 22px;
  border: 1px solid var(--admin-line);
  border-radius: var(--admin-radius);
  padding: 18px;
  background: #fff;
}

.admin-body .settings-section-wide {
  grid-column: 1 / -1;
}

.admin-body .settings-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--admin-line);
}

.admin-body .settings-section .settings-section-head h3 {
  margin: 0 0 5px;
  padding: 0;
  border: 0;
  color: var(--admin-blue-dark);
  font-size: 21px;
  line-height: 1.2;
}

.admin-body .settings-section-head p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
}

.admin-body .settings-section-top {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d6e1f2;
  border-radius: 999px;
  background: #f7faff;
  color: var(--admin-blue-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.admin-body .settings-section-top:hover {
  border-color: var(--admin-blue);
  background: #eef5ff;
}

.admin-body .field-full {
  grid-column: 1 / -1;
}

.admin-body .field-strong {
  border: 1px solid #c9d8ef;
  border-radius: 8px;
  padding: 12px;
  background: #f7faff;
}

.admin-body .typography-lab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 18px;
  align-items: start;
}

.admin-body .font-preview {
  display: grid;
  gap: 10px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.admin-body .font-preview small {
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-body .font-preview div {
  color: var(--admin-ink);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
}

.admin-body .font-preview p {
  margin: 0;
  color: #344054;
  font-size: 18px;
  line-height: 1.5;
}

.admin-body .font-preview span {
  color: var(--admin-blue-dark);
  font-size: 24px;
  line-height: 1.12;
}

.admin-body .admin-subtitle {
  margin: 22px 0 10px;
  color: var(--admin-ink);
  font-size: 18px;
}

.admin-body .font-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.admin-body .font-sample-card {
  display: grid;
  gap: 7px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.admin-body .font-sample-card strong {
  color: var(--admin-blue-dark);
  font-size: 15px;
}

.admin-body .font-sample-card span {
  color: var(--admin-ink);
  font-size: 20px;
  line-height: 1.1;
}

.admin-body .font-sample-card small {
  color: var(--admin-muted);
  font-weight: 800;
}

.admin-body textarea.admin-textarea-short {
  min-height: 96px;
}

.admin-body textarea.admin-textarea-compact {
  min-height: 112px;
}

.admin-body textarea.admin-textarea-tall {
  min-height: 220px;
}

.admin-body #settings-about textarea {
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
}

.admin-body .about-style-preview {
  display: grid;
  gap: 10px;
  margin: 12px 0 4px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.admin-body .about-style-preview small {
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-body .about-style-preview div {
  max-height: 260px;
  overflow: auto;
  white-space: pre-line;
}

.admin-body textarea {
  line-height: 1.45;
}

.admin-body .ticker-row {
  grid-template-columns: minmax(0, 1fr) 136px 136px 112px 96px;
  align-items: end;
}

.admin-body .intro-banner-row {
  grid-template-columns: 140px 136px 136px 136px 112px 112px 96px;
  align-items: end;
}

.admin-body .intro-banner-style-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: end;
}

.admin-body .ticker-row .field-full,
.admin-body .intro-banner-row .field-full {
  grid-column: 1 / -1;
}

.admin-body .image-upload-control span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.admin-body .btn.small {
  min-height: 42px;
  padding: 0 14px;
  white-space: nowrap;
}

.admin-body .btn.subtle {
  border: 1px solid var(--admin-line);
  background: #eef4ff;
  color: var(--admin-blue-dark);
  box-shadow: none;
}

.admin-body .embed-code {
  min-height: 140px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
}

.admin-body .embed-admin-preview {
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #020817;
  aspect-ratio: 16 / 9;
}

.admin-body .embed-admin-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.admin-body .settings-save-bar {
  position: sticky;
  bottom: 14px;
  z-index: 3;
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.12);
}

.admin-body .content-transfer-panel {
  border-color: #bfd0e6;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.admin-body .content-stats-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.admin-body .content-stats-list li {
  min-height: 76px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.admin-body .content-stats-list b,
.admin-body .content-stats-list span {
  display: block;
}

.admin-body .content-stats-list b {
  color: var(--admin-blue);
  font-size: 27px;
  line-height: 1;
}

.admin-body .content-stats-list span {
  margin-top: 7px;
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
}

.admin-body .content-transfer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-body .content-transfer-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--admin-line);
  border-radius: var(--admin-radius);
  padding: 18px;
  background: #fff;
}

.admin-body .content-transfer-card h3 {
  margin: 0;
  padding: 0;
  border: 0;
}

.admin-body .content-transfer-result {
  max-width: 980px;
}

.admin-body .content-transfer-result.has-success {
  border-color: #b7efcc;
}

.admin-body .content-transfer-result code {
  color: var(--admin-blue-dark);
  font-weight: 900;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .header .wrap,
  .footer .wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
  }

  .topbar .wrap {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 6px 0;
  }

  .header .wrap {
    gap: 8px;
    min-height: 0;
    padding: 8px 0;
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
  }

  .header-actions,
  .site-search {
    width: auto;
    flex-wrap: wrap;
  }

  .site-search {
    width: min(100%, 360px);
  }

  .hero {
    padding-top: 10px;
  }

  .hero-grid {
    width: min(var(--max), calc(100% - 22px), calc(var(--app-visual-width) - 22px));
    max-width: min(calc(100% - 22px), calc(var(--app-visual-width) - 22px));
    gap: 16px;
  }

  .hero-grid,
  .content-grid,
  .live-page,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .home-news-layout {
    grid-template-columns: 1fr;
  }

  .home-story-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modern-article-layout {
    grid-template-columns: 1fr;
  }

  .modern-article-layout.has-sticky-rail {
    grid-template-columns: 1fr;
  }

  .article-meta-rail,
  .article-sticky-rail,
  .article-sidebar {
    position: static;
  }

  .article-sticky-image {
    display: none;
  }

  .article-meta-rail,
  .article-sticky-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 0;
  }

  .article-hero-inner {
    max-width: 100%;
  }

  .side.banner-only {
    height: var(--intro-banner-target-height, auto);
    aspect-ratio: 16 / 9;
  }

  .side.banner-only .intro-panel {
    aspect-ratio: inherit;
    height: 100%;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-columns,
  .admin-lists,
  .admin-app,
  .editor-layout,
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-body {
    overflow-x: hidden;
  }

  .admin-body .admin-app {
    display: block;
    width: 100%;
  }

  .admin-sidebar,
  .editor-side {
    position: static;
    height: auto;
  }

  .admin-body .admin-sidebar {
    display: block;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 10px;
    padding: 14px;
    border-radius: 8px;
  }

  .admin-body .admin-mark {
    margin-bottom: 12px;
    padding: 2px 2px 12px;
  }

  .admin-body .admin-sidebar nav {
    gap: 8px;
    margin-top: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-body .admin-sidebar nav a,
  .admin-body .admin-site-link {
    justify-content: center;
    min-height: 44px;
    padding: 0 10px;
    font-size: 15px;
    text-align: center;
  }

  .admin-body .admin-sidebar nav a::before,
  .admin-body .admin-sidebar nav a.active::before,
  .admin-body .admin-site-link::before {
    display: none;
  }

  .admin-body .admin-site-link {
    position: static;
    margin-top: 10px;
  }

  .admin-body .admin-main {
    padding: 12px 10px 28px;
  }

  .admin-body .settings-section-grid {
    grid-template-columns: 1fr;
  }

  .admin-body .typography-lab {
    grid-template-columns: 1fr;
  }

  .admin-body .settings-quick-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    top: 8px;
  }

  .admin-body .admin-main-head {
    flex-wrap: wrap;
    gap: 12px;
    min-height: 0;
  }

  .admin-body .admin-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-body .editor-layout,
  .admin-body .editor-canvas,
  .admin-body .editor-side,
  .admin-body .rich-form {
    width: 100%;
    min-width: 0;
  }

  .admin-body .editor-canvas {
    min-height: auto;
  }

  .admin-body .rich-editor {
    min-width: 0;
    overflow-x: auto;
  }

  .admin-body .rich-editor img,
  .admin-body .rich-editor iframe {
    max-width: 100%;
    height: auto;
  }

  .admin-body .rich-editor a,
  .admin-body .rich-editor p {
    overflow-wrap: anywhere;
  }

  .admin-body .rich-toolbar {
    display: flex;
    flex-wrap: wrap;
  }

  .admin-body .rich-toolbar button {
    flex: 1 1 72px;
  }

  .admin-body .translate-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-body .translate-actions .translate-trigger[data-translate-targets="en,ru,de"] {
    grid-column: 1 / -1;
  }

  .admin-body .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticker-row,
  .intro-banner-row {
    grid-template-columns: minmax(180px, 1fr) auto auto;
  }

  .ticker-row .switch,
  .intro-banner-row .switch {
    min-width: 94px;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  body:not(.admin-body) .header .wrap {
    display: grid;
    grid-template-columns: minmax(150px, 1.05fr) minmax(0, 1.5fr) minmax(170px, 260px) auto auto;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 7px 0;
  }

  body:not(.admin-body) .brand {
    min-width: 0;
  }

  body:not(.admin-body) .brand strong {
    font-size: 24px;
  }

  body:not(.admin-body) .brand span {
    display: block;
    max-width: 190px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  body:not(.admin-body) .nav {
    width: auto;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body:not(.admin-body) .nav::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-body) .nav a {
    flex: 0 0 auto;
    max-width: none;
    min-height: 32px;
    padding: 0 8px;
    white-space: nowrap;
    font-size: 11px;
    overflow-wrap: normal;
    hyphens: none;
  }

  body:not(.admin-body) .site-search {
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
  }

  body:not(.admin-body) .brand-logo-link {
    justify-self: center;
  }

  body:not(.admin-body) .brand-logo {
    width: 66px;
    height: 40px;
    margin-left: 0;
  }

  body:not(.admin-body) .langs {
    gap: 5px;
    justify-self: end;
  }

  body:not(.admin-body) .langs a {
    min-width: 34px;
    min-height: 32px;
    font-size: 11px;
  }

  body:not(.admin-body) .hero-grid,
  body:not(.admin-body) .home-news-section > .wrap {
    width: min(var(--max), calc(100% - 22px), calc(var(--app-visual-width) - 22px));
    max-width: min(calc(100% - 22px), calc(var(--app-visual-width) - 22px));
  }

  body:not(.admin-body) .broadcast,
  body:not(.admin-body) .broadcast .embed-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body:not(.admin-body) .unmute-video {
    max-width: calc(100% - 28px);
  }
}

@media (max-width: 1100px) and (hover: hover) and (pointer: fine) {
  .modern-article-layout.has-sticky-rail {
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
    gap: clamp(18px, 2.4vw, 28px);
  }

  .modern-article-layout.has-sticky-rail .article-sticky-rail {
    position: -webkit-sticky;
    position: sticky;
    top: 86px;
  }

  .modern-article-layout.has-sticky-rail .article-sticky-image {
    display: block;
  }

  .modern-article-layout.has-sticky-rail .article-sticky-meta {
    grid-template-columns: 1fr;
  }

  .modern-article-layout.has-sticky-rail .article-sidebar {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1101px) and (max-width: 1280px) {
  body:not(.admin-body) .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
    gap: 18px;
  }

  body:not(.admin-body) .broadcast,
  body:not(.admin-body) .side {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(calc(var(--app-visual-width) - 22px), var(--max));
    max-width: calc(100% - 22px);
  }

  .deploy-overlay {
    padding: 16px;
  }

  .deploy-overlay-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .topbar,
  .header,
  .ticker {
    display: block !important;
  }

  .topbar .wrap {
    min-height: 26px;
    padding: 4px 0;
  }

  .topbar .live-status {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.25;
  }

  .topbar .wrap span:last-child {
    display: none;
  }

  .ticker-row,
  .intro-banner-row {
    grid-template-columns: 1fr 1fr;
  }

  .ticker-row .field-full,
  .intro-banner-row .field-full {
    grid-column: 1 / -1;
  }

  .ticker-row > label:not(.switch),
  .ticker-row .switch,
  .intro-banner-row > label:not(.switch),
  .intro-banner-row .switch {
    width: 100%;
  }

  .ticker-row input[type="color"],
  .intro-banner-row input[type="color"] {
    width: 100%;
  }

  .header .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    gap: 7px 8px;
    min-height: 0;
    padding: 5px 0 6px;
  }

  .brand {
    min-width: 0;
    width: auto;
  }

  .brand-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 64px;
    height: 40px;
    margin-left: 0;
  }

  .brand-logo-link {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .brand strong {
    font-size: 21px;
  }

  .brand span {
    font-size: 9px;
    line-height: 1.15;
  }

  body:not(.admin-body) .nav a {
    flex: 0 0 auto;
    max-width: none;
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
    white-space: nowrap;
    overflow-wrap: normal;
    hyphens: none;
  }

  .nav {
    grid-column: 1 / -1;
    display: flex;
    width: min(calc(var(--app-visual-width) - 22px), 100%);
    gap: 10px;
    margin: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .site-search {
    grid-column: 1;
    grid-row: 3;
    width: min(100%, 190px);
    min-width: 0;
    min-height: 36px;
    flex-wrap: nowrap;
  }

  .site-search input[name="q"] {
    height: 36px;
    font-size: 13px;
    padding: 0 9px;
  }

  .site-search button {
    width: 38px;
    height: 36px;
  }

  .site-search button::before {
    left: 11px;
    top: 9px;
  }

  .site-search button::after {
    left: 24px;
    top: 23px;
  }

  .header-actions {
    display: none;
  }

  .header-actions a {
    min-height: 30px;
    font-size: 12px;
  }

  .hero {
    padding: 10px 0 0;
  }

  .hero-grid {
    align-items: start;
    gap: 10px;
  }

  .outline-action,
  .watch-action {
    padding: 0 11px;
  }

  .langs {
    grid-column: 2;
    grid-row: 3;
    display: flex;
    justify-self: end;
    gap: 5px;
    width: max-content;
    white-space: nowrap;
  }

  .langs a {
    min-width: 40px;
    min-height: 34px;
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(10, 31, 70, 0.28);
    color: #fff;
    font-size: 12px;
  }

  .ticker .wrap {
    min-height: 36px;
    gap: 8px;
  }

  .ticker strong {
    font-size: 12px;
    line-height: 1.25;
  }

  .not-found-actions,
  .not-found-search {
    width: 100%;
  }

  .not-found-search {
    flex-direction: column;
    gap: 8px;
  }

  .not-found-search input {
    border-right: 1px solid rgba(255, 255, 255, 0.28);
  }

  .not-found-grid {
    grid-template-columns: 1fr;
  }

  .pill {
    min-height: 22px;
    padding: 0 7px;
    font-size: 10px;
  }

  .broadcast {
    overflow: hidden;
  }

  .broadcast .embed-shell {
    border: 1px solid rgba(116, 167, 255, 0.72);
    min-height: calc((var(--app-visual-width) - 22px) * 0.5625);
  }

  .unmute-video {
    --sound-button-transform: translate(-50%, 50%);
    bottom: 50%;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 7px;
    font-size: 16px;
    transform: var(--sound-button-transform);
  }

  .video-start {
    bottom: 50%;
    min-height: 44px;
    padding: 0 18px;
    font-size: 13px;
    transform: translate(-50%, 50%);
  }

  .unmute-video::before {
    width: 12px;
    height: 12px;
    margin-right: 11px;
    box-shadow: 0 0 0 7px rgba(227, 29, 49, 0.24);
  }

  .side.banner-only .intro-panel {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: 100%;
  }

  .side.banner-only {
    display: block;
    height: var(--intro-banner-target-height, auto);
    min-height: calc((var(--app-visual-width) - 22px) * 0.5625);
    aspect-ratio: 16 / 9;
  }

  .side.banner-only .intro-panel-body {
    display: flex;
    align-items: center;
  }

  .intro-panel-body {
    min-height: 100%;
    padding: 18px;
  }

  .hero .intro-panel p {
    font-size: var(--intro-banner-fit-size, clamp(19px, 5.5vw, 23px)) !important;
    line-height: var(--intro-banner-fit-line-height, 1.16) !important;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }

  .embed-shell.is-mini {
    right: 11px;
    bottom: 11px;
    width: min(220px, calc(var(--app-visual-width) - 22px));
    height: auto;
    min-height: 0;
  }

  .floating-live {
    right: 11px;
    bottom: 11px;
    width: min(220px, calc(var(--app-visual-width) - 22px));
    height: auto;
    min-height: 0;
  }

  .article-hero {
    padding: 24px 0 24px;
  }

  .article-hero-visual {
    min-height: 560px;
    padding: 0;
  }

  .article-hero-visual .article-hero-inner {
    width: min(100% - 22px, 780px);
    padding: 150px 0 28px;
  }

  .article-hero-inner {
    width: min(100% - 22px, 780px);
    margin-left: auto;
    margin-right: auto;
  }

  .article-kicker {
    gap: 8px;
    margin-bottom: 12px;
  }

  .article-hero h1 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.04;
  }

  .article-hero p {
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.42;
  }

  .home-news-section {
    padding: 34px 0 58px;
  }

  .home-news-block .section-title {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 20px;
  }

  .home-news-block .section-title h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .home-news-block .section-title p {
    font-size: 17px;
  }

  .home-news-layout .news-feature {
    min-height: 520px;
  }

  .home-news-layout .news-feature .feature-copy {
    padding: 92px 22px 24px;
  }

  .home-news-layout .news-feature h2 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.05;
  }

  .home-news-layout .news-feature p {
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.34;
  }

  .home-story-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .article-meta-rail,
  .article-sticky-meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .article-tools,
  .speech-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .article-tools {
    gap: 8px;
    margin-bottom: 16px;
  }

  .speech-controls {
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
    gap: 10px;
    padding: 10px;
  }

  .speech-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(92px, 0.34fr);
    gap: 8px;
  }

  .speech-controls button {
    min-height: 44px;
    padding: 0 12px;
    font-size: 16px;
  }

  .speech-main,
  .speech-stop {
    min-width: 0;
  }

  .speech-meter {
    flex: 0 0 auto;
    min-width: 0;
    gap: 6px;
  }

  .speech-meter-row {
    gap: 8px;
    font-size: 12px;
  }

  .speech-progress {
    height: 7px;
  }

  .text-size-controls {
    width: 100%;
    box-sizing: border-box;
    flex: 0 0 auto;
    justify-content: flex-start;
    gap: 10px;
    padding: 8px 10px;
  }

  .text-size-controls span {
    padding: 0 8px;
    font-size: 13px;
  }

  .text-size-controls button {
    width: 42px;
    height: 42px;
  }

  .screen {
    min-height: 430px;
  }

  .screen-logo {
    left: 14px;
    top: 18px;
  }

  .screen-logo span {
    font-size: 42px;
  }

  .screen-title {
    left: 18px;
    right: 18px;
    bottom: 54px;
  }

  .screen-title h1 {
    font-size: 24px;
  }

  .news-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    grid-column: auto;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-top,
  .admin-grid,
  .admin-main-head,
  .admin-stats {
    display: block;
  }

  .admin-body .admin-main {
    padding: 10px 8px 24px;
  }

  .admin-body .admin-sidebar {
    margin: 8px;
    padding: 12px;
  }

  .admin-body .admin-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-body .admin-panel {
    padding: 16px 14px;
  }

  .admin-body .admin-main-head {
    padding: 14px;
  }

  .admin-body .admin-main-head h1 {
    font-size: 26px;
  }

  .admin-body .admin-actions,
  .admin-body .settings-title,
  .admin-body .settings-save-bar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-body .settings-quick-nav {
    position: static;
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .admin-body .settings-quick-nav a {
    min-height: 58px;
    padding: 12px;
  }

  .admin-body .settings-section-head {
    display: grid;
    gap: 10px;
  }

  .admin-body .settings-section-top {
    justify-self: start;
  }

  .admin-body .settings-title .btn,
  .admin-body .settings-save-bar .btn {
    width: 100%;
    justify-content: center;
  }

  .admin-body .settings-save-bar {
    position: static;
    box-shadow: none;
  }

  .admin-body .content-stats-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-body .content-transfer-grid {
    grid-template-columns: 1fr;
  }

  .admin-body .category-row-wrap,
  .admin-body .category-row,
  .admin-body .ticker-row,
  .admin-body .intro-banner-row,
  .admin-body .admin-list li,
  .admin-body .admin-comment {
    grid-template-columns: 1fr;
  }

  .admin-body .category-row button,
  .admin-body .category-delete button,
  .admin-body .delete-btn,
  .admin-body .row-actions a,
  .admin-body .row-actions button {
    width: 100%;
    justify-content: center;
  }

  .admin-body .row-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .admin-body .translate-actions {
    grid-template-columns: 1fr;
  }

  .admin-body .translate-progress {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .admin-body .translate-progress strong,
  .admin-body .translate-progress span:last-child {
    width: calc(100% - 34px);
  }

  .admin-body .admin-translate-overlay {
    right: 16px;
    bottom: 16px;
  }

  .admin-body .panel-title {
    display: block;
    margin-bottom: 18px;
  }

  .admin-body .panel-title h2 {
    margin-bottom: 8px;
  }

  .admin-body .panel-title p {
    max-width: none;
    font-size: 16px;
    line-height: 1.35;
  }

  .admin-body .admin-article-tools {
    padding: 12px;
  }

  .admin-body .admin-article-filter-grid {
    grid-template-columns: 1fr;
  }

  .admin-body .admin-article-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-body .admin-results-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-body .admin-pagination {
    justify-content: flex-start;
  }

  .admin-body .admin-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .admin-body .admin-table,
  .admin-body .admin-table thead,
  .admin-body .admin-table tbody,
  .admin-body .admin-table tr,
  .admin-body .admin-table th,
  .admin-body .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-body .admin-table thead {
    display: none;
  }

  .admin-body .admin-table tr {
    margin-bottom: 12px;
    border: 1px solid var(--admin-line);
    border-radius: var(--admin-radius);
    background: #fff;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
    overflow: hidden;
  }

  .admin-body .admin-table td {
    border-top: 1px solid var(--admin-line);
  }

  .admin-body .admin-table td:first-child {
    border-top: 0;
  }

  .admin-body .admin-table th,
  .admin-body .admin-table td {
    padding: 10px 8px;
    font-size: 12px;
  }

  .title-input {
    font-size: 22px;
  }
}

@media (max-width: 1100px) and (max-height: 520px) and (orientation: landscape) {
  .wrap {
    width: min(calc(var(--app-visual-width) - 28px), var(--max));
    max-width: calc(100% - 28px);
  }

  .topbar .wrap {
    min-height: 25px;
    padding: 3px 0;
  }

  .topbar .wrap span:last-child {
    display: none;
  }

  .header .wrap {
    display: grid;
    grid-template-columns: auto minmax(300px, 1fr) minmax(130px, 180px) auto auto;
    align-items: center;
    gap: 8px 8px;
    min-height: 0;
    padding: 7px 0;
  }

  .brand {
    min-width: 0;
    width: auto;
  }

  .brand strong {
    font-size: 25px;
  }

  .brand span {
    display: block;
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 9px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-body) .nav a {
    flex: 0 0 auto;
    max-width: none;
    min-height: 34px;
    padding: 0 9px;
    white-space: nowrap;
    font-size: 11px;
    overflow-wrap: normal;
    hyphens: none;
  }

  .site-search {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    flex-wrap: nowrap;
  }

  .site-search input[name="q"] {
    height: 34px;
    font-size: 12px;
  }

  .site-search button {
    width: 34px;
    height: 34px;
  }

  .site-search button::before {
    left: 11px;
    top: 8px;
  }

  .site-search button::after {
    left: 24px;
    top: 22px;
  }

  .brand-logo,
  .brand-logo-link .brand-logo {
    width: 48px;
    height: 32px;
    margin-left: 0;
  }

  .langs {
    display: flex;
    gap: 4px;
  }

  .langs a {
    min-width: 26px;
    min-height: 28px;
    font-size: 10px;
  }

  .ticker .wrap {
    min-height: 32px;
    gap: 8px;
  }

  .ticker strong {
    font-size: 12px;
  }

  .hero {
    padding: 10px 0 12px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }

  .broadcast {
    align-self: start;
    height: auto;
  }

  .side.banner-only {
    align-self: stretch;
    height: auto;
  }

  .side.banner-only .intro-panel {
    aspect-ratio: 16 / 9;
    height: 100%;
    min-height: 0;
  }

  .side.banner-only .intro-panel-body {
    display: flex;
    align-items: center;
    min-height: 100%;
    padding: 14px;
  }

  .hero .intro-panel p {
    font-size: var(--intro-banner-fit-size, clamp(16px, 2.35vw, 22px)) !important;
    line-height: var(--intro-banner-fit-line-height, 1.12) !important;
  }

  .unmute-video {
    --sound-button-transform: translate(-50%, 50%);
    bottom: 50%;
    min-height: 52px;
    padding: 0 24px;
    font-size: 16px;
    transform: var(--sound-button-transform);
  }

  .unmute-video::before {
    width: 12px;
    height: 12px;
    margin-right: 11px;
    box-shadow: 0 0 0 7px rgba(227, 29, 49, 0.24);
  }

  .embed-shell.is-mini,
  .floating-live {
    width: min(190px, calc(var(--app-visual-width) - 28px));
  }

  .section {
    padding: 24px 0;
  }
}

@media (max-width: 1100px) and (max-height: 520px) and (orientation: landscape) and (pointer: coarse) {
  body:not(.admin-body) .hero {
    padding-top: 0;
  }

  body:not(.admin-body) .hero .wrap.hero-grid {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  body:not(.admin-body) .broadcast {
    border-left: 0;
    border-right: 0;
  }

  body:not(.admin-body) .broadcast .embed-shell {
    min-height: 0;
  }

  body:not(.admin-body) .hero .side {
    width: min(100% - 28px, var(--max));
    margin: 0 auto;
  }

  body:not(.admin-body) .embed-shell.is-video-fullscreen-fallback .twitch-video,
  body:not(.admin-body) .floating-live.is-video-fullscreen-fallback .twitch-video {
    object-fit: cover;
  }
}

html.visual-mobile body:not(.admin-body) .wrap {
  width: min(calc(var(--app-visual-width) - 22px), var(--max));
  max-width: calc(100% - 22px);
}

html.visual-mobile body:not(.admin-body) .topbar,
html.visual-mobile body:not(.admin-body) .header,
html.visual-mobile body:not(.admin-body) .ticker {
  display: block !important;
}

html.visual-mobile body:not(.admin-body) .topbar .wrap {
  min-height: 26px;
  padding: 4px 0;
}

html.visual-mobile body:not(.admin-body) .topbar .live-status {
  max-width: 100%;
  font-size: 11px;
  line-height: 1.25;
}

html.visual-mobile body:not(.admin-body) .topbar .wrap span:last-child {
  display: none;
}

html.visual-mobile body:not(.admin-body) .header .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 7px 8px;
  min-height: 0;
  padding: 5px 0 6px;
}

html.visual-mobile body:not(.admin-body) .brand {
  min-width: 0;
  width: auto;
}

html.visual-mobile body:not(.admin-body) .brand strong {
  font-size: 21px;
}

html.visual-mobile body:not(.admin-body) .brand span {
  display: block;
  max-width: none;
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  font-size: 9px;
  line-height: 1.15;
}

html.visual-mobile body:not(.admin-body) .brand-logo {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: 64px;
  height: 40px;
  margin-left: 0;
}

html.visual-mobile body:not(.admin-body) .brand-logo-link {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

html.visual-mobile body:not(.admin-body) .nav {
  grid-column: 1 / -1;
  display: flex;
  width: min(calc(var(--app-visual-width) - 22px), 100%);
  gap: 10px;
  margin: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

html.visual-mobile body:not(.admin-body) .nav::-webkit-scrollbar {
  display: none;
}

html.visual-mobile body:not(.admin-body) .nav a {
  flex: 0 0 auto;
  max-width: none;
  min-height: 34px;
  padding: 0 10px;
  white-space: nowrap;
  font-size: 11px;
  overflow-wrap: normal;
  hyphens: none;
}

html.visual-mobile body:not(.admin-body) .site-search {
  grid-column: 1;
  grid-row: 3;
  width: min(100%, 190px);
  min-width: 0;
  min-height: 36px;
  flex-wrap: nowrap;
}

html.visual-mobile body:not(.admin-body) .site-search input[name="q"] {
  height: 36px;
  font-size: 13px;
  padding: 0 9px;
}

html.visual-mobile body:not(.admin-body) .site-search button {
  width: 38px;
  height: 36px;
}

html.visual-mobile body:not(.admin-body) .site-search button::before {
  left: 11px;
  top: 9px;
}

html.visual-mobile body:not(.admin-body) .site-search button::after {
  left: 24px;
  top: 23px;
}

html.visual-mobile body:not(.admin-body) .langs {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  justify-self: end;
  gap: 5px;
  width: max-content;
  white-space: nowrap;
}

html.visual-mobile body:not(.admin-body) .langs a {
  min-width: 40px;
  min-height: 34px;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(10, 31, 70, 0.28);
  color: #fff;
  font-size: 12px;
}

@media (max-width: 1280px) {
  body:not(.admin-body) .header .wrap {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 5px 7px;
    padding: 5px 0;
  }

  body:not(.admin-body) .header .brand {
    grid-column: 1;
    grid-row: 1;
  }

  body:not(.admin-body) .header .brand strong {
    font-size: 20px;
    white-space: nowrap;
  }

  body:not(.admin-body) .header .brand span,
  body:not(.admin-body) .header .brand-logo-link {
    display: none;
  }

  body:not(.admin-body) .mobile-header-controls {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    min-width: 0;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body:not(.admin-body) .mobile-header-controls::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-body) .mobile-menu-toggle {
    display: block;
    min-width: 47px;
    height: 34px;
    padding: 0 6px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: var(--radius-tiny);
    background: rgba(10, 31, 70, 0.28);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
  }

  body:not(.admin-body) .header .mobile-header-controls .langs {
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
    gap: 4px;
    width: auto;
  }

  body:not(.admin-body) .header .mobile-header-controls .langs a {
    min-width: 32px;
    min-height: 34px;
    font-size: 11px;
  }

  body:not(.admin-body) .mobile-search-toggle {
    position: relative;
    display: block;
    width: 36px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: var(--radius-tiny);
    background: rgba(10, 31, 70, 0.28);
    color: #fff;
  }

  body:not(.admin-body) .mobile-search-toggle::before,
  body:not(.admin-body) .mobile-search-toggle::after {
    position: absolute;
    content: "";
  }

  body:not(.admin-body) .mobile-search-toggle::before {
    left: 11px;
    top: 8px;
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-radius: 50%;
  }

  body:not(.admin-body) .mobile-search-toggle::after {
    left: 24px;
    top: 23px;
    width: 8px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
  }

  body:not(.admin-body) .header .site-search {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-height: 42px;
  }

  body:not(.admin-body) .header.mobile-search-open .site-search {
    display: flex;
  }

  body:not(.admin-body) .header.mobile-search-open .mobile-search-toggle {
    color: var(--brand-blue);
    background: #fff;
  }

  body:not(.admin-body) .header .nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 1px;
  }

  body:not(.admin-body) .header.mobile-nav-open .nav {
    display: flex;
  }

  body:not(.admin-body) .header.mobile-nav-open .mobile-menu-toggle {
    color: var(--brand-blue);
    background: #fff;
  }

  body:not(.admin-body) .header .site-search input[name="q"] {
    height: 42px;
    padding: 0 12px;
    font-size: 16px;
  }

  body:not(.admin-body) .header .site-search .site-search-submit {
    width: 44px;
    height: 42px;
  }

  body:not(.admin-body) .header .site-search .site-search-close {
    display: block;
    width: 42px;
    height: 42px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: #fff;
    font-size: 25px;
    line-height: 1;
  }

  body:not(.admin-body) .header .site-search .site-search-close::before,
  body:not(.admin-body) .header .site-search .site-search-close::after {
    content: none;
  }
}

html.visual-mobile body:not(.admin-body) .header .wrap {
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 5px 7px;
  padding: 5px 0;
}

html.visual-mobile body:not(.admin-body) .header .brand {
  grid-column: 1;
  grid-row: 1;
}

html.visual-mobile body:not(.admin-body) .header .brand strong {
  font-size: 20px;
  white-space: nowrap;
}

html.visual-mobile body:not(.admin-body) .header .brand span,
html.visual-mobile body:not(.admin-body) .header .brand-logo-link {
  display: none;
}

html.visual-mobile body:not(.admin-body) .mobile-header-controls {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

html.visual-mobile body:not(.admin-body) .mobile-header-controls::-webkit-scrollbar {
  display: none;
}

html.visual-mobile body:not(.admin-body) .mobile-menu-toggle {
  display: block;
  min-width: 47px;
  height: 34px;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius-tiny);
  background: rgba(10, 31, 70, 0.28);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

html.visual-mobile body:not(.admin-body) .header .mobile-header-controls .langs {
  grid-column: auto;
  grid-row: auto;
  justify-self: auto;
  gap: 4px;
  width: auto;
}

html.visual-mobile body:not(.admin-body) .header .mobile-header-controls .langs a {
  min-width: 32px;
  min-height: 34px;
  font-size: 11px;
}

html.visual-mobile body:not(.admin-body) .mobile-search-toggle {
  position: relative;
  display: block;
  width: 36px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius-tiny);
  background: rgba(10, 31, 70, 0.28);
  color: #fff;
}

html.visual-mobile body:not(.admin-body) .mobile-search-toggle::before,
html.visual-mobile body:not(.admin-body) .mobile-search-toggle::after {
  position: absolute;
  content: "";
}

html.visual-mobile body:not(.admin-body) .mobile-search-toggle::before {
  left: 11px;
  top: 8px;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

html.visual-mobile body:not(.admin-body) .mobile-search-toggle::after {
  left: 24px;
  top: 23px;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

html.visual-mobile body:not(.admin-body) .header .site-search {
  display: none;
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  min-height: 42px;
}

html.visual-mobile body:not(.admin-body) .header.mobile-search-open .site-search {
  display: flex;
}

html.visual-mobile body:not(.admin-body) .header.mobile-search-open .mobile-search-toggle {
  color: var(--brand-blue);
  background: #fff;
}

html.visual-mobile body:not(.admin-body) .header .nav {
  display: none;
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 1px;
}

html.visual-mobile body:not(.admin-body) .header.mobile-nav-open .nav {
  display: flex;
}

html.visual-mobile body:not(.admin-body) .header.mobile-nav-open .mobile-menu-toggle {
  color: var(--brand-blue);
  background: #fff;
}

html.visual-mobile body:not(.admin-body) .header .site-search input[name="q"] {
  height: 42px;
  padding: 0 12px;
  font-size: 16px;
}

html.visual-mobile body:not(.admin-body) .header .site-search .site-search-submit {
  width: 44px;
  height: 42px;
}

html.visual-mobile body:not(.admin-body) .header .site-search .site-search-close {
  display: block;
  width: 42px;
  height: 42px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  font-size: 25px;
  line-height: 1;
}

html.visual-mobile body:not(.admin-body) .header .site-search .site-search-close::before,
html.visual-mobile body:not(.admin-body) .header .site-search .site-search-close::after {
  content: none;
}

html.visual-mobile body:not(.admin-body) .hero {
  padding: 10px 0 0;
}

html.visual-mobile body:not(.admin-body) .hero-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

html.visual-mobile body:not(.admin-body) .hero .wrap.hero-grid {
  width: min(calc(var(--app-visual-width) - 22px), var(--max));
  max-width: calc(100% - 22px);
  margin: 0 auto;
}

html.visual-mobile body:not(.admin-body) .broadcast {
  overflow: hidden;
  border-left: 1px solid rgba(116, 167, 255, 0.72);
  border-right: 1px solid rgba(116, 167, 255, 0.72);
}

html.visual-mobile body:not(.admin-body) .broadcast .embed-shell {
  border: 1px solid rgba(116, 167, 255, 0.72);
  min-height: calc((var(--app-visual-width) - 22px) * 0.5625);
}

html.visual-mobile body:not(.admin-body) .side.banner-only {
  display: block;
  width: 100%;
  height: var(--intro-banner-target-height, auto);
  min-height: calc((var(--app-visual-width) - 22px) * 0.5625);
  aspect-ratio: 16 / 9;
}

html.visual-mobile body:not(.admin-body) .side.banner-only .intro-panel {
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: 100%;
}

html.visual-mobile body:not(.admin-body) .side.banner-only .intro-panel-body {
  display: flex;
  align-items: center;
}

html.visual-mobile body:not(.admin-body) .intro-panel-body {
  min-height: 100%;
  padding: 18px;
}

html.visual-mobile body:not(.admin-body) .hero .intro-panel p {
  font-size: var(--intro-banner-fit-size, clamp(19px, 5.5vw, 23px)) !important;
  line-height: var(--intro-banner-fit-line-height, 1.16) !important;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

html.visual-mobile body:not(.admin-body) .embed-shell.is-mini,
html.visual-mobile body:not(.admin-body) .floating-live {
  right: 11px;
  bottom: 11px;
  width: min(220px, calc(var(--app-visual-width) - 22px));
  height: auto;
  min-height: 0;
}

html.visual-desktop-narrow body:not(.admin-body) {
  min-width: 0;
  overflow-x: hidden;
}

html.visual-desktop-narrow body:not(.admin-body) .topbar,
html.visual-desktop-narrow body:not(.admin-body) .header,
html.visual-desktop-narrow body:not(.admin-body) .ticker,
html.visual-desktop-narrow body:not(.admin-body) .hero,
html.visual-desktop-narrow body:not(.admin-body) .section,
html.visual-desktop-narrow body:not(.admin-body) .footer {
  min-width: 0;
}

html.visual-desktop-narrow body:not(.admin-body) .wrap,
html.visual-desktop-narrow body:not(.admin-body) .hero .wrap.hero-grid,
html.visual-desktop-narrow body:not(.admin-body) .home-news-section > .wrap {
  width: min(calc(var(--app-visual-width) - 22px), var(--max));
  max-width: calc(100% - 22px);
}
